Vous êtes sur la page 1sur 568

(function(){var GBS_HOST = "https://books.google.

fr/";var $jscomp=$jscomp||{};
$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function()
{return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};
$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!
1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!
1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!
1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof
Object.defineProperties?Object.defineProperty:function(a,b,c)
{if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
$jscomp.getGlobal=function(a){a=["object"==typeof
globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof
self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var
c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};
$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");
$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;
$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};
$jscomp.POLYFILL_PREFIX="$jscp$";$jscomp.polyfill=function(a,b,c,d)
{b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,d):
$jscomp.polyfillUnisolated(a,b,c,d))};
$jscomp.polyfillUnisolated=function(a,b){var
c=$jscomp.global;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in
c))return;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})};
$jscomp.polyfillIsolated=function(a,b,c){var
d=a.split("."),e=1===d.length;a=d[0];a=!e&&a in $jscomp.polyfills?
$jscomp.polyfills:$jscomp.global;for(var f=0;f<d.length-1;f++){var g=d[f];if(!(g in
a))return;a=a[g]}d=d[d.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?
a[d]:null;b=b(c);null!=b&&(e?$jscomp.defineProperty($jscomp.polyfills,d,
{configurable:!0,writable:!0,value:b}):b!==c&&(void
0===$jscomp.propertyToPolyfillSymbol[d]&&(e=1E9*Math.random()>>>0,$jscomp.propertyT
oPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(d):
$jscomp.POLYFILL_PREFIX+e+"$"+d),e=$jscomp.propertyToPolyfillSymbol[d],
$jscomp.defineProperty(a,e,{configurable:!0,writable:!0,value:b})))};
$jscomp.initSymbol=function(){};
$jscomp.polyfill("Symbol",function(a){if(a)return a;var b=function(f,g){this.
$jscomp$symbol$id_=f;$jscomp.defineProperty(this,"description",{configurable:!
0,writable:!0,value:g})};b.prototype.toString=function(){return this.
$jscomp$symbol$id_};a=1E9*Math.random()>>>0;var
c="jscomp_symbol_"+a+"_",d=0,e=function(f){if(this instanceof e)throw new
TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return
e},"es6","es3");
$jscomp.polyfill("Symbol.iterator",function(a){if(a)return
a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array
Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array
Float64Array".split(" "),c=0;c<b.length;c++){var
d=$jscomp.global[b[c]];"function"===typeof d&&"function"!=typeof
d.prototype[a]&&$jscomp.defineProperty(d.prototype,a,{configurable:!0,writable:!
0,value:function(){return
$jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return a},"es6",
"es3");$jscomp.iteratorPrototype=function(a)
{a={next:a};a[Symbol.iterator]=function(){return this};return a};
$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};
$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};
$jscomp.makeIterator=function(a){var b="undefined"!=typeof
Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return
b.call(a);if("number"==typeof a.length)return $jscomp.arrayIterator(a);throw
Error(String(a)+" is not an iterable or ArrayLike");};
$jscomp.arrayFromIterator=function(a){for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);return c};$jscomp.arrayFromIterable=function(a)
{return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};
$jscomp.objectCreate=$jscomp.ASSUME_ES5||"function"==typeof Object.create?
Object.create:function(a){var b=function(){};b.prototype=a;return new b};
$jscomp.getConstructImplementation=function(){function a(){function e(){}function
f(){}new e;Reflect.construct(e,[],f);return new e instanceof e}function b(e,f,g)
{void 0===g&&(g=e);g=g.prototype||Object.prototype;g=$jscomp.objectCreate(g);var
h=Function.prototype.apply;return(e=h.call(e,g,f))||
g}if($jscomp.TRUST_ES6_POLYFILLS&&"undefined"!=typeof Reflect&&Reflect.construct)
{if(a())return Reflect.construct;var c=Reflect.construct,d=function(e,f,g)
{e=c(e,f);g&&Reflect.setPrototypeOf(e,g.prototype);
return e};return d}return b};$jscomp.construct={valueOf:
$jscomp.getConstructImplementation}.valueOf();
$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return
b.__proto__=a,b.a}catch(c){}return!1};
$jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof
Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?
function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not
extensible");return a}:null;
$jscomp.inherits=function(a,b)
{a.prototype=$jscomp.objectCreate(b.prototype);a.prototype.constructor=a;if($jscomp
.setPrototypeOf){var c=$jscomp.setPrototypeOf;c(a,b)}else for(c in
b)if("prototype"!=c)if(Object.defineProperties){var
d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else
a[c]=b[c];a.superClass_=b.prototype};$jscomp.generator={};
$jscomp.generator.ensureIteratorResultIsObject_=function(a){if(!(a instanceof
Object))throw new TypeError("Iterator result "+a+" is not an object");};
$jscomp.generator.Context=function(){this.isRunning_=!
1;this.yieldAllIterator_=null;this.yieldResult=void
0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts
_=this.abruptCompletion_=null};
$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new
TypeError("Generator is already running");this.isRunning_=!0};
$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1};
$jscomp.generator.Context.prototype.jumpToErrorHandler_=function()
{this.nextAddress=this.catchAddress_||this.finallyAddress_};
$jscomp.generator.Context.prototype.next_=function(a){this.yieldResult=a};
$jscomp.generator.Context.prototype.throw_=function(a)
{this.abruptCompletion_={exception:a,isException:!0};this.jumpToErrorHandler_()};
$jscomp.generator.Context.prototype.return=function(a)
{this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};
$jscomp.generator.Context.prototype.yield=function(a,b)
{this.nextAddress=b;return{value:a}};
$jscomp.generator.Context.prototype.jumpTo=function(a){this.nextAddress=a};
$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};
$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(a,b)
{this.catchAddress_=a;void 0!=b&&(this.finallyAddress_=b)};
$jscomp.generator.Context.prototype.setFinallyBlock=function(a)
{this.catchAddress_=0;this.finallyAddress_=a||0};
$jscomp.generator.Context.prototype.leaveTryBlock=function(a,b)
{this.nextAddress=a;this.catchAddress_=b||0};
$jscomp.generator.Context.prototype.enterCatchBlock=function(a)
{this.catchAddress_=a||
0;a=this.abruptCompletion_.exception;this.abruptCompletion_=null;return a};
$jscomp.generator.Context.prototype.enterFinallyBlock=function(a,b,c){c?
this.finallyContexts_[c]=this.abruptCompletion_:this.finallyContexts_=[this.abruptC
ompletion_];this.catchAddress_=a||0;this.finallyAddress_=b||0};
$jscomp.generator.Context.prototype.leaveFinallyBlock=function(a,b)
{b=this.finallyContexts_.splice(b||0)
[0];if(b=this.abruptCompletion_=this.abruptCompletion_||b){if(b.isException)return
this.jumpToErrorHandler_();void 0!=b.jumpTo&&this.finallyAddress_<b.jumpTo?
(this.nextAddress=b.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.final
lyAddress_}else this.nextAddress=a};
$jscomp.generator.Context.PropertyIterator=function(a){this.properties_=[];for(var
b in a)this.properties_.push(b);this.properties_.reverse()};
$jscomp.generator.Engine_=function(a){this.context_=new
$jscomp.generator.Context;this.program_=a};
$jscomp.generator.Engine_.prototype.next_=function(a)
{this.context_.start_();if(this.context_.yieldAllIterator_)return
this.yieldAllStep_(this.context_.yieldAllIterator_.next,a,this.context_.next_);this
.context_.next_(a);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.return_=function(a){this.context_.start_();var
b=this.context_.yieldAllIterator_;if(b)return b="return"in b?
b["return"]:function(c){return{value:c,done:!
0}},this.yieldAllStep_(b,a,this.context_.return);this.context_.return(a);return
this.nextStep_()};
$jscomp.generator.Engine_.prototype.throw_=function(a)
{this.context_.start_();if(this.context_.yieldAllIterator_)return
this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],a,this.context_.next_);
this.context_.throw_(a);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.yieldAllStep_=function(a,b,c){try{var
d=a.call(this.context_.yieldAllIterator_,b);
$jscomp.generator.ensureIteratorResultIsObject_(d);if(!d.done)return
this.context_.stop_(),d;var e=d.value}catch(f){return
this.context_.yieldAllIterator_=null,this.context_.throw_(f),this.nextStep_()}this.
context_.yieldAllIterator_=null;c.call(this.context_,e);return this.nextStep_()};
$jscomp.generator.Engine_.prototype.nextStep_=function()
{for(;this.context_.nextAddress;)try{var a=this.program_(this.context_);if(a)return
this.context_.stop_(),{value:a.value,done:!1}}catch(b)
{this.context_.yieldResult=void
0,this.context_.throw_(b)}this.context_.stop_();if(this.context_.abruptCompletion_)
{a=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(a.isExce
ption)throw a.exception;return{value:a.return,done:!0}}return{value:void 0,done:!
0}};
$jscomp.generator.Generator_=function(a){this.next=function(b){return
a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b)
{return a.return_(b)};this[Symbol.iterator]=function(){return this}};
$jscomp.generator.createGenerator=function(a,b){b=new
$jscomp.generator.Generator_(new $jscomp.generator.Engine_(b));
$jscomp.setPrototypeOf&&a.prototype&&$jscomp.setPrototypeOf(b,a.prototype);return
b};
$jscomp.asyncExecutePromiseGenerator=function(a){function b(d){return
a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function
f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})};
$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return
$jscomp.asyncExecutePromiseGenerator(a())};
$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return
$jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new
$jscomp.generator.Engine_(a)))};
$jscomp.getRestArguments=function(){for(var
a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
$jscomp.polyfill("Reflect",function(a){return a?a:{}},"es6","es3");
$jscomp.polyfill("Reflect.construct",function(){return
$jscomp.construct},"es6","es3");
$jscomp.polyfill("Reflect.setPrototypeOf",function(a){if(a)return
a;if($jscomp.setPrototypeOf){var b=$jscomp.setPrototypeOf;return a=function(c,d)
{try{return b(c,d),!0}catch(e){return!1}}}return null},"es6","es5");
$jscomp.polyfill("Promise",function(a){function b(){this.batch_=null}function c(h)
{return h instanceof f?h:new f(function(k){k(h)})}if(a&&(!
($jscomp.FORCE_POLYFILL_PROMISE||
$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof
$jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-
1===$jscomp.global.Promise.toString().indexOf("[native code]")))return
a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var
k=this;this.asyncExecuteFunction(function()
{k.executeBatch_()})}this.batch_.push(h)};
var d=$jscomp.global.setTimeout;b.prototype.asyncExecuteFunction=function(h)
{d(h,0)};b.prototype.executeBatch_=function()
{for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var
k=0;k<h.length;++k){var l=h[k];h[k]=null;try{l()}catch(m)
{this.asyncThrow_(m)}}}this.batch_=null};b.prototype.asyncThrow_=function(h)
{this.asyncExecuteFunction(function(){throw h;})};var
e={PENDING:0,FULFILLED:1,REJECTED:2},f=function(h)
{this.state_=e.PENDING;this.result_=void 0;this.onSettledCallbacks_=
[];this.isRejectionHandled_=!1;var
k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(l)
{k.reject(l)}};f.prototype.createResolveAndReject_=function(){function h(m){return
function(n){l||(l=!0,m.call(k,n))}}var k=this,l=!
1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};f.prototype.resolveTo_
=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to
itself"));else if(h instanceof f)this.settleSameAsPromise_(h);else{a:switch(typeof
h){case "object":var k=
null!=h;break a;case "function":k=!0;break a;default:k=!1}k?
this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};f.prototype.resolveToNonPromiseO
bj_=function(h){var k=void 0;try{k=h.then}catch(l)
{this.reject_(l);return}"function"==typeof k?
this.settleSameAsThenable_(k,h):this.fulfill_(h)};f.prototype.reject_=function(h)
{this.settle_(e.REJECTED,h)};f.prototype.fulfill_=function(h)
{this.settle_(e.FULFILLED,h)};f.prototype.settle_=function(h,k){if(this.state_!
=e.PENDING)throw Error("Cannot settle("+h+
", "+k+"): Promise already settled in
state"+this.state_);this.state_=h;this.result_=k;this.state_===e.REJECTED&&this.sch
eduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};f.prototype.sche
duleUnhandledRejectionCheck_=function(){var h=this;d(function()
{if(h.notifyUnhandledRejection_()){var k=$jscomp.global.console;"undefined"!
==typeof
k&&k.error(h.result_)}},1)};f.prototype.notifyUnhandledRejection_=function()
{if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,k=
$jscomp.global.Event,l=$jscomp.global.dispatchEvent;if("undefined"===typeof
l)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!
0}):"function"===typeof k?h=new k("unhandledrejection",{cancelable:!0}):
(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledr
ejection",!1,!0,h));h.promise=this;h.reason=this.result_;return
l(h)};f.prototype.executeOnSettledCallbacks_=function(){if(null!
=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;+
+h)g.asyncExecute(this.onSettledCallbacks_[h]);
this.onSettledCallbacks_=null}};var g=new
b;f.prototype.settleSameAsPromise_=function(h){var
k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};f.prototyp
e.settleSameAsThenable_=function(h,k){var
l=this.createResolveAndReject_();try{h.call(k,l.resolve,l.reject)}catch(m)
{l.reject(m)}};f.prototype.then=function(h,k){function l(q,r)
{return"function"==typeof q?function(t){try{m(q(t))}catch(x){n(x)}}:r}var m,n,p=new
f(function(q,r){m=q;n=r});this.callWhenSettled_(l(h,m),l(k,n));return p};
f.prototype.catch=function(h){return this.then(void
0,h)};f.prototype.callWhenSettled_=function(h,k){function l(){switch(m.state_){case
e.FULFILLED:h(m.result_);break;case e.REJECTED:k(m.result_);break;default:throw
Error("Unexpected state: "+m.state_);}}var m=this;null==this.onSettledCallbacks_?
g.asyncExecute(l):this.onSettledCallbacks_.push(l);this.isRejectionHandled_=!
0};f.resolve=c;f.reject=function(h){return new f(function(k,l)
{l(h)})};f.race=function(h){return new f(function(k,l){for(var m=
$jscomp.makeIterator(h),n=m.next();!
n.done;n=m.next())c(n.value).callWhenSettled_(k,l)})};f.all=function(h){var
k=$jscomp.makeIterator(h),l=k.next();return l.done?c([]):new f(function(m,n)
{function p(t){return function(x){q[t]=x;r--;0==r&&m(q)}}var q=[],r=0;do
q.push(void 0),r++,c(l.value).callWhenSettled_(p(q.length-1),n),l=k.next();while(!
l.done)})};return f},"es6","es3");
$jscomp.polyfill("Object.setPrototypeOf",function(a){return a||
$jscomp.setPrototypeOf},"es6","es5");
$jscomp.owns=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?
Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var
d=arguments[c];if(d)for(var e in d)$jscomp.owns(d,e)&&(a[e]=d[e])}return a};
$jscomp.polyfill("Object.assign",function(a){return a||
$jscomp.assign},"es6","es3");
$jscomp.checkEs6ConformanceViaProxy=function(){try{var a={},b=Object.create(new
$jscomp.global.Proxy(a,{get:function(c,d,e){return c==a&&"q"==d&&e==b}}));return!
0===b.q}catch(c){return!1}};$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!
1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.che
ckEs6ConformanceViaProxy();
$jscomp.polyfill("WeakMap",function(a){function b(){if(!a||!Object.seal)return!
1;try{var l=Object.seal({}),m=Object.seal({}),n=new a([[l,2],[m,3]]);if(2!
=n.get(l)||3!=n.get(m))return!1;n.delete(l);n.set(m,4);return!
n.has(l)&&4==n.get(m)}catch(p){return!1}}function c(){}function d(l){var m=typeof
l;return"object"===m&&null!==l||"function"===m}function e(l){if(!$jscomp.owns(l,g))
{var m=new c;$jscomp.defineProperty(l,g,{value:m})}}function f(l){if(!
$jscomp.ISOLATE_POLYFILLS){var m=Object[l];m&&(Object[l]=
function(n){if(n instanceof c)return n;Object.isExtensible(n)&&e(n);return
m(n)})}}if($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS)
{if(a&&$jscomp.ES6_CONFORMANCE)return a}else if(b())return a;var
g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var
h=0,k=function(l){this.id_=(h+=Math.random()+1).toString();if(l)
{l=$jscomp.makeIterator(l);for(var m;!
(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};k.prototype.set=function(l,m)
{if(!d(l))throw Error("Invalid WeakMap key");
e(l);if(!$jscomp.owns(l,g))throw Error("WeakMap key fail: "+l);l[g]
[this.id_]=m;return this};k.prototype.get=function(l){return
d(l)&&$jscomp.owns(l,g)?l[g][this.id_]:void 0};k.prototype.has=function(l){return
d(l)&&$jscomp.owns(l,g)&&$jscomp.owns(l[g],this.id_)};k.prototype.delete=function(l
){return d(l)&&$jscomp.owns(l,g)&&$jscomp.owns(l[g],this.id_)?delete l[g]
[this.id_]:!1};return k},"es6","es3");$jscomp.MapEntry=function(){};
$jscomp.polyfill("Map",function(a){function b(){if($jscomp.ASSUME_NO_NATIVE_MAP||!
a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof
Object.seal)return!1;try{var k=Object.seal({x:4}),l=new
a($jscomp.makeIterator([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||
l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),n=m.next();if(n.done||
n.value[0]!=k||"s"!=n.value[1])return!1;n=m.next();return n.done||4!
=n.value[0].x||"t"!=n.value[1]||!m.next().done?!1:!0}catch(p){return!1}}
if($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS)
{if(a&&$jscomp.ES6_CONFORMANCE)return a}else if(b())return a;var c=new
WeakMap,d=function(k){this[0]={};this[1]=g();this.size=0;if(k)
{k=$jscomp.makeIterator(k);for(var l;!
(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};d.prototype.set=function(k,l)
{k=0===k?0:k;var m=e(this,k);m.list||(m.list=this[0][m.id]=[]);m.entry?
m.entry.value=l:
(m.entry={next:this[1],previous:this[1].previous,head:this[1],key:k,value:l},m.list
.push(m.entry),this[1].previous.next=
m.entry,this[1].previous=m.entry,this.size++);return
this};d.prototype.delete=function(k){k=e(this,k);return k.entry&&k.list?
(k.list.splice(k.index,1),k.list.length||delete this[0]
[k.id],k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.
entry.head=null,this.size--,!0):!1};d.prototype.clear=function()
{this[0]={};this[1]=this[1].previous=g();this.size=0};d.prototype.has=function(k)
{return!!e(this,k).entry};d.prototype.get=function(k)
{return(k=e(this,k).entry)&&k.value};d.prototype.entries=
function(){return f(this,function(k)
{return[k.key,k.value]})};d.prototype.keys=function(){return f(this,function(k)
{return k.key})};d.prototype.values=function(){return f(this,function(k){return
k.value})};d.prototype.forEach=function(k,l){for(var m=this.entries(),n;!
(n=m.next()).done;)n=n.value,k.call(l,n[1],n[0],this)};d.prototype[Symbol.iterator]
=d.prototype.entries;var e=function(k,l){var m;var n=(m=l)&&typeof
m;"object"==n||"function"==n?c.has(m)?m=c.get(m):(n=""+ ++h,c.set(m,n),m=n):m="p_"+
m;if((n=k[0][m])&&$jscomp.owns(k[0],m))for(k=0;k<n.length;k++){var p=n[k];if(l!
==l&&p.key!==p.key||
l===p.key)return{id:m,list:n,index:k,entry:p}}return{id:m,list:n,index:-
1,entry:void 0}},f=function(k,l){var m=k[1];return
$jscomp.iteratorPrototype(function(){if(m){for(;m.head!
=k[1];)m=m.previous;for(;m.next!=m.head;)return m=m.next,{done:!
1,value:l(m)};m=null}return{done:!0,value:void 0}})},g=function(){var k={};return
k.previous=k.next=k.head=k},h=0;return d},"es6","es3");
$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var
d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,v:f}}return{i:-
1,v:void 0}};$jscomp.polyfill("Array.prototype.find",function(a){return a?
a:a=function(b,c){return $jscomp.findInternal(this,b,c).v}},"es6","es3");
$jscomp.checkStringArgs=function(a,b,c){if(null==a)throw new TypeError("The 'this'
value for String.prototype."+c+" must not be null or undefined");if(b instanceof
RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a
regular expression");return a+""};
$jscomp.polyfill("String.prototype.endsWith",function(a){return a?a:a=function(b,c)
{var d=$jscomp.checkStringArgs(this,b,"endsWith");b+="";void
0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var
e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}},"es6","es3");
$jscomp.iteratorFromArray=function(a,b){a instanceof String&&(a+="");var c=0,d=!
1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!
1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return
e};return e};$jscomp.polyfill("Array.prototype.keys",function(a){return a?
a:a=function(){return $jscomp.iteratorFromArray(this,function(b){return
b})}},"es6","es3");
$jscomp.polyfill("Set",function(a){function b(){if($jscomp.ASSUME_NO_NATIVE_SET||!
a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof
Object.seal)return!1;try{var d=Object.seal({x:4}),e=new
a($jscomp.makeIterator([d]));if(!e.has(d)||1!=e.size||e.add(d)!=e||1!=e.size||
e.add({x:4})!=e||2!=e.size)return!1;var f=e.entries(),g=f.next();if(g.done||
g.value[0]!=d||g.value[1]!=d)return!1;g=f.next();return g.done||g.value[0]==d||4!
=g.value[0].x||g.value[1]!=g.value[0]?!1:f.next().done}catch(h){return!1}}
if($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS)
{if(a&&$jscomp.ES6_CONFORMANCE)return a}else if(b())return a;var c=function(d)
{this.map_=new Map;if(d){d=$jscomp.makeIterator(d);for(var e;!
(e=d.next()).done;)e=e.value,this.add(e)}this.size=this.map_.size};c.prototype.add=
function(d){d=0===d?0:d;this.map_.set(d,d);this.size=this.map_.size;return
this};c.prototype.delete=function(d)
{d=this.map_.delete(d);this.size=this.map_.size;return
d};c.prototype.clear=function(){this.map_.clear();this.size=0};c.prototype.has=
function(d){return this.map_.has(d)};c.prototype.entries=function(){return
this.map_.entries()};c.prototype.values=function(){return
this.map_.values()};c.prototype.keys=c.prototype.values;c.prototype[Symbol.iterator
]=c.prototype.values;c.prototype.forEach=function(d,e){var
f=this;this.map_.forEach(function(g){return d.call(e,g,g,f)})};return
c},"es6","es3");
$jscomp.polyfill("Array.prototype.entries",function(a){return a?a:a=function()
{return $jscomp.iteratorFromArray(this,function(b,c){return[b,c]})}},"es6","es3");
$jscomp.polyfill("String.prototype.startsWith",function(a){return a?
a:a=function(b,c){var d=$jscomp.checkStringArgs(this,b,"startsWith");b+="";var
e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var
g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}},"es6","es3");
$jscomp.polyfill("Number.isFinite",function(a){return a?a:a=function(b)
{return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!
==b}},"es6","es3");$jscomp.polyfill("String.prototype.repeat",function(a){return a?
a:a=function(b){var c=$jscomp.checkStringArgs(this,null,"repeat");if(0>b||
1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var
d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}},"es6","es3");
$jscomp.polyfill("String.prototype.trimLeft",function(a){function b(){return
this.replace(/^[\s\xa0]+/,"")}return a||b},"es_2019","es3");
$jscomp.polyfill("Array.prototype.values",function(a){return a?a:a=function()
{return $jscomp.iteratorFromArray(this,function(b,c){return c})}},"es8","es3");
$jscomp.polyfill("Array.from",function(a){return a?a:a=function(b,c,d){c=null!=c?
c:function(h){return h};var e=[],f="undefined"!=typeof
Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f)
{b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else
for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}},"es6","es3");
$jscomp.polyfill("Math.hypot",function(a){return a?a:a=function(b)
{if(2>arguments.length)return arguments.length?Math.abs(arguments[0]):0;var
c,d,e;for(c=e=0;c<arguments.length;c+
+)e=Math.max(e,Math.abs(arguments[c]));if(1E100<e||1E-100>e){if(!e)return
e;for(c=d=0;c<arguments.length;c++){var f=Number(arguments[c])/e;d+=f*f}return
Math.sqrt(d)*e}for(c=d=0;c<arguments.length;c+
+)f=Number(arguments[c]),d+=f*f;return Math.sqrt(d)}},"es6","es3");
$jscomp.polyfill("Object.entries",function(a){return a?a:a=function(b){var
c=[],d;for(d in b)$jscomp.owns(b,d)&&c.push([d,b[d]]);return c}},"es8","es3");
$jscomp.polyfill("Number.MAX_SAFE_INTEGER",function(){return
9007199254740991},"es6","es3");$jscomp.polyfill("Number.isInteger",function(a)
{return a?a:a=function(b){return Number.isFinite(b)?b===Math.floor(b):!
1}},"es6","es3");
$jscomp.polyfill("Number.isSafeInteger",function(a){return a?a:a=function(b){return
Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}},"es6","es3");
$jscomp.polyfill("Math.trunc",function(a){return a?a:a=function(b)
{b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var
c=Math.floor(Math.abs(b));return 0>b?-c:c}},"es6","es3");
$jscomp.polyfill("Math.log2",function(a){return a?a:a=function(b){return
Math.log(b)/Math.LN2}},"es6","es3");
$jscomp.polyfill("Object.values",function(a){return a?a:a=function(b){var
c=[],d;for(d in b)$jscomp.owns(b,d)&&c.push(b[d]);return c}},"es8","es3");
$jscomp.polyfill("Object.is",function(a){return a?a:a=function(b,c){return b===c?0!
==b||1/b===1/c:b!==b&&c!==c}},"es6","es3");
$jscomp.polyfill("Array.prototype.includes",function(a){return a?a:a=function(b,c)
{var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||
0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!
0}return!1}},"es7","es3");$jscomp.polyfill("String.prototype.includes",function(a)
{return a?a:a=function(b,c){var
d=$jscomp.checkStringArgs(this,b,"includes");return-1!==d.indexOf(b,c||
0)}},"es6","es3");
$jscomp.polyfill("Number.isNaN",function(a){return a?a:a=function(b)
{return"number"===typeof b&&isNaN(b)}},"es6","es3");
$jscomp.polyfill("Array.prototype.fill",function(a){return a?a:a=function(b,c,d)
{var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||
d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c+
+)this[c]=b;return this}},"es6","es3");$jscomp.typedArrayFill=function(a){return a?
a:Array.prototype.fill};
$jscomp.polyfill("Int8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Uint8Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Uint8ClampedArray.prototype.fill",
$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int16Array.prototype.fill",
$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Uint16Array.prototype.fill",
$jscomp.typedArrayFill,"es6","es5");$jscomp.polyfill("Int32Array.prototype.fill",
$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Uint32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Float32Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.polyfill("Float64Array.prototype.fill",$jscomp.typedArrayFill,"es6","es5");
$jscomp.atMethod=function(a){var b=this;a=Math.trunc(a)||0;0>a&&(a+=b.length);if(!
(0>a||a>=b.length))return b[a]};$jscomp.polyfill("Array.prototype.at",function(a)
{return a?a:$jscomp.atMethod},"es_next","es5");
$jscomp.typedArrayAt=function(a){return a?a:$jscomp.atMethod};
$jscomp.polyfill("Int8Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Uint8Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Uint8ClampedArray.prototype.at",
$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Int16Array.prototype.at",
$jscomp.typedArrayAt,"es_next","es5");$jscomp.polyfill("Uint16Array.prototype.at",
$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Int32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Uint32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Float32Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("Float64Array.prototype.at",$jscomp.typedArrayAt,"es_next","es5");
$jscomp.polyfill("String.prototype.at",function(a){return a?a:
$jscomp.atMethod},"es_next","es5");
$jscomp.polyfill("Math.sign",function(a){return a?a:a=function(b)
{b=Number(b);return 0===b||isNaN(b)?b:0<b?1:-1}},"es6","es3");
$jscomp.polyfill("String.prototype.replaceAll",function(a){return a?
a:a=function(b,c){if(b instanceof RegExp&&!b.global)throw new
TypeError("String.prototype.replaceAll called with a non-global RegExp
argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new
RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/
g,"\\x08"),"g"),c)}},"es_2021","es3");
$jscomp.polyfill("String.prototype.trimRight",function(a){function b(){return
this.replace(/[\s\xa0]+$/,"")}return a||b},"es_2019","es3");
$jscomp.stringPadding=function(a,b){a=void 0!==a?String(a):" ";if(!
(0<b&&a))return"";var c=Math.ceil(b/a.length);return a.repeat(c).substring(0,b)};
$jscomp.polyfill("String.prototype.padStart",function(a){return a?a:a=function(b,c)
{var d=$jscomp.checkStringArgs(this,null,"padStart");b-=d.length;return
$jscomp.stringPadding(c,b)+d}},"es8","es3");
$jscomp.polyfill("String.fromCodePoint",function(a){return a?a:a=function(b)
{for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(0>e||
1114111<e||e!==Math.floor(e))throw new RangeError("invalid_code_point
"+e);65535>=e?c+=String.fromCharCode(e):(e-
=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|
56320))}return c}},"es6","es3");
$jscomp.polyfill("String.prototype.codePointAt",function(a){return a?
a:a=function(b){var
c=$jscomp.checkStringArgs(this,null,"codePointAt"),d=c.length;b=Number(b)||
0;if(0<=b&&b<d){b|=0;var e=c.charCodeAt(b);if(55296>e||56319<e||b+1===d)return
e;b=c.charCodeAt(b+1);return 56320>b||57343<b?e:1024*(e-
55296)+b+9216}}},"es6","es3");var atlantis={};var
CLOSURE_TOGGLE_ORDINALS={GoogFlags__async_throw_on_unicode_to_byte__enable:!
1,GoogFlags__client_only_wiz_component_stacks__enable:!
1,GoogFlags__client_only_wiz_reaction_async_await__enable:!
1,GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__enable:!
1,GoogFlags__override_disable_toggles:!1,GoogFlags__testonly_debug_flag__enable:!
1,GoogFlags__testonly_disabled_flag__enable:!
1,GoogFlags__testonly_stable_flag__disable:!
1,GoogFlags__testonly_staging_flag__disable:!1,GoogFlags__use_toggles:!1,
GoogFlags__use_user_agent_client_hints__enable:!1};/*

Copyright The Closure Library Authors.


SPDX-License-Identifier: Apache-2.0
*/
var goog=goog||{};goog.global=this||self;goog.exportPath_=function(a,b,c,d)
{a=a.split(".");d=d||goog.global;a[0]in d||"undefined"==typeof d.execScript||
d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)if(a.length||void
0===b)d=d[e]&&d[e]!==Object.prototype[e]?d[e]:d[e]={};else if(!
c&&goog.isObject(b)&&goog.isObject(d[e]))for(var f in b)b.hasOwnProperty(f)&&(d[e]
[f]=b[f]);else d[e]=b};goog.define=function(a,b){return
a=b};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="fr";
goog.TRUSTED_SITE=!0;goog.DISALLOW_TEST_ONLY_CODE=!
goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!
1;goog.readFlagInternalDoNotUseOrElse=function(a,b){var
c=goog.getObjectByName(goog.FLAGS_OBJECT_);a=c&&c[a];return null!=a?
a:b};goog.FLAGS_OBJECT_="CLOSURE_FLAGS";goog.FLAGS_STAGING_DEFAULT=!0;
goog.readToggleInternalDoNotCallDirectly=function(a){var b="object"===typeof
CLOSURE_TOGGLE_ORDINALS?CLOSURE_TOGGLE_ORDINALS:void 0;a=b&&b[a];return"number"!
==typeof a?!!a:!!(goog.TOGGLES_[Math.floor(a/30)]&1<<a
%30)};goog.TOGGLE_VAR_="_F_toggles";goog.TOGGLES_=goog.global[goog.TOGGLE_VAR_]||
[];goog.LEGACY_NAMESPACE_OBJECT_=goog.global;goog.provide=function(a)
{if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a
module.");goog.constructNamespace_(a)};
goog.constructNamespace_=function(a,b,c)
{goog.exportPath_(a,b,c,goog.LEGACY_NAMESPACE_OBJECT_)};goog.NONCE_PATTERN_=/^[\
w+/_-]+[=]{0,2}$/;goog.getScriptNonce_=function(a){a=(a||
goog.global).document;return(a=a.querySelector&&a.querySelector("script[nonce]"))&&
(a=a.nonce||a.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(a)?
a:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;
goog.module=function(a){if("string"!==typeof a||!a||-
1==a.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!
goog.isInGoogModuleLoader_())throw Error("Module "+a+" has been loaded incorrectly.
Note, modules cannot be loaded as normal scripts. They require some kind of pre-
processing step. You're likely trying to load a module via a script tag or as a
part of a concatenated bundle without rewriting the module. For more info see:
https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-
alternative-to-goog.provide.");
if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called
once per module.");goog.moduleLoaderState_.moduleName=a};goog.module.get=function()
{return null};goog.module.getInternal_=function(){return
null};goog.requireDynamic=function(){return
null};goog.importHandler_=null;goog.uncompiledChunkIdHandler_=null;goog.setImportHa
ndlerInternalDoNotCallOrElse=function(a){goog.importHandler_=a};
goog.setUncompiledChunkIdHandlerInternalDoNotCallOrElse=function(a)
{goog.uncompiledChunkIdHandler_=a};goog.maybeRequireFrameworkInternalOnlyDoNotCallO
rElse=function()
{};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;goog.isInMo
duleLoader_=function(){return goog.isInGoogModuleLoader_()||
goog.isInEs6ModuleLoader_()};goog.isInGoogModuleLoader_=function(){return!!
goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG};
goog.isInEs6ModuleLoader_=function(){var a=!!
goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6;return
a?!0:(a=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp)?"function"!=typeof
a.getCurrentModulePath?!1:!!a.getCurrentModulePath():!
1};goog.module.declareLegacyNamespace=function()
{goog.moduleLoaderState_.declareLegacyNamespace=!0};
goog.declareModuleId=function(a)
{if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=a;else{var
b=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp;if(!b||"function"!=typeof
b.getCurrentModulePath)throw Error('Module with namespace "'+a+'" has been loaded
incorrectly.');b=b.require(b.getCurrentModulePath());goog.loadedModules_[a]={export
s:b,type:goog.ModuleType.ES6,moduleId:a}}};
goog.setTestOnly=function(a){if(goog.DISALLOW_TEST_ONLY_CODE)throw
a=a||"",Error("Importing test-only code into non-debug environment"+(a?":
"+a:"."));};goog.forwardDeclare=function(){};goog.getObjectByName=function(a,b)
{a=a.split(".");b=b||goog.global;for(var c=0;c<a.length;c+
+)if(b=b[a[c]],null==b)return null;return b};goog.addDependency=function()
{};goog.ENABLE_DEBUG_LOADER=!1;goog.logToConsole_=function(a)
{goog.global.console&&goog.global.console.error(a)};goog.require=function(){};
goog.requireType=function()
{return{}};goog.basePath="";goog.abstractMethod=function(){throw
Error("unimplemented abstract method");};goog.addSingletonGetter=function(a)
{a.instance_=void 0;a.getInstance=function(){if(a.instance_)return
a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.
length]=a);return a.instance_=new
a}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!
0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};
goog.DEPENDENCIES_ENABLED=!1;goog.ASSUME_ES_MODULES_TRANSPILED=!
1;goog.TRUSTED_TYPES_POLICY_NAME="goog";goog.hasBadLetScoping=null;
goog.loadModule=function(a){var
b=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyN
amespace:!1,type:goog.ModuleType.GOOG};var c={},d=c;if("function"===typeof
a)d=a.call(void 0,d);else if("string"===typeof
a)d=goog.loadModuleFromSource_.call(void 0,d,a);else throw Error("Invalid module
definition");var e=goog.moduleLoaderState_.moduleName;if("string"===typeof e&&e)
{goog.moduleLoaderState_.declareLegacyNamespace?(a=c!
==d,goog.constructNamespace_(e,d,a)):goog.SEAL_MODULE_EXPORTS&&
Object.seal&&"object"==typeof d&&null!=d&&Object.seal(d);var
f={exports:d,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}
;goog.loadedModules_[e]=f}else throw Error('Invalid module name
"'+e+'"');}finally{goog.moduleLoaderState_=b}};goog.loadModuleFromSource_=function(
a,b){eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b));return a};
goog.normalizePath_=function(a){a=a.split("/");for(var b=0;b<a.length;)"."==a[b]?
a.splice(b,1):b&&".."==a[b]&&a[b-1]&&".."!=a[b-1]?a.splice(--b,2):b++;return
a.join("/")};goog.loadFileSync_=function(a)
{if(goog.global.CLOSURE_LOAD_FILE_SYNC)return
goog.global.CLOSURE_LOAD_FILE_SYNC(a);try{var b=new
goog.global.XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||
200==b.status?b.responseText:null}catch(c){return null}};
goog.typeOf=function(a){var b=typeof a;return"object"!=b?b:a?
Array.isArray(a)?"array":b:"null"};goog.isArrayLike=function(a){var
b=goog.typeOf(a);return"array"==b||"object"==b&&"number"==typeof
a.length};goog.isDateLike=function(a){return goog.isObject(a)&&"function"==typeof
a.getFullYear};goog.isObject=function(a){var b=typeof a;return"object"==b&&null!
=a||"function"==b};
goog.getUid=function(a){return
Object.prototype.hasOwnProperty.call(a,goog.UID_PROPERTY_)&&a[goog.UID_PROPERTY_]||
(a[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(a){return!!
a[goog.UID_PROPERTY_]};goog.removeUid=function(a){null!==a&&"removeAttribute"in
a&&a.removeAttribute(goog.UID_PROPERTY_);try{delete a[goog.UID_PROPERTY_]}catch(b)
{}};goog.UID_PROPERTY_="closure_uid_"+(1E9*Math.random()>>>0);goog.uidCounter_=0;
goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b)
{if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a
instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof
Set)return new Set(a);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
e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return
a.apply(b,e)}}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 d=c.slice();d.push.apply(d,arguments);return
a.apply(this,d)}};goog.now=function(){return
Date.now()};goog.globalEval=function(a){(0,eval)(a)};
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(e){return goog.cssNameMapping_[e]||e},d=function(e)
{e=e.split("-");for(var f=[],g=0;g<e.length;g++)f.push(c(e[g]));return
f.join("-")};d=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?
c:d:function(e){return e};a=b?a+"-"+d(b):d(a);return
goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(a):a};
goog.setCssNameMapping=function(a,b)
{goog.cssNameMapping_=a;goog.cssNameMappingStyle_=b};goog.GetMsgOptions=function()
{};goog.getMsg=function(a,b,c){c&&c.html&&(a=a.replace(/</
g,"&lt;"));c&&c.unescapeHtmlEntities&&(a=a.replace(/&lt;/g,"<").replace(/&gt;/
g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/
g,"&"));b&&(a=a.replace(/\{\$([^}]+)}/g,function(d,e){return null!=b&&e in b?
b[e]:d}));return a};goog.getMsgWithFallback=function(a){return a};
goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,!
0,c)};goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b)
{function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new
c;a.prototype.constructor=a;a.base=function(d,e,f){for(var
g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return
b.prototype[e].apply(d,g)}};goog.scope=function(a)
{if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a
module.");a.call(goog.global)};
goog.defineClass=function(a,b){var c=b.constructor,d=b.statics;c&&c!
=Object.prototype.constructor||(c=function(){throw Error("cannot instantiate an
interface (no constructor
defined).");});c=goog.defineClass.createSealingConstructor_(c,a);a&&goog.inherits(c
,a);delete b.constructor;delete
b.statics;goog.defineClass.applyProperties_(c.prototype,b);null!=d&&(d instanceof
Function?d(c):goog.defineClass.applyProperties_(c,d));return
c};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;
goog.defineClass.createSealingConstructor_=function(a){if(!
goog.defineClass.SEAL_CLASS_INSTANCES)return a;var b=function(){var
c=a.apply(this,arguments)||this;c[goog.UID_PROPERTY_]=c[goog.UID_PROPERTY_];return
c};return b};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty
isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
goog.defineClass.applyProperties_=function(a,b){for(var c in
b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var
d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d+
+)c=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.ca
ll(b,c)&&(a[c]=b[c])};goog.identity_=function(a){return a};
goog.createTrustedTypesPolicy=function(a){var
b=null,c=goog.global.trustedTypes;if(!c||!c.createPolicy)return
b;try{b=c.createPolicy(a,
{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identit
y_})}catch(d){goog.logToConsole_(d.message)}return b};function
module$contents$google3$javascript$typescript$contrib$check_checkExhaustiveAllowing
(a,b){b=void 0===b?"unexpected value "+a+"!":b;throw
Error(b);};goog.debug={};function module$contents$goog$debug$Error_DebugError(a,b)
{if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug
$Error_DebugError);else{var
c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!
==b&&(this.cause=b)}goog.inherits(module$contents$goog$debug$Error_DebugError,Error
);module$contents$goog$debug$Error_DebugError.prototype.name="CustomError";goog.deb
ug.Error=module$contents$goog$debug$Error_DebugError;goog.dom={};goog.dom.NodeType=
{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSIN
G_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION
:12};goog.asserts={};goog.asserts.ENABLE_ASSERTS=goog.DEBUG;function
module$contents$goog$asserts_AssertionError(a,b){var
c=module$contents$goog$debug$Error_DebugError,d=c.call;a=a.split("%s");for(var
e="",f=a.length-1,g=0;g<f;g++){var h=g<b.length?b[g]:"%s";e+=a[g]
+h}b=e+a[f];d.call(c,this,b)}goog.inherits(module$contents$goog$asserts_AssertionEr
ror,module$contents$goog$debug$Error_DebugError);goog.asserts.AssertionError=module
$contents$goog$asserts_AssertionError;
module$contents$goog$asserts_AssertionError.prototype.name="AssertionError";goog.as
serts.DEFAULT_ERROR_HANDLER=function(a){throw a;};var
module$contents$goog$asserts_errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;funct
ion module$contents$goog$asserts_doAssertFailure(a,b,c,d){var e="Assertion
failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);a=new
module$contents$goog$asserts_AssertionError(""+e,f||
[]);module$contents$goog$asserts_errorHandler_(a)}
goog.asserts.setErrorHandler=function(a)
{goog.asserts.ENABLE_ASSERTS&&(module$contents$goog$asserts_errorHandler_=a)};goog.
asserts.assert=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!
a&&module$contents$goog$asserts_doAssertFailure("",null,b,Array.prototype.slice.cal
l(arguments,2));return a};goog.asserts.assertExists=function(a,b,c)
{goog.asserts.ENABLE_ASSERTS&&null==a&&module$contents$goog$asserts_doAssertFailure
("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a};
goog.asserts.fail=function(a,b)
{goog.asserts.ENABLE_ASSERTS&&module$contents$goog$asserts_errorHandler_(new
module$contents$goog$asserts_AssertionError("Failure"+(a?":
"+a:""),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=functi
on(a,b,c){goog.asserts.ENABLE_ASSERTS&&"number"!==typeof
a&&module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.",
[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
goog.asserts.assertString=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"string"!
==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected string but got
%s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return
a};goog.asserts.assertFunction=function(a,b,c)
{goog.asserts.ENABLE_ASSERTS&&"function"!==typeof
a&&module$contents$goog$asserts_doAssertFailure("Expected function but got %s:
%s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
goog.asserts.assertObject=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!
goog.isObject(a)&&module$contents$goog$asserts_doAssertFailure("Expected object but
got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return
a};goog.asserts.assertArray=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!
Array.isArray(a)&&module$contents$goog$asserts_doAssertFailure("Expected array but
got %s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return
a};
goog.asserts.assertBoolean=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&"boolean"!
==typeof a&&module$contents$goog$asserts_doAssertFailure("Expected boolean but got
%s: %s.",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
goog.asserts.assertElement=function(a,b,c){!goog.asserts.ENABLE_ASSERTS||
goog.isObject(a)&&a.nodeType==goog.dom.NodeType.ELEMENT||
module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.",
[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};
goog.asserts.assertInstanceof=function(a,b,c,d){!goog.asserts.ENABLE_ASSERTS||a
instanceof b||module$contents$goog$asserts_doAssertFailure("Expected instanceof %s
but got %s.",
[module$contents$goog$asserts_getType(b),module$contents$goog$asserts_getType(a)],c
,Array.prototype.slice.call(arguments,3));return a};
goog.asserts.assertFinite=function(a,b,c){!
goog.asserts.ENABLE_ASSERTS||"number"==typeof a&&isFinite(a)||
module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but
it is not.",[a],b,Array.prototype.slice.call(arguments,2));return a};
function module$contents$goog$asserts_getType(a){return a instanceof Function?
a.displayName||a.name||"unknown type name":a instanceof Object?
a.constructor.displayName||a.constructor.name||
Object.prototype.toString.call(a):null===a?"null":typeof
a};goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var
module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR;goog.a
rray.ASSUME_NATIVE_FUNCTIONS=module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS;fun
ction module$contents$goog$array_peek(a){return a[a.length-
1]}goog.array.peek=module$contents$goog$array_peek;goog.array.last=module$contents$
goog$array_peek;
var
module$contents$goog$array_indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$g
oog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(a,b,c)
{goog.asserts.assert(null!=a.length);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("string"===typeof a)return"string"!==typeof b||1!
=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return
c;return-1};goog.array.indexOf=module$contents$goog$array_indexOf;
var
module$contents$goog$array_lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(module$conten
ts$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(a,b,c)
{goog.asserts.assert(null!=a.length);c=null==c?a.length-1:c;return
Array.prototype.lastIndexOf.call(a,b,c)}:function(a,b,c){c=null==c?a.length-
1:c;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof
b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return
c;return-1};
goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var
module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$g
oog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(a,b,c)
{goog.asserts.assert(null!
=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var
d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in
e&&b.call(c,e[f],f,a)};goog.array.forEach=module$contents$goog$array_forEach;
function module$contents$goog$array_forEachRight(a,b,c){var
d=a.length,e="string"===typeof a?a.split(""):a;for(--d;0<=d;--d)d in
e&&b.call(c,e[d],d,a)}goog.array.forEachRight=module$contents$goog$array_forEachRig
ht;
var
module$contents$goog$array_filter=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$go
og$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(a,b,c)
{goog.asserts.assert(null!=a.length);return
Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var
d=a.length,e=[],f=0,g="string"===typeof a?a.split(""):a,h=0;h<d;h++)if(h in g){var
k=g[h];b.call(c,k,h,a)&&(e[f++]=k)}return
e};goog.array.filter=module$contents$goog$array_filter;
var
module$contents$goog$array_map=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$
array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(a,b,c)
{goog.asserts.assert(null!=a.length);return
Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var
d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in
f&&(e[g]=b.call(c,f[g],g,a));return
e};goog.array.map=module$contents$goog$array_map;
var
module$contents$goog$array_reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$go
og$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(a,b,c,d)
{goog.asserts.assert(null!=a.length);d&&(b=goog.bind(b,d));return
Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var
e=c;module$contents$goog$array_forEach(a,function(f,g){e=b.call(d,e,f,g,a)});return
e};goog.array.reduce=module$contents$goog$array_reduce;
var
module$contents$goog$array_reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(module$conten
ts$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?
function(a,b,c,d){goog.asserts.assert(null!=a.length);goog.asserts.assert(null!
=b);d&&(b=goog.bind(b,d));return
Array.prototype.reduceRight.call(a,b,c)}:function(a,b,c,d){var
e=c;module$contents$goog$array_forEachRight(a,function(f,g)
{e=b.call(d,e,f,g,a)});return
e};goog.array.reduceRight=module$contents$goog$array_reduceRight;
var
module$contents$goog$array_some=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog
$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(a,b,c)
{goog.asserts.assert(null!=a.length);return
Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var
d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in
e&&b.call(c,e[f],f,a))return!0;return!
1};goog.array.some=module$contents$goog$array_some;
var
module$contents$goog$array_every=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goo
g$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(a,b,c)
{goog.asserts.assert(null!=a.length);return
Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var
d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!
b.call(c,e[f],f,a))return!1;return!
0};goog.array.every=module$contents$goog$array_every;
function module$contents$goog$array_count(a,b,c){var
d=0;module$contents$goog$array_forEach(a,function(e,f,g){b.call(c,e,f,g)&&+
+d},c);return d}goog.array.count=module$contents$goog$array_count;function
module$contents$goog$array_find(a,b,c)
{b=module$contents$goog$array_findIndex(a,b,c);return 0>b?null:"string"===typeof a?
a.charAt(b):a[b]}goog.array.find=module$contents$goog$array_find;
function module$contents$goog$array_findIndex(a,b,c){for(var
d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in
e&&b.call(c,e[f],f,a))return f;return-
1}goog.array.findIndex=module$contents$goog$array_findIndex;function
module$contents$goog$array_findRight(a,b,c)
{b=module$contents$goog$array_findIndexRight(a,b,c);return 0>b?
null:"string"===typeof a?
a.charAt(b):a[b]}goog.array.findRight=module$contents$goog$array_findRight;
function module$contents$goog$array_findIndexRight(a,b,c){var
d=a.length,e="string"===typeof a?a.split(""):a;for(--d;0<=d;d--)if(d in
e&&b.call(c,e[d],d,a))return d;return-
1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function
module$contents$goog$array_contains(a,b){return
0<=module$contents$goog$array_indexOf(a,b)}goog.array.contains=module$contents$goog
$array_contains;function module$contents$goog$array_isEmpty(a){return
0==a.length}goog.array.isEmpty=module$contents$goog$array_isEmpty;
function module$contents$goog$array_clear(a){if(!Array.isArray(a))for(var
b=a.length-1;0<=b;b--)delete
a[b];a.length=0}goog.array.clear=module$contents$goog$array_clear;function
module$contents$goog$array_insert(a,b){module$contents$goog$array_contains(a,b)||
a.push(b)}goog.array.insert=module$contents$goog$array_insert;function
module$contents$goog$array_insertAt(a,b,c)
{module$contents$goog$array_splice(a,c,0,b)}goog.array.insertAt=module$contents$goo
g$array_insertAt;
function module$contents$goog$array_insertArrayAt(a,b,c)
{goog.partial(module$contents$goog$array_splice,a,c,0).apply(null,b)}goog.array.ins
ertArrayAt=module$contents$goog$array_insertArrayAt;function
module$contents$goog$array_insertBefore(a,b,c){var d;2==arguments.length||
0>(d=module$contents$goog$array_indexOf(a,c))?
a.push(b):module$contents$goog$array_insertAt(a,b,d)}goog.array.insertBefore=module
$contents$goog$array_insertBefore;
function module$contents$goog$array_remove(a,b)
{b=module$contents$goog$array_indexOf(a,b);var c;
(c=0<=b)&&module$contents$goog$array_removeAt(a,b);return
c}goog.array.remove=module$contents$goog$array_remove;function
module$contents$goog$array_removeLast(a,b)
{b=module$contents$goog$array_lastIndexOf(a,b);return 0<=b?
(module$contents$goog$array_removeAt(a,b),!0):!
1}goog.array.removeLast=module$contents$goog$array_removeLast;
function module$contents$goog$array_removeAt(a,b){goog.asserts.assert(null!
=a.length);return
1==Array.prototype.splice.call(a,b,1).length}goog.array.removeAt=module$contents$go
og$array_removeAt;function module$contents$goog$array_removeIf(a,b,c)
{b=module$contents$goog$array_findIndex(a,b,c);return 0<=b?
(module$contents$goog$array_removeAt(a,b),!0):!
1}goog.array.removeIf=module$contents$goog$array_removeIf;
function module$contents$goog$array_removeAllIf(a,b,c){var
d=0;module$contents$goog$array_forEachRight(a,function(e,f)
{b.call(c,e,f,a)&&module$contents$goog$array_removeAt(a,f)&&d++});return
d}goog.array.removeAllIf=module$contents$goog$array_removeAllIf;function
module$contents$goog$array_concat(a){return
Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$a
rray_concat;function module$contents$goog$array_join(a){return
Array.prototype.concat.apply([],arguments)}
goog.array.join=module$contents$goog$array_join;function
module$contents$goog$array_toArray(a){var b=a.length;if(0<b){for(var
c=Array(b),d=0;d<b;d++)c[d]=a[d];return
c}return[]}goog.array.toArray=module$contents$goog$array_toArray;goog.array.clone=m
odule$contents$goog$array_toArray;
function module$contents$goog$array_extend(a,b){for(var c=1;c<arguments.length;c++)
{var d=arguments[c];if(goog.isArrayLike(d)){var e=a.length||0,f=d.length||
0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else
a.push(d)}}goog.array.extend=module$contents$goog$array_extend;function
module$contents$goog$array_splice(a,b,c,d){goog.asserts.assert(null!
=a.length);return
Array.prototype.splice.apply(a,module$contents$goog$array_slice(arguments,1))}goog.
array.splice=module$contents$goog$array_splice;
function module$contents$goog$array_slice(a,b,c){goog.asserts.assert(null!
=a.length);return 2>=arguments.length?
Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}goog.array.slice=
module$contents$goog$array_slice;
function module$contents$goog$array_removeDuplicates(a,b,c){b=b||a;var
d=function(k){return goog.isObject(k)?"o"+goog.getUid(k):(typeof
k).charAt(0)+k};c=c||d;for(var e=d=0,f={};e<a.length;){var g=a[e+
+],h=c(g);Object.prototype.hasOwnProperty.call(f,h)||(f[h]=!0,b[d+
+]=g)}b.length=d}goog.array.removeDuplicates=module$contents$goog$array_removeDupli
cates;
function module$contents$goog$array_binarySearch(a,b,c){return
module$contents$goog$array_binarySearch_(a,c||
module$contents$goog$array_defaultCompare,!
1,b)}goog.array.binarySearch=module$contents$goog$array_binarySearch;function
module$contents$goog$array_binarySelect(a,b,c){return
module$contents$goog$array_binarySearch_(a,b,!0,void
0,c)}goog.array.binarySelect=module$contents$goog$array_binarySelect;
function module$contents$goog$array_binarySearch_(a,b,c,d,e){for(var
f=0,g=a.length,h;f<g;){var k=f+(g-f>>>1);var l=c?b.call(e,a[k],k,a):b(d,a[k]);0<l?
f=k+1:(g=k,h=!l)}return h?f:-f-1}function module$contents$goog$array_sort(a,b)
{a.sort(b||
module$contents$goog$array_defaultCompare)}goog.array.sort=module$contents$goog$arr
ay_sort;
function module$contents$goog$array_stableSort(a,b){function c(g,h){return
f(g.value,h.value)||g.index-h.index}for(var d=Array(a.length),e=0;e<a.length;e+
+)d[e]={index:e,value:a[e]};var f=b||
module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(d,c);for(
b=0;b<a.length;b+
+)a[b]=d[b].value}goog.array.stableSort=module$contents$goog$array_stableSort;
function module$contents$goog$array_sortByKey(a,b,c){var d=c||
module$contents$goog$array_defaultCompare;module$contents$goog$array_sort(a,functio
n(e,f){return
d(b(e),b(f))})}goog.array.sortByKey=module$contents$goog$array_sortByKey;function
module$contents$goog$array_sortObjectsByKey(a,b,c)
{module$contents$goog$array_sortByKey(a,function(d){return
d[b]},c)}goog.array.sortObjectsByKey=module$contents$goog$array_sortObjectsByKey;
function module$contents$goog$array_isSorted(a,b,c){b=b||
module$contents$goog$array_defaultCompare;for(var d=1;d<a.length;d++){var e=b(a[d-
1],a[d]);if(0<e||0==e&&c)return!1}return!
0}goog.array.isSorted=module$contents$goog$array_isSorted;function
module$contents$goog$array_equals(a,b,c){if(!goog.isArrayLike(a)||!
goog.isArrayLike(b)||a.length!=b.length)return!1;var d=a.length;c=c||
module$contents$goog$array_defaultCompareEquality;for(var e=0;e<d;e++)if(!
c(a[e],b[e]))return!1;return!0}
goog.array.equals=module$contents$goog$array_equals;function
module$contents$goog$array_compare3(a,b,c){c=c||
module$contents$goog$array_defaultCompare;for(var
d=Math.min(a.length,b.length),e=0;e<d;e++){var f=c(a[e],b[e]);if(0!=f)return
f}return
module$contents$goog$array_defaultCompare(a.length,b.length)}goog.array.compare3=mo
dule$contents$goog$array_compare3;function
module$contents$goog$array_defaultCompare(a,b){return a>b?1:a<b?-
1:0}goog.array.defaultCompare=module$contents$goog$array_defaultCompare;
function module$contents$goog$array_inverseDefaultCompare(a,b){return-
module$contents$goog$array_defaultCompare(a,b)}goog.array.inverseDefaultCompare=mod
ule$contents$goog$array_inverseDefaultCompare;function
module$contents$goog$array_defaultCompareEquality(a,b){return
a===b}goog.array.defaultCompareEquality=module$contents$goog$array_defaultCompareEq
uality;
function module$contents$goog$array_binaryInsert(a,b,c)
{c=module$contents$goog$array_binarySearch(a,b,c);return 0>c?
(module$contents$goog$array_insertAt(a,b,-(c+1)),!0):!
1}goog.array.binaryInsert=module$contents$goog$array_binaryInsert;function
module$contents$goog$array_binaryRemove(a,b,c)
{b=module$contents$goog$array_binarySearch(a,b,c);return 0<=b?
module$contents$goog$array_removeAt(a,b):!
1}goog.array.binaryRemove=module$contents$goog$array_binaryRemove;
function module$contents$goog$array_bucket(a,b,c){for(var d={},e=0;e<a.length;e++)
{var f=a[e],g=b.call(c,f,e,a);void 0!==g&&(g=d[g]||(d[g]=[]),g.push(f))}return
d}goog.array.bucket=module$contents$goog$array_bucket;function
module$contents$goog$array_bucketToMap(a,b){for(var c=new Map,d=0;d<a.length;d++)
{var e=a[d],f=b(e,d,a);if(void 0!==f){var g=c.get(f);g||
(g=[],c.set(f,g));g.push(e)}}return
c}goog.array.bucketToMap=module$contents$goog$array_bucketToMap;
function module$contents$goog$array_toObject(a,b,c){var
d={};module$contents$goog$array_forEach(a,function(e,f)
{d[b.call(c,e,f,a)]=e});return
d}goog.array.toObject=module$contents$goog$array_toObject;function
module$contents$goog$array_toMap(a,b){for(var c=new Map,d=0;d<a.length;d++){var
e=a[d];c.set(b(e,d,a),e)}return
c}goog.array.toMap=module$contents$goog$array_toMap;
function module$contents$goog$array_range(a,b,c){var d=[],e=0,f=a;c=c||1;void 0!
==b&&(e=a,f=b);if(0>c*(f-e))return[];if(0<c)for(a=e;a<f;a+=c)d.push(a);else
for(a=e;a>f;a+=c)d.push(a);return
d}goog.array.range=module$contents$goog$array_range;function
module$contents$goog$array_repeat(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return
c}goog.array.repeat=module$contents$goog$array_repeat;
function module$contents$goog$array_flatten(a){for(var
b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var
e=0;e<d.length;e+=8192){var
f=module$contents$goog$array_slice(d,e,e+8192);f=module$contents$goog$array_flatten
.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return
b}goog.array.flatten=module$contents$goog$array_flatten;
function module$contents$goog$array_rotate(a,b){goog.asserts.assert(null!
=a.length);a.length&&(b%=a.length,0<b?Array.prototype.unshift.apply(a,a.splice(-
b,b)):0>b&&Array.prototype.push.apply(a,a.splice(0,-b)));return
a}goog.array.rotate=module$contents$goog$array_rotate;function
module$contents$goog$array_moveItem(a,b,c)
{goog.asserts.assert(0<=b&&b<a.length);goog.asserts.assert(0<=c&&c<a.length);b=Arra
y.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])}goog.array.m
oveItem=module$contents$goog$array_moveItem;
function module$contents$goog$array_zip(a){if(!arguments.length)return[];for(var
b=[],c=arguments[0].length,d=1;d<arguments.length;d+
+)arguments[d].length<c&&(c=arguments[d].length);for(d=0;d<c;d++){for(var
e=[],f=0;f<arguments.length;f++)e.push(arguments[f][d]);b.push(e)}return
b}goog.array.zip=module$contents$goog$array_zip;function
module$contents$goog$array_shuffle(a,b){b=b||Math.random;for(var c=a.length-
1;0<c;c--){var
d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e}}goog.array.shuffle=module$contents
$goog$array_shuffle;
function module$contents$goog$array_copyByIndex(a,b){var
c=[];module$contents$goog$array_forEach(b,function(d){c.push(a[d])});return
c}goog.array.copyByIndex=module$contents$goog$array_copyByIndex;function
module$contents$goog$array_concatMap(a,b,c){return
module$contents$goog$array_concat.apply([],module$contents$goog$array_map(a,b,c))}g
oog.array.concatMap=module$contents$goog$array_concatMap;goog.dom.HtmlElement=funct
ion(){};goog.dom.TagName=function(){};goog.dom.TagName.cast=function(a){return
a};goog.dom.TagName.prototype.toString=function()
{};goog.dom.TagName.A="A";goog.dom.TagName.ABBR="ABBR";goog.dom.TagName.ACRONYM="AC
RONYM";goog.dom.TagName.ADDRESS="ADDRESS";goog.dom.TagName.APPLET="APPLET";goog.dom
.TagName.AREA="AREA";goog.dom.TagName.ARTICLE="ARTICLE";goog.dom.TagName.ASIDE="ASI
DE";goog.dom.TagName.AUDIO="AUDIO";goog.dom.TagName.B="B";goog.dom.TagName.BASE="BA
SE";goog.dom.TagName.BASEFONT="BASEFONT";
goog.dom.TagName.BDI="BDI";goog.dom.TagName.BDO="BDO";goog.dom.TagName.BIG="BIG";go
og.dom.TagName.BLOCKQUOTE="BLOCKQUOTE";goog.dom.TagName.BODY="BODY";goog.dom.TagNam
e.BR="BR";goog.dom.TagName.BUTTON="BUTTON";goog.dom.TagName.CANVAS="CANVAS";goog.do
m.TagName.CAPTION="CAPTION";goog.dom.TagName.CENTER="CENTER";goog.dom.TagName.CITE=
"CITE";goog.dom.TagName.CODE="CODE";goog.dom.TagName.COL="COL";goog.dom.TagName.COL
GROUP="COLGROUP";goog.dom.TagName.COMMAND="COMMAND";goog.dom.TagName.DATA="DATA";
goog.dom.TagName.DATALIST="DATALIST";goog.dom.TagName.DD="DD";goog.dom.TagName.DEL=
"DEL";goog.dom.TagName.DETAILS="DETAILS";goog.dom.TagName.DFN="DFN";goog.dom.TagNam
e.DIALOG="DIALOG";goog.dom.TagName.DIR="DIR";goog.dom.TagName.DIV="DIV";goog.dom.Ta
gName.DL="DL";goog.dom.TagName.DT="DT";goog.dom.TagName.EM="EM";goog.dom.TagName.EM
BED="EMBED";goog.dom.TagName.FIELDSET="FIELDSET";goog.dom.TagName.FIGCAPTION="FIGCA
PTION";goog.dom.TagName.FIGURE="FIGURE";goog.dom.TagName.FONT="FONT";
goog.dom.TagName.FOOTER="FOOTER";goog.dom.TagName.FORM="FORM";goog.dom.TagName.FRAM
E="FRAME";goog.dom.TagName.FRAMESET="FRAMESET";goog.dom.TagName.H1="H1";goog.dom.Ta
gName.H2="H2";goog.dom.TagName.H3="H3";goog.dom.TagName.H4="H4";goog.dom.TagName.H5
="H5";goog.dom.TagName.H6="H6";goog.dom.TagName.HEAD="HEAD";goog.dom.TagName.HEADER
="HEADER";goog.dom.TagName.HGROUP="HGROUP";goog.dom.TagName.HR="HR";goog.dom.TagNam
e.HTML="HTML";goog.dom.TagName.I="I";goog.dom.TagName.IFRAME="IFRAME";
goog.dom.TagName.IMG="IMG";goog.dom.TagName.INPUT="INPUT";goog.dom.TagName.INS="INS
";goog.dom.TagName.ISINDEX="ISINDEX";goog.dom.TagName.KBD="KBD";goog.dom.TagName.KE
YGEN="KEYGEN";goog.dom.TagName.LABEL="LABEL";goog.dom.TagName.LEGEND="LEGEND";goog.
dom.TagName.LI="LI";goog.dom.TagName.LINK="LINK";goog.dom.TagName.MAIN="MAIN";goog.
dom.TagName.MAP="MAP";goog.dom.TagName.MARK="MARK";goog.dom.TagName.MATH="MATH";goo
g.dom.TagName.MENU="MENU";goog.dom.TagName.MENUITEM="MENUITEM";goog.dom.TagName.MET
A="META";
goog.dom.TagName.METER="METER";goog.dom.TagName.NAV="NAV";goog.dom.TagName.NOFRAMES
="NOFRAMES";goog.dom.TagName.NOSCRIPT="NOSCRIPT";goog.dom.TagName.OBJECT="OBJECT";g
oog.dom.TagName.OL="OL";goog.dom.TagName.OPTGROUP="OPTGROUP";goog.dom.TagName.OPTIO
N="OPTION";goog.dom.TagName.OUTPUT="OUTPUT";goog.dom.TagName.P="P";goog.dom.TagName
.PARAM="PARAM";goog.dom.TagName.PICTURE="PICTURE";goog.dom.TagName.PRE="PRE";goog.d
om.TagName.PROGRESS="PROGRESS";goog.dom.TagName.Q="Q";goog.dom.TagName.RP="RP";
goog.dom.TagName.RT="RT";goog.dom.TagName.RTC="RTC";goog.dom.TagName.RUBY="RUBY";go
og.dom.TagName.S="S";goog.dom.TagName.SAMP="SAMP";goog.dom.TagName.SCRIPT="SCRIPT";
goog.dom.TagName.SECTION="SECTION";goog.dom.TagName.SELECT="SELECT";goog.dom.TagNam
e.SMALL="SMALL";goog.dom.TagName.SOURCE="SOURCE";goog.dom.TagName.SPAN="SPAN";goog.
dom.TagName.STRIKE="STRIKE";goog.dom.TagName.STRONG="STRONG";goog.dom.TagName.STYLE
="STYLE";goog.dom.TagName.SUB="SUB";goog.dom.TagName.SUMMARY="SUMMARY";
goog.dom.TagName.SUP="SUP";goog.dom.TagName.SVG="SVG";goog.dom.TagName.TABLE="TABLE
";goog.dom.TagName.TBODY="TBODY";goog.dom.TagName.TD="TD";goog.dom.TagName.TEMPLATE
="TEMPLATE";goog.dom.TagName.TEXTAREA="TEXTAREA";goog.dom.TagName.TFOOT="TFOOT";goo
g.dom.TagName.TH="TH";goog.dom.TagName.THEAD="THEAD";goog.dom.TagName.TIME="TIME";g
oog.dom.TagName.TITLE="TITLE";goog.dom.TagName.TR="TR";goog.dom.TagName.TRACK="TRAC
K";goog.dom.TagName.TT="TT";goog.dom.TagName.U="U";goog.dom.TagName.UL="UL";
goog.dom.TagName.VAR="VAR";goog.dom.TagName.VIDEO="VIDEO";goog.dom.TagName.WBR="WBR
";goog.dom.element={};
var module$contents$goog$dom$element_isElement=function(a){return
goog.isObject(a)&&a.nodeType===goog.dom.NodeType.ELEMENT},module$contents$goog$dom$
element_isHtmlElement=function(a){return
goog.isObject(a)&&module$contents$goog$dom$element_isElement(a)&&(!
a.namespaceURI||"http://www.w3.org/1999/
xhtml"===a.namespaceURI)},module$contents$goog$dom$element_isHtmlElementOfType=func
tion(a,b){return
goog.isObject(a)&&module$contents$goog$dom$element_isHtmlElement(a)&&a.tagName.toUp
perCase()===b.toString()},
module$contents$goog$dom$element_isHtmlAnchorElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.A)},module$
contents$goog$dom$element_isHtmlButtonElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.BUTTON)},mo
dule$contents$goog$dom$element_isHtmlLinkElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.LINK)},modu
le$contents$goog$dom$element_isHtmlImageElement=
function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.IMG)},modul
e$contents$goog$dom$element_isHtmlAudioElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.AUDIO)},mod
ule$contents$goog$dom$element_isHtmlVideoElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.VIDEO)},mod
ule$contents$goog$dom$element_isHtmlInputElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,
goog.dom.TagName.INPUT)},module$contents$goog$dom$element_isHtmlTextAreaElement=fun
ction(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.TEXTAREA)},
module$contents$goog$dom$element_isHtmlCanvasElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.CANVAS)},mo
dule$contents$goog$dom$element_isHtmlEmbedElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.EMBED)},mod
ule$contents$goog$dom$element_isHtmlFormElement=
function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.FORM)},modu
le$contents$goog$dom$element_isHtmlFrameElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.FRAME)},mod
ule$contents$goog$dom$element_isHtmlIFrameElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.IFRAME)},mo
dule$contents$goog$dom$element_isHtmlObjectElement=function(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,
goog.dom.TagName.OBJECT)},module$contents$goog$dom$element_isHtmlScriptElement=func
tion(a){return
module$contents$goog$dom$element_isHtmlElementOfType(a,goog.dom.TagName.SCRIPT)};go
og.dom.element.isElement=module$contents$goog$dom$element_isElement;goog.dom.elemen
t.isHtmlElement=module$contents$goog$dom$element_isHtmlElement;goog.dom.element.isH
tmlElementOfType=module$contents$goog$dom$element_isHtmlElementOfType;goog.dom.elem
ent.isHtmlAnchorElement=module$contents$goog$dom$element_isHtmlAnchorElement;
goog.dom.element.isHtmlButtonElement=module$contents$goog$dom$element_isHtmlButtonE
lement;goog.dom.element.isHtmlLinkElement=module$contents$goog$dom$element_isHtmlLi
nkElement;goog.dom.element.isHtmlImageElement=module$contents$goog$dom$element_isHt
mlImageElement;goog.dom.element.isHtmlAudioElement=module$contents$goog$dom$element
_isHtmlAudioElement;goog.dom.element.isHtmlVideoElement=module$contents$goog$dom$el
ement_isHtmlVideoElement;goog.dom.element.isHtmlInputElement=module$contents$goog$d
om$element_isHtmlInputElement;
goog.dom.element.isHtmlTextAreaElement=module$contents$goog$dom$element_isHtmlTextA
reaElement;goog.dom.element.isHtmlCanvasElement=module$contents$goog$dom$element_is
HtmlCanvasElement;goog.dom.element.isHtmlEmbedElement=module$contents$goog$dom$elem
ent_isHtmlEmbedElement;goog.dom.element.isHtmlFormElement=module$contents$goog$dom$
element_isHtmlFormElement;goog.dom.element.isHtmlFrameElement=module$contents$goog$
dom$element_isHtmlFrameElement;goog.dom.element.isHtmlIFrameElement=module$contents
$goog$dom$element_isHtmlIFrameElement;
goog.dom.element.isHtmlObjectElement=module$contents$goog$dom$element_isHtmlObjectE
lement;goog.dom.element.isHtmlScriptElement=module$contents$goog$dom$element_isHtml
ScriptElement;goog.asserts.dom={};
var module$contents$goog$asserts$dom_assertIsElement=function(a)
{goog.asserts.ENABLE_ASSERTS&&!
module$contents$goog$dom$element_isElement(a)&&goog.asserts.fail("Argument is not
an Element; got: "+module$contents$goog$asserts$dom_debugStringForType(a));return
a},module$contents$goog$asserts$dom_assertIsHtmlElement=function(a)
{goog.asserts.ENABLE_ASSERTS&&!
module$contents$goog$dom$element_isHtmlElement(a)&&goog.asserts.fail("Argument is
not an HTML Element; got:
"+module$contents$goog$asserts$dom_debugStringForType(a));return a},
module$contents$goog$asserts$dom_assertIsHtmlElementOfType=function(a,b)
{goog.asserts.ENABLE_ASSERTS&&!
module$contents$goog$dom$element_isHtmlElementOfType(a,b)&&goog.asserts.fail("Argum
ent is not an HTML Element with tag name "+(b.toString()+"; got:
"+module$contents$goog$asserts$dom_debugStringForType(a)));return
a},module$contents$goog$asserts$dom_assertIsHtmlAnchorElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.A)},m
odule$contents$goog$asserts$dom_assertIsHtmlButtonElement=
function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.BUTTO
N)},module$contents$goog$asserts$dom_assertIsHtmlLinkElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.LINK)
},module$contents$goog$asserts$dom_assertIsHtmlImageElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.IMG)}
,module$contents$goog$asserts$dom_assertIsHtmlAudioElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,
goog.dom.TagName.AUDIO)},module$contents$goog$asserts$dom_assertIsHtmlVideoElement=
function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.VIDEO
)},module$contents$goog$asserts$dom_assertIsHtmlInputElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.INPUT
)},module$contents$goog$asserts$dom_assertIsHtmlTextAreaElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.TEXTA
REA)},
module$contents$goog$asserts$dom_assertIsHtmlCanvasElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.CANVA
S)},module$contents$goog$asserts$dom_assertIsHtmlEmbedElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.EMBED
)},module$contents$goog$asserts$dom_assertIsHtmlFormElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.FORM)
},module$contents$goog$asserts$dom_assertIsHtmlFrameElement=
function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.FRAME
)},module$contents$goog$asserts$dom_assertIsHtmlIFrameElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.IFRAM
E)},module$contents$goog$asserts$dom_assertIsHtmlObjectElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,goog.dom.TagName.OBJEC
T)},module$contents$goog$asserts$dom_assertIsHtmlScriptElement=function(a){return
module$contents$goog$asserts$dom_assertIsHtmlElementOfType(a,
goog.dom.TagName.SCRIPT)},module$contents$goog$asserts$dom_debugStringForType=funct
ion(a){if(goog.isObject(a))try{return a.constructor.displayName||
a.constructor.name||Object.prototype.toString.call(a)}catch(b){return"<object could
not be stringified>"}else return void 0===a?"undefined":null===a?"null":typeof
a};goog.asserts.dom.assertIsElement=module$contents$goog$asserts$dom_assertIsElemen
t;goog.asserts.dom.assertIsHtmlElement=module$contents$goog$asserts$dom_assertIsHtm
lElement;
goog.asserts.dom.assertIsHtmlElementOfType=module$contents$goog$asserts$dom_assertI
sHtmlElementOfType;goog.asserts.dom.assertIsHtmlAnchorElement=module$contents$goog$
asserts$dom_assertIsHtmlAnchorElement;goog.asserts.dom.assertIsHtmlButtonElement=mo
dule$contents$goog$asserts$dom_assertIsHtmlButtonElement;goog.asserts.dom.assertIsH
tmlLinkElement=module$contents$goog$asserts$dom_assertIsHtmlLinkElement;goog.assert
s.dom.assertIsHtmlImageElement=module$contents$goog$asserts$dom_assertIsHtmlImageEl
ement;
goog.asserts.dom.assertIsHtmlAudioElement=module$contents$goog$asserts$dom_assertIs
HtmlAudioElement;goog.asserts.dom.assertIsHtmlVideoElement=module$contents$goog$ass
erts$dom_assertIsHtmlVideoElement;goog.asserts.dom.assertIsHtmlInputElement=module$
contents$goog$asserts$dom_assertIsHtmlInputElement;goog.asserts.dom.assertIsHtmlTex
tAreaElement=module$contents$goog$asserts$dom_assertIsHtmlTextAreaElement;goog.asse
rts.dom.assertIsHtmlCanvasElement=module$contents$goog$asserts$dom_assertIsHtmlCanv
asElement;
goog.asserts.dom.assertIsHtmlEmbedElement=module$contents$goog$asserts$dom_assertIs
HtmlEmbedElement;goog.asserts.dom.assertIsHtmlFormElement=module$contents$goog$asse
rts$dom_assertIsHtmlFormElement;goog.asserts.dom.assertIsHtmlFrameElement=module$co
ntents$goog$asserts$dom_assertIsHtmlFrameElement;goog.asserts.dom.assertIsHtmlIFram
eElement=module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;goog.asserts.do
m.assertIsHtmlObjectElement=module$contents$goog$asserts$dom_assertIsHtmlObjectElem
ent;
goog.asserts.dom.assertIsHtmlScriptElement=module$contents$goog$asserts$dom_assertI
sHtmlScriptElement;goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.chromium
Rebrands={};var
module$contents$goog$labs$userAgent$chromiumRebrands_ChromiumRebrand={GOOGLE_CHROME
:"Google Chrome",BRAVE:"Brave",OPERA:"Opera",EDGE:"Microsoft
Edge"};goog.labs.userAgent.chromiumRebrands.ChromiumRebrand=module$contents$goog$la
bs$userAgent$chromiumRebrands_ChromiumRebrand;var
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles={TOGGLE
_GoogFlags__use_toggles:!1,TOGGLE_GoogFlags__override_disable_toggles:!
1,TOGGLE_GoogFlags__use_user_agent_client_hints__enable:!
1,TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable:!
1,TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__enable:!
1,TOGGLE_GoogFlags__client_only_wiz_reaction_async_await__enable:!
1,TOGGLE_GoogFlags__client_only_wiz_component_stacks__enable:!
1,TOGGLE_GoogFlags__testonly_disabled_flag__enable:!1,
TOGGLE_GoogFlags__testonly_debug_flag__enable:!
1,TOGGLE_GoogFlags__testonly_staging_flag__disable:!
1,TOGGLE_GoogFlags__testonly_stable_flag__disable:!1};goog.flags={};var
module$contents$goog$flags_STAGING=goog.readFlagInternalDoNotUseOrElse(1,goog.FLAGS
_STAGING_DEFAULT);goog.flags.USE_USER_AGENT_CLIENT_HINTS=module$exports$google3$thi
rd_party$javascript$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__use_user_agent_client_hints__enable:goog.readFlagInternalDoNotUseOrElse(
610401301,!1);
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE=module$exports$google3$third_party$javasc
ript$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__async_throw_on_unicode_to_byte__enable:goog.readFlagInternalDoNotUseOrEl
se(899588437,!1);
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE=module$exports$google3$
third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
goog.DEBUG||
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__enable:goog.readFlagIn
ternalDoNotUseOrElse(188588736,goog.DEBUG);
goog.flags.CLIENT_ONLY_WIZ_REACTION_ASYNC_AWAIT=module$exports$google3$third_party$
javascript$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?goog.DEBUG||
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__client_only_wiz_reaction_async_await__enable:goog.readFlagInternalDoNotU
seOrElse(399321843,goog.DEBUG);
goog.flags.CLIENT_ONLY_WIZ_COMPONENT_STACKS=module$exports$google3$third_party$java
script$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?goog.DEBUG||
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__client_only_wiz_component_stacks__enable:goog.readFlagInternalDoNotUseOr
Else(628162879,goog.DEBUG);
goog.flags.TESTONLY_DISABLED_FLAG=module$exports$google3$third_party$javascript$clo
sure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__testonly_disabled_flag__enable:goog.readFlagInternalDoNotUseOrElse(21474
83644,!1);
goog.flags.TESTONLY_DEBUG_FLAG=module$exports$google3$third_party$javascript$closur
e$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?goog.DEBUG||
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__testonly_debug_flag__enable:goog.readFlagInternalDoNotUseOrElse(21474836
45,goog.DEBUG);
goog.flags.TESTONLY_STAGING_FLAG=module$exports$google3$third_party$javascript$clos
ure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
goog.FLAGS_STAGING_DEFAULT&&(module$exports$google3$third_party$javascript$closure$
flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles||!
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__testonly_staging_flag__disable):goog.readFlagInternalDoNotUseOrElse(2147
483646,module$contents$goog$flags_STAGING);
goog.flags.TESTONLY_STABLE_FLAG=module$exports$google3$third_party$javascript$closu
re$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles?
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__override_disable_toggles||!
module$exports$google3$third_party$javascript$closure$flags$flags$2etoggles.TOGGLE_
GoogFlags__testonly_stable_flag__disable:goog.readFlagInternalDoNotUseOrElse(214748
3647,!0);var module$contents$goog$labs$userAgent_forceClientHintsInTests=!
1;goog.labs.userAgent.setUseClientHintsForTesting=function(a)
{module$contents$goog$labs$userAgent_forceClientHintsInTests=a};goog.labs.userAgent
.useClientHints=function(){return goog.flags.USE_USER_AGENT_CLIENT_HINTS||
module$contents$goog$labs$userAgent_forceClientHintsInTests};goog.string={};goog.st
ring.internal={};goog.string.internal.startsWith=function(a,b){return
0==a.lastIndexOf(b,0)};goog.string.internal.endsWith=function(a,b){var c=a.length-
b.length;return
0<=c&&a.indexOf(b,c)==c};goog.string.internal.caseInsensitiveStartsWith=function(a,
b){return
0==goog.string.internal.caseInsensitiveCompare(b,a.slice(0,b.length))};goog.string.
internal.caseInsensitiveEndsWith=function(a,b){return
0==goog.string.internal.caseInsensitiveCompare(b,a.slice(a.length-b.length))};
goog.string.internal.caseInsensitiveEquals=function(a,b){return
a.toLowerCase()==b.toLowerCase()};goog.string.internal.isEmptyOrWhitespace=function
(a){return/^[\s\
xa0]*$/.test(a)};goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim
?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\
xa0]*$/.exec(a)[1]};goog.string.internal.caseInsensitiveCompare=function(a,b)
{a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1};
goog.string.internal.newLineToBr=function(a,b){return
a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")};
goog.string.internal.htmlEscape=function(a,b)
{if(b)a=a.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.interna
l.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.in
ternal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").re
place(goog.string.internal.NULL_RE_,"&#0;");else{if(!
goog.string.internal.ALL_RE_.test(a))return a;-1!
=a.indexOf("&")&&(a=a.replace(goog.string.internal.AMP_RE_,"&amp;"));-1!
=a.indexOf("<")&&(a=a.replace(goog.string.internal.LT_RE_,
"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(goog.string.internal.GT_RE_,"&gt;"));-1!
=a.indexOf('"')&&(a=a.replace(goog.string.internal.QUOT_RE_,"&quot;"));-1!
=a.indexOf("'")&&(a=a.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;"));-1!
=a.indexOf("\x00")&&(a=a.replace(goog.string.internal.NULL_RE_,"&#0;"))}return
a};goog.string.internal.AMP_RE_=/&/g;goog.string.internal.LT_RE_=/</
g;goog.string.internal.GT_RE_=/>/g;goog.string.internal.QUOT_RE_=/"/
g;goog.string.internal.SINGLE_QUOTE_RE_=/'/g;
goog.string.internal.NULL_RE_=/\x00/g;goog.string.internal.ALL_RE_=/[\
x00&<>"']/;goog.string.internal.whitespaceEscape=function(a,b){return
goog.string.internal.newLineToBr(a.replace(/ /g,"
&#160;"),b)};goog.string.internal.contains=function(a,b){return-1!
=a.indexOf(b)};goog.string.internal.caseInsensitiveContains=function(a,b){return
goog.string.internal.contains(a.toLowerCase(),b.toLowerCase())};
goog.string.internal.compareVersions=function(a,b){var
c=0;a=goog.string.internal.trim(String(a)).split(".");b=goog.string.internal.trim(S
tring(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var
f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)
(.*)/.exec(g)||
["","","",""];if(0==f[0].length&&0==g[0].length)break;c=0==f[1].length?
0:parseInt(f[1],10);var h=0==g[1].length?
0:parseInt(g[1],10);c=goog.string.internal.compareElements_(c,h)||
goog.string.internal.compareElements_(0==
f[2].length,0==g[2].length)||
goog.string.internal.compareElements_(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return
c};goog.string.internal.compareElements_=function(a,b){return a<b?-1:a>b?
1:0};goog.labs.userAgent.util={};function
module$contents$goog$labs$userAgent$util_getNativeUserAgentString(){var
a=goog.global.navigator;return a&&(a=a.userAgent)?a:""}function
module$contents$goog$labs$userAgent$util_getNativeUserAgentData(){var
a=goog.global.navigator;return a?a.userAgentData||null:null}var
module$contents$goog$labs$userAgent$util_userAgentInternal=null,module$contents$goo
g$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$uti
l_getNativeUserAgentData();
function module$contents$goog$labs$userAgent$util_setUserAgent(a)
{module$contents$goog$labs$userAgent$util_userAgentInternal="string"===typeof a?
a:module$contents$goog$labs$userAgent$util_getNativeUserAgentString()}function
module$contents$goog$labs$userAgent$util_getUserAgent(){return
null==module$contents$goog$labs$userAgent$util_userAgentInternal?
module$contents$goog$labs$userAgent$util_getNativeUserAgentString():module$contents
$goog$labs$userAgent$util_userAgentInternal}
function module$contents$goog$labs$userAgent$util_setUserAgentData(a)
{module$contents$goog$labs$userAgent$util_userAgentDataInternal=a}function
module$contents$goog$labs$userAgent$util_resetUserAgentData()
{module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goo
g$labs$userAgent$util_getNativeUserAgentData()}function
module$contents$goog$labs$userAgent$util_getUserAgentData(){return
module$contents$goog$labs$userAgent$util_userAgentDataInternal}
function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(a){if(!
(0,goog.labs.userAgent.useClientHints)())return!1;var
b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;return b?
b.brands.some(function(c){return(c=c.brand)&&(0,goog.string.internal.contains)
(c,a)}):!1}function module$contents$goog$labs$userAgent$util_matchUserAgent(a){var
b=module$contents$goog$labs$userAgent$util_getUserAgent();return(0,goog.string.inte
rnal.contains)(b,a)}
function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(a){var
b=module$contents$goog$labs$userAgent$util_getUserAgent();return(0,goog.string.inte
rnal.caseInsensitiveContains)(b,a)}function
module$contents$goog$labs$userAgent$util_extractVersionTuples(a){for(var
b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\
((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return
c}goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT=!1;
goog.labs.userAgent.util.extractVersionTuples=module$contents$goog$labs$userAgent$u
til_extractVersionTuples;goog.labs.userAgent.util.getNativeUserAgentString=module$c
ontents$goog$labs$userAgent$util_getNativeUserAgentString;goog.labs.userAgent.util.
getUserAgent=module$contents$goog$labs$userAgent$util_getUserAgent;goog.labs.userAg
ent.util.getUserAgentData=module$contents$goog$labs$userAgent$util_getUserAgentData
;goog.labs.userAgent.util.matchUserAgent=module$contents$goog$labs$userAgent$util_m
atchUserAgent;
goog.labs.userAgent.util.matchUserAgentDataBrand=module$contents$goog$labs$userAgen
t$util_matchUserAgentDataBrand;goog.labs.userAgent.util.matchUserAgentIgnoreCase=mo
dule$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;goog.labs.userAgent
.util.resetUserAgentData=module$contents$goog$labs$userAgent$util_resetUserAgentDat
a;goog.labs.userAgent.util.setUserAgent=module$contents$goog$labs$userAgent$util_se
tUserAgent;goog.labs.userAgent.util.setUserAgentData=module$contents$goog$labs$user
Agent$util_setUserAgentData;var
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue={AsyncValue:functio
n()
{}};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prot
otype.getIfLoaded=function()
{};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.proto
type.load=function()
{};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
=function(a){this.key_=a;this.promise_=this.value_=void 0;this.pending_=!1};
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.pr
ototype.getIfLoaded=function(){var
a=module$contents$goog$labs$userAgent$util_userAgentDataInternal;if(a)return
this.value_};
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.pr
ototype.load=function(){var a=this,b;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(c){if(1==c.nextAddress)
{b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;if(!b)return
c.return(void 0);a.promise_||(a.pending_=!0,a.promise_=function(){var d;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(e){if(1==e.nextAddress)return
e.setFinallyBlock(2),e.yield(b.getHighEntropyValues([a.key_]),
4);if(2!=e.nextAddress)return
d=e.yieldResult,a.value_=d[a.key_],e.return(a.value_);e.enterFinallyBlock();a.pendi
ng_=!1;return e.leaveFinallyBlock(0)})}());return c.yield(a.promise_,2)}return
c.return(c.yieldResult)})};module$exports$goog$labs$userAgent$highEntropy$highEntro
pyValue.HighEntropyValue.prototype.resetForTesting=function()
{if(this.pending_)throw Error("Unsafe call to
resetForTesting");this.value_=this.promise_=void 0;this.pending_=!1};
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version=function(a)
{this.versionString_=a};module$exports$goog$labs$userAgent$highEntropy$highEntropyV
alue.Version.prototype.isAtLeast=function(a){return
0<=(0,goog.string.internal.compareVersions)(this.versionString_,a)};var
module$exports$goog$labs$userAgent$highEntropy$highEntropyData={};module$exports$go
og$labs$userAgent$highEntropy$highEntropyData.fullVersionList=new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("f
ullVersionList");module$exports$goog$labs$userAgent$highEntropy$highEntropyData.pla
tformVersion=new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("p
latformVersion");goog.labs.userAgent.browser={};var
module$contents$goog$labs$userAgent$browser_Brand={ANDROID_BROWSER:"Android
Browser",CHROMIUM:"Chromium",EDGE:"Microsoft Edge",FIREFOX:"Firefox",IE:"Internet
Explorer",OPERA:"Opera",SAFARI:"Safari",SILK:"Silk"};goog.labs.userAgent.browser.Br
and=module$contents$goog$labs$userAgent$browser_Brand;
function module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(a)
{a=void 0===a?!1:a;if(!a&&!(0,goog.labs.userAgent.useClientHints)())return!
1;a=module$contents$goog$labs$userAgent$util_userAgentDataInternal;return!!
a&&0<a.brands.length}function
module$contents$goog$labs$userAgent$browser_matchOpera(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!
1:module$contents$goog$labs$userAgent$util_matchUserAgent("Opera")}
function module$contents$goog$labs$userAgent$browser_matchIE(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!
1:module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||
module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}function
module$contents$goog$labs$userAgent$browser_matchEdgeHtml(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!
1:module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}
function module$contents$goog$labs$userAgent$browser_matchEdgeChromium(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?
module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$go
og$labs$userAgent$browser_Brand.EDGE):module$contents$goog$labs$userAgent$util_matc
hUserAgent("Edg/")}
function module$contents$goog$labs$userAgent$browser_matchOperaChromium(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?
module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$go
og$labs$userAgent$browser_Brand.OPERA):module$contents$goog$labs$userAgent$util_mat
chUserAgent("OPR")}
function module$contents$goog$labs$userAgent$browser_matchFirefox(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Firefox")||
module$contents$goog$labs$userAgent$util_matchUserAgent("FxiOS")}
function module$contents$goog$labs$userAgent$browser_matchSafari(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Safari")&&!
(module$contents$goog$labs$userAgent$browser_matchChrome()||
module$contents$goog$labs$userAgent$browser_matchCoast()||
module$contents$goog$labs$userAgent$browser_matchOpera()||
module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||
module$contents$goog$labs$userAgent$browser_matchEdgeChromium()||
module$contents$goog$labs$userAgent$browser_matchOperaChromium()||
module$contents$goog$labs$userAgent$browser_matchFirefox()||
module$contents$goog$labs$userAgent$browser_isSilk()||
module$contents$goog$labs$userAgent$util_matchUserAgent("Android"))}function
module$contents$goog$labs$userAgent$browser_matchCoast(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?!
1:module$contents$goog$labs$userAgent$util_matchUserAgent("Coast")}
function module$contents$goog$labs$userAgent$browser_matchIosWebview()
{return(module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")||
module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone"))&&!
module$contents$goog$labs$userAgent$browser_matchSafari()&&!
module$contents$goog$labs$userAgent$browser_matchChrome()&&!
module$contents$goog$labs$userAgent$browser_matchCoast()&&!
module$contents$goog$labs$userAgent$browser_matchFirefox()&&module$contents$goog$la
bs$userAgent$util_matchUserAgent("AppleWebKit")}
function module$contents$goog$labs$userAgent$browser_matchChrome(){return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()?
module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$go
og$labs$userAgent$browser_Brand.CHROMIUM):
(module$contents$goog$labs$userAgent$util_matchUserAgent("Chrome")||
module$contents$goog$labs$userAgent$util_matchUserAgent("CriOS"))&&!
module$contents$goog$labs$userAgent$browser_matchEdgeHtml()||
module$contents$goog$labs$userAgent$browser_isSilk()}
function module$contents$goog$labs$userAgent$browser_matchAndroidBrowser(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Android")&&!
(module$contents$goog$labs$userAgent$browser_matchChrome()||
module$contents$goog$labs$userAgent$browser_matchFirefox()||
module$contents$goog$labs$userAgent$browser_matchOpera()||
module$contents$goog$labs$userAgent$browser_isSilk())}goog.labs.userAgent.browser.i
sOpera=module$contents$goog$labs$userAgent$browser_matchOpera;
goog.labs.userAgent.browser.isIE=module$contents$goog$labs$userAgent$browser_matchI
E;goog.labs.userAgent.browser.isEdge=module$contents$goog$labs$userAgent$browser_ma
tchEdgeHtml;goog.labs.userAgent.browser.isEdgeChromium=module$contents$goog$labs$us
erAgent$browser_matchEdgeChromium;goog.labs.userAgent.browser.isOperaChromium=modul
e$contents$goog$labs$userAgent$browser_matchOperaChromium;goog.labs.userAgent.brows
er.isFirefox=module$contents$goog$labs$userAgent$browser_matchFirefox;
goog.labs.userAgent.browser.isSafari=module$contents$goog$labs$userAgent$browser_ma
tchSafari;goog.labs.userAgent.browser.isCoast=module$contents$goog$labs$userAgent$b
rowser_matchCoast;goog.labs.userAgent.browser.isIosWebview=module$contents$goog$lab
s$userAgent$browser_matchIosWebview;goog.labs.userAgent.browser.isChrome=module$con
tents$goog$labs$userAgent$browser_matchChrome;goog.labs.userAgent.browser.isAndroid
Browser=module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;
function module$contents$goog$labs$userAgent$browser_isSilk(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Silk")}goog.labs.userAgent
.browser.isSilk=module$contents$goog$labs$userAgent$browser_isSilk;function
module$contents$goog$labs$userAgent$browser_createVersionMap(a){var
b={};a.forEach(function(c){var d=c[0];c=c[1];b[d]=c});return function(c){return
b[c.find(function(d){return d in b})]||""}}
function module$contents$goog$labs$userAgent$browser_getVersion(){var
a=module$contents$goog$labs$userAgent$util_getUserAgent();if(module$contents$goog$l
abs$userAgent$browser_matchIE())return
module$contents$goog$labs$userAgent$browser_getIEVersion(a);a=module$contents$goog$
labs$userAgent$util_extractVersionTuples(a);var
b=module$contents$goog$labs$userAgent$browser_createVersionMap(a);return
module$contents$goog$labs$userAgent$browser_matchOpera()?
b(["Version","Opera"]):module$contents$goog$labs$userAgent$browser_matchEdgeHtml()?
b(["Edge"]):module$contents$goog$labs$userAgent$browser_matchEdgeChromium()?
b(["Edg"]):module$contents$goog$labs$userAgent$browser_isSilk()?
b(["Silk"]):module$contents$goog$labs$userAgent$browser_matchChrome()?
b(["Chrome","CriOS","HeadlessChrome"]):
(a=a[2])&&a[1]||""}goog.labs.userAgent.browser.getVersion=module$contents$goog$labs
$userAgent$browser_getVersion;
function module$contents$goog$labs$userAgent$browser_isVersionOrHigher(a){return
0<=(0,goog.string.internal.compareVersions)
(module$contents$goog$labs$userAgent$browser_getVersion(),a)}goog.labs.userAgent.br
owser.isVersionOrHigher=module$contents$goog$labs$userAgent$browser_isVersionOrHigh
er;
function module$contents$goog$labs$userAgent$browser_getIEVersion(a){var b=/rv:
*([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]
+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\
d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case
"5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else
b=c[1];return b}
function
module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a)
{var
b=module$contents$goog$labs$userAgent$util_getUserAgent();if(a===module$contents$go
og$labs$userAgent$browser_Brand.IE)return
module$contents$goog$labs$userAgent$browser_matchIE()?
module$contents$goog$labs$userAgent$browser_getIEVersion(b):"";b=module$contents$go
og$labs$userAgent$util_extractVersionTuples(b);var
c=module$contents$goog$labs$userAgent$browser_createVersionMap(b);switch(a){case
module$contents$goog$labs$userAgent$browser_Brand.OPERA:if(module$contents$goog$lab
s$userAgent$browser_matchOpera())return c(["Version",
"Opera"]);if(module$contents$goog$labs$userAgent$browser_matchOperaChromium())retur
n c(["OPR"]);break;case
module$contents$goog$labs$userAgent$browser_Brand.EDGE:if(module$contents$goog$labs
$userAgent$browser_matchEdgeHtml())return
c(["Edge"]);if(module$contents$goog$labs$userAgent$browser_matchEdgeChromium())retu
rn c(["Edg"]);break;case
module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM:if(module$contents$goog$
labs$userAgent$browser_matchChrome())return
c(["Chrome","CriOS","HeadlessChrome"])}return a===
module$contents$goog$labs$userAgent$browser_Brand.FIREFOX&&module$contents$goog$lab
s$userAgent$browser_matchFirefox()||
a===module$contents$goog$labs$userAgent$browser_Brand.SAFARI&&module$contents$goog$
labs$userAgent$browser_matchSafari()||
a===module$contents$goog$labs$userAgent$browser_Brand.ANDROID_BROWSER&&module$conte
nts$goog$labs$userAgent$browser_matchAndroidBrowser()||
a===module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$la
bs$userAgent$browser_isSilk()?(a=b[2])&&
a[1]||"":""}
function module$contents$goog$labs$userAgent$browser_versionOf_(a)
{if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand()&&a!
==module$contents$goog$labs$userAgent$browser_Brand.SILK){var
b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;b=b.brands.find(fu
nction(c){c=c.brand;return c===a});if(!b||!b.version)return
NaN;b=b.version.split(".")}else{b=module$contents$goog$labs$userAgent$browser_getFu
llVersionFromUserAgentString(a);if(""===b)return
NaN;b=b.split(".")}if(0===b.length)return NaN;
b=b[0];return Number(b)}function
module$contents$goog$labs$userAgent$browser_isAtLeast(a,b){(0,goog.asserts.assert)
(Math.floor(b)===b,"Major version must be an integer");return
module$contents$goog$labs$userAgent$browser_versionOf_(a)>=b}goog.labs.userAgent.br
owser.isAtLeast=module$contents$goog$labs$userAgent$browser_isAtLeast;
function module$contents$goog$labs$userAgent$browser_isAtMost(a,b)
{(0,goog.asserts.assert)(Math.floor(b)===b,"Major version must be an
integer");return
module$contents$goog$labs$userAgent$browser_versionOf_(a)<=b}goog.labs.userAgent.br
owser.isAtMost=module$contents$goog$labs$userAgent$browser_isAtMost;
var
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion=function(a,b,c)
{this.brand_=a;this.version_=new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(c);this.use
Uach_=b};
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.getIf
Loaded=function(){var a=this;if(this.useUach_){var
b=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.ge
tIfLoaded();if(void 0!==b)return b=b.find(function(c){c=c.brand;return
a.brand_===c}),(0,goog.asserts.assertExists)(b),new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(b.version)}
if(module$contents$goog$labs$userAgent$browser_preUachHasLoaded)return
this.version_};
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load=
function(){var a=this,b,c;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(d){if(1==d.nextAddress)return
a.useUach_?
d.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionL
ist.load(),5):d.yield(0,3);if(3!=d.nextAddress&&(b=d.yieldResult,void 0!==b))return
c=b.find(function(e){e=e.brand;return a.brand_===e}),(0,goog.asserts.assertExists)
(c),d.return(new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(c.version))
;
module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!0;return
d.return(a.version_)})};var
module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!1;
function module$contents$goog$labs$userAgent$browser_loadFullVersions(){return
$jscomp.asyncExecutePromiseGeneratorProgram(function(a){if(1==a.nextAddress)return
module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)?
a.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionL
ist.load(),2):a.jumpTo(2);module$contents$goog$labs$userAgent$browser_preUachHasLoa
ded=!
0;a.jumpToEnd()})}goog.labs.userAgent.browser.loadFullVersions=module$contents$goog
$labs$userAgent$browser_loadFullVersions;
goog.labs.userAgent.browser.resetForTesting=function()
{module$contents$goog$labs$userAgent$browser_preUachHasLoaded=!
1;module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.re
setForTesting()};
function module$contents$goog$labs$userAgent$browser_fullVersionOf(a){var
b="";module$contents$goog$labs$userAgent$browser_isAtLeast(module$contents$goog$lab
s$userAgent$browser_Brand.CHROMIUM,98)||
(b=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a)
);var c=a!
==module$contents$goog$labs$userAgent$browser_Brand.SILK&&module$contents$goog$labs
$userAgent$browser_useUserAgentDataBrand(!0);if(c){var
d=module$contents$goog$labs$userAgent$util_userAgentDataInternal;if(!
d.brands.find(function(e){e=
e.brand;return e===a}))return}else if(""===b)return;return new
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(a,c,b)}goog.lab
s.userAgent.browser.fullVersionOf=module$contents$goog$labs$userAgent$browser_fullV
ersionOf;
function module$contents$goog$labs$userAgent$browser_getVersionStringForLogging(a)
{if(module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)){var
b=module$contents$goog$labs$userAgent$browser_fullVersionOf(a);if(b)
{if(b=b.getIfLoaded())return
b.versionString_;b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;b
=b.brands.find(function(c){c=c.brand;return c===a});(0,goog.asserts.assertExists)
(b);return b.version}return""}return
module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a)}
goog.labs.userAgent.browser.getVersionStringForLogging=module$contents$goog$labs$us
erAgent$browser_getVersionStringForLogging;goog.labs.userAgent.engine={};function
module$contents$goog$labs$userAgent$engine_isPresto(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Presto")}function
module$contents$goog$labs$userAgent$engine_isTrident(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Trident")||
module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE")}
function module$contents$goog$labs$userAgent$engine_isEdge(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Edge")}function
module$contents$goog$labs$userAgent$engine_isWebKit(){return
module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("WebKit")&&!
module$contents$goog$labs$userAgent$engine_isEdge()}
function module$contents$goog$labs$userAgent$engine_isGecko(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("Gecko")&&!
module$contents$goog$labs$userAgent$engine_isWebKit()&&!
module$contents$goog$labs$userAgent$engine_isTrident()&&!
module$contents$goog$labs$userAgent$engine_isEdge()}
function module$contents$goog$labs$userAgent$engine_getVersion(){var
a=module$contents$goog$labs$userAgent$util_getUserAgent();if(a)
{a=module$contents$goog$labs$userAgent$util_extractVersionTuples(a);var
b;a:if(module$contents$goog$labs$userAgent$engine_isEdge()){for(b=0;b<a.length;b++)
{var c=a[b];if("Edge"==c[0]){b=c;break a}}b=void 0}else
b=a[1];if(b)return"Gecko"==b[0]?
module$contents$goog$labs$userAgent$engine_getVersionForKey(a,"Firefox"):b[1];a=a[0
];var d;if(a&&(d=a[2])&&(d=/Trident\/([^\s;]+)/.exec(d)))return d[1]}return""}
function module$contents$goog$labs$userAgent$engine_isVersionOrHigher(a){return
0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$engine_
getVersion(),a)}function
module$contents$goog$labs$userAgent$engine_getVersionForKey(a,b)
{return(a=module$contents$goog$array_find(a,function(c){return
b==c[0]}))&&a[1]||""}goog.labs.userAgent.engine.getVersion=module$contents$goog$lab
s$userAgent$engine_getVersion;goog.labs.userAgent.engine.isEdge=module$contents$goo
g$labs$userAgent$engine_isEdge;
goog.labs.userAgent.engine.isGecko=module$contents$goog$labs$userAgent$engine_isGec
ko;goog.labs.userAgent.engine.isPresto=module$contents$goog$labs$userAgent$engine_i
sPresto;goog.labs.userAgent.engine.isTrident=module$contents$goog$labs$userAgent$en
gine_isTrident;goog.labs.userAgent.engine.isVersionOrHigher=module$contents$goog$la
bs$userAgent$engine_isVersionOrHigher;goog.labs.userAgent.engine.isWebKit=module$co
ntents$goog$labs$userAgent$engine_isWebKit;goog.labs.userAgent.platform={};function
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(a){a=void
0===a?!1:a;if(!a&&!(0,goog.labs.userAgent.useClientHints)())return!
1;a=module$contents$goog$labs$userAgent$util_userAgentDataInternal;return!!a&&!!
a.platform}
function module$contents$goog$labs$userAgent$platform_isAndroid(){return
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Android"==
=module$contents$goog$labs$userAgent$util_userAgentDataInternal.platform:module$con
tents$goog$labs$userAgent$util_matchUserAgent("Android")}function
module$contents$goog$labs$userAgent$platform_isIpod(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")}
function module$contents$goog$labs$userAgent$platform_isIphone(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")&&!
module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")&&!
module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}function
module$contents$goog$labs$userAgent$platform_isIpad(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}
function module$contents$goog$labs$userAgent$platform_isIos(){return
module$contents$goog$labs$userAgent$platform_isIphone()||
module$contents$goog$labs$userAgent$platform_isIpad()||
module$contents$goog$labs$userAgent$platform_isIpod()}
function module$contents$goog$labs$userAgent$platform_isMacintosh(){return
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"macOS"===m
odule$contents$goog$labs$userAgent$util_userAgentDataInternal.platform:module$conte
nts$goog$labs$userAgent$util_matchUserAgent("Macintosh")}
function module$contents$goog$labs$userAgent$platform_isLinux(){return
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Linux"===m
odule$contents$goog$labs$userAgent$util_userAgentDataInternal.platform:module$conte
nts$goog$labs$userAgent$util_matchUserAgent("Linux")}
function module$contents$goog$labs$userAgent$platform_isWindows(){return
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Windows"==
=module$contents$goog$labs$userAgent$util_userAgentDataInternal.platform:module$con
tents$goog$labs$userAgent$util_matchUserAgent("Windows")}
function module$contents$goog$labs$userAgent$platform_isChromeOS(){return
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform()?"Chrome
OS"===module$contents$goog$labs$userAgent$util_userAgentDataInternal.platform:modul
e$contents$goog$labs$userAgent$util_matchUserAgent("CrOS")}function
module$contents$goog$labs$userAgent$platform_isChromecast(){return
module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey")}
function module$contents$goog$labs$userAgent$platform_isKaiOS(){return
module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS")}
function module$contents$goog$labs$userAgent$platform_getVersion(){var
a=module$contents$goog$labs$userAgent$util_getUserAgent(),b="";module$contents$goog
$labs$userAgent$platform_isWindows()?(b=/Windows (?:NT|Phone) ([0-
9.]+)/,b=(a=b.exec(a))?
a[1]:"0.0"):module$contents$goog$labs$userAgent$platform_isIos()?(b=/(?:iPhone|
iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/
g,".")):module$contents$goog$labs$userAgent$platform_isMacintosh()?(b=/Mac OS X
([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,
"."):"10"):module$contents$goog$labs$userAgent$platform_isKaiOS()?(b=/(?:KaiOS)\/(\
S+)/
i,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isAndroid()?
(b=/Android\s+([^\);]+)
(\)|;)/,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isChrom
eOS()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return
b||""}
function module$contents$goog$labs$userAgent$platform_isVersionOrHigher(a){return
0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platfor
m_getVersion(),a)}var
module$contents$goog$labs$userAgent$platform_PlatformVersion=function()
{this.preUachHasLoaded_=!1};
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoaded=
function()
{if(module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)){var
a=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.ge
tIfLoaded();return void 0===a?void 0:new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(a)}if(this.
preUachHasLoaded_)return new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$cont
ents$goog$labs$userAgent$platform_getVersion())};
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load=functio
n(){var a=this,b;return $jscomp.asyncExecutePromiseGeneratorProgram(function(c)
{if(1==c.nextAddress){if(!
module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0))return
a.preUachHasLoaded_=!0,c.return(new
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$cont
ents$goog$labs$userAgent$platform_getVersion()));b=module$exports$goog$labs$userAge
nt$highEntropy$highEntropyValue.Version;
return
c.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVers
ion.load(),3)}return c.return(new
b(c.yieldResult))})};module$contents$goog$labs$userAgent$platform_PlatformVersion.p
rototype.resetForTesting=function()
{module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.res
etForTesting();this.preUachHasLoaded_=!1};var
module$contents$goog$labs$userAgent$platform_version=new
module$contents$goog$labs$userAgent$platform_PlatformVersion;
goog.labs.userAgent.platform.getVersion=module$contents$goog$labs$userAgent$platfor
m_getVersion;goog.labs.userAgent.platform.isAndroid=module$contents$goog$labs$userA
gent$platform_isAndroid;goog.labs.userAgent.platform.isChromeOS=module$contents$goo
g$labs$userAgent$platform_isChromeOS;goog.labs.userAgent.platform.isChromecast=modu
le$contents$goog$labs$userAgent$platform_isChromecast;goog.labs.userAgent.platform.
isIos=module$contents$goog$labs$userAgent$platform_isIos;
goog.labs.userAgent.platform.isIpad=module$contents$goog$labs$userAgent$platform_is
Ipad;goog.labs.userAgent.platform.isIphone=module$contents$goog$labs$userAgent$plat
form_isIphone;goog.labs.userAgent.platform.isIpod=module$contents$goog$labs$userAge
nt$platform_isIpod;goog.labs.userAgent.platform.isKaiOS=module$contents$goog$labs$u
serAgent$platform_isKaiOS;goog.labs.userAgent.platform.isLinux=module$contents$goog
$labs$userAgent$platform_isLinux;goog.labs.userAgent.platform.isMacintosh=module$co
ntents$goog$labs$userAgent$platform_isMacintosh;
goog.labs.userAgent.platform.isVersionOrHigher=module$contents$goog$labs$userAgent$
platform_isVersionOrHigher;goog.labs.userAgent.platform.isWindows=module$contents$g
oog$labs$userAgent$platform_isWindows;goog.labs.userAgent.platform.version=module$c
ontents$goog$labs$userAgent$platform_version;goog.reflect={};goog.reflect.object=fu
nction(a,b){return b};goog.reflect.objectProperty=function(a){return
a};goog.reflect.sinkValue=function(a){goog.reflect.sinkValue[" "](a);return
a};goog.reflect.sinkValue[" "]=function()
{};goog.reflect.canAccessProperty=function(a,b){try{return
goog.reflect.sinkValue(a[b]),!0}catch(c){}return!
1};goog.reflect.cache=function(a,b,c,d){d=d?d(b):b;return
Object.prototype.hasOwnProperty.call(a,d)?
a[d]:a[d]=c(b)};goog.userAgent={};goog.userAgent.ASSUME_IE=!
1;goog.userAgent.ASSUME_EDGE=!1;goog.userAgent.ASSUME_GECKO=!
1;goog.userAgent.ASSUME_WEBKIT=!1;goog.userAgent.ASSUME_MOBILE_WEBKIT=!
1;goog.userAgent.ASSUME_OPERA=!1;goog.userAgent.ASSUME_ANY_VERSION=!
1;goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||
goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||
goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||
goog.userAgent.ASSUME_OPERA;goog.userAgent.getUserAgentString=function(){return
module$contents$goog$labs$userAgent$util_getUserAgent()};
goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||
null};goog.userAgent.getNavigator=function(){return
goog.userAgent.getNavigatorTyped()};goog.userAgent.OPERA=goog.userAgent.BROWSER_KNO
WN_?
goog.userAgent.ASSUME_OPERA:module$contents$goog$labs$userAgent$browser_matchOpera(
);goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?
goog.userAgent.ASSUME_IE:module$contents$goog$labs$userAgent$browser_matchIE();
goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?
goog.userAgent.ASSUME_EDGE:module$contents$goog$labs$userAgent$engine_isEdge();goog
.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||
goog.userAgent.IE;goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?
goog.userAgent.ASSUME_GECKO:module$contents$goog$labs$userAgent$engine_isGecko();go
og.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||
goog.userAgent.ASSUME_MOBILE_WEBKIT:module$contents$goog$labs$userAgent$engine_isWe
bKit();
goog.userAgent.isMobile_=function(){return
goog.userAgent.WEBKIT&&module$contents$goog$labs$userAgent$util_matchUserAgent("Mob
ile")};goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||
goog.userAgent.isMobile_();goog.userAgent.SAFARI=goog.userAgent.WEBKIT;goog.userAge
nt.determinePlatform_=function(){var a=goog.userAgent.getNavigatorTyped();return
a&&a.platform||""};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog
.userAgent.ASSUME_MAC=!1;goog.userAgent.ASSUME_WINDOWS=!1;
goog.userAgent.ASSUME_LINUX=!1;goog.userAgent.ASSUME_ANDROID=!
1;goog.userAgent.ASSUME_IPHONE=!1;goog.userAgent.ASSUME_IPAD=!
1;goog.userAgent.ASSUME_IPOD=!1;goog.userAgent.ASSUME_KAIOS=!
1;goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||
goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||
goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||
goog.userAgent.ASSUME_IPAD||
goog.userAgent.ASSUME_IPOD;goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_MAC:module$contents$goog$labs$userAgent$platform_isMacintosh(
);
goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_WINDOWS:module$contents$goog$labs$userAgent$platform_isWindow
s();goog.userAgent.isLegacyLinux_=function(){return
module$contents$goog$labs$userAgent$platform_isLinux()||
module$contents$goog$labs$userAgent$platform_isChromeOS()};goog.userAgent.LINUX=goo
g.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.ANDROID=
goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_ANDROID:module$contents$goog$labs$userAgent$platform_isAndroi
d();
goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_IPHONE:module$contents$goog$labs$userAgent$platform_isIphone(
);goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isIpad();go
og.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIpod();
goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||
goog.userAgent.ASSUME_IPAD||
goog.userAgent.ASSUME_IPOD:module$contents$goog$labs$userAgent$platform_isIos();goo
g.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?
goog.userAgent.ASSUME_KAIOS:module$contents$goog$labs$userAgent$platform_isKaiOS();
goog.userAgent.determineVersion_=function(){var
a="",b=goog.userAgent.getVersionRegexResult_();b&&(a=b?b[1]:"");return
goog.userAgent.IE&&(b=goog.userAgent.getDocumentMode_(),null!=b&&b>parseFloat(a))?
String(b):a};
goog.userAgent.getVersionRegexResult_=function(){var
a=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)
(\)|;)/.exec(a);if(goog.userAgent.EDGE)return/Edge\/([\d\.]
+)/.exec(a);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)
(\)|;)/.exec(a);if(goog.userAgent.WEBKIT)return/WebKit\/(\
S+)/.exec(a);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\
S+)/.exec(a)};goog.userAgent.getDocumentMode_=function(){var
a=goog.global.document;return a?a.documentMode:void 0};
goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=fu
nction(a,b){return
goog.string.internal.compareVersions(a,b)};goog.userAgent.isVersionOrHigherCache_={
};goog.userAgent.isVersionOrHigher=function(a){return
goog.userAgent.ASSUME_ANY_VERSION||
goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,a,function(){return
0<=goog.string.internal.compareVersions(goog.userAgent.VERSION,a)})};
goog.userAgent.isDocumentModeOrHigher=function(a){return
Number(goog.userAgent.DOCUMENT_MODE)>=a};goog.userAgent.isDocumentMode=goog.userAge
nt.isDocumentModeOrHigher;var JSCompiler_inline_result$jscomp$550;var
doc$jscomp$inline_591=goog.global.document;
if(doc$jscomp$inline_591&&goog.userAgent.IE){var
documentMode$jscomp$inline_592=goog.userAgent.getDocumentMode_();if(documentMode$js
comp$inline_592)JSCompiler_inline_result$jscomp$550=documentMode$jscomp$inline_592;
else{var
ieVersion$jscomp$inline_593=parseInt(goog.userAgent.VERSION,10);JSCompiler_inline_r
esult$jscomp$550=ieVersion$jscomp$inline_593||void 0}}else
JSCompiler_inline_result$jscomp$550=void
0;goog.userAgent.DOCUMENT_MODE=JSCompiler_inline_result$jscomp$550;goog.dom.Browser
Feature={};goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS=!
1;goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS=!
1;goog.dom.BrowserFeature.detectOffscreenCanvas_=function(a){try{return!!(new
self.OffscreenCanvas(0,0)).getContext(a)}catch(b){}return!
1};goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D=!
goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS&&(goog.dom.BrowserFeature.ASSUME
_OFFSCREEN_CANVAS||goog.dom.BrowserFeature.detectOffscreenCanvas_("2d"));
goog.dom.BrowserFeature.CAN_ADD_NAME_OR_TYPE_ATTRIBUTES=!
0;goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE=!
0;goog.dom.BrowserFeature.CAN_USE_INNER_TEXT=!
1;goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY=goog.userAgent.WEBKIT;goo
g.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT=!
1;goog.dom.asserts={};goog.dom.asserts.assertIsLocation=function(a)
{if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);b&&(!a||!(a
instanceof b.Location)&&a instanceof b.Element)&&goog.asserts.fail("Argument is not
a Location (or a non-Element mock); got:
%s",goog.dom.asserts.debugStringForType_(a))}return a};
goog.dom.asserts.debugStringForType_=function(a){if(goog.isObject(a))try{return
a.constructor.displayName||a.constructor.name||
Object.prototype.toString.call(a)}catch(b){return"<object could not be
stringified>"}else return void 0===a?"undefined":null===a?"null":typeof
a};goog.dom.asserts.getWindow_=function(a){try{var
b=a&&a.ownerDocument,c=b&&(b.defaultView||b.parentWindow);c=c||
goog.global;if(c.Element&&c.Location)return c}catch(d){}return
null};goog.functions={};goog.functions.constant=function(a){return function()
{return a}};goog.functions.FALSE=function(){return!
1};goog.functions.TRUE=function(){return!0};goog.functions.NULL=function(){return
null};goog.functions.UNDEFINED=function()
{};goog.functions.EMPTY=goog.functions.UNDEFINED;goog.functions.identity=function(a
){return a};goog.functions.error=function(a){return function(){throw
Error(a);}};goog.functions.fail=function(a){return function(){throw a;}};
goog.functions.lock=function(a,b){b=b||0;return function(){var c=this;return
a.apply(c,Array.prototype.slice.call(arguments,0,b))}};goog.functions.nth=function(
a){return function(){return
arguments[a]}};goog.functions.partialRight=function(a,b){var
c=Array.prototype.slice.call(arguments,1);return function(){var
d=this;d===goog.global&&(d=void 0);var
e=Array.prototype.slice.call(arguments);e.push.apply(e,c);return a.apply(d,e)}};
goog.functions.withReturnValue=function(a,b){return
goog.functions.sequence(a,goog.functions.constant(b))};goog.functions.equalTo=funct
ion(a,b){return function(c){return b?
a==c:a===c}};goog.functions.compose=function(a,b){var c=arguments,d=c.length;return
function(){var e=this,f;d&&(f=c[d-1].apply(e,arguments));for(var g=d-
2;0<=g;g--)f=c[g].call(e,f);return f}};goog.functions.sequence=function(a){var
b=arguments,c=b.length;return function(){for(var d=this,e,f=0;f<c;f+
+)e=b[f].apply(d,arguments);return e}};
goog.functions.and=function(a){var b=arguments,c=b.length;return function(){for(var
d=this,e=0;e<c;e++)if(!b[e].apply(d,arguments))return!1;return!
0}};goog.functions.or=function(a){var b=arguments,c=b.length;return function()
{for(var d=this,e=0;e<c;e++)if(b[e].apply(d,arguments))return!0;return!
1}};goog.functions.not=function(a){return function(){var b=this;return!
a.apply(b,arguments)}};
goog.functions.create=function(a,b){var c=function()
{};c.prototype=a.prototype;c=new
c;a.apply(c,Array.prototype.slice.call(arguments,1));return
c};goog.functions.CACHE_RETURN_VALUE=!0;goog.functions.cacheReturnValue=function(a)
{var b=!1,c;return function(){if(!goog.functions.CACHE_RETURN_VALUE)return a();b||
(c=a(),b=!0);return c}};goog.functions.once=function(a){var b=a;return function()
{if(b){var c=b;b=null;c()}}};
goog.functions.debounce=function(a,b,c){var d=0;return function(e)
{goog.global.clearTimeout(d);var f=arguments;d=goog.global.setTimeout(function()
{a.apply(c,f)},b)}};goog.functions.throttle=function(a,b,c){var d=0,e=!
1,f=[],g=function(){d=0;e&&(e=!1,h())},h=function()
{d=goog.global.setTimeout(g,b);var k=f;f=[];a.apply(c,k)};return function(k)
{f=arguments;d?e=!0:h()}};goog.functions.rateLimit=function(a,b,c){var
d=0,e=function(){d=0};return function(f){d||
(d=goog.global.setTimeout(e,b),a.apply(c,arguments))}};
goog.functions.isFunction=function(a){return"function"===typeof
a};goog.object={};function module$contents$goog$object_forEach(a,b,c){for(var d in
a)b.call(c,a[d],d,a)}function module$contents$goog$object_filter(a,b,c){var
d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}function
module$contents$goog$object_map(a,b,c){var d={},e;for(e in
a)d[e]=b.call(c,a[e],e,a);return d}function module$contents$goog$object_some(a,b,c)
{for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}
function module$contents$goog$object_every(a,b,c){for(var d in a)if(!
b.call(c,a[d],d,a))return!1;return!0}function
module$contents$goog$object_getCount(a){var b=0,c;for(c in a)b++;return b}function
module$contents$goog$object_getAnyKey(a){for(var b in a)return b}function
module$contents$goog$object_getAnyValue(a){for(var b in a)return a[b]}function
module$contents$goog$object_contains(a,b){return
module$contents$goog$object_containsValue(a,b)}
function module$contents$goog$object_getValues(a){var b=[],c=0,d;for(d in a)b[c+
+]=a[d];return b}function module$contents$goog$object_getKeys(a){var
b=[],c=0,d;for(d in a)b[c++]=d;return b}function
module$contents$goog$object_getValueByKeys(a,b){var c=goog.isArrayLike(b),d=c?
b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return
a}function module$contents$goog$object_containsKey(a,b){return null!==a&&b in a}
function module$contents$goog$object_containsValue(a,b){for(var c in
a)if(a[c]==b)return!0;return!1}function module$contents$goog$object_findKey(a,b,c)
{for(var d in a)if(b.call(c,a[d],d,a))return d}function
module$contents$goog$object_findValue(a,b,c)
{return(b=module$contents$goog$object_findKey(a,b,c))&&a[b]}function
module$contents$goog$object_isEmpty(a){for(var b in a)return!1;return!0}function
module$contents$goog$object_clear(a){for(var b in a)delete a[b]}
function module$contents$goog$object_remove(a,b){var c;(c=b in a)&&delete
a[b];return c}function module$contents$goog$object_add(a,b,c){if(null!==a&&b in
a)throw Error('The object already contains the key "'+b+'"');a[b]=c}function
module$contents$goog$object_get(a,b,c){return null!==a&&b in a?a[b]:c}function
module$contents$goog$object_set(a,b,c){a[b]=c}function
module$contents$goog$object_setIfUndefined(a,b,c){return b in a?a[b]:a[b]=c}
function module$contents$goog$object_setWithReturnValueIfNotSet(a,b,c){if(b in
a)return a[b];c=c();return a[b]=c}function module$contents$goog$object_equals(a,b)
{for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in
a))return!1;return!0}function module$contents$goog$object_clone(a){var b={},c;for(c
in a)b[c]=a[c];return b}
function module$contents$goog$object_unsafeClone(a){if(!a||"object"!==typeof
a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof
Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof
Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var
b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof
ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new
a.constructor(a.length),c;for(c in a)b[c]=
module$contents$goog$object_unsafeClone(a[c]);return b}function
module$contents$goog$object_transpose(a){var b={},c;for(c in a)b[a[c]]=c;return
b}var module$contents$goog$object_PROTOTYPE_FIELDS="constructor hasOwnProperty
isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function module$contents$goog$object_extend(a,b){for(var
c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var
f=0;f<module$contents$goog$object_PROTOTYPE_FIELDS.length;f+
+)c=module$contents$goog$object_PROTOTYPE_FIELDS[f],Object.prototype.hasOwnProperty
.call(d,c)&&(a[c]=d[c])}}
function module$contents$goog$object_create(a){var
b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return
module$contents$goog$object_create.apply(null,arguments[0]);if(b%2)throw
Error("Uneven number of arguments");for(var
c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}
function module$contents$goog$object_createSet(a){var
b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return
module$contents$goog$object_createSet.apply(null,arguments[0]);for(var
c={},d=0;d<b;d++)c[arguments[d]]=!0;return c}function
module$contents$goog$object_createImmutableView(a){var b=a;Object.isFrozen&&!
Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b}function
module$contents$goog$object_isImmutableView(a){return!!
Object.isFrozen&&Object.isFrozen(a)}
function module$contents$goog$object_getAllPropertyNames(a,b,c){if(!a)return[];if(!
Object.getOwnPropertyNames||!Object.getPrototypeOf)return
module$contents$goog$object_getKeys(a);for(var d={};a&&(a!==Object.prototype||
b)&&(a!==Function.prototype||c);){for(var
e=Object.getOwnPropertyNames(a),f=0;f<e.length;f++)d[e[f]]=!
0;a=Object.getPrototypeOf(a)}return module$contents$goog$object_getKeys(d)}
function module$contents$goog$object_getSuperClass(a)
{return(a=Object.getPrototypeOf(a.prototype))&&a.constructor}goog.object.add=module
$contents$goog$object_add;goog.object.clear=module$contents$goog$object_clear;goog.
object.clone=module$contents$goog$object_clone;goog.object.contains=module$contents
$goog$object_contains;goog.object.containsKey=module$contents$goog$object_containsK
ey;goog.object.containsValue=module$contents$goog$object_containsValue;goog.object.
create=module$contents$goog$object_create;
goog.object.createImmutableView=module$contents$goog$object_createImmutableView;goo
g.object.createSet=module$contents$goog$object_createSet;goog.object.equals=module$
contents$goog$object_equals;goog.object.every=module$contents$goog$object_every;goo
g.object.extend=module$contents$goog$object_extend;goog.object.filter=module$conten
ts$goog$object_filter;goog.object.findKey=module$contents$goog$object_findKey;goog.
object.findValue=module$contents$goog$object_findValue;goog.object.forEach=module$c
ontents$goog$object_forEach;
goog.object.get=module$contents$goog$object_get;goog.object.getAllPropertyNames=mod
ule$contents$goog$object_getAllPropertyNames;goog.object.getAnyKey=module$contents$
goog$object_getAnyKey;goog.object.getAnyValue=module$contents$goog$object_getAnyVal
ue;goog.object.getCount=module$contents$goog$object_getCount;goog.object.getKeys=mo
dule$contents$goog$object_getKeys;goog.object.getSuperClass=module$contents$goog$ob
ject_getSuperClass;goog.object.getValueByKeys=module$contents$goog$object_getValueB
yKeys;
goog.object.getValues=module$contents$goog$object_getValues;goog.object.isEmpty=mod
ule$contents$goog$object_isEmpty;goog.object.isImmutableView=module$contents$goog$o
bject_isImmutableView;goog.object.map=module$contents$goog$object_map;goog.object.r
emove=module$contents$goog$object_remove;goog.object.set=module$contents$goog$objec
t_set;goog.object.setIfUndefined=module$contents$goog$object_setIfUndefined;goog.ob
ject.setWithReturnValueIfNotSet=module$contents$goog$object_setWithReturnValueIfNot
Set;
goog.object.some=module$contents$goog$object_some;goog.object.transpose=module$cont
ents$goog$object_transpose;goog.object.unsafeClone=module$contents$goog$object_unsa
feClone;goog.dom.tags={};goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!
0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!
0,source:!0,track:!0,wbr:!0};goog.dom.tags.isVoidTag=function(a){return!
0===goog.dom.tags.VOID_TAGS_[a]};goog.string.Const=function(a,b)
{this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===goog.str
ing.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&b||"";this.STRING_CONST_TYPE_MARK
ER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_};goog.string.Const
.prototype.toString=function(){return
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
goog.string.Const.unwrap=function(a){if(a instanceof
goog.string.Const&&a.constructor===goog.string.Const&&a.STRING_CONST_TYPE_MARKER__G
OOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_)return
a.stringConstValueWithSecurityContract__googStringSecurityPrivate_;goog.asserts.fai
l("expected object of type Const, got
'"+a+"'");return"type_error:Const"};goog.string.Const.from=function(a){return new
goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,a)};
goog.string.Const.TYPE_MARKER_={};goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_P
RIVATE_={};goog.string.Const.EMPTY=goog.string.Const.from("");/*

SPDX-License-Identifier: Apache-2.0
*/
function
module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(a)
{return{valueOf:a}.valueOf()};goog.html={};goog.html.trustedtypes={};goog.html.trus
tedtypes.POLICY_NAME=goog.TRUSTED_TYPES_POLICY_NAME?
goog.TRUSTED_TYPES_POLICY_NAME+"#html":"";goog.html.trustedtypes.getPolicyPrivateDo
NotAccessOrElse=function(){if(!goog.html.trustedtypes.POLICY_NAME)return null;void
0===goog.html.trustedtypes.cachedPolicy_&&(goog.html.trustedtypes.cachedPolicy_=goo
g.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));return
goog.html.trustedtypes.cachedPolicy_};goog.html.TrustedResourceUrl=function(a,b)
{if(goog.DEBUG&&b!==goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_)throw
Error("TrustedResourceUrl is not meant to be built
directly");this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};goog.htm
l.TrustedResourceUrl.prototype.toString=function(){return
this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};
goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(a,b){var
c=goog.html.TrustedResourceUrl.unwrap(this),d=goog.html.TrustedResourceUrl.URL_PARA
M_PARSER_.exec(c);c=d[1];var e=d[2]||"";d=d[3]||"";return
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrEl
se(c+goog.html.TrustedResourceUrl.stringifyParams_("?",e,a)
+goog.html.TrustedResourceUrl.stringifyParams_("#",d,b))};goog.html.TrustedResource
Url.unwrap=function(a){return
goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(a).toString()};
goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(a){if(a instanceof
goog.html.TrustedResourceUrl&&a.constructor===goog.html.TrustedResourceUrl)return
a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;goog.asserts.fail("expect
ed object of type TrustedResourceUrl, got '%s' of type
%s",a,goog.typeOf(a));return"type_error:TrustedResourceUrl"};
goog.html.TrustedResourceUrl.format=function(a,b){var
c=goog.string.Const.unwrap(a);if(!
goog.html.TrustedResourceUrl.BASE_URL_.test(c))throw Error("Invalid
TrustedResourceUrl format:
"+c);a=c.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(d,e){if(!
Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in
format string, "'+c+'", but no valid label mapping found in args:
'+JSON.stringify(b));d=b[e];return d instanceof goog.string.Const?
goog.string.Const.unwrap(d):
encodeURIComponent(String(d))});return
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrEl
se(a)};goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/
g;goog.html.TrustedResourceUrl.BASE_URL_=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/
[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|
about:blank#)","i");goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?
[^#]*)?(#[\s\S]*)?/;
goog.html.TrustedResourceUrl.formatWithParams=function(a,b,c,d)
{a=goog.html.TrustedResourceUrl.format(a,b);return
a.cloneWithParams(c,d)};goog.html.TrustedResourceUrl.fromConstant=function(a)
{return
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrEl
se(goog.string.Const.unwrap(a))};goog.html.TrustedResourceUrl.fromConstants=functio
n(a){for(var b="",c=0;c<a.length;c++)b+=goog.string.Const.unwrap(a[c]);return
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrEl
se(b)};
goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={};goog.html.TrustedResourc
eUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(a){var
b=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();a=b?
b.createScriptURL(a):a;return new
goog.html.TrustedResourceUrl(a,goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVA
TE_)};
goog.html.TrustedResourceUrl.stringifyParams_=function(a,b,c){if(null==c)return
b;if("string"===typeof c)return c?a+encodeURIComponent(c):"";for(var d in
c)if(Object.prototype.hasOwnProperty.call(c,d)){var e=c[d];e=Array.isArray(e)?e:
[e];for(var f=0;f<e.length;f++){var g=e[f];null!=g&&(b||
(b=a),b+=(b.length>a.length?"&":"")+encodeURIComponent(d)
+"="+encodeURIComponent(String(g)))}}return b};function
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a)
{return(0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNot
AccessOrElse)(a)}function
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_isResourceUrl(a){return a instanceof goog.html.TrustedResourceUrl}
function
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_unwrapResourceUrl(a){return
goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(a)};var
$jscomp$templatelit$1274514361$5=$jscomp.createTemplateTagFirstArg([""]),
$jscomp$templatelit$1274514361$6=$jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
["\\0"]),
$jscomp$templatelit$1274514361$7=$jscomp.createTemplateTagFirstArgWithRaw(["\n"],
["\\n"]),
$jscomp$templatelit$1274514361$8=$jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
["\\u0000"]),
$jscomp$templatelit$1274514361$9=$jscomp.createTemplateTagFirstArg([""]),
$jscomp$templatelit$1274514361$10=$jscomp.createTemplateTagFirstArgWithRaw(["\
x00"],
["\\0"]),
$jscomp$templatelit$1274514361$11=$jscomp.createTemplateTagFirstArgWithRaw(["\n"],
["\\n"]),
$jscomp$templatelit$1274514361$12=$jscomp.createTemplateTagFirstArgWithRaw(["\
x00"],["\\u0000"]);
function
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
assertIsTemplateObject(a,b){if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!
==a.raw.length||!
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
isTranspiled&&a===a.raw||!
(module$contents$google3$third_party$javascript$safevalues$internals$string_literal
_isTranspiled&&!
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
frozenTSA||
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkFrozen(a))||
b+1!==a.length)throw new TypeError("\n ############################## ERROR
##############################\n\n It looks like you are trying to call a
template tag function (fn`...`)\n using the normal function syntax (fn(...)),
which is not supported.\n\n The functions in the safevalues library are not
designed to be called\n like normal functions, and doing so invalidates the
security guarantees\n that safevalues provides.\n\n If you are stuck and not
sure how to proceed, please reach out to us\n instead through:\n - go/ise-
hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-
INTERNAL\n - https://github.com/google/safevalues/issues\n\n
############################## ERROR ##############################");
}function
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkFrozen(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkTranspiled(a){return-1===a.toString().indexOf("`")}
var
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
isTranspiled=module$contents$google3$third_party$javascript$safevalues$internals$st
ring_literal_checkTranspiled(function(a){return
a($jscomp$templatelit$1274514361$5)})||
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkTranspiled(function(a){return a($jscomp$templatelit$1274514361$6)})||
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkTranspiled(function(a){return a($jscomp$templatelit$1274514361$7)})||
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkTranspiled(function(a){return
a($jscomp$templatelit$1274514361$8)}),module$contents$google3$third_party$javascrip
t$safevalues$internals$string_literal_frozenTSA=module$contents$google3$third_party
$javascript$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$127
4514361$9)&&module$contents$google3$third_party$javascript$safevalues$internals$str
ing_literal_checkFrozen($jscomp$templatelit$1274514361$10)&&
module$contents$google3$third_party$javascript$safevalues$internals$string_literal_
checkFrozen($jscomp$templatelit$1274514361$11)&&module$contents$google3$third_party
$javascript$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$127
4514361$12);var
module$exports$google3$third_party$javascript$safevalues$internals$secrets={secretT
oken:{}};function
module$contents$google3$third_party$javascript$safevalues$internals$secrets_ensureT
okenIsValid(a){if(goog.DEBUG&&a!
==module$exports$google3$third_party$javascript$safevalues$internals$secrets.secret
Token)throw Error("Bad
secret");}module$exports$google3$third_party$javascript$safevalues$internals$secret
s.ensureTokenIsValid=module$contents$google3$third_party$javascript$safevalues$inte
rnals$secrets_ensureTokenIsValid;var
module$exports$google3$third_party$javascript$safevalues$internals$url_impl={SafeUr
l:function(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$se
crets_ensureTokenIsValid(a);this.privateDoNotAccessOrElseWrappedUrl=b}};module$expo
rts$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl.prototype.
toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};
function
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(a){return new
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
(module$exports$google3$third_party$javascript$safevalues$internals$secrets.secretT
oken,a)}module$exports$google3$third_party$javascript$safevalues$internals$url_impl
.createUrlInternal=module$contents$google3$third_party$javascript$safevalues$intern
als$url_impl_createUrlInternal;
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.ABOUT_B
LANK=module$contents$google3$third_party$javascript$safevalues$internals$url_impl_c
reateUrlInternal("about:blank");module$exports$google3$third_party$javascript$safev
alues$internals$url_impl.INNOCUOUS_URL=module$contents$google3$third_party$javascri
pt$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
function
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_isUrl(
a){return a instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
}module$exports$google3$third_party$javascript$safevalues$internals$url_impl.isUrl=
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_isUrl;
function
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_unwrap
Url(a)
{if(module$contents$google3$third_party$javascript$safevalues$internals$url_impl_is
Url(a))return a.privateDoNotAccessOrElseWrappedUrl;var
b="";goog.DEBUG&&(b="Unexpected type when unwrapping SafeUrl, got '"+a+"' of type
'"+typeof a+"'");throw
Error(b);}module$exports$google3$third_party$javascript$safevalues$internals$url_im
pl.unwrapUrl=module$contents$google3$third_party$javascript$safevalues$internals$ur
l_impl_unwrapUrl;var
module$exports$google3$third_party$javascript$safevalues$builders$url_builders={};f
unction
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
eme()
{}module$exports$google3$third_party$javascript$safevalues$builders$url_builders.Sc
heme=module$contents$google3$third_party$javascript$safevalues$builders$url_builder
s_Scheme;var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl=function(a){this.isValid=a};
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_sim
pleScheme(a){return new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}
var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_REL
ATIVE_SCHEME=new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(a){return/^[^:]*([/?#]|
$)/.test(a)}),module$contents$google3$third_party$javascript$safevalues$builders$ur
l_builders_CALLTO_SCHEME=new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(a){return/^callto:\+?\d*$/
i.test(a)}),module$contents$google3$third_party$javascript$safevalues$builders$url_
builders_SSH_SCHEME=
new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(a){return
0===a.indexOf("ssh://")}),module$contents$google3$third_party$javascript$safevalues
$builders$url_builders_EXTENSION_SCHEME=new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(a){return 0===a.indexOf("chrome-extension://")||
0===a.indexOf("moz-extension://")||0===a.indexOf("ms-browser-
extension://")}),module$contents$google3$third_party$javascript$safevalues$builders
$url_builders_SIP_SCHEME=
new
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl(function(a){return 0===a.indexOf("sip:")||0===a.indexOf("sips:")});
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.Sani
tizableUrlScheme={TEL:module$contents$google3$third_party$javascript$safevalues$bui
lders$url_builders_simpleScheme("tel"),CALLTO:module$contents$google3$third_party$j
avascript$safevalues$builders$url_builders_CALLTO_SCHEME,SSH:module$contents$google
3$third_party$javascript$safevalues$builders$url_builders_SSH_SCHEME,RTSP:module$co
ntents$google3$third_party$javascript$safevalues$builders$url_builders_simpleScheme
("rtsp"),
DATA:module$contents$google3$third_party$javascript$safevalues$builders$url_builder
s_simpleScheme("data"),HTTP:module$contents$google3$third_party$javascript$safevalu
es$builders$url_builders_simpleScheme("http"),HTTPS:module$contents$google3$third_p
arty$javascript$safevalues$builders$url_builders_simpleScheme("https"),EXTENSION:mo
dule$contents$google3$third_party$javascript$safevalues$builders$url_builders_EXTEN
SION_SCHEME,FTP:module$contents$google3$third_party$javascript$safevalues$builders$
url_builders_simpleScheme("ftp"),
RELATIVE:module$contents$google3$third_party$javascript$safevalues$builders$url_bui
lders_RELATIVE_SCHEME,MAILTO:module$contents$google3$third_party$javascript$safeval
ues$builders$url_builders_simpleScheme("mailto"),INTENT:module$contents$google3$thi
rd_party$javascript$safevalues$builders$url_builders_simpleScheme("intent"),MARKET:
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_sim
pleScheme("market"),ITMS:module$contents$google3$third_party$javascript$safevalues$
builders$url_builders_simpleScheme("itms"),
ITMS_APPSS:module$contents$google3$third_party$javascript$safevalues$builders$url_b
uilders_simpleScheme("itms-
appss"),ITMS_SERVICES:module$contents$google3$third_party$javascript$safevalues$bui
lders$url_builders_simpleScheme("itms-
services"),FACEBOOK_MESSENGER:module$contents$google3$third_party$javascript$safeva
lues$builders$url_builders_simpleScheme("fb-
messenger"),WHATSAPP:module$contents$google3$third_party$javascript$safevalues$buil
ders$url_builders_simpleScheme("whatsapp"),SIP:module$contents$google3$third_party$
javascript$safevalues$builders$url_builders_SIP_SCHEME,
SMS:module$contents$google3$third_party$javascript$safevalues$builders$url_builders
_simpleScheme("sms"),VND_YOUTUBE:module$contents$google3$third_party$javascript$saf
evalues$builders$url_builders_simpleScheme("vnd.youtube")};
var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_DEF
AULT_SCHEMES=[module$exports$google3$third_party$javascript$safevalues$builders$url
_builders.SanitizableUrlScheme.DATA,module$exports$google3$third_party$javascript$s
afevalues$builders$url_builders.SanitizableUrlScheme.HTTP,module$exports$google3$th
ird_party$javascript$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS,mo
dule$exports$google3$third_party$javascript$safevalues$builders$url_builders.Saniti
zableUrlScheme.MAILTO,
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.Sani
tizableUrlScheme.FTP,module$exports$google3$third_party$javascript$safevalues$build
ers$url_builders.SanitizableUrlScheme.RELATIVE];
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_try
SanitizeUrl(a,b){b=void 0===b?
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_DEF
AULT_SCHEMES:b;if(module$contents$google3$third_party$javascript$safevalues$interna
ls$url_impl_isUrl(a))return a;for(var c=0;c<b.length;++c){var d=b[c];if(d
instanceof
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_Sch
emeImpl&&d.isValid(a))return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(a)}}
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.tryS
anitizeUrl=module$contents$google3$third_party$javascript$safevalues$builders$url_b
uilders_trySanitizeUrl;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(a,b){b=void 0===b?
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_DEF
AULT_SCHEMES:b;b=module$contents$google3$third_party$javascript$safevalues$builders
$url_builders_trySanitizeUrl(a,b);void
0===b&&module$contents$google3$third_party$javascript$safevalues$builders$url_build
ers_triggerCallbacks(a.toString());return b||
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.INNOCUO
US_URL}
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.sani
tizeUrl=module$contents$google3$third_party$javascript$safevalues$builders$url_buil
ders_sanitizeUrl;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_obj
ectUrlFromSafeSource(a){if("undefined"!==typeof MediaSource&&a instanceof
MediaSource)return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\
w;,= ]+"))*$/i),c;var d=2===(null==(c=b)?void 0:c.length)&&(/^image\/(?:bmp|gif|
jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/
(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||
/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|
x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1]));if(!d)throw
c="",goog.DEBUG&&(c="unsafe blob MIME type: "+a.type),Error(c);return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(URL.createObjectURL(a))}module$exports$google3$third_party$javascript$s
afevalues$builders$url_builders.objectUrlFromSafeSource=module$contents$google3$thi
rd_party$javascript$safevalues$builders$url_builders_objectUrlFromSafeSource;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_fro
mMediaSource(a){if("undefined"!==typeof MediaSource&&a instanceof
MediaSource)return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(URL.createObjectURL(a));var b="";goog.DEBUG&&(b="fromMediaSource only
accepts MediaSource instances, but was called with "+a+".");throw Error(b);}
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.from
MediaSource=module$contents$google3$third_party$javascript$safevalues$builders$url_
builders_fromMediaSource;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_fro
mTrustedResourceUrl(a){return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(module$contents$google3$third_party$javascript$safevalues$internals$res
ource_url_impl_unwrapResourceUrl(a).toString())}module$exports$google3$third_party$
javascript$safevalues$builders$url_builders.fromTrustedResourceUrl=module$contents$
google3$third_party$javascript$safevalues$builders$url_builders_fromTrustedResource
Url;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_saf
eUrl(a){var
b=$jscomp.getRestArguments.apply(1,arguments);goog.DEBUG&&module$contents$google3$t
hird_party$javascript$safevalues$internals$string_literal_assertIsTemplateObject(a,
b.length);var c=a[0];if(goog.DEBUG){var d=c;var e=0===b.length,f=d.search(/[:/?
#]/);0>f?d=e:":"!==d.charAt(f)?d=!0:(d=d.substring(0,f).toLowerCase(),d=/^[a-z][a-
z\d+.-]*$/.test(d)&&"javascript"!==d);if(!d)throw Error("Trying to interpolate with
unsupported prefix: "+
c);}c=[c];for(d=0;d<b.length;d++)c.push(String(b[d])),c.push(a[d+1]);return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(c.join(""))}module$exports$google3$third_party$javascript$safevalues$bu
ilders$url_builders.safeUrl=module$contents$google3$third_party$javascript$safevalu
es$builders$url_builders_safeUrl;
var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_ASS
UME_IMPLEMENTS_URL_API=2020<=goog.FEATURESET_YEAR,module$contents$google3$third_par
ty$javascript$safevalues$builders$url_builders_supportsURLAPI=module$contents$googl
e3$third_party$javascript$safevalues$internals$pure_pure(function(){return
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_ASS
UME_IMPLEMENTS_URL_API?!0:"function"===typeof URL});
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_ext
ractScheme(a){if(!
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_sup
portsURLAPI){a:{var b=document.createElement("a");try{b.href=a}catch(c){a=void
0;break a}a=b.protocol;a=":"===a||""===a?"https:":a}return a}try{b=new
URL(a)}catch(c){return"https:"}return
b.protocol}module$exports$google3$third_party$javascript$safevalues$builders$url_bu
ilders.extractScheme=module$contents$google3$third_party$javascript$safevalues$buil
ders$url_builders_extractScheme;
var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_ALL
OWED_SCHEMES=["data:","http:","https:","mailto:","ftp:"];module$exports$google3$thi
rd_party$javascript$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN=
/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_rep
ortJavaScriptUrl(a){var b=!
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.IS_N
OT_JAVASCRIPT_URL_PATTERN.test(a);b&&module$contents$google3$third_party$javascript
$safevalues$builders$url_builders_triggerCallbacks(a);return
b}module$exports$google3$third_party$javascript$safevalues$builders$url_builders.re
portJavaScriptUrl=module$contents$google3$third_party$javascript$safevalues$builder
s$url_builders_reportJavaScriptUrl;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeJavaScriptUrl(a){if(!
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_rep
ortJavaScriptUrl(a))return
a}module$exports$google3$third_party$javascript$safevalues$builders$url_builders.sa
nitizeJavaScriptUrl=module$contents$google3$third_party$javascript$safevalues$build
ers$url_builders_sanitizeJavaScriptUrl;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_unw
rapUrlOrSanitize(a){return a instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
?
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_unwrap
Url(a):module$contents$google3$third_party$javascript$safevalues$builders$url_build
ers_sanitizeJavaScriptUrl(a)}
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.unwr
apUrlOrSanitize=module$contents$google3$third_party$javascript$safevalues$builders$
url_builders_unwrapUrlOrSanitize;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_res
trictivelySanitizeUrl(a){var
b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_e
xtractScheme(a);return void 0!==b&&-1!
==module$contents$google3$third_party$javascript$safevalues$builders$url_builders_A
LLOWED_SCHEMES.indexOf(b.toLowerCase())?
a:"about:invalid#zClosurez"}module$exports$google3$third_party$javascript$safevalue
s$builders$url_builders.restrictivelySanitizeUrl=module$contents$google3$third_part
y$javascript$safevalues$builders$url_builders_restrictivelySanitizeUrl;
var
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizationCallbacks=[],module$contents$google3$third_party$javascript$safevalues$bui
lders$url_builders_triggerCallbacks=function()
{};goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$builders$u
rl_builders_addJavaScriptUrlSanitizationCallback(function(a){console.warn("A URL
with content '"+a+"' was sanitized away.")});
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_add
JavaScriptUrlSanitizationCallback(a){-
1===module$contents$google3$third_party$javascript$safevalues$builders$url_builders
_sanitizationCallbacks.indexOf(a)&&module$contents$google3$third_party$javascript$s
afevalues$builders$url_builders_sanitizationCallbacks.push(a);module$contents$googl
e3$third_party$javascript$safevalues$builders$url_builders_triggerCallbacks=functio
n(b)
{module$contents$google3$third_party$javascript$safevalues$builders$url_builders_sa
nitizationCallbacks.forEach(function(c){c(b)})}}
module$exports$google3$third_party$javascript$safevalues$builders$url_builders.addJ
avaScriptUrlSanitizationCallback=module$contents$google3$third_party$javascript$saf
evalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
function
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_rem
oveJavaScriptUrlSanitizationCallback(a)
{a=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
sanitizationCallbacks.indexOf(a);-1!
==a&&module$contents$google3$third_party$javascript$safevalues$builders$url_builder
s_sanitizationCallbacks.splice(a,1)}module$exports$google3$third_party$javascript$s
afevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback=module$cont
ents$google3$third_party$javascript$safevalues$builders$url_builders_removeJavaScri
ptUrlSanitizationCallback;var
module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$go
og$html$SafeStyle_SafeStyle=function(a,b){if(goog.DEBUG&&b!
==module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE)throw
Error("SafeStyle is not meant to be built
directly");this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a};
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant=function(a)
{a=goog.string.Const.unwrap(a);if(0===a.length)return
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;(0,goog.asserts.assert)
((0,goog.string.internal.endsWith)(a,";"),"Last character of style string is not
';': "+a);(0,goog.asserts.assert)((0,goog.string.internal.contains)(a,":"),"Style
string must contain at least one ':', to specify a \"name: value\" pair:
"+a);return
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAc
cessOrElse(a)};
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString=function(){return
this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};module$contents$goo
g$html$SafeStyle_SafeStyle.unwrap=function(a){if(a instanceof
module$contents$goog$html$SafeStyle_SafeStyle&&a.constructor===module$contents$goog
$html$SafeStyle_SafeStyle)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;
(0,goog.asserts.fail)("expected object of type SafeStyle, got '"+a+"' of type
"+goog.typeOf(a));return"type_error:SafeStyle"};
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAc
cessOrElse=function(a){return new
module$contents$goog$html$SafeStyle_SafeStyle(a,module$contents$goog$html$SafeStyle
_CONSTRUCTOR_TOKEN_PRIVATE)};
module$contents$goog$html$SafeStyle_SafeStyle.create=function(a){var b="",c;for(c
in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+
$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!
=d&&(d=Array.isArray(d)?
d.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join("
"):module$contents$goog$html$SafeStyle_sanitizePropertyValue(d),b+=c+":"+d+";")}ret
urn b?
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAc
cessOrElse(b):
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY};module$contents$goog$html$Safe
Style_SafeStyle.concat=function(a){var b="",c=function(d){Array.isArray(d)?
d.forEach(c):b+=module$contents$goog$html$SafeStyle_SafeStyle.unwrap(d)};Array.prot
otype.forEach.call(arguments,c);return b?
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAc
cessOrElse(b):module$contents$goog$html$SafeStyle_SafeStyle.EMPTY};module$contents$
goog$html$SafeStyle_SafeStyle.EMPTY=module$contents$goog$html$SafeStyle_SafeStyle.c
reateSafeStyleSecurityPrivateDoNotAccessOrElse("");
module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING="zClosurez";
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(a){if(a
instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
)return a=a.toString(),'url("'+a.replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")
+'")';a=a instanceof goog.string.Const?
goog.string.Const.unwrap(a):module$contents$goog$html$SafeStyle_sanitizePropertyVal
ueString(String(a));if(/[{;}]/.test(a))throw new
module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.",
[a]);
return a}
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(a){var
b=a.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE,"$1").replace(module$c
ontents$goog$html$SafeStyle_FUNCTIONS_RE,"$1").replace(module$contents$goog$html$Sa
feStyle_URL_RE,"url");if(module$contents$goog$html$SafeStyle_VALUE_RE.test(b))
{if(module$contents$goog$html$SafeStyle_COMMENT_RE.test(a))return(0,goog.asserts.fa
il)("String value disallows comments, got:
"+a),module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;for(var c=
b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!
c)}b=b&&c;if(!b)return(0,goog.asserts.fail)("String value requires balanced quotes,
got: "+a),module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;if(!
module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(a))return(0,goog.asse
rts.fail)("String value requires balanced square brackets and one identifier per
pair of brackets, got:
"+a),module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING}else
return(0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\
[\\]] and simple functions, got: "+
a),module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;return
module$contents$goog$html$SafeStyle_sanitizeUrl(a)}function
module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(a){for(var
b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e)
{if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!
c.test(e))return!1}return b}
var module$contents$goog$html$SafeStyle_VALUE_RE=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\
[\\]]+$"),module$contents$goog$html$SafeStyle_URL_RE=RegExp("\\b(url\\([ \t\n]*)('[
-&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\
n]*\\))","g"),module$contents$goog$html$SafeStyle_ALLOWED_FUNCTIONS="calc cubic-
bezier fit-content hsl hsla linear-gradient matrix minmax radial-gradient repeat
rgb rgba (rotate|scale|translate)(X|Y|Z|3d)? steps var".split("
"),module$contents$goog$html$SafeStyle_FUNCTIONS_RE=
new RegExp("\\b("+module$contents$goog$html$SafeStyle_ALLOWED_FUNCTIONS.join("|")
+")\\([-+*/0-9a-zA-Z.%#\\[\\], ]
+\\)","g"),module$contents$goog$html$SafeStyle_COMMENT_RE=/\/\*/;
function module$contents$goog$html$SafeStyle_sanitizeUrl(a){return
a.replace(module$contents$goog$html$SafeStyle_URL_RE,function(b,c,d,e){var
f="";d=d.replace(/^(['"])(.*)\1$/,function(g,h,k){f=h;return
k});b=module$contents$google3$third_party$javascript$safevalues$builders$url_builde
rs_sanitizeUrl(d).toString();return
c+f+b+f+e})}goog.html.SafeStyle=module$contents$goog$html$SafeStyle_SafeStyle;var
module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE={},module$conten
ts$goog$html$SafeStyleSheet_SafeStyleSheet=function(a,b){if(goog.DEBUG&&b!
==module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)throw
Error("SafeStyleSheet is not meant to be built
directly");this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a};module$conte
nts$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString=function(){return
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule=function(a,b)
{if((0,goog.string.internal.contains)(a,"<"))throw Error("Selector does not allow
'<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-
_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(c))throw Error("Selector allows only [-_a-
zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: "+a);if(!
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(c))thr
ow Error("() and [] in selector must be balanced, got: "+
a);b instanceof module$contents$goog$html$SafeStyle_SafeStyle||
(b=module$contents$goog$html$SafeStyle_SafeStyle.create(b));a=a+"{"+module$contents
$goog$html$SafeStyle_SafeStyle.unwrap(b).replace(/</g,"\\3C ")+"}";return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurit
yPrivateDoNotAccessOrElse(a)};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_=functi
on(a){for(var b={"(":")","[":"]"},c=[],d=0;d<a.length;d++){var
e=a[d];if(b[e])c.push(b[e]);else
if(module$contents$goog$object_containsValue(b,e)&&c.pop()!=e)return!1}return
0==c.length};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat=function(a){var
b="",c=function(d){Array.isArray(d)?
d.forEach(c):b+=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(d)};
Array.prototype.forEach.call(arguments,c);return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurit
yPrivateDoNotAccessOrElse(b)};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant=function(a)
{a=goog.string.Const.unwrap(a);if(0===a.length)return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(a,"<"),"Forbidden '<'
character in style sheet string: "+a);return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurit
yPrivateDoNotAccessOrElse(a)};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap=function(a){if(a
instanceof
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet&&a.constructor===module$con
tents$goog$html$SafeStyleSheet_SafeStyleSheet)return
a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;(0,goog.asserts.fail)
("expected object of type SafeStyleSheet, got '"+a+"' of type
"+goog.typeOf(a));return"type_error:SafeStyleSheet"};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurit
yPrivateDoNotAccessOrElse=function(a){return new
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(a,module$contents$goog$html
$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE)};module$contents$goog$html$SafeStyleShee
t_SafeStyleSheet.EMPTY=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.crea
teSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");goog.html.SafeStyleSheet=modul
e$contents$goog$html$SafeStyleSheet_SafeStyleSheet;var
module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE={},module$contents$goo
g$html$SafeHtml_SafeHtml=function(a,b){if(goog.DEBUG&&b!
==module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE)throw
Error("SafeHtml is not meant to be built
directly");this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a};module$contents$go
og$html$SafeHtml_SafeHtml.prototype.toString=function(){return
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
module$contents$goog$html$SafeHtml_SafeHtml.unwrap=function(a){return
module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(a).toString()};module
$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML=function(a){if(a instanceof
module$contents$goog$html$SafeHtml_SafeHtml&&a.constructor===module$contents$goog$h
tml$SafeHtml_SafeHtml)return
a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;goog.asserts.fail("expected object
of type SafeHtml, got '"+a+"' of type
"+goog.typeOf(a));return"type_error:SafeHtml"};
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape=function(a){return a
instanceof module$contents$goog$html$SafeHtml_SafeHtml?
a:module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAcc
essOrElse(goog.string.internal.htmlEscape(String(a)))};module$contents$goog$html$Sa
feHtml_SafeHtml.htmlEscapePreservingNewlines=function(a){if(a instanceof
module$contents$goog$html$SafeHtml_SafeHtml)return
a;a=module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(a);return
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAcces
sOrElse(goog.string.internal.newLineToBr(module$contents$goog$html$SafeHtml_SafeHtm
l.unwrap(a)))};
module$contents$goog$html$SafeHtml_SafeHtml.create=function(a,b,c)
{module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName(String(a));return
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAc
cessOrElse(String(a),b,c)};
module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName=function(a){if(!
module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(a))throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid
tag name <"+a+">.":"");if(a.toUpperCase()in
module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES)throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name
<"+a+"> is not allowed for SafeHtml.":"");};
module$contents$goog$html$SafeHtml_SafeHtml.createIframe=function(a,b,c,d)
{a&&goog.html.TrustedResourceUrl.unwrap(a);var e={};e.src=a||
null;e.srcdoc=b&&module$contents$goog$html$SafeHtml_SafeHtml.unwrap(b);a={sandbox:"
"};c=module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(e,a,c);return
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAc
cessOrElse("iframe",c,d)};
module$contents$goog$html$SafeHtml_SafeHtml.join=function(a,b)
{a=module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(a);var c=[],d=function(e)
{Array.isArray(e)?e.forEach(d):
(e=module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(e),c.push(module$contents
$goog$html$SafeHtml_SafeHtml.unwrap(e)))};b.forEach(d);return
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAcces
sOrElse(c.join(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(a)))};
module$contents$goog$html$SafeHtml_SafeHtml.concat=function(a){return
module$contents$goog$html$SafeHtml_SafeHtml.join(module$contents$goog$html$SafeHtml
_SafeHtml.EMPTY,Array.prototype.slice.call(arguments))};module$contents$goog$html$S
afeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(a){var
b=goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse();a=b?
b.createHTML(a):a;return new
module$contents$goog$html$SafeHtml_SafeHtml(a,module$contents$goog$html$SafeHtml_CO
NSTRUCTOR_TOKEN_PRIVATE)};
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAc
cessOrElse=function(a,b,c){var
d="<"+a;d+=module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes(a,b);nul
l==c?c=[]:Array.isArray(c)||(c=[c]);goog.dom.tags.isVoidTag(a.toLowerCase())?
(goog.asserts.assert(!c.length,"Void tag <"+a+"> does not allow content."),d+=">"):
(b=module$contents$goog$html$SafeHtml_SafeHtml.concat(c),d+=">"+module$contents$goo
g$html$SafeHtml_SafeHtml.unwrap(b)+"</"+a+">");return
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAcces
sOrElse(d)};
module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes=function(a,b){var
c="";if(b)for(var d in b)if(Object.prototype.hasOwnProperty.call(b,d)){if(!
module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(d))throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid
attribute name "'+d+'".':"");var e=b[d];if(null!=e){var f=a;var g=d;if(e instanceof
goog.string.Const)e=goog.string.Const.unwrap(e);else
if("style"==g.toLowerCase())if(module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_
STYLE_ATTRIBUTE){if(!goog.isObject(e))throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?
'The "style" attribute requires goog.html.SafeStyle or map of style properties,
'+typeof e+" given: "+e:"");e instanceof
module$contents$goog$html$SafeStyle_SafeStyle||
(e=module$contents$goog$html$SafeStyle_SafeStyle.create(e));e=module$contents$goog$
html$SafeStyle_SafeStyle.unwrap(e)}else throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute
"style" not supported.':"");else{if(/^on/i.test(g))throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?
'Attribute "'+g+'" requires goog.string.Const value, "'+e+'"
given.':"");if(g.toLowerCase()in
module$contents$goog$html$SafeHtml_URL_ATTRIBUTES)if(e instanceof
goog.html.TrustedResourceUrl)e=goog.html.TrustedResourceUrl.unwrap(e);else if(e
instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
)e=module$contents$google3$third_party$javascript$safevalues$internals$url_impl_unw
rapUrl(e);else if("string"===typeof
e)e=module$contents$google3$third_party$javascript$safevalues$builders$url_builders
_sanitizeUrl(e).toString();
else throw
Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute
"'+g+'" on tag "'+f+'" requires safevalues.SafeUrl, goog.string.Const, or string,
value "'+e+'" given.':"");}goog.asserts.assert(e instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
||e instanceof goog.html.TrustedResourceUrl||e instanceof
module$contents$goog$html$SafeStyle_SafeStyle||e instanceof
module$contents$goog$html$SafeHtml_SafeHtml||"string"===typeof e||
"number"===typeof e,"String or number value expected, got "+typeof e+" with value:
"+e);g=g+'="'+goog.string.internal.htmlEscape(String(e))+'"';c+=" "+g}}return c};
module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes=function(a,b,c){var
d={};for(g in
a)Object.prototype.hasOwnProperty.call(a,g)&&(goog.asserts.assert(g.toLowerCase()==
g,"Must be lower case"),d[g]=a[g]);for(var e in
b)Object.prototype.hasOwnProperty.call(b,e)&&(goog.asserts.assert(e.toLowerCase()==
e,"Must be lower case"),d[e]=b[e]);if(c)for(var f in
c)if(Object.prototype.hasOwnProperty.call(c,f)){var g=f.toLowerCase();if(g in
a)throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?
'Cannot override "'+g+'" attribute, got "'+f+'" with value "'+c[f]+'"':"");g in
b&&delete d[g];d[f]=c[f]}return
d};module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG;mod
ule$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!
0;module$contents$goog$html$SafeHtml_SafeHtml.from=module$contents$goog$html$SafeHt
ml_SafeHtml.htmlEscape;
var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG=/^[a-zA-Z0-9-]+
$/,module$contents$goog$html$SafeHtml_URL_ATTRIBUTES={action:!0,cite:!0,data:!
0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!
0},module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES=module$contents$goog$ob
ject_createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED
,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagNa
me.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT,
goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE);module$conte
nts$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML=module$contents$goog$html$SafeHtml_Saf
eHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE
html>");module$contents$goog$html$SafeHtml_SafeHtml.EMPTY=new
module$contents$goog$html$SafeHtml_SafeHtml(goog.global.trustedTypes&&goog.global.t
rustedTypes.emptyHTML||"",module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIV
ATE);
module$contents$goog$html$SafeHtml_SafeHtml.BR=module$contents$goog$html$SafeHtml_S
afeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");goog.html.SafeHtml=m
odule$contents$goog$html$SafeHtml_SafeHtml;var safevalues={for_friends:
{}};safevalues.for_friends.IS_NOT_JAVASCRIPT_URL_PATTERN=module$exports$google3$thi
rd_party$javascript$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN;
safevalues.for_friends.unwrapUrlOrSanitize=module$contents$google3$third_party$java
script$safevalues$builders$url_builders_unwrapUrlOrSanitize;var
module$exports$google3$third_party$javascript$safevalues$builders$sensitive_attribu
tes={SECURITY_SENSITIVE_ATTRIBUTES:"src srcdoc codebase data href rel action
formaction sandbox cite poster icon".split(" ")};var
module$exports$google3$third_party$javascript$safevalues$internals$attribute_impl={
SafeAttributePrefix:function(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$se
crets_ensureTokenIsValid(a);this.privateDoNotAccessOrElseWrappedAttributePrefix=b}}
;module$exports$google3$third_party$javascript$safevalues$internals$attribute_impl.
SafeAttributePrefix.prototype.toString=function(){return
this.privateDoNotAccessOrElseWrappedAttributePrefix};
function
module$contents$google3$third_party$javascript$safevalues$internals$attribute_impl_
createAttributePrefixInternal(a){return new
module$exports$google3$third_party$javascript$safevalues$internals$attribute_impl.S
afeAttributePrefix(module$exports$google3$third_party$javascript$safevalues$interna
ls$secrets.secretToken,a)}module$exports$google3$third_party$javascript$safevalues$
internals$attribute_impl.createAttributePrefixInternal=module$contents$google3$thir
d_party$javascript$safevalues$internals$attribute_impl_createAttributePrefixInterna
l;
function
module$contents$google3$third_party$javascript$safevalues$internals$attribute_impl_
isAttributePrefix(a){return a instanceof
module$exports$google3$third_party$javascript$safevalues$internals$attribute_impl.S
afeAttributePrefix}module$exports$google3$third_party$javascript$safevalues$interna
ls$attribute_impl.isAttributePrefix=module$contents$google3$third_party$javascript$
safevalues$internals$attribute_impl_isAttributePrefix;
function
module$contents$google3$third_party$javascript$safevalues$internals$attribute_impl_
unwrapAttributePrefix(a)
{if(module$contents$google3$third_party$javascript$safevalues$internals$attribute_i
mpl_isAttributePrefix(a))return
a.privateDoNotAccessOrElseWrappedAttributePrefix;var
b="";goog.DEBUG&&(b="Unexpected type when unwrapping SafeAttributePrefix, got
'"+a+"' of type '"+typeof a+"'");throw Error(b);}
module$exports$google3$third_party$javascript$safevalues$internals$attribute_impl.u
nwrapAttributePrefix=module$contents$google3$third_party$javascript$safevalues$inte
rnals$attribute_impl_unwrapAttributePrefix;function
module$contents$google3$third_party$javascript$safevalues$builders$attribute_builde
rs_safeAttrPrefix(a)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$st
ring_literal_assertIsTemplateObject(a,0);var b=a[0].toLowerCase();if(goog.DEBUG)
{if(0===b.indexOf("on")||0==="on".indexOf(b))throw Error("Prefix '"+a[0]+"' does
not guarantee the attribute to be safe as it is also a prefix for event handler
attributesPlease use 'addEventListener' to set event handlers.");
module$exports$google3$third_party$javascript$safevalues$builders$sensitive_attribu
tes.SECURITY_SENSITIVE_ATTRIBUTES.forEach(function(c){if(0===c.indexOf(b))throw
Error("Prefix '"+a[0]+"' does not guarantee the attribute to be safe as it is also
a prefix for the security sensitive attribute '"+(c+"'. Please use native or safe
DOM APIs to set the attribute."));})}return
module$contents$google3$third_party$javascript$safevalues$internals$attribute_impl_
createAttributePrefixInternal(b)};var
module$exports$goog$html$safehtml_internals_for_safevalues={};module$exports$goog$h
tml$safehtml_internals_for_safevalues.createSafeHtml=module$contents$goog$html$Safe
Html_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;var
module$exports$google3$third_party$javascript$safevalues$internals$html_impl={};mod
ule$exports$google3$third_party$javascript$safevalues$internals$html_impl.SafeHtml=
module$contents$goog$html$SafeHtml_SafeHtml;function
module$contents$google3$third_party$javascript$safevalues$internals$html_impl_creat
eHtmlInternal(a)
{return(0,module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml
)(a)}
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.create
HtmlInternal=module$contents$google3$third_party$javascript$safevalues$internals$ht
ml_impl_createHtmlInternal;module$exports$google3$third_party$javascript$safevalues
$internals$html_impl.EMPTY_HTML=module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;f
unction
module$contents$google3$third_party$javascript$safevalues$internals$html_impl_isHtm
l(a){return a instanceof module$contents$goog$html$SafeHtml_SafeHtml}
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.isHtml
=module$contents$google3$third_party$javascript$safevalues$internals$html_impl_isHt
ml;function
module$contents$google3$third_party$javascript$safevalues$internals$html_impl_unwra
pHtml(a){return
module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(a)}module$exports$goo
gle3$third_party$javascript$safevalues$internals$html_impl.unwrapHtml=module$conten
ts$google3$third_party$javascript$safevalues$internals$html_impl_unwrapHtml;functio
n
module$contents$google3$third_party$javascript$safevalues$builders$document_fragmen
t_builders_htmlFragment(a)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$st
ring_literal_assertIsTemplateObject(a,0);var b=document.createRange();return
b.createContextualFragment((0,module$exports$google3$third_party$javascript$safeval
ues$internals$html_impl.unwrapHtml)
((0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cr
eateHtmlInternal)(a[0])))}
function
module$contents$google3$third_party$javascript$safevalues$builders$document_fragmen
t_builders_svgFragment(a)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$st
ring_literal_assertIsTemplateObject(a,0);var
b=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=document.createRan
ge();c.selectNodeContents(b);return
c.createContextualFragment((0,module$exports$google3$third_party$javascript$safeval
ues$internals$html_impl.unwrapHtml)
((0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cr
eateHtmlInternal)(a[0])))}
function
module$contents$google3$third_party$javascript$safevalues$builders$document_fragmen
t_builders_htmlToNode(a){var
b=document.createRange();a=b.createContextualFragment((0,module$exports$google3$thi
rd_party$javascript$safevalues$internals$html_impl.unwrapHtml)(a));return
1===a.childNodes.length?a.childNodes[0]:a};var
module$exports$goog$html$safestylesheet_internals_for_safevalues={};module$exports$
goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet=module$conte
nts$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNo
tAccessOrElse;function
module$contents$google3$third_party$javascript$safevalues$internals$style_sheet_imp
l_isStyleSheet(a){return a instanceof
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet}function
module$contents$google3$third_party$javascript$safevalues$internals$style_sheet_imp
l_unwrapStyleSheet(a){return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(a)};function
module$contents$google3$third_party$javascript$safevalues$builders$style_sheet_buil
ders_safeStyleRule(a){var
b=$jscomp.getRestArguments.apply(1,arguments);goog.DEBUG&&module$contents$google3$t
hird_party$javascript$safevalues$internals$string_literal_assertIsTemplateObject(a,
b.length);for(var c=a[0],d=0;d<a.length-1;d+
+)c+=String(b[d]),c+=a[d+1];b=document.implementation.createHTMLDocument("");d=b.cr
eateElement("style");b.head.appendChild(d);b=d.sheet;b.insertRule(c,0);if(1!
==b.cssRules.length){if(goog.DEBUG)throw Error("safeStyleRule can be used to
construct only 1 CSSStyleRule at a time. Use the concatStyle function to create
sheet with several rules. Tried to parse: "+
c+("which has "+b.cssRules.length+" rules: "+b.cssRules[0].cssText+" #$%
"+b.cssRules[1].cssText+"."));}else{b=b.cssRules[0];if(b instanceof
CSSStyleRule)return c=b.cssText,
(0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyle
Sheet)(c.replace(/</g,"\\3C "));if(goog.DEBUG)throw Error("safeStyleRule can be
used to construct a CSSStyleRule. @-rules should be constructed with the
safeStyleSheet builder. Tried to parse: "+c);}}
function
module$contents$google3$third_party$javascript$safevalues$builders$style_sheet_buil
ders_safeStyleSheet(a)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$st
ring_literal_assertIsTemplateObject(a,0);a=a[0];if(goog.DEBUG&&/</.test(a))throw
Error("'<' character is forbidden in styleSheet string:
"+a);return(0,module$exports$goog$html$safestylesheet_internals_for_safevalues.crea
teSafeStyleSheet)(a)}
function
module$contents$google3$third_party$javascript$safevalues$builders$style_sheet_buil
ders_concatStyleSheets(a)
{return(0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSa
feStyleSheet)
(a.map(module$contents$google3$third_party$javascript$safevalues$internals$style_sh
eet_impl_unwrapStyleSheet).join(""))};var
module$exports$google3$third_party$javascript$safevalues$internals$script_impl={},m
odule$contents$google3$third_party$javascript$safevalues$internals$script_impl_trus
tedTypes=goog.global.trustedTypes;module$exports$google3$third_party$javascript$saf
evalues$internals$script_impl.SafeScript=function(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$internals$se
crets_ensureTokenIsValid(a);this.privateDoNotAccessOrElseWrappedScript=b};
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.Safe
Script.prototype.toString=function(){return
this.privateDoNotAccessOrElseWrappedScript.toString()};
function
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(a){var
b=(0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();return new
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.Safe
Script(module$exports$google3$third_party$javascript$safevalues$internals$secrets.s
ecretToken,b?
b.createScript(a):a)}module$exports$google3$third_party$javascript$safevalues$inter
nals$script_impl.createScriptInternal=module$contents$google3$third_party$javascrip
t$safevalues$internals$script_impl_createScriptInternal;
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.EMPT
Y_SCRIPT=module$contents$google3$third_party$javascript$safevalues$internals$pure_p
ure(function(){return new
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.Safe
Script(module$exports$google3$third_party$javascript$safevalues$internals$secrets.s
ecretToken,module$contents$google3$third_party$javascript$safevalues$internals$scri
pt_impl_trustedTypes?
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_tru
stedTypes.emptyScript:
"")});function
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_isS
cript(a){return a instanceof
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.Safe
Script}module$exports$google3$third_party$javascript$safevalues$internals$script_im
pl.isScript=module$contents$google3$third_party$javascript$safevalues$internals$scr
ipt_impl_isScript;
function
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_unw
rapScript(a)
{if(module$contents$google3$third_party$javascript$safevalues$internals$script_impl
_isScript(a))return
a.privateDoNotAccessOrElseWrappedScript;a="";goog.DEBUG&&(a="Unexpected type when
unwrapping SafeScript");throw
Error(a);}module$exports$google3$third_party$javascript$safevalues$internals$script
_impl.unwrapScript=module$contents$google3$third_party$javascript$safevalues$intern
als$script_impl_unwrapScript;var
module$exports$goog$html$safestyle_internals_for_safevalues={};module$exports$goog$
html$safestyle_internals_for_safevalues.createSafeStyle=module$contents$goog$html$S
afeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;function
module$contents$google3$third_party$javascript$safevalues$internals$style_impl_isSt
yle(a){return a instanceof module$contents$goog$html$SafeStyle_SafeStyle}function
module$contents$google3$third_party$javascript$safevalues$internals$style_impl_unwr
apStyle(a){return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(a)};var
module$exports$google3$third_party$javascript$safevalues$builders$html_builders={};
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_ht
mlEscape(a,b){b=void 0===b?
{}:b;if((0,module$exports$google3$third_party$javascript$safevalues$internals$html_
impl.isHtml)(a))return
a;a=module$contents$google3$third_party$javascript$safevalues$builders$html_builder
s_htmlEscapeToString(String(a));b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ])
/g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserv
eTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));
return(0,module$exports$google3$third_party$javascript$safevalues$internals$html_im
pl.createHtmlInternal)
(a)}module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.htmlEscape=module$contents$google3$third_party$javascript$safevalues$builders$html
_builders_htmlEscape;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_sc
riptToHtml(a,b){b=void 0===b?
{}:b;a=module$contents$google3$third_party$javascript$safevalues$internals$script_i
mpl_unwrapScript(a).toString();var c="<script";b.id&&(c+='
id="'+module$contents$google3$third_party$javascript$safevalues$builders$html_build
ers_htmlEscapeToString(b.id)+'"');b.nonce&&(c+='
nonce="'+module$contents$google3$third_party$javascript$safevalues$builders$html_bu
ilders_htmlEscapeToString(b.nonce)+
'"');b.type&&(c+='
type="'+module$contents$google3$third_party$javascript$safevalues$builders$html_bui
lders_htmlEscapeToString(b.type)+'"');b.defer&&(c+="
defer");c+=">"+a+"\x3c/script>";return(0,module$exports$google3$third_party$javascr
ipt$safevalues$internals$html_impl.createHtmlInternal)
(c)}module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.scriptToHtml=module$contents$google3$third_party$javascript$safevalues$builders$ht
ml_builders_scriptToHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_sc
riptUrlToHtml(a,b){b=void 0===b?
{}:b;a=module$contents$google3$third_party$javascript$safevalues$internals$resource
_url_impl_unwrapResourceUrl(a).toString();a='<script
src="'+module$contents$google3$third_party$javascript$safevalues$builders$html_buil
ders_htmlEscapeToString(a)+'"';b.async&&(a+=" async");b.customElement&&(a+='
custom-
element="'+module$contents$google3$third_party$javascript$safevalues$builders$html_
builders_htmlEscapeToString(b.customElement)+
'"');b.defer&&(a+=" defer");b.id&&(a+='
id="'+module$contents$google3$third_party$javascript$safevalues$builders$html_build
ers_htmlEscapeToString(b.id)+'"');b.nonce&&(a+='
nonce="'+module$contents$google3$third_party$javascript$safevalues$builders$html_bu
ilders_htmlEscapeToString(b.nonce)+'"');b.type&&(a+='
type="'+module$contents$google3$third_party$javascript$safevalues$builders$html_bui
lders_htmlEscapeToString(b.type)+'"');b.crossorigin&&(a+='
crossorigin="'+module$contents$google3$third_party$javascript$safevalues$builders$h
tml_builders_htmlEscapeToString(b.crossorigin)+
'"');a+=">\x3c/
script>";return(0,module$exports$google3$third_party$javascript$safevalues$internal
s$html_impl.createHtmlInternal)
(a)}module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.scriptUrlToHtml=module$contents$google3$third_party$javascript$safevalues$builders
$html_builders_scriptUrlToHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_ht
mlEscapeToString(a){return
a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/
g,"&quot;").replace(/'/g,"&apos;")}function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_co
ncatHtmls(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_jo
inHtmls("",a)}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.con
catHtmls=module$contents$google3$third_party$javascript$safevalues$builders$html_bu
ilders_concatHtmls;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_jo
inHtmls(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$builders$html_builders
_htmlEscape(a);return(0,module$exports$google3$third_party$javascript$safevalues$in
ternals$html_impl.createHtmlInternal)(b.map(function(c)
{return(0,module$exports$google3$third_party$javascript$safevalues$internals$html_i
mpl.unwrapHtml)
(module$contents$google3$third_party$javascript$safevalues$builders$html_builders_h
tmlEscape(c))}).join((0,module$exports$google3$third_party$javascript$safevalues$in
ternals$html_impl.unwrapHtml)(a).toString()))}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.joi
nHtmls=module$contents$google3$third_party$javascript$safevalues$builders$html_buil
ders_joinHtmls;function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_do
ctypeHtml()
{return(0,module$exports$google3$third_party$javascript$safevalues$internals$html_i
mpl.createHtmlInternal)("<!DOCTYPE html>")}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.doc
typeHtml=module$contents$google3$third_party$javascript$safevalues$builders$html_bu
ilders_doctypeHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_no
deToHtmlInternal(a,b){b.appendChild(a);a=(new
XMLSerializer).serializeToString(b);a=a.slice(a.indexOf(">")
+1,a.lastIndexOf("</"));return(0,module$exports$google3$third_party$javascript$safe
values$internals$html_impl.createHtmlInternal)
(a)}module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.nodeToHtmlInternal=module$contents$google3$third_party$javascript$safevalues$build
ers$html_builders_nodeToHtmlInternal;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_no
deToHtml(a){var b=document.createElement("span");return
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_no
deToHtmlInternal(a,b)}module$exports$google3$third_party$javascript$safevalues$buil
ders$html_builders.nodeToHtml=module$contents$google3$third_party$javascript$safeva
lues$builders$html_builders_nodeToHtml;
var
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_VA
LID_TAG_OR_ATTRIBUTE_NAMES=/^[a-z][a-z\d-]*$/
i,module$contents$google3$third_party$javascript$safevalues$builders$html_builders_
DISALLOWED_TAG_NAMES="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE
SVG TEMPLATE".split("
");module$exports$google3$third_party$javascript$safevalues$builders$html_builders.
VOID_TAG_NAMES="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK
WBR".split(" ");
var
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_UR
L_ATTRIBUTES=["action","formaction","href"];
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_ve
rifyTagName(a){if(!
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_VA
LID_TAG_OR_ATTRIBUTE_NAMES.test(a))throw Error(goog.DEBUG?"Invalid tag name
<"+a+">.":"");if(-1!
==module$contents$google3$third_party$javascript$safevalues$builders$html_builders_
DISALLOWED_TAG_NAMES.indexOf(a.toUpperCase()))throw Error(goog.DEBUG?"Tag name
<"+a+"> is not allowed for createHtml.":"");}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.ver
ifyTagName=module$contents$google3$third_party$javascript$safevalues$builders$html_
builders_verifyTagName;function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_is
VoidTag(a){return-1!
==module$exports$google3$third_party$javascript$safevalues$builders$html_builders.V
OID_TAG_NAMES.indexOf(a.toUpperCase())}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.isV
oidTag=module$contents$google3$third_party$javascript$safevalues$builders$html_buil
ders_isVoidTag;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_cr
eateHtml(a,b,c)
{module$contents$google3$third_party$javascript$safevalues$builders$html_builders_v
erifyTagName(a);var
d="<"+a;b&&(d+=module$contents$google3$third_party$javascript$safevalues$builders$h
tml_builders_stringifyAttributes(a,b));Array.isArray(c)||(c=void 0===c?[]:
[c]);if(module$contents$google3$third_party$javascript$safevalues$builders$html_bui
lders_isVoidTag(a)){if(goog.DEBUG&&0<c.length)throw Error("Void tag <"+
a+"> does not allow content.");d+=">"}else
b=module$contents$google3$third_party$javascript$safevalues$builders$html_builders_
concatHtmls(c.map(function(e)
{return(0,module$exports$google3$third_party$javascript$safevalues$internals$html_i
mpl.isHtml)(e)?
e:module$contents$google3$third_party$javascript$safevalues$builders$html_builders_
htmlEscape(String(e))})),d+=">"+b.toString()
+"</"+a+">";return(0,module$exports$google3$third_party$javascript$safevalues$inter
nals$html_impl.createHtmlInternal)(d)}
module$exports$google3$third_party$javascript$safevalues$builders$html_builders.cre
ateHtml=module$contents$google3$third_party$javascript$safevalues$builders$html_bui
lders_createHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_st
yleSheetToHtml(a,b){var c={};if(b)for(var d=Object.keys(b),e=0;e<d.length;e++){var
f=d[e];if("type"===f.toLowerCase())throw Error(goog.DEBUG?"Cannot override the
'type' attribute with value
"+b[f]+".":"");c[f]=b[f]}c.type="text/css";b=module$contents$google3$third_party$ja
vascript$safevalues$builders$html_builders_stringifyAttributes("style",c);Array.isA
rray(a)&&(a=module$contents$google3$third_party$javascript$safevalues$builders$styl
e_sheet_builders_concatStyleSheets(a));
a=module$contents$google3$third_party$javascript$safevalues$internals$style_sheet_i
mpl_unwrapStyleSheet(a);return(0,module$exports$google3$third_party$javascript$safe
values$internals$html_impl.createHtmlInternal)("<style
"+b+">"+a+"</style>")}module$exports$google3$third_party$javascript$safevalues$buil
ders$html_builders.styleSheetToHtml=module$contents$google3$third_party$javascript$
safevalues$builders$html_builders_styleSheetToHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_st
ringifyAttributes(a,b){var c="";a=Object.keys(b);for(var d=0;d<a.length;d++){var
e=a[d],f=b[e];if(!
module$contents$google3$third_party$javascript$safevalues$builders$html_builders_VA
LID_TAG_OR_ATTRIBUTE_NAMES.test(e))throw Error(goog.DEBUG?'Invalid attribute name
"'+e+'".':"");if(void 0!==f&&null!==f){if(/^on/i.test(e))throw
Error(goog.DEBUG?'Attribute "'+e+" is forbidden. Inline event handlers can lead to
XSS. Please use the 'addEventListener' API instead.":
"");-1!
==module$contents$google3$third_party$javascript$safevalues$builders$html_builders_
URL_ATTRIBUTES.indexOf(e.toLowerCase())&&(f=module$contents$google3$third_party$jav
ascript$safevalues$internals$url_impl_isUrl(f)?
f.toString():module$contents$google3$third_party$javascript$safevalues$builders$url
_builders_sanitizeJavaScriptUrl(String(f))||"about:invalid#zClosurez");if(goog.DEBU
G&&!
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_isUrl(
f)&&!
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.isH
tml)(f)&&
!
module$contents$google3$third_party$javascript$safevalues$internals$style_impl_isSt
yle(f)&&"string"!==typeof f&&"number"!==typeof f)throw Error("String or number
value expected, got "+typeof f+" with value '"+f+"'
given.");f=e+'="'+module$contents$google3$third_party$javascript$safevalues$builder
s$html_builders_htmlEscape(String(f))+'"';c+=" "+f}}return
c}module$exports$google3$third_party$javascript$safevalues$builders$html_builders.s
tringifyAttributes=module$contents$google3$third_party$javascript$safevalues$builde
rs$html_builders_stringifyAttributes;var
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter={H
tmlFormatter:function(){this.replacements=new Map}};
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter.prototype.format=function(a){var
b=this,c=[],d=(0,module$exports$google3$third_party$javascript$safevalues$builders$
html_builders.htmlEscape)
("_safevalues_format_marker_:").toString();a=(0,module$exports$google3$third_party$
javascript$safevalues$builders$html_builders.htmlEscape)(a).toString().replace(new
RegExp("\\{"+d+"[\\w&#;]+\\}","g"),function(e){return
b.replaceFormattingString(c,e)});if(0!==c.length){if(goog.DEBUG)throw
Error("Expected no unclosed tags, got <"+
c.join(">, <")+">.");throw
Error();}return(0,module$exports$google3$third_party$javascript$safevalues$internal
s$html_impl.createHtmlInternal)(a)};
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter.prototype.replaceFormattingString=function(a,b){var
c=this.replacements.get(b);if(!c)return b;b="";switch(c.type){case
"html":b=c.html;break;case
"startTag":b="<"+c.tagName+c.attributes+">";goog.DEBUG&&((0,module$exports$google3$
third_party$javascript$safevalues$builders$html_builders.isVoidTag)
(c.tagName.toLowerCase())||a.push(c.tagName.toLowerCase()));break;case
"endTag":b="</"+c.tagName+">";if(goog.DEBUG&&
(a=a.pop(),a!==c.tagName.toLowerCase()))throw Error("Expected </"+a+">, got
</"+c.tagName+">.");break;default:if(goog.DEBUG)throw a="type had an unknown
value",a=void 0===a?"unexpected value "+c+"!":a,Error(a);}return b};
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter.prototype.startTag=function(a,b)
{(0,module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.verifyTagName)(a);return
this.storeReplacement({type:"startTag",tagName:a,attributes:void 0!==b?
(0,module$exports$google3$third_party$javascript$safevalues$builders$html_builders.
stringifyAttributes)(a,b):""})};
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter.prototype.endTag=function(a)
{(0,module$exports$google3$third_party$javascript$safevalues$builders$html_builders
.verifyTagName)(a);return
this.storeReplacement({type:"endTag",tagName:a})};module$exports$google3$third_part
y$javascript$safevalues$builders$html_formatter.HtmlFormatter.prototype.text=functi
on(a){return this.storeReplacement({type:"html",html:
(0,module$exports$google3$third_party$javascript$safevalues$builders$html_builders.
htmlEscape)(a).toString()})};
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter.prototype.storeReplacement=function(a){var
b="{_safevalues_format_marker_:"+this.replacements.size+"_"+Math.random().toString(
36).slice(2)+"}";this.replacements.set((0,module$exports$google3$third_party$javasc
ript$safevalues$builders$html_builders.htmlEscape)(b).toString(),a);return b};var
module$exports$google3$third_party$javascript$safevalues$dom$globals$range={};funct
ion
module$contents$google3$third_party$javascript$safevalues$dom$globals$range_createC
ontextualFragment(a,b){return
a.createContextualFragment((0,module$exports$google3$third_party$javascript$safeval
ues$internals$html_impl.unwrapHtml)
(b))}module$exports$google3$third_party$javascript$safevalues$dom$globals$range.cre
ateContextualFragment=module$contents$google3$third_party$javascript$safevalues$dom
$globals$range_createContextualFragment;function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$i
nert_fragment_createInertFragment(a,b){if(goog.DEBUG&&b.defaultView)throw
Error("createInertFragment called with non-inert document");var
c=b.createRange();c.selectNode(b.body);a=(0,module$exports$google3$third_party$java
script$safevalues$internals$html_impl.createHtmlInternal)
(a);return(0,module$exports$google3$third_party$javascript$safevalues$dom$globals$r
ange.createContextualFragment)(c,a)};function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$n
o_clobber_getNodeName(a){a=a.nodeName;return"string"===typeof a?a:"FORM"}function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$n
o_clobber_isElement(a){a=a.nodeType;return 1===a||"number"!==typeof a};var
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table={SanitizerTable:function(a,b,c,d,e)
{this.allowedElements=a;this.elementPolicies=b;this.allowedGlobalAttributes=c;this.
globalAttributePolicies=d;this.globallyAllowedAttributePrefixes=e}};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.SanitizerTable.prototype.isAllowedElement=function(a)
{return"FORM"!==a&&(this.allowedElements.has(a)||this.elementPolicies.has(a))};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.SanitizerTable.prototype.getAttributePolicy=function(
a,b){b=this.elementPolicies.get(b);var c;return(null==(c=b)?0:c.has(a))?
b.get(a):this.allowedGlobalAttributes.has(a)?
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}:
(c=this.globalAttributePolicies.get(a))?c:this.globallyAllowedAttributePrefixes&&
[].concat($jscomp.arrayFromIterable(this.globallyAllowedAttributePrefixes)).some(fu
nction(d){return 0===a.indexOf(d)})?
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}:
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP}};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction={DROP:0,KEEP:1,KEEP_AND_SANITIZ
E_URL:2,KEEP_AND_NORMALIZE:3,KEEP_AND_SANITIZE_STYLE:4};module$exports$google3$thir
d_party$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tab
le.AttributePolicyAction[module$exports$google3$third_party$javascript$safevalues$b
uilders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP]=
"DROP";
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction[module$exports$google3$third_pa
rty$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.A
ttributePolicyAction.KEEP]="KEEP";
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction[module$exports$google3$third_pa
rty$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.A
ttributePolicyAction.KEEP_AND_SANITIZE_URL]="KEEP_AND_SANITIZE_URL";
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction[module$exports$google3$third_pa
rty$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.A
ttributePolicyAction.KEEP_AND_NORMALIZE]="KEEP_AND_NORMALIZE";
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction[module$exports$google3$third_pa
rty$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.A
ttributePolicyAction.KEEP_AND_SANITIZE_STYLE]="KEEP_AND_SANITIZE_STYLE";function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$sanitizer_table_AttributePolicy(){}
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicy=module$contents$google3$third_party$j
avascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_Attrib
utePolicy;var
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES=new Set("ANNOTATION-
XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-
NAME MISSING-GLYPH".split(" "));
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$sanitizer_table_isCustomElement(a){return!
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES.has(a.toUpperCase())&
&/^[a-z][-_.a-z0-9]*-[-_.a-z0-9]*$/
i.test(a)}module$exports$google3$third_party$javascript$safevalues$builders$html_sa
nitizer$sanitizer_table$sanitizer_table.isCustomElement=module$contents$google3$thi
rd_party$javascript$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_ta
ble_isCustomElement;var
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$default_sanitizer_table={},module$contents$google3$third_party$javasc
ript$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALL
OWED_ELEMENTS="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P
HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S
CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK
BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL
TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER
FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM
BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_ELEMENT_POLICIES=[["A",new Map([["href",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE
_URL}]])],["AREA",new Map([["href",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE
_URL}]])],
["LINK",new Map([["href",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE
_URL,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite
help icon license next prefetch dns-prefetch prerender preconnect preload prev
search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}],
["srcset",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])],
["IMG",new Map([["src",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}],["srcset",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])],
["VIDEO",new Map([["src",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])],
["AUDIO",new Map([["src",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])]],module
$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$sanitiz
er_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES=
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-
disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-
label aria-level aria-live aria-multiline aria-multiselectable aria-orientation
aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected
aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt
align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border
cellpadding cellspacing checked color cols colspan controls datetime disabled
download draggable enctype face formenctype frameborder height hreflang hidden
ismap label lang loop max maxlength media minlength min multiple muted nonce open
placeholder preload rel required reversed role rows rowspan selected shape size
sizes slot span spellcheck start step summary translate type valign value width
wrap itemscope itemtype itemid itemprop itemref".split(" "),
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES=[["dir",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZ
E,conditions:module$contents$google3$third_party$javascript$safevalues$internals$pu
re_pure(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],
["async",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZ
E,
conditions:module$contents$google3$third_party$javascript$safevalues$internals$pure
_pure(function(){return new Map([["async",new Set(["async"])]])})}],["cite",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE
_URL}],["loading",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZ
E,
conditions:module$contents$google3$third_party$javascript$safevalues$internals$pure
_pure(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],
["poster",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE
_URL}],["target",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZ
E,
conditions:module$contents$google3$third_party$javascript$safevalues$internals$pure
_pure(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]];
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$default_sanitizer_table.defaultSanitizerTable=new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.SanitizerTable(new
Set(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS),new
Map(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
new
Set(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES),new
Map(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$default_sanitizer_table.lenientSanitizerTable=new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.SanitizerTable(new
Set(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON","INPUT
"])),new
Map(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
new
Set(module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(f
unction(){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class","i
d","name"])})),new
Map(module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(f
unction(){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])})));
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$default_sanitizer_table.superLenientSanitizerTable=new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.SanitizerTable(new
Set(module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(f
unction(){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT
TEXTAREA BUTTON LABEL".split(" "))})),new
Map(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitiz
er$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
new
Set(module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(f
unction(){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class","i
d","tabindex","contenteditable","name"])})),new
Map(module$contents$google3$third_party$javascript$safevalues$internals$pure_pure(f
unction(){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$s
anitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style",
{policyAction:module$exports$google3$third_party$javascript$safevalues$builders$htm
l_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])})),new
Set(["data-","aria-"]));var
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer={};function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_HtmlSanitizer()
{}module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$
html_sanitizer.HtmlSanitizer=module$contents$google3$third_party$javascript$safeval
ues$builders$html_sanitizer$html_sanitizer_HtmlSanitizer;
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl=function(a,b)
{this.sanitizerTable=a;this.changes=[];module$contents$google3$third_party$javascri
pt$safevalues$internals$secrets_ensureTokenIsValid(b)};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.sanitizeAssertUnchanged=function(a)
{goog.DEBUG&&(this.changes=[]);var b=this.sanitize(a);if(goog.DEBUG&&0!
==this.changes.length)throw Error('Unexpected change to HTML value as a result of
sanitization. Input: "'+(a+'", sanitized output: "'+b+'"\nList of changes:')
+this.changes.join("\n"));return b};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.sanitize=function(a){var
b=document.implementation.createHTMLDocument("");return(0,module$exports$google3$th
ird_party$javascript$safevalues$builders$html_builders.nodeToHtmlInternal)
(this.sanitizeToFragmentInternal(a,b),b.body)};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragment=function(a){var
b=document.implementation.createHTMLDocument("");return
this.sanitizeToFragmentInternal(a,b)};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal=function(a,b)
{var
c=this;a=module$contents$google3$third_party$javascript$safevalues$builders$html_sa
nitizer$inert_fragment_createInertFragment(a,b);a=document.createTreeWalker(a,5,fun
ction(h){return c.nodeFilter(h)},!1);for(var
d=a.nextNode(),e=b.createDocumentFragment(),f=e;null!==d;){var g=void
0;if(3===d.nodeType)g=this.sanitizeTextNode(d);else
if(module$contents$google3$third_party$javascript$safevalues$builders$html_sanitize
r$no_clobber_isElement(d))g=
this.sanitizeElementNode(d,b);else throw b="",goog.DEBUG&&(b="Node is not of type
text or element"),Error(b);f.appendChild(g);if(d=a.firstChild())f=g;else for(;!
(d=a.nextSibling())&&(d=a.parentNode());)f=f.parentNode}return
e};module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer
$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeTextNode=function(a){return
document.createTextNode(a.data)};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode=function(a,b){var
c=module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer
$no_clobber_getNodeName(a);b=b.createElement(c);a=a.attributes;for(var
d=$jscomp.makeIterator(a),e=d.next();!e.done;e=d.next()){var
f=e=e.value;e=f.name;f=f.value;var
g=this.sanitizerTable.getAttributePolicy(e,c);if(this.satisfiesAllConditions(g.cond
itions,
a))switch(g.policyAction){case
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction.KEEP:module$contents$google3$th
ird_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute
(b,e,f);break;case
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:g=module$
contents$google3$third_party$javascript$safevalues$builders$url_builders_restrictiv
elySanitizeUrl(f);
g!==f&&this.recordChange("Url in attribute "+e+' was modified during sanitization.
Original url:"'+f+'" was sanitized to:
"'+g+'"');module$contents$google3$third_party$javascript$safevalues$builders$html_s
anitizer$html_sanitizer_setAttribute(b,e,g);break;case
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:module$conte
nts$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitize
r_setAttribute(b,
e,f.toLowerCase());break;case
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE:module$
contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_san
itizer_setAttribute(b,e,f);break;case
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$sa
nitizer_table$sanitizer_table.AttributePolicyAction.DROP:this.recordChange("Attribu
te: "+e+" was dropped");
break;default:if(goog.DEBUG)throw c=g.policyAction,b="Unhandled
AttributePolicyAction case",b=void 0===b?"unexpected value "+c+"!":b,Error(b);}else
this.recordChange("Not all conditions satisfied for attribute: "+e+".")}return b};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.nodeFilter=function(a)
{if(3===a.nodeType)return 1;if(!
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$n
o_clobber_isElement(a))return 2;var
b=module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer
$no_clobber_getNodeName(a);if(null===b)return this.recordChange("Node name was null
for node: "+a),2;if(this.sanitizerTable.isAllowedElement(b))return 1;
this.recordChange("Element: "+b+" was dropped");return
2};module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer
$html_sanitizer.HtmlSanitizerImpl.prototype.recordChange=function(a)
{goog.DEBUG&&this.changes.push(a)};
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl.prototype.satisfiesAllConditions=function(a,b){if(!
a)return!0;a=$jscomp.makeIterator(a);for(var c=a.next();!c.done;c=a.next())
{c=c.value;var d=$jscomp.makeIterator(c);c=d.next().value;d=d.next().value;var
e=void 0;if((c=null==(e=b.getNamedItem(c))?void 0:e.value)&&!d.has(c))return!
1}return!0};
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_setAttribute(a,b,c){a.setAttribute(b,c)}
var
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_defaultHtmlSanitizer=module$contents$google3$third_party$javascript$s
afevalues$internals$pure_pure(function(){return new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl(module$exports$google3$third_party$javascript$safeva
lues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitiz
erTable,module$exports$google3$third_party$javascript$safevalues$internals$secrets.
secretToken)});
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_sanitizeHtml(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_defaultHtmlSanitizer.sanitize(a)}module$exports$google3$third_party$j
avascript$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtml=module$con
tents$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_saniti
zer_sanitizeHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_sanitizeHtmlAssertUnchanged(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_defaultHtmlSanitizer.sanitizeAssertUnchanged(a)}module$exports$google
3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer.sanitize
HtmlAssertUnchanged=module$contents$google3$third_party$javascript$safevalues$build
ers$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_sanitizeHtmlToFragment(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_defaultHtmlSanitizer.sanitizeToFragment(a)}module$exports$google3$thi
rd_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlT
oFragment=module$contents$google3$third_party$javascript$safevalues$builders$html_s
anitizer$html_sanitizer_sanitizeHtmlToFragment;
var
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_lenientHtmlSanitizer=module$contents$google3$third_party$javascript$s
afevalues$internals$pure_pure(function(){return new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl(module$exports$google3$third_party$javascript$safeva
lues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.lenientSanitiz
erTable,module$exports$google3$third_party$javascript$safevalues$internals$secrets.
secretToken)});
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_lenientlySanitizeHtml(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_lenientHtmlSanitizer.sanitize(a)}module$exports$google3$third_party$j
avascript$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml=m
odule$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer_lenientlySanitizeHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_lenientlySanitizeHtmlAssertUnchanged(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_lenientHtmlSanitizer.sanitizeAssertUnchanged(a)}module$exports$google
3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer.lenientl
ySanitizeHtmlAssertUnchanged=module$contents$google3$third_party$javascript$safeval
ues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
var
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_superLenientHtmlSanitizer=module$contents$google3$third_party$javascr
ipt$safevalues$internals$pure_pure(function(){return new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl(module$exports$google3$third_party$javascript$safeva
lues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.superLenientSa
nitizerTable,module$exports$google3$third_party$javascript$safevalues$internals$sec
rets.secretToken)});
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_superLenientlySanitizeHtml(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_superLenientHtmlSanitizer.sanitize(a)}module$exports$google3$third_pa
rty$javascript$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySani
tizeHtml=module$contents$google3$third_party$javascript$safevalues$builders$html_sa
nitizer$html_sanitizer_superLenientlySanitizeHtml;
function
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_superLenientlySanitizeHtmlAssertUnchanged(a){return
module$contents$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_superLenientHtmlSanitizer.sanitizeAssertUnchanged(a)}module$exports$g
oogle3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer.sup
erLenientlySanitizeHtmlAssertUnchanged=module$contents$google3$third_party$javascri
pt$safevalues$builders$html_sanitizer$html_sanitizer_superLenientlySanitizeHtmlAsse
rtUnchanged;var
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer_builder={HtmlSanitizerBuilder:function(){this.calledBuild=!
1;this.sanitizerTable=module$exports$google3$third_party$javascript$safevalues$buil
ders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable}}
;
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer_builder.HtmlSanitizerBuilder.prototype.build=function()
{if(this.calledBuild)throw Error("this sanitizer has already called
build");this.calledBuild=!0;return new
module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$ht
ml_sanitizer.HtmlSanitizerImpl(this.sanitizerTable,module$exports$google3$third_par
ty$javascript$safevalues$internals$secrets.secretToken)};function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_getUrlSegments(a){var
b=a.split(/\?|#/),c=/\?/.test(a)?"?"+b[1]:"";a=/#/.test(a)?"#"+(c?
b[2]:b[1]):"";return{path:b[0],params:c,hash:a}}
function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_trustedResourceUrl(a){var
b=$jscomp.getRestArguments.apply(1,arguments);goog.DEBUG&&module$contents$google3$t
hird_party$javascript$safevalues$internals$string_literal_assertIsTemplateObject(a,
b.length);if(0===b.length)return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a[0]);var
c=a[0].toLowerCase();if(goog.DEBUG){if(/^data:/.test(c))throw Error("Data URLs
cannot have expressions in the template literal input.");
if(/^https:\/\//.test(c)||/^\/\//.test(c)){var d=c.indexOf("//")+2;var
e=c.indexOf("/",d);if(e<=d)throw Error("Can't interpolate data in a url's origin,
Please make sure to fully specify the origin, terminated with
'/'.");d=c.substring(d,e);if(!/^[0-9a-z.:-]+$/i.test(d))throw Error("The origin
contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(d))throw
Error("Invalid port number.");if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("The
top-level domain must start with a letter.");d=!0}else d=
!1;if(d=!d){if(/^\//.test(c))if("/"===c||1<c.length&&"/"!==c[1]&&"\\"!==c[1])d=!
0;else throw Error("The path start in the url is invalid.");else d=!1;d=!
d}if(d=d&&!RegExp("^[^:\\s\\\\/]+/").test(c)){if(/^about:blank/.test(c))
{if("about:blank"!==c&&!/^about:blank#/.test(c))throw Error("The about url is
invalid.");c=!0}else c=!1;d=!c}if(d)throw Error("Trying to interpolate expressions
in an unsupported url format.");}c=a[0];for(d=0;d<b.length;d+
+)c+=encodeURIComponent(b[d])+a[d+1];return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(c)}
function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_appendParams(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$builders$resource_url_
builders_getUrlSegments(module$contents$google3$third_party$javascript$safevalues$i
nternals$resource_url_impl_unwrapResourceUrl(a).toString());var
c=a.params,d=c.length?"&":"?";b.forEach(function(e,f){e=e instanceof Array?e:
[e];for(var g=0;g<e.length;g++){var h=e[g];null!==h&&void 0!
==h&&(c+=d+encodeURIComponent(f)+
"="+encodeURIComponent(String(h)),d="&")}});return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a.path+c+a.hash)}var
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_BEFORE_FRAGMENT_REGEXP=/[^#]*/;
function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_replaceFragment(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$internals$resource_url
_impl_unwrapResourceUrl(a).toString();return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(module$contents$google3$third_party$javascript$safeval
ues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(a)[0]+"#"+b)}
function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_appendPathSegment(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$builders$resource_url_
builders_getUrlSegments(module$contents$google3$third_party$javascript$safevalues$i
nternals$resource_url_impl_unwrapResourceUrl(a).toString());var
c="/"===a.path.slice(-1)?"":"/";b=a.path+c+encodeURIComponent(b);return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(b+
a.params+a.hash)}function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_objectUrlFromScript(a)
{a=module$contents$google3$third_party$javascript$safevalues$internals$script_impl_
unwrapScript(a).toString();a=new Blob([a],{type:"text/javascript"});return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(URL.createObjectURL(a))}
function
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_toAbsoluteResourceUrl(a)
{a=module$contents$google3$third_party$javascript$safevalues$internals$resource_url
_impl_unwrapResourceUrl(a).toString();a=new URL(a,window.document.baseURI);return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a.toString())};function
module$contents$google3$third_party$javascript$safevalues$builders$script_builders_
safeScript(a){var b=$jscomp.getRestArguments.apply(1,arguments);if(goog.DEBUG)
{if(b.some(function(c){return""!==c}))throw Error("safeScript only allows empty
string expressions to enable inline
comments.");module$contents$google3$third_party$javascript$safevalues$internals$str
ing_literal_assertIsTemplateObject(a,b.length)}return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(a.join(""))}
function
module$contents$google3$third_party$javascript$safevalues$builders$script_builders_
concatScripts(a){return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(a.map(module$contents$google3$third_party$javascript$safevalues$i
nternals$script_impl_unwrapScript).join(""))}
function
module$contents$google3$third_party$javascript$safevalues$builders$script_builders_
valueAsScript(a){return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(JSON.stringify(a).replace(/</g,"\\u003C"))}
function
module$contents$google3$third_party$javascript$safevalues$builders$script_builders_
safeScriptWithArgs(a){var
b=$jscomp.getRestArguments.apply(1,arguments);if(goog.DEBUG){if(b.some(function(c)
{return""!==c}))throw Error("safeScriptWithArgs only allows empty string
expressions to enable inline
comments.");module$contents$google3$third_party$javascript$safevalues$internals$str
ing_literal_assertIsTemplateObject(a,b.length)}return function(){var
c=$jscomp.getRestArguments.apply(0,arguments);c=
c.map(function(d){return
module$contents$google3$third_party$javascript$safevalues$builders$script_builders_
valueAsScript(d).toString()});return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal("("+a.join("")+")("+c.join(",")+")")}};function
module$contents$google3$third_party$javascript$safevalues$builders$style_builders_s
afeStyle(a){var
b=$jscomp.getRestArguments.apply(1,arguments);goog.DEBUG&&module$contents$google3$t
hird_party$javascript$safevalues$internals$string_literal_assertIsTemplateObject(a,
b.length);for(var
c=a[0],d=0;d<a.length-1;d++)c+=String(b[d])+a[d+1];if(/[<>]/.test(c))throw
Error("Forbidden characters in style string: "+c);if(goog.DEBUG)
{if(0===c.length)return(0,module$exports$goog$html$safestyle_internals_for_safevalu
es.createSafeStyle)(c);
if(!/;$/.test(c))throw Error('Style string does not end with ";":
'+c);if(!/:/.test(c))throw Error('Style string should contain one or more ":":
'+c);}return(0,module$exports$goog$html$safestyle_internals_for_safevalues.createSa
feStyle)(c)}function
module$contents$google3$third_party$javascript$safevalues$builders$style_builders_s
tyleForMigration(a)
{return(0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeSty
le)(a)}
function
module$contents$google3$third_party$javascript$safevalues$builders$style_builders_c
oncatStyles(a)
{return(0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeSty
le)
(a.map(module$contents$google3$third_party$javascript$safevalues$internals$style_im
pl_unwrapStyle).join(""))};var
module$exports$google3$third_party$javascript$safevalues$reporting$reporting={},mod
ule$contents$google3$third_party$javascript$safevalues$reporting$reporting_REPORTIN
G_ID_PREFIX_TO_SAMPLING_RATE={0:1,1:1},module$contents$google3$third_party$javascri
pt$safevalues$reporting$reporting_REPORTING_ID_PREFIX_TO_HEARTBEAT_RATE={0:.1,1:.1}
;function
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_Repor
tingOptions(){}
module$exports$google3$third_party$javascript$safevalues$reporting$reporting.Report
ingOptions=module$contents$google3$third_party$javascript$safevalues$reporting$repo
rting_ReportingOptions;
function
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repor
tOnlyHtmlPassthrough(a,b){var c;if(!(c=!b)){var d,e;c=Math.random()<(null!=(e=null!
=(d=b.samplingRate)?
d:module$contents$google3$third_party$javascript$safevalues$reporting$reporting_REP
ORTING_ID_PREFIX_TO_SAMPLING_RATE[b.reportingId[0]])?e:0);c=!c}if(c||!
1===window.SAFEVALUES_REPORTING||!("DocumentFragment"in window))return a;var
f,g;Math.random()<(null!=(g=null!=(f=b.heartbeatRate)?
f:module$contents$google3$third_party$javascript$safevalues$reporting$reporting_REP
ORTING_ID_PREFIX_TO_HEARTBEAT_RATE[b.reportingId[0]])?
g:0)&&module$contents$google3$third_party$javascript$safevalues$reporting$reporting
_reportLegacyConversion(b,module$contents$google3$third_party$javascript$safevalues
$reporting$reporting_ReportingType.HEARTBEAT);d=module$contents$google3$third_party
$javascript$safevalues$reporting$reporting_isChangedBySanitizing(a,b);d||(d=a,
(0,module$exports$google3$third_party$javascript$safevalues$builders$html_builders.
htmlEscape)(d).toString()!
==d&&module$contents$google3$third_party$javascript$safevalues$reporting$reporting_
reportLegacyConversion(b,
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_Repor
tingType.HTML_CHANGED_BY_ESCAPING));return
a}module$exports$google3$third_party$javascript$safevalues$reporting$reporting.repo
rtOnlyHtmlPassthrough=module$contents$google3$third_party$javascript$safevalues$rep
orting$reporting_reportOnlyHtmlPassthrough;
function
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_isCha
ngedBySanitizing(a,b)
{try{(0,module$exports$google3$third_party$javascript$safevalues$builders$html_sani
tizer$html_sanitizer.superLenientlySanitizeHtmlAssertUnchanged)(a)}catch(c){return
a=/([.]corp[.]google[.]com|[.]proxy[.]googleprod[.]com|[.]googlers[.]com)
$/,goog.DEBUG&&a.test(window.location.hostname)&&c instanceof Error?
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repor
tLegacyConversion(b,
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_Repor
tingType.HTML_CHANGED_BY_SUPER_LENIENT_SANITIZING,c.message):module$contents$google
3$third_party$javascript$safevalues$reporting$reporting_reportLegacyConversion(b,mo
dule$contents$google3$third_party$javascript$safevalues$reporting$reporting_Reporti
ngType.HTML_CHANGED_BY_SUPER_LENIENT_SANITIZING),!
0}try{(0,module$exports$google3$third_party$javascript$safevalues$builders$html_san
itizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged)(a)}catch(c){return
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repor
tLegacyConversion(b,
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_Repor
tingType.HTML_CHANGED_BY_RELAXED_SANITIZING),!
0}try{(0,module$exports$google3$third_party$javascript$safevalues$builders$html_san
itizer$html_sanitizer.sanitizeHtmlAssertUnchanged)(a)}catch(c){return
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repor
tLegacyConversion(b,module$contents$google3$third_party$javascript$safevalues$repor
ting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING),
!0}return!1}var
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_Repor
tingType={HEARTBEAT:"HEARTBEAT",CRASHED:"CRASHED",HTML_CHANGED_BY_ESCAPING:"H_ESCAP
E",HTML_CHANGED_BY_SANITIZING:"H_SANITIZE",HTML_CHANGED_BY_RELAXED_SANITIZING:"H_RS
ANITIZE",HTML_CHANGED_BY_SUPER_LENIENT_SANITIZING:"H_SLSANITIZE"};
function
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repor
tLegacyConversion(a,b,c){var
d=module$exports$google3$third_party$javascript$safevalues$reporting$reporting.TEST
_ONLY.sendReport?
module$exports$google3$third_party$javascript$safevalues$reporting$reporting.TEST_O
NLY.sendReport:"undefined"!==typeof window&&window.navigator&&void 0!
==window.navigator.sendBeacon?
navigator.sendBeacon.bind(navigator):module$contents$google3$third_party$javascript
$safevalues$reporting$reporting_sendBeaconPolyfill;
b={host:window.location.hostname,type:b,additionalData:c};d("https://
csp.withgoogle.com/csp/lcreport/"+a.reportingId,JSON.stringify(b))}function
module$contents$google3$third_party$javascript$safevalues$reporting$reporting_sendB
eaconPolyfill(a,b){var c=new
XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/
json");c.send(b)}
module$exports$google3$third_party$javascript$safevalues$reporting$reporting.TEST_O
NLY={reset:function()
{module$exports$google3$third_party$javascript$safevalues$reporting$reporting.TEST_
ONLY.sendReport=void 0}};var
module$exports$google3$third_party$javascript$safevalues$index={};module$exports$go
ogle3$third_party$javascript$safevalues$index.safeAttrPrefix=module$contents$google
3$third_party$javascript$safevalues$builders$attribute_builders_safeAttrPrefix;modu
le$exports$google3$third_party$javascript$safevalues$index.htmlFragment=module$cont
ents$google3$third_party$javascript$safevalues$builders$document_fragment_builders_
htmlFragment;
module$exports$google3$third_party$javascript$safevalues$index.htmlToNode=module$co
ntents$google3$third_party$javascript$safevalues$builders$document_fragment_builder
s_htmlToNode;module$exports$google3$third_party$javascript$safevalues$index.svgFrag
ment=module$contents$google3$third_party$javascript$safevalues$builders$document_fr
agment_builders_svgFragment;module$exports$google3$third_party$javascript$safevalue
s$index.concatHtmls=module$exports$google3$third_party$javascript$safevalues$builde
rs$html_builders.concatHtmls;
module$exports$google3$third_party$javascript$safevalues$index.createHtml=module$ex
ports$google3$third_party$javascript$safevalues$builders$html_builders.createHtml;m
odule$exports$google3$third_party$javascript$safevalues$index.doctypeHtml=module$ex
ports$google3$third_party$javascript$safevalues$builders$html_builders.doctypeHtml;
module$exports$google3$third_party$javascript$safevalues$index.htmlEscape=module$ex
ports$google3$third_party$javascript$safevalues$builders$html_builders.htmlEscape;
module$exports$google3$third_party$javascript$safevalues$index.joinHtmls=module$exp
orts$google3$third_party$javascript$safevalues$builders$html_builders.joinHtmls;mod
ule$exports$google3$third_party$javascript$safevalues$index.nodeToHtml=module$expor
ts$google3$third_party$javascript$safevalues$builders$html_builders.nodeToHtml;modu
le$exports$google3$third_party$javascript$safevalues$index.scriptToHtml=module$expo
rts$google3$third_party$javascript$safevalues$builders$html_builders.scriptToHtml;
module$exports$google3$third_party$javascript$safevalues$index.scriptUrlToHtml=modu
le$exports$google3$third_party$javascript$safevalues$builders$html_builders.scriptU
rlToHtml;module$exports$google3$third_party$javascript$safevalues$index.styleSheetT
oHtml=module$exports$google3$third_party$javascript$safevalues$builders$html_builde
rs.styleSheetToHtml;module$exports$google3$third_party$javascript$safevalues$index.
HtmlFormatter=module$exports$google3$third_party$javascript$safevalues$builders$htm
l_formatter.HtmlFormatter;
module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtml=module$
exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_sani
tizer.sanitizeHtml;module$exports$google3$third_party$javascript$safevalues$index.s
anitizeHtmlAssertUnchanged=module$exports$google3$third_party$javascript$safevalues
$builders$html_sanitizer$html_sanitizer.sanitizeHtmlAssertUnchanged;module$exports$
google3$third_party$javascript$safevalues$index.sanitizeHtmlToFragment=module$expor
ts$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer
.sanitizeHtmlToFragment;
module$exports$google3$third_party$javascript$safevalues$index.HtmlSanitizerBuilder
=module$exports$google3$third_party$javascript$safevalues$builders$html_sanitizer$h
tml_sanitizer_builder.HtmlSanitizerBuilder;module$exports$google3$third_party$javas
cript$safevalues$index.appendParams=module$contents$google3$third_party$javascript$
safevalues$builders$resource_url_builders_appendParams;module$exports$google3$third
_party$javascript$safevalues$index.appendPathSegment=module$contents$google3$third_
party$javascript$safevalues$builders$resource_url_builders_appendPathSegment;
module$exports$google3$third_party$javascript$safevalues$index.objectUrlFromScript=
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_objectUrlFromScript;module$exports$google3$third_party$javascript$safevalues$
index.replaceFragment=module$contents$google3$third_party$javascript$safevalues$bui
lders$resource_url_builders_replaceFragment;module$exports$google3$third_party$java
script$safevalues$index.toAbsoluteResourceUrl=module$contents$google3$third_party$j
avascript$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
module$exports$google3$third_party$javascript$safevalues$index.trustedResourceUrl=m
odule$contents$google3$third_party$javascript$safevalues$builders$resource_url_buil
ders_trustedResourceUrl;module$exports$google3$third_party$javascript$safevalues$in
dex.concatScripts=module$contents$google3$third_party$javascript$safevalues$builder
s$script_builders_concatScripts;module$exports$google3$third_party$javascript$safev
alues$index.safeScript=module$contents$google3$third_party$javascript$safevalues$bu
ilders$script_builders_safeScript;
module$exports$google3$third_party$javascript$safevalues$index.safeScriptWithArgs=m
odule$contents$google3$third_party$javascript$safevalues$builders$script_builders_s
afeScriptWithArgs;module$exports$google3$third_party$javascript$safevalues$index.va
lueAsScript=module$contents$google3$third_party$javascript$safevalues$builders$scri
pt_builders_valueAsScript;module$exports$google3$third_party$javascript$safevalues$
index.concatStyles=module$contents$google3$third_party$javascript$safevalues$builde
rs$style_builders_concatStyles;
module$exports$google3$third_party$javascript$safevalues$index.safeStyle=module$con
tents$google3$third_party$javascript$safevalues$builders$style_builders_safeStyle;m
odule$exports$google3$third_party$javascript$safevalues$index.styleForMigration=mod
ule$contents$google3$third_party$javascript$safevalues$builders$style_builders_styl
eForMigration;module$exports$google3$third_party$javascript$safevalues$index.concat
StyleSheets=module$contents$google3$third_party$javascript$safevalues$builders$styl
e_sheet_builders_concatStyleSheets;
module$exports$google3$third_party$javascript$safevalues$index.safeStyleRule=module
$contents$google3$third_party$javascript$safevalues$builders$style_sheet_builders_s
afeStyleRule;module$exports$google3$third_party$javascript$safevalues$index.safeSty
leSheet=module$contents$google3$third_party$javascript$safevalues$builders$style_sh
eet_builders_safeStyleSheet;module$exports$google3$third_party$javascript$safevalue
s$index.SanitizableUrlScheme=module$exports$google3$third_party$javascript$safevalu
es$builders$url_builders.SanitizableUrlScheme;
module$exports$google3$third_party$javascript$safevalues$index.addJavaScriptUrlSani
tizationCallback=module$contents$google3$third_party$javascript$safevalues$builders
$url_builders_addJavaScriptUrlSanitizationCallback;module$exports$google3$third_par
ty$javascript$safevalues$index.fromMediaSource=module$contents$google3$third_party$
javascript$safevalues$builders$url_builders_fromMediaSource;module$exports$google3$
third_party$javascript$safevalues$index.fromTrustedResourceUrl=module$contents$goog
le3$third_party$javascript$safevalues$builders$url_builders_fromTrustedResourceUrl;
module$exports$google3$third_party$javascript$safevalues$index.objectUrlFromSafeSou
rce=module$contents$google3$third_party$javascript$safevalues$builders$url_builders
_objectUrlFromSafeSource;module$exports$google3$third_party$javascript$safevalues$i
ndex.removeJavaScriptUrlSanitizationCallback=module$contents$google3$third_party$ja
vascript$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;m
odule$exports$google3$third_party$javascript$safevalues$index.safeUrl=module$conten
ts$google3$third_party$javascript$safevalues$builders$url_builders_safeUrl;
module$exports$google3$third_party$javascript$safevalues$index.sanitizeUrl=module$c
ontents$google3$third_party$javascript$safevalues$builders$url_builders_sanitizeUrl
;module$exports$google3$third_party$javascript$safevalues$index.trySanitizeUrl=modu
le$contents$google3$third_party$javascript$safevalues$builders$url_builders_trySani
tizeUrl;module$exports$google3$third_party$javascript$safevalues$index.SafeAttribut
ePrefix=module$exports$google3$third_party$javascript$safevalues$internals$attribut
e_impl.SafeAttributePrefix;
module$exports$google3$third_party$javascript$safevalues$index.unwrapAttributePrefi
x=module$contents$google3$third_party$javascript$safevalues$internals$attribute_imp
l_unwrapAttributePrefix;module$exports$google3$third_party$javascript$safevalues$in
dex.EMPTY_HTML=module$exports$google3$third_party$javascript$safevalues$internals$h
tml_impl.EMPTY_HTML;module$exports$google3$third_party$javascript$safevalues$index.
SafeHtml=module$exports$google3$third_party$javascript$safevalues$internals$html_im
pl.SafeHtml;
module$exports$google3$third_party$javascript$safevalues$index.isHtml=module$export
s$google3$third_party$javascript$safevalues$internals$html_impl.isHtml;module$expor
ts$google3$third_party$javascript$safevalues$index.unwrapHtml=module$exports$google
3$third_party$javascript$safevalues$internals$html_impl.unwrapHtml;module$exports$g
oogle3$third_party$javascript$safevalues$index.TrustedResourceUrl=goog.html.Trusted
ResourceUrl;
module$exports$google3$third_party$javascript$safevalues$index.isResourceUrl=module
$contents$google3$third_party$javascript$safevalues$internals$resource_url_impl_isR
esourceUrl;module$exports$google3$third_party$javascript$safevalues$index.unwrapRes
ourceUrl=module$contents$google3$third_party$javascript$safevalues$internals$resour
ce_url_impl_unwrapResourceUrl;module$exports$google3$third_party$javascript$safeval
ues$index.EMPTY_SCRIPT=module$exports$google3$third_party$javascript$safevalues$int
ernals$script_impl.EMPTY_SCRIPT;
module$exports$google3$third_party$javascript$safevalues$index.SafeScript=module$ex
ports$google3$third_party$javascript$safevalues$internals$script_impl.SafeScript;mo
dule$exports$google3$third_party$javascript$safevalues$index.isScript=module$conten
ts$google3$third_party$javascript$safevalues$internals$script_impl_isScript;module$
exports$google3$third_party$javascript$safevalues$index.unwrapScript=module$content
s$google3$third_party$javascript$safevalues$internals$script_impl_unwrapScript;
module$exports$google3$third_party$javascript$safevalues$index.SafeStyle=module$con
tents$goog$html$SafeStyle_SafeStyle;module$exports$google3$third_party$javascript$s
afevalues$index.isStyle=module$contents$google3$third_party$javascript$safevalues$i
nternals$style_impl_isStyle;module$exports$google3$third_party$javascript$safevalue
s$index.unwrapStyle=module$contents$google3$third_party$javascript$safevalues$inter
nals$style_impl_unwrapStyle;
module$exports$google3$third_party$javascript$safevalues$index.SafeStyleSheet=modul
e$contents$goog$html$SafeStyleSheet_SafeStyleSheet;module$exports$google3$third_par
ty$javascript$safevalues$index.isStyleSheet=module$contents$google3$third_party$jav
ascript$safevalues$internals$style_sheet_impl_isStyleSheet;module$exports$google3$t
hird_party$javascript$safevalues$index.unwrapStyleSheet=module$contents$google3$thi
rd_party$javascript$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
module$exports$google3$third_party$javascript$safevalues$index.ABOUT_BLANK=module$e
xports$google3$third_party$javascript$safevalues$internals$url_impl.ABOUT_BLANK;mod
ule$exports$google3$third_party$javascript$safevalues$index.INNOCUOUS_URL=module$ex
ports$google3$third_party$javascript$safevalues$internals$url_impl.INNOCUOUS_URL;mo
dule$exports$google3$third_party$javascript$safevalues$index.SafeUrl=module$exports
$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl;
module$exports$google3$third_party$javascript$safevalues$index.isUrl=module$content
s$google3$third_party$javascript$safevalues$internals$url_impl_isUrl;module$exports
$google3$third_party$javascript$safevalues$index.unwrapUrl=module$contents$google3$
third_party$javascript$safevalues$internals$url_impl_unwrapUrl;module$exports$googl
e3$third_party$javascript$safevalues$index.reportOnlyHtmlPassthrough=module$content
s$google3$third_party$javascript$safevalues$reporting$reporting_reportOnlyHtmlPasst
hrough;function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_asser
tValidJustification(a){if("string"!==typeof a||""===a.trim())throw a="Calls to
uncheckedconversion functions must go through security review.",a+=" A
justification must be provided to capture what security assumptions are being
made.",a+=" See go/unchecked-conversions",Error(a);}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_htmlS
afeByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return(0,module$exports$google3$t
hird_party$javascript$safevalues$internals$html_impl.createHtmlInternal)(a)}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_scrip
tSafeByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(a)}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_resou
rceUrlSafeByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a)}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_style
SheetSafeByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return(0,module$exports$goog$html
$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(a)}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_urlSa
feByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(a)}
function
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_style
SafeByReview(a,b)
{goog.DEBUG&&module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_assertValidJustification(b.justification);return(0,module$exports$goog$html
$safestyle_internals_for_safevalues.createSafeStyle)
(a)};safevalues.restricted={};safevalues.restricted.reviewed={};safevalues.restrict
ed.reviewed.htmlSafeByReview=module$contents$google3$third_party$javascript$safeval
ues$restricted$reviewed_htmlSafeByReview;safevalues.restricted.reviewed.scriptSafeB
yReview=module$contents$google3$third_party$javascript$safevalues$restricted$review
ed_scriptSafeByReview;safevalues.restricted.reviewed.resourceUrlSafeByReview=module
$contents$google3$third_party$javascript$safevalues$restricted$reviewed_resourceUrl
SafeByReview;
safevalues.restricted.reviewed.styleSheetSafeByReview=module$contents$google3$third
_party$javascript$safevalues$restricted$reviewed_styleSheetSafeByReview;safevalues.
restricted.reviewed.urlSafeByReview=module$contents$google3$third_party$javascript$
safevalues$restricted$reviewed_urlSafeByReview;safevalues.restricted.reviewed.style
SafeByReview=module$contents$google3$third_party$javascript$safevalues$restricted$r
eviewed_styleSafeByReview;goog.dom.safe={};goog.dom.safe.InsertAdjacentHtmlPosition
={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"
beforeend"};goog.dom.safe.insertAdjacentHtml=function(a,b,c)
{a.insertAdjacentHTML(b,module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHT
ML(c))};goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!
0,SVG:!0,TEMPLATE:!0};
goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function
(){if(goog.DEBUG&&"undefined"===typeof document)return!1;var
a=document.createElement("div"),b=document.createElement("div");b.appendChild(docum
ent.createElement("div"));a.appendChild(b);if(goog.DEBUG&&!a.firstChild)return!
1;b=a.firstChild.firstChild;a.innerHTML=module$contents$goog$html$SafeHtml_SafeHtml
.unwrapTrustedHTML(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY);return!
b.parentElement});
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(a,b)
{if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;a.lastChild;)a.removeChild(a.
lastChild);a.innerHTML=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTM
L(b)};
goog.dom.safe.setInnerHtml=function(a,b){if(goog.asserts.ENABLE_ASSERTS&&a.tagName)
{var
c=a.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[c])throw
Error("goog.dom.safe.setInnerHtml cannot be used to set content of
"+a.tagName+".");}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(a,b)};
goog.dom.safe.setInnerHtmlFromConstant=function(a,b)
{goog.dom.safe.setInnerHtml(a,module$contents$google3$third_party$javascript$safeva
lues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(b),
{justification:"Constant HTML to be immediatelly
used."}))};goog.dom.safe.setOuterHtml=function(a,b)
{a.outerHTML=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b)};goog
.dom.safe.setFormElementAction=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlFormElement(a).action=goog.dom.safe.s
anitizeJavaScriptUrlAssertUnchanged_(b)};
goog.dom.safe.setButtonFormAction=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlButtonElement(a).formAction=goog.dom.
safe.sanitizeJavaScriptUrlAssertUnchanged_(b)};goog.dom.safe.setInputFormAction=fun
ction(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlInputElement(a).formAction=goog.dom.s
afe.sanitizeJavaScriptUrlAssertUnchanged_(b)};goog.dom.safe.documentWrite=function(
a,b){a.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b))};
goog.dom.safe.setAnchorHref=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(a);a.href=goog.dom.safe
.sanitizeJavaScriptUrlAssertUnchanged_(b)};goog.dom.safe.setAudioSrc=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlAudioElement(a);a.src=goog.dom.safe.s
anitizeJavaScriptUrlAssertUnchanged_(b)};goog.dom.safe.setVideoSrc=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlVideoElement(a);a.src=goog.dom.safe.s
anitizeJavaScriptUrlAssertUnchanged_(b)};
goog.dom.safe.setIframeSrc=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(a);a.src=goog.html.Trus
tedResourceUrl.unwrap(b)};goog.dom.safe.setIframeSrcdoc=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(a);a.srcdoc=module$cont
ents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b)};
goog.dom.safe.setLinkHrefAndRel=function(a,b,c)
{module$contents$goog$asserts$dom_assertIsHtmlLinkElement(a);a.rel=c;goog.string.in
ternal.caseInsensitiveContains(c,"stylesheet")?(goog.asserts.assert(b instanceof
goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains
"stylesheet"'),a.href=goog.html.TrustedResourceUrl.unwrap(b),b=a.ownerDocument&&a.o
wnerDocument.defaultView,
(b=goog.dom.safe.getStyleNonce(b))&&a.setAttribute("nonce",b)):a.href=b instanceof
goog.html.TrustedResourceUrl?
goog.html.TrustedResourceUrl.unwrap(b):goog.dom.safe.sanitizeJavaScriptUrlAssertUnc
hanged_(b)};goog.dom.safe.setScriptSrc=function(a,b)
{module$contents$goog$asserts$dom_assertIsHtmlScriptElement(a);goog.dom.safe.setNon
ceForScriptElement_(a);a.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(b)
};goog.dom.safe.setNonceForScriptElement_=function(a){var
b=a.ownerDocument&&a.ownerDocument.defaultView;
(b=goog.dom.safe.getScriptNonce(b))&&a.setAttribute("nonce",b)};
goog.dom.safe.setLocationHref=function(a,b)
{goog.dom.asserts.assertIsLocation(a);a.href=goog.dom.safe.sanitizeJavaScriptUrlAss
ertUnchanged_(b)};goog.dom.safe.assignLocation=function(a,b)
{goog.dom.asserts.assertIsLocation(a);a.assign(goog.dom.safe.sanitizeJavaScriptUrlA
ssertUnchanged_(b))};goog.dom.safe.replaceLocation=function(a,b)
{a.replace(goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(b))};
goog.dom.safe.openInWindow=function(a,b,c,d)
{a=goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(a);b=b||goog.global;c=c
instanceof goog.string.Const?goog.string.Const.unwrap(c):c||"";return void 0!==d?
b.open(a,c,d):b.open(a,c)};goog.dom.safe.parseFromStringHtml=function(a,b){return
goog.dom.safe.parseFromString(a,b,"text/html")};goog.dom.safe.parseFromString=funct
ion(a,b,c){return
a.parseFromString(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b),
c)};
goog.dom.safe.createImageFromBlob=function(a){if(!/^image\/.*/g.test(a.type))throw
Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var
b=goog.global.URL.createObjectURL(a);a=new goog.global.Image;var c=function()
{goog.global.URL.revokeObjectURL(b)};a.onload=c;a.onerror=c;a.src=b;return
a};goog.dom.safe.getScriptNonce=function(a){return
goog.dom.safe.getNonce_("script[nonce]",a)};
goog.dom.safe.getStyleNonce=function(a){return
goog.dom.safe.getNonce_('style[nonce],link[rel="stylesheet"]
[nonce]',a)};goog.dom.safe.NONCE_PATTERN_=/^[\w+/_-]+[=]
{0,2}$/;goog.dom.safe.getNonce_=function(a,b){b=(b||goog.global).document;return
b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||
a.getAttribute("nonce"))&&goog.dom.safe.NONCE_PATTERN_.test(a)?a:"":""};
goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_=function(a){var
b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_u
nwrapUrlOrSanitize(a);return goog.asserts.assert(void 0!==b,"%s is a javascript:
URL",a)?
b:module$exports$google3$third_party$javascript$safevalues$internals$url_impl.INNOC
UOUS_URL.toString()};goog.math={};goog.math.randomInt=function(a){return
Math.floor(Math.random()*a)};goog.math.uniformRandom=function(a,b){return
a+Math.random()*(b-a)};goog.math.clamp=function(a,b,c){return
Math.min(Math.max(a,b),c)};goog.math.modulo=function(a,b){a%=b;return 0>a*b?
a+b:a};goog.math.lerp=function(a,b,c){return a+c*(b-
a)};goog.math.nearlyEquals=function(a,b,c){return Math.abs(a-b)<=(c||1E-
6)};goog.math.standardAngle=function(a){return goog.math.modulo(a,360)};
goog.math.standardAngleInRadians=function(a){return
goog.math.modulo(a,2*Math.PI)};goog.math.toRadians=function(a){return
a*Math.PI/180};goog.math.toDegrees=function(a){return
180*a/Math.PI};goog.math.angleDx=function(a,b){return
b*Math.cos(goog.math.toRadians(a))};goog.math.angleDy=function(a,b){return
b*Math.sin(goog.math.toRadians(a))};goog.math.angle=function(a,b,c,d){return
goog.math.standardAngle(goog.math.toDegrees(Math.atan2(d-b,c-a)))};
goog.math.angleDifference=function(a,b){a=goog.math.standardAngle(b)-
goog.math.standardAngle(a);180<a?a-=360:-180>=a&&(a=360+a);return
a};goog.math.sign=function(a){return 0<a?1:0>a?-1:a};
goog.math.longestCommonSubsequence=function(a,b,c,d){c=c||function(m,n){return
m==n};d=d||function(m){return a[m]};for(var e=a.length,f=b.length,g=[],h=0;h<e+1;h+
+)g[h]=[],g[h][0]=0;for(var k=0;k<f+1;k++)g[0][k]=0;for(h=1;h<=e;h+
+)for(k=1;k<=f;k++)c(a[h-1],b[k-1])?g[h][k]=g[h-1][k-1]+1:g[h][k]=Math.max(g[h-1]
[k],g[h][k-1]);var l=[];h=e;for(k=f;0<h&&0<k;)c(a[h-1],b[k-1])?(l.unshift(d(h-1,k-
1)),h--,k--):g[h-1][k]>g[h][k-1]?h--:k--;return l};
goog.math.sum=function(a){return
Array.prototype.reduce.call(arguments,function(b,c){return
b+c},0)};goog.math.average=function(a){return
goog.math.sum.apply(null,arguments)/arguments.length};goog.math.sampleVariance=func
tion(a){var b=arguments.length;if(2>b)return 0;var
c=goog.math.average.apply(null,arguments);return
b=goog.math.sum.apply(null,Array.prototype.map.call(arguments,function(d){return
Math.pow(d-c,2)}))/(b-1)};
goog.math.standardDeviation=function(a){return
Math.sqrt(goog.math.sampleVariance.apply(null,arguments))};goog.math.isInt=function
(a){return isFinite(a)&&0==a%1};goog.math.isFiniteNumber=function(a){return
isFinite(a)};goog.math.isNegativeZero=function(a){return
0==a&&0>1/a};goog.math.log10Floor=function(a){if(0<a){var
b=Math.round(Math.log(a)*Math.LOG10E);return b-(parseFloat("1e"+b)>a?1:0)}return
0==a?-Infinity:NaN};
goog.math.safeFloor=function(a,b){goog.asserts.assert(void 0===b||0<b);return
Math.floor(a+(b||2E-15))};goog.math.safeCeil=function(a,b){goog.asserts.assert(void
0===b||0<b);return Math.ceil(a-(b||2E-15))};goog.math.Coordinate=function(a,b)
{this.x=void 0!==a?a:0;this.y=void 0!==b?
b:0};goog.math.Coordinate.prototype.clone=function(){return new
goog.math.Coordinate(this.x,this.y)};goog.DEBUG&&(goog.math.Coordinate.prototype.to
String=function(){return"("+this.x+",
"+this.y+")"});goog.math.Coordinate.prototype.equals=function(a){return a
instanceof
goog.math.Coordinate&&goog.math.Coordinate.equals(this,a)};goog.math.Coordinate.equ
als=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
goog.math.Coordinate.distance=function(a,b){var c=a.x-b.x;a=a.y-b.y;return
Math.sqrt(c*c+a*a)};goog.math.Coordinate.magnitude=function(a){return
Math.sqrt(a.x*a.x+a.y*a.y)};goog.math.Coordinate.azimuth=function(a){return
goog.math.angle(0,0,a.x,a.y)};goog.math.Coordinate.squaredDistance=function(a,b)
{var c=a.x-b.x;a=a.y-b.y;return
c*c+a*a};goog.math.Coordinate.difference=function(a,b){return new
goog.math.Coordinate(a.x-b.x,a.y-b.y)};
goog.math.Coordinate.sum=function(a,b){return new
goog.math.Coordinate(a.x+b.x,a.y+b.y)};goog.math.Coordinate.prototype.ceil=function
(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return
this};goog.math.Coordinate.prototype.floor=function()
{this.x=Math.floor(this.x);this.y=Math.floor(this.y);return
this};goog.math.Coordinate.prototype.round=function()
{this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
goog.math.Coordinate.prototype.translate=function(a,b){a instanceof
goog.math.Coordinate?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof
b&&(this.y+=b));return this};goog.math.Coordinate.prototype.scale=function(a,b)
{b="number"===typeof b?b:a;this.x*=a;this.y*=b;return
this};goog.math.Size=function(a,b)
{this.width=a;this.height=b};goog.math.Size.equals=function(a,b){return a==b?!
0:a&&b?a.width==b.width&&a.height==b.height:!
1};goog.math.Size.prototype.clone=function(){return new
goog.math.Size(this.width,this.height)};goog.DEBUG&&(goog.math.Size.prototype.toStr
ing=function(){return"("+this.width+" x
"+this.height+")"});goog.math.Size.prototype.area=function(){return
this.width*this.height};goog.math.Size.prototype.aspectRatio=function(){return
this.width/this.height};
goog.math.Size.prototype.isEmpty=function(){return!
this.area()};goog.math.Size.prototype.ceil=function()
{this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return
this};goog.math.Size.prototype.floor=function()
{this.width=Math.floor(this.width);this.height=Math.floor(this.height);return
this};goog.math.Size.prototype.round=function()
{this.width=Math.round(this.width);this.height=Math.round(this.height);return
this};
goog.math.Size.prototype.scale=function(a,b){b="number"===typeof b?
b:a;this.width*=a;this.height*=b;return this};var
module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor={};fun
ction
module$contents$google3$third_party$javascript$safevalues$dom$elements$anchor_setHr
ef(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.href=b)}module$exports$google3$third_party$javascript$safevalues$dom$elemen
ts$anchor.setHref=module$contents$google3$third_party$javascript$safevalues$dom$ele
ments$anchor_setHref;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$anchor_setHr
efLite(a,b)
{module$contents$google3$third_party$javascript$safevalues$builders$url_builders_re
portJavaScriptUrl(b)||
(a.href=b)}module$exports$google3$third_party$javascript$safevalues$dom$elements$an
chor.setHrefLite=module$contents$google3$third_party$javascript$safevalues$dom$elem
ents$anchor_setHrefLite;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$area={};funct
ion
module$contents$google3$third_party$javascript$safevalues$dom$elements$area_setHref
(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.href=b)}module$exports$google3$third_party$javascript$safevalues$dom$elemen
ts$area.setHref=module$contents$google3$third_party$javascript$safevalues$dom$eleme
nts$area_setHref;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$base={};funct
ion
module$contents$google3$third_party$javascript$safevalues$dom$elements$base_setHref
(a,b)
{a.href=module$contents$google3$third_party$javascript$safevalues$internals$resourc
e_url_impl_unwrapResourceUrl(b)}module$exports$google3$third_party$javascript$safev
alues$dom$elements$base.setHref=module$contents$google3$third_party$javascript$safe
values$dom$elements$base_setHref;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$button={};fun
ction
module$contents$google3$third_party$javascript$safevalues$dom$elements$button_setFo
rmaction(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.formAction=b)}module$exports$google3$third_party$javascript$safevalues$dom$
elements$button.setFormaction=module$contents$google3$third_party$javascript$safeva
lues$dom$elements$button_setFormaction;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$element={};fu
nction
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_setI
nnerHtml(a,b)
{1===a.nodeType&&module$contents$google3$third_party$javascript$safevalues$dom$elem
ents$element_throwIfScriptOrStyle(a);a.innerHTML=(0,module$exports$google3$third_pa
rty$javascript$safevalues$internals$html_impl.unwrapHtml)(b)}
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml=module$contents$google3$third_party$javascript$safevalues$dom$elements$elem
ent_setInnerHtml;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_setO
uterHtml(a,b){var c=a.parentElement;null!
==c&&module$contents$google3$third_party$javascript$safevalues$dom$elements$element
_throwIfScriptOrStyle(c);a.outerHTML=(0,module$exports$google3$third_party$javascri
pt$safevalues$internals$html_impl.unwrapHtml)
(b)}module$exports$google3$third_party$javascript$safevalues$dom$elements$element.s
etOuterHtml=module$contents$google3$third_party$javascript$safevalues$dom$elements$
element_setOuterHtml;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_setC
ssText(a,b)
{a.style.cssText=module$contents$google3$third_party$javascript$safevalues$internal
s$style_impl_unwrapStyle(b)}module$exports$google3$third_party$javascript$safevalue
s$dom$elements$element.setCssText=module$contents$google3$third_party$javascript$sa
fevalues$dom$elements$element_setCssText;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_inse
rtAdjacentHtml(a,b,c){var d="beforebegin"===b||"afterend"===b?
a.parentElement:a;null!
==d&&module$contents$google3$third_party$javascript$safevalues$dom$elements$element
_throwIfScriptOrStyle(d);a.insertAdjacentHTML(b,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.unw
rapHtml)(c))}
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.inser
tAdjacentHtml=module$contents$google3$third_party$javascript$safevalues$dom$element
s$element_insertAdjacentHtml;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_buil
dPrefixedAttributeSetter(a){var
b=$jscomp.getRestArguments.apply(1,arguments),c=[a].concat($jscomp.arrayFromIterabl
e(b));return function(d,e,f)
{module$contents$google3$third_party$javascript$safevalues$dom$elements$element_set
PrefixedAttribute(c,d,e,f)}}module$exports$google3$third_party$javascript$safevalue
s$dom$elements$element.buildPrefixedAttributeSetter=module$contents$google3$third_p
arty$javascript$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_setP
refixedAttribute(a,b,c,d){if(0===a.length)throw b="",goog.DEBUG&&(b="No prefixes
are provided"),Error(b);a=a.map(function(f){return
module$contents$google3$third_party$javascript$safevalues$internals$attribute_impl_
unwrapAttributePrefix(f)});var e=c.toLowerCase();if(a.every(function(f){return 0!
==e.indexOf(f)}))throw Error('Attribute "'+c+'" does not match any of the allowed
prefixes.');b.setAttribute(c,d)}
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setPr
efixedAttribute=module$contents$google3$third_party$javascript$safevalues$dom$eleme
nts$element_setPrefixedAttribute;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$element_thro
wIfScriptOrStyle(a){var b="";a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw
goog.DEBUG&&(b="SCRIPT"===a?"Use safeScriptEl.setTextContent with a
SafeScript.":"Use safeStyleEl.setTextContent with a
SafeStyleSheet."),Error(b);};var
module$exports$google3$third_party$javascript$safevalues$dom$elements$embed={};func
tion
module$contents$google3$third_party$javascript$safevalues$dom$elements$embed_setSrc
(a,b)
{a.src=module$contents$google3$third_party$javascript$safevalues$internals$resource
_url_impl_unwrapResourceUrl(b)}module$exports$google3$third_party$javascript$safeva
lues$dom$elements$embed.setSrc=module$contents$google3$third_party$javascript$safev
alues$dom$elements$embed_setSrc;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$form={};funct
ion
module$contents$google3$third_party$javascript$safevalues$dom$elements$form_setActi
on(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.action=b)}module$exports$google3$third_party$javascript$safevalues$dom$elem
ents$form.setAction=module$contents$google3$third_party$javascript$safevalues$dom$e
lements$form_setAction;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe={};fun
ction
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSr
c(a,b)
{a.src=module$contents$google3$third_party$javascript$safevalues$internals$resource
_url_impl_unwrapResourceUrl(b).toString()}module$exports$google3$third_party$javasc
ript$safevalues$dom$elements$iframe.setSrc=module$contents$google3$third_party$java
script$safevalues$dom$elements$iframe_setSrc;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSr
cdoc(a,b)
{a.srcdoc=(0,module$exports$google3$third_party$javascript$safevalues$internals$htm
l_impl.unwrapHtml)
(b)}module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.se
tSrcdoc=module$contents$google3$third_party$javascript$safevalues$dom$elements$ifra
me_setSrcdoc;
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
={FORMATTED_HTML_CONTENT:0,HTML_FORMATTED_CONTENT:1,EMBEDDED_INTERNAL_CONTENT:2,EMB
EDDED_TRUSTED_EXTERNAL_CONTENT:3};module$exports$google3$third_party$javascript$saf
evalues$dom$elements$iframe.Intent[module$exports$google3$third_party$javascript$sa
fevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT]="FORMATTED_HTML_CONTENT
";
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
[module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Inten
t.HTML_FORMATTED_CONTENT]="HTML_FORMATTED_CONTENT";module$exports$google3$third_par
ty$javascript$safevalues$dom$elements$iframe.Intent[module$exports$google3$third_pa
rty$javascript$safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT]="EM
BEDDED_INTERNAL_CONTENT";
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
[module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Inten
t.EMBEDDED_TRUSTED_EXTERNAL_CONTENT]="EMBEDDED_TRUSTED_EXTERNAL_CONTENT";
var
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sandb
oxDirective={ALLOW_SAME_ORIGIN:"allow-same-origin",ALLOW_SCRIPTS:"allow-
scripts",ALLOW_FORMS:"allow-forms",ALLOW_POPUPS:"allow-
popups",ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-
sandbox",ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION:"allow-storage-access-by-user-
activation"};
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSa
ndboxDirectives(a,b,c){if(c=void 0===c?!
1:c)for(;0<a.sandbox.length;)a.sandbox.remove(a.sandbox.item(0));else
a.setAttribute("sandbox","");for(c=0;c<b.length;c++)a.sandbox.supports&&!
a.sandbox.supports(b[c])||a.sandbox.add(b[c])}
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError=function(a,b){var c=Error.call(this,a+" cannot be used
with intent
"+module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Inte
nt[b]);this.message=c.message;"stack"in
c&&(this.stack=c.stack);this.type=a;this.intent=b;this.name="TypeCannotBeUsedWithIn
tentError"};
$jscomp.inherits(module$exports$google3$third_party$javascript$safevalues$dom$eleme
nts$iframe.TypeCannotBeUsedWithIntentError,Error);
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSr
cWithIntent(a,b,c){a.removeAttribute("srcdoc");switch(b){case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.FORMATTED_HTML_CONTENT:if(c instanceof goog.html.TrustedResourceUrl)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("TrustedResourceUrl",module$exports$google3$third_party$j
avascript$safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSa
ndboxDirectives(a,
[]);b=module$contents$google3$third_party$javascript$safevalues$builders$url_builde
rs_unwrapUrlOrSanitize(c);void 0!==b&&(a.src=b);break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.HTML_FORMATTED_CONTENT:if(c instanceof goog.html.TrustedResourceUrl)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("TrustedResourceUrl",
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.HTML_FORMATTED_CONTENT);module$contents$google3$third_party$javascript$safevalues$
dom$elements$iframe_setSandboxDirectives(a,[],!
0);b=module$contents$google3$third_party$javascript$safevalues$builders$url_builder
s_unwrapUrlOrSanitize(c);void 0!==b&&(a.src=b);break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.EMBEDDED_INTERNAL_CONTENT:if(!(c instanceof goog.html.TrustedResourceUrl))throw
new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError(typeof c,
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.EMBEDDED_INTERNAL_CONTENT);module$contents$google3$third_party$javascript$safevalu
es$dom$elements$iframe_setSandboxDirectives(a,
[module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sand
boxDirective.ALLOW_SAME_ORIGIN,module$contents$google3$third_party$javascript$safev
alues$dom$elements$iframe_SandboxDirective.ALLOW_SCRIPTS,module$contents$google3$th
ird_party$javascript$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_FORMS,
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sandb
oxDirective.ALLOW_POPUPS,module$contents$google3$third_party$javascript$safevalues$
dom$elements$iframe_SandboxDirective.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,module$contents
$google3$third_party$javascript$safevalues$dom$elements$iframe_SandboxDirective.ALL
OW_STORAGE_ACCESS_BY_USER_ACTIVATION]);module$contents$google3$third_party$javascri
pt$safevalues$dom$elements$iframe_setSrc(a,c);break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:if(c instanceof
goog.html.TrustedResourceUrl)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("TrustedResourceUrl",module$exports$google3$third_party$j
avascript$safevalues$dom$elements$iframe.Intent.EMBEDDED_TRUSTED_EXTERNAL_CONTENT);
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSa
ndboxDirectives(a,
[module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sand
boxDirective.ALLOW_SAME_ORIGIN,
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sandb
oxDirective.ALLOW_SCRIPTS,module$contents$google3$third_party$javascript$safevalues
$dom$elements$iframe_SandboxDirective.ALLOW_FORMS,module$contents$google3$third_par
ty$javascript$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,module$c
ontents$google3$third_party$javascript$safevalues$dom$elements$iframe_SandboxDirect
ive.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,module$contents$google3$third_party$javascript$s
afevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVAT
ION]);
b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_u
nwrapUrlOrSanitize(c);void 0!
==b&&(a.src=b);break;default:module$contents$google3$javascript$typescript$contrib$
check_checkExhaustiveAllowing(b,void
0)}}module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.se
tSrcWithIntent=module$contents$google3$third_party$javascript$safevalues$dom$elemen
ts$iframe_setSrcWithIntent;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSr
cdocWithIntent(a,b,c){a.removeAttribute("src");switch(b){case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.FORMATTED_HTML_CONTENT:if(c instanceof
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.SafeHt
ml)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("SafeHtml",module$exports$google3$third_party$javascript$
safevalues$dom$elements$iframe.Intent.FORMATTED_HTML_CONTENT);
a.csp="default-src
'none'";module$contents$google3$third_party$javascript$safevalues$dom$elements$ifra
me_setSandboxDirectives(a,
[]);module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_s
etSrcdoc(a,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cre
ateHtmlInternal)(c));break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.HTML_FORMATTED_CONTENT:if(c instanceof
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.SafeHt
ml)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("SafeHtml",
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.HTML_FORMATTED_CONTENT);a.csp="default-src
'none'";module$contents$google3$third_party$javascript$safevalues$dom$elements$ifra
me_setSandboxDirectives(a,[],!
0);module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_se
tSrcdoc(a,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cre
ateHtmlInternal)(c));break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.EMBEDDED_INTERNAL_CONTENT:if(!(c instanceof
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.SafeHt
ml))throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("string",module$exports$google3$third_party$javascript$sa
fevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);module$contents$goog
le3$third_party$javascript$safevalues$dom$elements$iframe_setSandboxDirectives(a,
[module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sand
boxDirective.ALLOW_SAME_ORIGIN,
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sandb
oxDirective.ALLOW_SCRIPTS,module$contents$google3$third_party$javascript$safevalues
$dom$elements$iframe_SandboxDirective.ALLOW_FORMS,module$contents$google3$third_par
ty$javascript$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,module$c
ontents$google3$third_party$javascript$safevalues$dom$elements$iframe_SandboxDirect
ive.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,module$contents$google3$third_party$javascript$s
afevalues$dom$elements$iframe_SandboxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVAT
ION]);
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSr
cdoc(a,c);break;case
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.Intent
.EMBEDDED_TRUSTED_EXTERNAL_CONTENT:if(c instanceof
module$exports$google3$third_party$javascript$safevalues$internals$html_impl.SafeHt
ml)throw new
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.TypeCa
nnotBeUsedWithIntentError("SafeHtml",module$exports$google3$third_party$javascript$
safevalues$dom$elements$iframe.Intent.EMBEDDED_INTERNAL_CONTENT);
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_setSa
ndboxDirectives(a,
[module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sand
boxDirective.ALLOW_SCRIPTS,module$contents$google3$third_party$javascript$safevalue
s$dom$elements$iframe_SandboxDirective.ALLOW_FORMS,module$contents$google3$third_pa
rty$javascript$safevalues$dom$elements$iframe_SandboxDirective.ALLOW_POPUPS,module$
contents$google3$third_party$javascript$safevalues$dom$elements$iframe_SandboxDirec
tive.ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
module$contents$google3$third_party$javascript$safevalues$dom$elements$iframe_Sandb
oxDirective.ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION]);module$contents$google3$third
_party$javascript$safevalues$dom$elements$iframe_setSrcdoc(a,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cre
ateHtmlInternal)
(c));break;default:module$contents$google3$javascript$typescript$contrib$check_chec
kExhaustiveAllowing(b,void 0)}}
module$exports$google3$third_party$javascript$safevalues$dom$elements$iframe.setSrc
docWithIntent=module$contents$google3$third_party$javascript$safevalues$dom$element
s$iframe_setSrcdocWithIntent;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$input={};func
tion
module$contents$google3$third_party$javascript$safevalues$dom$elements$input_setFor
maction(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.formAction=b)}module$exports$google3$third_party$javascript$safevalues$dom$
elements$input.setFormaction=module$contents$google3$third_party$javascript$safeval
ues$dom$elements$input_setFormaction;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$link={},modul
e$contents$google3$third_party$javascript$safevalues$dom$elements$link_SAFE_URL_REL
_VALUES="alternate author bookmark canonical cite help icon license modulepreload
next prefetch dns-prefetch prerender preconnect preload prev search
subresource".split(" ");
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$link_setHref
AndRel(a,b,c)
{if(module$contents$google3$third_party$javascript$safevalues$internals$resource_ur
l_impl_isResourceUrl(b))a.href=module$contents$google3$third_party$javascript$safev
alues$internals$resource_url_impl_unwrapResourceUrl(b).toString();else{if(-
1===module$contents$google3$third_party$javascript$safevalues$dom$elements$link_SAF
E_URL_REL_VALUES.indexOf(c))throw Error('TrustedResourceUrl href attribute required
with rel="'+
c+'"');b=module$contents$google3$third_party$javascript$safevalues$builders$url_bui
lders_unwrapUrlOrSanitize(b);if(void
0===b)return;a.href=b}a.rel=c}module$exports$google3$third_party$javascript$safeval
ues$dom$elements$link.setHrefAndRel=module$contents$google3$third_party$javascript$
safevalues$dom$elements$link_setHrefAndRel;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$object={};fun
ction
module$contents$google3$third_party$javascript$safevalues$dom$elements$object_setDa
ta(a,b)
{a.data=module$contents$google3$third_party$javascript$safevalues$internals$resourc
e_url_impl_unwrapResourceUrl(b)}module$exports$google3$third_party$javascript$safev
alues$dom$elements$object.setData=module$contents$google3$third_party$javascript$sa
fevalues$dom$elements$object_setData;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$window={};func
tion
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_open(a
,b,c,d)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);return void 0!==b?
a.open(b,c,d):null}module$exports$google3$third_party$javascript$safevalues$dom$glo
bals$window.open=module$contents$google3$third_party$javascript$safevalues$dom$glob
als$window_open;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_getScr
iptNonce(a){return
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_getNon
ceFor("script",a)}module$exports$google3$third_party$javascript$safevalues$dom$glob
als$window.getScriptNonce=module$contents$google3$third_party$javascript$safevalues
$dom$globals$window_getScriptNonce;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_getSty
leNonce(a){return
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_getNon
ceFor("style",a)}module$exports$google3$third_party$javascript$safevalues$dom$globa
ls$window.getStyleNonce=module$contents$google3$third_party$javascript$safevalues$d
om$globals$window_getStyleNonce;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$window_getNon
ceFor(a,b){b=b.document;var c,d;return(b=null==(d=(c=b).querySelector)?void
0:d.call(c,a+"[nonce]"))?b.nonce||b.getAttribute("nonce")||"":""};var
module$exports$google3$third_party$javascript$safevalues$dom$elements$script={};fun
ction
module$contents$google3$third_party$javascript$safevalues$dom$elements$script_setNo
nceForScriptElement(a){var b=a.ownerDocument&&a.ownerDocument.defaultView;
(b=(0,module$exports$google3$third_party$javascript$safevalues$dom$globals$window.g
etScriptNonce)(b||window))&&a.setAttribute("nonce",b)}
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$script_setTe
xtContent(a,b,c)
{a.textContent=module$contents$google3$third_party$javascript$safevalues$internals$
script_impl_unwrapScript(b);var d;(null==(d=c)?0:d.omitNonce)||
module$contents$google3$third_party$javascript$safevalues$dom$elements$script_setNo
nceForScriptElement(a)}module$exports$google3$third_party$javascript$safevalues$dom
$elements$script.setTextContent=module$contents$google3$third_party$javascript$safe
values$dom$elements$script_setTextContent;
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$script_setSr
c(a,b,c)
{a.src=module$contents$google3$third_party$javascript$safevalues$internals$resource
_url_impl_unwrapResourceUrl(b);var d;(null==(d=c)?0:d.omitNonce)||
module$contents$google3$third_party$javascript$safevalues$dom$elements$script_setNo
nceForScriptElement(a)}module$exports$google3$third_party$javascript$safevalues$dom
$elements$script.setSrc=module$contents$google3$third_party$javascript$safevalues$d
om$elements$script_setSrc;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$style={};func
tion
module$contents$google3$third_party$javascript$safevalues$dom$elements$style_setTex
tContent(a,b)
{a.textContent=module$contents$google3$third_party$javascript$safevalues$internals$
style_sheet_impl_unwrapStyleSheet(b)}module$exports$google3$third_party$javascript$
safevalues$dom$elements$style.setTextContent=module$contents$google3$third_party$ja
vascript$safevalues$dom$elements$style_setTextContent;var
module$exports$google3$third_party$javascript$safevalues$dom$elements$svg={},module
$contents$google3$third_party$javascript$safevalues$dom$elements$svg_UNSAFE_SVG_ATT
RIBUTES=["href","xlink:href"];
function
module$contents$google3$third_party$javascript$safevalues$dom$elements$svg_setAttri
bute(a,b,c){var d=b.toLowerCase();if(-1!
==module$contents$google3$third_party$javascript$safevalues$dom$elements$svg_UNSAFE
_SVG_ATTRIBUTES.indexOf(d)||0===d.indexOf("on"))throw a="",goog.DEBUG&&(a="Setting
the '"+d+"' attribute on SVG can cause
XSS."),Error(a);a.setAttribute(b,c)}module$exports$google3$third_party$javascript$s
afevalues$dom$elements$svg.setAttribute=module$contents$google3$third_party$javascr
ipt$safevalues$dom$elements$svg_setAttribute;goog.debug.errorcontext={};goog.debug.
errorcontext.addErrorContext=function(a,b,c)
{a[goog.debug.errorcontext.CONTEXT_KEY_]||
(a[goog.debug.errorcontext.CONTEXT_KEY_]={});a[goog.debug.errorcontext.CONTEXT_KEY_
][b]=c};goog.debug.errorcontext.getErrorContext=function(a){return
a[goog.debug.errorcontext.CONTEXT_KEY_]||
{}};goog.debug.errorcontext.CONTEXT_KEY_="__closure__error__context__984382";goog.d
ebug.LOGGING_ENABLED=goog.DEBUG;goog.debug.FORCE_SLOPPY_STACKS=!
1;goog.debug.CHECK_FOR_THROWN_EVENT=!1;goog.debug.catchErrors=function(a,b,c){c=c||
goog.global;var d=c.onerror,e=!!b;c.onerror=function(f,g,h,k,l)
{d&&d(f,g,h,k,l);a({message:f,fileName:g,line:h,lineNumber:h,col:k,error:l});return
e}};
goog.debug.expose=function(a,b){if("undefined"==typeof
a)return"undefined";if(null==a)return"NULL";var c=[],d;for(d in a)if(b||"function"!
==typeof a[d]){var e=d+" = ";try{e+=a[d]}catch(f){e+="*** "+f+"
***"}c.push(e)}return c.join("\n")};
goog.debug.deepExpose=function(a,b){var c=[],d=[],e={},f=function(g,h){var k=h+"
";try{if(void 0===g)c.push("undefined");else if(null===g)c.push("NULL");else
if("string"===typeof g)c.push('"'+g.replace(/\n/g,"\n"+h)+'"');else
if("function"===typeof g)c.push(String(g).replace(/\n/g,"\n"+h));else
if(goog.isObject(g)){goog.hasUid(g)||d.push(g);var
l=goog.getUid(g);if(e[l])c.push("*** reference loop detected (id="+l+")
***");else{e[l]=!0;c.push("{");for(var m in g)if(b||"function"!==typeof
g[m])c.push("\n"),
c.push(k),c.push(m+" = "),f(g[m],k);c.push("\n"+h+"}");delete e[l]}}else
c.push(g)}catch(n){c.push("*** "+n+" ***")}};f(a,"");for(a=0;a<d.length;a+
+)goog.removeUid(d[a]);return c.join("")};goog.debug.exposeArray=function(a)
{for(var b=[],c=0;c<a.length;c++)Array.isArray(a[c])?
b.push(goog.debug.exposeArray(a[c])):b.push(a[c]);return"[ "+b.join(", ")+" ]"};
goog.debug.normalizeErrorObject=function(a){var
b=goog.getObjectByName("window.location.href");null==a&&(a='Unknown Error of type
"null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown
error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!
1;try{var d=a.lineNumber||a.line||"Not available"}catch(g){d="Not available",c=!
0}try{var e=a.fileName||a.filename||a.sourceURL||goog.global.$googDebugFname||
b}catch(g){e="Not available",c=!0}b=goog.debug.serializeErrorStack_(a);
if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name))
{c=a.message;if(null==c){if(a.constructor&&a.constructor instanceof Function){var
f=a.constructor.name?
a.constructor.name:goog.debug.getFunctionName(a.constructor);c='Unknown Error of
type "'+f+'"';if(goog.debug.CHECK_FOR_THROWN_EVENT&&"Event"==f)try{c=c+' with
Event.type "'+(a.type||"")+'"'}catch(g){}}else c="Unknown Error of unknown
type";"function"===typeof a.toString&&Object.prototype.toString!
==a.toString&&(c+=": "+a.toString())}return{message:c,
name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not
available"}}return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a
.fileName,stack:b}};goog.debug.serializeErrorStack_=function(a,b){b||
(b={});b[goog.debug.serializeErrorAsKey_(a)]=!0;var c=a.stack||"";(a=a.cause)&&!
b[goog.debug.serializeErrorAsKey_(a)]&&(c+="\nCaused by:
",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\
n"),c+=goog.debug.serializeErrorStack_(a,b));return c};
goog.debug.serializeErrorAsKey_=function(a){var b="";"function"===typeof
a.toString&&(b=""+a);return b+a.stack};goog.debug.enhanceError=function(a,b){a
instanceof Error||
(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,goog.debug.enhanceEr
ror));a.stack||(a.stack=goog.debug.getStacktrace(goog.debug.enhanceError));if(b)
{for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a};
goog.debug.enhanceErrorWithContext=function(a,b)
{a=goog.debug.enhanceError(a);if(b)for(var c in
b)goog.debug.errorcontext.addErrorContext(a,c,b[c]);return a};
goog.debug.getStacktraceSimple=function(a){if(!goog.debug.FORCE_SLOPPY_STACKS){var
b=goog.debug.getNativeStackTrace_(goog.debug.getStacktraceSimple);if(b)return
b}b=[];for(var c=arguments.callee.caller,d=0;c&&(!a||d<a);)
{b.push(goog.debug.getFunctionName(c));b.push("()\n");try{c=c.caller}catch(e)
{b.push("[exception trying to get caller]\n");break}d+
+;if(d>=goog.debug.MAX_STACK_DEPTH){b.push("[...long stack...]");break}}a&&d>=a?
b.push("[...reached max depth limit...]"):b.push("[end]");return b.join("")};
goog.debug.MAX_STACK_DEPTH=50;goog.debug.getNativeStackTrace_=function(a){var
b=Error();if(Error.captureStackTrace)return
Error.captureStackTrace(b,a),String(b.stack);try{throw b;}catch(c)
{b=c}return(a=b.stack)?String(a):null};goog.debug.getStacktrace=function(a){if(!
goog.debug.FORCE_SLOPPY_STACKS){var b=a||
goog.debug.getStacktrace;b=goog.debug.getNativeStackTrace_(b)}b||
(b=goog.debug.getStacktraceHelper_(a||arguments.callee.caller,[]));return b};
goog.debug.getStacktraceHelper_=function(a,b){var
c=[];if(module$contents$goog$array_contains(b,a))c.push("[...circular
reference...]");else if(a&&b.length<goog.debug.MAX_STACK_DEPTH)
{c.push(goog.debug.getFunctionName(a)+"(");for(var
d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f)
{case "object":f=f?"object":"null";break;case "string":break;case
"number":f=String(f);break;case "boolean":f=f?"true":"false";break;case
"function":f=(f=goog.debug.getFunctionName(f))?
f:"[fn]";break;default:f=typeof
f}40<f.length&&(f=f.slice(0,40)+"...");c.push(f)}b.push(a);c.push(")\
n");try{c.push(goog.debug.getStacktraceHelper_(a.caller,b))}catch(g)
{c.push("[exception trying to get caller]\n")}}else a?c.push("[...long
stack...]"):c.push("[end]");return c.join("")};
goog.debug.getFunctionName=function(a){if(goog.debug.fnNameCache_[a])return
goog.debug.fnNameCache_[a];a=String(a);if(!goog.debug.fnNameCache_[a]){var
b=/function\s+([^\(]+)/m.exec(a);b?
(b=b[1],goog.debug.fnNameCache_[a]=b):goog.debug.fnNameCache_[a]="[Anonymous]"}retu
rn goog.debug.fnNameCache_[a]};goog.debug.makeWhitespaceVisible=function(a){return
a.replace(/ /g,"[_]").replace(/\f/g,"[f]").replace(/\n/g,"[n]\n").replace(/\r/
g,"[r]").replace(/\t/g,"[t]")};
goog.debug.runtimeType=function(a){return a instanceof Function?a.displayName||
a.name||"unknown type name":a instanceof Object?a.constructor.displayName||
a.constructor.name||Object.prototype.toString.call(a):null===a?"null":typeof
a};goog.debug.fnNameCache_={};goog.debug.freezeInternal_=goog.DEBUG&&Object.freeze|
|function(a){return a};goog.debug.freeze=function(a){return
goog.debug.freezeInternal_(a)};goog.log={};goog.log.ENABLED=goog.debug.LOGGING_ENAB
LED;goog.log.ROOT_LOGGER_NAME="";var
third_party$javascript$closure$log$log$classdecl$var0=function(a,b)
{this.name=a;this.value=b};third_party$javascript$closure$log$log$classdecl$var0.pr
ototype.toString=function(){return
this.name};goog.log.Level=third_party$javascript$closure$log$log$classdecl$var0;goo
g.log.Level.OFF=new goog.log.Level("OFF",Infinity);goog.log.Level.SHOUT=new
goog.log.Level("SHOUT",1200);
goog.log.Level.SEVERE=new goog.log.Level("SEVERE",1E3);goog.log.Level.WARNING=new
goog.log.Level("WARNING",900);goog.log.Level.INFO=new
goog.log.Level("INFO",800);goog.log.Level.CONFIG=new
goog.log.Level("CONFIG",700);goog.log.Level.FINE=new
goog.log.Level("FINE",500);goog.log.Level.FINER=new
goog.log.Level("FINER",400);goog.log.Level.FINEST=new
goog.log.Level("FINEST",300);goog.log.Level.ALL=new goog.log.Level("ALL",0);
goog.log.Level.PREDEFINED_LEVELS=[goog.log.Level.OFF,goog.log.Level.SHOUT,goog.log.
Level.SEVERE,goog.log.Level.WARNING,goog.log.Level.INFO,goog.log.Level.CONFIG,goog.
log.Level.FINE,goog.log.Level.FINER,goog.log.Level.FINEST,goog.log.Level.ALL];goog.
log.Level.predefinedLevelsCache_=null;
goog.log.Level.createPredefinedLevelsCache_=function()
{goog.log.Level.predefinedLevelsCache_={};for(var
a=0,b;b=goog.log.Level.PREDEFINED_LEVELS[a];a+
+)goog.log.Level.predefinedLevelsCache_[b.value]=b,goog.log.Level.predefinedLevelsC
ache_[b.name]=b};goog.log.Level.getPredefinedLevel=function(a)
{goog.log.Level.predefinedLevelsCache_||
goog.log.Level.createPredefinedLevelsCache_();return
goog.log.Level.predefinedLevelsCache_[a]||null};
goog.log.Level.getPredefinedLevelByValue=function(a)
{goog.log.Level.predefinedLevelsCache_||
goog.log.Level.createPredefinedLevelsCache_();if(a in
goog.log.Level.predefinedLevelsCache_)return
goog.log.Level.predefinedLevelsCache_[a];for(var
b=0;b<goog.log.Level.PREDEFINED_LEVELS.length;++b){var
c=goog.log.Level.PREDEFINED_LEVELS[b];if(c.value<=a)return c}return null};var
third_party$javascript$closure$log$log$classdecl$var1=function(){};
third_party$javascript$closure$log$log$classdecl$var1.prototype.getName=function()
{};goog.log.Logger=third_party$javascript$closure$log$log$classdecl$var1;goog.log.L
ogger.Level=goog.log.Level;var
third_party$javascript$closure$log$log$classdecl$var2=function(a)
{this.capacity_="number"===typeof a?a:goog.log.LogBuffer.CAPACITY;this.clear()};
third_party$javascript$closure$log$log$classdecl$var2.prototype.addRecord=function(
a,b,c){if(!this.isBufferingEnabled())return new goog.log.LogRecord(a,b,c);var
d=(this.curIndex_+1)%this.capacity_;this.curIndex_=d;if(this.isFull_)return
d=this.buffer_[d],d.reset(a,b,c),d;this.isFull_=d==this.capacity_-1;return
this.buffer_[d]=new
goog.log.LogRecord(a,b,c)};third_party$javascript$closure$log$log$classdecl$var2.pr
ototype.isBufferingEnabled=function(){return 0<this.capacity_};
third_party$javascript$closure$log$log$classdecl$var2.prototype.clear=function()
{this.buffer_=Array(this.capacity_);this.curIndex_=-1;this.isFull_=!
1};goog.log.LogBuffer=third_party$javascript$closure$log$log$classdecl$var2;goog.lo
g.LogBuffer.CAPACITY=0;goog.log.LogBuffer.getInstance=function()
{goog.log.LogBuffer.instance_||(goog.log.LogBuffer.instance_=new
goog.log.LogBuffer(goog.log.LogBuffer.CAPACITY));return
goog.log.LogBuffer.instance_};goog.log.LogBuffer.isBufferingEnabled=function()
{return goog.log.LogBuffer.getInstance().isBufferingEnabled()};
var third_party$javascript$closure$log$log$classdecl$var3=function(a,b,c,d,e)
{this.reset(a||
goog.log.Level.OFF,b,c,d,e)};third_party$javascript$closure$log$log$classdecl$var3.
prototype.reset=function(a,b,c,d){d||
goog.now();this.level_=a};third_party$javascript$closure$log$log$classdecl$var3.pro
totype.getLevel=function(){return
this.level_};third_party$javascript$closure$log$log$classdecl$var3.prototype.setLev
el=function(a){this.level_=a};
third_party$javascript$closure$log$log$classdecl$var3.prototype.setMessage=function
()
{};goog.log.LogRecord=third_party$javascript$closure$log$log$classdecl$var3;goog.lo
g.LogRecord.nextSequenceNumber_=0;var
third_party$javascript$closure$log$log$classdecl$var4=function(a,b){b=void 0===b?
null:b;this.level=null;this.handlers=[];this.parent=b||
null;this.children=[];this.logger={getName:function(){return a}}};
third_party$javascript$closure$log$log$classdecl$var4.prototype.getEffectiveLevel=f
unction(){if(this.level)return this.level;if(this.parent)return
this.parent.getEffectiveLevel();goog.asserts.fail("Root logger has no level
set.");return
goog.log.Level.OFF};third_party$javascript$closure$log$log$classdecl$var4.prototype
.publish=function(a){for(var b=this;b;)b.handlers.forEach(function(c)
{c(a)}),b=b.parent};goog.log.LogRegistryEntry_=third_party$javascript$closure$log$l
og$classdecl$var4;
var third_party$javascript$closure$log$log$classdecl$var5=function()
{this.entries={};var a=new
goog.log.LogRegistryEntry_(goog.log.ROOT_LOGGER_NAME);a.level=goog.log.Level.CONFIG
;this.entries[goog.log.ROOT_LOGGER_NAME]=a};
third_party$javascript$closure$log$log$classdecl$var5.prototype.getLogRegistryEntry
=function(a,b){var c=this.entries[a];if(c)return void 0!
==b&&(c.level=b),c;c=a.lastIndexOf(".");c=a.slice(0,Math.max(c,0));c=this.getLogReg
istryEntry(c);var d=new
goog.log.LogRegistryEntry_(a,c);this.entries[a]=d;c.children.push(d);void 0!
==b&&(d.level=b);return
d};third_party$javascript$closure$log$log$classdecl$var5.prototype.getAllLoggers=fu
nction(){var a=this;return Object.keys(this.entries).map(function(b){return
a.entries[b].logger})};
goog.log.LogRegistry_=third_party$javascript$closure$log$log$classdecl$var5;goog.lo
g.LogRegistry_.getInstance=function(){goog.log.LogRegistry_.instance_||
(goog.log.LogRegistry_.instance_=new goog.log.LogRegistry_);return
goog.log.LogRegistry_.instance_};goog.log.getLogger=function(a,b){return
goog.log.ENABLED?
(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a,b),a.logger):null};
goog.log.getRootLogger=function(){if(goog.log.ENABLED){var
a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(goog.log.ROOT_LOGGER_NAME
);return a.logger}return null};goog.log.addHandler=function(a,b)
{goog.log.ENABLED&&a&&(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.
getName()),a.handlers.push(b))};
goog.log.removeHandler=function(a,b){return
goog.log.ENABLED&&a&&(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.g
etName()),b=a.handlers.indexOf(b),-1!==b)?(a.handlers.splice(b,1),!0):!
1};goog.log.setLevel=function(a,b)
{goog.log.ENABLED&&a&&(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.
getName()),a.level=b)};goog.log.getLevel=function(a){return goog.log.ENABLED&&a?
(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.getName()),a.level):nu
ll};
goog.log.getEffectiveLevel=function(a){return goog.log.ENABLED&&a?
(a=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.getName()),a.getEffect
iveLevel()):goog.log.Level.OFF};goog.log.isLoggable=function(a,b){return
goog.log.ENABLED&&a&&b?b.value>=goog.log.getEffectiveLevel(a).value:!
1};goog.log.getAllLoggers=function(){return goog.log.ENABLED?
goog.log.LogRegistry_.getInstance().getAllLoggers():[]};
goog.log.getLogRecord=function(a,b,c){return
a=goog.log.LogBuffer.getInstance().addRecord(b||
goog.log.Level.OFF,c,a.getName())};goog.log.publishLogRecord=function(a,b)
{goog.log.ENABLED&&a&&goog.log.isLoggable(a,b.getLevel())&&(a=goog.log.LogRegistry_
.getInstance().getLogRegistryEntry(a.getName()),a.publish(b))};
goog.log.log=function(a,b,c){if(goog.log.ENABLED&&a&&goog.log.isLoggable(a,b))
{b=b||goog.log.Level.OFF;var
d=goog.log.LogRegistry_.getInstance().getLogRegistryEntry(a.getName());"function"==
=typeof
c&&(c=c());a=goog.log.LogBuffer.getInstance().addRecord(b,c,a.getName());d.publish(
a)}};goog.log.error=function(a,b,c)
{goog.log.ENABLED&&a&&goog.log.log(a,goog.log.Level.SEVERE,b,c)};goog.log.warning=f
unction(a,b,c){goog.log.ENABLED&&a&&goog.log.log(a,goog.log.Level.WARNING,b,c)};
goog.log.info=function(a,b,c)
{goog.log.ENABLED&&a&&goog.log.log(a,goog.log.Level.INFO,b,c)};goog.log.fine=functi
on(a,b,c){goog.log.ENABLED&&a&&goog.log.log(a,goog.log.Level.FINE,b,c)};var
module$exports$google3$third_party$javascript$safevalues$dom$elements$svg_use={};fu
nction
module$contents$google3$third_party$javascript$safevalues$dom$elements$svg_use_setH
ref(a,b){var
c=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_e
xtractScheme(b);"javascript:"===c||"data:"===c?goog.DEBUG&&(a="A URL with content
'"+b+"' was sanitized away.",(0,goog.log.warning)((0,goog.log.getLogger)
("safevalues"),a)):a.setAttribute("href",b)}
module$exports$google3$third_party$javascript$safevalues$dom$elements$svg_use.setHr
ef=module$contents$google3$third_party$javascript$safevalues$dom$elements$svg_use_s
etHref;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$document={};fu
nction
module$contents$google3$third_party$javascript$safevalues$dom$globals$document_writ
e(a,b)
{a.write((0,module$exports$google3$third_party$javascript$safevalues$internals$html
_impl.unwrapHtml)
(b))}module$exports$google3$third_party$javascript$safevalues$dom$globals$document.
write=module$contents$google3$third_party$javascript$safevalues$dom$globals$documen
t_write;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$document_exec
Command(a,b,c){b=String(b);var
d=c;"inserthtml"===b.toLowerCase()&&(d=(0,module$exports$google3$third_party$javasc
ript$safevalues$internals$html_impl.unwrapHtml)(c));return a.execCommand(b,!
1,d)}module$exports$google3$third_party$javascript$safevalues$dom$globals$document.
execCommand=module$contents$google3$third_party$javascript$safevalues$dom$globals$d
ocument_execCommand;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$document_exec
CommandInsertHtml(a,b){return a.execCommand("insertHTML",!1,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.unw
rapHtml)
(b))}module$exports$google3$third_party$javascript$safevalues$dom$globals$document.
execCommandInsertHtml=module$contents$google3$third_party$javascript$safevalues$dom
$globals$document_execCommandInsertHtml;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$dom_parser={};
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_parser_pa
rseHtml(a,b){return
module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_parser_pa
rseFromString(a,b,"text/
html")}module$exports$google3$third_party$javascript$safevalues$dom$globals$dom_par
ser.parseHtml=module$contents$google3$third_party$javascript$safevalues$dom$globals
$dom_parser_parseHtml;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_parser_pa
rseXml(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_parser
_parseFromString(a,
(0,module$exports$google3$third_party$javascript$safevalues$internals$html_impl.cre
ateHtmlInternal)(b),"text/
xml");b=document.createNodeIterator(a,NodeFilter.SHOW_ALL,null,!1);for(var
c;c=b.nextNode();)if(c instanceof HTMLElement||c instanceof SVGElement)throw
a="unsafe XML",goog.DEBUG&&(a="attempted to parse an XML document that embeds HTML
or SVG content"),
Error(a);return
a}module$exports$google3$third_party$javascript$safevalues$dom$globals$dom_parser.p
arseXml=module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_p
arser_parseXml;function
module$contents$google3$third_party$javascript$safevalues$dom$globals$dom_parser_pa
rseFromString(a,b,c){return
a.parseFromString((0,module$exports$google3$third_party$javascript$safevalues$inter
nals$html_impl.unwrapHtml)(b),c)}
module$exports$google3$third_party$javascript$safevalues$dom$globals$dom_parser.par
seFromString=module$contents$google3$third_party$javascript$safevalues$dom$globals$
dom_parser_parseFromString;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$fetch={Incorre
ctContentTypeError:function(a,b,c){b=Error.call(this,a+" was requested as a "+b+',
but the response Content-Type, "'+c+" is not appropriate for this type of
content.");this.message=b.message;"stack"in
b&&(this.stack=b.stack);this.url=a;this.contentType=c}};
$jscomp.inherits(module$exports$google3$third_party$javascript$safevalues$dom$globa
ls$fetch.IncorrectContentTypeError,Error);
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$fetch_SafeRes
ponse()
{}module$exports$google3$third_party$javascript$safevalues$dom$globals$fetch.SafeRe
sponse=module$contents$google3$third_party$javascript$safevalues$dom$globals$fetch_
SafeResponse;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$fetch_fetchRe
sourceUrl(a,b){var c,d,e,f,g;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(h){if(1==h.nextAddress)return
h.yield(fetch(module$contents$google3$third_party$javascript$safevalues$internals$r
esource_url_impl_unwrapResourceUrl(a).toString(),b),2);c=h.yieldResult;g=null==(d=c
.headers.get("Content-Type"))?void 0:null==(e=d.split(";",2))?void
0:null==(f=e[0])?void 0:f.toLowerCase();return h.return({html:function(){var k;
return $jscomp.asyncExecutePromiseGeneratorProgram(function(l){if(1==l.nextAddress)
{if("text/html"!==g)throw new
module$exports$google3$third_party$javascript$safevalues$dom$globals$fetch.Incorrec
tContentTypeError(c.url,"SafeHtml","text/html");return
l.yield(c.text(),2)}k=l.yieldResult;return
l.return((0,module$exports$google3$third_party$javascript$safevalues$internals$html
_impl.createHtmlInternal)(k))})},script:function(){var k;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(l){if(1==
l.nextAddress){if("text/javascript"!==g&&"application/javascript"!==g)throw new
module$exports$google3$third_party$javascript$safevalues$dom$globals$fetch.Incorrec
tContentTypeError(c.url,"SafeScript","text/javascript");return
l.yield(c.text(),2)}k=l.yieldResult;return
l.return(module$contents$google3$third_party$javascript$safevalues$internals$script
_impl_createScriptInternal(k))})},styleSheet:function(){var k;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(l){if(1==l.nextAddress)
{if("text/css"!==
g)throw new
module$exports$google3$third_party$javascript$safevalues$dom$globals$fetch.Incorrec
tContentTypeError(c.url,"SafeStyleSheet","text/css");return
l.yield(c.text(),2)}k=l.yieldResult;return
l.return((0,module$exports$goog$html$safestylesheet_internals_for_safevalues.create
SafeStyleSheet)
(k))})}})})}module$exports$google3$third_party$javascript$safevalues$dom$globals$fe
tch.fetchResourceUrl=module$contents$google3$third_party$javascript$safevalues$dom$
globals$fetch_fetchResourceUrl;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$global={};modu
le$exports$google3$third_party$javascript$safevalues$dom$globals$global.fetchResour
ceUrl=module$contents$google3$third_party$javascript$safevalues$dom$globals$fetch_f
etchResourceUrl;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$global_global
Eval(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$internals$script_impl_
unwrapScript(b);var c=a.eval(b);c===b&&(c=a.eval(b.toString()));return
c}module$exports$google3$third_party$javascript$safevalues$dom$globals$global.globa
lEval=module$contents$google3$third_party$javascript$safevalues$dom$globals$global_
globalEval;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$location={};fu
nction
module$contents$google3$third_party$javascript$safevalues$dom$globals$location_setH
ref(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&(a.href=b)}module$exports$google3$third_party$javascript$safevalues$dom$global
s$location.setHref=module$contents$google3$third_party$javascript$safevalues$dom$gl
obals$location_setHref;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$location_repl
ace(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&a.replace(b)}module$exports$google3$third_party$javascript$safevalues$dom$glob
als$location.replace=module$contents$google3$third_party$javascript$safevalues$dom$
globals$location_replace;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$location_assi
gn(a,b)
{b=module$contents$google3$third_party$javascript$safevalues$builders$url_builders_
unwrapUrlOrSanitize(b);void 0!
==b&&a.assign(b)}module$exports$google3$third_party$javascript$safevalues$dom$globa
ls$location.assign=module$contents$google3$third_party$javascript$safevalues$dom$gl
obals$location_assign;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$service_worker
_container={};function
module$contents$google3$third_party$javascript$safevalues$dom$globals$service_worke
r_container_register(a,b,c){return
a.register(module$contents$google3$third_party$javascript$safevalues$internals$reso
urce_url_impl_unwrapResourceUrl(b),c)}module$exports$google3$third_party$javascript
$safevalues$dom$globals$service_worker_container.register=module$contents$google3$t
hird_party$javascript$safevalues$dom$globals$service_worker_container_register;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$url={};functio
n
module$contents$google3$third_party$javascript$safevalues$dom$globals$url_objectUrl
FromSafeSource(a){return
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_obj
ectUrlFromSafeSource(a).toString()}module$exports$google3$third_party$javascript$sa
fevalues$dom$globals$url.objectUrlFromSafeSource=module$contents$google3$third_part
y$javascript$safevalues$dom$globals$url_objectUrlFromSafeSource;var
module$exports$google3$third_party$javascript$safevalues$dom$globals$worker={};func
tion
module$contents$google3$third_party$javascript$safevalues$dom$globals$worker_ScopeW
ithImportScripts()
{}module$exports$google3$third_party$javascript$safevalues$dom$globals$worker.Scope
WithImportScripts=module$contents$google3$third_party$javascript$safevalues$dom$glo
bals$worker_ScopeWithImportScripts;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$worker_create
(a,b){return new
Worker(module$contents$google3$third_party$javascript$safevalues$internals$resource
_url_impl_unwrapResourceUrl(a),b)}module$exports$google3$third_party$javascript$saf
evalues$dom$globals$worker.create=module$contents$google3$third_party$javascript$sa
fevalues$dom$globals$worker_create;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$worker_create
Shared(a,b){return new
SharedWorker(module$contents$google3$third_party$javascript$safevalues$internals$re
source_url_impl_unwrapResourceUrl(a),b)}module$exports$google3$third_party$javascri
pt$safevalues$dom$globals$worker.createShared=module$contents$google3$third_party$j
avascript$safevalues$dom$globals$worker_createShared;
function
module$contents$google3$third_party$javascript$safevalues$dom$globals$worker_import
Scripts(a){var
b=$jscomp.getRestArguments.apply(1,arguments);a.importScripts.apply(a,
$jscomp.arrayFromIterable(b.map(function(c){return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_unwrapResourceUrl(c)})))}module$exports$google3$third_party$javascript$safevalue
s$dom$globals$worker.importScripts=module$contents$google3$third_party$javascript$s
afevalues$dom$globals$worker_importScripts;safevalues.dom={};safevalues.dom.safeAnc
horEl=module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor;
safevalues.dom.safeAreaEl=module$exports$google3$third_party$javascript$safevalues$
dom$elements$area;safevalues.dom.safeBaseEl=module$exports$google3$third_party$java
script$safevalues$dom$elements$base;safevalues.dom.safeButtonEl=module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$button;safevalues.dom.safeElemen
t=module$exports$google3$third_party$javascript$safevalues$dom$elements$element;
safevalues.dom.safeEmbedEl=module$exports$google3$third_party$javascript$safevalues
$dom$elements$embed;safevalues.dom.safeFormEl=module$exports$google3$third_party$ja
vascript$safevalues$dom$elements$form;safevalues.dom.safeIframeEl=module$exports$go
ogle3$third_party$javascript$safevalues$dom$elements$iframe;safevalues.dom.safeInpu
tEl=module$exports$google3$third_party$javascript$safevalues$dom$elements$input;saf
evalues.dom.safeLinkEl=module$exports$google3$third_party$javascript$safevalues$dom
$elements$link;
safevalues.dom.safeObjectEl=module$exports$google3$third_party$javascript$safevalue
s$dom$elements$object;safevalues.dom.safeScriptEl=module$exports$google3$third_part
y$javascript$safevalues$dom$elements$script;safevalues.dom.safeStyleEl=module$expor
ts$google3$third_party$javascript$safevalues$dom$elements$style;safevalues.dom.safe
SvgEl=module$exports$google3$third_party$javascript$safevalues$dom$elements$svg;saf
evalues.dom.safeSvgUseEl=module$exports$google3$third_party$javascript$safevalues$d
om$elements$svg_use;
safevalues.dom.safeDocument=module$exports$google3$third_party$javascript$safevalue
s$dom$globals$document;safevalues.dom.safeDomParser=module$exports$google3$third_pa
rty$javascript$safevalues$dom$globals$dom_parser;safevalues.dom.safeGlobal=module$e
xports$google3$third_party$javascript$safevalues$dom$globals$global;safevalues.dom.
safeLocation=module$exports$google3$third_party$javascript$safevalues$dom$globals$l
ocation;safevalues.dom.safeRange=module$exports$google3$third_party$javascript$safe
values$dom$globals$range;
safevalues.dom.safeServiceWorkerContainer=module$exports$google3$third_party$javasc
ript$safevalues$dom$globals$service_worker_container;safevalues.dom.safeUrl=module$
exports$google3$third_party$javascript$safevalues$dom$globals$url;safevalues.dom.sa
feWindow=module$exports$google3$third_party$javascript$safevalues$dom$globals$windo
w;safevalues.dom.safeWorker=module$exports$google3$third_party$javascript$safevalue
s$dom$globals$worker;goog.string.DETECT_DOUBLE_ESCAPING=!
1;goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;goog.string.Unicode={NBSP:"\
u00a0",ZERO_WIDTH_SPACE:"\
u200b"};goog.string.startsWith=goog.string.internal.startsWith;goog.string.endsWith
=goog.string.internal.endsWith;goog.string.caseInsensitiveStartsWith=goog.string.in
ternal.caseInsensitiveStartsWith;goog.string.caseInsensitiveEndsWith=goog.string.in
ternal.caseInsensitiveEndsWith;goog.string.caseInsensitiveEquals=goog.string.intern
al.caseInsensitiveEquals;
goog.string.subs=function(a,b){for(var
c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length
;)d+=c.shift()+e.shift();return
d+c.join("%s")};goog.string.collapseWhitespace=function(a){return a.replace(/[\s\
xa0]+/g,"
").replace(/^\s+|\s+$/g,"")};goog.string.isEmptyOrWhitespace=goog.string.internal.i
sEmptyOrWhitespace;goog.string.isEmptyString=function(a){return
0==a.length};goog.string.isEmpty=goog.string.isEmptyOrWhitespace;goog.string.isEmpt
yOrWhitespaceSafe=function(a){return
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(a))};
goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe;goog.string.isBreakingW
hitespace=function(a){return!/[^\t\n\r ]/.test(a)};goog.string.isAlpha=function(a)
{return!/[^a-zA-Z]/.test(a)};goog.string.isNumeric=function(a){return!/[^0-
9]/.test(a)};goog.string.isAlphaNumeric=function(a){return!/[^a-zA-Z0-
9]/.test(a)};goog.string.isSpace=function(a){return"
"==a};goog.string.isUnicodeChar=function(a){return 1==a.length&&" "<=a&&"~">=a||"\
u0080"<=a&&"\ufffd">=a};
goog.string.stripNewlines=function(a){return a.replace(/(\r\n|\r|\n)+/g,"
")};goog.string.canonicalizeNewlines=function(a){return
a.replace(/(\r\n|\r|\n)/g,"\n")};goog.string.normalizeWhitespace=function(a){return
a.replace(/\xa0|\s/g," ")};goog.string.normalizeSpaces=function(a){return
a.replace(/\xa0|[ \t]+/g," ")};goog.string.collapseBreakingSpaces=function(a)
{return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n
]+$/g,"")};goog.string.trim=goog.string.internal.trim;
goog.string.trimLeft=function(a){return a.replace(/^[\s\
xa0]+/,"")};goog.string.trimRight=function(a){return a.replace(/[\s\xa0]+
$/,"")};goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveComp
are;
goog.string.numberAwareCompare_=function(a,b,c){if(a==b)return 0;if(!a)return-
1;if(!b)return 1;for(var
d=a.toLowerCase().match(c),e=b.toLowerCase().match(c),f=Math.min(d.length,e.length)
,g=0;g<f;g++){c=d[g];var h=e[g];if(c!=h)return a=parseInt(c,10),!
isNaN(a)&&(b=parseInt(h,10),!isNaN(b)&&a-b)?a-b:c<h?-1:1}return d.length!=e.length?
d.length-e.length:a<b?-1:1};goog.string.intAwareCompare=function(a,b){return
goog.string.numberAwareCompare_(a,b,/\d+|\D+/g)};
goog.string.floatAwareCompare=function(a,b){return
goog.string.numberAwareCompare_(a,b,/\d+|\.\d+|\D+/g)};goog.string.numerateCompare=
goog.string.floatAwareCompare;goog.string.urlEncode=function(a){return
encodeURIComponent(String(a))};goog.string.urlDecode=function(a){return
decodeURIComponent(a.replace(/\+/g,"
"))};goog.string.newLineToBr=goog.string.internal.newLineToBr;
goog.string.htmlEscape=function(a,b)
{a=goog.string.internal.htmlEscape(a,b);goog.string.DETECT_DOUBLE_ESCAPING&&(a=a.re
place(goog.string.E_RE_,"&#101;"));return
a};goog.string.E_RE_=/e/g;goog.string.unescapeEntities=function(a){return
goog.string.contains(a,"&")?!
goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?
goog.string.unescapeEntitiesUsingDom_(a):goog.string.unescapePureXmlEntities_(a):a}
;
goog.string.unescapeEntitiesWithDocument=function(a,b){return
goog.string.contains(a,"&")?goog.string.unescapeEntitiesUsingDom_(a,b):a};
goog.string.unescapeEntitiesUsingDom_=function(a,b){var
c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var d=b?
b.createElement("div"):goog.global.document.createElement("div");return
a.replace(goog.string.HTML_ENTITY_PATTERN_,function(e,f){var g=c[e];if(g)return
g;"#"==f.charAt(0)&&(f=Number("0"+f.slice(1)),isNaN(f)||
(g=String.fromCharCode(f)));g||
(module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setI
nnerHtml(d,module$contents$google3$third_party$javascript$safevalues$restricted$rev
iewed_htmlSafeByReview(e+
" ",{justification:"Single HTML entity."})),g=d.firstChild.nodeValue.slice(0,-
1));return c[e]=g})};goog.string.unescapePureXmlEntities_=function(a){return
a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case
"lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!
=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?
b:String.fromCharCode(c)}})};goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g;
goog.string.whitespaceEscape=function(a,b){return
goog.string.newLineToBr(a.replace(/ /g,"
&#160;"),b)};goog.string.preserveSpaces=function(a){return a.replace(/(^|[\n ])
/g,"$1"+goog.string.Unicode.NBSP)};goog.string.stripQuotes=function(a,b){for(var
c=b.length,d=0;d<c;d++){var e=1==c?
b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return
a.substring(1,a.length-1)}return a};
goog.string.truncate=function(a,b,c)
{c&&(a=goog.string.unescapeEntities(a));a.length>b&&(a=a.substring(0,b-
3)+"...");c&&(a=goog.string.htmlEscape(a));return
a};goog.string.truncateMiddle=function(a,b,c,d)
{c&&(a=goog.string.unescapeEntities(a));if(d&&a.length>b){d>b&&(d=b);var
e=a.length-d;b-=d;a=a.substring(0,b)+"..."+a.substring(e)}else
a.length>b&&(e=Math.floor(b/2),d=a.length-e,e+=b%2,a=a.substring(0,e)
+"..."+a.substring(d));c&&(a=goog.string.htmlEscape(a));return a};
goog.string.specialEscapeChars_={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\
r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\
u003C"};goog.string.jsEscapeCache_={"'":"\\'"};goog.string.quote=function(a)
{a=String(a);for(var b=['"'],c=0;c<a.length;c++){var
d=a.charAt(c),e=d.charCodeAt(0);b[c+1]=goog.string.specialEscapeChars_[d]||
(31<e&&127>e?d:goog.string.escapeChar(d))}b.push('"');return b.join("")};
goog.string.escapeString=function(a){for(var b=[],c=0;c<a.length;c+
+)b[c]=goog.string.escapeChar(a.charAt(c));return b.join("")};
goog.string.escapeChar=function(a){if(a in goog.string.jsEscapeCache_)return
goog.string.jsEscapeCache_[a];if(a in goog.string.specialEscapeChars_)return
goog.string.jsEscapeCache_[a]=goog.string.specialEscapeChars_[a];var
b=a.charCodeAt(0);if(31<b&&127>b)var c=a;else{if(256>b){if(c="\\x",16>b||
256<b)c+="0"}else c="\\u",4096>b&&(c+="0");c+=b.toString(16).toUpperCase()}return
goog.string.jsEscapeCache_[a]=c};goog.string.contains=goog.string.internal.contains
;goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains;
goog.string.countOf=function(a,b){return a&&b?a.split(b).length-
1:0};goog.string.removeAt=function(a,b,c){var
d=a;0<=b&&b<a.length&&0<c&&(d=a.slice(0,b)+a.slice(b+c));return
d};goog.string.remove=function(a,b){return
a.replace(b,"")};goog.string.removeAll=function(a,b){b=new
RegExp(goog.string.regExpEscape(b),"g");return
a.replace(b,"")};goog.string.replaceAll=function(a,b,c){b=new
RegExp(goog.string.regExpEscape(b),"g");return a.replace(b,c.replace(/\$/g,"$$$
$"))};
goog.string.regExpEscape=function(a){return String(a).replace(/([-()\[\]{}+?*.$\
^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\
x08")};goog.string.repeat=String.prototype.repeat?function(a,b){return
a.repeat(b)}:function(a,b){return
Array(b+1).join(a)};goog.string.padNumber=function(a,b,c){if(!
Number.isFinite(a))return String(a);a=void 0!==c?
a.toFixed(c):String(a);c=a.indexOf(".");-1===c&&(c=a.length);var
d="-"===a[0]?"-":"";d&&(a=a.substring(1));return
d+goog.string.repeat("0",Math.max(0,b-c))+a};
goog.string.makeSafe=function(a){return
null==a?"":String(a)};goog.string.getRandomString=function(){return
Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Ma
th.random())^goog.now()).toString(36)};goog.string.compareVersions=goog.string.inte
rnal.compareVersions;goog.string.hashCode=function(a){for(var b=0,c=0;c<a.length;+
+c)b=31*b+a.charCodeAt(c)>>>0;return
b};goog.string.uniqueStringCounter_=2147483648*Math.random()|0;
goog.string.createUniqueString=function()
{return"goog_"+goog.string.uniqueStringCounter_++};goog.string.toNumber=function(a)
{var b=Number(a);return 0==b&&goog.string.isEmptyOrWhitespace(a)?
NaN:b};goog.string.isLowerCamelCase=function(a){return/^[a-z]+([A-Z][a-
z]*)*$/.test(a)};goog.string.isUpperCamelCase=function(a){return/^([A-Z][a-z]*)+
$/.test(a)};goog.string.toCamelCase=function(a){return String(a).replace(/\-([a-
z])/g,function(b,c){return c.toUpperCase()})};
goog.string.toSelectorCase=function(a){return String(a).replace(/([A-Z])/g,"-
$1").toLowerCase()};goog.string.toTitleCase=function(a,b){b=(b="string"===typeof b?
goog.string.regExpEscape(b):"\\s")?"|["+b+"]+":"";b=new RegExp("(^"+b+")([a-
z])","g");return a.replace(b,function(c,d,e){return
d+e.toUpperCase()})};goog.string.capitalize=function(a){return
String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};
goog.string.parseInt=function(a){isFinite(a)&&(a=String(a));return"string"===typeof
a?/^\s*-?0x/i.test(a)?
parseInt(a,16):parseInt(a,10):NaN};goog.string.splitLimit=function(a,b,c)
{a=a.split(b);for(var
d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b));return
d};goog.string.lastComponent=function(a,b){if(b)"string"==typeof b&&(b=[b]);else
return a;for(var c=-1,d=0;d<b.length;d++)if(""!=b[d]){var
e=a.lastIndexOf(b[d]);e>c&&(c=e)}return-1==c?a:a.slice(c+1)};
goog.string.editDistance=function(a,b){var c=[],d=[];if(a==b)return 0;if(!
a.length||!b.length)return Math.max(a.length,b.length);for(var e=0;e<b.length+1;e+
+)c[e]=e;for(e=0;e<a.length;e++){d[0]=e+1;for(var f=0;f<b.length;f++){var
g=Number(a[e]!=b[f]);d[f+1]=Math.min(d[f]+1,c[f+1]+1,c[f]+g)}for(f=0;f<c.length;f+
+)c[f]=d[f]}return
d[b.length]};goog.dom.Appendable={};goog.dom.ASSUME_QUIRKS_MODE=!
1;goog.dom.ASSUME_STANDARDS_MODE=!
1;goog.dom.COMPAT_MODE_KNOWN_=goog.dom.ASSUME_QUIRKS_MODE||
goog.dom.ASSUME_STANDARDS_MODE;goog.dom.getDomHelper=function(a){return a?new
goog.dom.DomHelper(goog.dom.getOwnerDocument(a)):goog.dom.defaultDomHelper_||
(goog.dom.defaultDomHelper_=new
goog.dom.DomHelper)};goog.dom.getDocument=function(){return
document};goog.dom.getElement=function(a){return
goog.dom.getElementHelper_(document,a)};
goog.dom.getHTMLElement=function(a){return(a=goog.dom.getElement(a))?
module$contents$goog$asserts$dom_assertIsHtmlElement(a):null};goog.dom.getElementHe
lper_=function(a,b){return"string"===typeof b?
a.getElementById(b):b};goog.dom.getRequiredElement=function(a){return
goog.dom.getRequiredElementHelper_(document,a)};goog.dom.getRequiredHTMLElement=fun
ction(a){return
module$contents$goog$asserts$dom_assertIsHtmlElement(goog.dom.getRequiredElementHel
per_(document,a))};
goog.dom.getRequiredElementHelper_=function(a,b)
{goog.asserts.assertString(b);a=goog.dom.getElementHelper_(a,b);return
goog.asserts.assert(a,"No element found with id: "+b)};goog.dom.
$=goog.dom.getElement;goog.dom.getElementsByTagName=function(a,b){b=b||
document;return
b.getElementsByTagName(String(a))};goog.dom.getElementsByTagNameAndClass=function(a
,b,c){return goog.dom.getElementsByTagNameAndClass_(document,a,b,c)};
goog.dom.getElementByTagNameAndClass=function(a,b,c){return
goog.dom.getElementByTagNameAndClass_(document,a,b,c)};goog.dom.getElementsByClass=
function(a,b){var c=b||document;return goog.dom.canUseQuerySelector_(c)?
c.querySelectorAll("."+a):goog.dom.getElementsByTagNameAndClass_(document,"*",a,b)}
;goog.dom.getElementByClass=function(a,b){var c=b||
document;return(a=c.getElementsByClassName?c.getElementsByClassName(a)
[0]:goog.dom.getElementByTagNameAndClass_(document,"*",a,b))||null};
goog.dom.getHTMLElementByClass=function(a,b)
{return(a=goog.dom.getElementByClass(a,b))?
module$contents$goog$asserts$dom_assertIsHtmlElement(a):null};goog.dom.getRequiredE
lementByClass=function(a,b){b=goog.dom.getElementByClass(a,b);return
goog.asserts.assert(b,"No element found with className:
"+a)};goog.dom.getRequiredHTMLElementByClass=function(a,b)
{b=goog.dom.getElementByClass(a,b);goog.asserts.assert(b,"No HTMLElement found with
className: "+a);return module$contents$goog$asserts$dom_assertIsHtmlElement(b)};
goog.dom.canUseQuerySelector_=function(a){return!(!a.querySelectorAll||!
a.querySelector)};
goog.dom.getElementsByTagNameAndClass_=function(a,b,c,d){a=d||a;b=b&&"*"!=b?
String(b).toUpperCase():"";if(goog.dom.canUseQuerySelector_(a)&&(b||c))return c=b+
(c?"."+c:""),a.querySelectorAll(c);if(c&&a.getElementsByClassName)
{a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f+
+)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return
a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f+
+)b=g.className,"function"==typeof
b.split&&module$contents$goog$array_contains(b.split(/\s+/),
c)&&(d[e++]=g);d.length=e;return d}return
a};goog.dom.getElementByTagNameAndClass_=function(a,b,c,d){var e=d||a,f=b&&"*"!=b?
String(b).toUpperCase():"";if(goog.dom.canUseQuerySelector_(e)&&(f||c))return
e.querySelector(f+
(c?"."+c:""));a=goog.dom.getElementsByTagNameAndClass_(a,b,c,d);return a[0]||
null};goog.dom.$$=goog.dom.getElementsByTagNameAndClass;
goog.dom.setProperties=function(a,b)
{module$contents$goog$object_forEach(b,function(c,d){"style"==d?
a.style.cssText=c:"class"==d?a.className=c:"for"==d?
a.htmlFor=c:goog.dom.DIRECT_ATTRIBUTE_MAP_.hasOwnProperty(d)?
a.setAttribute(goog.dom.DIRECT_ATTRIBUTE_MAP_[d],c):goog.string.startsWith(d,"aria-
")||goog.string.startsWith(d,"data-")?a.setAttribute(d,c):a[d]=c})};
goog.dom.DIRECT_ATTRIBUTE_MAP_={cellpadding:"cellPadding",cellspacing:"cellSpacing"
,colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",
nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAl
ign",width:"width"};goog.dom.getViewportSize=function(a){return
goog.dom.getViewportSize_(a||window)};goog.dom.getViewportSize_=function(a)
{a=a.document;a=goog.dom.isCss1CompatMode_(a)?a.documentElement:a.body;return new
goog.math.Size(a.clientWidth,a.clientHeight)};
goog.dom.getDocumentHeight=function(){return
goog.dom.getDocumentHeight_(window)};goog.dom.getDocumentHeightForWindow=function(a
){return goog.dom.getDocumentHeight_(a)};
goog.dom.getDocumentHeight_=function(a){var b=a.document,c=0;if(b){c=b.body;var
d=b.documentElement;if(!d||!c)return
0;a=goog.dom.getViewportSize_(a).height;if(goog.dom.isCss1CompatMode_(b)&&d.scrollH
eight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var
e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?
b:e:b<e?b:e}}return c};goog.dom.getPageScroll=function(a){a=a||goog.global||
window;return goog.dom.getDomHelper(a.document).getDocumentScroll()};
goog.dom.getDocumentScroll=function(){return
goog.dom.getDocumentScroll_(document)};goog.dom.getDocumentScroll_=function(a){var
b=goog.dom.getDocumentScrollElement_(a);a=goog.dom.getWindow_(a);return new
goog.math.Coordinate(a.pageXOffset||b.scrollLeft,a.pageYOffset||
b.scrollTop)};goog.dom.getDocumentScrollElement=function(){return
goog.dom.getDocumentScrollElement_(document)};
goog.dom.getDocumentScrollElement_=function(a){return a.scrollingElement?
a.scrollingElement:!goog.userAgent.WEBKIT&&goog.dom.isCss1CompatMode_(a)?
a.documentElement:a.body||a.documentElement};goog.dom.getWindow=function(a){return
a?goog.dom.getWindow_(a):window};goog.dom.getWindow_=function(a){return
a.parentWindow||a.defaultView};goog.dom.createDom=function(a,b,c){return
goog.dom.createDom_(document,arguments)};
goog.dom.createDom_=function(a,b){var
c=String(b[0]),d=b[1];c=goog.dom.createElement_(a,c);d&&("string"===typeof d?
c.className=d:Array.isArray(d)?c.className=d.join("
"):goog.dom.setProperties(c,d));2<b.length&&goog.dom.append_(a,c,b,2);return c};
goog.dom.append_=function(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof
g?a.createTextNode(g):g)}for(;d<c.length;d++){var f=c[d];goog.isArrayLike(f)&&!
goog.dom.isNodeLike(f)?module$contents$goog$array_forEach(goog.dom.isNodeList(f)?
module$contents$goog$array_toArray(f):f,e):e(f)}};goog.dom.
$dom=goog.dom.createDom;goog.dom.createElement=function(a){return
goog.dom.createElement_(document,a)};
goog.dom.createElement_=function(a,b){b=String(b);"application/
xhtml+xml"===a.contentType&&(b=b.toLowerCase());return
a.createElement(b)};goog.dom.createTextNode=function(a){return
document.createTextNode(String(a))};goog.dom.createTable=function(a,b,c){return
goog.dom.createTable_(document,a,b,!!c)};
goog.dom.createTable_=function(a,b,c,d){for(var
e=goog.dom.createElement_(a,goog.dom.TagName.TABLE),f=e.appendChild(goog.dom.create
Element_(a,goog.dom.TagName.TBODY)),g=0;g<b;g++){for(var
h=goog.dom.createElement_(a,goog.dom.TagName.TR),k=0;k<c;k++){var
l=goog.dom.createElement_(a,goog.dom.TagName.TD);d&&goog.dom.setTextContent(l,goog.
string.Unicode.NBSP);h.appendChild(l)}f.appendChild(h)}return e};
goog.dom.constHtmlToNode=function(a){var
b=Array.prototype.map.call(arguments,goog.string.Const.unwrap);b=module$contents$go
ogle3$third_party$javascript$safevalues$restricted$reviewed_htmlSafeByReview(b.join
(""),{justification:"Constant HTML string, that gets turned into a Node later, so
it will be automatically balanced."});return
goog.dom.safeHtmlToNode(b)};goog.dom.safeHtmlToNode=function(a){return
goog.dom.safeHtmlToNode_(document,a)};
goog.dom.safeHtmlToNode_=function(a,b){var
c=goog.dom.createElement_(a,goog.dom.TagName.DIV);goog.dom.safe.setInnerHtml(c,b);r
eturn goog.dom.childrenToNode_(a,c)};goog.dom.childrenToNode_=function(a,b)
{if(1==b.childNodes.length)return
b.removeChild(goog.asserts.assert(b.firstChild));for(a=a.createDocumentFragment();b
.firstChild;)a.appendChild(b.firstChild);return
a};goog.dom.isCss1CompatMode=function(){return
goog.dom.isCss1CompatMode_(document)};
goog.dom.isCss1CompatMode_=function(a){return goog.dom.COMPAT_MODE_KNOWN_?
goog.dom.ASSUME_STANDARDS_MODE:"CSS1Compat"==a.compatMode};goog.dom.canHaveChildren
=function(a){if(a.nodeType!=goog.dom.NodeType.ELEMENT)return!1;switch(a.tagName)
{case String(goog.dom.TagName.APPLET):case String(goog.dom.TagName.AREA):case
String(goog.dom.TagName.BASE):case String(goog.dom.TagName.BR):case
String(goog.dom.TagName.COL):case String(goog.dom.TagName.COMMAND):case
String(goog.dom.TagName.EMBED):case String(goog.dom.TagName.FRAME):case
String(goog.dom.TagName.HR):case String(goog.dom.TagName.IMG):case
String(goog.dom.TagName.INPUT):case String(goog.dom.TagName.IFRAME):case
String(goog.dom.TagName.ISINDEX):case String(goog.dom.TagName.KEYGEN):case
String(goog.dom.TagName.LINK):case String(goog.dom.TagName.NOFRAMES):case
String(goog.dom.TagName.NOSCRIPT):case String(goog.dom.TagName.META):case
String(goog.dom.TagName.OBJECT):case String(goog.dom.TagName.PARAM):case
String(goog.dom.TagName.SCRIPT):case String(goog.dom.TagName.SOURCE):case
String(goog.dom.TagName.STYLE):case String(goog.dom.TagName.TRACK):case
String(goog.dom.TagName.WBR):return!1}return!0};
goog.dom.appendChild=function(a,b){goog.asserts.assert(null!=a&&null!
=b,"goog.dom.appendChild expects non-null
arguments");a.appendChild(b)};goog.dom.append=function(a,b)
{goog.dom.append_(goog.dom.getOwnerDocument(a),a,arguments,1)};goog.dom.removeChild
ren=function(a){for(var
b;b=a.firstChild;)a.removeChild(b)};goog.dom.insertSiblingBefore=function(a,b)
{goog.asserts.assert(null!=a&&null!=b,"goog.dom.insertSiblingBefore expects non-
null arguments");b.parentNode&&b.parentNode.insertBefore(a,b)};
goog.dom.insertSiblingAfter=function(a,b){goog.asserts.assert(null!=a&&null!
=b,"goog.dom.insertSiblingAfter expects non-null
arguments");b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};goog.dom.inse
rtChildAt=function(a,b,c){goog.asserts.assert(null!=a,"goog.dom.insertChildAt
expects a non-null parent");a.insertBefore(b,a.childNodes[c]||
null)};goog.dom.removeNode=function(a){return a&&a.parentNode?
a.parentNode.removeChild(a):null};
goog.dom.replaceNode=function(a,b){goog.asserts.assert(null!=a&&null!
=b,"goog.dom.replaceNode expects non-null arguments");var
c=b.parentNode;c&&c.replaceChild(a,b)};goog.dom.copyContents=function(a,b)
{goog.asserts.assert(null!=a&&null!=b,"goog.dom.copyContents expects non-null
arguments");b=b.cloneNode(!
0).childNodes;for(goog.dom.removeChildren(a);b.length;)a.appendChild(b[0])};
goog.dom.flattenElement=function(a){var b,c=a.parentNode;if(c&&c.nodeType!
=goog.dom.NodeType.DOCUMENT_FRAGMENT){if(a.removeNode)return a.removeNode(!
1);for(;b=a.firstChild;)c.insertBefore(b,a);return
goog.dom.removeNode(a)}};goog.dom.getChildren=function(a){return void 0!
=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return
b.nodeType==goog.dom.NodeType.ELEMENT})};
goog.dom.getFirstElementChild=function(a){return void 0!==a.firstElementChild?
a.firstElementChild:goog.dom.getNextElementNode_(a.firstChild,!
0)};goog.dom.getLastElementChild=function(a){return void 0!==a.lastElementChild?
a.lastElementChild:goog.dom.getNextElementNode_(a.lastChild,!
1)};goog.dom.getNextElementSibling=function(a){return void 0!
==a.nextElementSibling?
a.nextElementSibling:goog.dom.getNextElementNode_(a.nextSibling,!0)};
goog.dom.getPreviousElementSibling=function(a){return void 0!
==a.previousElementSibling?
a.previousElementSibling:goog.dom.getNextElementNode_(a.previousSibling,!
1)};goog.dom.getNextElementNode_=function(a,b){for(;a&&a.nodeType!
=goog.dom.NodeType.ELEMENT;)a=b?a.nextSibling:a.previousSibling;return
a};goog.dom.getNextNode=function(a){if(!a)return null;if(a.firstChild)return
a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null};
goog.dom.getPreviousNode=function(a){if(!a)return null;if(!a.previousSibling)return
a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return
a};goog.dom.isNodeLike=function(a){return
goog.isObject(a)&&0<a.nodeType};goog.dom.isElement=function(a){return
goog.isObject(a)&&a.nodeType==goog.dom.NodeType.ELEMENT};goog.dom.isWindow=function
(a){return goog.isObject(a)&&a.window==a};
goog.dom.getParentElement=function(a){var
b;if(goog.userAgent.WEBKIT&&(b=a.parentElement))return b;b=a.parentNode;return
goog.dom.isElement(b)?b:null};goog.dom.contains=function(a,b){if(!a||!b)return!
1;if(a.contains&&b.nodeType==goog.dom.NodeType.ELEMENT)return a==b||
a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!
(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
goog.dom.compareNodeOrder=function(a,b){if(a==b)return
0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-
1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var
c=a.nodeType==goog.dom.NodeType.ELEMENT,d=b.nodeType==goog.dom.NodeType.ELEMENT;if(
c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return
e==f?goog.dom.compareSiblingOrder_(a,b):!c&&goog.dom.contains(e,b)?-
1*goog.dom.compareParentsDescendantNodeIe_(a,b):!d&&goog.dom.contains(f,
a)?goog.dom.compareParentsDescendantNodeIe_(b,a):(c?a.sourceIndex:e.sourceIndex)-
(d?
b.sourceIndex:f.sourceIndex)}d=goog.dom.getOwnerDocument(a);c=d.createRange();c.sel
ectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return
c.compareBoundaryPoints(goog.global.Range.START_TO_END,a)};goog.dom.compareParentsD
escendantNodeIe_=function(a,b){var c=a.parentNode;if(c==b)return-
1;for(;b.parentNode!=c;)b=b.parentNode;return goog.dom.compareSiblingOrder_(b,a)};
goog.dom.compareSiblingOrder_=function(a,b)
{for(;b=b.previousSibling;)if(b==a)return-1;return
1};goog.dom.findCommonAncestor=function(a){var b,c=arguments.length;if(!c)return
null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var
f=[],g=arguments[b];g;)f.unshift(g),g=g.parentNode;d.push(f);e=Math.min(e,f.length)
}f=null;for(b=0;b<e;b++){g=d[0][b];for(var h=1;h<c;h++)if(g!=d[h][b])return
f;f=g}return f};
goog.dom.isInDocument=function(a){return
16==(a.ownerDocument.compareDocumentPosition(a)&16)};goog.dom.getOwnerDocument=func
tion(a){goog.asserts.assert(a,"Node cannot be null or undefined.");return
a.nodeType==goog.dom.NodeType.DOCUMENT?a:a.ownerDocument||
a.document};goog.dom.getFrameContentDocument=function(a){return a.contentDocument||
a.contentWindow.document};goog.dom.getFrameContentWindow=function(a){try{return
a.contentWindow||(a.contentDocument?
goog.dom.getWindow(a.contentDocument):null)}catch(b){}return null};
goog.dom.setTextContent=function(a,b){goog.asserts.assert(null!
=a,"goog.dom.setTextContent expects a non-null value for node");if("textContent"in
a)a.textContent=b;else if(a.nodeType==goog.dom.NodeType.TEXT)a.data=String(b);else
if(a.firstChild&&a.firstChild.nodeType==goog.dom.NodeType.TEXT){for(;a.lastChild!
=a.firstChild;)a.removeChild(goog.asserts.assert(a.lastChild));a.firstChild.data=St
ring(b)}else{goog.dom.removeChildren(a);var
c=goog.dom.getOwnerDocument(a);a.appendChild(c.createTextNode(String(b)))}};
goog.dom.getOuterHtml=function(a){goog.asserts.assert(null!
==a,"goog.dom.getOuterHtml expects a non-null value for element");if("outerHTML"in
a)return a.outerHTML;var
b=goog.dom.getOwnerDocument(a);b=goog.dom.createElement_(b,goog.dom.TagName.DIV);b.
appendChild(a.cloneNode(!0));return b.innerHTML};goog.dom.findNode=function(a,b)
{var c=[];return(a=goog.dom.findNodes_(a,b,c,!0))?c[0]:void
0};goog.dom.findNodes=function(a,b){var c=[];goog.dom.findNodes_(a,b,c,!1);return
c};
goog.dom.findNodes_=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;)
{if(b(a)&&(c.push(a),d)||goog.dom.findNodes_(a,b,c,d))return!
0;a=a.nextSibling}return!1};goog.dom.findElement=function(a,b)
{for(a=goog.dom.getChildrenReverse_(a);0<a.length;){var c=a.pop();if(b(c))return
c;for(c=c.lastElementChild;c;c=c.previousElementSibling)a.push(c)}return null};
goog.dom.findElements=function(a,b){var
c=[];for(a=goog.dom.getChildrenReverse_(a);0<a.length;){var
d=a.pop();b(d)&&c.push(d);for(d=d.lastElementChild;d;d=d.previousElementSibling)a.p
ush(d)}return c};goog.dom.getChildrenReverse_=function(a)
{if(a.nodeType==goog.dom.NodeType.DOCUMENT)return[a.documentElement];var
b=[];for(a=a.lastElementChild;a;a=a.previousElementSibling)b.push(a);return
b};goog.dom.TAGS_TO_IGNORE_={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};
goog.dom.PREDEFINED_TAG_VALUES_={IMG:" ",BR:"\
n"};goog.dom.isFocusableTabIndex=function(a){return
goog.dom.hasSpecifiedTabIndex_(a)&&goog.dom.isTabIndexFocusable_(a)};goog.dom.setFo
cusableTabIndex=function(a,b){b?a.tabIndex=0:(a.tabIndex=-
1,a.removeAttribute("tabIndex"))};goog.dom.isFocusable=function(a){return
a=goog.dom.nativelySupportsFocus_(a)?!a.disabled&&(!
goog.dom.hasSpecifiedTabIndex_(a)||
goog.dom.isTabIndexFocusable_(a)):goog.dom.isFocusableTabIndex(a)};goog.dom.hasSpec
ifiedTabIndex_=function(a){return a.hasAttribute("tabindex")};
goog.dom.isTabIndexFocusable_=function(a){a=a.tabIndex;return"number"===typeof
a&&0<=a&&32768>a};goog.dom.nativelySupportsFocus_=function(a){return
a.tagName==goog.dom.TagName.A&&a.hasAttribute("href")||
a.tagName==goog.dom.TagName.INPUT||a.tagName==goog.dom.TagName.TEXTAREA||
a.tagName==goog.dom.TagName.SELECT||a.tagName==goog.dom.TagName.BUTTON};
goog.dom.hasNonZeroBoundingRect_=function(a){a="function"!==typeof
a.getBoundingClientRect?
{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect();return null!
=a&&0<a.height&&0<a.width};goog.dom.getTextContent=function(a){var
b=[];goog.dom.getTextContent_(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g,"
").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");" "!
=a&&(a=a.replace(/^\s*/,""));return a};
goog.dom.getRawTextContent=function(a){var b=[];goog.dom.getTextContent_(a,b,!
1);return b.join("")};goog.dom.getTextContent_=function(a,b,c){if(!(a.nodeName in
goog.dom.TAGS_TO_IGNORE_))if(a.nodeType==goog.dom.NodeType.TEXT)c?
b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else
if(a.nodeName in
goog.dom.PREDEFINED_TAG_VALUES_)b.push(goog.dom.PREDEFINED_TAG_VALUES_[a.nodeName])
;else for(a=a.firstChild;a;)goog.dom.getTextContent_(a,b,c),a=a.nextSibling};
goog.dom.getNodeTextLength=function(a){return
goog.dom.getTextContent(a).length};goog.dom.getNodeTextOffset=function(a,b){b=b||
goog.dom.getOwnerDocument(a).body;for(var c=[];a&&a!=b;){for(var
d=a;d=d.previousSibling;)c.unshift(goog.dom.getTextContent(d));a=a.parentNode}retur
n goog.string.trimLeft(c.join("")).replace(/ +/g," ").length};
goog.dom.getNodeAtOffset=function(a,b,c){a=[a];for(var
d=0,e=null;0<a.length&&d<b;)if(e=a.pop(),!(e.nodeName in
goog.dom.TAGS_TO_IGNORE_))if(e.nodeType==goog.dom.NodeType.TEXT){var
f=e.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");d+=f.length}else
if(e.nodeName in
goog.dom.PREDEFINED_TAG_VALUES_)d+=goog.dom.PREDEFINED_TAG_VALUES_[e.nodeName].leng
th;else for(f=e.childNodes.length-
1;0<=f;f--)a.push(e.childNodes[f]);goog.isObject(c)&&(c.remainder=e?
e.nodeValue.length+b-d-1:0,c.node=e);return e};
goog.dom.isNodeList=function(a){if(a&&"number"==typeof a.length)
{if(goog.isObject(a))return"function"==typeof a.item||"string"==typeof
a.item;if("function"===typeof a)return"function"==typeof a.item}return!
1};goog.dom.getAncestorByTagNameAndClass=function(a,b,c,d){if(!b&&!c)return
null;var e=b?String(b).toUpperCase():null;return goog.dom.getAncestor(a,function(f)
{return(!e||f.nodeName==e)&&(!c||"string"===typeof
f.className&&module$contents$goog$array_contains(f.className.split(/\s+/),c))},!
0,d)};
goog.dom.getAncestorByClass=function(a,b,c){return
goog.dom.getAncestorByTagNameAndClass(a,null,b,c)};goog.dom.getAncestor=function(a,
b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);)
{goog.asserts.assert("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c+
+}return null};goog.dom.getActiveElement=function(a){try{var
b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}};
goog.dom.getPixelRatio=function(){var a=goog.dom.getWindow();return void 0!
==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?
goog.dom.matchesPixelRatio_(3)||goog.dom.matchesPixelRatio_(2)||
goog.dom.matchesPixelRatio_(1.5)||
goog.dom.matchesPixelRatio_(1)||.75:1};goog.dom.matchesPixelRatio_=function(a){var
b=goog.dom.getWindow(),c="(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio:
"+a+"),(min-resolution: "+96*a+"dpi)";return b.matchMedia(c).matches?
a:0};goog.dom.getCanvasContext2D=function(a){return a.getContext("2d")};
goog.dom.DomHelper=function(a){this.document_=a||goog.global.document||
document};goog.dom.DomHelper.prototype.getDomHelper=goog.dom.getDomHelper;goog.dom.
DomHelper.prototype.getDocument=function(){return
this.document_};goog.dom.DomHelper.prototype.getElement=function(a){return
goog.dom.getElementHelper_(this.document_,a)};goog.dom.DomHelper.prototype.getRequi
redElement=function(a){return
goog.dom.getRequiredElementHelper_(this.document_,a)};goog.dom.DomHelper.prototype.
$=goog.dom.DomHelper.prototype.getElement;
goog.dom.DomHelper.prototype.getElementsByTagName=function(a,b){b=b||
this.document_;return
b.getElementsByTagName(String(a))};goog.dom.DomHelper.prototype.getElementsByTagNam
eAndClass=function(a,b,c){return
goog.dom.getElementsByTagNameAndClass_(this.document_,a,b,c)};goog.dom.DomHelper.pr
ototype.getElementByTagNameAndClass=function(a,b,c){return
goog.dom.getElementByTagNameAndClass_(this.document_,a,b,c)};
goog.dom.DomHelper.prototype.getElementsByClass=function(a,b){b=b||
this.document_;return
goog.dom.getElementsByClass(a,b)};goog.dom.DomHelper.prototype.getElementByClass=fu
nction(a,b){b=b||this.document_;return
goog.dom.getElementByClass(a,b)};goog.dom.DomHelper.prototype.getRequiredElementByC
lass=function(a,b){b=b||this.document_;return
goog.dom.getRequiredElementByClass(a,b)};goog.dom.DomHelper.prototype.$
$=goog.dom.DomHelper.prototype.getElementsByTagNameAndClass;
goog.dom.DomHelper.prototype.setProperties=goog.dom.setProperties;goog.dom.DomHelpe
r.prototype.getViewportSize=function(a){return goog.dom.getViewportSize(a||
this.getWindow())};goog.dom.DomHelper.prototype.getDocumentHeight=function(){return
goog.dom.getDocumentHeight_(this.getWindow())};goog.dom.DomHelper.prototype.createD
om=function(a,b,c){return
goog.dom.createDom_(this.document_,arguments)};goog.dom.DomHelper.prototype.
$dom=goog.dom.DomHelper.prototype.createDom;
goog.dom.DomHelper.prototype.createElement=function(a){return
goog.dom.createElement_(this.document_,a)};goog.dom.DomHelper.prototype.createTextN
ode=function(a){return
this.document_.createTextNode(String(a))};goog.dom.DomHelper.prototype.createTable=
function(a,b,c){return goog.dom.createTable_(this.document_,a,b,!!
c)};goog.dom.DomHelper.prototype.safeHtmlToNode=function(a){return
goog.dom.safeHtmlToNode_(this.document_,a)};goog.dom.DomHelper.prototype.isCss1Comp
atMode=function(){return goog.dom.isCss1CompatMode_(this.document_)};
goog.dom.DomHelper.prototype.getWindow=function(){return
goog.dom.getWindow_(this.document_)};goog.dom.DomHelper.prototype.getDocumentScroll
Element=function(){return
goog.dom.getDocumentScrollElement_(this.document_)};goog.dom.DomHelper.prototype.ge
tDocumentScroll=function(){return
goog.dom.getDocumentScroll_(this.document_)};goog.dom.DomHelper.prototype.getActive
Element=function(a){return goog.dom.getActiveElement(a||
this.document_)};goog.dom.DomHelper.prototype.appendChild=goog.dom.appendChild;
goog.dom.DomHelper.prototype.append=goog.dom.append;goog.dom.DomHelper.prototype.ca
nHaveChildren=goog.dom.canHaveChildren;goog.dom.DomHelper.prototype.removeChildren=
goog.dom.removeChildren;goog.dom.DomHelper.prototype.insertSiblingBefore=goog.dom.i
nsertSiblingBefore;goog.dom.DomHelper.prototype.insertSiblingAfter=goog.dom.insertS
iblingAfter;goog.dom.DomHelper.prototype.insertChildAt=goog.dom.insertChildAt;goog.
dom.DomHelper.prototype.removeNode=goog.dom.removeNode;
goog.dom.DomHelper.prototype.replaceNode=goog.dom.replaceNode;goog.dom.DomHelper.pr
ototype.copyContents=goog.dom.copyContents;goog.dom.DomHelper.prototype.flattenElem
ent=goog.dom.flattenElement;goog.dom.DomHelper.prototype.getChildren=goog.dom.getCh
ildren;goog.dom.DomHelper.prototype.getFirstElementChild=goog.dom.getFirstElementCh
ild;goog.dom.DomHelper.prototype.getLastElementChild=goog.dom.getLastElementChild;g
oog.dom.DomHelper.prototype.getNextElementSibling=goog.dom.getNextElementSibling;
goog.dom.DomHelper.prototype.getPreviousElementSibling=goog.dom.getPreviousElementS
ibling;goog.dom.DomHelper.prototype.getNextNode=goog.dom.getNextNode;goog.dom.DomHe
lper.prototype.getPreviousNode=goog.dom.getPreviousNode;goog.dom.DomHelper.prototyp
e.isNodeLike=goog.dom.isNodeLike;goog.dom.DomHelper.prototype.isElement=goog.dom.is
Element;goog.dom.DomHelper.prototype.isWindow=goog.dom.isWindow;goog.dom.DomHelper.
prototype.getParentElement=goog.dom.getParentElement;
goog.dom.DomHelper.prototype.contains=goog.dom.contains;goog.dom.DomHelper.prototyp
e.compareNodeOrder=goog.dom.compareNodeOrder;goog.dom.DomHelper.prototype.findCommo
nAncestor=goog.dom.findCommonAncestor;goog.dom.DomHelper.prototype.getOwnerDocument
=goog.dom.getOwnerDocument;goog.dom.DomHelper.prototype.getFrameContentDocument=goo
g.dom.getFrameContentDocument;goog.dom.DomHelper.prototype.getFrameContentWindow=go
og.dom.getFrameContentWindow;goog.dom.DomHelper.prototype.setTextContent=goog.dom.s
etTextContent;
goog.dom.DomHelper.prototype.getOuterHtml=goog.dom.getOuterHtml;goog.dom.DomHelper.
prototype.findNode=goog.dom.findNode;goog.dom.DomHelper.prototype.findNodes=goog.do
m.findNodes;goog.dom.DomHelper.prototype.isFocusableTabIndex=goog.dom.isFocusableTa
bIndex;goog.dom.DomHelper.prototype.setFocusableTabIndex=goog.dom.setFocusableTabIn
dex;goog.dom.DomHelper.prototype.isFocusable=goog.dom.isFocusable;goog.dom.DomHelpe
r.prototype.getTextContent=goog.dom.getTextContent;
goog.dom.DomHelper.prototype.getNodeTextLength=goog.dom.getNodeTextLength;goog.dom.
DomHelper.prototype.getNodeTextOffset=goog.dom.getNodeTextOffset;goog.dom.DomHelper
.prototype.getNodeAtOffset=goog.dom.getNodeAtOffset;goog.dom.DomHelper.prototype.is
NodeList=goog.dom.isNodeList;goog.dom.DomHelper.prototype.getAncestorByTagNameAndCl
ass=goog.dom.getAncestorByTagNameAndClass;goog.dom.DomHelper.prototype.getAncestorB
yClass=goog.dom.getAncestorByClass;goog.dom.DomHelper.prototype.getAncestor=goog.do
m.getAncestor;
goog.dom.DomHelper.prototype.getCanvasContext2D=goog.dom.getCanvasContext2D;functio
n module$contents$goog$dispose_dispose(a){a&&"function"==typeof
a.dispose&&a.dispose()}goog.dispose=module$contents$goog$dispose_dispose;function
module$contents$goog$disposeAll_disposeAll(a){for(var b=0,c=arguments.length;b<c;+
+b){var d=arguments[b];goog.isArrayLike(d)?
module$contents$goog$disposeAll_disposeAll.apply(null,d):module$contents$goog$dispo
se_dispose(d)}}goog.disposeAll=module$contents$goog$disposeAll_disposeAll;goog.disp
osable={};goog.disposable.IDisposable=function(){};goog.Disposable=function()
{goog.Disposable.MONITORING_MODE!
=goog.Disposable.MonitoringMode.OFF&&(goog.Disposable.instances_[goog.getUid(this)]
=this);this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbac
ks_};goog.Disposable.MonitoringMode={OFF:0,PERMANENT:1,INTERACTIVE:2};goog.Disposab
le.MONITORING_MODE=0;goog.Disposable.INCLUDE_STACK_ON_CREATION=!
0;goog.Disposable.instances_={};
goog.Disposable.getUndisposedObjects=function(){var a=[],b;for(b in
goog.Disposable.instances_)goog.Disposable.instances_.hasOwnProperty(b)&&a.push(goo
g.Disposable.instances_[Number(b)]);return
a};goog.Disposable.clearUndisposedObjects=function()
{goog.Disposable.instances_={}};goog.Disposable.prototype.disposed_=!
1;goog.Disposable.prototype.isDisposed=function(){return this.disposed_};
goog.Disposable.prototype.dispose=function(){if(!this.disposed_&&(this.disposed_=!
0,this.disposeInternal(),goog.Disposable.MONITORING_MODE!
=goog.Disposable.MonitoringMode.OFF)){var
a=goog.getUid(this);if(goog.Disposable.MONITORING_MODE==goog.Disposable.MonitoringM
ode.PERMANENT&&!goog.Disposable.instances_.hasOwnProperty(a))throw Error(this+" did
not call the goog.Disposable base constructor or was disposed of after a
clearUndisposedObjects call");if(goog.Disposable.MONITORING_MODE!
=goog.Disposable.MonitoringMode.OFF&&
this.onDisposeCallbacks_&&0<this.onDisposeCallbacks_.length)throw Error(this+" did
not empty its onDisposeCallbacks queue. This probably means it overrode dispose()
or disposeInternal() without calling the superclass' method.");delete
goog.Disposable.instances_[a]}};goog.Disposable.prototype.registerDisposable=functi
on(a)
{this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose,a))};
goog.Disposable.prototype.addOnDisposeCallback=function(a,b){this.disposed_?void 0!
==b?a.call(b):a():(this.onDisposeCallbacks_||
(this.onDisposeCallbacks_=[]),this.onDisposeCallbacks_.push(void 0!==b?
goog.bind(a,b):a))};goog.Disposable.prototype.disposeInternal=function()
{if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCa
llbacks_.shift()()};goog.Disposable.isDisposed=function(a){return
a&&"function"==typeof a.isDisposed?a.isDisposed():!
1};goog.debug.entryPointRegistry={};goog.debug.entryPointRegistry.EntryPointMonitor
=function()
{};goog.debug.entryPointRegistry.refList_=[];goog.debug.entryPointRegistry.monitors
_=[];goog.debug.entryPointRegistry.monitorsMayExist_=!1;
goog.debug.entryPointRegistry.register=function(a)
{goog.debug.entryPointRegistry.refList_[goog.debug.entryPointRegistry.refList_.leng
th]=a;if(goog.debug.entryPointRegistry.monitorsMayExist_)for(var
b=goog.debug.entryPointRegistry.monitors_,c=0;c<b.length;c+
+)a(goog.bind(b[c].wrap,b[c]))};
goog.debug.entryPointRegistry.monitorAll=function(a)
{goog.debug.entryPointRegistry.monitorsMayExist_=!0;for(var
b=goog.bind(a.wrap,a),c=0;c<goog.debug.entryPointRegistry.refList_.length;c+
+)goog.debug.entryPointRegistry.refList_[c]
(b);goog.debug.entryPointRegistry.monitors_.push(a)};
goog.debug.entryPointRegistry.unmonitorAllIfPossible=function(a){var
b=goog.debug.entryPointRegistry.monitors_;goog.asserts.assert(a==b[b.length-
1],"Only the most recent monitor can be
unwrapped.");a=goog.bind(a.unwrap,a);for(var
c=0;c<goog.debug.entryPointRegistry.refList_.length;c+
+)goog.debug.entryPointRegistry.refList_[c]
(a);b.length--};goog.events={};goog.events.EventId=function(a)
{this.id=a};goog.events.EventId.prototype.toString=function(){return
this.id};goog.events.Event=function(a,b){this.type=a instanceof
goog.events.EventId?
String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagation
Stopped_=!1};goog.events.Event.prototype.stopPropagation=function()
{this.propagationStopped_=!0};goog.events.Event.prototype.preventDefault=function()
{this.defaultPrevented=!0};goog.events.Event.stopPropagation=function(a)
{a.stopPropagation()};goog.events.Event.preventDefault=function(a)
{a.preventDefault()};goog.events.BrowserFeature={TOUCH_ENABLED:"ontouchstart"in
goog.global||!!(goog.global.document&&document.documentElement&&"ontouchstart"in
document.documentElement)||!(!goog.global.navigator||!
goog.global.navigator.maxTouchPoints&&!
goog.global.navigator.msMaxTouchPoints),POINTER_EVENTS:"PointerEvent"in
goog.global,MSPOINTER_EVENTS:!1,PASSIVE_EVENTS:function(){if(!
goog.global.addEventListener||!Object.defineProperty)return!1;var a=!
1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=
function()
{};goog.global.addEventListener("test",c,b);goog.global.removeEventListener("test",
c,b)}catch(d){}return a}
()};goog.events.eventTypeHelpers={};goog.events.eventTypeHelpers.getVendorPrefixedN
ame=function(a){return
goog.userAgent.WEBKIT?"webkit"+a:a.toLowerCase()};goog.events.eventTypeHelpers.getP
ointerFallbackEventName=function(a,b,c){return
goog.events.BrowserFeature.POINTER_EVENTS?
a:goog.events.BrowserFeature.MSPOINTER_EVENTS?
b:c};goog.events.EventType={CLICK:"click",RIGHTCLICK:"rightclick",DBLCLICK:"dblclic
k",AUXCLICK:"auxclick",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",MOUSEOVER:"mouseover
",MOUSEOUT:"mouseout",MOUSEMOVE:"mousemove",MOUSEENTER:"mouseenter",MOUSELEAVE:"mou
seleave",MOUSECANCEL:"mousecancel",SELECTIONCHANGE:"selectionchange",SELECTSTART:"s
electstart",WHEEL:"wheel",KEYPRESS:"keypress",KEYDOWN:"keydown",KEYUP:"keyup",BLUR:
"blur",FOCUS:"focus",DEACTIVATE:"deactivate",FOCUSIN:"focusin",FOCUSOUT:"focusout",
CHANGE:"change",
RESET:"reset",SELECT:"select",SUBMIT:"submit",INPUT:"input",PROPERTYCHANGE:"propert
ychange",DRAGSTART:"dragstart",DRAG:"drag",DRAGENTER:"dragenter",DRAGOVER:"dragover
",DRAGLEAVE:"dragleave",DROP:"drop",DRAGEND:"dragend",TOUCHSTART:"touchstart",TOUCH
MOVE:"touchmove",TOUCHEND:"touchend",TOUCHCANCEL:"touchcancel",BEFOREUNLOAD:"before
unload",CONSOLEMESSAGE:"consolemessage",CONTEXTMENU:"contextmenu",DEVICECHANGE:"dev
icechange",DEVICEMOTION:"devicemotion",DEVICEORIENTATION:"deviceorientation",DOMCON
TENTLOADED:"DOMContentLoaded",
ERROR:"error",HELP:"help",LOAD:"load",LOSECAPTURE:"losecapture",ORIENTATIONCHANGE:"
orientationchange",READYSTATECHANGE:"readystatechange",RESIZE:"resize",SCROLL:"scro
ll",UNLOAD:"unload",CANPLAY:"canplay",CANPLAYTHROUGH:"canplaythrough",DURATIONCHANG
E:"durationchange",EMPTIED:"emptied",ENDED:"ended",LOADEDDATA:"loadeddata",LOADEDME
TADATA:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",PROGRESS:"progr
ess",RATECHANGE:"ratechange",SEEKED:"seeked",SEEKING:"seeking",STALLED:"stalled",SU
SPEND:"suspend",
TIMEUPDATE:"timeupdate",VOLUMECHANGE:"volumechange",WAITING:"waiting",SOURCEOPEN:"s
ourceopen",SOURCEENDED:"sourceended",SOURCECLOSED:"sourceclosed",ABORT:"abort",UPDA
TE:"update",UPDATESTART:"updatestart",UPDATEEND:"updateend",HASHCHANGE:"hashchange"
,PAGEHIDE:"pagehide",PAGESHOW:"pageshow",POPSTATE:"popstate",COPY:"copy",PASTE:"pas
te",CUT:"cut",BEFORECOPY:"beforecopy",BEFORECUT:"beforecut",BEFOREPASTE:"beforepast
e",ONLINE:"online",OFFLINE:"offline",MESSAGE:"message",CONNECT:"connect",INSTALL:"i
nstall",
ACTIVATE:"activate",FETCH:"fetch",FOREIGNFETCH:"foreignfetch",MESSAGEERROR:"message
error",STATECHANGE:"statechange",UPDATEFOUND:"updatefound",CONTROLLERCHANGE:"contro
llerchange",ANIMATIONSTART:goog.events.eventTypeHelpers.getVendorPrefixedName("Anim
ationStart"),ANIMATIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("Anima
tionEnd"),ANIMATIONITERATION:goog.events.eventTypeHelpers.getVendorPrefixedName("An
imationIteration"),TRANSITIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName
("TransitionEnd"),
POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTERCANCEL:"pointercancel",POINT
ERMOVE:"pointermove",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER
:"pointerenter",POINTERLEAVE:"pointerleave",GOTPOINTERCAPTURE:"gotpointercapture",L
OSTPOINTERCAPTURE:"lostpointercapture",MSGESTURECHANGE:"MSGestureChange",MSGESTUREE
ND:"MSGestureEnd",MSGESTUREHOLD:"MSGestureHold",MSGESTURESTART:"MSGestureStart",MSG
ESTURETAP:"MSGestureTap",MSGOTPOINTERCAPTURE:"MSGotPointerCapture",MSINERTIASTART:"
MSInertiaStart",
MSLOSTPOINTERCAPTURE:"MSLostPointerCapture",MSPOINTERCANCEL:"MSPointerCancel",MSPOI
NTERDOWN:"MSPointerDown",MSPOINTERENTER:"MSPointerEnter",MSPOINTERHOVER:"MSPointerH
over",MSPOINTERLEAVE:"MSPointerLeave",MSPOINTERMOVE:"MSPointerMove",MSPOINTEROUT:"M
SPointerOut",MSPOINTEROVER:"MSPointerOver",MSPOINTERUP:"MSPointerUp",TEXT:"text",TE
XTINPUT:"textInput",COMPOSITIONSTART:"compositionstart",COMPOSITIONUPDATE:"composit
ionupdate",COMPOSITIONEND:"compositionend",BEFOREINPUT:"beforeinput",FULLSCREENCHAN
GE:"fullscreenchange",
WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen",WEBKITENDFULLSCREEN:"webkitendfullscr
een",EXIT:"exit",LOADABORT:"loadabort",LOADCOMMIT:"loadcommit",LOADREDIRECT:"loadre
direct",LOADSTART:"loadstart",LOADSTOP:"loadstop",RESPONSIVE:"responsive",SIZECHANG
ED:"sizechanged",UNRESPONSIVE:"unresponsive",VISIBILITYCHANGE:"visibilitychange",ST
ORAGE:"storage",BEFOREPRINT:"beforeprint",AFTERPRINT:"afterprint",BEFOREINSTALLPROM
PT:"beforeinstallprompt",APPINSTALLED:"appinstalled",CANCEL:"cancel",FINISH:"finish
",REMOVE:"remove"};goog.events.BrowserEvent=function(a,b)
{goog.events.Event.call(this,a?
a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.
screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key
="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKe
y=!1;this.state=null;this.platformModifierKey=!
1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.event_=null;a&&this.in
it(a,b)};goog.inherits(goog.events.BrowserEvent,goog.events.Event);
goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY=!
1;goog.events.BrowserEvent.MouseButton={LEFT:0,MIDDLE:1,RIGHT:2,BACK:3,FORWARD:4};g
oog.events.BrowserEvent.PointerType={MOUSE:"mouse",PEN:"pen",TOUCH:"touch"};goog.ev
ents.BrowserEvent.IEButtonMap=goog.debug.freeze([1,4,2]);goog.events.BrowserEvent.I
E_BUTTON_MAP=goog.events.BrowserEvent.IEButtonMap;
goog.events.BrowserEvent.IE_POINTER_TYPE_MAP=goog.debug.freeze({2:goog.events.Brows
erEvent.PointerType.TOUCH,3:goog.events.BrowserEvent.PointerType.PEN,4:goog.events.
BrowserEvent.PointerType.MOUSE});
goog.events.BrowserEvent.prototype.init=function(a,b){var
c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?
a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;
(b=a.relatedTarget)?
goog.userAgent.GECKO&&(goog.reflect.canAccessProperty(b,"nodeName")||
(b=null)):c==goog.events.EventType.MOUSEOVER?
b=a.fromElement:c==goog.events.EventType.MOUSEOUT&&(b=a.toElement);this.relatedTarg
et=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!
==d.clientY?
d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):
(goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY?(this.offsetX=void 0!
==a.layerX?a.layerX:a.offsetX,this.offsetY=void 0!==a.layerY?a.layerY:a.offsetY):
(this.offsetX=goog.userAgent.WEBKIT||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=goog.userAgent.WEBKIT||void 0!==a.offsetY?
a.offsetY:a.layerY),this.clientX=void 0!==a.clientX?
a.clientX:a.pageX,this.clientY=void 0!==a.clientY?
a.clientY:a.pageY,this.screenX=a.screenX||0,
this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||
0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?
a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;t
his.metaKey=a.metaKey;this.platformModifierKey=goog.userAgent.MAC?
a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType=goog.events.BrowserEvent.getPointerType_(a);this.state=a.state;t
his.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&goog.events.BrowserEven
t.superClass_.preventDefault.call(this)};
goog.events.BrowserEvent.prototype.isButton=function(a){return
this.event_.button==a};goog.events.BrowserEvent.prototype.isMouseActionButton=funct
ion(){return this.isButton(goog.events.BrowserEvent.MouseButton.LEFT)&&!
(goog.userAgent.MAC&&this.ctrlKey)};goog.events.BrowserEvent.prototype.stopPropagat
ion=function()
{goog.events.BrowserEvent.superClass_.stopPropagation.call(this);this.event_.stopPr
opagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
goog.events.BrowserEvent.prototype.preventDefault=function()
{goog.events.BrowserEvent.superClass_.preventDefault.call(this);var
a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!
1};goog.events.BrowserEvent.getPointerType_=function(a){return"string"===typeof
a.pointerType?
a.pointerType:goog.events.BrowserEvent.IE_POINTER_TYPE_MAP[a.pointerType]||""};goog
.events.Listenable=function()
{};goog.events.Listenable.IMPLEMENTED_BY_PROP="closure_listenable_"+(1E6*Math.rando
m()|0);goog.events.Listenable.addImplementation=function(a)
{a.prototype[goog.events.Listenable.IMPLEMENTED_BY_PROP]=!
0};goog.events.Listenable.isImplementedBy=function(a){return!(!a||!
a[goog.events.Listenable.IMPLEMENTED_BY_PROP])};goog.events.Listenable.prototype.li
sten=function(){};goog.events.Listenable.prototype.listenOnce=function()
{};goog.events.Listenable.prototype.unlisten=function(){};
goog.events.Listenable.prototype.unlistenByKey=function()
{};goog.events.Listenable.prototype.dispatchEvent=function()
{};goog.events.Listenable.prototype.removeAllListeners=function()
{};goog.events.Listenable.prototype.getParentEventTarget=function()
{};goog.events.Listenable.prototype.fireListeners=function()
{};goog.events.Listenable.prototype.getListeners=function()
{};goog.events.Listenable.prototype.getListener=function()
{};goog.events.Listenable.prototype.hasListener=function()
{};goog.events.ListenableKey=function()
{};goog.events.ListenableKey.counter_=0;goog.events.ListenableKey.reserveKey=functi
on(){return+
+goog.events.ListenableKey.counter_};goog.events.Listener=function(a,b,c,d,e,f)
{this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!
e;this.handler=f;this.key=goog.events.ListenableKey.reserveKey();this.removed=this.
callOnce=!1};goog.events.Listener.ENABLE_MONITORING=!
1;goog.events.Listener.prototype.markAsRemoved=function(){this.removed=!
0;this.handler=this.src=this.proxy=this.listener=null};goog.events.ListenerMap=func
tion(a)
{this.src=a;this.listeners={};this.typeCount_=0};goog.events.ListenerMap.prototype.
add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||
(a=this.listeners[f]=[],this.typeCount_++);var
g=goog.events.ListenerMap.findListenerIndex_(a,b,d,e);-1<g?(b=a[g],c||(b.callOnce=!
1)):(b=new goog.events.Listener(b,null,this.src,f,!!
d,e),b.callOnce=c,a.push(b));return b};
goog.events.ListenerMap.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in
this.listeners))return!1;var
e=this.listeners[a];b=goog.events.ListenerMap.findListenerIndex_(e,b,c,d);return-
1<b?
(c=e[b],c.markAsRemoved(),module$contents$goog$array_removeAt(e,b),0==e.length&&(de
lete this.listeners[a],this.typeCount_--),!0):!1};
goog.events.ListenerMap.prototype.removeByKey=function(a){var b=a.type;if(!(b in
this.listeners))return!1;var
c=module$contents$goog$array_remove(this.listeners[b],a);c&&(a.markAsRemoved(),0==t
his.listeners[b].length&&(delete this.listeners[b],this.typeCount_--));return
c};goog.events.ListenerMap.prototype.removeAll=function(a){a=a&&a.toString();var
b=0,c;for(c in this.listeners)if(!a||c==a){for(var
d=this.listeners[c],e=0;e<d.length;e++)++b,d[e].markAsRemoved();delete
this.listeners[c];this.typeCount_--}return b};
goog.events.ListenerMap.prototype.getListeners=function(a,b)
{a=this.listeners[a.toString()];var c=[];if(a)for(var d=0;d<a.length;++d){var
e=a[d];e.capture==b&&c.push(e)}return
c};goog.events.ListenerMap.prototype.getListener=function(a,b,c,d)
{a=this.listeners[a.toString()];var e=-
1;a&&(e=goog.events.ListenerMap.findListenerIndex_(a,b,c,d));return-1<e?a[e]:null};
goog.events.ListenerMap.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?
a.toString():"",e=void 0!==b;return
module$contents$goog$object_some(this.listeners,function(f){for(var g=0;g<f.length;
++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!
1})};goog.events.ListenerMap.findListenerIndex_=function(a,b,c,d){for(var
e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!
c&&f.handler==d)return e}return-
1};goog.events.Key={};goog.events.ListenableType={};goog.events.LISTENER_MAP_PROP_=
"closure_lm_"+(1E6*Math.random()|
0);goog.events.onString_="on";goog.events.onStringMap_={};goog.events.CaptureSimula
tionMode={OFF_AND_FAIL:0,OFF_AND_SILENT:1,ON:2};goog.events.CAPTURE_SIMULATION_MODE
=2;goog.events.listenerCountEstimate_=0;
goog.events.listen=function(a,b,c,d,e){if(d&&d.once)return
goog.events.listenOnce(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f+
+)goog.events.listen(a,b[f],c,d,e);return null}c=goog.events.wrapListener(c);return
goog.events.Listenable.isImplementedBy(a)?(d=goog.isObject(d)?!!d.capture:!!
d,a.listen(b,c,d,e)):goog.events.listen_(a,b,c,!1,d,e)};
goog.events.listen_=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event
type");var g=goog.isObject(e)?!!e.capture:!!e,h=goog.events.getListenerMap_(a);h||
(a[goog.events.LISTENER_MAP_PROP_]=h=new
goog.events.ListenerMap(a));c=h.add(b,c,d,g,f);if(c.proxy)return
c;d=goog.events.getProxy();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)goo
g.events.BrowserFeature.PASSIVE_EVENTS||(e=g),void 0===e&&(e=!
1),a.addEventListener(b.toString(),d,e);else
if(a.attachEvent)a.attachEvent(goog.events.getOnString_(b.toString()),
d);else
if(a.addListener&&a.removeListener)goog.asserts.assert("change"===b,"MediaQueryList
only has a change event"),a.addListener(d);else throw Error("addEventListener and
attachEvent are unavailable.");goog.events.listenerCountEstimate_++;return
c};goog.events.getProxy=function(){var
a=goog.events.handleBrowserEvent_,b=function(c){return
a.call(b.src,b.listener,c)};return b};
goog.events.listenOnce=function(a,b,c,d,e){if(Array.isArray(b)){for(var
f=0;f<b.length;f++)goog.events.listenOnce(a,b[f],c,d,e);return
null}c=goog.events.wrapListener(c);return
goog.events.Listenable.isImplementedBy(a)?(d=goog.isObject(d)?!!d.capture:!!
d,a.listenOnce(b,c,d,e)):goog.events.listen_(a,b,c,!
0,d,e)};goog.events.listenWithWrapper=function(a,b,c,d,e){b.listen(a,c,d,e)};
goog.events.unlisten=function(a,b,c,d,e){if(Array.isArray(b)){for(var
f=0;f<b.length;f++)goog.events.unlisten(a,b[f],c,d,e);return
null}d=goog.isObject(d)?!!d.capture:!!
d;c=goog.events.wrapListener(c);if(goog.events.Listenable.isImplementedBy(a))return
a.unlisten(b,c,d,e);if(!a)return!
1;if(a=goog.events.getListenerMap_(a))if(b=a.getListener(b,c,d,e))return
goog.events.unlistenByKey(b);return!1};
goog.events.unlistenByKey=function(a){if("number"===typeof a||!a||a.removed)return!
1;var b=a.src;if(goog.events.Listenable.isImplementedBy(b))return
b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?
b.removeEventListener(c,d,a.capture):b.detachEvent?
b.detachEvent(goog.events.getOnString_(c),d):b.addListener&&b.removeListener&&b.rem
oveListener(d);goog.events.listenerCountEstimate_--;
(c=goog.events.getListenerMap_(b))?
(c.removeByKey(a),0==c.typeCount_&&(c.src=null,b[goog.events.LISTENER_MAP_PROP_]=
null)):a.markAsRemoved();return!
0};goog.events.unlistenWithWrapper=function(a,b,c,d,e)
{b.unlisten(a,c,d,e)};goog.events.removeAll=function(a,b){if(!a)return
0;if(goog.events.Listenable.isImplementedBy(a))return
a.removeAllListeners(b);a=goog.events.getListenerMap_(a);if(!a)return 0;var
c=0;b=b&&b.toString();for(var d in a.listeners)if(!b||d==b)for(var
e=a.listeners[d].concat(),f=0;f<e.length;++f)goog.events.unlistenByKey(e[f])&&+
+c;return c};
goog.events.getListeners=function(a,b,c){return
goog.events.Listenable.isImplementedBy(a)?a.getListeners(b,c):a?
(a=goog.events.getListenerMap_(a))?a.getListeners(b,c):[]:
[]};goog.events.getListener=function(a,b,c,d,e){c=goog.events.wrapListener(c);d=!!
d;return goog.events.Listenable.isImplementedBy(a)?a.getListener(b,c,d,e):a?
(a=goog.events.getListenerMap_(a))?a.getListener(b,c,d,e):null:null};
goog.events.hasListener=function(a,b,c)
{if(goog.events.Listenable.isImplementedBy(a))return
a.hasListener(b,c);a=goog.events.getListenerMap_(a);return!!
a&&a.hasListener(b,c)};goog.events.expose=function(a){var b=[],c;for(c in
a)a[c]&&a[c].id?b.push(c+" = "+a[c]+" ("+a[c].id+")"):b.push(c+" = "+a[c]);return
b.join("\n")};goog.events.getOnString_=function(a){return a in
goog.events.onStringMap_?
goog.events.onStringMap_[a]:goog.events.onStringMap_[a]=goog.events.onString_+a};
goog.events.fireListeners=function(a,b,c,d){return
goog.events.Listenable.isImplementedBy(a)?
a.fireListeners(b,c,d):goog.events.fireListeners_(a,b,c,d)};goog.events.fireListene
rs_=function(a,b,c,d){var e=!
0;if(a=goog.events.getListenerMap_(a))if(b=a.listeners[b.toString()])for(b=b.concat
(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!
f.removed&&(f=goog.events.fireListener(f,d),e=e&&!1!==f)}return e};
goog.events.fireListener=function(a,b){var c=a.listener,d=a.handler||
a.src;a.callOnce&&goog.events.unlistenByKey(a);return
c.call(d,b)};goog.events.getTotalListenerCount=function(){return
goog.events.listenerCountEstimate_};goog.events.dispatchEvent=function(a,b)
{goog.asserts.assert(goog.events.Listenable.isImplementedBy(a),"Can not use
goog.events.dispatchEvent with non-goog.events.Listenable instance.");return
a.dispatchEvent(b)};
goog.events.protectBrowserEventEntryPoint=function(a)
{goog.events.handleBrowserEvent_=a.protectEntryPoint(goog.events.handleBrowserEvent
_)};goog.events.handleBrowserEvent_=function(a,b){return a.removed?!
0:goog.events.fireListener(a,new
goog.events.BrowserEvent(b,this))};goog.events.markIeEvent_=function(a){var b=!
1;if(0==a.keyCode)try{a.keyCode=-1;return}catch(c){b=!0}if(b||void
0==a.returnValue)a.returnValue=!0};goog.events.isMarkedIeEvent_=function(a){return
0>a.keyCode||void 0!=a.returnValue};
goog.events.uniqueIdCounter_=0;goog.events.getUniqueId=function(a){return
a+"_"+goog.events.uniqueIdCounter_++};goog.events.getListenerMap_=function(a)
{a=a[goog.events.LISTENER_MAP_PROP_];return a instanceof goog.events.ListenerMap?
a:null};goog.events.LISTENER_WRAPPER_PROP_="__closure_events_fn_"+(1E9*Math.random(
)>>>0);
goog.events.wrapListener=function(a){goog.asserts.assert(a,"Listener can not be
null.");if("function"===typeof a)return a;goog.asserts.assert(a.handleEvent,"An
object listener must have handleEvent
method.");a[goog.events.LISTENER_WRAPPER_PROP_]||
(a[goog.events.LISTENER_WRAPPER_PROP_]=function(b){return a.handleEvent(b)});return
a[goog.events.LISTENER_WRAPPER_PROP_]};goog.debug.entryPointRegistry.register(funct
ion(a)
{goog.events.handleBrowserEvent_=a(goog.events.handleBrowserEvent_)});goog.events.E
ventHandler=function(a)
{goog.Disposable.call(this);this.handler_=a;this.keys_={}};goog.inherits(goog.event
s.EventHandler,goog.Disposable);goog.events.EventHandler.typeArray_=[];goog.events.
EventHandler.prototype.listen=function(a,b,c,d){var e=this;return
e.listen_(a,b,c,d)};goog.events.EventHandler.prototype.listenWithScope=function(a,b
,c,d,e){var f=this;return f.listen_(a,b,c,d,e)};
goog.events.EventHandler.prototype.listen_=function(a,b,c,d,e){var
f=this;Array.isArray(b)||
(b&&(goog.events.EventHandler.typeArray_[0]=b.toString()),b=goog.events.EventHandle
r.typeArray_);for(var g=0;g<b.length;g++){var h=goog.events.listen(a,b[g],c||
f.handleEvent,d||!1,e||f.handler_||f);if(!h)break;var k=h.key;f.keys_[k]=h}return
f};goog.events.EventHandler.prototype.listenOnce=function(a,b,c,d){var
e=this;return e.listenOnce_(a,b,c,d)};
goog.events.EventHandler.prototype.listenOnce_=function(a,b,c,d,e){var
f=this;if(Array.isArray(b))for(var g=0;g<b.length;g+
+)f.listenOnce_(a,b[g],c,d,e);else{a=goog.events.listenOnce(a,b,c||
f.handleEvent,d,e||f.handler_||f);if(!a)return f;b=a.key;f.keys_[b]=a}return
f};goog.events.EventHandler.prototype.listenWithWrapper=function(a,b,c,d){var
e=this;return e.listenWithWrapper_(a,b,c,d)};
goog.events.EventHandler.prototype.listenWithWrapperAndScope=function(a,b,c,d,e)
{var f=this;return
f.listenWithWrapper_(a,b,c,d,e)};goog.events.EventHandler.prototype.listenWithWrapp
er_=function(a,b,c,d,e){var f=this;b.listen(a,c,d,e||f.handler_||f,f);return f};
goog.events.EventHandler.prototype.unlisten=function(a,b,c,d,e){var
f=this;if(Array.isArray(b))for(var g=0;g<b.length;g++)f.unlisten(a,b[g],c,d,e);else
if(d=goog.isObject(d)?!!d.capture:!!d,a=goog.events.getListener(a,b,c||
f.handleEvent,d,e||f.handler_||f))goog.events.unlistenByKey(a),delete
f.keys_[a.key];return
f};goog.events.EventHandler.prototype.unlistenWithWrapper=function(a,b,c,d,e){var
f=this;b.unlisten(a,c,d,e||f.handler_||f,f);return f};
goog.events.EventHandler.prototype.removeAll=function()
{module$contents$goog$object_forEach(this.keys_,function(a,b)
{this.keys_.hasOwnProperty(b)&&goog.events.unlistenByKey(a)},this);this.keys_={}};g
oog.events.EventHandler.prototype.disposeInternal=function()
{goog.events.EventHandler.superClass_.disposeInternal.call(this);this.removeAll()};
goog.events.EventHandler.prototype.handleEvent=function(){throw
Error("EventHandler.handleEvent not
implemented");};goog.i18n={};goog.i18n.LocaleFeature={};goog.i18n.LocaleFeature.ECM
ASCRIPT_INTL_OPT_OUT=!1;goog.i18n.LocaleFeature.ECMASCRIPT_COMMON_LOCALES_2019=!
0;goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_2020=2020<=goog.FEATURESET_YEAR&&goog
.i18n.LocaleFeature.ECMASCRIPT_COMMON_LOCALES_2019&&!
goog.i18n.LocaleFeature.ECMASCRIPT_INTL_OPT_OUT;goog.i18n.LocaleFeature.USE_ECMASCR
IPT_I18N_2021=2021<=goog.FEATURESET_YEAR&&goog.i18n.LocaleFeature.ECMASCRIPT_COMMON
_LOCALES_2019&&!goog.i18n.LocaleFeature.ECMASCRIPT_INTL_OPT_OUT;
goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_2022=2022<=goog.FEATURESET_YEAR&&goog.i
18n.LocaleFeature.ECMASCRIPT_COMMON_LOCALES_2019&&!
goog.i18n.LocaleFeature.ECMASCRIPT_INTL_OPT_OUT;goog.i18n.LocaleFeature.USE_ECMASCR
IPT_I18N_RDTF=goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_2021;goog.i18n.LocaleFeat
ure.USE_ECMASCRIPT_I18N_NUMFORMAT=goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_2021;
goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_PLURALRULES=goog.i18n.LocaleFeature.USE
_ECMASCRIPT_I18N_2020;
goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_DATETIMEF=goog.i18n.LocaleFeature.USE_E
CMASCRIPT_I18N_2021;goog.i18n.LocaleFeature.ECMASCRIPT_LISTFORMAT_LOCALES="am ar
ar-001 ar-AE ar-BH ar-DJ ar-DZ ar-EG ar-EH ar-ER ar-IL ar-IQ ar-JO ar-KM ar-KW ar-
LB ar-LY ar-MA ar-MR ar-OM ar-PS ar-QA ar-SA ar-SD ar-SO ar-SS ar-SY ar-TD ar-TN
ar-YE bg bg-BG bn bn-BD bn-IN bs-Cyrl bs-Cyrl-BA ca ca-AD ca-ES ca-FR ca-IT cs cs-
CZ da da-DK da-GL de de-AT de-BE de-CH de-DE de-IT de-LI de-LU el el-CY el-GR en
en-001 en-150 en-AE en-AG en-AI en-AS en-AT en-AU en-BB en-BE en-BI en-BM en-BS en-
BW en-BZ en-CA en-CC en-CH en-CK en-CM en-CX en-CY en-DE en-DG en-DK en-DM en-ER
en-FI en-FJ en-FK en-FM en-GB en-GD en-GG en-GH en-GI en-GM en-GU en-GY en-HK en-IE
en-IL en-IM en-IN en-IO en-JE en-JM en-KE en-KI en-KN en-KY en-LC en-LR en-LS en-MG
en-MH en-MO en-MP en-MS en-MT en-MU en-MW en-MY en-NA en-NF en-NG en-NL en-NR en-NU
en-NZ en-PG en-PH en-PK en-PN en-PR en-PW en-RW en-SB en-SC en-SD en-SE en-SG en-SH
en-SI en-SL en-SS en-SX en-SZ en-TC en-TK en-TO en-TT en-TV en-TZ en-UG en-UM en-US
en-VC en-VG en-VI en-VU en-WS en-ZA en-ZM en-ZW es es-419 es-AR es-BO es-BR es-BZ
es-CL es-CO es-CR es-CU es-DO es-EA es-EC es-ES es-GQ es-GT es-HN es-IC es-MX es-NI
es-PA es-PE es-PH es-PR es-PY es-SV es-US es-UY es-VE et et-EE fa fa-AF fa-IR fi
fi-FI fil fil-PH fr fr-BE fr-BF fr-BI fr-BJ fr-BL fr-CA fr-CD fr-CF fr-CG fr-CH fr-
CI fr-CM fr-DJ fr-DZ fr-FR fr-GA fr-GF fr-GN fr-GP fr-GQ fr-HT fr-KM fr-LU fr-MA
fr-MC fr-MF fr-MG fr-ML fr-MQ fr-MR fr-MU fr-NC fr-NE fr-PF fr-PM fr-RE fr-RW fr-SC
fr-SN fr-SY fr-TD fr-TG fr-TN fr-VU fr-WF fr-YT gu gu-IN he he-IL hi hi-IN hr hr-BA
hr-HR hu hu-HU id id-ID it it-CH it-IT it-SM it-VA ja ja-JP kn kn-IN ko ko-KP ko-KR
lt lt-LT lv lv-LV ml ml-IN mr mr-IN ms ms-BN ms-ID ms-MY ms-SG nb nl nl-AW nl-BE
nl-BQ nl-CW nl-NL nl-SR nl-SX no pl pl-PL pt pt-AO pt-BR pt-CH pt-CV pt-GQ pt-GW
pt-LU pt-MO pt-MZ pt-PT pt-ST pt-TL ro ro-MD ro-RO ru ru-BY ru-KG ru-KZ ru-MD ru-RU
ru-UA sk sk-SK sl sl-SI sr sr-Cyrl sr-Cyrl-BA sr-Cyrl-ME sr-Cyrl-RS sr-Cyrl-XK sr-
Latn sr-Latn-BA sr-Latn-ME sr-Latn-RS sr-Latn-XK sv sv-AX sv-FI sv-SE sw sw-CD sw-
KE sw-TZ sw-UG ta ta-IN ta-LK ta-MY ta-SG te te-IN th th-TH tr tr-CY tr-TR uk uk-UA
vi vi-VN zh zh-Hans zh-Hans-CN zh-Hans-HK zh-Hans-MO zh-Hans-SG zh-Hant zh-Hant-HK
zh-Hant-MO zh-Hant-TW".split(" ");
goog.i18n.LocaleFeature.ECMASCRIPT_LISTFORMAT_COMMON_LOCALES_2022=!
0;goog.i18n.LocaleFeature.USE_ECMASCRIPT_I18N_LISTFORMAT=2022<=goog.FEATURESET_YEAR
&&goog.i18n.LocaleFeature.ECMASCRIPT_LISTFORMAT_COMMON_LOCALES_2022&&!
goog.i18n.LocaleFeature.ECMASCRIPT_INTL_OPT_OUT;goog.i18n.LocaleFeature.USE_ECMASCR
IPT_I18N_DATEINTERVALFORMAT=2022<=goog.FEATURESET_YEAR&&goog.i18n.LocaleFeature.ECM
ASCRIPT_LISTFORMAT_COMMON_LOCALES_2022&&!
goog.i18n.LocaleFeature.ECMASCRIPT_INTL_OPT_OUT;var
module$exports$goog$i18n$NativeLocaleDigits={FormatWithLocaleDigits:{ar:"latn","ar-
EG":"arab",bn:"beng",fa:"arabext",mr:"deva",my:"mymr",ne:"deva"}};goog.dom.vendor={
};goog.dom.vendor.getVendorJsPrefix=function(){return
goog.userAgent.WEBKIT?"Webkit":goog.userAgent.GECKO?"Moz":goog.userAgent.IE?"ms":nu
ll};goog.dom.vendor.getVendorPrefix=function(){return goog.userAgent.WEBKIT?"-
webkit":goog.userAgent.GECKO?"-moz":goog.userAgent.IE?"-ms":null};
goog.dom.vendor.getPrefixedPropertyName=function(a,b){if(b&&a in b)return a;var
c=goog.dom.vendor.getVendorJsPrefix();return c?
(c=c.toLowerCase(),a=c+goog.string.toTitleCase(a),void 0===b||a in b?
a:null):null};goog.dom.vendor.getPrefixedEventType=function(a){var
b=goog.dom.vendor.getVendorJsPrefix()||"";return(b+a).toLowerCase()};goog.math.Box=
function(a,b,c,d)
{this.top=a;this.right=b;this.bottom=c;this.left=d};goog.math.Box.boundingBox=funct
ion(a){for(var b=new
goog.math.Box(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<ar
guments.length;c++)b.expandToIncludeCoordinate(arguments[c]);return
b};goog.math.Box.prototype.getWidth=function(){return this.right-
this.left};goog.math.Box.prototype.getHeight=function(){return this.bottom-
this.top};
goog.math.Box.prototype.clone=function(){return new
goog.math.Box(this.top,this.right,this.bottom,this.left)};goog.DEBUG&&(goog.math.Bo
x.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r,
"+this.bottom+"b, "+this.left+"l)"});goog.math.Box.prototype.contains=function(a)
{return goog.math.Box.contains(this,a)};
goog.math.Box.prototype.expand=function(a,b,c,d){goog.isObject(a)?(this.top-
=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-
=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return
this};goog.math.Box.prototype.expandToIncludeCoordinate=function(a)
{this.top=Math.min(this.top,a.y);this.right=Math.max(this.right,a.x);this.bottom=Ma
th.max(this.bottom,a.y);this.left=Math.min(this.left,a.x)};
goog.math.Box.equals=function(a,b){return a==b?!0:a&&b?
a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!
1};goog.math.Box.contains=function(a,b){return a&&b?b instanceof goog.math.Box?
b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x
<=a.right&&b.y>=a.top&&b.y<=a.bottom:!
1};goog.math.Box.relativePositionX=function(a,b){return b.x<a.left?b.x-
a.left:b.x>a.right?b.x-a.right:0};
goog.math.Box.relativePositionY=function(a,b){return b.y<a.top?b.y-
a.top:b.y>a.bottom?b.y-a.bottom:0};goog.math.Box.distance=function(a,b){var
c=goog.math.Box.relativePositionX(a,b);a=goog.math.Box.relativePositionY(a,b);retur
n Math.sqrt(c*c+a*a)};goog.math.Box.intersects=function(a,b){return
a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom};goog.math.Box.i
ntersectsWithPadding=function(a,b,c){return
a.left<=b.right+c&&b.left<=a.right+c&&a.top<=b.bottom+c&&b.top<=a.bottom+c};
goog.math.Box.prototype.ceil=function()
{this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.cei
l(this.bottom);this.left=Math.ceil(this.left);return
this};goog.math.Box.prototype.floor=function()
{this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.f
loor(this.bottom);this.left=Math.floor(this.left);return this};
goog.math.Box.prototype.round=function()
{this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.r
ound(this.bottom);this.left=Math.round(this.left);return
this};goog.math.Box.prototype.translate=function(a,b){a instanceof
goog.math.Coordinate?
(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):
(goog.asserts.assertNumber(a),this.left+=a,this.right+=a,"number"===typeof
b&&(this.top+=b,this.bottom+=b));return this};
goog.math.Box.prototype.scale=function(a,b){b="number"===typeof b?
b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return
this};goog.math.IRect=function(){};goog.math.Rect=function(a,b,c,d)
{this.left=a;this.top=b;this.width=c;this.height=d};goog.math.Rect.prototype.clone=
function(){return new
goog.math.Rect(this.left,this.top,this.width,this.height)};goog.math.Rect.prototype
.toBox=function(){var a=this.left+this.width,b=this.top+this.height;return new
goog.math.Box(this.top,a,b,this.left)};goog.math.Rect.createFromPositionAndSize=fun
ction(a,b){return new goog.math.Rect(a.x,a.y,b.width,b.height)};
goog.math.Rect.createFromBox=function(a){return new
goog.math.Rect(a.left,a.top,a.right-a.left,a.bottom-
a.top)};goog.DEBUG&&(goog.math.Rect.prototype.toString=function()
{return"("+this.left+", "+this.top+" - "+this.width+"w x
"+this.height+"h)"});goog.math.Rect.equals=function(a,b){return a==b?!0:a&&b?
a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
goog.math.Rect.prototype.intersection=function(a){var
b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=
c){var
d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)
return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};
goog.math.Rect.intersection=function(a,b){var
c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var
e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return
new goog.math.Rect(c,e,d-c,a-e)}return
null};goog.math.Rect.intersects=function(a,b){return
a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top
+a.height};goog.math.Rect.prototype.intersects=function(a){return
goog.math.Rect.intersects(this,a)};
goog.math.Rect.difference=function(a,b){var c=goog.math.Rect.intersection(a,b);if(!
c||!c.height||!c.width)return[a.clone()];c=[];var
d=a.top,e=a.height,f=a.left+a.width,g=a.top+a.height,h=b.left+b.width,k=b.top+b.hei
ght;b.top>a.top&&(c.push(new goog.math.Rect(a.left,a.top,a.width,b.top-
a.top)),d=b.top,e-=b.top-a.top);k<g&&(c.push(new goog.math.Rect(a.left,k,a.width,g-
k)),e=k-d);b.left>a.left&&c.push(new goog.math.Rect(a.left,d,b.left-
a.left,e));h<f&&c.push(new goog.math.Rect(h,d,f-h,e));return c};
goog.math.Rect.prototype.difference=function(a){return
goog.math.Rect.difference(this,a)};goog.math.Rect.prototype.boundingRect=function(a
){var
b=Math.max(this.left+this.width,a.left+a.width),c=Math.max(this.top+this.height,a.t
op+a.height);this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top)
;this.width=b-this.left;this.height=c-
this.top};goog.math.Rect.boundingRect=function(a,b){if(!a||!b)return null;a=new
goog.math.Rect(a.left,a.top,a.width,a.height);a.boundingRect(b);return a};
goog.math.Rect.prototype.contains=function(a){return a instanceof
goog.math.Coordinate?
a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height
:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top
+this.height>=a.top+a.height};goog.math.Rect.prototype.squaredDistance=function(a)
{var b=a.x<this.left?this.left-a.x:Math.max(a.x-
(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-
(this.top+this.height),0);return b*b+a*a};
goog.math.Rect.prototype.distance=function(a){return
Math.sqrt(this.squaredDistance(a))};goog.math.Rect.prototype.getSize=function()
{return new
goog.math.Size(this.width,this.height)};goog.math.Rect.prototype.getTopLeft=functio
n(){return new
goog.math.Coordinate(this.left,this.top)};goog.math.Rect.prototype.ceil=function()
{this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(t
his.width);this.height=Math.ceil(this.height);return this};
goog.math.Rect.prototype.floor=function()
{this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floo
r(this.width);this.height=Math.floor(this.height);return
this};goog.math.Rect.prototype.round=function()
{this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.roun
d(this.width);this.height=Math.round(this.height);return this};
goog.math.Rect.prototype.translate=function(a,b){a instanceof goog.math.Coordinate?
(this.left+=a.x,this.top+=a.y):
(this.left+=goog.asserts.assertNumber(a),"number"===typeof b&&(this.top+=b));return
this};goog.math.Rect.prototype.scale=function(a,b){b="number"===typeof b?
b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return
this};goog.style={};goog.style.setStyle=function(a,b,c){if("string"===typeof
b)goog.style.setStyle_(a,c,b);else for(var d in
b)goog.style.setStyle_(a,b[d],d)};goog.style.setStyle_=function(a,b,c)
{(c=goog.style.getVendorJsStyleName_(a,c))&&(a.style[c]=b)};goog.style.styleNameCac
he_={};
goog.style.getVendorJsStyleName_=function(a,b){var
c=goog.style.styleNameCache_[b];if(!c){var d=goog.string.toCamelCase(b);c=d;void
0===a.style[d]&&(d=goog.dom.vendor.getVendorJsPrefix()
+goog.string.toTitleCase(d),void 0!
==a.style[d]&&(c=d));goog.style.styleNameCache_[b]=c}return c};
goog.style.getVendorStyleName_=function(a,b){var
c=goog.string.toCamelCase(b);return void
0===a.style[c]&&(c=goog.dom.vendor.getVendorJsPrefix()
+goog.string.toTitleCase(c),void 0!==a.style[c])?goog.dom.vendor.getVendorPrefix()
+"-"+b:b};goog.style.getStyle=function(a,b){var
c=a.style[goog.string.toCamelCase(b)];return"undefined"!==typeof c?
c:a.style[goog.style.getVendorJsStyleName_(a,b)]||""};
goog.style.getComputedStyle=function(a,b){var c=goog.dom.getOwnerDocument(a);return
c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,
null))?a[b]||
a.getPropertyValue(b)||"":""};goog.style.getCascadedStyle=function(a,b){return
a.currentStyle?a.currentStyle[b]:null};goog.style.getStyle_=function(a,b){return
goog.style.getComputedStyle(a,b)||goog.style.getCascadedStyle(a,b)||
a.style&&a.style[b]};
goog.style.getComputedBoxSizing=function(a){return
goog.style.getStyle_(a,"boxSizing")||goog.style.getStyle_(a,"MozBoxSizing")||
goog.style.getStyle_(a,"WebkitBoxSizing")||
null};goog.style.getComputedPosition=function(a){return
goog.style.getStyle_(a,"position")};goog.style.getBackgroundColor=function(a)
{return
goog.style.getStyle_(a,"backgroundColor")};goog.style.getComputedOverflowX=function
(a){return goog.style.getStyle_(a,"overflowX")};
goog.style.getComputedOverflowY=function(a){return
goog.style.getStyle_(a,"overflowY")};goog.style.getComputedZIndex=function(a)
{return
goog.style.getStyle_(a,"zIndex")};goog.style.getComputedTextAlign=function(a)
{return
goog.style.getStyle_(a,"textAlign")};goog.style.getComputedCursor=function(a)
{return
goog.style.getStyle_(a,"cursor")};goog.style.getComputedTransform=function(a){var
b=goog.style.getVendorStyleName_(a,"transform");return goog.style.getStyle_(a,b)||
goog.style.getStyle_(a,"transform")};
goog.style.setPosition=function(a,b,c){if(b instanceof goog.math.Coordinate){var
d=b.x;b=b.y}else d=b,b=c;a.style.left=goog.style.getPixelStyleValue_(d,!
1);a.style.top=goog.style.getPixelStyleValue_(b,!
1)};goog.style.getPosition=function(a){return new
goog.math.Coordinate(a.offsetLeft,a.offsetTop)};goog.style.getClientViewportElement
=function(a){a=a?goog.dom.getOwnerDocument(a):goog.dom.getDocument();return
a.documentElement};
goog.style.getViewportPageOffset=function(a){var
b=a.body,c=a.documentElement;a=b.scrollLeft||c.scrollLeft;b=b.scrollTop||
c.scrollTop;return new
goog.math.Coordinate(a,b)};goog.style.getBoundingClientRect_=function(a){try{return
a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
goog.style.getOffsetParent=function(a){var
b=goog.dom.getOwnerDocument(a),c=goog.style.getStyle_(a,"position"),d="fixed"==c||"
absolute"==c;for(a=a.parentNode;a&&a!
=b;a=a.parentNode)if(a.nodeType==goog.dom.NodeType.DOCUMENT_FRAGMENT&&a.host&&(a=a.
host),c=goog.style.getStyle_(a,"position"),d=d&&"static"==c&&a!
=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||
a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return
a;return null};
goog.style.getVisibleRectForElement=function(a){for(var b=new
goog.math.Box(0,Infinity,Infinity,0),c=goog.dom.getDomHelper(a),d=c.getDocument().b
ody,e=c.getDocument().documentElement,f=c.getDocumentScrollElement();a=goog.style.g
etOffsetParent(a);)if((!goog.userAgent.WEBKIT||0!=a.clientHeight||a!=d)&&a!=d&&a!
=e&&"visible"!=goog.style.getStyle_(a,"overflow")){var
g=goog.style.getPageOffset(a),h=goog.style.getClientLeftTop(a);g.x+=h.x;g.y+=h.y;b.
top=Math.max(b.top,g.y);b.right=Math.min(b.right,g.x+a.clientWidth);
b.bottom=Math.min(b.bottom,g.y+a.clientHeight);b.left=Math.max(b.left,g.x)}d=f.scro
llLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewp
ortSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height
);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
goog.style.getContainerOffsetToScrollInto=function(a,b,c){var d=b||
goog.dom.getDocumentScrollElement(),e=goog.style.getPageOffset(a),f=goog.style.getP
ageOffset(d),g=goog.style.getBorderBox(d);d==goog.dom.getDocumentScrollElement()?
(b=e.x-d.scrollLeft,e=e.y-d.scrollTop):(b=e.x-f.x-g.left,e=e.y-f.y-
g.top);f=goog.style.getSizeWithDisplay_(a);a=d.clientWidth-
f.width;f=d.clientHeight-f.height;g=d.scrollLeft;d=d.scrollTop;c?(g+=b-a/2,d+=e-f/
2):(g+=Math.min(b,Math.max(b-a,0)),d+=Math.min(e,Math.max(e-f,
0)));return new
goog.math.Coordinate(g,d)};goog.style.scrollIntoContainerView=function(a,b,c){b=b||
goog.dom.getDocumentScrollElement();a=goog.style.getContainerOffsetToScrollInto(a,b
,c);b.scrollLeft=a.x;b.scrollTop=a.y};goog.style.getClientLeftTop=function(a)
{return new goog.math.Coordinate(a.clientLeft,a.clientTop)};
goog.style.getPageOffset=function(a){var
b=goog.dom.getOwnerDocument(a);goog.asserts.assertObject(a,"Parameter is
required");var c=new
goog.math.Coordinate(0,0),d=goog.style.getClientViewportElement(b);if(a==d)return
c;a=goog.style.getBoundingClientRect_(a);b=goog.dom.getDomHelper(b).getDocumentScro
ll();c.x=a.left+b.x;c.y=a.top+b.y;return
c};goog.style.getPageOffsetLeft=function(a){return
goog.style.getPageOffset(a).x};goog.style.getPageOffsetTop=function(a){return
goog.style.getPageOffset(a).y};
goog.style.getFramedPageOffset=function(a,b){var c=new
goog.math.Coordinate(0,0),d=goog.dom.getWindow(goog.dom.getOwnerDocument(a));if(!
goog.reflect.canAccessProperty(d,"parent"))return c;do{var e=d==b?
goog.style.getPageOffset(a):goog.style.getClientPositionForElement_(goog.asserts.as
sert(a));c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!
=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};
goog.style.translateRectForAnotherFrame=function(a,b,c){b.getDocument()!
=c.getDocument()&&(b=b.getDocument().body,c=goog.style.getFramedPageOffset(b,c.getW
indow()),c=goog.math.Coordinate.difference(c,goog.style.getPageOffset(b)),a.left+=c
.x,a.top+=c.y)};goog.style.getRelativePosition=function(a,b)
{a=goog.style.getClientPosition(a);b=goog.style.getClientPosition(b);return new
goog.math.Coordinate(a.x-b.x,a.y-b.y)};
goog.style.getClientPositionForElement_=function(a)
{a=goog.style.getBoundingClientRect_(a);return new
goog.math.Coordinate(a.left,a.top)};goog.style.getClientPosition=function(a)
{goog.asserts.assert(a);if(a.nodeType==goog.dom.NodeType.ELEMENT)return
goog.style.getClientPositionForElement_(a);a=a.changedTouches?
a.changedTouches[0]:a;return new goog.math.Coordinate(a.clientX,a.clientY)};
goog.style.setPageOffset=function(a,b,c){var d=goog.style.getPageOffset(a);b
instanceof goog.math.Coordinate&&(c=b.y,b=b.x);b=goog.asserts.assertNumber(b)-
d.x;c=Number(c)-
d.y;goog.style.setPosition(a,a.offsetLeft+b,a.offsetTop+c)};goog.style.setSize=func
tion(a,b,c){if(b instanceof goog.math.Size)c=b.height,b=b.width;else if(void
0==c)throw Error("missing height
argument");goog.style.setWidth(a,b);goog.style.setHeight(a,c)};
goog.style.getPixelStyleValue_=function(a,b){"number"==typeof a&&(a=(b?
Math.round(a):a)+"px");return a};goog.style.setHeight=function(a,b)
{a.style.height=goog.style.getPixelStyleValue_(b,!
0)};goog.style.setWidth=function(a,b)
{a.style.width=goog.style.getPixelStyleValue_(b,!0)};goog.style.getSize=function(a)
{return
goog.style.evaluateWithTemporaryDisplay_(goog.style.getSizeWithDisplay_,a)};
goog.style.evaluateWithTemporaryDisplay_=function(a,b){if("none"!
=goog.style.getStyle_(b,"display"))return a(b);var
c=b.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position=
"absolute";c.display="inline";a=a(b);c.display=d;c.position=f;c.visibility=e;return
a};
goog.style.getSizeWithDisplay_=function(a){var
b=a.offsetWidth,c=a.offsetHeight,d=goog.userAgent.WEBKIT&&!b&&!c;return(void
0===b||d)&&a.getBoundingClientRect?(a=goog.style.getBoundingClientRect_(a),new
goog.math.Size(a.right-a.left,a.bottom-a.top)):new
goog.math.Size(b,c)};goog.style.getTransformedSize=function(a){if(!
a.getBoundingClientRect)return
null;a=goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_,a
);return new goog.math.Size(a.right-a.left,a.bottom-a.top)};
goog.style.getBounds=function(a){var
b=goog.style.getPageOffset(a);a=goog.style.getSize(a);return new
goog.math.Rect(b.x,b.y,a.width,a.height)};goog.style.toCamelCase=function(a){return
goog.string.toCamelCase(String(a))};goog.style.toSelectorCase=function(a){return
goog.string.toSelectorCase(a)};
goog.style.getOpacity=function(a){goog.asserts.assert(a);var
b=a.style;a="";"opacity"in b?a=b.opacity:"MozOpacity"in b?a=b.MozOpacity:"filter"in
b&&(b=b.filter.match(/alpha\(opacity=([\d.]+)\)/))&&(a=String(b[1]/
100));return""==a?a:Number(a)};goog.style.setOpacity=function(a,b)
{goog.asserts.assert(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?
a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)
+")")};
goog.style.setTransparentBackgroundImage=function(a,b)
{a=a.style;a.backgroundImage="url("+b+")";a.backgroundPosition="top
left";a.backgroundRepeat="no-
repeat"};goog.style.clearTransparentBackgroundImage=function(a)
{a=a.style;"filter"in a?
a.filter="":a.backgroundImage="none"};goog.style.showElement=function(a,b)
{goog.style.setElementShown(a,b)};goog.style.setElementShown=function(a,b)
{a.style.display=b?"":"none"};goog.style.isElementShown=function(a){return"none"!
=a.style.display};
goog.style.installSafeStyleSheet=function(a,b){b=goog.dom.getDomHelper(b);var
c=b.getElementsByTagNameAndClass(goog.dom.TagName.HEAD)[0];if(!c){var
d=b.getElementsByTagNameAndClass(goog.dom.TagName.BODY)
[0];c=b.createDom(goog.dom.TagName.HEAD);d.parentNode.insertBefore(c,d)}d=b.createD
om(goog.dom.TagName.STYLE);var
e=goog.dom.safe.getStyleNonce();e&&d.setAttribute("nonce",e);goog.style.setSafeStyl
eSheet(d,a);b.appendChild(c,d);return d};
goog.style.uninstallStyles=function(a){a=a.ownerNode||a.owningElement||
a;goog.dom.removeNode(a)};goog.style.setSafeStyleSheet=function(a,b)
{b=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(b);goog.global.tr
ustedTypes?
goog.dom.setTextContent(a,b):a.innerHTML=b};goog.style.setPreWrap=function(a)
{a=a.style;a.whiteSpace=goog.userAgent.GECKO?"-moz-pre-wrap":"pre-
wrap"};goog.style.setInlineBlock=function(a)
{a=a.style;a.position="relative";a.display="inline-block"};
goog.style.isRightToLeft=function(a)
{return"rtl"==goog.style.getStyle_(a,"direction")};goog.style.unselectableStyle_=go
og.userAgent.GECKO?"MozUserSelect":goog.userAgent.WEBKIT||
goog.userAgent.EDGE?"WebkitUserSelect":null;goog.style.isUnselectable=function(a)
{return!(!goog.style.unselectableStyle_||"none"!
=a.style[goog.style.unselectableStyle_].toLowerCase())};
goog.style.setUnselectable=function(a,b,c){c=c?null:a.getElementsByTagName("*");var
d=goog.style.unselectableStyle_;if(d&&(b=b?"none":"",a.style&&(a.style[d]=b),c))
{a=0;for(var e;e=c[a];a+
+)e.style&&(e.style[d]=b)}};goog.style.getBorderBoxSize=function(a){return new
goog.math.Size(a.offsetWidth,a.offsetHeight)};goog.style.setBorderBoxSize=function(
a,b){goog.style.setBoxSizingSize_(a,b,"border-box")};
goog.style.getContentBoxSize=function(a){var
b=goog.style.getBorderBoxSize(a),c=goog.style.getPaddingBox(a);a=goog.style.getBord
erBox(a);return new goog.math.Size(b.width-a.left-c.left-c.right-a.right,b.height-
a.top-c.top-c.bottom-a.bottom)};goog.style.setContentBoxSize=function(a,b)
{goog.style.setBoxSizingSize_(a,b,"content-box")};
goog.style.setBoxSizingSize_=function(a,b,c){a=a.style;goog.userAgent.GECKO?
a.MozBoxSizing=c:goog.userAgent.WEBKIT?
a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.ma
x(b.height,0)+"px"};goog.style.getIePixelValue_=function(a,b,c,d){if(/^\d+px?
$/.test(b))return parseInt(b,10);var
e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b
=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
goog.style.getIePixelDistance_=function(a,b)
{return(b=goog.style.getCascadedStyle(a,b))?
goog.style.getIePixelValue_(a,b,"left","pixelLeft"):0};goog.style.getBox_=function(
a,b){var
c=goog.style.getComputedStyle(a,b+"Left"),d=goog.style.getComputedStyle(a,b+"Right"
),e=goog.style.getComputedStyle(a,b+"Top");a=goog.style.getComputedStyle(a,b+"Botto
m");return new
goog.math.Box(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))};goog.style.
getPaddingBox=function(a){return goog.style.getBox_(a,"padding")};
goog.style.getMarginBox=function(a){return
goog.style.getBox_(a,"margin")};goog.style.ieBorderWidthKeywords_={thin:2,medium:4,
thick:6};goog.style.getIePixelBorder_=function(a,b)
{if("none"==goog.style.getCascadedStyle(a,b+"Style"))return
0;b=goog.style.getCascadedStyle(a,b+"Width");return b in
goog.style.ieBorderWidthKeywords_?
goog.style.ieBorderWidthKeywords_[b]:goog.style.getIePixelValue_(a,b,"left","pixelL
eft")};
goog.style.getBorderBox=function(a){var
b=goog.style.getComputedStyle(a,"borderLeftWidth"),c=goog.style.getComputedStyle(a,
"borderRightWidth"),d=goog.style.getComputedStyle(a,"borderTopWidth");a=goog.style.
getComputedStyle(a,"borderBottomWidth");return new
goog.math.Box(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};
goog.style.getFontFamily=function(a){var
b=goog.dom.getOwnerDocument(a),c="";if(b.body.createTextRange&&goog.dom.contains(b,
a))
{b=b.body.createTextRange();b.moveToElementText(a);try{c=b.queryCommandValue("FontN
ame")}catch(d){c=""}}c||
(c=goog.style.getStyle_(a,"fontFamily"));a=c.split(",");1<a.length&&(c=a[0]);return
goog.string.stripQuotes(c,"\"'")};goog.style.lengthUnitRegex_=/[^\d]+
$/;goog.style.getLengthUnits=function(a)
{return(a=a.match(goog.style.lengthUnitRegex_))&&a[0]||null};
goog.style.ABSOLUTE_CSS_LENGTH_UNITS_={cm:1,"in":1,mm:1,pc:1,pt:1};goog.style.CONVE
RTIBLE_RELATIVE_CSS_UNITS_={em:1,ex:1};goog.style.getFontSize=function(a){var
b=goog.style.getStyle_(a,"fontSize"),c=goog.style.getLengthUnits(b);if(b&&"px"==c)r
eturn parseInt(b,10);c=goog.dom.createDom(goog.dom.TagName.SPAN,
{style:"visibility:hidden;position:absolute;line-
height:0;padding:0;margin:0;border:0;height:1em;"});goog.dom.appendChild(a,c);b=c.o
ffsetHeight;goog.dom.removeNode(c);return b};
goog.style.parseStyleAttribute=function(a){var b={};a.split(/\s*;\
s*/).forEach(function(c){var d=c.match(/\s*([\w-]+)\s*:(.
+)/);d&&(c=d[1],d=goog.string.trim(d[2]),b[goog.string.toCamelCase(c.toLowerCase())
]=d)});return b};goog.style.toStyleAttribute=function(a){var
b=[];module$contents$goog$object_forEach(a,function(c,d)
{b.push(goog.string.toSelectorCase(d),":",c,";")});return
b.join("")};goog.style.setFloat=function(a,b){a.style.cssFloat=b};
goog.style.getFloat=function(a){return
a.style.cssFloat||""};goog.style.getScrollbarWidth=function(a){var
b=goog.dom.createElement(goog.dom.TagName.DIV);a&&(b.className=a);b.style.cssText="
overflow:auto;position:absolute;top:0;width:100px;height:100px";a=goog.dom.createEl
ement(goog.dom.TagName.DIV);goog.style.setSize(a,"200px","200px");b.appendChild(a);
goog.dom.appendChild(goog.dom.getDocument().body,b);a=b.offsetWidth-
b.clientWidth;goog.dom.removeNode(b);return a};
goog.style.MATRIX_TRANSLATION_REGEX_=RegExp("matrix\\([0-9\\.\\-]+, [0-9\\.\\-]+,
[0-9\\.\\-]+, [0-9\\.\\-]+, ([0-9\\.\\-]+)p?x?, ([0-9\\.\\-]+)p?
x?\\)");goog.style.getCssTranslation=function(a)
{a=goog.style.getComputedTransform(a);return a?
(a=a.match(goog.style.MATRIX_TRANSLATION_REGEX_))?new
goog.math.Coordinate(parseFloat(a[1]),parseFloat(a[2])):new
goog.math.Coordinate(0,0):new
goog.math.Coordinate(0,0)};safevalues.safeAttrPrefix=module$contents$google3$third_
party$javascript$safevalues$builders$attribute_builders_safeAttrPrefix;safevalues.h
tmlFragment=module$contents$google3$third_party$javascript$safevalues$builders$docu
ment_fragment_builders_htmlFragment;safevalues.htmlToNode=module$contents$google3$t
hird_party$javascript$safevalues$builders$document_fragment_builders_htmlToNode;saf
evalues.svgFragment=module$contents$google3$third_party$javascript$safevalues$build
ers$document_fragment_builders_svgFragment;
safevalues.concatHtmls=module$exports$google3$third_party$javascript$safevalues$ind
ex.concatHtmls;safevalues.createHtml=module$exports$google3$third_party$javascript$
safevalues$index.createHtml;safevalues.doctypeHtml=module$exports$google3$third_par
ty$javascript$safevalues$index.doctypeHtml;safevalues.htmlEscape=module$exports$goo
gle3$third_party$javascript$safevalues$index.htmlEscape;safevalues.joinHtmls=module
$exports$google3$third_party$javascript$safevalues$index.joinHtmls;
safevalues.nodeToHtml=module$exports$google3$third_party$javascript$safevalues$inde
x.nodeToHtml;safevalues.scriptToHtml=module$exports$google3$third_party$javascript$
safevalues$index.scriptToHtml;safevalues.scriptUrlToHtml=module$exports$google3$thi
rd_party$javascript$safevalues$index.scriptUrlToHtml;safevalues.styleSheetToHtml=mo
dule$exports$google3$third_party$javascript$safevalues$index.styleSheetToHtml;safev
alues.HtmlFormatter=module$exports$google3$third_party$javascript$safevalues$builde
rs$html_formatter.HtmlFormatter;
safevalues.sanitizeHtml=module$exports$google3$third_party$javascript$safevalues$in
dex.sanitizeHtml;safevalues.sanitizeHtmlAssertUnchanged=module$exports$google3$thir
d_party$javascript$safevalues$index.sanitizeHtmlAssertUnchanged;safevalues.sanitize
HtmlToFragment=module$exports$google3$third_party$javascript$safevalues$index.sanit
izeHtmlToFragment;safevalues.HtmlSanitizer=module$exports$google3$third_party$javas
cript$safevalues$index.HtmlSanitizer;safevalues.HtmlSanitizerBuilder=module$exports
$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitizer_b
uilder.HtmlSanitizerBuilder;
safevalues.appendParams=module$contents$google3$third_party$javascript$safevalues$b
uilders$resource_url_builders_appendParams;safevalues.appendPathSegment=module$cont
ents$google3$third_party$javascript$safevalues$builders$resource_url_builders_appen
dPathSegment;safevalues.objectUrlFromScript=module$contents$google3$third_party$jav
ascript$safevalues$builders$resource_url_builders_objectUrlFromScript;safevalues.re
placeFragment=module$contents$google3$third_party$javascript$safevalues$builders$re
source_url_builders_replaceFragment;
safevalues.toAbsoluteResourceUrl=module$contents$google3$third_party$javascript$saf
evalues$builders$resource_url_builders_toAbsoluteResourceUrl;safevalues.trustedReso
urceUrl=module$contents$google3$third_party$javascript$safevalues$builders$resource
_url_builders_trustedResourceUrl;safevalues.concatScripts=module$contents$google3$t
hird_party$javascript$safevalues$builders$script_builders_concatScripts;safevalues.
safeScript=module$contents$google3$third_party$javascript$safevalues$builders$scrip
t_builders_safeScript;
safevalues.safeScriptWithArgs=module$contents$google3$third_party$javascript$safeva
lues$builders$script_builders_safeScriptWithArgs;safevalues.valueAsScript=module$co
ntents$google3$third_party$javascript$safevalues$builders$script_builders_valueAsSc
ript;safevalues.concatStyles=module$contents$google3$third_party$javascript$safeval
ues$builders$style_builders_concatStyles;safevalues.safeStyle=module$contents$googl
e3$third_party$javascript$safevalues$builders$style_builders_safeStyle;
safevalues.styleForMigration=module$contents$google3$third_party$javascript$safeval
ues$builders$style_builders_styleForMigration;safevalues.concatStyleSheets=module$c
ontents$google3$third_party$javascript$safevalues$builders$style_sheet_builders_con
catStyleSheets;safevalues.safeStyleRule=module$contents$google3$third_party$javascr
ipt$safevalues$builders$style_sheet_builders_safeStyleRule;safevalues.safeStyleShee
t=module$contents$google3$third_party$javascript$safevalues$builders$style_sheet_bu
ilders_safeStyleSheet;
safevalues.SanitizableUrlScheme=module$exports$google3$third_party$javascript$safev
alues$builders$url_builders.SanitizableUrlScheme;safevalues.addJavaScriptUrlSanitiz
ationCallback=module$contents$google3$third_party$javascript$safevalues$builders$ur
l_builders_addJavaScriptUrlSanitizationCallback;safevalues.fromMediaSource=module$c
ontents$google3$third_party$javascript$safevalues$builders$url_builders_fromMediaSo
urce;safevalues.fromTrustedResourceUrl=module$contents$google3$third_party$javascri
pt$safevalues$builders$url_builders_fromTrustedResourceUrl;
safevalues.objectUrlFromSafeSource=module$contents$google3$third_party$javascript$s
afevalues$builders$url_builders_objectUrlFromSafeSource;safevalues.removeJavaScript
UrlSanitizationCallback=module$contents$google3$third_party$javascript$safevalues$b
uilders$url_builders_removeJavaScriptUrlSanitizationCallback;safevalues.safeUrl=mod
ule$contents$google3$third_party$javascript$safevalues$builders$url_builders_safeUr
l;safevalues.sanitizeUrl=module$contents$google3$third_party$javascript$safevalues$
builders$url_builders_sanitizeUrl;
safevalues.trySanitizeUrl=module$contents$google3$third_party$javascript$safevalues
$builders$url_builders_trySanitizeUrl;safevalues.Scheme=module$exports$google3$thir
d_party$javascript$safevalues$index.Scheme;safevalues.SafeAttributePrefix=module$ex
ports$google3$third_party$javascript$safevalues$internals$attribute_impl.SafeAttrib
utePrefix;safevalues.unwrapAttributePrefix=module$contents$google3$third_party$java
script$safevalues$internals$attribute_impl_unwrapAttributePrefix;
safevalues.EMPTY_HTML=module$exports$google3$third_party$javascript$safevalues$inde
x.EMPTY_HTML;safevalues.SafeHtml=module$exports$google3$third_party$javascript$safe
values$index.SafeHtml;safevalues.isHtml=module$exports$google3$third_party$javascri
pt$safevalues$index.isHtml;safevalues.unwrapHtml=module$exports$google3$third_party
$javascript$safevalues$index.unwrapHtml;safevalues.TrustedResourceUrl=goog.html.Tru
stedResourceUrl;safevalues.isResourceUrl=module$contents$google3$third_party$javasc
ript$safevalues$internals$resource_url_impl_isResourceUrl;
safevalues.unwrapResourceUrl=module$contents$google3$third_party$javascript$safeval
ues$internals$resource_url_impl_unwrapResourceUrl;safevalues.EMPTY_SCRIPT=module$ex
ports$google3$third_party$javascript$safevalues$internals$script_impl.EMPTY_SCRIPT;
safevalues.SafeScript=module$exports$google3$third_party$javascript$safevalues$inte
rnals$script_impl.SafeScript;safevalues.isScript=module$contents$google3$third_part
y$javascript$safevalues$internals$script_impl_isScript;safevalues.unwrapScript=modu
le$contents$google3$third_party$javascript$safevalues$internals$script_impl_unwrapS
cript;
safevalues.SafeStyle=module$contents$goog$html$SafeStyle_SafeStyle;safevalues.isSty
le=module$contents$google3$third_party$javascript$safevalues$internals$style_impl_i
sStyle;safevalues.unwrapStyle=module$contents$google3$third_party$javascript$safeva
lues$internals$style_impl_unwrapStyle;safevalues.SafeStyleSheet=module$contents$goo
g$html$SafeStyleSheet_SafeStyleSheet;safevalues.isStyleSheet=module$contents$google
3$third_party$javascript$safevalues$internals$style_sheet_impl_isStyleSheet;
safevalues.unwrapStyleSheet=module$contents$google3$third_party$javascript$safevalu
es$internals$style_sheet_impl_unwrapStyleSheet;safevalues.ABOUT_BLANK=module$export
s$google3$third_party$javascript$safevalues$internals$url_impl.ABOUT_BLANK;safevalu
es.INNOCUOUS_URL=module$exports$google3$third_party$javascript$safevalues$internals
$url_impl.INNOCUOUS_URL;safevalues.SafeUrl=module$exports$google3$third_party$javas
cript$safevalues$internals$url_impl.SafeUrl;safevalues.isUrl=module$contents$google
3$third_party$javascript$safevalues$internals$url_impl_isUrl;
safevalues.unwrapUrl=module$contents$google3$third_party$javascript$safevalues$inte
rnals$url_impl_unwrapUrl;safevalues.reportOnlyHtmlPassthrough=module$contents$googl
e3$third_party$javascript$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
var
module$exports$google3$third_party$javascript$safevalues$restricted$legacy={};modul
e$exports$google3$third_party$javascript$safevalues$restricted$legacy.lenientlySani
tizeHtml=module$exports$google3$third_party$javascript$safevalues$builders$html_san
itizer$html_sanitizer.lenientlySanitizeHtml;module$exports$google3$third_party$java
script$safevalues$restricted$legacy.lenientlySanitizeHtmlAssertUnchanged=module$exp
orts$google3$third_party$javascript$safevalues$builders$html_sanitizer$html_sanitiz
er.lenientlySanitizeHtmlAssertUnchanged;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeHtml(a,b)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return(0,module$exports$google3$third_party$javascript$safevalues$internal
s$html_impl.createHtmlInternal)
(module$contents$google3$third_party$javascript$safevalues$reporting$reporting_repo
rtOnlyHtmlPassthrough(a,b))}
module$exports$google3$third_party$javascript$safevalues$restricted$legacy.legacyUn
safeHtml=module$contents$google3$third_party$javascript$safevalues$restricted$legac
y_legacyUnsafeHtml;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeScript(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return
module$contents$google3$third_party$javascript$safevalues$internals$script_impl_cre
ateScriptInternal(a)}module$exports$google3$third_party$javascript$safevalues$restr
icted$legacy.legacyUnsafeScript=module$contents$google3$third_party$javascript$safe
values$restricted$legacy_legacyUnsafeScript;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeResourceUrl(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return
module$contents$google3$third_party$javascript$safevalues$internals$resource_url_im
pl_createResourceUrlInternal(a)}
module$exports$google3$third_party$javascript$safevalues$restricted$legacy.legacyUn
safeResourceUrl=module$contents$google3$third_party$javascript$safevalues$restricte
d$legacy_legacyUnsafeResourceUrl;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeUrl(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_create
UrlInternal(a)}module$exports$google3$third_party$javascript$safevalues$restricted$
legacy.legacyUnsafeUrl=module$contents$google3$third_party$javascript$safevalues$re
stricted$legacy_legacyUnsafeUrl;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeStyle(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return(0,module$exports$goog$html$safestyle_internals_for_safevalues.creat
eSafeStyle)
(a)}module$exports$google3$third_party$javascript$safevalues$restricted$legacy.lega
cyUnsafeStyle=module$contents$google3$third_party$javascript$safevalues$restricted$
legacy_legacyUnsafeStyle;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyU
nsafeStyleSheet(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$legacy_null
UndefinedToString(a);if(goog.DEBUG&&"string"!==typeof a)throw Error("Expected a
string");return(0,module$exports$goog$html$safestylesheet_internals_for_safevalues.
createSafeStyleSheet)
(a)}module$exports$google3$third_party$javascript$safevalues$restricted$legacy.lega
cyUnsafeStyleSheet=module$contents$google3$third_party$javascript$safevalues$restri
cted$legacy_legacyUnsafeStyleSheet;
function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_nullUnd
efinedToString(a){return null===a?"null":void 0===a?"undefined":a}function
module$contents$google3$third_party$javascript$safevalues$restricted$legacy_superLe
nientlySanitizeHtml(a)
{return(0,module$exports$google3$third_party$javascript$safevalues$builders$html_sa
nitizer$html_sanitizer.superLenientlySanitizeHtml)(a)}
module$exports$google3$third_party$javascript$safevalues$restricted$legacy.superLen
ientlySanitizeHtml=module$contents$google3$third_party$javascript$safevalues$restri
cted$legacy_superLenientlySanitizeHtml;safevalues.restricted.legacy={};safevalues.r
estricted.legacy.legacyUnsafeHtml=module$contents$google3$third_party$javascript$sa
fevalues$restricted$legacy_legacyUnsafeHtml;safevalues.restricted.legacy.legacyUnsa
feScript=module$contents$google3$third_party$javascript$safevalues$restricted$legac
y_legacyUnsafeScript;safevalues.restricted.legacy.legacyUnsafeResourceUrl=module$co
ntents$google3$third_party$javascript$safevalues$restricted$legacy_legacyUnsafeReso
urceUrl;
safevalues.restricted.legacy.legacyUnsafeUrl=module$contents$google3$third_party$ja
vascript$safevalues$restricted$legacy_legacyUnsafeUrl;safevalues.restricted.legacy.
legacyUnsafeStyle=module$contents$google3$third_party$javascript$safevalues$restric
ted$legacy_legacyUnsafeStyle;safevalues.restricted.legacy.legacyUnsafeStyleSheet=mo
dule$contents$google3$third_party$javascript$safevalues$restricted$legacy_legacyUns
afeStyleSheet;safevalues.restricted.legacy.superLenientlySanitizeHtml=module$conten
ts$google3$third_party$javascript$safevalues$restricted$legacy_superLenientlySaniti
zeHtml;
safevalues.restricted.legacy.lenientlySanitizeHtml=module$exports$google3$third_par
ty$javascript$safevalues$restricted$legacy.lenientlySanitizeHtml;safevalues.restric
ted.legacy.lenientlySanitizeHtmlAssertUnchanged=module$exports$google3$third_party$
javascript$safevalues$restricted$legacy.lenientlySanitizeHtmlAssertUnchanged;goog.d
om.classlist={};goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST=!
1;goog.dom.classlist.getClassName_=function(a){return"string"==typeof a.className?
a.className:a.getAttribute&&a.getAttribute("class")||""};goog.dom.classlist.get=fun
ction(a){return goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?
a.classList:goog.dom.classlist.getClassName_(a).match(/\S+/g)||
[]};goog.dom.classlist.set=function(a,b){"string"==typeof a.className?
a.className=b:a.setAttribute&&a.setAttribute("class",b)};
goog.dom.classlist.contains=function(a,b){return
goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?
a.classList.contains(b):module$contents$goog$array_contains(goog.dom.classlist.get(
a),b)};goog.dom.classlist.add=function(a,b)
{if(goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||
a.classList)a.classList.add(b);else if(!goog.dom.classlist.contains(a,b)){var
c=goog.dom.classlist.getClassName_(a);goog.dom.classlist.set(a,c+(0<c.length?"
"+b:b))}};
goog.dom.classlist.addAll=function(a,b)
{if(goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||
a.classList)Array.prototype.forEach.call(b,function(e)
{goog.dom.classlist.add(a,e)});else{var
c={};Array.prototype.forEach.call(goog.dom.classlist.get(a),function(e){c[e]=!
0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in
c)b+=0<b.length?" "+d:d;goog.dom.classlist.set(a,b)}};
goog.dom.classlist.remove=function(a,b)
{goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?
a.classList.remove(b):goog.dom.classlist.contains(a,b)&&goog.dom.classlist.set(a,Ar
ray.prototype.filter.call(goog.dom.classlist.get(a),function(c){return c!
=b}).join(" "))};
goog.dom.classlist.removeAll=function(a,b)
{goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?
Array.prototype.forEach.call(b,function(c)
{goog.dom.classlist.remove(a,c)}):goog.dom.classlist.set(a,Array.prototype.filter.c
all(goog.dom.classlist.get(a),function(c){return!
module$contents$goog$array_contains(b,c)}).join("
"))};goog.dom.classlist.enable=function(a,b,c){c?
goog.dom.classlist.add(a,b):goog.dom.classlist.remove(a,b)};
goog.dom.classlist.enableAll=function(a,b,c){c=c?
goog.dom.classlist.addAll:goog.dom.classlist.removeAll;c(a,b)};goog.dom.classlist.s
wap=function(a,b,c){return goog.dom.classlist.contains(a,b)?
(goog.dom.classlist.remove(a,b),goog.dom.classlist.add(a,c),!0):!
1};goog.dom.classlist.toggle=function(a,b){var c=!
goog.dom.classlist.contains(a,b);goog.dom.classlist.enable(a,b,c);return
c};goog.dom.classlist.addRemove=function(a,b,c)
{goog.dom.classlist.remove(a,b);goog.dom.classlist.add(a,c)};goog.events.EventTarge
t=function(){goog.Disposable.call(this);this.eventTargetListeners_=new
goog.events.ListenerMap(this);this.actualEventTarget_=this;this.parentEventTarget_=
null};goog.inherits(goog.events.EventTarget,goog.Disposable);goog.events.Listenable
.addImplementation(goog.events.EventTarget);goog.events.EventTarget.MAX_ANCESTORS_=
1E3;goog.events.EventTarget.prototype.getParentEventTarget=function(){return
this.parentEventTarget_};
goog.events.EventTarget.prototype.setParentEventTarget=function(a)
{this.parentEventTarget_=a};goog.events.EventTarget.prototype.addEventListener=func
tion(a,b,c,d)
{goog.events.listen(this,a,b,c,d)};goog.events.EventTarget.prototype.removeEventLis
tener=function(a,b,c,d){goog.events.unlisten(this,a,b,c,d)};
goog.events.EventTarget.prototype.dispatchEvent=function(a)
{this.assertInitialized_();var b=this.getParentEventTarget();if(b){var c=[];for(var
d=1;b;b=b.getParentEventTarget())c.push(b),goog.asserts.assert(+
+d<goog.events.EventTarget.MAX_ANCESTORS_,"infinite loop")}return
goog.events.EventTarget.dispatchEventInternal_(this.actualEventTarget_,a,c)};
goog.events.EventTarget.prototype.disposeInternal=function()
{goog.events.EventTarget.superClass_.disposeInternal.call(this);this.removeAllListe
ners();this.parentEventTarget_=null};goog.events.EventTarget.prototype.listen=funct
ion(a,b,c,d){this.assertInitialized_();return
this.eventTargetListeners_.add(String(a),b,!
1,c,d)};goog.events.EventTarget.prototype.listenOnce=function(a,b,c,d){return
this.eventTargetListeners_.add(String(a),b,!0,c,d)};
goog.events.EventTarget.prototype.unlisten=function(a,b,c,d){return
this.eventTargetListeners_.remove(String(a),b,c,d)};goog.events.EventTarget.prototy
pe.unlistenByKey=function(a){return
this.eventTargetListeners_.removeByKey(a)};goog.events.EventTarget.prototype.remove
AllListeners=function(a){return this.eventTargetListeners_?
this.eventTargetListeners_.removeAll(a):0};
goog.events.EventTarget.prototype.fireListeners=function(a,b,c)
{a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!
0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!
f.removed&&f.capture==b){var g=f.listener,h=f.handler||
f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==g.call(h,c)&&d}}return d&&!
c.defaultPrevented};goog.events.EventTarget.prototype.getListeners=function(a,b)
{return this.eventTargetListeners_.getListeners(String(a),b)};
goog.events.EventTarget.prototype.getListener=function(a,b,c,d){return
this.eventTargetListeners_.getListener(String(a),b,c,d)};goog.events.EventTarget.pr
ototype.hasListener=function(a,b){a=void 0!==a?String(a):void 0;return
this.eventTargetListeners_.hasListener(a,b)};goog.events.EventTarget.prototype.asse
rtInitialized_=function(){goog.asserts.assert(this.eventTargetListeners_,"Event
target is not initialized. Did you call the superclass (goog.events.EventTarget)
constructor?")};
goog.events.EventTarget.dispatchEventInternal_=function(a,b,c){var d=b.type||
b;if("string"===typeof b)b=new goog.events.Event(b,a);else if(b instanceof
goog.events.Event)b.target=b.target||a;else{var e=b;b=new
goog.events.Event(d,a);module$contents$goog$object_extend(b,e)}e=!0;if(c)for(var
f=c.length-1;!b.propagationStopped_&&0<=f;f--){var
g=b.currentTarget=c[f];e=g.fireListeners(d,!0,b)&&e}b.propagationStopped_||
(g=b.currentTarget=a,e=g.fireListeners(d,!0,b)&&e,b.propagationStopped_||
(e=g.fireListeners(d,
!1,b)&&e));if(c)for(f=0;!b.propagationStopped_&&f<c.length;f+
+)g=b.currentTarget=c[f],e=g.fireListeners(d,!1,b)&&e;return
e};goog.dom.ViewportSizeMonitor=function(a)
{goog.events.EventTarget.call(this);this.window_=a||
window;this.listenerKey_=goog.events.listen(this.window_,goog.events.EventType.RESI
ZE,this.handleResize_,!
1,this);this.size_=goog.dom.getViewportSize(this.window_)};goog.inherits(goog.dom.V
iewportSizeMonitor,goog.events.EventTarget);
goog.dom.ViewportSizeMonitor.getInstanceForWindow=function(a){a=a||window;var
b=goog.getUid(a);return
goog.dom.ViewportSizeMonitor.windowInstanceMap_[b]=goog.dom.ViewportSizeMonitor.win
dowInstanceMap_[b]||new
goog.dom.ViewportSizeMonitor(a)};goog.dom.ViewportSizeMonitor.removeInstanceForWind
ow=function(a){a=goog.getUid(a||
window);module$contents$goog$dispose_dispose(goog.dom.ViewportSizeMonitor.windowIns
tanceMap_[a]);delete goog.dom.ViewportSizeMonitor.windowInstanceMap_[a]};
goog.dom.ViewportSizeMonitor.windowInstanceMap_={};goog.dom.ViewportSizeMonitor.pro
totype.getSize=function(){return this.size_?
this.size_.clone():null};goog.dom.ViewportSizeMonitor.prototype.disposeInternal=fun
ction()
{goog.dom.ViewportSizeMonitor.superClass_.disposeInternal.call(this);this.listenerK
ey_&&(goog.events.unlistenByKey(this.listenerKey_),this.listenerKey_=null);this.siz
e_=this.window_=null};
goog.dom.ViewportSizeMonitor.prototype.handleResize_=function(){var
a=goog.dom.getViewportSize(this.window_);goog.math.Size.equals(a,this.size_)||
(this.size_=a,this.dispatchEvent(goog.events.EventType.RESIZE))};goog.events.KeyCod
es={WIN_KEY_FF_LINUX:0,MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:1
6,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:
35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PLUS_SIGN:43,PRINT_SCREEN:44,INSERT:45,DE
LETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NIN
E:57,FF_SEMICOLON:59,FF_EQUALS:61,FF_DASH:173,FF_HASH:163,FF_JP_QUOTE:58,FF_DE_PLUS
:171,QUESTION_MARK:63,AT_SIGN:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,
H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:8
8,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO
:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,
NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISIO
N:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:12
2,F12:123,NUMLOCK:144,SCROLL_LOCK:145,FIRST_MEDIA_KEY:166,LAST_MEDIA_KEY:183,SEMICO
LON:186,
DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_
QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:22
4,MAC_FF_META:224,MAC_WK_CMD_LEFT:91,MAC_WK_CMD_RIGHT:93,WIN_IME:229,VK_NONAME:252,
PHANTOM:255};
goog.events.KeyCodes.isTextModifyingKeyEvent=function(a){if(a.altKey&&!a.ctrlKey||
a.metaKey||
a.keyCode>=goog.events.KeyCodes.F1&&a.keyCode<=goog.events.KeyCodes.F12)return!
1;if(goog.events.KeyCodes.isCharacterKey(a.keyCode))return!0;switch(a.keyCode){case
goog.events.KeyCodes.ALT:case goog.events.KeyCodes.CAPS_LOCK:case
goog.events.KeyCodes.CONTEXT_MENU:case goog.events.KeyCodes.CTRL:case
goog.events.KeyCodes.DOWN:case goog.events.KeyCodes.END:case
goog.events.KeyCodes.ESC:case goog.events.KeyCodes.HOME:case
goog.events.KeyCodes.INSERT:case goog.events.KeyCodes.LEFT:case
goog.events.KeyCodes.MAC_FF_META:case goog.events.KeyCodes.META:case
goog.events.KeyCodes.NUMLOCK:case goog.events.KeyCodes.NUM_CENTER:case
goog.events.KeyCodes.PAGE_DOWN:case goog.events.KeyCodes.PAGE_UP:case
goog.events.KeyCodes.PAUSE:case goog.events.KeyCodes.PHANTOM:case
goog.events.KeyCodes.PRINT_SCREEN:case goog.events.KeyCodes.RIGHT:case
goog.events.KeyCodes.SCROLL_LOCK:case goog.events.KeyCodes.SHIFT:case
goog.events.KeyCodes.UP:case goog.events.KeyCodes.VK_NONAME:case
goog.events.KeyCodes.WIN_KEY:case goog.events.KeyCodes.WIN_KEY_RIGHT:return!1;case
goog.events.KeyCodes.WIN_KEY_FF_LINUX:return!goog.userAgent.GECKO;
default:return a.keyCode<goog.events.KeyCodes.FIRST_MEDIA_KEY||
a.keyCode>goog.events.KeyCodes.LAST_MEDIA_KEY}};
goog.events.KeyCodes.firesKeyPressEvent=function(a,b,c,d,e,f)
{if(goog.userAgent.MAC&&e)return goog.events.KeyCodes.isCharacterKey(a);if(e&&!
d)return!1;if(!goog.userAgent.GECKO){"number"===typeof
b&&(b=goog.events.KeyCodes.normalizeKeyCode(b));var
g=b==goog.events.KeyCodes.CTRL||b==goog.events.KeyCodes.ALT||
goog.userAgent.MAC&&b==goog.events.KeyCodes.META;b=b==goog.events.KeyCodes.SHIFT&&(
d||f);if((!c||goog.userAgent.MAC)&&g||goog.userAgent.MAC&&b)return!
1}if(goog.userAgent.WEBKIT&&d&&c)switch(a){case goog.events.KeyCodes.BACKSLASH:case
goog.events.KeyCodes.OPEN_SQUARE_BRACKET:case
goog.events.KeyCodes.CLOSE_SQUARE_BRACKET:case goog.events.KeyCodes.TILDE:case
goog.events.KeyCodes.SEMICOLON:case goog.events.KeyCodes.DASH:case
goog.events.KeyCodes.EQUALS:case goog.events.KeyCodes.COMMA:case
goog.events.KeyCodes.PERIOD:case goog.events.KeyCodes.SLASH:case
goog.events.KeyCodes.APOSTROPHE:case goog.events.KeyCodes.SINGLE_QUOTE:return!
1}switch(a){case goog.events.KeyCodes.ENTER:return goog.userAgent.GECKO?
f||e?!1:!(c&&d):!0;case goog.events.KeyCodes.ESC:return!goog.userAgent.WEBKIT&&!
goog.userAgent.GECKO}return goog.userAgent.GECKO&&(d||e||f)?!
1:goog.events.KeyCodes.isCharacterKey(a)};
goog.events.KeyCodes.isCharacterKey=function(a)
{if(a>=goog.events.KeyCodes.ZERO&&a<=goog.events.KeyCodes.NINE||
a>=goog.events.KeyCodes.NUM_ZERO&&a<=goog.events.KeyCodes.NUM_MULTIPLY||
a>=goog.events.KeyCodes.A&&a<=goog.events.KeyCodes.Z||
goog.userAgent.WEBKIT&&0==a)return!0;switch(a){case goog.events.KeyCodes.SPACE:case
goog.events.KeyCodes.PLUS_SIGN:case goog.events.KeyCodes.QUESTION_MARK:case
goog.events.KeyCodes.AT_SIGN:case goog.events.KeyCodes.NUM_PLUS:case
goog.events.KeyCodes.NUM_MINUS:case goog.events.KeyCodes.NUM_PERIOD:case
goog.events.KeyCodes.NUM_DIVISION:case goog.events.KeyCodes.SEMICOLON:case
goog.events.KeyCodes.FF_SEMICOLON:case goog.events.KeyCodes.DASH:case
goog.events.KeyCodes.EQUALS:case goog.events.KeyCodes.FF_EQUALS:case
goog.events.KeyCodes.COMMA:case goog.events.KeyCodes.PERIOD:case
goog.events.KeyCodes.SLASH:case goog.events.KeyCodes.APOSTROPHE:case
goog.events.KeyCodes.SINGLE_QUOTE:case
goog.events.KeyCodes.OPEN_SQUARE_BRACKET:case goog.events.KeyCodes.BACKSLASH:case
goog.events.KeyCodes.CLOSE_SQUARE_BRACKET:case goog.events.KeyCodes.FF_HASH:case
goog.events.KeyCodes.FF_JP_QUOTE:return!0;case goog.events.KeyCodes.FF_DASH:case
goog.events.KeyCodes.FF_DE_PLUS:return goog.userAgent.GECKO;
default:return!1}};goog.events.KeyCodes.normalizeKeyCode=function(a){return
goog.userAgent.GECKO?
goog.events.KeyCodes.normalizeGeckoKeyCode(a):goog.userAgent.MAC&&goog.userAgent.WE
BKIT?goog.events.KeyCodes.normalizeMacWebKitKeyCode(a):a};
goog.events.KeyCodes.normalizeGeckoKeyCode=function(a){switch(a){case
goog.events.KeyCodes.FF_EQUALS:return goog.events.KeyCodes.EQUALS;case
goog.events.KeyCodes.FF_SEMICOLON:return goog.events.KeyCodes.SEMICOLON;case
goog.events.KeyCodes.FF_DASH:return goog.events.KeyCodes.DASH;case
goog.events.KeyCodes.MAC_FF_META:return goog.events.KeyCodes.META;case
goog.events.KeyCodes.WIN_KEY_FF_LINUX:return
goog.events.KeyCodes.WIN_KEY;default:return a}};
goog.events.KeyCodes.normalizeMacWebKitKeyCode=function(a){switch(a){case
goog.events.KeyCodes.MAC_WK_CMD_RIGHT:return
goog.events.KeyCodes.META;default:return
a}};goog.collections={};goog.collections.maps={};var
module$contents$goog$collections$maps_MapLike=function()
{};module$contents$goog$collections$maps_MapLike.prototype.set=function()
{};module$contents$goog$collections$maps_MapLike.prototype.get=function()
{};module$contents$goog$collections$maps_MapLike.prototype.keys=function()
{};module$contents$goog$collections$maps_MapLike.prototype.values=function()
{};module$contents$goog$collections$maps_MapLike.prototype.has=function(){};
goog.collections.maps.MapLike=module$contents$goog$collections$maps_MapLike;functio
n module$contents$goog$collections$maps_setAll(a,b){if(b)
{b=$jscomp.makeIterator(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var
d=$jscomp.makeIterator(c);c=d.next().value;d=d.next().value;a.set(c,d)}}}goog.colle
ctions.maps.setAll=module$contents$goog$collections$maps_setAll;
function module$contents$goog$collections$maps_hasValue(a,b,c){c=void 0===c?
module$contents$goog$collections$maps_defaultEqualityFn:c;a=$jscomp.makeIterator(a.
values());for(var d=a.next();!d.done;d=a.next())if(d=d.value,c(d,b))return!
0;return!
1}goog.collections.maps.hasValue=module$contents$goog$collections$maps_hasValue;var
module$contents$goog$collections$maps_defaultEqualityFn=function(a,b){return
a===b};
function module$contents$goog$collections$maps_equals(a,b,c){c=void 0===c?
module$contents$goog$collections$maps_defaultEqualityFn:c;if(a===b)return!
0;if(a.size!==b.size)return!1;for(var d=$jscomp.makeIterator(a.keys()),e=d.next();!
e.done;e=d.next())if(e=e.value,!b.has(e)||!c(a.get(e),b.get(e)))return!1;return!
0}goog.collections.maps.equals=module$contents$goog$collections$maps_equals;
function module$contents$goog$collections$maps_transpose(a){for(var b=new
Map,c=$jscomp.makeIterator(a.keys()),d=c.next();!d.done;d=c.next()){d=d.value;var
e=a.get(d);b.set(e,d)}return
b}goog.collections.maps.transpose=module$contents$goog$collections$maps_transpose;f
unction module$contents$goog$collections$maps_toObject(a){for(var
b={},c=$jscomp.makeIterator(a.keys()),d=c.next();!
d.done;d=c.next())d=d.value,b[d]=a.get(d);return
b}goog.collections.maps.toObject=module$contents$goog$collections$maps_toObject;goo
g.structs={};goog.structs.getCount=function(a){return
a.getCount&&"function"==typeof a.getCount?
a.getCount():goog.isArrayLike(a)||"string"===typeof a?
a.length:module$contents$goog$object_getCount(a)};
goog.structs.getValues=function(a){if(a.getValues&&"function"==typeof
a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof
Map||"undefined"!==typeof Set&&a instanceof Set)return
Array.from(a.values());if("string"===typeof a)return
a.split("");if(goog.isArrayLike(a)){for(var b=[],c=a.length,d=0;d<c;d+
+)b.push(a[d]);return b}return module$contents$goog$object_getValues(a)};
goog.structs.getKeys=function(a){if(a.getKeys&&"function"==typeof a.getKeys)return
a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!
==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!
==typeof Set&&a instanceof Set)){if(goog.isArrayLike(a)||"string"===typeof a){var
b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return
module$contents$goog$object_getKeys(a)}}};
goog.structs.contains=function(a,b){return a.contains&&"function"==typeof
a.contains?a.contains(b):a.containsValue&&"function"==typeof a.containsValue?
a.containsValue(b):goog.isArrayLike(a)||"string"===typeof a?
module$contents$goog$array_contains(a,b):module$contents$goog$object_containsValue(
a,b)};goog.structs.isEmpty=function(a){return a.isEmpty&&"function"==typeof
a.isEmpty?a.isEmpty():goog.isArrayLike(a)||"string"===typeof a?
0===a.length:module$contents$goog$object_isEmpty(a)};
goog.structs.clear=function(a){a.clear&&"function"==typeof a.clear?
a.clear():goog.isArrayLike(a)?
module$contents$goog$array_clear(a):module$contents$goog$object_clear(a)};goog.stru
cts.forEach=function(a,b,c){if(a.forEach&&"function"==typeof
a.forEach)a.forEach(b,c);else if(goog.isArrayLike(a)||"string"===typeof
a)Array.prototype.forEach.call(a,b,c);else for(var
d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g+
+)b.call(c,e[g],d&&d[g],a)};
goog.structs.filter=function(a,b,c){if("function"==typeof a.filter)return
a.filter(b,c);if(goog.isArrayLike(a)||"string"===typeof a)return
Array.prototype.filter.call(a,b,c);var
d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length;if(d){var
g={};for(var h=0;h<f;h++)b.call(c,e[h],d[h],a)&&(g[d[h]]=e[h])}else
for(g=[],h=0;h<f;h++)b.call(c,e[h],void 0,a)&&g.push(e[h]);return g};
goog.structs.map=function(a,b,c){if("function"==typeof a.map)return
a.map(b,c);if(goog.isArrayLike(a)||"string"===typeof a)return
Array.prototype.map.call(a,b,c);var
d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length;if(d){var
g={};for(var h=0;h<f;h++)g[d[h]]=b.call(c,e[h],d[h],a)}else for(g=[],h=0;h<f;h+
+)g[h]=b.call(c,e[h],void 0,a);return g};
goog.structs.some=function(a,b,c){if("function"==typeof a.some)return
a.some(b,c);if(goog.isArrayLike(a)||"string"===typeof a)return
Array.prototype.some.call(a,b,c);for(var
d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g+
+)if(b.call(c,e[g],d&&d[g],a))return!0;return!1};
goog.structs.every=function(a,b,c){if("function"==typeof a.every)return
a.every(b,c);if(goog.isArrayLike(a)||"string"===typeof a)return
Array.prototype.every.call(a,b,c);for(var
d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g++)if(!
b.call(c,e[g],d&&d[g],a))return!1;return!
0};goog.uri={};goog.uri.utils={};goog.uri.utils.QueryArray={};goog.uri.utils.QueryV
alue={};goog.uri.utils.CharCode_={AMPERSAND:38,EQUAL:61,HASH:35,QUESTION:63};goog.u
ri.utils.buildFromEncodedParts=function(a,b,c,d,e,f,g){var
h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="
?"+f);g&&(h+="#"+g);return h};goog.uri.utils.splitRe_=RegExp("^(?:([^:/?#.]+):)?
(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?
(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
goog.uri.utils.ComponentIndex={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DA
TA:6,FRAGMENT:7};goog.uri.utils.urlPackageSupportLoggingHandler_=null;goog.uri.util
s.setUrlPackageSupportLoggingHandler=function(a)
{goog.uri.utils.urlPackageSupportLoggingHandler_=a};
goog.uri.utils.split=function(a){var
b=a.match(goog.uri.utils.splitRe_);goog.uri.utils.urlPackageSupportLoggingHandler_&
&0<=["http","https","ws","wss","ftp"].indexOf(b[goog.uri.utils.ComponentIndex.SCHEM
E])&&goog.uri.utils.urlPackageSupportLoggingHandler_(a);return
b};goog.uri.utils.decodeIfPossible_=function(a,b){return a?b?
decodeURI(a):decodeURIComponent(a):a};goog.uri.utils.getComponentByIndex_=function(
a,b){return goog.uri.utils.split(b)[a]||null};
goog.uri.utils.getScheme=function(a){return
goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.SCHEME,a)};goog.u
ri.utils.getEffectiveScheme=function(a){a=goog.uri.utils.getScheme(a);!
a&&goog.global.self&&goog.global.self.location&&(a=goog.global.self.location.protoc
ol,a=a.slice(0,-1));return a?
a.toLowerCase():""};goog.uri.utils.getUserInfoEncoded=function(a){return
goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.USER_INFO,a)};goo
g.uri.utils.getUserInfo=function(a){return
goog.uri.utils.decodeIfPossible_(goog.uri.utils.getUserInfoEncoded(a))};
goog.uri.utils.getDomainEncoded=function(a){return
goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.DOMAIN,a)};goog.u
ri.utils.getDomain=function(a){return
goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(a),!
0)};goog.uri.utils.getPort=function(a){return
Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT,a))||
null};goog.uri.utils.getPathEncoded=function(a){return
goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH,a)};
goog.uri.utils.getPath=function(a){return
goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(a),!
0)};goog.uri.utils.getQueryData=function(a){return
goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA,a)};go
og.uri.utils.getFragmentEncoded=function(a){var b=a.indexOf("#");return 0>b?
null:a.slice(b+1)};goog.uri.utils.setFragmentEncoded=function(a,b){return
goog.uri.utils.removeFragment(a)+
(b?"#"+b:"")};goog.uri.utils.getFragment=function(a){return
goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(a))};
goog.uri.utils.getHost=function(a){a=goog.uri.utils.split(a);return
goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],a[goog
.uri.utils.ComponentIndex.USER_INFO],a[goog.uri.utils.ComponentIndex.DOMAIN],a[goog
.uri.utils.ComponentIndex.PORT])};goog.uri.utils.getOrigin=function(a)
{a=goog.uri.utils.split(a);return
goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],null,a
[goog.uri.utils.ComponentIndex.DOMAIN],a[goog.uri.utils.ComponentIndex.PORT])};
goog.uri.utils.getPathAndAfter=function(a){a=goog.uri.utils.split(a);return
goog.uri.utils.buildFromEncodedParts(null,null,null,null,a[goog.uri.utils.Component
Index.PATH],a[goog.uri.utils.ComponentIndex.QUERY_DATA],a[goog.uri.utils.ComponentI
ndex.FRAGMENT])};goog.uri.utils.removeFragment=function(a){var
b=a.indexOf("#");return 0>b?a:a.slice(0,b)};
goog.uri.utils.haveSameDomain=function(a,b)
{a=goog.uri.utils.split(a);b=goog.uri.utils.split(b);return
a[goog.uri.utils.ComponentIndex.DOMAIN]==b[goog.uri.utils.ComponentIndex.DOMAIN]&&a
[goog.uri.utils.ComponentIndex.SCHEME]==b[goog.uri.utils.ComponentIndex.SCHEME]&&a[
goog.uri.utils.ComponentIndex.PORT]==b[goog.uri.utils.ComponentIndex.PORT]};
goog.uri.utils.assertNoFragmentsOrQueries_=function(a)
{goog.asserts.assert(0>a.indexOf("#")&&0>a.indexOf("?"),"goog.uri.utils: Fragment
or query identifiers are not supported:
[%s]",a)};goog.uri.utils.parseQueryData=function(a,b){if(a){a=a.split("&");for(var
c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var
f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?
goog.string.urlDecode(e):"")}}};
goog.uri.utils.splitQueryData_=function(a){var
b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var
d=""}else
d=a.substring(c+1,b);return[a.slice(0,c),d,a.slice(b)]};goog.uri.utils.joinQueryDat
a_=function(a){return a[0]+(a[1]?"?"+a[1]:"")
+a[2]};goog.uri.utils.appendQueryData_=function(a,b){return b?a?
a+"&"+b:b:a};goog.uri.utils.appendQueryDataToUri_=function(a,b){if(!b)return
a;a=goog.uri.utils.splitQueryData_(a);a[1]=goog.uri.utils.appendQueryData_(a[1],b);
return goog.uri.utils.joinQueryData_(a)};
goog.uri.utils.appendKeyValuePairs_=function(a,b,c)
{goog.asserts.assertString(a);if(Array.isArray(b))
{goog.asserts.assertArray(b);for(var d=0;d<b.length;d+
+)goog.uri.utils.appendKeyValuePairs_(a,String(b[d]),c)}else null!=b&&c.push(a+
(""===b?"":"="+goog.string.urlEncode(b)))};
goog.uri.utils.buildQueryData=function(a,b)
{goog.asserts.assert(0==Math.max(a.length-(b||0),0)%2,"goog.uri.utils: Key/value
lists must be even in length.");var c=[];for(b=b||0;b<a.length;b+=2){var
d=a[b];goog.uri.utils.appendKeyValuePairs_(d,a[b+1],c)}return
c.join("&")};goog.uri.utils.buildQueryDataFromMap=function(a){var b=[],c;for(c in
a)goog.uri.utils.appendKeyValuePairs_(c,a[c],b);return b.join("&")};
goog.uri.utils.appendParams=function(a,b){var c=2==arguments.length?
goog.uri.utils.buildQueryData(arguments[1],0):goog.uri.utils.buildQueryData(argumen
ts,1);return
goog.uri.utils.appendQueryDataToUri_(a,c)};goog.uri.utils.appendParamsFromMap=funct
ion(a,b){b=goog.uri.utils.buildQueryDataFromMap(b);return
goog.uri.utils.appendQueryDataToUri_(a,b)};goog.uri.utils.appendParam=function(a,b,
c){c=null!=c?"="+goog.string.urlEncode(c):"";return
goog.uri.utils.appendQueryDataToUri_(a,b+c)};
goog.uri.utils.findParam_=function(a,b,c,d){for(var
e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-
1);if(f==goog.uri.utils.CharCode_.AMPERSAND||
f==goog.uri.utils.CharCode_.QUESTION)if(f=a.charCodeAt(b+e),!f||
f==goog.uri.utils.CharCode_.EQUAL||f==goog.uri.utils.CharCode_.AMPERSAND||
f==goog.uri.utils.CharCode_.HASH)return b;b+=e+1}return-
1};goog.uri.utils.hashOrEndRe_=/#|$/;goog.uri.utils.hasParam=function(a,b){return
0<=goog.uri.utils.findParam_(a,0,b,a.search(goog.uri.utils.hashOrEndRe_))};
goog.uri.utils.getParamValue=function(a,b){var
c=a.search(goog.uri.utils.hashOrEndRe_),d=goog.uri.utils.findParam_(a,0,b,c);if(0>d
)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return
goog.string.urlDecode(a.slice(d,-1!==e?
e:0))};goog.uri.utils.getParamValues=function(a,b){for(var
c=a.search(goog.uri.utils.hashOrEndRe_),d=0,e,f=[];0<=(e=goog.uri.utils.findParam_(
a,d,b,c));){d=a.indexOf("&",e);if(0>d||
d>c)d=c;e+=b.length+1;f.push(goog.string.urlDecode(a.slice(e,Math.max(d,0))))}retur
n f};
goog.uri.utils.trailingQueryPunctuationRe_=/[?&]($|
#)/;goog.uri.utils.removeParam=function(a,b){for(var
c=a.search(goog.uri.utils.hashOrEndRe_),d=0,e,f=[];0<=(e=goog.uri.utils.findParam_(
a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||
c,c);f.push(a.slice(d));return
f.join("").replace(goog.uri.utils.trailingQueryPunctuationRe_,"$1")};goog.uri.utils
.setParam=function(a,b,c){return
goog.uri.utils.appendParam(goog.uri.utils.removeParam(a,b),b,c)};
goog.uri.utils.setParamsFromMap=function(a,b)
{a=goog.uri.utils.splitQueryData_(a);var
c=a[1],d=[];c&&c.split("&").forEach(function(e){var f=e.indexOf("=");f=0<=f?
e.slice(0,f):e;b.hasOwnProperty(f)||
d.push(e)});a[1]=goog.uri.utils.appendQueryData_(d.join("&"),goog.uri.utils.buildQu
eryDataFromMap(b));return goog.uri.utils.joinQueryData_(a)};
goog.uri.utils.appendPath=function(a,b)
{goog.uri.utils.assertNoFragmentsOrQueries_(a);goog.string.endsWith(a,"/")&&(a=a.sl
ice(0,-1));goog.string.startsWith(b,"/")&&(b=b.slice(1));return""+a+"/"+b};
goog.uri.utils.setPath=function(a,b){goog.string.startsWith(b,"/")||
(b="/"+b);a=goog.uri.utils.split(a);return
goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],a[goog
.uri.utils.ComponentIndex.USER_INFO],a[goog.uri.utils.ComponentIndex.DOMAIN],a[goog
.uri.utils.ComponentIndex.PORT],b,a[goog.uri.utils.ComponentIndex.QUERY_DATA],a[goo
g.uri.utils.ComponentIndex.FRAGMENT])};goog.uri.utils.StandardQueryParam={RANDOM:"z
x"};
goog.uri.utils.makeUnique=function(a){return
goog.uri.utils.setParam(a,goog.uri.utils.StandardQueryParam.RANDOM,goog.string.getR
andomString())};goog.Uri=function(a,b)
{this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.pa
th_="";this.ignoreCase_=this.isReadOnly_=!1;var c;a instanceof goog.Uri?
(this.ignoreCase_=void 0!==b?
b:a.ignoreCase_,this.setScheme(a.getScheme()),this.setUserInfo(a.getUserInfo()),thi
s.setDomain(a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),this
.setQueryData(a.getQueryData().clone()),this.setFragment(a.getFragment())):a&&(c=go
og.uri.utils.split(String(a)))?(this.ignoreCase_=
!!b,this.setScheme(c[goog.uri.utils.ComponentIndex.SCHEME]||"",!
0),this.setUserInfo(c[goog.uri.utils.ComponentIndex.USER_INFO]||"",!
0),this.setDomain(c[goog.uri.utils.ComponentIndex.DOMAIN]||"",!
0),this.setPort(c[goog.uri.utils.ComponentIndex.PORT]),this.setPath(c[goog.uri.util
s.ComponentIndex.PATH]||"",!
0),this.setQueryData(c[goog.uri.utils.ComponentIndex.QUERY_DATA]||"",!
0),this.setFragment(c[goog.uri.utils.ComponentIndex.FRAGMENT]||"",!0)):
(this.ignoreCase_=!!b,this.queryData_=new goog.Uri.QueryData(null,
this.ignoreCase_))};goog.Uri.RANDOM_PARAM=goog.uri.utils.StandardQueryParam.RANDOM;
goog.Uri.prototype.toString=function(){var
a=[],b=this.getScheme();b&&a.push(goog.Uri.encodeSpecialChars_(b,goog.Uri.reDisallo
wedInSchemeOrUserInfo_,!0),":");var
c=this.getDomain();if(c||"file"==b)a.push("//"),
(b=this.getUserInfo())&&a.push(goog.Uri.encodeSpecialChars_(b,goog.Uri.reDisallowed
InSchemeOrUserInfo_,!
0),"@"),a.push(goog.Uri.removeDoubleEncoding_(goog.string.urlEncode(c))),c=this.get
Port(),null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!
=c.charAt(0)&&a.push("/"),
a.push(goog.Uri.encodeSpecialChars_(c,"/"==c.charAt(0)?
goog.Uri.reDisallowedInAbsolutePath_:goog.Uri.reDisallowedInRelativePath_,!0));
(c=this.getEncodedQuery())&&a.push("?",c);
(c=this.getFragment())&&a.push("#",goog.Uri.encodeSpecialChars_(c,goog.Uri.reDisall
owedInFragment_));return a.join("")};
goog.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.hasScheme();c?
b.setScheme(a.getScheme()):c=a.hasUserInfo();c?
b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?
b.setDomain(a.getDomain()):c=a.hasPort();var
d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if("/"!
=d.charAt(0))if(this.hasDomain()&&!this.hasPath())d="/"+d;else{var
e=b.getPath().lastIndexOf("/");-1!
=e&&(d=b.getPath().slice(0,e+1)+d)}d=goog.Uri.removeDotSegments(d)}c?
b.setPath(d):c=a.hasQuery();c?b.setQueryData(a.getQueryData().clone()):
c=a.hasFragment();c&&b.setFragment(a.getFragment());return
b};goog.Uri.prototype.clone=function(){return new
goog.Uri(this)};goog.Uri.prototype.getScheme=function(){return
this.scheme_};goog.Uri.prototype.setScheme=function(a,b)
{this.enforceReadOnly();if(this.scheme_=b?goog.Uri.decodeOrEmpty_(a,!
0):a)this.scheme_=this.scheme_.replace(/:$/,"");return
this};goog.Uri.prototype.hasScheme=function(){return!!
this.scheme_};goog.Uri.prototype.getUserInfo=function(){return this.userInfo_};
goog.Uri.prototype.setUserInfo=function(a,b)
{this.enforceReadOnly();this.userInfo_=b?goog.Uri.decodeOrEmpty_(a):a;return
this};goog.Uri.prototype.hasUserInfo=function(){return!!
this.userInfo_};goog.Uri.prototype.getDomain=function(){return
this.domain_};goog.Uri.prototype.setDomain=function(a,b)
{this.enforceReadOnly();this.domain_=b?goog.Uri.decodeOrEmpty_(a,!0):a;return
this};goog.Uri.prototype.hasDomain=function(){return!!
this.domain_};goog.Uri.prototype.getPort=function(){return this.port_};
goog.Uri.prototype.setPort=function(a){this.enforceReadOnly();if(a)
{a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.port_=a}else
this.port_=null;return this};goog.Uri.prototype.hasPort=function(){return null!
=this.port_};goog.Uri.prototype.getPath=function(){return
this.path_};goog.Uri.prototype.setPath=function(a,b)
{this.enforceReadOnly();this.path_=b?goog.Uri.decodeOrEmpty_(a,!0):a;return
this};goog.Uri.prototype.hasPath=function(){return!!this.path_};
goog.Uri.prototype.hasQuery=function(){return""!
==this.queryData_.toString()};goog.Uri.prototype.setQueryData=function(a,b)
{this.enforceReadOnly();a instanceof goog.Uri.QueryData?
(this.queryData_=a,this.queryData_.setIgnoreCase(this.ignoreCase_)):(b||
(a=goog.Uri.encodeSpecialChars_(a,goog.Uri.reDisallowedInQuery_)),this.queryData_=n
ew goog.Uri.QueryData(a,this.ignoreCase_));return
this};goog.Uri.prototype.setQuery=function(a,b){return
this.setQueryData(a,b)};goog.Uri.prototype.getEncodedQuery=function(){return
this.queryData_.toString()};
goog.Uri.prototype.getQueryData=function(){return
this.queryData_};goog.Uri.prototype.getQuery=function(){return
this.getEncodedQuery()};goog.Uri.prototype.setParameterValue=function(a,b)
{this.enforceReadOnly();this.queryData_.set(a,b);return
this};goog.Uri.prototype.getParameterValue=function(a){return
this.queryData_.get(a)};goog.Uri.prototype.getFragment=function(){return
this.fragment_};
goog.Uri.prototype.setFragment=function(a,b)
{this.enforceReadOnly();this.fragment_=b?goog.Uri.decodeOrEmpty_(a):a;return
this};goog.Uri.prototype.hasFragment=function(){return!!
this.fragment_};goog.Uri.prototype.makeUnique=function()
{this.enforceReadOnly();this.setParameterValue(goog.Uri.RANDOM_PARAM,goog.string.ge
tRandomString());return this};goog.Uri.prototype.removeParameter=function(a)
{this.enforceReadOnly();this.queryData_.remove(a);return this};
goog.Uri.prototype.enforceReadOnly=function(){if(this.isReadOnly_)throw
Error("Tried to modify a read-only
Uri");};goog.Uri.prototype.setIgnoreCase=function(a)
{this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a);return
this};goog.Uri.parse=function(a,b){return a instanceof goog.Uri?a.clone():new
goog.Uri(a,b)};
goog.Uri.create=function(a,b,c,d,e,f,g,h){h=new
goog.Uri(null,h);a&&h.setScheme(a);b&&h.setUserInfo(b);c&&h.setDomain(c);d&&h.setPo
rt(d);e&&h.setPath(e);f&&h.setQueryData(f);g&&h.setFragment(g);return
h};goog.Uri.resolve=function(a,b){a instanceof goog.Uri||(a=goog.Uri.parse(a));b
instanceof goog.Uri||(b=goog.Uri.parse(b));return a.resolve(b)};
goog.Uri.removeDotSegments=function(a)
{if(".."==a||"."==a)return"";if(goog.string.contains(a,"./")||
goog.string.contains(a,"/.")){var
b=goog.string.startsWith(a,"/");a=a.split("/");for(var c=[],d=0;d<a.length;){var
e=a[d++];"."==e?b&&d==a.length&&c.push(""):".."==e?((1<c.length||1==c.length&&""!
=c[0])&&c.pop(),b&&d==a.length&&c.push("")):(c.push(e),b=!0)}return
c.join("/")}return a};goog.Uri.decodeOrEmpty_=function(a,b){return a?b?
decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
goog.Uri.encodeSpecialChars_=function(a,b,c){return"string"===typeof a?
(a=encodeURI(a).replace(b,goog.Uri.encodeChar_),c&&(a=goog.Uri.removeDoubleEncoding
_(a)),a):null};goog.Uri.encodeChar_=function(a){a=a.charCodeAt(0);return"%"+
(a>>4&15).toString(16)+
(a&15).toString(16)};goog.Uri.removeDoubleEncoding_=function(a){return
a.replace(/%25([0-9a-fA-F]{2})/g,"%
$1")};goog.Uri.reDisallowedInSchemeOrUserInfo_=/[#\/\?@]/
g;goog.Uri.reDisallowedInRelativePath_=/[#\?:]/g;
goog.Uri.reDisallowedInAbsolutePath_=/[#\?]/g;goog.Uri.reDisallowedInQuery_=/[#\?
@]/g;goog.Uri.reDisallowedInFragment_=/#/g;goog.Uri.haveSameDomain=function(a,b)
{a=goog.uri.utils.split(a);b=goog.uri.utils.split(b);return
a[goog.uri.utils.ComponentIndex.DOMAIN]==b[goog.uri.utils.ComponentIndex.DOMAIN]&&a
[goog.uri.utils.ComponentIndex.PORT]==b[goog.uri.utils.ComponentIndex.PORT]};goog.U
ri.QueryData=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||
null;this.ignoreCase_=!!b};
goog.Uri.QueryData.prototype.ensureKeyMapInitialized_=function(){if(!
this.keyMap_&&(this.keyMap_=new Map,this.count_=0,this.encodedQuery_)){var
a=this;goog.uri.utils.parseQueryData(this.encodedQuery_,function(b,c)
{a.add(goog.string.urlDecode(b),c)})}};
goog.Uri.QueryData.createFromMap=function(a,b){var
c=goog.structs.getKeys(a);if("undefined"==typeof c)throw Error("Keys are
undefined");b=new goog.Uri.QueryData(null,b);a=goog.structs.getValues(a);for(var
d=0;d<c.length;d++){var e=c[d],f=a[d];Array.isArray(f)?
b.setValues(e,f):b.add(e,f)}return b};
goog.Uri.QueryData.createFromKeysValues=function(a,b,c){if(a.length!=b.length)throw
Error("Mismatched lengths for keys/values");c=new
goog.Uri.QueryData(null,c);for(var d=0;d<a.length;d++)c.add(a[d],b[d]);return
c};goog.Uri.QueryData.prototype.getCount=function()
{this.ensureKeyMapInitialized_();return this.count_};
goog.Uri.QueryData.prototype.add=function(a,b)
{this.ensureKeyMapInitialized_();this.invalidateCache_();a=this.getKeyName_(a);var
c=this.keyMap_.get(a);c||
this.keyMap_.set(a,c=[]);c.push(b);this.count_=goog.asserts.assertNumber(this.count
_)+1;return this};
goog.Uri.QueryData.prototype.remove=function(a)
{this.ensureKeyMapInitialized_();a=this.getKeyName_(a);return this.keyMap_.has(a)?
(this.invalidateCache_(),this.count_=goog.asserts.assertNumber(this.count_)-
this.keyMap_.get(a).length,this.keyMap_.delete(a)):!
1};goog.Uri.QueryData.prototype.clear=function()
{this.invalidateCache_();this.keyMap_=null;this.count_=0};goog.Uri.QueryData.protot
ype.isEmpty=function(){this.ensureKeyMapInitialized_();return 0==this.count_};
goog.Uri.QueryData.prototype.containsKey=function(a)
{this.ensureKeyMapInitialized_();a=this.getKeyName_(a);return
this.keyMap_.has(a)};goog.Uri.QueryData.prototype.containsValue=function(a){var
b=this.getValues();return
module$contents$goog$array_contains(b,a)};goog.Uri.QueryData.prototype.forEach=func
tion(a,b){this.ensureKeyMapInitialized_();this.keyMap_.forEach(function(c,d)
{c.forEach(function(e){a.call(b,e,d,this)},this)},this)};
goog.Uri.QueryData.prototype.getKeys=function()
{this.ensureKeyMapInitialized_();for(var
a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.
length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return
c};goog.Uri.QueryData.prototype.getValues=function(a)
{this.ensureKeyMapInitialized_();var b=[];if("string"===typeof
a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(this.getKeyName_(a))));else{a=A
rray.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return
b};
goog.Uri.QueryData.prototype.set=function(a,b)
{this.ensureKeyMapInitialized_();this.invalidateCache_();a=this.getKeyName_(a);this
.containsKey(a)&&(this.count_=goog.asserts.assertNumber(this.count_)-
this.keyMap_.get(a).length);this.keyMap_.set(a,
[b]);this.count_=goog.asserts.assertNumber(this.count_)+1;return
this};goog.Uri.QueryData.prototype.get=function(a,b){if(!a)return
b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
goog.Uri.QueryData.prototype.setValues=function(a,b)
{this.remove(a);0<b.length&&(this.invalidateCache_(),this.keyMap_.set(this.getKeyNa
me_(a),module$contents$goog$array_toArray(b)),this.count_=goog.asserts.assertNumber
(this.count_)+b.length)};
goog.Uri.QueryData.prototype.toString=function(){if(this.encodedQuery_)return
this.encodedQuery_;if(!this.keyMap_)return"";for(var
a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var
d=b[c],e=goog.string.urlEncode(d);d=this.getValues(d);for(var f=0;f<d.length;f++)
{var g=e;""!==d[f]&&(g+="="+goog.string.urlEncode(d[f]));a.push(g)}}return
this.encodedQuery_=a.join("&")};goog.Uri.QueryData.prototype.invalidateCache_=funct
ion(){this.encodedQuery_=null};
goog.Uri.QueryData.prototype.clone=function(){var a=new
goog.Uri.QueryData;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new
Map(this.keyMap_),a.count_=this.count_);return
a};goog.Uri.QueryData.prototype.getKeyName_=function(a)
{a=String(a);this.ignoreCase_&&(a=a.toLowerCase());return a};
goog.Uri.QueryData.prototype.setIgnoreCase=function(a){var b=a&&!
this.ignoreCase_;b&&(this.ensureKeyMapInitialized_(),this.invalidateCache_(),this.k
eyMap_.forEach(function(c,d){var e=d.toLowerCase();d!
=e&&(this.remove(d),this.setValues(e,c))},this));this.ignoreCase_=a};goog.Uri.Query
Data.prototype.extend=function(a){for(var b=0;b<arguments.length;b++){var
c=arguments[b];goog.structs.forEach(c,function(d,e)
{this.add(e,d)},this)}};goog.net={};goog.net.EventType={COMPLETE:"complete",SUCCESS
:"success",ERROR:"error",ABORT:"abort",READY:"ready",READY_STATE_CHANGE:"readystate
change",TIMEOUT:"timeout",INCREMENTAL_DATA:"incrementaldata",PROGRESS:"progress",DO
WNLOAD_PROGRESS:"downloadprogress",UPLOAD_PROGRESS:"uploadprogress"};goog.json={};g
oog.json.Replacer={};goog.json.Reviver={};goog.json.USE_NATIVE_JSON=!
1;goog.json.isValid=function(a){if(/^\s*$/.test(a))return!1;var
b=/\\["\\\/bfnrtu]/g,c=/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|
null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,d=/
(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e=/^[\],:{}\s\u2028\u2029]*$/;return
e.test(a.replace(b,"@").replace(c,"]").replace(d,""))};goog.json.errorLogger_=funct
ion(){};
goog.json.setErrorLogger=function(a)
{goog.json.errorLogger_=a};goog.json.parse=goog.json.USE_NATIVE_JSON?
goog.global.JSON.parse:function(a){try{return goog.global.JSON.parse(a)}catch(d)
{var b=d}a=String(a);if(goog.json.isValid(a))try{var
c=eval("("+a+")");b&&goog.json.errorLogger_("Invalid JSON: "+a,b);return c}catch(d)
{}throw Error("Invalid JSON string:
"+a);};goog.json.serialize=goog.json.USE_NATIVE_JSON?
goog.global.JSON.stringify:function(a,b){return(new
goog.json.Serializer(b)).serialize(a)};
goog.json.Serializer=function(a)
{this.replacer_=a};goog.json.Serializer.prototype.serialize=function(a){var
b=[];this.serializeInternal(a,b);return b.join("")};
goog.json.Serializer.prototype.serializeInternal=function(a,b)
{if(null==a)b.push("null");else{if("object"==typeof a){if(Array.isArray(a))
{this.serializeArray(a,b);return}if(a instanceof String||a instanceof Number||a
instanceof
Boolean)a=a.valueOf();else{this.serializeObject_(a,b);return}}switch(typeof a){case
"string":this.serializeString_(a,b);break;case
"number":this.serializeNumber_(a,b);break;case
"boolean":b.push(String(a));break;case
"function":b.push("null");break;default:throw Error("Unknown type: "+
typeof
a);}}};goog.json.Serializer.charToJsonCharCache_={'"':'\\"',"\\":"\\\\","/":"\\/","
\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\
u000b"};goog.json.Serializer.charsToReplace_=/\uffff/.test("\uffff")?/[\\"\x00-\
x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
goog.json.Serializer.prototype.serializeString_=function(a,b)
{b.push('"',a.replace(goog.json.Serializer.charsToReplace_,function(c){var
d=goog.json.Serializer.charToJsonCharCache_[c];d||(d="\\u"+(c.charCodeAt(0)|
65536).toString(16).slice(1),goog.json.Serializer.charToJsonCharCache_[c]=d);return
d}),'"')};goog.json.Serializer.prototype.serializeNumber_=function(a,b)
{b.push(isFinite(a)&&!isNaN(a)?String(a):"null")};
goog.json.Serializer.prototype.serializeArray=function(a,b){var
c=a.length;b.push("[");for(var d="",e=0;e<c;e+
+)b.push(d),d=a[e],this.serializeInternal(this.replacer_?
this.replacer_.call(a,String(e),d):d,b),d=",";b.push("]")};
goog.json.Serializer.prototype.serializeObject_=function(a,b){b.push("{");var
c="",d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var
e=a[d];"function"!=typeof
e&&(b.push(c),this.serializeString_(d,b),b.push(":"),this.serializeInternal(this.re
placer_?
this.replacer_.call(a,d,e):e,b),c=",")}b.push("}")};goog.json.hybrid={};goog.json.h
ybrid.stringify=goog.json.USE_NATIVE_JSON?goog.global.JSON.stringify:function(a)
{if(goog.global.JSON)try{return goog.global.JSON.stringify(a)}catch(b){}return
goog.json.serialize(a)};goog.json.hybrid.parse_=function(a,b)
{if(goog.global.JSON)try{var
c=goog.global.JSON.parse(a);goog.asserts.assert("object"==typeof c);return
c}catch(d){}return b(a)};goog.json.hybrid.parse=goog.json.USE_NATIVE_JSON?
goog.global.JSON.parse:function(a){return
goog.json.hybrid.parse_(a,goog.json.parse)};goog.net.ErrorCode={NO_ERROR:0,ACCESS_D
ENIED:1,FILE_NOT_FOUND:2,FF_SILENT_ERROR:3,CUSTOM_ERROR:4,EXCEPTION:5,HTTP_ERROR:6,
ABORT:7,TIMEOUT:8,OFFLINE:9};
goog.net.ErrorCode.getDebugMessage=function(a){switch(a){case
goog.net.ErrorCode.NO_ERROR:return"No Error";case
goog.net.ErrorCode.ACCESS_DENIED:return"Access denied to content document";case
goog.net.ErrorCode.FILE_NOT_FOUND:return"File not found";case
goog.net.ErrorCode.FF_SILENT_ERROR:return"Firefox silently errored";case
goog.net.ErrorCode.CUSTOM_ERROR:return"Application custom error";case
goog.net.ErrorCode.EXCEPTION:return"An exception occurred";case
goog.net.ErrorCode.HTTP_ERROR:return"Http response at 400 or 500 level";
case goog.net.ErrorCode.ABORT:return"Request was aborted";case
goog.net.ErrorCode.TIMEOUT:return"Request timed out";case
goog.net.ErrorCode.OFFLINE:return"The resource is not available
offline";default:return"Unrecognized error
code"}};goog.net.HttpStatus={CONTINUE:100,SWITCHING_PROTOCOLS:101,OK:200,CREATED:20
1,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,P
ARTIAL_CONTENT:206,MULTI_STATUS:207,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUN
D:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,TEMPORARY_REDIRECT:307,PERMANENT
_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,N
OT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRE
D:407,REQUEST_TIMEOUT:408,
CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,REQUEST_ENTITY_TO
O_LARGE:413,REQUEST_URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,REQUEST_RANGE_NOT_S
ATISFIABLE:416,EXPECTATION_FAILED:417,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DE
PENDENCY:424,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_
TOO_LARGE:431,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:5
01,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUP
PORTED:505,
INSUFFICIENT_STORAGE:507,NETWORK_AUTHENTICATION_REQUIRED:511,QUIRK_IE_NO_CONTENT:12
23};goog.net.HttpStatus.isSuccess=function(a){switch(a){case
goog.net.HttpStatus.OK:case goog.net.HttpStatus.CREATED:case
goog.net.HttpStatus.ACCEPTED:case goog.net.HttpStatus.NO_CONTENT:case
goog.net.HttpStatus.PARTIAL_CONTENT:case goog.net.HttpStatus.NOT_MODIFIED:case
goog.net.HttpStatus.QUIRK_IE_NO_CONTENT:return!0;default:return!
1}};goog.net.XhrLike=function(){};goog.net.XhrLike.prototype.open=function()
{};goog.net.XhrLike.prototype.send=function()
{};goog.net.XhrLike.prototype.abort=function()
{};goog.net.XhrLike.prototype.setRequestHeader=function()
{};goog.net.XhrLike.prototype.getResponseHeader=function()
{};goog.net.XhrLike.prototype.getAllResponseHeaders=function()
{};goog.net.XhrLike.prototype.setTrustToken=function()
{};goog.net.XmlHttpFactory=function()
{};goog.net.XmlHttpFactory.prototype.cachedOptions_=null;goog.net.XmlHttpFactory.pr
ototype.getOptions=function(){return this.cachedOptions_||
(this.cachedOptions_=this.internalGetOptions())};goog.net.WrapperXmlHttpFactory=fun
ction(a,b)
{this.xhrFactory_=a;this.optionsFactory_=b};goog.inherits(goog.net.WrapperXmlHttpFa
ctory,goog.net.XmlHttpFactory);goog.net.WrapperXmlHttpFactory.prototype.createInsta
nce=function(){return
this.xhrFactory_()};goog.net.WrapperXmlHttpFactory.prototype.getOptions=function()
{return this.optionsFactory_()};goog.net.XmlHttp=function(){return
goog.net.XmlHttp.factory_.createInstance()};goog.net.XmlHttp.ASSUME_NATIVE_XHR=!
0;goog.net.XmlHttpDefines={};goog.net.XmlHttpDefines.ASSUME_NATIVE_XHR=!
0;goog.net.XmlHttp.getOptions=function(){return
goog.net.XmlHttp.factory_.getOptions()};goog.net.XmlHttp.OptionType={USE_NULL_FUNCT
ION:0,LOCAL_REQUEST_ERROR:1};goog.net.XmlHttp.ReadyState={UNINITIALIZED:0,LOADING:1
,LOADED:2,INTERACTIVE:3,COMPLETE:4};
goog.net.XmlHttp.setFactory=function(a,b){goog.net.XmlHttp.setGlobalFactory(new
goog.net.WrapperXmlHttpFactory(goog.asserts.assert(a),goog.asserts.assert(b)))};goo
g.net.XmlHttp.setGlobalFactory=function(a)
{goog.net.XmlHttp.factory_=a};goog.net.DefaultXmlHttpFactory=function()
{};goog.inherits(goog.net.DefaultXmlHttpFactory,goog.net.XmlHttpFactory);goog.net.D
efaultXmlHttpFactory.prototype.createInstance=function(){var
a=this.getProgId_();return a?new ActiveXObject(a):new XMLHttpRequest};
goog.net.DefaultXmlHttpFactory.prototype.internalGetOptions=function(){var
a=this.getProgId_(),b={};a&&(b[goog.net.XmlHttp.OptionType.USE_NULL_FUNCTION]=!
0,b[goog.net.XmlHttp.OptionType.LOCAL_REQUEST_ERROR]=!0);return b};
goog.net.DefaultXmlHttpFactory.prototype.getProgId_=function()
{if(goog.net.XmlHttp.ASSUME_NATIVE_XHR||
goog.net.XmlHttpDefines.ASSUME_NATIVE_XHR)return"";if(!
this.ieProgId_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof
ActiveXObject){for(var
a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],
b=0;b<a.length;b++){var c=a[b];try{return new
ActiveXObject(c),this.ieProgId_=c}catch(d){}}throw Error("Could not create
ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");
}return this.ieProgId_};goog.net.XmlHttp.setGlobalFactory(new
goog.net.DefaultXmlHttpFactory);goog.async={};var
module$contents$goog$async$FreeList_FreeList=function(a,b,c)
{this.limit_=c;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};modu
le$contents$goog$async$FreeList_FreeList.prototype.get=function()
{if(0<this.occupants_){this.occupants_--;var
a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};
module$contents$goog$async$FreeList_FreeList.prototype.put=function(a)
{this.reset_(a);this.occupants_<this.limit_&&(this.occupants_+
+,a.next=this.head_,this.head_=a)};goog.async.FreeList=module$contents$goog$async$F
reeList_FreeList;goog.async.nextTick=function(a,b,c){var
d=a;b&&(d=goog.bind(a,b));d=goog.async.nextTick.wrapCallback_(d);"function"===typeo
f goog.global.setImmediate&&(c||goog.async.nextTick.useSetImmediate_())?
goog.global.setImmediate(d):(goog.async.nextTick.nextTickImpl||
(goog.async.nextTick.nextTickImpl=goog.async.nextTick.getNextTickImpl_()),goog.asyn
c.nextTick.nextTickImpl(d))};
goog.async.nextTick.useSetImmediate_=function(){return
goog.global.Window&&goog.global.Window.prototype&&goog.global.Window.prototype.setI
mmediate==goog.global.setImmediate?!1:!0};
goog.async.nextTick.getNextTickImpl_=function(){var
a=goog.global.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof
window&&window.postMessage&&window.addEventListener&&!
module$contents$goog$labs$userAgent$engine_isPresto()&&(a=function(){var
e=goog.dom.createElement(goog.dom.TagName.IFRAME);e.style.display="none";document.d
ocumentElement.appendChild(e);var
f=e.contentWindow;e=f.document;e.open();e.close();var
g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.proto
col+
"//"+f.location.host;e=goog.bind(function(k){if(("*"==h||
k.origin==h)&&k.data==g)this.port1.onmessage()},this);f.addEventListener("message",
e,!1);this.port1={};this.port2={postMessage:function()
{f.postMessage(g,h)}}});if("undefined"!==typeof a){var b=new
a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var
e=c.cb;c.cb=null;e()}};return function(e)
{d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e)
{goog.global.setTimeout(e,0)}};goog.async.nextTick.wrapCallback_=goog.functions.ide
ntity;
goog.debug.entryPointRegistry.register(function(a)
{goog.async.nextTick.wrapCallback_=a});function
module$contents$goog$async$throwException_throwException(a)
{goog.global.setTimeout(function(){throw
a;},0)}goog.async.throwException=module$contents$goog$async$throwException_throwExc
eption;var module$contents$goog$async$WorkQueue_WorkQueue=function()
{this.workTail_=this.workHead_=null};module$contents$goog$async$WorkQueue_WorkQueue
.prototype.add=function(a,b){var c=this.getUnusedItem_();c.set(a,b);this.workTail_?
this.workTail_.next=c:((0,goog.asserts.assert)(!
this.workHead_),this.workHead_=c);this.workTail_=c};
module$contents$goog$async$WorkQueue_WorkQueue.prototype.remove=function(){var
a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.wo
rkHead_||(this.workTail_=null),a.next=null);return
a};module$contents$goog$async$WorkQueue_WorkQueue.prototype.returnUnused=function(a
)
{module$contents$goog$async$WorkQueue_WorkQueue.freelist_.put(a)};module$contents$g
oog$async$WorkQueue_WorkQueue.prototype.getUnusedItem_=function(){return
module$contents$goog$async$WorkQueue_WorkQueue.freelist_.get()};
module$contents$goog$async$WorkQueue_WorkQueue.DEFAULT_MAX_UNUSED=100;module$conten
ts$goog$async$WorkQueue_WorkQueue.freelist_=new
module$contents$goog$async$FreeList_FreeList(function(){return new
module$contents$goog$async$WorkQueue_WorkItem},function(a){return
a.reset()},module$contents$goog$async$WorkQueue_WorkQueue.DEFAULT_MAX_UNUSED);var
module$contents$goog$async$WorkQueue_WorkItem=function()
{this.next=this.scope=this.fn=null};
module$contents$goog$async$WorkQueue_WorkItem.prototype.set=function(a,b)
{this.fn=a;this.scope=b;this.next=null};module$contents$goog$async$WorkQueue_WorkIt
em.prototype.reset=function()
{this.next=this.scope=this.fn=null};goog.async.WorkQueue=module$contents$goog$async
$WorkQueue_WorkQueue;goog.debug.asyncStackTag={};var
module$contents$goog$debug$asyncStackTag_createTask=goog.DEBUG&&goog.global.console
&&goog.global.console.createTask?
goog.global.console.createTask.bind(goog.global.console):void
0,module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL=module$contents$goog
$debug$asyncStackTag_createTask?Symbol("consoleTask"):void 0;
function module$contents$goog$debug$asyncStackTag_wrap(a,b){function c(){var
h=$jscomp.getRestArguments.apply(0,arguments),k=this;return g.run(function(){return
a.call.apply(a,[k].concat($jscomp.arrayFromIterable(h)))})}b=void
0===b?"anonymous":b;if(!goog.DEBUG||
module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL&&a[module$contents$goo
g$debug$asyncStackTag_CONSOLE_TASK_SYMBOL])return a;var
d=a,e,f=null==(e=module$contents$goog$debug$asyncStackTag_testNameProvider)?void
0:e();a=function(){var h=
$jscomp.getRestArguments.apply(0,arguments),k,l=null==(k=module$contents$goog$debug
$asyncStackTag_testNameProvider)?void 0:k();if(f!==l)throw Error(b+" was scheduled
in '"+f+"' but called in '"+l+"'.\nMake sure your test awaits all async calls.\n\
nTIP: To help investigate, debug the test in Chrome and look at the async portion\
nof the call stack to see what originally scheduled the callback. Then, make the\
ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
[this].concat($jscomp.arrayFromIterable(h)))};
if(!module$contents$goog$debug$asyncStackTag_createTask)return a;var
g=module$contents$goog$debug$asyncStackTag_createTask(a.name||
b);c[(0,goog.asserts.assertExists)
(module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL)]=g;return
c}goog.debug.asyncStackTag.wrap=module$contents$goog$debug$asyncStackTag_wrap;var
module$contents$goog$debug$asyncStackTag_testNameProvider;
goog.debug.asyncStackTag.setTestNameProvider=function(a){if(!goog.DEBUG)throw
Error("This feature is debug-
only");module$contents$goog$debug$asyncStackTag_testNameProvider=a};goog.debug.asyn
cStackTag.getTestNameProvider=function(){if(!goog.DEBUG)throw Error("This feature
is debug-only");return
module$contents$goog$debug$asyncStackTag_testNameProvider};goog.ASSUME_NATIVE_PROMI
SE=!1;
var
module$contents$goog$async$run_schedule,module$contents$goog$async$run_workQueueSch
eduled=!1,module$contents$goog$async$run_workQueue=new
module$contents$goog$async$WorkQueue_WorkQueue,module$contents$goog$async$run_run=f
unction(a,b){module$contents$goog$async$run_schedule||
module$contents$goog$async$run_initializeRunner();module$contents$goog$async$run_wo
rkQueueScheduled||
(module$contents$goog$async$run_schedule(),module$contents$goog$async$run_workQueue
Scheduled=!0);a=module$contents$goog$debug$asyncStackTag_wrap(a,
"goog.async.run");module$contents$goog$async$run_workQueue.add(a,b)},module$content
s$goog$async$run_initializeRunner=function(){if(goog.ASSUME_NATIVE_PROMISE||
goog.global.Promise&&goog.global.Promise.resolve){var
a=goog.global.Promise.resolve(void
0);module$contents$goog$async$run_schedule=function()
{a.then(module$contents$goog$async$run_run.processWorkQueue)}}else
module$contents$goog$async$run_schedule=function(){(0,goog.async.nextTick)
(module$contents$goog$async$run_run.processWorkQueue)}};
module$contents$goog$async$run_run.processWorkQueue=function(){for(var
a;a=module$contents$goog$async$run_workQueue.remove();)
{try{a.fn.call(a.scope)}catch(b)
{module$contents$goog$async$throwException_throwException(b)}module$contents$goog$a
sync$run_workQueue.returnUnused(a)}module$contents$goog$async$run_workQueueSchedule
d=!1};goog.async.run=module$contents$goog$async$run_run;goog.promise={};var
module$contents$goog$promise$Resolver_Resolver=function()
{};goog.promise.Resolver=module$contents$goog$promise$Resolver_Resolver;function
module$contents$goog$Thenable_Thenable()
{}module$contents$goog$Thenable_Thenable.prototype.then=function()
{};module$contents$goog$Thenable_Thenable.IMPLEMENTED_BY_PROP="$goog_Thenable";modu
le$contents$goog$Thenable_Thenable.addImplementation=function(a)
{a.prototype[module$contents$goog$Thenable_Thenable.IMPLEMENTED_BY_PROP]=!
0};module$contents$goog$Thenable_Thenable.isImplementedBy=function(a){if(!a)return!
1;try{return!!
a[module$contents$goog$Thenable_Thenable.IMPLEMENTED_BY_PROP]}catch(b){return!1}};
goog.Thenable=module$contents$goog$Thenable_Thenable;goog.Promise=function(a,b)
{this.state_=goog.Promise.State_.PENDING;this.result_=void
0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.executing_
=!1;0<goog.Promise.UNHANDLED_REJECTION_DELAY?
this.unhandledRejectionId_=0:0==goog.Promise.UNHANDLED_REJECTION_DELAY&&(this.hadUn
handledRejection_=!
1);goog.Promise.LONG_STACK_TRACES&&(this.stack_=[],this.addStackTrace_(Error("creat
ed")),this.currentStep_=0);if(a!=goog.functions.UNDEFINED)try{var
c=this;a.call(b,function(d){c.resolve_(goog.Promise.State_.FULFILLED,
d)},function(d){if(goog.DEBUG&&!(d instanceof
goog.Promise.CancellationError))try{if(d instanceof Error)throw d;throw
Error("Promise rejected.");}catch(e)
{}c.resolve_(goog.Promise.State_.REJECTED,d)})}catch(d)
{this.resolve_(goog.Promise.State_.REJECTED,d)}};goog.Promise.LONG_STACK_TRACES=!
1;goog.Promise.UNHANDLED_REJECTION_DELAY=0;goog.Promise.State_={PENDING:0,BLOCKED:1
,FULFILLED:2,REJECTED:3};
goog.Promise.CallbackEntry_=function()
{this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.alway
s=!1};goog.Promise.CallbackEntry_.prototype.reset=function()
{this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!
1};goog.Promise.DEFAULT_MAX_UNUSED=100;goog.Promise.freelist_=new
module$contents$goog$async$FreeList_FreeList(function(){return new
goog.Promise.CallbackEntry_},function(a)
{a.reset()},goog.Promise.DEFAULT_MAX_UNUSED);
goog.Promise.getCallbackEntry_=function(a,b,c){var
d=goog.Promise.freelist_.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return
d};goog.Promise.returnEntry_=function(a)
{goog.Promise.freelist_.put(a)};goog.Promise.resolve=function(a){if(a instanceof
goog.Promise)return a;var b=new
goog.Promise(goog.functions.UNDEFINED);b.resolve_(goog.Promise.State_.FULFILLED,a);
return b};goog.Promise.reject=function(a){return new goog.Promise(function(b,c)
{c(a)})};
goog.Promise.resolveThen_=function(a,b,c){(c=goog.Promise.maybeThen_(a,b,c,null))||
module$contents$goog$async$run_run(goog.partial(b,a))};goog.Promise.race=function(a
){return new goog.Promise(function(b,c){a.length||b(void 0);for(var
d=0,e;d<a.length;d++)e=a[d],goog.Promise.resolveThen_(e,b,c)})};
goog.Promise.all=function(a){return new goog.Promise(function(b,c){var
d=a.length,e=[];if(d)for(var f=function(l,m){d--;e[l]=m;0==d&&b(e)},g=function(l)
{c(l)},h=0,k;h<a.length;h+
+)k=a[h],goog.Promise.resolveThen_(k,goog.partial(f,h),g);else b(e)})};
goog.Promise.allSettled=function(a){return new goog.Promise(function(b){var
c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{fulfilled:!0,value:l}:
{fulfilled:!1,reason:l};0==c&&b(d)},f=0,g;f<a.length;f+
+)g=a[f],goog.Promise.resolveThen_(g,goog.partial(e,f,!0),goog.partial(e,f,!
1));else b(d)})};
goog.Promise.firstFulfilled=function(a){return new goog.Promise(function(b,c){var
d=a.length,e=[];if(d)for(var f=function(l){b(l)},g=function(l,m)
{d--;e[l]=m;0==d&&c(e)},h=0,k;h<a.length;h+
+)k=a[h],goog.Promise.resolveThen_(k,f,goog.partial(g,h));else b(void
0)})};goog.Promise.withResolver=function(){var a,b,c=new goog.Promise(function(d,e)
{a=d;b=e});return new goog.Promise.Resolver_(c,a,b)};
goog.Promise.prototype.then=function(a,b,c){null!
=a&&goog.asserts.assertFunction(a,"opt_onFulfilled should be a function.");null!
=b&&goog.asserts.assertFunction(b,"opt_onRejected should be a function. Did you
pass opt_context as the second argument instead of the
third?");goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error("then"));return
this.addChildPromise_("function"===typeof a?a:null,"function"===typeof b?
b:null,c)};module$contents$goog$Thenable_Thenable.addImplementation(goog.Promise);
goog.Promise.prototype.thenVoid=function(a,b,c){null!
=a&&goog.asserts.assertFunction(a,"opt_onFulfilled should be a function.");null!
=b&&goog.asserts.assertFunction(b,"opt_onRejected should be a function. Did you
pass opt_context as the second argument instead of the
third?");goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error("then"));this.ad
dCallbackEntry_(goog.Promise.getCallbackEntry_(a||goog.functions.UNDEFINED,b||
null,c))};
goog.Promise.prototype.thenCatch=function(a,b)
{goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error("thenCatch"));return
this.addChildPromise_(null,a,b)};goog.Promise.prototype.catch=goog.Promise.prototyp
e.thenCatch;goog.Promise.prototype.cancel=function(a)
{if(this.state_==goog.Promise.State_.PENDING){var b=new
goog.Promise.CancellationError(a);module$contents$goog$async$run_run(function()
{this.cancelInternal_(b)},this)}};
goog.Promise.prototype.cancelInternal_=function(a)
{this.state_==goog.Promise.State_.PENDING&&(this.parent_?
(this.parent_.cancelChild_(this,a),this.parent_=null):this.resolve_(goog.Promise.St
ate_.REJECTED,a))};
goog.Promise.prototype.cancelChild_=function(a,b){if(this.callbackEntries_){for(var
c=0,d=null,e=null,f=this.callbackEntries_;f&&(f.always||(c++,f.child==a&&(d=f),!
(d&&1<c)));f=f.next)d||(e=f);d&&(this.state_==goog.Promise.State_.PENDING&&1==c?
this.cancelInternal_(b):(e?
this.removeEntryAfter_(e):this.popEntry_(),this.executeCallback_(d,goog.Promise.Sta
te_.REJECTED,b)))}};
goog.Promise.prototype.addCallbackEntry_=function(a){this.hasEntry_()||this.state_!
=goog.Promise.State_.FULFILLED&&this.state_!=goog.Promise.State_.REJECTED||
this.scheduleCallbacks_();this.queueEntry_(a)};
goog.Promise.prototype.addChildPromise_=function(a,b,c)
{a&&(a=module$contents$goog$debug$asyncStackTag_wrap(a,"goog.Promise.then"));b&&(b=
module$contents$goog$debug$asyncStackTag_wrap(b,"goog.Promise.then"));var
d=goog.Promise.getCallbackEntry_(null,null,null);d.child=new
goog.Promise(function(e,f){d.onFulfilled=a?function(g){try{var
h=a.call(c,g);e(h)}catch(k){f(k)}}:e;d.onRejected=b?function(g){try{var
h=b.call(c,g);void 0===h&&g instanceof goog.Promise.CancellationError?
f(g):e(h)}catch(k){f(k)}}:
f});d.child.parent_=this;this.addCallbackEntry_(d);return
d.child};goog.Promise.prototype.unblockAndFulfill_=function(a)
{goog.asserts.assert(this.state_==goog.Promise.State_.BLOCKED);this.state_=goog.Pro
mise.State_.PENDING;this.resolve_(goog.Promise.State_.FULFILLED,a)};goog.Promise.pr
ototype.unblockAndReject_=function(a)
{goog.asserts.assert(this.state_==goog.Promise.State_.BLOCKED);this.state_=goog.Pro
mise.State_.PENDING;this.resolve_(goog.Promise.State_.REJECTED,a)};
goog.Promise.prototype.resolve_=function(a,b)
{if(this.state_==goog.Promise.State_.PENDING)
{this===b&&(a=goog.Promise.State_.REJECTED,b=new TypeError("Promise cannot resolve
to itself"));this.state_=goog.Promise.State_.BLOCKED;var
c=goog.Promise.maybeThen_(b,this.unblockAndFulfill_,this.unblockAndReject_,this);c|
|(this.result_=b,this.state_=a,this.parent_=null,this.scheduleCallbacks_(),a!
=goog.Promise.State_.REJECTED||b instanceof goog.Promise.CancellationError||
goog.Promise.addUnhandledRejection_(this,
b))}};goog.Promise.maybeThen_=function(a,b,c,d){if(a instanceof goog.Promise)return
a.thenVoid(b,c,d),!
0;if(module$contents$goog$Thenable_Thenable.isImplementedBy(a))return
a.then(b,c,d),!0;if(goog.isObject(a))try{var e=a.then;if("function"===typeof
e)return goog.Promise.tryThen_(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!
1};goog.Promise.tryThen_=function(a,b,c,d,e){var f=!1,g=function(k){f||(f=!
0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k)
{h(k)}};
goog.Promise.prototype.scheduleCallbacks_=function(){this.executing_||
(this.executing_=!
0,module$contents$goog$async$run_run(this.executeCallbacks_,this))};goog.Promise.pr
ototype.hasEntry_=function(){return!!
this.callbackEntries_};goog.Promise.prototype.queueEntry_=function(a)
{goog.asserts.assert(null!=a.onFulfilled);this.callbackEntriesTail_?
this.callbackEntriesTail_.next=a:this.callbackEntries_=a;this.callbackEntriesTail_=
a};
goog.Promise.prototype.popEntry_=function(){var
a=null;this.callbackEntries_&&(a=this.callbackEntries_,this.callbackEntries_=a.next
,a.next=null);this.callbackEntries_||(this.callbackEntriesTail_=null);null!
=a&&goog.asserts.assert(null!=a.onFulfilled);return
a};goog.Promise.prototype.removeEntryAfter_=function(a)
{goog.asserts.assert(this.callbackEntries_);goog.asserts.assert(null!
=a);a.next==this.callbackEntriesTail_&&(this.callbackEntriesTail_=a);a.next=a.next.
next};
goog.Promise.prototype.executeCallbacks_=function(){for(var
a;a=this.popEntry_();)goog.Promise.LONG_STACK_TRACES&&this.currentStep_+
+,this.executeCallback_(a,this.state_,this.result_);this.executing_=!1};
goog.Promise.prototype.executeCallback_=function(a,b,c)
{b==goog.Promise.State_.REJECTED&&a.onRejected&&!
a.always&&this.removeUnhandledRejection_();if(a.child)a.child.parent_=null,goog.Pro
mise.invokeCallback_(a,b,c);else try{a.always?
a.onFulfilled.call(a.context):goog.Promise.invokeCallback_(a,b,c)}catch(d)
{goog.Promise.handleRejection_.call(null,d)}goog.Promise.returnEntry_(a)};
goog.Promise.invokeCallback_=function(a,b,c){b==goog.Promise.State_.FULFILLED?
a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};goog.
Promise.prototype.addStackTrace_=function(a)
{if(goog.Promise.LONG_STACK_TRACES&&"string"===typeof a.stack){var
b=a.stack.split("\n",4)[3];a=a.message;a+=Array(11-a.length).join("
");this.stack_.push(a+b)}};
goog.Promise.prototype.appendLongStack_=function(a)
{if(goog.Promise.LONG_STACK_TRACES&&a&&"string"===typeof
a.stack&&this.stack_.length){for(var b=["Promise trace:"],c=this;c;c=c.parent_)
{for(var d=this.currentStep_;0<=d;d--)b.push(c.stack_[d]);b.push("Value: ["+
(c.state_==goog.Promise.State_.REJECTED?"REJECTED":"FULFILLED")+"]
<"+String(c.result_)+">")}a.stack+="\n\n"+b.join("\n")}};
goog.Promise.prototype.removeUnhandledRejection_=function()
{if(0<goog.Promise.UNHANDLED_REJECTION_DELAY)for(var
a=this;a&&a.unhandledRejectionId_;a=a.parent_)goog.global.clearTimeout(a.unhandledR
ejectionId_),a.unhandledRejectionId_=0;else
if(0==goog.Promise.UNHANDLED_REJECTION_DELAY)for(a=this;a&&a.hadUnhandledRejection_
;a=a.parent_)a.hadUnhandledRejection_=!1};
goog.Promise.addUnhandledRejection_=function(a,b)
{0<goog.Promise.UNHANDLED_REJECTION_DELAY?
a.unhandledRejectionId_=goog.global.setTimeout(function()
{a.appendLongStack_(b);goog.Promise.handleRejection_.call(null,b)},goog.Promise.UNH
ANDLED_REJECTION_DELAY):0==goog.Promise.UNHANDLED_REJECTION_DELAY&&(a.hadUnhandledR
ejection_=!0,module$contents$goog$async$run_run(function()
{a.hadUnhandledRejection_&&(a.appendLongStack_(b),goog.Promise.handleRejection_.cal
l(null,b))}))};goog.Promise.handleRejection_=module$contents$goog$async$throwExcept
ion_throwException;
goog.Promise.setUnhandledRejectionHandler=function(a)
{goog.Promise.handleRejection_=a};goog.Promise.CancellationError=function(a)
{module$contents$goog$debug$Error_DebugError.call(this,a)};goog.inherits(goog.Promi
se.CancellationError,module$contents$goog$debug$Error_DebugError);goog.Promise.Canc
ellationError.prototype.name="cancel";goog.Promise.Resolver_=function(a,b,c)
{this.promise=a;this.resolve=b;this.reject=c};goog.Timer=function(a,b)
{goog.events.EventTarget.call(this);this.interval_=a||1;this.timerObject_=b||
goog.Timer.defaultTimerObject;this.boundTick_=goog.bind(this.tick_,this);this.last_
=goog.now()};goog.inherits(goog.Timer,goog.events.EventTarget);goog.Timer.MAX_TIMEO
UT_=2147483647;goog.Timer.INVALID_TIMEOUT_ID_=-1;goog.Timer.prototype.enabled=!
1;goog.Timer.defaultTimerObject=goog.global;goog.Timer.intervalScale=.8;goog.Timer.
prototype.timer_=null;
goog.Timer.prototype.setInterval=function(a)
{this.interval_=a;this.timer_&&this.enabled?
(this.stop(),this.start()):this.timer_&&this.stop()};goog.Timer.prototype.tick_=fun
ction(){if(this.enabled){var a=goog.now()-
this.last_;0<a&&a<this.interval_*goog.Timer.intervalScale?
this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):
(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.d
ispatchTick(),this.enabled&&(this.stop(),this.start()))}};
goog.Timer.prototype.dispatchTick=function()
{this.dispatchEvent(goog.Timer.TICK)};goog.Timer.prototype.start=function()
{this.enabled=!0;this.timer_||
(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last
_=goog.now())};goog.Timer.prototype.stop=function(){this.enabled=!
1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};goog
.Timer.prototype.disposeInternal=function()
{goog.Timer.superClass_.disposeInternal.call(this);this.stop();delete
this.timerObject_};
goog.Timer.TICK="tick";goog.Timer.callOnce=function(a,b,c){if("function"===typeof
a)c&&(a=goog.bind(a,c));else if(a&&"function"==typeof
a.handleEvent)a=goog.bind(a.handleEvent,a);else throw Error("Invalid listener
argument");return Number(b)>goog.Timer.MAX_TIMEOUT_?
goog.Timer.INVALID_TIMEOUT_ID_:goog.Timer.defaultTimerObject.setTimeout(a,b||
0)};goog.Timer.clear=function(a){goog.Timer.defaultTimerObject.clearTimeout(a)};
goog.Timer.promise=function(a,b){var c=null;return(new goog.Promise(function(d,e)
{c=goog.Timer.callOnce(function()
{d(b)},a);c==goog.Timer.INVALID_TIMEOUT_ID_&&e(Error("Failed to schedule
timer."))})).thenCatch(function(d){goog.Timer.clear(c);throw
d;})};goog.net.XhrIo=function(a)
{goog.events.EventTarget.call(this);this.headers=new Map;this.xmlHttpFactory_=a||
null;this.active_=!
1;this.xhrOptions_=this.xhr_=null;this.lastError_=this.lastMethod_=this.lastUri_=""
;this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!
1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_=goog.net.XhrIo.Re
sponseType.DEFAULT;this.progressEventsEnabled_=this.withCredentials_=!
1;this.attributionReportingOptions_=this.trustToken_=null};
goog.inherits(goog.net.XhrIo,goog.events.EventTarget);goog.net.XhrIo.ResponseType={
DEFAULT:"",TEXT:"text",DOCUMENT:"document",BLOB:"blob",ARRAY_BUFFER:"arraybuffer"};
goog.net.XhrIo.prototype.logger_=goog.log.getLogger("goog.net.XhrIo");goog.net.XhrI
o.CONTENT_TYPE_HEADER="Content-
Type";goog.net.XhrIo.CONTENT_TRANSFER_ENCODING="Content-Transfer-
Encoding";goog.net.XhrIo.HTTP_SCHEME_PATTERN=/^https?$/
i;goog.net.XhrIo.METHODS_WITH_FORM_DATA=["POST","PUT"];goog.net.XhrIo.FORM_CONTENT_
TYPE="application/x-www-form-urlencoded;charset=utf-8";
goog.net.XhrIo.sendInstances_=[];goog.net.XhrIo.send=function(a,b,c,d,e,f,g){var
h=new
goog.net.XhrIo;goog.net.XhrIo.sendInstances_.push(h);b&&h.listen(goog.net.EventType
.COMPLETE,b);h.listenOnce(goog.net.EventType.READY,h.cleanupSend_);f&&h.setTimeoutI
nterval(f);g&&h.setWithCredentials(g);h.send(a,c,d,e);return
h};goog.net.XhrIo.cleanup=function(){for(var
a=goog.net.XhrIo.sendInstances_;a.length;)a.pop().dispose()};
goog.net.XhrIo.protectEntryPoints=function(a)
{goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_=a.protectEntryPoint(goog.ne
t.XhrIo.prototype.onReadyStateChangeEntryPoint_)};goog.net.XhrIo.prototype.cleanupS
end_=function()
{this.dispose();module$contents$goog$array_remove(goog.net.XhrIo.sendInstances_,thi
s)};goog.net.XhrIo.prototype.setTimeoutInterval=function(a)
{this.timeoutInterval_=Math.max(0,a)};goog.net.XhrIo.prototype.setWithCredentials=f
unction(a){this.withCredentials_=a};
goog.net.XhrIo.prototype.setTrustToken=function(a)
{this.trustToken_=a};goog.net.XhrIo.prototype.setAttributionReporting=function(a)
{this.attributionReportingOptions_=a};
goog.net.XhrIo.prototype.send=function(a,b,c,d){if(this.xhr_)throw
Error("[goog.net.XhrIo] Object is active with another request="+this.lastUri_+";
newUri="+a);b=b?
b.toUpperCase():"GET";this.lastUri_=a;this.lastError_="";this.lastMethod_=b;this.er
rorDispatched_=!1;this.active_=!
0;this.xhr_=this.createXhr();this.xhrOptions_=this.xmlHttpFactory_?
this.xmlHttpFactory_.getOptions():goog.net.XmlHttp.getOptions();this.xhr_.onreadyst
atechange=goog.bind(this.onReadyStateChange_,this);this.progressEventsEnabled_&&
"onprogress"in this.xhr_&&(this.xhr_.onprogress=goog.bind(function(g)
{this.onProgressHandler_(g,!
0)},this),this.xhr_.upload&&(this.xhr_.upload.onprogress=goog.bind(this.onProgressH
andler_,this)));try{goog.log.fine(this.logger_,this.formatMsg_("Opening
Xhr")),this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(g)
{goog.log.fine(this.logger_,this.formatMsg_("Error opening Xhr:
"+g.message));this.error_(goog.net.ErrorCode.EXCEPTION,g);return}a=c||"";c=new
Map(this.headers);if(d)if(Object.getPrototypeOf(d)===
Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof
d.keys&&"function"===typeof d.get){e=$jscomp.makeIterator(d.keys());for(var
f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown
input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g)
{return
goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER,g)});e=goog.gl
obal.FormData&&a instanceof goog.global.FormData;!
module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA,
b)||d||e||
c.set(goog.net.XhrIo.CONTENT_TYPE_HEADER,goog.net.XhrIo.FORM_CONTENT_TYPE);b=$jscom
p.makeIterator(c);for(d=b.next();!
d.done;d=b.next())d=d.value,c=$jscomp.makeIterator(d),d=c.next().value,c=c.next().v
alue,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=th
is.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!
==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setT
rustToken"in
this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(g)
{goog.log.fine(this.logger_,
this.formatMsg_("Error SetTrustToken: "+g.message))}if("setAttributionReporting"in
this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(
this.attributionReportingOptions_)}catch(g)
{goog.log.fine(this.logger_,this.formatMsg_("Error SetAttributionReporting:
"+g.message))}try{this.cleanUpTimeoutTimer_(),0<this.timeoutInterval_&&(goog.log.fi
ne(this.logger_,this.formatMsg_("Will abort after "+this.timeoutInterval_+"ms if
incomplete")),this.timeoutId_=goog.Timer.callOnce(this.timeout_,
this.timeoutInterval_,this)),goog.log.fine(this.logger_,this.formatMsg_("Sending
request")),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(g)
{goog.log.fine(this.logger_,this.formatMsg_("Send error:
"+g.message)),this.error_(goog.net.ErrorCode.EXCEPTION,g)}};goog.net.XhrIo.prototyp
e.createXhr=function(){return this.xmlHttpFactory_?
this.xmlHttpFactory_.createInstance():goog.net.XmlHttp()};
goog.net.XhrIo.prototype.timeout_=function(){"undefined"!=typeof
goog&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms,
aborting",goog.log.fine(this.logger_,this.formatMsg_(this.lastError_)),this.dispatc
hEvent(goog.net.EventType.TIMEOUT),this.abort(goog.net.ErrorCode.TIMEOUT))};goog.ne
t.XhrIo.prototype.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!
0,this.xhr_.abort(),this.inAbort_=!
1);this.lastError_=b;this.dispatchErrors_();this.cleanUpXhr_()};
goog.net.XhrIo.prototype.dispatchErrors_=function(){this.errorDispatched_||
(this.errorDispatched_=!
0,this.dispatchEvent(goog.net.EventType.COMPLETE),this.dispatchEvent(goog.net.Event
Type.ERROR))};goog.net.XhrIo.prototype.abort=function()
{this.xhr_&&this.active_&&(goog.log.fine(this.logger_,this.formatMsg_("Aborting")),
this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!
1,this.dispatchEvent(goog.net.EventType.COMPLETE),this.dispatchEvent(goog.net.Event
Type.ABORT),this.cleanUpXhr_())};
goog.net.XhrIo.prototype.disposeInternal=function()
{this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!
0,this.xhr_.abort(),this.inAbort_=!1),this.cleanUpXhr_(!
0));goog.net.XhrIo.superClass_.disposeInternal.call(this)};goog.net.XhrIo.prototype
.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||
this.inSend_||this.inAbort_)this.onReadyStateChangeHelper_();else
this.onReadyStateChangeEntryPoint_()};goog.net.XhrIo.prototype.onReadyStateChangeEn
tryPoint_=function(){this.onReadyStateChangeHelper_()};
goog.net.XhrIo.prototype.onReadyStateChangeHelper_=function()
{if(this.active_&&"undefined"!=typeof
goog)if(this.xhrOptions_[goog.net.XmlHttp.OptionType.LOCAL_REQUEST_ERROR]&&this.get
ReadyState()==goog.net.XmlHttp.ReadyState.COMPLETE&&2==this.getStatus())goog.log.fi
ne(this.logger_,this.formatMsg_("Local request error detected and ignored"));else
if(this.inSend_&&this.getReadyState()==goog.net.XmlHttp.ReadyState.COMPLETE)goog.Ti
mer.callOnce(this.onReadyStateChange_,0,this);else
if(this.dispatchEvent(goog.net.EventType.READY_STATE_CHANGE),
this.isComplete()){goog.log.fine(this.logger_,this.formatMsg_("Request
complete"));this.active_=!1;try{this.isSuccess()?
(this.dispatchEvent(goog.net.EventType.COMPLETE),this.dispatchEvent(goog.net.EventT
ype.SUCCESS)):(this.lastError_=this.getStatusText()+" ["+this.getStatus()
+"]",this.dispatchErrors_())}finally{this.cleanUpXhr_()}}};
goog.net.XhrIo.prototype.onProgressHandler_=function(a,b)
{goog.asserts.assert(a.type===goog.net.EventType.PROGRESS,"goog.net.EventType.PROGR
ESS is of the same type as raw XHR
progress.");this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(a,goog.net.EventT
ype.PROGRESS));this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(a,b?
goog.net.EventType.DOWNLOAD_PROGRESS:goog.net.EventType.UPLOAD_PROGRESS))};
goog.net.XhrIo.buildProgressEvent_=function(a,b)
{return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};
goog.net.XhrIo.prototype.cleanUpXhr_=function(a){if(this.xhr_)
{this.cleanUpTimeoutTimer_();var
b=this.xhr_,c=this.xhrOptions_[goog.net.XmlHttp.OptionType.USE_NULL_FUNCTION]?
function(){}:null;this.xhrOptions_=this.xhr_=null;a||
this.dispatchEvent(goog.net.EventType.READY);try{b.onreadystatechange=c}catch(d)
{goog.log.error(this.logger_,"Problem encountered resetting onreadystatechange:
"+d.message)}}};
goog.net.XhrIo.prototype.cleanUpTimeoutTimer_=function()
{this.timeoutId_&&(goog.Timer.clear(this.timeoutId_),this.timeoutId_=null)};goog.ne
t.XhrIo.prototype.isActive=function(){return!!
this.xhr_};goog.net.XhrIo.prototype.isComplete=function(){return
this.getReadyState()==goog.net.XmlHttp.ReadyState.COMPLETE};goog.net.XhrIo.prototyp
e.isSuccess=function(){var a=this.getStatus();return
goog.net.HttpStatus.isSuccess(a)||0===a&&!this.isLastUriEffectiveSchemeHttp_()};
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_=function(){var
a=goog.uri.utils.getEffectiveScheme(String(this.lastUri_));return
goog.net.XhrIo.HTTP_SCHEME_PATTERN.test(a)};goog.net.XhrIo.prototype.getReadyState=
function(){return this.xhr_?
this.xhr_.readyState:goog.net.XmlHttp.ReadyState.UNINITIALIZED};goog.net.XhrIo.prot
otype.getStatus=function(){try{return
this.getReadyState()>goog.net.XmlHttp.ReadyState.LOADED?this.xhr_.status:-
1}catch(a){return-1}};
goog.net.XhrIo.prototype.getStatusText=function(){try{return
this.getReadyState()>goog.net.XmlHttp.ReadyState.LOADED?
this.xhr_.statusText:""}catch(a){return goog.log.fine(this.logger_,"Can not get
status: "+a.message),""}};goog.net.XhrIo.prototype.getLastUri=function(){return
String(this.lastUri_)};goog.net.XhrIo.prototype.getResponseText=function()
{try{return this.xhr_?this.xhr_.responseText:""}catch(a){return
goog.log.fine(this.logger_,"Can not get responseText: "+a.message),""}};
goog.net.XhrIo.prototype.getResponseJson=function(a){if(this.xhr_){var
b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return
goog.json.hybrid.parse(b)}};goog.net.XhrIo.prototype.getResponseHeader=function(a)
{if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?
void 0:a};goog.net.XhrIo.prototype.getAllResponseHeaders=function(){return
this.xhr_&&this.getReadyState()>=goog.net.XmlHttp.ReadyState.LOADED?
this.xhr_.getAllResponseHeaders()||"":""};
goog.net.XhrIo.prototype.formatMsg_=function(a){return a+" ["+this.lastMethod_+"
"+this.lastUri_+" "+this.getStatus()
+"]"};goog.debug.entryPointRegistry.register(function(a)
{goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_=a(goog.net.XhrIo.prototype.
onReadyStateChangeEntryPoint_)});var ocean={layout:{}};function
module$contents$ocean$layout$LayoutItem_LayoutItem()
{}module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.setLeft=function(a)
{this.left_=a};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.setTop=
function(a)
{this.top_=a};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.setWidth
=function(a)
{this.width_=a};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.setSiz
e=function(a){this.width_=a.width;this.height_=a.height};
module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getSize=function()
{return new
goog.math.Size(this.width_,this.height_)};module$contents$ocean$layout$LayoutItem_L
ayoutItem.prototype.setHeight=function(a)
{this.height_=a};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getLe
ft=function(){return
this.left_};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getTop=fun
ction(){return
this.top_};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getWidth=fu
nction(){return this.width_};
module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getHeight=function()
{return
this.height_};module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getBotto
m=function(){return this.getTop()
+this.getSize().height};module$contents$ocean$layout$LayoutItem_LayoutItem.prototyp
e.getPosition=function(){return new goog.math.Coordinate(this.left_,this.top_)};
module$contents$ocean$layout$LayoutItem_LayoutItem.prototype.getRect=function()
{return new
goog.math.Rect(this.left_,this.top_,this.width_,this.height_)};module$contents$ocea
n$layout$LayoutItem_LayoutItem.prototype.getBox=function(){return
this.getRect().toBox()};ocean.layout.LayoutItem=module$contents$ocean$layout$Layout
Item_LayoutItem;ocean.layout.Layout=function()
{this.items=[]};ocean.layout.Layout.ZoomMode={FIXED_HEIGHT:"fixed_height",FIXED_WID
TH:"fixed_width"};ocean.layout.Layout.prototype.addItem=function(a)
{this.items.push(a)};ocean.layout.Layout.prototype.getSize=function(){var
a=this.getWidth(),b=this.getHeight();return null===a||null===b?null:new
goog.math.Size(a,b)};ocean.layout.Layout.prototype.getItems=function(a){return
this.items.filter(a||goog.functions.TRUE)};
ocean.layout.Layout.prototype.getItem=function(a){for(var
b=0;b<this.items.length;b++){var c=this.items[b];if(a(c))return c}return
null};ocean.layout.Layout.prototype.getItemAtYCoordinate=function(a){return
this.getItem(function(b){return
b.getTop()<=a&&b.getBottom()>=a})};ocean.layout.Layout.prototype.getItemAtCoordinat
e=function(a){return this.items.find(function(b){return b.getBox().contains(a)})};
ocean.layout.Layout.prototype.getClosestItem=function(a){for(var
b=Number.POSITIVE_INFINITY,c=this.getItems(),d=c[0],e=0;e<c.length;e++){var
f=c[e],g=f.getBox();g=goog.math.Box.distance(g,a);if(g<b){b=g;if(0==g)return
f;d=f}}return d};ocean.layout.BaseGridLayout=function()
{ocean.layout.Layout.call(this);this.cells=[]};goog.inherits(ocean.layout.BaseGridL
ayout,ocean.layout.Layout);ocean.layout.BaseGridLayout.prototype.marginLeft=0;ocean
.layout.BaseGridLayout.prototype.marginTop=0;ocean.layout.BaseGridLayout.prototype.
marginRight=0;ocean.layout.BaseGridLayout.prototype.marginBottom=0;ocean.layout.Bas
eGridLayout.prototype.horizontalSpacing=0;ocean.layout.BaseGridLayout.prototype.ver
ticalSpacing=0;
ocean.layout.BaseGridLayout.prototype.verticalAlignMiddle=!
1;ocean.layout.BaseGridLayout.prototype.getWidth=function(){return
this.width_};ocean.layout.BaseGridLayout.prototype.getHeight=function(){return
this.height_};
ocean.layout.BaseGridLayout.prototype.calculate=function(){this.fillCells();for(var
a=this.marginLeft,b=0;b<this.columns_;b++){var
c=this.getColumnWidth(b);this.getColumn(b).forEach(function(f)
{f&&f.setLeft(a+Math.round((c-f.getSize().width)/
2))});a+=c+this.horizontalSpacing}this.width_=a+this.marginRight;var
d=this.marginTop;for(b=0;b<this.rows_;b++){var
e=this.getRowHeight(b);this.getRow(b).forEach(function(f)
{f&&(this.verticalAlignMiddle?f.setTop(d+Math.round((e-f.getSize().height)/
2)):f.setTop(d))});
d+=e+this.verticalSpacing}this.height_=d+this.marginBottom};ocean.layout.BaseGridLa
yout.prototype.getColumn=function(a){return
this.cells[a]};ocean.layout.BaseGridLayout.prototype.getRow=function(a){return
this.cells.map(function(b){return
b[a]})};ocean.layout.BaseGridLayout.prototype.getColumnWidth=function(a){var
b=0;this.getColumn(a).forEach(function(c)
{c&&(b=Math.max(b,c.getSize().width))});return b};
ocean.layout.BaseGridLayout.prototype.getRowHeight=function(a){var
b=0;this.getRow(a).forEach(function(c)
{c&&(b=Math.max(b,c.getSize().height))});return b};var
module$contents$ocean$layout$LayoutPage_LayoutPage=function(a){this.pageInfo_=a};
$jscomp.inherits(module$contents$ocean$layout$LayoutPage_LayoutPage,module$contents
$ocean$layout$LayoutItem_LayoutItem);module$contents$ocean$layout$LayoutPage_Layout
Page.prototype.getPageInfo=function(){return this.pageInfo_};
module$contents$ocean$layout$LayoutPage_LayoutPage.prototype.setSize=function(a)
{void 0==a.width?
(this.height_=a.height,this.width_=Math.round(a.height*this.pageInfo_.getRatio())):
void
0==a.height?(this.width_=a.width,this.height_=Math.round(a.width/this.pageInfo_.get
Ratio())):
(this.width_=a.width,this.height_=a.height)};module$contents$ocean$layout$LayoutPag
e_LayoutPage.prototype.setWidth=function(a)
{this.width_=a;this.height_=Math.round(a/this.pageInfo_.getRatio())};
module$contents$ocean$layout$LayoutPage_LayoutPage.prototype.setHeight=function(a)
{this.height_=a;this.width_=Math.round(a*this.pageInfo_.getRatio())};ocean.layout.L
ayoutPage=module$contents$ocean$layout$LayoutPage_LayoutPage;ocean.style={};ocean.s
tyle.mirrorCSS=function(a){var b=/\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\
s+([.\d][.\w]*)/g,c=/left/g,d=/right/g,e=/Left/g,f=/Right/g,g=/%%%%/g,h={},k;for(k
in a){var l=a[k].replace(b,"$1 $4 $3 $2");l=l.replace(c,"%%%
%").replace(d,"left").replace(g,"right");var m=k.replace(c,"%%%
%").replace(d,"left").replace(g,"right");m=m.replace(e,"%%%
%").replace(f,"Left").replace(g,"Right");h[m]=l}return h};
ocean.style.setBidiStyles=function(a,b)
{ocean.style.isPageRtl()&&(b=ocean.style.mirrorCSS(b));goog.style.setStyle(a,b)};oc
ean.style.isPageRtl=function()
{return"rtl"==goog.dom.getDocument().body.dir};ocean.style.setBidiFloat=function(a,
b){goog.asserts.assert("left"==b||"right"==b,"the value for bidi float must be
either left or right");ocean.style.isPageRtl()?
goog.style.setFloat(a,"left"==b?"right":"left"):goog.style.setFloat(a,b)};
ocean.style.setBackgroundImage=function(a,b,c){a=a.style;goog.userAgent.IE?
a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'",
sizingMethod="scale")':(a.backgroundImage="url("+b+")",a.backgroundRepeat=c||"no-
repeat")};ocean.style.CLEAR_COMPOUND_STYLES_={border:!0,padding:!0,margin:!
0};ocean.style.CLEAR_COMPOUND_DIRECTIONS_=["Top","Bottom","Right","Left"];ocean.sty
le.LINK_STYLES_={color:"#0000cc",textDecoration:"underline"};
ocean.style.clearExternalStyles_=function(a,b){var
c={backgroundColor:"transparent",border:"0px",color:"#000",fontFamily:"Arial, sans-
serif",fontSize:"13.28px",fontWeight:"normal",lineHeight:"1",margin:"0px",padding:"
0px",textAlign:"left",textDecoration:"none",verticalAlign:"middle"},d={img:!0,div:!
0,table:!0,td:!0,span:!0,a:!0},e=[];d[a.tagName.toLowerCase()]&&e.push(a);b||
module$contents$goog$object_forEach(d,function(f,g)
{module$contents$goog$array_extend(e,module$contents$goog$array_toArray(a.getElemen
tsByTagName(g)))});
ocean.style.clearExternalStylesOnNodes_(e,c)};ocean.style.clearExternalStylesOnNode
s_=function(a,b){module$contents$goog$array_forEach(a,function(c)
{module$contents$goog$object_forEach(b,goog.partial(ocean.style.clearExternalStyle_
,c))})};
ocean.style.clearExternalStyle_=function(a,b,c){var
d=""==goog.style.getStyle(a,c);ocean.style.CLEAR_COMPOUND_STYLES_[c]?
module$contents$goog$array_forEach(ocean.style.CLEAR_COMPOUND_DIRECTIONS_,function(
e)
{d&&""==goog.style.getStyle(a,c+e)&&goog.style.setStyle(a,c+e,b)}):d&&("a"==a.tagNa
me.toLowerCase()&&ocean.style.LINK_STYLES_[c]?
goog.style.setStyle(a,c,ocean.style.LINK_STYLES_[c]):goog.style.setStyle(a,c,b))};o
cean.style.clearExternalStyles=ocean.style.clearExternalStyles_;
ocean.style.setClearExternalStyles=function(a){ocean.style.clearExternalStyles=a?
ocean.style.clearExternalStyles_:goog.functions.UNDEFINED};goog.async.AnimationDela
y=function(a,b,c){goog.Disposable.call(this);this.id_=null;this.usingListeners_=!
1;this.listener_=a;this.handler_=c;this.win_=b||
window;this.callback_=goog.bind(this.doAction_,this)};goog.inherits(goog.async.Anim
ationDelay,goog.Disposable);goog.async.AnimationDelay.TIMEOUT=20;goog.async.Animati
onDelay.MOZ_BEFORE_PAINT_EVENT_="MozBeforePaint";
goog.async.AnimationDelay.prototype.start=function()
{this.stop();this.usingListeners_=!1;var
a=this.getRaf_(),b=this.getCancelRaf_();a&&!b&&this.win_.mozRequestAnimationFrame?
(this.id_=goog.events.listen(this.win_,goog.async.AnimationDelay.MOZ_BEFORE_PAINT_E
VENT_,this.callback_),this.win_.mozRequestAnimationFrame(null),this.usingListeners_
=!0):this.id_=a&&b?
a.call(this.win_,this.callback_):this.win_.setTimeout(goog.functions.lock(this.call
back_),goog.async.AnimationDelay.TIMEOUT)};
goog.async.AnimationDelay.prototype.stop=function(){if(this.isActive()){var
a=this.getRaf_(),b=this.getCancelRaf_();a&&!b&&this.win_.mozRequestAnimationFrame?
goog.events.unlistenByKey(this.id_):a&&b?
b.call(this.win_,this.id_):this.win_.clearTimeout(this.id_)}this.id_=null};goog.asy
nc.AnimationDelay.prototype.isActive=function(){return null!=this.id_};
goog.async.AnimationDelay.prototype.doAction_=function()
{this.usingListeners_&&this.id_&&goog.events.unlistenByKey(this.id_);this.id_=null;
this.listener_.call(this.handler_,goog.now())};goog.async.AnimationDelay.prototype.
disposeInternal=function()
{this.stop();goog.async.AnimationDelay.superClass_.disposeInternal.call(this)};
goog.async.AnimationDelay.prototype.getRaf_=function(){var a=this.win_;return
a.requestAnimationFrame||a.webkitRequestAnimationFrame||
a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||
null};goog.async.AnimationDelay.prototype.getCancelRaf_=function(){var
a=this.win_;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||
a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||
a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||
null};goog.async.Delay=function(a,b,c)
{goog.Disposable.call(this);this.listener_=a;this.interval_=b||
0;this.handler_=c;this.callback_=goog.bind(this.doAction_,this)};goog.inherits(goog
.async.Delay,goog.Disposable);goog.async.Delay.prototype.id_=0;goog.async.Delay.pro
totype.disposeInternal=function()
{goog.async.Delay.superClass_.disposeInternal.call(this);this.stop();delete
this.listener_;delete this.handler_};
goog.async.Delay.prototype.start=function(a)
{this.stop();this.id_=goog.Timer.callOnce(this.callback_,void 0!==a?
a:this.interval_)};goog.async.Delay.prototype.stop=function()
{this.isActive()&&goog.Timer.clear(this.id_);this.id_=0};goog.async.Delay.prototype
.isActive=function(){return 0!
=this.id_};goog.async.Delay.prototype.doAction_=function()
{this.id_=0;this.listener_&&this.listener_.call(this.handler_)};goog.fx={};goog.fx.
anim={};goog.fx.anim.Animated=function()
{};goog.fx.anim.TIMEOUT=goog.async.AnimationDelay.TIMEOUT;goog.fx.anim.activeAnimat
ions_={};goog.fx.anim.animationWindow_=null;goog.fx.anim.animationDelay_=null;goog.
fx.anim.registerAnimation=function(a){var b=goog.getUid(a);b in
goog.fx.anim.activeAnimations_||
(goog.fx.anim.activeAnimations_[b]=a);goog.fx.anim.requestAnimationFrame_()};
goog.fx.anim.unregisterAnimation=function(a){a=goog.getUid(a);delete
goog.fx.anim.activeAnimations_[a];module$contents$goog$object_isEmpty(goog.fx.anim.
activeAnimations_)&&goog.fx.anim.cancelAnimationFrame_()};goog.fx.anim.tearDown=fun
ction()
{goog.fx.anim.animationWindow_=null;module$contents$goog$dispose_dispose(goog.fx.an
im.animationDelay_);goog.fx.anim.animationDelay_=null;goog.fx.anim.activeAnimations
_={}};
goog.fx.anim.setAnimationWindow=function(a){var
b=goog.fx.anim.animationDelay_&&goog.fx.anim.animationDelay_.isActive();module$cont
ents$goog$dispose_dispose(goog.fx.anim.animationDelay_);goog.fx.anim.animationDelay
_=null;goog.fx.anim.animationWindow_=a;b&&goog.fx.anim.requestAnimationFrame_()};
goog.fx.anim.requestAnimationFrame_=function(){goog.fx.anim.animationDelay_||
(goog.fx.anim.animationDelay_=goog.fx.anim.animationWindow_?new
goog.async.AnimationDelay(function(b)
{goog.fx.anim.cycleAnimations_(b)},goog.fx.anim.animationWindow_):new
goog.async.Delay(function()
{goog.fx.anim.cycleAnimations_(goog.now())},goog.async.AnimationDelay.TIMEOUT));var
a=goog.fx.anim.animationDelay_;a.isActive()||
a.start()};goog.fx.anim.cancelAnimationFrame_=function()
{goog.fx.anim.animationDelay_&&goog.fx.anim.animationDelay_.stop()};
goog.fx.anim.cycleAnimations_=function(a)
{module$contents$goog$object_forEach(goog.fx.anim.activeAnimations_,function(b)
{b.onAnimationFrame(a)});module$contents$goog$object_isEmpty(goog.fx.anim.activeAni
mations_)||goog.fx.anim.requestAnimationFrame_()};goog.fx.Transition=function()
{};goog.fx.Transition.EventType={PLAY:"play",BEGIN:"begin",RESUME:"resume",END:"end
",STOP:"stop",FINISH:"finish",PAUSE:"pause"};goog.fx.TransitionBase=function()
{goog.events.EventTarget.call(this);this.state_=goog.fx.TransitionBase.State.STOPPE
D;this.endTime=this.startTime=null};goog.inherits(goog.fx.TransitionBase,goog.event
s.EventTarget);goog.fx.TransitionBase.State={STOPPED:0,PAUSED:-
1,PLAYING:1};goog.fx.TransitionBase.prototype.setStatePlaying=function()
{this.state_=goog.fx.TransitionBase.State.PLAYING};goog.fx.TransitionBase.prototype
.setStatePaused=function(){this.state_=goog.fx.TransitionBase.State.PAUSED};
goog.fx.TransitionBase.prototype.setStateStopped=function()
{this.state_=goog.fx.TransitionBase.State.STOPPED};goog.fx.TransitionBase.prototype
.isPlaying=function(){return
this.state_==goog.fx.TransitionBase.State.PLAYING};goog.fx.TransitionBase.prototype
.isPaused=function(){return
this.state_==goog.fx.TransitionBase.State.PAUSED};goog.fx.TransitionBase.prototype.
isStopped=function(){return
this.state_==goog.fx.TransitionBase.State.STOPPED};goog.fx.TransitionBase.prototype
.onBegin=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.BEGIN)};
goog.fx.TransitionBase.prototype.onEnd=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.END)};goog.fx.TransitionB
ase.prototype.onFinish=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.FINISH)};goog.fx.Transiti
onBase.prototype.onPause=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.PAUSE)};goog.fx.Transitio
nBase.prototype.onPlay=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.PLAY)};
goog.fx.TransitionBase.prototype.onResume=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.RESUME)};goog.fx.Transiti
onBase.prototype.onStop=function()
{this.dispatchAnimationEvent(goog.fx.Transition.EventType.STOP)};goog.fx.Transition
Base.prototype.dispatchAnimationEvent=function(a)
{this.dispatchEvent(a)};goog.fx.Animation=function(a,b,c,d)
{goog.fx.TransitionBase.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw
Error("Start and end parameters must be arrays");if(a.length!=b.length)throw
Error("Start and end points must be the same
length");this.startPoint=a;this.endPoint=b;this.duration=c;this.accel_=d;this.coord
s=[];this.useRightPositioningForRtl_=!
1;this.progress=0;this.lastFrame=null};goog.inherits(goog.fx.Animation,goog.fx.Tran
sitionBase);
goog.fx.Animation.EventType={PLAY:goog.fx.Transition.EventType.PLAY,BEGIN:goog.fx.T
ransition.EventType.BEGIN,RESUME:goog.fx.Transition.EventType.RESUME,END:goog.fx.Tr
ansition.EventType.END,STOP:goog.fx.Transition.EventType.STOP,FINISH:goog.fx.Transi
tion.EventType.FINISH,PAUSE:goog.fx.Transition.EventType.PAUSE,ANIMATE:"animate",DE
STROY:"destroy"};goog.fx.Animation.TIMEOUT=goog.async.AnimationDelay.TIMEOUT;goog.f
x.Animation.State=goog.fx.TransitionBase.State;goog.fx.Animation.setAnimationWindow
=function(a){goog.fx.anim.setAnimationWindow(a)};
goog.fx.Animation.prototype.play=function(a){if(a||
this.isStopped())this.progress=0,this.coords=this.startPoint;else
if(this.isPlaying())return!
1;goog.fx.anim.unregisterAnimation(this);this.startTime=a=goog.now();this.isPaused(
)&&(this.startTime-
=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.lastFr
ame=this.startTime;if(!
this.progress)this.onBegin();this.onPlay();if(this.isPaused())this.onResume();this.
setStatePlaying();goog.fx.anim.registerAnimation(this);this.cycle(a);
return!0};goog.fx.Animation.prototype.stop=function(a)
{goog.fx.anim.unregisterAnimation(this);this.setStateStopped();a&&(this.progress=1)
;this.updateCoords_(this.progress);this.onStop();this.onEnd()};goog.fx.Animation.pr
ototype.pause=function()
{this.isPlaying()&&(goog.fx.anim.unregisterAnimation(this),this.setStatePaused(),th
is.onPause())};goog.fx.Animation.prototype.disposeInternal=function()
{this.isStopped()||this.stop(!
1);this.onDestroy();goog.fx.Animation.superClass_.disposeInternal.call(this)};
goog.fx.Animation.prototype.onAnimationFrame=function(a){this.cycle(a)};
goog.fx.Animation.prototype.cycle=function(a)
{goog.asserts.assertNumber(this.startTime);goog.asserts.assertNumber(this.endTime);
goog.asserts.assertNumber(this.lastFrame);a<this.startTime&&(this.endTime=a+this.en
dTime-this.startTime,this.startTime=a);this.progress=(a-this.startTime)/
(this.endTime-
this.startTime);1<this.progress&&(this.progress=1);this.lastFrame=a;this.updateCoor
ds_(this.progress);if(1==this.progress)this.setStateStopped(),goog.fx.anim.unregist
erAnimation(this),this.onFinish(),this.onEnd();
else
if(this.isPlaying())this.onAnimate()};goog.fx.Animation.prototype.updateCoords_=fun
ction(a){"function"===typeof
this.accel_&&(a=this.accel_(a));this.coords=Array(this.startPoint.length);for(var
b=0;b<this.startPoint.length;b++)this.coords[b]=(this.endPoint[b]-
this.startPoint[b])*a+this.startPoint[b]};goog.fx.Animation.prototype.onAnimate=fun
ction()
{this.dispatchAnimationEvent(goog.fx.Animation.EventType.ANIMATE)};goog.fx.Animatio
n.prototype.onDestroy=function()
{this.dispatchAnimationEvent(goog.fx.Animation.EventType.DESTROY)};
goog.fx.Animation.prototype.dispatchAnimationEvent=function(a)
{this.dispatchEvent(new
goog.fx.AnimationEvent(a,this))};goog.fx.AnimationEvent=function(a,b)
{goog.events.Event.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.co
ords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.s
tate=b.state_;this.anim=b};goog.inherits(goog.fx.AnimationEvent,goog.events.Event);
goog.fx.AnimationEvent.prototype.coordsAsInts=function(){return
this.coords.map(Math.round)};goog.fx.easing={};goog.fx.easing.easeIn=function(a)
{return
goog.fx.easing.easeInInternal_(a,3)};goog.fx.easing.easeInInternal_=function(a,b)
{return Math.pow(a,b)};goog.fx.easing.easeOut=function(a){return
goog.fx.easing.easeOutInternal_(a,3)};goog.fx.easing.easeOutInternal_=function(a,b)
{return 1-goog.fx.easing.easeInInternal_(1-
a,b)};goog.fx.easing.easeOutLong=function(a){return
goog.fx.easing.easeOutInternal_(a,4)};goog.fx.easing.inAndOut=function(a){return
3*a*a-2*a*a*a};function module$contents$ocean$EventManager_EventManager()
{goog.events.EventTarget.call(this);this.eventHandler_=new
goog.events.EventHandler(this)}goog.inherits(module$contents$ocean$EventManager_Eve
ntManager,goog.events.EventTarget);module$contents$ocean$EventManager_EventManager.
prototype.getHandler=function(){return this.eventHandler_};
module$contents$ocean$EventManager_EventManager.prototype.disposeInternal=function(
)
{this.dispatchEvent(module$contents$ocean$EventManager_EventManager.EventType.DISPO
SE);module$contents$ocean$EventManager_EventManager.superClass_.disposeInternal.cal
l(this);this.eventHandler_.dispose()};module$contents$ocean$EventManager_EventManag
er.EventType={DISPOSE:"dispose"};ocean.EventManager=module$contents$ocean$EventMana
ger_EventManager;ocean.viewport={};function
module$contents$ocean$viewport$Drawable_Drawable()
{module$contents$ocean$EventManager_EventManager.call(this)}goog.inherits(module$co
ntents$ocean$viewport$Drawable_Drawable,module$contents$ocean$EventManager_EventMan
ager);ocean.viewport.Drawable=module$contents$ocean$viewport$Drawable_Drawable;goog
.math.Vec2=function(a,b)
{this.x=a;this.y=b};goog.inherits(goog.math.Vec2,goog.math.Coordinate);goog.math.Ve
c2.randomUnit=function(){var a=Math.random()*Math.PI*2;return new
goog.math.Vec2(Math.cos(a),Math.sin(a))};goog.math.Vec2.random=function(){var
a=Math.sqrt(Math.random()),b=Math.random()*Math.PI*2;return new
goog.math.Vec2(Math.cos(b)*a,Math.sin(b)*a)};goog.math.Vec2.fromCoordinate=function
(a){return new goog.math.Vec2(a.x,a.y)};
goog.math.Vec2.prototype.clone=function(){return new
goog.math.Vec2(this.x,this.y)};goog.math.Vec2.prototype.magnitude=function(){return
Math.hypot(this.x,this.y)};goog.math.Vec2.prototype.scale=goog.math.Coordinate.prot
otype.scale;goog.math.Vec2.prototype.normalize=function(){return
this.scale(1/this.magnitude())};goog.math.Vec2.prototype.add=function(a)
{this.x+=a.x;this.y+=a.y;return this};goog.math.Vec2.prototype.subtract=function(a)
{this.x-=a.x;this.y-=a.y;return this};
goog.math.Vec2.prototype.rotate=function(a){var
b=Math.cos(a),c=Math.sin(a);a=this.x*b-
this.y*c;b=this.y*b+this.x*c;this.x=a;this.y=b;return
this};goog.math.Vec2.rotateAroundPoint=function(a,b,c){a=a.clone();return
a.subtract(b).rotate(c).add(b)};goog.math.Vec2.prototype.equals=function(a){return
this===a?!0:a instanceof goog.math.Vec2&&!!
a&&this.x==a.x&&this.y==a.y};goog.math.Vec2.distance=goog.math.Coordinate.distance;
goog.math.Vec2.squaredDistance=goog.math.Coordinate.squaredDistance;
goog.math.Vec2.equals=goog.math.Coordinate.equals;goog.math.Vec2.sum=function(a,b)
{return new
goog.math.Vec2(a.x+b.x,a.y+b.y)};goog.math.Vec2.difference=function(a,b){return new
goog.math.Vec2(a.x-b.x,a.y-b.y)};goog.math.Vec2.dot=function(a,b){return
a.x*b.x+a.y*b.y};goog.math.Vec2.determinant=function(a,b){return a.x*b.y-
a.y*b.x};goog.math.Vec2.lerp=function(a,b,c){return new
goog.math.Vec2(goog.math.lerp(a.x,b.x,c),goog.math.lerp(a.y,b.y,c))};
goog.math.Vec2.rescaled=function(a,b,c){c=void 0===c?b:c;return new
goog.math.Vec2(a.x*b,a.y*c)};var
module$contents$ocean$layout$PointMapper_PointMapper=function(a,b)
{this.sourceLayout_=a;this.destinationLayout_=b};
module$contents$ocean$layout$PointMapper_PointMapper.prototype.getDestCoordinate=fu
nction(a){var b=this.sourceLayout_.getItemAtCoordinate(a);b||
(b=this.sourceLayout_.getClosestItem(a));var
c=this.destinationLayout_.getCorrespondingItem(b);a=goog.math.Vec2.fromCoordinate(a
);a.subtract(b.getPosition());var
d=c.getSize().width/b.getSize().width;b=c.getSize().height/b.getSize().height;b=new
goog.math.Coordinate(Math.round(a.x*d),Math.round(a.y*b));c=goog.math.Vec2.fromCoor
dinate(c.getPosition());return c.add(b)};
ocean.layout.PointMapper=module$contents$ocean$layout$PointMapper_PointMapper;ocean
.msg={};
var module$contents$ocean$msg_usePendingTranslation=function(a,b){return
b},module$contents$ocean$msg_getAddedBookshelfAction=function(a){return a='"'+a+'"
a \u00e9t\u00e9 ajout\
u00e9.'},module$contents$ocean$msg_getAddedToShelf=function(a){return a='Ajout\
u00e9 \u00e0 "'+a+'"'},module$contents$ocean$msg_getAddedToShelves=function(a)
{return a="Ajout\u00e9 \u00e0 "+a+"\u00a0\u00e9tag\
u00e8res"},module$contents$ocean$msg_getAvailableOnDate=function(a){return a="Date
de disponibilit\u00e9 : "+a},module$contents$ocean$msg_getBooksAdded=
function(a){return a="Livres ajout\u00e9s\u00a0:
"+a},module$contents$ocean$msg_getBookByAuthor=function(a,b){return a='"'+a+'" par
'+b},module$contents$ocean$msg_getBuyEbookWithPrice=function(a){return a="Acheter
cet e-book \u2013
"+a},module$contents$ocean$msg_getClearBookshelfDialogTitle=function(a){return
a='Effacer
"'+a+'"'},module$contents$ocean$msg_getConfirmRemoveVolumeFromCollection=function(a
){var b=new
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter;
a="Voulez-vous vraiment supprimer <u>"+b.text(a)+"</u>\u00a0?";return
b.format(a.replace(/<u>/,b.startTag("u")).replace(/<\/u>/,b.endTag("u")))},module$c
ontents$ocean$msg_getDeleteBookshelfDialogTitle=function(a){return a='Supprimer
"'+a+'"'},module$contents$ocean$msg_getDeletePurchasedBookDialogTitle=function(a)
{return a='Supprimer
"'+a+'" ?'},module$contents$ocean$msg_getEbookFromWithPrice=function(a){return
a="E-BOOK \u00c0 PARTIR DE
"+a},module$contents$ocean$msg_getEditBookshelfDialogTitle=function(a){return a=
'Modifier les propri\u00e9t\u00e9s de
"'+a+'"'},module$contents$ocean$msg_getEmptyBookshelfMessage=function(a){return
a='Cette \u00e9tag\u00e8re ne contient pas encore de livres. <a href="'+a+'"
class=help-link>En savoir
plus.</a>'},module$contents$ocean$msg_getGoogleBooksResultViewSummary=function(a,b,
c){return a="R\u00e9sultat\u00a0"+a+" sur "+b+" dans ce livre pour\n
"+c},module$contents$ocean$msg_getGoogleBooksSnippetViewSummary=function(a,b)
{return a="Afficher "+a+"\u00a0r\u00e9sultats dans ce livre pour "+
b},module$contents$ocean$msg_getGooglePrintPageNumber=function(a){return a="Page
"+a},module$contents$ocean$msg_getItemsNotAdded=function(a){return a="\u00c9l\
u00e9ments non ajout\u00e9s\u00a0:
"+a},module$contents$ocean$msg_getMoreWithRightArrows=function(a){return a="plus
"+a},module$contents$ocean$msg_getMoveBookshelfAction=function(a){return a='"'+a+'"
a \u00e9t\u00e9 d\u00e9plac\
u00e9.'},module$contents$ocean$msg_getNetworkErrorTryingToContactBooks=function(a)
{var b=new
module$exports$google3$third_party$javascript$safevalues$builders$html_formatter.Ht
mlFormatter,
c=b.startTag("span",{"class":"jfk-butterBar-
highlight"}),d=b.endTag("span");a="Tentative d'acc\u00e8s \u00e0 Google\
u00a0Livres. Nouvelle tentative dans "+c+b.text(String(a))+d+"\
u00a0secondes.";return
b.format(a)},module$contents$ocean$msg_getNoResultsFoundBold=function(a){return
a="Aucun r\u00e9sultat trouv\u00e9 pour
"+a+"."},module$contents$ocean$msg_getNoResultsFoundInBook=function(a){return
a="Aucun r\u00e9sultat n'a \u00e9t\u00e9 trouv\u00e9 dans ce livre pour
"+a},module$contents$ocean$msg_getNReviews=
function(a){return a+="
critiques"},module$contents$ocean$msg_getPageCount=function(a){return a+="
pages"},module$contents$ocean$msg_getPageNotPartOfBookPreview=function(a){return
a="La page "+a+" ne fait pas partie de la section consultable du
livre."},module$contents$ocean$msg_getPageRangeNotShown=function(a,b){return a="Les
pages "+a+" \u00e0 "+b+" ne font pas partie de la section
consultable."},module$contents$ocean$msg_getPatentsShowNMore=function(a){return
a+="\u00a0autre(s)"},module$contents$ocean$msg_getPatentImageNOfM=
function(a,b){return a=a+" sur
"+b},module$contents$ocean$msg_getPauseBookshelfDialogTitle=function(a){return
a='Interrompre "'+a+'"'},module$contents$ocean$msg_getPreOrderPrice=function(a)
{return a="Pr\u00e9commander cet e-book -
"+a},module$contents$ocean$msg_getRemoveBookshelfAction=function(a){return
a='"'+a+'" a \u00e9t\u00e9 supprim\
u00e9.'},module$contents$ocean$msg_getRemoveVolumeFromBookshelf=function(a,b)
{return a='Supprimer "'+a+'" de "'+b+'"\
u00a0?'},module$contents$ocean$msg_getRentalExpiringDays=
function(a){return a+="\
u00a0jours"},module$contents$ocean$msg_getRentalExpiringHours=function(a){return
a+="\
u00a0heures"},module$contents$ocean$msg_getResumeBookshelfDialogTitle=function(a)
{return a='Reprendre
"'+a+'"'},module$contents$ocean$msg_getSearchInsideYourLibrary=function(a){return
a="Rechercher dans la biblioth\u00e8que de
"+a},module$contents$ocean$msg_getSearchWithinVolumeResult1=function(a,b){return
a="R\u00e9sultat "+a+" sur
"+b},module$contents$ocean$msg_getWebReaderConcurrentAccessErrorBody=
function(a){return a="D\u00e9sol\u00e9, ce livre ne peut pas \u00eatre lu sur plus
de "+a+"\u00a0appareils ou ordinateurs \u00e0 la fois. Or, vous avez atteint cette
limite. Veuillez fermer ce livre dans vos autres lecteurs, patientez quelques
minutes, puis r\
u00e9essayez."},module$contents$ocean$msg_getWebReaderOfflineAccessErrorBody=functi
on(a){return a="D\u00e9sol\u00e9, l'\u00e9diteur a d\u00e9cid\u00e9 que ce livre ne
pouvait pas \u00eatre t\u00e9l\u00e9charg\u00e9 sur plus de "+a+" appareils ou
ordinateurs. Or, vous avez atteint cette limite. Veuillez supprimer ce livre des
autres lecteurs, patientez quelques minutes, puis r\u00e9essayez."};
ocean.msg.MSG_ADD_BOOKMARK="Ajouter un marque-
page";ocean.msg.MSG_ADD_BOOKS="Ajouter des
livres";ocean.msg.MSG_ADD_BOOKS_EXAMPLE="Ex.\u00a0: 0-7432-9733-4 ou 0161-
7370";ocean.msg.MSG_ADD_BY_ISBN_OR_ISSN="Ajouter avec num\u00e9ro ISBN ou
ISSN";ocean.msg.MSG_ADD_NOTE_LEGAL_MESSAGE="Ce message sera rendu
public.";ocean.msg.MSG_ADD_SAMPLE_TO_BOOKS='Ajouter \u00e0 "Mes
livres"';ocean.msg.MSG_ADD_TO_MY_LIBRARY="Ajouter \u00e0 ma biblioth\
u00e8que";ocean.msg.MSG_AS_SEARCH="Rechercher";
ocean.msg.MSG_BACK_TO_ARTICLE="Revenir \u00e0
l'article";ocean.msg.MSG_BISAC_WEB="Web";ocean.msg.MSG_BOOKMARK="Marque-
page";ocean.msg.MSG_BOOKMARK_ADD_ERROR="Un probl\u00e8me est survenu lors de
l'ajout du marque-page";ocean.msg.MSG_BOOKMARK_REMOVE_ERROR="Un probl\u00e8me est
survenu lors de la suppression du marque-
page";ocean.msg.MSG_BOOKSHELF_DESCRIPTION="Description <span class=cl-
desc>(facultative)</span>";ocean.msg.MSG_BOOKSHELF_PRIVACY_MSG="Notez que le
contenu et le titre des \u00e9tag\u00e8res publiques peuvent \u00eatre consult\
u00e9s et partag\u00e9s par d'autres utilisateurs.";
ocean.msg.MSG_BOOKS_FOR_YOU_BUTTER_BAR="Cette liste est g\u00e9n\u00e9r\u00e9e \
u00e0 partir de vos pr\u00e9f\
u00e9rences.";ocean.msg.MSG_BOOKS_PRODUCT_NAME_WITH_LOGO="Livres";ocean.msg.MSG_BRO
WSE_SUBJECTS="Rubriques";ocean.msg.MSG_BROWSING_HISTORY_BUTTER_BAR="Cette \
u00e9tag\u00e8re contient les livres que vous avez consult\u00e9s l'ann\u00e9e
derni\u00e8re. Utilisez les param\u00e8tres d'\u00e9tag\u00e8re pour g\u00e9rer
cette collection.";ocean.msg.MSG_BUY_THIS_BOOK="Acheter ce livre";
ocean.msg.MSG_CANCEL="Annuler";ocean.msg.MSG_CANCELLED="Annul\
u00e9e";ocean.msg.MSG_CANCELLED_CUSTOMER_REQUEST="Annul\u00e9 - Demande du
client";ocean.msg.MSG_CANCELLED_FULFILLMENT_ERROR="Annul\u00e9 - Probl\u00e8me avec
l'e-book";ocean.msg.MSG_CANCELLED_PRICE_CHANGE="Annul\u00e9 - Modification du
prix";ocean.msg.MSG_CANCELLED_PUBLISHER_CHANGE="Annul\u00e9 - D\u00e9cision de l'\
u00e9diteur";ocean.msg.MSG_CANNOT_REORDER_SWITCH_TO_CUSTOM="Voulez-vous utiliser le
tri personnalis\u00e9\u00a0?";
ocean.msg.MSG_CANNOT_REORDER_SWITCH_TO_CUSTOM_TITLE="Impossible de r\u00e9organiser
l'\u00e9tag\u00e8re. Le tri a d\u00e9j\u00e0 \u00e9t\u00e9 effectu\
u00e9.";ocean.msg.MSG_CLEAR_BOOKSHELF="Vider l'\u00e9tag\
u00e8re";ocean.msg.MSG_CLEAR_BOOKSHELF_CAUTION="Voulez-vous vraiment supprimer tous
les livres de cette \u00e9tag\u00e8re\u00a0?";ocean.msg.MSG_CLICK_FOR_PAGE="Cliquez
ici pour afficher la page enti\
u00e8re.";ocean.msg.MSG_CLIP_FORMATS_IMAGE="Image";ocean.msg.MSG_CLOSE="Fermer";
ocean.msg.MSG_CONFIRM_REMOVE_VOLUME_FROM_COLLECTION_TITLE="Confirmer";ocean.msg.MSG
_CREATE_BOOKSHELF="Cr\u00e9er une \u00e9tag\
u00e8re";ocean.msg.MSG_CREATE_NEW_BOOKSHELF="Cr\u00e9er une \u00e9tag\
u00e8re";ocean.msg.MSG_CREDIT_CARD_DECLINED="Carte de paiement refus\
u00e9e :";ocean.msg.MSG_DELETE_BOOKS="Supprimer des
livres...";ocean.msg.MSG_DELETE_BOOKSHELF="Supprimer l'\u00e9tag\
u00e8re";ocean.msg.MSG_DELETE_BOOKSHELF_CAUTION="Souhaitez-vous vraiment supprimer
d\u00e9finitivement cette \u00e9tag\u00e8re et tous les livres qu'elle contient\
u00a0?";
ocean.msg.MSG_DELETE_FOREVER="Supprimer d\
u00e9finitivement";ocean.msg.MSG_DELETE_PURCHASED_BOOK_DIALOG_CONFIRMATION="Voulez-
vous vraiment supprimer d\u00e9finitivement ce livre de votre compte\u00a0? Vous ne
pourrez plus le lire.";ocean.msg.MSG_DEVICES_EREADER_FLOWING='Cet e-book Google est
disponible en mode "texte flottant". Vous pouvez ainsi ajuster la police pour le
lire ais\u00e9ment sur un lecteur num\
u00e9rique.';ocean.msg.MSG_DEVICES_EREADER_NOFLOWING="Cet e-book Google n'est pas
disponible en mode \"texte flottant\". Vous ne pouvez donc pas en ajuster la police
sur un lecteur d'e-books.";
ocean.msg.MSG_DEVICES_GOOD_FOR="Compatible
avec :";ocean.msg.MSG_DEVICES_NOTSUPPORTED_SMARTPHONE="Cet e-book risque de ne pas
fonctionner correctement sur des smartphones, tels qu'Android et iPhone, ni sur
l'iPod touch.";ocean.msg.MSG_DEVICES_READABLE_SMARTPHONE="Cet e-book convient aux
smartphones, tels qu'Android et iPhone, ainsi qu'\u00e0 l'iPod
touch.";ocean.msg.MSG_DEVICES_READABLE_TABLET="Cet e-book, comme tous les e-books
Google, est format\u00e9 pour \u00eatre lu sur des tablettes (Android et iPad, par
exemple).";
ocean.msg.MSG_DEVICES_READABLE_WEB="Cet e-book, comme tous les e-books Google, est
format\u00e9 pour \u00eatre lu directement sur le
Web.";ocean.msg.MSG_DEVICES_SMARTPHONE_FLOWING='Cet e-book Google est disponible en
mode "texte flottant". Vous pouvez ainsi ajuster la police pour le lire ais\
u00e9ment sur le petit \u00e9cran d\'un
smartphone.';ocean.msg.MSG_DEVICE_TYPE_EREADER="Lecteur d'e-
books";ocean.msg.MSG_DEVICE_TYPE_SMARTPHONE="Smartphone";ocean.msg.MSG_DEVICE_TYPE_
TABLET="Tablette/iPad";
ocean.msg.MSG_DISCUSS_THIS_APPLICATION=" Discuter de cette
demande";ocean.msg.MSG_DISCUSS_THIS_APPLICATION_HOVER=" Discuter de cette demande
sur Stack\u00a0Exchange";ocean.msg.MSG_DISCUSS_THIS_GRANT=" Discuter de ce
brevet";ocean.msg.MSG_DISCUSS_THIS_GRANT_HOVER=" Discuter de ce brevet sur Stack\
u00a0Exchange";ocean.msg.MSG_DOWNLOAD_BUTTON="T\u00e9l\
u00e9charger";ocean.msg.MSG_DOWNLOAD_PDF="T\u00e9l\u00e9charger le
PDF";ocean.msg.MSG_DUPLICATE_BOOKSHELF_TITLE="Une \u00e9tag\u00e8re avec le m\
u00eame titre existe d\u00e9j\u00e0. Veuillez saisir un titre diff\u00e9rent.";
ocean.msg.MSG_EBOOK_SAMPLE="Extrait";ocean.msg.MSG_EDIT_BOOKSHELF_PROPERTIES="Modif
ier les propri\u00e9t\u00e9s";ocean.msg.MSG_EMBED="Int\
u00e9grer";ocean.msg.MSG_EMPTY_BOOKSHELF_TITLE="Veuillez saisir le titre de cette \
u00e9tag\
u00e8re.";ocean.msg.MSG_EPUB="ePub";ocean.msg.MSG_EXIT_FULL_SCREEN="Quitter
l'affichage plein \u00e9cran";ocean.msg.MSG_EXPLAIN_BOOKMARK="Lors de vos
recherches, ajoutez les livres qui vous int\u00e9ressent dans votre biblioth\
u00e8que.";ocean.msg.MSG_EXPLAIN_ORGANIZE="Cr\u00e9ez votre propre \u00e9tag\
u00e8re, o\u00f9 vous organiserez votre collection. \u00c9valuez des livres et r\
u00e9digez des critiques.";
ocean.msg.MSG_EXPLAIN_SHARE="Vous connaissez les dix principaux ouvrages permettant
d'apprendre le russe\u00a0? Partagez une \u00e9tag\u00e8re avec tous les
internautes ou indiquez simplement \u00e0 vos amis ce que vous \u00eates en train
de lire.";ocean.msg.MSG_EXPORT_AS_XML="Exporter au format
XML";ocean.msg.MSG_FEATURES_FLOWING='Cet e-book Google est disponible en mode
"texte flottant". Vous pouvez ainsi ajuster la taille et le style de la police pour
le lire ais\u00e9ment sur n\'importe quel appareil.';
ocean.msg.MSG_FEATURES_NOFLOWING="Cet e-book Google n'est pas disponible en
mode \"texte flottant\". Vous ne pouvez donc pas ajuster la police. Les pages sont
des images ayant une disposition fixe. Cela convient \u00e0 des \u00e9crans larges,
mais ce n'est pas toujours id\u00e9al pour les lecteurs d'e-books et les
smartphones.";ocean.msg.MSG_FEATURES_NOSCANNED="Cet e-book ne contient pas de pages
num\u00e9ris\u00e9es ayant le m\u00eame format que la version papier. Le texte peut
donc \u00eatre ajust\u00e9. Il est flottant et s'adapte \u00e0 tout type d'\
u00e9cran.";
ocean.msg.MSG_FEATURES_SCANNED="Cet e-book contient des pages num\u00e9ris\u00e9es
ayant la m\u00eame disposition que la version
papier.";ocean.msg.MSG_FIND_PRIOR_ART="Rechercher de l'art ant\
u00e9rieur";ocean.msg.MSG_FIT_TO_HEIGHT="Ajuster \u00e0 la
hauteur";ocean.msg.MSG_FLOWING_TEXT="Texte
flottant";ocean.msg.MSG_FLOWING_TEXT_UNAVAILABLE="Si vous utilisez un lecteur d'\
u00e9cran, ce volume n'est pas disponible en mode texte
flottant.";ocean.msg.MSG_FORMAT_FEATURES="Fonctionnalit\u00e9s :";
ocean.msg.MSG_FULL_SCREEN="Plein \u00e9cran";ocean.msg.MSG_FULL_VIEW="Affichage du
livre entier";ocean.msg.MSG_GOOGLE_BOOKS_ADD_NOTE="Ajouter une
remarque";ocean.msg.MSG_GOOGLE_BOOKS_BROWSABLE_BOOKS="Livres entiers ou en aper\
u00e7u limit\u00e9";ocean.msg.MSG_GOOGLE_BOOKS_CLEAR_SEARCH="Effacer la
recherche";ocean.msg.MSG_GOOGLE_BOOKS_EDIT_NOTE="Modifier la
remarque";ocean.msg.MSG_GOOGLE_BOOKS_FULL_VIEW_ONLY="Affichage du livre entier
uniquement";ocean.msg.MSG_GOOGLE_BOOKS_GOOGLE_EDITIONS_ONLY="E-books Google
uniquement";
ocean.msg.MSG_GOOGLE_BOOKS_IN_STOCK="en
stock";ocean.msg.MSG_GOOGLE_BOOKS_NO_PREVIEW_PAGE="Aucun aper\u00e7u disponible
pour cette page.";ocean.msg.MSG_GOOGLE_BOOKS_ORDER_BY="Trier
par";ocean.msg.MSG_GOOGLE_BOOKS_PAGES="pages";ocean.msg.MSG_GOOGLE_BOOKS_PREVIEW_WA
RNING="Il s'agit d'un aper\u00e7u. Le nombre total de pages affich\u00e9es est
limit\u00e9.";ocean.msg.MSG_GOOGLE_BOOKS_PUBLIC_DOMAIN_ONLY="Du domaine public
uniquement";ocean.msg.MSG_GOOGLE_BOOKS_RELEVANCE="pertinence";
ocean.msg.MSG_GOOGLE_BOOKS_REMOVE="Supprimer";ocean.msg.MSG_GOOGLE_BOOKS_REMOVE_BOO
K="Retirer le livre";ocean.msg.MSG_GOOGLE_BOOKS_REMOVE_FROM_MYEBOOKS="Supprimer de
mes e-
books";ocean.msg.MSG_GOOGLE_BOOKS_RESULTS_CLASSIC_MODE="Liste";ocean.msg.MSG_GOOGLE
_BOOKS_RESULTS_GRID_MODE="Couvertures";ocean.msg.MSG_GOOGLE_BOOKS_WRITE_REVIEW="R\
u00e9diger un commentaire";ocean.msg.MSG_GOOGLE_BOOK_SEARCH_LOGO="Recherche de
livres";ocean.msg.MSG_GOOGLE_COMPLETE_CLOSE="fermer";
ocean.msg.MSG_GOOGLE_PRINT_ALL_BOOKS="Tous les
livres";ocean.msg.MSG_GOOGLE_PRINT_BACK_COVER="Quatri\u00e8me de
couverture";ocean.msg.MSG_GOOGLE_PRINT_BOOK_RESTRICT_SEARCH_SHORT="Rechercher dans
ce livre";ocean.msg.MSG_GOOGLE_PRINT_BOOK_TOC_SHORT="Table des mati\
u00e8res";ocean.msg.MSG_GOOGLE_PRINT_BUY_THIS_MAGAZINE="S'abonner \u00e0 ce
magazine";ocean.msg.MSG_GOOGLE_PRINT_FRONT_COVER="Couverture";ocean.msg.MSG_GOOGLE_
PRINT_NO_PAGE_EXPLANATION="Cette page ne fait pas partie de la section consultable
ou vous avez d\u00e9pass\u00e9 le nombre de pages que vous \u00eates autoris\
u00e9 \u00e0 consulter pour ce livre.";
ocean.msg.MSG_GOOGLE_PRINT_SEARCH_ALL_BOOKS_AND_MAGAZINES="Rechercher dans tous les
livres";ocean.msg.MSG_GUOXUE_BOOKS="Livres
Guoxue";ocean.msg.MSG_HELP_WITH_DEVICES_AND_FORMATS="Aide sur les appareils et les
formats";ocean.msg.MSG_JUSTIFY="Justifier";ocean.msg.MSG_LEARN_ABOUT_BOOKS_ON_PLAY=
"En savoir plus sur les livres sur Google\u00a0Play";ocean.msg.MSG_LEARN_MORE="En
savoir
plus";ocean.msg.MSG_LESS_UPPERCASE="Moins";ocean.msg.MSG_LIMITED_PREVIEW="Aper\
u00e7u limit\u00e9";
ocean.msg.MSG_LINK_TO_ARTICLE="Lien vers
l'article";ocean.msg.MSG_LINK_TO_ARTICLE_INSTRUCTION="Cliquez sur un titre pour
choisir un article";ocean.msg.MSG_LINK_TO_PAGE_POPUP_INSTRUCTIONS="Copier le lien
dans un e-mail ou un message instantan\u00e9";ocean.msg.MSG_LOADING="Chargement en
cours...";ocean.msg.MSG_MAKE_PRIVATE="Rendre priv\
u00e9e";ocean.msg.MSG_MAKE_PUBLIC="Rendre
publique";ocean.msg.MSG_MARGIN_NOTE_DELETE_ERROR="Un probl\u00e8me est survenu lors
de la suppression de la note de marge";
ocean.msg.MSG_MARGIN_NOTE_SAVE_ERROR="Un probl\u00e8me est survenu lors de
l'enregistrement de la note de
marge";ocean.msg.MSG_MEDIA_UNAVAILABLE_OFFLINE="Les \u00e9l\u00e9ments rich media
ne sont pas disponibles hors connexion.";ocean.msg.MSG_MISSING_SNIPPET="Impossible
de g\u00e9n\u00e9rer une image pour ce r\
u00e9sultat.";ocean.msg.MSG_MN_COPY="Copier";ocean.msg.MSG_MN_DEFINE="D\
u00e9finir";ocean.msg.MSG_MN_SEARCH_BOOK="Rechercher dans le
livre";ocean.msg.MSG_MN_TRANSLATE="Traduire";
ocean.msg.MSG_MORE_ABOUT_THIS_BOOK="En savoir plus sur ce
livre";ocean.msg.MSG_MORE_EDIT_BOOKSHELF_OPTIONS="Plus
d'options";ocean.msg.MSG_MORE_UPPERCASE="Plus";ocean.msg.MSG_MY_BOOKS="Mes\
u00a0livres";ocean.msg.MSG_NAME="Nom";ocean.msg.MSG_NAVBAR_NEXT="Suivant";ocean.msg
.MSG_NAVBAR_PREVIOUS="Pr\u00e9c\
u00e9dent";ocean.msg.MSG_NETWORK_ERROR_REORDERING_SHELF="Impossible de r\
u00e9organiser votre \u00e9tag\u00e8re pour le moment. Veuillez r\u00e9essayer ult\
u00e9rieurement.";
ocean.msg.MSG_NEWSPAPER_REPORT_BAD_EDITION="Signaler cette \u00e9dition comme
illisible";ocean.msg.MSG_NO_DEFINITION="Aucune d\u00e9finition n'a \u00e9t\u00e9
trouv\u00e9e.";ocean.msg.MSG_NO_PREVIEW="Aucun aper\
u00e7u";ocean.msg.MSG_ORGANIZE="Organiser";ocean.msg.MSG_ORIGINAL_TEXT="Texte
original";ocean.msg.MSG_PAGE_WORD="Page";ocean.msg.MSG_PATENTS_SHOW_LESS="Moins";oc
ean.msg.MSG_PATENT_SORT_BY_DATE_NEW="Trier par date (les plus r\u00e9cents
d'abord)";ocean.msg.MSG_PATENT_SORT_BY_DATE_OLD="Trier par date (les plus anciens
d'abord)";
ocean.msg.MSG_PATENT_SORT_BY_RELEVANCE="Trier par
pertinence";ocean.msg.MSG_PATENT_STATUS_ANY="Tous les \
u00e9tats";ocean.msg.MSG_PATENT_STATUS_APPLICATION="
Demandes";ocean.msg.MSG_PATENT_STATUS_ISSUED=" Brevets d\u00e9livr\
u00e9s";ocean.msg.MSG_PAUSE_BOOKSHELF="Interrompre la collecte des donn\
u00e9es";ocean.msg.MSG_PAUSE_BOOKSHELF_CAUTION="Voulez-vous vraiment interrompre
momentan\u00e9ment la collecte de ces donn\u00e9es\u00a0? Cette action peut avoir
une incidence sur la qualit\u00e9 de nos recommandations.";
ocean.msg.MSG_PDF="PDF";ocean.msg.MSG_PLEASE_ENTER_VALID_NUMBER="Veuillez saisir un
num\u00e9ro valide.";ocean.msg.MSG_PLEASE_ENTER_VALID_NUMBER_BETWEEN_TITLE="Num\
u00e9ro incorrect";ocean.msg.MSG_PREVIEW="Aper\
u00e7u";ocean.msg.MSG_PREVIEW_IT="Afficher l'aper\
u00e7u";ocean.msg.MSG_PRE_ORDERED="Pr\u00e9-command\
u00e9";ocean.msg.MSG_PRINT_ABOUT_THIS_BOOK="\u00c0 propos de ce
livre";ocean.msg.MSG_PRIVATE="Priv\u00e9e";ocean.msg.MSG_PRIVATE_BOOKSHELF="\
u00c9tag\u00e8re priv\u00e9e";
ocean.msg.MSG_PUBLIC="Public";ocean.msg.MSG_PUBLIC_BOOKSHELF="\u00c9tag\u00e8re
publique";ocean.msg.MSG_PUBLISHER="\
u00e9diteur";ocean.msg.MSG_PURCHASED_BOOK_LABEL="Achet\
u00e9s";ocean.msg.MSG_READER_AUTO_LAYOUT_TOOLTIP="Mise en page
automatique";ocean.msg.MSG_READER_CONTENTS="Sommaire";ocean.msg.MSG_READER_DISPLAY_
OPTIONS="Options d'affichage";ocean.msg.MSG_READER_JUSTIFY_OFF="D\u00e9sactiver la
justification";ocean.msg.MSG_READER_JUSTIFY_ON="Justifier le texte";
ocean.msg.MSG_READER_LINE_HEIGHT="Interligne";ocean.msg.MSG_READER_ONE_PAGE_TOOLTIP
="Une\
u00a0page";ocean.msg.MSG_READER_SEARCH="Rechercher";ocean.msg.MSG_READER_SYNONYMS="
synonymes";ocean.msg.MSG_READER_TWO_PAGE_TOOLTIP="Deux\
u00a0pages";ocean.msg.MSG_READER_UNKNOWN_ERROR="Une erreur inconnue s'est
produite.";ocean.msg.MSG_READER_VIEW_MODE_HEADING="Afficher";ocean.msg.MSG_READ_EBO
OK="Lire l'e-book";ocean.msg.MSG_READ_EREADER_INSTRUCTIONS="Lire les instructions
sur les lecteurs \u00e9lectroniques";
ocean.msg.MSG_READ_NOW="Lire maintenant";ocean.msg.MSG_READ_THE_BOOK="Lire le
livre";ocean.msg.MSG_REDO_BOOKSHELF_ACTION="R\
u00e9tablir";ocean.msg.MSG_REMOVE_BOOKMARK="Supprimer le marque-
page";ocean.msg.MSG_RENTAL_EXPIRED="Location arriv\u00e9e \u00e0
expiration";ocean.msg.MSG_RENTAL_EXPIRING_SOON="Expiration imminente de la
location";ocean.msg.MSG_REPORT_AN_ISSUE="Signaler un probl\
u00e8me";ocean.msg.MSG_REPORT_OFFENSIVE_CONTENT="Signaler un contenu
choquant";ocean.msg.MSG_RESUME_BOOKSHELF="Reprendre la collecte des donn\u00e9es";
ocean.msg.MSG_RESUME_BOOKSHELF_CAUTION="Voulez-vous reprendre la collecte de ces
donn\u00e9es\u00a0? Cette action peut am\u00e9liorer la qualit\u00e9 de nos
recommandations.";ocean.msg.MSG_SAMPLE_EBOOK="Extrait de la version num\
u00e9rique";ocean.msg.MSG_SAMPLE_PRINT_BOOK="Extrait de la version
papier";ocean.msg.MSG_SAVE="Enregistrer";ocean.msg.MSG_SCANNED_PAGES="Pages num\
u00e9ris\u00e9es";ocean.msg.MSG_SCROLL_LEFT="Faire d\u00e9filer vers la
gauche";ocean.msg.MSG_SCROLL_RIGHT="Faire d\u00e9filer vers la droite";
ocean.msg.MSG_SEARCH_MY_LIBRARY="Rechercher dans ma biblioth\
u00e8que";ocean.msg.MSG_SEARCH_RESULT_LABEL="R\u00e9sultat de
recherche";ocean.msg.MSG_SEE_PURCHASE_HISTORY="Afficher tout l'historique
d'achats";ocean.msg.MSG_SELECTION_TEXT="S\u00e9lection de
texte";ocean.msg.MSG_SHARE="Partager";ocean.msg.MSG_SHARE_THIS_CLIP="Partager cet
extrait";ocean.msg.MSG_SNIPPET_VIEW="Affichage
d'extraits";ocean.msg.MSG_SOME_PAGES_OMITTED="Certaines pages ne font pas partie de
la section consultable du livre.";
ocean.msg.MSG_SORT_BY_CUSTOM_ORDERING="Tri personnalis\
u00e9";ocean.msg.MSG_SORT_BY_DEFAULT_ORDERING="Tri par d\
u00e9faut";ocean.msg.MSG_SPELL_SUGGEST="Essayez avec cette
orthographe :";ocean.msg.MSG_THANKS_FOR_REPORTING_BAD_PAGE="Termin\u00e9\u00a0!
Merci de nous avoir signal\u00e9 ce probl\
u00e8me.";ocean.msg.MSG_THE_GLOBE_AND_MAIL="The Globe and
Mail";ocean.msg.MSG_THE_NEW_YORK_TIMES="The\u00a0New\u00a0York\u00a0Times\
u00ae";ocean.msg.MSG_TRANSLATE_OCR_TEXT="Traduire";
ocean.msg.MSG_TURN_OFF_HIGHLIGHTING="D\u00e9sactiver la
surbrillance";ocean.msg.MSG_TURN_ON_HIGHLIGHTING="Activer la
surbrillance";ocean.msg.MSG_UNABLE_TO_REORDER_REFRESH_PAGE="Impossible de r\
u00e9organiser votre \u00e9tag\u00e8re. Veuillez actualiser la page et r\
u00e9essayer.";ocean.msg.MSG_UNAVAILABLE_IN_SAMPLE="Indisponible dans
l'extrait";ocean.msg.MSG_UNDO_BOOKSHELF_ACTION="Annuler";ocean.msg.MSG_UNKNOWN_DEVI
CE_HOVER="Nous ne connaissons pas le format de ce livre pour le moment. Cette
information sera mise \u00e0 jour d\u00e8s que nous l'aurons obtenue de l'\
u00e9diteur.";
ocean.msg.MSG_UNREVERSIBLE_ACTION_CAUTION="Cette action est irr\
u00e9versible.";ocean.msg.MSG_VIEW_ALL="Tout
afficher";ocean.msg.MSG_VIEW_ORDER_PLAIN_TEXT="Afficher la
commande";ocean.msg.MSG_VIEW_PAGE_IMAGES="Afficher les images de la
page";ocean.msg.MSG_VIEW_PDF="Afficher le
PDF";ocean.msg.MSG_VIEW_PLAIN_TEXT="Afficher le contenu du
texte";ocean.msg.MSG_VIEW_SAMPLE="Afficher un
extrait";ocean.msg.MSG_VISIBILITY="Visibilit\
u00e9";ocean.msg.MSG_VOLUMES_NEXT_PAGE="Page suivante";
ocean.msg.MSG_VOLUMES_PREVIOUS_PAGE="Page pr\u00e9c\
u00e9dente";ocean.msg.MSG_WEB="Web";ocean.msg.MSG_WEB_READER_PAYMENT_DECLINED_ACCES
S_ERROR_BODY="D\u00e9sol\u00e9, votre carte a \u00e9t\u00e9 refus\u00e9e pour le
paiement de ce livre. Veuillez mettre \u00e0 jour les informations de facturation
relatives \u00e0 votre carte de paiement, puis r\
u00e9essayez.";ocean.msg.MSG_WEB_READER_SERVER_ACCESS_ERROR_BODY="D\u00e9sol\u00e9,
une erreur s'est produite lors de la lecture de ce livre. Veuillez le fermer et r\
u00e9essayer dans quelques minutes.";
ocean.msg.MSG_ZOOM="Zoom";ocean.msg.MSG_ZOOM_IN_LOWERCASE="Zoom
avant";ocean.msg.MSG_ZOOM_OUT_LOWERCASE="Zoom arri\
u00e8re";ocean.msg.getAddedBookshelfAction=module$contents$ocean$msg_getAddedBooksh
elfAction;ocean.msg.getAddedToShelf=module$contents$ocean$msg_getAddedToShelf;ocean
.msg.getAddedToShelves=module$contents$ocean$msg_getAddedToShelves;ocean.msg.getAva
ilableOnDate=module$contents$ocean$msg_getAvailableOnDate;ocean.msg.getBookByAuthor
=module$contents$ocean$msg_getBookByAuthor;
ocean.msg.getBooksAdded=module$contents$ocean$msg_getBooksAdded;ocean.msg.getBuyEbo
okWithPrice=module$contents$ocean$msg_getBuyEbookWithPrice;ocean.msg.getClearBooksh
elfDialogTitle=module$contents$ocean$msg_getClearBookshelfDialogTitle;ocean.msg.get
ConfirmRemoveVolumeFromCollection=module$contents$ocean$msg_getConfirmRemoveVolumeF
romCollection;ocean.msg.getDeleteBookshelfDialogTitle=module$contents$ocean$msg_get
DeleteBookshelfDialogTitle;ocean.msg.getDeletePurchasedBookDialogTitle=module$conte
nts$ocean$msg_getDeletePurchasedBookDialogTitle;
ocean.msg.getEbookFromWithPrice=module$contents$ocean$msg_getEbookFromWithPrice;oce
an.msg.getEditBookshelfDialogTitle=module$contents$ocean$msg_getEditBookshelfDialog
Title;ocean.msg.getEmptyBookshelfMessage=module$contents$ocean$msg_getEmptyBookshel
fMessage;ocean.msg.getGoogleBooksResultViewSummary=module$contents$ocean$msg_getGoo
gleBooksResultViewSummary;ocean.msg.getGoogleBooksSnippetViewSummary=module$content
s$ocean$msg_getGoogleBooksSnippetViewSummary;ocean.msg.getGooglePrintPageNumber=mod
ule$contents$ocean$msg_getGooglePrintPageNumber;
ocean.msg.getItemsNotAdded=module$contents$ocean$msg_getItemsNotAdded;ocean.msg.get
MoreWithRightArrows=module$contents$ocean$msg_getMoreWithRightArrows;ocean.msg.getM
oveBookshelfAction=module$contents$ocean$msg_getMoveBookshelfAction;ocean.msg.getNR
eviews=module$contents$ocean$msg_getNReviews;ocean.msg.getNetworkErrorTryingToConta
ctBooks=module$contents$ocean$msg_getNetworkErrorTryingToContactBooks;ocean.msg.get
NoResultsFoundBold=module$contents$ocean$msg_getNoResultsFoundBold;
ocean.msg.getNoResultsFoundInBook=module$contents$ocean$msg_getNoResultsFoundInBook
;ocean.msg.getPageCount=module$contents$ocean$msg_getPageCount;ocean.msg.getPageNot
PartOfBookPreview=module$contents$ocean$msg_getPageNotPartOfBookPreview;ocean.msg.g
etPageRangeNotShown=module$contents$ocean$msg_getPageRangeNotShown;ocean.msg.getPat
entImageNOfM=module$contents$ocean$msg_getPatentImageNOfM;ocean.msg.getPatentsShowN
More=module$contents$ocean$msg_getPatentsShowNMore;
ocean.msg.getPauseBookshelfDialogTitle=module$contents$ocean$msg_getPauseBookshelfD
ialogTitle;ocean.msg.getPreOrderPrice=module$contents$ocean$msg_getPreOrderPrice;oc
ean.msg.getRemoveBookshelfAction=module$contents$ocean$msg_getRemoveBookshelfAction
;ocean.msg.getRemoveVolumeFromBookshelf=module$contents$ocean$msg_getRemoveVolumeFr
omBookshelf;ocean.msg.getRentalExpiringDays=module$contents$ocean$msg_getRentalExpi
ringDays;ocean.msg.getRentalExpiringHours=module$contents$ocean$msg_getRentalExpiri
ngHours;
ocean.msg.getResumeBookshelfDialogTitle=module$contents$ocean$msg_getResumeBookshel
fDialogTitle;ocean.msg.getSearchInsideYourLibrary=module$contents$ocean$msg_getSear
chInsideYourLibrary;ocean.msg.getSearchWithinVolumeResult1=module$contents$ocean$ms
g_getSearchWithinVolumeResult1;ocean.msg.getWebReaderConcurrentAccessErrorBody=modu
le$contents$ocean$msg_getWebReaderConcurrentAccessErrorBody;ocean.msg.getWebReaderO
fflineAccessErrorBody=module$contents$ocean$msg_getWebReaderOfflineAccessErrorBody;
ocean.msg.usePendingTranslation=module$contents$ocean$msg_usePendingTranslation;goo
g.a11y={};goog.a11y.aria={};
goog.a11y.aria.State={ACTIVEDESCENDANT:"activedescendant",ATOMIC:"atomic",AUTOCOMPL
ETE:"autocomplete",BUSY:"busy",CHECKED:"checked",COLINDEX:"colindex",CONTROLS:"cont
rols",CURRENT:"current",DESCRIBEDBY:"describedby",DISABLED:"disabled",DROPEFFECT:"d
ropeffect",EXPANDED:"expanded",FLOWTO:"flowto",GRABBED:"grabbed",HASPOPUP:"haspopup
",HIDDEN:"hidden",INVALID:"invalid",LABEL:"label",LABELLEDBY:"labelledby",LEVEL:"le
vel",LIVE:"live",MULTILINE:"multiline",MULTISELECTABLE:"multiselectable",ORIENTATIO
N:"orientation",
OWNS:"owns",POSINSET:"posinset",PRESSED:"pressed",READONLY:"readonly",RELEVANT:"rel
evant",REQUIRED:"required",ROWINDEX:"rowindex",SELECTED:"selected",SETSIZE:"setsize
",SORT:"sort",VALUEMAX:"valuemax",VALUEMIN:"valuemin",VALUENOW:"valuenow",VALUETEXT
:"valuetext"};goog.a11y.aria.AutoCompleteValues={INLINE:"inline",LIST:"list",BOTH:"
both",NONE:"none"};goog.a11y.aria.DropEffectValues={COPY:"copy",MOVE:"move",LINK:"l
ink",EXECUTE:"execute",POPUP:"popup",NONE:"none"};
goog.a11y.aria.LivePriority={OFF:"off",POLITE:"polite",ASSERTIVE:"assertive"};goog.
a11y.aria.OrientationValues={VERTICAL:"vertical",HORIZONTAL:"horizontal"};goog.a11y
.aria.RelevantValues={ADDITIONS:"additions",REMOVALS:"removals",TEXT:"text",ALL:"al
l"};goog.a11y.aria.SortValues={ASCENDING:"ascending",DESCENDING:"descending",NONE:"
none",OTHER:"other"};goog.a11y.aria.CheckedValues={TRUE:"true",FALSE:"false",MIXED:
"mixed",UNDEFINED:"undefined"};
goog.a11y.aria.ExpandedValues={TRUE:"true",FALSE:"false",UNDEFINED:"undefined"};goo
g.a11y.aria.GrabbedValues={TRUE:"true",FALSE:"false",UNDEFINED:"undefined"};goog.a1
1y.aria.InvalidValues={FALSE:"false",TRUE:"true",GRAMMAR:"grammar",SPELLING:"spelli
ng"};goog.a11y.aria.PressedValues={TRUE:"true",FALSE:"false",MIXED:"mixed",UNDEFINE
D:"undefined"};goog.a11y.aria.SelectedValues={TRUE:"true",FALSE:"false",UNDEFINED:"
undefined"};goog.a11y.aria.datatables={};var
module$contents$goog$a11y$aria$datatables_defaultStateValueMap;
goog.a11y.aria.datatables.getDefaultValuesMap=function(){if(!
module$contents$goog$a11y$aria$datatables_defaultStateValueMap){var
a={};module$contents$goog$a11y$aria$datatables_defaultStateValueMap=(a[goog.a11y.ar
ia.State.ATOMIC]=!
1,a[goog.a11y.aria.State.AUTOCOMPLETE]="none",a[goog.a11y.aria.State.DROPEFFECT]="n
one",a[goog.a11y.aria.State.HASPOPUP]=!
1,a[goog.a11y.aria.State.LIVE]="off",a[goog.a11y.aria.State.MULTILINE]=!
1,a[goog.a11y.aria.State.MULTISELECTABLE]=!1,a[goog.a11y.aria.State.ORIENTATION]=
"vertical",a[goog.a11y.aria.State.READONLY]=!
1,a[goog.a11y.aria.State.RELEVANT]="additions
text",a[goog.a11y.aria.State.REQUIRED]=!
1,a[goog.a11y.aria.State.SORT]="none",a[goog.a11y.aria.State.BUSY]=!
1,a[goog.a11y.aria.State.DISABLED]=!1,a[goog.a11y.aria.State.HIDDEN]=!
1,a[goog.a11y.aria.State.INVALID]="false",a)}return
module$contents$goog$a11y$aria$datatables_defaultStateValueMap};goog.a11y.aria.Role
={ALERT:"alert",ALERTDIALOG:"alertdialog",APPLICATION:"application",ARTICLE:"articl
e",BANNER:"banner",BUTTON:"button",CHECKBOX:"checkbox",COLUMNHEADER:"columnheader",
COMBOBOX:"combobox",COMPLEMENTARY:"complementary",CONTENTINFO:"contentinfo",DEFINIT
ION:"definition",DIALOG:"dialog",DIRECTORY:"directory",DOCUMENT:"document",FORM:"fo
rm",GRID:"grid",GRIDCELL:"gridcell",GROUP:"group",HEADING:"heading",IMG:"img",LINK:
"link",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",LOG:"log",
MAIN:"main",MARQUEE:"marquee",MATH:"math",MENU:"menu",MENUBAR:"menubar",MENUITEM:"m
enuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATI
ON:"navigation",NOTE:"note",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR
:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",ROW:"row",ROWG
ROUP:"rowgroup",ROWHEADER:"rowheader",SCROLLBAR:"scrollbar",SEARCH:"search",SEPARAT
OR:"separator",SLIDER:"slider",SPINBUTTON:"spinbutton",STATUS:"status",SWITCH:"swit
ch",
TAB:"tab",TABLIST:"tablist",TABPANEL:"tabpanel",TEXTBOX:"textbox",TEXTINFO:"textinf
o",TIMER:"timer",TOOLBAR:"toolbar",TOOLTIP:"tooltip",TREE:"tree",TREEGRID:"treegrid
",TREEITEM:"treeitem"};goog.a11y.aria.ARIA_PREFIX_="aria-";goog.a11y.aria.ROLE_ATTR
IBUTE_="role";
goog.a11y.aria.TAGS_WITH_ASSUMED_ROLES_=module$contents$goog$object_createSet([goog
.dom.TagName.A,goog.dom.TagName.AREA,goog.dom.TagName.BUTTON,goog.dom.TagName.HEAD,
goog.dom.TagName.INPUT,goog.dom.TagName.LINK,goog.dom.TagName.MENU,goog.dom.TagName
.META,goog.dom.TagName.OPTGROUP,goog.dom.TagName.OPTION,goog.dom.TagName.PROGRESS,g
oog.dom.TagName.STYLE,goog.dom.TagName.SELECT,goog.dom.TagName.SOURCE,goog.dom.TagN
ame.TEXTAREA,goog.dom.TagName.TITLE,goog.dom.TagName.TRACK]);
goog.a11y.aria.CONTAINER_ROLES_=[goog.a11y.aria.Role.COMBOBOX,goog.a11y.aria.Role.G
RID,goog.a11y.aria.Role.GROUP,goog.a11y.aria.Role.LISTBOX,goog.a11y.aria.Role.MENU,
goog.a11y.aria.Role.MENUBAR,goog.a11y.aria.Role.RADIOGROUP,goog.a11y.aria.Role.ROW,
goog.a11y.aria.Role.ROWGROUP,goog.a11y.aria.Role.TABLIST,goog.a11y.aria.Role.TEXTBO
X,goog.a11y.aria.Role.TOOLBAR,goog.a11y.aria.Role.TREE,goog.a11y.aria.Role.TREEGRID
];
goog.a11y.aria.setRole=function(a,b){b?
(goog.asserts.ENABLE_ASSERTS&&goog.asserts.assert(module$contents$goog$object_conta
insValue(goog.a11y.aria.Role,b),"No such ARIA role
"+b),a.setAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_,b)):goog.a11y.aria.removeRole(a)
};goog.a11y.aria.getRole=function(a)
{return(a=a.getAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_))||
null};goog.a11y.aria.removeRole=function(a)
{a.removeAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_)};
goog.a11y.aria.setState=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var
d=goog.a11y.aria.getAriaAttributeName_(b);""===c||void 0==c?
(c=goog.a11y.aria.datatables.getDefaultValuesMap(),b in c?
a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};
goog.a11y.aria.toggleState=function(a,b){var
c=goog.a11y.aria.getState(a,b);goog.string.isEmptyOrWhitespace(goog.string.makeSafe
(c))||"true"==c||"false"==c?
goog.a11y.aria.setState(a,b,"true"==c?"false":"true"):goog.a11y.aria.removeState(a,
b)};goog.a11y.aria.removeState=function(a,b)
{a.removeAttribute(goog.a11y.aria.getAriaAttributeName_(b))};goog.a11y.aria.getStat
e=function(a,b)
{a=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));return(b=null==a||void
0==a)?"":String(a)};
goog.a11y.aria.getActiveDescendant=function(a){var
b=goog.a11y.aria.getState(a,goog.a11y.aria.State.ACTIVEDESCENDANT);return
goog.dom.getOwnerDocument(a).getElementById(b)};goog.a11y.aria.setActiveDescendant=
function(a,b){var c="";b&&(c=b.id,goog.asserts.assert(c,"The active element should
have an
id."));goog.a11y.aria.setState(a,goog.a11y.aria.State.ACTIVEDESCENDANT,c)};goog.a11
y.aria.getLabel=function(a){return
goog.a11y.aria.getState(a,goog.a11y.aria.State.LABEL)};
goog.a11y.aria.setLabel=function(a,b)
{goog.a11y.aria.setState(a,goog.a11y.aria.State.LABEL,b)};goog.a11y.aria.assertRole
IsSetInternalUtil=function(a,b)
{goog.a11y.aria.TAGS_WITH_ASSUMED_ROLES_[a.tagName]||
(a=goog.a11y.aria.getRole(a),goog.asserts.assert(null!=a,"The element ARIA role
cannot be null."),goog.asserts.assert(module$contents$goog$array_contains(b,a),'Non
existing or incorrect role set for element.The role set is "'+a+'". The role should
be any of "'+b+'". Check the ARIA specification for more details
http://www.w3.org/TR/wai-aria/roles.'))};
goog.a11y.aria.getStateBoolean=function(a,b)
{a=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert("boo
lean"===typeof a||null==a||"true"==a||"false"==a);return null==a?
a:"boolean"===typeof a?a:"true"==a};goog.a11y.aria.getStateNumber=function(a,b)
{a=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert((nul
l==a||!isNaN(Number(a)))&&"boolean"!==typeof a);return null==a?null:Number(a)};
goog.a11y.aria.getStateString=function(a,b)
{a=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert((nul
l==a||"string"===typeof a)&&(""==a||isNaN(Number(a)))&&"true"!=a&&"false"!
=a);return null==a||""==a?
null:a};goog.a11y.aria.getStringArrayStateInternalUtil=function(a,b)
{a=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));return
goog.a11y.aria.splitStringOnWhitespace_(a)};goog.a11y.aria.hasState=function(a,b)
{return a.hasAttribute(goog.a11y.aria.getAriaAttributeName_(b))};
goog.a11y.aria.isContainerRole=function(a){a=goog.a11y.aria.getRole(a);return
module$contents$goog$array_contains(goog.a11y.aria.CONTAINER_ROLES_,a)};goog.a11y.a
ria.splitStringOnWhitespace_=function(a){return a?a.split(/\s+/):[]};
goog.a11y.aria.getAriaAttributeName_=function(a)
{goog.asserts.ENABLE_ASSERTS&&(goog.asserts.assert(a,"ARIA attribute cannot be
empty."),goog.asserts.assert(module$contents$goog$object_containsValue(goog.a11y.ar
ia.State,a),"No such ARIA attribute "+a));return
goog.a11y.aria.ARIA_PREFIX_+a};goog.events.Keys={ALT:"Meta",ALTGRAPH:"AltGraph",BAC
KSPACE:"Backspace",CTRL:"Control",DELETE:"Delete",DOWN:"ArrowDown",END:"End",ENTER:
"Enter",ESCAPE:"Escape",HOME:"Home",INSERT:"Insert",LEFT:"ArrowLeft",PAGE_DOWN:"Pag
eDown",PAGE_UP:"PageUp",RIGHT:"ArrowRight",SHIFT:"Shift",SPACE:"
",TAB:"Tab",UP:"ArrowUp"};goog.userAgent.platform={};
goog.userAgent.platform.determineVersion_=function(){if(goog.userAgent.WINDOWS){var
a=/Windows NT ([0-9.]+)/;return(a=a.exec(goog.userAgent.getUserAgentString()))?
a[1]:"0"}return goog.userAgent.MAC?(a=/1[0|1][_.][0-9_.]+/,
(a=a.exec(goog.userAgent.getUserAgentString()))?a[0].replace(/_/
g,"."):"10"):goog.userAgent.ANDROID?(a=/Android\s+([^\);]+)(\)|;)/,
(a=a.exec(goog.userAgent.getUserAgentString()))?a[1]:""):goog.userAgent.IPHONE||
goog.userAgent.IPAD||goog.userAgent.IPOD?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,
(a=a.exec(goog.userAgent.getUserAgentString()))?a[1].replace(/_/
g,"."):""):""};goog.userAgent.platform.VERSION=goog.userAgent.platform.determineVer
sion_();goog.userAgent.platform.isVersion=function(a){return
0<=goog.string.compareVersions(goog.userAgent.platform.VERSION,a)};goog.userAgent.p
roduct={};goog.userAgent.product.ASSUME_FIREFOX=!
1;goog.userAgent.product.ASSUME_IPHONE=!1;goog.userAgent.product.ASSUME_IPAD=!
1;goog.userAgent.product.ASSUME_ANDROID=!1;goog.userAgent.product.ASSUME_CHROME=!
1;goog.userAgent.product.ASSUME_SAFARI=!1;
goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||
goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||
goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||
goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||
goog.userAgent.product.ASSUME_CHROME||
goog.userAgent.product.ASSUME_SAFARI;goog.userAgent.product.OPERA=goog.userAgent.OP
ERA;goog.userAgent.product.IE=goog.userAgent.IE;goog.userAgent.product.EDGE=goog.us
erAgent.EDGE;
goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?
goog.userAgent.product.ASSUME_FIREFOX:module$contents$goog$labs$userAgent$browser_m
atchFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return
module$contents$goog$labs$userAgent$platform_isIphone()||
module$contents$goog$labs$userAgent$platform_isIpod()};goog.userAgent.product.IPHON
E=goog.userAgent.product.PRODUCT_KNOWN_?
goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_();
goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?
goog.userAgent.product.ASSUME_IPAD:module$contents$goog$labs$userAgent$platform_isI
pad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?
goog.userAgent.product.ASSUME_ANDROID:module$contents$goog$labs$userAgent$browser_m
atchAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_K
NOWN_?
goog.userAgent.product.ASSUME_CHROME:module$contents$goog$labs$userAgent$browser_ma
tchChrome();
goog.userAgent.product.isSafariDesktop_=function(){return
module$contents$goog$labs$userAgent$browser_matchSafari()&&!
module$contents$goog$labs$userAgent$platform_isIos()};goog.userAgent.product.SAFARI
=goog.userAgent.product.PRODUCT_KNOWN_?
goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_();goog
.userAgent.product.determineVersion_=function()
{if(goog.userAgent.product.FIREFOX)return
goog.userAgent.product.getFirstRegExpGroup_(/Firefox\/([0-
9.]+)/);if(goog.userAgent.product.IE||goog.userAgent.product.EDGE||
goog.userAgent.product.OPERA)return
goog.userAgent.VERSION;if(goog.userAgent.product.CHROME)
{if(module$contents$goog$labs$userAgent$platform_isIos()||
module$contents$goog$labs$userAgent$platform_isMacintosh()){var
a=goog.userAgent.product.getFirstRegExpGroup_(/CriOS\/([0-9.]+)/);if(a)return
a}return goog.userAgent.product.getFirstRegExpGroup_(/Chrome\/([0-
9.]+)/)}if(goog.userAgent.product.SAFARI&&
!module$contents$goog$labs$userAgent$platform_isIos())return
goog.userAgent.product.getFirstRegExpGroup_(/Version\/([0-
9.]+)/);if(goog.userAgent.product.IPHONE||goog.userAgent.product.IPAD)
{if(a=goog.userAgent.product.execRegExp_(/Version\/(\S+).*Mobile\/(\S+)/))return
a[1]+"."+a[2]}else
if(goog.userAgent.product.ANDROID)return(a=goog.userAgent.product.getFirstRegExpGro
up_(/Android\s+([0-9.]+)/))?a:goog.userAgent.product.getFirstRegExpGroup_(/
Version\/([0-9.]+)/);return""};
goog.userAgent.product.getFirstRegExpGroup_=function(a)
{return(a=goog.userAgent.product.execRegExp_(a))?
a[1]:""};goog.userAgent.product.execRegExp_=function(a){return
a.exec(goog.userAgent.getUserAgentString())};goog.userAgent.product.VERSION=goog.us
erAgent.product.determineVersion_();goog.userAgent.product.isVersion=function(a)
{return
0<=goog.string.compareVersions(goog.userAgent.product.VERSION,a)};goog.style.bidi={
};goog.style.bidi.getScrollLeft=function(a){var
b=goog.style.isRightToLeft(a);return
b&&goog.style.bidi.usesNegativeScrollLeftInRtl_()?-
a.scrollLeft:b&&(b=goog.style.getComputedOverflowX(a),"visible"!=b)?a.scrollWidth-
a.clientWidth-a.scrollLeft:a.scrollLeft};
goog.style.bidi.getOffsetStart=function(a){var
b=a.offsetLeft,c=a.offsetParent;c||"fixed"!=goog.style.getComputedPosition(a)||
(c=goog.dom.getOwnerDocument(a).documentElement);if(!c)return
b;if(goog.userAgent.GECKO&&!goog.userAgent.isVersionOrHigher(58)){var
d=goog.style.getBorderBox(c);b+=d.left}else
goog.userAgent.isDocumentModeOrHigher(8)&&!
goog.userAgent.isDocumentModeOrHigher(9)&&(d=goog.style.getBorderBox(c),b-
=d.left);return goog.style.isRightToLeft(c)?(a=b+a.offsetWidth,c.clientWidth-a):b};
goog.style.bidi.setScrollOffset=function(a,b)
{b=Math.max(b,0);goog.style.isRightToLeft(a)?
goog.style.bidi.usesNegativeScrollLeftInRtl_()?a.scrollLeft=-
b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b};
goog.style.bidi.usesNegativeScrollLeftInRtl_=function(){var
a=goog.userAgent.product.SAFARI&&goog.userAgent.product.isVersion(10),b=goog.userAg
ent.IOS&&goog.userAgent.platform.isVersion(10),c=goog.userAgent.product.CHROME&&goo
g.userAgent.product.isVersion(85);return goog.userAgent.GECKO||a||b||
c};goog.style.bidi.setPosition=function(a,b,c,d){null!==c&&(a.style.top=c+"px");d?
(a.style.right=b+"px",a.style.left=""):
(a.style.left=b+"px",a.style.right="")};goog.fx.Dragger=function(a,b,c)
{goog.events.EventTarget.call(this);this.target=a;this.handle=b||a;this.limits=c||
new
goog.math.Rect(NaN,NaN,NaN,NaN);this.document_=goog.dom.getOwnerDocument(a);this.ev
entHandler_=new
goog.events.EventHandler(this);this.registerDisposable(this.eventHandler_);this.del
taY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this
.clientX=0;this.enabled_=!0;this.dragging_=!1;this.preventMouseDown_=!
0;this.hysteresisDistanceSquared_=0;this.useRightPositioningForRtl_=
!1;goog.events.listen(this.handle,
[goog.events.EventType.TOUCHSTART,goog.events.EventType.MOUSEDOWN],this.startDrag,!
1,this);this.useSetCapture_=goog.fx.Dragger.HAS_SET_CAPTURE_};goog.inherits(goog.fx
.Dragger,goog.events.EventTarget);goog.fx.Dragger.HAS_SET_CAPTURE_=goog.global.docu
ment&&goog.global.document.documentElement&&!!
goog.global.document.documentElement.setCapture&&!!
goog.global.document.releaseCapture;
goog.fx.Dragger.cloneNode=function(a){for(var b=a.cloneNode(!
0),c=goog.dom.getElementsByTagName(goog.dom.TagName.TEXTAREA,a),d=goog.dom.getEleme
ntsByTagName(goog.dom.TagName.TEXTAREA,b),e=0;e<c.length;e+
+)d[e].value=c[e].value;switch(a.tagName){case String(goog.dom.TagName.TR):return
goog.dom.createDom(goog.dom.TagName.TABLE,null,goog.dom.createDom(goog.dom.TagName.
TBODY,null,b));case String(goog.dom.TagName.TD):case
String(goog.dom.TagName.TH):return goog.dom.createDom(goog.dom.TagName.TABLE,null,
goog.dom.createDom(goog.dom.TagName.TBODY,null,goog.dom.createDom(goog.dom.TagName.
TR,null,b)));case String(goog.dom.TagName.TEXTAREA):b.value=a.value;default:return
b}};goog.fx.Dragger.EventType={EARLY_CANCEL:"earlycancel",START:"start",BEFOREDRAG:
"beforedrag",DRAG:"drag",END:"end"};goog.fx.Dragger.prototype.getHandler=function()
{var a=this;return a.eventHandler_};goog.fx.Dragger.prototype.setLimits=function(a)
{this.limits=a||new goog.math.Rect(NaN,NaN,NaN,NaN)};
goog.fx.Dragger.prototype.setHysteresis=function(a)
{this.hysteresisDistanceSquared_=Math.pow(a,2)};goog.fx.Dragger.prototype.setEnable
d=function(a){this.enabled_=a};goog.fx.Dragger.prototype.disposeInternal=function()
{goog.fx.Dragger.superClass_.disposeInternal.call(this);goog.events.unlisten(this.h
andle,
[goog.events.EventType.TOUCHSTART,goog.events.EventType.MOUSEDOWN],this.startDrag,!
1,this);this.cleanUpAfterDragging_();this.handle=this.target=null};
goog.fx.Dragger.prototype.isRightToLeft_=function(){void
0===this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.target));re
turn this.rightToLeft_};
goog.fx.Dragger.prototype.startDrag=function(a){var
b=a.type==goog.events.EventType.MOUSEDOWN;if(!this.enabled_||this.dragging_||b&&!
a.isMouseActionButton())this.dispatchEvent(goog.fx.Dragger.EventType.EARLY_CANCEL);
else{if(0==this.hysteresisDistanceSquared_)if(this.fireDragStart_(a))this.dragging_
=!0,this.preventMouseDown_&&b&&a.preventDefault();else return;else
this.preventMouseDown_&&b&&a.preventDefault();this.setupDragHandlers();this.clientX
=this.startX=a.clientX;this.clientY=this.startY=a.clientY;
this.screenX=a.screenX;this.screenY=a.screenY;this.computeInitialPosition();this.pa
geScroll=goog.dom.getDomHelper(this.document_).getDocumentScroll()}};
goog.fx.Dragger.prototype.setupDragHandlers=function(){var
a=this.document_,b=a.documentElement,c=!
this.useSetCapture_;this.eventHandler_.listen(a,
[goog.events.EventType.TOUCHMOVE,goog.events.EventType.MOUSEMOVE],this.handleMove_,
{capture:c,passive:!1});this.eventHandler_.listen(a,
[goog.events.EventType.TOUCHEND,goog.events.EventType.MOUSEUP],this.endDrag,c);this
.useSetCapture_?(b.setCapture(!
1),this.eventHandler_.listen(b,goog.events.EventType.LOSECAPTURE,this.endDrag)):thi
s.eventHandler_.listen(goog.dom.getWindow(a),
goog.events.EventType.BLUR,this.endDrag);this.scrollTarget_&&this.eventHandler_.lis
ten(this.scrollTarget_,goog.events.EventType.SCROLL,this.onScroll_,c)};goog.fx.Drag
ger.prototype.fireDragStart_=function(a){return this.dispatchEvent(new
goog.fx.DragEvent(goog.fx.Dragger.EventType.START,this,a.clientX,a.clientY,a))};goo
g.fx.Dragger.prototype.cleanUpAfterDragging_=function()
{this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture(
)};
goog.fx.Dragger.prototype.endDrag=function(a,b)
{this.cleanUpAfterDragging_();if(this.dragging_){this.dragging_=!1;var
c=this.limitX(this.deltaX),d=this.limitY(this.deltaY);b=b||
a.type==goog.events.EventType.TOUCHCANCEL;this.dispatchEvent(new
goog.fx.DragEvent(goog.fx.Dragger.EventType.END,this,a.clientX,a.clientY,a,c,d,b))}
else this.dispatchEvent(goog.fx.Dragger.EventType.EARLY_CANCEL)};
goog.fx.Dragger.prototype.handleMove_=function(a){if(this.enabled_){var
b=this.useRightPositioningForRtl_&&this.isRightToLeft_()?-1:1;b*=a.clientX-
this.clientX;var c=a.clientY-
this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;t
his.screenY=a.screenY;if(!this.dragging_){var d=this.startX-
this.clientX,e=this.startY-
this.clientY;d=d*d+e*e;if(d>this.hysteresisDistanceSquared_)if(this.fireDragStart_(
a))this.dragging_=!0;else{this.isDisposed()||
this.endDrag(a);return}}c=this.calculatePosition_(b,
c);b=c.x;c=c.y;this.dragging_&&(d=this.dispatchEvent(new
goog.fx.DragEvent(goog.fx.Dragger.EventType.BEFOREDRAG,this,a.clientX,a.clientY,a,b
,c)))&&(this.doDrag(a,b,c,!1),a.preventDefault())}};
goog.fx.Dragger.prototype.calculatePosition_=function(a,b){var
c=goog.dom.getDomHelper(this.document_).getDocumentScroll();a+=c.x-
this.pageScroll.x;b+=c.y-
this.pageScroll.y;this.pageScroll=c;this.deltaX+=a;this.deltaY+=b;a=this.limitX(thi
s.deltaX);b=this.limitY(this.deltaY);return new
goog.math.Coordinate(a,b)};goog.fx.Dragger.prototype.onScroll_=function(a){var
b=this.calculatePosition_(0,0);a.clientX=this.clientX;a.clientY=this.clientY;this.d
oDrag(a,b.x,b.y,!0)};
goog.fx.Dragger.prototype.doDrag=function(a,b,c)
{this.defaultAction(b,c);this.dispatchEvent(new
goog.fx.DragEvent(goog.fx.Dragger.EventType.DRAG,this,a.clientX,a.clientY,a,b,c))};
goog.fx.Dragger.prototype.limitX=function(a){var b=this.limits,c=isNaN(b.left)?
null:b.left;b=isNaN(b.width)?0:b.width;b=null!=c?c+b:Infinity;c=null!=c?c:-
Infinity;return Math.min(b,Math.max(c,a))};
goog.fx.Dragger.prototype.limitY=function(a){var b=this.limits,c=isNaN(b.top)?
null:b.top;b=isNaN(b.height)?0:b.height;b=null!=c?c+b:Infinity;c=null!=c?c:-
Infinity;return
Math.min(b,Math.max(c,a))};goog.fx.Dragger.prototype.computeInitialPosition=functio
n(){this.deltaX=this.useRightPositioningForRtl_?
goog.style.bidi.getOffsetStart(this.target):this.target.offsetLeft;this.deltaY=this
.target.offsetTop};
goog.fx.Dragger.prototype.defaultAction=function(a,b)
{this.useRightPositioningForRtl_&&this.isRightToLeft_()?
this.target.style.right=a+"px":this.target.style.left=a+"px";this.target.style.top=
b+"px"};goog.fx.DragEvent=function(a,b,c,d,e,f,g)
{goog.events.Event.call(this,a);this.clientX=c;this.clientY=d;this.browserEvent=e;t
his.left=void 0!==f?f:b.deltaX;this.top=void 0!==g?
g:b.deltaY};goog.inherits(goog.fx.DragEvent,goog.events.Event);goog.ui={};var
module$contents$goog$ui$Map_UiMap=function(a){this.map_=new Map;var
b=arguments.length;if(1<b){if(b%2)throw Error("Uneven number of arguments");for(var
c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else
a&&this.addAll(a)};module$contents$goog$ui$Map_UiMap.prototype.getCount=function()
{return
this.map_.size};module$contents$goog$ui$Map_UiMap.prototype.getValues=function()
{return
Array.from(this.map_.values())};module$contents$goog$ui$Map_UiMap.prototype.getKeys
=function(){return Array.from(this.map_.keys())};
module$contents$goog$ui$Map_UiMap.prototype.containsKey=function(a){return
this.map_.has(a)};module$contents$goog$ui$Map_UiMap.prototype.containsValue=functio
n(a){return this.getValues().some(function(b){return
b==a})};module$contents$goog$ui$Map_UiMap.prototype.equals=function(a,b){var
c=this;b=void 0===b?function(d,e){return d===e}:b;return this===a?!
0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return
b(c.map_.get(d),a.get(d))})};
module$contents$goog$ui$Map_UiMap.prototype.isEmpty=function(){return
0==this.map_.size};module$contents$goog$ui$Map_UiMap.prototype.clear=function()
{this.map_.clear()};module$contents$goog$ui$Map_UiMap.prototype.remove=function(a)
{return
this.map_.delete(a)};module$contents$goog$ui$Map_UiMap.prototype.get=function(a,b)
{return this.map_.has(a)?
this.map_.get(a):b};module$contents$goog$ui$Map_UiMap.prototype.set=function(a,b)
{var c=this;c.map_.set(a,b);return c};
module$contents$goog$ui$Map_UiMap.prototype.addAll=function(a){if(a instanceof
module$contents$goog$ui$Map_UiMap){a=$jscomp.makeIterator(a.map_);for(var
b=a.next();!b.done;b=a.next()){b=b.value;var
c=$jscomp.makeIterator(b);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}els
e if(a)for(a=$jscomp.makeIterator(Object.entries(a)),b=a.next();!
b.done;b=a.next())b=b.value,c=$jscomp.makeIterator(b),b=c.next().value,c=c.next().v
alue,this.map_.set(b,c)};
module$contents$goog$ui$Map_UiMap.prototype.forEach=function(a,b){var c=this;b=void
0===b?this:b;this.map_.forEach(function(d,e){return
a.call(b,d,e,c)})};module$contents$goog$ui$Map_UiMap.prototype.clone=function()
{return new
module$contents$goog$ui$Map_UiMap(this)};module$contents$goog$ui$Map_UiMap.prototyp
e.toObject=function(){for(var a={},b=$jscomp.makeIterator(this.map_),c=b.next();!
c.done;c=b.next()){c=c.value;var
d=$jscomp.makeIterator(c);c=d.next().value;d=d.next().value;a[c]=d}return a};
goog.ui.Map=module$contents$goog$ui$Map_UiMap;goog.dom.animationFrame={};goog.dom.a
nimationFrame.polyfill={};goog.dom.animationFrame.polyfill.ENABLED=!0;
goog.dom.animationFrame.polyfill.install=function()
{if(goog.dom.animationFrame.polyfill.ENABLED){for(var
a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!goog.global.requestAnimationFrame;+
+c)goog.global.requestAnimationFrame=goog.global[b+"RequestAnimationFrame"],goog.gl
obal.cancelAnimationFrame=goog.global[b+"CancelAnimationFrame"]||
goog.global[b+"CancelRequestAnimationFrame"];if(!goog.global.requestAnimationFrame)
{var d=0;goog.global.requestAnimationFrame=function(e){var f=(new
Date).getTime(),g=Math.max(0,
16-(f-d));d=f+g;return goog.global.setTimeout(function()
{e(f+g)},g)};goog.global.cancelAnimationFrame||
(goog.global.cancelAnimationFrame=function(e)
{clearTimeout(e)})}}};goog.dom.animationFrame.Spec={};goog.dom.animationFrame.polyf
ill.install();goog.dom.animationFrame.State=function()
{};goog.dom.animationFrame.tasks_=[[],
[]];goog.dom.animationFrame.doubleBufferIndex_=0;goog.dom.animationFrame.requestedF
rame_=!1;goog.dom.animationFrame.taskId_=0;goog.dom.animationFrame.running_=!1;
goog.dom.animationFrame.createTask=function(a,b){var
c=goog.dom.animationFrame.taskId_+
+,d={id:c,fn:a.measure,context:b};a={id:c,fn:a.mutate,context:b};var
e={measureTask:d,mutateTask:a,state:{},args:void 0,isScheduled:!1};return
function(){0<arguments.length?(e.args||
(e.args=[]),e.args.length=0,e.args.push.apply(e.args,arguments),e.args.push(e.state
)):e.args&&0!=e.args.length?
(e.args[0]=e.state,e.args.length=1):e.args=[e.state];if(!e.isScheduled)
{e.isScheduled=!0;var
f=goog.dom.animationFrame.tasks_[goog.dom.animationFrame.doubleBufferIndex_];
f.push(e)}goog.dom.animationFrame.requestAnimationFrame_()}};
goog.dom.animationFrame.runTasks_=function(){goog.dom.animationFrame.running_=!
0;goog.dom.animationFrame.requestedFrame_=!1;var
a=goog.dom.animationFrame.tasks_[goog.dom.animationFrame.doubleBufferIndex_],b=a.le
ngth;goog.dom.animationFrame.doubleBufferIndex_=(goog.dom.animationFrame.doubleBuff
erIndex_+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.measureTask;c.isScheduled=!
1;e.fn&&e.fn.apply(e.context,c.args)}for(d=0;d<b;+
+d)c=a[d],e=c.mutateTask,c.isScheduled=!
1,e.fn&&e.fn.apply(e.context,c.args),c.state=
{};a.length=0;goog.dom.animationFrame.running_=!
1};goog.dom.animationFrame.isRunning=function(){return
goog.dom.animationFrame.running_};goog.dom.animationFrame.requestAnimationFrame_=fu
nction(){goog.dom.animationFrame.requestedFrame_||
(goog.dom.animationFrame.requestedFrame_=!
0,window.requestAnimationFrame(goog.dom.animationFrame.runTasks_))};goog.dom.iframe
={};goog.dom.iframe.BLANK_SOURCE_URL=goog.html.TrustedResourceUrl.fromConstant(goog
.string.Const.from("about:blank"));goog.dom.iframe.BLANK_SOURCE=goog.html.TrustedRe
sourceUrl.unwrap(goog.dom.iframe.BLANK_SOURCE_URL);goog.dom.iframe.BLANK_SOURCE_NEW
_FRAME_URL=goog.html.TrustedResourceUrl.fromConstant(goog.string.Const.from("javasc
ript:undefined"));goog.dom.iframe.BLANK_SOURCE_NEW_FRAME=goog.html.TrustedResourceU
rl.unwrap(goog.dom.iframe.BLANK_SOURCE_NEW_FRAME_URL);
goog.dom.iframe.STYLES_="border:0;vertical-
align:bottom;";goog.dom.iframe.createBlank=function(a,b){b=b?
module$contents$goog$html$SafeStyle_SafeStyle.unwrap(b):"";a=a.createDom(goog.dom.T
agName.IFRAME,
{frameborder:0,style:goog.dom.iframe.STYLES_+b});goog.dom.safe.setIframeSrc(a,goog.
dom.iframe.BLANK_SOURCE_URL);return
a};goog.dom.iframe.writeSafeContent=function(a,b)
{a=goog.dom.getFrameContentDocument(a);a.open();goog.dom.safe.documentWrite(a,b);a.
close()};
goog.dom.iframe.createWithContent=function(a,b,c,d,e){var
f=goog.dom.getDomHelper(a);b=module$contents$goog$html$SafeHtml_SafeHtml.create("ht
ml",
{},module$contents$goog$html$SafeHtml_SafeHtml.concat(module$contents$goog$html$Saf
eHtml_SafeHtml.create("head",
{},b),module$contents$goog$html$SafeHtml_SafeHtml.create("body",{},c)));e||
(b=module$contents$goog$html$SafeHtml_SafeHtml.concat(module$contents$goog$html$Saf
eHtml_SafeHtml.DOCTYPE_HTML,b));d=goog.dom.iframe.createBlank(f,d);a.appendChild(d)
;goog.dom.iframe.writeSafeContent(d,
b);return d};goog.events.FocusHandler=function(a)
{goog.events.EventTarget.call(this);this.element_=a;this.listenKeyIn_=goog.events.l
isten(this.element_,"focus",this,!
0);this.listenKeyOut_=goog.events.listen(this.element_,"blur",this,!
0)};goog.inherits(goog.events.FocusHandler,goog.events.EventTarget);goog.events.Foc
usHandler.EventType={FOCUSIN:"focusin",FOCUSOUT:"focusout"};
goog.events.FocusHandler.prototype.handleEvent=function(a){var b=a.event_;b=new
goog.events.BrowserEvent(b);b.type="focusin"==a.type||"focus"==a.type?
goog.events.FocusHandler.EventType.FOCUSIN:goog.events.FocusHandler.EventType.FOCUS
OUT;this.dispatchEvent(b)};goog.events.FocusHandler.prototype.disposeInternal=funct
ion()
{goog.events.FocusHandler.superClass_.disposeInternal.call(this);goog.events.unlist
enByKey(this.listenKeyIn_);goog.events.unlistenByKey(this.listenKeyOut_);delete
this.element_};goog.ui.IdGenerator=function()
{};goog.addSingletonGetter(goog.ui.IdGenerator);goog.ui.IdGenerator.prototype.nextI
d_=0;goog.ui.IdGenerator.prototype.idPrefix_="";goog.ui.IdGenerator.prototype.getNe
xtUniqueId=function(){return this.idPrefix_+":"+(this.nextId_+
+).toString(36)};goog.ui.Component=function(a)
{goog.events.EventTarget.call(this);this.dom_=a||
goog.dom.getDomHelper();this.rightToLeft_=goog.ui.Component.defaultRightToLeft_;thi
s.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void
0;this.childIndex_=this.children_=this.parent_=this.model_=null;this.pointerEventsE
nabled_=this.wasDecorated_=!
1};goog.inherits(goog.ui.Component,goog.events.EventTarget);goog.ui.Component.ALLOW
_DETACHED_DECORATION=!1;
goog.ui.Component.prototype.idGenerator_=goog.ui.IdGenerator.getInstance();goog.ui.
Component.DEFAULT_BIDI_DIR=0;goog.ui.Component.defaultRightToLeft_=1==goog.ui.Compo
nent.DEFAULT_BIDI_DIR?!1:-1==goog.ui.Component.DEFAULT_BIDI_DIR?!0:null;
goog.ui.Component.EventType={BEFORE_SHOW:"beforeshow",SHOW:"show",HIDE:"hide",DISAB
LE:"disable",ENABLE:"enable",HIGHLIGHT:"highlight",UNHIGHLIGHT:"unhighlight",ACTIVA
TE:"activate",DEACTIVATE:"deactivate",SELECT:"select",UNSELECT:"unselect",CHECK:"ch
eck",UNCHECK:"uncheck",FOCUS:"focus",BLUR:"blur",OPEN:"open",CLOSE:"close",ENTER:"e
nter",LEAVE:"leave",ACTION:"action",CHANGE:"change"};
goog.ui.Component.Error={NOT_SUPPORTED:"Method not
supported",DECORATE_INVALID:"Invalid element to
decorate",ALREADY_RENDERED:"Component already
rendered",PARENT_UNABLE_TO_BE_SET:"Unable to set parent
component",CHILD_INDEX_OUT_OF_BOUNDS:"Child component index out of
bounds",NOT_OUR_CHILD:"Child is not in parent component",NOT_IN_DOCUMENT:"Operation
not supported while component is not in document",STATE_INVALID:"Invalid component
state"};
goog.ui.Component.State={ALL:255,DISABLED:1,HOVER:2,ACTIVE:4,SELECTED:8,CHECKED:16,
FOCUSED:32,OPENED:64};
goog.ui.Component.getStateTransitionEvent=function(a,b){switch(a){case
goog.ui.Component.State.DISABLED:return b?
goog.ui.Component.EventType.DISABLE:goog.ui.Component.EventType.ENABLE;case
goog.ui.Component.State.HOVER:return b?
goog.ui.Component.EventType.HIGHLIGHT:goog.ui.Component.EventType.UNHIGHLIGHT;case
goog.ui.Component.State.ACTIVE:return b?
goog.ui.Component.EventType.ACTIVATE:goog.ui.Component.EventType.DEACTIVATE;case
goog.ui.Component.State.SELECTED:return b?goog.ui.Component.EventType.SELECT:
goog.ui.Component.EventType.UNSELECT;case goog.ui.Component.State.CHECKED:return b?
goog.ui.Component.EventType.CHECK:goog.ui.Component.EventType.UNCHECK;case
goog.ui.Component.State.FOCUSED:return b?
goog.ui.Component.EventType.FOCUS:goog.ui.Component.EventType.BLUR;case
goog.ui.Component.State.OPENED:return b?
goog.ui.Component.EventType.OPEN:goog.ui.Component.EventType.CLOSE}throw
Error(goog.ui.Component.Error.STATE_INVALID);};
goog.ui.Component.setDefaultRightToLeft=function(a)
{goog.ui.Component.defaultRightToLeft_=a};goog.ui.Component.prototype.getId=functio
n(){return this.id_||
(this.id_=this.idGenerator_.getNextUniqueId())};goog.ui.Component.prototype.setId=f
unction(a)
{this.parent_&&this.parent_.childIndex_&&(module$contents$goog$object_remove(this.p
arent_.childIndex_,this.id_),module$contents$goog$object_add(this.parent_.childInde
x_,a,this));this.id_=a};goog.ui.Component.prototype.getElement=function(){return
this.element_};
goog.ui.Component.prototype.getElementStrict=function(){var
a=this.element_;goog.asserts.assert(a,"Can not call getElementStrict before
rendering/decorating.");return
a};goog.ui.Component.prototype.setElementInternal=function(a)
{this.element_=a};goog.ui.Component.prototype.getElementsByClass=function(a){return
this.element_?this.dom_.getElementsByClass(a,this.element_):
[]};goog.ui.Component.prototype.getElementByClass=function(a){return this.element_?
this.dom_.getElementByClass(a,this.element_):null};
goog.ui.Component.prototype.getRequiredElementByClass=function(a){var
b=this.getElementByClass(a);goog.asserts.assert(b,"Expected element in component
with class: %s",a);return b};goog.ui.Component.prototype.getHandler=function(){var
a=this;a.googUiComponentHandler_||(a.googUiComponentHandler_=new
goog.events.EventHandler(a));return
goog.asserts.assert(a.googUiComponentHandler_)};
goog.ui.Component.prototype.setParent=function(a){if(this==a)throw
Error(goog.ui.Component.Error.PARENT_UNABLE_TO_BE_SET);if(a&&this.parent_&&this.id_
&&this.parent_.getChild(this.id_)&&this.parent_!=a)throw
Error(goog.ui.Component.Error.PARENT_UNABLE_TO_BE_SET);this.parent_=a;goog.ui.Compo
nent.superClass_.setParentEventTarget.call(this,a)};goog.ui.Component.prototype.get
Parent=function(){return this.parent_};
goog.ui.Component.prototype.setParentEventTarget=function(a)
{if(this.parent_&&this.parent_!=a)throw
Error(goog.ui.Component.Error.NOT_SUPPORTED);goog.ui.Component.superClass_.setParen
tEventTarget.call(this,a)};goog.ui.Component.prototype.getDomHelper=function()
{return this.dom_};goog.ui.Component.prototype.isInDocument=function(){return
this.inDocument_};goog.ui.Component.prototype.createDom=function()
{this.element_=this.dom_.createElement(goog.dom.TagName.DIV)};
goog.ui.Component.prototype.render=function(a)
{this.render_(a)};goog.ui.Component.prototype.renderBefore=function(a)
{this.render_(a.parentNode,a)};goog.ui.Component.prototype.render_=function(a,b)
{if(this.inDocument_)throw
Error(goog.ui.Component.Error.ALREADY_RENDERED);this.element_||this.createDom();a?
a.insertBefore(this.element_,b||
null):this.dom_.getDocument().body.appendChild(this.element_);this.parent_&&!
this.parent_.isInDocument()||this.enterDocument()};
goog.ui.Component.prototype.decorate=function(a){if(this.inDocument_)throw
Error(goog.ui.Component.Error.ALREADY_RENDERED);if(a&&this.canDecorate(a))
{this.wasDecorated_=!0;var
b=goog.dom.getOwnerDocument(a);this.dom_&&this.dom_.getDocument()==b||
(this.dom_=goog.dom.getDomHelper(a));this.decorateInternal(a);goog.ui.Component.ALL
OW_DETACHED_DECORATION&&!goog.dom.contains(b,a)||this.enterDocument()}else throw
Error(goog.ui.Component.Error.DECORATE_INVALID);};goog.ui.Component.prototype.canDe
corate=function(){return!0};
goog.ui.Component.prototype.decorateInternal=function(a)
{this.element_=a};goog.ui.Component.prototype.enterDocument=function()
{this.inDocument_=!0;this.forEachChild(function(a){!
a.isInDocument()&&a.getElement()&&a.enterDocument()})};goog.ui.Component.prototype.
exitDocument=function(){this.forEachChild(function(a)
{a.isInDocument()&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComp
onentHandler_.removeAll();this.inDocument_=!1};
goog.ui.Component.prototype.disposeInternal=function()
{this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiCo
mponentHandler_.dispose(),delete
this.googUiComponentHandler_);this.forEachChild(function(a){a.dispose()});!
this.wasDecorated_&&this.element_&&goog.dom.removeNode(this.element_);this.parent_=
this.model_=this.element_=this.childIndex_=this.children_=null;goog.ui.Component.su
perClass_.disposeInternal.call(this)};
goog.ui.Component.prototype.makeId=function(a){return this.getId()
+"."+a};goog.ui.Component.prototype.setModel=function(a)
{this.model_=a};goog.ui.Component.prototype.addChild=function(a,b)
{this.addChildAt(a,this.getChildCount(),b)};
goog.ui.Component.prototype.addChildAt=function(a,b,c){goog.asserts.assert(!!
a,"Provided element must not be null.");if(a.inDocument_&&(c||!
this.inDocument_))throw Error(goog.ui.Component.Error.ALREADY_RENDERED);if(0>b||
b>this.getChildCount())throw
Error(goog.ui.Component.Error.CHILD_INDEX_OUT_OF_BOUNDS);this.childIndex_&&this.chi
ldren_||(this.childIndex_={},this.children_=[]);if(a.getParent()==this){var
d=this.childIndex_,e=a.getId();d[e]=a;module$contents$goog$array_remove(this.childr
en_,a)}else module$contents$goog$object_add(this.childIndex_,
a.getId(),a);a.setParent(this);module$contents$goog$array_insertAt(this.children_,a
,b);a.inDocument_&&this.inDocument_&&a.getParent()==this?
(c=this.getContentElement(),d=c.childNodes[b]||null,d!
=a.getElement()&&(a.getElement().parentElement==c&&c.removeChild(a.getElement()),b=
c.childNodes[b]||null,c.insertBefore(a.getElement(),b))):c?(this.element_||
this.createDom(),b=this.getChildAt(b+1),a.render_(this.getContentElement(),b?
b.element_:null)):this.inDocument_&&!
a.inDocument_&&a.element_&&a.element_.parentNode&&
a.element_.parentNode.nodeType==goog.dom.NodeType.ELEMENT&&a.enterDocument()};goog.
ui.Component.prototype.getContentElement=function(){return
this.element_};goog.ui.Component.prototype.isRightToLeft=function()
{null==this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.inDocume
nt_?this.element_:this.dom_.getDocument().body));return this.rightToLeft_};
goog.ui.Component.prototype.setRightToLeft=function(a){if(this.inDocument_)throw
Error(goog.ui.Component.Error.ALREADY_RENDERED);this.rightToLeft_=a};goog.ui.Compon
ent.prototype.hasChildren=function(){return!!this.children_&&0!
=this.children_.length};goog.ui.Component.prototype.getChildCount=function(){return
this.children_?
this.children_.length:0};goog.ui.Component.prototype.getChild=function(a){return
this.childIndex_&&a?module$contents$goog$object_get(this.childIndex_,a)||
null:null};
goog.ui.Component.prototype.getChildAt=function(a){return this.children_?
this.children_[a]||
null:null};goog.ui.Component.prototype.forEachChild=function(a,b)
{this.children_&&this.children_.forEach(a,b)};goog.ui.Component.prototype.indexOfCh
ild=function(a){return this.children_&&a?this.children_.indexOf(a):-1};
goog.ui.Component.prototype.removeChild=function(a,b){if(a){var c="string"===typeof
a?
a:a.getId();a=this.getChild(c);c&&a&&(module$contents$goog$object_remove(this.child
Index_,c),module$contents$goog$array_remove(this.children_,a),b&&(a.exitDocument(),
a.element_&&goog.dom.removeNode(a.element_)),a.setParent(null))}if(!a)throw
Error(goog.ui.Component.Error.NOT_OUR_CHILD);return
a};goog.ui.Component.prototype.removeChildAt=function(a,b){return
this.removeChild(this.getChildAt(a),b)};
goog.ui.Component.prototype.removeChildren=function(a){for(var
b=[];this.hasChildren();)b.push(this.removeChildAt(0,a));return
b};goog.ui.ModalAriaVisibilityHelper=function(a,b){this.element_=a;this.dom_=b};
goog.ui.ModalAriaVisibilityHelper.prototype.setBackgroundVisibility=function(a)
{if(a){this.hiddenElements_||
(this.hiddenElements_=[]);a=this.dom_.getChildren(this.dom_.getDocument().body);for
(var b=0;b<a.length;b++){var c=a[b];c==this.element_||
goog.a11y.aria.getState(c,goog.a11y.aria.State.HIDDEN)||
(goog.a11y.aria.setState(c,goog.a11y.aria.State.HIDDEN,!
0),this.hiddenElements_.push(c))}}else if(this.hiddenElements_)
{for(b=0;b<this.hiddenElements_.length;b+
+)goog.a11y.aria.removeState(this.hiddenElements_[b],
goog.a11y.aria.State.HIDDEN);this.hiddenElements_=null}};goog.ui.PopupBase=function
(a,b){goog.events.EventTarget.call(this);this.handler_=new
goog.events.EventHandler(this);this.setElement(a||
null);b&&this.setType(b)};goog.inherits(goog.ui.PopupBase,goog.events.EventTarget);
goog.ui.PopupBase.Type={TOGGLE_DISPLAY:"toggle_display",MOVE_OFFSCREEN:"move_offscr
een"};goog.ui.PopupBase.prototype.element_=null;goog.ui.PopupBase.prototype.autoHid
e_=!
0;goog.ui.PopupBase.prototype.autoHidePartners_=null;goog.ui.PopupBase.prototype.au
toHideRegion_=null;
goog.ui.PopupBase.prototype.isVisible_=!
1;goog.ui.PopupBase.prototype.shouldHideAsync_=!
1;goog.ui.PopupBase.prototype.lastShowTime_=-
1;goog.ui.PopupBase.prototype.lastHideTime_=-
1;goog.ui.PopupBase.prototype.hideOnEscape_=!
1;goog.ui.PopupBase.prototype.enableCrossIframeDismissal_=!
0;goog.ui.PopupBase.prototype.type_=goog.ui.PopupBase.Type.TOGGLE_DISPLAY;goog.ui.P
opupBase.EventType={BEFORE_SHOW:"beforeshow",SHOW:"show",BEFORE_HIDE:"beforehide",H
IDE:"hide"};goog.ui.PopupBase.DEBOUNCE_DELAY_MS=150;
goog.ui.PopupBase.prototype.getType=function(){return
this.type_};goog.ui.PopupBase.prototype.setType=function(a)
{this.type_=a};goog.ui.PopupBase.prototype.getElement=function(){return
this.element_};goog.ui.PopupBase.prototype.setElement=function(a)
{this.ensureNotVisible_();this.element_=a};goog.ui.PopupBase.prototype.setAutoHide=
function(a)
{this.ensureNotVisible_();this.autoHide_=a};goog.ui.PopupBase.prototype.setEnableCr
ossIframeDismissal=function(a){this.enableCrossIframeDismissal_=a};
goog.ui.PopupBase.prototype.setTransition=function(a,b)
{this.showTransition_=a;this.hideTransition_=b};goog.ui.PopupBase.prototype.getHand
ler=function(){var a=this;return
a.handler_};goog.ui.PopupBase.prototype.ensureNotVisible_=function()
{if(this.isVisible_)throw Error("Can not change this state of the popup while
showing.");};goog.ui.PopupBase.prototype.isVisible=function(){return
this.isVisible_};
goog.ui.PopupBase.prototype.isOrWasRecentlyVisible=function(){return
this.isVisible_||Date.now()-
this.lastHideTime_<goog.ui.PopupBase.DEBOUNCE_DELAY_MS};goog.ui.PopupBase.prototype
.setVisible=function(a)
{this.showTransition_&&this.showTransition_.stop();this.hideTransition_&&this.hideT
ransition_.stop();a?
this.show_():this.hide_()};goog.ui.PopupBase.prototype.reposition=function(){};
goog.ui.PopupBase.prototype.show_=function(){if(!
this.isVisible_&&this.onBeforeShow()){if(!this.element_)throw Error("Caller must
call setElement before trying to show the popup");this.reposition();var
a=goog.dom.getOwnerDocument(this.element_);this.hideOnEscape_&&this.handler_.listen
(a,goog.events.EventType.KEYDOWN,this.onDocumentKeyDown_,!
0);this.autoHide_&&(this.handler_.listen(a,goog.events.EventType.MOUSEDOWN,this.onD
ocumentMouseDown_,!
0),this.handler_.listen(a,goog.events.EventType.BLUR,this.onDocumentBlur_));
this.type_==goog.ui.PopupBase.Type.TOGGLE_DISPLAY?
this.showPopupElement():this.type_==goog.ui.PopupBase.Type.MOVE_OFFSCREEN&&this.rep
osition();this.isVisible_=!0;this.lastShowTime_=Date.now();this.lastHideTime_=-
1;if(this.showTransition_)goog.events.listenOnce(this.showTransition_,goog.fx.Trans
ition.EventType.END,this.onShow,!1,this),this.showTransition_.play();else
this.onShow()}};
goog.ui.PopupBase.prototype.hide_=function(a){if(!this.isVisible_||!
this.onBeforeHide(a))return!
1;this.handler_&&this.handler_.removeAll();this.isVisible_=!
1;this.lastHideTime_=Date.now();this.hideTransition_?
(goog.events.listenOnce(this.hideTransition_,goog.fx.Transition.EventType.END,goog.
partial(this.continueHidingPopup_,a),!
1,this),this.hideTransition_.play()):this.continueHidingPopup_(a);return!0};
goog.ui.PopupBase.prototype.continueHidingPopup_=function(a)
{this.type_==goog.ui.PopupBase.Type.TOGGLE_DISPLAY?this.shouldHideAsync_?
goog.Timer.callOnce(this.hidePopupElement,0,this):this.hidePopupElement():this.type
_==goog.ui.PopupBase.Type.MOVE_OFFSCREEN&&this.moveOffscreen_();this.onHide(a)};goo
g.ui.PopupBase.prototype.showPopupElement=function()
{this.element_.style.visibility="visible";goog.style.setElementShown(this.element_,
!0)};
goog.ui.PopupBase.prototype.hidePopupElement=function()
{this.element_.style.visibility="hidden";goog.style.setElementShown(this.element_,!
1)};goog.ui.PopupBase.prototype.moveOffscreen_=function()
{this.element_.style.top="-
10000px"};goog.ui.PopupBase.prototype.onBeforeShow=function(){return
this.dispatchEvent(goog.ui.PopupBase.EventType.BEFORE_SHOW)};goog.ui.PopupBase.prot
otype.onShow=function(){this.dispatchEvent(goog.ui.PopupBase.EventType.SHOW)};
goog.ui.PopupBase.prototype.onBeforeHide=function(a){return
this.dispatchEvent({type:goog.ui.PopupBase.EventType.BEFORE_HIDE,target:a})};goog.u
i.PopupBase.prototype.onHide=function(a)
{this.dispatchEvent({type:goog.ui.PopupBase.EventType.HIDE,target:a})};goog.ui.Popu
pBase.prototype.onDocumentMouseDown_=function(a)
{a=a.target;goog.dom.contains(this.element_,a)||
this.isOrWithinAutoHidePartner_(a)||!this.isWithinAutoHideRegion_(a)||
this.shouldDebounce_()||this.hide_(a)};
goog.ui.PopupBase.prototype.onDocumentKeyDown_=function(a)
{a.keyCode==goog.events.KeyCodes.ESC&&this.hide_(a.target)&&(a.preventDefault(),a.s
topPropagation())};
goog.ui.PopupBase.prototype.onDocumentBlur_=function(a)
{if(this.enableCrossIframeDismissal_){var
b=goog.dom.getOwnerDocument(this.element_);if("undefined"!=typeof
document.activeElement){if(a=b.activeElement,!a||
goog.dom.contains(this.element_,a)||a.tagName==goog.dom.TagName.BODY||
this.isOrWithinAutoHidePartner_(a))return}else if(a.target!
=b)return;this.shouldDebounce_()||this.hide_()}};
goog.ui.PopupBase.prototype.isOrWithinAutoHidePartner_=function(a){return
module$contents$goog$array_some(this.autoHidePartners_||[],function(b){return
a===b||
goog.dom.contains(b,a)})};goog.ui.PopupBase.prototype.isWithinAutoHideRegion_=funct
ion(a){return this.autoHideRegion_?goog.dom.contains(this.autoHideRegion_,a):!
0};goog.ui.PopupBase.prototype.shouldDebounce_=function(){return Date.now()-
this.lastShowTime_<goog.ui.PopupBase.DEBOUNCE_DELAY_MS};
goog.ui.PopupBase.prototype.disposeInternal=function()
{goog.ui.PopupBase.superClass_.disposeInternal.call(this);this.handler_.dispose();m
odule$contents$goog$dispose_dispose(this.showTransition_);module$contents$goog$disp
ose_dispose(this.hideTransition_);delete this.element_;delete this.handler_;delete
this.autoHidePartners_};goog.ui.ModalPopup=function(a,b)
{goog.ui.Component.call(this,b);this.useIframeMask_=!!
a;this.lastFocus_=null;this.resizeBackgroundTask_=goog.dom.animationFrame.createTas
k({mutate:this.resizeBackground_},this);this.updateModalAndBackgroundTask_=goog.dom
.animationFrame.createTask({mutate:this.updateModalAndBackground_},this)};goog.inhe
rits(goog.ui.ModalPopup,goog.ui.Component);goog.ui.ModalPopup.prototype.focusHandle
r_=null;goog.ui.ModalPopup.prototype.visible_=!1;
goog.ui.ModalPopup.prototype.bgEl_=null;goog.ui.ModalPopup.prototype.bgIframeEl_=nu
ll;goog.ui.ModalPopup.prototype.tabCatcherElement_=null;goog.ui.ModalPopup.prototyp
e.backwardTabWrapInProgress_=!1;goog.ui.ModalPopup.prototype.centerInsideParent_=!
1;goog.ui.ModalPopup.prototype.parentElementResizeObserver_=null;goog.ui.ModalPopup
.prototype.getCssClass=function(){return"goog-
modalpopup"};goog.ui.ModalPopup.prototype.getBackgroundElement=function(){return
this.bgEl_};
goog.ui.ModalPopup.prototype.createDom=function()
{goog.ui.ModalPopup.superClass_.createDom.call(this);var
a=this.getElement();goog.asserts.assert(a);var
b=goog.string.trim(this.getCssClass()).split("
");goog.dom.classlist.addAll(a,b);goog.dom.setFocusableTabIndex(a,!
0);goog.style.setElementShown(a,!
1);this.manageBackgroundDom_();this.createTabCatcher_()};
goog.ui.ModalPopup.prototype.manageBackgroundDom_=function(){this.useIframeMask_&&!
this.bgIframeEl_&&(this.bgIframeEl_=goog.dom.iframe.createBlank(this.getDomHelper()
),this.bgIframeEl_.className=this.getCssClass()+"-
bg",goog.style.setElementShown(this.bgIframeEl_,!
1),goog.style.setOpacity(this.bgIframeEl_,0));this.bgEl_||
(this.bgEl_=this.getDomHelper().createDom(goog.dom.TagName.DIV,this.getCssClass()
+"-bg"),goog.style.setElementShown(this.bgEl_,!1))};
goog.ui.ModalPopup.prototype.createTabCatcher_=function(){this.tabCatcherElement_||
(this.tabCatcherElement_=this.getDomHelper().createElement(goog.dom.TagName.SPAN),g
oog.style.setElementShown(this.tabCatcherElement_,!
1),goog.dom.setFocusableTabIndex(this.tabCatcherElement_,!
0),this.tabCatcherElement_.style.position="absolute")};
goog.ui.ModalPopup.prototype.setupBackwardTabWrap=function()
{this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(a)
{}goog.Timer.callOnce(this.resetBackwardTabWrap_,0,this)};goog.ui.ModalPopup.protot
ype.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
goog.ui.ModalPopup.prototype.renderBackground_=function(){goog.asserts.assert(!!
this.bgEl_,"Background element must not be
null.");this.bgIframeEl_&&goog.dom.insertSiblingBefore(this.bgIframeEl_,this.getEle
ment());goog.dom.insertSiblingBefore(this.bgEl_,this.getElement())};goog.ui.ModalPo
pup.prototype.canDecorate=function(a){return!!a&&a.tagName==goog.dom.TagName.DIV};
goog.ui.ModalPopup.prototype.decorateInternal=function(a)
{goog.ui.ModalPopup.superClass_.decorateInternal.call(this,a);a=goog.string.trim(th
is.getCssClass()).split("
");goog.dom.classlist.addAll(goog.asserts.assert(this.getElement()),a);this.manageB
ackgroundDom_();this.createTabCatcher_();goog.dom.setFocusableTabIndex(this.getElem
ent(),!0);goog.style.setElementShown(this.getElement(),!1)};
goog.ui.ModalPopup.prototype.enterDocument=function()
{this.renderBackground_();goog.ui.ModalPopup.superClass_.enterDocument.call(this);g
oog.dom.insertSiblingAfter(this.tabCatcherElement_,this.getElement());this.focusHan
dler_=new
goog.events.FocusHandler(this.getDomHelper().getDocument());this.getHandler().liste
n(this.focusHandler_,goog.events.FocusHandler.EventType.FOCUSIN,this.onFocus);this.
setA11YDetectBackground(!1)};
goog.ui.ModalPopup.prototype.exitDocument=function()
{this.isVisible()&&this.setVisible(!
1);module$contents$goog$dispose_dispose(this.focusHandler_);goog.ui.ModalPopup.supe
rClass_.exitDocument.call(this);goog.dom.removeNode(this.bgIframeEl_);goog.dom.remo
veNode(this.bgEl_);goog.dom.removeNode(this.tabCatcherElement_);this.parentElementR
esizeObserver_&&this.parentElementResizeObserver_.disconnect()};
goog.ui.ModalPopup.prototype.setVisible=function(a)
{goog.asserts.assert(this.isInDocument(),"ModalPopup must be rendered first.");a!
=this.visible_&&(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.b
gShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.pop
upHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this
.isInDocument()&&this.setA11YDetectBackground(a),a?this.show_():this.hide_())};
goog.ui.ModalPopup.prototype.setA11YDetectBackground=function(a)
{this.modalAriaVisibilityHelper_||(this.modalAriaVisibilityHelper_=new
goog.ui.ModalAriaVisibilityHelper(this.getElementStrict(),this.dom_));this.modalAri
aVisibilityHelper_.setBackgroundVisibility(a)};goog.ui.ModalPopup.prototype.setTran
sition=function(a,b,c,d)
{this.popupShowTransition_=a;this.popupHideTransition_=b;this.bgShowTransition_=c;t
his.bgHideTransition_=d};
goog.ui.ModalPopup.prototype.show_=function(){var
a=this;if(this.dispatchEvent(goog.ui.PopupBase.EventType.BEFORE_SHOW))
{try{this.lastFocus_=this.getDomHelper().getDocument().activeElement}catch(b)
{}this.updateModalAndBackground_();this.centerInsideParent_&&void 0!
==window.ResizeObserver?(this.parentElementResizeObserver_=new
ResizeObserver(function()
{a.isVisible()&&a.updateModalAndBackground_()}),this.parentElementResizeObserver_.o
bserve(goog.asserts.assert(this.getElement().parentElement)),this.getHandler().list
en(this.getDomHelper().getWindow(),
goog.events.EventType.ORIENTATIONCHANGE,this.updateModalAndBackgroundTask_)):this.g
etHandler().listen(this.getDomHelper().getWindow(),goog.events.EventType.RESIZE,thi
s.resizeBackground_).listen(this.getDomHelper().getWindow(),goog.events.EventType.O
RIENTATIONCHANGE,this.resizeBackgroundTask_);this.showPopupElement_(!
0);this.focus();this.visible_=!
0;if(this.popupShowTransition_&&this.bgShowTransition_)goog.events.listenOnce(this.
popupShowTransition_,goog.fx.Transition.EventType.END,this.onShow,!1,
this),this.bgShowTransition_.play(),this.popupShowTransition_.play();else
this.onShow()}};goog.ui.ModalPopup.prototype.updateModalAndBackground_=function()
{this.resizeBackground_();this.reposition()};
goog.ui.ModalPopup.prototype.hide_=function()
{if(this.dispatchEvent(goog.ui.PopupBase.EventType.BEFORE_HIDE))
{this.getHandler().unlisten(this.getDomHelper().getWindow(),goog.events.EventType.R
ESIZE,this.resizeBackground_).unlisten(this.getDomHelper().getWindow(),goog.events.
EventType.ORIENTATIONCHANGE,this.resizeBackgroundTask_);this.visible_=!
1;if(this.popupHideTransition_&&this.bgHideTransition_)goog.events.listenOnce(this.
popupHideTransition_,goog.fx.Transition.EventType.END,this.onHide,!1,this),
this.bgHideTransition_.play(),this.popupHideTransition_.play();else
this.onHide();this.returnFocus_()}};goog.ui.ModalPopup.prototype.returnFocus_=funct
ion(){try{var
a=this.getDomHelper(),b=a.getDocument().body,c=a.getDocument().activeElement||
b;if(!this.lastFocus_||this.lastFocus_==b){this.lastFocus_=null;return}(c==b||
a.contains(this.getElement(),c))&&this.lastFocus_.focus()}catch(d)
{}this.lastFocus_=null};
goog.ui.ModalPopup.prototype.showPopupElement_=function(a)
{this.bgIframeEl_&&goog.style.setElementShown(this.bgIframeEl_,a);this.bgEl_&&goog.
style.setElementShown(this.bgEl_,a);goog.style.setElementShown(this.getElement(),a)
;goog.style.setElementShown(this.tabCatcherElement_,a)};goog.ui.ModalPopup.prototyp
e.onShow=function()
{this.dispatchEvent(goog.ui.PopupBase.EventType.SHOW)};goog.ui.ModalPopup.prototype
.onHide=function(){this.showPopupElement_(!
1);this.dispatchEvent(goog.ui.PopupBase.EventType.HIDE)};
goog.ui.ModalPopup.prototype.isVisible=function(){return
this.visible_};goog.ui.ModalPopup.prototype.focus=function(){this.focusElement_()};
goog.ui.ModalPopup.prototype.resizeBackground_=function()
{this.bgIframeEl_&&goog.style.setElementShown(this.bgIframeEl_,!
1);this.bgEl_&&goog.style.setElementShown(this.bgEl_,!
1);if(this.centerInsideParent_){var a=this.getElement().parentElement;var
b=a.clientWidth;a=a.clientHeight}else{a=this.getDomHelper().getDocument();var
c=this.getDocumentViewportSize_();b=Math.max(c.width,Math.max(a.body.scrollWidth,a.
documentElement.scrollWidth));a=Math.max(c.height,Math.max(a.body.scrollHeight,a.do
cumentElement.scrollHeight))}this.bgIframeEl_&&
(goog.style.setElementShown(this.bgIframeEl_,!
0),goog.style.setSize(this.bgIframeEl_,b,a));this.bgEl_&&(goog.style.setElementShow
n(this.bgEl_,!0),goog.style.setSize(this.bgEl_,b,a))};
goog.ui.ModalPopup.prototype.reposition=function()
{if("fixed"==goog.style.getComputedPosition(this.getElement()))var a=0,b=0;else
b=this.getDomHelper().getDocumentScroll(),a=b.x,b=b.y;var
c=goog.style.getSize(this.getElement());if(this.centerInsideParent_){var
d=this.getElement().parentElement;d=new
goog.math.Size(d.clientWidth,d.clientHeight)}else
d=this.getDocumentViewportSize_();a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+
d.height/2-c.height/2,0);goog.style.setPosition(this.getElement(),a,
b);goog.style.setPosition(this.tabCatcherElement_,a,b)};goog.ui.ModalPopup.prototyp
e.onFocus=function(a){this.backwardTabWrapInProgress_?
this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&goog.Timer.callOnce
(this.focusElement_,0,this)};goog.ui.ModalPopup.prototype.focusElement_=function()
{try{this.getElement().focus()}catch(a)
{}};goog.ui.ModalPopup.prototype.getDocumentViewportSize_=function(){var
a=this.getDomHelper().getDocument();a=goog.dom.getWindow(a)||window;return
goog.dom.getViewportSize(a)};
goog.ui.ModalPopup.prototype.disposeInternal=function()
{module$contents$goog$dispose_dispose(this.popupShowTransition_);this.popupShowTran
sition_=null;module$contents$goog$dispose_dispose(this.popupHideTransition_);this.p
opupHideTransition_=null;module$contents$goog$dispose_dispose(this.bgShowTransition
_);this.bgShowTransition_=null;module$contents$goog$dispose_dispose(this.bgHideTran
sition_);this.bgHideTransition_=null;goog.ui.ModalPopup.superClass_.disposeInternal
.call(this)};goog.ui.Dialog=function(a,b,c)
{goog.ui.ModalPopup.call(this,b,c);this.class_=a||"modal-
dialog";this.buttons_=goog.ui.Dialog.ButtonSet.createOkCancel()};goog.inherits(goog
.ui.Dialog,goog.ui.ModalPopup);goog.ui.Dialog.prototype.escapeToCancel_=!
0;goog.ui.Dialog.prototype.hasTitleCloseButton_=!
0;goog.ui.Dialog.prototype.modal_=!0;goog.ui.Dialog.prototype.draggable_=!
0;goog.ui.Dialog.prototype.trackSurroundingSpace_=!
1;goog.ui.Dialog.prototype.backgroundElementOpacity_=.5;
goog.ui.Dialog.prototype.title_="";goog.ui.Dialog.prototype.content_=null;goog.ui.D
ialog.prototype.dragger_=null;goog.ui.Dialog.prototype.disposeOnHide_=!
1;goog.ui.Dialog.prototype.titleEl_=null;goog.ui.Dialog.prototype.titleTextEl_=null
;goog.ui.Dialog.prototype.titleTextId_=null;goog.ui.Dialog.prototype.titleCloseEl_=
null;goog.ui.Dialog.prototype.contentEl_=null;goog.ui.Dialog.prototype.buttonEl_=nu
ll;goog.ui.Dialog.prototype.preferredAriaRole_=goog.a11y.aria.Role.DIALOG;
goog.ui.Dialog.prototype.isAriaDescribedByContent_=!
1;goog.ui.Dialog.prototype.getCssClass=function(){return
this.class_};goog.ui.Dialog.prototype.setTitle=function(a)
{this.title_=a;this.titleTextEl_&&goog.dom.setTextContent(this.titleTextEl_,a)};goo
g.ui.Dialog.prototype.getTitle=function(){return
this.title_};goog.ui.Dialog.prototype.setTextContent=function(a)
{this.setSafeHtmlContent(module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePres
ervingNewlines(a))};
goog.ui.Dialog.prototype.setSafeHtmlContent=function(a)
{this.content_=a;this.contentEl_&&goog.dom.safe.setInnerHtml(this.contentEl_,a)};go
og.ui.Dialog.prototype.getContent=function(){return null!=this.content_?
module$contents$goog$html$SafeHtml_SafeHtml.unwrap(this.content_):""};goog.ui.Dialo
g.prototype.getPreferredAriaRole=function(){return
this.preferredAriaRole_};goog.ui.Dialog.prototype.setPreferredAriaRole=function(a)
{this.preferredAriaRole_=a};
goog.ui.Dialog.prototype.renderIfNoDom_=function(){this.getElement()||
this.render()};goog.ui.Dialog.prototype.getContentElement=function()
{this.renderIfNoDom_();return
this.contentEl_};goog.ui.Dialog.prototype.getTitleCloseElement=function()
{this.renderIfNoDom_();return
this.titleCloseEl_};goog.ui.Dialog.prototype.getButtonElement=function()
{this.renderIfNoDom_();return
this.buttonEl_};goog.ui.Dialog.prototype.getDialogElement=function()
{this.renderIfNoDom_();return this.getElement()};
goog.ui.Dialog.prototype.getBackgroundElement=function()
{this.renderIfNoDom_();return
goog.ui.Dialog.superClass_.getBackgroundElement.call(this)};goog.ui.Dialog.prototyp
e.setBackgroundElementOpacity=function(a)
{this.backgroundElementOpacity_=a;this.getElement()&&(a=this.getBackgroundElement()
)&&goog.style.setOpacity(a,this.backgroundElementOpacity_)};
goog.ui.Dialog.prototype.setModalInternal_=function(a)
{this.modal_=a;if(this.isInDocument()){var
b=this.getDomHelper(),c=this.getBackgroundElement(),d=this.bgIframeEl_;a?
(d&&b.insertSiblingBefore(d,this.getElement()),b.insertSiblingBefore(c,this.getElem
ent())):
(b.removeNode(d),b.removeNode(c))}this.isVisible()&&this.setA11YDetectBackground(a)
};goog.ui.Dialog.prototype.setDraggable=function(a)
{this.draggable_=a;this.setDraggingEnabled_(a&&this.isInDocument())};goog.ui.Dialog
.prototype.handleDrag=function(){this.maybeUpdateSurroundingSpace_()};
goog.ui.Dialog.prototype.maybeUpdateSurroundingSpace_=function()
{if(this.trackSurroundingSpace_&&(this.getDomHelper(),this.getElement())){var
a=this.getElementStrict();goog.style.getSize(a);"fixed"!
=goog.style.getComputedPosition(a)&&this.getDomHelper()}};goog.ui.Dialog.prototype.
createDragger=function(){return new
goog.fx.Dragger(this.getElement(),this.titleEl_)};
goog.ui.Dialog.prototype.setDraggingEnabled_=function(a){var
b=goog.string.trim(this.class_+"-title-draggable").split("
");this.getElement()&&(a?
goog.dom.classlist.addAll(goog.asserts.assert(this.titleEl_),b):goog.dom.classlist.
removeAll(goog.asserts.assert(this.titleEl_),b));a&&!this.dragger_?
(this.dragger_=this.createDragger(),goog.dom.classlist.addAll(goog.asserts.assert(t
his.titleEl_),b),goog.events.listen(this.dragger_,goog.fx.Dragger.EventType.START,t
his.setDraggerLimits_,!1,this),goog.events.listen(this.dragger_,
goog.fx.Dragger.EventType.DRAG,this.handleDrag,!1,this)):!
a&&this.dragger_&&(this.dragger_.dispose(),this.dragger_=null)};
goog.ui.Dialog.prototype.createDom=function()
{goog.ui.Dialog.superClass_.createDom.call(this);var
a=this.getElement();goog.asserts.assert(a,"getElement() returns null");var
b=this.getDomHelper();this.titleTextId_=this.getId();var
c=this.makeId("contentEl");this.titleEl_=b.createDom(goog.dom.TagName.DIV,this.clas
s_+"-title",this.titleTextEl_=b.createDom(goog.dom.TagName.SPAN,
{className:this.class_+"-title-
text",id:this.titleTextId_},this.title_),this.titleCloseEl_=b.createDom(goog.dom.Ta
gName.SPAN,
this.class_+"-title-
close"));goog.dom.append(a,this.titleEl_,this.contentEl_=b.createDom(goog.dom.TagNa
me.DIV,{className:this.class_+"-
content",id:c}),this.buttonEl_=b.createDom(goog.dom.TagName.DIV,this.class_+"-
buttons"));goog.a11y.aria.setRole(this.titleTextEl_,goog.a11y.aria.Role.HEADING);go
og.a11y.aria.setRole(this.titleCloseEl_,goog.a11y.aria.Role.BUTTON);goog.dom.setFoc
usableTabIndex(this.titleCloseEl_,!
0);goog.a11y.aria.setLabel(this.titleCloseEl_,goog.ui.Dialog.MSG_GOOG_UI_DIALOG_CLO
SE_);
goog.a11y.aria.setRole(a,this.getPreferredAriaRole());goog.a11y.aria.setState(a,goo
g.a11y.aria.State.LABELLEDBY,this.titleTextId_||"");this.content_&&(goog.dom.safe.s
etInnerHtml(this.contentEl_,this.content_),this.isAriaDescribedByContent_&&c&&goog.
a11y.aria.setState(a,goog.a11y.aria.State.DESCRIBEDBY,c));goog.style.setElementShow
n(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&this.buttons_.attach
ToElement(this.buttonEl_);goog.style.setElementShown(this.buttonEl_,!!
this.buttons_);this.setBackgroundElementOpacity(this.backgroundElementOpacity_)};
goog.ui.Dialog.prototype.decorateInternal=function(a)
{goog.ui.Dialog.superClass_.decorateInternal.call(this,a);a=this.getElement();goog.
asserts.assert(a,"The DOM element for dialog cannot be null.");var b=this.class_+"-
content";this.contentEl_=goog.dom.getElementsByTagNameAndClass(null,b,a)
[0];this.contentEl_||
(this.contentEl_=this.getDomHelper().createDom(goog.dom.TagName.DIV,b),this.content
_&&goog.dom.safe.setInnerHtml(this.contentEl_,this.content_),a.appendChild(this.con
tentEl_));b=this.class_+
"-title";var c=this.class_+"-title-text",d=this.class_+"-title-close";
(this.titleEl_=goog.dom.getElementsByTagNameAndClass(null,b,a)[0])?
(this.titleTextEl_=goog.dom.getElementsByTagNameAndClass(null,c,this.titleEl_)
[0],this.titleCloseEl_=goog.dom.getElementsByTagNameAndClass(null,d,this.titleEl_)
[0]):
(this.titleEl_=this.getDomHelper().createDom(goog.dom.TagName.DIV,b),a.insertBefore
(this.titleEl_,this.contentEl_));this.titleTextEl_?
(this.title_=goog.dom.getTextContent(this.titleTextEl_),this.titleTextEl_.id||
(this.titleTextEl_.id=this.getId())):
(this.titleTextEl_=goog.dom.createDom(goog.dom.TagName.SPAN,
{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.t
itleTextId_=this.titleTextEl_.id;goog.a11y.aria.setState(a,goog.a11y.aria.State.LAB
ELLEDBY,this.titleTextId_||"");this.titleCloseEl_||
(this.titleCloseEl_=this.getDomHelper().createDom(goog.dom.TagName.SPAN,d),this.tit
leEl_.appendChild(this.titleCloseEl_));goog.style.setElementShown(this.titleCloseEl
_,this.hasTitleCloseButton_);
b=this.class_+"-buttons";
(this.buttonEl_=goog.dom.getElementsByTagNameAndClass(null,b,a)[0])?
(this.buttons_=new
goog.ui.Dialog.ButtonSet(this.getDomHelper()),this.buttons_.decorate(this.buttonEl_
)):
(this.buttonEl_=this.getDomHelper().createDom(goog.dom.TagName.DIV,b),a.appendChild
(this.buttonEl_),this.buttons_&&this.buttons_.attachToElement(this.buttonEl_),goog.
style.setElementShown(this.buttonEl_,!!
this.buttons_));this.setBackgroundElementOpacity(this.backgroundElementOpacity_)};
goog.ui.Dialog.prototype.enterDocument=function()
{goog.ui.Dialog.superClass_.enterDocument.call(this);this.getHandler().listen(this.
getElement(),goog.events.EventType.KEYDOWN,this.onKey_).listen(this.getElement(),go
og.events.EventType.KEYPRESS,this.onKey_);this.getHandler().listen(this.buttonEl_,g
oog.events.EventType.CLICK,this.onButtonClick_);this.setDraggingEnabled_(this.dragg
able_);this.getHandler().listen(this.titleCloseEl_,goog.events.EventType.CLICK,this
.onTitleCloseClick_);var a=this.getElement();
goog.asserts.assert(a,"The DOM element for dialog cannot be
null");goog.a11y.aria.setRole(a,this.getPreferredAriaRole());""!
==this.titleTextEl_.id&&goog.a11y.aria.setState(a,goog.a11y.aria.State.LABELLEDBY,t
his.titleTextEl_.id);this.modal_||this.setModalInternal_(!
1)};goog.ui.Dialog.prototype.exitDocument=function()
{this.isVisible()&&this.setVisible(!1);this.setDraggingEnabled_(!
1);goog.ui.Dialog.superClass_.exitDocument.call(this)};
goog.ui.Dialog.prototype.setVisible=function(a){a!
=this.isVisible()&&(this.isInDocument()||
this.render(),goog.ui.Dialog.superClass_.setVisible.call(this,a))};goog.ui.Dialog.p
rototype.onShow=function()
{goog.ui.Dialog.superClass_.onShow.call(this);this.maybeUpdateSurroundingSpace_();t
his.dispatchEvent(goog.ui.Dialog.EventType.AFTER_SHOW)};
goog.ui.Dialog.prototype.onHide=function()
{goog.ui.Dialog.superClass_.onHide.call(this);this.dispatchEvent(goog.ui.Dialog.Eve
ntType.AFTER_HIDE);this.disposeOnHide_&&this.dispose()};
goog.ui.Dialog.prototype.setDraggerLimits_=function(){var
a=this.getDomHelper().getDocument(),b=goog.dom.getWindow(a)||
window;b=goog.dom.getViewportSize(b);var
c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var
d=goog.style.getSize(this.getElement());"fixed"==goog.style.getComputedPosition(thi
s.getElement())?this.dragger_.setLimits(new goog.math.Rect(0,0,Math.max(0,b.width-
d.width),Math.max(0,b.height-d.height))):this.dragger_.setLimits(new
goog.math.Rect(0,0,c-d.width,
a-d.height))};goog.ui.Dialog.prototype.onTitleCloseClick_=function()
{this.handleTitleClose_()};goog.ui.Dialog.prototype.handleTitleClose_=function()
{if(this.hasTitleCloseButton_){var a=this.buttons_,b=a&&a.cancelButton_;b?
(a=a.get(b),this.dispatchEvent(new goog.ui.Dialog.Event(b,a))&&this.setVisible(!
1)):this.setVisible(!
1)}};goog.ui.Dialog.prototype.setHasTitleCloseButton=function(a)
{this.hasTitleCloseButton_=a;this.titleCloseEl_&&goog.style.setElementShown(this.ti
tleCloseEl_,this.hasTitleCloseButton_)};
goog.ui.Dialog.prototype.setDisposeOnHide=function(a)
{this.disposeOnHide_=a};goog.ui.Dialog.prototype.disposeInternal=function()
{this.buttonEl_=this.titleCloseEl_=null;goog.ui.Dialog.superClass_.disposeInternal.
call(this)};
goog.ui.Dialog.prototype.setButtonSet=function(a)
{this.buttons_=a;this.buttonEl_&&(this.buttons_?
this.buttons_.attachToElement(this.buttonEl_):goog.dom.safe.setInnerHtml(this.butto
nEl_,module$contents$goog$html$SafeHtml_SafeHtml.EMPTY),goog.style.setElementShown(
this.buttonEl_,!!
this.buttons_))};goog.ui.Dialog.prototype.onButtonClick_=function(a)
{if((a=this.findParentButton_(a.target))&&!a.disabled){a=a.name;var
b=this.buttons_.get(a);this.dispatchEvent(new
goog.ui.Dialog.Event(a,b))&&this.setVisible(!1)}};
goog.ui.Dialog.prototype.findParentButton_=function(a){for(;null!=a&&a!
=this.buttonEl_;){if(a.tagName==goog.dom.TagName.BUTTON)return
a;a=a.parentNode}return null};
goog.ui.Dialog.prototype.onKey_=function(a){var b=!1,c=!
1,d=this.buttons_,e=a.target;if(a.type==goog.events.EventType.KEYDOWN)if(this.escap
eToCancel_&&a.keyCode==goog.events.KeyCodes.ESC){var
f=d&&d.cancelButton_;e=e.tagName==goog.dom.TagName.SELECT&&!e.disabled;f&&!e?(c=!
0,b=d.get(f),b=this.dispatchEvent(new goog.ui.Dialog.Event(f,b))):e||(b=!0)}else
a.keyCode==goog.events.KeyCodes.TAB&&a.shiftKey&&e==this.getElement()&&this.setupBa
ckwardTabWrap();else if(a.keyCode==goog.events.KeyCodes.ENTER){if(e.tagName==
goog.dom.TagName.BUTTON&&!e.disabled)f=e.name;else
if(e==this.titleCloseEl_)this.handleTitleClose_();else if(d){var
g=d.defaultButton_,h=g&&d.getButton(g);e=(e.tagName==goog.dom.TagName.TEXTAREA||
e.tagName==goog.dom.TagName.SELECT||e.tagName==goog.dom.TagName.A)&&!e.disabled;!
h||h.disabled||e||(f=g)}f&&d&&(c=!0,b=this.dispatchEvent(new
goog.ui.Dialog.Event(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!
=goog.events.KeyCodes.SPACE&&a.key!=goog.events.Keys.SPACE||
this.handleTitleClose_();
if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!
1)};goog.ui.Dialog.Event=function(a,b)
{this.type=goog.ui.Dialog.EventType.SELECT;this.key=a;this.caption=b};goog.inherits
(goog.ui.Dialog.Event,goog.events.Event);goog.ui.Dialog.SELECT_EVENT="dialogselect"
;goog.ui.Dialog.EventType={SELECT:"dialogselect",AFTER_HIDE:"afterhide",AFTER_SHOW:
"aftershow"};
goog.ui.Dialog.ButtonSet=function(a)
{module$contents$goog$ui$Map_UiMap.call(this);this.dom_=a||
goog.dom.getDomHelper();this.class_="goog-
buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};goog.inherits
(goog.ui.Dialog.ButtonSet,module$contents$goog$ui$Map_UiMap);goog.ui.Dialog.ButtonS
et.prototype.clear=function()
{module$contents$goog$ui$Map_UiMap.prototype.clear.call(this);this.defaultButton_=t
his.cancelButton_=null};
goog.ui.Dialog.ButtonSet.prototype.set=function(a,b,c,d)
{module$contents$goog$ui$Map_UiMap.prototype.set.call(this,a,b);c&&(this.defaultBut
ton_=a);d&&(this.cancelButton_=a);return
this};goog.ui.Dialog.ButtonSet.prototype.addButton=function(a,b,c){return
this.set(a.key,a.caption,b,c)};goog.ui.Dialog.ButtonSet.prototype.attachToElement=f
unction(a){this.element_=a;this.render()};
goog.ui.Dialog.ButtonSet.prototype.render=function(){if(this.element_)
{goog.dom.safe.setInnerHtml(this.element_,module$contents$goog$html$SafeHtml_SafeHt
ml.EMPTY);var a=goog.dom.getDomHelper(this.element_);this.forEach(function(b,c)
{b=a.createDom(goog.dom.TagName.BUTTON,
{name:c},b);c==this.defaultButton_&&(b.className=this.class_+"-
default");this.element_.appendChild(b)},this)}};
goog.ui.Dialog.ButtonSet.prototype.decorate=function(a)
{if(a&&a.nodeType==goog.dom.NodeType.ELEMENT)
{this.element_=a;a=goog.dom.getElementsByTagName(goog.dom.TagName.BUTTON,this.eleme
nt_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=goog.dom.getTextContent(c)||
c.value,d){var
f=0==b,g=c.name==goog.ui.Dialog.DefaultButtonKeys.CANCEL;this.set(d,e,f,g);f&&goog.
dom.classlist.add(c,this.class_+"-
default")}}};goog.ui.Dialog.ButtonSet.prototype.getElement=function(){return
this.element_};
goog.ui.Dialog.ButtonSet.prototype.getDomHelper=function(){return
this.dom_};goog.ui.Dialog.ButtonSet.prototype.getButton=function(a){for(var
b=this.getAllButtons(),c=0,d;d=b[c];c++)if(d.name==a||d.id==a)return d;return
null};goog.ui.Dialog.ButtonSet.prototype.getAllButtons=function(){return
goog.dom.getElementsByTagName(goog.dom.TagName.BUTTON,goog.asserts.assert(this.elem
ent_))};
goog.ui.Dialog.ButtonSet.prototype.setAllButtonsEnabled=function(a){for(var
b=this.getAllButtons(),c=0,d;d=b[c];c++)d.disabled=!
a};goog.ui.Dialog.DefaultButtonKeys={OK:"ok",CANCEL:"cancel",YES:"yes",NO:"no",SAVE
:"save",CONTINUE:"continue"};goog.ui.Dialog.MSG_DIALOG_OK_="OK";goog.ui.Dialog.MSG_
DIALOG_CANCEL_="Annuler";goog.ui.Dialog.MSG_DIALOG_YES_="Oui";goog.ui.Dialog.MSG_DI
ALOG_NO_="Non";goog.ui.Dialog.MSG_DIALOG_SAVE_="Enregistrer";goog.ui.Dialog.MSG_DIA
LOG_CONTINUE_="Continuer";
goog.ui.Dialog.MSG_GOOG_UI_DIALOG_CLOSE_="Fermer";goog.ui.Dialog.DefaultButtonCapti
ons={OK:goog.ui.Dialog.MSG_DIALOG_OK_,CANCEL:goog.ui.Dialog.MSG_DIALOG_CANCEL_,YES:
goog.ui.Dialog.MSG_DIALOG_YES_,NO:goog.ui.Dialog.MSG_DIALOG_NO_,SAVE:goog.ui.Dialog
.MSG_DIALOG_SAVE_,CONTINUE:goog.ui.Dialog.MSG_DIALOG_CONTINUE_};
goog.ui.Dialog.ButtonSet.DefaultButtons={OK:
{key:goog.ui.Dialog.DefaultButtonKeys.OK,caption:goog.ui.Dialog.DefaultButtonCaptio
ns.OK},CANCEL:
{key:goog.ui.Dialog.DefaultButtonKeys.CANCEL,caption:goog.ui.Dialog.DefaultButtonCa
ptions.CANCEL},YES:
{key:goog.ui.Dialog.DefaultButtonKeys.YES,caption:goog.ui.Dialog.DefaultButtonCapti
ons.YES},NO:
{key:goog.ui.Dialog.DefaultButtonKeys.NO,caption:goog.ui.Dialog.DefaultButtonCaptio
ns.NO},SAVE:
{key:goog.ui.Dialog.DefaultButtonKeys.SAVE,caption:goog.ui.Dialog.DefaultButtonCapt
ions.SAVE},
CONTINUE:
{key:goog.ui.Dialog.DefaultButtonKeys.CONTINUE,caption:goog.ui.Dialog.DefaultButton
Captions.CONTINUE}};goog.ui.Dialog.ButtonSet.createOk=function(){return(new
goog.ui.Dialog.ButtonSet).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.OK,!0,!
0)};goog.ui.Dialog.ButtonSet.createOkCancel=function(){return(new
goog.ui.Dialog.ButtonSet).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.OK,!
0).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.CANCEL,!1,!0)};
goog.ui.Dialog.ButtonSet.createYesNo=function(){return(new
goog.ui.Dialog.ButtonSet).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.YES,!
0).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.NO,!1,!
0)};goog.ui.Dialog.ButtonSet.createYesNoCancel=function(){return(new
goog.ui.Dialog.ButtonSet).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.YES).ad
dButton(goog.ui.Dialog.ButtonSet.DefaultButtons.NO,!
0).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.CANCEL,!1,!0)};
goog.ui.Dialog.ButtonSet.createContinueSaveCancel=function(){return(new
goog.ui.Dialog.ButtonSet).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.CONTINU
E).addButton(goog.ui.Dialog.ButtonSet.DefaultButtons.SAVE).addButton(goog.ui.Dialog
.ButtonSet.DefaultButtons.CANCEL,!0,!0)};
"undefined"!=typeof
document&&(goog.ui.Dialog.ButtonSet.OK=goog.ui.Dialog.ButtonSet.createOk(),goog.ui.
Dialog.ButtonSet.OK_CANCEL=goog.ui.Dialog.ButtonSet.createOkCancel(),goog.ui.Dialog
.ButtonSet.YES_NO=goog.ui.Dialog.ButtonSet.createYesNo(),goog.ui.Dialog.ButtonSet.Y
ES_NO_CANCEL=goog.ui.Dialog.ButtonSet.createYesNoCancel(),goog.ui.Dialog.ButtonSet.
CONTINUE_SAVE_CANCEL=goog.ui.Dialog.ButtonSet.createContinueSaveCancel());goog.colo
r={};
goog.color.names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamar
ine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blan
chedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:
"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f
50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",da
rkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",dark
green:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2
f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a"
,darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategr
ey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepsk
yblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:
"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"
#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#0080
00",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",india
nred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",
lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8
e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgr
ay:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalm
on:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslateg
rey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegre
en:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#
66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumse
agreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquo
ise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",
mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#8
08000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",pa
legoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d
b7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:
"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",r
oyalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seag
reen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#
6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f
",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff634
7",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:
"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};goog.color.Hsl={};goog.color.Hsv=
{};goog.color.Rgb={};goog.color.parse=function(a){var b={};a=String(a);var
c=goog.color.prependHashIfNecessaryHelper(a);if(goog.color.isValidHexColor_(c))retu
rn
b.hex=goog.color.normalizeHex(c),b.type="hex",b;c=goog.color.isValidRgbColor_(a);if
(c.length)return
b.hex=goog.color.rgbArrayToHex(c),b.type="rgb",b;if(goog.color.names&&(c=goog.color
.names[a.toLowerCase()]))return b.hex=c,b.type="named",b;throw Error(a+" is not a
valid color string");};
goog.color.isValidColor=function(a){var
b=goog.color.prependHashIfNecessaryHelper(a);return!!
(goog.color.isValidHexColor_(b)||goog.color.isValidRgbColor_(a).length||
goog.color.names&&goog.color.names[a.toLowerCase()])};goog.color.parseRgb=function(
a){var b=goog.color.isValidRgbColor_(a);if(!b.length)throw Error(a+" is not a valid
RGB color");return b};goog.color.hexToRgbStyle=function(a){return
goog.color.rgbStyle_(goog.color.hexToRgb(a))};goog.color.hexTripletRe_=/#(.)(.)
(.)/;
goog.color.normalizeHex=function(a){if(!goog.color.isValidHexColor_(a))throw
Error("'"+a+"' is not a valid hex
color");4==a.length&&(a=a.replace(goog.color.hexTripletRe_,"#$1$1$2$2$3$3"));return
a.toLowerCase()};goog.color.hexToRgb=function(a){a=goog.color.normalizeHex(a);var
b=parseInt(a.slice(1),16);a=b>>16;var c=b>>8&255;b&=255;return[a,c,b]};
goog.color.rgbToHex=function(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!
=(a&255)||b!=(b&255)||c!=(c&255))throw Error('"('+a+","+b+","+c+'") is not a valid
RGB color');b=a<<16|b<<8|c;return 16>a?"#"+(16777216|
b).toString(16).slice(1):"#"+b.toString(16)};goog.color.rgbArrayToHex=function(a)
{return goog.color.rgbToHex(a[0],a[1],a[2])};
goog.color.rgbToHsl=function(a,b,c){a/=255;b/=255;c/=255;var
d=Math.max(a,b,c),e=Math.min(a,b,c),f=0,g=0,h=.5*(d+e);d!=e&&(d==a?f=60*(b-c)/(d-
e):d==b?f=60*(c-a)/(d-e)+120:d==c&&(f=60*(a-b)/(d-e)+240),g=0<h&&.5>=h?(d-e)/(2*h):
(d-e)/(2-
2*h));return[Math.round(f+360)%360,g,h]};goog.color.rgbArrayToHsl=function(a)
{return goog.color.rgbToHsl(a[0],a[1],a[2])};goog.color.hueToRgb_=function(a,b,c)
{0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a};
goog.color.hslToRgb=function(a,b,c){a/=360;if(0==b)c=b=a=255*c;else{var d=.5>c?
c*(1+b):c+b-b*c;var e=2*c-
d;c=255*goog.color.hueToRgb_(e,d,a+1/3);b=255*goog.color.hueToRgb_(e,d,a);a=255*goo
g.color.hueToRgb_(e,d,a-
1/3)}return[Math.round(c),Math.round(b),Math.round(a)]};goog.color.hslArrayToRgb=fu
nction(a){return
goog.color.hslToRgb(a[0],a[1],a[2])};goog.color.validHexColorRe_=/^#(?:[0-9a-f]{3})
{1,2}$/i;goog.color.isValidHexColor_=function(a){return
goog.color.validHexColorRe_.test(a)};
goog.color.rgbColorRe_=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-
9]\d{0,2})\)$/i;goog.color.isValidRgbColor_=function(a){var
b=a.match(goog.color.rgbColorRe_);if(b){a=Number(b[1]);var
c=Number(b[2]);b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,
c,b]}return[]};goog.color.prependZeroIfNecessaryHelper=function(a){return
1==a.length?"0"+a:a};goog.color.prependHashIfNecessaryHelper=function(a)
{return"#"==a.charAt(0)?a:"#"+a};
goog.color.rgbStyle_=function(a){return"rgb("+a.join(",")
+")"};goog.color.hsvToRgb=function(a,b,c){var d=0,e=0,f=0;if(0==b)f=e=d=c;else{var
g=Math.floor(a/60),h=a/60-g;a=c*(1-b);var k=c*(1-b*h);b=c*(1-b*(1-h));switch(g)
{case 1:d=k;e=c;f=a;break;case 2:d=a;e=c;f=b;break;case 3:d=a;e=k;f=c;break;case
4:d=b;e=a;f=c;break;case 5:d=c;e=a;f=k;break;case 6:case
0:d=c,e=b,f=a}}return[Math.round(d),Math.round(e),Math.round(f)]};
goog.color.rgbToHsv=function(a,b,c){var
d=Math.max(Math.max(a,b),c),e=Math.min(Math.min(a,b),c),f=d;if(e==d)e=a=0;else{var
g=d-e;e=g/d;a=a==d?(b-c)/g:b==d?2+(c-a)/g:4+(a-b)/g;a*=60;0>a&&(a+=360);360<a&&(a-
=360)}return[a,e,f]};goog.color.rgbArrayToHsv=function(a){return
goog.color.rgbToHsv(a[0],a[1],a[2])};goog.color.hsvArrayToRgb=function(a){return
goog.color.hsvToRgb(a[0],a[1],a[2])};goog.color.hexToHsl=function(a)
{a=goog.color.hexToRgb(a);return goog.color.rgbToHsl(a[0],a[1],a[2])};
goog.color.hslToHex=function(a,b,c){return
goog.color.rgbArrayToHex(goog.color.hslToRgb(a,b,c))};goog.color.hslArrayToHex=func
tion(a){return
goog.color.rgbArrayToHex(goog.color.hslToRgb(a[0],a[1],a[2]))};goog.color.hexToHsv=
function(a){return
goog.color.rgbArrayToHsv(goog.color.hexToRgb(a))};goog.color.hsvToHex=function(a,b,
c){return
goog.color.rgbArrayToHex(goog.color.hsvToRgb(a,b,c))};goog.color.hsvArrayToHex=func
tion(a){return goog.color.hsvToHex(a[0],a[1],a[2])};
goog.color.hslDistance=function(a,b){var c=.5>=a[2]?a[1]*a[2]:a[1]*(1-a[2]);var
d=.5>=b[2]?b[1]*b[2]:b[1]*(1-b[2]);var e=a[0]/360,f=b[0]/360;e=2*(e-
f)*Math.PI;return(a[2]-b[2])*(a[2]-b[2])+c*c+d*d-
2*c*d*Math.cos(e)};goog.color.blend=function(a,b,c)
{c=goog.math.clamp(c,0,1);return[Math.round(b[0]+c*(a[0]-
b[0])),Math.round(b[1]+c*(a[1]-b[1])),Math.round(b[2]+c*(a[2]-
b[2]))]};goog.color.darken=function(a,b){var c=[0,0,0];return
goog.color.blend(c,a,b)};
goog.color.lighten=function(a,b){var c=[255,255,255];return
goog.color.blend(c,a,b)};goog.color.highContrast=function(a,b){for(var
c=[],d=0;d<b.length;d+
+)c.push({color:b[d],diff:goog.color.yiqBrightnessDiff_(b[d],a)
+goog.color.colorDiff_(b[d],a)});c.sort(function(e,f){return f.diff-e.diff});return
c[0].color};goog.color.yiqBrightness_=function(a){return
Math.round((299*a[0]+587*a[1]+114*a[2])/1E3)};goog.color.yiqBrightnessDiff_=functio
n(a,b){return Math.abs(goog.color.yiqBrightness_(a)-goog.color.yiqBrightness_(b))};
goog.color.colorDiff_=function(a,b){return Math.abs(a[0]-b[0])+Math.abs(a[1]-b[1])
+Math.abs(a[2]-
b[2])};goog.fx.dom={};goog.fx.dom.PredefinedEffect=function(a,b,c,d,e)
{goog.fx.Animation.call(this,b,c,d,e);this.element=a};goog.inherits(goog.fx.dom.Pre
definedEffect,goog.fx.Animation);goog.fx.dom.PredefinedEffect.prototype.updateStyle
=function(){};goog.fx.dom.PredefinedEffect.prototype.isRightToLeft=function(){void
0===this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.element));r
eturn
this.rightToLeft_};goog.fx.dom.PredefinedEffect.prototype.onAnimate=function()
{this.updateStyle();goog.fx.dom.PredefinedEffect.superClass_.onAnimate.call(this)};
goog.fx.dom.PredefinedEffect.prototype.onEnd=function()
{this.updateStyle();goog.fx.dom.PredefinedEffect.superClass_.onEnd.call(this)};goog
.fx.dom.PredefinedEffect.prototype.onBegin=function()
{this.updateStyle();goog.fx.dom.PredefinedEffect.superClass_.onBegin.call(this)};go
og.fx.dom.Slide=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start
and end points must be
2D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e)};goog.inherits(goog.fx.dom.S
lide,goog.fx.dom.PredefinedEffect);
goog.fx.dom.Slide.prototype.updateStyle=function(){var
a=this.useRightPositioningForRtl_&&this.isRightToLeft()?"right":"left";this.element
.style[a]=Math.round(this.coords[0])
+"px";this.element.style.top=Math.round(this.coords[1])
+"px"};goog.fx.dom.SlideFrom=function(a,b,c,d){var
e=a.offsetLeft;e=[e,a.offsetTop];goog.fx.dom.Slide.call(this,a,e,b,c,d)};goog.inher
its(goog.fx.dom.SlideFrom,goog.fx.dom.Slide);
goog.fx.dom.SlideFrom.prototype.onBegin=function(){var
a=this.useRightPositioningForRtl_?
goog.style.bidi.getOffsetStart(this.element):this.element.offsetLeft;this.startPoin
t=[a,this.element.offsetTop];goog.fx.dom.SlideFrom.superClass_.onBegin.call(this)};
goog.fx.dom.Swipe=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw
Error("Start and end points must be
2D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e);this.maxWidth_=Math.max(this
.endPoint[0],this.startPoint[0]);this.maxHeight_=Math.max(this.endPoint[1],this.sta
rtPoint[1])};goog.inherits(goog.fx.dom.Swipe,goog.fx.dom.PredefinedEffect);
goog.fx.dom.Swipe.prototype.updateStyle=function(){var
a=this.coords[0],b=this.coords[1];this.clip_(Math.round(a),Math.round(b),this.maxWi
dth_,this.maxHeight_);this.element.style.width=Math.round(a)+"px";var
c=this.useRightPositioningForRtl_&&this.isRightToLeft()?"marginRight":"marginLeft";
this.element.style[c]=Math.round(a)-
this.maxWidth_+"px";this.element.style.marginTop=Math.round(b)-
this.maxHeight_+"px"};
goog.fx.dom.Swipe.prototype.clip_=function(a,b,c,d)
{this.element.style.clip="rect("+(d-b)+"px "+c+"px "+d+"px "+(c-a)
+"px)"};goog.fx.dom.Scroll=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw
Error("Start and end points must be
2D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e)};goog.inherits(goog.fx.dom.S
croll,goog.fx.dom.PredefinedEffect);
goog.fx.dom.Scroll.prototype.updateStyle=function()
{this.useRightPositioningForRtl_?
goog.style.bidi.setScrollOffset(this.element,Math.round(this.coords[0])):this.eleme
nt.scrollLeft=Math.round(this.coords[0]);this.element.scrollTop=Math.round(this.coo
rds[1])};goog.fx.dom.Resize=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw
Error("Start and end points must be
2D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e)};goog.inherits(goog.fx.dom.R
esize,goog.fx.dom.PredefinedEffect);
goog.fx.dom.Resize.prototype.updateStyle=function()
{this.element.style.width=Math.round(this.coords[0])
+"px";this.element.style.height=Math.round(this.coords[1])
+"px"};goog.fx.dom.ResizeWidth=function(a,b,c,d,e)
{goog.fx.dom.PredefinedEffect.call(this,a,[b],
[c],d,e)};goog.inherits(goog.fx.dom.ResizeWidth,goog.fx.dom.PredefinedEffect);goog.
fx.dom.ResizeWidth.prototype.updateStyle=function()
{this.element.style.width=Math.round(this.coords[0])+"px"};
goog.fx.dom.ResizeHeight=function(a,b,c,d,e)
{goog.fx.dom.PredefinedEffect.call(this,a,[b],
[c],d,e)};goog.inherits(goog.fx.dom.ResizeHeight,goog.fx.dom.PredefinedEffect);goog
.fx.dom.ResizeHeight.prototype.updateStyle=function()
{this.element.style.height=Math.round(this.coords[0])+"px"};
goog.fx.dom.Fade=function(a,b,c,d,e){"number"===typeof b&&(b=[b]);"number"===typeof
c&&(c=[c]);goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e);if(1!=b.length||1!
=c.length)throw Error("Start and end points must be
1D");this.lastOpacityUpdate_=goog.fx.dom.Fade.OPACITY_UNSET_};goog.inherits(goog.fx
.dom.Fade,goog.fx.dom.PredefinedEffect);goog.fx.dom.Fade.TOLERANCE_=1/1024;goog.fx.
dom.Fade.OPACITY_UNSET_=-1;
goog.fx.dom.Fade.prototype.updateStyle=function(){var
a=this.coords[0],b=Math.abs(a-
this.lastOpacityUpdate_);b>=goog.fx.dom.Fade.TOLERANCE_&&(goog.style.setOpacity(thi
s.element,a),this.lastOpacityUpdate_=a)};goog.fx.dom.Fade.prototype.onBegin=functio
n()
{this.lastOpacityUpdate_=goog.fx.dom.Fade.OPACITY_UNSET_;goog.fx.dom.Fade.superClas
s_.onBegin.call(this)};goog.fx.dom.Fade.prototype.onEnd=function()
{this.lastOpacityUpdate_=goog.fx.dom.Fade.OPACITY_UNSET_;goog.fx.dom.Fade.superClas
s_.onEnd.call(this)};
goog.fx.dom.Fade.prototype.show=function()
{this.element.style.display=""};goog.fx.dom.Fade.prototype.hide=function()
{this.element.style.display="none"};goog.fx.dom.FadeOut=function(a,b,c)
{goog.fx.dom.Fade.call(this,a,1,0,b,c)};goog.inherits(goog.fx.dom.FadeOut,goog.fx.d
om.Fade);goog.fx.dom.FadeIn=function(a,b,c)
{goog.fx.dom.Fade.call(this,a,0,1,b,c)};goog.inherits(goog.fx.dom.FadeIn,goog.fx.do
m.Fade);goog.fx.dom.FadeOutAndHide=function(a,b,c)
{goog.fx.dom.Fade.call(this,a,1,0,b,c)};
goog.inherits(goog.fx.dom.FadeOutAndHide,goog.fx.dom.Fade);goog.fx.dom.FadeOutAndHi
de.prototype.onBegin=function()
{this.show();goog.fx.dom.FadeOutAndHide.superClass_.onBegin.call(this)};goog.fx.dom
.FadeOutAndHide.prototype.onEnd=function()
{this.hide();goog.fx.dom.FadeOutAndHide.superClass_.onEnd.call(this)};goog.fx.dom.F
adeInAndShow=function(a,b,c)
{goog.fx.dom.Fade.call(this,a,0,1,b,c)};goog.inherits(goog.fx.dom.FadeInAndShow,goo
g.fx.dom.Fade);
goog.fx.dom.FadeInAndShow.prototype.onBegin=function()
{this.show();goog.fx.dom.FadeInAndShow.superClass_.onBegin.call(this)};goog.fx.dom.
BgColorTransform=function(a,b,c,d,e){if(3!=b.length||3!=c.length)throw Error("Start
and end points must be
3D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e)};goog.inherits(goog.fx.dom.B
gColorTransform,goog.fx.dom.PredefinedEffect);
goog.fx.dom.BgColorTransform.prototype.setColor=function(){for(var
a=[],b=0;b<this.coords.length;b+
+)a[b]=Math.round(this.coords[b]);a="rgb("+a.join(",")
+")";this.element.style.backgroundColor=a};goog.fx.dom.BgColorTransform.prototype.u
pdateStyle=function(){this.setColor()};
goog.fx.dom.bgColorFadeIn=function(a,b,c,d){function e()
{a.style.backgroundColor=f}var
f=a.style.backgroundColor||"",g=goog.style.getBackgroundColor(a);g=g&&"transparent"
!=g&&"rgba(0, 0, 0, 0)"!=g?goog.color.hexToRgb(goog.color.parse(g).hex):
[255,255,255];b=new goog.fx.dom.BgColorTransform(a,b,g,c);d?
d.listen(b,goog.fx.Transition.EventType.END,e):goog.events.listen(b,goog.fx.Transit
ion.EventType.END,e);b.play()};
goog.fx.dom.ColorTransform=function(a,b,c,d,e){if(3!=b.length||3!=c.length)throw
Error("Start and end points must be
3D");goog.fx.dom.PredefinedEffect.call(this,a,b,c,d,e)};goog.inherits(goog.fx.dom.C
olorTransform,goog.fx.dom.PredefinedEffect);goog.fx.dom.ColorTransform.prototype.up
dateStyle=function(){for(var a=[],b=0;b<this.coords.length;b+
+)a[b]=Math.round(this.coords[b]);a="rgb("+a.join(",")
+")";this.element.style.color=a};goog.collections.iters={};function
module$contents$goog$collections$iters_getIterator(a){return
a[goog.global.Symbol.iterator]
()}goog.collections.iters.getIterator=module$contents$goog$collections$iters_getIte
rator;function module$contents$goog$collections$iters_forEach(a,b){for(var c;!
(c=a.next()).done;)b(c.value)}goog.collections.iters.forEach=module$contents$goog$c
ollections$iters_forEach;
var module$contents$goog$collections$iters_MapIterator=function(a,b)
{this.childIterator_=module$contents$goog$collections$iters_getIterator(a);this.map
Fn_=b};module$contents$goog$collections$iters_MapIterator.prototype[Symbol.iterator
]=function(){return
this};module$contents$goog$collections$iters_MapIterator.prototype.next=function()
{var a=this.childIterator_.next();return{value:a.done?void 0:this.mapFn_.call(void
0,a.value),done:a.done}};
goog.collections.iters.map=function(a,b){return new
module$contents$goog$collections$iters_MapIterator(a,b)};var
module$contents$goog$collections$iters_FilterIterator=function(a,b)
{this.childIter_=module$contents$goog$collections$iters_getIterator(a);this.filterF
n_=b};module$contents$goog$collections$iters_FilterIterator.prototype[Symbol.iterat
or]=function(){return this};
module$contents$goog$collections$iters_FilterIterator.prototype.next=function()
{for(;;){var a=this.childIter_.next();if(a.done)return{done:!0,value:void 0};var
b=this.filterFn_.call(void 0,a.value);if(b)return
a}};goog.collections.iters.filter=function(a,b){return new
module$contents$goog$collections$iters_FilterIterator(a,b)};var
module$contents$goog$collections$iters_ConcatIterator=function(a)
{this.iterators_=a;this.iterIndex_=0};
module$contents$goog$collections$iters_ConcatIterator.prototype[Symbol.iterator]=fu
nction(){return
this};module$contents$goog$collections$iters_ConcatIterator.prototype.next=function
(){for(;this.iterIndex_<this.iterators_.length;){var
a=this.iterators_[this.iterIndex_].next();if(!a.done)return a;this.iterIndex_+
+}return{done:!0}};goog.collections.iters.concat=function(){var
a=$jscomp.getRestArguments.apply(0,arguments);return new
module$contents$goog$collections$iters_ConcatIterator(a.map(module$contents$goog$co
llections$iters_getIterator))};
goog.collections.iters.toArray=function(a){var
b=[];module$contents$goog$collections$iters_forEach(a,function(c){return
b.push(c)});return
b};goog.iter={};goog.iter.Iterable={};goog.iter.Iterator=function()
{};goog.iter.Iterator.prototype.next=function(){return
goog.iter.ES6_ITERATOR_DONE};goog.iter.ES6_ITERATOR_DONE=goog.debug.freeze({done:!
0,value:void 0});goog.iter.createEs6IteratorYield=function(a){return{value:a,done:!
1}};goog.iter.Iterator.prototype.__iterator__=function(){return this};
goog.iter.toIterator=function(a){if(a instanceof goog.iter.Iterator)return
a;if("function"==typeof a.__iterator__)return a.__iterator__(!
1);if(goog.isArrayLike(a)){var b=a,c=0;a=new goog.iter.Iterator;a.next=function()
{for(;;){if(c>=b.length)return goog.iter.ES6_ITERATOR_DONE;if(c in b)return
goog.iter.createEs6IteratorYield(b[c++]);c++}};return a}throw Error("Not
implemented");};
goog.iter.forEach=function(a,b,c)
{if(goog.isArrayLike(a))module$contents$goog$array_forEach(a,b,c);else
for(a=goog.iter.toIterator(a);;){var
d=a.next(),e=d.done;d=d.value;if(e)break;b.call(c,d,void
0,a)}};goog.iter.filter=function(a,b,c){var d=goog.iter.toIterator(a);a=new
goog.iter.Iterator;a.next=function(){for(;;){var
e=d.next(),f=e.done;e=e.value;if(f)return
goog.iter.ES6_ITERATOR_DONE;if(b.call(c,e,void 0,d))return
goog.iter.createEs6IteratorYield(e)}};return a};
goog.iter.filterFalse=function(a,b,c){return
goog.iter.filter(a,goog.functions.not(b),c)};goog.iter.range=function(a,b,c){var
d=0,e=a,f=c||1;1<arguments.length&&(d=a,e=+b);if(0==f)throw Error("Range step
argument must not be zero");var g=new goog.iter.Iterator;g.next=function()
{if(0<f&&d>=e||0>f&&d<=e)return goog.iter.ES6_ITERATOR_DONE;var h=d;d+=f;return
goog.iter.createEs6IteratorYield(h)};return g};goog.iter.join=function(a,b){return
goog.iter.toArray(a).join(b)};
goog.iter.map=function(a,b,c){var d=goog.iter.toIterator(a);a=new
goog.iter.Iterator;a.next=function(){var e=d.next(),f=e.done;e=e.value;if(f)return
goog.iter.ES6_ITERATOR_DONE;f=b.call(c,e,void 0,d);return
goog.iter.createEs6IteratorYield(f)};return a};goog.iter.reduce=function(a,b,c,d)
{var e=c;goog.iter.forEach(a,function(f){e=b.call(d,e,f)});return
e};goog.iter.some=function(a,b,c){for(a=goog.iter.toIterator(a);;){var
d=a.next(),e=d.done;d=d.value;if(e)return!1;if(b.call(c,d,void 0,a))return!0}};
goog.iter.every=function(a,b,c){for(a=goog.iter.toIterator(a);;){var
d=a.next(),e=d.done;d=d.value;if(e)return!0;if(!b.call(c,d,void 0,a))return!
1}};goog.iter.chain=function(a){return goog.iter.chainFromIterable(arguments)};
goog.iter.chainFromIterable=function(a){var b=goog.iter.toIterator(a);a=new
goog.iter.Iterator;var c=null;a.next=function(){for(;;){if(null==c){var
d=b.next();if(d.done)return
goog.iter.ES6_ITERATOR_DONE;d=d.value;c=goog.iter.toIterator(d)}d=c.next();if(d.don
e)c=null;else return d=d.value,goog.iter.createEs6IteratorYield(d)}};return a};
goog.iter.dropWhile=function(a,b,c){var d=goog.iter.toIterator(a);a=new
goog.iter.Iterator;var e=!0;a.next=function(){for(;;){var
f=d.next(),g=f.done;f=f.value;if(g)return goog.iter.ES6_ITERATOR_DONE;if(!e||!
b.call(c,f,void 0,d))return e=!1,goog.iter.createEs6IteratorYield(f)}};return a};
goog.iter.takeWhile=function(a,b,c){var d=goog.iter.toIterator(a);a=new
goog.iter.Iterator;a.next=function(){var e=d.next(),f=e.done;e=e.value;return f?
goog.iter.ES6_ITERATOR_DONE:b.call(c,e,void 0,d)?
goog.iter.createEs6IteratorYield(e):goog.iter.ES6_ITERATOR_DONE};return
a};goog.iter.toArray=function(a){if(goog.isArrayLike(a))return
module$contents$goog$array_toArray(a);a=goog.iter.toIterator(a);var
b=[];goog.iter.forEach(a,function(c){b.push(c)});return b};
goog.iter.equals=function(a,b,c){var d={};a=goog.iter.zipLongest(d,a,b);var e=c||
module$contents$goog$array_defaultCompareEquality;return
goog.iter.every(a,function(f){return
e(f[0],f[1])})};goog.iter.nextOrValue=function(a,b){a=goog.iter.toIterator(a);var
c=a.next();a=c.done;c=c.value;return a?b:c};
goog.iter.product=function(a){var b=Array.prototype.some.call(arguments,function(e)
{return!e.length});if(b||!arguments.length)return new goog.iter.Iterator;b=new
goog.iter.Iterator;var
c=arguments,d=module$contents$goog$array_repeat(0,c.length);b.next=function(){if(d)
{for(var e=module$contents$goog$array_map(d,function(g,h){return c[h]
[g]}),f=d.length-1;0<=f;f--){goog.asserts.assert(d);if(d[f]<c[f].length-1){d[f]+
+;break}if(0==f){d=null;break}d[f]=0}return
goog.iter.createEs6IteratorYield(e)}return goog.iter.ES6_ITERATOR_DONE};
return b};goog.iter.cycle=function(a){var b=goog.iter.toIterator(a),c=[],d=0;a=new
goog.iter.Iterator;var e=!1;a.next=function(){if(!e){var f=b.next();if(f.done)
{if(module$contents$goog$array_isEmpty(c))return goog.iter.ES6_ITERATOR_DONE;e=!
0}else return c.push(f.value),f}f=c[d];d=(d+1)%c.length;return
goog.iter.createEs6IteratorYield(f)};return a};
goog.iter.count=function(a,b){var c=a||0,d=void 0!==b?b:1;a=new
goog.iter.Iterator;a.next=function(){var e=c;c+=d;return
goog.iter.createEs6IteratorYield(e)};return a};goog.iter.repeat=function(a){var
b=new goog.iter.Iterator;b.next=function(){return
goog.iter.createEs6IteratorYield(a)};return b};
goog.iter.accumulate=function(a){var b=goog.iter.toIterator(a),c=0;a=new
goog.iter.Iterator;a.next=function(){var d=b.next(),e=d.done;d=d.value;if(e)return
goog.iter.ES6_ITERATOR_DONE;c+=d;return goog.iter.createEs6IteratorYield(c)};return
a};
goog.iter.zip=function(a){var b=arguments,c=new goog.iter.Iterator;if(0<b.length)
{var d=module$contents$goog$array_map(b,goog.iter.toIterator),e=!
1;c.next=function(){if(e)return goog.iter.ES6_ITERATOR_DONE;for(var
f=[],g=0,h;h=d[g++];){h=h.next();if(h.done)return e=!
0,goog.iter.ES6_ITERATOR_DONE;f.push(h.value)}return
goog.iter.createEs6IteratorYield(f)}}return c};
goog.iter.zipLongest=function(a,b){var
c=Array.prototype.slice.call(arguments,1),d=new goog.iter.Iterator;if(0<c.length)
{var e=module$contents$goog$array_map(c,goog.iter.toIterator),f=!
1;d.next=function(){if(f)return goog.iter.ES6_ITERATOR_DONE;for(var g=!
1,h=[],k=0,l;l=e[k++];)l=l.next(),l.done?h.push(a):(h.push(l.value),g=!0);return g?
goog.iter.createEs6IteratorYield(h):(f=!0,goog.iter.ES6_ITERATOR_DONE)}}return d};
goog.iter.compress=function(a,b){var
c=goog.iter.toIterator(a),d=goog.iter.toIterator(b);a=new goog.iter.Iterator;var
e=!1;a.next=function(){if(e)return goog.iter.ES6_ITERATOR_DONE;for(;;){var
f=c.next();if(f.done)return e=!0,goog.iter.ES6_ITERATOR_DONE;var
g=d.next();if(g.done)return e=!
0,goog.iter.ES6_ITERATOR_DONE;f=f.value;if(g=g.value)return
goog.iter.createEs6IteratorYield(f)}};return
a};goog.iter.GroupByIterator_=function(a,b)
{this.iterator=goog.iter.toIterator(a);this.keyFunc=b||goog.functions.identity};
goog.inherits(goog.iter.GroupByIterator_,goog.iter.Iterator);goog.iter.GroupByItera
tor_.prototype.next=function(){for(;this.currentKey==this.targetKey;){var
a=this.iterator.next();if(a.done)return
goog.iter.ES6_ITERATOR_DONE;this.currentValue=a.value;this.currentKey=this.keyFunc(
this.currentValue)}this.targetKey=this.currentKey;return
goog.iter.createEs6IteratorYield([this.currentKey,this.groupItems_(this.targetKey)]
)};
goog.iter.GroupByIterator_.prototype.groupItems_=function(a){for(var
b=[];this.currentKey==a;){b.push(this.currentValue);var
c=this.iterator.next();if(c.done)break;this.currentValue=c.value;this.currentKey=th
is.keyFunc(this.currentValue)}return b};goog.iter.groupBy=function(a,b){return new
goog.iter.GroupByIterator_(a,b)};
goog.iter.starMap=function(a,b,c){var d=goog.iter.toIterator(a);a=new
goog.iter.Iterator;a.next=function(){var e=d.next();if(e.done)return
goog.iter.ES6_ITERATOR_DONE;e=goog.iter.toArray(e.value);e=b.apply(c,
[].concat(e,void 0,d));return goog.iter.createEs6IteratorYield(e)};return a};
goog.iter.tee=function(a,b){function c(f){var g=new
goog.iter.Iterator;g.next=function(){if(module$contents$goog$array_isEmpty(f)){var
h=d.next();var k=h.done;h=h.value;if(k)h=!1;else{k=0;for(var l;l=e[k+
+];)l.push(h);h=!0}if(!h)return goog.iter.ES6_ITERATOR_DONE}goog.asserts.assert(!
module$contents$goog$array_isEmpty(f));return
goog.iter.createEs6IteratorYield(f.shift())};return g}var
d=goog.iter.toIterator(a);a="number"===typeof b?b:2;var
e=module$contents$goog$array_map(module$contents$goog$array_range(a),
function(){return[]});return
module$contents$goog$array_map(e,c)};goog.iter.enumerate=function(a,b){return
goog.iter.zip(goog.iter.count(b),a)};goog.iter.limit=function(a,b)
{goog.asserts.assert(goog.math.isInt(b)&&0<=b);var c=goog.iter.toIterator(a);a=new
goog.iter.Iterator;var d=b;a.next=function(){return 0<d--?
c.next():goog.iter.ES6_ITERATOR_DONE};return a};
goog.iter.consume=function(a,b)
{goog.asserts.assert(goog.math.isInt(b)&&0<=b);for(a=goog.iter.toIterator(a);0<b--;
)goog.iter.nextOrValue(a,null);return a};goog.iter.slice=function(a,b,c)
{goog.asserts.assert(goog.math.isInt(b)&&0<=b);a=goog.iter.consume(a,b);"number"===
typeof c&&(goog.asserts.assert(goog.math.isInt(c)&&c>=b),a=goog.iter.limit(a,c-
b));return a};goog.iter.hasDuplicates_=function(a){var
b=[];module$contents$goog$array_removeDuplicates(a,b);return a.length!=b.length};
goog.iter.permutations=function(a,b){a=goog.iter.toArray(a);b="number"===typeof b?
b:a.length;b=module$contents$goog$array_repeat(a,b);b=goog.iter.product.apply(void
0,b);return goog.iter.filter(b,function(c){return!goog.iter.hasDuplicates_(c)})};
goog.iter.combinations=function(a,b){function c(f){return d[f]}var
d=goog.iter.toArray(a);a=goog.iter.range(d.length);b=goog.iter.permutations(a,b);va
r e=goog.iter.filter(b,function(f){return
module$contents$goog$array_isSorted(f)});b=new goog.iter.Iterator;b.next=function()
{var f=e.next(),g=f.done;f=f.value;return g?
goog.iter.ES6_ITERATOR_DONE:goog.iter.createEs6IteratorYield(module$contents$goog$a
rray_map(f,c))};return b};
goog.iter.combinationsWithReplacement=function(a,b){function c(f){return d[f]}var
d=goog.iter.toArray(a);a=module$contents$goog$array_range(d.length);b=module$conten
ts$goog$array_repeat(a,b);b=goog.iter.product.apply(void 0,b);var
e=goog.iter.filter(b,function(f){return
module$contents$goog$array_isSorted(f)});b=new goog.iter.Iterator;b.next=function()
{var f=e.next(),g=f.done;f=f.value;return g?
goog.iter.ES6_ITERATOR_DONE:goog.iter.createEs6IteratorYield(module$contents$goog$a
rray_map(f,c))};return b};goog.iter.es6={};var
module$contents$goog$iter$es6_ShimIterable=function()
{};module$contents$goog$iter$es6_ShimIterable.prototype.__iterator__=function()
{};module$contents$goog$iter$es6_ShimIterable.prototype.toEs6=function(){};
module$contents$goog$iter$es6_ShimIterable.of=function(a){if(a instanceof
module$contents$goog$iter$es6_ShimIterableImpl||a instanceof
module$contents$goog$iter$es6_ShimGoogIterator||a instanceof
module$contents$goog$iter$es6_ShimEs6Iterator)return a;if("function"==typeof
a.next)return new module$contents$goog$iter$es6_ShimIterableImpl(function(){return
a});if("function"==typeof a[Symbol.iterator])return new
module$contents$goog$iter$es6_ShimIterableImpl(function(){return a[Symbol.iterator]
()});if("function"==
typeof a.__iterator__)return new
module$contents$goog$iter$es6_ShimIterableImpl(function(){return
a.__iterator__()});throw Error("Not an iterator or iterable.");};var
module$contents$goog$iter$es6_ShimIterableImpl=function(a)
{this.func_=a};module$contents$goog$iter$es6_ShimIterableImpl.prototype.__iterator_
_=function(){return new
module$contents$goog$iter$es6_ShimGoogIterator(this.func_())};module$contents$goog$
iter$es6_ShimIterableImpl.prototype[Symbol.iterator]=function(){return new
module$contents$goog$iter$es6_ShimEs6Iterator(this.func_())};
module$contents$goog$iter$es6_ShimIterableImpl.prototype.toEs6=function(){return
new module$contents$goog$iter$es6_ShimEs6Iterator(this.func_())};var
module$contents$goog$iter$es6_ShimGoogIterator=function(a)
{goog.iter.Iterator.call(this);this.iter_=a};
$jscomp.inherits(module$contents$goog$iter$es6_ShimGoogIterator,goog.iter.Iterator)
;module$contents$goog$iter$es6_ShimGoogIterator.prototype.next=function(){return
this.iter_.next()};
module$contents$goog$iter$es6_ShimGoogIterator.prototype[Symbol.iterator]=function(
){return new
module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_)};module$contents$goog$ite
r$es6_ShimGoogIterator.prototype.toEs6=function(){return new
module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_)};var
module$contents$goog$iter$es6_ShimEs6Iterator=function(a)
{module$contents$goog$iter$es6_ShimIterableImpl.call(this,function(){return
a});this.iter_=a};
$jscomp.inherits(module$contents$goog$iter$es6_ShimEs6Iterator,module$contents$goog
$iter$es6_ShimIterableImpl);module$contents$goog$iter$es6_ShimEs6Iterator.prototype
.next=function(){return
this.iter_.next()};goog.iter.es6.ShimIterable=module$contents$goog$iter$es6_ShimIte
rable;goog.iter.es6.ShimEs6Iterator=module$contents$goog$iter$es6_ShimEs6Iterator;g
oog.iter.es6.ShimGoogIterator=module$contents$goog$iter$es6_ShimGoogIterator;goog.s
tructs.Map=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var
c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var
d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else
a&&this.addAll(a)};goog.structs.Map.prototype.getCount=function(){return
this.size};goog.structs.Map.prototype.getValues=function()
{this.cleanupKeysArray_();for(var a=[],b=0;b<this.keys_.length;b++){var
c=this.keys_[b];a.push(this.map_[c])}return a};
goog.structs.Map.prototype.getKeys=function(){this.cleanupKeysArray_();return
this.keys_.concat()};goog.structs.Map.prototype.containsKey=function(a){return
this.has(a)};goog.structs.Map.prototype.has=function(a){return
goog.structs.Map.hasKey_(this.map_,a)};goog.structs.Map.prototype.containsValue=fun
ction(a){for(var b=0;b<this.keys_.length;b++){var
c=this.keys_[b];if(goog.structs.Map.hasKey_(this.map_,c)&&this.map_[c]==a)return!
0}return!1};
goog.structs.Map.prototype.equals=function(a,b){if(this===a)return!0;if(this.size!
=a.getCount())return!1;b=b||
goog.structs.Map.defaultEquals;this.cleanupKeysArray_();for(var
c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!
0};goog.structs.Map.defaultEquals=function(a,b){return
a===b};goog.structs.Map.prototype.isEmpty=function(){return
0==this.size};goog.structs.Map.prototype.clear=function()
{this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};
goog.structs.Map.prototype.remove=function(a){return
this.delete(a)};goog.structs.Map.prototype.delete=function(a){return
goog.structs.Map.hasKey_(this.map_,a)?(delete
this.map_[a],this.setSizeInternal_(this.size-1),this.version_+
+,this.keys_.length>2*this.size&&this.cleanupKeysArray_(),!0):!1};
goog.structs.Map.prototype.cleanupKeysArray_=function(){if(this.size!
=this.keys_.length){for(var a=0,b=0;a<this.keys_.length;){var
c=this.keys_[a];goog.structs.Map.hasKey_(this.map_,c)&&(this.keys_[b++]=c);a+
+}this.keys_.length=b}if(this.size!=this.keys_.length){var
d={};for(b=a=0;a<this.keys_.length;)c=this.keys_[a],goog.structs.Map.hasKey_(d,c)||
(this.keys_[b++]=c,d[c]=1),a++;this.keys_.length=b}};
goog.structs.Map.prototype.get=function(a,b){return
goog.structs.Map.hasKey_(this.map_,a)?
this.map_[a]:b};goog.structs.Map.prototype.set=function(a,b)
{goog.structs.Map.hasKey_(this.map_,a)||
(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_+
+);this.map_[a]=b};goog.structs.Map.prototype.addAll=function(a){if(a instanceof
goog.structs.Map)for(var b=a.getKeys(),c=0;c<b.length;c+
+)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};
goog.structs.Map.prototype.forEach=function(a,b){for(var
c=this.getKeys(),d=0;d<c.length;d++){var
e=c[d],f=this.get(e);a.call(b,f,e,this)}};goog.structs.Map.prototype.clone=function
(){return new
goog.structs.Map(this)};goog.structs.Map.prototype.transpose=function(){for(var
a=new goog.structs.Map,b=0;b<this.keys_.length;b++){var
c=this.keys_[b],d=this.map_[c];a.set(d,c)}return a};
goog.structs.Map.prototype.toObject=function(){this.cleanupKeysArray_();for(var
a={},b=0;b<this.keys_.length;b++){var c=this.keys_[b];a[c]=this.map_[c]}return
a};goog.structs.Map.prototype.getKeyIterator=function(){return this.__iterator__(!
0)};goog.structs.Map.prototype.keys=function(){return
module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6()};goog.
structs.Map.prototype.getValueIterator=function(){return this.__iterator__(!
1)};goog.structs.Map.prototype.values=function(){return
module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6()};
goog.structs.Map.prototype.entries=function(){var a=this;return
goog.collections.iters.map(this.keys(),function(b){return[b,a.get(b)]})};
goog.structs.Map.prototype.__iterator__=function(a){this.cleanupKeysArray_();var
b=0,c=this.version_,d=this,e=new goog.iter.Iterator;e.next=function(){if(c!
=d.version_)throw Error("The map has changed since the iterator was
created");if(b>=d.keys_.length)return goog.iter.ES6_ITERATOR_DONE;var f=d.keys_[b+
+];return goog.iter.createEs6IteratorYield(a?f:d.map_[f])};return
e};goog.structs.Map.prototype.setSizeInternal_=function(a){this.size=a};
goog.structs.Map.hasKey_=function(a,b){return
Object.prototype.hasOwnProperty.call(a,b)};goog.structs.LinkedMap=function(a,b,c)
{this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new
goog.structs.Map;this.head_=new goog.structs.LinkedMap.Node_("",void
0);this.head_.next=this.head_.prev=this.head_};goog.structs.LinkedMap.prototype.fin
dAndMoveToTop_=function(a)
{(a=this.map_.get(a))&&this.cache_&&(a.remove(),this.insert_(a));return
a};goog.structs.LinkedMap.prototype.get=function(a,b)
{return(a=this.findAndMoveToTop_(a))?a.value:b};
goog.structs.LinkedMap.prototype.set=function(a,b){var
c=this.findAndMoveToTop_(a);c?c.value=b:(c=new
goog.structs.LinkedMap.Node_(a,b),this.map_.set(a,c),this.insert_(c))};goog.structs
.LinkedMap.prototype.peek=function(){return
this.head_.next.value};goog.structs.LinkedMap.prototype.shift=function(){return
this.popNode_(this.head_.next)};goog.structs.LinkedMap.prototype.pop=function()
{return this.popNode_(this.head_.prev)};
goog.structs.LinkedMap.prototype.remove=function(a){return(a=this.map_.get(a))?
(this.removeNode(a),!0):!1};goog.structs.LinkedMap.prototype.removeNode=function(a)
{a.remove();this.map_.remove(a.key)};goog.structs.LinkedMap.prototype.getCount=func
tion(){return
this.map_.getCount()};goog.structs.LinkedMap.prototype.isEmpty=function(){return
this.map_.isEmpty()};goog.structs.LinkedMap.prototype.getKeys=function(){return
this.map(function(a,b){return
b})};goog.structs.LinkedMap.prototype.getValues=function(){return
this.map(function(a){return a})};
goog.structs.LinkedMap.prototype.contains=function(a){return this.some(function(b)
{return b==a})};goog.structs.LinkedMap.prototype.containsKey=function(a){return
this.map_.containsKey(a)};goog.structs.LinkedMap.prototype.clear=function()
{this.truncate_(0)};goog.structs.LinkedMap.prototype.forEach=function(a,b){for(var
c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};
goog.structs.LinkedMap.prototype.map=function(a,b){for(var
c=[],d=this.head_.next;d!
=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return
c};goog.structs.LinkedMap.prototype.some=function(a,b){for(var c=this.head_.next;c!
=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!
1};goog.structs.LinkedMap.prototype.every=function(a,b){for(var
c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!
1;return!0};
goog.structs.LinkedMap.prototype.insert_=function(a){this.cache_?
(a.next=this.head_.next,a.prev=this.head_,this.head_.next=a,a.next.prev=a):
(a.prev=this.head_.prev,a.next=this.head_,this.head_.prev=a,a.prev.next=a);null!
=this.maxCount_&&this.truncate_(this.maxCount_)};goog.structs.LinkedMap.prototype.t
runcate_=function(a){for(;this.getCount()>a;){var b=this.cache_?
this.head_.prev:this.head_.next;this.removeNode(b);this.evictionCallback_&&this.evi
ctionCallback_(b.key,b.value)}};
goog.structs.LinkedMap.prototype.popNode_=function(a){this.head_!
=a&&this.removeNode(a);return a.value};goog.structs.LinkedMap.Node_=function(a,b)
{this.key=a;this.value=b};goog.structs.LinkedMap.Node_.prototype.remove=function()
{this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete
this.next};ocean.info={};ocean.info.PageInfoSet=function()
{goog.events.EventTarget.call(this);this.pageInfos_=new
goog.structs.LinkedMap};goog.inherits(ocean.info.PageInfoSet,goog.events.EventTarge
t);ocean.info.PageInfoSet.prototype.setDefaultSize=function(a)
{this.defaultSize_=a};
ocean.info.PageInfoSet.prototype.setPageInfos=function(a)
{a.sort(ocean.info.PageInfoSet.orderSorter_);module$contents$goog$array_forEach(a,f
unction(b){b.setParent(this)},this);this.pageInfos_=new
goog.structs.LinkedMap;module$contents$goog$array_forEach(a,function(b)
{this.pageInfos_.set(b.getPageId(),b)},this);this.dispatchEvent(ocean.info.PageInfo
Set.EventType.UPDATE)};ocean.info.PageInfoSet.orderSorter_=function(a,b){return
a.getOrderId()-b.getOrderId()};
ocean.info.PageInfoSet.prototype.getPageInfoArray=function(){return
this.pageInfos_.getValues()};ocean.info.PageInfoSet.prototype.getPageInfoByIndex=fu
nction(a){return this.pageInfos_.getValues()
[a]};ocean.info.PageInfoSet.EventType={UPDATE:"update"};ocean.info.PageInfoSet.prot
otype.getPageInfoByOffset=function(a,b){for(var c=this.getPageInfoArray(),d=-
1,e=0;e<c.length;e++)if(c[e].getPageId()==a){d=e;break}if(0<=d)return
c[b+d]};ocean.info.PageInfoSet.prototype.getPageInfoByPid=function(a){return
this.pageInfos_.get(a)};
ocean.info.PageInfoSet.prototype.getPageInfoByTitle=function(a)
{a=goog.string.trim(a);if(0!=a.length)return
module$contents$goog$array_find(this.getPageInfoArray(),function(b){return
b.getTitle()==a})};ocean.info.PageInfoSet.prototype.getPageInfoWithMaxOrderId=funct
ion(a){for(var b=this.getPageInfoArray(),c=b.length-1;0<=c;c--){var
d=b[c];if(d.getOrderId()<=a)return d}return null};ocean.entitypage={};
var
module$contents$ocean$entitypage$Constants_Constants={HANDSHAKE_RPC_METHOD:"handsha
ke",CLOSE_VIEWPORT_RPC_METHOD:"closeViewportDialog",UPDATE_HISTORY_RPC_METHOD:"upda
teInViewportPage",FOCUS_SEARCH_RPC_METHOD:"focusSearch",UPDATE_SEARCH_RPC_METHOD:"u
pdateSearch",GO_TO_PAGE_RPC_METHOD:"goToPage",DISMISS_COMPLETE_ONBOARDING_RPC_METHO
D:"onboardingComplete",DISMISS_ONBOARDING_WITHOUT_PLAIN_TEXT_RPC_METHOD:"onboarding
CompleteNoPlainText",LINK_TO_RESULT_ANALYTICS_LABEL:"Link to
result",SELECT_A_CLIP_ANALYTICS_LABEL:"Select a clip",
TOGGLE_VIEWPORT_MODE_ANALYTICS_LABEL:"Toggle to plain
text",TEXT_VIEWPORT_NAVIGATION_ANALYTICS_LABEL:"Text viewport
navigation"};ocean.entitypage.Constants=module$contents$ocean$entitypage$Constants_
Constants;goog.promise.deferredBase={};function
module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse()
{}goog.promise.deferredBase.DeferredBaseDoNotUse=module$contents$goog$promise$defer
redBase_DeferredBaseDoNotUse;/*

Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.


Copyright The Closure Library Authors.
SPDX-License-Identifier: MIT
*/
goog.async.Deferred=function(a,b)
{this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||
null;this.hadError_=this.fired_=!1;this.result_=void
0;this.silentlyCanceled_=this.blocking_=this.blocked_=!
1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0;goog.async.Deferred.L
ONG_STACK_TRACES&&(this.constructorStack_=null,Error.captureStackTrace&&(a={stack:"
"},Error.captureStackTrace(a,goog.async.Deferred),"string"==typeof
a.stack&&(this.constructorStack_=a.stack.replace(/^[^\n]*\n/,
""))))};goog.inherits(goog.async.Deferred,module$contents$goog$promise$deferredBase
_DeferredBaseDoNotUse);goog.async.Deferred.STRICT_ERRORS=!
1;goog.async.Deferred.LONG_STACK_TRACES=!1;
goog.async.Deferred.prototype.cancel=function(a){if(this.fired_)this.result_
instanceof goog.async.Deferred&&this.result_.cancel();else{if(this.parent_){var
b=this.parent_;delete this.parent_;a?
b.cancel(a):b.branchCancel_()}this.onCancelFunction_?
this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!
0;this.fired_||this.errback(new
goog.async.Deferred.CanceledError(this))}};goog.async.Deferred.prototype.branchCanc
el_=function(){this.branches_--;0>=this.branches_&&this.cancel()};
goog.async.Deferred.prototype.continue_=function(a,b){this.blocked_=!
1;this.updateResult_(a,b)};goog.async.Deferred.prototype.updateResult_=function(a,b
){this.fired_=!0;this.result_=b;this.hadError_=!
a;this.fire_()};goog.async.Deferred.prototype.check_=function(){if(this.fired_)
{if(!this.silentlyCanceled_)throw new
goog.async.Deferred.AlreadyCalledError(this);this.silentlyCanceled_=!1}};
goog.async.Deferred.prototype.callback=function(a)
{this.check_();this.assertNotDeferred_(a);this.updateResult_(!
0,a)};goog.async.Deferred.prototype.errback=function(a)
{this.check_();this.assertNotDeferred_(a);this.makeStackTraceLong_(a);this.updateRe
sult_(!1,a)};goog.async.Deferred.unhandledErrorHandler_=function(a){throw
a;};goog.async.Deferred.setUnhandledErrorHandler=function(a)
{goog.async.Deferred.unhandledErrorHandler_=a};
goog.async.Deferred.prototype.makeStackTraceLong_=function(a)
{goog.async.Deferred.LONG_STACK_TRACES&&this.constructorStack_&&goog.isObject(a)&&a
.stack&&/^[^\n]+(\n [^\n]+)+/.test(a.stack)&&(a.stack=a.stack+"\nDEFERRED
OPERATION:\
n"+this.constructorStack_)};goog.async.Deferred.prototype.assertNotDeferred_=functi
on(a){goog.asserts.assert(!(a instanceof goog.async.Deferred),"An execution
sequence may not be initiated with a blocking Deferred.")};
goog.async.Deferred.prototype.addCallback=function(a,b){return
this.addCallbacks(a,null,b)};goog.async.Deferred.prototype.addErrback=function(a,b)
{return
this.addCallbacks(null,a,b)};goog.async.Deferred.prototype.addBoth=function(a,b)
{return
this.addCallbacks(a,a,b)};goog.async.Deferred.prototype.addCallbacks=function(a,b,c
){goog.asserts.assert(!this.blocking_,"Blocking Deferreds can not be re-
used");this.sequence_.push([a,b,c]);this.fired_&&this.fire_();return this};
goog.async.Deferred.prototype.then=function(a,b,c){var d,e,f=new
goog.Promise(function(g,h){e=g;d=h});this.addCallbacks(e,function(g){g instanceof
goog.async.Deferred.CanceledError?f.cancel():d(g);return
goog.async.Deferred.CONVERTED_TO_PROMISE_},this);return
f.then(a,b,c)};module$contents$goog$Thenable_Thenable.addImplementation(goog.async.
Deferred);goog.async.Deferred.prototype.chainDeferred=function(a)
{this.addCallbacks(a.callback,a.errback,a);return this};
goog.async.Deferred.prototype.branch=function(a){var b=new
goog.async.Deferred;this.chainDeferred(b);a&&(b.parent_=this,this.branches_+
+);return b};goog.async.Deferred.prototype.isError=function(a){return a instanceof
Error};goog.async.Deferred.prototype.hasErrback_=function(){return
module$contents$goog$array_some(this.sequence_,function(a)
{return"function"===typeof a[1]})};goog.async.Deferred.CONVERTED_TO_PROMISE_={};
goog.async.Deferred.prototype.fire_=function()
{this.unhandledErrorId_&&this.fired_&&this.hasErrback_()&&(goog.async.Deferred.unsc
heduleError_(this.unhandledErrorId_),this.unhandledErrorId_=0);this.parent_&&(this.
parent_.branches_--,delete this.parent_);for(var a=this.result_,b=!1,c=!1,d=!
1;this.sequence_.length&&!this.blocked_;){d=!1;var
e=this.sequence_.shift(),f=e[0],g=e[1];e=e[2];if(f=this.hadError_?g:f)try{var
h=f.call(e||
this.defaultScope_,a);h===goog.async.Deferred.CONVERTED_TO_PROMISE_&&(d=
!0,h=void 0);void 0!==h&&(this.hadError_=this.hadError_&&(h==a||
this.isError(h)),this.result_=a=h);if(module$contents$goog$Thenable_Thenable.isImpl
ementedBy(a)||"function"===typeof goog.global.Promise&&a instanceof
goog.global.Promise)this.blocked_=c=!0}catch(k){a=k,this.hadError_=!
0,this.makeStackTraceLong_(a),this.hasErrback_()||(b=!0)}}this.result_=a;c?
(c=goog.bind(this.continue_,this,!0),d=goog.bind(this.continue_,this,!1),a
instanceof goog.async.Deferred?(a.addCallbacks(c,d),a.blocking_=!0):
a.then(c,d)):!goog.async.Deferred.STRICT_ERRORS||d||!this.isError(a)||a instanceof
goog.async.Deferred.CanceledError||(b=this.hadError_=!
0);b&&(this.unhandledErrorId_=goog.async.Deferred.scheduleError_(a))};goog.async.De
ferred.succeed=function(a){var b=new goog.async.Deferred;b.callback(a);return
b};goog.async.Deferred.fromPromise=function(a){var b=new
goog.async.Deferred;a.then(function(c){b.callback(c)},function(c)
{b.errback(c)});return b};
goog.async.Deferred.fail=function(a){var b=new
goog.async.Deferred;b.errback(a);return b};goog.async.Deferred.canceled=function()
{var a=new goog.async.Deferred;a.cancel();return
a};goog.async.Deferred.when=function(a,b,c){return a instanceof
goog.async.Deferred?a.branch(!
0).addCallback(b,c):goog.async.Deferred.succeed(a).addCallback(b,c)};goog.async.Def
erred.AlreadyCalledError=function()
{module$contents$goog$debug$Error_DebugError.call(this)};goog.inherits(goog.async.D
eferred.AlreadyCalledError,module$contents$goog$debug$Error_DebugError);
goog.async.Deferred.AlreadyCalledError.prototype.message="Deferred has already
fired";goog.async.Deferred.AlreadyCalledError.prototype.name="AlreadyCalledError";g
oog.async.Deferred.CanceledError=function()
{module$contents$goog$debug$Error_DebugError.call(this)};goog.inherits(goog.async.D
eferred.CanceledError,module$contents$goog$debug$Error_DebugError);goog.async.Defer
red.CanceledError.prototype.message="Deferred was
canceled";goog.async.Deferred.CanceledError.prototype.name="CanceledError";
goog.async.Deferred.Error_=function(a)
{this.id_=goog.global.setTimeout(goog.bind(this.throwError,this),0);this.error_=a};
goog.async.Deferred.Error_.prototype.throwError=function()
{goog.asserts.assert(goog.async.Deferred.errorMap_[this.id_],"Cannot throw an error
that is not scheduled.");delete
goog.async.Deferred.errorMap_[this.id_];goog.async.Deferred.unhandledErrorHandler_(
this.error_)};goog.async.Deferred.Error_.prototype.resetTimer=function()
{goog.global.clearTimeout(this.id_)};
goog.async.Deferred.errorMap_={};goog.async.Deferred.scheduleError_=function(a)
{a=new goog.async.Deferred.Error_(a);goog.async.Deferred.errorMap_[a.id_]=a;return
a.id_};goog.async.Deferred.unscheduleError_=function(a){var
b=goog.async.Deferred.errorMap_[a];b&&(b.resetTimer(),delete
goog.async.Deferred.errorMap_[a])};goog.async.Deferred.assertNoErrors=function()
{var a=goog.async.Deferred.errorMap_,b;for(b in a){var
c=a[b];c.resetTimer();c.throwError()}};goog.net.jsloader={};goog.net.jsloader.Optio
ns={};goog.net.jsloader.GLOBAL_VERIFY_OBJS_="closure_verification";goog.net.jsloade
r.DEFAULT_TIMEOUT=5E3;goog.net.jsloader.scriptsToLoad_=[];
goog.net.jsloader.safeLoadMany=function(a,b){if(!a.length)return
goog.async.Deferred.succeed(null);var
c=goog.net.jsloader.scriptsToLoad_.length;module$contents$goog$array_extend(goog.ne
t.jsloader.scriptsToLoad_,a);if(c)return
goog.net.jsloader.scriptLoadingDeferred_;a=goog.net.jsloader.scriptsToLoad_;var
d=function(){var
e=a.shift();e=goog.net.jsloader.safeLoad(e,b);a.length&&e.addBoth(d);return
e};goog.net.jsloader.scriptLoadingDeferred_=d();return
goog.net.jsloader.scriptLoadingDeferred_};
goog.net.jsloader.safeLoad=function(a,b){var c=b||{};b=c.document||document;var
d=goog.html.TrustedResourceUrl.unwrap(a),e=(new
goog.dom.DomHelper(b)).createElement(goog.dom.TagName.SCRIPT),f={script_:e,timeout_
:void 0},g=new goog.async.Deferred(goog.net.jsloader.cancel_,f),h=null,k=null!
=c.timeout?
c.timeout:goog.net.jsloader.DEFAULT_TIMEOUT;0<k&&(h=window.setTimeout(function()
{goog.net.jsloader.cleanup_(e,!0);g.errback(new
goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT,"Timeout reached for
loading script "+
d))},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){if(!
e.readyState||"loaded"==e.readyState||"complete"==e.readyState){var
l=c.cleanupWhenDone||!
1;goog.net.jsloader.cleanup_(e,l,h);g.callback(null)}};e.onerror=function()
{goog.net.jsloader.cleanup_(e,!0,h);g.errback(new
goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.LOAD_ERROR,"Error while loading
script "+d))};f=c.attributes||{};module$contents$goog$object_extend(f,{type:"text/
javascript",charset:"UTF-8"});goog.dom.setProperties(e,
f);goog.dom.safe.setScriptSrc(e,a);a=goog.net.jsloader.getScriptParentElement_(b);a
.appendChild(e);return g};
goog.net.jsloader.safeLoadAndVerify=function(a,b,c)
{goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_]||
(goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_]={});var
d=goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_],e=goog.html.TrustedResourceUrl
.unwrap(a);if(void 0!==d[b])return goog.async.Deferred.fail(new
goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS,"V
erification object "+b+" already defined."));a=goog.net.jsloader.safeLoad(a,c);var
f=new goog.async.Deferred(goog.bind(a.cancel,
a));a.addCallback(function(){var g=d[b];void 0!==g?(f.callback(g),delete
d[b]):f.errback(new
goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_ERROR,"Script "+e+"
loaded, but verification object "+b+" was not
defined."))});a.addErrback(function(g){void 0!==d[b]&&delete
d[b];f.errback(g)});return f};goog.net.jsloader.getScriptParentElement_=function(a)
{var b=goog.dom.getElementsByTagName(goog.dom.TagName.HEAD,a);return b&&0!
==b.length?b[0]:a.documentElement};
goog.net.jsloader.cancel_=function(){var a=this;if(a&&a.script_){var
b=a.script_;b&&b.tagName==goog.dom.TagName.SCRIPT&&goog.net.jsloader.cleanup_(b,!
0,a.timeout_)}};goog.net.jsloader.cleanup_=function(a,b,c){null!
=c&&goog.global.clearTimeout(c);a.onload=function(){};a.onerror=function()
{};a.onreadystatechange=function(){};b&&window.setTimeout(function()
{goog.dom.removeNode(a)},0)};goog.net.jsloader.ErrorCode={LOAD_ERROR:0,TIMEOUT:1,VE
RIFY_ERROR:2,VERIFY_OBJECT_ALREADY_EXISTS:3};
goog.net.jsloader.Error=function(a,b){var c="Jsloader error (code
#"+a+")";b&&(c+=":
"+b);module$contents$goog$debug$Error_DebugError.call(this,c);this.code=a};goog.inh
erits(goog.net.jsloader.Error,module$contents$goog$debug$Error_DebugError);var
$jscomp$templatelit$m765779727$9=$jscomp.createTemplateTagFirstArg(["//
apis.google.com/js/api.js"]);ocean.entitypage.EntityPageCommunicationUtil={};
ocean.entitypage.EntityPageCommunicationUtil.setUpCommunicationWithParent=function(
a,b,c)
{ocean.entitypage.EntityPageCommunicationUtil.isInIframe_()&&(goog.net.jsloader.saf
eLoad(ocean.entitypage.EntityPageCommunicationUtil.GAPI_JS_SRC_,
{document:a}).then(function(){var
d=goog.getObjectByName("gapi.load",b);d&&d("gapi.rpc",{callback:function(){return
ocean.entitypage.EntityPageCommunicationUtil.registerCommunicationMethods_(c)},oner
ror:function(){return
goog.log.warning(goog.log.getLogger("ocean.entitypage.EntityPageCommunicationUtil")
,
"Gapi loading has
failed.")},timeout:ocean.entitypage.EntityPageCommunicationUtil.GAPI_LOAD_TIMEOUT_,
ontimeout:function(){return
goog.log.warning(goog.log.getLogger("ocean.entitypage.EntityPageCommunicationUtil")
,"Gapi loading has timed out.")}})}),goog.Timer.callOnce(function()
{ocean.entitypage.EntityPageCommunicationUtil.registerCommunicationMethods_(c)},oce
an.entitypage.EntityPageCommunicationUtil.GAPI_LOAD_TIMEOUT_))};
ocean.entitypage.EntityPageCommunicationUtil.maybePropagateSearchQueryToParent=func
tion(a){var
b={};b.q=a;ocean.entitypage.EntityPageCommunicationUtil.gapiRpcCall_(module$content
s$ocean$entitypage$Constants_Constants.UPDATE_HISTORY_RPC_METHOD,b)};ocean.entitypa
ge.EntityPageCommunicationUtil.propagateOnboardingDismissedEventToParent=function(a
){a?
ocean.entitypage.EntityPageCommunicationUtil.gapiRpcCall_(module$contents$ocean$ent
itypage$Constants_Constants.DISMISS_COMPLETE_ONBOARDING_RPC_METHOD):ocean.entitypag
e.EntityPageCommunicationUtil.gapiRpcCall_(module$contents$ocean$entitypage$Constan
ts_Constants.DISMISS_ONBOARDING_WITHOUT_PLAIN_TEXT_RPC_METHOD)};
ocean.entitypage.EntityPageCommunicationUtil.registerCommunicationMethods_=function
(a){var b=goog.getObjectByName("gapi.rpc.register");"function"===typeof
b&&(b(module$contents$ocean$entitypage$Constants_Constants.HANDSHAKE_RPC_METHOD,fun
ction()
{}),ocean.entitypage.EntityPageCommunicationUtil.propagateCloseEventsToParent_(),oc
ean.entitypage.EntityPageCommunicationUtil.listenForMessagesFromParent_(a))};
ocean.entitypage.EntityPageCommunicationUtil.propagateCloseEventsToParent_=function
(){goog.events.listen(document,goog.events.EventType.KEYDOWN,function(a)
{a.keyCode==goog.events.KeyCodes.ESC&&ocean.entitypage.EntityPageCommunicationUtil.
gapiRpcCall_(module$contents$ocean$entitypage$Constants_Constants.CLOSE_VIEWPORT_RP
C_METHOD)})};
ocean.entitypage.EntityPageCommunicationUtil.listenForMessagesFromParent_=function(
a){var b=goog.getObjectByName("gapi.rpc.register");if("function"===typeof b)for(var
c in
a)b(c,a[c])};ocean.entitypage.EntityPageCommunicationUtil.gapiRpcCall_=function(a,b
){if(ocean.entitypage.EntityPageCommunicationUtil.isInIframe_()){var
c=goog.getObjectByName("gapi.rpc.call");"function"===typeof
c&&c("..",a,null,b)}};ocean.entitypage.EntityPageCommunicationUtil.isInIframe_=func
tion(){try{return window.self!==window.top}catch(a){return!0}};
ocean.entitypage.EntityPageCommunicationUtil.GAPI_JS_SRC_=module$contents$google3$t
hird_party$javascript$safevalues$builders$resource_url_builders_trustedResourceUrl(
$jscomp$templatelit$m765779727$9);ocean.entitypage.EntityPageCommunicationUtil.GAPI
_LOAD_TIMEOUT_=5E3;ocean.info.SearchState=function(a)
{goog.events.EventTarget.call(this);this.setQuery(a||"")};
$jscomp.inherits(ocean.info.SearchState,goog.events.EventTarget);ocean.info.SearchS
tate.prototype.getQuery=function(){return
this.query_};ocean.info.SearchState.prototype.setQuery=function(a){this.query_!
=a&&(this.query_=a,this.dispatchEvent(ocean.info.SearchState.EventType.CHANGE),ocea
n.entitypage.EntityPageCommunicationUtil.maybePropagateSearchQueryToParent(goog.ass
erts.assertExists(a)))};
ocean.info.SearchState.prototype.parseQueryFromPageUrl=function(){var
a=ocean.info.SearchState.parseQueryFromPageUrl();a&&this.setQuery(a)};ocean.info.Se
archState.parseQueryFromPageUrl=function(){return
ocean.info.SearchState.parseQueryFromUrl(window.location.toString())};ocean.info.Se
archState.parseQueryFromUrl=function(a){a=new goog.Uri(a);return
a.getParameterValue("q")||a.getParameterValue("vq")||a.getParameterValue("dq")};
ocean.info.SearchState.parseUserQueryFromPageUrl=function(){var a=new
goog.Uri(window.location.toString());return
a.getParameterValue("q")};ocean.info.SearchState.EventType={CHANGE:"change"};ocean.
viewport.ImageCache=function(a)
{this.images_={};this.viewer_=a};ocean.viewport.ImageCache.prototype.registerUrl=fu
nction(a,b,c){this.images_[a]=this.images_[a]||{};this.images_[a]
[b]=c};ocean.viewport.ImageCache.prototype.getAllImages=function(a){var
b=[];if(this.images_[a]){var c=[],d;for(d in
this.images_[a])c.push(d);module$contents$goog$array_sort(c);for(d=0;d<c.length;d+
+)b.push(this.images_[a][c[d]])}return b};ocean.info.FeedbackState=function()
{};ocean.info.FeedbackState.Flag={BAD_PAGE:1,MISSING_PAGE:2};var
module$contents$ocean$viewport$ViewportManager_ViewportManager=function(a)
{this.viewer_=a;this.viewportDiv_=a.viewportDiv_};module$contents$ocean$viewport$Vi
ewportManager_ViewportManager.prototype.setViewportClass=function(a)
{this.viewport_&&(this.viewport_.dispose(),goog.dom.removeChildren(this.viewer_.get
Viewport().getCanvasDiv()));this.viewport_=new
a(this.viewer_);this.viewport_.goToPage&&this.viewport_.goToPage(this.viewer_.getPa
geInfo());this.viewport_.handlePageChange&&this.viewport_.handlePageChange()};
module$contents$ocean$viewport$ViewportManager_ViewportManager.prototype.getViewpor
t=function(){return
this.viewport_};ocean.viewport.ViewportManager=module$contents$ocean$viewport$Viewp
ortManager_ViewportManager;ocean.viewport.Viewer=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.div_=a;goog.dom.re
moveChildren(a);goog.style.setStyle(a,"overflow","hidden");this.viewportDiv_=goog.d
om.createElement("div");goog.style.setStyle(this.div_,
{position:"relative",padding:"0px"});goog.dom.insertChildAt(this.div_,this.viewport
Div_,0);this.imageCache_=new
ocean.viewport.ImageCache(this);this.commandQueue_=[];this.commandHandlers_=[];this
.registerHandlers();this.pageMode_=OC_PAGE_IMAGE;this.viewportManager_=
new
module$contents$ocean$viewport$ViewportManager_ViewportManager(this);this.controlsD
iv_=this.createOverlayDiv_();this.setSize(goog.style.getContentBoxSize(this.div_));
ocean.viewport.Viewer.viewers_.push(this);this.searchState_=new
ocean.info.SearchState;goog.events.listen(this.searchState_,ocean.info.SearchState.
EventType.CHANGE,this.handleSearchUpdate_,!
1,this)};goog.inherits(ocean.viewport.Viewer,module$contents$ocean$EventManager_Eve
ntManager);ocean.viewport.Viewer.viewers_=[];
ocean.viewport.Viewer.prototype.setSize=function(a){if(goog.DEBUG&&(void
0===a.width||void 0===a.width))throw"Both width and height must be
defined";a.width=Math.max(a.width,0);a.height=Math.max(a.height,0);if(!
this.size_||!goog.math.Size.equals(this.size_,a))
{goog.style.setContentBoxSize(this.viewportDiv_,a);this.size_=a;var
b=this.viewportManager_.getViewport();b&&b.setSize(a);this.dispatchEvent(ocean.view
port.Viewer.EventType.RESIZE)}};ocean.viewport.Viewer.prototype.getSize=function()
{return this.size_};
ocean.viewport.Viewer.prototype.getWidth=function(){return
this.size_.width};ocean.viewport.Viewer.prototype.getHeight=function(){return
this.size_.height};ocean.viewport.Viewer.prototype.go=function()
{this.dispatchEvent("load")};ocean.viewport.Viewer.prototype.createOverlayDiv_=func
tion(){var a=goog.dom.createElement("div");ocean.style.clearExternalStyles(a,!
0);goog.style.setStyle(a,
{position:"absolute",left:"0px",top:"0px"});goog.dom.appendChild(this.div_,a);retur
n a};
ocean.viewport.Viewer.prototype.setViewportClass=function(a){if(goog.DEBUG&&!
this.getPageInfo())throw"Page info should be set before viewport
class";this.viewportClass_!
=a&&(this.viewportClass_=a,this.viewportManager_.setViewportClass(a),this.dispatchE
vent(ocean.viewport.Viewer.EventType.VIEWPORTMODECHANGE))};ocean.viewport.Viewer.pr
ototype.setVolumeInfo=function(a)
{this.volumeInfo_=a};ocean.viewport.Viewer.prototype.getViewport=function(){return
this.viewportManager_.getViewport()};
ocean.viewport.Viewer.prototype.setPageMode=function(a)
{this.pageMode_=a;this.dispatchEvent(ocean.viewport.Viewer.EventType.PAGEMODECHANGE
)};ocean.viewport.Viewer.prototype.togglePageMode=function()
{this.setPageMode(this.pageMode_==OC_PAGE_IMAGE?
OC_PAGE_TEXT:OC_PAGE_IMAGE)};ocean.viewport.Viewer.prototype.getViewportClass=funct
ion(){return this.viewportClass_};ocean.viewport.Viewer.prototype.getDiv=function()
{return this.div_};
ocean.viewport.Viewer.prototype.setPageInfoSet=function(a)
{if(this.pageInfoSet_)throw"";this.pageInfoSet_=a;goog.events.listen(a,ocean.info.P
ageInfoSet.EventType.UPDATE,goog.bind(this.handlePageInfoSetUpdate_,this))};ocean.v
iewport.Viewer.prototype.handlePageInfoSetUpdate_=function()
{this.dispatchEvent(ocean.viewport.Viewer.EventType.PAGESUPDATE)};ocean.viewport.Vi
ewer.prototype.setPageId=function(a,b)
{return(a=this.pageInfoSet_.getPageInfoByPid(a))?(this.setPageInfo(a,b),a):null};
ocean.viewport.Viewer.prototype.setPageInfo=function(a,b){if(this.pageInfo_!=a||
b)this.pageInfo_=a,this.dispatchEvent(ocean.viewport.Viewer.EventType.PAGECHANGE)};
ocean.viewport.Viewer.prototype.goToPageLabel=function(a)
{return(a=this.pageInfoSet_.getPageInfoByTitle(a))?(this.setPageInfo(a),!0):!
1};ocean.viewport.Viewer.prototype.goToPageUrl=function(a){var b=function(c)
{goog.Timer.callOnce(goog.bind(this.setPageInfo,this,c))};this.goToUrlHelper_(a,goo
g.bind(b,this))};
ocean.viewport.Viewer.prototype.goToSearchResultUrl=function(a,b){var c=function(d)
{goog.Timer.callOnce(goog.bind(this.goToSearchResult,this,d,b))};this.goToUrlHelper
_(a,goog.bind(c,this))};ocean.viewport.Viewer.prototype.goToUrlHelper_=function(a,b
){this.pageInfoSet_.fetchPageInfoFromUrl(a,b)};
ocean.viewport.Viewer.prototype.goToSearchResult=function(a,b){var
c=this.viewportManager_.getViewport().layout_;if(c&&c.getLayoutPageByPageInfo&&(c=c
.getLayoutPageByPageInfo(a))){b=b||new goog.math.Coordinate(40,80);var
d=this.searchState_.getQuery();if(!d)return;var
e=a.getSearchHighlightRects(d);if(e)
{this.goToSearchResultHelper_(c,b,e);return}a.fetchServerInfo(goog.bind(this.handle
SearchResultRequest_,this,c,b,d))}this.setPageInfo(a)};
ocean.viewport.Viewer.prototype.handleSearchResultRequest_=function(a,b,c,d)
{(c=d.getSearchHighlightRects(c))&&this.goToSearchResultHelper_(a,b,c)};
ocean.viewport.Viewer.prototype.goToSearchResultHelper_=function(a,b,c)
{if(c&&c.length){for(var d=c[0],e=1;e<c.length;e+
+)d=goog.math.Rect.boundingRect(d,c[e]);c=a.getPageInfo().getPageWidth();c=a.getSiz
e().width/c;d=new
goog.math.Vec2(d.left,d.top);d.scale(c);d.x=Math.round(d.x);d.y=Math.round(d.y);a=g
oog.math.Vec2.fromCoordinate(a.getPosition());a.add(d);a.subtract(b);this.getViewpo
rt().panTo(a)}};ocean.viewport.Viewer.prototype.getPageId=function(){return
this.pageInfo_.getPageId()};
ocean.viewport.Viewer.prototype.getPageInfo=function(){return
this.pageInfo_};ocean.viewport.Viewer.prototype.queueCommand=function(a){for(var
b=[],c=0;c<arguments.length;c+
+)b.push(arguments[c]);this.commandQueue_.push(b);1==this.commandQueue_.length&&thi
s.startCommandQueue()};ocean.viewport.Viewer.prototype.registerCommand=function(a,b
){this.commandHandlers_.push([a,b])};
ocean.viewport.Viewer.prototype.startCommandQueue=function(){var
a=this.commandQueue_.shift();if(a){for(var
b=a.shift(),c=0;c<this.commandHandlers_.length;c++)this.commandHandlers_[c]
[0]==b&&this.commandHandlers_[c][1].apply(this,a);this.startCommandQueue()}};
ocean.viewport.Viewer.prototype.registerHandlers=function(){var
a=this;this.registerCommand(ocean.viewport.Viewer.Commands.NEXT,goog.bind(this.hand
leTurn_,this,1));this.registerCommand(ocean.viewport.Viewer.Commands.PREVIOUS,goog.
bind(this.handleTurn_,this,-
1));this.registerCommand(ocean.viewport.Viewer.Commands.TURN_TO_PAGE,goog.bind(this
.handleTurnToPage_,this));this.registerCommand(ocean.viewport.Viewer.Commands.ZOOM_
IN,goog.bind(this.handleZoomIn_,this));this.registerCommand(ocean.viewport.Viewer.C
ommands.ZOOM_OUT,
goog.bind(this.handleZoomOut_,this));this.registerCommand(ocean.viewport.Viewer.Com
mands.SHOW_KEYBOARD_SHORTCUTS,function()
{a.dispatchEvent(ocean.viewport.Viewer.EventType.KEYBOARDSHORTCUTSOPENED)})};ocean.
viewport.Viewer.prototype.updateBoundingBoxHelper_=function(){var
a=this.viewportManager_.getViewport();if(a.drawBoundingBoxes){var
b=this.getPageInfo();a.drawBoundingBoxes(b)}};ocean.viewport.Viewer.prototype.updat
eBoundingBox=function(){this.updateBoundingBoxHelper_()};
ocean.viewport.Viewer.prototype.handleTurn_=function(a){var
b=this.viewportManager_.getViewport();if(a=b.getPageInfoForTurn?
b.getPageInfoForTurn(this.getPageInfo(),a):this.pageInfoSet_.getPageInfoByOffset(th
is.getPageInfo().getPageId(),a))this.setPageInfo(a),this.updateBoundingBox(),this.d
ispatchEvent(ocean.viewport.Viewer.EventType.PAGE_TURN)};ocean.viewport.Viewer.prot
otype.handleTurnToPage_=function(a)
{if(a=this.pageInfoSet_.getPageInfoByPid(a))this.setPageInfo(a),this.updateBounding
Box()};
ocean.viewport.Viewer.prototype.handleZoomIn_=function(){var
a=this.viewportManager_.getViewport();a.zoomIn&&(a.zoomIn(),this.updateBoundingBox(
));this.dispatchEvent(ocean.viewport.Viewer.EventType.ZOOMCHANGE)};ocean.viewport.V
iewer.prototype.handleZoomOut_=function(){var
a=this.viewportManager_.getViewport();a.zoomOut&&(a.zoomOut(),this.updateBoundingBo
x());this.dispatchEvent(ocean.viewport.Viewer.EventType.ZOOMCHANGE)};ocean.viewport
.Viewer.prototype.handleSearchUpdate_=function()
{this.dispatchEvent(ocean.viewport.Viewer.EventType.SEARCHUPDATE)};
var
OC_PAGE_IMAGE={},OC_PAGE_TEXT={};ocean.viewport.Viewer.Commands={NEXT:"next",PREVIO
US:"previous",TURN_TO_PAGE:"turntopage",ZOOM_IN:"zoomin",ZOOM_OUT:"zoomout",SHOW_KE
YBOARD_SHORTCUTS:"showkeyboardshortcuts"};
ocean.viewport.Viewer.EventType={INTERACTIONMODECHANGE:"interactionmodechange",PAGE
CHANGE:"pagechange",PAGEMODECHANGE:"pagemodechange",PAGE_TURN:"pageturn",PAGESUPDAT
E:"pagesupdate",RESIZE:"resize",SEARCHUPDATE:"searchupdate",VIEWPORTMODECHANGE:"vie
wportmodechange",ZOOMCHANGE:"zoomchange",KEYBOARDSHORTCUTSOPENED:"keyboardshortcuts
opened"};var module$contents$ocean$Flags_Flags={update:function(a){for(var b in
a)module$contents$ocean$Flags_Flags[b]=a[b]},addFlags:function(a)
{if("string"===typeof a)try{a=JSON.parse(a)}catch(c){a=null}for(var b in
a)module$contents$ocean$Flags_Flags.addFlag(b,a[b])},addFlag:function(a,b)
{module$contents$ocean$Flags_Flags[a]=b}};goog.exportSymbol("_OC_addFlags",module$c
ontents$ocean$Flags_Flags.addFlags);ocean.Flags=module$contents$ocean$Flags_Flags;o
cean.util={};ocean.util.Url={};ocean.util.Url.replaceUrlParameter=function(a,b,c)
{c=c.replace(/#.*/g,"");c=new goog.Uri(c);c.setParameterValue(a,b);return
c.toString()};ocean.util.Url.getUrlOnDomain=function(a){if(ocean.util.Url.domain_)
{var b=new goog.Uri(ocean.util.Url.domain_);b.setPath(a);return b.toString()}return
a};ocean.util.Url.setDomain=function(a){ocean.util.Url.domain_=new goog.Uri(a)};
ocean.util.Url.appendLanguagePreference=function(a,b){return
b=b||"fr",ocean.util.Url.replaceUrlParameter("hl",b,a)};ocean.util.Url.getVolumeId=
function(a){a=new goog.Uri(a);var b=a.getPath().split("/");b[0]||b.shift();return
3<b.length?
b[3]:a.getParameterValue("id")||""};ocean.util.Url.getFirstPathComponent=function()
{var a=window.location.pathname.split("/");return
1>a.length?"":a[1]};ocean.info.PageInfo=function(a)
{goog.events.EventTarget.call(this);this.data_={};a&&this.setData(a)};goog.inherits
(ocean.info.PageInfo,goog.events.EventTarget);ocean.info.PageInfo.EventType={UPDATE
:"update"};ocean.info.PageInfo.prototype.getPageWidth=function(){return
this.data_.w||
this.getParent().defaultSize_.width};ocean.info.PageInfo.prototype.getPageHeight=fu
nction(){return this.data_.h||this.getParent().defaultSize_.height};
ocean.info.PageInfo.prototype.getRatio=function(){return
this.getPageWidth()/this.getPageHeight()};ocean.info.PageInfo.prototype.getSize=fun
ction(){return new
goog.math.Size(this.getPageWidth(),this.getPageHeight())};ocean.info.PageInfo.proto
type.setData=function(a){for(var b in
a)this.data_[b]=a[b];this.dispatchEvent(ocean.info.PageInfo.EventType.UPDATE)};ocea
n.info.PageInfo.prototype.setParent=function(a)
{this.pageInfoSet_=a};ocean.info.PageInfo.prototype.getParent=function(){return
this.pageInfoSet_};
ocean.info.PageInfo.prototype.getTitle=function(){return
this.data_.title};ocean.info.PageInfo.prototype.getLabel=function(){var
a=this.getTitle();return a?
module$contents$ocean$msg_getGooglePrintPageNumber(a):""};ocean.info.PageInfo.proto
type.getOrderId=function(){return
this.data_.order};ocean.info.PageInfo.prototype.getSrc=function(a)
{if(this.data_.src&&a){var b=new
goog.Uri(this.data_.src);b.setParameterValue("w",a.width);return
b.toString()}return this.data_.src};
ocean.info.PageInfo.prototype.getSnippetSrc=function(){return
this.data_.snippetSrc};ocean.info.PageInfo.prototype.getPageId=function(){return
this.data_.pid};ocean.util.Image={};
function module$contents$ocean$util$Image_onLoad(a,b,c)
{if(module$contents$goog$labs$userAgent$browser_isAtMost(module$contents$goog$labs$
userAgent$browser_Brand.IE,8)){var
d=[];d[0]=goog.events.listen(a,goog.events.EventType.READYSTATECHANGE,goog.partial(
module$contents$ocean$util$Image_handleReadyStateChange,a,goog.partial(module$conte
nts$ocean$util$Image_asynchronizeCall,b),d))}else
goog.events.listenOnce(a,goog.events.EventType.LOAD,goog.partial(module$contents$oc
ean$util$Image_asynchronizeCall,b));
c&&goog.events.listenOnce(a,goog.events.EventType.ERROR,goog.partial(module$content
s$ocean$util$Image_asynchronizeCall,c))}function
module$contents$ocean$util$Image_asynchronizeCall(a)
{goog.Timer.callOnce(a)}function
module$contents$ocean$util$Image_handleReadyStateChange(a,b,c){if("complete"!
=a.readyState)return!0;goog.events.unlistenByKey(c[0]);b();return!1}var
module$contents$ocean$util$Image_imageDiv=goog.dom.createElement("div");
function module$contents$ocean$util$Image_dispose(a){var
b=module$contents$goog$asserts$dom_assertIsHtmlImageElement(a);b&&(goog.userAgent.I
E?
(goog.dom.appendChild(module$contents$ocean$util$Image_imageDiv,a),a=goog.partial(g
oog.dom.removeNode,b),module$contents$ocean$util$Image_onLoad(b,a,a),b.src="//
www.google.com/images/cleardot.gif"):(b.src="//www.google.com/images/
cleardot.gif",goog.dom.removeNode(b)))}ocean.util.Image.dispose=module$contents$oce
an$util$Image_dispose;
ocean.util.Image.onLoad=module$contents$ocean$util$Image_onLoad;var
module$contents$ocean$viewport$TileImageLayer_TileImageLayer=function(a,b,c,d,e,f,g
)
{goog.events.EventTarget.call(this);this.div_=a;this.width_=b;this.height_=c;this.t
ileWidth_=d;this.tileHeight_=e;this.getUrl_=f;this.tileLoadAction_=g;this.xTiles_=M
ath.ceil(this.width_/this.tileWidth_);this.yTiles_=Math.ceil(this.height_/
this.tileHeight_);this.tiles_=[];for(a=0;a<this.xTiles_;++a)
{b=[];for(c=0;c<this.yTiles_;++c)b.push(null);this.tiles_.push(b)}};
$jscomp.inherits(module$contents$ocean$viewport$TileImageLayer_TileImageLayer,goog.
events.EventTarget);module$contents$ocean$viewport$TileImageLayer_TileImageLayer.pr
ototype.empty=function(){for(var
a;a=this.div_.firstChild;)module$contents$ocean$util$Image_dispose(a)};
module$contents$ocean$viewport$TileImageLayer_TileImageLayer.prototype.loadTiles=fu
nction(a){var
b=Math.floor(a.left/this.tileWidth_),c=Math.floor(a.top/this.tileHeight_),d=Math.ce
il((a.left+a.width)/this.tileWidth_),e=Math.ceil((a.top+a.height)/
this.tileHeight_);d=Math.min(d,this.xTiles_);for(e=Math.min(e,this.yTiles_);b<d;b+
+)for(var f=c;f<e;f++)if(!this.isTilePlaced_(b,f)){var
g=this.getTileImage_(b,f),h=this.getUrl_(b,f);module$contents$ocean$util$Image_onLo
ad(g,goog.bind(this.handleLoad_,this,
g,h),goog.bind(this.handleErrorLoad_,this,g,h));g.src=h}for(b=0;b<this.xTiles_;+
+b)for(f=0;f<this.yTiles_;++f)this.isTilePlaced_(b,f)&&(c=new
goog.math.Rect(b*this.tileWidth_,f*this.tileHeight_,(b+1)*this.tileWidth_,
(f+1)*this.tileHeight_),c.intersects(a)||
(module$contents$ocean$util$Image_dispose(this.tiles_[b][f]),this.tiles_[b]
[f]=null))};module$contents$ocean$viewport$TileImageLayer_TileImageLayer.prototype.
isTilePlaced_=function(a,b){return!!this.tiles_[a][b]};
module$contents$ocean$viewport$TileImageLayer_TileImageLayer.prototype.getTileImage
_=function(a,b){if(!this.isTilePlaced_(a,b)){var
c=goog.dom.createElement(goog.dom.TagName.IMG);goog.style.setStyle(c,
{position:"absolute",left:a*this.tileWidth_+"px",top:b*this.tileHeight_+"px",displa
y:"none"});this.tiles_[a][b]=c;goog.dom.appendChild(this.div_,c)}return
this.tiles_[a][b]};
module$contents$ocean$viewport$TileImageLayer_TileImageLayer.prototype.handleLoad_=
function(a,b){goog.style.setStyle(a,
{display:""});this.tileLoadAction_&&this.tileLoadAction_(b)};module$contents$ocean$
viewport$TileImageLayer_TileImageLayer.prototype.handleErrorLoad_=function()
{};ocean.viewport.TileImageLayer=module$contents$ocean$viewport$TileImageLayer_Tile
ImageLayer;function
module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer()
{}ocean.viewport.LayoutItemRenderer=module$contents$ocean$viewport$LayoutItemRender
er_LayoutItemRenderer;var
module$contents$ocean$info$TilingPageParams_TilingPageParams=function(a)
{this.tileResolutions_={};for(var b=0;b<a.length;b++){var
c=a[b];this.tileResolutions_[c.z]=new
goog.math.Size(c.w,c.h)}};module$contents$ocean$info$TilingPageParams_TilingPagePar
ams.prototype.getZoomLevelForPageHeight=function(a){var
b=module$contents$goog$object_findKey(this.tileResolutions_,function(c){return
c.height==a});return b?Number(b):null};
module$contents$ocean$info$TilingPageParams_TilingPageParams.prototype.getPageWidth
ForZoomLevel=function(a){return(a=this.tileResolutions_[a])?
a.width:null};ocean.info.TilingPageParams=module$contents$ocean$info$TilingPagePara
ms_TilingPageParams;ocean.entitypage.Util={};ocean.entitypage.Util.isSourceEntityPa
ge=function(a){if(a)return a.isEntityPageViewport;a=new
goog.Uri(window.location.href);a=a.getParameterValue(ocean.entitypage.Util.SOURCE_P
ARAM_);return a==ocean.entitypage.Util.ENTITY_PAGE_SOURCE_VALUE_||
a==ocean.entitypage.Util.ENTITY_PAGE_SEARCH_WITHIN_VOLUME_SOURCE_VALUE_};
ocean.entitypage.Util.isOutputTextViewport=function(){var a=new
goog.Uri(window.location.href);a=a.getParameterValue(ocean.entitypage.Util.OUTPUT_P
ARAM_);return(ocean.entitypage.Util.isSourceEntityPage()||
goog.userAgent.MOBILE)&&a==ocean.entitypage.Util.TEXT_OUTPUT_VALUE_};ocean.entitypa
ge.Util.pageLoadedAsToggledViewMode=function(){return"toggled"===(new
goog.Uri(window.location.href)).getFragment()};ocean.entitypage.Util.SOURCE_PARAM_=
"source";ocean.entitypage.Util.ENTITY_PAGE_SOURCE_VALUE_="entity_page";
ocean.entitypage.Util.ENTITY_PAGE_SEARCH_WITHIN_VOLUME_SOURCE_VALUE_="entity_page_g
bs_snippet";ocean.entitypage.Util.OUTPUT_PARAM_="output";ocean.entitypage.Util.TEXT
_OUTPUT_VALUE_="text";ocean.info.ProtoPageInfo=function(a)
{ocean.info.PageInfo.call(this,a);this.serverParameters_={};this.searchHighlightsMa
p_={};this.callbackUrlMap_={};this.newspaperScanjobCoordinates_=this.tilingPagePara
ms_=null};goog.inherits(ocean.info.ProtoPageInfo,ocean.info.PageInfo);ocean.info.Pr
otoPageInfo.JS_INFO_PARAM_="click3";ocean.info.ProtoPageInfo.SOURCE_PARAM_="source"
;ocean.info.ProtoPageInfo.ENTITY_PAGE_SOURCE_VALUE_="entity_page";
ocean.info.ProtoPageInfo.prototype.setData=function(a,b)
{ocean.info.ProtoPageInfo.superClass_.setData.call(this,a);b&&(this.lastFetchedUrl_
=b)};ocean.info.ProtoPageInfo.prototype.fetchServerInfo=function(a)
{this.fetchServerInfoWithUri(this.getFetchUri(),a)};
ocean.info.ProtoPageInfo.prototype.getFetchUri=function(){var
a=this.getPageUri_();a.setParameterValue("jscmd",ocean.info.ProtoPageInfo.JS_INFO_P
ARAM_);var
b;this.searchState_&&(b=this.searchState_.getQuery());this.setServerParameter("vq",
b);module$contents$goog$object_forEach(this.serverParameters_,function(c,d)
{a.setParameterValue(d,c)});return a};
ocean.info.ProtoPageInfo.prototype.fetchServerInfoWithUri=function(a,b)
{a=a.toString();if(a==this.lastFetchedUrl_)b&&b(this);else{if(b){var
c=this.callbackUrlMap_[a]=this.callbackUrlMap_[a]||[];c.push(b)}if(a!
=this.outstandingFetchedUrl_)
{this.outstandingFetchedUrl_=a;this.fetchTimeout_&&goog.global.clearTimeout(this.fe
tchTimeout_);this.fetchTimeout_=goog.global.setTimeout(goog.bind(this.handleFetchTi
meout_,this,a),6E3);var
d;this.searchState_&&(d=this.searchState_.getQuery());ocean.info.ProtoPageInfo.comm
Channel_(a,
goog.bind(this.handleFetch_,this,a,d))}}};ocean.info.ProtoPageInfo.prototype.setSer
verParameter=function(a,b){b?this.serverParameters_[a]=b:delete
this.serverParameters_[a]};ocean.info.ProtoPageInfo.prototype.serverParameters_=nul
l;ocean.info.ProtoPageInfo.setCommChannel=function(a)
{ocean.info.ProtoPageInfo.commChannel_=a};
ocean.info.ProtoPageInfo.prototype.handleFetch_=function(a,b,c)
{this.outstandingFetchedUrl_==a&&(this.outstandingFetchedUrl_=null,this.fetchTimeou
t_&&(goog.global.clearTimeout(this.fetchTimeout_),this.fetchTimeout_=null),this.las
tFetchedUrl_=a,b=c.page,this.setProtoData(b[0]),this.pageInfoSet_.importServerInfo(
c),c=this.callbackUrlMap_[a])&&(module$contents$goog$array_forEach(c,function(d)
{d(this)},this),delete this.callbackUrlMap_[a])};
ocean.info.ProtoPageInfo.prototype.handleFetchTimeout_=function(a)
{this.fetchTimeout_=this.outstandingFetchedUrl_=null;delete
this.callbackUrlMap_[a]};
ocean.info.ProtoPageInfo.prototype.getPageUri_=function(){var a=this.data_.url;a?
a=new goog.Uri(a):(a=new
goog.Uri(this.pageInfoSet_.prefix_),a.setParameterValue("pg",this.getPageId()),this
.getSig()&&a.setParameterValue("sig",this.getSig()));ocean.entitypage.Util.isSource
EntityPage()&&a.setParameterValue(ocean.info.ProtoPageInfo.SOURCE_PARAM_,ocean.info
.ProtoPageInfo.ENTITY_PAGE_SOURCE_VALUE_);return a};
ocean.info.ProtoPageInfo.prototype.getPageImageUri_=function(){var a=new
goog.Uri(this.pageInfoSet_.image_prefix_);a.setParameterValue("pg",this.getPageId()
);this.getSig()&&a.setParameterValue("sig",this.getSig());return
a};ocean.info.ProtoPageInfo.prototype.getPageUrl=function(){return
this.getPageUri_().toString()};ocean.info.ProtoPageInfo.prototype.getPageImageUrl=f
unction(){return this.getPageImageUri_().toString()};
ocean.info.ProtoPageInfo.prototype.getPageWidth=function(){return this.data_.w||
this.getParent().defaultSize_.width};ocean.info.ProtoPageInfo.prototype.getPageHeig
ht=function(){return this.data_.h||
this.getParent().defaultSize_.height};ocean.info.ProtoPageInfo.prototype.getHighlig
htPageWidth=function(){return this.getParent().defaultSize_.width};
ocean.info.ProtoPageInfo.PROTO_TO_PAGEINFO_MAP_={additional_info:"additional_info",
content:"content",feedbackUrl:"uf",flags:"flags",highlights:"highlights",links:"lin
ks",order:"order",pid:"pid",src:"src",snippetSrc:"snippet_src"};
ocean.info.ProtoPageInfo.prototype.setProtoData=function(a){var b={},c;for(c in
ocean.info.ProtoPageInfo.PROTO_TO_PAGEINFO_MAP_){var
d=ocean.info.ProtoPageInfo.PROTO_TO_PAGEINFO_MAP_[c],e=a[d];void 0!
==e&&("highlights"==d?
(d=a.vq,this.searchHighlightsMap_[d]=e):b[c]=e)}b.additional_info&&(c=b.additional_
info["[NewspaperJSONPageInfo]"])&&(this.tilingPageParams_=new
module$contents$ocean$info$TilingPageParams_TilingPageParams(c.tileres),c=c.page_sc
anjob_coordinates)&&(this.newspaperScanjobCoordinates_=
""+c.x+","+c.y);a.vq&&!
b.snippetSrc&&(b.snippetSrc="");this.setData(b)};ocean.info.ProtoPageInfo.prototype
.setSrc=function(a)
{this.setData({src:a})};ocean.info.ProtoPageInfo.prototype.getSig=function(){return
this.data_.sig};ocean.info.ProtoPageInfo.prototype.getContent=function(){return
this.data_.content};ocean.info.ProtoPageInfo.prototype.getUserFeedbackUrl=function(
){return this.data_.feedbackUrl};
ocean.info.ProtoPageInfo.FLAGS={EMPTY_OR_BAD:1,CACHABLE:2,LOGIN:4,RESTRICTED:8,LIMI
T_REACHED:16,FRONT_PAGE:32,BACK_PAGE:64};ocean.info.ProtoPageInfo.prototype.isViewa
ble=function(){return!
this.hasSomeFlags([ocean.info.ProtoPageInfo.FLAGS.LOGIN,ocean.info.ProtoPageInfo.FL
AGS.RESTRICTED,ocean.info.ProtoPageInfo.FLAGS.LIMIT_REACHED])};ocean.info.ProtoPage
Info.prototype.hasFlag=function(a){return!!(this.data_.flags&a)};
ocean.info.ProtoPageInfo.prototype.hasSomeFlags=function(a){return
module$contents$goog$array_some(a,goog.bind(this.hasFlag,this))};ocean.info.ProtoPa
geInfo.prototype.getSearchHighlights_=function(a)
{a=goog.string.htmlEscape(a);a=a.replace(/'/
g,"&#39;");if(a=this.searchHighlightsMap_[a]){var
b=[];module$contents$goog$array_forEach(a,function(c)
{b.push([c.X,c.Y,c.W,c.H])});return b}};
ocean.info.ProtoPageInfo.prototype.getSearchHighlightRects=function(a,b)
{if(a=this.getSearchHighlights_(a))return b=b||
1,module$contents$goog$array_map(a,goog.partial(ocean.info.ProtoPageInfo.getScaledH
ighlightRect_,b))};ocean.info.ProtoPageInfo.getScaledHighlightRect_=function(a,b)
{b=module$contents$goog$array_map(b,function(c){return Math.round(c*a)});return new
goog.math.Rect(b[0],b[1],b[2],b[3])};
ocean.info.ProtoPageInfo.prototype.getLinks=function(){if(this.data_.links)return
module$contents$goog$array_map(this.data_.links,function(a){var
b=a.region,c=a.target_pid;a=a.url;return[b.X,b.Y,b.W,b.H,c,a]})};
ocean.info.ProtoPageInfo.prototype.getClipHighlights=function()
{if(this.data_.clip_highlight||this.data_.clip_highlights){var
a=this.data_.clip_highlights||
[this.data_.clip_highlight],b=[];module$contents$goog$array_forEach(a,function(c)
{var d=[];module$contents$goog$array_forEach(["X","Y","W","H"],function(e)
{d.push(c[e])});b.push(d)});return b}return null};
ocean.info.ProtoPageInfo.prototype.getSrc=function(a){if(this.data_.src&&a){var
b=new
goog.Uri(this.data_.src);a&&module$contents$goog$object_forEach(this.getDimensionMa
p(),function(c,d){"height"==d&&a.height?
b.setParameterValue(c,a.height):"width"==d&&a.width&&b.setParameterValue(c,a.width)
});return b.toString()}return
this.data_.src};ocean.info.ProtoPageInfo.prototype.setSearchState=function(a)
{this.searchState_=a};ocean.info.ProtoPageInfo.prototype.getDimensionMap=function()
{return{width:"w",height:"h"}};function
module$contents$ocean$info$TilingParams_TilingParams(a,b,c,d){this.tileWidth_=a||
module$contents$ocean$info$TilingParams_TilingParams.DEFAULT_TILE_DIMENSION_;this.t
ileHeight_=b||
module$contents$ocean$info$TilingParams_TilingParams.DEFAULT_TILE_DIMENSION_;this.t
ileXWindow_=c||
module$contents$ocean$info$TilingParams_TilingParams.DEFAULT_WINDOW_;this.tileYWind
ow_=d||
module$contents$ocean$info$TilingParams_TilingParams.DEFAULT_WINDOW_;this.uriRewrit
er_=null}
module$contents$ocean$info$TilingParams_TilingParams.DEFAULT_TILE_DIMENSION_=256;mo
dule$contents$ocean$info$TilingParams_TilingParams.DEFAULT_WINDOW_=3;module$content
s$ocean$info$TilingParams_TilingParams.prototype.setUriRewriter=function(a)
{this.uriRewriter_=a};
module$contents$ocean$info$TilingParams_TilingParams.prototype.getTileNumber=functi
on(a,b,c,d){var
e=this.tileXWindow_,f=this.tileYWindow_;a=Math.ceil(a/this.tileWidth_);b=Math.ceil(
b/this.tileHeight_);var g=Math.floor(d/e),h=Math.floor(c/f),k=e*a*g;b-=g*e;d-
=g*e;e=Math.min(e,b);k+=e*f*h;a-=h*f;c-=h*f;f=Math.min(f,a);return k+=d*f+c};
module$contents$ocean$info$TilingParams_TilingParams.prototype.getTileUrl=function(
a,b,c,d,e){b=this.getTileNumber(b,c,d,e);a=new
goog.Uri(a);a.setParameterValue("tid",b);this.uriRewriter_&&(a=this.uriRewriter_(a,
b));return
a.toString()};ocean.info.TilingParams=module$contents$ocean$info$TilingParams_Tilin
gParams;function module$contents$ocean$info$VolumeInfo_VolumeInfo()
{}module$contents$ocean$info$VolumeInfo_VolumeInfo.prototype.getTitle=function()
{return this.title_};var
module$contents$ocean$viewport$DrawableManager_DrawableManager=function()
{this.drawnItemsMap_=new
Map};module$contents$ocean$viewport$DrawableManager_DrawableManager.prototype.add=f
unction(a,b){this.drawnItemsMap_.set(goog.getUid(a),b)};
module$contents$ocean$viewport$DrawableManager_DrawableManager.prototype.cleanupIte
ms=function(a){a=void 0===a?[]:a;a=new Set(a.map(function(e){return
goog.getUid(e)}));for(var
b=$jscomp.makeIterator(this.drawnItemsMap_.keys()),c=b.next();!
c.done;c=b.next())if(c=c.value,!a.has(c)){var
d=this.drawnItemsMap_.get(c);d&&d.cleanup();this.drawnItemsMap_.delete(c)}};module$
contents$ocean$viewport$DrawableManager_DrawableManager.prototype.isDrawn=function(
a){return this.drawnItemsMap_.has(goog.getUid(a))};
ocean.viewport.DrawableManager=module$contents$ocean$viewport$DrawableManager_Drawa
bleManager;var
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher=function()
{this.renderers_={};this.drawableManager_=new
module$contents$ocean$viewport$DrawableManager_DrawableManager};module$contents$oce
an$viewport$LayoutItemDispatcher_LayoutItemDispatcher.prototype.addRenderer=functio
n(a,b)
{this.renderers_[goog.getUid(a)]=b};module$contents$ocean$viewport$LayoutItemDispat
cher_LayoutItemDispatcher.prototype.cleanup=function()
{this.drawableManager_.cleanupItems()};
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher.prototype.
renderItems=function(a){a=module$contents$goog$array_filter(a,function(b){return!!
this.renderers_[goog.getUid(b.constructor)]},this);this.drawableManager_.cleanupIte
ms(a);module$contents$goog$array_forEach(a,function(b)
{this.drawableManager_.isDrawn(b)||
this.drawableManager_.add(b,this.renderers_[goog.getUid(b.constructor)].render(b))}
,this)};ocean.viewport.LayoutItemDispatcher=module$contents$ocean$viewport$LayoutIt
emDispatcher_LayoutItemDispatcher;var
module$contents$ocean$viewport$ZoomStops_ZoomStops=function(a)
{this.zoomStops_=a};module$contents$ocean$viewport$ZoomStops_ZoomStops.prototype.ge
tNewSize=function(a,b,c){c=this.getNewStops_(c);if(0<b)for(b=0;b<c.length;b++)
{if(c[b]>a)return c[b]}else for(b=c.length-1;0<=b;b--)if(c[b]<a)return c[b];return
a};
module$contents$ocean$viewport$ZoomStops_ZoomStops.prototype.getNewStops_=function(
a){var b=a||[];a=module$contents$goog$array_filter(this.zoomStops_,function(c)
{return!module$contents$goog$array_some(b,function(d){return 50>Math.abs(d-
c)})});a.push.apply(a,b);module$contents$goog$array_sort(a);return
a};module$contents$ocean$viewport$ZoomStops_ZoomStops.prototype.getMax=function()
{return
module$contents$goog$array_peek(this.zoomStops_)};ocean.viewport.ZoomStops=module$c
ontents$ocean$viewport$ZoomStops_ZoomStops;function
module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet(a,b)
{ocean.info.PageInfoSet.call(this);this.fetchedPageIds_={};a&&(this.setPrefix(a.pre
fix),this.setImagePrefix(a.image_prefix||
a.prefix),a=module$contents$goog$array_map(a.page,function(c){c=new
this.PAGE_INFO_CONSTRUCTOR(c);b&&c.setSearchState(b);return
c},this),this.setPageInfos(a))}goog.inherits(module$contents$ocean$info$ProtoPageIn
foSet_ProtoPageInfoSet,ocean.info.PageInfoSet);
module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.prototype.importServer
Info=function(a){a=a.page;for(var b=0;b<a.length;b++){var
c=a[b],d=this.getPageInfoByPid(c.pid);d&&d.setProtoData(c)}};module$contents$ocean$
info$ProtoPageInfoSet_ProtoPageInfoSet.prototype.setPrefix=function(a)
{this.prefix_=a};module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.proto
type.setImagePrefix=function(a){this.image_prefix_=a};
module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.prototype.PAGE_INFO_CO
NSTRUCTOR=ocean.info.ProtoPageInfo;module$contents$ocean$info$ProtoPageInfoSet_Prot
oPageInfoSet.prototype.fetchPageInfoFromUrl=function(a,b){new goog.Uri(a);a=new
this.PAGE_INFO_CONSTRUCTOR({url:a});a.setParent(this);a.fetchServerInfo(goog.bind(t
his.handleFetch_,this,b))};
module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.prototype.handleFetch_
=function(a,b){if(!this.getPageInfoByPid(b.getPageId())){var
c=module$contents$goog$array_toArray(this.getPageInfoArray());module$contents$goog$
array_extend(c,b);this.setPageInfos(c)}this.fetchedPageIds_[b.getPageId()]=!
0;a&&a(b)};module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.prototype.i
sFetchedPageInfo=function(a){return!!this.fetchedPageIds_[a.getPageId()]};function
module$contents$ocean$xhr_getJsonObject(a,b,c)
{goog.net.XhrIo.send(a,goog.partial(module$contents$ocean$xhr_handleGetJsonObject,b
,c))}function module$contents$ocean$xhr_handleGetJsonObject(a,b,c)
{c=c.target;c.isSuccess()?a(c.getResponseJson()):b&&b()};var
jspb$={engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackConfigS
tate:
{FEEDBACK_CONFIG_STATE_UNKNOWN:0,FEEDBACK_CONFIG_STATE_DRAFT:1,FEEDBACK_CONFIG_STAT
E_PUBLISHED:2,FEEDBACK_CONFIG_STATE_EXPIRED:3}};jspb$.engage$enums$uservoice$feedba
ck$UserVoiceFeedbackConfigEnums$FeedbackConfigTemplate={FEEDBACK_CONFIG_TEMPLATE_UN
KNOWN:0,FEEDBACK_CONFIG_TEMPLATE_COMMON_INTENT:1,FEEDBACK_CONFIG_TEMPLATE_INTENT_SE
LECTION:2};jspb$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$Feedb
ackIntent={FEEDBACK_INTENT_UNKNOWN:0,FEEDBACK_INTENT_ISSUE:1,FEEDBACK_INTENT_SUGGES
TION:2,FEEDBACK_INTENT_GENERIC:3,FEEDBACK_INTENT_INACCURATE:4,FEEDBACK_INTENT_HATE:
5,FEEDBACK_INTENT_VIOLENCE:6,FEEDBACK_INTENT_FEATURE:7,FEEDBACK_INTENT_OTHER:8,FEED
BACK_INTENT_SEXUAL:9,FEEDBACK_INTENT_PII:10,FEEDBACK_INTENT_LEGAL:11,FEEDBACK_INTEN
T_IRRELEVANT:12};jspb$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums
$FeedbackIntentType={FEEDBACK_INTENT_TYPE_UNKNOWN:0,FEEDBACK_INTENT_TYPE_PRODUCT:1,
FEEDBACK_INTENT_TYPE_CONTENT:2,FEEDBACK_INTENT_TYPE_DEFLECTION:3};jspb$.engage$enum
s$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackLocalizationTextType={FEE
DBACK_LOCALIZATION_TEXT_TYPE_UNKNOWN:0,FEEDBACK_LOCALIZATION_TEXT_TYPE_CUJ_TEXT:1,F
EEDBACK_LOCALIZATION_TEXT_TYPE_ANNOUNCEMENT_MESSAGE:2,FEEDBACK_LOCALIZATION_TEXT_TY
PE_CATEGORY_TEXT:3,FEEDBACK_LOCALIZATION_TEXT_TYPE_DEFLECTION_DISPLAY_NAME:4,FEEDBA
CK_LOCALIZATION_TEXT_TYPE_DEFLECTION_CONTENT_TITLE:5,FEEDBACK_LOCALIZATION_TEXT_TYP
E_DEFLECTION_CONTENT_BODY:6,FEEDBACK_LOCALIZATION_TEXT_TYPE_INTENT_TEXT:7};jspb$.en
gage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackTranslationStatu
s={FEEDBACK_TRANSLATION_STATUS_UNKNOWN:0,FEEDBACK_TRANSLATION_STATUS_IN_PROGRESS:1,
FEEDBACK_TRANSLATION_STATUS_READY:2,FEEDBACK_TRANSLATION_STATUS_NOT_STARTED:3};var
module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE=2020<=goog.FEATURES
ET_YEAR;function module$contents$jspb$binary$utf8_invalid(a,b){if(a)throw
Error("Invalid UTF8");b.push(65533)}function
module$contents$jspb$binary$utf8_codeUnitsToString(a,b)
{b=String.fromCharCode.apply(null,b);return null==a?b:a+b}
var
module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=2020<=goo
g.FEATURESET_YEAR?!0:void
0,module$contents$jspb$binary$utf8_fatalDecoderInstance,module$contents$jspb$binary
$utf8_nonFatalDecoderInstance,module$contents$jspb$binary$utf8_useTextDecoderDecode
=module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||"undefined"!
==typeof
TextDecoder,module$contents$jspb$binary$utf8_textEncoderInstance,module$contents$js
pb$binary$utf8_HAS_WELL_FORMED_METHOD=2023<goog.FEATURESET_YEAR||
"function"===typeof
String.prototype.isWellFormed,module$contents$jspb$binary$utf8_useTextEncoderEncode
=module$contents$jspb$binary$utf8_ASSUME_TEXT_ENCODING_AVAILABLE||"undefined"!
==typeof TextEncoder;
function module$contents$jspb$binary$utf8_encodeUtf8(a,b){b=void 0===b?!1:b;
(0,goog.asserts.assertString)
(a);if(module$contents$jspb$binary$utf8_useTextEncoderEncode)
{if(b&&(b=a,module$contents$jspb$binary$utf8_HAS_WELL_FORMED_METHOD?!
b.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\
uDFFF])/.test(b)))throw Error("Found an unpaired
surrogate");a=(module$contents$jspb$binary$utf8_textEncoderInstance||
(module$contents$jspb$binary$utf8_textEncoderInstance=new
TextEncoder)).encode(a)}else{for(var c=
0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var
f=a.charCodeAt(e);if(128>f)d[c++]=f;else{if(2048>f)d[c++]=f>>6|
192;else{(0,goog.asserts.assert)(65536>f);if(55296<=f&&57343>=f)
{if(56319>=f&&e<a.length){var g=a.charCodeAt(++e);if(56320<=g&&57343>=g){f=1024*(f-
55296)+g-56320+65536;d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c+
+]=f&63|128;continue}else e--}if(b)throw Error("Found an unpaired
surrogate");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|
128}}a=c===d.length?d:
d.subarray(0,c)}return
a};goog.crypt={};goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE=goog.DEBUG;goog.crypt.TE
ST_ONLY={};goog.crypt.TEST_ONLY.throwException=module$contents$goog$async$throwExce
ption_throwException;goog.crypt.TEST_ONLY.alwaysThrowSynchronously=goog.DEBUG;goog.
crypt.binaryStringToByteArray=function(a){return goog.crypt.stringToByteArray(a,!
0)};
goog.crypt.stringToByteArray=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++){var
f=a.charCodeAt(e);if(255<f){var g=Error("go/unicode-to-byte-
error");if(goog.crypt.TEST_ONLY.alwaysThrowSynchronously||b)throw
g;goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE&&goog.crypt.TEST_ONLY.throwException(g)
;c[d++]=f&255;f>>=8}c[d++]=f}return c};goog.crypt.byteArrayToString=function(a)
{return goog.crypt.byteArrayToBinaryString(a)};
goog.crypt.byteArrayToBinaryString=function(a){if(8192>=a.length)return
String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var
d=Array.prototype.slice.call(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}retur
n b};goog.crypt.byteArrayToHex=function(a,b){return
Array.prototype.map.call(a,function(c){c=c.toString(16);return 1<c.length?
c:"0"+c}).join(b||"")};
goog.crypt.hexToByteArray=function(a){goog.asserts.assert(0==a.length%2,"Key string
length must be multiple of 2");for(var
b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substring(c,c+2),16));return
b};goog.crypt.stringToUtf8ByteArray=function(a){return
goog.crypt.textToByteArray(a)};
goog.crypt.textToByteArray=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var
e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:
(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+
((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c+
+]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return
b};goog.crypt.utf8ByteArrayToString=function(a){return
goog.crypt.byteArrayToText(a)};
goog.crypt.byteArrayToText=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c+
+];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d+
+]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var g=a[c+
+],h=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|h&63)-65536;b[d+
+]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+
(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|
g&63)}return b.join("")};
goog.crypt.xorByteArray=function(a,b){goog.asserts.assert(a.length==b.length,"XOR
array lengths must match");for(var c=[],d=0;d<a.length;d++)c.push(a[d]^b[d]);return
c};goog.crypt.base64={};goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNO
PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";goog.crypt.base64.ENCODED_VALS=goo
g.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/
=";goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON
_+"-
_.";goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDIN
G:3,WEBSAFE_NO_PADDING:4};goog.crypt.base64.paddingChars_="=.";
goog.crypt.base64.isPadding_=function(a){return
goog.string.internal.contains(goog.crypt.base64.paddingChars_,a)};goog.crypt.base64
.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_
NATIVE_SUPPORT_=goog.userAgent.GECKO||
goog.userAgent.WEBKIT;goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME
_NATIVE_SUPPORT_||"function"==typeof goog.global.btoa;
goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!
goog.userAgent.product.SAFARI&&"function"==typeof goog.global.atob;
goog.crypt.base64.encodeByteArray=function(a,b)
{goog.asserts.assert(goog.isArrayLike(a),"encodeByteArray takes an array as a
parameter");void
0===b&&(b=goog.crypt.base64.Alphabet.DEFAULT);goog.crypt.base64.init_();var
c=goog.crypt.base64.byteToCharMaps_[b];b=Array(Math.floor(a.length/3));for(var
d=c[64]||"",e=0,f=0;e<a.length-2;e+=3){var
g=a[e],h=a[e+1],k=a[e+2],l=c[g>>2];g=c[(g&3)<<4|h>>4];h=c[(h&15)<<2|
k>>6];k=c[k&63];b[f++]=""+l+g+h+k}k=0;l=d;switch(a.length-e){case
2:k=a[e+1],l=c[(k&15)<<2]||
d;case 1:e=a[e],a=c[e>>2],c=c[(e&3)<<4|k>>4],b[f]=""+a+c+l+d}return
b.join("")};goog.crypt.base64.encodeBinaryString=function(a,b){return
goog.crypt.base64.encodeString(a,b,!
0)};goog.crypt.base64.encodeString=function(a,b,c){return
goog.crypt.base64.HAS_NATIVE_ENCODE_&&!b?
goog.global.btoa(a):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(
a,c),b)};goog.crypt.base64.encodeStringUtf8=function(a,b){return
goog.crypt.base64.encodeText(a,b)};
goog.crypt.base64.encodeText=function(a,b){return
goog.crypt.base64.HAS_NATIVE_ENCODE_&&!b?
goog.global.btoa(unescape(encodeURIComponent(a))):goog.crypt.base64.encodeByteArray
(goog.crypt.stringToUtf8ByteArray(a),b)};goog.crypt.base64.decodeToBinaryString=fun
ction(a,b){function c(e)
{d+=String.fromCharCode(e)}if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!b)return
goog.global.atob(a);var d="";goog.crypt.base64.decodeStringInternal_(a,c);return
d};goog.crypt.base64.decodeString=goog.crypt.base64.decodeToBinaryString;
goog.crypt.base64.decodeStringUtf8=function(a,b){return
goog.crypt.base64.decodeToText(a,b)};goog.crypt.base64.decodeToText=function(a,b)
{return
decodeURIComponent(escape(goog.crypt.base64.decodeString(a,b)))};goog.crypt.base64.
decodeStringToByteArray=function(a){function b(d){c.push(d)}var
c=[];goog.crypt.base64.decodeStringInternal_(a,b);return c};
goog.crypt.base64.decodeStringToUint8Array=function(a){function b(g){e[f++]=g}var
c=a.length,d=3*c/4;d%3?d=Math.floor(d):goog.crypt.base64.isPadding_(a[c-
1])&&(d=goog.crypt.base64.isPadding_(a[c-2])?d-2:d-1);var e=new
Uint8Array(d),f=0;goog.crypt.base64.decodeStringInternal_(a,b);return f!==d?
e.subarray(0,f):e};
goog.crypt.base64.decodeStringInternal_=function(a,b){function c(k)
{for(;d<a.length;){var l=a.charAt(d+
+),m=goog.crypt.base64.charToByteMap_[l];if(null!=m)return m;if(!
goog.string.internal.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at
char: "+l);}return k}goog.crypt.base64.init_();for(var d=0;;){var e=c(-
1),f=c(0),g=c(64),h=c(64);if(64===h&&-1===e)break;e=e<<2|f>>4;b(e);64!
=g&&(f=f<<4&240|g>>2,b(f),64!=h&&(g=g<<6&192|h,b(g)))}};
goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_)
{goog.crypt.base64.charToByteMap_={};for(var
a=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),b=["+/=","+/","-_=","-_.","-
_"],c=0;5>c;c++){var
d=a.concat(b[c].split(""));goog.crypt.base64.byteToCharMaps_[c]=d;for(var
e=0;e<d.length;e++){var f=d[e],g=goog.crypt.base64.charToByteMap_[f];void 0===g?
goog.crypt.base64.charToByteMap_[f]=e:goog.asserts.assert(g===e)}}}};var
module$exports$jspb$internal_bytes={};module$exports$jspb$internal_bytes.SUPPORTS_U
INT8ARRAY=2018<=goog.FEATURESET_YEAR||"undefined"!==typeof Uint8Array;var
module$contents$jspb$internal_bytes_ALWAYS_USE_ATOB_AND_BTOA=2018<=goog.FEATURESET_
YEAR;module$exports$jspb$internal_bytes.HAS_ATOB_BTOA=module$contents$jspb$internal
_bytes_ALWAYS_USE_ATOB_AND_BTOA||!goog.userAgent.IE&&"function"===typeof btoa;
function module$contents$jspb$internal_bytes_encodeByteArray(a){if(!
module$exports$jspb$internal_bytes.HAS_ATOB_BTOA)return
goog.crypt.base64.encodeByteArray(a);for(var b="",c=0,d=a.length-
10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.from
CharCode.apply(null,c?a.subarray(c):a);return btoa(b)}var
module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS=/[-_.]/g,module$contents$j
spb$internal_bytes_websafeReplacer={"-":"+",_:"/",".":"="};
function module$contents$jspb$internal_bytes_replaceWebsafe(a){return
module$contents$jspb$internal_bytes_websafeReplacer[a]||""}
function module$contents$jspb$internal_bytes_decodeByteArray(a){if(!
module$exports$jspb$internal_bytes.HAS_ATOB_BTOA)return
goog.crypt.base64.decodeStringToUint8Array(a);var
b=a;module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS.test(b)&&(b=b.replace(
module$contents$jspb$internal_bytes_WEBSAFE_BASE64_CHARS,module$contents$jspb$inter
nal_bytes_replaceWebsafe));if(goog.DEBUG)try{var c=atob(b)}catch(d){throw
Error("invalid encoding '"+a+"': "+d);}else c=atob(b);a=new
Uint8Array(c.length);for(b=
0;b<c.length;b++)a[b]=c.charCodeAt(b);return a}function
module$contents$jspb$internal_bytes_dataAsU8(a){if(null==a||
module$contents$jspb$internal_bytes_isU8(a))return a;if("string"===typeof a)return
module$contents$jspb$internal_bytes_decodeByteArray(a);(0,goog.asserts.fail)
("Cannot coerce to Uint8Array: "+goog.typeOf(a));return null}function
module$contents$jspb$internal_bytes_isU8(a){return
module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY&&null!=a&&a instanceof
Uint8Array}var module$contents$jspb$internal_bytes_emptyUint8Array_;
function module$contents$jspb$internal_bytes_emptyUint8Array(){return
module$contents$jspb$internal_bytes_emptyUint8Array_||
(module$contents$jspb$internal_bytes_emptyUint8Array_=new Uint8Array(0))}function
module$contents$jspb$internal_bytes_uint8ArrayEquals(a,b){var c=a.length;if(c!
==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!
0}module$exports$jspb$internal_bytes.I_AM_INTERNAL={};
module$exports$jspb$internal_bytes.SUPPORTS_STRUCTURED_CLONE=2022<goog.FEATURESET_Y
EAR||"undefined"!=typeof
structuredClone;module$exports$jspb$internal_bytes.encodeByteArray=module$contents$
jspb$internal_bytes_encodeByteArray;module$exports$jspb$internal_bytes.decodeByteAr
ray=module$contents$jspb$internal_bytes_decodeByteArray;module$exports$jspb$interna
l_bytes.dataAsU8=module$contents$jspb$internal_bytes_dataAsU8;module$exports$jspb$i
nternal_bytes.emptyUint8Array=module$contents$jspb$internal_bytes_emptyUint8Array;
module$exports$jspb$internal_bytes.isU8=module$contents$jspb$internal_bytes_isU8;mo
dule$exports$jspb$internal_bytes.uint8ArrayEquals=module$contents$jspb$internal_byt
es_uint8ArrayEquals;var
module$exports$jspb$bytestring={},module$contents$jspb$bytestring_emptyByteString;f
unction module$contents$jspb$bytestring_checkAllowedCaller(a){if(a!
==module$exports$jspb$internal_bytes.I_AM_INTERNAL)throw Error("illegal external
caller");}
function module$contents$jspb$bytestring_structuredCloneBasedOnMessageChannel(a,b)
{return $jscomp.asyncExecutePromiseGeneratorProgram(function(c){return c.return(new
Promise(function(d,e){var f=new MessageChannel;f.port2.onmessage=function(g)
{d(g.data)};try{f.port1.postMessage(a,b)}catch(g){e(g)}}))})}var
module$contents$jspb$bytestring_structuredClonePonyfill=module$exports$jspb$interna
l_bytes.SUPPORTS_STRUCTURED_CLONE?function(a,b){return
Promise.resolve(structuredClone(a,
{transfer:b}))}:module$contents$jspb$bytestring_structuredCloneBasedOnMessageChanne
l;
module$exports$jspb$bytestring.ByteString=function(a,b)
{module$contents$jspb$bytestring_checkAllowedCaller(b);this.value_=a;if(null!
=a&&0===a.length)throw Error("ByteString should be constructed with non-empty
values");goog.DEBUG&&(this.dontPassByteStringToStructuredClone=module$contents$jspb
$bytestring_dontPassByteStringToStructuredClone)};
module$exports$jspb$bytestring.ByteString.fromBase64=function(a)
{(0,goog.asserts.assertString)(a);return a?new
module$exports$jspb$bytestring.ByteString(a,module$exports$jspb$internal_bytes.I_AM
_INTERNAL):module$exports$jspb$bytestring.ByteString.empty()};
module$exports$jspb$bytestring.ByteString.fromUint8Array=function(a)
{(0,goog.asserts.assert)(a instanceof Uint8Array||Array.isArray(a));return
a.length?new module$exports$jspb$bytestring.ByteString(new
Uint8Array(a),module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$exports$jspb
$bytestring.ByteString.empty()};
module$exports$jspb$bytestring.ByteString.fromTransferredUint8Array=function(a){var
b,c,d;return $jscomp.asyncExecutePromiseGeneratorProgram(function(e)
{if(1==e.nextAddress){(0,goog.asserts.assertInstanceof)(a,Uint8Array);if(!
a.length)return
b=module$exports$jspb$bytestring.ByteString.empty(),e.jumpTo(2);d=c=module$exports$
jspb$bytestring.ByteString;return
e.yield(module$contents$jspb$bytestring_structuredClonePonyfill(a,[a.buffer]),3)}2!
=e.nextAddress&&(b=new
d(e.yieldResult,module$exports$jspb$internal_bytes.I_AM_INTERNAL));
return
e.return(b)})};module$exports$jspb$bytestring.ByteString.fromStringUtf8=function(a)
{(0,goog.asserts.assertString)(a);return a.length?new
module$exports$jspb$bytestring.ByteString(module$contents$jspb$binary$utf8_encodeUt
f8(a,!
0),module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$exports$jspb$bytestring
.ByteString.empty()};
module$exports$jspb$bytestring.ByteString.fromBlob=function(a){var b;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(c)
{if(1==c.nextAddress)return(0,goog.asserts.assertInstanceof)(a,Blob),0===a.size?
c.return(module$exports$jspb$bytestring.ByteString.empty()):c.yield(a.arrayBuffer()
,2);b=c.yieldResult;return c.return(new
module$exports$jspb$bytestring.ByteString(new
Uint8Array(b),module$exports$jspb$internal_bytes.I_AM_INTERNAL))})};
module$exports$jspb$bytestring.ByteString.empty=function(){return
module$contents$jspb$bytestring_emptyByteString||
(module$contents$jspb$bytestring_emptyByteString=new
module$exports$jspb$bytestring.ByteString(null,module$exports$jspb$internal_bytes.I
_AM_INTERNAL))};module$exports$jspb$bytestring.ByteString.prototype.asBase64=functi
on(){var a=this.value_;return null==a?"":"string"===typeof a?
a:this.value_=module$contents$jspb$internal_bytes_encodeByteArray(a)};
module$exports$jspb$bytestring.ByteString.prototype.isEmpty=function(){return
null==this.value_};module$exports$jspb$bytestring.ByteString.prototype.legacyUnwrap
=function(){var a=this.value_||"";return"string"===typeof a?a:new Uint8Array(a)};
module$exports$jspb$bytestring.ByteString.prototype.equalsByteString=function(a)
{(0,goog.asserts.assertInstanceof)
(a,module$exports$jspb$bytestring.ByteString);if(!this.value_||!a.value_||
this.value_===a.value_)return this.value_===a.value_;if("string"===typeof
this.value_&&"string"===typeof a.value_){var
b=this.value_,c=a.value_;a.value_.length>this.value_.length&&(c=this.value_,b=a.val
ue_);if(0!==b.lastIndexOf(c,0))return!1;for(a=c.length;a<b.length;a++)if("="!
==b[a])return!1;return!0}b=(0,goog.asserts.assertExists)
(this.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL));
a=(0,goog.asserts.assertExists)
(a.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL));return
module$contents$jspb$internal_bytes_uint8ArrayEquals(b,a)};module$exports$jspb$byte
string.ByteString.prototype.internalBytesUnsafe=function(a)
{module$contents$jspb$bytestring_checkAllowedCaller(a);a=module$contents$jspb$inter
nal_bytes_dataAsU8(this.value_);return null==a?a:this.value_=a};
module$exports$jspb$bytestring.ByteString.prototype.internalUnwrap=function(a)
{module$contents$jspb$bytestring_checkAllowedCaller(a);return this.value_||""};
module$exports$jspb$bytestring.ByteString.prototype.internalCompareEqualsDoNotUse=f
unction(a){if("string"===typeof
a)a=module$exports$jspb$bytestring.ByteString.fromBase64(a);else if(a instanceof
Uint8Array)a=new
module$exports$jspb$bytestring.ByteString(a,module$exports$jspb$internal_bytes.I_AM
_INTERNAL);else if(!(a instanceof
module$exports$jspb$bytestring.ByteString))return!1;return
this.equalsByteString(a)};function
module$contents$jspb$bytestring_dontPassByteStringToStructuredClone(){};var
module$exports$jspb$BinaryConstants={FieldType:{INVALID:-
1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GRO
UP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT6
4:18},WireType:{INVALID:-
1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5}};function
module$contents$jspb$BinaryConstants_isValidWireType(a){return 0<=a&&5>=a}
function module$contents$jspb$BinaryConstants_FieldTypeToWireType(a){switch(a){case
module$exports$jspb$BinaryConstants.FieldType.INT32:case
module$exports$jspb$BinaryConstants.FieldType.INT64:case
module$exports$jspb$BinaryConstants.FieldType.UINT32:case
module$exports$jspb$BinaryConstants.FieldType.UINT64:case
module$exports$jspb$BinaryConstants.FieldType.SINT32:case
module$exports$jspb$BinaryConstants.FieldType.SINT64:case
module$exports$jspb$BinaryConstants.FieldType.BOOL:case
module$exports$jspb$BinaryConstants.FieldType.ENUM:return
module$exports$jspb$BinaryConstants.WireType.VARINT;case
module$exports$jspb$BinaryConstants.FieldType.DOUBLE:case
module$exports$jspb$BinaryConstants.FieldType.FIXED64:case
module$exports$jspb$BinaryConstants.FieldType.SFIXED64:return
module$exports$jspb$BinaryConstants.WireType.FIXED64;
case module$exports$jspb$BinaryConstants.FieldType.STRING:case
module$exports$jspb$BinaryConstants.FieldType.MESSAGE:case
module$exports$jspb$BinaryConstants.FieldType.BYTES:return
module$exports$jspb$BinaryConstants.WireType.DELIMITED;case
module$exports$jspb$BinaryConstants.FieldType.FLOAT:case
module$exports$jspb$BinaryConstants.FieldType.FIXED32:case
module$exports$jspb$BinaryConstants.FieldType.SFIXED32:return
module$exports$jspb$BinaryConstants.WireType.FIXED32;default:return
module$exports$jspb$BinaryConstants.WireType.INVALID}}
module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER=-
1;module$exports$jspb$BinaryConstants.INVALID_TAG=-
1;module$exports$jspb$BinaryConstants.FLOAT32_EPS=1.401298464324817E-
45;module$exports$jspb$BinaryConstants.FLOAT32_MIN=1.1754943508222875E-
38;module$exports$jspb$BinaryConstants.FLOAT32_MAX=3.4028234663852886E38;module$exp
orts$jspb$BinaryConstants.FLOAT64_EPS=4.9E-
324;module$exports$jspb$BinaryConstants.FLOAT64_MIN=2.2250738585072014E-
308;module$exports$jspb$BinaryConstants.FLOAT64_MAX=1.7976931348623157E308;
module$exports$jspb$BinaryConstants.TWO_TO_20=1048576;module$exports$jspb$BinaryCon
stants.TWO_TO_23=8388608;module$exports$jspb$BinaryConstants.TWO_TO_31=2147483648;m
odule$exports$jspb$BinaryConstants.TWO_TO_32=4294967296;module$exports$jspb$BinaryC
onstants.TWO_TO_52=4503599627370496;module$exports$jspb$BinaryConstants.TWO_TO_63=0
x7fffffffffffffff;module$exports$jspb$BinaryConstants.TWO_TO_64=1.8446744073709552E
19;module$exports$jspb$BinaryConstants.ZERO_HASH="\x00\x00\x00\x00\x00\x00\x00\
x00";
module$exports$jspb$BinaryConstants.MESSAGE_SET_GROUP_NUMBER=1;module$exports$jspb$
BinaryConstants.MESSAGE_SET_TYPE_ID_FIELD_NUMBER=2;module$exports$jspb$BinaryConsta
nts.MESSAGE_SET_MESSAGE_FIELD_NUMBER=3;module$exports$jspb$BinaryConstants.MESSAGE_
SET_MAX_TYPE_ID=4294967294;module$exports$jspb$BinaryConstants.FieldTypeToWireType=
module$contents$jspb$BinaryConstants_FieldTypeToWireType;module$exports$jspb$Binary
Constants.isValidWireType=module$contents$jspb$BinaryConstants_isValidWireType;func
tion module$contents$jspb$binary$errors_invalidWireTypeError(a,b){return
Error("Invalid wire type: "+a+" (at position "+b+")")}function
module$contents$jspb$binary$errors_invalidVarintError(){return Error("Failed to
read varint, encoding is invalid.")}function
module$contents$jspb$binary$errors_readTooFarError(a,b){return Error("Tried to read
past the end of the data "+b+" > "+a)};function
module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(a)
{(0,goog.asserts.assertInstanceof)(a,Uint8Array);return 0==a.length?
module$exports$jspb$bytestring.ByteString.empty():new
module$exports$jspb$bytestring.ByteString(a,module$exports$jspb$internal_bytes.I_AM
_INTERNAL)}
function module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a)
{(0,goog.asserts.assertInstanceof)
(a,module$exports$jspb$bytestring.ByteString);return
a.internalBytesUnsafe(module$exports$jspb$internal_bytes.I_AM_INTERNAL)||
module$contents$jspb$internal_bytes_emptyUint8Array()};function
module$contents$jspb$binary$internal_buffer_bufferFromSource(a)
{if("string"===typeof
a)return{buffer:module$contents$jspb$internal_bytes_decodeByteArray(a),isImmutable:
!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),isImmutable:!
1};if(a.constructor===Uint8Array)return{buffer:a,isImmutable:!
1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),isImmutable:!
1};if(a.constructor===module$exports$jspb$bytestring.ByteString)return{buffer:modul
e$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteString(a),
isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new
Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("Type
not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64
encoded string, a ByteString or an Array of numbers");};var
module$exports$jspb$internal_options={DISABLE_ES6_MAP_SUBCLASSES_FOR_TESTING:!
1};function module$contents$jspb$internal_options_isBigIntAvailable(){return
2021<=goog.FEATURESET_YEAR||"function"===typeof BigInt}function
module$contents$jspb$internal_options_serializeBoolsAsTrueFalse(){return!
1}module$exports$jspb$internal_options.writeLowIndexExtensionsInline=goog.DEBUG;var
module$contents$jspb$internal_options_useDeterministicStructure;
function module$contents$jspb$internal_options_setUseDeterministicStructure(a)
{module$contents$jspb$internal_options_useDeterministicStructure=a}function
module$contents$jspb$internal_options_getUseDeterministicStructure(){return null!
=module$contents$jspb$internal_options_useDeterministicStructure?
module$contents$jspb$internal_options_useDeterministicStructure:!
1}module$exports$jspb$internal_options.CheckLevel={OFF:0,ASYNC_THROW:1,THROW:2};
var
module$contents$jspb$internal_options_typeCheck32BitIntFields=module$exports$jspb$i
nternal_options.CheckLevel.THROW;function
module$contents$jspb$internal_options_getTypeCheck32BitIntFields(){return
module$contents$jspb$internal_options_typeCheck32BitIntFields}function
module$contents$jspb$internal_options_setTypeCheck32BitIntFields(a)
{module$contents$jspb$internal_options_typeCheck32BitIntFields=a}var
module$contents$jspb$internal_options_typeCheck64BitIntFields=goog.DEBUG;
function module$contents$jspb$internal_options_getTypeCheck64BitIntFields(a){return
a||
module$contents$jspb$internal_options_typeCheck64BitIntFields}module$exports$jspb$i
nternal_options.shouldCoerce64BitIntFieldsByJsType=module$contents$jspb$internal_op
tions_getTypeCheck64BitIntFields;module$exports$jspb$internal_options.setShouldCoer
ce64BitIntFieldsByJsType=module$contents$jspb$internal_options_setTypeCheck64BitInt
Fields;
function module$contents$jspb$internal_options_setTypeCheck64BitIntFields(a)
{(0,goog.asserts.assertBoolean)
(a);module$contents$jspb$internal_options_typeCheck64BitIntFields=a}var
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange=!0;function
module$contents$jspb$internal_options_getTypeCheck64BitIntFieldsAreInRange(a)
{return a||module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange}
function
module$contents$jspb$internal_options_setTypeCheck64BitIntFieldsAreInRange(a)
{(0,goog.asserts.assertBoolean)
(a);module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange=a}var
module$contents$jspb$internal_options_asyncThrowIf64BitIntReturnTypeMismatches=!
1;function
module$contents$jspb$internal_options_getAsyncThrowIf64BitIntReturnTypeMismatches()
{return
module$contents$jspb$internal_options_asyncThrowIf64BitIntReturnTypeMismatches}
function
module$contents$jspb$internal_options_setAsyncThrowIf64BitIntReturnTypeMismatches(a
)
{module$contents$jspb$internal_options_asyncThrowIf64BitIntReturnTypeMismatches=a}v
ar module$contents$jspb$internal_options_typeCheckStringFields=!0;function
module$contents$jspb$internal_options_getTypeCheckStringFields(){return
module$contents$jspb$internal_options_typeCheckStringFields}
function module$contents$jspb$internal_options_setTypeCheckStringFields(a)
{(0,goog.asserts.assertBoolean)
(a);module$contents$jspb$internal_options_typeCheckStringFields=a}var
module$contents$jspb$internal_options_typeCheckEnumFields=module$exports$jspb$inter
nal_options.CheckLevel.THROW;function
module$contents$jspb$internal_options_getTypeCheckEnumFields(){return
module$contents$jspb$internal_options_typeCheckEnumFields}
function module$contents$jspb$internal_options_setTypeCheckEnumFields(a)
{module$contents$jspb$internal_options_typeCheckEnumFields=a}module$exports$jspb$in
ternal_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY=goog.DEBUG&&!
1;module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS=!1;var
module$contents$jspb$internal_options_unsafeDisableJspbAnyTypeChecks=module$exports
$jspb$internal_options.UNSAFE_DISABLE_JSPB_CONSTRUCTION_INSTANCEOF_MESSAGE=!1;
function module$contents$jspb$internal_options_getUnsafeDisableJspbAnyTypeChecks()
{return
module$contents$jspb$internal_options_unsafeDisableJspbAnyTypeChecks}function
module$contents$jspb$internal_options_setUnsafeDisableJspbAnyTypeChecks(a)
{(0,goog.asserts.assertBoolean)
(a);module$contents$jspb$internal_options_unsafeDisableJspbAnyTypeChecks=a}function
module$contents$jspb$internal_options_getCheckEqualsConsistentWithHashCode()
{return!1}
function
module$contents$jspb$internal_options_setCheckEqualsConsistentWithHashCode()
{}module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES=goog.DEBUG;var
module$contents$jspb$internal_options_sortMaps=!1;function
module$contents$jspb$internal_options_setSortMaps(a)
{module$contents$jspb$internal_options_sortMaps=a}function
module$contents$jspb$internal_options_getSortMaps(){return
module$contents$jspb$internal_options_sortMaps}
var
module$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation=g
oog.DEBUG;function
module$contents$jspb$internal_options_getCheckEqualsDoesNotChangeWithTypeInformatio
n(){return
module$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation}f
unction
module$contents$jspb$internal_options_setCheckEqualsDoesNotChangeWithTypeInformatio
n(a)
{module$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation=
a}
function
module$contents$jspb$internal_options_withoutCheckingEqualsDoesNotChangeWithTypeInf
ormation(a){var
b=module$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation
;module$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation=
!
1;try{a()}finally{module$contents$jspb$internal_options_checkEqualsDoesNotChangeWit
hTypeInformation=b}}var
module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyArrays=!0;
function
module$contents$jspb$internal_options_getAsyncThrowIfEqualsHingesOnEmptyArrays()
{return
module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyArrays}functio
n module$contents$jspb$internal_options_setAsyncThrowIfEqualsHingesOnEmptyArrays(a)
{module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyArrays=a}
function
module$contents$jspb$internal_options_withoutAsyncThrowingIfEqualsHingesOnEmptyArra
ys(a){var
b=module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyArrays;try{m
odule$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyArrays=!
1,a()}finally{module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmpty
Arrays=b}}function
module$contents$jspb$internal_options_getReadonlyRepeatedArrays(a){return a?!0:!1}
var
module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade=!
0;function
module$contents$jspb$internal_options_getAsyncThrowIfStringTypedInt64FieldDowngrade
(){return
module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade}fu
nction
module$contents$jspb$internal_options_setAsyncThrowIfStringTypedInt64FieldDowngrade
(a)
{module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade=a
}
function
module$contents$jspb$internal_options_withoutAsyncThrowingIfStringTypedInt64FieldDo
wngrade(a){var
b=module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade;
try{return
module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade=!
1,a()}finally{module$contents$jspb$internal_options_asyncThrowIfStringTypedInt64Fie
ldDowngrade=b}}var
module$contents$jspb$internal_options_arrayCheckRepeatedFields=module$exports$jspb$
internal_options.CheckLevel.THROW;
function module$contents$jspb$internal_options_getArrayCheckRepeatedFields(){return
module$contents$jspb$internal_options_arrayCheckRepeatedFields}var
module$contents$jspb$internal_options_ignoreRepeatedFieldSetsOnMessageCtors=goog.fl
ags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE;function
module$contents$jspb$internal_options_getIgnoreRepeatedFieldSetsOnMessageCtors()
{return
module$contents$jspb$internal_options_ignoreRepeatedFieldSetsOnMessageCtors}
function
module$contents$jspb$internal_options_setIgnoreRepeatedFieldSetsOnMessageCtors(a)
{module$contents$jspb$internal_options_ignoreRepeatedFieldSetsOnMessageCtors=a}modu
le$exports$jspb$internal_options.getAsyncThrowIf64BitIntReturnTypeMismatches=module
$contents$jspb$internal_options_getAsyncThrowIf64BitIntReturnTypeMismatches;module$
exports$jspb$internal_options.getAsyncThrowIfEqualsHingesOnEmptyArrays=module$conte
nts$jspb$internal_options_getAsyncThrowIfEqualsHingesOnEmptyArrays;
module$exports$jspb$internal_options.getAsyncThrowIfStringTypedInt64FieldDowngrade=
module$contents$jspb$internal_options_getAsyncThrowIfStringTypedInt64FieldDowngrade
;module$exports$jspb$internal_options.getCheckEqualsDoesNotChangeWithTypeInformatio
n=module$contents$jspb$internal_options_getCheckEqualsDoesNotChangeWithTypeInformat
ion;module$exports$jspb$internal_options.setCheckEqualsDoesNotChangeWithTypeInforma
tion=module$contents$jspb$internal_options_setCheckEqualsDoesNotChangeWithTypeInfor
mation;
module$exports$jspb$internal_options.getCheckEqualsConsistentWithHashCode=module$co
ntents$jspb$internal_options_getCheckEqualsConsistentWithHashCode;module$exports$js
pb$internal_options.getIgnoreRepeatedFieldSetsOnMessageCtors=module$contents$jspb$i
nternal_options_getIgnoreRepeatedFieldSetsOnMessageCtors;module$exports$jspb$intern
al_options.getSortMaps=module$contents$jspb$internal_options_getSortMaps;module$exp
orts$jspb$internal_options.getTypeCheck32BitIntFields=module$contents$jspb$internal
_options_getTypeCheck32BitIntFields;
module$exports$jspb$internal_options.getTypeCheck64BitIntFields=module$contents$jsp
b$internal_options_getTypeCheck64BitIntFields;module$exports$jspb$internal_options.
getTypeCheck64BitIntFieldsAreInRange=module$contents$jspb$internal_options_getTypeC
heck64BitIntFieldsAreInRange;module$exports$jspb$internal_options.getTypeCheckEnumF
ields=module$contents$jspb$internal_options_getTypeCheckEnumFields;module$exports$j
spb$internal_options.getTypeCheckStringFields=module$contents$jspb$internal_options
_getTypeCheckStringFields;
module$exports$jspb$internal_options.getUnsafeDisableJspbAnyTypeChecks=module$conte
nts$jspb$internal_options_getUnsafeDisableJspbAnyTypeChecks;module$exports$jspb$int
ernal_options.getUseDeterministicStructure=module$contents$jspb$internal_options_ge
tUseDeterministicStructure;module$exports$jspb$internal_options.isBigIntAvailable=m
odule$contents$jspb$internal_options_isBigIntAvailable;module$exports$jspb$internal
_options.serializeBoolsAsTrueFalse=module$contents$jspb$internal_options_serializeB
oolsAsTrueFalse;
module$exports$jspb$internal_options.setAsyncThrowIf64BitIntReturnTypeMismatches=mo
dule$contents$jspb$internal_options_setAsyncThrowIf64BitIntReturnTypeMismatches;mod
ule$exports$jspb$internal_options.setAsyncThrowIfEqualsHingesOnEmptyArrays=module$c
ontents$jspb$internal_options_setAsyncThrowIfEqualsHingesOnEmptyArrays;module$expor
ts$jspb$internal_options.setAsyncThrowIfStringTypedInt64FieldDowngrade=module$conte
nts$jspb$internal_options_setAsyncThrowIfStringTypedInt64FieldDowngrade;
module$exports$jspb$internal_options.setCheckEqualsConsistentWithHashCode=module$co
ntents$jspb$internal_options_setCheckEqualsConsistentWithHashCode;module$exports$js
pb$internal_options.setIgnoreRepeatedFieldSetsOnMessageCtors=module$contents$jspb$i
nternal_options_setIgnoreRepeatedFieldSetsOnMessageCtors;module$exports$jspb$intern
al_options.setSortMaps=module$contents$jspb$internal_options_setSortMaps;module$exp
orts$jspb$internal_options.setTypeCheck32BitIntFields=module$contents$jspb$internal
_options_setTypeCheck32BitIntFields;
module$exports$jspb$internal_options.setTypeCheck64BitIntFields=module$contents$jsp
b$internal_options_setTypeCheck64BitIntFields;module$exports$jspb$internal_options.
setTypeCheck64BitIntFieldsAreInRange=module$contents$jspb$internal_options_setTypeC
heck64BitIntFieldsAreInRange;module$exports$jspb$internal_options.setTypeCheckEnumF
ields=module$contents$jspb$internal_options_setTypeCheckEnumFields;module$exports$j
spb$internal_options.setTypeCheckStringFields=module$contents$jspb$internal_options
_setTypeCheckStringFields;
module$exports$jspb$internal_options.setUnsafeDisableJspbAnyTypeChecks=module$conte
nts$jspb$internal_options_setUnsafeDisableJspbAnyTypeChecks;module$exports$jspb$int
ernal_options.setUseDeterministicStructure=module$contents$jspb$internal_options_se
tUseDeterministicStructure;module$exports$jspb$internal_options.withoutAsyncThrowin
gIfEqualsHingesOnEmptyArrays=module$contents$jspb$internal_options_withoutAsyncThro
wingIfEqualsHingesOnEmptyArrays;
module$exports$jspb$internal_options.withoutAsyncThrowingIfStringTypedInt64FieldDow
ngrade=module$contents$jspb$internal_options_withoutAsyncThrowingIfStringTypedInt64
FieldDowngrade;module$exports$jspb$internal_options.withoutCheckingEqualsDoesNotCha
ngeWithTypeInformation=module$contents$jspb$internal_options_withoutCheckingEqualsD
oesNotChangeWithTypeInformation;module$exports$jspb$internal_options.getReadonlyRep
eatedArrays=module$contents$jspb$internal_options_getReadonlyRepeatedArrays;
module$exports$jspb$internal_options.getArrayCheckRepeatedFields=module$contents$js
pb$internal_options_getArrayCheckRepeatedFields;var
module$contents$jspb$utils_SUPPORTS_UINT8ARRAY_SLICING=2018<=goog.FEATURESET_YEAR||
"function"===typeof
Uint8Array.prototype.slice,module$contents$jspb$utils_split64Low=0,module$contents$
jspb$utils_split64High=0,module$contents$jspb$utils_scratchpad;function
module$contents$jspb$utils_splitUint64(a){var
b=a>>>0;a=Math.floor((a-b)/module$exports$jspb$BinaryConstants.TWO_TO_32)>>>0;modul
e$contents$jspb$utils_split64Low=b;module$contents$jspb$utils_split64High=a}
function module$contents$jspb$utils_splitInt64(a){var b=0>a;a=Math.abs(a);var
c=a>>>0;a=Math.floor((a-c)/module$exports$jspb$BinaryConstants.TWO_TO_32);b&&(c=$js
comp.makeIterator(module$contents$jspb$utils_negate(c,a)),b=c.next().value,a=c=c.ne
xt().value,c=b);module$contents$jspb$utils_split64Low=c>>>0;module$contents$jspb$ut
ils_split64High=a>>>0}
function module$contents$jspb$utils_getScratchpad(a){(0,goog.asserts.assert)
(8>=a);return module$contents$jspb$utils_scratchpad||
(module$contents$jspb$utils_scratchpad=new DataView(new ArrayBuffer(8)))}function
module$contents$jspb$utils_joinUint64(a,b){return
b*module$exports$jspb$BinaryConstants.TWO_TO_32+(a>>>0)}function
module$contents$jspb$utils_joinInt64(a,b){var
c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=module$contents$jspb$ut
ils_joinUint64(a,b);return c?-a:a}
function module$contents$jspb$utils_toZigzag64(a,b,c){var d=b>>31;b=(b<<1|
a>>>31)^d;a=a<<1^d;return c(a,b)}function
module$contents$jspb$utils_joinZigzag64(a,b){return
module$contents$jspb$utils_fromZigzag64(a,b,module$contents$jspb$utils_joinInt64)}f
unction module$contents$jspb$utils_fromZigzag64(a,b,c){var d=-(a&1);a=(a>>>1|
b<<31)^d;b=b>>>1^d;return c(a,b)}
function module$contents$jspb$utils_joinUnsignedDecimalString(a,b)
{b>>>=0;a>>>=0;if(2097151>=b)var c=""+
(module$exports$jspb$BinaryConstants.TWO_TO_32*b+a);else
module$contents$jspb$internal_options_isBigIntAvailable()?c=""+
(BigInt(b)<<BigInt(32)|BigInt(a)):(c=a&16777215,a=(a>>>24|
b<<8)&16777215,b=b>>16&65535,c=c+6777216*a+6710656*b,a+=8147497*b,b*=2,1E7<=c&&(a+=
Math.floor(c/1E7),c%=1E7),1E7<=a&&(b+=Math.floor(a/1E7),a%=1E7),
(0,goog.asserts.assert)
(b),c=b+module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(a)+
module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(c));return c}function
module$contents$jspb$utils_decimalFrom1e7WithLeadingZeros(a)
{a=String(a);return"0000000".slice(a.length)+a}
function module$contents$jspb$utils_joinSignedDecimalString(a,b){var
c=b&2147483648;c?module$contents$jspb$internal_options_isBigIntAvailable()?b=""+
(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):
(a=$jscomp.makeIterator(module$contents$jspb$utils_negate(a,b)),b=a.next().value,c=
a.next().value,a=b,b=c,b="-"+module$contents$jspb$utils_joinUnsignedDecimalString(a
,b)):b=module$contents$jspb$utils_joinUnsignedDecimalString(a,b);return b}
function module$contents$jspb$utils_joinSignedNumberOrDecimalString(a,b){var
c=module$contents$jspb$utils_joinInt64(a,b);return Number.isSafeInteger(c)?
c:module$contents$jspb$utils_joinSignedDecimalString(a,b)}function
module$contents$jspb$utils_joinUnsignedNumberOrDecimalString(a,b){b>>>=0;var
c=module$contents$jspb$utils_joinUint64(a,b);return Number.isSafeInteger(c)?
c:module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}
function module$contents$jspb$utils_splitDecimalString(a){(0,goog.asserts.assert)
(0<a.length);if(16>a.length)module$contents$jspb$utils_splitInt64(Number(a));else
if(module$contents$jspb$internal_options_isBigIntAvailable())a=BigInt(a),module$con
tents$jspb$utils_split64Low=Number(a&BigInt(4294967295))>>>0,module$contents$jspb$u
tils_split64High=Number(a>>BigInt(32)&BigInt(4294967295));else{(0,goog.asserts.asse
rt)(0<a.length);var b=+
("-"===a[0]);module$contents$jspb$utils_split64High=module$contents$jspb$utils_spli
t64Low=
0;for(var c=a.length,d=0+b,e=(c-b)
%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),module$contents$jspb$utils_split64High*=1
E6,module$contents$jspb$utils_split64Low=1E6*module$contents$jspb$utils_split64Low+
d,module$contents$jspb$utils_split64Low>=module$exports$jspb$BinaryConstants.TWO_TO
_32&&(module$contents$jspb$utils_split64High+=Math.trunc(module$contents$jspb$utils
_split64Low/
module$exports$jspb$BinaryConstants.TWO_TO_32),module$contents$jspb$utils_split64Hi
gh>>>=0,module$contents$jspb$utils_split64Low>>>=
0);b&&(b=$jscomp.makeIterator(module$contents$jspb$utils_negate(module$contents$jsp
b$utils_split64Low,module$contents$jspb$utils_split64High)),a=b.next().value,b=b.ne
xt().value,module$contents$jspb$utils_split64Low=a,module$contents$jspb$utils_split
64High=b)}}function module$contents$jspb$utils_negate(a,b){b=~b;a?
a=~a+1:b+=1;return[a,b]};var
module$exports$jspb$binary$decoder={BinaryDecoder:function(a,b,c,d)
{this.bytes_=null;this.bytesAreImmutable_=!
1;module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null
);this.cursor_=this.end_=this.start_=0;this.init(a,b,c,d)}};module$exports$jspb$bin
ary$decoder.BinaryDecoder.prototype.init=function(a,b,c,d){d=void 0===d?
{}:d;this.aliasBytesFields=d=void 0===d.aliasBytesFields?!
1:d.aliasBytesFields;a&&this.setBlock(a,b,c)};
module$exports$jspb$binary$decoder.BinaryDecoder.alloc=function(a,b,c,d)
{if(module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.length){var
e=module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.pop();e.init(a,b,
c,d);return e}return new
module$exports$jspb$binary$decoder.BinaryDecoder(a,b,c,d)};module$exports$jspb$bina
ry$decoder.BinaryDecoder.prototype.free=function()
{this.clear();100>module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.l
ength&&module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.push(this)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.clear=function()
{this.bytes_=null;this.bytesAreImmutable_=!
1;module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=null
);this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setBlock=function(a,b,c)
{a=module$contents$jspb$binary$internal_buffer_bufferFromSource(a);this.bytes_=a.bu
ffer;this.bytesAreImmutable_=a.isImmutable;module$contents$jspb$binary$decoder_ASSU
ME_DATAVIEW_IS_FAST&&(this.dataView_=null);this.start_=b||0;this.end_=void 0!==c?
this.start_+c:this.bytes_.length;this.cursor_=this.start_};module$exports$jspb$bina
ry$decoder.BinaryDecoder.prototype.getEnd=function(){return this.end_};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setEnd=function(a)
{this.end_=a};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.reset=func
tion()
{this.cursor_=this.start_};module$exports$jspb$binary$decoder.BinaryDecoder.prototy
pe.getCursor=function(){return
this.cursor_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setCursor=
function(a)
{this.cursor_=a};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.advance
=function(a){a=this.cursor_+a;this.setCursorAndCheck(a)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.atEnd=function(){return
this.cursor_==this.end_};module$exports$jspb$binary$decoder.BinaryDecoder.readSplit
Varint64=function(a,b){var c=0,d=0,e=0,f=a.bytes_,g=a.cursor_;do{var h=f[g++];c|
=(h&127)<<e;e+=7}while(32>e&&h&128);32<e&&(d|
=(h&127)>>4);for(e=3;32>e&&h&128;e+=7)h=f[g++],d|
=(h&127)<<e;a.setCursorAndCheck(g);if(128>h)return b(c>>>0,d>>>0);throw
module$contents$jspb$binary$errors_invalidVarintError();};
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitZigzagVarint64=function(a
,b){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,function(c,d)
{return
module$contents$jspb$utils_fromZigzag64(c,d,b)})};module$exports$jspb$binary$decode
r.BinaryDecoder.readSplitFixed64=function(a,b){var
c=a.bytes_,d=a.cursor_;a.advance(8);for(var e=a=0,f=d+7;f>=d;f--)a=a<<8|
c[f],e=e<<8|c[f+4];return
b(a,e)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.skipVarint=funct
ion(){module$exports$jspb$binary$decoder.BinaryDecoder.readBool(this)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setCursorAndCheck=functi
on(a){this.cursor_=a;if(a>this.end_)throw
module$contents$jspb$binary$errors_readTooFarError(this.end_,a);};
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint32=function(a){var
b=a.bytes_,c=a.cursor_,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|
=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|
=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c+
+]&128&&b[c++]&128&&b[c++]&128)))))throw
module$contents$jspb$binary$errors_invalidVarintError();a.setCursorAndCheck(c);retu
rn e};
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32=function(a)
{return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint32(a)>>>0};module$
exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint32=function(a)
{a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(a);var b=-
(a&1);return a=a>>>1^b};
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint64=function(a)
{return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinUint64)};module$exports$jspb$binary$decoder.BinaryDecoder.readUnsi
gnedVarint64String=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinUnsignedDecimalString)};
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint64NumberOrString
=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinUnsignedNumberOrDecimalString)};module$exports$jspb$binary$decoder
.BinaryDecoder.readSignedVarint64=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinInt64)};
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint64String=function(
a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinSignedDecimalString)};module$exports$jspb$binary$decoder.BinaryDec
oder.readSignedVarint64NumberOrString=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinSignedNumberOrDecimalString)};
module$exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint64=function(a)
{return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(a,module$content
s$jspb$utils_joinZigzag64)};module$exports$jspb$binary$decoder.BinaryDecoder.readZi
gzagVarint64String=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitZigzagVarint64(a,module$c
ontents$jspb$utils_joinSignedDecimalString)};
module$exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint64NumberOrString=f
unction(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitZigzagVarint64(a,module$c
ontents$jspb$utils_joinSignedNumberOrDecimalString)};module$exports$jspb$binary$dec
oder.BinaryDecoder.readUint8=function(a){var
b=a.bytes_[a.cursor_+0];a.advance(1);return b};
module$exports$jspb$binary$decoder.BinaryDecoder.readUint16=function(a){var
b=a.bytes_[a.cursor_+0],c=a.bytes_[a.cursor_+1];a.advance(2);return b<<0|
c<<8};module$exports$jspb$binary$decoder.BinaryDecoder.readUint32=function(a){var
b=a.bytes_,c=a.cursor_,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0
|e<<8|f<<16|b<<24)>>>0};
module$exports$jspb$binary$decoder.BinaryDecoder.readUint64=function(a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinUint64(b,a)};
module$exports$jspb$binary$decoder.BinaryDecoder.readUint64String=function(a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinUnsignedDecimalString(b,a)};
module$exports$jspb$binary$decoder.BinaryDecoder.readUint64NumberOrString=function(
a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinUnsignedNumberOrDecimalString(b,a)};module$exports$j
spb$binary$decoder.BinaryDecoder.readInt8=function(a){var
b=a.bytes_[a.cursor_+0];a.advance(1);return b<<24>>24};
module$exports$jspb$binary$decoder.BinaryDecoder.readInt16=function(a){var
b=a.bytes_[a.cursor_+0],c=a.bytes_[a.cursor_+1];a.advance(2);return(b<<0|
c<<8)<<16>>16};module$exports$jspb$binary$decoder.BinaryDecoder.readInt32=function(
a){var
b=a.bytes_,c=a.cursor_,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return
d<<0|e<<8|f<<16|b<<24};
module$exports$jspb$binary$decoder.BinaryDecoder.readInt64=function(a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinInt64(b,a)};
module$exports$jspb$binary$decoder.BinaryDecoder.readInt64String=function(a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinSignedDecimalString(b,a)};
module$exports$jspb$binary$decoder.BinaryDecoder.readInt64NumberOrString=function(a
){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=module$exports$j
spb$binary$decoder.BinaryDecoder.readUint32(a);return
module$contents$jspb$utils_joinSignedNumberOrDecimalString(b,a)};
module$exports$jspb$binary$decoder.BinaryDecoder.readFloat=function(a){var
b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=2*(b>>31)+1;var
c=b>>>23&255;b&=8388607;return a=255==c?b?NaN:Infinity*a:0==c?a*Math.pow(2,-
149)*b:a*Math.pow(2,c-150)*(b+Math.pow(2,23))};
module$exports$jspb$binary$decoder.BinaryDecoder.readDouble=function(a)
{if(module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST){var
b=a.getDataView().getFloat64(a.cursor_,!0);a.advance(8);return
b}b=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);var
c=module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(a);a=2*(c>>31)+1;var
d=c>>>20&2047;b=module$exports$jspb$BinaryConstants.TWO_TO_32*(c&1048575)+b;return
b=2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,
d-1075)*(b+module$exports$jspb$BinaryConstants.TWO_TO_52)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readDoubleArrayInto=func
tion(a,b){var c=this.cursor_,d=8*a;if(c+d>this.end_)throw
module$contents$jspb$binary$errors_readTooFarError(d,this.end_-c);var
e=this.bytes_;c+=e.byteOffset;if(module$contents$jspb$binary$decoder_ASSUME_DATAVIE
W_IS_FAST)for(this.cursor_+=d,a=new DataView(e.buffer,c,d),d=0;;)
{e=d+8;if(e>a.byteLength)break;b.push(a.getFloat64(d,!0));d=e}else{var f;void
0===module$contents$jspb$binary$decoder_isLittleEndianCache&&(module$contents$jspb$
binary$decoder_isLittleEndianCache=
513==(new Uint16Array((new Uint8Array([1,2])).buffer))
[0]);if(f=goog.asserts.assertBoolean(module$contents$jspb$binary$decoder_isLittleEn
dianCache))for(this.cursor_+=d,a=new
Float64Array(e.buffer.slice(c,c+d)),d=0;d<a.length;d++)b.push(a[d]);else
for(d=0;d<a;d+
+)b.push(module$exports$jspb$binary$decoder.BinaryDecoder.readDouble(this))}};
module$exports$jspb$binary$decoder.BinaryDecoder.readBool=function(a){for(var
b=0,c=a.cursor_,d=c+10,e=a.bytes_;c<d;){var f=e[c++];b|=f;if(0===(f&128))return
a.setCursorAndCheck(c),!!(b&127)}throw
module$contents$jspb$binary$errors_invalidVarintError();};module$exports$jspb$binar
y$decoder.BinaryDecoder.readEnum=function(a){return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint32(a)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.checkReadLengthAndAdvanc
e=function(a){if(0>a)throw Error("Tried to read a negative byte length: "+a);var
b=this.cursor_,c=b+a;if(c>this.end_)throw
module$contents$jspb$binary$errors_readTooFarError(a,this.end_-
b);this.cursor_=c;return b};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readString=function(a,b)
{var
c=this.checkReadLengthAndAdvance(a),d=goog.asserts.assert(this.bytes_);if(module$co
ntents$jspb$binary$utf8_useTextDecoderDecode){var e=d;var f=c;b?
(c=module$contents$jspb$binary$utf8_fatalDecoderInstance)||
(c=module$contents$jspb$binary$utf8_fatalDecoderInstance=new TextDecoder("utf-8",
{fatal:!0})):(c=module$contents$jspb$binary$utf8_nonFatalDecoderInstance)||
(c=module$contents$jspb$binary$utf8_nonFatalDecoderInstance=
new TextDecoder("utf-8",{fatal:!1}));d=f;f+=a;e=0===d&&f===e.length?
e:e.subarray(d,f);try{var g=c.decode(e)}catch(m){if(f=b){if(void
0===module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_)
{try{c.decode(new Uint8Array([128]))}catch(n){}try{c.decode(new
Uint8Array([97])),module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterT
hrowing_=!0}catch(n)
{module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_=!
1}}f=module$contents$jspb$binary$utf8_isFatalTextDecoderCachableAfterThrowing_;
f=!f}f&&(module$contents$jspb$binary$utf8_fatalDecoderInstance=void 0);throw
m;}}else{g=d;d=a;a=c;c=a+d;d=[];for(var h=null,k,l;a<c;)k=g[a++],128>k?
d.push(k):224>k?a>=c?module$contents$jspb$binary$utf8_invalid(b,d):(l=g[a+
+],194>k||128!==(l&192)?(a--,module$contents$jspb$binary$utf8_invalid(b,d)):
(k=(k&31)<<6|l&63,(0,goog.asserts.assert)(128<=k&&2047>=k),d.push(k))):240>k?a>=c-
1?module$contents$jspb$binary$utf8_invalid(b,d):(l=g[a++],128!==(l&192)||
224===k&&160>l||237===k&&160<=l||128!==((f=g[a++])&
192)?(a--,module$contents$jspb$binary$utf8_invalid(b,d)):(k=(k&15)<<12|(l&63)<<6|
f&63,(0,goog.asserts.assert)(2048<=k&&65535>=k),(0,goog.asserts.assert)(55296>k||
57343<k),d.push(k))):244>=k?a>=c-2?module$contents$jspb$binary$utf8_invalid(b,d):
(l=g[a++],128!==(l&192)||0!==(k<<28)+(l-144)>>30||128!==((f=g[a++])&192)||128!
==((e=g[a++])&192)?(a--,module$contents$jspb$binary$utf8_invalid(b,d)):
(l=(k&7)<<18|(l&63)<<12|(f&63)<<6|e&63,(0,goog.asserts.assert)
(65536<=l&&1114111>=l),l-=65536,k=(l&1023)+56320,
l=(l>>10&1023)+55296,d.push(l,k))):module$contents$jspb$binary$utf8_invalid(b,d),81
92<=d.length&&(h=module$contents$jspb$binary$utf8_codeUnitsToString(h,d),d.length=0
);(0,goog.asserts.assert)(a===c,"expected "+a+" ===
"+c);g=module$contents$jspb$binary$utf8_codeUnitsToString(h,d)}return f=g};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readByteString=function(
a){if(0==a)return module$exports$jspb$bytestring.ByteString.empty();var
b=this.checkReadLengthAndAdvance(a);if(this.aliasBytesFields&&this.bytesAreImmutabl
e_)var c=this.bytes_.subarray(b,b+a);else{c=goog.asserts.assert(this.bytes_);var
d=b;a=b+a;c=d===a?
module$contents$jspb$internal_bytes_emptyUint8Array():module$contents$jspb$utils_SU
PPORTS_UINT8ARRAY_SLICING?c.slice(d,a):new Uint8Array(c.subarray(d,a))}return
module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(c)};
module$exports$jspb$binary$decoder.BinaryDecoder.prototype.getDataView=function()
{var a=this.dataView_;a||(a=this.bytes_,a=this.dataView_=new
DataView(a.buffer,a.byteOffset,a.byteLength));return
a};module$exports$jspb$binary$decoder.BinaryDecoder.resetInstanceCache=function()
{module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_=[]};module$exports
$jspb$binary$decoder.BinaryDecoder.getInstanceCache=function(){return
module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_};
module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_=[];var
module$contents$jspb$binary$decoder_isLittleEndianCache=void
0,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST=2019<=goog.FEATURESET
_YEAR;var module$exports$jspb$binary$reader={};goog.asserts.assert(!
0);module$exports$jspb$binary$reader.UTF8_PARSING_ERRORS_ARE_FATAL=!
0;module$exports$jspb$binary$reader.BinaryReaderOptions=function(){};
module$exports$jspb$binary$reader.BinaryReader=function(a,b,c,d)
{this.decoder_=module$exports$jspb$binary$decoder.BinaryDecoder.alloc(a,b,c,d);this
.fieldCursor_=this.decoder_.getCursor();this.nextField_=module$exports$jspb$BinaryC
onstants.INVALID_FIELD_NUMBER;this.nextTag_=module$exports$jspb$BinaryConstants.INV
ALID_TAG;this.nextWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID;th
is.setOptions(d)};
module$exports$jspb$binary$reader.BinaryReader.prototype.setOptions=function(a)
{a=void 0===a?{}:a;this.discardUnknownFields=a=void 0===a.discardUnknownFields?!
1:a.discardUnknownFields};
module$exports$jspb$binary$reader.BinaryReader.alloc=function(a,b,c,d)
{if(module$exports$jspb$binary$reader.BinaryReader.instanceCache_.length){var
e=module$exports$jspb$binary$reader.BinaryReader.instanceCache_.pop();e.setOptions(
d);e.decoder_.init(a,b,c,d);return e}return new
module$exports$jspb$binary$reader.BinaryReader(a,b,c,d)};
module$exports$jspb$binary$reader.BinaryReader.prototype.free=function()
{this.decoder_.clear();this.nextTag_=module$exports$jspb$BinaryConstants.INVALID_TA
G;this.nextField_=module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER;this.nex
tWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID;100>module$exports$
jspb$binary$reader.BinaryReader.instanceCache_.length&&module$exports$jspb$binary$r
eader.BinaryReader.instanceCache_.push(this)};
module$exports$jspb$binary$reader.BinaryReader.prototype.getCursor=function()
{return
this.decoder_.getCursor()};module$exports$jspb$binary$reader.BinaryReader.prototype
.isEndGroup=function(){return
this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.END_GROUP};module$
exports$jspb$binary$reader.BinaryReader.prototype.isDelimited=function(){return
this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED};
module$exports$jspb$binary$reader.BinaryReader.prototype.reset=function()
{this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextTag_=mo
dule$exports$jspb$BinaryConstants.INVALID_TAG;this.nextField_=module$exports$jspb$B
inaryConstants.INVALID_FIELD_NUMBER;this.nextWireType_=module$exports$jspb$BinaryCo
nstants.WireType.INVALID};module$exports$jspb$binary$reader.BinaryReader.prototype.
advance=function(a){this.decoder_.advance(a)};
module$exports$jspb$binary$reader.BinaryReader.prototype.nextField=function()
{if(this.decoder_.atEnd())return!
1;this.assertPriorFieldWasRead();this.fieldCursor_=this.decoder_.getCursor();var
a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decode
r_),b=a>>>3,c=a&7;if(!module$contents$jspb$BinaryConstants_isValidWireType(c))throw
module$contents$jspb$binary$errors_invalidWireTypeError(c,this.fieldCursor_);if(1>b
)throw Error("Invalid field number: "+b+" (at position "+this.fieldCursor_+
")");this.nextTag_=a;this.nextField_=b;this.nextWireType_=c;return!0};
module$exports$jspb$binary$reader.BinaryReader.prototype.assertPriorFieldWasRead=fu
nction(){if(goog.asserts.ENABLE_ASSERTS&&this.nextTag_!
==module$exports$jspb$BinaryConstants.INVALID_TAG){var
a=this.decoder_.getCursor();this.decoder_.setCursor(this.fieldCursor_);module$expor
ts$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decoder_);this.nextW
ireType_===module$exports$jspb$BinaryConstants.WireType.END_GROUP||
this.nextWireType_===module$exports$jspb$BinaryConstants.WireType.START_GROUP?
goog.asserts.assert(a===this.decoder_.getCursor(),"Expected to not advance the
cursor. Group tags do not have
values."):goog.asserts.assert(a>this.decoder_.getCursor(),"Expected to read the
field, did you forget to call a read or skip
method?");this.decoder_.setCursor(a)}};
module$exports$jspb$binary$reader.BinaryReader.prototype.skipVarintField=function()
{this.nextWireType_!=module$exports$jspb$BinaryConstants.WireType.VARINT?
(goog.asserts.fail("Invalid wire type for
skipVarintField"),this.skipField()):this.decoder_.skipVarint()};
module$exports$jspb$binary$reader.BinaryReader.prototype.skipDelimitedField=functio
n(){if(this.nextWireType_!
=module$exports$jspb$BinaryConstants.WireType.DELIMITED)return
goog.asserts.fail("Invalid wire type for
skipDelimitedField"),this.skipField(),0;var
a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decode
r_);this.decoder_.advance(a);return a};
module$exports$jspb$binary$reader.BinaryReader.prototype.skipFixed32Field=function(
)
{goog.asserts.assert(this.nextWireType_===module$exports$jspb$BinaryConstants.WireT
ype.FIXED32);this.decoder_.advance(4)};module$exports$jspb$binary$reader.BinaryRead
er.prototype.skipFixed64Field=function()
{goog.asserts.assert(this.nextWireType_===module$exports$jspb$BinaryConstants.WireT
ype.FIXED64);this.decoder_.advance(8)};
module$exports$jspb$binary$reader.BinaryReader.prototype.skipGroup=function(){var
a=this.nextField_;do{if(!this.nextField())throw Error("Unmatched start-group tag:
stream
EOF");if(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.END_GROUP
){if(this.nextField_!=a)throw Error("Unmatched end-group
tag");break}this.skipField()}while(1)};
module$exports$jspb$binary$reader.BinaryReader.prototype.skipField=function()
{switch(this.nextWireType_){case
module$exports$jspb$BinaryConstants.WireType.VARINT:this.skipVarintField();break;ca
se
module$exports$jspb$BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;
case
module$exports$jspb$BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();br
eak;case
module$exports$jspb$BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;
case module$exports$jspb$BinaryConstants.WireType.START_GROUP:this.skipGroup();
break;default:throw
module$contents$jspb$binary$errors_invalidWireTypeError(this.nextWireType_,this.fie
ldCursor_);}};module$exports$jspb$binary$reader.BinaryReader.prototype.skipToEnd=fu
nction()
{this.decoder_.setCursor(this.decoder_.getEnd())};module$exports$jspb$binary$reader
.BinaryReader.prototype.readUnknownField=function(){var
a=this.fieldCursor_;this.skipField();return this.readUnknownFieldsStartingFrom(a)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readUnknownFieldsStartingF
rom=function(a){if(!this.discardUnknownFields){var b=this.decoder_.getCursor(),c=b-
a;this.decoder_.setCursor(a);a=this.decoder_.readByteString(c);goog.asserts.assert(
b==this.decoder_.getCursor());return a}};
module$exports$jspb$binary$reader.BinaryReader.prototype.readMessage=function(a,b,c
,d,e)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.DELIMITED);var
f=this.decoder_.getEnd(),g=module$exports$jspb$binary$decoder.BinaryDecoder.readUns
ignedVarint32(this.decoder_),h=this.decoder_.getCursor()+g,k=h-
f;0>=k&&(this.decoder_.setEnd(h),b(a,this,c,d,e),k=h-
this.decoder_.getCursor());if(k)throw Error("Message parsing ended unexpectedly.
Expected to read "+(g+" bytes, instead read "+
(g-k)+" bytes, either the data ended unexpectedly or the message misreported its
own length"));this.decoder_.setCursor(h);this.decoder_.setEnd(f);return a};
module$exports$jspb$binary$reader.BinaryReader.prototype.readGroup=function(a,b,c)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.START_GROUP);goog.asserts.assert(this.nextField_==a);c(b,this);if(this.nextWireT
ype_!==module$exports$jspb$BinaryConstants.WireType.END_GROUP)throw Error("Group
submessage did not end with an END_GROUP tag");if(this.nextField_!==a)throw
Error("Unmatched end-group tag");return b};
module$exports$jspb$binary$reader.BinaryReader.prototype.isMessageSetGroup=function
(){return
this.nextTag_===module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG};
module$exports$jspb$binary$reader.BinaryReader.prototype.readMessageSetGroup=functi
on(a){goog.asserts.assert(this.isMessageSetGroup());for(var
b=0,c=0;this.nextField()&&!this.isEndGroup();)this.nextTag_!
==module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG||b?this.nextTag_!
==module$contents$jspb$binary$reader_MESSAGE_SET_MESSAGE_TAG||c?this.skipField():b?
(c=-1,this.readMessage(b,a)):(c=this.fieldCursor_,this.skipDelimitedField()):
(b=this.readUint32(),c&&(goog.asserts.assert(0<c),goog.asserts.ENABLE_ASSERTS&&
(this.nextTag_=module$exports$jspb$BinaryConstants.INVALID_TAG,this.nextWireType_=m
odule$exports$jspb$BinaryConstants.WireType.INVALID),this.decoder_.setCursor(c),c=0
));if(this.nextTag_!==module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG||!c||!
b)throw Error("Malformed binary bytes for message
set");};module$exports$jspb$binary$reader.BinaryReader.prototype.readInt32=function
()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint32(this.decoder_)}
;
module$exports$jspb$binary$reader.BinaryReader.prototype.readInt64=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint64(this.decoder_)}
;module$exports$jspb$binary$reader.BinaryReader.prototype.readInt64String=function(
)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint64String(this.deco
der_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readInt64NumberOrString=fu
nction()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint64NumberOrString(t
his.decoder_)};module$exports$jspb$binary$reader.BinaryReader.prototype.readUint32=
function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decoder_
)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readUint64=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint64(this.decoder_
)};module$exports$jspb$binary$reader.BinaryReader.prototype.readUint64String=functi
on()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint64String(this.de
coder_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readUint64NumberOrString=f
unction()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint64NumberOrString
(this.decoder_)};module$exports$jspb$binary$reader.BinaryReader.prototype.readSint3
2=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint32(this.decoder_)}
;
module$exports$jspb$binary$reader.BinaryReader.prototype.readSint64=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint64(this.decoder_)}
;module$exports$jspb$binary$reader.BinaryReader.prototype.readSint64String=function
()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readZigzagVarint64String(this.deco
der_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readFixed32=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED32);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUint32(this.decoder_)};module$
exports$jspb$binary$reader.BinaryReader.prototype.readFixed64=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUint64(this.decoder_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readFixed64String=function
()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUint64String(this.decoder_)};m
odule$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed32=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED32);return
module$exports$jspb$binary$decoder.BinaryDecoder.readInt32(this.decoder_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed64=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readInt64(this.decoder_)};module$e
xports$jspb$binary$reader.BinaryReader.prototype.readSfixed64String=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readInt64String(this.decoder_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readFloat=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED32);return
module$exports$jspb$binary$decoder.BinaryDecoder.readFloat(this.decoder_)};module$e
xports$jspb$binary$reader.BinaryReader.prototype.readDouble=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readDouble(this.decoder_)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readBool=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readBool(this.decoder_)};module$ex
ports$jspb$binary$reader.BinaryReader.prototype.readEnum=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSignedVarint32(this.decoder_)}
;
module$exports$jspb$binary$reader.BinaryReader.prototype.readString=function()
{if(module$exports$jspb$binary$reader.UTF8_PARSING_ERRORS_ARE_FATAL)return
this.readStringRequireUtf8();goog.asserts.assert(this.nextWireType_==module$exports
$jspb$BinaryConstants.WireType.DELIMITED);var
a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decode
r_);return this.decoder_.readString(a,!1)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readStringRequireUtf8=func
tion()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.DELIMITED);var
a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decode
r_);return this.decoder_.readString(a,!0)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readByteString=function()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.DELIMITED);var
a=module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decode
r_);return this.decoder_.readByteString(a)};
module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitVarint64=function
(a)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(this.decoder_,a)
};
module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitZigzagVarint64=fu
nction(a)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.VARINT);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitVarint64(this.decoder_,fu
nction(b,c){return module$contents$jspb$utils_fromZigzag64(b,c,a)})};
module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitFixed64=function(
a)
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.FIXED64);return
module$exports$jspb$binary$decoder.BinaryDecoder.readSplitFixed64(this.decoder_,a)}
;module$exports$jspb$binary$reader.BinaryReader.prototype.readPackedFieldInto_=func
tion(a,b){var c=this.readPackedFieldLength_();for(c=this.decoder_.getCursor()
+c;this.decoder_.getCursor()<c;)b.push(a(this.decoder_))};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackedFieldLength_=fun
ction()
{goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireTy
pe.DELIMITED);return
module$exports$jspb$binary$decoder.BinaryDecoder.readUnsignedVarint32(this.decoder_
)};module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableInt32Into=f
unction(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readSign
edVarint32,a):a.push(this.readInt32())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableInt64Into=func
tion(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readSign
edVarint64,a):a.push(this.readInt64())};module$exports$jspb$binary$reader.BinaryRea
der.prototype.readPackableInt64StringInto=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readSign
edVarint64String,a):a.push(this.readInt64String())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableUint32Into=fun
ction(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUnsi
gnedVarint32,a):a.push(this.readUint32())};module$exports$jspb$binary$reader.Binary
Reader.prototype.readPackableUint64Into=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUnsi
gnedVarint64,a):a.push(this.readUint64())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableUint64StringIn
to=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUnsi
gnedVarint64String,a):a.push(this.readUint64String())};module$exports$jspb$binary$r
eader.BinaryReader.prototype.readPackableSint32Into=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readZigz
agVarint32,a):a.push(this.readSint32())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableSint64Into=fun
ction(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readZigz
agVarint64,a):a.push(this.readSint64())};module$exports$jspb$binary$reader.BinaryRe
ader.prototype.readPackableSint64StringInto=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readZigz
agVarint64String,a):a.push(this.readSint64String())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableFixed32Into=fu
nction(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUint
32,a):a.push(this.readFixed32())};module$exports$jspb$binary$reader.BinaryReader.pr
ototype.readPackableFixed64Into=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUint
64,a):a.push(this.readFixed64())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableFixed64StringI
nto=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readUint
64String,a):a.push(this.readFixed64String())};module$exports$jspb$binary$reader.Bin
aryReader.prototype.readPackableSfixed32Into=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readInt3
2,a):a.push(this.readSfixed32())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableSfixed64Into=f
unction(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readInt6
4,a):a.push(this.readSfixed64())};module$exports$jspb$binary$reader.BinaryReader.pr
ototype.readPackableSfixed64StringInto=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readInt6
4String,a):a.push(this.readSfixed64String())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableFloatInto=func
tion(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readFloa
t,a):a.push(this.readFloat())};module$exports$jspb$binary$reader.BinaryReader.proto
type.readPackableDoubleInto=function(a){this.isDelimited()?
this.decoder_.readDoubleArrayInto(this.readPackedFieldLength_()/
8,a):a.push(this.readDouble())};
module$exports$jspb$binary$reader.BinaryReader.prototype.readPackableBoolInto=funct
ion(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readBool
,a):a.push(this.readBool())};module$exports$jspb$binary$reader.BinaryReader.prototy
pe.readPackableEnumInto=function(a){this.isDelimited()?
this.readPackedFieldInto_(module$exports$jspb$binary$decoder.BinaryDecoder.readEnum
,a):a.push(this.readEnum())};
module$exports$jspb$binary$reader.BinaryReader.resetInstanceCache=function()
{module$exports$jspb$binary$reader.BinaryReader.instanceCache_=[]};module$exports$j
spb$binary$reader.BinaryReader.getInstanceCache=function(){return
module$exports$jspb$binary$reader.BinaryReader.instanceCache_};module$exports$jspb$
binary$reader.BinaryReader.instanceCache_=[];
var
module$contents$jspb$binary$reader_MESSAGE_SET_START_GROUP_TAG=8*module$exports$jsp
b$BinaryConstants.MESSAGE_SET_GROUP_NUMBER+module$exports$jspb$BinaryConstants.Wire
Type.START_GROUP,module$contents$jspb$binary$reader_MESSAGE_SET_TYPE_ID_TAG=8*modul
e$exports$jspb$BinaryConstants.MESSAGE_SET_TYPE_ID_FIELD_NUMBER+module$exports$jspb
$BinaryConstants.WireType.VARINT,module$contents$jspb$binary$reader_MESSAGE_SET_MES
SAGE_TAG=8*module$exports$jspb$BinaryConstants.MESSAGE_SET_MESSAGE_FIELD_NUMBER+mod
ule$exports$jspb$BinaryConstants.WireType.DELIMITED,
module$contents$jspb$binary$reader_MESSAGE_SET_END_TAG=8*module$exports$jspb$Binary
Constants.MESSAGE_SET_GROUP_NUMBER+module$exports$jspb$BinaryConstants.WireType.END
_GROUP;var jspb={extension_field_info:
{}},module$contents$jspb$extension_field_info_ExtensionFieldInfo=function(a,b,c,d,e
,f,g,h,k,l,m,n){n=void 0===n?!1:n;(0,goog.asserts.assert)
(0<a);this.fieldIndex=a;goog.asserts.ENABLE_ASSERTS&&(this.extendeeCtor=b);this.cto
r=c;this.isRepeated=d;this.getExtensionFn=e;this.defaultValue=m;this.isDelegating=n
};jspb.extension_field_info.ExtensionFieldInfo=module$contents$jspb$extension_field
_info_ExtensionFieldInfo;var
JSCompiler_temp$jscomp$562;if(module$exports$jspb$internal_options.DETAILED_JSPB_AS
SERTS){if(!module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS)throw
Error();JSCompiler_temp$jscomp$562={newArray:0,slice:0,getField:0,setField:0,constr
uctMessage:0,constructMap:0,copyMessageWithImmutableFields:0,internalCompareFields:
0}}else JSCompiler_temp$jscomp$562=void 0;
var
module$contents$jspb$internal_operations_currentLog=JSCompiler_temp$jscomp$562,modu
le$contents$jspb$internal_operations_shouldLogOperations=!0;function
module$contents$jspb$internal_operations_logOperation(a)
{if(module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jsp
b$internal_operations_shouldLogOperations)for(var b in
a)module$contents$jspb$internal_operations_currentLog[b]
+=(0,goog.asserts.assertNumber)(a[b])}
function module$contents$jspb$internal_operations_slice(a)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({slice:1});return
Array.prototype.slice.call(a)}function
module$contents$jspb$internal_operations_logNewArray(a)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({newArray:1});return a}
function module$contents$jspb$internal_operations_withoutLogging(a){if(!
module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS)return a();var b=!!
module$contents$jspb$internal_operations_shouldLogOperations;try{return
module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&(module$contents$jspb$i
nternal_operations_shouldLogOperations=!
1),a()}finally{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&(module$
contents$jspb$internal_operations_shouldLogOperations=b)}};var
module$exports$jspb$internal_symbols={};function
module$contents$jspb$internal_symbols_createSymbol(a,b){return
2018<=goog.FEATURESET_YEAR||"function"===typeof Symbol&&"symbol"===typeof Symbol()?
goog.DEBUG?
Symbol(a):Symbol():b}module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL=module
$contents$jspb$internal_symbols_createSymbol("INTERNAL_ARRAY_STATE",void 0);
module$exports$jspb$internal_symbols.DEFAULT_IMMUTABLE_INSTANCE_SYMBOL=module$conte
nts$jspb$internal_symbols_createSymbol("defaultInstance","0di");module$exports$jspb
$internal_symbols.DUPLICATED_EXTENSION_SYMBOL=module$contents$jspb$internal_symbols
_createSymbol("DUPLICATED_EXTENSION_SYMBOL","2ex");module$exports$jspb$internal_sym
bols.RETURNED_64BIT_INT_VALUE_MISMATCH_SYMBOL=module$contents$jspb$internal_symbols
_createSymbol("RETURNED_64BIT_INT_VALUE_MISMATCH","64im");
module$exports$jspb$internal_symbols.STRING_TYPE_DOWNGRADES_SYMBOL=module$contents$
jspb$internal_symbols_createSymbol("STRING_TYPE_DOWNGRADES","0dg");var
module$exports$jspb$internal_array_state={DEFAULT_ARRAY_STATE:0,ArrayStateFlags:
{IS_REPEATED_FIELD:1,IS_IMMUTABLE_ARRAY:2,IS_API_FORMATTED:4,ONLY_MUTABLE_VALUES:8,
ONLY_IMMUTABLE_VALUES_IF_OWNED:16,MUTABLE_REFERENCES_ARE_OWNED:32,CONSTRUCTED:64,TR
ANSFERRED:128,HAS_SPARSE_OBJECT:256,HAS_MESSAGE_ID:512,IS_IMMUTABLE_JS_REPEATED_FIE
LD_COERCED_FROM_WIRE:1024,FROZEN_ARRAY:2048,STRING_FORMATTED:4096,GBIGINT_FORMATTED
:8192}};goog.asserts.assert(13===Math.round(Math.log2(Math.max.apply(Math,
$jscomp.arrayFromIterable(Object.values(module$exports$jspb$internal_array_state.Ar
rayStateFlags))))));
module$exports$jspb$internal_array_state.PIVOT_LIMIT=1024;
var
module$contents$jspb$internal_array_state_PIVOT_MASK=module$exports$jspb$internal_a
rray_state.PIVOT_LIMIT-
1,module$contents$jspb$internal_array_state_ALL_FLAGS=module$exports$jspb$internal_
array_state.ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED|module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.TRANSFERRED|
module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT|
module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_JS_REPEATED_F
IELD_COERCED_FROM_WIRE|
module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY|
module$contents$jspb$internal_array_state_PIVOT_MASK<<14;function
module$contents$jspb$internal_array_state_assertValidFlags(a)
{goog.asserts.assert((a&module$contents$jspb$internal_array_state_ALL_FLAGS)==a)}
module$exports$jspb$internal_array_state.addArrayStateFlags=2018<=goog.FEATURESET_Y
EAR||module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL?function(a,b)
{module$contents$jspb$internal_array_state_assertValidFlags(b);goog.asserts.assertA
rray(a,"state is only maintained on arrays.");return
a[module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL]|=b}:function(a,b)
{module$contents$jspb$internal_array_state_assertValidFlags(b);goog.asserts.assertA
rray(a,"state is only maintained on arrays.");var c=
a;if(void 0!==c.internalArrayState)return c.internalArrayState|
=b;Object.defineProperties(a,{internalArrayState:{value:b,configurable:!
0,writable:!0,enumerable:!1}});return b};function
module$contents$jspb$internal_array_state_addFlagsOnPossiblyFrozenArray(a,b){var
c=(0,module$exports$jspb$internal_array_state.getArrayState)(a);(c&b)!
==b&&(Object.isFrozen(a)&&(a=module$contents$jspb$internal_operations_slice(a)),
(0,module$exports$jspb$internal_array_state.setArrayState)(a,c|b));return a}
module$exports$jspb$internal_array_state.clearFlags=2018<=goog.FEATURESET_YEAR||
module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL?function(a,b)
{module$contents$jspb$internal_array_state_assertValidFlags(b);goog.asserts.assertA
rray(a,"state is only maintained on arrays.");return
a[module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL]&=~b}:function(a,b)
{module$contents$jspb$internal_array_state_assertValidFlags(b);goog.asserts.assertA
rray(a,"state is only maintained on arrays.");return void 0!==
a.internalArrayState?a.internalArrayState&=~b:0};function
module$contents$jspb$internal_array_state_hasFlagBit(a,b){return!!(b&a)}function
module$contents$jspb$internal_array_state_setFlagBitTo(a,b,c){return c?a|
b:a&~b}function module$contents$jspb$internal_array_state_setFlagBit(a,b){return
module$contents$jspb$internal_array_state_setFlagBitTo(a,b,!0)}function
module$contents$jspb$internal_array_state_clearFlagBit(a,b){return
module$contents$jspb$internal_array_state_setFlagBitTo(a,b,!1)}
if(goog.DEBUG){var
prev$jscomp$1=Object.getOwnPropertyDescriptor(Array.prototype,"jspbArrayState");Obj
ect.defineProperties(Array.prototype,{jspbArrayState:{get:function(){function
a(e,f){e&b&&c.push(f)}var
b=(0,module$exports$jspb$internal_array_state.getArrayState)
(this),c=[];a(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_
FIELD,"IS_REPEATED_FIELD");a(module$exports$jspb$internal_array_state.ArrayStateFla
gs.IS_IMMUTABLE_ARRAY,"IS_IMMUTABLE_ARRAY");a(module$exports$jspb$internal_array_st
ate.ArrayStateFlags.IS_API_FORMATTED,
"IS_API_FORMATTED");a(module$exports$jspb$internal_array_state.ArrayStateFlags.STRI
NG_FORMATTED,"STRING_FORMATTED");a(module$exports$jspb$internal_array_state.ArraySt
ateFlags.GBIGINT_FORMATTED,"GBIGINT_FORMATTED");a(module$exports$jspb$internal_arra
y_state.ArrayStateFlags.ONLY_MUTABLE_VALUES,"ONLY_MUTABLE_VALUES");a(module$exports
$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWNED,"MUTABLE_RE
FERENCES_ARE_OWNED");a(module$exports$jspb$internal_array_state.ArrayStateFlags.CON
STRUCTED,
"CONSTRUCTED");a(module$exports$jspb$internal_array_state.ArrayStateFlags.TRANSFERR
ED,"TRANSFERRED");a(module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SP
ARSE_OBJECT,"HAS_SPARSE_OBJECT");a(module$exports$jspb$internal_array_state.ArraySt
ateFlags.HAS_MESSAGE_ID,"HAS_MESSAGE_ID");a(module$exports$jspb$internal_array_stat
e.ArrayStateFlags.FROZEN_ARRAY,"FROZEN_ARRAY");var
d=module$contents$jspb$internal_array_state_getPivot(b);d!
==module$exports$jspb$internal_array_state.NO_PIVOT&&c.push("pivot: "+
d);d=c.join(",");return prev$jscomp$1?prev$jscomp$1.get.call(this)
+"|"+d:d},configurable:!0,enumerable:!1}})}
module$exports$jspb$internal_array_state.getArrayState=2018<=goog.FEATURESET_YEAR||
module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL?function(a)
{goog.asserts.assertArray(a,"state is only maintained on arrays.");return
a[module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL]|0}:function(a)
{goog.asserts.assertArray(a,"state is only maintained on arrays.");return
a.internalArrayState|0};
function module$contents$jspb$internal_array_state_checkMessageStateInvariants(a,b)
{goog.asserts.assert(b&module$exports$jspb$internal_array_state.ArrayStateFlags.CON
STRUCTED,"state for messages must be
constructed");goog.asserts.assert(0===(b&(module$exports$jspb$internal_array_state.
ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED)),"state
for messages should not contain repeated field state");var
c=module$contents$jspb$internal_array_state_getPivot(b),
d=module$contents$jspb$internal_array_state_getArrayIndexOffset(b),e=a.length;goog.
asserts.assert(c+d>=e-1,"pivot %s is pointing at an index earlier than the last
index of the array, length:
%s",c,e);b&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID&
&goog.asserts.assert("string"===typeof a[0],"arrays with a message_id bit must have
a string in the first position, got: %s",a[0]);b=!!
(b&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT);a=e?
a[e-1]:void 0;
a=null!=a&&"object"===typeof
a&&a.constructor===Object;goog.asserts.assert(a===b,"arraystate and array disagree
on sparseObject presence")}
module$exports$jspb$internal_array_state.getMessageArrayState=2018<=goog.FEATURESET
_YEAR||module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL?function(a)
{goog.asserts.assertArray(a,"state is only maintained on arrays.");var
b=a[module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL];goog.asserts.ENABLE_AS
SERTS&&module$contents$jspb$internal_array_state_checkMessageStateInvariants(a,b);r
eturn b}:function(a){goog.asserts.assertArray(a,"state is only maintained on
arrays.");var b=a.internalArrayState;
goog.asserts.ENABLE_ASSERTS&&module$contents$jspb$internal_array_state_checkMessage
StateInvariants(a,b);return b};
module$exports$jspb$internal_array_state.setArrayState=2018<=goog.FEATURESET_YEAR||
module$exports$jspb$internal_symbols.ARRAY_STATE_SYMBOL?function(a,b)
{goog.asserts.assertArray(a,"state is only maintained on
arrays.");module$contents$jspb$internal_array_state_assertValidFlags(b);a[module$ex
ports$jspb$internal_symbols.ARRAY_STATE_SYMBOL]=b;return a}:function(a,b)
{goog.asserts.assertArray(a,"state is only maintained on
arrays.");module$contents$jspb$internal_array_state_assertValidFlags(b);var c=a;
void 0!==c.internalArrayState?c.internalArrayState=b:Object.defineProperties(a,
{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});return
a};function
module$contents$jspb$internal_array_state_setStateOnPossiblyFrozenArray(a,b)
{Object.isFrozen(a)&&(a=module$contents$jspb$internal_operations_slice(a));return(0
,module$exports$jspb$internal_array_state.setArrayState)(a,b)}
function module$contents$jspb$internal_array_state_isRepeatedField(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD)}func
tion module$contents$jspb$internal_array_state_markRepeatedField(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD);retu
rn a}
module$exports$jspb$internal_array_state.TypeSpecificApiFormat={LEGACY:0,STRING:mod
ule$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED,GBIGINT:modu
le$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED};
function module$contents$jspb$internal_array_state_markApiFormattedField(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD);return
a}
function
module$contents$jspb$internal_array_state_clearTypeSpecificFormattedFlagBits(a)
{a=module$contents$jspb$internal_array_state_clearFlagBit(a,module$exports$jspb$int
ernal_array_state.ArrayStateFlags.STRING_FORMATTED);return
a=module$contents$jspb$internal_array_state_clearFlagBit(a,module$exports$jspb$inte
rnal_array_state.ArrayStateFlags.GBIGINT_FORMATTED)}
function module$contents$jspb$internal_array_state_isApiFormattedField(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED)}funct
ion module$contents$jspb$internal_array_state_isImmutableArray(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)}
function module$contents$jspb$internal_array_state_markArrayImmutable(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED);return a}
function module$contents$jspb$internal_array_state_markMutableReferencesAreOwned(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED);return a}function module$contents$jspb$internal_array_state_markShared(a)
{(0,module$exports$jspb$internal_array_state.clearFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED);return a}
function module$contents$jspb$internal_array_state_areMutableReferencesOwned(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED)}function module$contents$jspb$internal_array_state_markConstructed(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED);return a}
function module$contents$jspb$internal_array_state_isConstructed(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED)}function
module$contents$jspb$internal_array_state_hasOnlyMutableValues(a)
{a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES)}
function module$contents$jspb$internal_array_state_markOnlyMutableValues(a,b){b?
(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES):
(0,module$exports$jspb$internal_array_state.clearFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES);re
turn a}
function
module$contents$jspb$internal_array_state_isImmutableJsRepeatedFieldCoercedFromWire
(a){a=(0,module$exports$jspb$internal_array_state.getArrayState)(a);return!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_JS_REPEATE
D_FIELD_COERCED_FROM_WIRE)}
function
module$contents$jspb$internal_array_state_markImmutableJsRepeatedFieldCoercedFromWi
re(a){(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_JS_REPEATE
D_FIELD_COERCED_FROM_WIRE);return a}
function module$contents$jspb$internal_array_state_copyArrayBitsForClone(a,b)
{(0,module$exports$jspb$internal_array_state.setArrayState)(b,(a|
0)&~(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED|module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED|
module$exports$jspb$internal_array_state.ArrayStateFlags.TRANSFERRED|
module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED))}
function
module$contents$jspb$internal_array_state_copyArrayBitsAndMaybeFreezeForCloneImmuta
ble(a,b){(0,module$exports$jspb$internal_array_state.setArrayState)(b,(a|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED)&~(module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED|
module$exports$jspb$internal_array_state.ArrayStateFlags.TRANSFERRED|
module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED))}
function module$contents$jspb$internal_array_state_markArrayTransferred(a)
{(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.TRANSFERRED)}module$exp
orts$jspb$internal_array_state.NO_PIVOT=536870912;
function module$contents$jspb$internal_array_state_setPivot(a,b)
{goog.asserts.assertNumber(b);goog.asserts.assert(0<b&&b<=module$contents$jspb$inte
rnal_array_state_PIVOT_MASK||
module$exports$jspb$internal_array_state.NO_PIVOT===b);return
a&~(module$contents$jspb$internal_array_state_PIVOT_MASK<<14)|
(b&module$contents$jspb$internal_array_state_PIVOT_MASK)<<14}
function module$contents$jspb$internal_array_state_getPivot(a)
{a=a>>14&module$contents$jspb$internal_array_state_PIVOT_MASK;return 0===a?
module$exports$jspb$internal_array_state.NO_PIVOT:a}function
module$contents$jspb$internal_array_state_getArrayIndexOffset(a){return+!!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID)-
1}module$exports$jspb$internal_array_state.getArrayIndexOffset=module$contents$jspb
$internal_array_state_getArrayIndexOffset;
module$exports$jspb$internal_array_state.getPivot=module$contents$jspb$internal_arr
ay_state_getPivot;module$exports$jspb$internal_array_state.setPivot=module$contents
$jspb$internal_array_state_setPivot;module$exports$jspb$internal_array_state.checkM
essageStateInvariants=module$contents$jspb$internal_array_state_checkMessageStateIn
variants;module$exports$jspb$internal_array_state.areMutableReferencesOwned=module$
contents$jspb$internal_array_state_areMutableReferencesOwned;
module$exports$jspb$internal_array_state.clearFlagBit=module$contents$jspb$internal
_array_state_clearFlagBit;module$exports$jspb$internal_array_state.clearTypeSpecifi
cFormattedFlagBits=module$contents$jspb$internal_array_state_clearTypeSpecificForma
ttedFlagBits;module$exports$jspb$internal_array_state.copyArrayBitsAndMaybeFreezeFo
rCloneImmutable=module$contents$jspb$internal_array_state_copyArrayBitsAndMaybeFree
zeForCloneImmutable;module$exports$jspb$internal_array_state.copyArrayBitsForClone=
module$contents$jspb$internal_array_state_copyArrayBitsForClone;
module$exports$jspb$internal_array_state.addFlagsOnPossiblyFrozenArray=module$conte
nts$jspb$internal_array_state_addFlagsOnPossiblyFrozenArray;module$exports$jspb$int
ernal_array_state.hasFlagBit=module$contents$jspb$internal_array_state_hasFlagBit;m
odule$exports$jspb$internal_array_state.hasOnlyMutableValues=module$contents$jspb$i
nternal_array_state_hasOnlyMutableValues;module$exports$jspb$internal_array_state.i
sApiFormattedField=module$contents$jspb$internal_array_state_isApiFormattedField;
module$exports$jspb$internal_array_state.isConstructed=module$contents$jspb$interna
l_array_state_isConstructed;module$exports$jspb$internal_array_state.isImmutableArr
ay=module$contents$jspb$internal_array_state_isImmutableArray;module$exports$jspb$i
nternal_array_state.isRepeatedField=module$contents$jspb$internal_array_state_isRep
eatedField;module$exports$jspb$internal_array_state.isImmutableJsRepeatedFieldCoerc
edFromWire=module$contents$jspb$internal_array_state_isImmutableJsRepeatedFieldCoer
cedFromWire;
module$exports$jspb$internal_array_state.markApiFormattedField=module$contents$jspb
$internal_array_state_markApiFormattedField;module$exports$jspb$internal_array_stat
e.markArrayImmutable=module$contents$jspb$internal_array_state_markArrayImmutable;m
odule$exports$jspb$internal_array_state.markArrayTransferred=module$contents$jspb$i
nternal_array_state_markArrayTransferred;module$exports$jspb$internal_array_state.m
arkConstructed=module$contents$jspb$internal_array_state_markConstructed;
module$exports$jspb$internal_array_state.markMutableReferencesAreOwned=module$conte
nts$jspb$internal_array_state_markMutableReferencesAreOwned;module$exports$jspb$int
ernal_array_state.markOnlyMutableValues=module$contents$jspb$internal_array_state_m
arkOnlyMutableValues;module$exports$jspb$internal_array_state.markRepeatedField=mod
ule$contents$jspb$internal_array_state_markRepeatedField;module$exports$jspb$intern
al_array_state.markImmutableJsRepeatedFieldCoercedFromWire=module$contents$jspb$int
ernal_array_state_markImmutableJsRepeatedFieldCoercedFromWire;
module$exports$jspb$internal_array_state.markShared=module$contents$jspb$internal_a
rray_state_markShared;module$exports$jspb$internal_array_state.setFlagBit=module$co
ntents$jspb$internal_array_state_setFlagBit;module$exports$jspb$internal_array_stat
e.setFlagBitTo=module$contents$jspb$internal_array_state_setFlagBitTo;module$export
s$jspb$internal_array_state.setStateOnPossiblyFrozenArray=module$contents$jspb$inte
rnal_array_state_setStateOnPossiblyFrozenArray;var
module$exports$jspb$internal={InternalMessage:function()
{}};module$exports$jspb$internal.InternalMessage.prototype.isImmutable=function()
{};module$exports$jspb$internal.InternalMessage.prototype.toJsonValue=function()
{};module$exports$jspb$internal.InternalMessage.prototype.toStructuredCloneableValu
e=function(){};module$exports$jspb$internal.InternalImmutableMessage=function()
{};module$exports$jspb$internal.InternalImmutableMessage.prototype.toMutable=functi
on(){};var module$contents$jspb$internal_messageCtor;
function module$contents$jspb$internal_setMessageCtorInDebug(a)
{goog.DEBUG&&(module$contents$jspb$internal_messageCtor=a)}module$exports$jspb$inte
rnal.MESSAGE_PROTOTYPE_MARKER_VALUE={};function
module$contents$jspb$internal_isMessage(a){var
b=a.messagePrototypeMarker===module$exports$jspb$internal.MESSAGE_PROTOTYPE_MARKER_
VALUE;(0,goog.asserts.assert)(!module$contents$jspb$internal_messageCtor||b===a
instanceof module$contents$jspb$internal_messageCtor);return b}
module$exports$jspb$internal.InternalMap=function()
{};module$exports$jspb$internal.SerializeBinaryFnHolder=function()
{};module$exports$jspb$internal.MAP_PROTOTYPE_MARKER_VALUE={};function
module$contents$jspb$internal_isMap(a){var b=!(!a||"object"!==typeof a||
a.mapPrototypeMarker!==module$exports$jspb$internal.MAP_PROTOTYPE_MARKER_VALUE);
(0,goog.asserts.assert)(b===a instanceof Map);return b}
function module$contents$jspb$internal_isEmptyMap(a){return
module$contents$jspb$internal_isMap(a)&&0===(0,goog.asserts.assertInstanceof)
(a,Map).size}function module$contents$jspb$internal_indexFromFieldNumber(a,b)
{(0,goog.asserts.assertNumber)(a);(0,goog.asserts.assert)(0<a);
(0,goog.asserts.assert)(0===b||-1===b);return a+b}
function module$contents$jspb$internal_fieldNumberFromIndex(a,b)
{(0,goog.asserts.assertNumber)(a);(0,goog.asserts.assert)(0<=a);
(0,goog.asserts.assert)(0===b||-1===b);return a-b}function
module$contents$jspb$internal_isImmutableMessage(a){return
module$contents$jspb$internal_array_state_isImmutableArray(a.internalArray_)}functi
on module$contents$jspb$internal_internalMarkMessageImmutable(a)
{module$contents$jspb$internal_array_state_markArrayImmutable(a.internalArray_)}
function module$contents$jspb$internal_isSparseObject(a){return null!
==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}function
module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(a,b){return
goog.TRUSTED_SITE||Object.prototype.hasOwnProperty.call(a,b)}function
module$contents$jspb$internal_newRepeatedField(){return
module$contents$jspb$internal_array_state_markRepeatedField([])}var
module$contents$jspb$internal_inSerialize;
function module$contents$jspb$internal_setInSerialize(a)
{module$contents$jspb$internal_inSerialize=a}function
module$contents$jspb$internal_getInSerialize(){return
module$contents$jspb$internal_inSerialize}module$exports$jspb$internal.EXEMPTED_SUB
CLASS_MARKER=goog.asserts.ENABLE_ASSERTS?Symbol(goog.DEBUG?"exempted jspb
subclass":void 0):void
0;module$exports$jspb$internal.GENERATED_SUBCLASS_MARKER=goog.asserts.ENABLE_ASSERT
S?Symbol(goog.DEBUG?"generated by jspb":void 0):void 0;
function module$contents$jspb$internal_bytesAsU8(a){return
module$contents$jspb$internal_bytes_dataAsU8(module$contents$jspb$internal_maybeUns
afeUnwrapByteString(a))}function module$contents$jspb$internal_invalidBytes(a)
{throw goog.DEBUG?Error("cannot coerce "+a+" to a ByteString, expected a
uint8Array, a base64 encoded string or a ByteString"):Error();}
function module$contents$jspb$internal_bytesAsByteString(a,b,c,d){return null==a?c?
a:module$contents$jspb$internal_invalidBytes(a):"string"===typeof a?
module$exports$jspb$bytestring.ByteString.fromBase64(a):a.constructor===module$expo
rts$jspb$bytestring.ByteString?a:module$contents$jspb$internal_bytes_isU8(a)?
a.length?new module$exports$jspb$bytestring.ByteString(d?a:new
Uint8Array(a),module$exports$jspb$internal_bytes.I_AM_INTERNAL):module$exports$jspb
$bytestring.ByteString.empty():b?void
0:module$contents$jspb$internal_invalidBytes(a)}
function module$contents$jspb$internal_maybeUnsafeUnwrapByteString(a){a instanceof
module$exports$jspb$bytestring.ByteString&&((0,goog.asserts.assertInstanceof)
(a,module$exports$jspb$bytestring.ByteString),a=a.internalUnwrap(module$exports$jsp
b$internal_bytes.I_AM_INTERNAL));return a}function
module$contents$jspb$internal_isRepeatedFieldInSet(a,b){return!!
a&&(Array.isArray(a)?a.includes(b):a.has(b))}
function module$contents$jspb$internal_isEmptyRepeatedField(a,b,c){if(!
Array.isArray(a)||a.length)return!1;var
d=(0,module$exports$jspb$internal_array_state.getArrayState)
(a);if(d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD
)return!0;if(!module$contents$jspb$internal_isRepeatedFieldInSet(b,c))return!1;
(0,module$exports$jspb$internal_array_state.setArrayState)(a,d|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD);return!
0}
var JSCompiler_inline_result$jscomp$564,array$jscomp$inline_665=[];
(0,module$exports$jspb$internal_array_state.setArrayState)
(array$jscomp$inline_665,module$exports$jspb$internal_array_state.ArrayStateFlags.I
S_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED);
JSCompiler_inline_result$jscomp$564=Object.freeze(array$jscomp$inline_665);module$e
xports$jspb$internal.EMPTY_LIST_SENTINEL=JSCompiler_inline_result$jscomp$564;functi
on module$contents$jspb$internal_checkNotImmutable(a)
{module$contents$jspb$internal_checkNotImmutableState((0,module$exports$jspb$intern
al_array_state.getMessageArrayState)(a.internalArray_))}
function module$contents$jspb$internal_checkNotImmutableState(a)
{if(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)
{if(goog.DEBUG)throw Error("Cannot mutate an immutable Message");throw
Error();}}function
module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,b){if("number"!
==typeof b||0>b||b>=a.length){if(goog.DEBUG)throw Error("Index "+b+" out of range
for field of length "+a.length+".");throw Error();}}
function module$contents$jspb$internal_checkRepeatedIndexInRangeForSet(a,b)
{if("number"!==typeof b||0>b||b>a.length){if(goog.DEBUG)throw Error("Index "+b+"
out of range for field of length "+a.length+".");throw
Error();}}module$exports$jspb$internal.SUPPORTS_HAS_INSTANCE=2018<=goog.FEATURESET_
YEAR||"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.hasInstance;function
module$contents$jspb$internal_invisiblePropValue(a){return{value:a,configurable:!
1,writable:!1,enumerable:!1}}
function module$contents$jspb$internal_disallowPassingToStructuredClone(a)
{goog.DEBUG&&(a.preventPassingToStructuredClone=module$contents$jspb$internal_dontP
assJspbTypeToStructuredClone)}function
module$contents$jspb$internal_dontPassJspbTypeToStructuredClone(){}var
module$contents$jspb$internal_ArrayIteratorIterable=function(a,b,c)
{this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};
module$contents$jspb$internal_ArrayIteratorIterable.prototype.next=function()
{if(this.idx_<this.arr_.length){var a=this.arr_[this.idx_++];return{done:!
1,value:this.mapper?this.mapper.call(this.thisArg,a):a}}return{done:!0,value:void
0}};module$contents$jspb$internal_ArrayIteratorIterable.prototype[Symbol.iterator]=
function(){return new
module$contents$jspb$internal_ArrayIteratorIterable(this.arr_,this.mapper,this.this
Arg)};
function module$contents$jspb$internal_newArrayIteratorIterable(a){return new
module$contents$jspb$internal_ArrayIteratorIterable(a)}function
module$contents$jspb$internal_newTransformingIteratorIterable(a,b,c){return new
module$contents$jspb$internal_ArrayIteratorIterable(a,b,c)}function
module$contents$jspb$internal_getRepeatedFieldSet(a){if(!
module$contents$jspb$internal_options_ignoreRepeatedFieldSetsOnMessageCtors)return
a.constructor.repeatedFields_}var
module$contents$jspb$internal_unknownBinaryFields;
function module$contents$jspb$internal_getUnknownFields(a){return
module$contents$jspb$internal_unknownBinaryFields?(0,goog.asserts.assertArray)(a)
[module$contents$jspb$internal_unknownBinaryFields]:void 0}
function module$contents$jspb$internal_addUnknownField(a,b)
{(0,goog.asserts.assertArray)(a);if(b)
{module$contents$jspb$internal_unknownBinaryFields||
(module$contents$jspb$internal_unknownBinaryFields=goog.DEBUG?
Symbol("unknownBinaryFields"):Symbol());var
c=a[module$contents$jspb$internal_unknownBinaryFields];c?
c.push(b):a[module$contents$jspb$internal_unknownBinaryFields]=[b]}}
function module$contents$jspb$internal_clearUnknownFields(a)
{(0,goog.asserts.assertArray)
(a);module$contents$jspb$internal_unknownBinaryFields&&module$contents$jspb$interna
l_unknownBinaryFields in
a&&(a[module$contents$jspb$internal_unknownBinaryFields]=void 0)}
function module$contents$jspb$internal_copyUnknownFields(a,b,c)
{(0,goog.asserts.assertArray)(a);(0,goog.asserts.assertArray)(b);
(b=module$contents$jspb$internal_getUnknownFields(b))?
a[module$contents$jspb$internal_unknownBinaryFields]=module$contents$jspb$internal_
operations_slice(b):c&&module$contents$jspb$internal_clearUnknownFields(a)}module$e
xports$jspb$internal.ComparisonTypeInfo=function()
{};module$exports$jspb$internal.ComparisonTypeInfo.prototype.getFieldComparisonType
Info=function(){};
module$exports$jspb$internal.ComparisonTypeInfo.prototype.getRepeatedFields=functio
n()
{};module$exports$jspb$internal.ComparisonTypeInfo.prototype.getMapFields=function(
){};var module$contents$jspb$internal_comparisonTypeInfoSymbol;function
module$contents$jspb$internal_getComparisonTypeInfoArraySymbol(){return
module$contents$jspb$internal_comparisonTypeInfoSymbol||
(module$contents$jspb$internal_comparisonTypeInfoSymbol=goog.DEBUG?
Symbol("JSPB_COMPARISON_TYPE_INFO"):Symbol())}
function module$contents$jspb$internal_assertArrayInvariants(a,b){if(goog.DEBUG)
{var c=(0,module$exports$jspb$internal_array_state.getArrayState)
((0,goog.asserts.assertArray)(a));b||
(b=c&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&&c
&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED||
c&module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY,
(0,goog.asserts.assert)(!b||Object.isFrozen(a)));b=!!
(c&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES);
c=!!
(c&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_I
F_OWNED&&c&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFEREN
CES_ARE_OWNED);if(b||c){var d,e,f;a.forEach(function(g){Array.isArray(g)?f=!
0:g&&module$contents$jspb$internal_isMessage(g)&&(module$contents$jspb$internal_isI
mmutableMessage(g)?e=!0:d=!0)});f&&(0,goog.asserts.assert)(!e&&!
d);c&&(0,goog.asserts.assert)(!f&&!d);b&&(0,goog.asserts.assert)(!f&&!
e)}module$contents$jspb$internal_assertRepeated64BitIntegerFieldApiFormattingInvari
ants(a)}}
function
module$contents$jspb$internal_assertRepeated64BitIntegerFieldApiFormattingInvariant
s(a){if(goog.asserts.ENABLE_ASSERTS){var
b=(0,module$exports$jspb$internal_array_state.getArrayState)
(a),c=b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED,d
=(module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&b?1:0)+
(module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED&b?1:0);
(0,goog.asserts.assert)(c&&1>=d||!c&&0===d,"Expected at most 1 type-specific
formatting bit, but got "+
d+" with state:
"+b);if(goog.asserts.ENABLE_ASSERTS&&(b=(0,module$exports$jspb$internal_array_state
.getArrayState)
(a),module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&b))fo
r(b=0;b<a.length;b++)"string"!==typeof a[b]&&(0,goog.asserts.fail)("Unexpected
element of type "+typeof a[b]+" in string formatted repeated 64-bit int
field")}}var module$contents$jspb$internal_nullVsEmptyComparisons=0;
function module$contents$jspb$internal_addNullVsEmptyComparison()
{module$contents$jspb$internal_nullVsEmptyComparisons++}function
module$contents$jspb$internal_clearNullVsEmptyComparisonLog()
{module$contents$jspb$internal_nullVsEmptyComparisons=0}function
module$contents$jspb$internal_getNullVsEmptyComparisons(){return
module$contents$jspb$internal_nullVsEmptyComparisons}var
module$contents$jspb$internal_InternalDoNotFreezeToken=function()
{},module$contents$jspb$internal_InternalDoNotSliceToken=function(){};
module$exports$jspb$internal.DO_NOT_FREEZE__LEGACY_OPTION=Object.freeze(new
module$contents$jspb$internal_InternalDoNotFreezeToken);module$exports$jspb$interna
l.DO_NOT_SLICE__LEGACY_OPTION=Object.freeze(new
module$contents$jspb$internal_InternalDoNotSliceToken);module$exports$jspb$internal
.addNullVsEmptyComparison=module$contents$jspb$internal_addNullVsEmptyComparison;mo
dule$exports$jspb$internal.addUnknownField=module$contents$jspb$internal_addUnknown
Field;
module$exports$jspb$internal.assertArrayInvariants=module$contents$jspb$internal_as
sertArrayInvariants;module$exports$jspb$internal.assertRepeated64BitIntegerFieldApi
FormattingInvariants=module$contents$jspb$internal_assertRepeated64BitIntegerFieldA
piFormattingInvariants;module$exports$jspb$internal.bytesAsByteString=module$conten
ts$jspb$internal_bytesAsByteString;module$exports$jspb$internal.bytesAsU8=module$co
ntents$jspb$internal_bytesAsU8;module$exports$jspb$internal.checkNotImmutable=modul
e$contents$jspb$internal_checkNotImmutable;
module$exports$jspb$internal.checkNotImmutableState=module$contents$jspb$internal_c
heckNotImmutableState;module$exports$jspb$internal.checkRepeatedIndexInRangeForGet=
module$contents$jspb$internal_checkRepeatedIndexInRangeForGet;module$exports$jspb$i
nternal.checkRepeatedIndexInRangeForSet=module$contents$jspb$internal_checkRepeated
IndexInRangeForSet;module$exports$jspb$internal.clearNullVsEmptyComparisonLog=modul
e$contents$jspb$internal_clearNullVsEmptyComparisonLog;
module$exports$jspb$internal.clearUnknownFields=module$contents$jspb$internal_clear
UnknownFields;module$exports$jspb$internal.copyUnknownFields=module$contents$jspb$i
nternal_copyUnknownFields;module$exports$jspb$internal.disallowPassingToStructuredC
lone=module$contents$jspb$internal_disallowPassingToStructuredClone;module$exports$
jspb$internal.fieldNumberFromIndex=module$contents$jspb$internal_fieldNumberFromInd
ex;module$exports$jspb$internal.getComparisonTypeInfoArraySymbol=module$contents$js
pb$internal_getComparisonTypeInfoArraySymbol;
module$exports$jspb$internal.getInSerialize=module$contents$jspb$internal_getInSeri
alize;module$exports$jspb$internal.getNullVsEmptyComparisons=module$contents$jspb$i
nternal_getNullVsEmptyComparisons;module$exports$jspb$internal.getRepeatedFieldSet=
module$contents$jspb$internal_getRepeatedFieldSet;module$exports$jspb$internal.getU
nknownFields=module$contents$jspb$internal_getUnknownFields;module$exports$jspb$int
ernal.hasOwnPropertyIfNotTrusted=module$contents$jspb$internal_hasOwnPropertyIfNotT
rusted;
module$exports$jspb$internal.indexFromFieldNumber=module$contents$jspb$internal_ind
exFromFieldNumber;module$exports$jspb$internal.internalMarkMessageImmutable=module$
contents$jspb$internal_internalMarkMessageImmutable;module$exports$jspb$internal.in
visiblePropValue=module$contents$jspb$internal_invisiblePropValue;module$exports$js
pb$internal.isEmptyMap=module$contents$jspb$internal_isEmptyMap;module$exports$jspb
$internal.isEmptyRepeatedField=module$contents$jspb$internal_isEmptyRepeatedField;
module$exports$jspb$internal.isImmutableMessage=module$contents$jspb$internal_isImm
utableMessage;module$exports$jspb$internal.isMap=module$contents$jspb$internal_isMa
p;module$exports$jspb$internal.isMessage=module$contents$jspb$internal_isMessage;mo
dule$exports$jspb$internal.isRepeatedFieldInSet=module$contents$jspb$internal_isRep
eatedFieldInSet;module$exports$jspb$internal.isSparseObject=module$contents$jspb$in
ternal_isSparseObject;module$exports$jspb$internal.maybeUnsafeUnwrapByteString=modu
le$contents$jspb$internal_maybeUnsafeUnwrapByteString;
module$exports$jspb$internal.newArrayIteratorIterable=module$contents$jspb$internal
_newArrayIteratorIterable;module$exports$jspb$internal.newRepeatedField=module$cont
ents$jspb$internal_newRepeatedField;module$exports$jspb$internal.newTransformingIte
ratorIterable=module$contents$jspb$internal_newTransformingIteratorIterable;module$
exports$jspb$internal.setInSerialize=module$contents$jspb$internal_setInSerialize;m
odule$exports$jspb$internal.setMessageCtorInDebug=module$contents$jspb$internal_set
MessageCtorInDebug;var
module$contents$jspb$exceptions_globalThrottles,module$contents$jspb$exceptions_err
orHandler;function module$contents$jspb$exceptions_runErrorHandler(a)
{if(module$contents$jspb$exceptions_errorHandler)try{module$contents$jspb$exception
s_errorHandler(a)}catch(b){throw b.cause=a,b;}}
function module$contents$jspb$exceptions_asyncThrowWarning(a){a=goog.DEBUG?
Error(a):Error();goog.debug.errorcontext.addErrorContext(a,"severity","incident");m
odule$contents$jspb$exceptions_errorHandler?
module$contents$jspb$exceptions_runErrorHandler(a):module$contents$goog$async$throw
Exception_throwException(a)}
function module$contents$jspb$exceptions_makeTypeError(a)
{a=Error(a);goog.debug.errorcontext.addErrorContext(a,"severity","warning");module$
contents$jspb$exceptions_runErrorHandler(a);return a}
function module$contents$jspb$exceptions_throttledAsyncThrowWarning(a,b,c,d)
{if(null!=b){if(null==a){var e;a=null!
=(e=module$contents$jspb$exceptions_globalThrottles)?
e:module$contents$jspb$exceptions_globalThrottles={}}else a=a.constructor;e=a[b]||
0;e>=c||(a[b]=e+1,module$contents$jspb$exceptions_asyncThrowWarning(d))}};function
module$contents$jspb$internal_accessor_helpers_checkFloatingPoint(a){if("number"!
==typeof a)throw Error("Value of float/double field must be a number, found
"+typeof a+": "+a);return a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishNumber(a)
{if(null==a||"number"===typeof a)return a;if("NaN"===a||"Infinity"===a||"-
Infinity"===a)return Number(a)}function
module$contents$jspb$internal_accessor_helpers_ctorName(a){return a.displayName||
a.name||"unknown type name"}
function module$contents$jspb$internal_accessor_helpers_checkBoolean(a)
{if("boolean"!==typeof a)throw Error("Expected boolean but got "+goog.typeOf(a)+":
"+a);return a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishBoolean(a)
{if(null==a||"boolean"===typeof a)return a;if("number"===typeof a)return!!a}var
module$contents$jspb$internal_accessor_helpers_NUMBER_SHAPED_CHECK=/^-?([1-9][0-
9]*|0)(\.[0-9]+)?$/;
function module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,b){if(!
b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange)return"numb
er"===typeof a&&Number.isFinite(a)||!!a&&"string"===typeof a&&isFinite(a);b=typeof
a;return"number"===b?Number.isFinite(a):"string"!==b?!
1:module$contents$jspb$internal_accessor_helpers_NUMBER_SHAPED_CHECK.test(a)}
function module$contents$jspb$internal_accessor_helpers_getEnumErrorMessage(a)
{return goog.DEBUG?"Expected enum as finite number but got "+goog.typeOf(a)+":
"+a:"enum"}
function module$contents$jspb$internal_accessor_helpers_checkEnum(a){if(!
Number.isFinite(a))switch(module$contents$jspb$internal_options_typeCheckEnumFields
){case module$exports$jspb$internal_options.CheckLevel.THROW:throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getEnumErrorMessage(a));case
module$exports$jspb$internal_options.CheckLevel.ASYNC_THROW:module$contents$jspb$ex
ceptions_asyncThrowWarning(module$contents$jspb$internal_accessor_helpers_getEnumEr
rorMessage(a))}return module$contents$jspb$internal_options_typeCheckEnumFields===
module$exports$jspb$internal_options.CheckLevel.THROW?a|0:a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishEnum(a){return
null==a?
a:module$contents$jspb$internal_options_typeCheckEnumFields===module$exports$jspb$i
nternal_options.CheckLevel.THROW?Number.isFinite(a)?a|0:void 0:a}function
module$contents$jspb$internal_accessor_helpers_getInt32ErrorMessage(a){return
goog.DEBUG?"Expected int32 as finite number but got "+goog.typeOf(a)+":
"+a:"int32"}
function module$contents$jspb$internal_accessor_helpers_checkInt32(a){if("number"!
==typeof a)throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getInt32ErrorMessage(a));if(!
Number.isFinite(a))switch(module$contents$jspb$internal_options_typeCheck32BitIntFi
elds){case module$exports$jspb$internal_options.CheckLevel.THROW:throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getInt32ErrorMessage(a));case
module$exports$jspb$internal_options.CheckLevel.ASYNC_THROW:module$contents$jspb$ex
ceptions_asyncThrowWarning(module$contents$jspb$internal_accessor_helpers_getInt32E
rrorMessage(a))}return
module$contents$jspb$internal_options_typeCheck32BitIntFields===
module$exports$jspb$internal_options.CheckLevel.THROW?a|0:a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt32(a)
{if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof
a)return
module$contents$jspb$internal_options_typeCheck32BitIntFields===module$exports$jspb
$internal_options.CheckLevel.THROW?Number.isFinite(a)?a|0:void 0:a}
function module$contents$jspb$internal_accessor_helpers_getUint32ErrorMessage(a)
{return goog.DEBUG?"Expected uint32 as finite number but got "+goog.typeOf(a)+":
"+a:"uint32"}
function module$contents$jspb$internal_accessor_helpers_checkUint32(a){if("number"!
==typeof a)throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getUint32ErrorMessage(a));if(!
Number.isFinite(a))switch(module$contents$jspb$internal_options_typeCheck32BitIntFi
elds){case module$exports$jspb$internal_options.CheckLevel.THROW:throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getUint32ErrorMessage(a));case
module$exports$jspb$internal_options.CheckLevel.ASYNC_THROW:module$contents$jspb$ex
ceptions_asyncThrowWarning(module$contents$jspb$internal_accessor_helpers_getUint32
ErrorMessage(a))}return
module$contents$jspb$internal_options_typeCheck32BitIntFields===
module$exports$jspb$internal_options.CheckLevel.THROW?a>>>0:a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint32(a)
{if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof
a)return
module$contents$jspb$internal_options_typeCheck32BitIntFields===module$exports$jspb
$internal_options.CheckLevel.THROW?Number.isFinite(a)?a>>>0:void 0:a}
function module$contents$jspb$internal_accessor_helpers_checkInt64(a,b){b=!!b;if(!
b&&!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange)return
a;if(!module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,b))throw
module$contents$jspb$exceptions_makeTypeError(goog.DEBUG?"Expected an int64 value
encoded as a number or a string but got "+goog.typeOf(a)+":
"+a:"int64");return"string"===typeof a?
module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,
b):b?
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64String(a,b):modu
le$contents$jspb$internal_accessor_helpers_convertNumberToInt64Number(a,!
1)}function module$contents$jspb$internal_accessor_helpers_checkNullishInt64(a)
{return null==a?
a:module$contents$jspb$internal_accessor_helpers_checkInt64(a)}function
module$contents$jspb$internal_accessor_helpers_onFastPathToTruncateUint64RangeStrin
g(a){return"-"===a[0]?!1:20>a.length?!
0:20===a.length&&184467>Number(a.substring(0,6))}
function
module$contents$jspb$internal_accessor_helpers_onFastPathToTruncateInt64RangeString
(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-
922337<Number(a.substring(0,7)):19>a.length?!
0:19===a.length&&922337>Number(a.substring(0,6))}
function
module$contents$jspb$internal_accessor_helpers_truncateNumberToUint64RangeNumber(a)
{goog.asserts.assert(0>a||!
(0<a&&a<Number.MAX_SAFE_INTEGER));goog.asserts.assert(Number.isInteger(a));if(0>a)
{module$contents$jspb$utils_splitInt64(a);var
b=module$contents$jspb$utils_joinUnsignedDecimalString(module$contents$jspb$utils_s
plit64Low,module$contents$jspb$utils_split64High);a=Number(b);return
Number.isSafeInteger(a)?
a:b}b=String(a);if(module$contents$jspb$internal_accessor_helpers_onFastPathToTrunc
ateUint64RangeString(b))return a;
module$contents$jspb$utils_splitInt64(a);return
module$contents$jspb$utils_joinUint64(module$contents$jspb$utils_split64Low,module$
contents$jspb$utils_split64High)}
function
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64Number(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange);a=Math.tru
nc(a);if(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
Number.isSafeInteger(a))return a;goog.asserts.assert(!
Number.isSafeInteger(a));goog.asserts.assert(Number.isInteger(a));module$contents$j
spb$utils_splitInt64(a);
return
a=module$contents$jspb$utils_joinInt64(module$contents$jspb$utils_split64Low,module
$contents$jspb$utils_split64High)}
function
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64Number(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange);a=Math.tru
nc(a);return!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
0<=a&&Number.isSafeInteger(a)?
a:module$contents$jspb$internal_accessor_helpers_truncateNumberToUint64RangeNumber(
a)}
function
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64String(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange);a=Math.tru
nc(a);if(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
Number.isSafeInteger(a))return String(a);goog.asserts.assert(!
Number.isSafeInteger(a));goog.asserts.assert(Number.isInteger(a));b=String(a);
module$contents$jspb$internal_accessor_helpers_onFastPathToTruncateInt64RangeString
(b)?a=b:
(module$contents$jspb$utils_splitInt64(a),a=module$contents$jspb$utils_joinSignedDe
cimalString(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split6
4High));return a}
function
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64String(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFields);a=Math.trunc(a);if(!
b&&!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
0<=a&&Number.isSafeInteger(a))return String(a);goog.asserts.assert(0>a||!
(0<a&&a<Number.MAX_SAFE_INTEGER));goog.asserts.assert(Number.isInteger(a));
b=String(a);module$contents$jspb$internal_accessor_helpers_onFastPathToTruncateUint
64RangeString(b)?a=b:
(module$contents$jspb$utils_splitInt64(a),a=module$contents$jspb$utils_joinUnsigned
DecimalString(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_spli
t64High));return a}
function
module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange);var
c=Math.trunc(Number(a));if(Number.isSafeInteger(c))return
String(c);c=a.indexOf(".");-1!==c&&(a=a.substring(0,c));if(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange)return
a;goog.asserts.assert(-1===
a.indexOf("."));module$contents$jspb$internal_accessor_helpers_onFastPathToTruncate
Int64RangeString(a)||
(module$contents$jspb$utils_splitDecimalString(a),a=module$contents$jspb$utils_join
SignedDecimalString(module$contents$jspb$utils_split64Low,module$contents$jspb$util
s_split64High));return a}
function
module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,b)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,b));goog.asserts.assert(b||
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange);var
c=Math.trunc(Number(a));if(Number.isSafeInteger(c)&&(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
0<=c))return String(c);b=a.indexOf(".");-1!
==b&&(a=a.substring(0,b));goog.asserts.assert(-1===
a.indexOf("."));module$contents$jspb$internal_accessor_helpers_onFastPathToTruncate
Uint64RangeString(a)||
(module$contents$jspb$utils_splitDecimalString(a),a=module$contents$jspb$utils_join
UnsignedDecimalString(module$contents$jspb$utils_split64Low,module$contents$jspb$ut
ils_split64High));return a}
function module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64(a)
{if(!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,!1))
{if("number"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64Number(a,!
1);goog.asserts.assertString(a);if(module$contents$jspb$internal_options_typeCheck6
4BitIntFields)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,
!
1));goog.asserts.assert(module$contents$jspb$internal_options_typeCheck64BitIntFiel
dsAreInRange);goog.asserts.assert(module$contents$jspb$internal_options_typeCheck64
BitIntFields);var b=Number(a);b=Math.trunc(b);Number.isSafeInteger(b)?a=b:
(a=module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,!
1),b=Number(a),a=Number.isSafeInteger(b)?b:a);return a}return
module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,!1)}}
function
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64String(a,b)
{b=void 0===b?!1:b;if(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,b))
{if("string"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,b);goog
.asserts.assertNumber(a);return b||
module$contents$jspb$internal_options_typeCheck64BitIntFields?
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64String(a,
b):module$contents$jspb$internal_accessor_helpers_convertNumberToInt64Number(a,b)}}
function module$contents$jspb$internal_accessor_helpers_checkUint64(a,b){b=!!b;if(!
b&&!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange)return
a;if(!module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,b))throw
module$contents$jspb$exceptions_makeTypeError(goog.DEBUG?"Expected an uint64 value
encoded as a number or a string but got "+goog.typeOf(a)+":
"+a:"uint64");return"string"===typeof a?
module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,
b):b?
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64String(a,b):mod
ule$contents$jspb$internal_accessor_helpers_convertNumberToUint64Number(a,!
1)}function module$contents$jspb$internal_accessor_helpers_checkNullishUint64(a)
{return null==a?a:module$contents$jspb$internal_accessor_helpers_checkUint64(a)}
function module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64(a)
{if(!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,!1))
{if("number"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64Number(a,!
1);goog.asserts.assertString(a);if(module$contents$jspb$internal_options_typeCheck6
4BitIntFields)
{goog.asserts.assert(module$contents$jspb$internal_accessor_helpers_isNumberShaped(
a,
!
1));goog.asserts.assert(module$contents$jspb$internal_options_typeCheck64BitIntFiel
dsAreInRange);goog.asserts.assert(module$contents$jspb$internal_options_typeCheck64
BitIntFields);var
b=Number(a);b=Math.trunc(b);module$contents$jspb$internal_options_typeCheck64BitInt
FieldsAreInRange?0<=b&&b<=Number.MAX_SAFE_INTEGER?a=b:
(a=module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,!
1),b=Number(a),a=Number.isSafeInteger(b)?b:a):a=Number.isSafeInteger(b)?
b:module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,
!1)}else
a=module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,!
1);return a}}
function
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64String(a,b)
{b=void 0===b?!1:b;if(!b&&!
module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,b))
{if("string"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,b);goo
g.asserts.assertNumber(a);return b||
module$contents$jspb$internal_options_typeCheck64BitIntFields?
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64String(a,
b):module$contents$jspb$internal_accessor_helpers_convertNumberToUint64Number(a,b)}
}
function
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber(a
){if(!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,!1))
{if("string"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertStringToInt64String(a,!
1);if("number"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertNumberToInt64Number(a,!1)}}
function
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64StringOrNumber(
a){if(!module$contents$jspb$internal_options_typeCheck64BitIntFieldsAreInRange||
null==a)return
a;if(module$contents$jspb$internal_accessor_helpers_isNumberShaped(a,!1))
{if("string"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertStringToUint64String(a,!
1);if("number"===typeof a)return
module$contents$jspb$internal_accessor_helpers_convertNumberToUint64Number(a,!1)}}
function
module$contents$jspb$internal_accessor_helpers_coerceToNullishBytesAsStringByteStri
ngOrUint8Array(a){if(null==a||"string"==typeof a||
module$contents$jspb$internal_bytes_isU8(a)||a instanceof
module$exports$jspb$bytestring.ByteString)return a}function
module$contents$jspb$internal_accessor_helpers_checkString(a)
{if(module$contents$jspb$internal_options_typeCheckStringFields&&"string"!==typeof
a)throw goog.DEBUG?Error("Expected a string but got "+a+" a
"+goog.typeOf(a)):Error();return a}
function module$contents$jspb$internal_accessor_helpers_checkNullishString(a)
{if(module$contents$jspb$internal_options_typeCheckStringFields&&null!=a&&"string"!
==typeof a)throw goog.DEBUG?Error("Expected a string or null or undefined but got
"+a+" a "+goog.typeOf(a)):Error();return a}function
module$contents$jspb$internal_accessor_helpers_coerceToNullishString(a){return
module$contents$jspb$internal_options_typeCheckStringFields?
null==a||"string"===typeof a?a:void 0:a}
function module$contents$jspb$internal_accessor_helpers_checkMessageType(a,b){if(!
(a instanceof b))throw Error("Expected instanceof
"+module$contents$jspb$internal_accessor_helpers_ctorName(b)+" but got "+
(a&&module$contents$jspb$internal_accessor_helpers_ctorName(a.constructor)));return
a}
function
module$contents$jspb$internal_accessor_helpers_messageFromInlineStorage(a,b,c,d)
{if(null!=a&&"object"===typeof a&&module$contents$jspb$internal_isMessage(a))return
a;if(!Array.isArray(a))return c?
d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY?
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(b):new
b:void 0;c=a;var e=(0,module$exports$jspb$internal_array_state.getArrayState)
(c),f=e;0===f&&(f|
=d&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED);
f|=d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY;f!
==e&&(0,module$exports$jspb$internal_array_state.setArrayState)(c,f);return new
b(a)}function
module$contents$jspb$internal_accessor_helpers_getArrayErrorMessage(a){return
goog.DEBUG?"Expected array but got "+goog.typeOf(a)+": "+a:void 0}
function
module$contents$jspb$internal_accessor_helpers_checkRepeatedFieldIsArray(a){if(!
Array.isArray(a))switch(module$contents$jspb$internal_options_arrayCheckRepeatedFie
lds){case module$exports$jspb$internal_options.CheckLevel.THROW:throw
module$contents$jspb$exceptions_makeTypeError(module$contents$jspb$internal_accesso
r_helpers_getArrayErrorMessage(a));case
module$exports$jspb$internal_options.CheckLevel.ASYNC_THROW:module$contents$jspb$ex
ceptions_asyncThrowWarning(module$contents$jspb$internal_accessor_helpers_getArrayE
rrorMessage(a))}return a}
function
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(a)
{return module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS?
module$contents$jspb$internal_operations_withoutLogging(function(){return
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstanceInternal(
a)}):module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstanceInte
rnal(a)}
function
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstanceInternal(
a){var
b=a[module$exports$jspb$internal_symbols.DEFAULT_IMMUTABLE_INSTANCE_SYMBOL];if(b)re
turn b;b=new
a;module$contents$jspb$internal_array_state_markArrayImmutable(b.internalArray_);re
turn a[module$exports$jspb$internal_symbols.DEFAULT_IMMUTABLE_INSTANCE_SYMBOL]=b}
function module$contents$jspb$internal_accessor_helpers_booleanToApiForMaps(a,b,c)
{if(b)return
module$contents$jspb$internal_accessor_helpers_checkBoolean(a);a=module$contents$js
pb$internal_accessor_helpers_coerceToNullishBoolean(a);var d;return null!=(d=a)?
d:c?!1:void 0}
function module$contents$jspb$internal_accessor_helpers_int32ToApiForMaps(a,b,c)
{a=b?
module$contents$jspb$internal_accessor_helpers_checkInt32(a):module$contents$jspb$i
nternal_accessor_helpers_coerceToNullishInt32(a);return null==a?c?0:void 0:a|
0}function module$contents$jspb$internal_accessor_helpers_uint32ToApiForMaps(a,b,c)
{a=b?
module$contents$jspb$internal_accessor_helpers_checkUint32(a):module$contents$jspb$
internal_accessor_helpers_coerceToNullishUint32(a);return null==a?c?0:void 0:a>>>0}
function
module$contents$jspb$internal_accessor_helpers_uint32KeyToApiForMaps(a,b,c)
{a=module$contents$jspb$internal_accessor_helpers_uint32ToApiForMaps(a,b,c);return"
number"===typeof a?a>>>0:a}function
module$contents$jspb$internal_accessor_helpers_int64ToApiForMaps(a,b,c){a=b?
module$contents$jspb$internal_accessor_helpers_checkInt64(a):module$contents$jspb$i
nternal_accessor_helpers_coerceToNullishInt64(a);return null==a?c?0:void 0:a}
function module$contents$jspb$internal_accessor_helpers_int64KeyToApiForMaps(a,b,c)
{a=module$contents$jspb$internal_accessor_helpers_int64ToApiForMaps(a,b,c);return"s
tring"===typeof a&&(b=+a,Number.isSafeInteger(b))?b:a}function
module$contents$jspb$internal_accessor_helpers_uint64ToApiForMaps(a,b,c){a=b?
module$contents$jspb$internal_accessor_helpers_checkUint64(a):module$contents$jspb$
internal_accessor_helpers_coerceToNullishUint64(a);return null==a?c?0:void 0:a}
function
module$contents$jspb$internal_accessor_helpers_uint64KeyToApiForMaps(a,b,c)
{a=module$contents$jspb$internal_accessor_helpers_uint64ToApiForMaps(a,b,c);return"
string"===typeof a&&(b=+a,Number.isSafeInteger(b))?b:a}function
module$contents$jspb$internal_accessor_helpers_floatToApiForMaps(a,b,c){if(b)return
module$contents$jspb$internal_accessor_helpers_checkFloatingPoint(a);a=module$conte
nts$jspb$internal_accessor_helpers_coerceToNullishNumber(a);var d;return null!
=(d=a)?d:c?0:void 0}
function module$contents$jspb$internal_accessor_helpers_stringToApiForMaps(a,b,c)
{if(b)return
module$contents$jspb$internal_accessor_helpers_checkString(a);a=module$contents$jsp
b$internal_accessor_helpers_coerceToNullishString(a);var d;return null!=(d=a)?
d:c?"":void 0}
function module$contents$jspb$internal_accessor_helpers_bytesToApiForMaps(a,b,c)
{if(b){if(!(a instanceof module$exports$jspb$bytestring.ByteString))throw
goog.DEBUG?Error("Expected ByteString but got "+goog.typeOf(a)+":
"+a):Error();return c=a}a=null==a||a instanceof
module$exports$jspb$bytestring.ByteString?a:"string"===typeof a?
module$exports$jspb$bytestring.ByteString.fromBase64(a):module$contents$jspb$intern
al_bytes_isU8(a)?module$exports$jspb$bytestring.ByteString.fromUint8Array(a):void
0;var d;
return null!=(d=a)?d:c?module$exports$jspb$bytestring.ByteString.empty():void
0}function module$contents$jspb$internal_accessor_helpers_enumToApiForMaps(a,b,c)
{a=b?
module$contents$jspb$internal_accessor_helpers_checkEnum(a):module$contents$jspb$in
ternal_accessor_helpers_coerceToNullishEnum(a);return null==a?c?0:void 0:a};var
module$exports$jspb$internal_map={},module$contents$jspb$internal_map_EMPTY_MAP_TOK
EN={};function module$contents$jspb$internal_map_constructingMapSubclassFails()
{try{var a=function(){return $jscomp.construct(Map,[],this.constructor)};
$jscomp.inherits(a,Map);(0,goog.reflect.sinkValue)(new a);return!1}catch(b){return!
0}}
var
module$contents$jspb$internal_map_USE_DELEGATING_MAPS=2017>=goog.FEATURESET_YEAR&&(
module$exports$jspb$internal_options.DISABLE_ES6_MAP_SUBCLASSES_FOR_TESTING||
module$contents$jspb$internal_map_constructingMapSubclassFails()),module$contents$j
spb$internal_map_DelegatingMapForPseudoEs6Systems=function(){this.map_=new
Map};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.g
et=function(a){(0,goog.asserts.assert)(this.size===this.map_.size);return
this.map_.get(a)};
module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.set=fu
nction(a,b){(0,goog.asserts.assert)
(this.size===this.map_.size);this.map_.set(a,b);this.updateSize_();return
this};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.
delete=function(a){(0,goog.asserts.assert)
(this.size===this.map_.size);a=this.map_.delete(a);this.updateSize_();return a};
module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.clear=
function(){(0,goog.asserts.assert)
(this.size===this.map_.size);this.map_.clear();this.updateSize_()};module$contents$
jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.has=function(a)
{(0,goog.asserts.assert)(this.size===this.map_.size);return this.map_.has(a)};
module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.entrie
s=function(){(0,goog.asserts.assert)(this.size===this.map_.size);return
this.map_.entries()};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Sys
tems.prototype.keys=function(){(0,goog.asserts.assert)
(this.size===this.map_.size);return
this.map_.keys()};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6System
s.prototype.values=function(){(0,goog.asserts.assert)
(this.size===this.map_.size);return this.map_.values()};
module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.prototype.forEac
h=function(a,b){(0,goog.asserts.assert)(this.size===this.map_.size);return
this.map_.forEach(a,b)};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6
Systems.prototype[Symbol.iterator]=function(){(0,goog.asserts.assert)
(this.size===this.map_.size);return
this.entries()};module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems.
prototype.updateSize_=function(){this.size=this.map_.size};
var module$contents$jspb$internal_map_MapBase=function()
{if(module$contents$jspb$internal_map_USE_DELEGATING_MAPS)return
Object.setPrototypeOf(module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Sy
stems.prototype,Map.prototype),Object.defineProperties(module$contents$jspb$interna
l_map_DelegatingMapForPseudoEs6Systems.prototype,{size:{value:0,configurable:!
0,enumerable:!0,writable:!
0}}),module$contents$jspb$internal_map_DelegatingMapForPseudoEs6Systems;var
a=function(){return $jscomp.construct(Map,
[],this.constructor)};$jscomp.inherits(a,Map);return a}();function
module$contents$jspb$internal_map_noopToApi(a){return a}
module$exports$jspb$internal_map.JspbMap=function(a,b,c,d,e){c=void 0===c?
module$contents$jspb$internal_map_noopToApi:c;d=void 0===d?
module$contents$jspb$internal_map_noopToApi:d;var
f=module$contents$jspb$internal_map_MapBase.call(this)||
this;module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$js
pb$internal_operations_logOperation({constructMap:1});(0,goog.asserts.assert)(!
module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS||
e===module$contents$jspb$internal_map_EMPTY_MAP_TOKEN||
c!==module$contents$jspb$internal_map_noopToApi);(0,goog.asserts.assert)(!
module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS||
e===module$contents$jspb$internal_map_EMPTY_MAP_TOKEN||void 0!==b||d!
==module$contents$jspb$internal_map_noopToApi);e=(0,module$exports$jspb$internal_ar
ray_state.getArrayState)(a);(0,goog.asserts.assert)
(e&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY||
(e&(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE
_OWNED|
module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED))!
==(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED|module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED),"owned
maps should not be constructed twice");e|
=module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED;
(0,module$exports$jspb$internal_array_state.setArrayState)
(a,e);f.arrayState=e;f.valueCtor=b;f.keyToApi=c;f.valueToApi=f.valueCtor?
module$contents$jspb$internal_map_messageToApi:
d;for(var g=0;g<a.length;g++){var h=a[g],k=c(h[0],!1,!0),l=h[1];b?void
0===l&&(l=null):l=d(h[1],!1,!0,void 0,void
0,e);module$contents$jspb$internal_map_MapBase.prototype.set.call(f,k,l)}return f};
$jscomp.inherits(module$exports$jspb$internal_map.JspbMap,module$contents$jspb$inte
rnal_map_MapBase);
module$exports$jspb$internal_map.JspbMap.prototype.checkNotImmutable_=function()
{if(this.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMM
UTABLE_ARRAY)throw Error("Cannot mutate an immutable
Map");};module$exports$jspb$internal_map.JspbMap.prototype.buildNewFromArray=functi
on(a){return new
module$exports$jspb$internal_map.JspbMap(a,this.valueCtor,this.keyToApi,this.valueT
oApi)};
module$exports$jspb$internal_map.JspbMap.prototype.toArrayOrUndefinedInternal=funct
ion(a){a=void 0===a?module$contents$jspb$internal_map_identity:a;if(0!==this.size)
{if(!module$contents$jspb$internal_options_sortMaps)return
this.toArrayInternalUnsorted(a);for(var b=this.keyArray_(),c=0;c<b.length;c++){var
d=b[c],e=module$contents$jspb$internal_map_MapBase.prototype.get.call(this,b[c]);b[
c]=module$contents$jspb$internal_operations_logNewArray([a(d),a(e)])}return b}};
module$exports$jspb$internal_map.JspbMap.prototype.toArrayInternalUnsorted=function
(a){a=void 0===a?module$contents$jspb$internal_map_identity:a;for(var
b=module$contents$jspb$internal_operations_logNewArray([]),c=module$contents$jspb$i
nternal_map_MapBase.prototype.entries.call(this),d;!
(d=c.next()).done;)d=d.value,d[0]=a(d[0]),d[1]=a(d[1]),b.push(d);return
b};module$exports$jspb$internal_map.JspbMap.prototype.clear=function()
{this.checkNotImmutable_();module$contents$jspb$internal_map_MapBase.prototype.clea
r.call(this)};
module$exports$jspb$internal_map.JspbMap.prototype.delete=function(a)
{this.checkNotImmutable_();return
module$contents$jspb$internal_map_MapBase.prototype.delete.call(this,this.keyToApi(
a,!0,!1))};module$exports$jspb$internal_map.JspbMap.prototype.del=function(a)
{return
this.delete(a)};module$exports$jspb$internal_map.JspbMap.prototype.entries=function
(){return
module$contents$jspb$internal_newTransformingIteratorIterable(this.keyArray_(),modu
le$contents$jspb$internal_map_getEntryFromMap,this)};
module$exports$jspb$internal_map.JspbMap.prototype.keys=function(){return
module$contents$jspb$internal_options_sortMaps?
module$contents$jspb$internal_newArrayIteratorIterable(this.keyArray_()):this.keysI
nternal_()};module$exports$jspb$internal_map.JspbMap.prototype.values=function()
{return
module$contents$jspb$internal_newTransformingIteratorIterable(this.keyArray_(),modu
le$exports$jspb$internal_map.JspbMap.prototype.get,this)};
module$exports$jspb$internal_map.JspbMap.prototype.forEach=function(a,b){var
c=this;if(module$contents$jspb$internal_options_sortMaps)for(var
d=this.keyArray_(),e=0;e<d.length;e++){var f=d[e];a.call(b,
(0,goog.asserts.assertExists)(this.get(f)),f,this)}else
module$contents$jspb$internal_map_MapBase.prototype.forEach.call(this,function(g,h)
{a.call(b,(0,goog.asserts.assertExists)(c.get(h)),h,c)})};
module$exports$jspb$internal_map.JspbMap.prototype.set=function(a,b)
{this.checkNotImmutable_();a=this.keyToApi(a,!0,!1);return null==a?this:null==b?
(module$contents$jspb$internal_map_MapBase.prototype.delete.call(this,a),this):modu
le$contents$jspb$internal_map_MapBase.prototype.set.call(this,a,this.valueToApi(b,!
0,!0,this.valueCtor,!1,this.arrayState))};
module$exports$jspb$internal_map.JspbMap.prototype.setWireEntry=function(a){var
b=this.keyToApi(a[0],!1,!0);a=a[1];a=this.valueCtor?void 0===a?
null:a:this.valueToApi(a,!1,!0,void 0,!
1,this.arrayState);module$contents$jspb$internal_map_MapBase.prototype.set.call(thi
s,b,a)};module$exports$jspb$internal_map.JspbMap.prototype.has=function(a){return
module$contents$jspb$internal_map_MapBase.prototype.has.call(this,this.keyToApi(a,!
1,!1))};
module$exports$jspb$internal_map.JspbMap.prototype.get=function(a)
{a=this.keyToApi(a,!1,!1);var
b=module$contents$jspb$internal_map_MapBase.prototype.get.call(this,a);if(void 0!
==b){var c=this.valueCtor;return c?(c=this.valueToApi(b,!1,!
0,c,this.callToMutableOnAccess,this.arrayState),c!
==b&&module$contents$jspb$internal_map_MapBase.prototype.set.call(this,a,c),c):b}};
module$exports$jspb$internal_map.JspbMap.prototype.keyArray_=function(){var
a=module$contents$jspb$internal_operations_logNewArray(Array.from(module$contents$j
spb$internal_map_MapBase.prototype.keys.call(this)));return
module$contents$jspb$internal_options_sortMaps?
a.sort(module$contents$jspb$internal_map_legacySortFunction):a};
module$exports$jspb$internal_map.JspbMap.prototype.keysInternal_=function(){return
module$contents$jspb$internal_options_sortMaps?
module$contents$jspb$internal_newArrayIteratorIterable(this.keyArray_()):module$con
tents$jspb$internal_map_MapBase.prototype.keys.call(this)};
module$exports$jspb$internal_map.JspbMap.prototype.internalMapComparator=function(a
,b){if(a instanceof module$exports$jspb$internal_map.JspbMap){var
c=this,d=module$contents$jspb$internal_map_compareMapToMapInternal(c,a,b);module$ex
ports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&((0,goog.asserts.assert)
(d===module$contents$jspb$internal_map_compareMapArraysInternal([].concat($jscomp.a
rrayFromIterable(c.entries())),
[].concat($jscomp.arrayFromIterable(a.entries())),b)),(0,goog.asserts.assert)(d===
module$contents$jspb$internal_map_compareMapToMaybeArrayInternal(a,
[].concat($jscomp.arrayFromIterable(c.entries())),b)));b=d}else
c=this,d=module$contents$jspb$internal_map_compareMapToMaybeArrayInternal(c,a,b),mo
dule$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&((0,goog.asserts.assert)
(d===module$contents$jspb$internal_map_compareMapToMapInternal(c,new
Map(Array.isArray(a)?a:void 0),b)),(0,goog.asserts.assert)
(d===module$contents$jspb$internal_map_compareMapArrays([].concat($jscomp.arrayFrom
Iterable(c.entries())),
Array.isArray(a)?a.slice():[],b))),b=d;return
b};module$exports$jspb$internal_map.JspbMap.prototype[Symbol.iterator]=function()
{return
this.entries()};module$exports$jspb$internal_map.JspbMap.prototype.rawValuesInterna
l_=function(){return
module$contents$jspb$internal_map_MapBase.prototype.values.call(this)};module$expor
ts$jspb$internal_map.JspbMap.prototype.toJSON=void
0;module$exports$jspb$internal_map.JspbMap.prototype.mapPrototypeMarker=module$expo
rts$jspb$internal.MAP_PROTOTYPE_MARKER_VALUE;
function module$contents$jspb$internal_map_legacySortFunction(a,b)
{a=""+a;b=""+b;return a>b?1:a<b?-
1:0}module$exports$jspb$internal_map.ImmutableMap=function(){throw Error("please
construct maps as mutable then call toImmutable");};
if(module$exports$jspb$internal.SUPPORTS_HAS_INSTANCE){var
rejectInstanceof=function(){throw Error(goog.DEBUG?"Cannot perform instanceof
checks on ImmutableMap: please use isImmutableMap or isMutableMap to assert on the
mutability of a map. See go/jspb-api-gotchas#immutable-classes for more
information":void 0);},
$jscomp$compprop24={};Object.defineProperties(module$exports$jspb$internal_map.Immu
tableMap,
($jscomp$compprop24[Symbol.hasInstance]=module$contents$jspb$internal_invisibleProp
Value(rejectInstanceof),
$jscomp$compprop24));(0,goog.asserts.assert)
(module$exports$jspb$internal_map.ImmutableMap[Symbol.hasInstance]===rejectInstance
of,"defineProperties did not work: was it monkey-patched?")}function
module$contents$jspb$internal_map_isImmutableMap(a){return a instanceof
module$exports$jspb$internal_map.JspbMap&&!!
(a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE
_ARRAY)}
function module$contents$jspb$internal_map_isMutableMap(a){return a instanceof
module$exports$jspb$internal_map.JspbMap&&!
(a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE
_ARRAY)}
function module$contents$jspb$internal_map_messageToApi(a,b,c,d,e,f)
{b&&module$contents$jspb$internal_accessor_helpers_checkMessageType(a,d);a=module$c
ontents$jspb$internal_accessor_helpers_messageFromInlineStorage(a,d,c,f);e&&(a=a.to
Mutable());(0,goog.asserts.assert)(!
(f&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)||
module$contents$jspb$internal_isImmutableMessage(a));return a}function
module$contents$jspb$internal_map_identity(a){return a}
function module$contents$jspb$internal_map_compareMapToMapInternal(a,b,c)
{if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){var
g;module$contents$jspb$internal_compare_compareFields(e,b.get(f),null==(g=c)?void
0:g.getFieldComparisonTypeInfo(2))||(d=!1)});return d}function
module$contents$jspb$internal_map_compareEntryKeys(a,b){if(!Array.isArray(a)||!
Array.isArray(b))return 0;a=a[0];b=b[0];return a===b?0:a<b?-1:1}
function module$contents$jspb$internal_map_compareMapToMaybeArrayInternal(a,b,c)
{if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!
1;b=Array.prototype.slice.call(b);b.sort(module$contents$jspb$internal_map_compareE
ntryKeys);for(var d=0,e=void 0,f=b.length-1;0<=f;f--){var g=b[f];if(!g||!
Array.isArray(g)||2!==g.length)return!1;var h=g[0];if(h!==e){e=void 0;if(!
module$contents$jspb$internal_compare_compareFields(a.get(h),g[1],null==(e=c)?void
0:e.getFieldComparisonTypeInfo(2)))return!1;
e=h;d++}}return d===a.size}
function module$contents$jspb$internal_map_compareMapArraysInternal(a,b,c){if(!
Array.isArray(a)||!Array.isArray(b))return!
1;a=Array.prototype.slice.call(a);b=Array.prototype.slice.call(b);a.sort(module$con
tents$jspb$internal_map_compareEntryKeys);b.sort(module$contents$jspb$internal_map_
compareEntryKeys);var d=a.length,e=b.length;if(0===d&&0===e)return!0;for(var
f=0,g=0;f<d&&g<e;){var h=void 0,k=a[f];if(!Array.isArray(k))return!1;for(var
l=k[0];f<d-1&&(h=a[f+1])[0]===l;)f++,k=h;var m=void 0;h=b[g];
if(!Array.isArray(h))return!1;for(var n=h[0];g<e-1&&(m=b[g+1])[0]===n;)g+
+,h=m;if(l!==n)return!1;l=void 0;if(!
module$contents$jspb$internal_compare_compareFields(k[1],h[1],null==(l=c)?void
0:l.getFieldComparisonTypeInfo(2)))return!1;f++;g++}return f>=d&&g>=e}
function module$contents$jspb$internal_map_compareMapArrays(a,b,c){var
d=module$contents$jspb$internal_map_compareMapArraysInternal(a,b);module$exports$js
pb$internal_options.DETAILED_JSPB_ASSERTS&&(0,goog.asserts.assert)
(d===module$contents$jspb$internal_map_compareMapToMapInternal(new Map(b),new
Map(a),c));return d}function module$contents$jspb$internal_map_getEntryFromMap(a)
{return[a,(0,goog.asserts.assertExists)(this.get(a))]}var
module$contents$jspb$internal_map_immutableEmptyMap;
function module$contents$jspb$internal_map_getImmutableEmptyMap(){return
module$contents$jspb$internal_map_immutableEmptyMap||
(module$contents$jspb$internal_map_immutableEmptyMap=new
module$exports$jspb$internal_map.JspbMap(module$contents$jspb$internal_array_state_
markArrayImmutable(module$contents$jspb$internal_operations_logNewArray([])),void
0,void 0,void
0,module$contents$jspb$internal_map_EMPTY_MAP_TOKEN))}module$exports$jspb$internal_
map.getImmutableEmptyMap=module$contents$jspb$internal_map_getImmutableEmptyMap;
module$exports$jspb$internal_map.isImmutableMap=module$contents$jspb$internal_map_i
sImmutableMap;module$exports$jspb$internal_map.isMutableMap=module$contents$jspb$in
ternal_map_isMutableMap;module$exports$jspb$internal_map.compareMapArrays=module$co
ntents$jspb$internal_map_compareMapArrays;function
module$contents$jspb$internal_compare_maybeCompareUint8Arrays(a,b)
{if("string"===typeof
b)try{b=module$contents$jspb$internal_bytes_decodeByteArray(b)}catch(c){return!
1}return
module$contents$jspb$internal_bytes_isU8(b)&&module$contents$jspb$internal_bytes_ui
nt8ArrayEquals(a,b)}var
module$contents$jspb$internal_compare_ValueType={UNKNOWN:0,REPEATED_ARRAY:1,MESSAGE
_ARRAY:2};
function module$contents$jspb$internal_compare_compareMessages(a,b){var
c=module$contents$jspb$internal_getComparisonTypeInfoArraySymbol(),d;if(module$cont
ents$jspb$internal_isMessage(a)){var e=a;a=e.internalArray_;null!=d||
(d=a[c]);e=module$contents$jspb$internal_getRepeatedFieldSet(e)}else if(!
Array.isArray(a))return!1;if(module$contents$jspb$internal_isMessage(b)){var
f=b;b=f.internalArray_;null!=d||(d=b[c]);e=e||
module$contents$jspb$internal_getRepeatedFieldSet(f)}else if(!
Array.isArray(b))return!1;
var g;return module$contents$jspb$internal_compare_compareFieldsInternal(a,b,null!
=(g=e)?
g:module$exports$jspb$internal.EMPTY_LIST_SENTINEL,d,module$contents$jspb$internal_
compare_ValueType.MESSAGE_ARRAY)}function
module$contents$jspb$internal_compare_compareFields(a,b,c){return
module$contents$jspb$internal_compare_compareFieldsInternal(a,b,void
0,c,module$contents$jspb$internal_compare_ValueType.UNKNOWN)}
function module$contents$jspb$internal_compare_compareFieldsInternal(a,b,c,d,e)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({internalCompareFields:1});null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&Array.isArray(a)&&Array
.isArray(b)&&module$contents$jspb$internal_compare_attachedTypeInfoLog.push(d?"cc":
"cn");if(a===b||null==a&&null==b)return!0;if(a instanceof
module$exports$jspb$internal_map.JspbMap)return a.internalMapComparator(b,
d);if(b instanceof module$exports$jspb$internal_map.JspbMap)return
b.internalMapComparator(a,d);if(null==a||null==b)return!1;if(a instanceof
module$exports$jspb$bytestring.ByteString)return
a.internalCompareEqualsDoNotUse(b);if(b instanceof
module$exports$jspb$bytestring.ByteString)return
b.internalCompareEqualsDoNotUse(a);if(module$contents$jspb$internal_bytes_isU8(a))r
eturn
module$contents$jspb$internal_compare_maybeCompareUint8Arrays(a,b);if(module$conten
ts$jspb$internal_bytes_isU8(b))return
module$contents$jspb$internal_compare_maybeCompareUint8Arrays(b,
a);var f=typeof a,g=typeof b;if("object"!==f||"object"!==g)return Number.isNaN(a)||
Number.isNaN(b)?
String(a)===String(b):"string"===f&&"number"===g||"number"===f&&"string"===g?
+a===+b:"boolean"===f&&"number"===g||"number"===f&&"boolean"===g?!a===!b:!
1;if(module$contents$jspb$internal_isMessage(a)||
module$contents$jspb$internal_isMessage(b))return
module$contents$jspb$internal_compare_compareMessages(a,b);if(a.constructor!
=b.constructor)return!1;if(a.constructor===Array){var
h=(0,module$exports$jspb$internal_array_state.getArrayState)(a),
k=(0,module$exports$jspb$internal_array_state.getArrayState)
(b),l=a.length,m=b.length;f=Math.max(l,m);g=module$contents$jspb$internal_array_sta
te_getArrayIndexOffset(h|
k);if(h=e===module$contents$jspb$internal_compare_ValueType.REPEATED_ARRAY||!!((h|
k)&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD))
(0,goog.asserts.assert)(e!
==module$contents$jspb$internal_compare_ValueType.MESSAGE_ARRAY),e=module$contents$
jspb$internal_compare_ValueType.REPEATED_ARRAY;if(!h)
{h=module$contents$jspb$internal_getComparisonTypeInfoArraySymbol();
var n;null!=d||(d=null!=(n=a[h])?n:b[h]);if(null!=d){c=d.getRepeatedFields();var
p=d.getMapFields()}}n=l&&a[l-1];h=m&&b[m-
1];module$contents$jspb$internal_isSparseObject(n)||
(n=null);module$contents$jspb$internal_isSparseObject(h)||(h=null);l=l-g-+!!n;m=m-
g-+!!h;for(k=0;k<f;k++)if(!
module$contents$jspb$internal_compare_compareFieldsInternalIter(module$contents$jsp
b$internal_fieldNumberFromIndex(k,g),a,n,l,b,h,m,g,c,p,d,e))return null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&module$contents$jspb$in
ternal_compare_attachedTypeInfoLog.push("f"),
!1;if(n)for(var q in n)if(!
module$contents$jspb$internal_compare_compareFieldsInternalObjIter(n,q,a,n,l,b,h,m,
g,c,p,d))return null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&module$contents$jspb$in
ternal_compare_attachedTypeInfoLog.push("f"),!1;if(h)for(var r in h)if(!(n&&r in
n||
module$contents$jspb$internal_compare_compareFieldsInternalObjIter(h,r,a,n,l,b,h,m,
g,c,p,d)))return null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&module$contents$jspb$in
ternal_compare_attachedTypeInfoLog.push("f"),
!1;null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&module$contents$jspb$in
ternal_compare_attachedTypeInfoLog.push("t");return!0}if(a.constructor===Object)
{if(module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS)throw Error("bad
object comparison");return module$contents$jspb$internal_compare_compareFields([a],
[b])}if(goog.DEBUG)throw Error("Invalid type in JSPB array: "+JSON.stringify(a)+"
vs "+JSON.stringify(b));throw Error();}
function
module$contents$jspb$internal_compare_compareFieldsInternalObjIter(a,b,c,d,e,f,g,h,
k,l,m,n){if(!module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(a,b))return!
0;a=+b;return!Number.isFinite(a)||a<e||a<h?!
0:module$contents$jspb$internal_compare_compareFieldsInternalIter(a,c,d,e,f,g,h,k,l
,m,n,module$contents$jspb$internal_compare_ValueType.MESSAGE_ARRAY)}
function
module$contents$jspb$internal_compare_compareFieldsInternalIter(a,b,c,d,e,f,g,h,k,l
,m,n)
{b=module$contents$jspb$internal_compare_getField(a,b,c,d,h);e=module$contents$jspb
$internal_compare_getField(a,e,f,g,h);n=n===module$contents$jspb$internal_compare_V
alueType.REPEATED_ARRAY;null!
=module$contents$jspb$internal_compare_attachedTypeInfoLog&&module$contents$jspb$in
ternal_compare_attachedTypeInfoLog.push(a);if(null==e)
{if(module$contents$jspb$internal_isEmptyRepeatedField(b,k,a))return!0;n||
module$contents$jspb$internal_nullVsEmptyComparisons||k||!Array.isArray(b)||
b.length||(f=(0,module$exports$jspb$internal_array_state.getArrayState)
(b),f&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED||
b[module$contents$jspb$internal_getComparisonTypeInfoArraySymbol()]||
module$contents$jspb$internal_nullVsEmptyComparisons++)}if(null==b)
{if(module$contents$jspb$internal_isEmptyRepeatedField(e,k,a))return!0;n||
module$contents$jspb$internal_nullVsEmptyComparisons||k||!Array.isArray(e)||
e.length||(f=(0,module$exports$jspb$internal_array_state.getArrayState)
(e),f&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED||
e[module$contents$jspb$internal_getComparisonTypeInfoArraySymbol()]||
module$contents$jspb$internal_nullVsEmptyComparisons++)}var p;m=n?m:null==(p=m)?
void 0:p.getFieldComparisonTypeInfo(a);var q;if(l=null==(q=l)?void 0:q.has(a))
{if(null==b&&Array.isArray(e))return
0===e.length;if(null==e&&Array.isArray(b))return
0===b.length;if(Array.isArray(b)&&Array.isArray(e))return
module$contents$jspb$internal_map_compareMapArrays(b,
e,m)}return module$contents$jspb$internal_compare_compareFieldsInternal(b,e,void
0,m,l||module$contents$jspb$internal_isRepeatedFieldInSet(k,a)?
module$contents$jspb$internal_compare_ValueType.REPEATED_ARRAY:module$contents$jspb
$internal_compare_ValueType.UNKNOWN)}var
module$contents$jspb$internal_compare_attachedTypeInfoLog=void 0;
function
module$contents$jspb$internal_compare_getAttachedTypeInfoLogDuringComparison(a)
{try{return
module$contents$jspb$internal_compare_attachedTypeInfoLog=[],a(),module$contents$js
pb$internal_compare_attachedTypeInfoLog.join(",")}finally{module$contents$jspb$inte
rnal_compare_attachedTypeInfoLog=void 0}}function
module$contents$jspb$internal_compare_getField(a,b,c,d,e){var f,g;return null!
=(g=a<d?b[a+e]:void 0)?g:null==(f=c)?void 0:f[a]};var
module$exports$jspb$internal_construct={},module$contents$jspb$internal_construct_a
lternateDataPayload;function
module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a,b)
{(0,goog.asserts.assert)
(module$contents$jspb$internal_array_state_areMutableReferencesOwned(b));module$con
tents$jspb$internal_construct_alternateDataPayload=b;a=new
a(b);module$contents$jspb$internal_construct_alternateDataPayload=void 0;return a}
function
module$contents$jspb$internal_construct_internalConstructFromSharedArray(a,b)
{module$contents$jspb$internal_construct_alternateDataPayload=b;a=new
a(b);module$contents$jspb$internal_construct_alternateDataPayload=void 0;return
a}module$exports$jspb$internal_construct.ENCODED_MAP_META=!0;var
module$contents$jspb$internal_construct_mapEntryMessageMeta,module$contents$jspb$in
ternal_construct_noPivotNoMessageIdMessageMeta;
function module$contents$jspb$internal_construct_tryParseMessageMeta(a)
{switch(typeof a){case "boolean":return
module$contents$jspb$internal_construct_mapEntryMessageMeta||
(module$contents$jspb$internal_construct_mapEntryMessageMeta=[0,void 0,!0]);case
"number":return 0<a?void 0:0===a?
module$contents$jspb$internal_construct_noPivotNoMessageIdMessageMeta||
(module$contents$jspb$internal_construct_noPivotNoMessageIdMessageMeta=[0,void 0]):
[-a,void 0];case "string":return[0,a];case
"object":return(0,goog.asserts.assertArray)(a),
(0,goog.asserts.assert)(2===a.length||3===a.length&&!0===a[2]),
(0,goog.asserts.assert)(null==a[0]||"number"===typeof a[0]&&0<=a[0]),
(0,goog.asserts.assert)(null==a[1]||"string"===typeof a[1]),a}}function
module$contents$jspb$internal_construct_constructMessageArrayFromMeta(a,b)
{(0,goog.asserts.assertArray)(b);var c=b;b=c[0];c=c[1];return
module$contents$jspb$internal_construct_constructMessageArray(a,b,c)}
function module$contents$jspb$internal_construct_arrayIndexOffsetForMeta(a)
{(0,goog.asserts.assertArray)(a);return a[1]?0:-1}
function module$contents$jspb$internal_construct_constructMessageArray(a,b,c)
{null==a&&(a=module$contents$jspb$internal_construct_alternateDataPayload);module$c
ontents$jspb$internal_construct_alternateDataPayload=void
0;if(goog.DEBUG&&goog.asserts.ENABLE_ASSERTS&&null!=a)for(var d=0;d<a.length;d++)
{var
e=a[d];Array.isArray(e)&&module$contents$jspb$internal_assertArrayInvariants(e)}if(
null==a)e=module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENC
ES_ARE_OWNED|module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED,
c?(a=module$contents$jspb$internal_operations_logNewArray([c]),e|
=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID):a=module$
contents$jspb$internal_operations_logNewArray([]),b&&(e=module$contents$jspb$intern
al_array_state_setPivot(e,b));else{if(!Array.isArray(a)){if(goog.DEBUG)throw
Error("data passed to JSPB constructors must be an Array, got '"+JSON.stringify(a)
+"' a "+goog.typeOf(a));throw Error("narr");}if(goog.DEBUG&&(Object.isFrozen(a)||!
Object.isExtensible(a)||Object.isSealed(a)))throw Error("data passed to JSPB
constructors must be mutable");
e=(0,module$exports$jspb$internal_array_state.getArrayState)
(a);if(e&module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY)thro
w
Error("farr");if(e&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRU
CTED)return
goog.asserts.ENABLE_ASSERTS&&module$contents$jspb$internal_array_state_checkMessage
StateInvariants(a,e),a;e|
=module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED;if(c&&(e|
=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID,c!==
a[0])){if(goog.DEBUG)throw Error('Expected message to have a message id: "'+c+'" in
the array, got: '+JSON.stringify(a[0])+" a "+goog.typeOf(a[0])+", are you parsing
with the wrong proto?");throw Error("mid");}a:{d=a;c=e;e=b;if(b=d.length){var f=b-
1;d=d[f];if(module$contents$jspb$internal_isSparseObject(d)){c|
=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT;b=modul
e$contents$jspb$internal_array_state_getArrayIndexOffset(c);b=module$contents$jspb$
internal_fieldNumberFromIndex(f,
b);if(b>=module$exports$jspb$internal_array_state.PIVOT_LIMIT){if(goog.DEBUG)throw
Error("Found a message with a sparse object at fieldNumber "+b+" is >= the limit
"+module$exports$jspb$internal_array_state.PIVOT_LIMIT);throw
Error("pvtlmt");}e=module$contents$jspb$internal_array_state_setPivot(c,b);break
a}}if(e)
{d=module$contents$jspb$internal_array_state_getArrayIndexOffset(c);d=Math.max(e,mo
dule$contents$jspb$internal_fieldNumberFromIndex(b,d));if(d>module$exports$jspb$int
ernal_array_state.PIVOT_LIMIT){if(goog.DEBUG)throw Error("a message was constructed
with an array of length "+
b+" which is longer than "+module$exports$jspb$internal_array_state.PIVOT_LIMIT+",
are you using a supported serializer?");throw
Error("spvt");}e=module$contents$jspb$internal_array_state_setPivot(c,d)}else e=c}}
(0,module$exports$jspb$internal_array_state.setArrayState)(a,e);
(0,goog.asserts.assert)
(e&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED);return a}
function module$contents$jspb$internal_construct_isMapEntryMessageMeta(a){return
a===module$contents$jspb$internal_construct_mapEntryMessageMeta}module$exports$jspb
$internal_construct.arrayIndexOffsetForMeta=module$contents$jspb$internal_construct
_arrayIndexOffsetForMeta;module$exports$jspb$internal_construct.constructMessageArr
ay=module$contents$jspb$internal_construct_constructMessageArray;module$exports$jsp
b$internal_construct.constructMessageArrayFromMeta=module$contents$jspb$internal_co
nstruct_constructMessageArrayFromMeta;
module$exports$jspb$internal_construct.internalConstructFromOwnedArray=module$conte
nts$jspb$internal_construct_internalConstructFromOwnedArray;module$exports$jspb$int
ernal_construct.internalConstructFromSharedArray=module$contents$jspb$internal_cons
truct_internalConstructFromSharedArray;module$exports$jspb$internal_construct.isMap
EntryMessageMeta=module$contents$jspb$internal_construct_isMapEntryMessageMeta;modu
le$exports$jspb$internal_construct.tryParseMessageMeta=module$contents$jspb$interna
l_construct_tryParseMessageMeta;function
module$contents$jspb$internal_json_jspbJsonStringifyReplacer(a,b){return
module$contents$jspb$internal_json_convertToJsonFormat(b)}
function module$contents$jspb$internal_json_convertToJsonFormat(a){switch(typeof a)
{case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case
"object":if(a)if(Array.isArray(a))
{if(module$contents$jspb$internal_isEmptyRepeatedField(a,void
0,0))return}else{if(module$contents$jspb$internal_bytes_isU8(a))return
module$contents$jspb$internal_bytes_encodeByteArray(a);if(a instanceof
module$exports$jspb$bytestring.ByteString)return a.asBase64();if(a instanceof
module$exports$jspb$internal_map.JspbMap)return
a.toArrayOrUndefinedInternal()}}return a}
;var module$exports$jspb$internal_copy={};
function module$contents$jspb$internal_copy_copyProtoArray(a,b,c){var
d=module$contents$jspb$internal_operations_slice(a),e=d.length,f=b&module$exports$j
spb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT?d[e-1]:void 0;e+=f?-
1:0;for(b=b&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID
?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var g in
f)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(f,g)&&((0,goog.asserts.a
ssert)(!isNaN(g),"should not have non-numeric keys in sparse objects after a
constructor is called."),
b[g]=c(f[g]))}module$contents$jspb$internal_copyUnknownFields(d,a,!1);return d}
function module$contents$jspb$internal_copy_cloneJspbFieldInternal(a,b,c,d,e)
{if(null!=a){if(Array.isArray(a))return
module$contents$jspb$internal_isEmptyRepeatedField(a,void 0,0)?void
0:e&&(0,module$exports$jspb$internal_array_state.getArrayState)
(a)&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY?
a:module$contents$jspb$internal_copy_cloneJspbArray(a,b,c,void 0!
==d,e);if(module$contents$jspb$internal_isSparseObject(a)){var f,g={};for(f in
a)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(a,
f)&&(g[f]=module$contents$jspb$internal_copy_cloneJspbFieldInternal(a[f],b,c,d,e));
return f=g}return b(a,d)}}
function module$contents$jspb$internal_copy_cloneJspbArray(a,b,c,d,e){var f=d||c?
(0,module$exports$jspb$internal_array_state.getArrayState)(a):0;d=d?!!
(f&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED):void 0;for(var
g=module$contents$jspb$internal_operations_slice(a),h=0;h<g.length;h+
+)g[h]=module$contents$jspb$internal_copy_cloneJspbFieldInternal(g[h],b,c,d,e);c&&(
module$contents$jspb$internal_copyUnknownFields(g,a,!1),c(f,g));return g}
function
module$contents$jspb$internal_copy_convertMapValuesToStructuredCloneableFormat(a)
{return
module$contents$jspb$internal_copy_cloneJspbFieldInternal(a,module$contents$jspb$in
ternal_copy_convertToStructuredCloneableFormat,void 0,void 0,!1)}
function module$contents$jspb$internal_copy_convertToStructuredCloneableFormat(a)
{return module$contents$jspb$internal_isMessage(a)?a.toStructuredCloneableValue():a
instanceof module$exports$jspb$bytestring.ByteString?
a.legacyUnwrap():module$contents$jspb$internal_bytes_isU8(a)?new Uint8Array(a):a
instanceof module$exports$jspb$internal_map.JspbMap?
a.toArrayOrUndefinedInternal(module$contents$jspb$internal_copy_convertMapValuesToS
tructuredCloneableFormat):a}
function module$contents$jspb$internal_copy_convertMapValueToJsonFormat(a){return
module$contents$jspb$internal_copy_cloneJspbFieldInternal(a,module$contents$jspb$in
ternal_copy_convertToJsonFormat,void 0,void 0,!1)}
function module$contents$jspb$internal_copy_convertToJsonFormat(a){return
module$contents$jspb$internal_isMessage(a)?a.toJsonValue():a instanceof
module$exports$jspb$internal_map.JspbMap?
a.toArrayOrUndefinedInternal(module$contents$jspb$internal_copy_convertMapValueToJs
onFormat):module$contents$jspb$internal_json_convertToJsonFormat(a)}
function module$contents$jspb$internal_copy_cloneToJsonFormat(a)
{(0,goog.asserts.assertArray)(a);return
module$contents$jspb$internal_copy_cloneJspbArray(a,module$contents$jspb$internal_c
opy_convertToJsonFormat,void 0,void 0,!1)}function
module$contents$jspb$internal_copy_cloneToStructuredCloneableFormat(a)
{(0,goog.asserts.assertArray)(a);return
module$contents$jspb$internal_copy_cloneJspbArray(a,module$contents$jspb$internal_c
opy_convertToStructuredCloneableFormat,void 0,void 0,!1)}
module$exports$jspb$internal_copy.cloneRaw=module$exports$jspb$internal_bytes.SUPPO
RTS_STRUCTURED_CLONE?structuredClone:function(a){return
module$contents$jspb$internal_copy_cloneToStructuredCloneableFormat(a)};module$expo
rts$jspb$internal_copy.cloneJspbArray=module$contents$jspb$internal_copy_cloneJspbA
rray;module$exports$jspb$internal_copy.cloneToJsonFormat=module$contents$jspb$inter
nal_copy_cloneToJsonFormat;module$exports$jspb$internal_copy.cloneToStructuredClone
ableFormat=module$contents$jspb$internal_copy_cloneToStructuredCloneableFormat;
module$exports$jspb$internal_copy.copyProtoArray=module$contents$jspb$internal_copy
_copyProtoArray;function
module$contents$jspb$internal_immutability_copyImmutableFieldValue(a,b,c){c=void
0===c?
module$contents$jspb$internal_array_state_copyArrayBitsAndMaybeFreezeForCloneImmuta
ble:c;if(null!=a){if(module$exports$jspb$internal_bytes.SUPPORTS_UINT8ARRAY&&a
instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var
d=(0,module$exports$jspb$internal_array_state.getArrayState)
(a);if(d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRA
Y)return a;module$contents$jspb$internal_assertArrayInvariants(a);
if(b){b=d===module$exports$jspb$internal_array_state.DEFAULT_ARRAY_STATE;var e=!!
(d&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED),f=!!
(d&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED)||!
(d&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_I
F_OWNED);b=b||e&&!f}return b?
(0,module$exports$jspb$internal_array_state.setArrayState)(a,(d|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED)&~(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED)):module
$contents$jspb$internal_copy_cloneJspbArray(a,module$contents$jspb$internal_immutab
ility_copyImmutableFieldValue,d&module$exports$jspb$internal_array_state.ArrayState
Flags.IS_API_FORMATTED?
module$contents$jspb$internal_array_state_copyArrayBitsAndMaybeFreezeForCloneImmuta
ble:c,!0,!0)}return module$contents$jspb$internal_isMessage(a)?
(goog.asserts.assert(module$contents$jspb$internal_isMessage(a)),c=a.internalArray_
,d=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(c),a=d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY
?
a:module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.constru
ctor,module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(c,
d,!0)),a):a instanceof module$exports$jspb$internal_map.JspbMap?
a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_
ARRAY?
a:a.buildNewFromArray(module$contents$jspb$internal_array_state_markArrayImmutable(
a.toArrayInternalUnsorted(module$contents$jspb$internal_immutability_copyImmutableF
ieldValue))):a}}
function
module$contents$jspb$internal_immutability_copyMutableWithImmutableFields(a)
{goog.asserts.assert(module$contents$jspb$internal_isMessage(a));var
b=a.internalArray_,c=b;b=(0,module$exports$jspb$internal_array_state.getMessageArra
yState)(b);return
b=module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.constru
ctor,module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(c,b,!
1))}
function
module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(a,b,c)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({copyMessageWithImmutableFields:1});var d=c||
b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY?
module$contents$jspb$internal_array_state_copyArrayBitsAndMaybeFreezeForCloneImmuta
ble:module$contents$jspb$internal_array_state_copyArrayBitsForClone,e=!!
(b&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED);
a=module$contents$jspb$internal_copy_copyProtoArray(a,b,function(f){return
module$contents$jspb$internal_immutability_copyImmutableFieldValue(f,e,d)});
(0,module$exports$jspb$internal_array_state.addArrayStateFlags)
(a,module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED|(c?
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY:0));ret
urn a}
function
module$contents$jspb$internal_immutability_recursiveMarkMessageImmutable(a)
{module$contents$jspb$internal_immutability_recursiveMarkArrayImmutable(a.internalA
rray_,!0);return a}function
module$contents$jspb$internal_immutability_recursiveMarkMapImmutable(a)
{a.callToMutableOnAccess=!
1;a.valueCtor&&a.forEach(module$contents$jspb$internal_immutability_recursiveMarkMe
ssageImmutable);a.arrayState|
=module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY}
function module$contents$jspb$internal_immutability_recursiveMarkArrayImmutable(a)
{goog.asserts.assertArray(a);var
b=(0,module$exports$jspb$internal_array_state.getArrayState)(a);if(!
(b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY))for
(b=(b|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)&~modul
e$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES,
(0,module$exports$jspb$internal_array_state.setArrayState)
(a,b),b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&&
Object.freeze(a),b=0;b<a.length;b++){var
c=a[b];if(c)if(Array.isArray(c))module$contents$jspb$internal_immutability_recursiv
eMarkArrayImmutable(c);else if(c instanceof
module$exports$jspb$internal_map.JspbMap)module$contents$jspb$internal_immutability
_recursiveMarkMapImmutable(c);else
if(module$contents$jspb$internal_isMessage(c))module$contents$jspb$internal_immutab
ility_recursiveMarkMessageImmutable(c);else if(b===a.length-
1&&module$contents$jspb$internal_isSparseObject(c))for(var d in
c)if(module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(c,
d)){var e=c[d];e&&(Array.isArray(e)?
module$contents$jspb$internal_immutability_recursiveMarkArrayImmutable(e):e
instanceof module$exports$jspb$internal_map.JspbMap?
module$contents$jspb$internal_immutability_recursiveMarkMapImmutable(e):module$cont
ents$jspb$internal_isMessage(e)&&module$contents$jspb$internal_immutability_recursi
veMarkMessageImmutable(e))}}}
function module$contents$jspb$internal_immutability_messageToMutable(a){var
b=a.internalArray_,c=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(b);return
c&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY?
module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.construct
or,module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(b,c,!
1)):a}
function module$contents$jspb$internal_immutability_messageToImmutable(a){var
b=a.internalArray_,c=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(b);return
c&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY?
a:module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.constru
ctor,module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(b,c,!
0))};var jspb_internal_adapters={};function
module$contents$jspb_internal_adapters_asyncThrowIf64BitIntReturnTypeMismatches(a,b
,c){null!
=b&&module$contents$jspb$internal_options_asyncThrowIf64BitIntReturnTypeMismatches&
&(c=c?"string":"number",typeof b!==c&&(b=goog.DEBUG?"Expected a "+c+"-typed 64-bit
int value, but got "+goog.typeOf(b)+":
"+b:"64birm",module$contents$jspb$exceptions_throttledAsyncThrowWarning(a,module$ex
ports$jspb$internal_symbols.RETURNED_64BIT_INT_VALUE_MISMATCH_SYMBOL,4,b)))}
function
module$contents$jspb_internal_adapters_asyncThrowIfRepeated64BitIntReturnTypeMismat
ches(a,b,c){0!
==b.length&&module$contents$jspb_internal_adapters_asyncThrowIf64BitIntReturnTypeMi
smatches(a,b[0],c)}
jspb_internal_adapters.disallowBasic64BitIntGettersInDebug=function()
{if(goog.DEBUG)throw Error("Please use an alternate 64-bit int accessor instead
(getter suffixed with _asLegacyNumberOrString or _asString instead). We are
actively migrating callers and plan to temporarily delete this getter in the near
future. See also g/web-protos-announce/c/Gfflhuh1vxE.");};
function module$contents$jspb_internal_adapters_needsApiFormatting(a,b,c,d){if(!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&b))retur
n!0;if(null==c)return!1;(0,goog.asserts.assert)
(c===module$exports$jspb$internal_array_state.TypeSpecificApiFormat.LEGACY||
c===module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED||
c===module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED,"Exp
ected format type to be one of legacy, string, or gbigint, but got "+
c);!
d&&c===module$exports$jspb$internal_array_state.TypeSpecificApiFormat.LEGACY&&(modu
le$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&b||
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED&b)&&modu
le$contents$jspb$internal_options_asyncThrowIfStringTypedInt64FieldDowngrade&&5>(a.
constructor[module$exports$jspb$internal_symbols.STRING_TYPE_DOWNGRADES_SYMBOL]=(a.
constructor[module$exports$jspb$internal_symbols.STRING_TYPE_DOWNGRADES_SYMBOL]|
0)+1)&&module$contents$jspb$exceptions_asyncThrowWarning(goog.DEBUG?
"an _asLegacyNumberOrString accessor was called after an _asString accessor: this
can cause type errors when numeric values are expected -- we recommend
standardizing your whole application on the _asString version. See go/jspb-gencode?
polyglot=typescript#int64-string-accessors for more information.":"int64
downgrade");return
c===module$exports$jspb$internal_array_state.TypeSpecificApiFormat.LEGACY?!1:!
(c&b)}
jspb_internal_adapters.getFieldNullable=function(a,b,c){a=a.internalArray_;return
jspb_internal_adapters.getFieldNullableInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a),b,c)};function
module$contents$jspb_internal_adapters_getDenseArrayValueForFieldNumber(a,b,c,d)
{b=module$contents$jspb$internal_indexFromFieldNumber(d,module$contents$jspb$intern
al_array_state_getArrayIndexOffset(b));if(!(0>b||b>=a.length||b>=c))return a[b]}
jspb_internal_adapters.getFieldNullableInternal=function(a,b,c,d)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({getField:1});if(-1===c)return null;var
e=module$contents$jspb$internal_array_state_getPivot(b);if(c>=e)
{if(b&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT)re
turn a[a.length-1][c]}else{var
f=a.length;if(d&&b&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPA
RSE_OBJECT&&(d=a[f-1][c],
null!=d))
{if(module$contents$jspb_internal_adapters_getDenseArrayValueForFieldNumber(a,b,e,c
)){if(goog.DEBUG)throw Error("b/316921031: message had field number "+c+" in both
the sparse object and the array
portion.");module$contents$jspb$exceptions_throttledAsyncThrowWarning(void
0,module$exports$jspb$internal_symbols.DUPLICATED_EXTENSION_SYMBOL,4,"dubext")}retu
rn d}return
module$contents$jspb_internal_adapters_getDenseArrayValueForFieldNumber(a,b,e,c)}};
jspb_internal_adapters.setField=function(a,b,c,d){var
e=a.internalArray_,f=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)
(e);module$contents$jspb$internal_checkNotImmutableState(f);module$contents$jspb_in
ternal_adapters_setFieldIgnoringImmutabilityInternal(e,f,b,c,d);return
a};jspb_internal_adapters.setFieldIgnoringImmutability=module$contents$jspb_interna
l_adapters_setFieldIgnoringImmutabilityInternal;
function
module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,b,c,d
,e)
{module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&module$contents$jspb$i
nternal_operations_logOperation({setField:1});(0,goog.asserts.assert)(!
module$contents$jspb$internal_isSparseObject(d),"Invalid object passed to a
setter");var f=module$contents$jspb$internal_array_state_getPivot(b);if(c>=f||e&&!
module$exports$jspb$internal_options.writeLowIndexExtensionsInline)
{(0,goog.asserts.assert)(f!==
module$exports$jspb$internal_array_state.NO_PIVOT);e=b;if(b&module$exports$jspb$int
ernal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT)var g=a[a.length-
1];else{if(null==d)return e;g=a;var
h=module$contents$jspb$internal_indexFromFieldNumber(f,module$contents$jspb$interna
l_array_state_getArrayIndexOffset(b));(0,goog.asserts.assert)
(h>=g.length&&Number.isInteger(h)&&4294967295>h,"Expected sparseObjectIndex (%s) to
be >= %s and a valid array index",h,g.length);g=g[h]={};e|
=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT}g[c]=
d;c<f&&(a[module$contents$jspb$internal_indexFromFieldNumber(c,module$contents$jspb
$internal_array_state_getArrayIndexOffset(b))]=void 0);e!
==b&&(0,module$exports$jspb$internal_array_state.setArrayState)(a,e);return
e}a[module$contents$jspb$internal_indexFromFieldNumber(c,module$contents$jspb$inter
nal_array_state_getArrayIndexOffset(b))]=d;b&module$exports$jspb$internal_array_sta
te.ArrayStateFlags.HAS_SPARSE_OBJECT&&(a=a[a.length-1],c in a&&delete a[c]);return
b}
jspb_internal_adapters.setFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setField(a,b,c,d)};jspb_internal_adapters.hasField=functio
n(a,b,c){c=void 0===c?!1:c;return null!
=jspb_internal_adapters.getFieldNullable(a,b,c)};jspb_internal_adapters.hasWrapperF
ield=function(a,b,c,d){d=void 0===d?!1:d;return void 0!
==module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefined(a,b,c,d
)};
var
module$contents$jspb_internal_adapters_RepeatedFieldShareMode={DEFAULT:0,CALLER_HAN
DLES_IMMUTABILITY:1,CALLER_DOESNT_RETURN_ARRAY:2},module$contents$jspb_internal_ada
pters_ALL_SHARE_MODE_FLAGS=module$contents$jspb_internal_adapters_RepeatedFieldShar
eMode.CALLER_HANDLES_IMMUTABILITY|
module$contents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_DOESNT_RETURN_
ARRAY,module$contents$jspb_internal_adapters_RepeatedArrayReturnType={FROZEN:1,UNFR
OZEN:2,EITHER_FROZEN_OR_UNFROZEN:3,FROZEN_IF_OWNED:4};
jspb_internal_adapters.RepeatedArrayReturnType=module$contents$jspb_internal_adapte
rs_RepeatedArrayReturnType;
function module$contents$jspb_internal_adapters_assertMessageReturnedSafely(a,b,c)
{if(!goog.DEBUG||!a)return a;(0,goog.asserts.assert)
(module$contents$jspb$internal_array_state_isImmutableArray(b)?
module$contents$jspb$internal_isImmutableMessage(a):!
0);module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&((0,goog.asserts.ass
ert)((0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a.internalArray_)&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRU
CTED),(0,goog.asserts.assert)(!
((0,module$exports$jspb$internal_array_state.getMessageArrayState)(b)&
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)||
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a.internalArray_)&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMU
TABLE_ARRAY),c&&(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(b)&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE
_OWNED&&(0,goog.asserts.assert)
((0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a.internalArray_)&
(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OW
NED|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY)));retu
rn a}
function module$contents$jspb_internal_adapters_assertMapReturnedSafely(a,b)
{if(null==a)return a;(0,goog.asserts.assert)
(a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE
_ARRAY||
a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED||
!
(a.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFE
RENCES_ARE_OWNED));(0,goog.asserts.assert)
(module$contents$jspb$internal_map_isImmutableMap(a)===module$contents$jspb$interna
l_array_state_isImmutableArray(b));
if(module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&a.valueCtor)for(var
c=$jscomp.makeIterator(a.rawValuesInternal_()),d=c.next();!
d.done;d=c.next())if((d=d.value)&&"object"==typeof
d&&module$contents$jspb$internal_isMessage(d)&&module$contents$jspb_internal_adapte
rs_assertMessageReturnedSafely(d,b,void 0),Array.isArray(d)){var
e=(0,module$exports$jspb$internal_array_state.getArrayState)
(d);e&module$exports$jspb$internal_array_state.ArrayStateFlags.CONSTRUCTED&&module$
contents$jspb$internal_array_state_checkMessageStateInvariants(d,
e)}return a}
function module$contents$jspb_internal_adapters_assertArrayReturnedSafely(a,b,c,d)
{c=void 0===c?!1:c;d=void 0===d?!
1:d;module$contents$jspb$internal_assertArrayInvariants(a,c);
(0,goog.asserts.assert)
(module$contents$jspb$internal_array_state_isRepeatedField(a));c||(d||
(0,goog.asserts.assert)(Object.isFrozen(a)||!
module$contents$jspb$internal_array_state_areMutableReferencesOwned(a)),
(0,goog.asserts.assert)
(module$contents$jspb$internal_array_state_isImmutableArray(b)?Object.isFrozen(a):!
0));return a}
jspb_internal_adapters.hasOneofWrapperField=function(a,b,c,d){return void 0!
==module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefined(a,b,jsp
b_internal_adapters.isOneofCase(a,d,c))};
function module$contents$jspb_internal_adapters_getRepeatedFieldInternal(a,b,c,d,e)
{(0,goog.asserts.assert)
((d&module$contents$jspb_internal_adapters_ALL_SHARE_MODE_FLAGS)===d);var
f=b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY,g=j
spb_internal_adapters.getFieldNullableInternal(a,b,c,e);Array.isArray(g)||
(g=module$exports$jspb$internal.EMPTY_LIST_SENTINEL);var h=!
(d&module$contents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_DOESNT_RETU
RN_ARRAY);d=!
(d&module$contents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_HANDLES_IMM
UTABILITY);
var k=!!
(b&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED),l=(0,module$exports$jspb$internal_array_state.getArrayState)(g);l!
==module$exports$jspb$internal_array_state.DEFAULT_ARRAY_STATE||!k||f||h?
l&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD||(l|
=module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD,
(0,module$exports$jspb$internal_array_state.setArrayState)(g,l)):(l=l|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED,(0,module$exports$jspb$internal_array_state.setArrayState)(g,l));f?(a=!
1,l&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY||
(module$contents$jspb$internal_array_state_markArrayImmutable(g),a=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&l)),(d||
a)&&Object.freeze(g)):(f=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&l)||!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY&
l),d&&f?
(g=module$contents$jspb$internal_operations_slice(g),d=module$exports$jspb$internal
_array_state.ArrayStateFlags.IS_REPEATED_FIELD,k&&!h&&(d|
=module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OW
NED),(0,module$exports$jspb$internal_array_state.setArrayState)
(g,d),module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a
,b,c,g,e)):h&&l&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_RE
FERENCES_ARE_OWNED&&!f&&module$contents$jspb$internal_array_state_markShared(g));
return g}jspb_internal_adapters.getRepeatedField=function(a,b,c){c=void 0===c?!
1:c;a=a.internalArray_;return
module$contents$jspb_internal_adapters_assertArrayReturnedSafely(module$contents$js
pb_internal_adapters_getRepeatedFieldInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,module$contents$jspb_internal_adapters_RepeatedFieldShareMode.DEFAULT,c),a)};
jspb_internal_adapters.getRepeatedFieldForBinary=function(a,b,c){c=void 0===c?!
1:c;return
module$contents$jspb_internal_adapters_assertArrayReturnedSafely(module$contents$js
pb_internal_adapters_getRepeatedFieldInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,module$contents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_DOESNT_R
ETURN_ARRAY,c),a,!1,!0)};
jspb_internal_adapters.getRepeatedFieldUnformattedForImmutableJS=function(a,b)
{a=a.internalArray_;return
module$contents$jspb_internal_adapters_assertArrayReturnedSafely(module$contents$js
pb_internal_adapters_getRepeatedFieldInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,module$contents$jspb_internal_adapters_RepeatedFieldShareMode.DEFAULT,!1),a,!
0)};
jspb_internal_adapters.getApiFormattedRepeatedFieldForImmutableJS=function(a,b,c,d)
{d=void 0===d?!0:d;return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,c,d?
module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN:module$conten
ts$jspb_internal_adapters_RepeatedArrayReturnType.UNFROZEN,!1,!0)};
jspb_internal_adapters.getRepeatedWrapperCount=function(a,b,c,d){d=void 0===d?!
1:d;a=a.internalArray_;b=module$contents$jspb_internal_adapters_getRepeatedWrapperF
ieldInternal(a,(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,c,module$contents$jspb_internal_adapters_RepeatedArrayReturnType.EITHER_FROZE
N_OR_UNFROZEN,d,!0);return b.length};
jspb_internal_adapters.getRepeatedIndexedReadonlyWrapper=function(a,b,c,d,e){e=void
0===e?!
1:e;a=a.internalArray_;b=module$contents$jspb_internal_adapters_getRepeatedWrapperF
ieldInternal(a,(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),c,b,module$contents$jspb_internal_adapters_RepeatedArrayReturnType.EITHER_FROZE
N_OR_UNFROZEN,e,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(b,d);return b[d]};
jspb_internal_adapters.getRepeatedIndexedWrapper=function(a,b,c,d,e){e=void 0===e?!
1:e;a=jspb_internal_adapters.getRepeatedWrapperField(a,c,b,module$contents$jspb_int
ernal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,e);module$contents
$jspb$internal_checkRepeatedIndexInRangeForGet(a,d);return a[d]};
jspb_internal_adapters.getRepeatedIndexedMutableWrapper=function(a,b,c,d,e){e=void
0===e?!1:e;a=a.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(f);b=module$contents$jspb_
internal_adapters_getRepeatedWrapperFieldInternal(a,f,c,b,module$contents$jspb_inte
rnal_adapters_RepeatedArrayReturnType.UNFROZEN,e,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(b,d);e=b[d];c=modu
le$contents$jspb$internal_immutability_messageToMutable(e);
e!==c&&(b[d]=c,d=(0,module$exports$jspb$internal_array_state.getArrayState)
(b),module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_
IF_OWNED&d&&(d=module$contents$jspb$internal_array_state_clearFlagBit(d,module$expo
rts$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_OWNED),
(0,module$exports$jspb$internal_array_state.setArrayState)(b,d)));return c};
jspb_internal_adapters.setRepeatedIndexedWrapper=function(a,b,c,d,e,f){f=void
0===f?!1:f;var
g=a;module$contents$jspb_internal_adapters_spliceRepeatedWrapperField(g,b,c,e,d,f,1
);return a};
jspb_internal_adapters.getFloatingPointFieldNullable=function(a,b,c)
{a=a.internalArray_;var
d=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),e=jspb_internal_adapters.getFieldNullableInternal(a,d,b,c),f=module$contents$js
pb$internal_accessor_helpers_coerceToNullishNumber(e);null!=f&&f!
==e&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
d,b,f,c);return f};
jspb_internal_adapters.getBooleanFieldNullable=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishBoolean(jspb_internal
_adapters.getFieldNullable(a,b,c))};
jspb_internal_adapters.getBytesFieldNullable=function(a,b,c){a=a.internalArray_;var
d=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),e=jspb_internal_adapters.getFieldNullableInternal(a,d,b,c),f=!!
(d&(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED));f=module$contents$jspb$internal_bytesAsByteString(e,!0,!0,f);null!=f&&f!
==e&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
d,b,f,c);return f};jspb_internal_adapters.getRepeatedFieldReturnType=function(a,b)
{return b&&a!==module$exports$jspb$internal.DO_NOT_FREEZE__LEGACY_OPTION?
module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN_IF_OWNED:modu
le$contents$jspb_internal_adapters_RepeatedArrayReturnType.UNFROZEN};
function
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,c,d,e,f,g)
{var
h=a.internalArray_,k=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(h),l=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&k);d=l
?module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN:d;f=!!
f;l=module$contents$jspb_internal_adapters_getRawRepeatedFieldWithDefault(h,k,b,e);
var m=(0,module$exports$jspb$internal_array_state.getArrayState)(l);
module$contents$jspb$internal_assertRepeated64BitIntegerFieldApiFormattingInvariant
s(l);if(module$contents$jspb_internal_adapters_needsApiFormatting(a,m,g,f))
{if(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&m||
Object.isFrozen(l))l=module$contents$jspb$internal_operations_slice(l),m=module$con
tents$jspb_internal_adapters_setFlagsForSlicedArray(m,k),k=module$contents$jspb_int
ernal_adapters_setFieldIgnoringImmutabilityInternal(h,k,b,l,e);for(var
n=a=0;a<l.length;a++){var p=
c(l[a]);null!=p&&(l[n+
+]=p)}n<a&&(l.length=n);m=module$contents$jspb_internal_adapters_setFlagsForRepeate
dField(m,k);m=module$contents$jspb$internal_array_state_setFlagBit(m,module$exports
$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED);m=module$contents$jspb$internal_array_state_clearTypeSpecificFormattedFlagBit
s(m);g&&(m=module$contents$jspb$internal_array_state_setFlagBit(m,g));
(0,module$exports$jspb$internal_array_state.setArrayState)(l,
m);module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&m&&O
bject.freeze(l)}module$contents$jspb_internal_adapters_isFrozenByFlags(m)||
(c=m,m=(g=module$contents$jspb_internal_adapters_shouldReturnFrozen(d,m))?
module$contents$jspb$internal_array_state_setFlagBit(m,module$exports$jspb$internal
_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY):module$contents$jspb_internal_adap
ters_updateOwnedState(m,k,f),m!
==c&&(0,module$exports$jspb$internal_array_state.setArrayState)(l,m),g&&
Object.freeze(l));d===module$contents$jspb_internal_adapters_RepeatedArrayReturnTyp
e.UNFROZEN&&module$contents$jspb_internal_adapters_isFrozenByFlags(m)&&(l=module$co
ntents$jspb$internal_operations_slice(l),m=module$contents$jspb_internal_adapters_s
etFlagsForSlicedArray(m,k),m=module$contents$jspb_internal_adapters_updateOwnedStat
e(m,k,f),(0,module$exports$jspb$internal_array_state.setArrayState)
(l,m),module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(h
,k,b,l,e));module$contents$jspb$internal_assertRepeated64BitIntegerFieldApiFormatti
ngInvariants(l);
return f?l:module$contents$jspb_internal_adapters_assertArrayReturnedSafely(l,h,!
1,f)}function
module$contents$jspb_internal_adapters_getRawRepeatedFieldWithDefault(a,b,c,d)
{a=jspb_internal_adapters.getFieldNullableInternal(a,b,c,d);return
Array.isArray(a)?a:module$exports$jspb$internal.EMPTY_LIST_SENTINEL}
function module$contents$jspb_internal_adapters_setFlagsForRepeatedField(a,b)
{a===module$exports$jspb$internal_array_state.DEFAULT_ARRAY_STATE&&(a=module$conten
ts$jspb_internal_adapters_setFlagsForSlicedArray(a,b));return
a=module$contents$jspb$internal_array_state_setFlagBit(a,module$exports$jspb$intern
al_array_state.ArrayStateFlags.IS_REPEATED_FIELD)}
function module$contents$jspb_internal_adapters_isFrozenByFlags(a){return!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&a)&&!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&a)||!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY&a)}
function module$contents$jspb_internal_adapters_shouldReturnFrozen(a,b){return
a===module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN||
a===module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN_IF_OWNED&
&!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OW
NED&b)}
jspb_internal_adapters.getRepeatedFloatingPointField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishNumber,c,d,e)};jspb_internal_ada
pters.getRepeatedBooleanField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishBoolean,c,d,e)};
function module$contents$jspb_internal_adapters_coerceToByteStringAllowZeroCopy(a)
{return module$contents$jspb$internal_bytesAsByteString(a,!0,!0,!0)}function
module$contents$jspb_internal_adapters_coerceToByteString(a){return
module$contents$jspb$internal_bytesAsByteString(a,!0,!0,!1)}
jspb_internal_adapters.getRepeatedBytesField=function(a,b,c,d,e){var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a.internalArray_);f=!!
(f&(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED));return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,f?
module$contents$jspb_internal_adapters_coerceToByteStringAllowZeroCopy:module$conte
nts$jspb_internal_adapters_coerceToByteString,
c,d,e)};jspb_internal_adapters.getFieldWithDefault=function(a,b,c,d){return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getFieldNul
lable(a,b,d),c)};jspb_internal_adapters.getBytesFieldWithDefault=function(a,b,c,d)
{a=jspb_internal_adapters.getBytesFieldNullable(a,b,d);return null==a?null===c?
c:void 0===c?
module$exports$jspb$bytestring.ByteString.empty():module$exports$jspb$bytestring.By
teString.fromBase64(c):a};
function module$contents$jspb_internal_adapters_shallowCopyMapEntryArray(a)
{a=module$contents$jspb$internal_operations_slice(a);for(var b=0;b<a.length;b++)
{var
c=a[b]=module$contents$jspb$internal_operations_slice(a[b]);Array.isArray(c[1])&&(c
[1]=module$contents$jspb$internal_array_state_markArrayImmutable(c[1]))}return a}
function
module$contents$jspb_internal_adapters_getReadonlyMapFieldInternal(a,b,c,d,e,f,g,h)
{var
k=b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY,l=!
1;if(null==c){if(e)return;if(k)return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(module$contents$jspb
$internal_map_getImmutableEmptyMap(),a);c=module$contents$jspb$internal_operations_
logNewArray([])}else
if(c.constructor===module$exports$jspb$internal_map.JspbMap)if((e=0!
=(c.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABL
E_ARRAY))&&
!k)c=c.toArrayInternalUnsorted();else return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(c,a);else
Array.isArray(c)?
l=module$contents$jspb$internal_array_state_isImmutableArray(c):c=module$contents$j
spb$internal_operations_logNewArray([]);if(k){if(!c.length)return
module$contents$jspb$internal_map_getImmutableEmptyMap();l||(l=!
0,module$contents$jspb$internal_array_state_markArrayImmutable(c))}else l&&(l=!
1,c=module$contents$jspb_internal_adapters_shallowCopyMapEntryArray(c));l||
(module$contents$jspb$internal_array_state_isConstructed(c)?
module$contents$jspb$internal_array_state_markShared(c):module$exports$jspb$interna
l_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWNED&b&&module$contents$jspb$
internal_array_state_markMutableReferencesAreOwned(c));f=new
module$exports$jspb$internal_map.JspbMap(c,f,g,h);module$contents$jspb_internal_ada
pters_setFieldIgnoringImmutabilityInternal(a,b,d,f,!1);return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(f,a)}
function module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,e,f)
{a=a.internalArray_;var
g=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);return
module$contents$jspb_internal_adapters_getReadonlyMapFieldInternal(a,g,jspb_interna
l_adapters.getFieldNullableInternal(a,g,b),b,c,d,e,f)}
jspb_internal_adapters.getReadonlyMapFieldForImmutableJS=function(a,b,c,d,e,f)
{a=a.internalArray_;var
g=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);return
module$contents$jspb_internal_adapters_getReadonlyMapFieldInternal(a,g,jspb_interna
l_adapters.getFieldNullableInternal(a,g,b),b,c,d,e,f)};
function
module$contents$jspb_internal_adapters_getMapFieldInternal(a,b,c,d,e,f,g,h){var
k=b&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY;a=m
odule$contents$jspb_internal_adapters_getReadonlyMapFieldInternal(a,b,c,d,e,f,g,h);
if(null==a)return a;!k&&f&&(a.callToMutableOnAccess=!0);return a}
jspb_internal_adapters.putIntoMapForBinary=function(a,b,c){var
d=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(d);var
e=jspb_internal_adapters.getFieldNullableInternal(a,d,b);if(e instanceof
module$exports$jspb$internal_map.JspbMap){var f=0!
=(e.arrayState&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABL
E_ARRAY);f?
(e=e.toArrayInternalUnsorted(),e.push(c),module$contents$jspb_internal_adapters_set
FieldIgnoringImmutabilityInternal(a,
d,b,e)):e.setWireEntry(c)}else Array.isArray(e)?
(module$contents$jspb$internal_array_state_isImmutableArray(e)&&(e=module$contents$
jspb_internal_adapters_shallowCopyMapEntryArray(e),module$contents$jspb_internal_ad
apters_setFieldIgnoringImmutabilityInternal(a,d,b,e)),e.push(c)):module$contents$js
pb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,d,b,[c])};
jspb_internal_adapters.getMapField=function(a,b,c,d,e,f){a=a.internalArray_;var
g=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(module$contents$jspb
_internal_adapters_getMapFieldInternal(a,g,jspb_internal_adapters.getFieldNullableI
nternal(a,g,b),b,c,d,e,f),a)};
function module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,d,e)
{a=a.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(module$contents$jspb
_internal_adapters_getMapFieldInternal(a,f,jspb_internal_adapters.getFieldNullableI
nternal(a,f,b),b,c,void 0,d,e),a)}
function module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,e)
{a=a.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);return
module$contents$jspb_internal_adapters_assertMapReturnedSafely(module$contents$jspb
_internal_adapters_getMapFieldInternal(a,f,jspb_internal_adapters.getFieldNullableI
nternal(a,f,b),b,c,d,e),a)}
jspb_internal_adapters.clearMapField=function(a,b){var
c=a.internalArray_,d=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(c);module$contents$jspb$internal_checkNotImmutableState(d);var
e=jspb_internal_adapters.getFieldNullableInternal(c,d,b);e instanceof
module$exports$jspb$internal_map.JspbMap&&!
module$contents$jspb$internal_map_isImmutableMap(e)?
e.clear():module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityIntern
al(c,d,b,void 0);return a};
function module$contents$jspb_internal_adapters_mapSetter(a,b){this.set(b,a)}
function
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,d,e,f)
{var
g=a.internalArray_,h=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(g);module$contents$jspb$internal_checkNotImmutableState(h);if(null==c)return
module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(g,h,b,v
oid
0,f),a;module$contents$jspb$internal_accessor_helpers_checkRepeatedFieldIsArray(c);
var k=(0,module$exports$jspb$internal_array_state.getArrayState)(c),l=k,m=
!!(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&k)||
Object.isFrozen(c);e=!m&&(f?!0:!1)&&e!
==module$exports$jspb$internal.DO_NOT_SLICE__LEGACY_OPTION;if(module$contents$jspb_
internal_adapters_needsApiFormatting(a,k))for(module$exports$jspb$internal_options.
DETAILED_JSPB_ASSERTS&&(0,goog.asserts.assert)
(k===module$exports$jspb$internal_array_state.DEFAULT_ARRAY_STATE),k=module$exports
$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_O
WNED,m&&(c=module$contents$jspb$internal_operations_slice(c),l=0,k=module$contents$
jspb_internal_adapters_setFlagsForSlicedArray(k,h),k=module$contents$jspb_internal_
adapters_updateOwnedState(k,h,!0)),m=0;m<c.length;m+
+)c[m]=d(c[m]);e&&(c=module$contents$jspb$internal_operations_slice(c),l=0,k=module
$contents$jspb_internal_adapters_setFlagsForSlicedArray(k,h),k=module$contents$jspb
_internal_adapters_updateOwnedState(k,
h,!0));k!==l&&(0,module$exports$jspb$internal_array_state.setArrayState)
(c,k);module$contents$jspb$internal_assertArrayInvariants(c);module$contents$jspb_i
nternal_adapters_setFieldIgnoringImmutabilityInternal(g,h,b,c,f);return a}
jspb_internal_adapters.setRepeatedField=function(a,b,c,d){var
e=a;e=e.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(e);module$contents$jspb$internal_checkNotImmutableState(f);null==c?
c=module$exports$jspb$internal.EMPTY_LIST_SENTINEL:
(module$contents$jspb$internal_accessor_helpers_checkRepeatedFieldIsArray(c),c=modu
le$contents$jspb$internal_array_state_addFlagsOnPossiblyFrozenArray(c,module$export
s$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD));
module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(e,f,b,c
,d);return a};
jspb_internal_adapters.setRepeatedFieldIgnoringImmutability=function(a,b,c,d)
{null==c?c=void 0:
(module$contents$jspb$internal_accessor_helpers_checkRepeatedFieldIsArray(c),c=modu
le$contents$jspb$internal_array_state_addFlagsOnPossiblyFrozenArray(c,module$export
s$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD));var
e=a.internalArray_;module$contents$jspb_internal_adapters_setFieldIgnoringImmutabil
ityInternal(e,(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(e),b,c,d);
return a};jspb_internal_adapters.setRepeatedFieldIfNotNullish=function(a,b,c,d)
{return null==c?
a:jspb_internal_adapters.setRepeatedField(a,b,c,d)};jspb_internal_adapters.setRepea
tedInt32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkInt32,d,e)};
jspb_internal_adapters.setRepeatedInt64Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkInt64,d,e)};jspb_internal_adapters.setRe
peatedInt32FieldIfNotNullish=function(a,b,c,d){return null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkInt32,module$exports$jspb$internal.DO_
NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedInt64FieldIfNotNullish=function(a,b,c,d){return
null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkInt64,module$exports$jspb$internal.DO_
NOT_SLICE__LEGACY_OPTION,d)};jspb_internal_adapters.setRepeatedInt64StringField=fun
ction(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkInt64,d,e)};
jspb_internal_adapters.setRepeatedInt64StringFieldIfNotNullish=function(a,b,c,d)
{return null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkInt64,module$exports$jspb$internal.DO_
NOT_SLICE__LEGACY_OPTION,d)};jspb_internal_adapters.setRepeatedUint32Field=function
(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkUint32,d,e)};
jspb_internal_adapters.setRepeatedUint64Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkUint64,d,e)};jspb_internal_adapters.setR
epeatedUint32FieldIfNotNullish=function(a,b,c,d){return null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkUint32,module$exports$jspb$internal.DO
_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedUint64FieldIfNotNullish=function(a,b,c,d){return
null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkUint64,module$exports$jspb$internal.DO
_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedUint64StringField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkUint64,d,e)};
jspb_internal_adapters.setRepeatedUint64StringFieldIfNotNullish=function(a,b,c,d)
{return null==c?
a:module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$
contents$jspb$internal_accessor_helpers_checkUint64,module$exports$jspb$internal.DO
_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedFloatingPointField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkFloatingPoint,d,e)};jspb_internal_adapte
rs.setRepeatedFloatingPointFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setRepeatedFloatingPointField(a,b,c,module$exports$jspb$in
ternal.DO_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedStringField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkString,d,e)};jspb_internal_adapters.setR
epeatedStringFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setRepeatedStringField(a,b,c,module$exports$jspb$internal.
DO_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedEnumField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkEnum,d,e)};jspb_internal_adapters.setRep
eatedEnumFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setRepeatedEnumField(a,b,c,module$exports$jspb$internal.DO
_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedBooleanField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb$internal_accessor_helpers_checkBoolean,d,e)};jspb_internal_adapters.set
RepeatedBooleanFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setRepeatedBooleanField(a,b,c,module$exports$jspb$internal
.DO_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.setRepeatedBytesField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setApiFormattedRepeatedField(a,b,c,module$co
ntents$jspb_internal_adapters_checkBytes,d,e)};jspb_internal_adapters.setRepeatedBy
tesFieldIfNotNullish=function(a,b,c,d){return null==c?
a:jspb_internal_adapters.setRepeatedBytesField(a,b,c,module$exports$jspb$internal.D
O_NOT_SLICE__LEGACY_OPTION,d)};
jspb_internal_adapters.clearField=function(a,b,c){return
jspb_internal_adapters.setField(a,b,void 0,c)};function
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,c,d){var
e=a;e=e.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(e);module$contents$jspb$internal_checkNotImmutableState(f);d="0"===d?
0===Number(c):c===d;module$contents$jspb_internal_adapters_setFieldIgnoringImmutabi
lityInternal(e,f,b,d?void 0:c);return a}
jspb_internal_adapters.setProto3BytesFieldIfNotNullish=function(a,b,c){return
null==c?
a:jspb_internal_adapters.setProto3BytesField(a,b,c)};jspb_internal_adapters.setProt
o3Int64StringFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setProto3Int64StringField(a,b,c)};jspb_internal_adapters.s
etProto3Uint64StringFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setProto3Uint64StringField(a,b,c)};
jspb_internal_adapters.setProto3FloatingPointFieldIfNotNullish=function(a,b,c)
{return null==c?a:jspb_internal_adapters.setProto3FloatingPointField(a,b,c)};
function module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,c,d)
{var
e=a.internalArray_,f=(0,module$exports$jspb$internal_array_state.getArrayState)
(e);module$contents$jspb$internal_checkNotImmutable(a);b=module$contents$jspb_inter
nal_adapters_getRepeatedFieldInternal(e,f,b,module$contents$jspb_internal_adapters_
RepeatedFieldShareMode.CALLER_DOESNT_RETURN_ARRAY,!
1);e=(0,module$exports$jspb$internal_array_state.getArrayState)(b);e=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&
e)&&!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&e);if(Ar
ray.isArray(d))for(f=0;f<d.length;f++)b.push(c(d[f],e));else
for(d=$jscomp.makeIterator(d),f=d.next();!
f.done;f=d.next())f=f.value,b.push(c(f,e));module$contents$jspb$internal_assertRepe
ated64BitIntegerFieldApiFormattingInvariants(b);return a}
function
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,c,d,e,f)
{module$contents$jspb_internal_adapters_addToRepeatedFieldImpl(a.internalArray_,b,c
,d,e,f);return a}
function module$contents$jspb_internal_adapters_addToRepeatedFieldImpl(a,b,c,d,e,f)
{var g=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(g);a=module$contents$jspb_
internal_adapters_getRepeatedFieldInternal(a,g,b,module$contents$jspb_internal_adap
ters_RepeatedFieldShareMode.CALLER_DOESNT_RETURN_ARRAY,f);b=(0,module$exports$jspb$
internal_array_state.getArrayState)(a);b=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&
b)&&!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&b);d=c(d
,b);void 0!=e?
a.splice(e,0,d):a.push(d);module$contents$jspb$internal_assertRepeated64BitIntegerF
ieldApiFormattingInvariants(a)}function
module$contents$jspb_internal_adapters_identity(a){return
a}jspb_internal_adapters.addToRepeatedFieldForBinary=function(a,b,c,d,e)
{module$contents$jspb_internal_adapters_addToRepeatedFieldImpl(a,b,module$contents$
jspb_internal_adapters_identity,c,d,e)};
jspb_internal_adapters.addToRepeatedField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb_internal_adapters_identity,c,d,e)};
function
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,c,d,e,f,g)
{var
h=a,k=h.internalArray_;k=(0,module$exports$jspb$internal_array_state.getMessageArra
yState)
(k);module$contents$jspb$internal_checkNotImmutableState(k);b=f(h,b,module$contents
$jspb_internal_adapters_RepeatedArrayReturnType.UNFROZEN,g,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForSet(b,d);f=(0,module$e
xports$jspb$internal_array_state.getArrayState)(b);f=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&
f)&&!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED&f);b[d]=
c(e,f);module$contents$jspb$internal_assertRepeated64BitIntegerFieldApiFormattingIn
variants(b);return a}
jspb_internal_adapters.setOneofField=function(a,b,c,d){var
e=a;e=e.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(e);module$contents$jspb$internal_checkNotImmutableState(f);
(c=module$contents$jspb_internal_adapters_computeOneofCaseInternal(e,f,c))&&c!
==b&&null!
=d&&(f=module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(
e,f,c,void
0));module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(e,f
,b,d);return a};
jspb_internal_adapters.setOneofFieldForBinary=function(a,b,c,d){var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(e);
(0,goog.asserts.assertExists)(d);
(c=module$contents$jspb_internal_adapters_computeOneofCaseInternal(a,e,c))&&c!
==b&&(e=module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal
(a,e,c,void
0));module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,e
,b,d)};
jspb_internal_adapters.setOneofFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofField(a,b,c,d)};jspb_internal_adapters.isOneofCase
=function(a,b,c){a=a.internalArray_;return
module$contents$jspb_internal_adapters_computeOneofCaseInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a),b)===c?c:-1};
jspb_internal_adapters.computeOneofCase=function(a,b){a=a.internalArray_;return
module$contents$jspb_internal_adapters_computeOneofCaseInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a),b)};
function module$contents$jspb_internal_adapters_computeOneofCaseInternal(a,b,c)
{for(var d=0,e=0;e<c.length;e++){var f=c[e];null!
=jspb_internal_adapters.getFieldNullableInternal(a,b,f)&&(0!
==d&&(b=module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal
(a,b,d,void 0)),d=f)}return d}
jspb_internal_adapters.getMutableOneofWrapperField=function(a,b,c,d){var
e=a.internalArray_,f=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)
(e);d=module$contents$jspb_internal_adapters_computeOneofCaseInternal(e,f,d);a=jspb
_internal_adapters.getMutableWrapperField(a,b,c);d&&d!
==c&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(e,
f,d,void 0);return a};
jspb_internal_adapters.getMutableWrapperField=function(a,b,c,d)
{a=a.internalArray_;var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(e);var
f=jspb_internal_adapters.getFieldNullableInternal(a,e,c,d);b=module$contents$jspb$i
nternal_immutability_messageToMutable(module$contents$jspb$internal_accessor_helper
s_messageFromInlineStorage(f,b,!0,e));f!
==b&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
e,c,b,d);return
b};jspb_internal_adapters.getMutableOneofWrapperArrayForBinary=function(a,b,c,d)
{var e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(e);
(d=module$contents$jspb_internal_adapters_computeOneofCaseInternal(a,e,d))&&c!
==d&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
e,d,void 0);return jspb_internal_adapters.getMutableWrapperArrayForBinary(a,b,c)};
jspb_internal_adapters.getMutableWrapperArrayForBinary=function(a,b,c,d){var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(e);var
f=jspb_internal_adapters.getFieldNullableInternal(a,e,c,d);if(null!
=f&&module$contents$jspb$internal_isMessage(f))return
b=f,f=module$contents$jspb$internal_immutability_messageToMutable(b),f!
==b&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
e,c,f,d),f.internalArray_;
if(Array.isArray(f)){var
g=(0,module$exports$jspb$internal_array_state.getArrayState)
(f);g=g&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY
?module$contents$jspb$internal_immutability_copyArrayWithImmutableFields(f,g,!
1):f;g=module$contents$jspb$internal_construct_constructMessageArrayFromMeta(g,b)}e
lse g=module$contents$jspb$internal_construct_constructMessageArrayFromMeta(void
0,b);g!
==f&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
e,
c,g,d);return g};
function
module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefined(a,b,c,d)
{a=a.internalArray_;var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),f=jspb_internal_adapters.getFieldNullableInternal(a,e,c,d);b=module$contents$js
pb$internal_accessor_helpers_messageFromInlineStorage(f,b,!1,e);(f=b!==f&&null!
=b)&&module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
e,c,b,d);return
module$contents$jspb_internal_adapters_assertMessageReturnedSafely(b,a,
f)}jspb_internal_adapters.getReadonlyWrapperField=function(a,b,c,d){d=void 0===d?!
1:d;return(a=module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefi
ned(a,b,c,d))?
a:module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(b)};
jspb_internal_adapters.getImmutableWrapperField=function(a,b,c,d){d=void 0===d?!
1:d;return(d=module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefi
ned(a,b,c,d))?
(b=module$contents$jspb$internal_immutability_messageToImmutable(d),b!
==d&&(d=b,a=a.internalArray_,module$contents$jspb_internal_adapters_setFieldIgnorin
gImmutabilityInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),c,b)),d):module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInst
ance(b)};
jspb_internal_adapters.getWrapperFieldOrUndefined=function(a,b,c,d){d=void 0===d?!
1:d;b=module$contents$jspb_internal_adapters_getReadonlyWrapperFieldOrUndefined(a,b
,c,d);if(null==b)return b;a=a.internalArray_;var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a);if(!
(e&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY))
{var f=module$contents$jspb$internal_immutability_messageToMutable(b);f!
==b&&(b=f,module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityIntern
al(a,
e,c,b,d))}return
module$contents$jspb_internal_adapters_assertMessageReturnedSafely(b,a,void
0)};jspb_internal_adapters.getReadonlyRepeatedWrapperField=function(a,b,c,d)
{a=a.internalArray_;return
module$contents$jspb_internal_adapters_getRepeatedWrapperFieldInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,c,module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN,d)};
jspb_internal_adapters.getImmutableRepeatedWrapperFieldForImmutableJS=function(a,b,
c){var
d=a.internalArray_,e=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(d);a=!!
(e&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY);b=m
odule$contents$jspb_internal_adapters_getRepeatedWrapperFieldInternal(d,e,b,c,modul
e$contents$jspb_internal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN
,!1,!0);if(a)return b;a=(0,module$exports$jspb$internal_array_state.getArrayState)
(b);
if(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY||
a&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_O
WNED&&a&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VAL
UES_IF_OWNED)return b;if(!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_
OWNED)||
a&module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY)b=module$co
ntents$jspb$internal_operations_slice(b),module$contents$jspb_internal_adapters_set
FieldIgnoringImmutabilityInternal(d,
e,c,b);if(!
(a&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY||
a&module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF
_OWNED&&a&module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENC
ES_ARE_OWNED))for(c=0;c<b.length;c+
+)d=b[c],e=module$contents$jspb$internal_immutability_messageToImmutable(d),e!
==d&&(b[c]=e);a=module$contents$jspb$internal_array_state_setFlagBit(a,module$expor
ts$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_OWNED|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWN
ED);a=module$contents$jspb$internal_array_state_clearFlagBit(a,module$exports$jspb$
internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES);
(0,module$exports$jspb$internal_array_state.setArrayState)(b,a);return b};
function
module$contents$jspb_internal_adapters_getRepeatedWrapperFieldInternal(a,b,c,d,e,f,
g,h){var k=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&b);e=k
?module$contents$jspb_internal_adapters_RepeatedArrayReturnType.FROZEN:e;g=!!
g;h&&(h=!k);var
l=module$contents$jspb_internal_adapters_getRawRepeatedFieldWithDefault(a,b,d,f),m=
(0,module$exports$jspb$internal_array_state.getArrayState)(l);k=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&
m);if(!k)
{m=module$contents$jspb_internal_adapters_setFlagsForRepeatedField(m,b);var
n=l,p=b,q=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&m);q&&
(p=module$contents$jspb$internal_array_state_setFlagBit(p,module$exports$jspb$inter
nal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY));for(var r=!q,t=!
0,x=0,u=0;x<n.length;x++){var
w=n[x];w=module$contents$jspb$internal_accessor_helpers_messageFromInlineStorage(w,
c,!1,p);if(w instanceof c){if(!q){var
v=module$contents$jspb$internal_isImmutableMessage(w);
r&&(r=!v);t&&(t=v)}n[u+
+]=w}}u<x&&(n.length=u);m=module$contents$jspb$internal_array_state_setFlagBit(m,mo
dule$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED);m=module$c
ontents$jspb$internal_array_state_setFlagBitTo(m,module$exports$jspb$internal_array
_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_OWNED,t);m=module$contents$jspb$int
ernal_array_state_setFlagBitTo(m,module$exports$jspb$internal_array_state.ArrayStat
eFlags.ONLY_MUTABLE_VALUES,r);
(0,module$exports$jspb$internal_array_state.setArrayState)(n,
m);q&&Object.freeze(n)}if(h&&(h=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES&m)||!
l.length&&module$contents$jspb_internal_adapters_shouldReturnFrozen(e,m),!h))
{module$contents$jspb_internal_adapters_isFrozenByFlags(m)&&(l=module$contents$jspb
$internal_operations_slice(l),m=module$contents$jspb_internal_adapters_setFlagsForS
licedArray(m,b),b=module$contents$jspb_internal_adapters_setFieldIgnoringImmutabili
tyInternal(a,b,d,l,f));h=l;n=m;for(c=0;c<h.length;c++)m=h[c],
p=module$contents$jspb$internal_immutability_messageToMutable(m),m!
==p&&(h[c]=p);n=module$contents$jspb$internal_array_state_setFlagBit(n,module$expor
ts$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES);n=module$contents
$jspb$internal_array_state_setFlagBitTo(n,module$exports$jspb$internal_array_state.
ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_OWNED,!h.length);
(0,module$exports$jspb$internal_array_state.setArrayState)
(h,n);m=n}module$contents$jspb_internal_adapters_isFrozenByFlags(m)||
(h=m,(n=module$contents$jspb_internal_adapters_shouldReturnFrozen(e,m))?(c=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OW
NED&m),c=!l.length||!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_
OWNED&m)&&(!k||c),m=module$contents$jspb$internal_array_state_setFlagBit(m,c?
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY:module$
exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY)):m=module$contents$
jspb_internal_adapters_updateOwnedState(m,
b,g),m!==h&&(0,module$exports$jspb$internal_array_state.setArrayState)
(l,m),n&&Object.freeze(l));
(e=e===module$contents$jspb_internal_adapters_RepeatedArrayReturnType.UNFROZEN)&&mo
dule$contents$jspb_internal_adapters_isFrozenByFlags(m)&&(l=module$contents$jspb$in
ternal_operations_slice(l),m=module$contents$jspb_internal_adapters_setFlagsForSlic
edArray(m,b),m=module$contents$jspb_internal_adapters_updateOwnedState(m,b,g),
(0,module$exports$jspb$internal_array_state.setArrayState)
(l,m),module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a
,
b,d,l,f));if(g)a=l;else{b=l;d=!k;f=e;f=void 0===f?!
1:f;if(goog.asserts.ENABLE_ASSERTS)
{g=module$contents$jspb$internal_array_state_isImmutableArray(a);k=module$contents$
jspb$internal_array_state_isImmutableArray(b);e=(e=Object.isFrozen(b))&&k;module$co
ntents$jspb_internal_adapters_assertArrayReturnedSafely(b,a,f);if(g||k)f?
(0,goog.asserts.assert)(k):(0,goog.asserts.assert)(e);(0,goog.asserts.assert)
(module$contents$jspb$internal_array_state_isApiFormattedField(b));if(k&&b.length)f
or(f=1,module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&
(f=b.length),g=0;g<f;g+
+)module$contents$jspb_internal_adapters_assertMessageReturnedSafely(b[g],a,d)}a=b}
return a}jspb_internal_adapters.getReadonlyOneofWrapperField=function(a,b,c,d)
{return
jspb_internal_adapters.getReadonlyWrapperField(a,b,jspb_internal_adapters.isOneofCa
se(a,d,c))};
jspb_internal_adapters.getRepeatedWrapperField=function(a,b,c,d,e)
{a=a.internalArray_;var
f=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(a),g=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&f);ret
urn
module$contents$jspb_internal_adapters_getRepeatedWrapperFieldInternal(a,f,b,c,d,e,
!1,!g)};
jspb_internal_adapters.setWrapperField=function(a,b,c,d,e){null!=d?
module$contents$jspb$internal_accessor_helpers_checkMessageType(d,
(0,goog.asserts.assertExists)(b)):d=void 0;return
jspb_internal_adapters.setField(a,c,d,e)};jspb_internal_adapters.setWrapperFieldIfN
otNullish=function(a,b,c,d,e){return null==d?
a:jspb_internal_adapters.setWrapperField(a,b,c,d,e)};
jspb_internal_adapters.setOneofWrapperField=function(a,b,c,d,e){null!=e?
module$contents$jspb$internal_accessor_helpers_checkMessageType(e,
(0,goog.asserts.assertExists)(b)):e=void 0;return
jspb_internal_adapters.setOneofField(a,c,d,e)};jspb_internal_adapters.setOneofWrapp
erFieldIfNotNullish=function(a,b,c,d,e){return null==e?
a:jspb_internal_adapters.setOneofWrapperField(a,b,c,d,e)};
jspb_internal_adapters.setFloatingPointFieldIfNotNullish=function(a,b,c){return
null==c?
a:jspb_internal_adapters.setFloatingPointField(a,b,c)};jspb_internal_adapters.setOn
eofFloatingPointFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofFloatingPointField(a,b,c,d)};
jspb_internal_adapters.setRepeatedWrapperField=function(a,b,c,d,e,f){var
g=a;g=g.internalArray_;var
h=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(g);module$contents$jspb$internal_checkNotImmutableState(h);if(null==d)return
module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(g,h,c,v
oid
0,f),a;module$contents$jspb$internal_accessor_helpers_checkRepeatedFieldIsArray(d);
var k=(0,module$exports$jspb$internal_array_state.getArrayState)(d),l=k,m=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&
k)||!!(module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY&k);
(0,goog.asserts.assert)(!m||Object.isFrozen(d));var n=m||Object.isFrozen(d);e=!
n&&(f?!0:!1)&&e!==module$exports$jspb$internal.DO_NOT_SLICE__LEGACY_OPTION;for(var
p=!0,q=!0,r=0;r<d.length;r++){var
t=d[r];module$contents$jspb$internal_accessor_helpers_checkMessageType(t,
(0,goog.asserts.assertExists)(b));m||
(t=module$contents$jspb$internal_isImmutableMessage(t),p&&(p=!t),q&&(q=t))}m||
(k=module$contents$jspb$internal_array_state_setFlagBit(k,
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED),k=module
$contents$jspb$internal_array_state_setFlagBitTo(k,module$exports$jspb$internal_arr
ay_state.ArrayStateFlags.ONLY_MUTABLE_VALUES,p),k=module$contents$jspb$internal_arr
ay_state_setFlagBitTo(k,module$exports$jspb$internal_array_state.ArrayStateFlags.ON
LY_IMMUTABLE_VALUES_IF_OWNED,q));b=n&&k!==l;if(e||
b)d=module$contents$jspb$internal_operations_slice(d),
l=0,k=module$contents$jspb_internal_adapters_setFlagsForSlicedArray(k,h),k=module$c
ontents$jspb_internal_adapters_updateOwnedState(k,h,!0);k!
==l&&(0,module$exports$jspb$internal_array_state.setArrayState)
(d,k);module$contents$jspb$internal_assertArrayInvariants(d);module$contents$jspb_i
nternal_adapters_setFieldIgnoringImmutabilityInternal(g,h,c,d,f);return a};
function module$contents$jspb_internal_adapters_setFlagsForSlicedArray(a,b){b=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&b);a=m
odule$contents$jspb$internal_array_state_setFlagBitTo(a,module$exports$jspb$interna
l_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY,b);a=module$contents$jspb$internal
_array_state_setFlagBit(a,module$exports$jspb$internal_array_state.ArrayStateFlags.
MUTABLE_REFERENCES_ARE_OWNED);return
a=module$contents$jspb$internal_array_state_clearFlagBit(a,
module$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY)}function
module$contents$jspb_internal_adapters_updateOwnedState(a,b,c){(b=!!
(module$exports$jspb$internal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OW
NED&b))&&c||
(a=module$contents$jspb$internal_array_state_clearFlagBit(a,module$exports$jspb$int
ernal_array_state.ArrayStateFlags.MUTABLE_REFERENCES_ARE_OWNED));return a}
jspb_internal_adapters.setBytesFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setBytesField(a,b,c)};jspb_internal_adapters.setOneofBytes
FieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofBytesField(a,b,c,d)};
function
module$contents$jspb_internal_adapters_spliceRepeatedWrapperField(a,b,c,d,e,f,g)
{a=a.internalArray_;var
h=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(h);b=module$contents$jspb_
internal_adapters_getRepeatedWrapperFieldInternal(a,h,c,b,module$contents$jspb_inte
rnal_adapters_RepeatedArrayReturnType.UNFROZEN,f,!0);f=null!=d?
module$contents$jspb$internal_accessor_helpers_checkMessageType(d,c):new
c;g&&((0,goog.asserts.assert)(1===
g),(0,goog.asserts.assertNumber)
(e),module$contents$jspb$internal_checkRepeatedIndexInRangeForSet(b,e),module$conte
nts$jspb$internal_accessor_helpers_checkMessageType(d,c));void 0!=e?
b.splice(e,g,f):b.push(f);module$contents$jspb$internal_isImmutableMessage(f)?
(0,module$exports$jspb$internal_array_state.clearFlags)
(b,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES):
(0,module$exports$jspb$internal_array_state.clearFlags)
(b,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_I
F_OWNED);
return f}
jspb_internal_adapters.addRepeatedWrapperArrayForBinary=function(a,b,c,d){var
e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);module$contents$jspb$internal_checkNotImmutableState(e);var
f=module$contents$jspb_internal_adapters_getRepeatedFieldInternal(a,e,b,module$cont
ents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_DOESNT_RETURN_ARRAY|
module$contents$jspb_internal_adapters_RepeatedFieldShareMode.CALLER_HANDLES_IMMUTA
BILITY,d);e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a);if((0,module$exports$jspb$internal_array_state.getArrayState)(f)&
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED)
{f=module$contents$jspb$internal_operations_slice(f);var
g=(0,module$exports$jspb$internal_array_state.getArrayState)(f);g=(g|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD)&~module
$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED&~module$exports
$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES&~module$exports$jspb
$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_IF_OWNED&
~module$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&~modul
e$exports$jspb$internal_array_state.ArrayStateFlags.FROZEN_ARRAY;
(0,module$exports$jspb$internal_array_state.setArrayState)
(f,g);module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a
,e,b,f,d)}f.push(c)};jspb_internal_adapters.addAndReturnRepeatedWrapperField=functi
on(a,b,c,d,e,f){return
module$contents$jspb_internal_adapters_spliceRepeatedWrapperField(a,b,c,d,e,f)};
jspb_internal_adapters.addToRepeatedWrapperField=function(a,b,c,d,e,f)
{jspb_internal_adapters.addAndReturnRepeatedWrapperField(a,b,c,d,e,f);return a};
jspb_internal_adapters.addAllToRepeatedWrapperField=function(a,b,c,d){var
e=a.internalArray_,f=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)
(e);module$contents$jspb$internal_checkNotImmutableState(f);e=b=module$contents$jsp
b_internal_adapters_getRepeatedWrapperFieldInternal(e,f,c,b,module$contents$jspb_in
ternal_adapters_RepeatedArrayReturnType.UNFROZEN,!1,!0);var
g=f=0;if(Array.isArray(d))for(var h=0;h<d.length;h++){var
k=module$contents$jspb$internal_accessor_helpers_checkMessageType(d[h],
c);b.push(k);(k=module$contents$jspb$internal_isImmutableMessage(k))&&!f+
+&&(0,module$exports$jspb$internal_array_state.clearFlags)
(e,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES);k|
|g++||(0,module$exports$jspb$internal_array_state.clearFlags)
(e,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_I
F_OWNED)}else for(d=$jscomp.makeIterator(d),h=d.next();!
h.done;h=d.next())h=h.value,h=module$contents$jspb$internal_accessor_helpers_checkM
essageType(h,
c),b.push(h),(h=module$contents$jspb$internal_isImmutableMessage(h))&&!f+
+&&(0,module$exports$jspb$internal_array_state.clearFlags)
(e,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_MUTABLE_VALUES),h|
|g++||(0,module$exports$jspb$internal_array_state.clearFlags)
(e,module$exports$jspb$internal_array_state.ArrayStateFlags.ONLY_IMMUTABLE_VALUES_I
F_OWNED);return a};
jspb_internal_adapters.getInt32FieldNullable=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt32(jspb_internal_a
dapters.getFieldNullable(a,b,c))};jspb_internal_adapters.getUint32FieldNullable=fun
ction(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint32(jspb_internal_
adapters.getFieldNullable(a,b,c))};
jspb_internal_adapters.getInt64FieldNullable=function(a,b,c)
{b=module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64(jspb_interna
l_adapters.getFieldNullable(a,b,c));module$contents$jspb_internal_adapters_asyncThr
owIf64BitIntReturnTypeMismatches(a,b,!1);return
b};jspb_internal_adapters.getInt64FieldNullable_asString=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64String(jspb_inte
rnal_adapters.getFieldNullable(a,b,c),!0)};
jspb_internal_adapters.getInt64StringFieldNullable=function(a,b,c)
{b=module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64String(jspb_i
nternal_adapters.getFieldNullable(a,b,c));module$contents$jspb_internal_adapters_as
yncThrowIf64BitIntReturnTypeMismatches(a,b,!0);return b};
jspb_internal_adapters.getUint64FieldNullable=function(a,b,c)
{b=module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64(jspb_intern
al_adapters.getFieldNullable(a,b,c));module$contents$jspb_internal_adapters_asyncTh
rowIf64BitIntReturnTypeMismatches(a,b,!1);return
b};jspb_internal_adapters.getUint64FieldNullable_asString=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64String(jspb_int
ernal_adapters.getFieldNullable(a,b,c),!0)};
jspb_internal_adapters.getUint64StringFieldNullable=function(a,b,c)
{b=module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64String(jspb_
internal_adapters.getFieldNullable(a,b,c));module$contents$jspb_internal_adapters_a
syncThrowIf64BitIntReturnTypeMismatches(a,b,!0);return b};
jspb_internal_adapters.getRepeatedInt32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishInt32,c,d,e)};
jspb_internal_adapters.getRepeatedInt64Field=function(a,b,c,d,e)
{b=module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishInt64,c,d,e,module$exports$js
pb$internal_array_state.TypeSpecificApiFormat.LEGACY);e||
module$contents$jspb_internal_adapters_asyncThrowIfRepeated64BitIntReturnTypeMismat
ches(a,b,!1);return b};
function
module$contents$jspb_internal_adapters_coerceToNullishInt64StringWithForcedTypeChec
king(a){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64String(a,!
0)}jspb_internal_adapters.getRepeatedInt64Field_asString=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb_internal_adapters_coerceToNullishInt64StringWithForcedTypeChecking,c,d,e,
module$exports$jspb$internal_array_state.TypeSpecificApiFormat.STRING)};
jspb_internal_adapters.getRepeatedInt64StringField=function(a,b,c,d,e)
{b=module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishInt64String,c,d,e,module$expo
rts$jspb$internal_array_state.TypeSpecificApiFormat.LEGACY);e||
module$contents$jspb_internal_adapters_asyncThrowIfRepeated64BitIntReturnTypeMismat
ches(a,b,!0);return b};
jspb_internal_adapters.getRepeatedUint32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishUint32,c,d,e)};
jspb_internal_adapters.getRepeatedUint64Field=function(a,b,c,d,e)
{b=module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishUint64,c,d,e,module$exports$j
spb$internal_array_state.TypeSpecificApiFormat.LEGACY);e||
module$contents$jspb_internal_adapters_asyncThrowIfRepeated64BitIntReturnTypeMismat
ches(a,b,!1);return b};
function
module$contents$jspb_internal_adapters_coerceToNullishUint64StringWithForcedTypeChe
cking(a){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64String(a,!
0)}jspb_internal_adapters.getRepeatedUint64Field_asString=function(a,b,c,d,e)
{return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb_internal_adapters_coerceToNullishUint64StringWithForcedTypeChecking,c,d,e
,module$exports$jspb$internal_array_state.TypeSpecificApiFormat.STRING)};
jspb_internal_adapters.getRepeatedUint64StringField=function(a,b,c,d,e)
{b=module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishUint64String,c,d,e,module$exp
orts$jspb$internal_array_state.TypeSpecificApiFormat.LEGACY);e||
module$contents$jspb_internal_adapters_asyncThrowIfRepeated64BitIntReturnTypeMismat
ches(a,b,!0);return b};
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish=function(a,b,c){return
null==c?
a:module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$content
s$jspb$internal_accessor_helpers_checkBoolean(c),0)};jspb_internal_adapters.setProt
o3Int32FieldIfNotNullish=function(a,b,c){return null==c?
a:module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$content
s$jspb$internal_accessor_helpers_checkInt32(c),0)};
jspb_internal_adapters.setProto3Uint32FieldIfNotNullish=function(a,b,c){return
null==c?
a:module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkUint32(c),0)};jspb_internal_a
dapters.setProto3Int64FieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setProto3Int64Field(a,b,c)};
jspb_internal_adapters.setProto3Uint64FieldIfNotNullish=function(a,b,c){return
null==c?
a:jspb_internal_adapters.setProto3Uint64Field(a,b,c)};jspb_internal_adapters.setBoo
leanFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setBooleanField(a,b,c)};jspb_internal_adapters.setInt32Fie
ldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setInt32Field(a,b,c)};
jspb_internal_adapters.setInt64FieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setInt64Field(a,b,c)};jspb_internal_adapters.setInt64Strin
gFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setInt64StringField(a,b,c)};jspb_internal_adapters.setUint
32FieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setUint32Field(a,b,c)};
jspb_internal_adapters.setUint64FieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setUint64Field(a,b,c)};jspb_internal_adapters.setUint64Str
ingFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setUint64StringField(a,b,c)};jspb_internal_adapters.setOne
ofBooleanFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofBooleanField(a,b,c,d)};
jspb_internal_adapters.setOneofInt32FieldIfNotNullish=function(a,b,c,d){return
null==d?
a:jspb_internal_adapters.setOneofInt32Field(a,b,c,d)};jspb_internal_adapters.setOne
ofInt64FieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofInt64Field(a,b,c,d)};jspb_internal_adapters.setOne
ofInt64StringFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofInt64StringField(a,b,c,d)};
jspb_internal_adapters.setOneofUint32FieldIfNotNullish=function(a,b,c,d){return
null==d?
a:jspb_internal_adapters.setOneofUint32Field(a,b,c,d)};jspb_internal_adapters.setOn
eofUint64FieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofUint64Field(a,b,c,d)};jspb_internal_adapters.setOn
eofUint64StringFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofUint64StringField(a,b,c,d)};
jspb_internal_adapters.getStringFieldNullable=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishString(jspb_internal_
adapters.getFieldNullable(a,b,c))};jspb_internal_adapters.getRepeatedStringField=fu
nction(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishString,c,d,e)};
jspb_internal_adapters.setStringFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setStringField(a,b,c)};jspb_internal_adapters.setOneofStri
ngFieldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofStringField(a,b,c,d)};jspb_internal_adapters.setPr
oto3StringFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setProto3StringField(a,b,c)};
jspb_internal_adapters.getEnumFieldNullable=function(a,b,c){return
module$contents$jspb$internal_accessor_helpers_coerceToNullishEnum(jspb_internal_ad
apters.getFieldNullable(a,b,c))};jspb_internal_adapters.getRepeatedEnumField=functi
on(a,b,c,d,e){return
module$contents$jspb_internal_adapters_getApiFormattedRepeatedField(a,b,module$cont
ents$jspb$internal_accessor_helpers_coerceToNullishEnum,c,d,e)};
jspb_internal_adapters.setEnumFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setEnumField(a,b,c)};jspb_internal_adapters.setOneofEnumFi
eldIfNotNullish=function(a,b,c,d){return null==d?
a:jspb_internal_adapters.setOneofEnumField(a,b,c,d)};jspb_internal_adapters.setProt
o3EnumFieldIfNotNullish=function(a,b,c){return null==c?
a:jspb_internal_adapters.setProto3EnumField(a,b,c)};function
module$contents$jspb_internal_adapters_orDefault(a,b){var c;return null!=(c=a)?
c:b}var
module$contents$jspb_internal_adapters_repeatedFieldsForRemoveDirectEmptyRepeatedFi
elds;
function
module$contents$jspb_internal_adapters_removeDirectEmptyRepeatedFieldsCallback(a,b,
c,d){a&&module$contents$jspb$internal_isEmptyRepeatedField(a,
(0,goog.asserts.assert)
(module$contents$jspb_internal_adapters_repeatedFieldsForRemoveDirectEmptyRepeatedF
ields),b)&&(c[d]=void 0)}
jspb_internal_adapters.removeDirectEmptyRepeatedFields=function(a)
{if(module$contents$jspb_internal_adapters_repeatedFieldsForRemoveDirectEmptyRepeat
edFields=module$contents$jspb$internal_getRepeatedFieldSet(a)){var
b=a;a=module$contents$jspb_internal_adapters_removeDirectEmptyRepeatedFieldsCallbac
k;b=b.internalArray_;var
c=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(b),d=module$contents$jspb$internal_array_state_getArrayIndexOffset(c),e=b.length;c
&=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT;
for(var f=e+(c?-1:0),g=0;g<f;g++){var
h=b[g];a(h,module$contents$jspb$internal_fieldNumberFromIndex(g,d),b,g)}if(c)
{b=b[e-1];for(var k in
b)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(b,k)&&a(b[k],
+k,b,k)}}};function module$contents$jspb_internal_adapters_checkBytes(a){return
module$contents$jspb$internal_bytesAsByteString(a,!1,!1,!
1)}jspb_internal_adapters.getRepeatedInt64StringField_asString=jspb_internal_adapte
rs.getRepeatedInt64Field_asString;
jspb_internal_adapters.getRepeatedUint64StringField_asString=jspb_internal_adapters
.getRepeatedUint64Field_asString;jspb_internal_adapters.getBooleanFieldWithDefault=
function(a,b,c,d){c=void 0===c?!1:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getBooleanF
ieldNullable(a,b,d),c)};
jspb_internal_adapters.getInt32FieldWithDefault=function(a,b,c,d){c=void 0===c?
0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getInt32Fie
ldNullable(a,b,d),c)};jspb_internal_adapters.getUint32FieldWithDefault=function(a,b
,c,d){c=void 0===c?0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getUint32Fi
eldNullable(a,b,d),c)};
jspb_internal_adapters.getInt64FieldWithDefault=function(a,b,c,d){c=void 0===c?
0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getInt64Fie
ldNullable(a,b,d),c)};jspb_internal_adapters.getUint64FieldWithDefault=function(a,b
,c,d){c=void 0===c?0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getUint64Fi
eldNullable(a,b,d),c)};
jspb_internal_adapters.getInt64StringFieldWithDefault=function(a,b,c,d){c=void
0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getInt64Str
ingFieldNullable(a,b,d),c)};jspb_internal_adapters.getUint64StringFieldWithDefault=
function(a,b,c,d){c=void 0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getUint64St
ringFieldNullable(a,b,d),c)};
jspb_internal_adapters.getFloatingPointFieldWithDefault=function(a,b,c,d){c=void
0===c?0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getFloating
PointFieldNullable(a,b,d),c)};jspb_internal_adapters.getStringFieldWithDefault=func
tion(a,b,c,d){c=void 0===c?"":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getStringFi
eldNullable(a,b,d),c)};
jspb_internal_adapters.getEnumFieldWithDefault=function(a,b,c,d){c=void 0===c?
0:c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getEnumFiel
dNullable(a,b,d),c)};jspb_internal_adapters.getInt64FieldWithDefault_asString=funct
ion(a,b,c,d){c=void 0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getInt64Fie
ldNullable_asString(a,b,d),c)};
jspb_internal_adapters.getUint64FieldWithDefault_asString=function(a,b,c,d){c=void
0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getUint64Fi
eldNullable_asString(a,b,d),c)};jspb_internal_adapters.getInt64StringFieldWithDefau
lt_asString=function(a,b,c,d){c=void 0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getInt64Fie
ldNullable_asString(a,b,d),c)};
jspb_internal_adapters.getUint64StringFieldWithDefault_asString=function(a,b,c,d)
{c=void 0===c?"0":c;return
module$contents$jspb_internal_adapters_orDefault(jspb_internal_adapters.getUint64Fi
eldNullable_asString(a,b,d),c)};
jspb_internal_adapters.getRepeatedIndexedBooleanField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedBooleanField(a,b,module$contents$jspb_internal
_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedBooleanCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedBooleanField(a,b,module$contents$jspb_internal_ad
apters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedInt32Field=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedInt32Field(a,b,module$contents$jspb_internal_a
dapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedInt32Count=function(a,b,c){return
jspb_internal_adapters.getRepeatedInt32Field(a,b,module$contents$jspb_internal_adap
ters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedUint32Field=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedUint32Field(a,b,module$contents$jspb_internal_
adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedUint32Count=function(a,b,c){return
jspb_internal_adapters.getRepeatedUint32Field(a,b,module$contents$jspb_internal_ada
pters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedInt64Field=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedInt64Field(a,b,module$contents$jspb_internal_a
dapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedInt64Count=function(a,b,c){return
jspb_internal_adapters.getRepeatedInt64Field(a,b,module$contents$jspb_internal_adap
ters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedUint64Field=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedUint64Field(a,b,module$contents$jspb_internal_
adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedUint64Count=function(a,b,c){return
jspb_internal_adapters.getRepeatedUint64Field(a,b,module$contents$jspb_internal_ada
pters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedInt64StringField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedInt64StringField(a,b,module$contents$jspb_inte
rnal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedInt64StringCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedInt64StringField(a,b,module$contents$jspb_interna
l_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedUint64StringField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedUint64StringField(a,b,module$contents$jspb_int
ernal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedUint64StringCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedUint64StringField(a,b,module$contents$jspb_intern
al_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedFloatingPointField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedFloatingPointField(a,b,module$contents$jspb_in
ternal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedFloatingPointCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedFloatingPointField(a,b,module$contents$jspb_inter
nal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedStringField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedStringField(a,b,module$contents$jspb_internal_
adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedStringCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedStringField(a,b,module$contents$jspb_internal_ada
pters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedBytesField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedBytesField(a,b,module$contents$jspb_internal_a
dapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedBytesCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedBytesField(a,b,module$contents$jspb_internal_adap
ters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedEnumField=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedEnumField(a,b,module$contents$jspb_internal_ad
apters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return
a[c]};jspb_internal_adapters.getRepeatedEnumCount=function(a,b,c){return
jspb_internal_adapters.getRepeatedEnumField(a,b,module$contents$jspb_internal_adapt
ers_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,c,!0).length};
jspb_internal_adapters.getRepeatedIndexedInt64Field_asString=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedInt64Field_asString(a,b,module$contents$jspb_i
nternal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedIndexedUint64Field_asString=function(a,b,c,d)
{a=jspb_internal_adapters.getRepeatedUint64Field_asString(a,b,module$contents$jspb_
internal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedIndexedInt64StringField_asString=function(a,b,c,d
)
{a=jspb_internal_adapters.getRepeatedInt64Field_asString(a,b,module$contents$jspb_i
nternal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return a[c]};
jspb_internal_adapters.getRepeatedIndexedUint64StringField_asString=function(a,b,c,
d)
{a=jspb_internal_adapters.getRepeatedUint64Field_asString(a,b,module$contents$jspb_
internal_adapters_RepeatedArrayReturnType.EITHER_FROZEN_OR_UNFROZEN,d,!
0);module$contents$jspb$internal_checkRepeatedIndexInRangeForGet(a,c);return
a[c]};jspb_internal_adapters.getOneofFieldWithDefault=function(a,b,c,d){return
jspb_internal_adapters.getFieldWithDefault(a,jspb_internal_adapters.isOneofCase(a,c
,b),d)};
jspb_internal_adapters.getOneofBooleanFieldWithDefault=function(a,b,c,d){return
jspb_internal_adapters.getBooleanFieldWithDefault(a,jspb_internal_adapters.isOneofC
ase(a,c,b),d)};jspb_internal_adapters.getOneofInt32FieldWithDefault=function(a,b,c,
d){return
jspb_internal_adapters.getInt32FieldWithDefault(a,jspb_internal_adapters.isOneofCas
e(a,c,b),d)};
jspb_internal_adapters.getOneofUint32FieldWithDefault=function(a,b,c,d){return
jspb_internal_adapters.getUint32FieldWithDefault(a,jspb_internal_adapters.isOneofCa
se(a,c,b),d)};jspb_internal_adapters.getOneofInt64FieldWithDefault=function(a,b,c,d
){return
jspb_internal_adapters.getInt64FieldWithDefault(a,jspb_internal_adapters.isOneofCas
e(a,c,b),d)};
jspb_internal_adapters.getOneofInt64FieldWithDefault_asString=function(a,b,c,d)
{return
jspb_internal_adapters.getInt64FieldWithDefault_asString(a,jspb_internal_adapters.i
sOneofCase(a,c,b),d)};jspb_internal_adapters.getOneofUint64FieldWithDefault=functio
n(a,b,c,d){return
jspb_internal_adapters.getUint64FieldWithDefault(a,jspb_internal_adapters.isOneofCa
se(a,c,b),d)};
jspb_internal_adapters.getOneofUint64FieldWithDefault_asString=function(a,b,c,d)
{return
jspb_internal_adapters.getUint64FieldWithDefault_asString(a,jspb_internal_adapters.
isOneofCase(a,c,b),d)};jspb_internal_adapters.getOneofInt64StringFieldWithDefault=f
unction(a,b,c,d){return
jspb_internal_adapters.getInt64StringFieldWithDefault(a,jspb_internal_adapters.isOn
eofCase(a,c,b),d)};
jspb_internal_adapters.getOneofInt64StringFieldWithDefault_asString=function(a,b,c,
d){return
jspb_internal_adapters.getInt64FieldWithDefault_asString(a,jspb_internal_adapters.i
sOneofCase(a,c,b),d)};jspb_internal_adapters.getOneofUint64StringFieldWithDefault=f
unction(a,b,c,d){return
jspb_internal_adapters.getUint64StringFieldWithDefault(a,jspb_internal_adapters.isO
neofCase(a,c,b),d)};
jspb_internal_adapters.getOneofUint64StringFieldWithDefault_asString=function(a,b,c
,d){return
jspb_internal_adapters.getUint64FieldWithDefault_asString(a,jspb_internal_adapters.
isOneofCase(a,c,b),d)};jspb_internal_adapters.getOneofFloatingPointFieldWithDefault
=function(a,b,c,d){return
jspb_internal_adapters.getFloatingPointFieldWithDefault(a,jspb_internal_adapters.is
OneofCase(a,c,b),d)};
jspb_internal_adapters.getOneofStringFieldWithDefault=function(a,b,c,d){return
jspb_internal_adapters.getStringFieldWithDefault(a,jspb_internal_adapters.isOneofCa
se(a,c,b),d)};jspb_internal_adapters.getOneofBytesFieldWithDefault=function(a,b,c,d
){return
jspb_internal_adapters.getBytesFieldWithDefault(a,jspb_internal_adapters.isOneofCas
e(a,c,b),d)};
jspb_internal_adapters.getOneofEnumFieldWithDefault=function(a,b,c,d){return
jspb_internal_adapters.getEnumFieldWithDefault(a,jspb_internal_adapters.isOneofCase
(a,c,b),d)};jspb_internal_adapters.getOneofFieldNullable=function(a,b,c){return
jspb_internal_adapters.getFieldNullable(a,jspb_internal_adapters.isOneofCase(a,c,b)
)};jspb_internal_adapters.getOneofBooleanFieldNullable=function(a,b,c){return
jspb_internal_adapters.getBooleanFieldNullable(a,jspb_internal_adapters.isOneofCase
(a,c,b))};
jspb_internal_adapters.getOneofInt32FieldNullable=function(a,b,c){return
jspb_internal_adapters.getInt32FieldNullable(a,jspb_internal_adapters.isOneofCase(a
,c,b))};jspb_internal_adapters.getOneofUint32FieldNullable=function(a,b,c){return
jspb_internal_adapters.getUint32FieldNullable(a,jspb_internal_adapters.isOneofCase(
a,c,b))};jspb_internal_adapters.getOneofInt64FieldNullable=function(a,b,c){return
jspb_internal_adapters.getInt64FieldNullable(a,jspb_internal_adapters.isOneofCase(a
,c,b))};
jspb_internal_adapters.getOneofInt64FieldNullable_asString=function(a,b,c){return
jspb_internal_adapters.getInt64FieldNullable_asString(a,jspb_internal_adapters.isOn
eofCase(a,c,b))};jspb_internal_adapters.getOneofUint64FieldNullable=function(a,b,c)
{return
jspb_internal_adapters.getUint64FieldNullable(a,jspb_internal_adapters.isOneofCase(
a,c,b))};
jspb_internal_adapters.getOneofUint64FieldNullable_asString=function(a,b,c){return
jspb_internal_adapters.getUint64FieldNullable_asString(a,jspb_internal_adapters.isO
neofCase(a,c,b))};jspb_internal_adapters.getOneofInt64StringFieldNullable=function(
a,b,c){return
jspb_internal_adapters.getInt64StringFieldNullable(a,jspb_internal_adapters.isOneof
Case(a,c,b))};
jspb_internal_adapters.getOneofInt64StringFieldNullable_asString=function(a,b,c)
{return
jspb_internal_adapters.getInt64FieldNullable_asString(a,jspb_internal_adapters.isOn
eofCase(a,c,b))};jspb_internal_adapters.getOneofUint64StringFieldNullable=function(
a,b,c){return
jspb_internal_adapters.getUint64StringFieldNullable(a,jspb_internal_adapters.isOneo
fCase(a,c,b))};
jspb_internal_adapters.getOneofUint64StringFieldNullable_asString=function(a,b,c)
{return
jspb_internal_adapters.getUint64FieldNullable_asString(a,jspb_internal_adapters.isO
neofCase(a,c,b))};jspb_internal_adapters.getOneofFloatingPointFieldNullable=functio
n(a,b,c){return
jspb_internal_adapters.getFloatingPointFieldNullable(a,jspb_internal_adapters.isOne
ofCase(a,c,b))};
jspb_internal_adapters.getOneofStringFieldNullable=function(a,b,c){return
jspb_internal_adapters.getStringFieldNullable(a,jspb_internal_adapters.isOneofCase(
a,c,b))};jspb_internal_adapters.getOneofBytesFieldNullable=function(a,b,c){return
jspb_internal_adapters.getBytesFieldNullable(a,jspb_internal_adapters.isOneofCase(a
,c,b))};
jspb_internal_adapters.getOneofWrapperFieldOrUndefined=function(a,b,c,d){return
jspb_internal_adapters.getWrapperFieldOrUndefined(a,b,jspb_internal_adapters.isOneo
fCase(a,d,c))};jspb_internal_adapters.getOneofEnumFieldNullable=function(a,b,c)
{return
jspb_internal_adapters.getEnumFieldNullable(a,jspb_internal_adapters.isOneofCase(a,
c,b))};jspb_internal_adapters.getOneofFieldOrUndefined=function(a,b,c){return
jspb_internal_adapters.getFieldOrUndefined(a,jspb_internal_adapters.isOneofCase(a,c
,b))};
jspb_internal_adapters.getOneofBooleanFieldOrUndefined=function(a,b,c){return
jspb_internal_adapters.getBooleanFieldOrUndefined(a,jspb_internal_adapters.isOneofC
ase(a,c,b))};jspb_internal_adapters.getOneofInt32FieldOrUndefined=function(a,b,c)
{return
jspb_internal_adapters.getInt32FieldOrUndefined(a,jspb_internal_adapters.isOneofCas
e(a,c,b))};
jspb_internal_adapters.getOneofUint32FieldOrUndefined=function(a,b,c){return
jspb_internal_adapters.getUint32FieldOrUndefined(a,jspb_internal_adapters.isOneofCa
se(a,c,b))};jspb_internal_adapters.getOneofInt64FieldOrUndefined=function(a,b,c)
{return
jspb_internal_adapters.getInt64FieldOrUndefined(a,jspb_internal_adapters.isOneofCas
e(a,c,b))};
jspb_internal_adapters.getOneofInt64FieldOrUndefined_asString=function(a,b,c)
{return
jspb_internal_adapters.getInt64FieldOrUndefined_asString(a,jspb_internal_adapters.i
sOneofCase(a,c,b))};jspb_internal_adapters.getOneofUint64FieldOrUndefined=function(
a,b,c){return
jspb_internal_adapters.getUint64FieldOrUndefined(a,jspb_internal_adapters.isOneofCa
se(a,c,b))};
jspb_internal_adapters.getOneofUint64FieldOrUndefined_asString=function(a,b,c)
{return
jspb_internal_adapters.getUint64FieldOrUndefined_asString(a,jspb_internal_adapters.
isOneofCase(a,c,b))};jspb_internal_adapters.getOneofInt64StringFieldOrUndefined=fun
ction(a,b,c){return
jspb_internal_adapters.getInt64StringFieldOrUndefined(a,jspb_internal_adapters.isOn
eofCase(a,c,b))};
jspb_internal_adapters.getOneofInt64StringFieldOrUndefined_asString=function(a,b,c)
{return
jspb_internal_adapters.getInt64FieldOrUndefined_asString(a,jspb_internal_adapters.i
sOneofCase(a,c,b))};jspb_internal_adapters.getOneofUint64StringFieldOrUndefined=fun
ction(a,b,c){return
jspb_internal_adapters.getUint64StringFieldOrUndefined(a,jspb_internal_adapters.isO
neofCase(a,c,b))};
jspb_internal_adapters.getOneofUint64StringFieldOrUndefined_asString=function(a,b,c
){return
jspb_internal_adapters.getUint64FieldOrUndefined_asString(a,jspb_internal_adapters.
isOneofCase(a,c,b))};jspb_internal_adapters.getOneofFloatingPointFieldOrUndefined=f
unction(a,b,c){return
jspb_internal_adapters.getFloatingPointFieldOrUndefined(a,jspb_internal_adapters.is
OneofCase(a,c,b))};
jspb_internal_adapters.getOneofStringFieldOrUndefined=function(a,b,c){return
jspb_internal_adapters.getStringFieldOrUndefined(a,jspb_internal_adapters.isOneofCa
se(a,c,b))};jspb_internal_adapters.getOneofBytesFieldOrUndefined=function(a,b,c)
{return
jspb_internal_adapters.getBytesFieldOrUndefined(a,jspb_internal_adapters.isOneofCas
e(a,c,b))};
jspb_internal_adapters.getOneofEnumFieldOrUndefined=function(a,b,c){return
jspb_internal_adapters.getEnumFieldOrUndefined(a,jspb_internal_adapters.isOneofCase
(a,c,b))};jspb_internal_adapters.getFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getFieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getBooleanFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getBooleanFieldNullable(a,b);return null==a?void 0:a};
jspb_internal_adapters.getInt32FieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getInt32FieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getUint32FieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getUint32FieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getInt64FieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getInt64FieldNullable(a,b);return null==a?void 0:a};
jspb_internal_adapters.getUint64FieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getUint64FieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getInt64StringFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getInt64StringFieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getUint64StringFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getUint64StringFieldNullable(a,b);return null==a?void
0:a};
jspb_internal_adapters.getFloatingPointFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getFloatingPointFieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getStringFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getStringFieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getBytesFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getBytesFieldNullable(a,b);return null==a?void 0:a};
jspb_internal_adapters.getEnumFieldOrUndefined=function(a,b)
{a=jspb_internal_adapters.getEnumFieldNullable(a,b);return null==a?void
0:a};jspb_internal_adapters.getInt64FieldOrUndefined_asString=function(a,b)
{a=jspb_internal_adapters.getInt64FieldNullable_asString(a,b);return null==a?void
0:a};jspb_internal_adapters.getUint64FieldOrUndefined_asString=function(a,b)
{a=jspb_internal_adapters.getUint64FieldNullable_asString(a,b);return null==a?void
0:a};
jspb_internal_adapters.getInt64StringFieldOrUndefined_asString=function(a,b)
{a=jspb_internal_adapters.getInt64FieldNullable_asString(a,b);return null==a?void
0:a};jspb_internal_adapters.getUint64StringFieldOrUndefined_asString=function(a,b)
{a=jspb_internal_adapters.getUint64FieldNullable_asString(a,b);return null==a?void
0:a};
jspb_internal_adapters.setBooleanField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkBoolean(c),d)};jspb_internal_
adapters.setProto3BooleanField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkBoolean(c),!1)};
jspb_internal_adapters.setOneofBooleanField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,null==d?
d:module$contents$jspb$internal_accessor_helpers_checkBoolean(d))};jspb_internal_ad
apters.setInt32Field=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkInt32(c),d)};
jspb_internal_adapters.setProto3Int32Field=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkInt32(c),0)};jspb_internal_ad
apters.setOneofInt32Field=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,null==d?
d:module$contents$jspb$internal_accessor_helpers_checkInt32(d))};
jspb_internal_adapters.setUint32Field=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkUint32(c),d)};jspb_internal_a
dapters.setProto3Uint32Field=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkUint32(c),0)};
jspb_internal_adapters.setOneofUint32Field=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,null==d?
d:module$contents$jspb$internal_accessor_helpers_checkUint32(d))};jspb_internal_ada
pters.setInt64Field=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_accessor_helpers_
checkNullishInt64(c),d)};
jspb_internal_adapters.setProto3Int64Field=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_accessor_helpers_checkNullishInt64(c),"0")};jspb_internal_adapters.se
tOneofInt64Field=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_accessor_h
elpers_checkNullishInt64(d))};
jspb_internal_adapters.setUint64Field=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_accessor_helpers_
checkNullishUint64(c),d)};jspb_internal_adapters.setProto3Uint64Field=function(a,b,
c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_accessor_helpers_checkNullishUint64(c),"0")};jspb_internal_adapters.s
etOneofUint64Field=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_accessor_h
elpers_checkNullishUint64(d))};
jspb_internal_adapters.setInt64StringField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_accessor_helpers_
checkNullishInt64(c),d)};jspb_internal_adapters.setProto3Int64StringField=function(
a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_accessor_helpers_checkNullishInt64(c),"0")};
jspb_internal_adapters.setOneofInt64StringField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_accessor_h
elpers_checkNullishInt64(d))};jspb_internal_adapters.setUint64StringField=function(
a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_accessor_helpers_
checkNullishUint64(c),d)};
jspb_internal_adapters.setProto3Uint64StringField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_accessor_helpers_checkNullishUint64(c),"0")};jspb_internal_adapters.s
etOneofUint64StringField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_accessor_h
elpers_checkNullishUint64(d))};
jspb_internal_adapters.setFloatingPointField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkFloatingPoint(c),d)};jspb_int
ernal_adapters.setProto3FloatingPointField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkFloatingPoint(c),0)};
jspb_internal_adapters.setOneofFloatingPointField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,null==d?
d:module$contents$jspb$internal_accessor_helpers_checkFloatingPoint(d))};jspb_inter
nal_adapters.setStringField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_accessor_helpers_
checkNullishString(c),d)};
jspb_internal_adapters.setProto3StringField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_accessor_helpers_checkNullishString(c),"")};jspb_internal_adapters.se
tOneofStringField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_accessor_h
elpers_checkNullishString(d))};
jspb_internal_adapters.setBytesField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,module$contents$jspb$internal_bytesAsByteString
(c,!1,!0,!1),d)};jspb_internal_adapters.setProto3BytesField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,module$contents$
jspb$internal_bytesAsByteString(c,!1,!0,!
1),module$exports$jspb$bytestring.ByteString.empty())};
jspb_internal_adapters.setOneofBytesField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,module$contents$jspb$internal_bytesAsByt
eString(d,!1,!0,!1))};jspb_internal_adapters.setEnumField=function(a,b,c,d){return
jspb_internal_adapters.setField(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkEnum(c),d)};
jspb_internal_adapters.setProto3EnumField=function(a,b,c){return
module$contents$jspb_internal_adapters_setFieldIgnoringDefault(a,b,null==c?
c:module$contents$jspb$internal_accessor_helpers_checkEnum(c),0)};jspb_internal_ada
pters.setOneofEnumField=function(a,b,c,d){return
jspb_internal_adapters.setOneofField(a,b,c,null==d?
d:module$contents$jspb$internal_accessor_helpers_checkEnum(d))};
jspb_internal_adapters.addToRepeatedBooleanField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkBoolean,c,d,e)};jspb_internal_adapters.addAllT
oRepeatedBooleanField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkBoolean,c)};
jspb_internal_adapters.setRepeatedIndexedBooleanField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkBoolean,c,d,jspb_internal_adapters.getRepea
tedBooleanField,e)};jspb_internal_adapters.addToRepeatedInt32Field=function(a,b,c,d
,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkInt32,c,d,e)};
jspb_internal_adapters.addAllToRepeatedInt32Field=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkInt32,c)};jspb_internal_adapters.setRepeatedI
ndexedInt32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkInt32,c,d,jspb_internal_adapters.getRepeate
dInt32Field,e)};
jspb_internal_adapters.addToRepeatedUint32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkUint32,c,d,e)};jspb_internal_adapters.addAllTo
RepeatedUint32Field=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkUint32,c)};
jspb_internal_adapters.setRepeatedIndexedUint32Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkUint32,c,d,jspb_internal_adapters.getRepeat
edUint32Field,e)};jspb_internal_adapters.addToRepeatedInt64Field=function(a,b,c,d,e
){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkInt64,c,d,e)};
jspb_internal_adapters.addAllToRepeatedInt64Field=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkInt64,c)};jspb_internal_adapters.setRepeatedI
ndexedInt64Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkInt64,c,d,jspb_internal_adapters.getRepeate
dInt64Field,e)};
jspb_internal_adapters.addToRepeatedUint64Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkUint64,c,d,e)};jspb_internal_adapters.addAllTo
RepeatedUint64Field=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkUint64,c)};
jspb_internal_adapters.setRepeatedIndexedUint64Field=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkUint64,c,d,jspb_internal_adapters.getRepeat
edUint64Field,e)};jspb_internal_adapters.addToRepeatedInt64StringField=function(a,b
,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkInt64,c,d,e)};
jspb_internal_adapters.addAllToRepeatedInt64StringField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkInt64,c)};jspb_internal_adapters.setRepeatedI
ndexedInt64StringField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkInt64,c,d,jspb_internal_adapters.getRepeate
dInt64StringField,e)};
jspb_internal_adapters.addToRepeatedUint64StringField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkUint64,c,d,e)};jspb_internal_adapters.addAllTo
RepeatedUint64StringField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkUint64,c)};
jspb_internal_adapters.setRepeatedIndexedUint64StringField=function(a,b,c,d,e)
{return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkUint64,c,d,jspb_internal_adapters.getRepeat
edUint64StringField,e)};jspb_internal_adapters.addToRepeatedFloatingPointField=func
tion(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkFloatingPoint,c,d,e)};
jspb_internal_adapters.addAllToRepeatedFloatingPointField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkFloatingPoint,c)};
jspb_internal_adapters.setRepeatedIndexedFloatingPointField=function(a,b,c,d,e)
{return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkFloatingPoint,c,d,jspb_internal_adapters.ge
tRepeatedFloatingPointField,e)};jspb_internal_adapters.addToRepeatedStringField=fun
ction(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkString,c,d,e)};
jspb_internal_adapters.addAllToRepeatedStringField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkString,c)};jspb_internal_adapters.setRepeated
IndexedStringField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkString,c,d,jspb_internal_adapters.getRepeat
edStringField,e)};
jspb_internal_adapters.addToRepeatedBytesField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb_internal_adapters_checkBytes,c,d,e)};jspb_internal_adapters.addAllToRepeatedB
ytesField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb_internal_adapters_checkBytes,c)};
jspb_internal_adapters.setRepeatedIndexedBytesField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb_internal_adapters_checkBytes,c,d,jspb_internal_adapters.getRepeatedBytesFi
eld,e)};jspb_internal_adapters.addToRepeatedEnumField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_addToRepeatedFieldHelper(a,b,module$contents
$jspb$internal_accessor_helpers_checkEnum,c,d,e)};
jspb_internal_adapters.addAllToRepeatedEnumField=function(a,b,c){return
module$contents$jspb_internal_adapters_addAllToRepeatedFieldImpl(a,b,module$content
s$jspb$internal_accessor_helpers_checkEnum,c)};jspb_internal_adapters.setRepeatedIn
dexedEnumField=function(a,b,c,d,e){return
module$contents$jspb_internal_adapters_setRepeatedIndexedFieldImpl(a,b,module$conte
nts$jspb$internal_accessor_helpers_checkEnum,c,d,jspb_internal_adapters.getRepeated
EnumField,e)};
jspb_internal_adapters.hasBooleanField=function(a,b){return null!
=jspb_internal_adapters.getBooleanFieldNullable(a,b)};jspb_internal_adapters.hasOne
ofBooleanField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofBooleanFieldNullable(a,b,c)};jspb_internal_adapters
.hasInt32Field=function(a,b){return null!
=jspb_internal_adapters.getInt32FieldNullable(a,b)};jspb_internal_adapters.hasOneof
Int32Field=function(a,b,c){return null!
=jspb_internal_adapters.getOneofInt32FieldNullable(a,b,c)};
jspb_internal_adapters.hasUint32Field=function(a,b){return null!
=jspb_internal_adapters.getUint32FieldNullable(a,b)};jspb_internal_adapters.hasOneo
fUint32Field=function(a,b,c){return null!
=jspb_internal_adapters.getOneofUint32FieldNullable(a,b,c)};jspb_internal_adapters.
hasInt64Field=function(a,b){return null!
=jspb_internal_adapters.getInt64FieldNullable(a,b)};jspb_internal_adapters.hasOneof
Int64Field=function(a,b,c){return null!
=jspb_internal_adapters.getOneofInt64FieldNullable(a,b,c)};
jspb_internal_adapters.hasUint64Field=function(a,b){return null!
=jspb_internal_adapters.getUint64FieldNullable(a,b)};jspb_internal_adapters.hasOneo
fUint64Field=function(a,b,c){return null!
=jspb_internal_adapters.getOneofUint64FieldNullable(a,b,c)};jspb_internal_adapters.
hasInt64StringField=function(a,b){return null!
=jspb_internal_adapters.getInt64StringFieldNullable(a,b)};
jspb_internal_adapters.hasOneofInt64StringField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofInt64StringFieldNullable(a,b,c)};jspb_internal_adap
ters.hasUint64StringField=function(a,b){return null!
=jspb_internal_adapters.getUint64StringFieldNullable(a,b)};jspb_internal_adapters.h
asOneofUint64StringField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofUint64StringFieldNullable(a,b,c)};
jspb_internal_adapters.hasFloatingPointField=function(a,b){return null!
=jspb_internal_adapters.getFloatingPointFieldNullable(a,b)};jspb_internal_adapters.
hasOneofFloatingPointField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofFloatingPointFieldNullable(a,b,c)};jspb_internal_ad
apters.hasStringField=function(a,b){return null!
=jspb_internal_adapters.getStringFieldNullable(a,b)};
jspb_internal_adapters.hasOneofStringField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofStringFieldNullable(a,b,c)};jspb_internal_adapters.
hasBytesField=function(a,b){return null!
=jspb_internal_adapters.getBytesFieldNullable(a,b)};jspb_internal_adapters.hasOneof
BytesField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofBytesFieldNullable(a,b,c)};jspb_internal_adapters.h
asEnumField=function(a,b){return null!
=jspb_internal_adapters.getEnumFieldNullable(a,b)};
jspb_internal_adapters.hasOneofEnumField=function(a,b,c){return null!
=jspb_internal_adapters.getOneofEnumFieldNullable(a,b,c)};jspb_internal_adapters.ge
tBooleanBooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_booleanToApiForMaps)};
jspb_internal_adapters.putBooleanBooleanMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanBooleanMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanBooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanBooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanBooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanBooleanMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanInt32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_int32ToApiForMaps)};
jspb_internal_adapters.putBooleanInt32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanInt32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanInt32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanInt32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanInt32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanInt32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanUint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_uint32ToApiForMaps)};
jspb_internal_adapters.putBooleanUint32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanUint32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanUint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanUint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanUint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanUint32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanInt64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_int64ToApiForMaps)};
jspb_internal_adapters.putBooleanInt64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanInt64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanInt64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanInt64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanInt64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanInt64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanUint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_uint64ToApiForMaps)};
jspb_internal_adapters.putBooleanUint64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanUint64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanUint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanUint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanUint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanUint64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanFloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_floatToApiForMaps)};
jspb_internal_adapters.putBooleanFloatingPointMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanFloatingPointMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanFloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanFloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanFloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanFloatingPointMapField(a,b,!
0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanStringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_stringToApiForMaps)};
jspb_internal_adapters.putBooleanStringMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanStringMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanStringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanStringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanStringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanStringMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanBytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_bytesToApiForMaps)};
jspb_internal_adapters.putBooleanBytesMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanBytesMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanBytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanBytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanBytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanBytesMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getBooleanEnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_booleanToApiForMaps,module$contents$jspb$internal_acc
essor_helpers_enumToApiForMaps)};
jspb_internal_adapters.putBooleanEnumMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanEnumMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllBooleanEnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getBoo
leanEnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteBooleanEnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getBooleanEnumMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getReadonlyBooleanWrapperMapField=function(a,b,c,d)
{return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_booleanToApiForMaps)};
jspb_internal_adapters.getBooleanWrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_booleanToApiForMaps)};jspb_internal_adapters.pu
tBooleanWrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyBooleanWrapperMapField(a,b,!1,e);b.set(c,d);return a};
jspb_internal_adapters.putAllBooleanWrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyBooleanWrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteBooleanWrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyBooleanWrapperMapField(a,b,!
0,d))&&b.delete(c);return a};
jspb_internal_adapters.getInt32BooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_booleanToApiForMaps)};jspb_internal_adapters.putInt32BooleanMapField=fu
nction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32BooleanMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32BooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32BooleanMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32Int32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_int32ToApiForMaps)};jspb_internal_adapters.putInt32Int32MapField=functi
on(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Int32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Int32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32Int32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32Uint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_uint32ToApiForMaps)};jspb_internal_adapters.putInt32Uint32MapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Uint32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Uint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32Uint32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32Int64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_int64ToApiForMaps)};jspb_internal_adapters.putInt32Int64MapField=functi
on(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Int64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Int64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32Int64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32Uint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_uint64ToApiForMaps)};jspb_internal_adapters.putInt32Uint64MapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Uint64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32Uint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32Uint64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32FloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_floatToApiForMaps)};jspb_internal_adapters.putInt32FloatingPointMapFiel
d=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32FloatingPointMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32FloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32FloatingPointMapField(a,b,!
0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32StringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_stringToApiForMaps)};jspb_internal_adapters.putInt32StringMapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32StringMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32StringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32StringMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32BytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_bytesToApiForMaps)};jspb_internal_adapters.putInt32BytesMapField=functi
on(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32BytesMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32BytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32BytesMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt32EnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int32ToApiForMaps,module$contents$jspb$internal_acces
sor_helpers_enumToApiForMaps)};jspb_internal_adapters.putInt32EnumMapField=function
(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32EnumMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt32EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
32EnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt32EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt32EnumMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getReadonlyInt32WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_int32ToApiForMaps)};jspb_internal_adapters.getInt32W
rapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_int32ToApiForMaps)};
jspb_internal_adapters.putInt32WrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyInt32WrapperMapField(a,b,!1,e);b.set(c,d);return
a};jspb_internal_adapters.putAllInt32WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyInt32WrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteInt32WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyInt32WrapperMapField(a,b,!
0,d))&&b.delete(c);return
a};jspb_internal_adapters.getUint32BooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_booleanToApiForMaps)};
jspb_internal_adapters.putUint32BooleanMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32BooleanMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32BooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32BooleanMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32Int32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_int32ToApiForMaps)};
jspb_internal_adapters.putUint32Int32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Int32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Int32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32Int32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32Uint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_uint32ToApiForMaps)};
jspb_internal_adapters.putUint32Uint32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Uint32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Uint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32Uint32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32Int64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_int64ToApiForMaps)};
jspb_internal_adapters.putUint32Int64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Int64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Int64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32Int64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32Uint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_uint64ToApiForMaps)};
jspb_internal_adapters.putUint32Uint64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Uint64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32Uint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32Uint64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32FloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_floatToApiForMaps)};
jspb_internal_adapters.putUint32FloatingPointMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32FloatingPointMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32FloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32FloatingPointMapField(a,b,!
0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32StringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_stringToApiForMaps)};
jspb_internal_adapters.putUint32StringMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32StringMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32StringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32StringMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32BytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_bytesToApiForMaps)};
jspb_internal_adapters.putUint32BytesMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32BytesMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32BytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32BytesMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint32EnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint32KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_enumToApiForMaps)};
jspb_internal_adapters.putUint32EnumMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32EnumMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint32EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t32EnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint32EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint32EnumMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getReadonlyUint32WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_uint32KeyToApiForMaps)};
jspb_internal_adapters.getUint32WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_uint32KeyToApiForMaps)};jspb_internal_adapters.
putUint32WrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyUint32WrapperMapField(a,b,!1,e);b.set(c,d);return a};
jspb_internal_adapters.putAllUint32WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyUint32WrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteUint32WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyUint32WrapperMapField(a,b,!
0,d))&&b.delete(c);return a};
jspb_internal_adapters.getInt64BooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_booleanToApiForMaps)};jspb_internal_adapters.putInt64BooleanMapField
=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64BooleanMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64BooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64BooleanMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64Int32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_int32ToApiForMaps)};jspb_internal_adapters.putInt64Int32MapField=fun
ction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Int32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Int32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64Int32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64Uint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_uint32ToApiForMaps)};jspb_internal_adapters.putInt64Uint32MapField=f
unction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Uint32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Uint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64Uint32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64Int64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_int64ToApiForMaps)};jspb_internal_adapters.putInt64Int64MapField=fun
ction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Int64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Int64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64Int64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64Uint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_uint64ToApiForMaps)};jspb_internal_adapters.putInt64Uint64MapField=f
unction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Uint64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64Uint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64Uint64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64FloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_floatToApiForMaps)};jspb_internal_adapters.putInt64FloatingPointMapF
ield=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64FloatingPointMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64FloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64FloatingPointMapField(a,b,!
0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64StringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_stringToApiForMaps)};jspb_internal_adapters.putInt64StringMapField=f
unction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64StringMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64StringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64StringMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64BytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_bytesToApiForMaps)};jspb_internal_adapters.putInt64BytesMapField=fun
ction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64BytesMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64BytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64BytesMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getInt64EnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_int64KeyToApiForMaps,module$contents$jspb$internal_ac
cessor_helpers_enumToApiForMaps)};jspb_internal_adapters.putInt64EnumMapField=funct
ion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64EnumMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllInt64EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getInt
64EnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteInt64EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getInt64EnumMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getReadonlyInt64WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_int64KeyToApiForMaps)};jspb_internal_adapters.getInt
64WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_int64KeyToApiForMaps)};
jspb_internal_adapters.putInt64WrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyInt64WrapperMapField(a,b,!1,e);b.set(c,d);return
a};jspb_internal_adapters.putAllInt64WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyInt64WrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteInt64WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyInt64WrapperMapField(a,b,!
0,d))&&b.delete(c);return
a};jspb_internal_adapters.getUint64BooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_booleanToApiForMaps)};
jspb_internal_adapters.putUint64BooleanMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64BooleanMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64BooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64BooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64BooleanMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64Int32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_int32ToApiForMaps)};
jspb_internal_adapters.putUint64Int32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Int32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Int32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64Int32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64Int32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64Uint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_uint32ToApiForMaps)};
jspb_internal_adapters.putUint64Uint32MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Uint32MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Uint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64Uint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64Uint32MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64Int64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_int64ToApiForMaps)};
jspb_internal_adapters.putUint64Int64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Int64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Int64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64Int64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64Int64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64Uint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_uint64ToApiForMaps)};
jspb_internal_adapters.putUint64Uint64MapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Uint64MapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64Uint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64Uint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64Uint64MapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64FloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_floatToApiForMaps)};
jspb_internal_adapters.putUint64FloatingPointMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64FloatingPointMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64FloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64FloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64FloatingPointMapField(a,b,!
0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64StringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_stringToApiForMaps)};
jspb_internal_adapters.putUint64StringMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64StringMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64StringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64StringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64StringMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64BytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_bytesToApiForMaps)};
jspb_internal_adapters.putUint64BytesMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64BytesMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64BytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64BytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64BytesMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getUint64EnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_uint64KeyToApiForMaps,module$contents$jspb$internal_a
ccessor_helpers_enumToApiForMaps)};
jspb_internal_adapters.putUint64EnumMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64EnumMapField(a,b,!1);b.set(c,d);return
a};jspb_internal_adapters.putAllUint64EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getUin
t64EnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteUint64EnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getUint64EnumMapField(a,b,!0))&&b.delete(c);return
a};jspb_internal_adapters.getReadonlyUint64WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_uint64KeyToApiForMaps)};
jspb_internal_adapters.getUint64WrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_uint64KeyToApiForMaps)};jspb_internal_adapters.
putUint64WrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyUint64WrapperMapField(a,b,!1,e);b.set(c,d);return a};
jspb_internal_adapters.putAllUint64WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyUint64WrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteUint64WrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyUint64WrapperMapField(a,b,!
0,d))&&b.delete(c);return a};
jspb_internal_adapters.getStringBooleanMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_booleanToApiForMaps)};jspb_internal_adapters.putStringBooleanMapField=
function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingBooleanMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringBooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingBooleanMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringBooleanMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringBooleanMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringInt32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_int32ToApiForMaps)};jspb_internal_adapters.putStringInt32MapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingInt32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringInt32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingInt32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringInt32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringInt32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringUint32MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_uint32ToApiForMaps)};jspb_internal_adapters.putStringUint32MapField=fu
nction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingUint32MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringUint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingUint32MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringUint32MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringUint32MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringInt64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_int64ToApiForMaps)};jspb_internal_adapters.putStringInt64MapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingInt64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringInt64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingInt64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringInt64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringInt64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringUint64MapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_uint64ToApiForMaps)};jspb_internal_adapters.putStringUint64MapField=fu
nction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingUint64MapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringUint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingUint64MapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringUint64MapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringUint64MapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringFloatingPointMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_floatToApiForMaps)};jspb_internal_adapters.putStringFloatingPointMapFi
eld=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingFloatingPointMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringFloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingFloatingPointMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringFloatingPointMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringFloatingPointMapField(a,b,!
0))&&b.delete(c);return a};
jspb_internal_adapters.getStringStringMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_stringToApiForMaps)};jspb_internal_adapters.putStringStringMapField=fu
nction(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingStringMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringStringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingStringMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringStringMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringStringMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringBytesMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_bytesToApiForMaps)};jspb_internal_adapters.putStringBytesMapField=func
tion(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingBytesMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringBytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingBytesMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringBytesMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringBytesMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getStringEnumMapField=function(a,b,c){return
module$contents$jspb_internal_adapters_getPrimitiveMapField(a,b,c,module$contents$j
spb$internal_accessor_helpers_stringToApiForMaps,module$contents$jspb$internal_acce
ssor_helpers_enumToApiForMaps)};jspb_internal_adapters.putStringEnumMapField=functi
on(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingEnumMapField(a,b,!1);b.set(c,d);return a};
jspb_internal_adapters.putAllStringEnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getStr
ingEnumMapField(a,b,!
1);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return
a};jspb_internal_adapters.deleteStringEnumMapField=function(a,b,c)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getStringEnumMapField(a,b,!0))&&b.delete(c);return a};
jspb_internal_adapters.getReadonlyStringWrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getReadonlyMapField(a,b,c,d,module$contents$
jspb$internal_accessor_helpers_stringToApiForMaps)};jspb_internal_adapters.getStrin
gWrapperMapField=function(a,b,c,d){return
module$contents$jspb_internal_adapters_getMessageValuedMapField(a,b,c,d,module$cont
ents$jspb$internal_accessor_helpers_stringToApiForMaps)};
jspb_internal_adapters.putStringWrapperMapField=function(a,b,c,d,e)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyStringWrapperMapField(a,b,!1,e);b.set(c,d);return
a};jspb_internal_adapters.putAllStringWrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);b=jspb_internal_adapters.getRea
donlyStringWrapperMapField(a,b,!
1,d);c.forEach(module$contents$jspb_internal_adapters_mapSetter,b);return a};
jspb_internal_adapters.deleteStringWrapperMapField=function(a,b,c,d)
{module$contents$jspb$internal_checkNotImmutable(a);
(b=jspb_internal_adapters.getReadonlyStringWrapperMapField(a,b,!
0,d))&&b.delete(c);return a};var
module$contents$jspb$internal$transfer_array_destroyTransferredArrays=goog.DEBUG,mo
dule$contents$jspb$internal$transfer_array_allTransferredArrays=module$contents$jsp
b$internal$transfer_array_destroyTransferredArrays?new WeakMap:void 0;
function module$contents$jspb$internal$transfer_array_transferArray(a)
{if(module$contents$jspb$internal$transfer_array_destroyTransferredArrays&&module$c
ontents$jspb$internal$transfer_array_allTransferredArrays.get(a))throw Error("this
array was already transferred");if(!Array.isArray(a))throw Error("must be an
array");if(Object.isFrozen(a)||Object.isSealed(a)||!Object.isExtensible(a))throw
Error("arrays passed to jspb constructors must be
mutable");module$contents$jspb$internal_array_state_markArrayTransferred(a);
if(module$contents$jspb$internal$transfer_array_destroyTransferredArrays){var
b=a;a=(0,module$exports$jspb$internal_copy.cloneRaw)
(a);module$contents$jspb$internal$transfer_array_makeArrayUnusable(b);module$conten
ts$jspb$internal$transfer_array_allTransferredArrays.set(b,a)}return a}
function module$contents$jspb$internal$transfer_array_makeValueUnusable(a){if(null!
=a)if(Array.isArray(a))module$contents$jspb$internal$transfer_array_makeArrayUnusab
le(a);else if(a instanceof
Uint8Array)module$exports$jspb$internal_bytes.SUPPORTS_STRUCTURED_CLONE?
structuredClone(a,{transfer:[a.buffer]}):a.fill(97,0,a.length);else
if("object"===typeof a){for(var b in a){var c=a[b];a.hasOwnProperty(b)&&(delete
a[b],module$contents$jspb$internal$transfer_array_makeValueUnusable(c))}Object.defi
neProperty(a,
"dontUseThisItBelongsToJspb",{enumerable:!
0,get:module$contents$jspb$internal$transfer_array_dontUseThisItBelongsToJspb});a.t
oJSON=module$contents$jspb$internal$transfer_array_dontUseThisItBelongsToJspb;modul
e$contents$jspb$internal$transfer_array_badPrototype&&Object.setPrototypeOf(a,modul
e$contents$jspb$internal$transfer_array_badPrototype);Object.freeze(a)}}var
module$contents$jspb$internal$transfer_array_badPrototype;
if(module$contents$jspb$internal$transfer_array_destroyTransferredArrays&&"undefine
d"!==typeof Proxy){var
untypedHandlerMethod=module$contents$jspb$internal$transfer_array_dontUseThisItBelo
ngsToJspb;module$contents$jspb$internal$transfer_array_badPrototype=new Proxy({},
{getPrototypeOf:untypedHandlerMethod,setPrototypeOf:untypedHandlerMethod,isExtensib
le:untypedHandlerMethod,preventExtensions:untypedHandlerMethod,getOwnPropertyDescri
ptor:untypedHandlerMethod,defineProperty:untypedHandlerMethod,has:untypedHandlerMet
hod,
get:untypedHandlerMethod,set:untypedHandlerMethod,deleteProperty:untypedHandlerMeth
od,apply:untypedHandlerMethod,construct:untypedHandlerMethod})}
function module$contents$jspb$internal$transfer_array_makeArrayUnusable(a){for(var
b=0;b<a.length;b+
+)module$contents$jspb$internal$transfer_array_makeValueUnusable(a[b]);if(!
Object.isExtensible(a))throw Error("cannot transfer a frozen or sealed
array");b=a;a.length=1;a[0]=module$contents$jspb$internal$transfer_array_dontUseThi
sItBelongsToJspb;b.toJSON=module$contents$jspb$internal$transfer_array_dontUseThisI
tBelongsToJspb;module$contents$jspb$internal$transfer_array_badPrototype&&Object.se
tPrototypeOf(b,
module$contents$jspb$internal$transfer_array_badPrototype);Object.freeze(a)}functio
n module$contents$jspb$internal$transfer_array_dontUseThisItBelongsToJspb()
{if(goog.DEBUG)throw Error("this array or object is owned by JSPB and should not be
reused, did you mean to copy it with copyJspbArray? See go/jspb-api-
gotchas#construct_from_array");throw Error();};var
module$exports$jspb={Message:function(a,b,c)
{goog.asserts.assertInstanceof(this,module$exports$jspb.Message,"The message
constructor should only be used by
subclasses");goog.asserts.assert(this.constructor!
==module$exports$jspb.Message,"Message is an abstract class and cannot be directly
constructed");if(goog.asserts.ENABLE_ASSERTS&&!0!
==this[module$exports$jspb$internal.EXEMPTED_SUBCLASS_MARKER]&&module$exports$jspb$
internal_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY){goog.asserts.assert(!0===
this[module$exports$jspb$internal.GENERATED_SUBCLASS_MARKER],"Message can only be
subclassed by proto gencode.");var
d=Object.getPrototypeOf(goog.asserts.assert(Object.getPrototypeOf(this)));goog.asse
rts.assert(d.hasOwnProperty(module$exports$jspb$internal.GENERATED_SUBCLASS_MARKER)
,"Generated jspb classes should not be
extended")}this.internalArray_=module$contents$jspb$internal_construct_constructMes
sageArray(a,b,c);module$contents$jspb$internal_disallowPassingToStructuredClone(thi
s);module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&
module$contents$jspb$internal_operations_logOperation({constructMessage:1})}};modul
e$exports$jspb.Message.prototype.toJsonValue=function(){return this.toJSON()};
module$exports$jspb.Message.prototype.toJSON=function()
{if(module$contents$jspb$internal_inSerialize)return
module$contents$jspb_prepareForSerialize(this,this.internalArray_,!1);var
a=module$contents$jspb_prepareForSerialize(this,module$contents$jspb$internal_copy_
cloneToJsonFormat(this.internalArray_),!
0);module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&(a=module$contents$j
spb$internal$transfer_array_transferArray(a));return a};
module$exports$jspb.Message.prototype.toStructuredCloneableValue=function(){var
a=module$contents$jspb_prepareForSerialize(this,module$contents$jspb$internal_copy_
cloneToStructuredCloneableFormat(this.internalArray_),!
0);module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&(a=module$contents$j
spb$internal$transfer_array_transferArray(a));return a};
module$exports$jspb.Message.prototype.serialize=function()
{module$contents$jspb$internal_inSerialize=!0;try{return
JSON.stringify(this.toJSON(),module$contents$jspb$internal_json_jspbJsonStringifyRe
placer)}finally{module$contents$jspb$internal_inSerialize=!1}};
module$exports$jspb.Message.deserializeWithCtor=function(a,b)
{goog.asserts.assertFunction(a);if(null==b||""==b)return
goog.asserts.assertInstanceof(new
a,module$exports$jspb.Message);goog.asserts.assertString(b);b=JSON.parse(b);if(!
Array.isArray(b))throw Error(goog.DEBUG?"Expected to deserialize an Array but got
"+goog.typeOf(b)+": "+b:"dnarr");return
module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a,module$co
ntents$jspb$internal_array_state_markMutableReferencesAreOwned(b))};
module$exports$jspb.Message.prototype.getExtension=function(a)
{goog.asserts.assertInstanceof(this,a.extendeeCtor);var
b=goog.asserts.assertInstanceof(this,module$exports$jspb.Message);b=a.ctor?
a.isRepeated?a.getExtensionFn(b,a.ctor,a.fieldIndex,
(0,jspb_internal_adapters.getRepeatedFieldReturnType)(void 0,!0),!
0):a.getExtensionFn(b,a.ctor,a.fieldIndex,!0):a.isRepeated?
a.getExtensionFn(b,a.fieldIndex,
(0,jspb_internal_adapters.getRepeatedFieldReturnType)(void 0,!0),!
0):a.getExtensionFn(b,a.fieldIndex,
a.defaultValue,!0);return a.isDelegating&&null==b?
a.defaultValue:b};module$exports$jspb.Message.prototype.getExtensionOrUndefined=fun
ction(a){goog.asserts.assert(!a.isRepeated,"repeated extensions don't support
getExtensionOrUndefined");goog.asserts.assertInstanceof(this,a.extendeeCtor);var
b=goog.asserts.assertInstanceof(this,module$exports$jspb.Message);a=a.ctor?
a.getExtensionFn(b,a.ctor,a.fieldIndex,!0):a.getExtensionFn(b,a.fieldIndex,null,!
0);return null===a?void 0:a};
module$exports$jspb.Message.prototype.hasExtension=function(a)
{goog.asserts.assert(!a.isRepeated,"repeated extensions don't support
hasExtension");return a.ctor?(0,jspb_internal_adapters.hasWrapperField)
(this,a.ctor,a.fieldIndex,!0):void 0!==this.getExtensionOrUndefined(a)};
module$exports$jspb.Message.difference=function(a,b){if(!(a instanceof
module$exports$jspb.Message))throw Error("Message.difference called on non-
Message.");if(a.constructor!==b.constructor)throw Error("Messages have different
types.");var c=module$contents$jspb$internal_isImmutableMessage(a);if(c!
==module$contents$jspb$internal_isImmutableMessage(b))throw Error("Messages must
both be immutable or both be mutable.");var
d=a.internalArray_;b=b.internalArray_;var
e=module$contents$jspb$internal_operations_logNewArray([]),
f=0,g=Math.max(d.length,b.length),h=a.constructor.messageId;h&&(e[0]=h,f=1);for(;f<
g;f++){var k=d[f];h=b[f];if(f===b.length-
1&&module$contents$jspb$internal_isSparseObject(h))
{h=e[f]={};k=module$contents$jspb$internal_isSparseObject(k)?k:{};var
l=b[f],m;for(m in
l)module$contents$jspb$internal_compare_compareFields(k[m],l[m])||
(h[m]=module$contents$jspb$internal_immutability_copyImmutableFieldValue(l[m]))}els
e module$contents$jspb$internal_compare_compareFields(k,h)||
(e[f]=module$contents$jspb$internal_immutability_copyImmutableFieldValue(h))}c&&
module$contents$jspb$internal_array_state_markArrayImmutable(e);return
module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.construct
or,module$contents$jspb$internal_array_state_markMutableReferencesAreOwned(e))};
module$exports$jspb.Message.equals=function(a,b)
{module$contents$jspb$internal_nullVsEmptyComparisons=0;var c=a==b||!(!a||!b)&&a
instanceof
b.constructor&&module$contents$jspb$internal_compare_compareMessages(a,b);if(module
$contents$jspb$internal_options_checkEqualsDoesNotChangeWithTypeInformation&&goog.D
EBUG&&a&&b&&a.constructor===b.constructor&&!c){var
d=a.constructor,e=d.makeCrossSerializerComparisonsCompatible;e&&module$contents$jsp
b$internal_operations_withoutLogging(function(){var f=new
d(a.toStructuredCloneableValue());
e(f);if(f=module$contents$jspb$internal_compare_compareMessages(f,goog.asserts.asse
rt(b)))throw
f=module$contents$jspb$internal_compare_getAttachedTypeInfoLogDuringComparison(func
tion(){return
module$contents$jspb$internal_compare_compareMessages(goog.asserts.assert(a),goog.a
sserts.assert(b))}),Error("Comparison between protos had a false negative and would
have changed from false to true with type information. Please add a call to "+
(d.displayName+".makeCrossSerializerComparisonsCompatible to one or both sides of
the comparison to ensure it is reliable.\n\nCompared protos were:\n")+
(a.serialize()+" and "+b.serialize()+"\ntype info log: [")+
(f+"]"));})}module$contents$jspb$internal_options_asyncThrowIfEqualsHingesOnEmptyAr
rays&&a&&b&&a.constructor===b.constructor&&!
c&&0<module$contents$jspb$internal_nullVsEmptyComparisons&&!
module$contents$jspb_asyncThrowsForNullVsArrayComparisons+
+&&module$contents$jspb$exceptions_asyncThrowWarning(goog.DEBUG?"Comparison between
protos might have had a false negative: please add a call to "+
(a.constructor.displayName+".makeCrossSerializerComparisonsCompatible to be sure it
did not. See go/jspb-changelog#empty-repeated-fields for more information"):
"empty array distinguishability");return
c};module$exports$jspb.Message.prototype.clone=function(){var
a=goog.asserts.assertInstanceof(this,module$exports$jspb.Message);return
module$contents$jspb$internal_immutability_copyMutableWithImmutableFields(a)};modul
e$exports$jspb.Message.prototype.isImmutable=function(){return
module$contents$jspb$internal_isImmutableMessage(this)};module$exports$jspb.Message
.prototype.toMutable=function(){return
module$contents$jspb$internal_immutability_messageToMutable(this)};
goog.DEBUG&&module$contents$jspb$internal_setMessageCtorInDebug(module$exports$jspb
.Message);var
module$contents$jspb_asyncThrowsForNullVsArrayComparisons=0;module$exports$jspb.Mes
sage.prototype.messagePrototypeMarker=module$exports$jspb$internal.MESSAGE_PROTOTYP
E_MARKER_VALUE;module$exports$jspb.Message.prototype.toString=function(){return
module$contents$jspb_prepareForSerialize(this,this.internalArray_,!1).toString()};
function module$contents$jspb_prepareForSerialize(a,b,c){var
d=module$contents$jspb$internal_getRepeatedFieldSet(a),e=(0,module$exports$jspb$int
ernal_array_state.getMessageArrayState)(c?a.internalArray_:b);a=b.length;if(!
a)return b;var f;if(module$contents$jspb$internal_isSparseObject(c=b[a-1])){a:{var
g=c;var h={},k=!1,l;for(l in
g)if(module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(g,l)){var
m=g[l];if(Array.isArray(m)){var
n=m;if(module$contents$jspb$internal_isEmptyRepeatedField(m,d,+l)||
module$contents$jspb$internal_isEmptyMap(m))m=null;m!=n&&(k=!0)}null!=m?h[l]=m:k=!
0}if(k){for(var p in h){g=h;break a}g=null}}g!=c&&(f=!
0);a--}for(l=module$contents$jspb$internal_array_state_getArrayIndexOffset(e);0<a;a
--){p=a-1;c=b[p];p=module$contents$jspb$internal_fieldNumberFromIndex(p,l);if(null!
=c&&!module$contents$jspb$internal_isEmptyRepeatedField(c,d,p)&&!
module$contents$jspb$internal_isEmptyMap(c))break;var q=!0}if(!f&&!q)return
b;d=0;module$exports$jspb$internal_options.DETAILED_JSPB_ASSERTS&&
module$contents$jspb$internal_operations_logOperation({slice:1});b=Array.prototype.
slice.call(b,d,a);g&&b.push(g);return b}var
module$contents$jspb_clearFieldValue=function(a){return
Array.isArray(a)&&module$contents$jspb$internal_array_state_isRepeatedField(a)?
module$exports$jspb$internal.EMPTY_LIST_SENTINEL:void 0};
function module$contents$jspb_clearMessage(a)
{goog.asserts.assertInstanceof(a,module$exports$jspb.Message);module$contents$jspb$
internal_checkNotImmutable(a);var
b=a.internalArray_,c=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)
(b);c&=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT;f
or(var d=b.length+(c?-1:0),e=null!=a.constructor.messageId?1:0;e<d;e+
+)b[e]=module$contents$jspb_clearFieldValue(b[e]);if(c){c=b[b.length-1];for(var f
in c)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(c,
f)&&(c[f]=module$contents$jspb_clearFieldValue(c[f]))}module$contents$jspb$internal
_clearUnknownFields(b);return a}
function module$contents$jspb_copyMessage(a,b)
{goog.asserts.assertInstanceof(a,module$exports$jspb.Message);goog.asserts.assertIn
stanceof(b,module$exports$jspb.Message);goog.asserts.assert(b.constructor==a.constr
uctor,"Copy source and target message should have the same
type.");module$contents$jspb$internal_checkNotImmutable(a);b=b.internalArray_;var
c=a.internalArray_,d=(0,module$exports$jspb$internal_array_state.getMessageArraySta
te)(b),e=(0,module$exports$jspb$internal_array_state.getMessageArrayState)(c);
e&=~module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT;e=mo
dule$contents$jspb$internal_array_state_setPivot(e,module$contents$jspb$internal_ar
ray_state_getPivot(d));var
f=b.length;c.length=f;f=(d=module$exports$jspb$internal_array_state.ArrayStateFlags
.HAS_SPARSE_OBJECT&d?b[f-1]:void 0)?f-1:f;for(var g=0;g<f;g+
+)c[g]=module$contents$jspb$internal_immutability_copyImmutableFieldValue(b[g]);if(
d){e|=module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT;f=
c[f]={};for(var h in
d)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(d,h)&&(f[h]=module$conte
nts$jspb$internal_immutability_copyImmutableFieldValue(d[h]))}
(0,module$exports$jspb$internal_array_state.setArrayState)
(c,e);module$contents$jspb$internal_copyUnknownFields(c,b,!0);return a}function
module$contents$jspb_copyMessageOrClear(a,b){return null!=b?
module$contents$jspb_copyMessage(a,b):module$contents$jspb_clearMessage(a)}
function module$contents$jspb_newMutableMessageFromTransferredArray(a,b)
{if(null==b)return new
a;b=module$contents$jspb$internal$transfer_array_transferArray(b);a=module$contents
$jspb$internal_construct_internalConstructFromOwnedArray(a,module$contents$jspb$int
ernal_array_state_markMutableReferencesAreOwned(b));module$exports$jspb$internal_op
tions.UNSAFE_DISABLE_JSPB_CONSTRUCTION_INSTANCEOF_MESSAGE||
goog.asserts.assertInstanceof(a,module$exports$jspb.Message);return a}
function module$contents$jspb_newImmutableMessageFromTransferredArray(a,b)
{module$exports$jspb$internal_options.UNSAFE_DISABLE_JSPB_CONSTRUCTION_INSTANCEOF_M
ESSAGE||
goog.asserts.assertInstanceof(a,module$exports$jspb.Message);goog.asserts.assert(a.
isImmutable());a=null==b?
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(a.constr
uctor):module$contents$jspb$internal_construct_internalConstructFromOwnedArray(a.co
nstructor,module$contents$jspb$internal_array_state_markArrayImmutable(module$conte
nts$jspb$internal$transfer_array_transferArray(b)));
module$exports$jspb$internal_options.UNSAFE_DISABLE_JSPB_CONSTRUCTION_INSTANCEOF_ME
SSAGE||goog.asserts.assertInstanceof(a,module$exports$jspb.Message);return
a}function module$contents$jspb_cloneJspbArray(a)
{return(0,module$exports$jspb$internal_copy.cloneRaw)
(a)}module$exports$jspb.clearMessage=module$contents$jspb_clearMessage;module$expor
ts$jspb.cloneJspbArray=module$contents$jspb_cloneJspbArray;module$exports$jspb.copy
Message=module$contents$jspb_copyMessage;
module$exports$jspb.copyMessageOrClear=module$contents$jspb_copyMessageOrClear;modu
le$exports$jspb.newImmutableMessageFromTransferredArray=module$contents$jspb_newImm
utableMessageFromTransferredArray;module$exports$jspb.newMutableMessageFromTransfer
redArray=module$contents$jspb_newMutableMessageFromTransferredArray;var
module$exports$jspb$immutable_message={ImmutableMessage:function()
{module$exports$jspb.Message.call(this,void 0);throw Error("ImmutableMessage is not
instantiable");}};
$jscomp.inherits(module$exports$jspb$immutable_message.ImmutableMessage,module$expo
rts$jspb.Message);
if(module$exports$jspb$internal_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY&&module
$exports$jspb$internal.SUPPORTS_HAS_INSTANCE){var
rejectInstanceof$jscomp$1=function(){throw Error(goog.DEBUG?"Cannot perform
instanceof checks for ImmutableMessage. Please use .isMutable or .isImmutable to
determine whether a message is mutable. See go/jspb-api-gotchas#immutable-classes
for more information":void 0);},
$jscomp$compprop25={};Object.defineProperties(module$exports$jspb$immutable_message
.ImmutableMessage,
($jscomp$compprop25[Symbol.hasInstance]=module$contents$jspb$internal_invisibleProp
Value(rejectInstanceof$jscomp$1),$jscomp$compprop25));(0,goog.asserts.assert)
(module$exports$jspb$immutable_message.ImmutableMessage[Symbol.hasInstance]===rejec
tInstanceof$jscomp$1,"broken defineProperties implementation")}
function module$contents$jspb$immutable_message_defaultImmutableInstance(a)
{a=module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(a);
(0,goog.asserts.assertInstanceof)(a,module$exports$jspb.Message,"value was not a
mutable message constructor");return
a}module$exports$jspb$immutable_message.defaultImmutableInstance=module$contents$js
pb$immutable_message_defaultImmutableInstance;var
module$exports$jspb$arith={UInt64:function(a,b)
{this.lo=a>>>0;this.hi=b>>>0}};module$exports$jspb$arith.UInt64.prototype.negateInT
wosComplement=function(){return 0===this.lo?new
module$exports$jspb$arith.UInt64(0,1+~this.hi):new
module$exports$jspb$arith.UInt64(~this.lo+1,~this.hi)};
module$exports$jspb$arith.UInt64.fromString=function(a){if(!a)return
module$exports$jspb$arith.UInt64.getZero();if(!/^\d+$/.test(a))return
null;module$contents$jspb$utils_splitDecimalString(a);return new
module$exports$jspb$arith.UInt64(module$contents$jspb$utils_split64Low,module$conte
nts$jspb$utils_split64High)};module$exports$jspb$arith.UInt64.fromNumber=function(a
){return new module$exports$jspb$arith.UInt64(a&4294967295,a/4294967296)};
module$exports$jspb$arith.UInt64.getZero=function(){return
module$contents$jspb$arith_uint64Zero||(module$contents$jspb$arith_uint64Zero=new
module$exports$jspb$arith.UInt64(0,0))};var
module$contents$jspb$arith_uint64Zero;module$exports$jspb$arith.Int64=function(a,b)
{this.lo=a>>>0;this.hi=b>>>0};
module$exports$jspb$arith.Int64.fromString=function(a){if(!a)return
module$exports$jspb$arith.Int64.getZero();if(!/^-?\d+$/.test(a))return
null;module$contents$jspb$utils_splitDecimalString(a);return new
module$exports$jspb$arith.Int64(module$contents$jspb$utils_split64Low,module$conten
ts$jspb$utils_split64High)};module$exports$jspb$arith.Int64.fromNumber=function(a)
{return new module$exports$jspb$arith.Int64(a&4294967295,a/4294967296)};
module$exports$jspb$arith.Int64.getZero=function(){return
module$contents$jspb$arith_int64Zero||(module$contents$jspb$arith_int64Zero=new
module$exports$jspb$arith.Int64(0,0))};var module$contents$jspb$arith_int64Zero;var
module$exports$jspb$binary$encoder={BinaryEncoder:function()
{this.buffer_=[]}};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.lengt
h=function(){return
this.buffer_.length};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.end
=function(){var a=this.buffer_;this.buffer_=[];return a};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSplitVarint64=funct
ion(a,b)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(b==Math.floor(b));goog.a
sserts.assert(0<=a&&a<module$exports$jspb$BinaryConstants.TWO_TO_32);for(goog.asser
ts.assert(0<=b&&b<module$exports$jspb$BinaryConstants.TWO_TO_32);0<b||
127<a;)this.buffer_.push(a&127|128),a=(a>>>7|
b<<25)>>>0,b>>>=7;this.buffer_.push(a)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSplitFixed64=functi
on(a,b)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(b==Math.floor(b));goog.a
sserts.assert(0<=a&&a<module$exports$jspb$BinaryConstants.TWO_TO_32);goog.asserts.a
ssert(0<=b&&b<module$exports$jspb$BinaryConstants.TWO_TO_32);this.writeUint32(a);th
is.writeUint32(b)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUnsignedVarint32=fu
nction(a)
{goog.asserts.assert(a==Math.floor(a));for(goog.asserts.assert(0<=a&&a<module$expor
ts$jspb$BinaryConstants.TWO_TO_32);127<a;)this.buffer_.push(a&127|
128),a>>>=7;this.buffer_.push(a)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSignedVarint32=func
tion(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_31);if(0<=a)this.writeUnsignedVarint32(a);else{for(var b=0;9>b;b+
+)this.buffer_.push(a&127|128),a>>=7;this.buffer_.push(1)}};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUnsignedVarint64=fu
nction(a)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a<module$exports$j
spb$BinaryConstants.TWO_TO_64);module$contents$jspb$utils_splitInt64(a);this.writeS
plitVarint64(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split
64High)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSignedVarint64=func
tion(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_63&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_63);module$contents$jspb$utils_splitInt64(a);this.writeSplitVarint64(modul
e$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeZigzagVarint32=func
tion(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_31);this.writeUnsignedVarint32((a<<1^a>>31)>>>0)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeZigzagVarint64=func
tion(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_63&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_63);var
b=a;a=0>b;b=2*Math.abs(b);module$contents$jspb$utils_splitUint64(b);b=module$conten
ts$jspb$utils_split64Low;var c=module$contents$jspb$utils_split64High;a&&(0==b?
0==c?c=b=4294967295:
(c--,b=4294967295):b--);module$contents$jspb$utils_split64Low=b;module$contents$jsp
b$utils_split64High=
c;this.writeSplitVarint64(module$contents$jspb$utils_split64Low,module$contents$jsp
b$utils_split64High)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.wr
iteZigzagVarint64String=function(a){var
b=this;module$contents$jspb$utils_splitDecimalString(a);module$contents$jspb$utils_
toZigzag64(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64
High,function(c,d){b.writeSplitVarint64(c>>>0,d>>>0)})};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint32=function(a)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a<module$exports$j
spb$BinaryConstants.TWO_TO_32);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8
&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint64=function(a)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a<module$exports$j
spb$BinaryConstants.TWO_TO_64);module$contents$jspb$utils_splitUint64(a);this.write
Uint32(module$contents$jspb$utils_split64Low);this.writeUint32(module$contents$jspb
$utils_split64High)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeInt32=function(a)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_31);this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_
.push(a>>>16&255);this.buffer_.push(a>>>24&255)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeInt64=function(a)
{goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_63&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_63);module$contents$jspb$utils_splitInt64(a);this.writeSplitFixed64(module
$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeFloat=function(a)
{goog.asserts.assert(Infinity==a||-Infinity==a||isNaN(a)||"number"===typeof a&&a>=-
module$exports$jspb$BinaryConstants.FLOAT32_MAX&&a<=module$exports$jspb$BinaryConst
ants.FLOAT32_MAX);var
b=module$contents$jspb$utils_getScratchpad(4);b.setFloat32(0,+a,!
0);module$contents$jspb$utils_split64High=0;module$contents$jspb$utils_split64Low=b
.getUint32(0,!0);this.writeUint32(module$contents$jspb$utils_split64Low)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeDouble=function(a)
{goog.asserts.assert("number"===typeof a||"Infinity"===a||"-
Infinity"===a||"NaN"===a);var
b=module$contents$jspb$utils_getScratchpad(8);b.setFloat64(0,+a,!
0);module$contents$jspb$utils_split64Low=b.getUint32(0,!
0);module$contents$jspb$utils_split64High=b.getUint32(4,!
0);this.writeUint32(module$contents$jspb$utils_split64Low);this.writeUint32(module$
contents$jspb$utils_split64High)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeBool=function(a)
{goog.asserts.assert("boolean"===typeof a||"number"===typeof
a);this.buffer_.push(a?
1:0)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeEnum=function
(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&a<module$exports$jspb$BinaryConstant
s.TWO_TO_31);this.writeSignedVarint32(a)};
module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeBytes=function(a)
{for(;8192<a.length;)Array.prototype.push.apply(this.buffer_,a.subarray(0,8192)),a=
a.subarray(8192);Array.prototype.push.apply(this.buffer_,a)};var
module$exports$jspb$binary$writer={},module$contents$jspb$binary$writer_REJECT_UNPA
IRED_SURROGATES=goog.DEBUG;module$exports$jspb$binary$writer.BinaryWriter=function(
){this.blocks_=[];this.totalLength_=0;this.encoder_=new
module$exports$jspb$binary$encoder.BinaryEncoder};module$exports$jspb$binary$writer
.BinaryWriter.prototype.pushBlock=function(a){0!
==a.length&&(this.blocks_.push(a),this.totalLength_+=a.length)};
module$exports$jspb$binary$writer.BinaryWriter.prototype.appendUint8Array_=function
(a)
{this.pushBlock(this.encoder_.end());this.pushBlock(a)};module$exports$jspb$binary$
writer.BinaryWriter.prototype.beginDelimited_=function(a)
{this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.DELIMITED);a
=this.encoder_.end();this.pushBlock(a);a.push(this.totalLength_);return a};
module$exports$jspb$binary$writer.BinaryWriter.prototype.endDelimited_=function(a)
{var b=a.pop();b=this.totalLength_+this.encoder_.length()-
b;for((0,goog.asserts.assert)(0<=b);127<b;)a.push(b&127|
128),b>>>=7,this.totalLength_++;a.push(b);this.totalLength_+
+};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUnknownFields=func
tion(a){this.pushBlock(this.encoder_.end());for(var b=0;b<a.length;b+
+)this.pushBlock(module$contents$jspb$unsafe_bytestring_unsafeUint8ArrayFromByteStr
ing(a[b]))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.getResultBuffer=function()
{this.pushBlock(this.encoder_.end());var a=this.totalLength_;a=new
Uint8Array(a);for(var b=this.blocks_,c=b.length,d=0,e=0;e<c;e++){var
f=b[e];a.set(f,d);d+=f.length}(0,goog.asserts.assert)
(d==a.length);this.blocks_=[a];return
a};module$exports$jspb$binary$writer.BinaryWriter.prototype.getResultBufferAsByteSt
ring=function(){return
module$contents$jspb$unsafe_bytestring_unsafeByteStringFromUint8Array(this.getResul
tBuffer())};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeFieldHeader_=function
(a,b){(0,goog.asserts.assert)
(1<=a&&a==Math.floor(a));this.encoder_.writeUnsignedVarint32(8*a+b)};module$exports
$jspb$binary$writer.BinaryWriter.prototype.writeUnsignedVarint32_=function(a,b)
{null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
this.encoder_.writeUnsignedVarint32(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSignedVarint32_=funct
ion(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertSignedInteger(a,b),this.writeFieldHea
der_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),this.encoder_.writeSign
edVarint32(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUnsignedVarint64_=fun
ction(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
"number"===typeof b?this.encoder_.writeUnsignedVarint64(b):
(a=module$exports$jspb$arith.UInt64.fromString(b),this.encoder_.writeSplitVarint64(
a.lo,a.hi)))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUnsignedVarint64Toler
atingNegatives_=function(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
module$contents$jspb$binary$writer_encodeUnsignedInt64ToleratingNegatives(this.enco
der_,a,b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSignedVarint64_=funct
ion(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
"number"===typeof b?this.encoder_.writeSignedVarint64(b):
(a=module$exports$jspb$arith.Int64.fromString(b),this.encoder_.writeSplitVarint64(a
.lo,a.hi)))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeZigzagVarint32_=funct
ion(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
this.encoder_.writeZigzagVarint32(b))};module$exports$jspb$binary$writer.BinaryWrit
er.prototype.writeZigzagVarint64_=function(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),
"number"===typeof b?
this.encoder_.writeZigzagVarint64(b):this.encoder_.writeZigzagVarint64String(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeInt32=function(a,b)
{null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_31),this.writeSignedVarint32_(a,b))};module$exports$jspb$binary$writer.Bin
aryWriter.prototype.writeInt64=function(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeSignedVari
nt64_(a,b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUint32=function(a,b)
{null!
=b&&(module$contents$jspb$binary$writer_assertThat(a,b,0<=b&&b<module$exports$jspb$
BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(a,b))};module$exports$jspb$b
inary$writer.BinaryWriter.prototype.writeUint64=function(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertUnsignedInt64(a,b),this.writeUnsigned
Varint64_(a,b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUint64ToleratingNegat
ives=function(a,b){null!
=b&&this.writeUnsignedVarint64ToleratingNegatives_(a,b)};module$exports$jspb$binary
$writer.BinaryWriter.prototype.writeSint32=function(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_31),this.writeZigzagVarint32_(a,b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSint64=function(a,b)
{null!
=b&&(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeZigzagVari
nt64_(a,b))};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeFixed32=
function(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertThat(a,b,0<=b&&b<module$exports$jspb$
BinaryConstants.TWO_TO_32),this.writeFieldHeader_(a,module$exports$jspb$BinaryConst
ants.WireType.FIXED32),this.encoder_.writeUint32(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeFixed64=function(a,b)
{null!
=b&&(module$contents$jspb$binary$writer_assertUnsignedInt64(a,b),this.writeFieldHea
der_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64),"number"===typeof b?
this.encoder_.writeUint64(b):
(a=module$exports$jspb$arith.UInt64.fromString(b),this.encoder_.writeSplitFixed64(a
.lo,a.hi)))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeFixed64ToleratingNega
tives=function(a,b){null!
=b&&(module$contents$jspb$binary$writer_assertUnsignedInt64ToleratingNegatives(a,b)
,this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64),mod
ule$contents$jspb$binary$writer_encodeFixed64ToleratingNegatives(this.encoder_,a,b)
)};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSfixed32=function(a,b
){null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,b>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_31),this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.
FIXED32),this.encoder_.writeInt32(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSfixed64=function(a,b
){null!
=b&&(module$contents$jspb$binary$writer_assertSignedInt64(a,b),this.writeFieldHeade
r_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64),"number"===typeof b?
this.encoder_.writeInt64(b):
(a=module$exports$jspb$arith.Int64.fromString(b),this.encoder_.writeSplitFixed64(a.
lo,a.hi)))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeFloat=function(a,b)
{null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.FIXED32)
,this.encoder_.writeFloat(b))};module$exports$jspb$binary$writer.BinaryWriter.proto
type.writeDouble=function(a,b){null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64)
,this.encoder_.writeDouble(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeBool=function(a,b)
{null!=b&&(module$contents$jspb$binary$writer_assertThat(a,b,"boolean"===typeof
b||"number"===typeof
b),this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),th
is.encoder_.writeBool(b))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeEnum=function(a,b)
{null!
=b&&(b=parseInt(b,10),module$contents$jspb$binary$writer_assertSignedInteger(a,b),t
his.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT),this.e
ncoder_.writeSignedVarint32(b))};module$exports$jspb$binary$writer.BinaryWriter.pro
totype.writeString=function(a,b){null!
=b&&this.writeUint8Array(a,module$contents$jspb$binary$utf8_encodeUtf8(b,module$con
tents$jspb$binary$writer_REJECT_UNPAIRED_SURROGATES))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeBytes=function(a,b)
{null!
=b&&this.writeUint8Array(a,module$contents$jspb$binary$internal_buffer_bufferFromSo
urce(b).buffer)};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUint
8Array=function(a,b)
{this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.DELIMITED);t
his.encoder_.writeUnsignedVarint32(b.length);this.appendUint8Array_(b)};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeMessage=function(a,b,
c){null!=b&&(a=this.beginDelimited_(a),c(b,this),this.endDelimited_(a))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeMessageSet=function(a
,b,c){null!
=b&&(this.writeFieldHeader_(1,module$exports$jspb$BinaryConstants.WireType.START_GR
OUP),this.writeFieldHeader_(2,module$exports$jspb$BinaryConstants.WireType.VARINT),
this.encoder_.writeSignedVarint32(a),a=this.beginDelimited_(3),c(b,this),this.endDe
limited_(a),this.writeFieldHeader_(1,module$exports$jspb$BinaryConstants.WireType.E
ND_GROUP))};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeGroup=function(a,b,c)
{null!
=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.START_GR
OUP),c(b,this),this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireTyp
e.END_GROUP))};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSplitF
ixed64=function(a,b,c)
{this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64);thi
s.encoder_.writeSplitFixed64(b,c)};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSplitVarint64=functio
n(a,b,c)
{this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT);this
.encoder_.writeSplitVarint64(b,c)};module$exports$jspb$binary$writer.BinaryWriter.p
rototype.writeRepeatedInt32=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeSignedVarint32_(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedInt64=functio
n(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeSignedVarint64_(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter
.prototype.writeRepeatedUint32=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeUnsignedVarint32_(a,b[c])};module$exports$jspb$binary$writer.BinaryWrit
er.prototype.writeRepeatedUint64=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeUnsignedVarint64_(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedUint64Tolerat
ingNegatives=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeUnsignedVarint64ToleratingNegatives_(a,b[c])};module$exports$jspb$binar
y$writer.BinaryWriter.prototype.writeRepeatedSint32=function(a,b){if(null!
=b)for(var c=0;c<b.length;c++)this.writeZigzagVarint32_(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedSint64=functi
on(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeZigzagVarint64_(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter
.prototype.writeRepeatedFixed32=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeFixed32(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.prototy
pe.writeRepeatedFixed64=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeFixed64(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedFixed64Tolera
tingNegatives=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeFixed64ToleratingNegatives(a,b[c])};module$exports$jspb$binary$writer.B
inaryWriter.prototype.writeRepeatedSfixed32=function(a,b){if(null!=b)for(var
c=0;c<b.length;c++)this.writeSfixed32(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedSfixed64=func
tion(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeSfixed64(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.protot
ype.writeRepeatedFloat=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeFloat(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.prototype
.writeRepeatedDouble=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeDouble(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedBool=function
(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeBool(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.prototype.
writeRepeatedEnum=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeEnum(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.prototype.
writeRepeatedString=function(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeString(a,b[c])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedBytes=functio
n(a,b){if(null!=b)for(var c=0;c<b.length;c+
+)this.writeBytes(a,b[c])};module$exports$jspb$binary$writer.BinaryWriter.prototype
.writePackedInt32=function(a,b){if(null!=b&&b.length){for(var
c=this.beginDelimited_(a),d=0;d<b.length;d+
+)module$contents$jspb$binary$writer_assertSignedInteger(a,b[d]),this.encoder_.writ
eSignedVarint32(b[d]);this.endDelimited_(c)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedInt64=function(
a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(var c=0;c<b.length;c++)
{var d=b[c];"number"===typeof d?this.encoder_.writeSignedVarint64(d):
(d=module$exports$jspb$arith.Int64.fromString(d),this.encoder_.writeSplitVarint64(d
.lo,d.hi))}this.endDelimited_(a)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedUint32=function
(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(var c=0;c<b.length;c+
+)this.encoder_.writeUnsignedVarint32(b[c]);this.endDelimited_(a)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedUint64=function
(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(var c=0;c<b.length;c++)
{var d=b[c];"number"===typeof d?this.encoder_.writeUnsignedVarint64(d):
(d=module$exports$jspb$arith.UInt64.fromString(d),this.encoder_.writeSplitVarint64(
d.lo,d.hi))}this.endDelimited_(a)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedUint64Toleratin
gNegatives=function(a,b){if(null!=b&&b.length){for(var
c=this.beginDelimited_(a),d=0;d<b.length;d+
+)module$contents$jspb$binary$writer_encodeUnsignedInt64ToleratingNegatives(this.en
coder_,a,b[d]);this.endDelimited_(c)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedSint32=function
(a,b){if(null!=b&&b.length){a=this.beginDelimited_(a);for(var c=0;c<b.length;c+
+)this.encoder_.writeZigzagVarint32(b[c]);this.endDelimited_(a)}};module$exports$js
pb$binary$writer.BinaryWriter.prototype.writePackedSint64=function(a,b){if(null!
=b&&b.length){a=this.beginDelimited_(a);for(var c=0;c<b.length;c++){var
d=b[c];"number"===typeof d?
this.encoder_.writeZigzagVarint64(d):this.encoder_.writeZigzagVarint64String(d)}thi
s.endDelimited_(a)}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedFixed32=functio
n(a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a+
+)this.encoder_.writeUint32(b[a])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedFixed64=functio
n(a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a++)
{var c=b[a];"number"===typeof c?this.encoder_.writeUint64(c):
(c=module$exports$jspb$arith.UInt64.fromString(c),this.encoder_.writeSplitFixed64(c
.lo,c.hi))}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedFixed64Tolerati
ngNegatives=function(a,b){if(null!=b&&b.length)
{this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.DELIMITED);t
his.encoder_.writeUnsignedVarint32(8*b.length);for(var c=0;c<b.length;c+
+)module$contents$jspb$binary$writer_encodeFixed64ToleratingNegatives(this.encoder_
,a,b[c])}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedSfixed32=functi
on(a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a+
+)this.encoder_.writeInt32(b[a])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedSfixed64=functi
on(a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a++)
{var c=b[a];"number"===typeof c?this.encoder_.writeInt64(c):
(c=module$exports$jspb$arith.Int64.fromString(c),this.encoder_.writeSplitFixed64(c.
lo,c.hi))}};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedFloat=function(
a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(4*b.length),a=0;a<b.length;a+
+)this.encoder_.writeFloat(b[a])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedDouble=function
(a,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(8*b.length),a=0;a<b.length;a+
+)this.encoder_.writeDouble(b[a])};
module$exports$jspb$binary$writer.BinaryWriter.prototype.writePackedBool=function(a
,b){if(null!
=b&&b.length)for(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireT
ype.DELIMITED),this.encoder_.writeUnsignedVarint32(b.length),a=0;a<b.length;a+
+)this.encoder_.writeBool(b[a])};module$exports$jspb$binary$writer.BinaryWriter.pro
totype.writePackedEnum=function(a,b){if(null!=b&&b.length)
{a=this.beginDelimited_(a);for(var c=0;c<b.length;c+
+)this.encoder_.writeEnum(b[c]);this.endDelimited_(a)}};
function module$contents$jspb$binary$writer_assertSignedInteger(a,b)
{module$contents$jspb$binary$writer_assertThat(a,b,b===Math.floor(b));module$conten
ts$jspb$binary$writer_assertThat(a,b,b>=-
module$exports$jspb$BinaryConstants.TWO_TO_31&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_31)}
function module$contents$jspb$binary$writer_assertSignedInt64(a,b)
{module$contents$jspb$binary$writer_assertThat(a,b,"string"===typeof
b&&module$exports$jspb$arith.Int64.fromString(b)||"number"===typeof b&&b>=-
module$exports$jspb$BinaryConstants.TWO_TO_63&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_63)}
function module$contents$jspb$binary$writer_assertUnsignedInt64(a,b)
{module$contents$jspb$binary$writer_assertThat(a,b,"string"===typeof
b&&module$exports$jspb$arith.UInt64.fromString(b)||"number"===typeof
b&&0<=b&&b<module$exports$jspb$BinaryConstants.TWO_TO_64)}
function
module$contents$jspb$binary$writer_assertUnsignedInt64ToleratingNegatives(a,b)
{module$contents$jspb$binary$writer_assertThat(a,b,"string"===typeof
b&&(b.length&&"-"===b[0]?
module$exports$jspb$arith.UInt64.fromString(b.substring(1)):module$exports$jspb$ari
th.UInt64.fromString(b))||"number"===typeof b&&b>=-
module$exports$jspb$BinaryConstants.TWO_TO_63&&b<module$exports$jspb$BinaryConstant
s.TWO_TO_64)}
function
module$contents$jspb$binary$writer_encodeUnsignedInt64ToleratingNegatives(a,b,c)
{module$contents$jspb$binary$writer_assertUnsignedInt64ToleratingNegatives(b,c);"nu
mber"===typeof c?0>c?(b=module$exports$jspb$arith.UInt64.fromNumber(-
c).negateInTwosComplement(),a.writeSplitVarint64(b.lo,b.hi)):a.writeUnsignedVarint6
4(c):(b=c.length&&"-"===c[0]?
module$exports$jspb$arith.UInt64.fromString(c.substring(1)).negateInTwosComplement(
):module$exports$jspb$arith.UInt64.fromString(c),a.writeSplitVarint64(b.lo,
b.hi))}
function module$contents$jspb$binary$writer_encodeFixed64ToleratingNegatives(a,b,c)
{module$contents$jspb$binary$writer_assertUnsignedInt64ToleratingNegatives(b,c);"nu
mber"===typeof c?0>c?(b=module$exports$jspb$arith.UInt64.fromNumber(-
c).negateInTwosComplement(),a.writeSplitFixed64(b.lo,b.hi)):a.writeUint64(c):
(b=c.length&&"-"===c[0]?
module$exports$jspb$arith.UInt64.fromString(c.substring(1)).negateInTwosComplement(
):module$exports$jspb$arith.UInt64.fromString(c),a.writeSplitFixed64(b.lo,b.hi))}
function module$contents$jspb$binary$writer_assertThat(a,b,c){c||
(0,goog.asserts.fail)("for ["+b+"] at
["+a+"]")};jspb.extension_field_binary_info={};var
module$contents$jspb$extension_field_binary_info_BinaryFields,module$contents$jspb$
extension_field_binary_info_ReaderWriterPair=function(a,b,c,d){this.$
$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$
$isMsg=d},module$contents$jspb$extension_field_binary_info_ExtensionFieldBinaryInfo
;jspb.extension_field_binary_info.BinaryFields=module$contents$jspb$extension_field
_binary_info_BinaryFields;
jspb.extension_field_binary_info.ExtensionFieldBinaryInfo=module$contents$jspb$exte
nsion_field_binary_info_ExtensionFieldBinaryInfo;jspb.extension_field_binary_info.R
eaderWriterPair=module$contents$jspb$extension_field_binary_info_ReaderWriterPair;v
ar jspb_internal_binary={};
function module$contents$jspb_internal_binary_getBinaryExtensionTuple(a){return
Array.isArray(a)?a[0]instanceof
module$contents$jspb$extension_field_binary_info_ReaderWriterPair?
((0,goog.asserts.assert)
(2===a.length),module$contents$jspb_internal_binary_assertBinaryFields(a[1]),a):
[jspb_internal_binary.RWMessageExt,module$contents$jspb_internal_binary_assertBinar
yFields(a)]:[(0,goog.asserts.assertInstanceof)
(a,module$contents$jspb$extension_field_binary_info_ReaderWriterPair),void 0]}
jspb_internal_binary.deserializeBinaryMessageSet=function(a,b,c)
{(0,goog.asserts.assertArray)(a);for(var d=c.extensions,e={};b.nextField()&&!
b.isEndGroup();e={unknown:void 0})if(b.isMessageSetGroup()){var
f=b.fieldCursor_;e.unknown=!1;b.readMessageSetGroup(function(g){return
function(h,k){var l=c[h];if(!l){var m=d[h];if(m)
{l=module$contents$jspb_internal_binary_assertBinaryFields(m);var
n=module$contents$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryFie
lds(l),p=module$contents$jspb_internal_binary_getDeserializers(l).messageMetadata;
l=c[h]=function(q,r,t){return
n((0,jspb_internal_adapters.getMutableWrapperArrayForBinary)(r,p,t,!0),q)}}}l?
l(k,a,h):(g.unknown=!0,k.skipToEnd())}}
(e));e.unknown&&module$contents$jspb$internal_addUnknownField(a,b.readUnknownFields
StartingFrom(f))}else
module$contents$jspb$internal_addUnknownField(a,b.readUnknownField())};jspb_interna
l_binary.makeMessageSetExtensionWriterFn=function(a,b){return function(c,d,e)
{return
c.writeMessageSet(e,module$contents$jspb_internal_binary_asMessageArray(d,a),b)}};
function module$contents$jspb_internal_binary_asCoercedArray(a,b,c)
{if(Array.isArray(b)){var
d=(0,module$exports$jspb$internal_array_state.getArrayState)
(b);if(d&module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED)
return b;for(var e=0,f=0;e<b.length;e++){var g=a(b[e]);null!=g&&(b[f+
+]=g)}f<e&&(b.length=f);c&&((0,module$exports$jspb$internal_array_state.setArraySta
te)(b,(d|module$exports$jspb$internal_array_state.ArrayStateFlags.IS_API_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.IS_REPEATED_FIELD)&
~(module$exports$jspb$internal_array_state.ArrayStateFlags.STRING_FORMATTED|
module$exports$jspb$internal_array_state.ArrayStateFlags.GBIGINT_FORMATTED)),d&modu
le$exports$jspb$internal_array_state.ArrayStateFlags.IS_IMMUTABLE_ARRAY&&Object.fre
eze(b));return b}}function module$contents$jspb_internal_binary_asMessageArray(a,b)
{return a instanceof module$exports$jspb.Message?a.internalArray_:Array.isArray(a)?
module$contents$jspb$internal_construct_constructMessageArrayFromMeta(a,b):void 0}
function module$contents$jspb_internal_binary_writeMapEntry(a,b,c,d,e){if(b
instanceof module$exports$jspb$internal_map.JspbMap)b.forEach(function(h,k)
{a.writeMessage(c,module$contents$jspb$internal_construct_constructMessageArrayFrom
Meta([k,h],d),e)});else if(Array.isArray(b))for(var f=0;f<b.length;f++){var
g=b[f];Array.isArray(g)&&a.writeMessage(c,module$contents$jspb$internal_construct_c
onstructMessageArrayFromMeta(g,d),e)}}
function module$contents$jspb_internal_binary_readMapEntry(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a=a.readMessage(module$contents$jspb$internal_construct_constructMessageArrayFrom
Meta([void 0,void 0],d),e);(0,jspb_internal_adapters.putIntoMapForBinary)
(b,c,a);return!0}var
module$contents$jspb_internal_binary_deserializeBinaryFromReaderCache=goog.DEBUG?
Symbol("deserializeBinaryFromReaderCache"):Symbol();
function
module$contents$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryField
s(a){var
b=a[module$contents$jspb_internal_binary_deserializeBinaryFromReaderCache];if(!b)
{var
c=module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo(a),d=module$cont
ents$jspb_internal_binary_getDeserializers(a),e=d.deserializeBinaryMessageSet;b=e?
function(f,g){return e(f,g,d)}:function(f,g){for(;g.nextField()&&!g.isEndGroup();)
{var h=g.nextField_,k=d[h];if(!k){var l=d.extensions;l&&(l=l[h])&&(k=
d[h]=module$contents$jspb_internal_binary_makeParserFromBinaryExtension(l))}k&&k(g,
f,h)||
module$contents$jspb$internal_addUnknownField(f,g.readUnknownField())}c===module$co
ntents$jspb_internal_binary_emptyComparisonInfo||
c===module$contents$jspb_internal_binary_emptyMapEntryComparisonInfo||
c.onlySubmessages||
(f[module$contents$jspb$internal_getComparisonTypeInfoArraySymbol()]=c);return
f=void
0};a[module$contents$jspb_internal_binary_deserializeBinaryFromReaderCache]=b}retur
n b}
jspb_internal_binary.makeDeserializeBinaryFromReaderFromBinaryFields=module$content
s$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryFields;
function module$contents$jspb_internal_binary_makeParserFromBinaryExtension(a)
{a=module$contents$jspb_internal_binary_getBinaryExtensionTuple(a);var
b=(0,goog.asserts.assertInstanceof)
(a[0],module$contents$jspb$extension_field_binary_info_ReaderWriterPair),c=b.$
$binaryReaderFn;if(a=a[1])
{module$contents$jspb_internal_binary_assertBinaryFields(a);var
d=module$contents$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryFie
lds(a),e=module$contents$jspb_internal_binary_getDeserializers((0,goog.asserts.asse
rt)(a)).messageMetadata;
return function(f,g,h){return c(f,g,h,e,d)}}return c}var
module$contents$jspb_internal_binary_emptySet,module$contents$jspb_internal_binary_
BinaryComparisonTypeInfo=function()
{};module$contents$jspb_internal_binary_BinaryComparisonTypeInfo.prototype.getRepea
tedFields=function(){var a=this.repeatedFields;return a?
a:module$contents$jspb_internal_binary_emptySet||
(module$contents$jspb_internal_binary_emptySet=new Set)};
module$contents$jspb_internal_binary_BinaryComparisonTypeInfo.prototype.getMapField
s=function(){var a=this.mapFields;return a?
a:module$contents$jspb_internal_binary_emptySet||
(module$contents$jspb_internal_binary_emptySet=new Set)};
module$contents$jspb_internal_binary_BinaryComparisonTypeInfo.prototype.getFieldCom
parisonTypeInfo=function(a){var b=this,c=b[a];if(null!=c)return Array.isArray(c)?
b[a]=module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo(c):
(0,goog.asserts.assertInstanceof)
(c,module$contents$jspb_internal_binary_BinaryComparisonTypeInfo);c=this.extensions
;if(null!=c&&(c=c[a],null!=c))
{c=module$contents$jspb_internal_binary_getBinaryExtensionTuple(c);var d;if(c[0].$
$isRepeated&&(null==(d=this.repeatedFields)||
!d.has(a))){var e;((e=this).repeatedFields||(e.repeatedFields=new
Set)).add(a)}d=c[1];if(null!=d)return
b[a]=module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo((0,goog.asser
ts.assertArray)(d))}};var
module$contents$jspb_internal_binary_emptyComparisonInfo,module$contents$jspb_inter
nal_binary_emptyMapEntryComparisonInfo,module$contents$jspb_internal_binary_compari
sonTypeInfoCache=goog.DEBUG?Symbol("comparisonTypeInfoCache"):Symbol();
function module$contents$jspb_internal_binary_addFieldInfo(a,b,c){var d=c[1];if(d)
{var e=d[module$contents$jspb_internal_binary_comparisonTypeInfoCache];var f=e?
e.messageMetadata:(0,goog.asserts.assert)
(module$contents$jspb$internal_construct_tryParseMessageMeta(d[0]));var
g;a[b]=null!=(g=e)?
g:d}if(f&&module$contents$jspb$internal_construct_isMapEntryMessageMeta(f)){var
h,k=(h=a).mapFields||(h.mapFields=new Set);(0,goog.asserts.assertInstanceof)
(k,Set).add(b)}else c[0]&&(h=(k=a).repeatedFields||(k.repeatedFields=
new Set),(0,goog.asserts.assertInstanceof)(h,Set).add(b))}function
module$contents$jspb_internal_binary_comparisonTypeInfoFactory(a,b){return[a.$
$isRepeated,!b||0<b[0]?void 0:b]}
function module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo(a){var
b=a[module$contents$jspb_internal_binary_comparisonTypeInfoCache];if(b)return
b;b=module$contents$jspb_internal_binary_processBinaryFields(a,a[module$contents$js
pb_internal_binary_comparisonTypeInfoCache]=new
module$contents$jspb_internal_binary_BinaryComparisonTypeInfo,module$contents$jspb_
internal_binary_comparisonTypeInfoFactory,module$contents$jspb_internal_binary_comp
arisonTypeInfoFactory,module$contents$jspb_internal_binary_addFieldInfo);
if(!b.extensions&&!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b)isNaN(d)||
(c=!1);c?
((b=module$contents$jspb$internal_construct_isMapEntryMessageMeta((0,goog.asserts.a
ssert)(module$contents$jspb$internal_construct_tryParseMessageMeta(a[0]))))?
module$contents$jspb_internal_binary_emptyMapEntryComparisonInfo?
b=module$contents$jspb_internal_binary_emptyMapEntryComparisonInfo:(b=new
module$contents$jspb_internal_binary_BinaryComparisonTypeInfo,b.messageMetadata=(0,
goog.asserts.assertArray)
(module$contents$jspb$internal_construct_tryParseMessageMeta(module$exports$jspb$in
ternal_construct.ENCODED_MAP_META)),
b=module$contents$jspb_internal_binary_emptyMapEntryComparisonInfo=b):b=module$cont
ents$jspb_internal_binary_emptyComparisonInfo||
(module$contents$jspb_internal_binary_emptyComparisonInfo=new
module$contents$jspb_internal_binary_BinaryComparisonTypeInfo),b=a[module$contents$
jspb_internal_binary_comparisonTypeInfoCache]=b):b.onlySubmessages=!0}return b}
function module$contents$jspb_internal_binary_getChildBinaryComparisonTypeInfo(a,b)
{var c=b[a];if(c)return
Array.isArray(c)&&(b[a]=c=module$contents$jspb_internal_binary_getBinaryComparisonT
ypeInfo(module$contents$jspb_internal_binary_assertBinaryFields(c))),c}
function
module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleForFie
ld(a,b,c){var
d=module$contents$jspb_internal_binary_getChildBinaryComparisonTypeInfo(a,b);if(d)
{if(c instanceof module$exports$jspb$internal_map.JspbMap){var
e=module$contents$jspb_internal_binary_getChildBinaryComparisonTypeInfo(2,d);return
e?c.forEach(function(h)
{module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleGener
icImpl((0,goog.asserts.assertInstanceof)
(h,module$exports$jspb.Message).internalArray_,
(0,goog.asserts.assert)(e))}):void 0}if(b.getRepeatedFields().has(a)||
b.getMapFields().has(a)){if(Array.isArray(c))for(var f=0;f<c.length;f++){var
g=c[f];if(g instanceof module$exports$jspb.Message)g=g.internalArray_;else if(!
Array.isArray(g))throw goog.DEBUG?Error("found a bad value in place of a message:
"+g+" with field number "+a+" and comparison info
"+JSON.stringify(b)):Error();module$contents$jspb_internal_binary_makeCrossSerializ
erComparisonsCompatibleGenericImpl(g,d)}}else{if(c instanceof
module$exports$jspb.Message)c=c.internalArray_;else if(!Array.isArray(c))throw
goog.DEBUG?Error("found a bad value in place of a
message"):Error();module$contents$jspb_internal_binary_makeCrossSerializerCompariso
nsCompatibleGenericImpl(c,d)}}}
function
module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleGeneri
cImpl(a,b){(0,goog.asserts.assertArray)(a);if(b!
==module$contents$jspb_internal_binary_emptyComparisonInfo&&b!
==module$contents$jspb_internal_binary_emptyMapEntryComparisonInfo)
{b.onlySubmessages||
(a[module$contents$jspb$internal_getComparisonTypeInfoArraySymbol()]=b);for(var
c=a.length,d=module$contents$jspb$internal_construct_arrayIndexOffsetForMeta((0,goo
g.asserts.assert)(b.messageMetadata)),e=0;e<a.length;e++){var f=
a[e];if(f&&"object"===typeof f)if(e===c-
1&&module$contents$jspb$internal_isSparseObject(f))for(var g in f)
{if(module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(f,g)){var h=+g;if(!
Number.isNaN(h)){var k=f[g];k&&"object"===typeof
k&&module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleFor
Field(h,b,k)}}}else
h=module$contents$jspb$internal_fieldNumberFromIndex(e,d),module$contents$jspb_inte
rnal_binary_makeCrossSerializerComparisonsCompatibleForField(h,b,f)}}}
var
module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleCache=
goog.DEBUG?Symbol("makeCrossSerializerComparisonsCompatible"):Symbol();
function
module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleFromBi
naryFields(a){var
b=a[module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleCa
che];if(!b){var
c=module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo(a);b=function(d)
{return
module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleGeneri
cImpl(d,c)};a[module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCo
mpatibleCache]=b}return b}
jspb_internal_binary.makeCrossSerializerComparisonsCompatible=function(a,b)
{module$contents$jspb_internal_binary_makeCrossSerializerComparisonsCompatibleFromB
inaryFields(b)((0,goog.asserts.assertInstanceof)
(a,module$exports$jspb.Message).internalArray_)};
function module$contents$jspb_internal_binary_assertBinaryFields(a)
{if(goog.asserts.ENABLE_ASSERTS){(0,goog.asserts.assertArray)(a);var
b=goog.asserts,c=b.assert,d;if(!
(d=module$contents$jspb_internal_binary_deserializerFnCache in a||
module$contents$jspb_internal_binary_serializerFnCache in a)&&(d=0<a.length))
{d=a;var
e=d[0],f=module$contents$jspb$internal_construct_tryParseMessageMeta(e);null!=f&&f!
==e&&(d[0]=f);d=null!=f}c.call(b,d)}return a}
function module$contents$jspb_internal_binary_storeStateFn(a,b,c){a[b]=c}
function module$contents$jspb_internal_binary_processBinaryFields(a,b,c,d,e){e=void
0===e?module$contents$jspb_internal_binary_storeStateFn:e;var
f=b;f.messageMetadata=(0,goog.asserts.assert)
(module$contents$jspb$internal_construct_tryParseMessageMeta(a[0]));var g=0,h=a[+
+g];h&&h.constructor===Object&&(b.extensions=h,h=a[++g],"function"===typeof
h&&(f.deserializeBinaryMessageSet=h,f.makeMessageSetExtensionWriterFn=(0,goog.asser
ts.assertFunction)(a[++g]),goog.asserts.ENABLE_ASSERTS&&((0,goog.asserts.assert)
(f.deserializeBinaryMessageSet===
jspb_internal_binary.deserializeBinaryMessageSet),(0,goog.asserts.assert)
(f.makeMessageSetExtensionWriterFn===jspb_internal_binary.makeMessageSetExtensionWr
iterFn)),h=a[++g]));for(f={};Array.isArray(h)&&"number"===typeof h[0]&&0<h[0];)
{for(var k=0;k<h.length;k++)f[h[k]]=h;h=a[++g]}for(k=1;void 0!==h;)
{"number"===typeof h&&((0,goog.asserts.assert)(0<h),k+=h,h=a[++g]);var l=void
0;if(h instanceof
module$contents$jspb$extension_field_binary_info_ReaderWriterPair)var m=h;else
m=jspb_internal_binary.RWMessage,
g--;if(m.$$isMsg){h=a[++g];l=a;var n=g;"function"==typeof
h&&((0,goog.asserts.assert)
(0===h.length),h=h(),l[n]=h);module$contents$jspb_internal_binary_assertBinaryField
s(h);l=h}h=a[++g];n=k+1;"number"===typeof h&&0>h&&(n-=h,h=a[++g]);for(;k<n;k++){var
p=f[k];e(b,k,l?d(m,l,p):c(m,p))}}return b}var
module$contents$jspb_internal_binary_serializeBinaryToWriterCache=goog.DEBUG?
Symbol("serializeBinaryToWriterCache"):Symbol();
function
module$contents$jspb_internal_binary_makeSerializeBinaryToWriterFromBinaryFields(a)
{var b=a[module$contents$jspb_internal_binary_serializeBinaryToWriterCache];if(!b)
{var c=module$contents$jspb_internal_binary_getSerializers(a);b=function(d,e)
{return
module$contents$jspb_internal_binary_serializeBinaryToWriterGenericImpl(d,e,c)};a[m
odule$contents$jspb_internal_binary_serializeBinaryToWriterCache]=b}return b}
var module$contents$jspb_internal_binary_serializerFnCache=goog.DEBUG?
Symbol("serializerFnCache"):Symbol();function
module$contents$jspb_internal_binary_serializersScalarFactory(a){return a.$
$binaryWriterFn}
function module$contents$jspb_internal_binary_serializersMessageFactory(a,b){var
c,d,e=a.$$binaryWriterFn;return function(f,g,h){return e(f,g,h,d||
(d=module$contents$jspb_internal_binary_getSerializers(b).messageMetadata),c||
(c=module$contents$jspb_internal_binary_makeSerializeBinaryToWriterFromBinaryFields
(b)))}}
function module$contents$jspb_internal_binary_getSerializers(a){var
b=a[module$contents$jspb_internal_binary_serializerFnCache];if(b)return
b;b=module$contents$jspb_internal_binary_processBinaryFields(a,a[module$contents$js
pb_internal_binary_serializerFnCache]={},module$contents$jspb_internal_binary_seria
lizersScalarFactory,module$contents$jspb_internal_binary_serializersMessageFactory)
;module$contents$jspb_internal_binary_maybeClearBinaryFields(a);return b}
var module$contents$jspb_internal_binary_deserializerFnCache=goog.DEBUG?
Symbol("deserializerFnCache"):Symbol();function
module$contents$jspb_internal_binary_deserializersScalarFactory(a,b){var c=a.$
$binaryReaderFn;return b?function(d,e,f){return c(d,e,f,b)}:c}
function module$contents$jspb_internal_binary_deserializersMessageFactory(a,b,c)
{var d=a.$$binaryReaderFn,e,f;return function(g,h,k){return d(g,h,k,f||
(f=module$contents$jspb_internal_binary_getDeserializers(b).messageMetadata),e||
(e=module$contents$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryFi
elds(b)),c)}}
function module$contents$jspb_internal_binary_getDeserializers(a){var
b=a[module$contents$jspb_internal_binary_deserializerFnCache];if(b)return
b;module$contents$jspb_internal_binary_getBinaryComparisonTypeInfo(a);b=module$cont
ents$jspb_internal_binary_processBinaryFields(a,a[module$contents$jspb_internal_bin
ary_deserializerFnCache]={},module$contents$jspb_internal_binary_deserializersScala
rFactory,module$contents$jspb_internal_binary_deserializersMessageFactory);module$c
ontents$jspb_internal_binary_maybeClearBinaryFields(a);
return b}function module$contents$jspb_internal_binary_maybeClearBinaryFields(a)
{module$contents$jspb_internal_binary_deserializerFnCache in
a&&module$contents$jspb_internal_binary_comparisonTypeInfoCache in
a&&module$contents$jspb_internal_binary_serializerFnCache in a&&(a.length=0)}
jspb_internal_binary.deserializeBinary=function(a,b,c,d)
{a=module$exports$jspb$binary$reader.BinaryReader.alloc(a,void 0,void 0,d);try{var
e=new
b,f=e.internalArray_;module$contents$jspb_internal_binary_makeDeserializeBinaryFrom
ReaderFromBinaryFields(c)(f,a);return e}finally{a.free()}};
function module$contents$jspb_internal_binary_getWriterFn(a,b){var
c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b])
{c=module$contents$jspb_internal_binary_getBinaryExtensionTuple(c);var
d=(0,goog.asserts.assertInstanceof)
(c[0],module$contents$jspb$extension_field_binary_info_ReaderWriterPair),e=d.$
$binaryWriterFn;if(c=c[1])
{module$contents$jspb_internal_binary_assertBinaryFields(c);var
f=module$contents$jspb_internal_binary_makeSerializeBinaryToWriterFromBinaryFields(
c),g=module$contents$jspb_internal_binary_getSerializers(c).messageMetadata;
c=(c=a.makeMessageSetExtensionWriterFn)?c(g,f):function(h,k,l){return
e(h,k,l,g,f)}}else c=e;return a[b]=c}}
function
module$contents$jspb_internal_binary_serializeBinaryToWriterGenericImpl(a,b,c)
{for(var d=(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),e=module$contents$jspb$internal_array_state_getArrayIndexOffset(d),f=a.length,g
=d&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_MESSAGE_ID?1:0,h=f+
(d&module$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT?-
1:0);g<h;g++){var k=a[g];if(null!=k){var
l=module$contents$jspb$internal_fieldNumberFromIndex(g,
e),m=module$contents$jspb_internal_binary_getWriterFn(c,l);m&&m(b,k,l)}}if(d&module
$exports$jspb$internal_array_state.ArrayStateFlags.HAS_SPARSE_OBJECT){d=a[f-
1];for(var n in
d)module$contents$jspb$internal_hasOwnPropertyIfNotTrusted(d,n)&&(e=+n,Number.isNaN
(e)||(f=d[n],null!
=f&&(h=module$contents$jspb_internal_binary_getWriterFn(c,e))&&h(b,f,e)))}
(a=module$contents$jspb$internal_getUnknownFields(a))&&b.writeUnknownFields(a)}
jspb_internal_binary.serializeBinary=function(a,b){var c=new
module$exports$jspb$binary$writer.BinaryWriter;module$contents$jspb_internal_binary
_serializeBinaryToWriterGenericImpl((0,goog.asserts.assertInstanceof)
(a,module$exports$jspb.Message).internalArray_,c,module$contents$jspb_internal_bina
ry_getSerializers(b));return c.getResultBuffer()};
jspb_internal_binary.serializeBinaryToByteString=function(a,b){var c=new
module$exports$jspb$binary$writer.BinaryWriter;module$contents$jspb_internal_binary
_serializeBinaryToWriterGenericImpl((0,goog.asserts.assertInstanceof)
(a,module$exports$jspb.Message).internalArray_,c,module$contents$jspb_internal_bina
ry_getSerializers(b));return c.getResultBufferAsByteString()};
function module$contents$jspb_internal_binary_makeRWPair(a,b){return new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(a,b,!1,!
1)}function module$contents$jspb_internal_binary_makeRepeatedRWPair(a,b){return new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(a,b,!0,!
1)}function module$contents$jspb_internal_binary_makeMsgRWPair(a,b){return new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(a,b,!1,!0)}
function module$contents$jspb_internal_binary_writeAnyValueBytes(a,b,c){if(null!=b)
{if(b instanceof module$exports$jspb.Message){var
d=b.serializeBinaryFnForAnyProto_;d&&a.writeBytes(c,d(b));return}if(Array.isArray(b
))return}module$contents$jspb_internal_binary_writeBytes(a,b,c)}
function module$contents$jspb_internal_binary_setFieldBinary(a,b,c,d)
{module$contents$jspb_internal_adapters_setFieldIgnoringImmutabilityInternal(a,
(0,module$exports$jspb$internal_array_state.getMessageArrayState)
(a),b,c,d)}function module$contents$jspb_internal_binary_addToBinary(a,b,c,d)
{(0,jspb_internal_adapters.addToRepeatedFieldForBinary)(a,b,c,void 0,d)}
function module$contents$jspb_internal_binary_addAndReturnBinary(a,b,c,d)
{b=module$contents$jspb$internal_construct_constructMessageArrayFromMeta(void 0,b);
(0,jspb_internal_adapters.addRepeatedWrapperArrayForBinary)(a,c,b,d);return
b}jspb_internal_binary.RBytesIgnoringDefaultWAnyValueBytes=module$contents$jspb_int
ernal_binary_makeRWPair(module$contents$jspb_internal_binary_readBytesIgnoringDefau
lt,module$contents$jspb_internal_binary_writeAnyValueBytes);
jspb_internal_binary.RWMapEntry=module$contents$jspb_internal_binary_makeMsgRWPair(
module$contents$jspb_internal_binary_readMapEntry,module$contents$jspb_internal_bin
ary_writeMapEntry);function
module$contents$jspb_internal_binary_createMapEntryBinaryFields(a,b)
{return[module$exports$jspb$internal_construct.ENCODED_MAP_META,a,b]}jspb_internal_
binary.createMessageMapEntryBinaryFields=function(a,b)
{return[module$exports$jspb$internal_construct.ENCODED_MAP_META,a,b]};
function module$contents$jspb_internal_binary_writeDouble(a,b,c)
{a.writeDouble(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishNumb
er(b))}function module$contents$jspb_internal_binary_writeRepeatedDouble(a,b,c)
{a.writeRepeatedDouble(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishNumber,b,!0))}
function module$contents$jspb_internal_binary_writePackedDouble(a,b,c)
{a.writePackedDouble(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishNumber,b,!0))}function
module$contents$jspb_internal_binary_writeFloat(a,b,c)
{a.writeFloat(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishNumbe
r(b))}
function module$contents$jspb_internal_binary_writeRepeatedFloat(a,b,c)
{a.writeRepeatedFloat(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishNumber,b,!0))}function
module$contents$jspb_internal_binary_writePackedFloat(a,b,c)
{a.writePackedFloat(c,module$contents$jspb_internal_binary_asCoercedArray(module$co
ntents$jspb$internal_accessor_helpers_coerceToNullishNumber,b,!0))}
function module$contents$jspb_internal_binary_writeInt64(a,b,c)
{a.writeInt64(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishInt64
StringOrNumber(b))}function
module$contents$jspb_internal_binary_writeRepeatedInt64(a,b,c)
{a.writeRepeatedInt64(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!1))}
function module$contents$jspb_internal_binary_writePackedInt64(a,b,c)
{a.writePackedInt64(c,module$contents$jspb_internal_binary_asCoercedArray(module$co
ntents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!
1))}function
module$contents$jspb_internal_binary_writeUint64ToleratingNegatives(a,b,c)
{a.writeUint64ToleratingNegatives(c,module$contents$jspb$internal_accessor_helpers_
coerceToNullishUint64StringOrNumber(b))}
function
module$contents$jspb_internal_binary_writeRepeatedUint64ToleratingNegatives(a,b,c)
{a.writeRepeatedUint64ToleratingNegatives(c,module$contents$jspb_internal_binary_as
CoercedArray(module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64St
ringOrNumber,b,!1))}
function
module$contents$jspb_internal_binary_writePackedUint64ToleratingNegatives(a,b,c)
{a.writePackedUint64ToleratingNegatives(c,module$contents$jspb_internal_binary_asCo
ercedArray(module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64Stri
ngOrNumber,b,!1))}function module$contents$jspb_internal_binary_writeUint64(a,b,c)
{a.writeUint64(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishUint
64StringOrNumber(b))}
function module$contents$jspb_internal_binary_writeRepeatedUint64(a,b,c)
{a.writeRepeatedUint64(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishUint64StringOrNumber,b,!
1))}function module$contents$jspb_internal_binary_writePackedUint64(a,b,c)
{a.writePackedUint64(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishUint64StringOrNumber,b,!1))}
function module$contents$jspb_internal_binary_writeInt32(a,b,c)
{a.writeInt32(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishInt32
(b))}function module$contents$jspb_internal_binary_writeRepeatedInt32(a,b,c)
{a.writeRepeatedInt32(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}
function module$contents$jspb_internal_binary_writePackedInt32(a,b,c)
{a.writePackedInt32(c,module$contents$jspb_internal_binary_asCoercedArray(module$co
ntents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}function
module$contents$jspb_internal_binary_writeFixed64ToleratingNegatives(a,b,c)
{a.writeFixed64ToleratingNegatives(c,module$contents$jspb$internal_accessor_helpers
_coerceToNullishUint64StringOrNumber(b))}
function
module$contents$jspb_internal_binary_writeRepeatedFixed64ToleratingNegatives(a,b,c)
{a.writeRepeatedFixed64ToleratingNegatives(c,module$contents$jspb_internal_binary_a
sCoercedArray(module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64S
tringOrNumber,b,!1))}
function
module$contents$jspb_internal_binary_writePackedFixed64ToleratingNegatives(a,b,c)
{a.writePackedFixed64ToleratingNegatives(c,module$contents$jspb_internal_binary_asC
oercedArray(module$contents$jspb$internal_accessor_helpers_coerceToNullishUint64Str
ingOrNumber,b,!1))}function
module$contents$jspb_internal_binary_writeFixed64(a,b,c)
{a.writeFixed64(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishUin
t64StringOrNumber(b))}
function module$contents$jspb_internal_binary_writeRepeatedFixed64(a,b,c)
{a.writeRepeatedFixed64(c,module$contents$jspb_internal_binary_asCoercedArray(modul
e$contents$jspb$internal_accessor_helpers_coerceToNullishUint64StringOrNumber,b,!
1))}function module$contents$jspb_internal_binary_writePackedFixed64(a,b,c)
{a.writePackedFixed64(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishUint64StringOrNumber,b,!1))}
function module$contents$jspb_internal_binary_writeFixed32(a,b,c)
{a.writeFixed32(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishUin
t32(b))}function module$contents$jspb_internal_binary_writeRepeatedFixed32(a,b,c)
{a.writeRepeatedFixed32(c,module$contents$jspb_internal_binary_asCoercedArray(modul
e$contents$jspb$internal_accessor_helpers_coerceToNullishUint32,b,!0))}
function module$contents$jspb_internal_binary_writePackedFixed32(a,b,c)
{a.writePackedFixed32(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishUint32,b,!0))}function
module$contents$jspb_internal_binary_writeBool(a,b,c)
{a.writeBool(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishBoolea
n(b))}
function module$contents$jspb_internal_binary_writeRepeatedBool(a,b,c)
{a.writeRepeatedBool(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishBoolean,b,!0))}function
module$contents$jspb_internal_binary_writePackedBool(a,b,c)
{a.writePackedBool(c,module$contents$jspb_internal_binary_asCoercedArray(module$con
tents$jspb$internal_accessor_helpers_coerceToNullishBoolean,b,!0))}
function module$contents$jspb_internal_binary_writeString(a,b,c)
{a.writeString(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishStri
ng(b))}function module$contents$jspb_internal_binary_writeRepeatedString(a,b,c)
{a.writeRepeatedString(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishString,b,!0))}
function module$contents$jspb_internal_binary_writeGroup(a,b,c,d,e)
{a.writeGroup(c,module$contents$jspb_internal_binary_asMessageArray(b,d),e)}functio
n module$contents$jspb_internal_binary_writeRepeatedGroup(a,b,c,d,e){var
f=module$contents$jspb_internal_binary_writeGroup;if(Array.isArray(b))for(var
g=0;g<b.length;g++)f(a,b[g],c,d,e)}function
module$contents$jspb_internal_binary_writeMessage(a,b,c,d,e)
{a.writeMessage(c,module$contents$jspb_internal_binary_asMessageArray(b,d),e)}
function module$contents$jspb_internal_binary_writeRepeatedMessage(a,b,c,d,e){var
f=module$contents$jspb_internal_binary_writeMessage;if(Array.isArray(b))for(var
g=0;g<b.length;g++)f(a,b[g],c,d,e)}function
module$contents$jspb_internal_binary_writeBytes(a,b,c)
{a.writeBytes(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishBytes
AsStringByteStringOrUint8Array(b))}
function module$contents$jspb_internal_binary_writeRepeatedBytes(a,b,c)
{a.writeRepeatedBytes(c,module$contents$jspb_internal_binary_asCoercedArray(module$
contents$jspb$internal_accessor_helpers_coerceToNullishBytesAsStringByteStringOrUin
t8Array,b,!1))}function module$contents$jspb_internal_binary_writeUint32(a,b,c)
{a.writeUint32(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishUint
32(b))}
function module$contents$jspb_internal_binary_writeRepeatedUint32(a,b,c)
{a.writeRepeatedUint32(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishUint32,b,!0))}function
module$contents$jspb_internal_binary_writePackedUint32(a,b,c)
{a.writePackedUint32(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishUint32,b,!0))}
function module$contents$jspb_internal_binary_writeEnum(a,b,c)
{a.writeEnum(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishInt32(
b))}function module$contents$jspb_internal_binary_writeRepeatedEnum(a,b,c)
{a.writeRepeatedEnum(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}
function module$contents$jspb_internal_binary_writePackedEnum(a,b,c)
{a.writePackedEnum(c,module$contents$jspb_internal_binary_asCoercedArray(module$con
tents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}function
module$contents$jspb_internal_binary_writeSfixed32(a,b,c)
{a.writeSfixed32(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishIn
t32(b))}
function module$contents$jspb_internal_binary_writeRepeatedSfixed32(a,b,c)
{a.writeRepeatedSfixed32(c,module$contents$jspb_internal_binary_asCoercedArray(modu
le$contents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}function
module$contents$jspb_internal_binary_writePackedSfixed32(a,b,c)
{a.writePackedSfixed32(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}
function module$contents$jspb_internal_binary_writeSfixed64(a,b,c)
{a.writeSfixed64(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishIn
t64StringOrNumber(b))}function
module$contents$jspb_internal_binary_writeRepeatedSfixed64(a,b,c)
{a.writeRepeatedSfixed64(c,module$contents$jspb_internal_binary_asCoercedArray(modu
le$contents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!
1))}
function module$contents$jspb_internal_binary_writePackedSfixed64(a,b,c)
{a.writePackedSfixed64(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!
1))}function module$contents$jspb_internal_binary_writeSint32(a,b,c)
{a.writeSint32(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishInt3
2(b))}
function module$contents$jspb_internal_binary_writeRepeatedSint32(a,b,c)
{a.writeRepeatedSint32(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}function
module$contents$jspb_internal_binary_writePackedSint32(a,b,c)
{a.writePackedSint32(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishInt32,b,!0))}
function module$contents$jspb_internal_binary_writeSint64(a,b,c)
{a.writeSint64(c,module$contents$jspb$internal_accessor_helpers_coerceToNullishInt6
4StringOrNumber(b))}function
module$contents$jspb_internal_binary_writeRepeatedSint64(a,b,c)
{a.writeRepeatedSint64(c,module$contents$jspb_internal_binary_asCoercedArray(module
$contents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!1))}
function module$contents$jspb_internal_binary_writePackedSint64(a,b,c)
{a.writePackedSint64(c,module$contents$jspb_internal_binary_asCoercedArray(module$c
ontents$jspb$internal_accessor_helpers_coerceToNullishInt64StringOrNumber,b,!
1))}function module$contents$jspb_internal_binary_readDoubleExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readDouble(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableDoubleIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableDoubleInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readDouble(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readDouble());return!0}
function module$contents$jspb_internal_binary_readPackableDoubleInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableDoubleInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readDoubleIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;a=a.readDouble();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readDoubleOneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readDouble());return!0}
function module$contents$jspb_internal_binary_readFloatExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFloat(),!0);return!
0}
function module$contents$jspb_internal_binary_readPackableFloatIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFloatInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readFloat(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFloat());return!0}
function module$contents$jspb_internal_binary_readPackableFloatInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFloatInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readFloatIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;a=a.readFloat();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readFloatOneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readFloat());return!0}
function module$contents$jspb_internal_binary_readInt64StringExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt64String(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableInt64StringIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinary
)(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readInt64Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt64(),!0);return!
0}
function module$contents$jspb_internal_binary_readPackableInt64IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readInt64String(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt64String());retu
rn!0}
function module$contents$jspb_internal_binary_readPackableInt64StringInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinary
)(b,c));return!0}
function module$contents$jspb_internal_binary_readInt64StringIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readInt64String();module$contents$jspb_internal_binary_setFieldBinary(b,c,"0"
===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readInt64StringOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readInt64String());return!0}function
module$contents$jspb_internal_binary_readInt64(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt64());return!0}
function module$contents$jspb_internal_binary_readPackableInt64Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readInt64IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readInt64();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readInt64Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readInt64());return!0}
function module$contents$jspb_internal_binary_readUint64StringExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint64String(),!
0);return!0}
function
module$contents$jspb_internal_binary_readPackableUint64StringIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinar
y)(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readUint64Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint64(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableUint64IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readUint64String(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint64String());ret
urn!0}
function module$contents$jspb_internal_binary_readPackableUint64StringInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinar
y)(b,c));return!0}
function
module$contents$jspb_internal_binary_readUint64StringIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readUint64String();module$contents$jspb_internal_binary_setFieldBinary(b,c,"0
"===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readUint64StringOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readUint64String());return!0}function
module$contents$jspb_internal_binary_readUint64(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint64());return!0}
function module$contents$jspb_internal_binary_readPackableUint64Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readUint64IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readUint64();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readUint64Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readUint64());return!0}
function module$contents$jspb_internal_binary_readInt32Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt32(),!0);return!
0}
function module$contents$jspb_internal_binary_readPackableInt32IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readInt32(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readInt32());return!0}
function module$contents$jspb_internal_binary_readPackableInt32Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableInt32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readInt32IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readInt32();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readInt32Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readInt32());return!0}
function module$contents$jspb_internal_binary_readFixed64StringExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed64String(),!
0);return!0}
function
module$contents$jspb_internal_binary_readPackableFixed64StringIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBina
ry)(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readFixed64Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed64(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableFixed64IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readFixed64String(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed64String());re
turn!0}
function module$contents$jspb_internal_binary_readPackableFixed64StringInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBina
ry)(b,c));return!0}
function
module$contents$jspb_internal_binary_readFixed64StringIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;a=a.readFixed64String();module$contents$jspb_internal_binary_setFieldBinary(b,c,"
0"===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readFixed64StringOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readFixed64String());return!0}function
module$contents$jspb_internal_binary_readFixed64(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed64());return!
0}
function module$contents$jspb_internal_binary_readPackableFixed64Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readFixed64IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;a=a.readFixed64();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readFixed64Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readFixed64());return!0}
function module$contents$jspb_internal_binary_readFixed32Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed32(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableFixed32IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readFixed32(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readFixed32());return!
0}
function module$contents$jspb_internal_binary_readPackableFixed32Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableFixed32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readFixed32IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;a=a.readFixed32();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readFixed32Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readFixed32());return!0}
function module$contents$jspb_internal_binary_readBoolExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readBool(),!0);return!
0}
function module$contents$jspb_internal_binary_readPackableBoolIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableBoolInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)(b,c,!
0));return!0}
function module$contents$jspb_internal_binary_readBool(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readBool());return!0}
function module$contents$jspb_internal_binary_readPackableBoolInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableBoolInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readBoolIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readBool();module$contents$jspb_internal_binary_setFieldBinary(b,c,!1===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readBoolOneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readBool());return!0}
function module$contents$jspb_internal_binary_readStringRequireUtf8Ext(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readStringRequireUtf8()
,!0);return!0}
function
module$contents$jspb_internal_binary_readRepeatedStringRequireUtf8Ext(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readStringRequireUtf8(),!
0);return!0}
function module$contents$jspb_internal_binary_readStringRequireUtf8(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readStringRequireUtf8()
);return!0}
function module$contents$jspb_internal_binary_readRepeatedStringRequireUtf8(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readStringRequireUtf8());r
eturn!0}
function
module$contents$jspb_internal_binary_readStringRequireUtf8IgnoringDefault(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a=a.readStringRequireUtf8();module$contents$jspb_internal_binary_setFieldBinary(b
,c,""===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readStringRequireUtf8Oneof(a,b,c,d)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readStringRequireUtf8());return!0}function
module$contents$jspb_internal_binary_readStringExt(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readString(),!
0);return!0}
function module$contents$jspb_internal_binary_readRepeatedStringExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readString(),!0);return!
0}function module$contents$jspb_internal_binary_readString(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readString());return!0}
function module$contents$jspb_internal_binary_readRepeatedString(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readString());return!
0}function module$contents$jspb_internal_binary_readStringIgnoringDefault(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a=a.readString();module$contents$jspb_internal_binary_setFieldBinary(b,c,""===a?
void 0:a);return!0}
function module$contents$jspb_internal_binary_readStringOneof(a,b,c,d)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readString());return!
0}function module$contents$jspb_internal_binary_readGroupExt(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.START_GROUP)return!1;a.readGroup(c,
(0,jspb_internal_adapters.getMutableWrapperArrayForBinary)(b,d,c,!0),e);return!0}
function module$contents$jspb_internal_binary_readRepeatedGroupExt(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.START_GROUP)return!
1;a.readGroup(c,module$contents$jspb_internal_binary_addAndReturnBinary(b,d,c,!
0),e);return!0}
function module$contents$jspb_internal_binary_readGroup(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.START_GROUP)return!1;a.readGroup(c,
(0,jspb_internal_adapters.getMutableWrapperArrayForBinary)(b,d,c),e);return!
0}function module$contents$jspb_internal_binary_readRepeatedGroup(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.START_GROUP)return!
1;a.readGroup(c,module$contents$jspb_internal_binary_addAndReturnBinary(b,d,c),e);r
eturn!0}
function module$contents$jspb_internal_binary_readGroupOneof(a,b,c,d,e,f)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.START_GROUP)return!1;a.readGroup(c,
(0,jspb_internal_adapters.getMutableOneofWrapperArrayForBinary)(b,d,c,f),e);return!
0}
function module$contents$jspb_internal_binary_readMessageExt(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readMessage((0,jspb_internal_adapters.getMutableWrapperArrayForBinary)(b,d,c,!
0),e);return!0}
function module$contents$jspb_internal_binary_readRepeatedMessageExt(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readMessage(module$contents$jspb_internal_binary_addAndReturnBinary(b,d,c,!
0),e);return!0}
function module$contents$jspb_internal_binary_readMessage(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readMessage((0,jspb_internal_adapters.getMutableWrapperArrayForBinary)
(b,d,c),e);return!0}function
module$contents$jspb_internal_binary_readRepeatedMessage(a,b,c,d,e)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readMessage(module$contents$jspb_internal_binary_addAndReturnBinary(b,d,c),e);r
eturn!0}
function module$contents$jspb_internal_binary_readMessageOneof(a,b,c,d,e,f)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readMessage((0,jspb_internal_adapters.getMutableOneofWrapperArrayForBinary)
(b,d,c,f),e);return!0}function
module$contents$jspb_internal_binary_readBytesExt(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readByteString(),!
0);return!0}
function module$contents$jspb_internal_binary_readRepeatedBytesExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readByteString(),!
0);return!0}function module$contents$jspb_internal_binary_readBytes(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readByteString());retur
n!0}
function module$contents$jspb_internal_binary_readRepeatedBytes(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;module$contents$jspb_internal_binary_addToBinary(b,c,a.readByteString());return!
0}
function module$contents$jspb_internal_binary_readBytesIgnoringDefault(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a=a.readByteString();module$contents$jspb_internal_binary_setFieldBinary(b,c,a===
module$exports$jspb$bytestring.ByteString.empty()?void 0:a);return!0}
function module$contents$jspb_internal_binary_readBytesOneof(a,b,c,d)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readByteString());return!
0}function module$contents$jspb_internal_binary_readUint32Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint32(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableUint32IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readUint32(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readUint32());return!0}
function module$contents$jspb_internal_binary_readPackableUint32Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableUint32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readUint32IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readUint32();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readUint32Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readUint32());return!0}
function module$contents$jspb_internal_binary_readEnumExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readEnum(),!0);return!
0}
function module$contents$jspb_internal_binary_readPackableEnumIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableEnumInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)(b,c,!
0));return!0}
function module$contents$jspb_internal_binary_readEnum(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readEnum());return!0}
function module$contents$jspb_internal_binary_readPackableEnumInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableEnumInto((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readEnumIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readEnum();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?void
0:a);return!0}function module$contents$jspb_internal_binary_readEnumOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readEnum());return!0}
function module$contents$jspb_internal_binary_readSfixed32Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed32(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableSfixed32IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSfixed32(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed32());return!
0}
function module$contents$jspb_internal_binary_readPackableSfixed32Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED32&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readSfixed32IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;a=a.readSfixed32();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}
function module$contents$jspb_internal_binary_readSfixed32Oneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED32)return!
1;(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readSfixed32());return!
0}function module$contents$jspb_internal_binary_readSfixed64StringExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed64String(),!
0);return!0}
function
module$contents$jspb_internal_binary_readPackableSfixed64StringIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBin
ary)(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSfixed64Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed64(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableSfixed64IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSfixed64String(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed64String());r
eturn!0}
function module$contents$jspb_internal_binary_readPackableSfixed64StringInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBin
ary)(b,c));return!0}
function
module$contents$jspb_internal_binary_readSfixed64StringIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;a=a.readSfixed64String();module$contents$jspb_internal_binary_setFieldBinary(b,c,
"0"===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readSfixed64StringOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readSfixed64String());return!0}function
module$contents$jspb_internal_binary_readSfixed64(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSfixed64());return!
0}
function module$contents$jspb_internal_binary_readPackableSfixed64Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.FIXED64&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSfixed64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readSfixed64IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;a=a.readSfixed64();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}
function module$contents$jspb_internal_binary_readSfixed64Oneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.FIXED64)return!
1;(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readSfixed64());return!
0}function module$contents$jspb_internal_binary_readSint32Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint32(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableSint32IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSint32(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint32());return!0}
function module$contents$jspb_internal_binary_readPackableSint32Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint32Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readSint32IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readSint32();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readSint32Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readSint32());return!0}
function module$contents$jspb_internal_binary_readSint64StringExt(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint64String(),!
0);return!0}
function
module$contents$jspb_internal_binary_readPackableSint64StringIntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinar
y)(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSint64Ext(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint64(),!
0);return!0}
function module$contents$jspb_internal_binary_readPackableSint64IntoExt(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c,!0));return!0}
function module$contents$jspb_internal_binary_readSint64String(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint64String());ret
urn!0}
function module$contents$jspb_internal_binary_readPackableSint64StringInto(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint64StringInto((0,jspb_internal_adapters.getRepeatedFieldForBinar
y)(b,c));return!0}
function
module$contents$jspb_internal_binary_readSint64StringIgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readSint64String();module$contents$jspb_internal_binary_setFieldBinary(b,c,"0
"===a?void 0:a);return!0}
function module$contents$jspb_internal_binary_readSint64StringOneof(a,b,c,d)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)
(b,c,d,a.readSint64String());return!0}function
module$contents$jspb_internal_binary_readSint64(a,b,c){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;module$contents$jspb_internal_binary_setFieldBinary(b,c,a.readSint64());return!0}
function module$contents$jspb_internal_binary_readPackableSint64Into(a,b,c)
{if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT&&a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.DELIMITED)return!
1;a.readPackableSint64Into((0,jspb_internal_adapters.getRepeatedFieldForBinary)
(b,c));return!0}
function module$contents$jspb_internal_binary_readSint64IgnoringDefault(a,b,c)
{if(a.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.VARINT)return!
1;a=a.readSint64();module$contents$jspb_internal_binary_setFieldBinary(b,c,0===a?
void 0:a);return!0}function
module$contents$jspb_internal_binary_readSint64Oneof(a,b,c,d){if(a.nextWireType_!
==module$exports$jspb$BinaryConstants.WireType.VARINT)return!1;
(0,jspb_internal_adapters.setOneofFieldForBinary)(b,c,d,a.readSint64());return!0}
jspb_internal_binary.RWDoubleExt=module$contents$jspb_internal_binary_makeRWPair(mo
dule$contents$jspb_internal_binary_readDoubleExt,module$contents$jspb_internal_bina
ry_writeDouble);jspb_internal_binary.RPackableDoubleIntoExtWRepeatedDoubleExt=modul
e$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_bi
nary_readPackableDoubleIntoExt,module$contents$jspb_internal_binary_writeRepeatedDo
uble);
jspb_internal_binary.RPackableDoubleIntoExtWPackedDoubleExt=module$contents$jspb_in
ternal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableD
oubleIntoExt,module$contents$jspb_internal_binary_writePackedDouble);jspb_internal_
binary.RWDouble=module$contents$jspb_internal_binary_makeRWPair(module$contents$jsp
b_internal_binary_readDouble,module$contents$jspb_internal_binary_writeDouble);
jspb_internal_binary.RPackableDoubleIntoWRepeatedDouble=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableDoubl
eInto,module$contents$jspb_internal_binary_writeRepeatedDouble);jspb_internal_binar
y.RPackableDoubleIntoWPackedDouble=module$contents$jspb_internal_binary_makeRepeate
dRWPair(module$contents$jspb_internal_binary_readPackableDoubleInto,module$contents
$jspb_internal_binary_writePackedDouble);
jspb_internal_binary.RDoubleIgnoringDefaultWDouble=module$contents$jspb_internal_bi
nary_makeRWPair(module$contents$jspb_internal_binary_readDoubleIgnoringDefault,modu
le$contents$jspb_internal_binary_writeDouble);jspb_internal_binary.RDoubleOneofWDou
ble=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_b
inary_readDoubleOneof,module$contents$jspb_internal_binary_writeDouble);
jspb_internal_binary.RWFloatExt=module$contents$jspb_internal_binary_makeRWPair(mod
ule$contents$jspb_internal_binary_readFloatExt,module$contents$jspb_internal_binary
_writeFloat);jspb_internal_binary.RPackableFloatIntoExtWRepeatedFloatExt=module$con
tents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_
readPackableFloatIntoExt,module$contents$jspb_internal_binary_writeRepeatedFloat);
jspb_internal_binary.RPackableFloatIntoExtWPackedFloatExt=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableFlo
atIntoExt,module$contents$jspb_internal_binary_writePackedFloat);jspb_internal_bina
ry.RWFloat=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_int
ernal_binary_readFloat,module$contents$jspb_internal_binary_writeFloat);
jspb_internal_binary.RPackableFloatIntoWRepeatedFloat=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableFloatIn
to,module$contents$jspb_internal_binary_writeRepeatedFloat);jspb_internal_binary.RP
ackableFloatIntoWPackedFloat=module$contents$jspb_internal_binary_makeRepeatedRWPai
r(module$contents$jspb_internal_binary_readPackableFloatInto,module$contents$jspb_i
nternal_binary_writePackedFloat);
jspb_internal_binary.RFloatIgnoringDefaultWFloat=module$contents$jspb_internal_bina
ry_makeRWPair(module$contents$jspb_internal_binary_readFloatIgnoringDefault,module$
contents$jspb_internal_binary_writeFloat);jspb_internal_binary.RFloatOneofWFloat=mo
dule$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_
readFloatOneof,module$contents$jspb_internal_binary_writeFloat);
jspb_internal_binary.RInt64StringExtWInt64Ext=module$contents$jspb_internal_binary_
makeRWPair(module$contents$jspb_internal_binary_readInt64StringExt,module$contents$
jspb_internal_binary_writeInt64);jspb_internal_binary.RPackableInt64StringIntoExtWR
epeatedInt64Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$cont
ents$jspb_internal_binary_readPackableInt64StringIntoExt,module$contents$jspb_inter
nal_binary_writeRepeatedInt64);
jspb_internal_binary.RPackableInt64StringIntoExtWPackedInt64Ext=module$contents$jsp
b_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPacka
bleInt64StringIntoExt,module$contents$jspb_internal_binary_writePackedInt64);jspb_i
nternal_binary.RWInt64Ext=module$contents$jspb_internal_binary_makeRWPair(module$co
ntents$jspb_internal_binary_readInt64Ext,module$contents$jspb_internal_binary_write
Int64);
jspb_internal_binary.RPackableInt64IntoExtWRepeatedInt64Ext=module$contents$jspb_in
ternal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableI
nt64IntoExt,module$contents$jspb_internal_binary_writeRepeatedInt64);jspb_internal_
binary.RPackableInt64IntoExtWPackedInt64Ext=module$contents$jspb_internal_binary_ma
keRepeatedRWPair(module$contents$jspb_internal_binary_readPackableInt64IntoExt,modu
le$contents$jspb_internal_binary_writePackedInt64);
jspb_internal_binary.RInt64StringWInt64=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readInt64String,module$contents$jspb_inte
rnal_binary_writeInt64);jspb_internal_binary.RPackableInt64StringIntoWRepeatedInt64
=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_inter
nal_binary_readPackableInt64StringInto,module$contents$jspb_internal_binary_writeRe
peatedInt64);
jspb_internal_binary.RPackableInt64StringIntoWPackedInt64=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableInt
64StringInto,module$contents$jspb_internal_binary_writePackedInt64);jspb_internal_b
inary.RInt64StringIgnoringDefaultWInt64=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readInt64StringIgnoringDefault,module$con
tents$jspb_internal_binary_writeInt64);
jspb_internal_binary.RInt64StringOneofWInt64=module$contents$jspb_internal_binary_m
akeRWPair(module$contents$jspb_internal_binary_readInt64StringOneof,module$contents
$jspb_internal_binary_writeInt64);jspb_internal_binary.RWInt64=module$contents$jspb
_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readInt64,module$c
ontents$jspb_internal_binary_writeInt64);
jspb_internal_binary.RPackableInt64IntoWRepeatedInt64=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableInt64In
to,module$contents$jspb_internal_binary_writeRepeatedInt64);jspb_internal_binary.RP
ackableInt64IntoWPackedInt64=module$contents$jspb_internal_binary_makeRepeatedRWPai
r(module$contents$jspb_internal_binary_readPackableInt64Into,module$contents$jspb_i
nternal_binary_writePackedInt64);
jspb_internal_binary.RInt64IgnoringDefaultWInt64=module$contents$jspb_internal_bina
ry_makeRWPair(module$contents$jspb_internal_binary_readInt64IgnoringDefault,module$
contents$jspb_internal_binary_writeInt64);jspb_internal_binary.RInt64OneofWInt64=mo
dule$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_
readInt64Oneof,module$contents$jspb_internal_binary_writeInt64);
jspb_internal_binary.RUint64StringExtWUint64ToleratingNegativesExt=module$contents$
jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64Stri
ngExt,module$contents$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_int
ernal_binary.RUint64StringExtWUint64Ext=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readUint64StringExt,module$contents$jspb_
internal_binary_writeUint64);
jspb_internal_binary.RPackableUint64StringIntoExtWRepeatedUint64ToleratingNegatives
Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_in
ternal_binary_readPackableUint64StringIntoExt,module$contents$jspb_internal_binary_
writeRepeatedUint64ToleratingNegatives);jspb_internal_binary.RPackableUint64StringI
ntoExtWPackedUint64ToleratingNegativesExt=module$contents$jspb_internal_binary_make
RepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint64StringIntoExt
,module$contents$jspb_internal_binary_writePackedUint64ToleratingNegatives);
jspb_internal_binary.RPackableUint64StringIntoExtWRepeatedUint64Ext=module$contents
$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readP
ackableUint64StringIntoExt,module$contents$jspb_internal_binary_writeRepeatedUint64
);jspb_internal_binary.RPackableUint64StringIntoExtWPackedUint64Ext=module$contents
$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readP
ackableUint64StringIntoExt,module$contents$jspb_internal_binary_writePackedUint64);
jspb_internal_binary.RUint64ExtWUint64ToleratingNegativesExt=module$contents$jspb_i
nternal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64Ext,module
$contents$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_internal_binary
.RWUint64Ext=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_i
nternal_binary_readUint64Ext,module$contents$jspb_internal_binary_writeUint64);
jspb_internal_binary.RPackableUint64IntoExtWRepeatedUint64ToleratingNegativesExt=mo
dule$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal
_binary_readPackableUint64IntoExt,module$contents$jspb_internal_binary_writeRepeate
dUint64ToleratingNegatives);jspb_internal_binary.RPackableUint64IntoExtWPackedUint6
4ToleratingNegativesExt=module$contents$jspb_internal_binary_makeRepeatedRWPair(mod
ule$contents$jspb_internal_binary_readPackableUint64IntoExt,module$contents$jspb_in
ternal_binary_writePackedUint64ToleratingNegatives);
jspb_internal_binary.RPackableUint64IntoExtWRepeatedUint64Ext=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eUint64IntoExt,module$contents$jspb_internal_binary_writeRepeatedUint64);jspb_inter
nal_binary.RPackableUint64IntoExtWPackedUint64Ext=module$contents$jspb_internal_bin
ary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint64IntoE
xt,module$contents$jspb_internal_binary_writePackedUint64);
jspb_internal_binary.RUint64StringWUint64ToleratingNegatives=module$contents$jspb_i
nternal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64String,mod
ule$contents$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_internal_bin
ary.RUint64StringWUint64=module$contents$jspb_internal_binary_makeRWPair(module$con
tents$jspb_internal_binary_readUint64String,module$contents$jspb_internal_binary_wr
iteUint64);
jspb_internal_binary.RPackableUint64StringIntoWRepeatedUint64ToleratingNegatives=mo
dule$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal
_binary_readPackableUint64StringInto,module$contents$jspb_internal_binary_writeRepe
atedUint64ToleratingNegatives);jspb_internal_binary.RPackableUint64StringIntoWPacke
dUint64ToleratingNegatives=module$contents$jspb_internal_binary_makeRepeatedRWPair(
module$contents$jspb_internal_binary_readPackableUint64StringInto,module$contents$j
spb_internal_binary_writePackedUint64ToleratingNegatives);
jspb_internal_binary.RPackableUint64StringIntoWRepeatedUint64=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eUint64StringInto,module$contents$jspb_internal_binary_writeRepeatedUint64);jspb_in
ternal_binary.RPackableUint64StringIntoWPackedUint64=module$contents$jspb_internal_
binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint64St
ringInto,module$contents$jspb_internal_binary_writePackedUint64);
jspb_internal_binary.RUint64StringIgnoringDefaultWUint64ToleratingNegatives=module$
contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readU
int64StringIgnoringDefault,module$contents$jspb_internal_binary_writeUint64Tolerati
ngNegatives);jspb_internal_binary.RUint64StringIgnoringDefaultWUint64=module$conten
ts$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64S
tringIgnoringDefault,module$contents$jspb_internal_binary_writeUint64);
jspb_internal_binary.RUint64StringOneofWUint64ToleratingNegatives=module$contents$j
spb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64Strin
gOneof,module$contents$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_in
ternal_binary.RUint64StringOneofWUint64=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readUint64StringOneof,module$contents$jsp
b_internal_binary_writeUint64);
jspb_internal_binary.RUint64WUint64ToleratingNegatives=module$contents$jspb_interna
l_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64,module$contents
$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_internal_binary.RWUint64
=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_bina
ry_readUint64,module$contents$jspb_internal_binary_writeUint64);
jspb_internal_binary.RPackableUint64IntoWRepeatedUint64ToleratingNegatives=module$c
ontents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binar
y_readPackableUint64Into,module$contents$jspb_internal_binary_writeRepeatedUint64To
leratingNegatives);jspb_internal_binary.RPackableUint64IntoWPackedUint64ToleratingN
egatives=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$js
pb_internal_binary_readPackableUint64Into,module$contents$jspb_internal_binary_writ
ePackedUint64ToleratingNegatives);
jspb_internal_binary.RPackableUint64IntoWRepeatedUint64=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint6
4Into,module$contents$jspb_internal_binary_writeRepeatedUint64);jspb_internal_binar
y.RPackableUint64IntoWPackedUint64=module$contents$jspb_internal_binary_makeRepeate
dRWPair(module$contents$jspb_internal_binary_readPackableUint64Into,module$contents
$jspb_internal_binary_writePackedUint64);
jspb_internal_binary.RUint64IgnoringDefaultWUint64ToleratingNegatives=module$conten
ts$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64I
gnoringDefault,module$contents$jspb_internal_binary_writeUint64ToleratingNegatives)
;jspb_internal_binary.RUint64IgnoringDefaultWUint64=module$contents$jspb_internal_b
inary_makeRWPair(module$contents$jspb_internal_binary_readUint64IgnoringDefault,mod
ule$contents$jspb_internal_binary_writeUint64);
jspb_internal_binary.RUint64OneofWUint64ToleratingNegatives=module$contents$jspb_in
ternal_binary_makeRWPair(module$contents$jspb_internal_binary_readUint64Oneof,modul
e$contents$jspb_internal_binary_writeUint64ToleratingNegatives);jspb_internal_binar
y.RUint64OneofWUint64=module$contents$jspb_internal_binary_makeRWPair(module$conten
ts$jspb_internal_binary_readUint64Oneof,module$contents$jspb_internal_binary_writeU
int64);
jspb_internal_binary.RWInt32Ext=module$contents$jspb_internal_binary_makeRWPair(mod
ule$contents$jspb_internal_binary_readInt32Ext,module$contents$jspb_internal_binary
_writeInt32);jspb_internal_binary.RPackableInt32IntoExtWRepeatedInt32Ext=module$con
tents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_
readPackableInt32IntoExt,module$contents$jspb_internal_binary_writeRepeatedInt32);
jspb_internal_binary.RPackableInt32IntoExtWPackedInt32Ext=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableInt
32IntoExt,module$contents$jspb_internal_binary_writePackedInt32);jspb_internal_bina
ry.RWInt32=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_int
ernal_binary_readInt32,module$contents$jspb_internal_binary_writeInt32);
jspb_internal_binary.RPackableInt32IntoWRepeatedInt32=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableInt32In
to,module$contents$jspb_internal_binary_writeRepeatedInt32);jspb_internal_binary.RP
ackableInt32IntoWPackedInt32=module$contents$jspb_internal_binary_makeRepeatedRWPai
r(module$contents$jspb_internal_binary_readPackableInt32Into,module$contents$jspb_i
nternal_binary_writePackedInt32);
jspb_internal_binary.RInt32IgnoringDefaultWInt32=module$contents$jspb_internal_bina
ry_makeRWPair(module$contents$jspb_internal_binary_readInt32IgnoringDefault,module$
contents$jspb_internal_binary_writeInt32);jspb_internal_binary.RInt32OneofWInt32=mo
dule$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_
readInt32Oneof,module$contents$jspb_internal_binary_writeInt32);
jspb_internal_binary.RFixed64StringExtWFixed64ToleratingNegativesExt=module$content
s$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64S
tringExt,module$contents$jspb_internal_binary_writeFixed64ToleratingNegatives);jspb
_internal_binary.RFixed64StringExtWFixed64Ext=module$contents$jspb_internal_binary_
makeRWPair(module$contents$jspb_internal_binary_readFixed64StringExt,module$content
s$jspb_internal_binary_writeFixed64);
jspb_internal_binary.RPackableFixed64StringIntoExtWRepeatedFixed64ToleratingNegativ
esExt=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_
internal_binary_readPackableFixed64StringIntoExt,module$contents$jspb_internal_bina
ry_writeRepeatedFixed64ToleratingNegatives);
jspb_internal_binary.RPackableFixed64StringIntoExtWPackedFixed64ToleratingNegatives
Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_in
ternal_binary_readPackableFixed64StringIntoExt,module$contents$jspb_internal_binary
_writePackedFixed64ToleratingNegatives);jspb_internal_binary.RPackableFixed64String
IntoExtWRepeatedFixed64Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(
module$contents$jspb_internal_binary_readPackableFixed64StringIntoExt,module$conten
ts$jspb_internal_binary_writeRepeatedFixed64);
jspb_internal_binary.RPackableFixed64StringIntoExtWPackedFixed64Ext=module$contents
$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readP
ackableFixed64StringIntoExt,module$contents$jspb_internal_binary_writePackedFixed64
);jspb_internal_binary.RFixed64ExtWFixed64ToleratingNegativesExt=module$contents$js
pb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64Ext,m
odule$contents$jspb_internal_binary_writeFixed64ToleratingNegatives);
jspb_internal_binary.RWFixed64Ext=module$contents$jspb_internal_binary_makeRWPair(m
odule$contents$jspb_internal_binary_readFixed64Ext,module$contents$jspb_internal_bi
nary_writeFixed64);jspb_internal_binary.RPackableFixed64IntoExtWRepeatedFixed64Tole
ratingNegativesExt=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$c
ontents$jspb_internal_binary_readPackableFixed64IntoExt,module$contents$jspb_intern
al_binary_writeRepeatedFixed64ToleratingNegatives);
jspb_internal_binary.RPackableFixed64IntoExtWPackedFixed64ToleratingNegativesExt=mo
dule$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal
_binary_readPackableFixed64IntoExt,module$contents$jspb_internal_binary_writePacked
Fixed64ToleratingNegatives);jspb_internal_binary.RPackableFixed64IntoExtWRepeatedFi
xed64Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$js
pb_internal_binary_readPackableFixed64IntoExt,module$contents$jspb_internal_binary_
writeRepeatedFixed64);
jspb_internal_binary.RPackableFixed64IntoExtWPackedFixed64Ext=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eFixed64IntoExt,module$contents$jspb_internal_binary_writePackedFixed64);jspb_inter
nal_binary.RFixed64StringWFixed64ToleratingNegatives=module$contents$jspb_internal_
binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64String,module$con
tents$jspb_internal_binary_writeFixed64ToleratingNegatives);
jspb_internal_binary.RFixed64StringWFixed64=module$contents$jspb_internal_binary_ma
keRWPair(module$contents$jspb_internal_binary_readFixed64String,module$contents$jsp
b_internal_binary_writeFixed64);jspb_internal_binary.RPackableFixed64StringIntoWRep
eatedFixed64ToleratingNegatives=module$contents$jspb_internal_binary_makeRepeatedRW
Pair(module$contents$jspb_internal_binary_readPackableFixed64StringInto,module$cont
ents$jspb_internal_binary_writeRepeatedFixed64ToleratingNegatives);
jspb_internal_binary.RPackableFixed64StringIntoWPackedFixed64ToleratingNegatives=mo
dule$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal
_binary_readPackableFixed64StringInto,module$contents$jspb_internal_binary_writePac
kedFixed64ToleratingNegatives);jspb_internal_binary.RPackableFixed64StringIntoWRepe
atedFixed64=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents
$jspb_internal_binary_readPackableFixed64StringInto,module$contents$jspb_internal_b
inary_writeRepeatedFixed64);
jspb_internal_binary.RPackableFixed64StringIntoWPackedFixed64=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eFixed64StringInto,module$contents$jspb_internal_binary_writePackedFixed64);jspb_in
ternal_binary.RFixed64StringIgnoringDefaultWFixed64ToleratingNegatives=module$conte
nts$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readFixed6
4StringIgnoringDefault,module$contents$jspb_internal_binary_writeFixed64ToleratingN
egatives);
jspb_internal_binary.RFixed64StringIgnoringDefaultWFixed64=module$contents$jspb_int
ernal_binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64StringIgnor
ingDefault,module$contents$jspb_internal_binary_writeFixed64);jspb_internal_binary.
RFixed64StringOneofWFixed64ToleratingNegatives=module$contents$jspb_internal_binary
_makeRWPair(module$contents$jspb_internal_binary_readFixed64StringOneof,module$cont
ents$jspb_internal_binary_writeFixed64ToleratingNegatives);
jspb_internal_binary.RFixed64StringOneofWFixed64=module$contents$jspb_internal_bina
ry_makeRWPair(module$contents$jspb_internal_binary_readFixed64StringOneof,module$co
ntents$jspb_internal_binary_writeFixed64);jspb_internal_binary.RFixed64WFixed64Tole
ratingNegatives=module$contents$jspb_internal_binary_makeRWPair(module$contents$jsp
b_internal_binary_readFixed64,module$contents$jspb_internal_binary_writeFixed64Tole
ratingNegatives);
jspb_internal_binary.RWFixed64=module$contents$jspb_internal_binary_makeRWPair(modu
le$contents$jspb_internal_binary_readFixed64,module$contents$jspb_internal_binary_w
riteFixed64);jspb_internal_binary.RPackableFixed64IntoWRepeatedFixed64ToleratingNeg
atives=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb
_internal_binary_readPackableFixed64Into,module$contents$jspb_internal_binary_write
RepeatedFixed64ToleratingNegatives);
jspb_internal_binary.RPackableFixed64IntoWPackedFixed64ToleratingNegatives=module$c
ontents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binar
y_readPackableFixed64Into,module$contents$jspb_internal_binary_writePackedFixed64To
leratingNegatives);jspb_internal_binary.RPackableFixed64IntoWRepeatedFixed64=module
$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_bin
ary_readPackableFixed64Into,module$contents$jspb_internal_binary_writeRepeatedFixed
64);
jspb_internal_binary.RPackableFixed64IntoWPackedFixed64=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableFixed
64Into,module$contents$jspb_internal_binary_writePackedFixed64);jspb_internal_binar
y.RFixed64IgnoringDefaultWFixed64ToleratingNegatives=module$contents$jspb_internal_
binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64IgnoringDefault,m
odule$contents$jspb_internal_binary_writeFixed64ToleratingNegatives);
jspb_internal_binary.RFixed64IgnoringDefaultWFixed64=module$contents$jspb_internal_
binary_makeRWPair(module$contents$jspb_internal_binary_readFixed64IgnoringDefault,m
odule$contents$jspb_internal_binary_writeFixed64);jspb_internal_binary.RFixed64Oneo
fWFixed64ToleratingNegatives=module$contents$jspb_internal_binary_makeRWPair(module
$contents$jspb_internal_binary_readFixed64Oneof,module$contents$jspb_internal_binar
y_writeFixed64ToleratingNegatives);
jspb_internal_binary.RFixed64OneofWFixed64=module$contents$jspb_internal_binary_mak
eRWPair(module$contents$jspb_internal_binary_readFixed64Oneof,module$contents$jspb_
internal_binary_writeFixed64);jspb_internal_binary.RWFixed32Ext=module$contents$jsp
b_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readFixed32Ext,mo
dule$contents$jspb_internal_binary_writeFixed32);
jspb_internal_binary.RPackableFixed32IntoExtWRepeatedFixed32Ext=module$contents$jsp
b_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPacka
bleFixed32IntoExt,module$contents$jspb_internal_binary_writeRepeatedFixed32);jspb_i
nternal_binary.RPackableFixed32IntoExtWPackedFixed32Ext=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableFixed
32IntoExt,module$contents$jspb_internal_binary_writePackedFixed32);
jspb_internal_binary.RWFixed32=module$contents$jspb_internal_binary_makeRWPair(modu
le$contents$jspb_internal_binary_readFixed32,module$contents$jspb_internal_binary_w
riteFixed32);jspb_internal_binary.RPackableFixed32IntoWRepeatedFixed32=module$conte
nts$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_re
adPackableFixed32Into,module$contents$jspb_internal_binary_writeRepeatedFixed32);
jspb_internal_binary.RPackableFixed32IntoWPackedFixed32=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableFixed
32Into,module$contents$jspb_internal_binary_writePackedFixed32);jspb_internal_binar
y.RFixed32IgnoringDefaultWFixed32=module$contents$jspb_internal_binary_makeRWPair(m
odule$contents$jspb_internal_binary_readFixed32IgnoringDefault,module$contents$jspb
_internal_binary_writeFixed32);
jspb_internal_binary.RFixed32OneofWFixed32=module$contents$jspb_internal_binary_mak
eRWPair(module$contents$jspb_internal_binary_readFixed32Oneof,module$contents$jspb_
internal_binary_writeFixed32);jspb_internal_binary.RWBoolExt=module$contents$jspb_i
nternal_binary_makeRWPair(module$contents$jspb_internal_binary_readBoolExt,module$c
ontents$jspb_internal_binary_writeBool);
jspb_internal_binary.RPackableBoolIntoExtWRepeatedBoolExt=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableBoo
lIntoExt,module$contents$jspb_internal_binary_writeRepeatedBool);jspb_internal_bina
ry.RPackableBoolIntoExtWPackedBoolExt=module$contents$jspb_internal_binary_makeRepe
atedRWPair(module$contents$jspb_internal_binary_readPackableBoolIntoExt,module$cont
ents$jspb_internal_binary_writePackedBool);
jspb_internal_binary.RWBool=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readBool,module$contents$jspb_internal_binary_writeBo
ol);jspb_internal_binary.RPackableBoolIntoWRepeatedBool=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableBoolI
nto,module$contents$jspb_internal_binary_writeRepeatedBool);
jspb_internal_binary.RPackableBoolIntoWPackedBool=module$contents$jspb_internal_bin
ary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableBoolInto,mo
dule$contents$jspb_internal_binary_writePackedBool);jspb_internal_binary.RBoolIgnor
ingDefaultWBool=module$contents$jspb_internal_binary_makeRWPair(module$contents$jsp
b_internal_binary_readBoolIgnoringDefault,module$contents$jspb_internal_binary_writ
eBool);
jspb_internal_binary.RBoolOneofWBool=module$contents$jspb_internal_binary_makeRWPai
r(module$contents$jspb_internal_binary_readBoolOneof,module$contents$jspb_internal_
binary_writeBool);jspb_internal_binary.RStringRequireUtf8ExtWStringExt=module$conte
nts$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readString
RequireUtf8Ext,module$contents$jspb_internal_binary_writeString);
jspb_internal_binary.RRepeatedStringRequireUtf8ExtWRepeatedStringExt=module$content
s$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_read
RepeatedStringRequireUtf8Ext,module$contents$jspb_internal_binary_writeRepeatedStri
ng);jspb_internal_binary.RStringRequireUtf8WString=module$contents$jspb_internal_bi
nary_makeRWPair(module$contents$jspb_internal_binary_readStringRequireUtf8,module$c
ontents$jspb_internal_binary_writeString);
jspb_internal_binary.RRepeatedStringRequireUtf8WRepeatedString=module$contents$jspb
_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readRepeat
edStringRequireUtf8,module$contents$jspb_internal_binary_writeRepeatedString);jspb_
internal_binary.RStringRequireUtf8IgnoringDefaultWString=module$contents$jspb_inter
nal_binary_makeRWPair(module$contents$jspb_internal_binary_readStringRequireUtf8Ign
oringDefault,module$contents$jspb_internal_binary_writeString);
jspb_internal_binary.RStringRequireUtf8OneofWString=module$contents$jspb_internal_b
inary_makeRWPair(module$contents$jspb_internal_binary_readStringRequireUtf8Oneof,mo
dule$contents$jspb_internal_binary_writeString);jspb_internal_binary.RWStringExt=mo
dule$exports$jspb$binary$reader.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.RStringRequireUtf8ExtWStringExt:module$contents$jspb_internal_
binary_makeRWPair(module$contents$jspb_internal_binary_readStringExt,module$content
s$jspb_internal_binary_writeString);
jspb_internal_binary.RWRepeatedStringExt=module$exports$jspb$binary$reader.UTF8_PAR
SING_ERRORS_ARE_FATAL?
jspb_internal_binary.RRepeatedStringRequireUtf8ExtWRepeatedStringExt:module$content
s$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_read
RepeatedStringExt,module$contents$jspb_internal_binary_writeRepeatedString);
jspb_internal_binary.RWString=module$exports$jspb$binary$reader.UTF8_PARSING_ERRORS
_ARE_FATAL?
jspb_internal_binary.RStringRequireUtf8WString:module$contents$jspb_internal_binary
_makeRWPair(module$contents$jspb_internal_binary_readString,module$contents$jspb_in
ternal_binary_writeString);
jspb_internal_binary.RWRepeatedString=module$exports$jspb$binary$reader.UTF8_PARSIN
G_ERRORS_ARE_FATAL?
jspb_internal_binary.RRepeatedStringRequireUtf8WRepeatedString:module$contents$jspb
_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readRepeat
edString,module$contents$jspb_internal_binary_writeRepeatedString);
jspb_internal_binary.RStringIgnoringDefaultWString=module$exports$jspb$binary$reade
r.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.RStringRequireUtf8IgnoringDefaultWString:module$contents$jspb_
internal_binary_makeRWPair(module$contents$jspb_internal_binary_readStringIgnoringD
efault,module$contents$jspb_internal_binary_writeString);
jspb_internal_binary.RStringOneofWString=module$exports$jspb$binary$reader.UTF8_PAR
SING_ERRORS_ARE_FATAL?
jspb_internal_binary.RStringRequireUtf8OneofWString:module$contents$jspb_internal_b
inary_makeRWPair(module$contents$jspb_internal_binary_readStringOneof,module$conten
ts$jspb_internal_binary_writeString);jspb_internal_binary.RWGroupExt=module$content
s$jspb_internal_binary_makeMsgRWPair(module$contents$jspb_internal_binary_readGroup
Ext,module$contents$jspb_internal_binary_writeGroup);
jspb_internal_binary.RWRepeatedGroupExt=new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(module$contents$j
spb_internal_binary_readRepeatedGroupExt,module$contents$jspb_internal_binary_write
RepeatedGroup,!0,!
0);jspb_internal_binary.RWGroup=module$contents$jspb_internal_binary_makeMsgRWPair(
module$contents$jspb_internal_binary_readGroup,module$contents$jspb_internal_binary
_writeGroup);
jspb_internal_binary.RWRepeatedGroup=new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(module$contents$j
spb_internal_binary_readRepeatedGroup,module$contents$jspb_internal_binary_writeRep
eatedGroup,!0,!
0);jspb_internal_binary.RGroupOneofWGroup=module$contents$jspb_internal_binary_make
MsgRWPair(module$contents$jspb_internal_binary_readGroupOneof,module$contents$jspb_
internal_binary_writeGroup);
jspb_internal_binary.RWMessageExt=module$contents$jspb_internal_binary_makeMsgRWPai
r(module$contents$jspb_internal_binary_readMessageExt,module$contents$jspb_internal
_binary_writeMessage);jspb_internal_binary.RWRepeatedMessageExt=new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(module$contents$j
spb_internal_binary_readRepeatedMessageExt,module$contents$jspb_internal_binary_wri
teRepeatedMessage,!0,!0);
jspb_internal_binary.RWMessage=module$contents$jspb_internal_binary_makeMsgRWPair(m
odule$contents$jspb_internal_binary_readMessage,module$contents$jspb_internal_binar
y_writeMessage);jspb_internal_binary.RWRepeatedMessage=new
module$contents$jspb$extension_field_binary_info_ReaderWriterPair(module$contents$j
spb_internal_binary_readRepeatedMessage,module$contents$jspb_internal_binary_writeR
epeatedMessage,!0,!0);
jspb_internal_binary.RMessageOneofWMessage=module$contents$jspb_internal_binary_mak
eMsgRWPair(module$contents$jspb_internal_binary_readMessageOneof,module$contents$js
pb_internal_binary_writeMessage);jspb_internal_binary.RWBytesExt=module$contents$js
pb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readBytesExt,mod
ule$contents$jspb_internal_binary_writeBytes);
jspb_internal_binary.RWRepeatedBytesExt=module$contents$jspb_internal_binary_makeRe
peatedRWPair(module$contents$jspb_internal_binary_readRepeatedBytesExt,module$conte
nts$jspb_internal_binary_writeRepeatedBytes);jspb_internal_binary.RWBytes=module$co
ntents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readByt
es,module$contents$jspb_internal_binary_writeBytes);
jspb_internal_binary.RWRepeatedBytes=module$contents$jspb_internal_binary_makeRepea
tedRWPair(module$contents$jspb_internal_binary_readRepeatedBytes,module$contents$js
pb_internal_binary_writeRepeatedBytes);jspb_internal_binary.RBytesIgnoringDefaultWB
ytes=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_
binary_readBytesIgnoringDefault,module$contents$jspb_internal_binary_writeBytes);
jspb_internal_binary.RBytesOneofWBytes=module$contents$jspb_internal_binary_makeRWP
air(module$contents$jspb_internal_binary_readBytesOneof,module$contents$jspb_intern
al_binary_writeBytes);jspb_internal_binary.RWUint32Ext=module$contents$jspb_interna
l_binary_makeRWPair(module$contents$jspb_internal_binary_readUint32Ext,module$conte
nts$jspb_internal_binary_writeUint32);
jspb_internal_binary.RPackableUint32IntoExtWRepeatedUint32Ext=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eUint32IntoExt,module$contents$jspb_internal_binary_writeRepeatedUint32);jspb_inter
nal_binary.RPackableUint32IntoExtWPackedUint32Ext=module$contents$jspb_internal_bin
ary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint32IntoE
xt,module$contents$jspb_internal_binary_writePackedUint32);
jspb_internal_binary.RWUint32=module$contents$jspb_internal_binary_makeRWPair(modul
e$contents$jspb_internal_binary_readUint32,module$contents$jspb_internal_binary_wri
teUint32);jspb_internal_binary.RPackableUint32IntoWRepeatedUint32=module$contents$j
spb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPac
kableUint32Into,module$contents$jspb_internal_binary_writeRepeatedUint32);
jspb_internal_binary.RPackableUint32IntoWPackedUint32=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableUint32I
nto,module$contents$jspb_internal_binary_writePackedUint32);jspb_internal_binary.RU
int32IgnoringDefaultWUint32=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readUint32IgnoringDefault,module$contents$jspb_intern
al_binary_writeUint32);
jspb_internal_binary.RUint32OneofWUint32=module$contents$jspb_internal_binary_makeR
WPair(module$contents$jspb_internal_binary_readUint32Oneof,module$contents$jspb_int
ernal_binary_writeUint32);jspb_internal_binary.RWEnumExt=module$contents$jspb_inter
nal_binary_makeRWPair(module$contents$jspb_internal_binary_readEnumExt,module$conte
nts$jspb_internal_binary_writeEnum);
jspb_internal_binary.RPackableEnumIntoExtWRepeatedEnumExt=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableEnu
mIntoExt,module$contents$jspb_internal_binary_writeRepeatedEnum);jspb_internal_bina
ry.RPackableEnumIntoExtWPackedEnumExt=module$contents$jspb_internal_binary_makeRepe
atedRWPair(module$contents$jspb_internal_binary_readPackableEnumIntoExt,module$cont
ents$jspb_internal_binary_writePackedEnum);
jspb_internal_binary.RWEnum=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readEnum,module$contents$jspb_internal_binary_writeEn
um);jspb_internal_binary.RPackableEnumIntoWRepeatedEnum=module$contents$jspb_intern
al_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableEnumI
nto,module$contents$jspb_internal_binary_writeRepeatedEnum);
jspb_internal_binary.RPackableEnumIntoWPackedEnum=module$contents$jspb_internal_bin
ary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableEnumInto,mo
dule$contents$jspb_internal_binary_writePackedEnum);jspb_internal_binary.REnumIgnor
ingDefaultWEnum=module$contents$jspb_internal_binary_makeRWPair(module$contents$jsp
b_internal_binary_readEnumIgnoringDefault,module$contents$jspb_internal_binary_writ
eEnum);
jspb_internal_binary.REnumOneofWEnum=module$contents$jspb_internal_binary_makeRWPai
r(module$contents$jspb_internal_binary_readEnumOneof,module$contents$jspb_internal_
binary_writeEnum);jspb_internal_binary.RWSfixed32Ext=module$contents$jspb_internal_
binary_makeRWPair(module$contents$jspb_internal_binary_readSfixed32Ext,module$conte
nts$jspb_internal_binary_writeSfixed32);
jspb_internal_binary.RPackableSfixed32IntoExtWRepeatedSfixed32Ext=module$contents$j
spb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPac
kableSfixed32IntoExt,module$contents$jspb_internal_binary_writeRepeatedSfixed32);js
pb_internal_binary.RPackableSfixed32IntoExtWPackedSfixed32Ext=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eSfixed32IntoExt,module$contents$jspb_internal_binary_writePackedSfixed32);
jspb_internal_binary.RWSfixed32=module$contents$jspb_internal_binary_makeRWPair(mod
ule$contents$jspb_internal_binary_readSfixed32,module$contents$jspb_internal_binary
_writeSfixed32);jspb_internal_binary.RPackableSfixed32IntoWRepeatedSfixed32=module$
contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_bina
ry_readPackableSfixed32Into,module$contents$jspb_internal_binary_writeRepeatedSfixe
d32);
jspb_internal_binary.RPackableSfixed32IntoWPackedSfixed32=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSfi
xed32Into,module$contents$jspb_internal_binary_writePackedSfixed32);jspb_internal_b
inary.RSfixed32IgnoringDefaultWSfixed32=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readSfixed32IgnoringDefault,module$conten
ts$jspb_internal_binary_writeSfixed32);
jspb_internal_binary.RSfixed32OneofWSfixed32=module$contents$jspb_internal_binary_m
akeRWPair(module$contents$jspb_internal_binary_readSfixed32Oneof,module$contents$js
pb_internal_binary_writeSfixed32);jspb_internal_binary.RSfixed64StringExtWSfixed64E
xt=module$contents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_bi
nary_readSfixed64StringExt,module$contents$jspb_internal_binary_writeSfixed64);
jspb_internal_binary.RPackableSfixed64StringIntoExtWRepeatedSfixed64Ext=module$cont
ents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_r
eadPackableSfixed64StringIntoExt,module$contents$jspb_internal_binary_writeRepeated
Sfixed64);jspb_internal_binary.RPackableSfixed64StringIntoExtWPackedSfixed64Ext=mod
ule$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_
binary_readPackableSfixed64StringIntoExt,module$contents$jspb_internal_binary_write
PackedSfixed64);
jspb_internal_binary.RWSfixed64Ext=module$contents$jspb_internal_binary_makeRWPair(
module$contents$jspb_internal_binary_readSfixed64Ext,module$contents$jspb_internal_
binary_writeSfixed64);jspb_internal_binary.RPackableSfixed64IntoExtWRepeatedSfixed6
4Ext=module$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_i
nternal_binary_readPackableSfixed64IntoExt,module$contents$jspb_internal_binary_wri
teRepeatedSfixed64);
jspb_internal_binary.RPackableSfixed64IntoExtWPackedSfixed64Ext=module$contents$jsp
b_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPacka
bleSfixed64IntoExt,module$contents$jspb_internal_binary_writePackedSfixed64);jspb_i
nternal_binary.RSfixed64StringWSfixed64=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readSfixed64String,module$contents$jspb_i
nternal_binary_writeSfixed64);
jspb_internal_binary.RPackableSfixed64StringIntoWRepeatedSfixed64=module$contents$j
spb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPac
kableSfixed64StringInto,module$contents$jspb_internal_binary_writeRepeatedSfixed64)
;jspb_internal_binary.RPackableSfixed64StringIntoWPackedSfixed64=module$contents$js
pb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPack
ableSfixed64StringInto,module$contents$jspb_internal_binary_writePackedSfixed64);
jspb_internal_binary.RSfixed64StringIgnoringDefaultWSfixed64=module$contents$jspb_i
nternal_binary_makeRWPair(module$contents$jspb_internal_binary_readSfixed64StringIg
noringDefault,module$contents$jspb_internal_binary_writeSfixed64);jspb_internal_bin
ary.RSfixed64StringOneofWSfixed64=module$contents$jspb_internal_binary_makeRWPair(m
odule$contents$jspb_internal_binary_readSfixed64StringOneof,module$contents$jspb_in
ternal_binary_writeSfixed64);
jspb_internal_binary.RWSfixed64=module$contents$jspb_internal_binary_makeRWPair(mod
ule$contents$jspb_internal_binary_readSfixed64,module$contents$jspb_internal_binary
_writeSfixed64);jspb_internal_binary.RPackableSfixed64IntoWRepeatedSfixed64=module$
contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_bina
ry_readPackableSfixed64Into,module$contents$jspb_internal_binary_writeRepeatedSfixe
d64);
jspb_internal_binary.RPackableSfixed64IntoWPackedSfixed64=module$contents$jspb_inte
rnal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSfi
xed64Into,module$contents$jspb_internal_binary_writePackedSfixed64);jspb_internal_b
inary.RSfixed64IgnoringDefaultWSfixed64=module$contents$jspb_internal_binary_makeRW
Pair(module$contents$jspb_internal_binary_readSfixed64IgnoringDefault,module$conten
ts$jspb_internal_binary_writeSfixed64);
jspb_internal_binary.RSfixed64OneofWSfixed64=module$contents$jspb_internal_binary_m
akeRWPair(module$contents$jspb_internal_binary_readSfixed64Oneof,module$contents$js
pb_internal_binary_writeSfixed64);jspb_internal_binary.RWSint32Ext=module$contents$
jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readSint32Ext,
module$contents$jspb_internal_binary_writeSint32);
jspb_internal_binary.RPackableSint32IntoExtWRepeatedSint32Ext=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eSint32IntoExt,module$contents$jspb_internal_binary_writeRepeatedSint32);jspb_inter
nal_binary.RPackableSint32IntoExtWPackedSint32Ext=module$contents$jspb_internal_bin
ary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSint32IntoE
xt,module$contents$jspb_internal_binary_writePackedSint32);
jspb_internal_binary.RWSint32=module$contents$jspb_internal_binary_makeRWPair(modul
e$contents$jspb_internal_binary_readSint32,module$contents$jspb_internal_binary_wri
teSint32);jspb_internal_binary.RPackableSint32IntoWRepeatedSint32=module$contents$j
spb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPac
kableSint32Into,module$contents$jspb_internal_binary_writeRepeatedSint32);
jspb_internal_binary.RPackableSint32IntoWPackedSint32=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSint32I
nto,module$contents$jspb_internal_binary_writePackedSint32);jspb_internal_binary.RS
int32IgnoringDefaultWSint32=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readSint32IgnoringDefault,module$contents$jspb_intern
al_binary_writeSint32);
jspb_internal_binary.RSint32OneofWSint32=module$contents$jspb_internal_binary_makeR
WPair(module$contents$jspb_internal_binary_readSint32Oneof,module$contents$jspb_int
ernal_binary_writeSint32);jspb_internal_binary.RSint64StringExtWSint64Ext=module$co
ntents$jspb_internal_binary_makeRWPair(module$contents$jspb_internal_binary_readSin
t64StringExt,module$contents$jspb_internal_binary_writeSint64);
jspb_internal_binary.RPackableSint64StringIntoExtWRepeatedSint64Ext=module$contents
$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readP
ackableSint64StringIntoExt,module$contents$jspb_internal_binary_writeRepeatedSint64
);jspb_internal_binary.RPackableSint64StringIntoExtWPackedSint64Ext=module$contents
$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readP
ackableSint64StringIntoExt,module$contents$jspb_internal_binary_writePackedSint64);
jspb_internal_binary.RWSint64Ext=module$contents$jspb_internal_binary_makeRWPair(mo
dule$contents$jspb_internal_binary_readSint64Ext,module$contents$jspb_internal_bina
ry_writeSint64);jspb_internal_binary.RPackableSint64IntoExtWRepeatedSint64Ext=modul
e$contents$jspb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_bi
nary_readPackableSint64IntoExt,module$contents$jspb_internal_binary_writeRepeatedSi
nt64);
jspb_internal_binary.RPackableSint64IntoExtWPackedSint64Ext=module$contents$jspb_in
ternal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableS
int64IntoExt,module$contents$jspb_internal_binary_writePackedSint64);jspb_internal_
binary.RSint64StringWSint64=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readSint64String,module$contents$jspb_internal_binary
_writeSint64);
jspb_internal_binary.RPackableSint64StringIntoWRepeatedSint64=module$contents$jspb_
internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackabl
eSint64StringInto,module$contents$jspb_internal_binary_writeRepeatedSint64);jspb_in
ternal_binary.RPackableSint64StringIntoWPackedSint64=module$contents$jspb_internal_
binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSint64St
ringInto,module$contents$jspb_internal_binary_writePackedSint64);
jspb_internal_binary.RSint64StringIgnoringDefaultWSint64=module$contents$jspb_inter
nal_binary_makeRWPair(module$contents$jspb_internal_binary_readSint64StringIgnoring
Default,module$contents$jspb_internal_binary_writeSint64);jspb_internal_binary.RSin
t64StringOneofWSint64=module$contents$jspb_internal_binary_makeRWPair(module$conten
ts$jspb_internal_binary_readSint64StringOneof,module$contents$jspb_internal_binary_
writeSint64);
jspb_internal_binary.RWSint64=module$contents$jspb_internal_binary_makeRWPair(modul
e$contents$jspb_internal_binary_readSint64,module$contents$jspb_internal_binary_wri
teSint64);jspb_internal_binary.RPackableSint64IntoWRepeatedSint64=module$contents$j
spb_internal_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPac
kableSint64Into,module$contents$jspb_internal_binary_writeRepeatedSint64);
jspb_internal_binary.RPackableSint64IntoWPackedSint64=module$contents$jspb_internal
_binary_makeRepeatedRWPair(module$contents$jspb_internal_binary_readPackableSint64I
nto,module$contents$jspb_internal_binary_writePackedSint64);jspb_internal_binary.RS
int64IgnoringDefaultWSint64=module$contents$jspb_internal_binary_makeRWPair(module$
contents$jspb_internal_binary_readSint64IgnoringDefault,module$contents$jspb_intern
al_binary_writeSint64);
jspb_internal_binary.RSint64OneofWSint64=module$contents$jspb_internal_binary_makeR
WPair(module$contents$jspb_internal_binary_readSint64Oneof,module$contents$jspb_int
ernal_binary_writeSint64);jspb_internal_binary.Int64DoubleMap=module$contents$jspb_
internal_binary_createMapEntryBinaryFields(jspb_internal_binary.RWInt64,jspb_intern
al_binary.RWDouble);jspb_internal_binary.Int64FloatMap=module$contents$jspb_interna
l_binary_createMapEntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_bina
ry.RWFloat);
jspb_internal_binary.Int64Int64Map=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWInt64);jspb_int
ernal_binary.Int64Uint64Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWUint64);jspb_internal_
binary.Int64Int32Map=module$contents$jspb_internal_binary_createMapEntryBinaryField
s(jspb_internal_binary.RWInt64,jspb_internal_binary.RWInt32);
jspb_internal_binary.Int64Fixed64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWFixed64);jspb
_internal_binary.Int64Fixed32Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWFixed32);jspb_int
ernal_binary.Int64BoolMap=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWBool);
jspb_internal_binary.Int64StringMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWString);jspb_i
nternal_binary.Int64StringRequireUtf8Map=module$exports$jspb$binary$reader.UTF8_PAR
SING_ERRORS_ARE_FATAL?
jspb_internal_binary.Int64StringMap:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RStringRequireUt
f8WString);
jspb_internal_binary.Int64BytesMap=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWBytes);jspb_int
ernal_binary.Int64Uint32Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWUint32);jspb_internal_
binary.Int64EnumMap=module$contents$jspb_internal_binary_createMapEntryBinaryFields
(jspb_internal_binary.RWInt64,jspb_internal_binary.RWEnum);
jspb_internal_binary.Int64Sfixed32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWSfixed32);js
pb_internal_binary.Int64Sfixed64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWSfixed64);jspb
_internal_binary.Int64Sint32Map=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWSint32);
jspb_internal_binary.Int64Sint64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt64,jspb_internal_binary.RWSint64);jspb_i
nternal_binary.Uint64DoubleMap=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWDouble);jspb_inter
nal_binary.Uint64FloatMap=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWFloat);
jspb_internal_binary.Uint64Int64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWInt64);jspb_i
nternal_binary.Uint64Uint64Map=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWUint64);jspb_inter
nal_binary.Uint64Int32Map=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWInt32);
jspb_internal_binary.Uint64Fixed64Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWFixed64);js
pb_internal_binary.Uint64Fixed32Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWFixed32);jspb
_internal_binary.Uint64BoolMap=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWBool);
jspb_internal_binary.Uint64StringMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWString);jspb
_internal_binary.Uint64StringRequireUtf8Map=module$exports$jspb$binary$reader.UTF8_
PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Uint64StringMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RStringRequire
Utf8WString);
jspb_internal_binary.Uint64BytesMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWBytes);jspb_i
nternal_binary.Uint64Uint32Map=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWUint32);jspb_inter
nal_binary.Uint64EnumMap=module$contents$jspb_internal_binary_createMapEntryBinaryF
ields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWEnum);
jspb_internal_binary.Uint64Sfixed32Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Uint64Sfixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWSfixed64);
jspb_internal_binary.Uint64Sint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWSint32);
jspb_internal_binary.Uint64Sint64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint64,jspb_internal_binary.RWSint64);jspb
_internal_binary.Int32DoubleMap=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWDouble);jspb_inter
nal_binary.Int32FloatMap=module$contents$jspb_internal_binary_createMapEntryBinaryF
ields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWFloat);
jspb_internal_binary.Int32Int64Map=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWInt64);jspb_int
ernal_binary.Int32Uint64Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWUint64);jspb_internal_
binary.Int32Int32Map=module$contents$jspb_internal_binary_createMapEntryBinaryField
s(jspb_internal_binary.RWInt32,jspb_internal_binary.RWInt32);
jspb_internal_binary.Int32Fixed64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWFixed64);jspb
_internal_binary.Int32Fixed32Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWFixed32);jspb_int
ernal_binary.Int32BoolMap=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWBool);
jspb_internal_binary.Int32StringMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWString);jspb_i
nternal_binary.Int32StringRequireUtf8Map=module$exports$jspb$binary$reader.UTF8_PAR
SING_ERRORS_ARE_FATAL?
jspb_internal_binary.Int32StringMap:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RStringRequireUt
f8WString);
jspb_internal_binary.Int32BytesMap=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWBytes);jspb_int
ernal_binary.Int32Uint32Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWUint32);jspb_internal_
binary.Int32EnumMap=module$contents$jspb_internal_binary_createMapEntryBinaryFields
(jspb_internal_binary.RWInt32,jspb_internal_binary.RWEnum);
jspb_internal_binary.Int32Sfixed32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWSfixed32);js
pb_internal_binary.Int32Sfixed64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWSfixed64);jspb
_internal_binary.Int32Sint32Map=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWSint32);
jspb_internal_binary.Int32Sint64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWInt32,jspb_internal_binary.RWSint64);jspb_i
nternal_binary.Fixed64DoubleMap=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWDouble);jspb_int
ernal_binary.Fixed64FloatMap=module$contents$jspb_internal_binary_createMapEntryBin
aryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWFloat);
jspb_internal_binary.Fixed64Int64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWInt64);jspb
_internal_binary.Fixed64Uint64Map=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWUint64);jspb_i
nternal_binary.Fixed64Int32Map=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWInt32);
jspb_internal_binary.Fixed64Fixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Fixed64Fixed32Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWFixed32);
jspb_internal_binary.Fixed64BoolMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWBool);
jspb_internal_binary.Fixed64StringMap=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWString);js
pb_internal_binary.Fixed64StringRequireUtf8Map=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Fixed64StringMap:module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RStringRequi
reUtf8WString);
jspb_internal_binary.Fixed64BytesMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWBytes);jspb
_internal_binary.Fixed64Uint32Map=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWUint32);jspb_i
nternal_binary.Fixed64EnumMap=module$contents$jspb_internal_binary_createMapEntryBi
naryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWEnum);
jspb_internal_binary.Fixed64Sfixed32Map=module$contents$jspb_internal_binary_create
MapEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWSfixed32
);jspb_internal_binary.Fixed64Sfixed64Map=module$contents$jspb_internal_binary_crea
teMapEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWSfixed
64);jspb_internal_binary.Fixed64Sint32Map=module$contents$jspb_internal_binary_crea
teMapEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWSint32
);
jspb_internal_binary.Fixed64Sint64Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed64,jspb_internal_binary.RWSint64);js
pb_internal_binary.Fixed32DoubleMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWDouble);jspb
_internal_binary.Fixed32FloatMap=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWFloat);
jspb_internal_binary.Fixed32Int64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWInt64);jspb
_internal_binary.Fixed32Uint64Map=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWUint64);jspb_i
nternal_binary.Fixed32Int32Map=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWInt32);
jspb_internal_binary.Fixed32Fixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Fixed32Fixed32Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWFixed32);
jspb_internal_binary.Fixed32BoolMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWBool);
jspb_internal_binary.Fixed32StringMap=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWString);js
pb_internal_binary.Fixed32StringRequireUtf8Map=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Fixed32StringMap:module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RStringRequi
reUtf8WString);
jspb_internal_binary.Fixed32BytesMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWBytes);jspb
_internal_binary.Fixed32Uint32Map=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWUint32);jspb_i
nternal_binary.Fixed32EnumMap=module$contents$jspb_internal_binary_createMapEntryBi
naryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWEnum);
jspb_internal_binary.Fixed32Sfixed32Map=module$contents$jspb_internal_binary_create
MapEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWSfixed32
);jspb_internal_binary.Fixed32Sfixed64Map=module$contents$jspb_internal_binary_crea
teMapEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWSfixed
64);jspb_internal_binary.Fixed32Sint32Map=module$contents$jspb_internal_binary_crea
teMapEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWSint32
);
jspb_internal_binary.Fixed32Sint64Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWFixed32,jspb_internal_binary.RWSint64);js
pb_internal_binary.BoolDoubleMap=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWDouble);jspb_inter
nal_binary.BoolFloatMap=module$contents$jspb_internal_binary_createMapEntryBinaryFi
elds(jspb_internal_binary.RWBool,jspb_internal_binary.RWFloat);
jspb_internal_binary.BoolInt64Map=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWInt64);jspb_inter
nal_binary.BoolUint64Map=module$contents$jspb_internal_binary_createMapEntryBinaryF
ields(jspb_internal_binary.RWBool,jspb_internal_binary.RWUint64);jspb_internal_bina
ry.BoolInt32Map=module$contents$jspb_internal_binary_createMapEntryBinaryFields(jsp
b_internal_binary.RWBool,jspb_internal_binary.RWInt32);
jspb_internal_binary.BoolFixed64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWFixed64);jspb_i
nternal_binary.BoolFixed32Map=module$contents$jspb_internal_binary_createMapEntryBi
naryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWFixed32);jspb_interna
l_binary.BoolBoolMap=module$contents$jspb_internal_binary_createMapEntryBinaryField
s(jspb_internal_binary.RWBool,jspb_internal_binary.RWBool);
jspb_internal_binary.BoolStringMap=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWString);jspb_int
ernal_binary.BoolStringRequireUtf8Map=module$exports$jspb$binary$reader.UTF8_PARSIN
G_ERRORS_ARE_FATAL?
jspb_internal_binary.BoolStringMap:module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RStringRequireUtf8
WString);
jspb_internal_binary.BoolBytesMap=module$contents$jspb_internal_binary_createMapEnt
ryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWBytes);jspb_inter
nal_binary.BoolUint32Map=module$contents$jspb_internal_binary_createMapEntryBinaryF
ields(jspb_internal_binary.RWBool,jspb_internal_binary.RWUint32);jspb_internal_bina
ry.BoolEnumMap=module$contents$jspb_internal_binary_createMapEntryBinaryFields(jspb
_internal_binary.RWBool,jspb_internal_binary.RWEnum);
jspb_internal_binary.BoolSfixed32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWSfixed32);jspb
_internal_binary.BoolSfixed64Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWSfixed64);jspb_int
ernal_binary.BoolSint32Map=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWSint32);
jspb_internal_binary.BoolSint64Map=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWBool,jspb_internal_binary.RWSint64);jspb_int
ernal_binary.StringDoubleMap=module$contents$jspb_internal_binary_createMapEntryBin
aryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWDouble);
jspb_internal_binary.StringRequireUtf8DoubleMap=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringDoubleMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RWDouble);jspb_internal_binary.StringFloatMap=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RW
Float);
jspb_internal_binary.StringRequireUtf8FloatMap=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringFloatMap:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binar
y.RWFloat);jspb_internal_binary.StringInt64Map=module$contents$jspb_internal_binary
_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWIn
t64);
jspb_internal_binary.StringRequireUtf8Int64Map=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringInt64Map:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binar
y.RWInt64);jspb_internal_binary.StringUint64Map=module$contents$jspb_internal_binar
y_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWU
int64);
jspb_internal_binary.StringRequireUtf8Uint64Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringUint64Map:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RWUint64);jspb_internal_binary.StringInt32Map=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RW
Int32);
jspb_internal_binary.StringRequireUtf8Int32Map=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringInt32Map:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binar
y.RWInt32);jspb_internal_binary.StringFixed64Map=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RW
Fixed64);
jspb_internal_binary.StringRequireUtf8Fixed64Map=module$exports$jspb$binary$reader.
UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringFixed64Map:module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bin
ary.RWFixed64);jspb_internal_binary.StringFixed32Map=module$contents$jspb_internal_
binary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binar
y.RWFixed32);
jspb_internal_binary.StringRequireUtf8Fixed32Map=module$exports$jspb$binary$reader.
UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringFixed32Map:module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bin
ary.RWFixed32);jspb_internal_binary.StringBoolMap=module$contents$jspb_internal_bin
ary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.R
WBool);
jspb_internal_binary.StringRequireUtf8BoolMap=module$exports$jspb$binary$reader.UTF
8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringBoolMap:module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binary
.RWBool);jspb_internal_binary.StringStringMap=module$contents$jspb_internal_binary_
createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWStr
ing);
jspb_internal_binary.StringRequireUtf8StringRequireUtf8Map=module$exports$jspb$bina
ry$reader.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringStringMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RStringRequireUtf8WString);jspb_internal_binary.StringBytesMap=module$contents$j
spb_internal_binary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_i
nternal_binary.RWBytes);
jspb_internal_binary.StringRequireUtf8BytesMap=module$exports$jspb$binary$reader.UT
F8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringBytesMap:module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binar
y.RWBytes);jspb_internal_binary.StringUint32Map=module$contents$jspb_internal_binar
y_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWU
int32);
jspb_internal_binary.StringRequireUtf8Uint32Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringUint32Map:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RWUint32);jspb_internal_binary.StringEnumMap=module$contents$jspb_internal_binar
y_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWE
num);
jspb_internal_binary.StringRequireUtf8EnumMap=module$exports$jspb$binary$reader.UTF
8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringEnumMap:module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_binary
.RWEnum);jspb_internal_binary.StringSfixed32Map=module$contents$jspb_internal_binar
y_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.RWS
fixed32);
jspb_internal_binary.StringRequireUtf8Sfixed32Map=module$exports$jspb$binary$reader
.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringSfixed32Map:module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bi
nary.RWSfixed32);jspb_internal_binary.StringSfixed64Map=module$contents$jspb_intern
al_binary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_bi
nary.RWSfixed64);
jspb_internal_binary.StringRequireUtf8Sfixed64Map=module$exports$jspb$binary$reader
.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringSfixed64Map:module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bi
nary.RWSfixed64);jspb_internal_binary.StringSint32Map=module$contents$jspb_internal
_binary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_bina
ry.RWSint32);
jspb_internal_binary.StringRequireUtf8Sint32Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringSint32Map:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RWSint32);jspb_internal_binary.StringSint64Map=module$contents$jspb_internal_bin
ary_createMapEntryBinaryFields(jspb_internal_binary.RWString,jspb_internal_binary.R
WSint64);
jspb_internal_binary.StringRequireUtf8Sint64Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.StringSint64Map:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RStringRequireUtf8WString,jspb_internal_bina
ry.RWSint64);jspb_internal_binary.Uint32DoubleMap=module$contents$jspb_internal_bin
ary_createMapEntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.R
WDouble);
jspb_internal_binary.Uint32FloatMap=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWFloat);jspb_i
nternal_binary.Uint32Int64Map=module$contents$jspb_internal_binary_createMapEntryBi
naryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWInt64);jspb_interna
l_binary.Uint32Uint64Map=module$contents$jspb_internal_binary_createMapEntryBinaryF
ields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWUint64);
jspb_internal_binary.Uint32Int32Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWInt32);jspb_i
nternal_binary.Uint32Fixed64Map=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWFixed64);jspb_int
ernal_binary.Uint32Fixed32Map=module$contents$jspb_internal_binary_createMapEntryBi
naryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWFixed32);
jspb_internal_binary.Uint32BoolMap=module$contents$jspb_internal_binary_createMapEn
tryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWBool);jspb_int
ernal_binary.Uint32StringMap=module$contents$jspb_internal_binary_createMapEntryBin
aryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWString);
jspb_internal_binary.Uint32StringRequireUtf8Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Uint32StringMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RStringRequire
Utf8WString);jspb_internal_binary.Uint32BytesMap=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RW
Bytes);
jspb_internal_binary.Uint32Uint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWUint32);jspb
_internal_binary.Uint32EnumMap=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWEnum);jspb_interna
l_binary.Uint32Sfixed32Map=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Uint32Sfixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWSfixed64);
jspb_internal_binary.Uint32Sint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWSint32);jspb
_internal_binary.Uint32Sint64Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWUint32,jspb_internal_binary.RWSint64);
jspb_internal_binary.Sfixed32DoubleMap=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWDouble);
jspb_internal_binary.Sfixed32FloatMap=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWFloat);js
pb_internal_binary.Sfixed32Int64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWInt64);
jspb_internal_binary.Sfixed32Uint64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWUint64);
jspb_internal_binary.Sfixed32Int32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWInt32);js
pb_internal_binary.Sfixed32Fixed64Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Sfixed32Fixed32Map=module$contents$jspb_internal_binary_create
MapEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWFixed32
);jspb_internal_binary.Sfixed32BoolMap=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWBool);js
pb_internal_binary.Sfixed32StringMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWString);
jspb_internal_binary.Sfixed32StringRequireUtf8Map=module$exports$jspb$binary$reader
.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Sfixed32StringMap:module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RStringReq
uireUtf8WString);jspb_internal_binary.Sfixed32BytesMap=module$contents$jspb_interna
l_binary_createMapEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_b
inary.RWBytes);
jspb_internal_binary.Sfixed32Uint32Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWUint32);
jspb_internal_binary.Sfixed32EnumMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWEnum);jspb
_internal_binary.Sfixed32Sfixed32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Sfixed32Sfixed64Map=module$contents$jspb_internal_binary_creat
eMapEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWSfixed
64);jspb_internal_binary.Sfixed32Sint32Map=module$contents$jspb_internal_binary_cre
ateMapEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWSint
32);jspb_internal_binary.Sfixed32Sint64Map=module$contents$jspb_internal_binary_cre
ateMapEntryBinaryFields(jspb_internal_binary.RWSfixed32,jspb_internal_binary.RWSint
64);
jspb_internal_binary.Sfixed64DoubleMap=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWDouble);
jspb_internal_binary.Sfixed64FloatMap=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWFloat);js
pb_internal_binary.Sfixed64Int64Map=module$contents$jspb_internal_binary_createMapE
ntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWInt64);
jspb_internal_binary.Sfixed64Uint64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWUint64);
jspb_internal_binary.Sfixed64Int32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWInt32);js
pb_internal_binary.Sfixed64Fixed64Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Sfixed64Fixed32Map=module$contents$jspb_internal_binary_create
MapEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWFixed32
);jspb_internal_binary.Sfixed64BoolMap=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWBool);js
pb_internal_binary.Sfixed64StringMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWString);
jspb_internal_binary.Sfixed64StringRequireUtf8Map=module$exports$jspb$binary$reader
.UTF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Sfixed64StringMap:module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RStringReq
uireUtf8WString);jspb_internal_binary.Sfixed64BytesMap=module$contents$jspb_interna
l_binary_createMapEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_b
inary.RWBytes);
jspb_internal_binary.Sfixed64Uint32Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWUint32);
jspb_internal_binary.Sfixed64EnumMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWEnum);jspb
_internal_binary.Sfixed64Sfixed32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Sfixed64Sfixed64Map=module$contents$jspb_internal_binary_creat
eMapEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWSfixed
64);jspb_internal_binary.Sfixed64Sint32Map=module$contents$jspb_internal_binary_cre
ateMapEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWSint
32);jspb_internal_binary.Sfixed64Sint64Map=module$contents$jspb_internal_binary_cre
ateMapEntryBinaryFields(jspb_internal_binary.RWSfixed64,jspb_internal_binary.RWSint
64);
jspb_internal_binary.Sint32DoubleMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWDouble);jspb
_internal_binary.Sint32FloatMap=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWFloat);jspb_inter
nal_binary.Sint32Int64Map=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWInt64);
jspb_internal_binary.Sint32Uint64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWUint64);jspb
_internal_binary.Sint32Int32Map=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWInt32);jspb_inter
nal_binary.Sint32Fixed64Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Sint32Fixed32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWFixed32);js
pb_internal_binary.Sint32BoolMap=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWBool);jspb_inter
nal_binary.Sint32StringMap=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWString);
jspb_internal_binary.Sint32StringRequireUtf8Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Sint32StringMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RStringRequire
Utf8WString);jspb_internal_binary.Sint32BytesMap=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RW
Bytes);
jspb_internal_binary.Sint32Uint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWUint32);jspb
_internal_binary.Sint32EnumMap=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWEnum);jspb_interna
l_binary.Sint32Sfixed32Map=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Sint32Sfixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWSfixed64);
jspb_internal_binary.Sint32Sint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWSint32);jspb
_internal_binary.Sint32Sint64Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWSint32,jspb_internal_binary.RWSint64);
jspb_internal_binary.Sint64DoubleMap=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWDouble);jspb
_internal_binary.Sint64FloatMap=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWFloat);jspb_inter
nal_binary.Sint64Int64Map=module$contents$jspb_internal_binary_createMapEntryBinary
Fields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWInt64);
jspb_internal_binary.Sint64Uint64Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWUint64);jspb
_internal_binary.Sint64Int32Map=module$contents$jspb_internal_binary_createMapEntry
BinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWInt32);jspb_inter
nal_binary.Sint64Fixed64Map=module$contents$jspb_internal_binary_createMapEntryBina
ryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWFixed64);
jspb_internal_binary.Sint64Fixed32Map=module$contents$jspb_internal_binary_createMa
pEntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWFixed32);js
pb_internal_binary.Sint64BoolMap=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWBool);jspb_inter
nal_binary.Sint64StringMap=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWString);
jspb_internal_binary.Sint64StringRequireUtf8Map=module$exports$jspb$binary$reader.U
TF8_PARSING_ERRORS_ARE_FATAL?
jspb_internal_binary.Sint64StringMap:module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RStringRequire
Utf8WString);jspb_internal_binary.Sint64BytesMap=module$contents$jspb_internal_bina
ry_createMapEntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RW
Bytes);
jspb_internal_binary.Sint64Uint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWUint32);jspb
_internal_binary.Sint64EnumMap=module$contents$jspb_internal_binary_createMapEntryB
inaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWEnum);jspb_interna
l_binary.Sint64Sfixed32Map=module$contents$jspb_internal_binary_createMapEntryBinar
yFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWSfixed32);
jspb_internal_binary.Sint64Sfixed64Map=module$contents$jspb_internal_binary_createM
apEntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWSfixed64);
jspb_internal_binary.Sint64Sint32Map=module$contents$jspb_internal_binary_createMap
EntryBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWSint32);jspb
_internal_binary.Sint64Sint64Map=module$contents$jspb_internal_binary_createMapEntr
yBinaryFields(jspb_internal_binary.RWSint64,jspb_internal_binary.RWSint64);function
module$contents$jspb$internal_get_type_name_getCtorTypeName(a)
{if(module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES)return
a.internalDoNotUse_debugOnlyProtoTypeName}function
module$contents$jspb$internal_get_type_name_getMessageInstanceTypeName(a){if(a
instanceof module$exports$jspb.Message)return
module$contents$jspb$internal_get_type_name_getCtorTypeName(a.constructor)}
function module$contents$jspb$internal_get_type_name_installTypeNameExport()
{if(module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES){var
a=goog.global.jspbGetTypeName;goog.global.jspbGetTypeName=a?function(b){return
a(b)||
module$contents$jspb$internal_get_type_name_getMessageInstanceTypeName(b)}:module$c
ontents$jspb$internal_get_type_name_getMessageInstanceTypeName}};var
module$exports$jspb$mutable_message={},module$contents$jspb$mutable_message_Mutable
MessageImpl=function(){module$exports$jspb.Message.apply(this,arguments)};
$jscomp.inherits(module$contents$jspb$mutable_message_MutableMessageImpl,module$exp
orts$jspb.Message);module$contents$jspb$mutable_message_MutableMessageImpl.prototyp
e.getExtension=function(a){return
module$exports$jspb.Message.prototype.getExtension.call(this,a)};
module$contents$jspb$mutable_message_MutableMessageImpl.prototype.getExtensionOrUnd
efined=function(a){return
module$exports$jspb.Message.prototype.getExtensionOrUndefined.call(this,a)};module$
contents$jspb$mutable_message_MutableMessageImpl.prototype.toMutable=function()
{return
module$exports$jspb.Message.prototype.toMutable.call(this)};module$contents$jspb$mu
table_message_MutableMessageImpl.prototype.clone=function(){var
a=(0,goog.asserts.assertInstanceof)(this,module$exports$jspb.Message);return
module$contents$jspb$internal_immutability_copyMutableWithImmutableFields(a)};
module$contents$jspb$mutable_message_MutableMessageImpl.equals=function(){throw
Error("Call equals directly on the Message class, not a subclass");};
if(module$exports$jspb$internal.SUPPORTS_HAS_INSTANCE&&module$exports$jspb$internal
_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY){var
rejectInstanceof$jscomp$2=function(){throw Error(goog.DEBUG?"Cannot perform
instanceof checks for MutableMessage. Please use .isMutable or .isImmutable to
determine whether a message is mutable. See go/jspb-api-gotchas#immutable-classes
for more information":void 0);},
$jscomp$compprop26={};Object.defineProperties(module$contents$jspb$mutable_message_
MutableMessageImpl,
($jscomp$compprop26[Symbol.hasInstance]=module$contents$jspb$internal_invisibleProp
Value(rejectInstanceof$jscomp$2),$jscomp$compprop26));(0,goog.asserts.assert)
(module$contents$jspb$mutable_message_MutableMessageImpl[Symbol.hasInstance]===reje
ctInstanceof$jscomp$2,"defineProperties did not work: was it monkey-patched?")}
module$exports$jspb$mutable_message.MutableMessage=module$exports$jspb$internal_opt
ions.USE_DETAILED_MESSAGE_TYPE_HIERARCHY?
module$contents$jspb$mutable_message_MutableMessageImpl:module$exports$jspb.Message
;var
module$exports$google3$javascript$common$asserts$internal={};module$exports$google3
$javascript$common$asserts$internal.ENABLE_ASSERTS=goog.DEBUG;var
module$contents$google3$javascript$common$asserts$internal_DEBUG_ASSERTS_INTERNAL=m
odule$exports$google3$javascript$common$asserts$internal.ENABLE_ASSERTS&&goog.DEBUG
;module$exports$google3$javascript$common$asserts$internal.DEBUG_ASSERTS=module$exp
orts$google3$javascript$common$asserts$internal.ENABLE_ASSERTS&&module$contents$goo
gle3$javascript$common$asserts$internal_DEBUG_ASSERTS_INTERNAL;
function module$contents$google3$javascript$common$asserts$internal_StateGuard()
{}module$exports$google3$javascript$common$asserts$internal.StateGuard=module$conte
nts$google3$javascript$common$asserts$internal_StateGuard;function
module$contents$google3$javascript$common$asserts$internal_TypeGuard()
{}module$exports$google3$javascript$common$asserts$internal.TypeGuard=module$conten
ts$google3$javascript$common$asserts$internal_TypeGuard;
function module$contents$google3$javascript$common$asserts$internal_Context()
{}module$exports$google3$javascript$common$asserts$internal.Context=module$contents
$google3$javascript$common$asserts$internal_Context;function
module$contents$google3$javascript$common$asserts$internal_DebugGuard()
{}module$exports$google3$javascript$common$asserts$internal.DebugGuard=module$conte
nts$google3$javascript$common$asserts$internal_DebugGuard;
function
module$contents$google3$javascript$common$asserts$internal_basicPrettyPrint(a,b)
{b=void 0===b?new Set:b;if(!goog.DEBUG)throw Error("basicPrettyPrint should only be
used in DEBUG mode");if(b.has(a))return"(Recursive reference)";switch(typeof a)
{case "object":if(a){var c=Object.getPrototypeOf(a);switch(c){case
Map.prototype:case Set.prototype:case Array.prototype:b.add(a);var
d="["+Array.from(a,function(e){return
module$contents$google3$javascript$common$asserts$internal_basicPrettyPrint(e,
b)}).join(", ")+"]";b.delete(a);c!
==Array.prototype&&(a=module$contents$google3$javascript$common$asserts$internal_fu
nctionName(c.constructor),d=a+"("+d+")");return d;case Object.prototype:return
b.add(a),c="{"+Object.entries(a).map(function(e){var
f=$jscomp.makeIterator(e);e=f.next().value;f=f.next().value;return e+":
"+module$contents$google3$javascript$common$asserts$internal_basicPrettyPrint(f,b)}
).join(", ")+"}",b.delete(a),c;default:return
d="Object",c&&c.constructor&&(d=module$contents$google3$javascript$common$asserts$i
nternal_functionName(c.constructor)),
"function"===typeof a.toString&&a.toString!==Object.prototype.toString?
(a=String(a),d+"("+a+")"):"(object "+d+")"}}break;case "function":return
a=module$contents$google3$javascript$common$asserts$internal_functionName(a),"funct
ion "+a;case "number":if(!Number.isFinite(a))return String(a);break;case
"bigint":return a.toString(10)+"n";case "symbol":return a.toString()}return
JSON.stringify(a)}module$exports$google3$javascript$common$asserts$internal.basicPr
ettyPrint=module$contents$google3$javascript$common$asserts$internal_basicPrettyPri
nt;
function module$contents$google3$javascript$common$asserts$internal_functionName(a)
{var b=a.displayName;if(b&&"string"===typeof b||(b=a.name)&&"string"===typeof
b)return b;a=String(a);return(a=/function\s+([^\(]+)/m.exec(a))?
a[1]:"(Anonymous)"}module$exports$google3$javascript$common$asserts$internal.functi
onName=module$contents$google3$javascript$common$asserts$internal_functionName;func
tion module$contents$google3$javascript$common$asserts$internal_Result(){}
module$exports$google3$javascript$common$asserts$internal.Result=module$contents$go
ogle3$javascript$common$asserts$internal_Result;function
module$contents$google3$javascript$common$asserts$asserts_defineStateGuard(a,b)
{if(!module$exports$google3$javascript$common$asserts$internal.DEBUG_ASSERTS)return
a;a.guardName="function"===typeof b?b:function(){return b};return
a}module$contents$google3$javascript$common$asserts$asserts_defineStateGuard(functi
on(a){return null!==a&&void 0!
==a},"exists");module$contents$jspb$internal_get_type_name_installTypeNameExport();
var module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT=!
goog.DISALLOW_TEST_ONLY_CODE;function
module$contents$jspb_internal_public_for_gencode_toObjectPrimitive(a){return
null===a?void 0:a}var
module$contents$jspb_internal_public_for_gencode_GeneratedMessageImpl=function()
{module$exports$jspb$mutable_message.MutableMessage.apply(this,arguments)};
$jscomp.inherits(module$contents$jspb_internal_public_for_gencode_GeneratedMessageI
mpl,module$exports$jspb$mutable_message.MutableMessage);module$contents$jspb_intern
al_public_for_gencode_GeneratedMessageImpl.prototype.toMutable=function(){return
module$exports$jspb$mutable_message.MutableMessage.prototype.toMutable.call(this)};
goog.asserts.ENABLE_ASSERTS&&module$exports$jspb$internal_options.USE_DETAILED_MESS
AGE_TYPE_HIERARCHY&&(module$contents$jspb_internal_public_for_gencode_GeneratedMess
ageImpl.prototype[module$exports$jspb$internal.GENERATED_SUBCLASS_MARKER]=!0);
if(module$exports$jspb$internal.SUPPORTS_HAS_INSTANCE&&module$exports$jspb$internal
_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY){var
$jscomp$compprop27={};Object.defineProperties(module$contents$jspb_internal_public_
for_gencode_GeneratedMessageImpl,
($jscomp$compprop27[Symbol.hasInstance]=module$contents$jspb$internal_invisibleProp
Value(Object[Symbol.hasInstance]),
$jscomp$compprop27));goog.asserts.assert(module$contents$jspb_internal_public_for_g
encode_GeneratedMessageImpl[Symbol.hasInstance]===Object[Symbol.hasInstance],
"broken defineProperties implementation")}var
module$contents$jspb_internal_public_for_gencode_GeneratedMessage=module$exports$js
pb$internal_options.USE_DETAILED_MESSAGE_TYPE_HIERARCHY?
module$contents$jspb_internal_public_for_gencode_GeneratedMessageImpl:module$export
s$jspb.Message;function
module$contents$jspb_internal_public_for_gencode_assertMutable(a)
{if(module$contents$jspb$internal_isImmutableMessage(a))throw Error("message must
be mutable");}
function module$contents$jspb_internal_public_for_gencode_getTypeName(a){var
b;return
module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(b=module$conte
nts$jspb$internal_get_type_name_getCtorTypeName(a))?b:(b=a.displayName)?
b:a.name||""}function
module$contents$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(a)
{return function(){return
module$contents$jspb$internal_accessor_helpers_getDefaultImmutableInstance(a)}}
function
module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunc
tion(a){return function(b,c){return
module$contents$jspb$internal_immutability_recursiveMarkMessageImmutable(a(b,c))}}f
unction
module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryFunction(a,b)
{return function(c,d){return(0,jspb_internal_binary.deserializeBinary)(c,a,b,d)}}
function
module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryFromReaderFun
ction(a){return function(b,c)
{module$contents$jspb_internal_binary_makeDeserializeBinaryFromReaderFromBinaryFiel
ds(a)(b.internalArray_,c);return b}}function
module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction(a)
{return function(b){return(0,jspb_internal_binary.serializeBinary)(b,a)}}
function
module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFun
ction(a){return function(b)
{return(0,jspb_internal_binary.serializeBinaryToByteString)(b,a)}}function
module$contents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFuncti
on(a){return function(){return(0,jspb_internal_binary.serializeBinary)(this,a)}}
function
module$contents$jspb_internal_public_for_gencode_makeCrossSerializerComparisonsComp
atibleFunction(a,b){var c=function(d)
{return(0,jspb_internal_binary.makeCrossSerializerComparisonsCompatible)
(goog.asserts.assertInstanceof(goog.asserts.assertInstanceof(d,a),module$exports$js
pb.Message),b)};goog.DEBUG&&(a.makeCrossSerializerComparisonsCompatible=c);return
c}
function
module$contents$jspb_internal_public_for_gencode_makeHasImmutableInstance(a){return
module$contents$google3$javascript$common$asserts$asserts_defineStateGuard(function
(b){return b instanceof
a&&module$contents$jspb$internal_isImmutableMessage(b)},function()
{return"ImmutableMessage:"+module$contents$jspb_internal_public_for_gencode_getType
Name(a)})}
function module$contents$jspb_internal_public_for_gencode_makeHasMutableInstance(a)
{return
module$contents$google3$javascript$common$asserts$asserts_defineStateGuard(function
(b){return b instanceof a&&!
module$contents$jspb$internal_isImmutableMessage(b)},function()
{return"MutableMessage:"+module$contents$jspb_internal_public_for_gencode_getTypeNa
me(a)})}
function
module$contents$jspb_internal_public_for_gencode_makeImmutableDeserializeFunction(a
){return function(b){var
c=a;goog.asserts.assertString(b);goog.asserts.assertFunction(c);b=JSON.parse(b);if(
!Array.isArray(b))throw Error("Expected jspb data to be an array, got
"+goog.typeOf(b)+":
"+b);module$contents$jspb$internal_array_state_markArrayImmutable(b);c=new
c(b);goog.asserts.assert(module$contents$jspb$internal_isMessage(c));return c}}
function
module$contents$jspb_internal_public_for_gencode_makeMutableDeserializeFunction(a)
{return function(b){return
module$exports$jspb.Message.deserializeWithCtor(a,b)}};jspb$.engage$enums$uservoice
$feedback$MutableUserVoiceFeedbackConfigEnums=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConf
igEnums,module$contents$jspb_internal_public_for_gencode_GeneratedMessage);jspb$.en
gage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.deserialize=modul
e$contents$jspb_internal_public_for_gencode_makeMutableDeserializeFunction(jspb$.en
gage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums);
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.hasInstan
ce=module$contents$jspb_internal_public_for_gencode_makeHasMutableInstance(jspb$.en
gage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums);module$exports$j
spb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(jspb$.engage$enums$uservoice$f
eedback$MutableUserVoiceFeedbackConfigEnums.internalDoNotUse_debugOnlyProtoTypeName
="engage.enums.uservoice.feedback.UserVoiceFeedbackConfigEnums");
jspb$.engage$enums$uservoice$feedback$ReadonlyUserVoiceFeedbackConfigEnums={};jspb$
.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.ObjectFormat=f
unction()
{};module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.en
gage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.fromObject=functi
on(){var a=new
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums;return
a});
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.prototype
.toObject=function(){return
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.internal_
toObject(this)};jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfi
gEnums.internal_toObject=function(a){if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={}};
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.internalD
oNotUse$engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$binaryFieldsOb
ject=[0];jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.
deserializeBinary=module$contents$jspb_internal_public_for_gencode_makeDeserializeB
inaryFunction(jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigE
nums,jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.inte
rnalDoNotUse$engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$binaryFie
ldsObject);
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.deseriali
zeBinaryFromReader=module$contents$jspb_internal_public_for_gencode_makeDeserialize
BinaryFromReaderFunction(jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeed
backConfigEnums.internalDoNotUse$engage$enums$uservoice$feedback$UserVoiceFeedbackC
onfigEnums$binaryFieldsObject);jspb$.engage$enums$uservoice$feedback$MutableUserVoi
ceFeedbackConfigEnums.prototype.serializeBinary=module$contents$jspb_internal_publi
c_for_gencode_makePrototypeSerializeBinaryFunction(jspb$.engage$enums$uservoice$fee
dback$MutableUserVoiceFeedbackConfigEnums.internalDoNotUse$engage$enums$uservoice$f
eedback$UserVoiceFeedbackConfigEnums$binaryFieldsObject);
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.serialize
Binary=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction
(jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.internal
DoNotUse$engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$binaryFieldsO
bject);jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.se
rializeBinaryToByteString=module$contents$jspb_internal_public_for_gencode_makeSeri
alizeBinaryToByteStringFunction(jspb$.engage$enums$uservoice$feedback$MutableUserVo
iceFeedbackConfigEnums.internalDoNotUse$engage$enums$uservoice$feedback$UserVoiceFe
edbackConfigEnums$binaryFieldsObject);
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.makeCross
SerializerComparisonsCompatible=module$contents$jspb_internal_public_for_gencode_ma
keCrossSerializerComparisonsCompatibleFunction(jspb$.engage$enums$uservoice$feedbac
k$MutableUserVoiceFeedbackConfigEnums,jspb$.engage$enums$uservoice$feedback$Mutable
UserVoiceFeedbackConfigEnums.internalDoNotUse$engage$enums$uservoice$feedback$UserV
oiceFeedbackConfigEnums$binaryFieldsObject);jspb.immutable_message={};jspb.immutabl
e_message.ImmutableMessage=module$exports$jspb$immutable_message.ImmutableMessage;j
spb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums=function
(){module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackCo
nfigEnums,module$exports$jspb$immutable_message.ImmutableMessage);jspb$.engage$enum
s$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.deserialize=module$conte
nts$jspb_internal_public_for_gencode_makeImmutableDeserializeFunction(jspb$.engage$
enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums);
jspb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.getDefa
ultInstance=module$contents$jspb_internal_public_for_gencode_makeGetDefaultInstance
Function(jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums)
;jspb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.serial
izeBinary=jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums
.serializeBinary;
jspb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.seriali
zeBinaryToByteString=jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedback
ConfigEnums.serializeBinaryToByteString;jspb$.engage$enums$uservoice$feedback$Immut
ableUserVoiceFeedbackConfigEnums.deserializeBinary=module$contents$jspb_internal_pu
blic_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.engage$enums$uservoic
e$feedback$MutableUserVoiceFeedbackConfigEnums.deserializeBinary);
jspb$.engage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.makeCro
ssSerializerComparisonsCompatible=jspb$.engage$enums$uservoice$feedback$MutableUser
VoiceFeedbackConfigEnums.makeCrossSerializerComparisonsCompatible;jspb$.engage$enum
s$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums.hasInstance=module$conte
nts$jspb_internal_public_for_gencode_makeHasImmutableInstance(jspb$.engage$enums$us
ervoice$feedback$MutableUserVoiceFeedbackConfigEnums);var proto={engage:
{}};proto.engage.enums={};proto.engage.enums.uservoice={};proto.engage.enums.uservo
ice.feedback={};proto.engage.enums.uservoice.feedback.ReadonlyUserVoiceFeedbackConf
igEnums={};proto.engage.enums.uservoice.feedback.UserVoiceFeedbackConfigEnums=jspb$
.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums;proto.engage.e
nums.uservoice.feedback.MutableUserVoiceFeedbackConfigEnums=jspb$.engage$enums$user
voice$feedback$MutableUserVoiceFeedbackConfigEnums;
proto.engage.enums.uservoice.feedback.ImmutableUserVoiceFeedbackConfigEnums=jspb$.e
ngage$enums$uservoice$feedback$ImmutableUserVoiceFeedbackConfigEnums;jspb$.engage$e
nums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.FeedbackIntent=jspb$.en
gage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackIntent;jspb$.eng
age$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.FeedbackConfigStat
e=jspb$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackConfig
State;
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.FeedbackL
ocalizationTextType=jspb$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEn
ums$FeedbackLocalizationTextType;jspb$.engage$enums$uservoice$feedback$MutableUserV
oiceFeedbackConfigEnums.FeedbackTranslationStatus=jspb$.engage$enums$uservoice$feed
back$UserVoiceFeedbackConfigEnums$FeedbackTranslationStatus;jspb$.engage$enums$user
voice$feedback$MutableUserVoiceFeedbackConfigEnums.FeedbackConfigTemplate=jspb$.eng
age$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackConfigTemplate;
jspb$.engage$enums$uservoice$feedback$MutableUserVoiceFeedbackConfigEnums.FeedbackI
ntentType=jspb$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$Feedba
ckIntentType;var module$exports$ocean$books$ArticleInfo=function(a)
{this.articleProto_=a};module$exports$ocean$books$ArticleInfo.prototype.getArticleI
d=function(){return
this.articleProto_.aid};module$exports$ocean$books$ArticleInfo.prototype.getFocusCo
ordinates=function(){var
a=this.articleProto_.x_focus,b=this.articleProto_.y_focus;if(void 0===a||void
0===b){b=this.getHeadlineBoxes();if(!b.length)return null;a=b[0][0];b=b[0]
[1]}return new goog.math.Coordinate(a,b)};
module$exports$ocean$books$ArticleInfo.prototype.getArticleBoxes=function(){return
this.getBoxHelper_("boxes")};module$exports$ocean$books$ArticleInfo.prototype.getHe
adlineBoxes=function(){return
this.getBoxHelper_("head_boxes")};module$exports$ocean$books$ArticleInfo.prototype.
getBoxHelper_=function(a){var
b=[];this.articleProto_[a]&&module$contents$goog$array_forEach(this.articleProto_[a
],function(c){b.push([c.X,c.Y,c.W,c.H])});return b};var
module$exports$ocean$books$HeadlineDisplay=function(a){this.displayDiv_=a};
module$exports$ocean$books$HeadlineDisplay.prototype.drawHighlight=function(a,b,c,d
){var
e=goog.dom.createElement(goog.dom.TagName.DIV);e.setAttribute("id",this.BOUNDING_BO
X_ID);ocean.style.clearExternalStyles(e,!
0);goog.style.setOpacity(e,.3);goog.style.setStyle(e,
{position:"absolute",left:a+"px",top:b+"px",width:c+"px",height:d+"px",cursor:"poin
ter",backgroundColor:"#36C",border:"2px solid
#00F"});goog.dom.appendChild(this.displayDiv_,e)};
module$exports$ocean$books$HeadlineDisplay.prototype.resetDisplayDiv=function(a)
{this.displayDiv_=a;goog.dom.getElement(this.BOUNDING_BOX_ID)&&(a=goog.dom.getEleme
nt(this.BOUNDING_BOX_ID),goog.dom.removeNode(a))};module$exports$ocean$books$Headli
neDisplay.prototype.BOUNDING_BOX_ID="focus_article_div";ocean.books={};var
module$contents$ocean$books$LayoutSeparator_LayoutSeparator=function(a,b,c)
{this.previousPageInfo_=a;this.nextPageInfo_=b;this.forced_=c||!
1;a=this.getSize();this.isPublisherInfoSeparator()?
a.height=module$contents$ocean$books$LayoutSeparator_LayoutSeparator.PUBLISHER_SEPA
RATOR_SIZE:a.height=module$contents$ocean$books$LayoutSeparator_LayoutSeparator.SEP
ARATOR_SIZE;this.setSize(a)};
$jscomp.inherits(module$contents$ocean$books$LayoutSeparator_LayoutSeparator,module
$contents$ocean$layout$LayoutItem_LayoutItem);
module$contents$ocean$books$LayoutSeparator_LayoutSeparator.prototype.isPublisherIn
foSeparator=function(){var a=goog.dom.getElement("gb-mobile-menu-pubinfo");return
a?(a=goog.dom.getChildren(a),0<a.length&&null!
=this.previousPageInfo_&&0==this.previousPageInfo_.getOrderId()):!
1};module$contents$ocean$books$LayoutSeparator_LayoutSeparator.prototype.isForcedPu
blisherInfoSeparator=function(){return
this.isPublisherInfoSeparator&&this.forced_};
module$contents$ocean$books$LayoutSeparator_LayoutSeparator.SEPARATOR_SIZE=65;modul
e$contents$ocean$books$LayoutSeparator_LayoutSeparator.PUBLISHER_SEPARATOR_SIZE=120
;ocean.books.LayoutSeparator=module$contents$ocean$books$LayoutSeparator_LayoutSepa
rator;function
module$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout(a)
{ocean.layout.BaseGridLayout.call(this);this.columns_=a}goog.inherits(module$conten
ts$ocean$layout$VerticalGridLayout_VerticalGridLayout,ocean.layout.BaseGridLayout);
module$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout.prototype.fillCe
lls=function(){this.rows_=Math.ceil(this.items.length/this.columns_);for(var
a=0;a<this.rows_;a++)for(var b=0;b<this.columns_;b++){var
c=a*this.columns_+b;this.cells[b]=this.cells[b]||[];this.cells[b]
[a]=this.items[c]}};ocean.layout.VerticalGridLayout=module$contents$ocean$layout$Ve
rticalGridLayout_VerticalGridLayout;function
module$contents$ocean$layout$ViewportLayout_ViewportLayout(a)
{module$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout.call(this,a);th
is.itemMap_=new
Map}goog.inherits(module$contents$ocean$layout$ViewportLayout_ViewportLayout,module
$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout);
module$contents$ocean$layout$ViewportLayout_ViewportLayout.prototype.getLayoutPageB
yPageInfo=function(a){return
this.itemMap_.get(module$contents$ocean$layout$ViewportLayout_ViewportLayout.getKey
(module$contents$ocean$layout$LayoutPage_LayoutPage,a))};
module$contents$ocean$layout$ViewportLayout_ViewportLayout.prototype.getCorrespondi
ngItem=function(a){if(a instanceof
module$contents$ocean$books$LayoutSeparator_LayoutSeparator)a=module$contents$ocean
$layout$ViewportLayout_ViewportLayout.getKey(a.constructor,a.nextPageInfo_);else
if(a instanceof
module$contents$ocean$layout$LayoutPage_LayoutPage)a=module$contents$ocean$layout$V
iewportLayout_ViewportLayout.getKey(a.constructor,a.getPageInfo());else throw
Error("Input item must be a LayoutPage or LayoutSeparator.");
return this.itemMap_.get(a)};
module$contents$ocean$layout$ViewportLayout_ViewportLayout.prototype.addItem=functi
on(a){if(a instanceof module$contents$ocean$books$LayoutSeparator_LayoutSeparator)
{var
b=module$contents$ocean$layout$ViewportLayout_ViewportLayout.getKey(a.constructor,a
.nextPageInfo_);this.itemMap_.set(b,a)}else a instanceof
module$contents$ocean$layout$LayoutPage_LayoutPage&&(b=module$contents$ocean$layout
$ViewportLayout_ViewportLayout.getKey(a.constructor,a.getPageInfo()),this.itemMap_.
set(b,a));module$contents$ocean$layout$ViewportLayout_ViewportLayout.superClass_.ad
dItem.call(this,
a)};module$contents$ocean$layout$ViewportLayout_ViewportLayout.getKey=function(a,b)
{return goog.getUid(a)
+"#"+b.getPageId()};ocean.layout.ViewportLayout=module$contents$ocean$layout$Viewpo
rtLayout_ViewportLayout;var
module$contents$ocean$books$Layout_Layout=function(a,b,c,d,e)
{module$contents$ocean$layout$ViewportLayout_ViewportLayout.call(this,1);this.zoomM
ode_=b;this.zoomStop_=c;var f=d||!
1,g;a=a.getPageInfoArray();module$contents$goog$array_forEach(a,function(h)
{f&&g&&1<h.getOrderId()-g.getOrderId()&&this.addLayoutSeparator_(g,h);var
k=goog.dom.getElement("gb-mobile-menu-
pubinfo");k&&(k=goog.dom.getChildren(k),0<k.length&&!
f&&g&&h&&0==g.getOrderId()&&this.addLayoutSeparator_(g,h,!0));k=new
module$contents$ocean$layout$LayoutPage_LayoutPage(h);
var l=k.getSize();this.zoomMode_==ocean.layout.Layout.ZoomMode.FIXED_HEIGHT?
l.height=this.zoomStop_:l.width=this.zoomStop_;k.setSize(l);this.addItem(k);g=h},th
is);f&&g&&e&&g.getOrderId()<e.getOrderId()&&this.addLayoutSeparator_(g,e);this.calc
ulate()};
$jscomp.inherits(module$contents$ocean$books$Layout_Layout,module$contents$ocean$la
yout$ViewportLayout_ViewportLayout);
module$contents$ocean$books$Layout_Layout.prototype.addLayoutSeparator_=function(a,
b,c){c=c||!1;a=new
module$contents$ocean$books$LayoutSeparator_LayoutSeparator(a,b,c);b=a.getSize();th
is.zoomMode_==ocean.layout.Layout.ZoomMode.FIXED_HEIGHT?
b.height=this.zoomStop_:b.width=this.zoomStop_;a.setSize(b);this.addItem(a)};module
$contents$ocean$books$Layout_Layout.prototype.getZoomStop=function(){return
this.zoomStop_};module$contents$ocean$books$Layout_Layout.prototype.getZoomMode=fun
ction(){return this.zoomMode_};
module$contents$ocean$books$Layout_Layout.prototype.verticalSpacing=8;ocean.books.L
ayout=module$contents$ocean$books$Layout_Layout;var
module$contents$ocean$books$LayoutSeparatorRenderer_LayoutSeparatorRenderer=functio
n(a,b){this.viewer_=a;this.factory_=b};
$jscomp.inherits(module$contents$ocean$books$LayoutSeparatorRenderer_LayoutSeparato
rRenderer,module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer);mod
ule$contents$ocean$books$LayoutSeparatorRenderer_LayoutSeparatorRenderer.prototype.
render=function(a){var
b=this.factory_(a);b.setSize(a.getSize());b.setPosition(a.getPosition());return b};
ocean.books.LayoutSeparatorRenderer=module$contents$ocean$books$LayoutSeparatorRend
erer_LayoutSeparatorRenderer;var
module$contents$ocean$books$LayoutTwoPage_LayoutTwoPage=function(){};
$jscomp.inherits(module$contents$ocean$books$LayoutTwoPage_LayoutTwoPage,module$con
tents$ocean$layout$LayoutItem_LayoutItem);ocean.books.LayoutTwoPage=module$contents
$ocean$books$LayoutTwoPage_LayoutTwoPage;function
module$contents$ocean$viewport$BaseLayer_BaseLayer()
{module$contents$ocean$EventManager_EventManager.call(this)}goog.inherits(module$co
ntents$ocean$viewport$BaseLayer_BaseLayer,module$contents$ocean$EventManager_EventM
anager);module$contents$ocean$viewport$BaseLayer_BaseLayer.prototype.initialize=fun
ction(a)
{this.pageDisplay_=a;this.overlayDiv_=a.createOverlayDiv()};module$contents$ocean$v
iewport$BaseLayer_BaseLayer.prototype.getPageDisplay=function(){return
this.pageDisplay_};
module$contents$ocean$viewport$BaseLayer_BaseLayer.prototype.disposeInternal=functi
on()
{module$contents$ocean$viewport$BaseLayer_BaseLayer.superClass_.disposeInternal.cal
l(this);goog.dom.removeNode(this.overlayDiv_)};ocean.viewport.BaseLayer=module$cont
ents$ocean$viewport$BaseLayer_BaseLayer;var
module$exports$ocean$books$ShadowLayer=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.isLeft_=a};
$jscomp.inherits(module$exports$ocean$books$ShadowLayer,module$contents$ocean$viewp
ort$BaseLayer_BaseLayer);module$exports$ocean$books$ShadowLayer.prototype.setVisibl
e=function(a){goog.style.setElementShown(this.overlayDiv_,a)};
module$exports$ocean$books$ShadowLayer.prototype.initialize=function(a)
{module$contents$ocean$viewport$BaseLayer_BaseLayer.prototype.initialize.call(this,
a);var b=this.getPageDisplay().getSize();a=this.overlayDiv_;var
c=b.width;b=b.height;var
d=Math.floor(c*module$exports$ocean$books$ShadowLayer.BURN_FRACTION_);c=this.isLeft
_?c-d:0;var e=this.isLeft_?
module$exports$ocean$books$ShadowLayer.SHADOW_IMG_LEFT_:module$exports$ocean$books$
ShadowLayer.SHADOW_IMG_RIGHT_;goog.style.setPosition(a,c,0);goog.style.setSize(a,
d,b);goog.style.setStyle(a,{position:"absolute"});goog.userAgent.IE?
ocean.style.setBackgroundImage(a,e):(b=goog.dom.createDom(goog.dom.TagName.IMG,
{src:e,width:d,height:b,border:0,position:"absolute",top:0,left:0}),goog.dom.append
Child(a,b))};module$exports$ocean$books$ShadowLayer.SHADOW_IMG_LEFT_="/
googlebooks/images/burn-
left.png";module$exports$ocean$books$ShadowLayer.SHADOW_IMG_RIGHT_="/googlebooks/
images/burn-
right.png";module$exports$ocean$books$ShadowLayer.BURN_FRACTION_=.035;ocean.viewpor
t.HighlightLayer=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.color_=a;this.high
lightRects_=[]};goog.inherits(ocean.viewport.HighlightLayer,module$contents$ocean$v
iewport$BaseLayer_BaseLayer);ocean.viewport.HighlightLayer.EventType={UPDATE:"updat
e"};
ocean.viewport.HighlightLayer.prototype.initialize=function(a)
{ocean.viewport.HighlightLayer.superClass_.initialize.call(this,a);this.handleUpdat
e();
(a=this.getPageInfo())&&this.getHandler().listen(this.getPageInfo(),ocean.viewport.
HighlightLayer.EventType.UPDATE,this.handleUpdate)};ocean.viewport.HighlightLayer.p
rototype.getPageInfo=function(){return this.pageDisplay_.getPageInfo()};
ocean.viewport.HighlightLayer.prototype.drawHighlight=function(a,b,c,d){var
e=goog.dom.createElement("div");ocean.style.clearExternalStyles(e,!
0);this.overlayDiv_.appendChild(e);a=this.getScaledCoords(a,b,c,d);goog.style.setSt
yle(e,
{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"}
);this.color_&&(goog.style.setStyle(e,
{backgroundColor:this.color_}),goog.style.setOpacity(e,ocean.viewport.HighlightLaye
r.OPACITY_));this.highlightRects_.push(new goog.math.Rect(a[0],a[1],
a[2],a[3]));return
e};ocean.viewport.HighlightLayer.OPACITY_=.3;ocean.viewport.HighlightLayer.prototyp
e.getScaleFactor=function(){return
this.getPageDisplay().getSize().width/this.getPageDisplay().getPageInfo().getHighli
ghtPageWidth()};ocean.viewport.HighlightLayer.prototype.getScaledCoords=function(a,
b,c,d){var e=this.getScaleFactor();return
a=module$contents$goog$array_map([a,b,c,d],function(f){return Math.round(f*e)})};
ocean.viewport.HighlightLayer.prototype.drawHighlights=function(a)
{module$contents$goog$array_forEach(a,function(b)
{this.drawHighlight.apply(this,b)},this)};ocean.viewport.HighlightLayer.prototype.d
rawHighlightRect=function(a){if(goog.DEBUG&&(void 0===a.left||void 0===a.top||void
0===a.width||void 0===a.height))throw"All properties of a rect must be defined to
draw a highlight";return this.drawHighlight(a.left,a.top,a.width,a.height)};
ocean.viewport.HighlightLayer.prototype.drawHighlightRects=function(a){return
module$contents$goog$array_map(a,goog.bind(this.drawHighlightRect,this))};ocean.vie
wport.HighlightLayer.prototype.clearHighlights=function()
{goog.dom.removeChildren(this.overlayDiv_);this.highlightRects_=[]};ocean.viewport.
HighlightLayer.prototype.handleUpdate=function(){};var
module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer=function()
{ocean.viewport.HighlightLayer.call(this)};
$jscomp.inherits(module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLay
er,ocean.viewport.HighlightLayer);module$contents$ocean$viewport$ClipIndicatorLayer
_ClipIndicatorLayer.prototype.handleUpdate=function(){if(!this.drawn_){var
a=this.getPageInfo();a&&(a=a.getClipHighlights())&&(this.drawHighlights(a),this.dra
wn_=!0)}};
module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer.prototype.draw
Highlight=function(a,b,c,d)
{this.clipDiv_=ocean.viewport.HighlightLayer.prototype.drawHighlight.call(this,a,b,
c,d);goog.style.setStyle(this.clipDiv_,{border:"2px #aaaaff
dashed"});this.closeImg_=goog.dom.createElement(goog.dom.TagName.IMG);goog.dom.appe
ndChild(this.clipDiv_,this.closeImg_);this.closeImg_.src="/googlebooks/images/
dialog_close_x.gif";a=this.getScaledCoords(a,b,c,d);goog.style.setStyle(this.closeI
mg_,
{position:"absolute",cursor:"pointer",left:a[2]-
19+"px",top:"4px",display:"none"});goog.events.listen(this.clipDiv_,goog.events.Eve
ntType.MOUSEOUT,goog.bind(this.handleMouseOut_,this));goog.events.listen(this.clipD
iv_,goog.events.EventType.MOUSEOVER,goog.bind(this.imageDisplayHelper_,this,!
0));goog.events.listenOnce(this.closeImg_,goog.events.EventType.CLICK,goog.bind(thi
s.cleanup,this));return
this.clipDiv_};module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer
.prototype.cleanup=function(){goog.dom.removeNode(this.clipDiv_)};
module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer.prototype.hand
leMouseOut_=function(a){goog.dom.contains(this.clipDiv_,a.target)||
this.imageDisplayHelper_(!
1)};module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer.prototype.
imageDisplayHelper_=function(a){goog.style.setStyle(this.closeImg_,
{display:a?"":"none"})};ocean.viewport.ClipIndicatorLayer=module$contents$ocean$vie
wport$ClipIndicatorLayer_ClipIndicatorLayer;var
module$contents$ocean$viewport$LinkLayer_LinkLayer=function(a)
{ocean.viewport.HighlightLayer.call(this);this.viewer_=a};
$jscomp.inherits(module$contents$ocean$viewport$LinkLayer_LinkLayer,ocean.viewport.
HighlightLayer);
module$contents$ocean$viewport$LinkLayer_LinkLayer.prototype.handleUpdate=function(
){if(!this.drawn_){var
a=this.getPageInfo();a&&(a=a.getLinks())&&(module$contents$goog$array_forEach(a,fun
ction(b){var
c=b.pop(),d=b.pop();b=this.drawHighlight.apply(this,b);goog.style.setStyle(b,
{cursor:"pointer"});this.getHandler().listen(b,goog.events.EventType.CLICK,goog.bin
d(this.handleClick_,this,d,c))},this),this.drawn_=!0)}};
module$contents$ocean$viewport$LinkLayer_LinkLayer.prototype.handleClick_=function(
a,b){var c=this.viewer_.pageInfoSet_;(a=c.getPageInfoByPid(a))?
this.viewer_.setPageInfo(a):this.viewer_.goToPageUrl(b)};ocean.viewport.LinkLayer=m
odule$contents$ocean$viewport$LinkLayer_LinkLayer;ocean.viewport.PageImage=function
(a,b)
{this.pageInfo_=a;this.displaySize_=b};ocean.viewport.PageImage.prototype.getPageIn
fo=function(){return
this.pageInfo_};ocean.viewport.PageImage.prototype.getSizedUrl=function(){return
this.pageInfo_.getSrc(this.displaySize_)};ocean.viewport.ScaledPageImage=function(a
,b,c){ocean.viewport.PageImage.call(this,a,b);this.imageSize_=c};
$jscomp.inherits(ocean.viewport.ScaledPageImage,ocean.viewport.PageImage);
ocean.viewport.ScaledPageImage.prototype.getSizedUrl=function(){return
this.imageSize_.width>this.displaySize_.width?
this.pageInfo_.getSrc(this.imageSize_):ocean.viewport.PageImage.prototype.getSizedU
rl.call(this)};goog.dom.textAssert={};goog.dom.textAssert.assertHtmlFree=function(a
){if(goog.asserts.ENABLE_ASSERTS){var
b=goog.dom.createElement(goog.dom.TagName.BODY);b.textContent=a;goog.asserts.assert
(b.innerHTML==b.textContent,"String has HTML original: %s, escaped:
%s",a,b.innerHTML)}return a};ocean.viewport.PageDisplay=function(a,b,c,d,e)
{module$contents$ocean$EventManager_EventManager.call(this);this.setParentEventTarg
et(a.getViewport());this.viewer_=a;this.size_=c;this.layers_=[];this.displayDiv_=d;
goog.style.setSize(d,c);this.backgroundDiv_=this.createOverlayDiv();goog.style.setS
tyle(this.backgroundDiv_,"backgroundColor","#fff");goog.style.setSize(this.backgrou
ndDiv_,c);if(this.showLoading_=void 0!==e?e:!
0)a=this.createOverlayDiv(),goog.style.setSize(a,c),this.loadingDisplay_=new
ocean.viewport.PageDisplay.LoadingLayer_(a),
this.loadingDisplay_.show();b&&(this.pageInfo_=b,this.getHandler().listen(b,ocean.i
nfo.PageInfo.EventType.UPDATE,this.handlePageInfoUpdate),b.fetchServerInfo())};goog
.inherits(ocean.viewport.PageDisplay,module$contents$ocean$EventManager_EventManage
r);ocean.viewport.PageDisplay.prototype.getDiv=function(){return
this.displayDiv_};ocean.viewport.PageDisplay.prototype.getSize=function(){return
this.size_};ocean.viewport.PageDisplay.prototype.getPageInfo=function(){return
this.pageInfo_};
ocean.viewport.PageDisplay.prototype.addLayer=function(a)
{this.layers_.push(a);a.initialize(this)};ocean.viewport.PageDisplay.prototype.hand
lePageInfoUpdate=function()
{};ocean.viewport.PageDisplay.prototype.handlePageLoaded=function()
{this.dispatchEvent(goog.events.EventType.LOAD);this.showLoading_&&this.loadingDisp
lay_.hide()};
ocean.viewport.PageDisplay.prototype.createOverlayDiv=function(){var
a=goog.dom.createElement("div");ocean.style.clearExternalStyles(a,!
0);goog.style.setStyle(a,
{position:"absolute",left:0,top:0});goog.dom.appendChild(this.displayDiv_,a);return
a};ocean.viewport.PageDisplay.prototype.cleanup=function()
{module$contents$goog$array_forEach(this.layers_,function(a)
{a.dispose()});this.layers_=null;this.limitDiv_&&goog.dom.removeNode(this.limitDiv_
)};
ocean.viewport.PageDisplay.prototype.createObscureDiv=function()
{this.obscureDiv_=this.createOverlayDiv();goog.style.setSize(this.obscureDiv_,this.
getSize());goog.style.setStyle(this.obscureDiv_,{backgroundImage:"url(//
www.google.com/images/
cleardot.gif)",backgroundRepeat:"repeat"});this.getHandler().listen(this.obscureDiv
_,goog.events.EventType.MOUSEDOWN,this.handleMouseDown_);this.getHandler().listen(t
his.obscureDiv_,goog.events.EventType.DRAGSTART,goog.events.Event.preventDefault)};
ocean.viewport.PageDisplay.prototype.handleMouseDown_=function(a)
{a.display=this;ocean.viewport.PageDisplay.eventTarget.dispatchEvent(a)};ocean.view
port.PageDisplay.eventTarget=new
goog.events.EventTarget;ocean.viewport.PageDisplay.LoadingLayer_=function(a)
{this.div_=a;this.drawLoadingDivs_()};ocean.viewport.PageDisplay.LoadingLayer_.prot
otype.show=function(a){goog.style.setStyle(this.div_,
{display:a?"none":""})};ocean.viewport.PageDisplay.LoadingLayer_.prototype.hide=fun
ction(){this.show(!0)};
ocean.viewport.PageDisplay.LoadingLayer_.prototype.drawLoadingDivs_=function()
{for(var
a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"whit
e"},b=0;2>b;b++){var
c=goog.dom.createElement("div");ocean.style.clearExternalStyles(c);goog.style.setSt
yle(c,a);goog.dom.appendChild(this.div_,c);c.textContent=goog.dom.textAssert.assert
HtmlFree("Chargement en
cours...");a.bottom=0}};ocean.viewport.PageDisplay.prototype.showBlankPage=function
(){this.showStatusPage_()};
ocean.viewport.PageDisplay.prototype.showRestrictedPage=function(){var
a=goog.string.subs('<table width=100% height=100%><tr><td><img
src="%s"/><br/>%s</td></tr></table>',ocean.util.Url.getUrlOnDomain("/googlebooks/
restricted_logo.gif"),"Cette page ne fait pas partie de la section consultable ou
vous avez d\u00e9pass\u00e9 le nombre de pages que vous \u00eates autoris\u00e9 \
u00e0 consulter pour ce livre.");this.showStatusPage_(a)};
ocean.viewport.PageDisplay.prototype.showStatusPage_=function(a)
{this.limitDiv_&&goog.dom.removeNode(this.limitDiv_);this.limitDiv_=this.createOver
layDiv();new
ocean.viewport.PageDisplay.MessageLayer_(this.limitDiv_,this.getSize(),a)};
ocean.viewport.PageDisplay.MessageLayer_=function(a,b,c)
{this.div_=a;goog.style.setStyle(a,
{backgroundColor:"#FFF",textAlign:"center"});goog.style.setSize(a,b);module$exports
$google3$third_party$javascript$safevalues$dom$elements$element.setInnerHtml(goog.a
sserts.assert(a),module$contents$google3$third_party$javascript$safevalues$restrict
ed$legacy_superLenientlySanitizeHtml(c||""));ocean.style.clearExternalStyles(this.d
iv_)};ocean.viewport.PageImageDisplay=function(a,b,c)
{ocean.viewport.PageDisplay.call(this,a,b.getPageInfo(),b.displaySize_,c);this.setP
arentEventTarget(ocean.viewport.PageImageDisplay.eventTarget);a=this.createOverlayD
iv();this.imageLayer_=new
ocean.viewport.PageImageDisplay.ImageLayer_(b.displaySize_,a);a=this.createOverlayD
iv();this.cachedImageLayer_=new
ocean.viewport.PageImageDisplay.ImageLayer_(b.displaySize_,a);this.createObscureDiv
();goog.style.setUnselectable(c,!
0);goog.dom.classlist.add(c,ocean.viewport.PageImageDisplay.PAGE_IMAGE_DISPLAY_CLAS
S_);
this.pageImage_=b;b.getPageInfo()&&this.handlePageInfoUpdate()};
$jscomp.inherits(ocean.viewport.PageImageDisplay,ocean.viewport.PageDisplay);ocean.
viewport.PageImageDisplay.prototype.setPageInfo=function(a)
{a.setServerParameter("output",null);ocean.viewport.PageDisplay.prototype.setPageIn
fo.call(this,a);a.getSrc()&&this.handlePageInfoUpdate()};
ocean.viewport.PageImageDisplay.prototype.handlePageInfoUpdate=function(){var
a=this.getPageInfo(),b=this.pageImage_.getSizedUrl();if(b&&!this.drawn_)
{b=ocean.viewport.PageImageDisplay.imageUrlTransform(b);goog.events.listenOnce(this
.imageLayer_,goog.events.EventType.LOAD,goog.bind(this.handleImageLoad_,this,a,b,th
is.getSize().width));this.imageLayer_.setSrc(b);var
c=this.viewer_.imageCache_.getAllImages(a.getPageId());c.push(b);this.cachedImageLa
yer_.setSrcs(c);this.drawn_=!0;a==this.viewer_.getPageInfo()&&
this.dispatchEvent(ocean.viewport.PageImageDisplay.EventType.FETCH)}b=ocean.info.Pr
otoPageInfo.FLAGS;a.hasSomeFlags([b.LIMIT_REACHED,b.RESTRICTED])&&(this.showRestric
tedPage(),this.handlePageLoaded())};ocean.viewport.PageImageDisplay.prototype.handl
eImageLoad_=function(a,b,c)
{a==this.viewer_.getPageInfo()&&this.dispatchEvent(ocean.viewport.PageImageDisplay.
EventType.LOADED);this.cachedImageLayer_.empty();this.viewer_.imageCache_.registerU
rl(a.getPageId(),c,b);this.handlePageLoaded()};
ocean.viewport.PageImageDisplay.prototype.isLoaded=function(){return
this.imageLayer_.isLoaded()||
this.cachedImageLayer_.isLoaded()};ocean.viewport.PageImageDisplay.prototype.cleanu
p=function(){this.drawn_=!
1;this.imageLayer_.empty();this.cachedImageLayer_.empty();ocean.viewport.PageDispla
y.prototype.cleanup.call(this)};ocean.viewport.PageImageDisplay.eventTarget=new
goog.events.EventTarget;ocean.viewport.PageImageDisplay.PAGE_IMAGE_DISPLAY_CLASS_="
pageImageDisplay";
ocean.viewport.PageImageDisplay.imageUrlTransform=goog.functions.identity;ocean.vie
wport.PageImageDisplay.ImageLayer_=function(a,b)
{goog.events.EventTarget.call(this);this.size_=a;this.div_=b;this.loaded_=!
1;this.img_=goog.dom.createElement(goog.dom.TagName.IMG);goog.a11y.aria.setLabel(th
is.img_,"Page");this.img_.width=this.size_.width;goog.dom.appendChild(this.div_,thi
s.img_);ocean.style.clearExternalStyles(this.div_)};
$jscomp.inherits(ocean.viewport.PageImageDisplay.ImageLayer_,goog.events.EventTarge
t);
ocean.viewport.PageImageDisplay.ImageLayer_.prototype.empty=function(){for(var
a;a=goog.dom.getFirstElementChild(this.div_);)module$contents$ocean$util$Image_disp
ose(a)};ocean.viewport.PageImageDisplay.ImageLayer_.prototype.setSrcs=function(a)
{module$contents$ocean$util$Image_onLoad(this.img_,goog.bind(this.handleLoad_,this,
this.img_));for(var b=0;b<a.length;b+
+)this.img_.src=a[b]};ocean.viewport.PageImageDisplay.ImageLayer_.prototype.setSrc=
function(a){this.setSrcs([a])};
ocean.viewport.PageImageDisplay.ImageLayer_.prototype.handleLoad_=function(a)
{this.img_==a&&(this.dispatchEvent(goog.events.EventType.LOAD),this.loaded_=!
0)};ocean.viewport.PageImageDisplay.ImageLayer_.prototype.isLoaded=function()
{return
this.loaded_};ocean.viewport.PageImageDisplay.EventType={FETCH:"fetch",LOADED:"load
ed"};ocean.viewport.Viewport=function(a){var
b=this;module$contents$ocean$EventManager_EventManager.call(this);this.window_=a;th
is.viewportDiv_=a.getCroppingDiv();this.setSize(goog.style.getContentBoxSize(this.v
iewportDiv_));this.scrollCoordinate_=new
goog.math.Coordinate(0,0);this.subscriptionBar_=null;this.subscriptionBarHideDelay_
=new goog.async.Delay(function(){goog.style.setElementShown(b.subscriptionBar_,!
1)},600);this.registerDisposable(this.subscriptionBarHideDelay_)};
goog.inherits(ocean.viewport.Viewport,module$contents$ocean$EventManager_EventManag
er);ocean.viewport.Viewport.prototype.setSize=function(a)
{this.size_&&goog.math.Size.equals(this.size_,a)||
(this.size_=a,this.window_.setWindowSize(a),this.dispatchEvent(ocean.viewport.Viewp
ort.EventType.RESIZE))};
ocean.viewport.Viewport.prototype.setLayout=function(a)
{this.layout_=a;this.dispatcher_.cleanup();this.window_.setWindowSize(this.getSize(
));if(goog.DEBUG&&!a.getWidth()&&!a.getHeight())throw"layout height and width aren\
t set";this.window_.setCanvasSize(new
goog.math.Size(a.getWidth(),a.getHeight()));this.dispatchEvent(ocean.viewport.Viewp
ort.EventType.LAYOUTCHANGE)};ocean.viewport.Viewport.prototype.setDispatcher=functi
on(a){this.dispatcher_=a};ocean.viewport.Viewport.prototype.getWindow=function()
{return this.window_};
ocean.viewport.Viewport.prototype.updateDisplay=function(){var
a=this.layout_.getItems();this.clipper_&&(a=this.clipper_.getClippedLayoutItems(a))
;this.dispatcher_.renderItems(a);this.dispatchEvent(ocean.viewport.Viewport.EventTy
pe.UPDATE)};ocean.viewport.Viewport.prototype.setClipper=function(a)
{this.clipper_=a};
ocean.viewport.Viewport.prototype.setScroll=function(a){var
b=this.scrollCoordinate_.x,c=this.scrollCoordinate_.y;this.limitScroll_(a);"number"
===typeof a.x&&(b=a.x);"number"===typeof a.y&&(1<a.y-c?
this.dispatchEvent(ocean.viewport.Viewport.EventType.SCROLLDOWN):1<c-
a.y&&this.dispatchEvent(ocean.viewport.Viewport.EventType.SCROLLUP),c=a.y);this.scr
ollCoordinate_=new
goog.math.Coordinate(b,c);this.window_.setCropOffset(this.scrollCoordinate_);this.d
ispatchEvent(ocean.viewport.Viewport.EventType.MOVE)};
ocean.viewport.Viewport.prototype.limitScroll_=function(a){"number"===typeof
a.x&&(a.x=goog.math.clamp(a.x,0,Math.max(this.layout_.getWidth()-
this.size_.width,0)));"number"===typeof
a.y&&(a.y=goog.math.clamp(a.y,0,Math.max(this.layout_.getHeight()-
this.size_.height,0)))};ocean.viewport.Viewport.prototype.getViewableRect=function(
){var a=this.getScroll();return a?new
goog.math.Rect(a.x,a.y,this.size_.width,this.size_.height):null};ocean.viewport.Vie
wport.prototype.getSize=function(){return this.size_};
ocean.viewport.Viewport.prototype.getContentSize=function()
{if(this.viewportDiv_.hasChildNodes()){var
a=goog.asserts.assertElement(this.viewportDiv_.childNodes[0]);a=goog.style.getConte
ntBoxSize(a).width;var b=this.size_.height;return new goog.math.Size(a,b)}return
this.size_};ocean.viewport.Viewport.prototype.getScroll=function(){return
this.scrollCoordinate_};ocean.viewport.Viewport.prototype.moveTo=function(a)
{this.dispatchEvent(ocean.viewport.Viewport.EventType.MOVESTART);this.setScroll(a);
this.dispatchEvent(ocean.viewport.Viewport.EventType.MOVEEND)};
ocean.viewport.Viewport.prototype.moveBy=function(a)
{this.relativeMoveHelper_(a,goog.bind(this.moveTo,this))};ocean.viewport.Viewport.p
rototype.scrollBy=function(a)
{this.relativeMoveHelper_(a,goog.bind(this.setScroll,this))};ocean.viewport.Viewpor
t.prototype.panBy=function(a)
{this.relativeMoveHelper_(a,goog.bind(this.panTo,this))};ocean.viewport.Viewport.pr
ototype.relativeMoveHelper_=function(a,b){var c=this.getScroll();b(new
goog.math.Coordinate(c.x+a.x,c.y+a.y))};
ocean.viewport.Viewport.prototype.panTo=function(a){var
b=this.getScroll(),c=this.getSize();!b||Math.abs(b.x-a.x)>c.width||Math.abs(b.y-
a.y)>c.height?this.moveTo(a):
(this.animation_&&(this.animation_.dispose(),this.animation_=null),c=goog.math.Coor
dinate.distance(b,a),c=goog.math.clamp(c/
800,0,1),c=goog.math.lerp(250,500,c),this.animation_=new
goog.fx.Animation([b.x,b.y],
[a.x,a.y],c,goog.fx.easing.inAndOut),goog.events.listen(this.animation_,goog.fx.Ani
mation.EventType.ANIMATE,goog.bind(this.handleAnimate_,
this)),goog.events.listen(this.animation_,goog.fx.Transition.EventType.END,goog.bin
d(this.handleAnimateEnd_,this)),this.dispatchEvent(ocean.viewport.Viewport.EventTyp
e.MOVESTART),goog.events.listenOnce(this,ocean.viewport.Viewport.EventType.MOVESTAR
T,goog.bind(this.animation_.dispose,this.animation_)),this.animation_.play())};ocea
n.viewport.Viewport.prototype.handleAnimate_=function(a)
{a=a.coordsAsInts();this.setScroll(new goog.math.Coordinate(a[0],a[1]))};
ocean.viewport.Viewport.prototype.handleAnimateEnd_=function(a)
{this.handleAnimate_(a);this.dispatchEvent(ocean.viewport.Viewport.EventType.MOVEEN
D)};ocean.viewport.Viewport.prototype.getCroppingDiv=function(){return
this.window_.getCroppingDiv()};ocean.viewport.Viewport.prototype.getCanvasDiv=funct
ion(){return
this.window_.getCanvasDiv()};ocean.viewport.Viewport.prototype.getMasterDiv=functio
n(){return this.getCanvasDiv()};
ocean.viewport.Viewport.prototype.getMiddleCoordinate=function(){return new
goog.math.Coordinate(Math.round(this.scrollCoordinate_.x+this.size_.width/
2),Math.round(this.scrollCoordinate_.y+this.size_.height/
2))};ocean.viewport.Viewport.prototype.middleToScroll=function(a){return
this.middleTranslateHelper_(a,-
1)};ocean.viewport.Viewport.prototype.middleTranslateHelper_=function(a,b){return
new
goog.math.Coordinate(Math.round(a.x+this.size_.width/2*b),Math.round(a.y+this.size_
.height/2*b))};
ocean.viewport.Viewport.prototype.createOverlayDiv=function(){var
a=goog.dom.createElement("div");ocean.style.clearExternalStyles(a,!
0);goog.dom.appendChild(this.window_.getCroppingDiv(),a);return
a};ocean.viewport.Viewport.prototype.disposeInternal=function()
{ocean.viewport.Viewport.superClass_.disposeInternal.call(this);this.dispatcher_.cl
eanup()};
ocean.viewport.Viewport.prototype.fadeOutInstitutionalSubscriptionBar=function(a)
{null==this.subscriptionBar_&&(this.subscriptionBar_=a);this.subscriptionBar_.style
.opacity=0;this.subscriptionBarHideDelay_.start()};ocean.viewport.Viewport.prototyp
e.fadeInInstitutionalSubscriptionBar=function(){var
a=this;this.subscriptionBarHideDelay_.stop();goog.style.setElementShown(this.subscr
iptionBar_,!0);goog.Timer.callOnce(function()
{a.subscriptionBar_.style.opacity=1})};
ocean.viewport.Viewport.EventType={DRAG:"drag",DRAGEND:"dragend",DRAGSTART:"dragsta
rt",LAYOUTCHANGE:"layoutchange",MOVE:"move",MOVEEND:"moveend",MOVESTART:"movestart"
,RESIZE:"resize",SCROLLDOWN:"scrolldown",SCROLLUP:"scrollup",UPDATE:"update"};ocean
.viewport.Viewport.prototype.PAGE_TURN_STEP=1;ocean.viewport.PageTileDisplay=functi
on(a,b,c,d)
{ocean.viewport.PageDisplay.call(this,a,b.getPageInfo(),b.displaySize_,c,d);this.ti
leDiv_=this.createOverlayDiv();this.createObscureDiv();b.getPageInfo()&&this.handle
PageInfoUpdate();this.viewer_=a;this.updateListener_=goog.events.listen(this.viewer
_.getViewport(),ocean.viewport.Viewport.EventType.UPDATE,this.handleLoadTiles_,!
1,this)};
$jscomp.inherits(ocean.viewport.PageTileDisplay,ocean.viewport.PageDisplay);
ocean.viewport.PageTileDisplay.prototype.handlePageInfoUpdate=function(){var
a=this.getPageInfo(),b=a.getSrc(),c=this.viewer_.volumeInfo_.tilingParams_,d=a.tili
ngPageParams_;if(b&&d&&!this.drawn_){var
e=d.getZoomLevelForPageHeight(this.getSize().height);"number"===typeof
e&&(d=d.getPageWidthForZoomLevel(e),b=new
goog.Uri(b),b.setParameterValue("zoom",e),b.setParameterValue("pg",a.newspaperScanj
obCoordinates_),b=b.toString(),this.tileLayer_=new
module$contents$ocean$viewport$TileImageLayer_TileImageLayer(this.tileDiv_,
d,this.getSize().height,c.tileWidth_,c.tileHeight_,goog.bind(c.getTileUrl,c,b,d,thi
s.getSize().height),null),this.drawn_=!
0,this.handleLoadTiles_())}};ocean.viewport.PageTileDisplay.prototype.handleLoadTil
es_=function(){if(this.drawn_){var
a=goog.style.getVisibleRectForElement(this.tileDiv_);if(a){var
b=goog.style.getClientPosition(this.tileDiv_);a.top-=b.y;a.bottom-=b.y;a.left-
=b.x;a.right-=b.x;0<a.bottom-a.top&&0<a.right-
a.left&&this.tileLayer_.loadTiles(goog.math.Rect.createFromBox(a))}this.viewer_.upd
ateBoundingBox()}};
ocean.viewport.PageTileDisplay.prototype.cleanup=function()
{this.drawn_&&(this.tileLayer_.empty(),this.drawn_=!
1);this.updateListener_&&(goog.events.unlistenByKey(this.updateListener_),this.upda
teListener_=null);ocean.viewport.PageDisplay.prototype.cleanup.call(this)};ocean.vi
ewport.SearchLayer=function(a)
{this.searchState_=a;ocean.viewport.HighlightLayer.call(this,ocean.viewport.SearchL
ayer.SEARCH_LAYER_COLOR_)};goog.inherits(ocean.viewport.SearchLayer,ocean.viewport.
HighlightLayer);ocean.viewport.SearchLayer.SEARCH_LAYER_COLOR_="#ffff00";
ocean.viewport.SearchLayer.prototype.handleUpdate=function(){var
a=this.getPageDisplay().getPageInfo();if(a){var b=this.searchState_.getQuery();b!
=this.drawnSearchQuery_&&(a=a.getSearchHighlightRects(b),this.clearHighlights(),a&&
(this.drawHighlightRects(a),this.drawnSearchQuery_=b))}};var
module$exports$ocean$net$RemoteObjectRequest=function(a)
{goog.events.EventTarget.call(this);this.url=a;this.responseObject_=null;this.isRea
dy_=!0};
$jscomp.inherits(module$exports$ocean$net$RemoteObjectRequest,goog.events.EventTarg
et);module$exports$ocean$net$RemoteObjectRequest.prototype.fetch=function()
{if(this.isReady_)this.isReady_=!1;else throw
Error();};module$exports$ocean$net$RemoteObjectRequest.prototype.setObject=function
(a){this.responseObject_=a};ocean.net={};var
module$contents$ocean$net$XhrRequest_XhrRequest=function(a,b)
{module$exports$ocean$net$RemoteObjectRequest.call(this,a);this.method_=b||"GET";th
is.eventHandler_=new goog.events.EventHandler;this.xhrIo_=new goog.net.XhrIo};
$jscomp.inherits(module$contents$ocean$net$XhrRequest_XhrRequest,module$exports$oce
an$net$RemoteObjectRequest);
module$contents$ocean$net$XhrRequest_XhrRequest.prototype.fetch=function(a,b,c)
{module$exports$ocean$net$RemoteObjectRequest.prototype.fetch.call(this,a,b);this.s
uccessCallback_=a;this.failureCallback_=b;this.addListeners_();this.xhrIo_.send(thi
s.url.toString(),this.method_,c)};
module$contents$ocean$net$XhrRequest_XhrRequest.prototype.addListeners_=function()
{this.eventHandler_.listen(this.xhrIo_,goog.net.EventType.SUCCESS,goog.bind(this.ha
ndleSuccessResponse_,this));this.eventHandler_.listen(this.xhrIo_,goog.net.EventTyp
e.ERROR,goog.bind(this.handleFailureResponse_,this))};
module$contents$ocean$net$XhrRequest_XhrRequest.prototype.handleSuccessResponse_=fu
nction(a)
{a=a.target;this.setObject(JSON.parse(a.getResponseText()));goog.Timer.callOnce(goo
g.bind(this.dispatchEvent,this,goog.net.EventType.SUCCESS));this.successCallback_&&
goog.Timer.callOnce(goog.partial(this.successCallback_,this.responseObject_));goog.
Timer.callOnce(goog.bind(this.cleanup_,this))};
module$contents$ocean$net$XhrRequest_XhrRequest.prototype.handleFailureResponse_=fu
nction()
{goog.Timer.callOnce(goog.bind(this.dispatchEvent,this,goog.net.EventType.ERROR));t
his.failureCallback_&&goog.Timer.callOnce(this.failureCallback_);goog.Timer.callOnc
e(goog.bind(this.cleanup_,this))};module$contents$ocean$net$XhrRequest_XhrRequest.p
rototype.abort=function(){this.xhrIo_.abort();this.cleanup_();return!1};
module$contents$ocean$net$XhrRequest_XhrRequest.prototype.cleanup_=function()
{this.eventHandler_.removeAll();this.failureCallback_=this.successCallback_=null};o
cean.net.XhrRequest=module$contents$ocean$net$XhrRequest_XhrRequest;ocean.geom={};v
ar module$contents$ocean$geom_createRectFromProto=function(a){return new
goog.math.Rect(a.X,a.Y,a.W,a.H)},module$contents$ocean$geom_getBoundingRect=functio
n(a){return a.length?a.reduce(function(b,c){return
goog.math.Rect.boundingRect(b,c)},a[0].clone()):null};ocean.geom.createRectFromProt
o=module$contents$ocean$geom_createRectFromProto;ocean.geom.getBoundingRect=module$
contents$ocean$geom_getBoundingRect;ocean.viewport.SelectionBox=function(a,b,c,d,e)
{module$contents$ocean$EventManager_EventManager.call(this);this.textSelectionLayer
_=a;this.pageDisplayDiv_=b;this.startOffset_=e;this.pageInfo_=d;this.size_=!
1;this.rectangleDiv_=goog.dom.createElement("div");goog.dom.appendChild(c,this.rect
angleDiv_);this.getHandler().listen(b,goog.events.EventType.MOUSEMOVE,this.sizeBoxT
oEvent_);this.getHandler().listen(b,goog.events.EventType.MOUSEUP,this.endSizing_)}
;goog.inherits(ocean.viewport.SelectionBox,module$contents$ocean$EventManager_Event
Manager);
ocean.viewport.SelectionBox.prototype.sizeBoxToEvent_=function(a){this.sized_||
(a=ocean.viewport.SelectionBox.getPageOffset(this.pageDisplayDiv_,a),a=goog.math.Bo
x.boundingBox(a,this.startOffset_),this.updateSelectionBox_(a))};
ocean.viewport.SelectionBox.prototype.endSizing_=function(a)
{this.sizeBoxToEvent_(a);this.sized_=!0;var
b=this.pageInfo_;a=goog.math.Rect.createFromBox(this.selectionBox_);var
c=this.textSelectionLayer_.getScaleFactor();c=ocean.viewport.SelectionBox.getScaled
Rect_(a,1/
c);a=ocean.viewport.SelectionBox.getRoundedRect_(ocean.viewport.SelectionBox.getSca
ledRect_(c,1/b.getSize().width*1E3));b=new
goog.Uri(b.getPageUrl());b.setParameterValue("ci",
[a.left,a.top,a.width,a.height].join());b.setParameterValue("jscmd",
"click3");b.setParameterValue("output","text");c=ocean.viewport.SelectionBox.getRou
ndedRect_(c);this.textSelectionLayer_.showSelection([c]);goog.dom.removeNode(this.r
ectangleDiv_);b=new
module$contents$ocean$net$XhrRequest_XhrRequest(b);b.fetch(goog.bind(this.handleHig
hlightsRequest_,this,c,a));this.dispatchEvent(ocean.viewport.SelectionBox.EventType
.ENDSIZE)};ocean.viewport.SelectionBox.EventType={ENDSIZE:"endsize"};
ocean.viewport.SelectionBox.prototype.handleHighlightsRequest_=function(a,b,c)
{c=c.page[0];var d=!1,e=c.clip_highlights;if(e){var
f=[];module$contents$goog$array_forEach(e,function(g)
{f.push(module$contents$ocean$geom_createRectFromProto(g))});if(c=c.content)this.te
xtSelectionLayer_.showSelection([a],c,b),d=!0}d||
this.textSelectionLayer_.clearHighlights();this.dispose()};ocean.viewport.Selection
Box.getScaledRect_=function(a,b){return new
goog.math.Rect(a.left*b,a.top*b,a.width*b,a.height*b)};
ocean.viewport.SelectionBox.getRoundedRect_=function(a){return new
goog.math.Rect(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(
a.height))};ocean.viewport.SelectionBox.prototype.updateSelectionBox_=function(a)
{goog.style.setStyle(this.rectangleDiv_,{border:"2px dashed
#99AAEE",position:"absolute"});var b=a.right-a.left,c=a.bottom-
a.top;goog.style.setPosition(this.rectangleDiv_,a.left,a.top);goog.style.setSize(th
is.rectangleDiv_,b,c);this.selectionBox_=a};
ocean.viewport.SelectionBox.getPageOffset=function(a,b){return
goog.math.Coordinate.difference(new
goog.math.Coordinate(b.clientX,b.clientY),goog.style.getPageOffset(a))};ocean.viewp
ort.SelectionBox.prototype.disposeInternal=function()
{ocean.viewport.SelectionBox.superClass_.disposeInternal.call(this);goog.dom.remove
Node(this.rectangleDiv_)};var
module$contents$ocean$viewport$SelectionLayer_SelectionLayer=function(a,b)
{module$contents$ocean$EventManager_EventManager.call(this);this.textSelectionLayer
_=a;this.viewport_=b};
$jscomp.inherits(module$contents$ocean$viewport$SelectionLayer_SelectionLayer,modul
e$contents$ocean$viewport$BaseLayer_BaseLayer);
module$contents$ocean$viewport$SelectionLayer_SelectionLayer.prototype.initialize=f
unction(a)
{module$contents$ocean$viewport$BaseLayer_BaseLayer.prototype.initialize.call(this,
a);a=this.overlayDiv_;var
b=goog.dom.createElement("div");ocean.style.clearExternalStyles(b,!
0);goog.dom.appendChild(a,b);goog.dom.classlist.set(b,module$contents$ocean$viewpor
t$SelectionLayer_SelectionLayer.SELECTION_LAYER_CLASS_);goog.style.setSize(a,this.g
etPageDisplay().getSize());goog.style.setSize(b,this.getPageDisplay().getSize());
this.getHandler().listen(b,goog.events.EventType.CLICK,this.handleClick_);this.getH
andler().listen(b,goog.events.EventType.MOUSEDOWN,this.handleMouseDown_)};
module$contents$ocean$viewport$SelectionLayer_SelectionLayer.prototype.handleMouseD
own_=function(a)
{if(module$contents$ocean$viewport$SelectionLayer_SelectionLayer.selectionEnabled)
{this.stopPropagation_(a);this.selectionBox_&&this.selectionBox_.dispose();var
b=this.getPageDisplay().getDiv();a=ocean.viewport.SelectionBox.getPageOffset(b,a);t
his.selectionBox_=new
ocean.viewport.SelectionBox(this.textSelectionLayer_,b,this.overlayDiv_,this.getPag
eDisplay().getPageInfo(),a);this.mouseMoveListener_=goog.events.listen(goog.dom.get
Document().body,
goog.events.EventType.MOUSEMOVE,goog.bind(this.handleMouseMove_,this));goog.events.
listenOnce(this.selectionBox_,
[ocean.viewport.SelectionBox.EventType.ENDSIZE,module$contents$ocean$EventManager_E
ventManager.EventType.DISPOSE],goog.bind(this.endScroll_,this))}};module$contents$o
cean$viewport$SelectionLayer_SelectionLayer.prototype.handleClick_=function(a)
{module$contents$ocean$viewport$SelectionLayer_SelectionLayer.selectionEnabled&&thi
s.stopPropagation_(a)};
module$contents$ocean$viewport$SelectionLayer_SelectionLayer.prototype.handleMouseM
ove_=function(a){if(this.selectionBox_&&!this.selectionBox_.isDisposed()){var b=new
goog.math.Coordinate(a.clientX,a.clientY),c=goog.style.getBounds(this.viewport_.vie
wportDiv_).toBox();if(c.contains(b)){var d=new goog.math.Coordinate(0,0);a=[[c.top-
a.clientY,0,-1],[c.bottom-a.clientY,0,1],[c.left-a.clientX,-1,0],[c.right-
a.clientX,1,0]];module$contents$goog$array_forEach(a,function(e){var
f=Math.abs(e[0]);40>f&&(d.x=
e[1]||d.x,d.y=e[2]||d.y)});this.scrollTimer_||(this.scrollTimer_=new
goog.Timer(100),this.getHandler().listen(this.scrollTimer_,goog.Timer.TICK,this.scr
oll_));this.scrollCoord_=d;d.x||d.y?
this.scrollTimer_.start():this.scrollTimer_.stop()}}};module$contents$ocean$viewpor
t$SelectionLayer_SelectionLayer.prototype.scroll_=function(){var
a=this.scrollCoord_;this.viewport_.moveBy(new
goog.math.Coordinate(a.x*module$contents$ocean$viewport$SelectionLayer_SelectionLay
er.SCROLL_INCREMENT_,a.y*module$contents$ocean$viewport$SelectionLayer_SelectionLay
er.SCROLL_INCREMENT_))};
module$contents$ocean$viewport$SelectionLayer_SelectionLayer.prototype.endScroll_=f
unction()
{goog.events.unlistenByKey(this.mouseMoveListener_);module$contents$goog$dispose_di
spose(this.scrollTimer_);this.scrollTimer_=null};module$contents$ocean$viewport$Sel
ectionLayer_SelectionLayer.prototype.stopPropagation_=function(a)
{a.stopPropagation()};
module$contents$ocean$viewport$SelectionLayer_SelectionLayer.setSelectionEnabled=fu
nction(a)
{module$contents$ocean$viewport$SelectionLayer_SelectionLayer.selectionEnabled=a};m
odule$contents$ocean$viewport$SelectionLayer_SelectionLayer.SCROLL_INCREMENT_=15;mo
dule$contents$ocean$viewport$SelectionLayer_SelectionLayer.VIEWPORT_SELECTION_CLASS
="selection-
mode";module$contents$ocean$viewport$SelectionLayer_SelectionLayer.SELECTION_LAYER_
CLASS_="selection-
layer";ocean.viewport.SelectionLayer=module$contents$ocean$viewport$SelectionLayer_
SelectionLayer;var module$contents$ocean$entitypage$Snackbar_Snackbar=function(a)
{this.message_=a;this.isVisible_=!
1;this.snackbarElement_=this.createSnackbar_()};module$contents$ocean$entitypage$Sn
ackbar_Snackbar.prototype.show=function(){this.isVisible_?
(this.hideSnackbar_(),goog.Timer.callOnce(goog.bind(this.showSnackbar_,this),500)):
this.showSnackbar_();goog.Timer.callOnce(goog.bind(this.hideSnackbar_,this),6E3)};
module$contents$ocean$entitypage$Snackbar_Snackbar.prototype.showSnackbar_=function
(){goog.style.setStyle(this.snackbarElement_,"bottom","0");this.isVisible_=!
0};module$contents$ocean$entitypage$Snackbar_Snackbar.prototype.hideSnackbar_=funct
ion(){goog.style.setStyle(this.snackbarElement_,"bottom","-48px");this.isVisible_=!
1};
module$contents$ocean$entitypage$Snackbar_Snackbar.prototype.createSnackbar_=functi
on(){var a=goog.dom.createDom(goog.dom.TagName.DIV,"entity-page-
snackbar"),b=goog.dom.createDom(goog.dom.TagName.SPAN,"entity-page-snackbar-
text");goog.dom.setTextContent(b,this.message_);goog.dom.appendChild(a,b);goog.a11y
.aria.setState(a,goog.a11y.aria.State.HIDDEN,!
0);goog.dom.appendChild(document.body,a);return
a};ocean.entitypage.Snackbar=module$contents$ocean$entitypage$Snackbar_Snackbar;oce
an.entitypage.CopyToClipboardButton=function(a)
{this.inputField_=a;this.snackbar_=new
module$contents$ocean$entitypage$Snackbar_Snackbar(ocean.entitypage.CopyToClipboard
Button.MSG_SELECTION_COPIED_TO_CLIPBOARD_);this.button_=this.create_()};ocean.entit
ypage.CopyToClipboardButton.prototype.getElement=function(){return this.button_};
ocean.entitypage.CopyToClipboardButton.prototype.create_=function(){var
a=this,b=goog.dom.createDom(goog.dom.TagName.DIV);goog.dom.classlist.addAll(b,
["entity-page-copy-button","entity-page-action-chip"]);var
c=goog.dom.createDom(goog.dom.TagName.SPAN);goog.dom.classlist.add(c,"entity-page-
action-chip-icon");var
d=goog.dom.createDom(goog.dom.TagName.SPAN);goog.dom.classlist.add(d,"entity-page-
action-chip-
label");goog.dom.setTextContent(d,"Copier");b.appendChild(c);b.appendChild(d);goog.
events.listen(b,
goog.events.EventType.CLICK,goog.bind(this.copyContentsToClipboard_,this));goog.a11
y.aria.setRole(b,goog.a11y.aria.Role.BUTTON);goog.dom.setFocusableTabIndex(b,!
0);goog.events.listen(b,goog.events.EventType.KEYDOWN,function(e){e.keyCode!
=goog.events.KeyCodes.SPACE&&e.keyCode!=goog.events.KeyCodes.ENTER||
a.copyContentsToClipboard_.call(a)});return b};
ocean.entitypage.CopyToClipboardButton.prototype.copyContentsToClipboard_=function(
)
{this.inputField_.focus();this.inputField_.select();document.execCommand("copy");th
is.snackbar_.show()};ocean.entitypage.CopyToClipboardButton.MSG_SELECTION_COPIED_TO
_CLIPBOARD_="S\u00e9lection copi\u00e9e dans le presse-
papiers";goog.positioning={};goog.positioning.AbstractPosition=function()
{};goog.positioning.AbstractPosition.prototype.reposition=function()
{};goog.positioning.CornerBit={BOTTOM:1,CENTER:2,RIGHT:4,FLIP_RTL:8};
goog.positioning.Corner={TOP_LEFT:0,TOP_RIGHT:goog.positioning.CornerBit.RIGHT,BOTT
OM_LEFT:goog.positioning.CornerBit.BOTTOM,BOTTOM_RIGHT:goog.positioning.CornerBit.B
OTTOM|
goog.positioning.CornerBit.RIGHT,TOP_START:goog.positioning.CornerBit.FLIP_RTL,TOP_
END:goog.positioning.CornerBit.FLIP_RTL|
goog.positioning.CornerBit.RIGHT,BOTTOM_START:goog.positioning.CornerBit.BOTTOM|
goog.positioning.CornerBit.FLIP_RTL,BOTTOM_END:goog.positioning.CornerBit.BOTTOM|
goog.positioning.CornerBit.RIGHT|goog.positioning.CornerBit.FLIP_RTL,
TOP_CENTER:goog.positioning.CornerBit.CENTER,BOTTOM_CENTER:goog.positioning.CornerB
it.BOTTOM|
goog.positioning.CornerBit.CENTER};goog.positioning.Overflow={IGNORE:0,ADJUST_X:1,F
AIL_X:2,ADJUST_Y:4,FAIL_Y:8,RESIZE_WIDTH:16,RESIZE_HEIGHT:32,ADJUST_X_EXCEPT_OFFSCR
EEN:65,ADJUST_Y_EXCEPT_OFFSCREEN:132};
goog.positioning.OverflowStatus={NONE:0,ADJUSTED_X:1,ADJUSTED_Y:2,WIDTH_ADJUSTED:4,
HEIGHT_ADJUSTED:8,FAILED_LEFT:16,FAILED_RIGHT:32,FAILED_TOP:64,FAILED_BOTTOM:128,FA
ILED_OUTSIDE_VIEWPORT:256,FAILED:496,FAILED_HORIZONTAL:48,FAILED_VERTICAL:192};
goog.positioning.positionAtAnchor=function(a,b,c,d,e,f,g,h,k)
{goog.asserts.assert(c);var
l=goog.positioning.getOffsetParentPageOffset(c),m=goog.positioning.getVisiblePart_(
a);goog.style.translateRectForAnotherFrame(m,goog.dom.getDomHelper(a),goog.dom.getD
omHelper(c));a=goog.positioning.getEffectiveCorner(a,b);b=m.left;a&goog.positioning
.CornerBit.RIGHT?b+=m.width:a&goog.positioning.CornerBit.CENTER&&(b+=m.width/
2);m=new goog.math.Coordinate(b,m.top+(a&goog.positioning.CornerBit.BOTTOM?
m.height:0));
m=goog.math.Coordinate.difference(m,l);e&&(m.x+=(a&goog.positioning.CornerBit.RIGHT
?-1:1)*e.x,m.y+=(a&goog.positioning.CornerBit.BOTTOM?-1:1)*e.y);if(g)if(k)var
n=k;else if(n=goog.style.getVisibleRectForElement(c))n.top-=l.y,n.right-
=l.x,n.bottom-=l.y,n.left-=l.x;return
goog.positioning.positionAtCoordinate(m,c,d,f,n,g,h)};
goog.positioning.getOffsetParentPageOffset=function(a){if(a=a.offsetParent){var
b=a.tagName==goog.dom.TagName.HTML||a.tagName==goog.dom.TagName.BODY;if(!
b||"static"!=goog.style.getComputedPosition(a)){var
c=goog.style.getPageOffset(a);b||(c=goog.math.Coordinate.difference(c,new
goog.math.Coordinate(goog.style.bidi.getScrollLeft(a),a.scrollTop)))}}return c||new
goog.math.Coordinate};
goog.positioning.getVisiblePart_=function(a){var b=goog.style.getBounds(a);
(a=goog.style.getVisibleRectForElement(a))&&b.intersection(goog.math.Rect.createFro
mBox(a));return b};
goog.positioning.positionAtCoordinate=function(a,b,c,d,e,f,g){a=a.clone();var
h=goog.positioning.getEffectiveCorner(b,c);c=goog.style.getSize(b);g=g?
g.clone():c.clone();a=goog.positioning.getPositionAtCoordinate(a,g,h,d,e,f);if(a.st
atus&goog.positioning.OverflowStatus.FAILED)return
a.status;goog.style.setPosition(b,a.rect.getTopLeft());g=a.rect.getSize();goog.math
.Size.equals(c,g)||goog.style.setBorderBoxSize(b,g);return a.status};
goog.positioning.getPositionAtCoordinate=function(a,b,c,d,e,f)
{a=a.clone();b=b.clone();var g=goog.positioning.OverflowStatus.NONE;if(d||c!
=goog.positioning.Corner.TOP_LEFT)c&goog.positioning.CornerBit.RIGHT?a.x-=b.width+
(d?d.right:0):c&goog.positioning.CornerBit.CENTER?a.x-=b.width/
2:d&&(a.x+=d.left),c&goog.positioning.CornerBit.BOTTOM?a.y-=b.height+(d?
d.bottom:0):d&&(a.y+=d.top);f&&(g=e?
goog.positioning.adjustForViewport_(a,b,e,f):goog.positioning.OverflowStatus.FAILED
_OUTSIDE_VIEWPORT);c=new goog.math.Rect(0,
0,0,0);c.left=a.x;c.top=a.y;c.width=b.width;c.height=b.height;return{rect:c,status:
g}};
goog.positioning.adjustForViewport_=function(a,b,c,d){var
e=goog.positioning.OverflowStatus.NONE,f=goog.positioning.Overflow.ADJUST_X_EXCEPT_
OFFSCREEN,g=goog.positioning.Overflow.ADJUST_Y_EXCEPT_OFFSCREEN;
(d&f)==f&&(a.x<c.left||a.x>=c.right)&&(d&=~goog.positioning.Overflow.ADJUST_X);
(d&g)==g&&(a.y<c.top||
a.y>=c.bottom)&&(d&=~goog.positioning.Overflow.ADJUST_Y);a.x<c.left&&d&goog.positio
ning.Overflow.ADJUST_X&&(a.x=c.left,e|
=goog.positioning.OverflowStatus.ADJUSTED_X);d&goog.positioning.Overflow.RESIZE_WID
TH&&
(f=a.x,a.x<c.left&&(a.x=c.left,e|
=goog.positioning.OverflowStatus.WIDTH_ADJUSTED),a.x+b.width>c.right&&(b.width=Math
.min(c.right-a.x,f+b.width-c.left),b.width=Math.max(b.width,0),e|
=goog.positioning.OverflowStatus.WIDTH_ADJUSTED));a.x+b.width>c.right&&d&goog.posit
ioning.Overflow.ADJUST_X&&(a.x=Math.max(c.right-b.width,c.left),e|
=goog.positioning.OverflowStatus.ADJUSTED_X);d&goog.positioning.Overflow.FAIL_X&&(e
|=(a.x<c.left?goog.positioning.OverflowStatus.FAILED_LEFT:0)|(a.x+b.width>c.right?
goog.positioning.OverflowStatus.FAILED_RIGHT:
0));a.y<c.top&&d&goog.positioning.Overflow.ADJUST_Y&&(a.y=c.top,e|
=goog.positioning.OverflowStatus.ADJUSTED_Y);d&goog.positioning.Overflow.RESIZE_HEI
GHT&&(f=a.y,a.y<c.top&&(a.y=c.top,e|
=goog.positioning.OverflowStatus.HEIGHT_ADJUSTED),a.y+b.height>c.bottom&&(b.height=
Math.min(c.bottom-a.y,f+b.height-c.top),b.height=Math.max(b.height,0),e|
=goog.positioning.OverflowStatus.HEIGHT_ADJUSTED));a.y+b.height>c.bottom&&d&goog.po
sitioning.Overflow.ADJUST_Y&&(a.y=Math.max(c.bottom-b.height,c.top),e|
=goog.positioning.OverflowStatus.ADJUSTED_Y);
d&goog.positioning.Overflow.FAIL_Y&&(e|=(a.y<c.top?
goog.positioning.OverflowStatus.FAILED_TOP:0)|(a.y+b.height>c.bottom?
goog.positioning.OverflowStatus.FAILED_BOTTOM:0));return
e};goog.positioning.getEffectiveCorner=function(a,b)
{return(b&goog.positioning.CornerBit.FLIP_RTL&&goog.style.isRightToLeft(a)?
b^goog.positioning.CornerBit.RIGHT:b)&~goog.positioning.CornerBit.FLIP_RTL};goog.po
sitioning.flipCornerHorizontal=function(a){return
a^goog.positioning.CornerBit.RIGHT};
goog.positioning.flipCornerVertical=function(a){return
a^goog.positioning.CornerBit.BOTTOM};goog.positioning.flipCorner=function(a){return
a^goog.positioning.CornerBit.BOTTOM^goog.positioning.CornerBit.RIGHT};goog.ui.Popup
=function(a,b)
{this.popupCorner_=goog.positioning.Corner.TOP_START;this.position_=b||void
0;goog.ui.PopupBase.call(this,a)};goog.inherits(goog.ui.Popup,goog.ui.PopupBase);go
og.ui.Popup.prototype.setPinnedCorner=function(a)
{this.popupCorner_=a;this.isVisible()&&this.reposition()};goog.ui.Popup.prototype.g
etPosition=function(){return this.position_||
null};goog.ui.Popup.prototype.setPosition=function(a){this.position_=a||void
0;this.isVisible()&&this.reposition()};
goog.ui.Popup.prototype.setMargin=function(a,b,c,d){this.margin_=null==a||a
instanceof goog.math.Box?a:new
goog.math.Box(a,b,c,d);this.isVisible()&&this.reposition()};goog.ui.Popup.prototype
.reposition=function(){if(this.position_){var a=!this.isVisible()&&this.getType()!
=goog.ui.PopupBase.Type.MOVE_OFFSCREEN,b=this.getElement();a&&(b.style.visibility="
hidden",goog.style.setElementShown(b,!
0));this.position_.reposition(b,this.popupCorner_,this.margin_);a&&goog.style.setEl
ementShown(b,!1)}};ocean.viewport.SelectionPopup=function(a)
{goog.ui.Popup.call(this,a);this.setAutoHide(!1);this.eventHandler_=new
goog.events.EventHandler;this.useEntityPageStyling_=ocean.entitypage.Util.isSourceE
ntityPage();goog.dom.classlist.add(a,"viewport-selection-
popup");ocean.viewport.SelectionPopup.instance_&&ocean.viewport.SelectionPopup.inst
ance_.dispose();ocean.viewport.SelectionPopup.instance_=this};
$jscomp.inherits(ocean.viewport.SelectionPopup,goog.ui.Popup);
ocean.viewport.SelectionPopup.prototype.showLoading=function(){var
a=goog.dom.createElement(goog.dom.TagName.DIV);goog.dom.setTextContent(a,"Chargemen
t en cours...");goog.dom.classlist.add(a,"selection-popup-loading-
msg");goog.dom.appendChild(this.getElement(),a)};
ocean.viewport.SelectionPopup.prototype.showSelection=function(a,b,c)
{goog.dom.removeChildren(this.getElement());var
d=this.getElement(),e=goog.dom.createElement(goog.dom.TagName.IMG);e.src="/
googlebooks/images/material/
close_black_24dp.png";goog.dom.classlist.add(e,"selection-popup-
close");goog.dom.appendChild(d,e);this.eventHandler_.listenOnce(e,goog.events.Event
Type.CLICK,goog.bind(this.close_,this));e=goog.dom.createDom(goog.dom.TagName.DIV,
{},"Partager cet extrait");goog.dom.classlist.add(e,
"selection-popup-
title");goog.dom.appendChild(d,e);this.useEntityPageStyling_&&(e=goog.dom.createDom
(goog.dom.TagName.TABLE,{id:"selection-popup-
table"}),goog.dom.appendChild(d,e));c&&(this.addSelectionInput_("S\u00e9lection de
texte",c),this.addTranslationLink_(c));a&&this.addSelectionInput_("Image",a);b&&thi
s.addSelectionInput_("Int\
u00e9grer",b)};ocean.viewport.SelectionPopup.prototype.close_=function()
{this.dispatchEvent(ocean.viewport.SelectionPopup.EventType.CLOSE);this.dispose()};
ocean.viewport.SelectionPopup.prototype.addSelectionInput_=function(a,b){var
c=this.useEntityPageStyling_?goog.dom.getElement("selection-popup-
table"):this.getElement(),d=this.useEntityPageStyling_?
goog.dom.createElement(goog.dom.TagName.TR):goog.dom.createElement("div");goog.dom.
classlist.add(d,"selection-popup-select-
container");goog.dom.appendChild(c,d);c=this.useEntityPageStyling_?
goog.dom.createElement(goog.dom.TagName.TD):goog.dom.createElement("div");goog.dom.
classlist.add(c,"selection-popup-select-label");
goog.dom.appendChild(d,c);goog.dom.appendChild(c,goog.dom.createTextNode(a));c=this
.useEntityPageStyling_?
goog.dom.createElement(goog.dom.TagName.TD):goog.dom.createElement("div");goog.dom.
appendChild(d,c);a=goog.dom.createElement("input");a.value=b;goog.dom.classlist.add
(a,"viewport-input");goog.dom.appendChild(c,a);goog.style.setUnselectable(a,!
1);this.useEntityPageStyling_&&(b=goog.dom.createElement(goog.dom.TagName.TD),goog.
dom.appendChild(d,b),d=(new
ocean.entitypage.CopyToClipboardButton(a)).getElement(),
goog.dom.appendChild(b,d));this.eventHandler_.listen(a,goog.events.EventType.MOUSED
OWN,ocean.viewport.SelectionPopup.stopEventPropagation_)};
ocean.viewport.SelectionPopup.prototype.addTranslationLink_=function(a){var
b=goog.dom.createElement(goog.dom.TagName.DIV);goog.dom.classlist.add(b,"selection-
popup-translate-container");if(this.useEntityPageStyling_){var
c=goog.dom.getFirstElementChild(goog.dom.getElement("selection-popup-
table")),d=goog.dom.createElement(goog.dom.TagName.TD);goog.dom.appendChild(c,d);go
og.dom.appendChild(d,b)}else goog.dom.appendChild(this.getElement(),b);c=new
goog.Uri(ocean.viewport.SelectionPopup.GOOGLE_TRANSLATE_URL_);
c.setParameterValue("text",a);c.setParameterValue("sl","auto");c.setParameterValue(
"tl","auto");a=goog.dom.createElement(goog.dom.TagName.A);a.href=c.toString();a.tar
get="_blank";this.useEntityPageStyling_&&(c=goog.dom.createDom(goog.dom.TagName.SPA
N),goog.dom.classlist.addAll(c,["selection-popup-translate-icon","entity-page-
action-chip-
icon"]),goog.dom.appendChild(a,c));c=goog.dom.createDom(goog.dom.TagName.SPAN);goog
.dom.setTextContent(c,"Traduire");goog.dom.classlist.add(c,"entity-page-action-
chip-label");
goog.dom.appendChild(a,c);c=goog.dom.createElement(goog.dom.TagName.SPAN);goog.dom.
setTextContent(c,"\u00bb");goog.dom.classlist.add(c,"selection-popup-translate-
arrow");goog.dom.appendChild(a,c);goog.dom.classlist.add(a,"selection-popup-
translate-link");goog.dom.classlist.add(a,"entity-page-action-
chip");goog.dom.appendChild(b,a)};ocean.viewport.SelectionPopup.stopEventPropagatio
n_=function(a){a.stopPropagation()};
ocean.viewport.SelectionPopup.prototype.disposeInternal=function()
{goog.dom.removeNode(this.getElement());goog.ui.Popup.prototype.disposeInternal.cal
l(this);this.eventHandler_.dispose()};ocean.viewport.SelectionPopup.EventType={CLOS
E:"close"};ocean.viewport.SelectionPopup.instance_=null;ocean.viewport.SelectionPop
up.GOOGLE_TRANSLATE_URL_="https://translate.google.com/
translate_t";goog.positioning.ClientPosition=function(a,b){this.coordinate=a
instanceof goog.math.Coordinate?a:new
goog.math.Coordinate(a,b)};goog.inherits(goog.positioning.ClientPosition,goog.posit
ioning.AbstractPosition);
goog.positioning.ClientPosition.prototype.reposition=function(a,b,c,d)
{goog.asserts.assert(a);var
e=goog.style.getViewportPageOffset(goog.dom.getOwnerDocument(a)),f=this.coordinate.
x+e.x;e=this.coordinate.y+e.y;var
g=goog.positioning.getOffsetParentPageOffset(a);f-=g.x;e-
=g.y;goog.positioning.positionAtCoordinate(new
goog.math.Coordinate(f,e),a,b,c,null,null,d)};goog.positioning.ViewportClientPositi
on=function(a,b)
{goog.positioning.ClientPosition.call(this,a,b)};goog.inherits(goog.positioning.Vie
wportClientPosition,goog.positioning.ClientPosition);goog.positioning.ViewportClien
tPosition.prototype.lastResortOverflow_=0;goog.positioning.ViewportClientPosition.p
rototype.setLastResortOverflow=function(a){this.lastResortOverflow_=a};
goog.positioning.ViewportClientPosition.prototype.reposition=function(a,b,c,d){var
e=goog.style.getClientViewportElement(a);e=goog.style.getVisibleRectForElement(e);v
ar f=goog.dom.getDomHelper(a).getDocumentScrollElement();f=new
goog.math.Coordinate(this.coordinate.x+f.scrollLeft,this.coordinate.y+f.scrollTop);
var g=goog.positioning.Overflow.FAIL_X|
goog.positioning.Overflow.FAIL_Y,h=b,k=goog.positioning.positionAtCoordinate(f,a,h,
c,e,g,d);if(0!=(k&goog.positioning.OverflowStatus.FAILED))
{if(k&goog.positioning.OverflowStatus.FAILED_LEFT||
k&goog.positioning.OverflowStatus.FAILED_RIGHT)h=goog.positioning.flipCornerHorizon
tal(h);if(k&goog.positioning.OverflowStatus.FAILED_TOP||
k&goog.positioning.OverflowStatus.FAILED_BOTTOM)h=goog.positioning.flipCornerVertic
al(h);k=goog.positioning.positionAtCoordinate(f,a,h,c,e,g,d);0!
=(k&goog.positioning.OverflowStatus.FAILED)&&goog.positioning.positionAtCoordinate(
f,a,b,c,e,this.lastResortOverflow_,d)}};var
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer=function(a)
{ocean.viewport.HighlightLayer.call(this,"#4a95d6");this.viewportDiv_=a};
$jscomp.inherits(module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLay
er,ocean.viewport.HighlightLayer);
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.prototype.init
ialize=function(a)
{ocean.viewport.HighlightLayer.prototype.initialize.call(this,a);goog.style.setStyl
e(this.overlayDiv_,
{cursor:"pointer"});this.getHandler().listen(this.overlayDiv_,"mousedown",module$co
ntents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.stopEventPropagation_)}
;module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.stopEventProp
agation_=function(a){a.stopPropagation()};
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.prototype.show
Selection=function(a,b,c)
{this.clearHighlights();this.drawHighlightRects(a);this.closeListener_&&goog.events
.unlistenByKey(this.closeListener_);this.selectionPopup_&&this.selectionPopup_.disp
ose();a=goog.dom.createElement("div");goog.dom.appendChild(goog.dom.getDocument().b
ody,a);var d=module$contents$ocean$geom_getBoundingRect(this.highlightRects_);if(d)
{var e=goog.style.getPageOffset(this.overlayDiv_);a=new
ocean.viewport.SelectionPopup(a);
if(b&&c){var f=this.getPageInfo(),g=f.getSrc();if(g){var h=new
goog.Uri(g);c=module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.
getRectParamString_(c);h.setParameterValue("ci",c);h.setParameterValue("edge",0);h=
h.toString();f=new
goog.Uri(f.getPageUrl());f.setParameterValue("ci",c);f.setParameterValue("source","
bookclip");var k=goog.string.subs('<a href="%s"><img
src="%s"/></a>',f.toString(),h)}a.showSelection(h,k,b)}else
a.showLoading();a.setPinnedCorner(goog.positioning.Corner.TOP_RIGHT);
this.selectionPopup_=a;b=e.x+d.left+d.width;d=e.y+d.top+d.height;e=goog.style.getSi
ze(a.getElement()).width;24>b-e&&(b=e+24);b=new goog.math.Coordinate(b,d);b=new
goog.positioning.ViewportClientPosition(b);goog.Timer.callOnce(goog.partial(module$
contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.popupFollowup_,a,b));
this.closeListener_=goog.events.listenOnce(a,ocean.viewport.SelectionPopup.EventTyp
e.CLOSE,goog.bind(this.clearHighlights,this))}};
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.popupFollowup_
=function(a,b){a.isDisposed()||(a.setPosition(b),a.setVisible(!
0))};module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.getRectPa
ramString_=function(a)
{return[a.left,a.top,a.width,a.height].join()};module$contents$ocean$viewport$TextS
electionLayer_TextSelectionLayer.prototype.clearHighlights=function()
{ocean.viewport.HighlightLayer.prototype.clearHighlights.call(this);this.selectionP
opup_&&this.selectionPopup_.dispose()};
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer.prototype.disp
oseInternal=function()
{ocean.viewport.HighlightLayer.prototype.disposeInternal.call(this);this.selectionP
opup_&&this.selectionPopup_.dispose();this.closeListener_&&goog.events.unlistenByKe
y(this.closeListener_)};ocean.viewport.TextSelectionLayer=module$contents$ocean$vie
wport$TextSelectionLayer_TextSelectionLayer;ocean.viewport.Page={};function
module$contents$ocean$viewport$Page_getPageDisplay(a,b,c){var
d=a.volumeInfo_;return d.tilingParams_?new
ocean.viewport.PageTileDisplay(a,b,c):new ocean.viewport.PageImageDisplay(a,b,c)}
function module$contents$ocean$viewport$Page_getDecoratedPageDisplay(a,b,c)
{b=module$contents$ocean$viewport$Page_getPageDisplay(a,b,c);b instanceof
ocean.viewport.PageImageDisplay?
module$contents$ocean$viewport$Page_decoratePageImageDisplay(a,b):b instanceof
ocean.viewport.PageTileDisplay&&module$contents$ocean$viewport$Page_decoratePageTil
eDisplay(a,b);return b}
function module$contents$ocean$viewport$Page_decoratePageImageDisplay(a,b){if(b
instanceof ocean.viewport.PageImageDisplay){b.addLayer(new
ocean.viewport.SearchLayer(a.searchState_));b.addLayer(new
module$contents$ocean$viewport$ClipIndicatorLayer_ClipIndicatorLayer);var c=new
module$contents$ocean$viewport$TextSelectionLayer_TextSelectionLayer(a.viewportDiv_
),d=new
module$contents$ocean$viewport$SelectionLayer_SelectionLayer(c,a.getViewport());b.a
ddLayer(d);b.addLayer(c);b.addLayer(new
module$contents$ocean$viewport$LinkLayer_LinkLayer(a))}}
function module$contents$ocean$viewport$Page_decoratePageTileDisplay(a,b){b
instanceof ocean.viewport.PageTileDisplay&&b.addLayer(new
ocean.viewport.SearchLayer(a.searchState_))}ocean.viewport.Page.decoratePageImageDi
splay=module$contents$ocean$viewport$Page_decoratePageImageDisplay;ocean.viewport.P
age.decoratePageTileDisplay=module$contents$ocean$viewport$Page_decoratePageTileDis
play;ocean.viewport.Page.enableSelectionLayers=!
1;ocean.viewport.Page.getDecoratedPageDisplay=module$contents$ocean$viewport$Page_g
etDecoratedPageDisplay;
ocean.viewport.Page.getPageDisplay=module$contents$ocean$viewport$Page_getPageDispl
ay;var module$contents$ocean$books$TwoPage_TwoPage=function(a,b)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.cal
culatePageDimensions_(b);this.pageDiv_=goog.dom.createElement("div");goog.style.set
Style(this.pageDiv_,
{position:"absolute",backgroundColor:"white",top:0,left:0});this.handlers_=[];goog.
dom.appendChild(a.getViewport().getCanvasDiv(),this.pageDiv_);this.leftFrameDiv_=go
og.dom.createElement("div");this.rightFrameDiv_=goog.dom.createElement("div");this.
handlers_.push(goog.events.listen(this.leftFrameDiv_,
goog.events.EventType.DBLCLICK,goog.bind(this.handleLeftPageDblClick_,this)));a={ov
erflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute",border:"1px solid
#ccc"};goog.style.setStyle(this.leftFrameDiv_,a);goog.style.setStyle(this.rightFram
eDiv_,a);goog.dom.appendChild(this.pageDiv_,this.leftFrameDiv_);goog.dom.appendChil
d(this.pageDiv_,this.rightFrameDiv_);this.leftImageDiv_=goog.dom.createElement("div
");this.rightImageDiv_=goog.dom.createElement("div");goog.dom.appendChild(this.left
FrameDiv_,
this.leftImageDiv_);goog.dom.appendChild(this.rightFrameDiv_,this.rightImageDiv_);t
his.createNewPageDisplays_()};
$jscomp.inherits(module$contents$ocean$books$TwoPage_TwoPage,module$contents$ocean$
viewport$Drawable_Drawable);
module$contents$ocean$books$TwoPage_TwoPage.prototype.createNewPageDisplays_=functi
on()
{this.leftPageDisplay_&&this.leftPageDisplay_.cleanup();this.rightPageDisplay_&&thi
s.rightPageDisplay_.cleanup();goog.dom.removeChildren(this.leftImageDiv_);goog.dom.
removeChildren(this.rightImageDiv_);goog.style.setBorderBoxSize(this.leftFrameDiv_,
this.imageSize_);goog.style.setBorderBoxSize(this.rightFrameDiv_,this.imageSize_);t
his.leftPageDisplay_=module$contents$ocean$viewport$Page_getPageDisplay(this.viewer
_,
new
ocean.viewport.PageImage(this.leftPageInfo_,this.imageSize_),this.leftImageDiv_);mo
dule$contents$ocean$viewport$Page_decoratePageImageDisplay(this.viewer_,this.leftPa
geDisplay_);this.leftShadowLayer_=new module$exports$ocean$books$ShadowLayer(!
0);this.leftPageDisplay_.addLayer(this.leftShadowLayer_);this.rightPageDisplay_=mod
ule$contents$ocean$viewport$Page_getPageDisplay(this.viewer_,new
ocean.viewport.PageImage(this.rightPageInfo_,this.imageSize_),this.rightImageDiv_);
this.rightShadowLayer_=
new module$exports$ocean$books$ShadowLayer(!
1);module$contents$ocean$viewport$Page_decoratePageImageDisplay(this.viewer_,this.r
ightPageDisplay_);this.rightPageDisplay_.addLayer(this.rightShadowLayer_)};module$c
ontents$ocean$books$TwoPage_TwoPage.prototype.setPosition=function(a)
{0>a.x&&(a.x=0);goog.style.setPosition(this.pageDiv_,a)};module$contents$ocean$book
s$TwoPage_TwoPage.prototype.handleLeftPageDblClick_=function(a)
{a.preventDefault();a.stopPropagation();this.viewer_.queueCommand(ocean.viewport.Vi
ewer.Commands.PREVIOUS)};
module$contents$ocean$books$TwoPage_TwoPage.prototype.calculatePageDimensions_=func
tion(a){a=Math.floor(a/2);var
b=Math.floor(a/this.viewer_.pageInfoSet_.defaultSize_.aspectRatio());this.imageSize
_=new
goog.math.Size(a,b)};module$contents$ocean$books$TwoPage_TwoPage.prototype.setVisib
le=function(a){goog.style.setStyle(this.pageDiv_,{display:a?"":"none"})};
module$contents$ocean$books$TwoPage_TwoPage.prototype.draw=function()
{goog.style.setStyle(this.leftFrameDiv_,
{left:0,top:0});goog.style.setStyle(this.rightFrameDiv_,
{left:this.imageSize_.width+"px",top:0})};module$contents$ocean$books$TwoPage_TwoPa
ge.prototype.getPageInfos=function(){return
module$contents$goog$array_filter([this.leftPageInfo_,this.rightPageInfo_],function
(a){return!!a})};
module$contents$ocean$books$TwoPage_TwoPage.prototype.updateVisibility_=function(a,
b){var
c=a?"":"hidden",d=b?"":"hidden";goog.style.setStyle(this.leftFrameDiv_,"visibility"
,c);goog.style.setStyle(this.rightFrameDiv_,"visibility",d);a=a&&b;this.leftShadowL
ayer_.setVisible(a);this.rightShadowLayer_.setVisible(a)};
module$contents$ocean$books$TwoPage_TwoPage.prototype.cleanup=function()
{this.leftPageDisplay_.cleanup();this.rightPageDisplay_.cleanup();for(var
a;a=this.handlers_.pop();)goog.events.unlistenByKey(a);this.pageDiv_.parentNode&&go
og.dom.removeNode(this.pageDiv_)};
module$contents$ocean$books$TwoPage_TwoPage.prototype.setPageInfos=function(a,b)
{var c=!0,d=!
0;this.leftPageInfo_=a;this.rightPageInfo_=b;this.createNewPageDisplays_();if(a)
{if(a.isBackPage()||void 0==b)d=!1}else this.leftPageDisplay_.showBlankPage();if(b)
{if(b.isFrontPage()||void 0==a)c=!1}else
this.rightPageDisplay_.showBlankPage();this.updateVisibility_(c,d)};module$contents
$ocean$books$TwoPage_TwoPage.getWidthForImageWidth=function(a){return 2*a};
module$contents$ocean$books$TwoPage_TwoPage.getImageWidthForPageWidth=function(a)
{return
Math.floor(a/2)};module$contents$ocean$books$TwoPage_TwoPage.getHeightForImageHeigh
t=function(a){return
a};ocean.books.TwoPage=module$contents$ocean$books$TwoPage_TwoPage;var
module$contents$ocean$books$LayoutTwoPageRenderer_LayoutTwoPageRenderer=function(a)
{this.viewer_=a};
$jscomp.inherits(module$contents$ocean$books$LayoutTwoPageRenderer_LayoutTwoPageRen
derer,module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer);
module$contents$ocean$books$LayoutTwoPageRenderer_LayoutTwoPageRenderer.prototype.r
ender=function(a){var b=new
module$contents$ocean$books$TwoPage_TwoPage(this.viewer_,a.getSize().width);b.setPo
sition(a.getPosition());b.draw();b.setVisible(!0);return
this.twoPage_=b};ocean.books.LayoutTwoPageRenderer=module$contents$ocean$books$Layo
utTwoPageRenderer_LayoutTwoPageRenderer;goog.i18n.uChar={};goog.i18n.uChar.SUPPLEME
NTARY_CODE_POINT_MIN_VALUE_=65536;goog.i18n.uChar.CODE_POINT_MAX_VALUE_=1114111;goo
g.i18n.uChar.LEAD_SURROGATE_MIN_VALUE_=55296;goog.i18n.uChar.LEAD_SURROGATE_MAX_VAL
UE_=56319;goog.i18n.uChar.TRAIL_SURROGATE_MIN_VALUE_=56320;goog.i18n.uChar.TRAIL_SU
RROGATE_MAX_VALUE_=57343;goog.i18n.uChar.TRAIL_SURROGATE_BIT_COUNT_=10;
goog.i18n.uChar.toHexString=function(a){a=goog.i18n.uChar.toCharCode(a);return
a="U+"+goog.i18n.uChar.padString_(a.toString(16).toUpperCase(),4,"0")};goog.i18n.uC
har.padString_=function(a,b,c){for(;a.length<b;)a=c+a;return
a};goog.i18n.uChar.toCharCode=function(a){return
goog.i18n.uChar.getCodePointAround(a,0)};
goog.i18n.uChar.fromCharCode=function(a){if(null==a||!
(0<=a&&a<=goog.i18n.uChar.CODE_POINT_MAX_VALUE_))return
null;if(goog.i18n.uChar.isSupplementaryCodePoint(a)){var
b=a>>goog.i18n.uChar.TRAIL_SURROGATE_BIT_COUNT_;a&=(1<<goog.i18n.uChar.TRAIL_SURROG
ATE_BIT_COUNT_)-1;b+=goog.i18n.uChar.LEAD_SURROGATE_MIN_VALUE_-
(goog.i18n.uChar.SUPPLEMENTARY_CODE_POINT_MIN_VALUE_>>goog.i18n.uChar.TRAIL_SURROGA
TE_BIT_COUNT_);a+=goog.i18n.uChar.TRAIL_SURROGATE_MIN_VALUE_;return
String.fromCharCode(b)+String.fromCharCode(a)}return String.fromCharCode(a)};
goog.i18n.uChar.getCodePointAround=function(a,b){var
c=a.charCodeAt(b);if(goog.i18n.uChar.isLeadSurrogateCodePoint(c)&&b+1<a.length)
{if(a=a.charCodeAt(b+1),goog.i18n.uChar.isTrailSurrogateCodePoint(a))return
goog.i18n.uChar.buildSupplementaryCodePoint(c,a)}else
if(goog.i18n.uChar.isTrailSurrogateCodePoint(c)&&0<b&&(a=a.charCodeAt(b-
1),goog.i18n.uChar.isLeadSurrogateCodePoint(a)))return
c=goog.i18n.uChar.buildSupplementaryCodePoint(a,c),-c;return c};
goog.i18n.uChar.charCount=function(a){return
goog.i18n.uChar.isSupplementaryCodePoint(a)?
2:1};goog.i18n.uChar.isSupplementaryCodePoint=function(a){return
a>=goog.i18n.uChar.SUPPLEMENTARY_CODE_POINT_MIN_VALUE_&&a<=goog.i18n.uChar.CODE_POI
NT_MAX_VALUE_};goog.i18n.uChar.isLeadSurrogateCodePoint=function(a){return
a>=goog.i18n.uChar.LEAD_SURROGATE_MIN_VALUE_&&a<=goog.i18n.uChar.LEAD_SURROGATE_MAX
_VALUE_};
goog.i18n.uChar.isTrailSurrogateCodePoint=function(a){return
a>=goog.i18n.uChar.TRAIL_SURROGATE_MIN_VALUE_&&a<=goog.i18n.uChar.TRAIL_SURROGATE_M
AX_VALUE_};
goog.i18n.uChar.buildSupplementaryCodePoint=function(a,b){return
goog.i18n.uChar.isLeadSurrogateCodePoint(a)&&goog.i18n.uChar.isTrailSurrogateCodePo
int(b)?(a=(a<<goog.i18n.uChar.TRAIL_SURROGATE_BIT_COUNT_)-
(goog.i18n.uChar.LEAD_SURROGATE_MIN_VALUE_<<goog.i18n.uChar.TRAIL_SURROGATE_BIT_COU
NT_),b=b-
goog.i18n.uChar.TRAIL_SURROGATE_MIN_VALUE_+goog.i18n.uChar.SUPPLEMENTARY_CODE_POINT
_MIN_VALUE_,a+b):null};goog.structs.InversionMap=function(a,b,c)
{this.rangeArray=null;goog.asserts.assert(a.length==b.length,"rangeArray and
valueArray must have the same
length.");this.storeInversion_(a,c);this.values=b};goog.structs.InversionMap.protot
ype.storeInversion_=function(a,b){this.rangeArray=a;for(var c=1;c<a.length;c+
+)null==a[c]?a[c]=a[c-1]+1:b&&(a[c]+=a[c-
1])};goog.structs.InversionMap.prototype.at=function(a){a=this.getLeast(a);return
0>a?null:this.values[a]};
goog.structs.InversionMap.prototype.getLeast=function(a){for(var
b=this.rangeArray,c=0,d=b.length;8<d-c;){var e=d+c>>1;b[e]<=a?c=e:d=e}for(;c<d&&!
(a<b[c]);++c);return c-
1};goog.i18n.GraphemeBreak={};goog.i18n.GraphemeBreak.property={OTHER:0,CONTROL:1,E
XTEND:2,PREPEND:3,SPACING_MARK:4,INDIC_LETTER:5,VIRAMA:6,L:7,V:8,T:9,LV:10,LVT:11,C
R:12,LF:13,REGIONAL_INDICATOR:14,ZWJ:15,E_BASE:16,GLUE_AFTER_ZWJ:17,E_MODIFIER:18,E
_BASE_GAZ:19};goog.i18n.GraphemeBreak.inversions_=null;
goog.i18n.GraphemeBreak.applyBreakRules_=function(a,b,c){var
d=goog.i18n.GraphemeBreak.property,e="string"===typeof a?
goog.i18n.GraphemeBreak.getCodePoint_(a,a.length-1):a,f="string"===typeof b?
goog.i18n.GraphemeBreak.getCodePoint_(b,0):b;b=goog.i18n.GraphemeBreak.getBreakProp
_(e);f=goog.i18n.GraphemeBreak.getBreakProp_(f);var g="string"===typeof
a;if(b===d.CR&&f===d.LF)return!1;if(b===d.CONTROL||b===d.CR||b===d.LF||
f===d.CONTROL||f===d.CR||f===d.LF)return!0;if(b===d.L&&(f===d.L||f===d.V||
f===d.LV||
f===d.LVT)||!(b!==d.LV&&b!==d.V||f!==d.V&&f!==d.T)||(b===d.LVT||b===d.T)&&f===d.T||
f===d.EXTEND||f===d.ZWJ||f===d.VIRAMA||c&&(b===d.PREPEND||f===d.SPACING_MARK)||
c&&b===d.VIRAMA&&f===d.INDIC_LETTER)return!1;var h;if(g){if(f===d.E_MODIFIER)
{c=a;var k=c.length-1;var l=e;for(h=b;0<k&&h===d.EXTEND;)k-
=goog.i18n.uChar.charCount(l),l=goog.i18n.GraphemeBreak.getCodePoint_(c,k),h=goog.i
18n.GraphemeBreak.getBreakProp_(l);if(h===d.E_BASE||h===d.E_BASE_GAZ)return!1}}else
if((b===d.E_BASE||b===d.E_BASE_GAZ)&&
f===d.E_MODIFIER)return!1;if(b===d.ZWJ&&(f===d.GLUE_AFTER_ZWJ||
f===d.E_BASE_GAZ))return!1;if(g){if(f===d.REGIONAL_INDICATOR){f=0;c=a;k=c.length-
1;l=e;for(h=b;0<k&&h===d.REGIONAL_INDICATOR;)f++,k-
=goog.i18n.uChar.charCount(l),l=goog.i18n.GraphemeBreak.getCodePoint_(c,k),h=goog.i
18n.GraphemeBreak.getBreakProp_(l);h===d.REGIONAL_INDICATOR&&f++;if(1===f%2)return!
1}}else if(b===d.REGIONAL_INDICATOR&&f===d.REGIONAL_INDICATOR)return!1;return!0};
goog.i18n.GraphemeBreak.getBreakProp_=function(a){if(44032<=a&&55203>=a){var
b=goog.i18n.GraphemeBreak.property;return 16===a%28?
b.LV:b.LVT}goog.i18n.GraphemeBreak.inversions_||
(goog.i18n.GraphemeBreak.inversions_=new
goog.structs.InversionMap([0,10,1,2,1,18,95,33,13,1,594,112,275,7,263,45,1,1,1,2,1,
2,1,1,56,6,10,11,1,1,46,21,16,1,101,7,1,1,6,2,2,1,4,33,1,1,1,30,27,91,11,58,9,34,4,
1,9,1,3,1,5,43,3,120,14,1,32,1,17,37,1,1,1,1,3,8,4,1,2,1,7,8,2,2,21,7,1,1,2,17,39,1
,1,1,2,6,6,1,9,5,4,2,2,12,2,15,2,1,
17,39,2,3,12,4,8,6,17,2,3,14,1,17,39,1,1,3,8,4,1,20,2,29,1,2,17,39,1,1,2,1,6,6,9,6,
4,2,2,13,1,16,1,18,41,1,1,1,12,1,9,1,40,1,3,17,31,1,5,4,3,5,7,8,3,2,8,2,29,1,2,17,3
9,1,1,1,1,2,1,3,1,5,1,8,9,1,3,2,29,1,2,17,38,3,1,2,5,7,1,1,8,1,10,2,30,2,22,48,5,1,
2,6,7,1,18,2,13,46,2,1,1,1,6,1,12,8,50,46,2,1,1,1,9,11,6,14,2,58,2,27,1,1,1,1,1,4,2
,49,14,1,4,1,1,2,5,48,9,1,57,33,12,4,1,6,1,2,2,2,1,16,2,4,2,2,4,3,1,3,2,7,3,4,13,1,
1,1,2,6,1,1,14,1,98,96,72,88,349,3,931,15,2,1,14,15,2,1,14,15,2,15,15,14,35,17,2,1,
7,8,
1,2,9,1,1,9,1,45,3,1,118,2,34,1,87,28,3,3,4,2,9,1,6,3,20,19,29,44,84,23,2,2,1,4,45,
6,2,1,1,1,8,1,1,1,2,8,6,13,48,84,1,14,33,1,1,5,1,1,5,1,1,1,7,31,9,12,2,1,7,23,1,4,2
,2,2,2,2,11,3,2,36,2,1,1,2,3,1,1,3,2,12,36,8,8,2,2,21,3,128,3,1,13,1,7,4,1,4,2,1,3,
2,198,64,523,1,1,1,2,24,7,49,16,96,33,1324,1,34,1,1,1,82,2,98,1,14,1,1,4,86,1,1418,
3,141,1,96,32,554,6,105,2,30164,4,1,10,32,2,80,2,272,1,3,1,4,1,23,2,2,1,24,30,4,4,3
,8,1,1,13,2,16,34,16,1,1,26,18,24,24,4,8,2,23,11,1,1,12,32,3,1,5,3,3,36,1,2,4,2,1,3
,1,
36,1,32,35,6,2,2,2,2,12,1,8,1,1,18,16,1,3,6,1,1,1,3,48,1,1,3,2,2,5,2,1,1,32,9,1,2,2
,5,1,1,201,14,2,1,1,9,8,2,1,2,1,2,1,1,1,18,11184,27,49,1028,1024,6942,1,737,16,16,1
6,207,1,158,2,89,3,513,1,226,1,149,5,1670,15,40,7,1,165,2,1305,1,1,1,53,14,1,56,1,2
,1,45,3,4,2,1,1,2,1,66,3,36,5,1,6,2,62,1,12,2,1,48,3,9,1,1,1,2,6,3,95,3,3,2,1,1,2,6
,1,160,1,3,7,1,21,2,2,56,1,1,1,1,1,12,1,9,1,10,4,15,192,3,8,2,1,2,1,1,105,1,2,6,1,1
,2,1,1,2,1,1,1,235,1,2,6,4,2,1,1,1,27,2,82,3,8,2,1,1,1,1,106,1,1,1,2,6,1,1,101,3,2,
4,1,
4,1,1283,1,14,1,1,82,23,1,7,1,2,1,2,20025,5,59,7,1050,62,4,19722,2,1,4,5313,1,1,3,3
,1,5,8,8,2,7,30,4,148,3,1979,55,4,50,8,1,14,1,22,1424,2213,7,109,7,2203,26,264,1,53
,1,52,1,17,1,13,1,16,1,3,1,25,3,2,1,2,3,30,1,1,1,13,5,66,2,2,11,21,4,4,1,1,9,3,1,4,
3,1,3,3,1,30,1,16,2,106,1,4,1,71,2,4,1,21,1,4,2,81,1,92,3,3,5,48,1,17,1,16,1,16,3,9
,1,11,1,587,5,1,1,7,1,9,10,3,2,788162,31],
[1,13,1,12,1,0,1,0,1,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,0,2,0,1,0,2,0,2,0,2,3,0,2,0,2,
0,2,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,
0,2,3,2,4,0,5,2,4,2,0,4,2,4,6,4,0,2,5,0,2,0,5,0,2,4,0,5,2,0,2,4,2,4,6,0,2,5,0,2,0,5
,0,2,4,0,5,2,4,2,6,2,5,0,2,0,2,4,0,5,2,0,4,2,4,6,0,2,0,2,4,0,5,2,0,2,4,2,4,6,2,5,0,
2,0,5,0,2,0,5,2,4,2,4,6,0,2,0,2,4,0,5,0,5,0,2,4,2,6,2,5,0,2,0,2,4,0,5,2,0,4,2,4,2,4
,2,4,2,6,2,5,0,2,0,2,4,0,5,0,2,4,2,4,6,3,0,2,0,2,0,4,0,5,6,2,4,2,4,2,0,4,0,5,0,2,0,
4,2,6,0,2,0,5,0,2,0,4,2,0,2,0,5,0,2,0,2,0,2,0,2,0,4,5,2,4,2,6,0,2,0,2,0,2,0,5,0,2,4
,2,0,6,4,2,5,0,5,0,4,2,5,2,5,0,5,0,5,2,5,2,0,4,2,0,2,5,0,2,0,7,8,9,0,2,0,5,2,6,0,5,
2,6,
0,5,2,0,5,2,5,0,2,4,2,4,2,4,2,6,2,0,2,0,2,1,0,2,0,2,0,5,0,2,4,2,4,2,4,2,0,5,0,5,0,5
,2,4,2,0,5,0,5,4,2,4,2,6,0,2,0,2,4,2,0,2,4,0,5,2,4,2,4,2,4,2,4,6,5,0,2,0,2,4,0,5,4,
2,4,2,6,2,5,0,5,0,5,0,2,4,2,4,2,4,2,6,0,5,4,2,4,2,0,5,0,2,0,2,4,2,0,2,0,4,2,0,2,0,2
,0,1,2,15,1,0,1,0,1,0,2,0,16,0,17,0,17,0,17,0,16,0,17,0,16,0,17,0,2,0,6,0,2,0,2,0,2
,0,2,0,2,0,2,0,2,0,2,0,6,5,2,5,4,2,4,0,5,0,5,0,5,0,5,0,4,0,5,4,6,2,0,2,0,5,0,2,0,5,
2,4,6,0,7,2,4,0,5,0,5,2,4,2,4,2,4,6,0,2,0,5,2,4,2,4,2,0,2,0,2,4,0,5,0,5,0,5,0,2,0,5
,2,
0,2,0,2,0,2,0,2,0,5,4,2,4,0,4,6,0,5,0,5,0,5,0,4,2,4,2,4,0,4,6,0,11,8,9,0,2,0,2,0,2,
0,2,0,1,0,2,0,1,0,2,0,2,0,2,0,2,0,2,6,0,2,0,4,2,4,0,2,6,0,6,2,4,0,4,2,4,6,2,0,3,0,2
,0,2,4,2,6,0,2,0,2,4,0,4,2,4,6,0,3,0,2,0,4,2,4,2,6,2,0,2,0,2,4,2,6,0,2,4,0,2,0,2,4,
2,4,6,0,2,0,4,2,0,4,2,4,6,2,4,2,0,2,4,2,4,2,4,2,4,2,4,6,2,0,2,4,2,4,2,4,6,2,0,2,0,4
,2,4,2,4,6,2,0,2,4,2,4,2,6,2,0,2,4,2,4,2,6,0,4,2,4,6,0,2,4,2,4,2,4,2,0,2,0,2,0,4,2,
0,2,0,1,0,2,4,2,0,4,2,1,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,14,0,17,0,17,0,
17,
0,16,0,17,0,17,0,17,0,16,0,16,0,16,0,17,0,17,0,18,0,16,0,16,0,19,0,16,0,16,0,16,0,1
6,0,16,0,17,0,16,0,17,0,17,0,17,0,16,0,16,0,16,0,16,0,17,0,16,0,16,0,17,0,17,0,16,0
,16,0,16,0,16,0,16,0,16,0,16,0,16,0,16,0,1,2],!0));return
goog.i18n.GraphemeBreak.inversions_.at(a)};goog.i18n.GraphemeBreak.getCodePoint_=fu
nction(a,b){a=goog.i18n.uChar.getCodePointAround(a,b);return 0>a?-
a:a};goog.i18n.GraphemeBreak.hasGraphemeBreak=function(a,b,c){return
goog.i18n.GraphemeBreak.applyBreakRules_(a,b,!1!==c)};
goog.i18n.GraphemeBreak.hasGraphemeBreakStrings=function(a,b,c)
{goog.asserts.assert(void 0!==a,"First string should be
defined.");goog.asserts.assert(void 0!==b,"Second string should be
defined.");return 0===a.length||0===b.length?!
0:goog.i18n.GraphemeBreak.applyBreakRules_(a,b,!1!
==c)};goog.format={};goog.format.fileSize=function(a,b){return
goog.format.numBytesToString(a,b,!
1)};goog.format.isConvertableScaledNumber=function(a){return
goog.format.SCALED_NUMERIC_RE_.test(a)};goog.format.stringToNumericValue=function(a
){return goog.string.endsWith(a,"B")?
goog.format.stringToNumericValue_(a,goog.format.NUMERIC_SCALES_BINARY_):goog.format
.stringToNumericValue_(a,goog.format.NUMERIC_SCALES_SI_)};goog.format.stringToNumBy
tes=function(a){return
goog.format.stringToNumericValue_(a,goog.format.NUMERIC_SCALES_BINARY_)};
goog.format.numericValueToString=function(a,b){return
goog.format.numericValueToString_(a,goog.format.NUMERIC_SCALES_SI_,b)};goog.format.
numBytesToString=function(a,b,c,d){var e="";if(void 0===c||c)e="B";return
goog.format.numericValueToString_(a,goog.format.NUMERIC_SCALES_BINARY_,b,e,d)};goog
.format.stringToNumericValue_=function(a,b){var
c=a.match(goog.format.SCALED_NUMERIC_RE_);return c?
a=Number(c[1])*b[c[2]]:Number(a)};
goog.format.numericValueToString_=function(a,b,c,d,e){var
f=goog.format.NUMERIC_SCALE_PREFIXES_,g=a,h="",k="",l=1;0>a&&(a=-
a);if(Infinity===a)return(Infinity*Math.sign(g)).toString();for(var
m=0;m<f.length;m++){var n=f[m];l=b[n];if(a>=l||1>=l&&a>.1*l){h=n;break}}h?
(d&&(h+=d),e&&(k=" ")):l=1;a=Math.pow(10,void 0!==c?c:2);return
Math.round(g/l*a)/a+k+h};goog.format.SCALED_NUMERIC_RE_=/^(-?\d+\.?\d*)
([KMGTPEZYkmun]?)B?$/;goog.format.NUMERIC_SCALE_PREFIXES_="Y Z E P T G M K m u
n".split(" ");
goog.format.NUMERIC_SCALES_SI_={"":1,n:1E-9,u:1E-
6,m:.001,k:1E3,K:1E3,M:1E6,G:1E9,T:1E12,P:1E15,E:1E18,Z:1E21,Y:1E24};goog.format.NU
MERIC_SCALES_BINARY_={"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-
2),m:1/1024,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),
P:Math.pow(1024,5),E:Math.pow(1024,6),Z:Math.pow(1024,7),Y:Math.pow(1024,8)};goog.f
ormat.FIRST_GRAPHEME_EXTEND_=768;
goog.format.isTreatedAsBreakingSpace_=function(a){return
a<=goog.format.WbrToken_.SPACE||4096<=a&&(8192<=a&&8198>=a||8200<=a&&8203>=a||
5760==a||6158==a||8232==a||8233==a||8287==a||
12288==a)};goog.format.isInvisibleFormattingCharacter_=function(a){return
8204<=a&&8207>=a||8234<=a&&8238>=a};
goog.format.insertWordBreaksGeneric_=function(a,b,c){c=c||10;if(c>a.length)return
a;for(var d=[],e=0,f=0,g=0,h=0,k=0;k<a.length;k++){var
l=h;h=a.charCodeAt(k);l=h>=goog.format.FIRST_GRAPHEME_EXTEND_&&!b(l,h,!0);e>=c&&!
goog.format.isTreatedAsBreakingSpace_(h)&&!
l&&(d.push(a.substring(g,k),goog.format.WORD_BREAK_HTML),g=k,e=0);f?
h==goog.format.WbrToken_.GT&&f==goog.format.WbrToken_.LT?
f=0:h==goog.format.WbrToken_.SEMI_COLON&&f==goog.format.WbrToken_.AMP&&(f=0,e+
+):h==goog.format.WbrToken_.LT||h==goog.format.WbrToken_.AMP?
f=h:goog.format.isTreatedAsBreakingSpace_(h)?
e=0:goog.format.isInvisibleFormattingCharacter_(h)||e++}d.push(a.slice(g));return
d.join("")};goog.format.insertWordBreaks=function(a,b){return
goog.format.insertWordBreaksGeneric_(a,goog.i18n.GraphemeBreak.hasGraphemeBreak,b)}
;goog.format.conservativelyHasGraphemeBreak_=function(a,b){return
1024<=b&&1315>b};goog.format.insertWordBreaksBasic=function(a,b){return
goog.format.insertWordBreaksGeneric_(a,goog.format.conservativelyHasGraphemeBreak_,
b)};
goog.format.WORD_BREAK_HTML=goog.userAgent.WEBKIT?"<wbr></
wbr>":"<wbr>";goog.format.WbrToken_={LT:60,GT:62,AMP:38,SEMI_COLON:59,SPACE:32};oce
an.books.MessageHelper={};
function module$contents$ocean$books$MessageHelper_formatPageSkipMessage(a,b){var
c=module$contents$ocean$books$MessageHelper_getPageNumber(a),d=module$contents$ocea
n$books$MessageHelper_getPageNumber(b);return 0==a.getOrderId()||
0==b.getOrderId()?"Il s'agit d'un aper\u00e7u. Le nombre total de pages affich\
u00e9es est limit\u00e9.":"number"!==typeof c||"number"!==typeof d||c>=d||
1==Math.abs(c-d)?"Certaines pages ne font pas partie de la section consultable du
livre.":module$contents$ocean$books$MessageHelper_isSinglePageMissing(a,
b)?module$contents$ocean$msg_getPageNotPartOfBookPreview(--
d+""):module$contents$ocean$msg_getPageRangeNotShown(++c+"",--d+"")}function
module$contents$ocean$books$MessageHelper_getPageNumber(a){a=a.getTitle();return
goog.string.isNumeric(a)&&!goog.string.isEmptyOrWhitespace(a)?
goog.format.stringToNumericValue(a):null}
function module$contents$ocean$books$MessageHelper_isSinglePageMissing(a,b)
{a=module$contents$ocean$books$MessageHelper_getPageNumber(a);b=module$contents$oce
an$books$MessageHelper_getPageNumber(b);return 0==a+1-(b-
1)}ocean.books.MessageHelper.formatPageSkipMessage=module$contents$ocean$books$Mess
ageHelper_formatPageSkipMessage;ocean.books.MessageHelper.isSinglePageMissing=modul
e$contents$ocean$books$MessageHelper_isSinglePageMissing;ocean.chrome={};ocean.chro
me.Fullscreen=function(a,b,c)
{goog.events.EventTarget.call(this);this.viewer_=a;this.menuDiv_=b;this.menuDivWidt
h_=goog.style.getSize(b).width;this.viewDiv_=c;this.fullscreen_=!
1;this.isRtl_=ocean.style.isPageRtl()};
$jscomp.inherits(ocean.chrome.Fullscreen,goog.events.EventTarget);ocean.chrome.Full
screen.prototype.isFullscreen=function(){return
this.fullscreen_};ocean.chrome.Fullscreen.prototype.toggle=function()
{this.setFullscreen(!this.fullscreen_)};
ocean.chrome.Fullscreen.prototype.setFullscreen=function(a){if(a!=this.fullscreen_)
{this.fullscreen_=a;var
b=this.viewer_.getViewport().getCanvasDiv();goog.style.setElementShown(b,!
1);goog.style.getSize(b);a=[goog.partial(ocean.chrome.Fullscreen.toggleDivs_,this.m
enuDiv_,this.viewDiv_,this.menuDivWidth_,this.isRtl_,a),goog.bind(this.fullscreenEv
entDispatch_,this),goog.partial(goog.style.setElementShown,b,!
0)];a.forEach(goog.Timer.callOnce)}};
ocean.chrome.Fullscreen.prototype.fullscreenEventDispatch_=function()
{this.dispatchEvent(ocean.chrome.Fullscreen.EventType.CHANGE)};ocean.chrome.Fullscr
een.toggleDivs_=function(a,b,c,d,e){var f=b.style.width;d=d?"right":"left";e?
(b.style[d]="0",b.style.width=f+c):
(b.style[d]="",b.style.width="");goog.style.setElementShown(a,!
e)};ocean.chrome.Fullscreen.EventType={CHANGE:"change"};ocean.ui={};function
module$contents$ocean$ui$MessageBar_MessageBar(a,b,c)
{this.parentDiv_=a;this.viewportDiv_=b;this.fullScreen_=c;this.initMessage_()}
module$contents$ocean$ui$MessageBar_MessageBar.prototype.initMessage_=function()
{this.contentElement_=this.makeContentElement_();goog.dom.appendChild(this.parentDi
v_,this.contentElement_);module$contents$ocean$ui$MessageBar_MessageBar.prototype.h
ide.apply(this);goog.events.listen(this.fullScreen_,ocean.chrome.Fullscreen.EventTy
pe.CHANGE,goog.bind(this.reposition_,this));goog.events.listen(new
goog.dom.ViewportSizeMonitor,goog.events.EventType.RESIZE,goog.bind(goog.Timer.call
Once,null,goog.bind(this.reposition_,
this)))};module$contents$ocean$ui$MessageBar_MessageBar.prototype.makeContentElemen
t_=function(){var a=goog.dom.createElement("div");goog.style.setStyle(a,
{whiteSpace:"nowrap",padding:"5px",border:"1px solid
#fff588",backgroundColor:"#ffffcc",fontSize:"13.28px",position:"relative"});return
a};
module$contents$ocean$ui$MessageBar_MessageBar.prototype.reposition_=function(){var
a=goog.style.getSize(this.contentElement_);if(0<a.width){var
b=Math.round(goog.style.getSize(this.viewportDiv_).width/2);a=Math.round(a.width/
2);goog.style.setPosition(this.contentElement_,b-
a,0)}};module$contents$ocean$ui$MessageBar_MessageBar.prototype.show=function()
{goog.style.setElementShown(this.contentElement_,!0);this.reposition_()};
module$contents$ocean$ui$MessageBar_MessageBar.prototype.hide=function()
{goog.style.setElementShown(this.contentElement_,!
1)};module$contents$ocean$ui$MessageBar_MessageBar.prototype.setMessage=function(a)
{module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setI
nnerHtml(this.contentElement_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtml)
(a))};module$contents$ocean$ui$MessageBar_MessageBar.prototype.getRootElement=funct
ion(){return this.contentElement_};
ocean.ui.MessageBar=module$contents$ocean$ui$MessageBar_MessageBar;ocean.ui.FadingM
essageBar=function(a,b,c)
{module$contents$ocean$ui$MessageBar_MessageBar.apply(this,arguments);this.fadeOut_
=new goog.fx.dom.FadeOutAndHide(this.getRootElement(),500);this.hideDelay_=new
goog.async.Delay(goog.bind(this.hide,this))};goog.inherits(ocean.ui.FadingMessageBa
r,module$contents$ocean$ui$MessageBar_MessageBar);
ocean.ui.FadingMessageBar.prototype.show=function(a)
{goog.style.setOpacity(this.getRootElement(),1);module$contents$ocean$ui$MessageBar
_MessageBar.prototype.show.apply(this);a&&this.hideDelay_.start(a)};ocean.ui.Fading
MessageBar.prototype.hide=function()
{this.fadeOut_.play()};ocean.ui.FadingMessageBar.instance_=null;ocean.ui.FadingMess
ageBar.getInstance=function(){return
ocean.ui.FadingMessageBar.instance_};ocean.ui.FadingMessageBar.setInstance=function
(a){ocean.ui.FadingMessageBar.instance_=a};var
module$contents$ocean$books$MessageBarController_MessageBarController=function(a,b)
{goog.events.EventHandler.call(this);this.messageBar_=ocean.ui.FadingMessageBar.get
Instance();this.viewer_=a;this.twoPageViewport_=b;this.viewer_.volumeInfo_.fullview
_||
(this.listen(this.viewer_,ocean.viewport.Viewer.EventType.PAGE_TURN,this.handlePage
Turn_),this.listen(this.twoPageViewport_,module$contents$ocean$EventManager_EventMa
nager.EventType.DISPOSE,this.dispose))};
$jscomp.inherits(module$contents$ocean$books$MessageBarController_MessageBarControl
ler,goog.events.EventHandler);
module$contents$ocean$books$MessageBarController_MessageBarController.prototype.han
dlePageTurn_=function(){var
a=this.twoPageViewport_.renderer_.twoPage_.getPageInfos()[0]||new
ocean.info.PageInfo,b=this.twoPageViewport_.renderer_.twoPage_.getPageInfos()[1]||
new ocean.info.PageInfo,c=this.previousRightPageInfo_,d=c?c.getOrderId():-
1,e=this.previousLeftPageInfo_,f=e?e.getOrderId():-1,g=a.getOrderId()||-
1,h=b.getOrderId()||-1;d=Math.max(d,f);var k=Math.max(g,h);if(Math.abs(k-
d)>this.twoPageViewport_.PAGE_TURN_STEP){if(0<
k-d){var l=d==f?e:c;var m=a}0>k-d&&(l=-1!=h?b:a,m=e);1<h-
g&&(l=a,m=b);module$contents$ocean$books$MessageHelper_isSinglePageMissing(l,m)||
void 0!==l&&void 0!
==m&&this.displayMessage_(module$contents$ocean$books$MessageHelper_formatPageSkipM
essage(l,m))}};module$contents$ocean$books$MessageBarController_MessageBarControlle
r.prototype.savePreviousPageInfos=function(a)
{this.previousLeftPageInfo_=a[0];this.previousRightPageInfo_=a[1]};
module$contents$ocean$books$MessageBarController_MessageBarController.prototype.dis
playMessage_=function(a)
{this.messageBar_.setMessage(a);this.messageBar_.show(3E3)};ocean.books.MessageBarC
ontroller=module$contents$ocean$books$MessageBarController_MessageBarController;var
module$contents$ocean$books$PageInfo_PageInfo=function(a)
{ocean.info.ProtoPageInfo.call(this,a)};
$jscomp.inherits(module$contents$ocean$books$PageInfo_PageInfo,ocean.info.ProtoPage
Info);
module$contents$ocean$books$PageInfo_PageInfo.prototype.setData=function(a)
{ocean.info.ProtoPageInfo.prototype.setData.call(this,a);a&&a.additional_info&&(thi
s.additionalInfo_=a.additional_info["[NewspaperJSONPageInfo]"],this.additionalInfo_
.articles&&(this.articles_={},module$contents$goog$array_forEach(this.additionalInf
o_.articles,function(b){var c=b.aid;c&&(this.articles_[c]=new
module$exports$ocean$books$ArticleInfo(b))},this)))};
module$contents$ocean$books$PageInfo_PageInfo.prototype.isFrontPage=function()
{return
this.hasFlag(ocean.info.ProtoPageInfo.FLAGS.FRONT_PAGE)};module$contents$ocean$book
s$PageInfo_PageInfo.prototype.isBackPage=function(){return
this.hasFlag(ocean.info.ProtoPageInfo.FLAGS.BACK_PAGE)};module$contents$ocean$books
$PageInfo_PageInfo.prototype.getLabel=function(){return
this.isFrontPage()?"Couverture":this.isBackPage()?"Quatri\u00e8me de
couverture":ocean.info.ProtoPageInfo.prototype.getLabel.call(this)};
module$contents$ocean$books$PageInfo_PageInfo.prototype.getDimensionMap=function()
{return{width:"w"}};
module$contents$ocean$books$PageInfo_PageInfo.prototype.getArticle=function(a){if(!
this.articles_)return null;if(a in this.articles_)return this.articles_[a];var
b=module$contents$goog$array_map(Object.keys(this.articles_),function(c){var
d=c.split(","),e=a.split(","),f=parseInt(d[0],10);d=parseInt(d[1],10);var
g=parseInt(e[0],10);e=parseInt(e[1],10);f-=g;d-
=e;return[f*f+d*d,this.articles_[c]]},this);module$contents$goog$array_sortByKey(b,
function(c){return c[0]});return b&&b[0]&&b[0][1]?b[0][1]:
null};module$contents$ocean$books$PageInfo_PageInfo.prototype.setFocusArticle=funct
ion(a){this.articles_&&a in
this.articles_&&(this.focusArticle_=this.articles_[a])};module$contents$ocean$books
$PageInfo_PageInfo.prototype.getFocusArticle=function(){return
this.focusArticle_};module$contents$ocean$books$PageInfo_PageInfo.prototype.createH
eadlineDisplay=function(a){return this.headlineDisplay_=new
module$exports$ocean$books$HeadlineDisplay(a)};
module$contents$ocean$books$PageInfo_PageInfo.prototype.hasHeadlineDisplay=function
(){return null!
=this.headlineDisplay_};ocean.books.PageInfo=module$contents$ocean$books$PageInfo_P
ageInfo;var module$contents$ocean$books$PageInfoSet_PageInfoSet=function(a)
{module$contents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.call(this);module$con
tents$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet.apply(this,arguments);this.calcu
latePageInfoPairs_();goog.events.listen(this,ocean.info.PageInfoSet.EventType.UPDAT
E,goog.bind(this.calculatePageInfoPairs_,this))};
$jscomp.inherits(module$contents$ocean$books$PageInfoSet_PageInfoSet,module$content
s$ocean$info$ProtoPageInfoSet_ProtoPageInfoSet);
module$contents$ocean$books$PageInfoSet_PageInfoSet.prototype.pseudocontinuousImpor
tServerInfo_=function(a){a=a.page;var
b={};module$contents$goog$array_forEach(a,function(d){var
e=this.getPageInfoByPid(d.pid);e&&e.setProtoData(d);b[d.pid]=!
0},this);a=this.getPageInfoArray();var
c=module$contents$goog$array_filter(a,function(d){return!!b[d.getPageId()]||
this.isFetchedPageInfo(d)},this);a.length!=c.length&&this.setPageInfos(c)};
module$contents$ocean$books$PageInfoSet_PageInfoSet.prototype.importServerInfo=func
tion(a){this.pseudocontinuous_?
this.pseudocontinuousImportServerInfo_(a):module$contents$ocean$info$ProtoPageInfoS
et_ProtoPageInfoSet.prototype.importServerInfo.call(this,a)};module$contents$ocean$
books$PageInfoSet_PageInfoSet.prototype.setPseudocontinuous=function(a)
{this.pseudocontinuous_=a};
module$contents$ocean$books$PageInfoSet_PageInfoSet.prototype.calculatePageInfoPair
s_=function(){var
a={},b=0;module$contents$goog$array_forEach(this.getPageInfoArray(),function(g){var
h=g.getOrderId();a[h]=g;b=Math.max(b,h)});for(var c=[],d=-1;d<=b;d+=2){var
e=a[d],f=a[d+1];(e||
f)&&c.push([e,f])}this.pairs_=c};module$contents$ocean$books$PageInfoSet_PageInfoSe
t.prototype.PAGE_INFO_CONSTRUCTOR=module$contents$ocean$books$PageInfo_PageInfo;oce
an.books.PageInfoSet=module$contents$ocean$books$PageInfoSet_PageInfoSet;var
module$exports$ocean$books$ProtoBuyLink=function(a)
{this.seller_=a.Seller;this.url_=a.Url;this.trackingUrl_=a.TrackingUrl;this.price_=
a.Price;this.isInStock_=a.IsInStock;this.isPublisher_=a.IsPublisher};var
module$contents$ocean$books$SearchResultItem_SearchResultItem=function(a)
{this.pageId_=a.page_id;this.pageNumber_=a.page_number||"";this.snippetText_=a.snip
pet_text||"";this.pageUrl_=a.page_url};module$contents$ocean$books$SearchResultItem
_SearchResultItem.prototype.getPageId=function(){return
this.pageId_};module$contents$ocean$books$SearchResultItem_SearchResultItem.prototy
pe.getPageNumber=function(){return this.pageNumber_};
module$contents$ocean$books$SearchResultItem_SearchResultItem.prototype.getPageUrl=
function(){return
this.pageUrl_};ocean.books.SearchResultItem=module$contents$ocean$books$SearchResul
tItem_SearchResultItem;var
module$contents$ocean$books$SearchResults_SearchResults=function(a)
{this.proto_=a;0<this.proto_.number_of_results?
(this.resultItemArray_=module$contents$goog$array_map(this.proto_.search_results,fu
nction(b){return new
module$contents$ocean$books$SearchResultItem_SearchResultItem(b)},this),this.id=thi
s.proto_.search_results[0].page_id+this.getEscapedUserQuery()
+this.proto_.search_results[this.proto_.number_of_results-
1].page_id):this.resultItemArray_=[]};
module$contents$ocean$books$SearchResults_SearchResults.prototype.getSpellSuggestio
n=function(){return
this.proto_.spellresults&&this.proto_.spellresults.correct_spell?
this.proto_.spellresults.correct_spell:null};module$contents$ocean$books$SearchResu
lts_SearchResults.prototype.getEscapedUserQuery=function(){return
this.proto_.search_query_escaped};ocean.books.SearchResults=module$contents$ocean$b
ooks$SearchResults_SearchResults;var
module$contents$ocean$books$Separator_Separator=function(a,b)
{module$contents$ocean$EventManager_EventManager.call(this);this.canvasDiv_=a;this.
layoutSeparator_=b;this.prevPageInfo_=b.previousPageInfo_;this.nextPageInfo_=b.next
PageInfo_;this.separatorDiv_=goog.dom.createElement(goog.dom.TagName.DIV);this.sepa
ratorDiv_.className="separator-
container";this.canvasDiv_.appendChild(this.separatorDiv_);a=goog.dom.createElement
(goog.dom.TagName.TABLE);a.className="separator-outer-
table";this.separatorDiv_.appendChild(a);
var c=a.insertRow(-1).insertCell(-1);c.align="center";var
d=goog.dom.createElement(goog.dom.TagName.DIV);d.className="separator-
background";c.appendChild(d);c=goog.dom.createElement(goog.dom.TagName.TABLE);c.cla
ssName="separator-inner-
table";d.appendChild(c);c.align="center";b.isPublisherInfoSeparator()?
(this.makeSeparatorMessageWithPublisherInfo_(c),goog.dom.classlist.add(a,"separator
-pubinfo"),goog.dom.classlist.add(d,"separator-pubinfo")):(b=c.insertRow(-
1),b=b.insertCell(-1),goog.dom.classlist.add(b,
"separator-
message"),b.textContent=this.makeLabel_());goog.style.setUnselectable(this.separato
rDiv_,!0);ocean.style.clearExternalStyles(this.separatorDiv_)};
$jscomp.inherits(module$contents$ocean$books$Separator_Separator,module$contents$oc
ean$viewport$Drawable_Drawable);module$contents$ocean$books$Separator_Separator.pro
totype.setSize=function(a){goog.style.setSize(this.separatorDiv_,a)};
module$contents$ocean$books$Separator_Separator.prototype.setPosition=function(a)
{goog.style.setPosition(this.separatorDiv_,a)};module$contents$ocean$books$Separato
r_Separator.prototype.cleanup=function()
{goog.dom.removeNode(this.separatorDiv_)};module$contents$ocean$books$Separator_Sep
arator.prototype.makeLabel_=function(){return
module$contents$ocean$books$MessageHelper_formatPageSkipMessage(this.prevPageInfo_,
this.nextPageInfo_)};
module$contents$ocean$books$Separator_Separator.prototype.makeSeparatorMessageWithP
ublisherInfo_=function(a){var b=goog.dom.getElement("gb-mobile-menu-pubinfo");if(b)
{var c=goog.dom.getElementsByTagName(goog.dom.TagName.IMG,b);if(1==c.length)
{c=c[0].cloneNode(!0);var d=a.insertRow(-1).insertCell(-
1);goog.dom.insertChildAt(d,c,0);goog.dom.classlist.add(d,"separator-
message");goog.dom.classlist.add(d,"separator-pubinfo-
message")}c=this.makeLabel_();b=goog.dom.getTextContent(b);a=a.insertRow(-
1).insertCell(-1);
d=goog.dom.createElement(goog.dom.TagName.SPAN);d.className="separator-
text";a.appendChild(d);this.layoutSeparator_.isForcedPublisherInfoSeparator()?
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml(d,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(b)):module$exports$google3$third_party$javascript$safevalues$dom$elements$element.
setInnerHtml(d,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(c+
"<br>"+b));goog.dom.classlist.add(a,"separator-
message");goog.dom.classlist.add(a,"separator-pubinfo-
message")}};module$contents$ocean$books$Separator_Separator.setVolumeInfo=function(
a)
{module$contents$ocean$books$Separator_Separator.volumeInfo_=a};module$contents$oce
an$books$Separator_Separator.volumeInfo_=null;ocean.books.Separator=module$contents
$ocean$books$Separator_Separator;ocean.books.ThumbnailLayout=function(a,b,c,d)
{this.verticalSpacing=this.horizontalSpacing=10;this.marginBottom=this.marginTop=20
;var
e=ocean.books.ThumbnailLayout.THUMBNAIL_WIDTH_+this.horizontalSpacing;b=Math.floor(
(b-20)/e);d&&2<b&&(b-=b
%2);module$contents$ocean$layout$ViewportLayout_ViewportLayout.call(this,b);a.getPa
geInfoArray();a=module$contents$goog$array_map(a.getPageInfoArray(),function(f)
{f=new module$contents$ocean$layout$LayoutPage_LayoutPage(f);var
g=f.getSize();g.width=ocean.books.ThumbnailLayout.THUMBNAIL_WIDTH_;
f.setSize(g);return f});c&&(c=a[0],c=c.getSize(),d=new
module$contents$ocean$layout$LayoutItem_LayoutItem,d.setSize(c),this.addItem(d));mo
dule$contents$goog$array_forEach(a,goog.bind(this.addItem,this));this.calculate()};
goog.inherits(ocean.books.ThumbnailLayout,module$contents$ocean$layout$ViewportLayo
ut_ViewportLayout);ocean.books.ThumbnailLayout.THUMBNAIL_WIDTH_=100;function
module$contents$ocean$viewport$DocumentViewport_DocumentViewport(a,b)
{ocean.viewport.Viewport.call(this,b);this.viewer=a;this.getHandler().listen(a,ocea
n.viewport.Viewer.EventType.PAGECHANGE,this.handlePageChange);this.getHandler().lis
ten(this.viewer,ocean.viewport.Viewer.EventType.SEARCHUPDATE,this.handleSearchState
Change_);if(a=goog.dom.getElement("subscription-
bar"))this.getHandler().listen(this,ocean.viewport.Viewport.EventType.SCROLLDOWN,go
og.partial(this.fadeOutInstitutionalSubscriptionBar,
a)),this.getHandler().listen(this,ocean.viewport.Viewport.EventType.SCROLLUP,goog.p
artial(this.fadeInInstitutionalSubscriptionBar,a))}goog.inherits(module$contents$oc
ean$viewport$DocumentViewport_DocumentViewport,ocean.viewport.Viewport);
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.getPageI
nfos=function(){var
a=this.layout_.getItems(),b=[];this.clipper_&&(a=this.clipper_.getVisibleLayoutItem
s(a));module$contents$goog$array_forEach(a,function(c){c instanceof
module$contents$ocean$layout$LayoutPage_LayoutPage&&b.push(c.getPageInfo())});retur
n
b};module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.zoomT
oStop=function(a){this.setFit_(!1,!1);this.zoomToStop_(a)};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.zoomToSt
op_=function(a)
{this.zoomPageHelper(this.createLayoutForZoomStop(a))};module$contents$ocean$viewpo
rt$DocumentViewport_DocumentViewport.prototype.zoomHelper=function(a){var
b=[];this.layout_.getZoomMode()==ocean.layout.Layout.ZoomMode.FIXED_WIDTH&&b.push(t
his.getSize().width);this.getZoomStops&&(a=this.getZoomStops().getNewSize(this.layo
ut_.getZoomStop(),a,b))&&this.zoomToStop(a)};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.fitToWid
th=function()
{goog.asserts.assert(this.viewer.volumeInfo_.getZoomMode()==ocean.layout.Layout.Zoo
mMode.FIXED_WIDTH);this.setFit_(!0,!
1);this.zoomToStop_(this.getSize().width)};module$contents$ocean$viewport$DocumentV
iewport_DocumentViewport.prototype.isFitToWidth=function(){return
this.fitToWidth_};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.setFit_=
function(a,b)
{this.fitToWidth_=a;this.fitToHeight_=b};module$contents$ocean$viewport$DocumentVie
wport_DocumentViewport.prototype.resize=function()
{if(this.fitToWidth_)this.fitToWidth();else{var
a=this.layout_.getZoomStop();a&&this.zoomToStop(a)}};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.zoomPage
Helper=function(a){var b=this.layout_;this.setLayout(a);b&&(a=new
module$contents$ocean$layout$PointMapper_PointMapper(b,a),a=a.getDestCoordinate(thi
s.getMiddleCoordinate()),
(a=this.middleToScroll(a))&&this.moveTo(a))};module$contents$ocean$viewport$Documen
tViewport_DocumentViewport.prototype.handlePageChange=function()
{this.ignorePageChange_||this.goToPage(this.viewer.getPageInfo())};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.goToPage
=function(a){var
b;this.layout_.getLayoutPageByPageInfo&&(b=this.layout_.getLayoutPageByPageInfo(a))
&&(a=b.getLeft(),b=b.getTop(),this.setScroll(new
goog.math.Coordinate(Math.round(a),Math.round(b))))};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.prototype.handleSe
archStateChange_=function()
{module$contents$ocean$viewport$DocumentViewport_DocumentViewport.enableSearchAutoU
pdate_&&(this.dispatcher_.cleanup(),this.forceUpdateDisplay_&&this.forceUpdateDispl
ay_(),this.updateDisplay())};module$contents$ocean$viewport$DocumentViewport_Docume
ntViewport.enableSearchAutoUpdate=function(a)
{module$contents$ocean$viewport$DocumentViewport_DocumentViewport.enableSearchAutoU
pdate_=a};
module$contents$ocean$viewport$DocumentViewport_DocumentViewport.enableSearchAutoUp
date_=!
0;ocean.viewport.DocumentViewport=module$contents$ocean$viewport$DocumentViewport_D
ocumentViewport;var
module$contents$ocean$viewport$LayoutPageRenderer_LayoutPageRenderer=function(a,b)
{this.viewport_=a;this.factory_=b};
$jscomp.inherits(module$contents$ocean$viewport$LayoutPageRenderer_LayoutPageRender
er,module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer);
module$contents$ocean$viewport$LayoutPageRenderer_LayoutPageRenderer.prototype.rend
er=function(a){var
b=this.factory_(),c=a.getPageInfo(),d=this.viewport_.getZoomStops().getMax()/
a.getSize().width;b.setPageSize(a.getSize());b.setImageSize(a.getSize().clone().sca
le(d));b.setPosition(a.getLeft(),a.getTop());b.setPageInfo(c);b.draw();return
b};ocean.viewport.LayoutPageRenderer=module$contents$ocean$viewport$LayoutPageRende
rer_LayoutPageRenderer;function
module$contents$ocean$viewport$BaseClipper_BaseClipper()
{}ocean.viewport.BaseClipper=module$contents$ocean$viewport$BaseClipper_BaseClipper
;function module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper(a)
{this.viewport_=a}goog.inherits(module$contents$ocean$viewport$ContinuousClipper_Co
ntinuousClipper,module$contents$ocean$viewport$BaseClipper_BaseClipper);
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.prototype.getCli
ppedLayoutItems=function(a){var b=this.splitDrawableItems_(a);a=b[0]||[];b=b[1]||
[];var
c=this.viewport_.getMiddleCoordinate();b.sort(goog.partial(module$contents$ocean$vi
ewport$ContinuousClipper_ContinuousClipper.sortItemsByDistance_,c));c=[];module$con
tents$goog$array_extend(c,a,b);return c};
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.prototype.getVis
ibleLayoutItems=function(a){a=this.splitDrawableItems_(a);return a[0]||
[]};module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.sortItemsByD
istance_=function(a,b,c){return goog.math.Box.distance(b.getBox(),a)-
goog.math.Box.distance(c.getBox(),a)};module$contents$ocean$viewport$ContinuousClip
per_ContinuousClipper.PREDRAW_DISTANCE_=800;
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.prototype.splitD
rawableItems_=function(a){var b=this.viewport_.getViewableRect(),c=new
goog.math.Rect(b.left-
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.PREDRAW_DISTANCE
_,b.top-
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.PREDRAW_DISTANCE
_,b.width+2*module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.PRED
RAW_DISTANCE_,b.height+2*module$contents$ocean$viewport$ContinuousClipper_Continuou
sClipper.PREDRAW_DISTANCE_);
return a=module$contents$goog$array_bucket(a,function(d)
{d=d.getRect();if(goog.math.Rect.intersection(c,d))return
goog.math.Rect.intersection(b,d)?
0:1})};ocean.viewport.ContinuousClipper=module$contents$ocean$viewport$ContinuousCl
ipper_ContinuousClipper;var
module$contents$ocean$viewport$NeighboringClipper_NeighboringClipper=function(a,b)
{this.viewport_=b;this.viewer_=a};
$jscomp.inherits(module$contents$ocean$viewport$NeighboringClipper_NeighboringClipp
er,module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper);
module$contents$ocean$viewport$NeighboringClipper_NeighboringClipper.prototype.getC
lippedLayoutItems=function(a){var
b=module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper.prototype.getC
lippedLayoutItems.call(this,a),c=this.viewer_.getPageInfo();if(c){var
d=[],e=this.viewer_.pageInfoSet_;module$contents$goog$array_forEach([1,-
1],function(){var
f=e.getPageInfoByOffset(c.getPageId(),1);f&&d.push(f)});module$contents$goog$array_
forEach(a,function(f){f.getPageInfo&&module$contents$goog$array_contains(d,
f.getPageInfo())&&module$contents$goog$array_insert(b,f)})}return
b};ocean.viewport.NeighboringClipper=module$contents$ocean$viewport$NeighboringClip
per_NeighboringClipper;function
module$contents$ocean$viewport$OnePage_OnePage(a,b,c)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.vie
wport_=b;this.pageDiv_=goog.dom.createElement("div");ocean.style.clearExternalStyle
s(this.pageDiv_,!0);goog.style.setStyle(this.pageDiv_,
{position:"absolute",display:"none"});goog.dom.appendChild(c,this.pageDiv_);this.sh
adowDiv_=goog.dom.createElement("div");ocean.style.clearExternalStyles(this.shadowD
iv_,!0);goog.style.setStyle(this.shadowDiv_,{position:"absolute"});
goog.dom.appendChild(this.pageDiv_,this.shadowDiv_);this.borderDiv_=goog.dom.create
Element("div");ocean.style.clearExternalStyles(this.borderDiv_,!
0);goog.dom.appendChild(this.pageDiv_,this.borderDiv_);this.imageDiv_=goog.dom.crea
teElement("div");ocean.style.clearExternalStyles(this.imageDiv_,!
0);goog.dom.appendChild(this.borderDiv_,this.imageDiv_);this.hide()}goog.inherits(m
odule$contents$ocean$viewport$OnePage_OnePage,module$contents$ocean$viewport$Drawab
le_Drawable);
module$contents$ocean$viewport$OnePage_OnePage.prototype.setPageSize=function(a)
{this.pageWidth_=a.width;this.pageHeight_=a.height};module$contents$ocean$viewport$
OnePage_OnePage.prototype.setImageSize=function(a)
{this.imageWidth_=a.width;this.imageHeight_=a.height};module$contents$ocean$viewpor
t$OnePage_OnePage.BORDER_WIDTH_=1;
module$contents$ocean$viewport$OnePage_OnePage.prototype.draw=function(){var
a=2*module$contents$ocean$viewport$OnePage_OnePage.BORDER_WIDTH_,b=this.pageWidth_-
a,c=this.pageHeight_-a,d=this.imageWidth_-a;a=this.imageHeight_-
a;goog.style.setStyle(this.borderDiv_,
{backgroundColor:"#cccccc",position:"absolute"});goog.style.setPosition(this.border
Div_,0,0);goog.style.setSize(this.borderDiv_,this.pageWidth_,this.pageHeight_);goog
.style.setStyle(this.imageDiv_,{overflow:"hidden",backgroundColor:"#fcfcfc",
position:"absolute"});goog.style.setPosition(this.imageDiv_,module$contents$ocean$v
iewport$OnePage_OnePage.BORDER_WIDTH_,module$contents$ocean$viewport$OnePage_OnePag
e.BORDER_WIDTH_);goog.style.setSize(this.imageDiv_,b,c);this.show();b=new
goog.math.Size(b,c);d=new
goog.math.Size(d,a);this.pageDisplay_=module$contents$ocean$viewport$Page_getDecora
tedPageDisplay(this.viewer_,new
ocean.viewport.ScaledPageImage(this.getPageInfo(),b,d),this.imageDiv_)};
module$contents$ocean$viewport$OnePage_OnePage.prototype.hide=function()
{goog.style.setElementShown(this.pageDiv_,!
1)};module$contents$ocean$viewport$OnePage_OnePage.prototype.show=function()
{goog.style.setElementShown(this.pageDiv_,!
0)};module$contents$ocean$viewport$OnePage_OnePage.prototype.getPageDisplay=functio
n(){return
this.pageDisplay_};module$contents$ocean$viewport$OnePage_OnePage.prototype.isLoade
d=function(){return this.pageDisplay_.isLoaded()};
module$contents$ocean$viewport$OnePage_OnePage.prototype.cleanup=function()
{this.pageDisplay_&&this.pageDisplay_.cleanup();goog.dom.removeNode(this.pageDiv_)}
;module$contents$ocean$viewport$OnePage_OnePage.prototype.setPosition=function(a,b)
{goog.style.setPosition(this.pageDiv_,a,b)};module$contents$ocean$viewport$OnePage_
OnePage.prototype.getTop=function(){return
goog.style.getPosition(this.pageDiv_).x};module$contents$ocean$viewport$OnePage_One
Page.prototype.getLeft=function(){return goog.style.getPosition(this.pageDiv_).y};
module$contents$ocean$viewport$OnePage_OnePage.prototype.setPageInfo=function(a)
{if(goog.DEBUG&&this.pageInfo_)throw"Attempted to set a page's page info
twice.";this.pageInfo_=a};module$contents$ocean$viewport$OnePage_OnePage.prototype.
getPageInfo=function(){return
this.pageInfo_};module$contents$ocean$viewport$OnePage_OnePage.prototype.getHeight=
function(){return
this.pageHeight_};module$contents$ocean$viewport$OnePage_OnePage.prototype.getWidth
=function(){return this.pageWidth_};
module$contents$ocean$viewport$OnePage_OnePage.getSizeForImageSize=function(a)
{return
a+2*module$contents$ocean$viewport$OnePage_OnePage.BORDER_WIDTH_};module$contents$o
cean$viewport$OnePage_OnePage.prototype.getDiv=function(){return
this.pageDiv_};module$contents$ocean$viewport$OnePage_OnePage.prototype.getSize=fun
ction(){return new
goog.math.Size(this.pageWidth_,this.pageHeight_)};ocean.viewport.OnePage=module$con
tents$ocean$viewport$OnePage_OnePage;function
module$contents$ocean$viewport$BaseWindow_BaseWindow(a)
{module$contents$ocean$EventManager_EventManager.call(this);goog.dom.removeChildren
(a);ocean.style.clearExternalStyles(a);this.croppingDiv_=a;this.canvasDiv_=goog.dom
.createElement("div");ocean.style.clearExternalStyles(this.canvasDiv_,!
0);ocean.style.isPageRtl()&&(goog.dom.setProperties(a,
{dir:"ltr"}),goog.dom.setProperties(this.canvasDiv_,
{dir:"rtl"}));goog.dom.appendChild(a,this.canvasDiv_)}
goog.inherits(module$contents$ocean$viewport$BaseWindow_BaseWindow,module$contents$
ocean$EventManager_EventManager);module$contents$ocean$viewport$BaseWindow_BaseWind
ow.prototype.getCroppingDiv=function(){return
this.croppingDiv_};module$contents$ocean$viewport$BaseWindow_BaseWindow.prototype.g
etCanvasDiv=function(){return
this.canvasDiv_};ocean.viewport.BaseWindow=module$contents$ocean$viewport$BaseWindo
w_BaseWindow;var
module$contents$ocean$viewport$ScrollWindow_ScrollWindow=function(a,b)
{module$contents$ocean$viewport$BaseWindow_BaseWindow.call(this,b);this.viewport_=a
;this.getHandler().listen(b,goog.events.EventType.SCROLL,this.checkForScrollUpdate_
);goog.style.setStyle(b,"position","relative");goog.style.setStyle(this.getCanvasDi
v(),"position","absolute");this.backgroundDiv_=goog.dom.createElement("div");goog.d
om.classlist.add(this.backgroundDiv_,"scroll-
background");ocean.style.clearExternalStyles(this.backgroundDiv_,
!
0);goog.dom.appendChild(b,this.backgroundDiv_);goog.dom.appendChild(this.background
Div_,this.getCanvasDiv())};
$jscomp.inherits(module$contents$ocean$viewport$ScrollWindow_ScrollWindow,module$co
ntents$ocean$viewport$BaseWindow_BaseWindow);module$contents$ocean$viewport$ScrollW
indow_ScrollWindow.prototype.setCropOffset=function(a){if(!this.ignoreMove_){var
b=this.getCroppingDiv();null!=a.y&&(b.scrollTop=a.y);null!
=a.x&&(b.scrollLeft=a.x)}};
module$contents$ocean$viewport$ScrollWindow_ScrollWindow.prototype.setWindowSize=fu
nction(a)
{this.windowSize_=a;this.placeDivs_()};module$contents$ocean$viewport$ScrollWindow_
ScrollWindow.prototype.setCanvasSize=function(a)
{this.canvasSize_=a;this.canvasSizeChanged_=!
0;goog.style.setSize(this.getCanvasDiv(),a);goog.Timer.callOnce(this.setCanvasSizeF
ollowup_,0,this);this.placeDivs_()};
module$contents$ocean$viewport$ScrollWindow_ScrollWindow.prototype.placeDivs_=funct
ion(){var
a=this.windowSize_,b=this.canvasSize_;a&&b&&(a=this.viewport_.getCroppingDiv().clie
ntWidth,a=Math.max(0,a-b.width),a=Math.floor(a/
2),goog.style.setStyle(this.getCanvasDiv(),"left",a+"px"),goog.style.setStyle(this.
backgroundDiv_,"height",b.height+"px"))};module$contents$ocean$viewport$ScrollWindo
w_ScrollWindow.prototype.setCanvasSizeFollowup_=function()
{this.canvasSizeChanged_=!1;this.checkForScrollUpdate_()};
module$contents$ocean$viewport$ScrollWindow_ScrollWindow.prototype.checkForScrollUp
date_=function(){if(!this.canvasSizeChanged_){var
a=this.viewport_.getScroll();if(a){a=a.clone();var
b=this.getScrollCoordinate_();goog.math.Coordinate.equals(a,b)||(this.ignoreMove_=!
0,this.viewport_.moveTo(b),this.ignoreMove_=!
1)}}};module$contents$ocean$viewport$ScrollWindow_ScrollWindow.prototype.getScrollC
oordinate_=function(){var a=this.getCroppingDiv();return new
goog.math.Coordinate(a.scrollLeft,a.scrollTop)};
ocean.viewport.ScrollWindow=module$contents$ocean$viewport$ScrollWindow_ScrollWindo
w;ocean.books.VerticalViewport=function(a){var b=a.viewportDiv_,c=new
module$contents$ocean$viewport$ScrollWindow_ScrollWindow(this,b);ocean.books.Vertic
alViewport.applyOverflowStyles_(b);module$contents$ocean$viewport$DocumentViewport_
DocumentViewport.call(this,a,c);this.setClipper(new
module$contents$ocean$viewport$NeighboringClipper_NeighboringClipper(a,this));this.
setDispatcher(this.createDispatcher_());var
d=a.pageInfoSet_,e=a.volumeInfo_.getZoomMode();this.createLayoutFunction_=a.volumeI
nfo_.fullview_?
function(f){return new
module$contents$ocean$books$Layout_Layout(d,e,f)}:a.volumeInfo_.lastPageInfo_?
function(f){return new module$contents$ocean$books$Layout_Layout(d,e,f,!
0,a.volumeInfo_.lastPageInfo_)}:function(f){return new
module$contents$ocean$books$Layout_Layout(d,e,f,!
0)};b=this.viewer.volumeInfo_;b.getZoomMode()==ocean.layout.Layout.ZoomMode.FIXED_H
EIGHT?
(b=b.getZoomStops(),b=module$contents$ocean$viewport$OnePage_OnePage.getSizeForImag
eSize(b[Math.floor(b.length/
2)])):b=module$contents$ocean$viewport$OnePage_OnePage.getSizeForImageSize(b.getIni
tialZoomWidth());
this.zoomToStop(b);this.getHandler().listen(this.viewer,ocean.viewport.Viewer.Event
Type.PAGESUPDATE,this.handlePagesUpdate_);this.getHandler().listen(this.viewer,ocea
n.viewport.Viewer.EventType.PAGEMODECHANGE,this.handlePageModeChange_);this.getHand
ler().listen(this,ocean.viewport.Viewport.EventType.MOVE,this.updateDisplay);this.g
etHandler().listen(this,ocean.viewport.Viewport.EventType.MOVE,this.updateCurrentPa
ge_)};goog.inherits(ocean.books.VerticalViewport,module$contents$ocean$viewport$Doc
umentViewport_DocumentViewport);
ocean.books.VerticalViewport.applyOverflowStyles_=function(a)
{goog.style.setStyle(a,"overflow","auto");goog.style.setStyle(a,
{overflowX:"auto",overflowY:"scroll"});goog.dom.classlist.add(a,"overflow-
scrolling");goog.dom.setProperties(a,
{dir:"ltr"})};ocean.books.VerticalViewport.prototype.zoomIn=function()
{this.zoomHelper(1)};ocean.books.VerticalViewport.prototype.zoomOut=function()
{this.zoomHelper(-1)};
ocean.books.VerticalViewport.prototype.getZoomStops=function(){var
a=this.viewer.volumeInfo_,b=module$contents$goog$array_toArray(a.getZoomStops());if
(a.getZoomMode()==ocean.layout.Layout.ZoomMode.FIXED_WIDTH&&(a=this.viewer.volumeIn
fo_.maxZoomWidth_)){var c=module$contents$goog$array_peek(b);c=a-c;150<c&&(1500>a?
module$contents$goog$array_insert(b,a):module$contents$goog$array_insert(b,1500))}r
eturn new
module$contents$ocean$viewport$ZoomStops_ZoomStops(module$contents$goog$array_map(b
,module$contents$ocean$viewport$OnePage_OnePage.getSizeForImageSize))};
ocean.books.VerticalViewport.prototype.zoomToCoordinate=function(a,b,c){var
d=this.getScroll(),e=this.layout_,f=this.createLayoutForZoomStop(b),g=new
module$contents$ocean$layout$PointMapper_PointMapper(e,f),h=goog.math.Coordinate.su
m(d,c);h=g.getDestCoordinate(h);var
k=goog.math.Coordinate.difference(h,c),l=this.viewportDiv_,m=goog.dom.getElementsBy
TagNameAndClass(goog.dom.TagName.DIV,"separator-container");if(b>a)
{d=g.getDestCoordinate(this.getMiddleCoordinate());d=this.middleToScroll(d);c=goog.
math.Coordinate.difference(d,
k);var n=(a-b)/2;e=b/a;d=1/e;c="matrix("+e+", 0, 0,"+e+","+c.x+","+c.y+")";var
p="matrix("+d+", 0, 0,"+d+","+n+", 0)";l.style.transition="transform
0.3s";l.style.transform=c;l.style.webkitTransform=c;module$contents$goog$array_forE
ach(m,function(q)
{q.style.width=b+"px";q.style.transform=p;q.style.webkitTransform=p});goog.Timer.ca
llOnce(function()
{this.setLayout(f);this.moveTo(k);l.style.transition="none";l.style.transform="";l.
style.webkitTransform="";module$contents$goog$array_forEach(m,function(q)
{q.style.transform=
"";q.style.webkitTransform=""})},300,this)}else
this.setLayout(f),this.moveTo(k),m=goog.dom.getElementsByTagNameAndClass(goog.dom.T
agName.DIV,"separator-container"),c=new
module$contents$ocean$layout$PointMapper_PointMapper(this.layout_,e),c=c.getDestCoo
rdinate(this.getMiddleCoordinate()),c=this.middleToScroll(c),c=goog.math.Coordinate
.difference(c,d),n=(b-a)/2,e=a/b,d=1/e,c="matrix("+e+", 0,
0,"+e+","+c.x+","+c.y+")",p="matrix("+d+", 0, 0,"+d+","+n+",
0)",l.style.transform=c,l.style.webkitTransform=
c,module$contents$goog$array_forEach(m,function(q)
{q.style.width=a+"px";q.style.transform=p;q.style.webkitTransform=p}),goog.async.ne
xtTick(function(){l.style.transition="transform 0.3s";l.style.transform="matrix(1,
0, 0, 1, 0, 0)";l.style.webkitTransform="matrix(1, 0, 0, 1, 0,
0)";module$contents$goog$array_forEach(m,function(q){q.style.transition="transform
0.3s";q.style.transform="matrix(1, 0, 0, 1,"+n+",
0)";q.style.webkitTransform="matrix(1, 0, 0, 1,"+n+",
0)"});goog.Timer.callOnce(function(){l.style.transition=
"none";l.style.transform="";l.style.webkitTransform="";module$contents$goog$array_f
orEach(m,function(q)
{q.style.width=b+"px";q.style.transition="none";q.style.transform="";q.style.webkit
Transform=""})},500,this)},this)};ocean.books.VerticalViewport.prototype.createLayo
utForZoomStop=function(a){return
this.createLayoutFunction_(a)};ocean.books.VerticalViewport.prototype.getSize=funct
ion(){return this.getContentSize()};
ocean.books.VerticalViewport.prototype.createDispatcher_=function(){var
a=this,b=goog.partial(goog.functions.create,module$contents$ocean$viewport$OnePage_
OnePage,this.viewer,this,this.getCanvasDiv());b=new
module$contents$ocean$viewport$LayoutPageRenderer_LayoutPageRenderer(this,b);var
c=new
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher;c.addRende
rer(module$contents$ocean$layout$LayoutPage_LayoutPage,b);c.addRenderer(module$cont
ents$ocean$books$LayoutSeparator_LayoutSeparator,
new
module$contents$ocean$books$LayoutSeparatorRenderer_LayoutSeparatorRenderer(this.vi
ewer,function(d){return new
module$contents$ocean$books$Separator_Separator(a.getCanvasDiv(),d)}));return
c};ocean.books.VerticalViewport.prototype.updateCurrentPage_=function()
{this.updateMiddlePage_&&this.setMiddlePage_();this.updateMiddlePage_=!0};
ocean.books.VerticalViewport.prototype.setMiddlePage_=function(){var
a=this.getMiddleCoordinate();
(a=this.layout_.getItemAtYCoordinate(a.y))&&a.getPageInfo&&(a=a.getPageInfo(),this.
viewer.getPageInfo()!=a&&(this.ignorePageChange_=!
0,this.viewer.setPageId(a.getPageId()),this.ignorePageChange_=!1))};
ocean.books.VerticalViewport.prototype.handlePagesUpdate_=function(){var
a=this.viewer.getPageInfo(),b=this.viewer.pageInfoSet_,c=b.getPageInfoByPid(a.getPa
geId());c||
(c=b.getPageInfoWithMaxOrderId(a.getOrderId()));b=this.getScroll();a=this.layout_;v
ar
d=a.getLayoutPageByPageInfo(c);b=goog.math.Coordinate.difference(b,d.getPosition())
;a=this.createLayoutForZoomStop(a.getZoomStop());c=a.getLayoutPageByPageInfo(c);c=g
oog.math.Coordinate.sum(c.getPosition(),b);this.setLayout(a);this.moveTo(c)};
ocean.books.VerticalViewport.prototype.handlePageModeChange_=function()
{this.dispatcher_.cleanup();this.updateDisplay()};ocean.books.VerticalViewport.MAX_
ZOOM_WIDTH_=1500;ocean.books.VerticalViewport.ZOOM_STOP_DIFFERENCE_=150;
ocean.books.VerticalViewport.prototype.getFocusArticleCoords=function(a)
{if(a.getFocusArticle&&a.focusArticle_){var
b=a.focusArticle_,c=b.getFocusCoordinates();b=c.x-40;c=c.y-40;var
d=this.layout_.getLayoutPageByPageInfo(a);a=d.getWidth()/a.getPageWidth();b=d.getLe
ft()+Math.round(a*b);a=d.getTop()+Math.round(a*c);return a=new
goog.math.Coordinate(b,a)}return null};
ocean.books.VerticalViewport.prototype.drawBoundingBoxes=function(a)
{if(a.getFocusArticle&&a.focusArticle_){var
b=a.focusArticle_,c=a.hasHeadlineDisplay()?
a.headlineDisplay_:a.createHeadlineDisplay(this.getCanvasDiv());c.resetDisplayDiv(t
his.getCanvasDiv());var
d=this.layout_.getLayoutPageByPageInfo(a);a=d.getWidth()/a.getPageWidth();if(b.getH
eadlineBoxes()&&(b=b.getHeadlineBoxes())){var e=b[0];if(e&&4==e.length)
{b=a*e[0]+d.getLeft();d=a*e[1]+d.getTop();var
f=a*e[2];a*=e[3];c.drawHighlight(b,d,f,
a)}}}};ocean.books.ThumbnailPage=function(a,b,c,d,e)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.vie
wport_=b;this.pageInfo_=c;var
f=goog.dom.createElement("div");goog.style.setStyle(f,
{position:"absolute"});e=e.width-2;goog.style.setPosition(f,d.x+
(ocean.style.isPageRtl()?
e:0),d.y);goog.dom.appendChild(b.getCanvasDiv(),f);this.rootDiv_=f;b=Math.floor(e/
c.getRatio());e=new
goog.math.Size(e,b);this.imageBorderDiv_=goog.dom.createElement("div");goog.dom.app
endChild(this.rootDiv_,
this.imageBorderDiv_);goog.style.setStyle(this.imageBorderDiv_,
{padding:"1px",position:"absolute"});this.updateSelected_();b=goog.dom.createElemen
t("div");goog.dom.appendChild(this.imageBorderDiv_,b);goog.style.setStyle(b,
{overflow:"hidden",backgroundColor:"#fcfcfc"});goog.style.setSize(b,e);goog.dom.app
endChild(this.imageBorderDiv_,b);d=goog.dom.createElement(goog.dom.TagName.IMG);d.t
itle=c.getLabel();this.image_=d;f=new
goog.Uri(c.getPageImageUrl());f.setParameterValue("zoom","1");f.setParameterValue("
img",
"1");f.setParameterValue("w",e.width);if(e=this.viewer_.volumeInfo_.thumbnailToken_
)f.setParameterValue("imgtk",e),f.setParameterValue("jtp",c.getOrderId());d.src=f.t
oString();goog.dom.appendChild(b,d);goog.style.setStyle(this.imageBorderDiv_,"curso
r","pointer");this.getHandler().listen(this.imageBorderDiv_,"click",this.handleClic
k);this.getHandler().listen(a,ocean.viewport.Viewer.EventType.PAGECHANGE,this.updat
eSelected_)};
$jscomp.inherits(ocean.books.ThumbnailPage,module$contents$ocean$viewport$Drawable_
Drawable);
ocean.books.ThumbnailPage.prototype.updateSelected_=function(){var a=!
1,b=this.viewer_.getPageInfo();b&&b==this.pageInfo_&&(a=!
0);goog.style.setStyle(this.imageBorderDiv_,"backgroundColor",a?"#6B90DA":"#ccc")};
ocean.books.ThumbnailPage.prototype.handleClick=function()
{this.viewer_.setViewportClass(ocean.books.VerticalViewport);this.viewer_.setPageIn
fo(this.pageInfo_);ocean.books.ThumbnailPage.eventTarget.dispatchEvent(ocean.books.
ThumbnailPage.EventType.CLICK)};
ocean.books.ThumbnailPage.prototype.cleanup=function()
{module$contents$ocean$util$Image_dispose(this.image_);goog.dom.removeNode(this.roo
tDiv_)};ocean.books.ThumbnailPage.eventTarget=new
goog.events.EventTarget;ocean.books.ThumbnailPage.EventType={CLICK:"click"};var
module$contents$ocean$books$ThumbnailPageRenderer_ThumbnailPageRenderer=function(a,
b){this.viewer_=a;this.viewport_=b};
$jscomp.inherits(module$contents$ocean$books$ThumbnailPageRenderer_ThumbnailPageRen
derer,module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer);module$
contents$ocean$books$ThumbnailPageRenderer_ThumbnailPageRenderer.prototype.render=f
unction(a){return a=new
ocean.books.ThumbnailPage(this.viewer_,this.viewport_,a.getPageInfo(),a.getPosition
(),a.getSize())};
ocean.books.ThumbnailPageRenderer=module$contents$ocean$books$ThumbnailPageRenderer
_ThumbnailPageRenderer;ocean.books.ThumbnailViewport=function(a){var
b=a.viewportDiv_;goog.style.setStyle(b,{overflow:"hidden"});var c=new
module$contents$ocean$viewport$ScrollWindow_ScrollWindow(this,b);module$contents$oc
ean$viewport$DocumentViewport_DocumentViewport.call(this,a,c);this.getHandler().lis
ten(this,ocean.viewport.Viewport.EventType.MOVE,this.updateDisplay);goog.style.setS
tyle(b,
{overflow:"auto"});this.setDispatcher(this.createDispatcher_());this.setLayout(this
.createLayout_());this.setClipper(new
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper(this));
goog.Timer.callOnce(goog.bind(this.updateDisplay,this),0);this.getHandler().listen(
this,ocean.viewport.Viewport.EventType.RESIZE,this.resize_);var
d=goog.dom.getElement("subscription-
bar");d&&(this.fadeOutInstitutionalSubscriptionBar(d),goog.Timer.callOnce(function(
){goog.style.setElementShown(d,!
1)},600))};goog.inherits(ocean.books.ThumbnailViewport,module$contents$ocean$viewpo
rt$DocumentViewport_DocumentViewport);
ocean.books.ThumbnailViewport.prototype.goToPage=function(a){var
b=this.layout_;a=b.getLayoutPageByPageInfo(a);a=a.getPosition();this.moveTo(new
goog.math.Coordinate(void 0,a.y-
40))};ocean.books.ThumbnailViewport.prototype.createLayout_=function(){var
a=this.viewer.volumeInfo_.pairedThumbnails_;return new
ocean.books.ThumbnailLayout(this.viewer.pageInfoSet_,ocean.entitypage.Util.isSource
EntityPage()?Math.min(this.getSize().width,1120):this.getSize().width,a,a)};
ocean.books.ThumbnailViewport.prototype.resize_=function()
{this.setLayout(this.createLayout_());this.goToPage(this.viewer.getPageInfo())};oce
an.books.ThumbnailViewport.prototype.createDispatcher_=function(){var a=new
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher,b=new
module$contents$ocean$books$ThumbnailPageRenderer_ThumbnailPageRenderer(this.viewer
,this);a.addRenderer(module$contents$ocean$layout$LayoutPage_LayoutPage,b);return
a};var module$exports$ocean$books$TocEntry=function(a)
{this.title_=a.Title;this.pid_=a.Pid;this.pageNumberForDisplay_=a.PgNum};module$exp
orts$ocean$books$TocEntry.prototype.getTitle=function(){return
this.title_};module$exports$ocean$books$TocEntry.prototype.getId=function(){return
this.pid_};goog.events.KeyEvent=function(a,b,c,d)
{goog.events.BrowserEvent.call(this,d);this.type=goog.events.KeyEvent.EventType.KEY
;this.keyCode=a;this.charCode=b;this.repeat=c};goog.inherits(goog.events.KeyEvent,g
oog.events.BrowserEvent);goog.events.KeyEvent.EventType={KEY:"key"};goog.events.Key
Handler=function(a,b)
{goog.events.EventTarget.call(this);a&&this.attach(a,b)};goog.inherits(goog.events.
KeyHandler,goog.events.EventTarget);goog.events.KeyHandler.prototype.element_=null;
goog.events.KeyHandler.prototype.keyPressKey_=null;goog.events.KeyHandler.prototype
.keyDownKey_=null;goog.events.KeyHandler.prototype.keyUpKey_=null;goog.events.KeyHa
ndler.prototype.lastKey_=-1;goog.events.KeyHandler.prototype.keyCode_=-
1;goog.events.KeyHandler.prototype.altKey_=!1;
goog.events.KeyHandler.EventType=goog.events.KeyEvent.EventType;
goog.events.KeyHandler.safariKey_={3:goog.events.KeyCodes.ENTER,12:goog.events.KeyC
odes.NUMLOCK,63232:goog.events.KeyCodes.UP,63233:goog.events.KeyCodes.DOWN,63234:go
og.events.KeyCodes.LEFT,63235:goog.events.KeyCodes.RIGHT,63236:goog.events.KeyCodes
.F1,63237:goog.events.KeyCodes.F2,63238:goog.events.KeyCodes.F3,63239:goog.events.K
eyCodes.F4,63240:goog.events.KeyCodes.F5,63241:goog.events.KeyCodes.F6,63242:goog.e
vents.KeyCodes.F7,63243:goog.events.KeyCodes.F8,63244:goog.events.KeyCodes.F9,63245
:goog.events.KeyCodes.F10,
63246:goog.events.KeyCodes.F11,63247:goog.events.KeyCodes.F12,63248:goog.events.Key
Codes.PRINT_SCREEN,63272:goog.events.KeyCodes.DELETE,63273:goog.events.KeyCodes.HOM
E,63275:goog.events.KeyCodes.END,63276:goog.events.KeyCodes.PAGE_UP,63277:goog.even
ts.KeyCodes.PAGE_DOWN,63289:goog.events.KeyCodes.NUMLOCK,63302:goog.events.KeyCodes
.INSERT};
goog.events.KeyHandler.keyIdentifier_={Up:goog.events.KeyCodes.UP,Down:goog.events.
KeyCodes.DOWN,Left:goog.events.KeyCodes.LEFT,Right:goog.events.KeyCodes.RIGHT,Enter
:goog.events.KeyCodes.ENTER,F1:goog.events.KeyCodes.F1,F2:goog.events.KeyCodes.F2,F
3:goog.events.KeyCodes.F3,F4:goog.events.KeyCodes.F4,F5:goog.events.KeyCodes.F5,F6:
goog.events.KeyCodes.F6,F7:goog.events.KeyCodes.F7,F8:goog.events.KeyCodes.F8,F9:go
og.events.KeyCodes.F9,F10:goog.events.KeyCodes.F10,F11:goog.events.KeyCodes.F11,F12
:goog.events.KeyCodes.F12,
"U+007F":goog.events.KeyCodes.DELETE,Home:goog.events.KeyCodes.HOME,End:goog.events
.KeyCodes.END,PageUp:goog.events.KeyCodes.PAGE_UP,PageDown:goog.events.KeyCodes.PAG
E_DOWN,Insert:goog.events.KeyCodes.INSERT};goog.events.KeyHandler.SAVE_ALT_FOR_KEYP
RESS_=goog.userAgent.MAC&&goog.userAgent.GECKO;
goog.events.KeyHandler.prototype.handleKeyDown_=function(a)
{goog.userAgent.WEBKIT&&(this.lastKey_==goog.events.KeyCodes.CTRL&&!a.ctrlKey||
this.lastKey_==goog.events.KeyCodes.ALT&&!a.altKey||
goog.userAgent.MAC&&this.lastKey_==goog.events.KeyCodes.META&&!
a.metaKey)&&this.resetState();-1==this.lastKey_&&(a.ctrlKey&&a.keyCode!
=goog.events.KeyCodes.CTRL?
this.lastKey_=goog.events.KeyCodes.CTRL:a.altKey&&a.keyCode!
=goog.events.KeyCodes.ALT?
this.lastKey_=goog.events.KeyCodes.ALT:a.metaKey&&a.keyCode!
=goog.events.KeyCodes.META&&
(this.lastKey_=goog.events.KeyCodes.META));goog.events.KeyCodes.firesKeyPressEvent(
a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?
(this.keyCode_=goog.events.KeyCodes.normalizeKeyCode(a.keyCode),goog.events.KeyHand
ler.SAVE_ALT_FOR_KEYPRESS_&&(this.altKey_=a.altKey)):this.handleEvent(a)};goog.even
ts.KeyHandler.prototype.resetState=function(){this.keyCode_=this.lastKey_=-
1};goog.events.KeyHandler.prototype.handleKeyup_=function(a)
{this.resetState();this.altKey_=a.altKey};
goog.events.KeyHandler.prototype.handleEvent=function(a){var
b=a.event_,c=b.altKey;if(goog.userAgent.WEBKIT&&a.type==goog.events.EventType.KEYPR
ESS){var d=this.keyCode_;var
e=0<=b.charCode&&63232>b.charCode&&goog.events.KeyCodes.isCharacterKey(d)?
b.charCode:0}else a.type==goog.events.EventType.KEYPRESS?
(goog.events.KeyHandler.SAVE_ALT_FOR_KEYPRESS_&&(c=this.altKey_),b.keyCode==b.charC
ode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.keyCode_,e=b.charCode):(d=b.keyCode||
this.keyCode_,e=b.charCode||0)):(d=
b.keyCode||this.keyCode_,e=b.charCode||
0),goog.userAgent.MAC&&e==goog.events.KeyCodes.QUESTION_MARK&&d==goog.events.KeyCod
es.WIN_KEY&&(d=goog.events.KeyCodes.SLASH);var
f=d=goog.events.KeyCodes.normalizeKeyCode(d);d?63232<=d&&d in
goog.events.KeyHandler.safariKey_?
f=goog.events.KeyHandler.safariKey_[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.
keyIdentifier in
goog.events.KeyHandler.keyIdentifier_&&(f=goog.events.KeyHandler.keyIdentifier_[b.k
eyIdentifier]);if(!goog.userAgent.GECKO||a.type!=goog.events.EventType.KEYPRESS||
goog.events.KeyCodes.firesKeyPressEvent(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.me
taKey))a=f==this.lastKey_,this.lastKey_=f,b=new
goog.events.KeyEvent(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};goog.events.KeyHand
ler.prototype.getElement=function(){return this.element_};
goog.events.KeyHandler.prototype.attach=function(a,b)
{this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=goog.events.listen
(this.element_,goog.events.EventType.KEYPRESS,this,b);this.keyDownKey_=goog.events.
listen(this.element_,goog.events.EventType.KEYDOWN,this.handleKeyDown_,b,this);this
.keyUpKey_=goog.events.listen(this.element_,goog.events.EventType.KEYUP,this.handle
Keyup_,b,this)};
goog.events.KeyHandler.prototype.detach=function()
{this.keyPressKey_&&(goog.events.unlistenByKey(this.keyPressKey_),goog.events.unlis
tenByKey(this.keyDownKey_),goog.events.unlistenByKey(this.keyUpKey_),this.keyUpKey_
=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.las
tKey_=-1};goog.events.KeyHandler.prototype.disposeInternal=function()
{goog.events.KeyHandler.superClass_.disposeInternal.call(this);this.detach()};goog.
ui.ButtonSide={NONE:0,START:1,END:2,BOTH:3};goog.ui.ControlContent={};goog.ui.Contr
olRenderer=function()
{};goog.addSingletonGetter(goog.ui.ControlRenderer);goog.ui.ControlRenderer.getCust
omRenderer=function(a,b){a=new a;a.getCssClass=function(){return b};return
a};goog.ui.ControlRenderer.CSS_CLASS="goog-
control";goog.ui.ControlRenderer.IE6_CLASS_COMBINATIONS=[];
goog.ui.ControlRenderer.TOGGLE_ARIA_STATE_MAP_=module$contents$goog$object_create(g
oog.a11y.aria.Role.BUTTON,goog.a11y.aria.State.PRESSED,goog.a11y.aria.Role.CHECKBOX
,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.MENUITEM,goog.a11y.aria.State.SEL
ECTED,goog.a11y.aria.Role.MENUITEMCHECKBOX,goog.a11y.aria.State.CHECKED,goog.a11y.a
ria.Role.MENUITEMRADIO,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.RADIO,goog.
a11y.aria.State.CHECKED,goog.a11y.aria.Role.TAB,goog.a11y.aria.State.SELECTED,goog.
a11y.aria.Role.TREEITEM,
goog.a11y.aria.State.SELECTED);goog.ui.ControlRenderer.prototype.getAriaRole=functi
on(){};goog.ui.ControlRenderer.prototype.createDom=function(a){return
a=a.getDomHelper().createDom(goog.dom.TagName.DIV,this.getClassNames(a).join("
"),a.getContent())};goog.ui.ControlRenderer.prototype.getContentElement=function(a)
{return a};goog.ui.ControlRenderer.prototype.enableClassName=function(a,b,c)
{if(a=a.getElement?a.getElement():a)b=[b],goog.dom.classlist.enableAll(a,b,c)};
goog.ui.ControlRenderer.prototype.enableExtraClassName=function(a,b,c)
{this.enableClassName(a,b,c)};goog.ui.ControlRenderer.prototype.canDecorate=functio
n(){return!0};
goog.ui.ControlRenderer.prototype.decorate=function(a,b){b.id&&a.setId(b.id);var
c=this.getContentElement(b);c&&c.firstChild?
a.setContentInternal(c.firstChild.nextSibling?
module$contents$goog$array_toArray(c.childNodes):c.firstChild):a.setContentInternal
(null);var d=0,e=this.getCssClass(),f=this.getStructuralCssClass(),g=!1,h=!
1,k=module$contents$goog$array_toArray(goog.dom.classlist.get(b));k.forEach(functio
n(l){g||l!=e?h||l!=f?d|=this.getStateFromClass(l):h=!0:(g=!0,f==e&&(h=!
0));this.getStateFromClass(l)==
goog.ui.Component.State.DISABLED&&(goog.asserts.assertElement(c),goog.dom.isFocusab
leTabIndex(c)&&goog.dom.setFocusableTabIndex(c,!
1))},this);a.setStateInternal(d);g||(k.push(e),f==e&&(h=!0));h||k.push(f);
(a=a.extraClassNames_)&&k.push.apply(k,a);g&&h&&!a||
goog.dom.classlist.set(b,k.join(" "));return
b};goog.ui.ControlRenderer.prototype.initializeDom=function(a)
{a.isRightToLeft()&&this.setRightToLeft(a.getElement(),!
0);a.isEnabled()&&this.setFocusable(a,a.isVisible())};
goog.ui.ControlRenderer.prototype.setAriaRole=function(a,b){if(b=b||
this.getAriaRole()){goog.asserts.assert(a,"The element passed as a first parameter
cannot be null.");var c=goog.a11y.aria.getRole(a);b!
=c&&goog.a11y.aria.setRole(a,b)}};
goog.ui.ControlRenderer.prototype.setAriaStates=function(a,b)
{goog.asserts.assert(a);goog.asserts.assert(b);var c=a.ariaLabel_;null!
=c&&this.setAriaLabel(b,c);a.isVisible()||
goog.a11y.aria.setState(b,goog.a11y.aria.State.HIDDEN,!
a.isVisible());a.isEnabled()||
this.updateAriaState(b,goog.ui.Component.State.DISABLED,!
a.isEnabled());a.isSupportedState(goog.ui.Component.State.SELECTED)&&this.updateAri
aState(b,goog.ui.Component.State.SELECTED,a.isSelected());a.isSupportedState(goog.u
i.Component.State.CHECKED)&&
this.updateAriaState(b,goog.ui.Component.State.CHECKED,a.isChecked());a.isSupported
State(goog.ui.Component.State.OPENED)&&this.updateAriaState(b,goog.ui.Component.Sta
te.OPENED,a.isOpen())};goog.ui.ControlRenderer.prototype.setAriaLabel=function(a,b)
{goog.a11y.aria.setLabel(a,b)};goog.ui.ControlRenderer.prototype.setAllowTextSelect
ion=function(a,b){goog.style.setUnselectable(a,!b,!0)};
goog.ui.ControlRenderer.prototype.setRightToLeft=function(a,b)
{this.enableClassName(a,this.getStructuralCssClass()+"-
rtl",b)};goog.ui.ControlRenderer.prototype.isFocusable=function(a){var b;return
a.isSupportedState(goog.ui.Component.State.FOCUSED)&&(b=a.getKeyEventTarget())?
goog.dom.isFocusableTabIndex(b):!1};
goog.ui.ControlRenderer.prototype.setFocusable=function(a,b){var
c;if(a.isSupportedState(goog.ui.Component.State.FOCUSED)&&(c=a.getKeyEventTarget())
){if(!b&&a.isFocused()){try{c.blur()}catch(d)
{}a.isFocused()&&a.handleBlur(null)}goog.dom.isFocusableTabIndex(c)!
=b&&goog.dom.setFocusableTabIndex(c,b)}};goog.ui.ControlRenderer.prototype.setVisib
le=function(a,b)
{goog.style.setElementShown(a,b);a&&goog.a11y.aria.setState(a,goog.a11y.aria.State.
HIDDEN,!b)};
goog.ui.ControlRenderer.prototype.setState=function(a,b,c){var
d=a.getElement();if(d){var
e=this.getClassForState(b);e&&this.enableClassName(a,e,c);this.updateAriaState(d,b,
c)}};
goog.ui.ControlRenderer.prototype.updateAriaState=function(a,b,c)
{goog.ui.ControlRenderer.ariaAttributeMap_||
(goog.ui.ControlRenderer.ariaAttributeMap_=module$contents$goog$object_create(goog.
ui.Component.State.DISABLED,goog.a11y.aria.State.DISABLED,goog.ui.Component.State.S
ELECTED,goog.a11y.aria.State.SELECTED,goog.ui.Component.State.CHECKED,goog.a11y.ari
a.State.CHECKED,goog.ui.Component.State.OPENED,goog.a11y.aria.State.EXPANDED));goog
.asserts.assert(a,"The element passed as a first parameter cannot be null.");
(b=goog.ui.ControlRenderer.getAriaStateForAriaRole_(a,goog.ui.ControlRenderer.ariaA
ttributeMap_[b]))&&goog.a11y.aria.setState(a,b,c)};goog.ui.ControlRenderer.getAriaS
tateForAriaRole_=function(a,b){a=goog.a11y.aria.getRole(a);if(!a)return
b;a=goog.ui.ControlRenderer.TOGGLE_ARIA_STATE_MAP_[a]||b;return
goog.ui.ControlRenderer.isAriaState_(b)?
a:b};goog.ui.ControlRenderer.isAriaState_=function(a){return
a==goog.a11y.aria.State.CHECKED||a==goog.a11y.aria.State.SELECTED};
goog.ui.ControlRenderer.prototype.setContent=function(a,b){var
c=this.getContentElement(a);c&&(goog.dom.removeChildren(c),b&&("string"===typeof b?
goog.dom.setTextContent(c,b):(a=function(d){if(d){var
e=goog.dom.getOwnerDocument(c);c.appendChild("string"===typeof d?
e.createTextNode(d):d)}},Array.isArray(b)?b.forEach(a):!
goog.isArrayLike(b)||"nodeType"in b?
a(b):module$contents$goog$array_toArray(b).forEach(a))))};goog.ui.ControlRenderer.p
rototype.getKeyEventTarget=function(a){return a.getElement()};
goog.ui.ControlRenderer.prototype.getCssClass=function(){return
goog.ui.ControlRenderer.CSS_CLASS};goog.ui.ControlRenderer.prototype.getStructuralC
ssClass=function(){return
this.getCssClass()};goog.ui.ControlRenderer.prototype.getClassNames=function(a){var
b=this.getCssClass(),c=[b],d=this.getStructuralCssClass();d!
=b&&c.push(d);b=this.getClassNamesForState(a.getState());c.push.apply(c,b);
(a=a.extraClassNames_)&&c.push.apply(c,a);return c};
goog.ui.ControlRenderer.prototype.getClassNamesForState=function(a){for(var
b=[];a;){var c=a&-a;b.push(this.getClassForState(c));a&=~c}return
b};goog.ui.ControlRenderer.prototype.getClassForState=function(a)
{this.classByState_||this.createClassByStateMap_();return
this.classByState_[a]};goog.ui.ControlRenderer.prototype.getStateFromClass=function
(a){this.stateByClass_||
this.createStateByClassMap_();a=parseInt(this.stateByClass_[a],10);return isNaN(a)?
0:a};
goog.ui.ControlRenderer.prototype.createClassByStateMap_=function(){var
a=this.getStructuralCssClass(),b=!
goog.string.contains(goog.string.normalizeWhitespace(a),"
");goog.asserts.assert(b,"ControlRenderer has an invalid css class:
'"+a+"'");this.classByState_=module$contents$goog$object_create(goog.ui.Component.S
tate.DISABLED,a+"-disabled",goog.ui.Component.State.HOVER,a+"-
hover",goog.ui.Component.State.ACTIVE,a+"-
active",goog.ui.Component.State.SELECTED,a+"-
selected",goog.ui.Component.State.CHECKED,
a+"-checked",goog.ui.Component.State.FOCUSED,a+"-
focused",goog.ui.Component.State.OPENED,a+"-
open")};goog.ui.ControlRenderer.prototype.createStateByClassMap_=function()
{this.classByState_||
this.createClassByStateMap_();this.stateByClass_=module$contents$goog$object_transp
ose(this.classByState_)};goog.ui.ButtonRenderer=function()
{};goog.inherits(goog.ui.ButtonRenderer,goog.ui.ControlRenderer);goog.addSingletonG
etter(goog.ui.ButtonRenderer);goog.ui.ButtonRenderer.CSS_CLASS="goog-
button";goog.ui.ButtonRenderer.prototype.getAriaRole=function(){return
goog.a11y.aria.Role.BUTTON};
goog.ui.ButtonRenderer.prototype.updateAriaState=function(a,b,c){switch(b){case
goog.ui.Component.State.SELECTED:case
goog.ui.Component.State.CHECKED:goog.asserts.assert(a,"The button DOM element
cannot be
null.");goog.a11y.aria.setState(a,goog.a11y.aria.State.PRESSED,c);break;default:cas
e goog.ui.Component.State.OPENED:case
goog.ui.Component.State.DISABLED:goog.ui.ButtonRenderer.superClass_.updateAriaState
.call(this,a,b,c)}};
goog.ui.ButtonRenderer.prototype.createDom=function(a){var
b=goog.ui.ButtonRenderer.superClass_.createDom.call(this,a);this.setTooltip(b,a.get
Tooltip());var
c=a.getValue();c&&this.setValue(b,c);a.isSupportedState(goog.ui.Component.State.CHE
CKED)&&this.updateAriaState(b,goog.ui.Component.State.CHECKED,a.isChecked());return
b};
goog.ui.ButtonRenderer.prototype.decorate=function(a,b)
{b=goog.ui.ButtonRenderer.superClass_.decorate.call(this,a,b);a.setValueInternal(th
is.getValue(b));a.setTooltipInternal(this.getTooltip(b));a.isSupportedState(goog.ui
.Component.State.CHECKED)&&this.updateAriaState(b,goog.ui.Component.State.CHECKED,a
.isChecked());return b};goog.ui.ButtonRenderer.prototype.getValue=function()
{};goog.ui.ButtonRenderer.prototype.setValue=function()
{};goog.ui.ButtonRenderer.prototype.getTooltip=function(a){return a.title};
goog.ui.ButtonRenderer.prototype.setTooltip=function(a,b){a&&(b?
a.title=b:a.removeAttribute("title"))};goog.ui.ButtonRenderer.prototype.setCollapse
d=function(a,b){var c=a.isRightToLeft(),d=this.getStructuralCssClass()+"-collapse-
left",e=this.getStructuralCssClass()+"-collapse-right";a.enableClassName(c?e:d,!!
(b&goog.ui.ButtonSide.START));a.enableClassName(c?d:e,!!
(b&goog.ui.ButtonSide.END))};goog.ui.ButtonRenderer.prototype.getCssClass=function(
){return
goog.ui.ButtonRenderer.CSS_CLASS};goog.events.MouseEvents={};goog.events.MouseAsMou
seEventType={MOUSEDOWN:goog.events.EventType.MOUSEDOWN,MOUSEUP:goog.events.EventTyp
e.MOUSEUP,MOUSECANCEL:goog.events.EventType.MOUSECANCEL,MOUSEMOVE:goog.events.Event
Type.MOUSEMOVE,MOUSEOVER:goog.events.EventType.MOUSEOVER,MOUSEOUT:goog.events.Event
Type.MOUSEOUT,MOUSEENTER:goog.events.EventType.MOUSEENTER,MOUSELEAVE:goog.events.Ev
entType.MOUSELEAVE};goog.events.PointerFallbackEventType={POINTERDOWN:goog.events.e
ventTypeHelpers.getPointerFallbackEventName(goog.events.EventType.POINTERDOWN,goog.
events.EventType.MSPOINTERDOWN,goog.events.EventType.MOUSEDOWN),POINTERUP:goog.even
ts.eventTypeHelpers.getPointerFallbackEventName(goog.events.EventType.POINTERUP,goo
g.events.EventType.MSPOINTERUP,goog.events.EventType.MOUSEUP),POINTERCANCEL:goog.ev
ents.eventTypeHelpers.getPointerFallbackEventName(goog.events.EventType.POINTERCANC
EL,goog.events.EventType.MSPOINTERCANCEL,
goog.events.EventType.MOUSECANCEL),POINTERMOVE:goog.events.eventTypeHelpers.getPoin
terFallbackEventName(goog.events.EventType.POINTERMOVE,goog.events.EventType.MSPOIN
TERMOVE,goog.events.EventType.MOUSEMOVE),POINTEROVER:goog.events.eventTypeHelpers.g
etPointerFallbackEventName(goog.events.EventType.POINTEROVER,goog.events.EventType.
MSPOINTEROVER,goog.events.EventType.MOUSEOVER),POINTEROUT:goog.events.eventTypeHelp
ers.getPointerFallbackEventName(goog.events.EventType.POINTEROUT,goog.events.EventT
ype.MSPOINTEROUT,
goog.events.EventType.MOUSEOUT),POINTERENTER:goog.events.eventTypeHelpers.getPointe
rFallbackEventName(goog.events.EventType.POINTERENTER,goog.events.EventType.MSPOINT
ERENTER,goog.events.EventType.MOUSEENTER),POINTERLEAVE:goog.events.eventTypeHelpers
.getPointerFallbackEventName(goog.events.EventType.POINTERLEAVE,goog.events.EventTy
pe.MSPOINTERLEAVE,goog.events.EventType.MOUSELEAVE)};goog.events.PointerAsMouseEven
tType={MOUSEDOWN:goog.events.PointerFallbackEventType.POINTERDOWN,MOUSEUP:goog.even
ts.PointerFallbackEventType.POINTERUP,MOUSECANCEL:goog.events.PointerFallbackEventT
ype.POINTERCANCEL,MOUSEMOVE:goog.events.PointerFallbackEventType.POINTERMOVE,MOUSEO
VER:goog.events.PointerFallbackEventType.POINTEROVER,MOUSEOUT:goog.events.PointerFa
llbackEventType.POINTEROUT,MOUSEENTER:goog.events.PointerFallbackEventType.POINTERE
NTER,MOUSELEAVE:goog.events.PointerFallbackEventType.POINTERLEAVE};goog.ui.Componen
tUtil={};goog.ui.ComponentUtil.getMouseEventType=function(a){return
a.pointerEventsEnabled_?
goog.events.PointerAsMouseEventType:goog.events.MouseAsMouseEventType};goog.ui.regi
stry={};goog.ui.registry.getDefaultRenderer=function(a){for(var b;a;)
{b=goog.getUid(a);if(b=goog.ui.registry.defaultRenderers_[b])break;a=module$content
s$goog$object_getSuperClass(a)}return b?"function"===typeof b.getInstance?
b.getInstance():new b:null};
goog.ui.registry.setDefaultRenderer=function(a,b){if("function"!==typeof a)throw
Error("Invalid component class "+a);if("function"!==typeof b)throw Error("Invalid
renderer class
"+b);a=goog.getUid(a);goog.ui.registry.defaultRenderers_[a]=b};goog.ui.registry.get
DecoratorByClassName=function(a){return a in goog.ui.registry.decoratorFunctions_?
goog.ui.registry.decoratorFunctions_[a]():null};
goog.ui.registry.setDecoratorByClassName=function(a,b){if(!a)throw Error("Invalid
class name "+a);if("function"!==typeof b)throw Error("Invalid decorator function
"+b);goog.ui.registry.decoratorFunctions_[a]=b};goog.ui.registry.getDecorator=funct
ion(a){goog.asserts.assert(a);for(var
b=goog.dom.classlist.get(a),c=0,d=b.length;c<d;c+
+)if(a=goog.ui.registry.getDecoratorByClassName(b[c]))return a;return null};
goog.ui.registry.reset=function()
{goog.ui.registry.defaultRenderers_={};goog.ui.registry.decoratorFunctions_={}};goo
g.ui.registry.defaultRenderers_={};goog.ui.registry.decoratorFunctions_={};goog.ui.
Control=function(a,b,c){goog.ui.Component.call(this,c);this.renderer_=b||
goog.ui.registry.getDefaultRenderer(this.constructor);this.setContentInternal(void
0!==a?
a:null);this.ariaLabel_=null};goog.inherits(goog.ui.Control,goog.ui.Component);goog
.ui.Control.registerDecorator=goog.ui.registry.setDecoratorByClassName;goog.ui.Cont
rol.getDecorator=goog.ui.registry.getDecorator;goog.ui.Control.prototype.content_=n
ull;goog.ui.Control.prototype.state_=0;
goog.ui.Control.prototype.supportedStates_=goog.ui.Component.State.DISABLED|
goog.ui.Component.State.HOVER|goog.ui.Component.State.ACTIVE|
goog.ui.Component.State.FOCUSED;goog.ui.Control.prototype.autoStates_=goog.ui.Compo
nent.State.ALL;goog.ui.Control.prototype.statesWithTransitionEvents_=0;goog.ui.Cont
rol.prototype.visible_=!
0;goog.ui.Control.prototype.extraClassNames_=null;goog.ui.Control.prototype.handleM
ouseEvents_=!0;goog.ui.Control.prototype.allowTextSelection_=!1;
goog.ui.Control.prototype.preferredAriaRole_=null;goog.ui.Control.prototype.setHand
leMouseEvents=function(a){this.isInDocument()&&a!
=this.handleMouseEvents_&&this.enableMouseEventHandling_(a);this.handleMouseEvents_
=a};goog.ui.Control.prototype.getKeyEventTarget=function(){return
this.renderer_.getKeyEventTarget(this)};goog.ui.Control.prototype.getKeyHandler=fun
ction(){return this.keyHandler_||(this.keyHandler_=new goog.events.KeyHandler)};
goog.ui.Control.prototype.addClassName=function(a){a&&(this.extraClassNames_?
module$contents$goog$array_contains(this.extraClassNames_,a)||
this.extraClassNames_.push(a):this.extraClassNames_=[a],this.renderer_.enableExtraC
lassName(this,a,!0))};goog.ui.Control.prototype.removeClassName=function(a)
{a&&this.extraClassNames_&&module$contents$goog$array_remove(this.extraClassNames_,
a)&&(0==this.extraClassNames_.length&&(this.extraClassNames_=null),this.renderer_.e
nableExtraClassName(this,a,!1))};
goog.ui.Control.prototype.enableClassName=function(a,b){b?
this.addClassName(a):this.removeClassName(a)};goog.ui.Control.prototype.createDom=f
unction(){var
a=this.renderer_.createDom(this);this.setElementInternal(a);this.renderer_.setAriaR
ole(a,this.getPreferredAriaRole());this.allowTextSelection_||
this.renderer_.setAllowTextSelection(a,!1);this.isVisible()||
this.renderer_.setVisible(a,!
1)};goog.ui.Control.prototype.getPreferredAriaRole=function(){return
this.preferredAriaRole_};
goog.ui.Control.prototype.setPreferredAriaRole=function(a)
{this.preferredAriaRole_=a};goog.ui.Control.prototype.setAriaLabel=function(a)
{this.ariaLabel_=a;var
b=this.getElement();b&&this.renderer_.setAriaLabel(b,a)};goog.ui.Control.prototype.
getContentElement=function(){return
this.renderer_.getContentElement(this.getElement())};goog.ui.Control.prototype.canD
ecorate=function(a){return this.renderer_.canDecorate(a)};
goog.ui.Control.prototype.decorateInternal=function(a)
{a=this.renderer_.decorate(this,a);this.setElementInternal(a);this.renderer_.setAri
aRole(a,this.getPreferredAriaRole());this.allowTextSelection_||
this.renderer_.setAllowTextSelection(a,!1);this.visible_="none"!=a.style.display};
goog.ui.Control.prototype.enterDocument=function()
{goog.ui.Control.superClass_.enterDocument.call(this);this.renderer_.setAriaStates(
this,this.getElementStrict());this.renderer_.initializeDom(this);if(this.supportedS
tates_&~goog.ui.Component.State.DISABLED&&(this.handleMouseEvents_&&this.enableMous
eEventHandling_(!0),this.isSupportedState(goog.ui.Component.State.FOCUSED))){var
a=this.getKeyEventTarget();if(a){var
b=this.getKeyHandler();b.attach(a);this.getHandler().listen(b,goog.events.KeyEvent.
EventType.KEY,
this.handleKeyEvent).listen(a,goog.events.EventType.FOCUS,this.handleFocus).listen(
a,goog.events.EventType.BLUR,this.handleBlur)}}};
goog.ui.Control.prototype.enableMouseEventHandling_=function(a){var
b=goog.ui.ComponentUtil.getMouseEventType(this),c=this.getHandler(),d=this.getEleme
nt();a?(c.listen(d,b.MOUSEDOWN,this.handleMouseDown).listen(d,
[b.MOUSEUP,b.MOUSECANCEL],this.handleMouseUp).listen(d,goog.events.EventType.MOUSEO
VER,this.handleMouseOver).listen(d,goog.events.EventType.MOUSEOUT,this.handleMouseO
ut),this.pointerEventsEnabled_&&c.listen(d,goog.events.EventType.GOTPOINTERCAPTURE,
this.preventPointerCapture_),this.handleContextMenu!=
goog.functions.UNDEFINED&&c.listen(d,goog.events.EventType.CONTEXTMENU,this.handleC
ontextMenu)):(c.unlisten(d,b.MOUSEDOWN,this.handleMouseDown).unlisten(d,
[b.MOUSEUP,b.MOUSECANCEL],this.handleMouseUp).unlisten(d,goog.events.EventType.MOUS
EOVER,this.handleMouseOver).unlisten(d,goog.events.EventType.MOUSEOUT,this.handleMo
useOut),this.pointerEventsEnabled_&&c.unlisten(d,goog.events.EventType.GOTPOINTERCA
PTURE,this.preventPointerCapture_),this.handleContextMenu!
=goog.functions.UNDEFINED&&c.unlisten(d,
goog.events.EventType.CONTEXTMENU,this.handleContextMenu))};goog.ui.Control.prototy
pe.exitDocument=function()
{goog.ui.Control.superClass_.exitDocument.call(this);this.keyHandler_&&this.keyHand
ler_.detach();this.isVisible()&&this.isEnabled()&&this.renderer_.setFocusable(this,
!1)};
goog.ui.Control.prototype.disposeInternal=function()
{goog.ui.Control.superClass_.disposeInternal.call(this);this.keyHandler_&&(this.key
Handler_.dispose(),delete this.keyHandler_);delete
this.renderer_;this.extraClassNames_=this.content_=null};goog.ui.Control.prototype.
getContent=function(){return
this.content_};goog.ui.Control.prototype.setContent=function(a)
{this.renderer_.setContent(this.getElement(),a);this.setContentInternal(a)};
goog.ui.Control.prototype.setContentInternal=function(a)
{this.content_=a};goog.ui.Control.prototype.getCaption=function(){var
a=this.getContent();if(!a)return"";a="string"===typeof a?a:Array.isArray(a)?
a.map(goog.dom.getRawTextContent).join(""):goog.dom.getTextContent(a);return
goog.string.collapseBreakingSpaces(a)};goog.ui.Control.prototype.setRightToLeft=fun
ction(a){goog.ui.Control.superClass_.setRightToLeft.call(this,a);var
b=this.getElement();b&&this.renderer_.setRightToLeft(b,a)};
goog.ui.Control.prototype.setAllowTextSelection=function(a)
{this.allowTextSelection_=a;var
b=this.getElement();b&&this.renderer_.setAllowTextSelection(b,a)};goog.ui.Control.p
rototype.isVisible=function(){return this.visible_};
goog.ui.Control.prototype.setVisible=function(a,b){return b||this.visible_!
=a&&this.dispatchEvent(a?
goog.ui.Component.EventType.SHOW:goog.ui.Component.EventType.HIDE)?
((b=this.getElement())&&this.renderer_.setVisible(b,a),this.isEnabled()&&this.rende
rer_.setFocusable(this,a),this.visible_=a,!0):!
1};goog.ui.Control.prototype.isEnabled=function(){return!
this.hasState(goog.ui.Component.State.DISABLED)};
goog.ui.Control.prototype.isParentDisabled_=function(){var
a=this.getParent();return!!a&&"function"==typeof a.isEnabled&&!
a.isEnabled()};goog.ui.Control.prototype.setEnabled=function(a){!
this.isParentDisabled_()&&this.isTransitionAllowed(goog.ui.Component.State.DISABLED
,!a)&&(a||(this.setActive(!1),this.setHighlighted(!
1)),this.isVisible()&&this.renderer_.setFocusable(this,a),this.setState(goog.ui.Com
ponent.State.DISABLED,!a,!0))};goog.ui.Control.prototype.isHighlighted=function()
{return this.hasState(goog.ui.Component.State.HOVER)};
goog.ui.Control.prototype.setHighlighted=function(a)
{this.isTransitionAllowed(goog.ui.Component.State.HOVER,a)&&this.setState(goog.ui.C
omponent.State.HOVER,a)};goog.ui.Control.prototype.isActive=function(){return
this.hasState(goog.ui.Component.State.ACTIVE)};goog.ui.Control.prototype.setActive=
function(a)
{this.isTransitionAllowed(goog.ui.Component.State.ACTIVE,a)&&this.setState(goog.ui.
Component.State.ACTIVE,a)};goog.ui.Control.prototype.isSelected=function(){return
this.hasState(goog.ui.Component.State.SELECTED)};
goog.ui.Control.prototype.setSelected=function(a)
{this.isTransitionAllowed(goog.ui.Component.State.SELECTED,a)&&this.setState(goog.u
i.Component.State.SELECTED,a)};goog.ui.Control.prototype.isChecked=function()
{return
this.hasState(goog.ui.Component.State.CHECKED)};goog.ui.Control.prototype.setChecke
d=function(a)
{this.isTransitionAllowed(goog.ui.Component.State.CHECKED,a)&&this.setState(goog.ui
.Component.State.CHECKED,a)};goog.ui.Control.prototype.isFocused=function(){return
this.hasState(goog.ui.Component.State.FOCUSED)};
goog.ui.Control.prototype.setFocused=function(a)
{this.isTransitionAllowed(goog.ui.Component.State.FOCUSED,a)&&this.setState(goog.ui
.Component.State.FOCUSED,a)};goog.ui.Control.prototype.isOpen=function(){return
this.hasState(goog.ui.Component.State.OPENED)};goog.ui.Control.prototype.setOpen=fu
nction(a)
{this.isTransitionAllowed(goog.ui.Component.State.OPENED,a)&&this.setState(goog.ui.
Component.State.OPENED,a)};goog.ui.Control.prototype.getState=function(){return
this.state_};
goog.ui.Control.prototype.hasState=function(a){return!!
(this.state_&a)};goog.ui.Control.prototype.setState=function(a,b,c){c||a!
=goog.ui.Component.State.DISABLED?this.isSupportedState(a)&&b!
=this.hasState(a)&&(this.renderer_.setState(this,a,b),this.state_=b?this.state_|
a:this.state_&~a):this.setEnabled(!
b)};goog.ui.Control.prototype.setStateInternal=function(a)
{this.state_=a};goog.ui.Control.prototype.isSupportedState=function(a){return!!
(this.supportedStates_&a)};
goog.ui.Control.prototype.setSupportedState=function(a,b)
{if(this.isInDocument()&&this.hasState(a)&&!b)throw
Error(goog.ui.Component.Error.ALREADY_RENDERED);!
b&&this.hasState(a)&&this.setState(a,!1);this.supportedStates_=b?
this.supportedStates_|
a:this.supportedStates_&~a};goog.ui.Control.prototype.isAutoState=function(a)
{return!!
(this.autoStates_&a)&&this.isSupportedState(a)};goog.ui.Control.prototype.setAutoSt
ates=function(a,b){this.autoStates_=b?this.autoStates_|a:this.autoStates_&~a};
goog.ui.Control.prototype.setDispatchTransitionEvents=function(a,b)
{this.statesWithTransitionEvents_=b?this.statesWithTransitionEvents_|
a:this.statesWithTransitionEvents_&~a};goog.ui.Control.prototype.isTransitionAllowe
d=function(a,b){return this.isSupportedState(a)&&this.hasState(a)!=b&&(!
(this.statesWithTransitionEvents_&a)||
this.dispatchEvent(goog.ui.Component.getStateTransitionEvent(a,b)))&&!
this.isDisposed()};
goog.ui.Control.prototype.handleMouseOver=function(a){!
goog.ui.Control.isMouseEventWithinElement_(a,this.getElement())&&this.dispatchEvent
(goog.ui.Component.EventType.ENTER)&&this.isEnabled()&&this.isAutoState(goog.ui.Com
ponent.State.HOVER)&&this.setHighlighted(!0)};
goog.ui.Control.prototype.handleMouseOut=function(a){!
goog.ui.Control.isMouseEventWithinElement_(a,this.getElement())&&this.dispatchEvent
(goog.ui.Component.EventType.LEAVE)&&(this.isAutoState(goog.ui.Component.State.ACTI
VE)&&this.setActive(!
1),this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighlighted(!
1))};goog.ui.Control.prototype.preventPointerCapture_=function(a){var
b=a.target;b.releasePointerCapture&&b.releasePointerCapture(a.pointerId)};
goog.ui.Control.prototype.handleContextMenu=goog.functions.UNDEFINED;goog.ui.Contro
l.isMouseEventWithinElement_=function(a,b){return!!
a.relatedTarget&&goog.dom.contains(b,a.relatedTarget)};
goog.ui.Control.prototype.handleMouseDown=function(a)
{this.isEnabled()&&(this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighli
ghted(!
0),a.isMouseActionButton()&&(this.isAutoState(goog.ui.Component.State.ACTIVE)&&this
.setActive(!
0),this.renderer_&&this.renderer_.isFocusable(this)&&this.getKeyEventTarget().focus
()));!this.allowTextSelection_&&a.isMouseActionButton()&&a.preventDefault()};
goog.ui.Control.prototype.handleMouseUp=function(a)
{this.isEnabled()&&(this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighli
ghted(!
0),this.isActive()&&this.performActionInternal(a)&&this.isAutoState(goog.ui.Compone
nt.State.ACTIVE)&&this.setActive(!
1))};goog.ui.Control.prototype.handleDblClick=function(a)
{this.isEnabled()&&this.performActionInternal(a)};
goog.ui.Control.prototype.performActionInternal=function(a)
{this.isAutoState(goog.ui.Component.State.CHECKED)&&this.setChecked(!
this.isChecked());this.isAutoState(goog.ui.Component.State.SELECTED)&&this.setSelec
ted(!0);this.isAutoState(goog.ui.Component.State.OPENED)&&this.setOpen(!
this.isOpen());var b=new
goog.events.Event(goog.ui.Component.EventType.ACTION,this);a&&(b.altKey=a.altKey,b.
ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.platformModifierKey=a
.platformModifierKey,b.timeStamp=
a.timeStamp);return
this.dispatchEvent(b)};goog.ui.Control.prototype.handleFocus=function()
{this.isAutoState(goog.ui.Component.State.FOCUSED)&&this.setFocused(!
0)};goog.ui.Control.prototype.handleBlur=function()
{this.isAutoState(goog.ui.Component.State.ACTIVE)&&this.setActive(!
1);this.isAutoState(goog.ui.Component.State.FOCUSED)&&this.setFocused(!1)};
goog.ui.Control.prototype.handleKeyEvent=function(a){return
this.isVisible()&&this.isEnabled()&&this.handleKeyEventInternal(a)?
(a.preventDefault(),a.stopPropagation(),!0):!
1};goog.ui.Control.prototype.handleKeyEventInternal=function(a){return
a.keyCode==goog.events.KeyCodes.ENTER&&this.performActionInternal(a)};goog.ui.regis
try.setDefaultRenderer(goog.ui.Control,goog.ui.ControlRenderer);goog.ui.registry.se
tDecoratorByClassName(goog.ui.ControlRenderer.CSS_CLASS,function(){return new
goog.ui.Control(null)});goog.dom.InputType={BUTTON:"button",CHECKBOX:"checkbox",COL
OR:"color",DATE:"date",DATETIME:"datetime",DATETIME_LOCAL:"datetime-
local",EMAIL:"email",FILE:"file",HIDDEN:"hidden",IMAGE:"image",MENU:"menu",MONTH:"m
onth",NUMBER:"number",PASSWORD:"password",RADIO:"radio",RANGE:"range",RESET:"reset"
,SEARCH:"search",SELECT_MULTIPLE:"select-multiple",SELECT_ONE:"select-
one",SUBMIT:"submit",TEL:"tel",TEXT:"text",TEXTAREA:"textarea",TIME:"time",URL:"url
",WEEK:"week"};goog.ui.NativeButtonRenderer=function()
{};goog.inherits(goog.ui.NativeButtonRenderer,goog.ui.ButtonRenderer);goog.addSingl
etonGetter(goog.ui.NativeButtonRenderer);goog.ui.NativeButtonRenderer.prototype.get
AriaRole=function(){};
goog.ui.NativeButtonRenderer.prototype.createDom=function(a)
{this.setUpNativeButton_(a);return
a.getDomHelper().createDom(goog.dom.TagName.BUTTON,
{"class":this.getClassNames(a).join(" "),disabled:!
a.isEnabled(),title:a.getTooltip()||"",value:a.getValue()||""},a.getCaption()||"")}
;
goog.ui.NativeButtonRenderer.prototype.canDecorate=function(a){return
a.tagName==goog.dom.TagName.BUTTON||
a.tagName==goog.dom.TagName.INPUT&&(a.type==goog.dom.InputType.BUTTON||
a.type==goog.dom.InputType.SUBMIT||a.type==goog.dom.InputType.RESET)};
goog.ui.NativeButtonRenderer.prototype.decorate=function(a,b)
{this.setUpNativeButton_(a);if(b.disabled){var
c=goog.asserts.assertString(this.getClassForState(goog.ui.Component.State.DISABLED)
);goog.dom.classlist.add(b,c)}return
goog.ui.NativeButtonRenderer.superClass_.decorate.call(this,a,b)};goog.ui.NativeBut
tonRenderer.prototype.initializeDom=function(a)
{a.getHandler().listen(a.getElement(),goog.events.EventType.CLICK,a.performActionIn
ternal)};
goog.ui.NativeButtonRenderer.prototype.setAllowTextSelection=function()
{};goog.ui.NativeButtonRenderer.prototype.setRightToLeft=function()
{};goog.ui.NativeButtonRenderer.prototype.isFocusable=function(a){return
a.isEnabled()};goog.ui.NativeButtonRenderer.prototype.setFocusable=function()
{};goog.ui.NativeButtonRenderer.prototype.setState=function(a,b,c)
{goog.ui.NativeButtonRenderer.superClass_.setState.call(this,a,b,c);
(a=a.getElement())&&b==goog.ui.Component.State.DISABLED&&(a.disabled=c)};
goog.ui.NativeButtonRenderer.prototype.getValue=function(a){return
a.value};goog.ui.NativeButtonRenderer.prototype.setValue=function(a,b)
{a&&(a.value=b)};goog.ui.NativeButtonRenderer.prototype.updateAriaState=function()
{};goog.ui.NativeButtonRenderer.prototype.setUpNativeButton_=function(a)
{a.setHandleMouseEvents(!1);a.setAutoStates(goog.ui.Component.State.ALL,!
1);a.setSupportedState(goog.ui.Component.State.FOCUSED,!
1)};goog.ui.Button=function(a,b,c){goog.ui.Control.call(this,a,b||
goog.ui.NativeButtonRenderer.getInstance(),c)};goog.inherits(goog.ui.Button,goog.ui
.Control);goog.ui.Button.Side=goog.ui.ButtonSide;goog.ui.Button.prototype.getValue=
function(){return this.value_};goog.ui.Button.prototype.setValue=function(a)
{this.value_=a;var
b=this.renderer_;b.setValue(this.getElement(),a)};goog.ui.Button.prototype.setValue
Internal=function(a){this.value_=a};goog.ui.Button.prototype.getTooltip=function()
{return this.tooltip_};
goog.ui.Button.prototype.setTooltip=function(a)
{this.tooltip_=a;this.renderer_.setTooltip(this.getElement(),a)};goog.ui.Button.pro
totype.setTooltipInternal=function(a)
{this.tooltip_=a};goog.ui.Button.prototype.setCollapsed=function(a)
{this.renderer_.setCollapsed(this,a)};goog.ui.Button.prototype.disposeInternal=func
tion(){goog.ui.Button.superClass_.disposeInternal.call(this);delete
this.value_;delete this.tooltip_};
goog.ui.Button.prototype.enterDocument=function()
{goog.ui.Button.superClass_.enterDocument.call(this);if(this.isSupportedState(goog.
ui.Component.State.FOCUSED)){var
a=this.getKeyEventTarget();a&&this.getHandler().listen(a,goog.events.EventType.KEYU
P,this.handleKeyEventInternal)}};
goog.ui.Button.prototype.handleKeyEventInternal=function(a){return
a.keyCode==goog.events.KeyCodes.ENTER&&a.type==goog.events.KeyEvent.EventType.KEY||
a.keyCode==goog.events.KeyCodes.SPACE&&a.type==goog.events.EventType.KEYUP?
this.performActionInternal(a):a.keyCode==goog.events.KeyCodes.SPACE};goog.ui.regist
ry.setDecoratorByClassName(goog.ui.ButtonRenderer.CSS_CLASS,function(){return new
goog.ui.Button(null)});var
module$contents$ocean$books$TocPanel_TocPanel=function(a,b,c,d){d=void 0===d?!
1:d;module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.
anchorButton_=b;this.tocLines_=this.viewer_.volumeInfo_.tocLines_;this.canRenderLis
tToc_=!!this.viewer_.volumeInfo_.tocLines_;this.canRenderImageToc_=!!
this.viewer_.volumeInfo_.tocPageId_;this.useEntityPageStyling_=ocean.entitypage.Uti
l.isSourceEntityPage(c);this.isTextViewport_=d;this.canRenderListToc_&&(this.select
edSectionIndex_=this.findContainingSection_())};
$jscomp.inherits(module$contents$ocean$books$TocPanel_TocPanel,module$contents$ocea
n$EventManager_EventManager);
module$contents$ocean$books$TocPanel_TocPanel.prototype.render=function(a,b){b=void
0===b?
2:b;this.outerTocDiv_=goog.dom.createElement("div");goog.dom.appendChild(goog.dom.g
etDocument().body,this.outerTocDiv_);goog.Timer.callOnce(goog.bind(this.setupListen
ers_,this));this.yAdjustment_=a;this.canRenderListToc_?
(this.isTextViewport_&&(this.textViewportZoomStop_=b),this.renderListToc_()):this.c
anRenderImageToc_?this.renderImageToc_():this.dispose()};
module$contents$ocean$books$TocPanel_TocPanel.prototype.setupListeners_=function()
{var
a=this;this.getHandler().listen(goog.dom.getDocument(),goog.events.EventType.CLICK,
this.dispose);this.getHandler().listen(goog.dom.getDocument(),goog.events.EventType
.KEYDOWN,function(b){b.keyCode!=goog.events.KeyCodes.ENTER&&b.keyCode!
=goog.events.KeyCodes.ESC||
a.dispose()});this.getHandler().listen(this.viewer_,ocean.viewport.Viewer.EventType
.RESIZE,this.position_)};
module$contents$ocean$books$TocPanel_TocPanel.prototype.renderImageToc_=function()
{goog.dom.classlist.add(this.outerTocDiv_,"base-image-toc-div");var
a=this.viewer_.volumeInfo_.tocPageId_,b=this.viewer_.pageInfoSet_.getPageInfoByPid(
a);b&&this.addTocImage_(b);1<this.viewer_.volumeInfo_.numTocPages_&&(a=this.viewer_
.pageInfoSet_.getPageInfoByOffset(a,1))&&this.addTocImage_(a);this.position_()};
module$contents$ocean$books$TocPanel_TocPanel.prototype.addTocImage_=function(a)
{var b=this,c=new goog.math.Size(128,0),d=goog.dom.createDom(goog.dom.TagName.IMG,
{width:128});goog.dom.classlist.add(d,"toc-page-
image");this.getHandler().listen(d,goog.events.EventType.CLICK,function()
{b.viewer_.setPageInfo(a)});goog.userAgent.GECKO&&ocean.style.isPageRtl()&&this.get
Handler().listen(d,goog.events.EventType.LOAD,this.position_);a.getSrc(c)?
this.setImageSrc_(d,a,c):a.fetchServerInfo(goog.partial(this.setImageSrc_,
d,a,c));goog.dom.appendChild(this.outerTocDiv_,d)};module$contents$ocean$books$TocP
anel_TocPanel.prototype.setImageSrc_=function(a,b,c){goog.dom.setProperties(a,
{src:b.getSrc(c)})};
module$contents$ocean$books$TocPanel_TocPanel.prototype.renderListToc_=function()
{var a=this,b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"toc-
div"}),c;module$contents$goog$array_forEach(this.tocLines_,function(d,e)
{d=a.getTocRow_(d,e);goog.dom.appendChild(b,d);e==a.selectedSectionIndex_&&(c=d)});
c&&goog.Timer.callOnce(function()
{a.scrollRowIntoView_(c);c.focus()});goog.dom.appendChild(this.outerTocDiv_,b);goog
.style.getSize(this.outerTocDiv_).height>module$contents$ocean$books$TocPanel_TocPa
nel.MAX_LIST_TOC_HEIGHT_&&
(goog.style.setStyle(this.outerTocDiv_,"height",module$contents$ocean$books$TocPane
l_TocPanel.MAX_LIST_TOC_HEIGHT_+"px"),goog.dom.classlist.add(this.outerTocDiv_,"scr
oll-toc-div-wide"));goog.dom.classlist.add(this.outerTocDiv_,"scroll-toc-
div");this.position_();this.outerTocDiv_.tabIndex=-
1;goog.a11y.aria.setRole(this.outerTocDiv_,goog.a11y.aria.Role.DIALOG);this.outerTo
cDiv_.focus()};
module$contents$ocean$books$TocPanel_TocPanel.prototype.scrollRowIntoView_=function
(a)
{a.offsetTop+goog.style.getSize(a).height>module$contents$ocean$books$TocPanel_TocP
anel.MAX_LIST_TOC_HEIGHT_&&(a=goog.dom.getPreviousElementSibling(a))&&(this.outerTo
cDiv_.scrollTop=a.offsetTop)};
module$contents$ocean$books$TocPanel_TocPanel.prototype.position_=function(){var
a=this.useEntityPageStyling_?
goog.positioning.Corner.TOP_START:goog.positioning.Corner.BOTTOM_END,b=this.useEnti
tyPageStyling_?
goog.positioning.Corner.BOTTOM_START:goog.positioning.Corner.TOP_END;var
c=this.anchorButton_ instanceof goog.ui.Button?
this.anchorButton_.getElement():this.anchorButton_;goog.positioning.positionAtAncho
r(c,a,this.outerTocDiv_,b,new goog.math.Coordinate(0,-this.yAdjustment_))};
module$contents$ocean$books$TocPanel_TocPanel.prototype.getTocRow_=function(a,b)
{var
c=this,d=a.getId(),e=this.viewer_.pageInfoSet_.getPageInfoByPid(d);d=a.pageNumberFo
rDisplay_;var f=this.tocLines_[b+1]?"":"-last",g="toc-middle-cell"+f,h="toc-right-
cell"+f;this.isTextViewport_?f=goog.dom.createDom(goog.dom.TagName.A,
{"class":e?"toc-row":"toc-disabled-row"}):
(f=goog.dom.createDom(goog.dom.TagName.DIV,{"class":e?"toc-row":"toc-disabled-
row"}),goog.a11y.aria.setRole(f,goog.a11y.aria.Role.BUTTON),goog.dom.setFocusableTa
bIndex(f,
!0));var k=goog.dom.createElement("div");goog.dom.classlist.add(k,"goog-inline-
block");goog.dom.classlist.add(k,"toc-left-
cell");b==this.selectedSectionIndex_&&(goog.dom.classlist.add(k,this.getSelectionMa
rkerClass_()),goog.dom.classlist.add(f,"toc-row-
selected"));b=goog.dom.createElement("div");goog.dom.classlist.add(b,"goog-inline-
block");goog.dom.classlist.add(b,g);goog.userAgent.GECKO&&!
goog.userAgent.isVersionOrHigher("1.9")&&goog.style.setStyle(b,"overflow","hidden")
;var l=a.getTitle(),m=this.useEntityPageStyling_?
l:goog.string.truncate(l,module$contents$ocean$books$TocPanel_TocPanel.MAX_TITLE_CH
ARACTERS_);module$exports$google3$third_party$javascript$safevalues$dom$elements$el
ement.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(m));this.useEntityPageStyling_&&(b.title=l);l=goog.dom.createElement("div");goog.d
om.classlist.add(l,"goog-inline-
block");goog.dom.classlist.add(l,h);module$exports$google3$third_party$javascript$s
afevalues$dom$elements$element.setInnerHtml(l,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(goog.string.isEmptyOrWhitespace(goog.string.makeSafe(d))?"&nbsp;":d));goog.dom.app
endChild(f,k);goog.dom.appendChild(f,b);goog.dom.appendChild(f,l);e?
this.isTextViewport_?(d=new
goog.Uri(window.location.href),d.removeParameter("pg").removeParameter("printsec").
setParameterValue("jtp",a.pageNumberForDisplay_),this.textViewportZoomStop_&&d.remo
veParameter("zoom").setParameterValue("zoom",this.textViewportZoomStop_),
this.viewer_.searchState_.getQuery()||
d.removeParameter("dq").removeParameter("num"),module$exports$google3$third_party$j
avascript$safevalues$dom$elements$anchor.setHref(f,module$contents$google3$third_pa
rty$javascript$safevalues$builders$url_builders_sanitizeUrl(d.toString()))):
(this.getHandler().listen(f,goog.events.EventType.CLICK,function()
{c.viewer_.setPageInfo(goog.asserts.assertExists(e))}),this.getHandler().listen(f,g
oog.events.EventType.KEYDOWN,function(n){n.keyCode==goog.events.KeyCodes.ENTER&&
c.viewer_.setPageInfo(goog.asserts.assertExists(e))})):
(goog.dom.classlist.addRemove(b,g,"toc-middle-disabled-
cell"),goog.dom.classlist.addRemove(l,h,"toc-right-disabled-
cell"),goog.a11y.aria.setState(f,goog.a11y.aria.State.DISABLED,!0));return
f};module$contents$ocean$books$TocPanel_TocPanel.prototype.getSelectionMarkerClass_
=function(){return
ocean.style.isPageRtl()?"SPRITE_toc_selected_item_arrow_right":"SPRITE_toc_selected
_item_arrow_left"};
module$contents$ocean$books$TocPanel_TocPanel.prototype.findContainingSection_=func
tion(){for(var a=this.viewer_.pageInfoSet_,b=0;b<this.tocLines_.length;b++){var
c=a.getPageInfoByPid(this.tocLines_[b].getId());if(c){var
d=this.nextValidTocPageInfo_(b);d=d?d.getOrderId()-
1:module$contents$goog$array_peek(a.getPageInfoArray()).getOrderId();var
e=this.viewer_.getPageInfo();e=e.getOrderId();if(e>=c.getOrderId()&&e<=d)return
b}}return-1};
module$contents$ocean$books$TocPanel_TocPanel.prototype.nextValidTocPageInfo_=funct
ion(a){for(a+=1;a<this.tocLines_.length;a++){var
b=this.viewer_.pageInfoSet_.getPageInfoByPid(this.tocLines_[a].getId());if(b)return
b}return
null};module$contents$ocean$books$TocPanel_TocPanel.prototype.disposeInternal=funct
ion()
{module$contents$ocean$EventManager_EventManager.prototype.disposeInternal.call(thi
s);goog.dom.removeNode(this.outerTocDiv_);this.anchorButton_.focus()};
module$contents$ocean$books$TocPanel_TocPanel.MAX_LIST_TOC_HEIGHT_=300;module$conte
nts$ocean$books$TocPanel_TocPanel.MAX_TITLE_CHARACTERS_=35;ocean.books.TocPanel=mod
ule$contents$ocean$books$TocPanel_TocPanel;var
module$contents$ocean$books$TwoPageLayout_TwoPageLayout=function(a)
{module$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout.call(this,1);th
is.twoPageSize_=a;var b=new
module$contents$ocean$books$LayoutTwoPage_LayoutTwoPage;b.setSize(a);this.addItem(b
);this.calculate()};
$jscomp.inherits(module$contents$ocean$books$TwoPageLayout_TwoPageLayout,module$con
tents$ocean$layout$VerticalGridLayout_VerticalGridLayout);
module$contents$ocean$books$TwoPageLayout_TwoPageLayout.prototype.getPageWidth=func
tion(){return
this.twoPageSize_.width};module$contents$ocean$books$TwoPageLayout_TwoPageLayout.pr
ototype.getCorrespondingItem=function(){return
this.items[0]};module$contents$ocean$books$TwoPageLayout_TwoPageLayout.prototype.ge
tZoomStop=function(){return this.getWidth()||
0};module$contents$ocean$books$TwoPageLayout_TwoPageLayout.prototype.getZoomMode=fu
nction(){return ocean.layout.Layout.ZoomMode.FIXED_WIDTH};
ocean.books.TwoPageLayout=module$contents$ocean$books$TwoPageLayout_TwoPageLayout;o
cean.books.TwoPageViewport=function(a)
{goog.asserts.assert(a.volumeInfo_.getZoomMode()==ocean.layout.Layout.ZoomMode.FIXE
D_WIDTH,"TwoPageViewport() is not compatible with FIXED_HEIGHT media");var
b=a.viewportDiv_,c=new
module$contents$ocean$viewport$ScrollWindow_ScrollWindow(this,b);goog.style.setStyl
e(b,
{overflow:"hidden"});module$contents$ocean$viewport$DocumentViewport_DocumentViewpo
rt.call(this,a,c);this.renderer_=new
module$contents$ocean$books$LayoutTwoPageRenderer_LayoutTwoPageRenderer(a);
b=new
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher;b.addRende
rer(module$contents$ocean$books$LayoutTwoPage_LayoutTwoPage,this.renderer_);this.se
tDispatcher(b);b=a.pageInfoSet_;c=b.defaultSize_.aspectRatio();b=this.getSize();c=2
*Math.floor(b.height*c);b=Math.min(c,b.width);b=this.createLayoutForZoomStop(b);thi
s.setLayout(b);this.messageBarController_=new
module$contents$ocean$books$MessageBarController_MessageBarController(a,this);this.
getHandler().listen(this.viewer,ocean.viewport.Viewer.EventType.PAGEMODECHANGE,
this.handlePageModeChange_);goog.Timer.callOnce(this.updateDisplay,0,this)};goog.in
herits(ocean.books.TwoPageViewport,module$contents$ocean$viewport$DocumentViewport_
DocumentViewport);ocean.books.TwoPageViewport.prototype.getZoomStops=function(){var
a=module$contents$goog$array_concat(ocean.books.TwoPageViewport.ADD_WIDTH_ZOOM_STOP
S_,this.viewer.volumeInfo_.getZoomStops());return new
module$contents$ocean$viewport$ZoomStops_ZoomStops(module$contents$goog$array_map(a
,module$contents$ocean$books$TwoPage_TwoPage.getWidthForImageWidth))};
ocean.books.TwoPageViewport.prototype.zoomPageHelper=function(a)
{ocean.books.TwoPageViewport.superClass_.zoomPageHelper.call(this,a);this.dispatche
r_.cleanup();this.updateDisplay()};ocean.books.TwoPageViewport.prototype.zoomIn=fun
ction()
{this.zoomHelper(1)};ocean.books.TwoPageViewport.prototype.zoomOut=function()
{this.zoomHelper(-
1)};ocean.books.TwoPageViewport.prototype.handlePageModeChange_=function()
{this.dispatcher_.cleanup();this.updateDisplay()};
ocean.books.TwoPageViewport.prototype.PAGE_TURN_STEP=2;ocean.books.TwoPageViewport.
prototype.createLayoutForZoomStop=function(a){var
b=this.getSize(),c=this.viewer.pageInfoSet_;c=c.defaultSize_.aspectRatio();var
d=module$contents$ocean$books$TwoPage_TwoPage.getImageWidthForPageWidth(a);c=Math.f
loor(d/
c);c=module$contents$ocean$books$TwoPage_TwoPage.getHeightForImageHeight(c);return
ocean.books.TwoPageViewport.createLayoutForSizes_(new goog.math.Size(a,c),b)};
ocean.books.TwoPageViewport.createLayoutForSizes_=function(a){return new
module$contents$ocean$books$TwoPageLayout_TwoPageLayout(a)};ocean.books.TwoPageView
port.ADD_WIDTH_ZOOM_STOPS_=[180,220,280];ocean.books.TwoPageViewport.prototype.hand
lePageChange=function(){var
a=this.getPageInfoPair_(this.viewer.getPageInfo()),b=this.renderer_.twoPage_;b&&(th
is.messageBarController_.savePreviousPageInfos(b.getPageInfos()),b.setPageInfos(a[0
],a[1]));this.dispatchEvent(ocean.books.TwoPageViewport.EventType.PAGE_CHANGE)};
ocean.books.TwoPageViewport.EventType={PAGE_CHANGE:"pagechange"};ocean.books.TwoPag
eViewport.prototype.getPageInfos=function(){return
this.renderer_.twoPage_.getPageInfos()};ocean.books.TwoPageViewport.prototype.getPa
geInfoPair_=function(a){var b=this.viewer.pageInfoSet_;b=b.pairs_;return
module$contents$goog$array_find(b,function(c){return
module$contents$goog$array_contains(c,a)})};
ocean.books.TwoPageViewport.prototype.updateDisplay=function()
{ocean.books.TwoPageViewport.superClass_.updateDisplay.call(this);this.handlePageCh
ange()};
ocean.books.TwoPageViewport.prototype.getPageInfoForTurn=function(a,b){var
c=this.viewer.pageInfoSet_;c=c.pairs_;a=a.getOrderId();for(var d,e,f=0;f<c.length;+
+f){var g=c[f];if(g[0]&&a==g[0].getOrderId()||g[1]&&a==g[1].getOrderId())
{d=f;break}else if(e){e=e[0]||e[1];var h=g[0]||
g[1];if(a>=e.getOrderId()&&a<h.getOrderId()){d=0<b?f-
b:f;break}}e=g}b="number"===typeof d?d+b:0;return(b=c[b])?b[0]||b[1]:null};var
module$contents$ocean$info$BookshelfId_BookshelfId={FAVORITES:0,PURCHASED:1,TO_READ
:2,READING_NOW:3,HAVE_READ:4,REVIEWED:5,RECENTLY_VIEWED:6,MY_EBOOKS:7,MY_RECOMMENDA
TIONS:8,BROWSING_HISTORY:9,MY_LIBRARY:1E3};ocean.info.BookshelfId=module$contents$o
cean$info$BookshelfId_BookshelfId;var
module$contents$ocean$books$VolumeInfo_VolumeInfo=function(a)
{this.title_=a.title||"";this.fullview_=!!
a.fullview;this.tocPageId_=a.table_of_contents_page_id||"";this.numTocPages_=a.num_
toc_pages||"";this.initialZoomWidth_=a.initial_zoom_width_override;this.maxZoomWidt
h_=a.max_resolution_image_width;this.pairedThumbnails_=!!
a.paired_thumbnails;this.thumbnailToken_=a.thumbnail_token||"";this.containingBooks
helves_=a.containing_bookshelves||
[];this.volumeId_=a.volume_id||"";this.otherIssuesQuery_=
a.other_issues_query||"";this.isBrowsable_=!!a.is_browsable;this.isPublicDomain_=!!
a.is_public_domain;a.last_page&&(this.lastPageInfo_=new
ocean.info.ProtoPageInfo(a.last_page));this.defaultPageSize_=new
goog.math.Size(a.page_width,a.page_height);this.isEBook_=a.is_ebook||!1;var
b=a.additional_info,c={};b&&(c=b["[JsonBookInfo]"]);c.BuyLinks&&(this.buyLinks_=mod
ule$contents$goog$array_map(c.BuyLinks,function(d){return new
module$exports$ocean$books$ProtoBuyLink(d)},this));this.aboutUrl_=c.AboutUrl;
this.previewUrl_=c.PreviewUrl;c.allowed_syndication_flags&&(this.canDisableViewport
Chrome_=c.allowed_syndication_flags.allow_disabling_chrome);c.TocLine&&(this.tocLin
es_=module$contents$goog$array_map(c.TocLine,function(d){return new
module$exports$ocean$books$TocEntry(d)}));c.SubscribeLink&&(this.subscribeLink_=new
module$exports$ocean$books$ProtoBuyLink(c.SubscribeLink));c=null;b&&(c=b["[Newspape
rJSONVolumeInfo]"]);this.newspaperInfo_=c;this.tilingParams_=null==c?null:new
module$contents$ocean$info$TilingParams_TilingParams(c.tile_h,
c.tile_w,c.x_win,c.y_win);this.publisher_=a.publisher||"";this.numPages_=a.num_page
s||-1;this.sampleUrl_=a.sample_url||"";this.isNewspaper_=a.is_newspaper||!1;
(this.tileServingUrl_=a.newspaper_tile_base_url)&&this.tilingParams_&&this.tilingPa
rams_.setUriRewriter(goog.bind(this.rewriteTileUris_,this));this.zoomStops_=c?
c.res_h:module$contents$ocean$books$VolumeInfo_VolumeInfo.DEFAULT_WIDTH_ZOOM_STOPS_
;this.zoomMode_=this.isNewspaper_?
ocean.layout.Layout.ZoomMode.FIXED_HEIGHT:ocean.layout.Layout.ZoomMode.FIXED_WIDTH;
this.viewOrderUrl_=a.view_order_url||"";this.preOrder_=a.is_pre_order||!
1;this.onSaleDate_=a.on_sale_date||"";this.hasFlowingText_=a.volumeresult&&a.volume
result.has_flowing_text;this.hasScannedText_=a.volumeresult&&a.volumeresult.has_sca
nned_text;this.canDownloadPdf_=a.volumeresult&&a.volumeresult.can_download_pdf;this
.canDownloadEPub_=a.volumeresult&&a.volumeresult.can_download_epub;this.downloadPdf
Url_=a.volumeresult?
a.volumeresult.download_pdf_url:"";this.downloadEpubUrl_=a.volumeresult?
a.volumeresult.download_epub_url:
""};
$jscomp.inherits(module$contents$ocean$books$VolumeInfo_VolumeInfo,module$contents$
ocean$info$VolumeInfo_VolumeInfo);module$contents$ocean$books$VolumeInfo_VolumeInfo
.prototype.getZoomHeights=function(){return this.newspaperInfo_.res_h||[]};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getReadingZoomLevel=fun
ction(){"number"!==typeof
this.reading_zoom_level_&&(this.reading_zoom_level_=this.newspaperInfo_.read_zm,thi
s.reading_zoom_level_="number"===typeof this.reading_zoom_level_?
this.newspaperInfo_.read_zm:module$contents$ocean$books$VolumeInfo_VolumeInfo.DEFAU
LT_READING_ZOOM_LEVEL_,this.reading_zoom_level_=goog.math.clamp(this.reading_zoom_l
evel_,module$contents$ocean$books$VolumeInfo_VolumeInfo.FIT_TO_HEIGHT_ZOOM_LEVEL,
this.getZoomStops().length-1));return
this.reading_zoom_level_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototy
pe.getPreviewUrl=function(){return
this.previewUrl_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getIn
itialZoomWidth=function(){return this.initialZoomWidth_?
this.initialZoomWidth_:this.defaultPageSize_&&this.defaultPageSize_.width?
this.defaultPageSize_.width:575};module$contents$ocean$books$VolumeInfo_VolumeInfo.
prototype.getVolumeId=function(){return this.volumeId_};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.isEBook=function()
{return
this.isEBook_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getPubli
sher=function(){return
this.publisher_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getNum
Pages=function(){return
this.numPages_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.setCano
nicalAtbUrl=function()
{};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getViewOrderUrl=func
tion(){return this.viewOrderUrl_};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.setViewOrderUrl=functio
n(a)
{this.viewOrderUrl_=a};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.
isPreOrder=function(){return
this.preOrder_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.setPreO
rder=function(a)
{this.preOrder_=a};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getO
nSaleDate=function(){return this.onSaleDate_};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.setOnSaleDate=function(
a)
{this.onSaleDate_=a};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.ge
tHasFlowingText=function(){return
this.hasFlowingText_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.g
etHasScannedText=function(){return
this.hasScannedText_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.g
etZoomStops=function(){return this.zoomStops_};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getZoomMode=function()
{return
this.zoomMode_};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.rewrite
TileUris_=function(a){a=a.toString();var
b=a.indexOf("?");0<=b&&(a=this.tileServingUrl_+a.substring(b));return new
goog.Uri(a)};module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getFocusAr
ticleId=function(){return this.newspaperInfo_?this.newspaperInfo_.focus_aid:null};
module$contents$ocean$books$VolumeInfo_VolumeInfo.prototype.getFocusCoordinates=fun
ction(){var a=this.newspaperInfo_.focus_x,b=this.newspaperInfo_.focus_y;return void
0!==a&&void 0!==b?new
goog.math.Coordinate(a,b):null};module$contents$ocean$books$VolumeInfo_VolumeInfo.D
EFAULT_READING_ZOOM_LEVEL_=4;module$contents$ocean$books$VolumeInfo_VolumeInfo.FIT_
TO_HEIGHT_ZOOM_LEVEL=-
1;module$contents$ocean$books$VolumeInfo_VolumeInfo.DEFAULT_WIDTH_ZOOM_STOPS_=[350,
410,495,575,685,800,910,1025];
ocean.books.VolumeInfo=module$contents$ocean$books$VolumeInfo_VolumeInfo;var
module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.containerDiv_=a;th
is.div_=null};
$jscomp.inherits(module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel,module$cont
ents$ocean$EventManager_EventManager);
module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.render=function(a,
b){this.button_=a;a=a.getElement();var
c=goog.style.getPageOffsetTop(a),d=goog.style.getSize(a);c=c+d.height+module$conten
ts$ocean$chrome$LinkBarPanel_LinkBarPanel.PADDING_ADJUSTMENT_;d="";b&&(d=goog.style
.getPageOffsetLeft(a));this.div_=goog.dom.createDom(goog.dom.TagName.DIV,
{"class":"linkbar-panel-
div"});goog.style.setPosition(this.div_,d,c);this.closeButton_=goog.dom.createDom(g
oog.dom.TagName.DIV,{"class":"SPRITE_close_v2 linkbar-panel-close"});
goog.dom.appendChild(this.div_,this.closeButton_);this.shouldUseiFrameMask_()&&(thi
s.iFrameMask_=goog.dom.createDom(goog.dom.TagName.IFRAME,{style:"position:
absolute;",frameborder:"0"}),goog.dom.appendChild(this.containerDiv_,this.iFrameMas
k_));goog.dom.appendChild(this.containerDiv_,this.div_);this.iFrameMask_&&(goog.sty
le.setSize(this.iFrameMask_,goog.style.getSize(this.div_)),goog.style.setPosition(t
his.iFrameMask_,goog.style.getPosition(this.div_)));goog.Timer.callOnce(goog.bind(t
his.setupListeners,
this))};module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.setupListe
ners=function()
{this.getHandler().listen(this.closeButton_,goog.events.EventType.CLICK,this.dispos
e);this.getHandler().listen(this.button_,goog.ui.Component.EventType.ACTION,this.ha
ndleButtonAction_);this.getHandler().listen(goog.dom.getDocument(),goog.events.Even
tType.MOUSEDOWN,this.disposeOnClick_)};
module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.handleButtonAction
_=function(){this.button_.hasState(goog.ui.Component.State.CHECKED)||
this.dispose()};module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.di
sposeOnClick_=function(a){goog.dom.contains(this.div_,a.target)||
goog.dom.contains(this.button_.getElement(),a.target)||this.dispose()};
module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.disposeInternal=fu
nction()
{module$contents$ocean$EventManager_EventManager.prototype.disposeInternal.call(thi
s);goog.dom.removeNode(this.div_);goog.dom.removeNode(this.iFrameMask_)};module$con
tents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.shouldUseiFrameMask_=functio
n(){return goog.userAgent.GECKO&&goog.userAgent.MAC&&!
goog.userAgent.isVersionOrHigher("1.9")};
module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.getElement=functio
n(){return
this.div_};module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.PADDING_ADJUSTMEN
T_=3;ocean.chrome.LinkBarPanel=module$contents$ocean$chrome$LinkBarPanel_LinkBarPan
el;var module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel=function(a,b,c)
{module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.call(this,a);this.viewer_=b
;this.showEmbeddingLink_=c};
$jscomp.inherits(module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel,modul
e$contents$ocean$chrome$LinkBarPanel_LinkBarPanel);
module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.prototype.render=funct
ion(a,b)
{module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.render.call(this,
a,b);a=goog.dom.createDom(goog.dom.TagName.DIV,{style:"padding-top:5px; font-size:
13px;"});module$exports$google3$third_party$javascript$safevalues$dom$elements$elem
ent.setInnerHtml(a,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Copier le lien dans un e-mail ou un message instantan\u00e9"));
goog.dom.appendChild(this.getElement(),a);this.linkToPageInput_=goog.dom.createElem
ent("input");goog.style.setSize(this.linkToPageInput_,"100%","auto");goog.dom.appen
dChild(this.getElement(),this.linkToPageInput_);this.showEmbeddingLink_&&(a=goog.do
m.createDom(goog.dom.TagName.DIV,{style:"font-size: 13px; padding-top: 7px;"},"Int\
u00e9grer"),goog.dom.appendChild(this.getElement(),a),this.embedInput_=goog.dom.cre
ateElement("input"),goog.style.setSize(this.embedInput_,"100%","auto"),goog.dom.app
endChild(this.getElement(),
this.embedInput_));this.fillLinkdata_()};
module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.prototype.fillLinkdata
_=function(){var a=this.viewer_.getPageInfo(),b=(new
goog.Uri(window.location)).getFragment(),c=new
goog.Uri(a.getPageUrl());c.setFragment(b);this.linkToPageInput_.value=c.toString();
goog.Timer.callOnce(goog.partial(module$contents$ocean$chrome$LinkToPagePanel_LinkT
oPagePanel.selectInput_,this.linkToPageInput_));this.showEmbeddingLink_&&(a=new
goog.Uri(a.getPageUrl()),a.setParameterValue("output","embed"),this.embedInput_.val
ue=
module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.createEmbeddingLink(a.
toString()))};
module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.prototype.setupListene
rs=function()
{module$contents$ocean$chrome$LinkBarPanel_LinkBarPanel.prototype.setupListeners.ca
ll(this);this.getHandler().listen(this.linkToPageInput_,goog.events.EventType.CLICK
,goog.partial(module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.selectIn
put_,this.linkToPageInput_));this.showEmbeddingLink_&&this.getHandler().listen(this
.embedInput_,goog.events.EventType.CLICK,goog.partial(module$contents$ocean$chrome$
LinkToPagePanel_LinkToPagePanel.selectInput_,
this.embedInput_))};module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.se
lectInput_=function(a)
{a.select()};module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel.createEmb
eddingLink=function(a){return goog.string.subs('<iframe frameborder="0"
scrolling="no" style="border:0px" src="%s" width=500
height=500></iframe>',a)};ocean.chrome.LinkToPagePanel=module$contents$ocean$chrome
$LinkToPagePanel_LinkToPagePanel;var
module$exports$ocean$chrome$MobileResizeManager=function(a,b){var
c=this;this.viewer_=a;this.viewportDiv_=b;this.viewportSizeMonitor_=goog.dom.Viewpo
rtSizeMonitor.getInstanceForWindow();this.isTextViewport_=goog.dom.getElement("flow
-top-div")?!0:!1;this.handler_=(new
goog.events.EventHandler(this)).listen(this.viewportSizeMonitor_,goog.events.EventT
ype.RESIZE,function()
{c.handleResizeEvent_()}).listen(this.viewer_,ocean.viewport.Viewer.EventType.SEARC
HUPDATE,function(){c.handleSearchClearEvent_()}).listen(window,
goog.events.EventType.LOAD,this.resize)};module$exports$ocean$chrome$MobileResizeMa
nager.prototype.handleResizeEvent_=function(){var
a=this.viewer_.getViewport(),b=a.layout_,c=a.getMiddleCoordinate();this.resize();th
is.viewer_.getViewport().fitToWidth();a=this.viewer_.getViewport();var
d=a.layout_;b=new
module$contents$ocean$layout$PointMapper_PointMapper(b,d);b=b.getDestCoordinate(c);
b=a.middleToScroll(b);a.moveTo(b)};
module$exports$ocean$chrome$MobileResizeManager.prototype.handleSearchClearEvent_=f
unction(){var a=goog.dom.getElement("gb-ogen-mobile-appbar");if(a){var
b=this.viewportSizeMonitor_.getSize().height;a=a.getBoundingClientRect().height;b-
=a;a=this.viewportSizeMonitor_.getSize().width;this.viewer_.setSize(new
goog.math.Size(a,b));this.isTextViewport_&&goog.style.setSize(this.viewportDiv_,new
goog.math.Size(a,b))}};
module$exports$ocean$chrome$MobileResizeManager.prototype.resize=function(){var
a=this.viewportSizeMonitor_.getSize().height,b=this.viewportSizeMonitor_.getSize().
width,c=Math.round(goog.style.getPageOffsetTop(this.viewportDiv_));a=Math.max(0,a-
c);this.viewer_.setSize(new
goog.math.Size(b,a));this.isTextViewport_&&goog.style.setSize(this.viewportDiv_,new
goog.math.Size(b,a))};var
module$exports$ocean$entitypage$FocusOutlineHandler={FocusOutlineHandler:function()
{this.setUpListenForTab_()}};module$exports$ocean$entitypage$FocusOutlineHandler.Fo
cusOutlineHandler.prototype.setUpListenForMouseDown_=function(){var a=this;
(0,goog.events.unlistenByKey)
(this.activeListenerKey_);this.activeListenerKey_=(0,goog.events.listenOnce)
(document.body,goog.events.EventType.MOUSEDOWN,function()
{a.stopKeyboardNavigation_()},{capture:!0})};
module$exports$ocean$entitypage$FocusOutlineHandler.FocusOutlineHandler.prototype.s
etUpListenForTab_=function(){var a=this;(0,goog.events.unlistenByKey)
(this.activeListenerKey_);this.activeListenerKey_=(0,goog.events.listen)
(document.body,goog.events.EventType.KEYDOWN,function(b)
{b.keyCode===goog.events.KeyCodes.TAB&&a.startKeyboardNavigation_()})};
module$exports$ocean$entitypage$FocusOutlineHandler.FocusOutlineHandler.prototype.s
topKeyboardNavigation_=function(){goog.dom.classlist.remove(document.body,"focus-
outline-
enabled");this.setUpListenForTab_()};module$exports$ocean$entitypage$FocusOutlineHa
ndler.FocusOutlineHandler.prototype.startKeyboardNavigation_=function()
{goog.dom.classlist.add(document.body,"focus-outline-
enabled");this.setUpListenForMouseDown_()};var
module$exports$ocean$entitypage$PopupMenu=function(a,b,c,d){d=void 0===d?!
1:d;goog.ui.Popup.call(this);var
e=this;this.title_=a;this.content_=b;this.closeCallback_=c?
goog.asserts.assertFunction(c):null;this.setElement(this.createPopupElement_());if(
d){var f=goog.asserts.assertExists(goog.dom.getElement("ep-
lb"));goog.events.listen(this,goog.ui.PopupBase.EventType.HIDE,function()
{goog.style.setStyle(f,"visibility","hidden")});goog.events.listen(this,goog.ui.Pop
upBase.EventType.BEFORE_SHOW,function(){goog.style.setStyle(f,
"visibility","visible");goog.dom.classlist.enable(e.getElement(),"lightbox-
dialog",!0)})}};
$jscomp.inherits(module$exports$ocean$entitypage$PopupMenu,goog.ui.Popup);
module$exports$ocean$entitypage$PopupMenu.prototype.createPopupElement_=function()
{var a=this,b=goog.dom.createDom(goog.dom.TagName.DIV);goog.dom.classlist.addAll(b,
["popup-menu","goog-menu","goog-menu-
vertical"]);goog.a11y.aria.setRole(b,goog.a11y.aria.Role.DIALOG);b.setAttribute("ta
bindex","-1");goog.dom.appendChild(document.body,b);if(""!=this.title_){var
c=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"popup-menu-
header"});goog.dom.appendChild(b,c);var d=goog.dom.createDom(goog.dom.TagName.SPAN,
{"class":"popup-menu-
title"});goog.dom.setTextContent(d,this.title_);goog.dom.appendChild(c,d);d=goog.do
m.createDom(goog.dom.TagName.DIV,{"class":"popup-menu-
close"});goog.a11y.aria.setLabel(d,module$exports$ocean$entitypage$PopupMenu.MSG_CL
OSE_POPUP_);var
e=goog.dom.createDom(goog.dom.TagName.IMG);e.src="/googlebooks/images/material/
close_black_24dp.png";goog.style.setSize(e,24,24);goog.a11y.aria.setState(e,goog.a1
1y.aria.State.HIDDEN,!
0);goog.dom.appendChild(d,e);goog.events.listen(d,goog.events.EventType.CLICK,
function(){a.setVisible(!
1);a.closeCallback_&&a.closeCallback_()});goog.events.listen(d,goog.events.EventTyp
e.KEYDOWN,function(f){if(f.keyCode==goog.events.KeyCodes.SPACE||
f.keyCode==goog.events.KeyCodes.ENTER)a.setVisible(!
1),a.closeCallback_&&a.closeCallback_()});goog.a11y.aria.setRole(d,goog.a11y.aria.R
ole.BUTTON);goog.dom.setFocusableTabIndex(d,!
0);goog.dom.appendChild(c,d)}goog.dom.appendChild(b,this.content_);return
b};module$exports$ocean$entitypage$PopupMenu.MSG_CLOSE_POPUP_="Fermer la fen\
u00eatre pop-up";goog.positioning.AnchoredPosition=function(a,b,c)
{this.element=a;this.corner=b;this.overflow_=c};goog.inherits(goog.positioning.Anch
oredPosition,goog.positioning.AbstractPosition);goog.positioning.AnchoredPosition.p
rototype.reposition=function(a,b,c)
{goog.positioning.positionAtAnchor(this.element,this.corner,a,b,void
0,c,this.overflow_)};goog.positioning.AnchoredViewportPosition=function(a,b,c,d)
{goog.positioning.AnchoredPosition.call(this,a,b);this.lastResortOverflow_=c?
goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.ADJUST_Y:goog.positioning.Overflow.IGNORE;this.overflowCo
nstraint_=d||void
0};goog.inherits(goog.positioning.AnchoredViewportPosition,goog.positioning.Anchore
dPosition);goog.positioning.AnchoredViewportPosition.prototype.getLastResortOverflo
w=function(){return this.lastResortOverflow_};
goog.positioning.AnchoredViewportPosition.prototype.setLastResortOverflow=function(
a){this.lastResortOverflow_=a};
goog.positioning.AnchoredViewportPosition.prototype.reposition=function(a,b,c,d)
{var
e=goog.positioning.positionAtAnchor(this.element,this.corner,a,b,null,c,goog.positi
oning.Overflow.FAIL_X|
goog.positioning.Overflow.FAIL_Y,d,this.overflowConstraint_);if(e&goog.positioning.
OverflowStatus.FAILED){var
f=this.adjustCorner(e,this.corner);b=this.adjustCorner(e,b);e=goog.positioning.posi
tionAtAnchor(this.element,f,a,b,null,c,goog.positioning.Overflow.FAIL_X|
goog.positioning.Overflow.FAIL_Y,d,this.overflowConstraint_);
e&goog.positioning.OverflowStatus.FAILED&&(f=this.adjustCorner(e,f),b=this.adjustCo
rner(e,b),goog.positioning.positionAtAnchor(this.element,f,a,b,null,c,this.lastReso
rtOverflow_,d,this.overflowConstraint_))}};goog.positioning.AnchoredViewportPositio
n.prototype.adjustCorner=function(a,b)
{a&goog.positioning.OverflowStatus.FAILED_HORIZONTAL&&(b=goog.positioning.flipCorne
rHorizontal(b));a&goog.positioning.OverflowStatus.FAILED_VERTICAL&&(b=goog.position
ing.flipCornerVertical(b));return b};var
module$exports$ocean$entitypage$ViewportOnboardingFlow={ViewportOnboardingFlow:func
tion(a,b,c,d,e)
{this.moreActionsMenuPopup_=a;this.viewer_=b;this.showPlainTextOnly_=c;this.welcome
Panel_=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("epo-
welcome"));this.keyboardPanel_=module$contents$goog$asserts$dom_assertIsElement(goo
g.dom.getElement("epo-keyboard"));this.plainTextPanel_=goog.dom.getElement("epo-
plain-text");this.plainTextOnlyPanel_=goog.dom.getElement("epo-plain-text-only");
this.plainTextToggleLink_=goog.dom.getElement("entity-page-toggle-viewport-mode-
link");this.shareLinkPanel_=module$contents$goog$asserts$dom_assertIsElement(goog.d
om.getElement("epo-share-
link"));this.currentPanelNum_=e;this.initializeOnboardingPanels_(d);this.maybeUpdat
ePlainTextToggleUrl_(!1)}};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.initializeOnboardingPanels_=function(a){var
b=this;if(this.showPlainTextOnly_)this.plainTextOnlyPanel_&&this.showPlainTextPanel
Only_(a);else{var c=new
module$exports$ocean$entitypage$PopupMenu("",this.welcomePanel_,function()
{});goog.dom.classlist.addAll(c.getElement(),["onboarding-popup","onboarding-fixed-
popup","onboarding-welcome-popup"]);c.setAutoHide(!1);var
d=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("epo-
keyboard-text"));
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml(d,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(goog.dom.getTextContent(d)));var e=new
module$exports$ocean$entitypage$PopupMenu("",this.keyboardPanel_,function()
{});goog.dom.classlist.addAll(e.getElement(),["onboarding-popup","onboarding-fixed-
popup"]);e.setAutoHide(!
1);d=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElementsByTagName
(goog.dom.TagName.A,
d)[0]);d.id="ep-keyboard-link";goog.dom.classlist.add(d,"onboarding-
link");goog.dom.setFocusableTabIndex(d,!0);this.listenForSelection_(d,function()
{b.viewer_.queueCommand(ocean.viewport.Viewer.Commands.SHOW_KEYBOARD_SHORTCUTS)});i
f(this.plainTextPanel_){var f=new
module$exports$ocean$entitypage$PopupMenu("",this.plainTextPanel_,function()
{});goog.dom.classlist.addAll(f.getElement(),["onboarding-popup","onboarding-plain-
text-popup"])}d=new
module$exports$ocean$entitypage$PopupMenu("",this.shareLinkPanel_,
function(){});goog.dom.classlist.addAll(d.getElement(),["onboarding-
popup","onboarding-share-popup"]);var
g=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-
page-
clip"));d.setPinnedCorner(goog.positioning.Corner.BOTTOM_RIGHT);d.setPosition(new
goog.positioning.AnchoredViewportPosition(g,goog.positioning.Corner.TOP_RIGHT,!
0));d.setAutoHide(!
1);this.setUpNextLinks_(c,e,f,d);this.setUpDismissLinks_(c,e,f,d);if(this.currentPa
nelNum_)switch(this.currentPanelNum_){case 0:c.setVisible(!0);
break;case 1:e.setVisible(!0);break;case 2:f?
this.showPlainTextPanelAndMoreActionsMenu_(f,a):d.setVisible(!
0);break;default:d.setVisible(!0)}else c.setVisible(!0)}};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.setUpNextLinks_=function(a,b,c,d){var
e=this,f=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("epo-
welcome-next"));this.listenForSelection_(f,function(){e.currentPanelNum_+
+;a.setVisible(!1);b.setVisible(!0);e.maybeUpdatePlainTextToggleUrl_(!
1)});f=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("epo-
keyboard-next"));this.listenForSelection_(f,function(){e.currentPanelNum_++;
b.setVisible(!1);c?e.showPlainTextPanelAndMoreActionsMenu_(c):d.setVisible(!
0);e.maybeUpdatePlainTextToggleUrl_(!
1)});this.plainTextPanel_&&c&&(f=module$contents$goog$asserts$dom_assertIsElement(g
oog.dom.getElement("epo-plain-text-next")),this.listenForSelection_(f,function()
{e.currentPanelNum_++;e.moreActionsMenuPopup_.setVisible(!
1);e.moreActionsMenuPopup_.setAutoHide(!0);c.setVisible(!1);d.setVisible(!
0);e.maybeUpdatePlainTextToggleUrl_(!1)}))};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.setUpDismissLinks_=function(a,b,c,d){var
e=this;document.querySelectorAll(".onboarding-link").forEach(function(g){"ep-
keyboard-link"!=g.id&&e.listenForSelection_(g,function(){a.setVisible(!
1);b.setVisible(!1);c&&(c.setVisible(!1),e.moreActionsMenuPopup_.setVisible(!
1),e.moreActionsMenuPopup_.setAutoHide(!0));d.setVisible(!
1);e.handleOnboardingDismissed_()})});var
f=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("epo-
done"));
this.listenForSelection_(f,function(){d.setVisible(!
1);e.handleOnboardingDismissed_()})};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.showPlainTextPanelOnly_=function(a){var b=this,c=new
module$exports$ocean$entitypage$PopupMenu("",module$contents$goog$asserts$dom_asser
tIsElement(this.plainTextOnlyPanel_),function()
{});goog.dom.classlist.addAll(c.getElement(),["onboarding-popup","onboarding-plain-
text-
popup"]);this.showPlainTextPanelAndMoreActionsMenu_(c,a);a=module$contents$goog$ass
erts$dom_assertIsElement(goog.dom.getElement("epo-done-only"));
this.listenForSelection_(a,function(){c.setVisible(!
1);b.moreActionsMenuPopup_.setVisible(!1);b.moreActionsMenuPopup_.setAutoHide(!
0);b.handleOnboardingDismissed_()})};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.showPlainTextPanelAndMoreActionsMenu_=function(a,b){b=void 0===b?!1:b;b||
(this.moreActionsMenuPopup_.setAutoHide(!1),this.moreActionsMenuPopup_.setVisible(!
0));b=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-
page-more-menu-
content"));a.setPinnedCorner(goog.positioning.Corner.TOP_LEFT);a.setPosition(new
goog.positioning.AnchoredViewportPosition(b,goog.positioning.Corner.TOP_RIGHT,
!0));a.setAutoHide(!1);a.setVisible(!
0)};module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.p
rototype.handleOnboardingDismissed_=function()
{this.maybeUpdatePlainTextToggleUrl_(!0);this.plainTextPanel_?
ocean.entitypage.EntityPageCommunicationUtil.propagateOnboardingDismissedEventToPar
ent(!
0):ocean.entitypage.EntityPageCommunicationUtil.propagateOnboardingDismissedEventTo
Parent(!1)};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.maybeUpdatePlainTextToggleUrl_=function(a){if(this.plainTextToggleLink_){var
b=module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(this.plainTextToggleLi
nk_);b=new goog.Uri(b.href);a?
(b.removeParameter("ovso"),b.removeParameter("ovsopt"),b.removeParameter("op")):thi
s.showPlainTextOnly_&&this.plainTextOnlyPanel_?b.setParameterValue("ovsopt","1"):
(b.setParameterValue("ovso","1"),b.setParameterValue("op",this.currentPanelNum_));
module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor.setHre
f(this.plainTextToggleLink_,module$contents$google3$third_party$javascript$safevalu
es$builders$url_builders_sanitizeUrl(b.toString()))}};
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow.proto
type.listenForSelection_=function(a,b)
{goog.events.listen(a,goog.events.EventType.CLICK,function()
{b()});goog.events.listen(a,goog.events.EventType.KEYDOWN,function(c){c.keyCode!
=goog.events.KeyCodes.SPACE&&c.keyCode!=goog.events.KeyCodes.ENTER||
b()})};ocean.search={};
var module$contents$ocean$search$SnippetDrawable_SnippetDrawable=function(a,b)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewport_=a;this.l
ayoutItem_=b;this.snippetContainer_=goog.dom.createElement("div");goog.dom.appendCh
ild(a.getCanvasDiv(),this.snippetContainer_);goog.dom.classlist.add(this.snippetCon
tainer_,"sitb_result");goog.dom.setFocusableTabIndex(this.snippetContainer_,!
0);goog.a11y.aria.setRole(this.snippetContainer_,goog.a11y.aria.Role.LINK);goog.a11
y.aria.setState(this.snippetContainer_,goog.a11y.aria.State.DISABLED,
!0);goog.userAgent.MOBILE?
(goog.style.setStyle(this.snippetContainer_,"width",b.getSize().width+"px"),goog.st
yle.setStyle(this.snippetContainer_,"min-height",b.getSize().height+"px")):
(goog.style.setPosition(this.snippetContainer_,b.getPosition()),goog.style.setSize(
this.snippetContainer_,b.getSize()));a=goog.dom.createElement("div");goog.dom.class
list.add(a,"sitb-result-
header");goog.dom.appendChild(this.snippetContainer_,a);this.pageLink_=goog.dom.cre
ateElement("div");goog.dom.classlist.add(this.pageLink_,
"sitb-result-page-
link");b=b.searchResult_.getPageNumber();b=goog.dom.textAssert.assertHtmlFree(b?
module$contents$ocean$msg_getGooglePrintPageNumber(b):"Page");goog.dom.setTextConte
nt(this.pageLink_,b);goog.a11y.aria.setLabel(this.pageLink_,"R\u00e9sultat de
recherche:
"+b);goog.dom.appendChild(a,this.pageLink_);this.snippetContents_=goog.dom.createEl
ement("div");goog.dom.classlist.add(this.snippetContents_,"sitb-result-
content");goog.dom.appendChild(this.snippetContainer_,this.snippetContents_);
if(a=this.getPageInfo_()){b=this.viewport_.viewer_.searchState_.getQuery();var
c=a.getSnippetSrc();c&&b==ocean.info.SearchState.parseQueryFromUrl(c)?
this.renderImageSnippet_(c):
(b=a.getFetchUri(),"entity_page"==b.getParameterValue("source")?
b.setParameterValue("source","entity_page_gbs_snippet"):b.setParameterValue("source
","gbs_snippet"),a.fetchServerInfoWithUri(b,goog.bind(this.handlePageInfoFetch_,thi
s)))}else this.renderTextSnippet_()};
$jscomp.inherits(module$contents$ocean$search$SnippetDrawable_SnippetDrawable,modul
e$contents$ocean$viewport$Drawable_Drawable);module$contents$ocean$search$SnippetDr
awable_SnippetDrawable.prototype.getPageInfo_=function(){return
this.viewport_.viewer_.pageInfoSet_.getPageInfoByPid(this.layoutItem_.searchResult_
.getPageId())};module$contents$ocean$search$SnippetDrawable_SnippetDrawable.prototy
pe.handleSnippetClick_=function(a){this.viewport_.goToResult(a.searchResult_)};
module$contents$ocean$search$SnippetDrawable_SnippetDrawable.prototype.handlePageIn
foFetch_=function(a){(a=a.getSnippetSrc())?
this.renderImageSnippet_(a):this.renderTextSnippet_()};
module$contents$ocean$search$SnippetDrawable_SnippetDrawable.prototype.renderImageS
nippet_=function(a){goog.dom.removeChildren(this.snippetContents_);var
b=goog.dom.createElement(goog.dom.TagName.IMG);b.src=a;this.makeClickable_();a=this
.layoutItem_.getSize().width-25;goog.style.setStyle(b,
{width:a+"px"});goog.dom.appendChild(this.snippetContents_,b)};
module$contents$ocean$search$SnippetDrawable_SnippetDrawable.prototype.makeClickabl
e_=function(){var a=this;goog.dom.classlist.add(this.snippetContainer_,"sitb-
result-clickable");goog.dom.classlist.add(this.pageLink_,"sitb-result-link");var
b=goog.dom.getTextContent(this.pageLink_);module$exports$google3$third_party$javasc
ript$safevalues$dom$elements$element.setInnerHtml(this.pageLink_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(b+"&nbsp;&raquo;"));
goog.a11y.aria.setState(this.snippetContainer_,goog.a11y.aria.State.DISABLED,!
1);this.getHandler().listen(this.snippetContainer_,goog.events.EventType.CLICK,goog
.bind(this.handleSnippetClick_,this,this.layoutItem_));this.getHandler().listen(thi
s.snippetContainer_,goog.events.EventType.KEYDOWN,function(c){c.keyCode!
=goog.events.KeyCodes.SPACE&&c.keyCode!=goog.events.KeyCodes.ENTER||
a.handleSnippetClick_(a.layoutItem_)})};
module$contents$ocean$search$SnippetDrawable_SnippetDrawable.prototype.renderTextSn
ippet_=function(){goog.dom.removeChildren(this.snippetContents_);var
a=goog.dom.createElement("div");goog.dom.classlist.add(a,"sitb-result-
snippet");goog.dom.appendChild(this.snippetContents_,a);goog.userAgent.MOBILE||
goog.style.setStyle(a,{width:Math.floor(.75*this.layoutItem_.getSize().width)
+"px"});module$exports$google3$third_party$javascript$safevalues$dom$elements$eleme
nt.setInnerHtml(a,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtml)
(this.layoutItem_.searchResult_.snippetText_));
a=goog.dom.createElement("div");goog.dom.classlist.add(a,"sitb-result-explanatory-
link");goog.dom.appendChild(this.snippetContents_,a);var
b=this.getPageInfo_();if(b&&b.getSrc()&&b.isViewable()&&b.hasFlag(ocean.info.ProtoP
ageInfo.FLAGS.CACHABLE)){this.makeClickable_();b=goog.userAgent.MOBILE?"Aucune
image pour le r\u00e9sultat.":"Impossible de g\u00e9n\u00e9rer une image pour ce r\
u00e9sultat.";module$exports$google3$third_party$javascript$safevalues$dom$elements
$element.setInnerHtml(a,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(b+
"&nbsp;&nbsp;"));b=goog.dom.createElement("span");var c=goog.userAgent.MOBILE||
ocean.entitypage.Util.isSourceEntityPage()?"Cliquer pour voir":"Cliquez ici pour
afficher la page enti\
u00e8re.";module$exports$google3$third_party$javascript$safevalues$dom$elements$ele
ment.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(c));goog.dom.appendChild(a,b);goog.dom.classlist.add(b,"sitb-result-
link")}else
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml(a,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Aucun aper\u00e7u disponible pour cette
page.&nbsp;&nbsp;")),goog.userAgent.MOBILE||
(b=goog.dom.createElement("a"),goog.dom.classlist.add(b,"sitb-result-buy-
link"),module$exports$google3$third_party$javascript$safevalues$dom$elements$elemen
t.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Acheter ce livre.")),goog.dom.appendChild(a,b),a=new
goog.Uri(window.location.href),
a.setParameterValue("sitesec","buy"),a.setParameterValue("source","gbs_snippet"),a.
removeParameter("printsec"),b.href=a.toString())};module$contents$ocean$search$Snip
petDrawable_SnippetDrawable.prototype.cleanup=function()
{goog.dom.removeNode(this.snippetContainer_);this.dispose()};ocean.search.SnippetDr
awable=module$contents$ocean$search$SnippetDrawable_SnippetDrawable;var
module$contents$ocean$search$SnippetItemRenderer_SnippetItemRenderer=function(a)
{this.viewport_=a};
$jscomp.inherits(module$contents$ocean$search$SnippetItemRenderer_SnippetItemRender
er,module$contents$ocean$viewport$LayoutItemRenderer_LayoutItemRenderer);module$con
tents$ocean$search$SnippetItemRenderer_SnippetItemRenderer.prototype.render=functio
n(a){return a=new
module$contents$ocean$search$SnippetDrawable_SnippetDrawable(this.viewport_,a)};oce
an.search.SnippetItemRenderer=module$contents$ocean$search$SnippetItemRenderer_Snip
petItemRenderer;var
module$contents$ocean$search$SnippetLayoutItem_SnippetLayoutItem=function(a)
{this.searchResult_=a};
$jscomp.inherits(module$contents$ocean$search$SnippetLayoutItem_SnippetLayoutItem,m
odule$contents$ocean$layout$LayoutItem_LayoutItem);ocean.search.SnippetLayoutItem=m
odule$contents$ocean$search$SnippetLayoutItem_SnippetLayoutItem;var
module$contents$ocean$search$SnippetLayout_SnippetLayout=function(a,b)
{module$contents$ocean$layout$VerticalGridLayout_VerticalGridLayout.call(this,1);th
is.searchResults_=a;this.viewportWidth_=b;this.verticalSpacing=this.marginBottom=th
is.marginTop=20;a.resultItemArray_&&(a.resultItemArray_.forEach(goog.bind(this.addR
esult_,this)),this.calculate())};
$jscomp.inherits(module$contents$ocean$search$SnippetLayout_SnippetLayout,module$co
ntents$ocean$layout$VerticalGridLayout_VerticalGridLayout);
module$contents$ocean$search$SnippetLayout_SnippetLayout.prototype.addResult_=funct
ion(a){a=new
module$contents$ocean$search$SnippetLayoutItem_SnippetLayoutItem(a);var
b=this.viewportWidth_-
16;b=Math.min(b,module$contents$ocean$search$SnippetLayout_SnippetLayout.SNIPPET_WI
DTH_);var
c=module$contents$ocean$search$SnippetLayout_SnippetLayout.SNIPPET_HEIGHT_-
module$contents$ocean$search$SnippetLayout_SnippetLayout.SNIPPET_HEADER_HEIGHT_;c=c
/module$contents$ocean$search$SnippetLayout_SnippetLayout.SNIPPET_WIDTH_*
b+module$contents$ocean$search$SnippetLayout_SnippetLayout.SNIPPET_HEADER_HEIGHT_;b
=new
goog.math.Size(b,Math.round(c));a.setSize(b);this.addItem(a)};module$contents$ocean
$search$SnippetLayout_SnippetLayout.SNIPPET_HEIGHT_=166;module$contents$ocean$searc
h$SnippetLayout_SnippetLayout.SNIPPET_HEADER_HEIGHT_=42;module$contents$ocean$searc
h$SnippetLayout_SnippetLayout.SNIPPET_WIDTH_=600;ocean.search.SnippetLayout=module$
contents$ocean$search$SnippetLayout_SnippetLayout;ocean.search.SnippetViewport=func
tion(a){var b=a.viewportDiv_;goog.style.setStyle(b,"overflow","hidden");var c=new
module$contents$ocean$viewport$ScrollWindow_ScrollWindow(this,b);ocean.viewport.Vie
wport.call(this,c);this.viewer_=a;goog.userAgent.MOBILE||this.setClipper(new
module$contents$ocean$viewport$ContinuousClipper_ContinuousClipper(this));this.getH
andler().listen(this,ocean.viewport.Viewport.EventType.MOVE,this.updateDisplay);var
d=goog.dom.getElement("subscription-
bar");d&&(this.fadeOutInstitutionalSubscriptionBar(d),
goog.Timer.callOnce(function(){goog.style.setElementShown(d,!
1)},600));this.setDispatcher(this.createDispatcher_());ocean.search.SnippetViewport
.applyOverflowStyles_(b)};goog.inherits(ocean.search.SnippetViewport,ocean.viewport
.Viewport);ocean.search.SnippetViewport.prototype.setSearchResults=function(a){a!
=this.searchResults_&&(this.searchResults_=a,this.setLayoutForSearchResults_(a))};
ocean.search.SnippetViewport.applyOverflowStyles_=function(a)
{goog.style.setStyle(a,"overflow","auto");goog.style.setStyle(a,
{overflowX:"auto",overflowY:"scroll"});goog.dom.setProperties(a,{dir:"ltr"})};
ocean.search.SnippetViewport.prototype.createDispatcher_=function(){var a=new
module$contents$ocean$viewport$LayoutItemDispatcher_LayoutItemDispatcher,b=new
module$contents$ocean$search$SnippetItemRenderer_SnippetItemRenderer(this);a.addRen
derer(module$contents$ocean$search$SnippetLayoutItem_SnippetLayoutItem,b);return
a};ocean.search.SnippetViewport.prototype.resize=function()
{this.setLayoutForSearchResults_(this.searchResults_)};
ocean.search.SnippetViewport.prototype.setLayoutForSearchResults_=function(){var
a=new
module$contents$ocean$search$SnippetLayout_SnippetLayout(this.searchResults_,this.g
etSize().width);this.setLayout(a);this.updateDisplay()};ocean.search.SnippetViewpor
t.prototype.setGoToResultFunction=function(a)
{this.goToResult_=a};ocean.search.SnippetViewport.prototype.goToResult=function(a,b
){return this.goToResult_(a,b)};var
module$exports$ocean$history$HistoryEntry=function(a){this.values_=a||
{}};module$exports$ocean$history$HistoryEntry.prototype.getValues=function(){return
this.values_};module$exports$ocean$history$HistoryEntry.prototype.setViewportClass=
function(a){var
b=module$contents$goog$object_findKey(module$exports$ocean$history$HistoryEntry.Vie
wportTypes_,function(c){return
c==a});this.values_[module$exports$ocean$history$HistoryEntry.StateType_.VIEWPORT]=
b};
module$exports$ocean$history$HistoryEntry.prototype.getViewportClass=function(){var
a=this.values_[module$exports$ocean$history$HistoryEntry.StateType_.VIEWPORT];retur
n module$exports$ocean$history$HistoryEntry.ViewportTypes_[a]||
ocean.books.VerticalViewport};module$exports$ocean$history$HistoryEntry.prototype.s
etQuery=function(a)
{this.values_[module$exports$ocean$history$HistoryEntry.StateType_.QUERY]=a};module
$exports$ocean$history$HistoryEntry.prototype.getQuery=function(){return
this.values_[module$exports$ocean$history$HistoryEntry.StateType_.QUERY]};
module$exports$ocean$history$HistoryEntry.prototype.setFullscreen=function(a)
{this.values_[module$exports$ocean$history$HistoryEntry.StateType_.FULLSCREEN]=a};m
odule$exports$ocean$history$HistoryEntry.prototype.getFullscreen=function()
{return!!
this.values_[module$exports$ocean$history$HistoryEntry.StateType_.FULLSCREEN]};modu
le$exports$ocean$history$HistoryEntry.StateType_={VIEWPORT:"v",QUERY:"q",FULLSCREEN
:"f"};
module$exports$ocean$history$HistoryEntry.ViewportTypes_={onepage:ocean.books.Verti
calViewport,twopage:ocean.books.TwoPageViewport,thumbnail:ocean.books.ThumbnailView
port,snippet:ocean.search.SnippetViewport};goog.history={};goog.history.EventType={
NAVIGATE:"navigate"};goog.history.Event=function(a)
{goog.events.Event.call(this,goog.history.EventType.NAVIGATE);this.token=a};goog.in
herits(goog.history.Event,goog.events.Event);var
module$contents$goog$memoize_MODULE_LOCAL_CACHE=new WeakMap;
function module$contents$goog$memoize_memoize(a,b){b=void 0===b?
module$contents$goog$memoize_simpleSerializer:b;var c=goog.getUid(a),d=function(g)
{g=$jscomp.makeIterator(g);g.next();g=$jscomp.arrayFromIterator(g);return
b(c,g)},e=function(g){var
h=$jscomp.makeIterator(g);g=h.next().value;h=$jscomp.arrayFromIterator(h);return
a.apply(g,h)},f=function(){var
g=$jscomp.getRestArguments.apply(0,arguments);if(module$contents$goog$memoize_memoi
ze.ENABLE_MEMOIZE){var h=this||
goog.global,k=module$contents$goog$memoize_MODULE_LOCAL_CACHE.get(h);
k||(k={},module$contents$goog$memoize_MODULE_LOCAL_CACHE.set(h,k));return
goog.reflect.cache(k,[this].concat($jscomp.arrayFromIterable(g)),e,d)}return
a.apply(this,g)};return
f}goog.memoize=module$contents$goog$memoize_memoize;module$contents$goog$memoize_me
moize.ENABLE_MEMOIZE=!0;var
module$contents$goog$memoize_simpleSerializer=function(a,b){a=[a];for(var
c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\
v")};goog.History=function(a,b,c,d){goog.events.EventTarget.call(this);if(a&&!
b)throw Error("Can't use invisible history without providing a blank
page.");if(c)var e=c;else{e="history_state"+goog.History.historyCount_;var
f=module$contents$goog$html$SafeHtml_SafeHtml.create("input",
{type:goog.dom.InputType.TEXT,name:e,id:e,style:goog.string.Const.from("display:non
e")});goog.dom.safe.documentWrite(document,f);e=goog.dom.getElement(e)}this.hiddenI
nput_=e;this.window_=c?goog.dom.getWindow(goog.dom.getOwnerDocument(c)):
window;this.iframeSrc_=b;this.timer_=new
goog.Timer(goog.History.PollingType.NORMAL);this.registerDisposable(this.timer_);th
is.userVisible_=!a;this.eventHandler_=new goog.events.EventHandler(this);a&&(d?a=d:
(a="history_iframe"+goog.History.historyCount_,b=module$contents$goog$html$SafeHtml
_SafeHtml.createIframe(this.iframeSrc_,null,
{id:a,style:goog.string.Const.from("display:none"),sandbox:void
0}),goog.dom.safe.documentWrite(document,b),a=goog.dom.getElement(a)),this.iframe_=
a,this.unsetIframe_=
!0);this.userVisible_?this.setHash_(this.getToken(),!
0):this.setIframeToken_(this.hiddenInput_.value);goog.History.historyCount_+
+};goog.inherits(goog.History,goog.events.EventTarget);goog.History.prototype.enabl
ed_=!1;goog.History.prototype.longerPolling_=!
1;goog.History.prototype.lastToken_=null;goog.History.isOnHashChangeSupported=modul
e$contents$goog$memoize_memoize(function(){return"onhashchange"in
goog.global});goog.History.prototype.lockedToken_=null;
goog.History.prototype.disposeInternal=function()
{goog.History.superClass_.disposeInternal.call(this);this.eventHandler_.dispose();t
his.setEnabled(!1)};
goog.History.prototype.setEnabled=function(a){a!=this.enabled_&&(a?
(goog.userAgent.GECKO&&this.eventHandler_.listen(this.window_,"pageshow",this.onSho
w_),goog.History.isOnHashChangeSupported()&&this.userVisible_?
(this.eventHandler_.listen(this.window_,goog.events.EventType.HASHCHANGE,this.onHas
hChange_),this.enabled_=!0,this.dispatchEvent(new
goog.history.Event(this.getToken(),!1))):
(this.eventHandler_.listen(this.timer_,goog.Timer.TICK,goog.bind(this.check_,this,!
0)),this.enabled_=!0,this.lastToken_=
this.getToken(),this.dispatchEvent(new goog.history.Event(this.getToken(),!
1)),this.timer_.start())):(this.enabled_=!
1,this.eventHandler_.removeAll(),this.timer_.stop()))};goog.History.prototype.onSho
w_=function(a){a.event_.persisted&&(this.setEnabled(!1),this.setEnabled(!
0))};goog.History.prototype.onHashChange_=function(){var
a=this.getLocationFragment_(this.window_);a!=this.lastToken_&&this.update_(a,!0)};
goog.History.prototype.getToken=function(){return null!=this.lockedToken_?
this.lockedToken_:this.userVisible_?
this.getLocationFragment_(this.window_):this.getIframeToken_()||""};goog.History.pr
ototype.setToken=function(a,b){this.setHistoryState_(a,!
1,b)};goog.History.prototype.getLocationFragment_=function(a){a=a.location.href;var
b=a.indexOf("#");return 0>b?"":a.substring(b+1)};
goog.History.prototype.setHistoryState_=function(a,b){this.getToken()!
=a&&(this.userVisible_?(this.setHash_(a,b),this.enabled_&&this.check_(!1)):
(this.setIframeToken_(a,b),this.lockedToken_=this.lastToken_=this.hiddenInput_.valu
e=a,this.dispatchEvent(new goog.history.Event(a,!1))))};
goog.History.prototype.setHash_=function(a,b){var
c=this.window_.location,d=c.href.split("#")
[0],e=goog.string.contains(c.href,"#");if(e||a)d+="#"+a;d!
=c.href&&(a=module$contents$google3$third_party$javascript$safevalues$restricted$re
viewed_urlSafeByReview(d,{justification:"URL taken from location.href."}),b?
goog.dom.safe.replaceLocation(c,a):goog.dom.safe.setLocationHref(c,a))};
goog.History.prototype.setIframeToken_=function(a,b){if(this.unsetIframe_||a!
=this.getIframeToken_()){this.unsetIframe_=!
1;a=goog.string.urlEncode(a);goog.asserts.assertInstanceof(this.iframeSrc_,goog.htm
l.TrustedResourceUrl,"this.iframeSrc_ must be set on calls to
setIframeToken_");a=goog.html.TrustedResourceUrl.unwrap(this.iframeSrc_)+"#"+a;var
c=this.iframe_.contentWindow;c&&(b?
goog.dom.safe.replaceLocation(c.location,a):goog.dom.safe.setLocationHref(c.locatio
n,a))}};
goog.History.prototype.getIframeToken_=function(){var
a=this.iframe_.contentWindow;if(a){try{var
b=goog.string.urlDecode(this.getLocationFragment_(a))}catch(c){return
this.longerPolling_||this.setLongerPolling_(!
0),null}this.longerPolling_&&this.setLongerPolling_(!1);return b||null}return
null};
goog.History.prototype.check_=function(a){if(this.userVisible_){var
b=this.getLocationFragment_(this.window_);b!
=this.lastToken_&&this.update_(b,a)}this.userVisible_||
(b=this.getIframeToken_()||"",null!=this.lockedToken_&&b!=this.lockedToken_)||
(this.lockedToken_=null,b!=this.lastToken_&&this.update_(b,a))};
goog.History.prototype.update_=function(a,b)
{this.lastToken_=this.hiddenInput_.value=a;this.userVisible_?
this.setHash_(a):this.setIframeToken_(a);this.dispatchEvent(new
goog.history.Event(this.getToken(),b))};goog.History.prototype.setLongerPolling_=fu
nction(a){this.longerPolling_!=a&&this.timer_.setInterval(a?
goog.History.PollingType.LONG:goog.History.PollingType.NORMAL);this.longerPolling_=
a};goog.History.historyCount_=0;goog.History.PollingType={NORMAL:150,LONG:1E4};goog
.History.EventType=goog.history.EventType;
goog.History.Event=goog.history.Event;ocean.history={};var
module$contents$ocean$history$History_History=function(a,b){this.history_=new
goog.History;goog.events.listen(this.history_,goog.history.EventType.NAVIGATE,goog.
bind(this.replayEntry_,this));this.viewer_=a;this.fullscreen_=b};module$contents$oc
ean$history$History_History.prototype.replayEntry_=function(a)
{this.replayToken_(a.token)};
module$contents$ocean$history$History_History.prototype.replayToken_=function(a)
{if(!(this.initialReplay_&&""==a||this.ignoreReplay_))if((goog.userAgent.IE||
goog.userAgent.WEBKIT)&&""==a)window.history.go(-2);else if(a){var b={},c=new
goog.Uri.QueryData(a);module$contents$goog$array_forEach(c.getKeys(),function(e)
{var f=c.get(e);f in
module$contents$ocean$history$History_History.BOOLEAN_STRING_MAP_&&(f=module$conten
ts$ocean$history$History_History.BOOLEAN_STRING_MAP_[f]);b[e]=f});a=new
module$exports$ocean$history$HistoryEntry(b);
this.viewer_.setViewportClass(a.getViewportClass());this.fullscreen_.setFullscreen(
a.getFullscreen());var d=a.getQuery();void 0!
==d&&this.viewer_.searchState_.setQuery(a.getQuery())}};module$contents$ocean$histo
ry$History_History.prototype.setEnabled=function(a){this.initialReplay_=!
0;this.history_.setEnabled(a);goog.userAgent.IE&&(a=(new
goog.Uri(window.location)).getFragment(),this.replayToken_(a));this.initialReplay_=
!1};
module$contents$ocean$history$History_History.prototype.update=function(){var a=new
module$exports$ocean$history$HistoryEntry;a.setViewportClass(this.viewer_.getViewpo
rtClass());a.setQuery(this.viewer_.searchState_.getQuery());a.setFullscreen(this.fu
llscreen_.fullscreen_);a=goog.Uri.QueryData.createFromMap(a.getValues()).toString()
;this.ignoreReplay_=!0;this.history_.setToken(a);this.ignoreReplay_=!
1};module$contents$ocean$history$History_History.BOOLEAN_STRING_MAP_={"true":!
0,"false":!1};
ocean.history.History=module$contents$ocean$history$History_History;var
module$exports$ocean$search$SearchSessionSortOrder={SearchSessionSortOrder:
{PAGES:"n",RELEVANCE:"r"}};var
module$exports$ocean$entitypage$EntityPageFooterToolbar={EntityPageFooterToolbar:fu
nction(a,b,c,d,e,f,g){var h=this;g=void 0===g?!
1:g;a&&(this.viewer_=goog.asserts.assertExists(a),this.history_=b);if(this.clipping
Callback_=c)this.inClipSelectionMode_=!1;this.hasTwoPageViewport_=!!
d;this.hasThumbnailViewport_=!!
e;this.flags_=f;this.pageLoadedAsViewModeToggle_=g;this.contentsButton_=module$cont
ents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-page-
toc"));this.contentsText_=module$contents$goog$asserts$dom_assertIsElement(goog.dom
.getElement("entity-page-toc-label"));
this.canRenderToc_=!1;if(this.paginationButtons_=goog.dom.getElement("entity-page-
pagination"))this.pagePreviousButton_=module$contents$goog$asserts$dom_assertIsElem
ent(goog.dom.getElement("entity-page-
prev")),this.pageNextButton_=module$contents$goog$asserts$dom_assertIsElement(goog.
dom.getElement("entity-page-
next")),this.floatingButtonHoverArea_=module$contents$goog$asserts$dom_assertIsElem
ent(goog.dom.getElement("entity-page-floating-
hover"));this.zoomInButton_=module$contents$goog$asserts$dom_assertIsElement(goog.d
om.getElement("entity-page-zoom-in"));
this.zoomOutButton_=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getEl
ement("entity-page-zoom-
out"));this.onePageViewButton_=module$contents$goog$asserts$dom_assertIsElement(goo
g.dom.getElement("entity-page-one-
page"));this.twoPageViewButton_=module$contents$goog$asserts$dom_assertIsElement(go
og.dom.getElement("entity-page-two-
page"));this.thumbnailViewButton_=module$contents$goog$asserts$dom_assertIsElement(
goog.dom.getElement("entity-page-
thumbnail"));this.linkButton_=module$contents$goog$asserts$dom_assertIsElement(goog
.dom.getElement("entity-page-link"));
this.linkMenuContent_=module$contents$goog$asserts$dom_assertIsElement(goog.dom.get
Element("entity-page-link-menu-
content"));this.linkMenuShareInput_=module$contents$goog$asserts$dom_assertIsHtmlIn
putElement(goog.dom.getElement("entity-page-share-
input"));this.linkMenuEmbedInput_=module$contents$goog$asserts$dom_assertIsHtmlInpu
tElement(goog.dom.getElement("entity-page-embed-
input"));this.clipButton_=module$contents$goog$asserts$dom_assertIsElement(goog.dom
.getElement("entity-page-clip"));this.moreActionsButton_=
module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-page-
more"));this.moreActionsMenuContent_=module$contents$goog$asserts$dom_assertIsEleme
nt(goog.dom.getElement("entity-page-more-menu-
content"));this.isMoreActionsMenuOpen_=!
1;this.volumeInfoContainer_=module$contents$goog$asserts$dom_assertIsElement(goog.d
om.getElement("entity-page-volume-info"));if(a=goog.dom.getElement("flow-top-
div"))this.flowTopDiv_=module$contents$goog$asserts$dom_assertIsElement(goog.dom.ge
tElement("flow-top-div")),
this.textViewportZoomStop_=(a=Number((new
goog.Uri(window.location.href)).getParameterValue("zoom")))?
a:2,this.setTextZoomStopClass_(this.textViewportZoomStop_),goog.events.listen(this.
viewer_,ocean.viewport.Viewer.EventType.SEARCHUPDATE,function()
{h.updateTextViewportNavigationUrls_()});this.isFadingFloatingButtonsPaused_=!
0;this.initializeContentsButton_();this.initializePaginationButtons_();this.initial
izeZoomButtons_();this.initializePageViewButtons_();this.initializeLinkButton_();th
is.initializeClipButton_();
this.initializeMoreActionsMenu_();this.maybeAddKeyboardShortcutsDialog_();this.setU
pFirstUserActionListeners_();this.setUpFadingFloatingButtonListeners_();new
module$exports$ocean$entitypage$FocusOutlineHandler.FocusOutlineHandler;ocean.entit
ypage.EntityPageCommunicationUtil.setUpCommunicationWithParent(document,window,this
.createRpcMethodsToRegisterMap_())}};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializeContentsButton_=function(){var a=this;if(this.viewer_){var
b=goog.asserts.assertExists(this.viewer_.volumeInfo_),c=!!
b.tocLines_;b=(b=b.tocPageId_)&&goog.asserts.assertExists(this.viewer_.pageInfoSet_
)&&!!this.viewer_.pageInfoSet_.getPageInfoByPid(b);c||b?(this.canRenderToc_=!
0,this.flowTopDiv_?(c=goog.dom.getElement("jtp"),c=(c=c.value)||"Table des mati\
u00e8res",goog.dom.setTextContent(this.contentsText_,
c)):(c=this.viewer_.getPageInfo(),c=c.getLabel()||"Table des mati\
u00e8res",goog.dom.setTextContent(this.contentsText_,c)),this.listenForSelection(th
is.contentsButton_,function()
{a.launchTocPanel_()}),goog.events.listen(this.viewer_,ocean.viewport.Viewer.EventT
ype.PAGECHANGE,function(){a.handlePageChange_()})):
(goog.dom.setTextContent(this.contentsText_,"Aucun
sommaire"),goog.dom.classlist.addAll(this.contentsButton_,["toolbar-button-
disabled","toc-button-unavailable"]),goog.a11y.aria.setState(this.contentsButton_,
goog.a11y.aria.State.DISABLED,!0))}else
goog.dom.setTextContent(this.contentsText_,"Aucun
sommaire"),goog.dom.classlist.addAll(this.contentsButton_,["toolbar-button-
disabled","toc-button-
unavailable"]),goog.a11y.aria.setState(this.contentsButton_,goog.a11y.aria.State.DI
SABLED,!0)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializePaginationButtons_=function(){var
a=this;this.paginationButtons_&&(this.viewer_&&(this.listenForSelection(this.pagePr
eviousButton_,function(){a.pagePreviousButton_.hasAttribute("href")||
a.viewer_.queueCommand(ocean.viewport.Viewer.Commands.PREVIOUS)}),this.listenForSel
ection(this.pageNextButton_,function(){a.pageNextButton_.hasAttribute("href")||
a.viewer_.queueCommand(ocean.viewport.Viewer.Commands.NEXT)})),
this.pagePreviousButton_.setAttribute("title","Page pr\u00e9c\
u00e9dente"),this.pageNextButton_.setAttribute("title","Page suivante"))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializeZoomButtons_=function(){var
a=this;this.listenForSelection(this.zoomInButton_,function(){a.flowTopDiv_?
a.handleTextViewportZoomIn_():a.viewer_&&a.viewer_.queueCommand(ocean.viewport.View
er.Commands.ZOOM_IN)});this.listenForSelection(this.zoomOutButton_,function()
{a.flowTopDiv_?
a.handleTextViewportZoomOut_():a.viewer_&&a.viewer_.queueCommand(ocean.viewport.Vie
wer.Commands.ZOOM_OUT)});this.flowTopDiv_&&
goog.events.listen(document.body,goog.events.EventType.KEYDOWN,function(b)
{b.keyCode==goog.events.KeyCodes.NUM_PLUS||b.keyCode==goog.events.KeyCodes.EQUALS||
b.keyCode==goog.events.KeyCodes.FF_EQUALS?a.handleTextViewportZoomIn_():
(b.keyCode==goog.events.KeyCodes.NUM_MINUS||b.keyCode==goog.events.KeyCodes.DASH||
b.keyCode==goog.events.KeyCodes.FF_DASH)&&a.handleTextViewportZoomOut_()});this.zoo
mInButton_.setAttribute("title","Zoom
avant");this.zoomOutButton_.setAttribute("title","Zoom arri\u00e8re")};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializePageViewButtons_=function(){var
a=this;this.listenForSelection(this.onePageViewButton_,function()
{a.setViewportClass_(ocean.books.VerticalViewport)});this.onePageViewButton_.setAtt
ribute("title","Vue sur une\u00a0page");this.hasTwoPageViewport_?
(this.listenForSelection(this.twoPageViewButton_,function()
{a.setViewportClass_(ocean.books.TwoPageViewport)}),this.twoPageViewButton_.setAttr
ibute("title",
"Vue sur deux\u00a0pages")):
(goog.dom.classlist.enable(this.twoPageViewButton_,"toolbar-button-disabled",!
0),this.twoPageViewButton_.setAttribute("title","Vue sur deux\u00a0pages
indisponible"),goog.a11y.aria.setState(this.twoPageViewButton_,goog.a11y.aria.State
.DISABLED,!0));this.hasThumbnailViewport_?
(this.listenForSelection(this.thumbnailViewButton_,function()
{a.setViewportClass_(ocean.books.ThumbnailViewport)}),this.thumbnailViewButton_.set
Attribute("title","Vue en vignette")):
(goog.dom.classlist.enable(this.thumbnailViewButton_,
"toolbar-button-disabled",!0),this.thumbnailViewButton_.setAttribute("title","Vue
en vignette
indisponible"),goog.a11y.aria.setState(this.thumbnailViewButton_,goog.a11y.aria.Sta
te.DISABLED,!
0));this.viewer_&&(goog.events.listen(this.viewer_,ocean.viewport.Viewer.EventType.
VIEWPORTMODECHANGE,function()
{a.handleViewportChange_()}),this.handleViewportChange_())};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializeLinkButton_=function(){var a=this,b=(new
ocean.entitypage.CopyToClipboardButton(this.linkMenuShareInput_)).getElement();goog
.dom.getElement("entity-page-share-copy-container").appendChild(b);b=(new
ocean.entitypage.CopyToClipboardButton(this.linkMenuEmbedInput_)).getElement();goog
.dom.getElement("entity-page-embed-copy-container").appendChild(b);var c=new
module$exports$ocean$entitypage$PopupMenu("Lien vers ce r\u00e9sultat",
this.linkMenuContent_,function()
{a.linkButton_.focus()});c.setPinnedCorner(goog.positioning.Corner.BOTTOM_RIGHT);c.
setPosition(new
goog.positioning.AnchoredViewportPosition(this.linkButton_,goog.positioning.Corner.
TOP_RIGHT,!0));c.setVisible(!1);b=this.linkMenuShareInput_.value;var d=new
goog.Uri(b);this.listenForSelection(this.linkButton_,function()
{if(c.isOrWasRecentlyVisible())c.setVisible(!1);else if(c.setVisible(!
0),c.getElement().focus(),a.updateShareUrlWithCurrentState(d),a.linkMenuShareInput_
.value=
d.toString(),a.viewer_){var e=a.viewer_.getPageInfo();e=new
goog.Uri(e.getPageUrl());e.removeParameter("source");e.setParameterValue("output","
embed");a.linkMenuEmbedInput_.value=module$contents$ocean$chrome$LinkToPagePanel_Li
nkToPagePanel.createEmbeddingLink(e.toString())}});this.linkButton_.setAttribute("t
itle","Lien vers ce r\u00e9sultat")};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializeClipButton_=function(){var a=this;if(this.clippingCallback_){var
b=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-
page-selection-
bar")),c=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("enti
ty-page-exit-
selection")),d=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement
("entity-page-toolbar"));this.listenForSelection(this.clipButton_,
function(){a.inClipSelectionMode_=!a.inClipSelectionMode_;a.clippingCallback_(!
0);goog.dom.classlist.enable(b,"menu-hidden",!
1);c.focus();goog.a11y.aria.setState(d,goog.a11y.aria.State.HIDDEN,!
0)});this.listenForSelection(c,function(){a.clippingCallback_(!
1);goog.dom.classlist.enable(b,"menu-hidden",!
0);a.clipButton_.focus();goog.a11y.aria.setState(d,goog.a11y.aria.State.HIDDEN,!
1)});this.clipButton_.setAttribute("title","S\u00e9lectionner un extrait")}else
goog.dom.classlist.enable(this.clipButton_,
"toolbar-button-disabled",!
0),goog.a11y.aria.setState(this.clipButton_,goog.a11y.aria.State.DISABLED,!
0),this.clipButton_.setAttribute("title","S\u00e9lectionner un extrait non
disponible")};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.initializeMoreActionsMenu_=function(){var
a=this;this.maybeInitializeToggleViewportModeLink_();this.maybeInitializeCopyrightL
ink_();this.maybeInitializeKeyboardShortcutsLink_();var b=new
module$exports$ocean$entitypage$PopupMenu("",this.moreActionsMenuContent_,function(
)
{a.moreActionsButton_.focus()});b.setPinnedCorner(goog.positioning.Corner.TOP_RIGHT
);b.setPosition(new
goog.positioning.AnchoredViewportPosition(this.moreActionsButton_,
goog.positioning.Corner.BOTTOM_RIGHT,!
0));goog.dom.classlist.add(b.getElement(),"more-actions-popup");b.setVisible(!
1);this.maybeInitializeFindInStoreButton_(b);var c=goog.dom.getElement("entity-
page-toggle-viewport-mode-
link");c&&this.pageLoadedAsViewModeToggle_&&(b.setVisible(!
0),c.focus());this.listenForSelection(this.moreActionsButton_,function()
{if(b.isOrWasRecentlyVisible())b.setVisible(!1),a.moreActionsButton_.focus();else
if(b.setVisible(!0),b.getElement().focus(),c){var e=new goog.Uri(c.href);
a.updateToggleViewportModeUrlWithCurrentState_(e);module$exports$google3$third_part
y$javascript$safevalues$dom$elements$anchor.setHref(c,module$contents$google3$third
_party$javascript$safevalues$builders$url_builders_sanitizeUrl(e.toString()))}});th
is.moreActionsButton_.setAttribute("title","Menu des autres
actions");goog.events.listen(b,goog.ui.PopupBase.EventType.SHOW,function()
{a.isMoreActionsMenuOpen_=!0;a.isFadingFloatingButtonsPaused_=!
0;a.resetFloatingButtons_()});goog.events.listen(b,goog.ui.PopupBase.EventType.HIDE
,
function(){a.isMoreActionsMenuOpen_=!1;a.isFadingFloatingButtonsPaused_=!
1;a.maybeFadeOutFloatingButtons_()});if(this.flags_.showViewportOnboarding||
this.flags_.showViewportPlainTextOnboarding){var d=Number((new
goog.Uri(window.location.href)).getParameterValue("op"));new
module$exports$ocean$entitypage$ViewportOnboardingFlow.ViewportOnboardingFlow(b,thi
s.viewer_,!!
this.flags_.showViewportPlainTextOnboarding,this.pageLoadedAsViewModeToggle_,d?
d:0)}};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeInitializeFindInStoreButton_=function(a){var
b=this,c=goog.dom.getElement("entity-page-store"),d=goog.dom.getElement("gb-mobile-
buy-
section");if(c&&d&&(d=goog.dom.getElementByTagNameAndClass(goog.dom.TagName.TABLE,"
gb-mobile-buy-table",d))){var e=new
module$exports$ocean$entitypage$PopupMenu("",d,function()
{b.moreActionsButton_.focus()});e.setPinnedCorner(goog.positioning.Corner.TOP_LEFT)
;e.setPosition(new goog.positioning.AnchoredViewportPosition(c,
goog.positioning.Corner.TOP_RIGHT,!0));goog.dom.classlist.add(e.getElement(),"buy-
table-popup");e.setVisible(!1);this.listenForSelection(c,function(){e.setVisible(!
0);e.getElement().focus()},!0);a.getElement().querySelectorAll(".more-actions-menu-
link").forEach(function(f){f!
=c&&goog.events.listen(f,goog.events.EventType.MOUSEENTER,function(){e.setVisible(!
1)})});goog.events.listen(e.getElement(),goog.events.EventType.MOUSELEAVE,function(
){e.setVisible(!1)})}};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeAddKeyboardShortcutsDialog_=function(){var a=goog.dom.getElement("ep-
keyboard-shortcuts");if(a&&this.viewer_){var b=new
module$exports$ocean$entitypage$PopupMenu("",a,function(){},!
0);goog.dom.classlist.add(b.getElement(),"keyboard-shortcuts-
popup");a=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("ep-
keyboard-close"));this.listenForSelection(a,function(){b.setVisible(!
1)});goog.events.listen(this.viewer_,
ocean.viewport.Viewer.EventType.KEYBOARDSHORTCUTSOPENED,function(){b.setVisible(!
0)})}};module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterTool
bar.prototype.maybeInitializeKeyboardShortcutsLink_=function(){var
a=this,b=goog.dom.getElement("entity-page-
keyboard");b&&this.viewer_&&this.listenForSelection(b,function()
{a.viewer_.queueCommand(ocean.viewport.Viewer.Commands.SHOW_KEYBOARD_SHORTCUTS)})};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeInitializeCopyrightLink_=function(){var
a=this,b=goog.dom.getElement("entity-page-copyright-page-id");if(b&&this.viewer_)
{var
c=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("entity-
page-copyright"));b=goog.dom.getTextContent(b);var
d=goog.asserts.assertExists(this.viewer_.pageInfoSet_.getPageInfoByPid(b));this.lis
tenForSelection(c,function(){a.viewer_.setPageInfo(d)})}};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeInitializeToggleViewportModeLink_=function(){var
a=goog.dom.getElement("entity-page-toggle-viewport-mode-link");if(a){var
b=this.flowTopDiv_?!0:!
1;goog.dom.classlist.enable(a,"checked",b);goog.a11y.aria.setState(a,goog.a11y.aria
.State.PRESSED,b);this.listenForSelection(a,function()
{goog.dom.classlist.enable(a,"checked",!
b);goog.a11y.aria.setState(a,goog.a11y.aria.State.PRESSED,!b)})}};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.launchTocPanel_=function(){var a=goog.dom.getElementByClass("scroll-toc-
div"),b=goog.dom.getElementByClass("base-image-toc-div");a||b||(new
module$contents$ocean$books$TocPanel_TocPanel(this.viewer_,this.contentsButton_,thi
s.flags_,!!this.flowTopDiv_)).render(8,this.textViewportZoomStop_)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.handlePageChange_=function(){var
a=this.viewer_.getPageInfo();a=a.getLabel()||"Table des mati\
u00e8res";this.contentsText_&&module$exports$google3$third_party$javascript$safeval
ues$dom$elements$element.setInnerHtml(this.contentsText_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(a))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.handleViewportChange_=function()
{this.viewer_.getViewportClass()==ocean.books.VerticalViewport?
(this.setPageViewButtonsEnabled_(!0),this.setZoomButtonsEnabled_(!
0),this.setPaginationButtonsEnabled_(!0),this.maybeSetTocButtonEnabled_(!
0),this.maybeSetClipButtonEnabled_(!
0),goog.a11y.aria.setState(this.onePageViewButton_,goog.a11y.aria.State.CURRENT,"tr
ue"),goog.a11y.aria.setState(this.twoPageViewButton_,goog.a11y.aria.State.CURRENT,
"false"),goog.a11y.aria.setState(this.thumbnailViewButton_,goog.a11y.aria.State.CUR
RENT,"false")):this.viewer_.getViewportClass()==ocean.books.TwoPageViewport?
(this.setPageViewButtonsEnabled_(!0),this.setZoomButtonsEnabled_(!
0),this.setPaginationButtonsEnabled_(!0),this.maybeSetTocButtonEnabled_(!
0),this.maybeSetClipButtonEnabled_(!
0),goog.a11y.aria.setState(this.onePageViewButton_,goog.a11y.aria.State.CURRENT,"fa
lse"),goog.a11y.aria.setState(this.twoPageViewButton_,goog.a11y.aria.State.CURRENT,
"true"),
goog.a11y.aria.setState(this.thumbnailViewButton_,goog.a11y.aria.State.CURRENT,"fal
se")):this.viewer_.getViewportClass()==ocean.books.ThumbnailViewport?
(this.setPageViewButtonsEnabled_(!0),this.setZoomButtonsEnabled_(!
1),this.setPaginationButtonsEnabled_(!0),this.maybeSetTocButtonEnabled_(!
0),this.maybeSetClipButtonEnabled_(!
1),goog.a11y.aria.setState(this.onePageViewButton_,goog.a11y.aria.State.CURRENT,"fa
lse"),goog.a11y.aria.setState(this.twoPageViewButton_,goog.a11y.aria.State.CURRENT,
"false"),
goog.a11y.aria.setState(this.thumbnailViewButton_,goog.a11y.aria.State.CURRENT,"tru
e")):(this.setPageViewButtonsEnabled_(!1),this.setZoomButtonsEnabled_(!
1),this.setPaginationButtonsEnabled_(!1),this.maybeSetTocButtonEnabled_(!
1),this.maybeSetClipButtonEnabled_(!
1));this.setFloatingButtonsClass_(this.viewer_.getViewportClass())};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setViewportClass_=function(a){this.viewer_&&this.viewer_.getViewportClass()!
=a&&(this.viewer_.setViewportClass(a),!
this.viewer_.searchState_.getQuery()&&this.history_&&this.history_.update())};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setPageViewButtonsEnabled_=function(a)
{goog.dom.classlist.enable(this.onePageViewButton_,"toolbar-button-disabled",!
a);goog.a11y.aria.setState(this.onePageViewButton_,goog.a11y.aria.State.DISABLED,!
a);this.hasTwoPageViewport_&&(goog.dom.classlist.enable(this.twoPageViewButton_,"to
olbar-button-disabled",!
a),goog.a11y.aria.setState(this.twoPageViewButton_,goog.a11y.aria.State.DISABLED,!
a));this.hasThumbnailViewport_&&
(goog.dom.classlist.enable(this.thumbnailViewButton_,"toolbar-button-disabled",!
a),goog.a11y.aria.setState(this.thumbnailViewButton_,goog.a11y.aria.State.DISABLED,
!a))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setZoomButtonsEnabled_=function(a)
{goog.dom.classlist.enable(this.zoomOutButton_,"toolbar-button-disabled",!
a);goog.a11y.aria.setState(this.zoomOutButton_,goog.a11y.aria.State.DISABLED,!
a);goog.dom.classlist.enable(this.zoomInButton_,"toolbar-button-disabled",!
a);goog.a11y.aria.setState(this.zoomInButton_,goog.a11y.aria.State.DISABLED,!a)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setPaginationButtonsEnabled_=function(a)
{goog.dom.classlist.enable(this.pagePreviousButton_,"toolbar-button-disabled",!
a);goog.a11y.aria.setState(this.pagePreviousButton_,goog.a11y.aria.State.DISABLED,!
a);goog.dom.classlist.enable(this.pageNextButton_,"toolbar-button-disabled",!
a);goog.a11y.aria.setState(this.pageNextButton_,goog.a11y.aria.State.DISABLED,!a)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setFloatingButtonsClass_=function(a){this.paginationButtons_&&a!
=ocean.search.SnippetViewport&&!
this.flowTopDiv_&&(goog.dom.classlist.enable(this.paginationButtons_,"one-page-
view",a==ocean.books.VerticalViewport),goog.dom.classlist.enable(this.volumeInfoCon
tainer_,"one-page-
view",a==ocean.books.VerticalViewport),goog.dom.classlist.enable(this.paginationBut
tons_,"two-page-view",a==ocean.books.TwoPageViewport),
goog.dom.classlist.enable(this.volumeInfoContainer_,"two-page-
view",a==ocean.books.TwoPageViewport),goog.dom.classlist.enable(this.paginationButt
ons_,"thumbnail-
view",a==ocean.books.ThumbnailViewport),goog.dom.classlist.enable(this.volumeInfoCo
ntainer_,"thumbnail-view",a==ocean.books.ThumbnailViewport))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeSetTocButtonEnabled_=function(a)
{this.canRenderToc_&&(goog.dom.classlist.enable(this.contentsButton_,"toolbar-
button-disabled",!
a),goog.a11y.aria.setState(this.contentsButton_,goog.a11y.aria.State.DISABLED,!
a))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeSetClipButtonEnabled_=function(a)
{this.clippingCallback_&&(goog.dom.classlist.enable(this.clipButton_,"toolbar-
button-disabled",!
a),goog.a11y.aria.setState(this.clipButton_,goog.a11y.aria.State.DISABLED,!a))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.updateShareUrlWithCurrentState=function(a){if(this.viewer_)
{this.updateUrlWithCurrentPageInfo_(a);this.flowTopDiv_&&a.setParameterValue("bksou
tput","text");var b=this.viewer_.searchState_.getQuery();b?
this.viewer_.getViewportClass()==ocean.search.SnippetViewport?
(a.removeParameter("dq"),a.removeParameter("pg"),a.setParameterValue("bsq",b)):
(a.removeParameter("bsq"),a.setParameterValue("dq",b)):(a.removeParameter("bsq"),
a.removeParameter("dq"))}else(b=(0,module$exports$google3$third_party$javascript$sa
fevalues$index.unwrapHtml)
((0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtml)
((new
goog.Uri(window.location.href)).getFragment())).toString())&&a.setParameterValue("b
sq",b)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.updateToggleViewportModeUrlWithCurrentState_=function(a)
{this.updateUrlWithCurrentPageInfo_(a);this.flowTopDiv_&&(a.removeParameter("zoom")
,a.removeParameter("num"),a.removeParameter("scoring"));a.removeParameter("q");var
b=this.viewer_.searchState_.getQuery();if(b){if(a.setParameterValue("dq",b),!
this.flowTopDiv_)
{b=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("search-
results-summ"));
var c=b.hasAttribute("data-result-num")?b.getAttribute("data-result-
num"):0;a.setParameterValue("num",c);b=b.hasAttribute("data-search-sort")?
b.getAttribute("data-search-
sort"):module$exports$ocean$search$SearchSessionSortOrder.SearchSessionSortOrder.PA
GES;a.setParameterValue("scoring",b)}}else a.removeParameter("dq")};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.updateUrlWithCurrentPageInfo_=function(a){var
b=this.viewer_.getPageInfo();b=new
goog.Uri(b.getPageUrl());a.setParameterValue("pg",b.getParameterValue("pg"))};modul
e$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.prototyp
e.handleTextViewportZoomIn_=function()
{5>this.textViewportZoomStop_&&(this.textViewportZoomStop_+=1,this.setTextZoomStopC
lass_(this.textViewportZoomStop_))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.handleTextViewportZoomOut_=function(){1<this.textViewportZoomStop_&&(--
this.textViewportZoomStop_,this.setTextZoomStopClass_(this.textViewportZoomStop_))}
;
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setTextZoomStopClass_=function(a)
{goog.dom.classlist.enable(this.flowTopDiv_,"zoomstop1",1==a);goog.dom.classlist.en
able(this.flowTopDiv_,"zoomstop2",2==a);goog.dom.classlist.enable(this.flowTopDiv_,
"zoomstop3",3==a);goog.dom.classlist.enable(this.flowTopDiv_,"zoomstop4",4==a);goog
.dom.classlist.enable(this.flowTopDiv_,"zoomstop5",5==a);goog.dom.classlist.enable(
this.zoomOutButton_,"toolbar-button-disabled",
1==a);goog.dom.classlist.enable(this.zoomInButton_,"toolbar-button-
disabled",5==a);this.updateTextViewportNavigationUrls_()};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.updateTextViewportNavigationUrls_=function(){var
a=this.pagePreviousButton_,b=new
goog.Uri(a.href);this.updateTextViewportNavigationUrlHelper_(b);module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,module$contents
$google3$third_party$javascript$safevalues$builders$url_builders_sanitizeUrl(b.toSt
ring()));a=this.pageNextButton_;b=new
goog.Uri(a.href);this.updateTextViewportNavigationUrlHelper_(b);
module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor.setHre
f(a,module$contents$google3$third_party$javascript$safevalues$builders$url_builders
_sanitizeUrl(b.toString()));a=goog.dom.getElement("text-viewport-prev");b=new
goog.Uri(a.href);this.updateTextViewportNavigationUrlHelper_(b);module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,module$contents
$google3$third_party$javascript$safevalues$builders$url_builders_sanitizeUrl(b.toSt
ring()));
a=goog.dom.getElement("text-viewport-next");b=new
goog.Uri(a.href);this.updateTextViewportNavigationUrlHelper_(b);module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,module$contents
$google3$third_party$javascript$safevalues$builders$url_builders_sanitizeUrl(b.toSt
ring()));if(a=goog.dom.getElement("entity-page-copyright"))b=new
goog.Uri(a.href),this.updateTextViewportNavigationUrlHelper_(b),module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(b.toString()));if(a=goog.dom.getElement("search-result-prev"))b=(new
goog.Uri(a.href)).setParameterValue("zoom",this.textViewportZoomStop_),module$expor
ts$google3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,module$c
ontents$google3$third_party$javascript$safevalues$builders$url_builders_sanitizeUrl
(b.toString()));if(a=goog.dom.getElement("search-result-next"))b=(new
goog.Uri(a.href)).setParameterValue("zoom",
this.textViewportZoomStop_),module$exports$google3$third_party$javascript$safevalue
s$dom$elements$anchor.setHref(a,module$contents$google3$third_party$javascript$safe
values$builders$url_builders_sanitizeUrl(b.toString()))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.updateTextViewportNavigationUrlHelper_=function(a)
{a.setParameterValue("zoom",this.textViewportZoomStop_);a.removeParameter("q");var
b=this.viewer_.searchState_.getQuery();b?
a.setParameterValue("dq",b):a.removeParameter("dq").removeParameter("num").removePa
rameter("scoring")};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.listenForSelection=function(a,b,c){c=void 0===c?!
1:c;goog.events.listen(a,goog.events.EventType.CLICK,function()
{b()});goog.events.listen(a,goog.events.EventType.KEYDOWN,function(d){d.keyCode!
=goog.events.KeyCodes.SPACE&&d.keyCode!=goog.events.KeyCodes.ENTER||
b()});c&&goog.events.listen(a,goog.events.EventType.MOUSEOVER,function(){b()})};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setUpFirstUserActionListeners_=function(){var a=this,b=function(c)
{goog.dom.classlist.enable(document.body,"opaque-background",!
0);a.isFadingFloatingButtonsPaused_=!
1;c&&a.maybeFadeOutFloatingButtons_()};this.pageLoadedAsViewModeToggle_?b(!0):
(this.viewer_&&(goog.events.listenOnce(this.viewer_.getViewport(),ocean.viewport.Vi
ewport.EventType.MOVE,function(){b(!
0)}),goog.events.listenOnce(this.viewer_.viewportDiv_,
goog.events.EventType.CLICK,function(){b(!
0)})),goog.events.listenOnce(document.body,goog.events.EventType.CLICK,function()
{b(!
a.flowTopDiv_)}),goog.events.listenOnce(document.body,goog.events.EventType.KEYDOWN
,function(c){c.keyCode!=goog.events.KeyCodes.ESC&&b(!a.flowTopDiv_)}))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.setUpFadingFloatingButtonListeners_=function(){var
a=this;this.viewer_&&(this.flowTopDiv_?
goog.events.listen(window,goog.events.EventType.RESIZE,function()
{a.maybeFadeOutFloatingButtons_()}):
(goog.events.listen(this.viewer_,ocean.viewport.Viewer.EventType.VIEWPORTMODECHANGE
,function()
{a.maybeFadeOutFloatingButtons_()}),goog.events.listen(this.viewer_,ocean.viewport.
Viewer.EventType.RESIZE,function(){a.maybeFadeOutFloatingButtons_()}),
goog.events.listen(this.viewer_,ocean.viewport.Viewer.EventType.ZOOMCHANGE,function
()
{a.maybeFadeOutFloatingButtons_()})),goog.events.listen(this.floatingButtonHoverAre
a_,goog.events.EventType.MOUSEENTER,function(){a.isFadingFloatingButtonsPaused_=!
0;a.resetFloatingButtons_()}),goog.events.listen(this.floatingButtonHoverArea_,goog
.events.EventType.MOUSELEAVE,function(){a.isFadingFloatingButtonsPaused_=!
1;a.maybeFadeOutFloatingButtons_()}),document.body.querySelectorAll(".floating-
button-group").forEach(function(b){goog.events.listen(b,
goog.events.EventType.MOUSEENTER,function(){a.isFadingFloatingButtonsPaused_=!
0;a.resetFloatingButtons_()});goog.events.listen(b,goog.events.EventType.MOUSELEAVE
,function(){a.isFadingFloatingButtonsPaused_=!
1;a.maybeFadeOutFloatingButtons_()});goog.events.listen(b,goog.events.EventType.FOC
USIN,function(){a.isFadingFloatingButtonsPaused_=!
0;a.resetFloatingButtons_()});goog.events.listen(b,goog.events.EventType.FOCUSOUT,f
unction(){a.isFadingFloatingButtonsPaused_=!
1;a.maybeFadeOutFloatingButtons_()})}))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.maybeFadeOutFloatingButtons_=function(){var
a=this;this.isFadingFloatingButtonsPaused_||this.isMoreActionsMenuOpen_||
(this.resetFloatingButtons_(),this.isPageContentObscuredByFloatingButtons_()&&(this
.fadingFloatingButtonsTimerId_=goog.Timer.callOnce(function()
{a.showFloatingButtons_(!
1);goog.dom.classlist.enable(a.floatingButtonHoverArea_,"listen-for-hover",!
0)},3E3)))};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.isPageContentObscuredByFloatingButtons_=function(){if(!this.viewer_||
this.viewer_.getViewportClass()==ocean.search.SnippetViewport)return!1;var
a=this.volumeInfoContainer_.getBoundingClientRect();if(this.flowTopDiv_){var
b=this.flowTopDiv_.getBoundingClientRect();return ocean.style.isPageRtl()?b.right-
54>=a.left:b.left+54<=a.right}b=goog.dom.getElementByClass("scroll-
background");if(!b)return!1;b=goog.dom.getFirstElementChild(b);
if(!b)return!1;b=b.getBoundingClientRect();return ocean.style.isPageRtl()?
b.right>=a.left:b.left<=a.right};module$exports$ocean$entitypage$EntityPageFooterTo
olbar.EntityPageFooterToolbar.prototype.resetFloatingButtons_=function()
{this.showFloatingButtons_(!
0);goog.dom.classlist.enable(this.floatingButtonHoverArea_,"listen-for-hover",!
1);this.fadingFloatingButtonsTimerId_&&goog.Timer.clear(this.fadingFloatingButtonsT
imerId_)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.showFloatingButtons_=function(a)
{goog.dom.classlist.enable(this.volumeInfoContainer_,"floating-button-group-
hidden",!
a);this.paginationButtons_&&goog.dom.classlist.enable(this.paginationButtons_,"floa
ting-button-group-hidden",!a)};
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar.pro
totype.createRpcMethodsToRegisterMap_=function(){var
a=this,b={};b[module$contents$ocean$entitypage$Constants_Constants.FOCUS_SEARCH_RPC
_METHOD]=function(){var
c=goog.dom.getElement("search_form_input");c.focus()};b[module$contents$ocean$entit
ypage$Constants_Constants.UPDATE_SEARCH_RPC_METHOD]=function(c)
{a.viewer_.searchState_.setQuery(c);a.history_&&a.history_.update()};b[module$conte
nts$ocean$entitypage$Constants_Constants.GO_TO_PAGE_RPC_METHOD]=
function(c){c&&a.viewer_.setPageId(c)};return b};var
module$exports$ocean$entitypage$SearchResultSnippet={SearchResultSnippet:function(a
,b){this.result_=a;this.pageInfo_=b}};
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet.prototype.r
enderImageSnippet=function(){if(null==this.result_.getPageUrl())return null;var
a=this.renderSnippetWithHeader_(!1);goog.dom.setFocusableTabIndex(a,!0);var
b=goog.dom.createElement(goog.dom.TagName.IMG);goog.dom.classlist.add(b,"sitb-
img");b.src=this.result_.getPageUrl();goog.dom.appendChild(a,b);return a};
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet.prototype.r
enderTextSnippet=function(){if(!this.result_.snippetText_)return null;var
a=this.renderSnippetWithHeader_(!
0),b=goog.dom.createElement(goog.dom.TagName.DIV);goog.dom.classlist.add(b,"sitb-
snippet-
text");module$exports$google3$third_party$javascript$safevalues$dom$elements$elemen
t.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtml)
(this.result_.snippetText_));goog.dom.appendChild(a,
b);return a};
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet.prototype.r
enderSnippetWithHeader_=function(a){var
b=goog.dom.createElement(goog.dom.TagName.DIV);goog.dom.classlist.add(b,"sitb-
content");var
c=goog.dom.createElement(goog.dom.TagName.H4);goog.dom.classlist.add(c,"sitb-
result-header");var
d=goog.dom.createElement(goog.dom.TagName.DIV),e=this.result_.getPageNumber();e=goo
g.dom.textAssert.assertHtmlFree(e?
module$contents$ocean$msg_getGooglePrintPageNumber(e):"Page");goog.dom.setTextConte
nt(d,
e);goog.a11y.aria.setLabel(c,"R\u00e9sultat de recherche:
"+e);goog.dom.appendChild(c,d);a&&!
this.pageInfo_&&(a=goog.dom.createElement(goog.dom.TagName.SPAN),goog.dom.classlist
.add(a,"sitb-no-preview-
msg"),goog.dom.setTextContent(a,goog.dom.textAssert.assertHtmlFree("Aucun aper\
u00e7u disponible pour cette
page.")),goog.dom.appendChild(c,a));goog.dom.appendChild(b,c);return b};
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet.renderImage
Snippet=function(a){a=new
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet(a,null);ret
urn
a.renderImageSnippet()};module$exports$ocean$entitypage$SearchResultSnippet.SearchR
esultSnippet.renderTextSnippet=function(a,b){a=new
module$exports$ocean$entitypage$SearchResultSnippet.SearchResultSnippet(a,b);return
a.renderTextSnippet()};goog.ui.ContainerRenderer=function(a)
{this.ariaRole_=a};goog.addSingletonGetter(goog.ui.ContainerRenderer);goog.ui.Conta
inerRenderer.getCustomRenderer=function(a,b){a=new a;a.getCssClass=function()
{return b};return a};goog.ui.ContainerRenderer.CSS_CLASS="goog-
container";goog.ui.ContainerRenderer.prototype.getAriaRole=function(){return
this.ariaRole_};goog.ui.ContainerRenderer.prototype.enableTabIndex=function(a,b)
{a&&(a.tabIndex=b?0:-1)};
goog.ui.ContainerRenderer.prototype.createDom=function(a){return
a.getDomHelper().createDom(goog.dom.TagName.DIV,this.getClassNames(a).join("
"))};goog.ui.ContainerRenderer.prototype.getContentElement=function(a){return
a};goog.ui.ContainerRenderer.prototype.canDecorate=function(a)
{return"DIV"==a.tagName};
goog.ui.ContainerRenderer.prototype.decorate=function(a,b){b.id&&a.setId(b.id);var
c=this.getCssClass(),d=!
1,e=goog.dom.classlist.get(b);e&&Array.prototype.forEach.call(e,function(f){f==c?
d=!0:f&&this.setStateFromClassName(a,f,c)},this);d||
goog.dom.classlist.add(b,c);this.decorateChildren(a,this.getContentElement(b));retu
rn b};
goog.ui.ContainerRenderer.prototype.setStateFromClassName=function(a,b,c){b==c+"-
disabled"?a.setEnabled(!1):b==c+"-horizontal"?
a.setOrientation(goog.ui.Container.Orientation.HORIZONTAL):b==c+"-
vertical"&&a.setOrientation(goog.ui.Container.Orientation.VERTICAL)};
goog.ui.ContainerRenderer.prototype.decorateChildren=function(a,b,c){if(b){c=c||
b.firstChild;for(var d;c&&c.parentNode==b;)
{d=c.nextSibling;if(c.nodeType==goog.dom.NodeType.ELEMENT){var
e=this.getDecoratorForChild(c);e&&(e.setElementInternal(c),a.isEnabled()||
e.setEnabled(!1),a.addChild(e),e.decorate(c))}else c.nodeValue&&""!
=goog.string.trim(c.nodeValue)||
b.removeChild(c);c=d}}};goog.ui.ContainerRenderer.prototype.getDecoratorForChild=fu
nction(a){return goog.ui.registry.getDecorator(a)};
goog.ui.ContainerRenderer.prototype.initializeDom=function(a)
{a=a.getElement();goog.asserts.assert(a,"The container DOM element cannot be
null.");goog.style.setUnselectable(a,!0,goog.userAgent.GECKO);var
b=this.getAriaRole();b&&goog.a11y.aria.setRole(a,b)};goog.ui.ContainerRenderer.prot
otype.getKeyEventTarget=function(a){return
a.getElement()};goog.ui.ContainerRenderer.prototype.getCssClass=function(){return
goog.ui.ContainerRenderer.CSS_CLASS};
goog.ui.ContainerRenderer.prototype.getClassNames=function(a){var
b=this.getCssClass(),c=a.orientation_==goog.ui.Container.Orientation.HORIZONTAL;c=[
b,c?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+"-disabled");return
c};goog.ui.ContainerRenderer.prototype.getDefaultOrientation=function(){return
goog.ui.Container.Orientation.VERTICAL};goog.ui.Container=function(a,b,c)
{goog.ui.Component.call(this,c);this.renderer_=b||
goog.ui.ContainerRenderer.getInstance();this.orientation_=a||
this.renderer_.getDefaultOrientation()};goog.inherits(goog.ui.Container,goog.ui.Com
ponent);goog.ui.Container.EventType={AFTER_SHOW:"aftershow",AFTER_HIDE:"afterhide"}
;goog.ui.Container.Orientation={HORIZONTAL:"horizontal",VERTICAL:"vertical"};goog.u
i.Container.prototype.keyEventTarget_=null;goog.ui.Container.prototype.keyHandler_=
null;
goog.ui.Container.prototype.renderer_=null;goog.ui.Container.prototype.orientation_
=null;goog.ui.Container.prototype.visible_=!
0;goog.ui.Container.prototype.enabled_=!0;goog.ui.Container.prototype.focusable_=!
0;goog.ui.Container.prototype.highlightedIndex_=-
1;goog.ui.Container.prototype.openItem_=null;goog.ui.Container.prototype.mouseButto
nPressed_=!1;goog.ui.Container.prototype.allowFocusableChildren_=!
1;goog.ui.Container.prototype.openFollowsHighlight_=!0;
goog.ui.Container.prototype.childElementIdMap_=null;goog.ui.Container.prototype.get
KeyEventTarget=function(){return this.keyEventTarget_||
this.renderer_.getKeyEventTarget(this)};goog.ui.Container.prototype.getKeyHandler=f
unction(){return this.keyHandler_||(this.keyHandler_=new
goog.events.KeyHandler(this.getKeyEventTarget()))};goog.ui.Container.prototype.crea
teDom=function()
{this.setElementInternal(this.renderer_.createDom(this))};goog.ui.Container.prototy
pe.getContentElement=function(){return
this.renderer_.getContentElement(this.getElement())};
goog.ui.Container.prototype.canDecorate=function(a){return
this.renderer_.canDecorate(a)};goog.ui.Container.prototype.decorateInternal=functio
n(a)
{this.setElementInternal(this.renderer_.decorate(this,a));"none"==a.style.display&&
(this.visible_=!1)};
goog.ui.Container.prototype.enterDocument=function()
{goog.ui.Container.superClass_.enterDocument.call(this);this.forEachChild(function(
c){c.isInDocument()&&this.registerChildId_(c)},this);var
a=this.getElement();this.renderer_.initializeDom(this);this.setVisible(this.visible
_,!0);var
b=goog.ui.ComponentUtil.getMouseEventType(this);this.getHandler().listen(this,goog.
ui.Component.EventType.ENTER,this.handleEnterItem).listen(this,goog.ui.Component.Ev
entType.HIGHLIGHT,this.handleHighlightItem).listen(this,
goog.ui.Component.EventType.UNHIGHLIGHT,this.handleUnHighlightItem).listen(this,goo
g.ui.Component.EventType.OPEN,this.handleOpenItem).listen(this,goog.ui.Component.Ev
entType.CLOSE,this.handleCloseItem).listen(a,b.MOUSEDOWN,this.handleMouseDown).list
en(goog.dom.getOwnerDocument(a),
[b.MOUSEUP,b.MOUSECANCEL],this.handleDocumentMouseUp).listen(a,
[b.MOUSEDOWN,b.MOUSEUP,b.MOUSECANCEL,goog.events.EventType.MOUSEOVER,goog.events.Ev
entType.MOUSEOUT,goog.events.EventType.CONTEXTMENU],this.handleChildMouseEvents);
this.pointerEventsEnabled_&&this.getHandler().listen(a,goog.events.EventType.GOTPOI
NTERCAPTURE,this.preventPointerCapture_);this.isFocusable()&&this.enableFocusHandli
ng_(!0)};goog.ui.Container.prototype.preventPointerCapture_=function(a){var
b=a.target;b.releasePointerCapture&&b.releasePointerCapture(a.pointerId)};
goog.ui.Container.prototype.enableFocusHandling_=function(a){var
b=this.getHandler(),c=this.getKeyEventTarget();a?
b.listen(c,goog.events.EventType.FOCUS,this.handleFocus).listen(c,goog.events.Event
Type.BLUR,this.handleBlur).listen(this.getKeyHandler(),goog.events.KeyEvent.EventTy
pe.KEY,this.handleKeyEvent):b.unlisten(c,goog.events.EventType.FOCUS,this.handleFoc
us).unlisten(c,goog.events.EventType.BLUR,this.handleBlur).unlisten(this.getKeyHand
ler(),goog.events.KeyEvent.EventType.KEY,this.handleKeyEvent)};
goog.ui.Container.prototype.exitDocument=function(){this.setHighlightedIndex(-
1);this.openItem_&&this.openItem_.setOpen(!1);this.mouseButtonPressed_=!
1;goog.ui.Container.superClass_.exitDocument.call(this)};goog.ui.Container.prototyp
e.disposeInternal=function()
{goog.ui.Container.superClass_.disposeInternal.call(this);this.keyHandler_&&(this.k
eyHandler_.dispose(),this.keyHandler_=null);this.renderer_=this.openItem_=this.chil
dElementIdMap_=this.keyEventTarget_=null};
goog.ui.Container.prototype.handleEnterItem=function(){return!0};
goog.ui.Container.prototype.handleHighlightItem=function(a){var
b=this.indexOfChild(a.target);if(-1<b&&b!=this.highlightedIndex_){var
c=this.getHighlighted();c&&c.setHighlighted(!
1);this.highlightedIndex_=b;c=this.getHighlighted();this.mouseButtonPressed_&&c.set
Active(!0);this.openFollowsHighlight_&&this.openItem_&&c!
=this.openItem_&&(c.isSupportedState(goog.ui.Component.State.OPENED)?c.setOpen(!
0):this.openItem_.setOpen(!1))}b=this.getElement();goog.asserts.assert(b,"The DOM
element for the container cannot be null.");
null!
=a.target.getElement()&&goog.a11y.aria.setState(b,goog.a11y.aria.State.ACTIVEDESCEN
DANT,a.target.getElement().id)};goog.ui.Container.prototype.handleUnHighlightItem=f
unction(a){a.target==this.getHighlighted()&&(this.highlightedIndex_=-
1);a=this.getElement();goog.asserts.assert(a,"The DOM element for the container
cannot be
null.");goog.a11y.aria.removeState(a,goog.a11y.aria.State.ACTIVEDESCENDANT)};
goog.ui.Container.prototype.handleOpenItem=function(a){(a=a.target)&&a!
=this.openItem_&&a.getParent()==this&&(this.openItem_&&this.openItem_.setOpen(!
1),this.openItem_=a)};goog.ui.Container.prototype.handleCloseItem=function(a)
{a.target==this.openItem_&&(this.openItem_=null);var
b=this.getElement(),c=a.target.getElement();b&&a.target.isHighlighted()&&c&&goog.a1
1y.aria.setActiveDescendant(b,c)};
goog.ui.Container.prototype.handleMouseDown=function(a)
{this.enabled_&&this.setMouseButtonPressed(!0);var
b=this.getKeyEventTarget();b&&goog.dom.isFocusableTabIndex(b)?
b.focus():a.preventDefault()};goog.ui.Container.prototype.handleDocumentMouseUp=fun
ction(){this.setMouseButtonPressed(!1)};
goog.ui.Container.prototype.handleChildMouseEvents=function(a){var
b=goog.ui.ComponentUtil.getMouseEventType(this),c=this.getOwnerControl(a.target);if
(c)switch(a.type){case b.MOUSEDOWN:c.handleMouseDown(a);break;case b.MOUSEUP:case
b.MOUSECANCEL:c.handleMouseUp(a);break;case
goog.events.EventType.MOUSEOVER:c.handleMouseOver(a);break;case
goog.events.EventType.MOUSEOUT:c.handleMouseOut(a);break;case
goog.events.EventType.CONTEXTMENU:c.handleContextMenu(a)}};
goog.ui.Container.prototype.getOwnerControl=function(a)
{if(this.childElementIdMap_)for(var b=this.getElement();a&&a!==b;){var c=a.id;if(c
in this.childElementIdMap_)return this.childElementIdMap_[c];a=a.parentNode}return
null};goog.ui.Container.prototype.handleFocus=function()
{};goog.ui.Container.prototype.handleBlur=function(){this.setHighlightedIndex(-
1);this.setMouseButtonPressed(!1);this.openItem_&&this.openItem_.setOpen(!1)};
goog.ui.Container.prototype.handleKeyEvent=function(a){return
this.isEnabled()&&this.isVisible()&&(0!=this.getChildCount()||
this.keyEventTarget_)&&this.handleKeyEventInternal(a)?
(a.preventDefault(),a.stopPropagation(),!0):!1};
goog.ui.Container.prototype.handleKeyEventInternal=function(a){var
b=this.getHighlighted();if(b&&"function"==typeof
b.handleKeyEvent&&b.handleKeyEvent(a)||this.openItem_&&this.openItem_!
=b&&"function"==typeof
this.openItem_.handleKeyEvent&&this.openItem_.handleKeyEvent(a))return!
0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case
goog.events.KeyCodes.ESC:if(this.isFocusable())this.getKeyEventTarget().blur();else
return!1;break;case goog.events.KeyCodes.HOME:this.highlightFirst();
break;case goog.events.KeyCodes.END:this.highlightLast();break;case
goog.events.KeyCodes.UP:if(this.orientation_==goog.ui.Container.Orientation.VERTICA
L)this.highlightPrevious();else return!1;break;case
goog.events.KeyCodes.LEFT:if(this.orientation_==goog.ui.Container.Orientation.HORIZ
ONTAL)this.isRightToLeft()?this.highlightNext():this.highlightPrevious();else
return!1;break;case
goog.events.KeyCodes.DOWN:if(this.orientation_==goog.ui.Container.Orientation.VERTI
CAL)this.highlightNext();else return!1;
break;case
goog.events.KeyCodes.RIGHT:if(this.orientation_==goog.ui.Container.Orientation.HORI
ZONTAL)this.isRightToLeft()?this.highlightPrevious():this.highlightNext();else
return!1;break;default:return!1}return!
0};goog.ui.Container.prototype.registerChildId_=function(a){var
b=a.getElement();b=b.id||(b.id=a.getId());this.childElementIdMap_||
(this.childElementIdMap_={});this.childElementIdMap_[b]=a};
goog.ui.Container.prototype.addChild=function(a,b)
{goog.asserts.assertInstanceof(a,goog.ui.Control,"The child of a container must be
a control");goog.ui.Container.superClass_.addChild.call(this,a,b)};
goog.ui.Container.prototype.addChildAt=function(a,b,c)
{goog.asserts.assertInstanceof(a,goog.ui.Control);a.setDispatchTransitionEvents(goo
g.ui.Component.State.HOVER,!
0);a.setDispatchTransitionEvents(goog.ui.Component.State.OPENED,!0);!
this.isFocusable()&&this.allowFocusableChildren_||
a.setSupportedState(goog.ui.Component.State.FOCUSED,!1);a.setHandleMouseEvents(!
1);var d=a.getParent()==this?this.indexOfChild(a):-
1;goog.ui.Container.superClass_.addChildAt.call(this,a,b,c);a.isInDocument()&&this.
isInDocument()&&
this.registerChildId_(a);this.updateHighlightedIndex_(d,b)};goog.ui.Container.proto
type.updateHighlightedIndex_=function(a,b){-
1==a&&(a=this.getChildCount());a==this.highlightedIndex_?
this.highlightedIndex_=Math.min(this.getChildCount()-
1,b):a>this.highlightedIndex_&&b<=this.highlightedIndex_?this.highlightedIndex_+
+:a<this.highlightedIndex_&&b>this.highlightedIndex_&&this.highlightedIndex_--};
goog.ui.Container.prototype.removeChild=function(a,b){a="string"===typeof a?
this.getChild(a):a;goog.asserts.assertInstanceof(a,goog.ui.Control);if(a){var
c=this.indexOfChild(a);-1!=c&&(c==this.highlightedIndex_?(a.setHighlighted(!
1),this.highlightedIndex_=-1):c<this.highlightedIndex_&&this.highlightedIndex_--);
(c=a.getElement())&&c.id&&this.childElementIdMap_&&module$contents$goog$object_remo
ve(this.childElementIdMap_,c.id)}a=goog.ui.Container.superClass_.removeChild.call(t
his,a,b);a.setHandleMouseEvents(!0);
return a};goog.ui.Container.prototype.setOrientation=function(a)
{if(this.getElement())throw
Error(goog.ui.Component.Error.ALREADY_RENDERED);this.orientation_=a};goog.ui.Contai
ner.prototype.isVisible=function(){return this.visible_};
goog.ui.Container.prototype.setVisible=function(a,b){if(b||this.visible_!
=a&&this.dispatchEvent(a?
goog.ui.Component.EventType.SHOW:goog.ui.Component.EventType.HIDE))
{this.visible_=a;var
c=this.getElement();c&&(goog.style.setElementShown(c,a),this.isFocusable()&&this.re
nderer_.enableTabIndex(this.getKeyEventTarget(),this.enabled_&&this.visible_),b||
this.dispatchEvent(this.visible_?
goog.ui.Container.EventType.AFTER_SHOW:goog.ui.Container.EventType.AFTER_HIDE));ret
urn!0}return!1};
goog.ui.Container.prototype.isEnabled=function(){return this.enabled_};
goog.ui.Container.prototype.setEnabled=function(a){this.enabled_!
=a&&this.dispatchEvent(a?
goog.ui.Component.EventType.ENABLE:goog.ui.Component.EventType.DISABLE)&&(a?
(this.enabled_=!0,this.forEachChild(function(b){b.wasDisabled?delete
b.wasDisabled:b.setEnabled(!0)})):(this.forEachChild(function(b){b.isEnabled()?
b.setEnabled(!1):b.wasDisabled=!0}),this.enabled_=!1,this.setMouseButtonPressed(!
1)),this.isFocusable()&&this.renderer_.enableTabIndex(this.getKeyEventTarget(),a&&t
his.visible_))};
goog.ui.Container.prototype.isFocusable=function(){return
this.focusable_};goog.ui.Container.prototype.setFocusable=function(a){a!
=this.focusable_&&this.isInDocument()&&this.enableFocusHandling_(a);this.focusable_
=a;this.enabled_&&this.visible_&&this.renderer_.enableTabIndex(this.getKeyEventTarg
et(),a)};goog.ui.Container.prototype.setHighlightedIndex=function(a)
{(a=this.getChildAt(a))?a.setHighlighted(!0):-
1<this.highlightedIndex_&&this.getHighlighted().setHighlighted(!1)};
goog.ui.Container.prototype.setHighlighted=function(a)
{this.setHighlightedIndex(this.indexOfChild(a))};goog.ui.Container.prototype.getHig
hlighted=function(){return
this.getChildAt(this.highlightedIndex_)};goog.ui.Container.prototype.highlightFirst
=function(){this.highlightHelper(function(a,b){return(a+1)%b},this.getChildCount()-
1)};goog.ui.Container.prototype.highlightLast=function()
{this.highlightHelper(function(a,b){a--;return 0>a?b-1:a},0)};
goog.ui.Container.prototype.highlightNext=function()
{this.highlightHelper(function(a,b)
{return(a+1)%b},this.highlightedIndex_)};goog.ui.Container.prototype.highlightPrevi
ous=function(){this.highlightHelper(function(a,b){a--;return 0>a?b-
1:a},this.highlightedIndex_)};
goog.ui.Container.prototype.highlightHelper=function(a,b){b=0>b?
this.indexOfChild(this.openItem_):b;var
c=this.getChildCount();b=a.call(this,b,c);for(var d=0;d<=c;){var
e=this.getChildAt(b);if(e&&this.canHighlightItem(e))return
this.setHighlightedIndexFromKeyEvent(b),!0;d++;b=a.call(this,b,c)}return!
1};goog.ui.Container.prototype.canHighlightItem=function(a){return
a.isVisible()&&a.isEnabled()&&a.isSupportedState(goog.ui.Component.State.HOVER)};
goog.ui.Container.prototype.setHighlightedIndexFromKeyEvent=function(a)
{this.setHighlightedIndex(a)};goog.ui.Container.prototype.setMouseButtonPressed=fun
ction(a){this.mouseButtonPressed_=a};var
module$exports$ocean$mobilebooks$MobileGetBookMenu=function(a)
{goog.ui.Component.call(this);this.backgroundDiv_=a?a:null;var
b=this.getDomHelper();a=b.getElement("gb-mobile-buy-panel");var c=b.getElement("gb-
mobile-buy-button"),d=b.getElement("gb-mobile-buy-close-
button");b=b.getElement("volume-left");a&&c&&d&&b&&(this.buyPanel_=new
goog.ui.Container,this.buyPanel_.decorate(a),this.buyButton_=goog.asserts.assert(c)
,this.buyPanelCloseButton_=goog.asserts.assert(d),this.decorate(goog.asserts.assert
(b)),
this.buyPanel_.setVisible(!1))};
$jscomp.inherits(module$exports$ocean$mobilebooks$MobileGetBookMenu,goog.ui.Compone
nt);
module$exports$ocean$mobilebooks$MobileGetBookMenu.prototype.enterDocument=function
(){var
a=this;this.getHandler().listen(this.buyButton_,goog.events.EventType.CLICK,this.to
ggleBuyPanel_).listen(this.buyButton_,goog.events.EventType.KEYDOWN,function(b)
{b.keyCode!=goog.events.KeyCodes.SPACE&&b.keyCode!=goog.events.KeyCodes.ENTER||
a.toggleBuyPanel_()}).listen(this.buyPanelCloseButton_,goog.events.EventType.CLICK,
this.toggleBuyPanel_).listen(this.buyPanelCloseButton_,goog.events.EventType.KEYDOW
N,function(b){b.keyCode!=
goog.events.KeyCodes.SPACE&&b.keyCode!=goog.events.KeyCodes.ENTER||
a.toggleBuyPanel_()})};
module$exports$ocean$mobilebooks$MobileGetBookMenu.prototype.toggleBuyPanel_=functi
on(){this.buyPanel_.isVisible()?(this.buyPanel_.setVisible(!
1),goog.dom.classlist.remove(this.buyPanel_.getContentElement(),"gb-mobile-buy-
panel-
visible"),this.backgroundDiv_&&(this.backgroundDiv_.style.overflowX="auto",this.bac
kgroundDiv_.style.overflowY="scroll"),this.buyButton_.focus(),this.releaseFocusFrom
Menu_()):(this.buyPanel_.setVisible(!
0),goog.dom.classlist.add(this.buyPanel_.getContentElement(),"gb-mobile-buy-panel-
visible"),
this.backgroundDiv_&&(this.backgroundDiv_.style.overflowX="hidden",this.backgroundD
iv_.style.overflowY="hidden"),this.buyPanel_.getContentElement().focus(),this.trapF
ocusInMenu_())};
module$exports$ocean$mobilebooks$MobileGetBookMenu.prototype.trapFocusInMenu_=funct
ion(){var a=this.buyPanel_.getContentElement().querySelectorAll('[role="button"],
[href]'),b=a[0],c=a[a.length-
1];this.getHandler().listen(this.buyPanel_.getContentElement(),goog.events.EventTyp
e.KEYDOWN,function(e){e.keyCode==goog.events.KeyCodes.TAB&&(e.shiftKey?
document.activeElement===b&&(e.preventDefault(),c.focus()):document.activeElement==
=c&&(e.preventDefault(),b.focus()))});a=document.querySelectorAll('[role="alert"],#
volume-center,.aria-hide-on-menu-open');
var d;a=$jscomp.makeIterator(a);for(d=a.next();!
d.done;d=a.next())d=d.value,goog.a11y.aria.setState(d,goog.a11y.aria.State.HIDDEN,!
0)};module$exports$ocean$mobilebooks$MobileGetBookMenu.prototype.releaseFocusFromMe
nu_=function(){var a=document.querySelectorAll('[role="alert"],#volume-
center,.aria-hide-on-menu-open'),b;a=$jscomp.makeIterator(a);for(b=a.next();!
b.done;b=a.next())b=b.value,goog.a11y.aria.removeState(b,goog.a11y.aria.State.HIDDE
N)};var uf={screenshots:
{}},module$contents$uf$screenshots$ImageData_ImageData=function(a)
{this.contentType=a};uf.screenshots.ImageData=module$contents$uf$screenshots$ImageD
ata_ImageData;jspb$.uservoice$common$flags$MutableAlohaFlags=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.uservoice$common$flags$MutableAlohaFlags,module$contents$jsp
b_internal_public_for_gencode_GeneratedMessage);jspb$.uservoice$common$flags$Mutabl
eAlohaFlags.prototype.getEnableSsEngine=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,2)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.setEnableSsEngine=function
(a){return
jspb_internal_adapters.setProto3BooleanField(this,2,a)};jspb$.uservoice$common$flag
s$MutableAlohaFlags.prototype.getEnableAwr=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,3)};jspb$.uservoice$common$f
lags$MutableAlohaFlags.prototype.setEnableHelpSuggestions=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,4,a)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getAlohaAutoGaRollout=func
tion(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,5)};jspb$.uservoice$common$f
lags$MutableAlohaFlags.prototype.setAlohaAutoGaRollout=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,5,a)};jspb$.uservoice$common$flag
s$MutableAlohaFlags.prototype.getEnableConfigurator=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,6)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableMweb=function()
{return
jspb_internal_adapters.getBooleanFieldWithDefault(this,7)};jspb$.uservoice$common$f
lags$MutableAlohaFlags.prototype.setEnableMweb=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,7,a)};jspb$.uservoice$common$flag
s$MutableAlohaFlags.prototype.getEnableCtlConsentCheckbox=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,8)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.setEnableCtlConsentCheckbo
x=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,8,a)};jspb$.uservoice$common$flag
s$MutableAlohaFlags.prototype.getEnableIframe=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,9)};jspb$.uservoice$common$f
lags$MutableAlohaFlags.prototype.setEnableIframe=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,9,a)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableScreenshotNudge=f
unction(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,10)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.setEnableScreenshotNudge=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,10,a)};jspb$.uservoice$common$fla
gs$MutableAlohaFlags.prototype.getEnableWebStartupConfigEndpoint=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,11)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableJunkNudge=functio
n(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,12)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.setEnableJunkNudge=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,12,a)};jspb$.uservoice$common$fla
gs$MutableAlohaFlags.prototype.getEnableConfiguratorLocale=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,13)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.setEnableConfiguratorLocal
e=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,13,a)};jspb$.uservoice$common$fla
gs$MutableAlohaFlags.prototype.getEnableTinyNoPointer=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,14)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.setEnableTinyNoPointer=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,14,a)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableSupportSessionLog
ging=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,15)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.setEnableSupportSessionLogging=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,15,a)};jspb$.uservoice$common$fla
gs$MutableAlohaFlags.prototype.getEnableFileUploadForScreenshot=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,16)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableDirectDeflectionF
orSingleCategory=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,17)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.getEnableImageSanitization=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,18)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.getEnableAlohaBinarySplit=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,19)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableDbFeedbackIntents
=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,20)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.setEnableDbFeedbackIntents=function(a){return
jspb_internal_adapters.setProto3BooleanField(this,20,a)};jspb$.uservoice$common$fla
gs$MutableAlohaFlags.prototype.getEnableMarkMandatoryFieldsWithRequired=function()
{return jspb_internal_adapters.getBooleanFieldWithDefault(this,21)};
jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.getEnableFeedbackCategoryC
ustomUi=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,22)};jspb$.uservoice$common$
flags$MutableAlohaFlags.prototype.getEnableRealtimeCtl=function(){return
jspb_internal_adapters.getBooleanFieldWithDefault(this,23)};jspb$.uservoice$common$
flags$MutableAlohaFlags.deserialize=module$contents$jspb_internal_public_for_gencod
e_makeMutableDeserializeFunction(jspb$.uservoice$common$flags$MutableAlohaFlags);
jspb$.uservoice$common$flags$MutableAlohaFlags.hasInstance=module$contents$jspb_int
ernal_public_for_gencode_makeHasMutableInstance(jspb$.uservoice$common$flags$Mutabl
eAlohaFlags);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(j
spb$.uservoice$common$flags$MutableAlohaFlags.internalDoNotUse_debugOnlyProtoTypeNa
me="uservoice.common.flags.AlohaFlags");jspb$.uservoice$common$flags$ReadonlyAlohaF
lags={};jspb$.uservoice$common$flags$MutableAlohaFlags.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.userv
oice$common$flags$MutableAlohaFlags.fromObject=function(a){var b=new
jspb$.uservoice$common$flags$MutableAlohaFlags;jspb_internal_adapters.setProto3Bool
eanFieldIfNotNullish(b,1,a.alohaLaunch);jspb_internal_adapters.setProto3BooleanFiel
dIfNotNullish(b,2,a.enableSsEngine);jspb_internal_adapters.setProto3BooleanFieldIfN
otNullish(b,3,a.enableAwr);jspb_internal_adapters.setProto3BooleanFieldIfNotNullish
(b,4,a.enableHelpSuggestions);
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,5,a.alohaAutoGaRollout);
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,6,a.enableConfigurator);
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,7,a.enableMweb);jspb_int
ernal_adapters.setProto3BooleanFieldIfNotNullish(b,8,a.enableCtlConsentCheckbox);js
pb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,9,a.enableIframe);jspb_int
ernal_adapters.setProto3BooleanFieldIfNotNullish(b,10,a.enableScreenshotNudge);jspb
_internal_adapters.setProto3BooleanFieldIfNotNullish(b,
11,a.enableWebStartupConfigEndpoint);jspb_internal_adapters.setProto3BooleanFieldIf
NotNullish(b,12,a.enableJunkNudge);jspb_internal_adapters.setProto3BooleanFieldIfNo
tNullish(b,13,a.enableConfiguratorLocale);jspb_internal_adapters.setProto3BooleanFi
eldIfNotNullish(b,14,a.enableTinyNoPointer);jspb_internal_adapters.setProto3Boolean
FieldIfNotNullish(b,15,a.enableSupportSessionLogging);jspb_internal_adapters.setPro
to3BooleanFieldIfNotNullish(b,16,a.enableFileUploadForScreenshot);jspb_internal_ada
pters.setProto3BooleanFieldIfNotNullish(b,
17,a.enableDirectDeflectionForSingleCategory);jspb_internal_adapters.setProto3Boole
anFieldIfNotNullish(b,18,a.enableImageSanitization);jspb_internal_adapters.setProto
3BooleanFieldIfNotNullish(b,19,a.enableAlohaBinarySplit);jspb_internal_adapters.set
Proto3BooleanFieldIfNotNullish(b,20,a.enableDbFeedbackIntents);jspb_internal_adapte
rs.setProto3BooleanFieldIfNotNullish(b,21,a.enableMarkMandatoryFieldsWithRequired);
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,22,a.enableFeedbackCateg
oryCustomUi);
jspb_internal_adapters.setProto3BooleanFieldIfNotNullish(b,23,a.enableRealtimeCtl);
return
b});jspb$.uservoice$common$flags$MutableAlohaFlags.prototype.toObject=function()
{return jspb$.uservoice$common$flags$MutableAlohaFlags.internal_toObject(this)};
jspb$.uservoice$common$flags$MutableAlohaFlags.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={alohaLaunch:js
pb_internal_adapters.getBooleanFieldWithDefault(a,1),enableSsEngine:jspb_internal_a
dapters.getBooleanFieldWithDefault(a,2),enableAwr:jspb_internal_adapters.getBoolean
FieldWithDefault(a,3),enableHelpSuggestions:jspb_internal_adapters.getBooleanFieldW
ithDefault(a,4),alohaAutoGaRollout:jspb_internal_adapters.getBooleanFieldWithDefaul
t(a,
5),enableConfigurator:jspb_internal_adapters.getBooleanFieldWithDefault(a,6),enable
Mweb:jspb_internal_adapters.getBooleanFieldWithDefault(a,7),enableCtlConsentCheckbo
x:jspb_internal_adapters.getBooleanFieldWithDefault(a,8),enableIframe:jspb_internal
_adapters.getBooleanFieldWithDefault(a,9),enableScreenshotNudge:jspb_internal_adapt
ers.getBooleanFieldWithDefault(a,10),enableWebStartupConfigEndpoint:jspb_internal_a
dapters.getBooleanFieldWithDefault(a,11),enableJunkNudge:jspb_internal_adapters.get
BooleanFieldWithDefault(a,
12),enableConfiguratorLocale:jspb_internal_adapters.getBooleanFieldWithDefault(a,13
),enableTinyNoPointer:jspb_internal_adapters.getBooleanFieldWithDefault(a,14),enabl
eSupportSessionLogging:jspb_internal_adapters.getBooleanFieldWithDefault(a,15),enab
leFileUploadForScreenshot:jspb_internal_adapters.getBooleanFieldWithDefault(a,16),e
nableDirectDeflectionForSingleCategory:jspb_internal_adapters.getBooleanFieldWithDe
fault(a,17),enableImageSanitization:jspb_internal_adapters.getBooleanFieldWithDefau
lt(a,
18),enableAlohaBinarySplit:jspb_internal_adapters.getBooleanFieldWithDefault(a,19),
enableDbFeedbackIntents:jspb_internal_adapters.getBooleanFieldWithDefault(a,20),ena
bleMarkMandatoryFieldsWithRequired:jspb_internal_adapters.getBooleanFieldWithDefaul
t(a,21),enableFeedbackCategoryCustomUi:jspb_internal_adapters.getBooleanFieldWithDe
fault(a,22),enableRealtimeCtl:jspb_internal_adapters.getBooleanFieldWithDefault(a,2
3)}};
jspb$.uservoice$common$flags$MutableAlohaFlags.internalDoNotUse$uservoice$common$fl
ags$AlohaFlags$binaryFieldsObject=[0,jspb_internal_binary.RBoolIgnoringDefaultWBool
,-
22];jspb$.uservoice$common$flags$MutableAlohaFlags.deserializeBinary=module$content
s$jspb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.uservoice$co
mmon$flags$MutableAlohaFlags,jspb$.uservoice$common$flags$MutableAlohaFlags.interna
lDoNotUse$uservoice$common$flags$AlohaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFlags.deserializeBinaryFromReader=module$c
ontents$jspb_internal_public_for_gencode_makeDeserializeBinaryFromReaderFunction(js
pb$.uservoice$common$flags$MutableAlohaFlags.internalDoNotUse$uservoice$common$flag
s$AlohaFlags$binaryFieldsObject);jspb$.uservoice$common$flags$MutableAlohaFlags.pro
totype.serializeBinary=module$contents$jspb_internal_public_for_gencode_makePrototy
peSerializeBinaryFunction(jspb$.uservoice$common$flags$MutableAlohaFlags.internalDo
NotUse$uservoice$common$flags$AlohaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFlags.serializeBinary=module$contents$jspb
_internal_public_for_gencode_makeSerializeBinaryFunction(jspb$.uservoice$common$fla
gs$MutableAlohaFlags.internalDoNotUse$uservoice$common$flags$AlohaFlags$binaryField
sObject);jspb$.uservoice$common$flags$MutableAlohaFlags.serializeBinaryToByteString
=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFu
nction(jspb$.uservoice$common$flags$MutableAlohaFlags.internalDoNotUse$uservoice$co
mmon$flags$AlohaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFlags.makeCrossSerializerComparisonsCompat
ible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerComparison
sCompatibleFunction(jspb$.uservoice$common$flags$MutableAlohaFlags,jspb$.uservoice$
common$flags$MutableAlohaFlags.internalDoNotUse$uservoice$common$flags$AlohaFlags$b
inaryFieldsObject);jspb$.uservoice$common$flags$ImmutableAlohaFlags=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.uservoice$common$flags$ImmutableAlohaFlags,module$exports$js
pb$immutable_message.ImmutableMessage);jspb$.uservoice$common$flags$ImmutableAlohaF
lags.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutableDese
rializeFunction(jspb$.uservoice$common$flags$MutableAlohaFlags);
jspb$.uservoice$common$flags$ImmutableAlohaFlags.getDefaultInstance=module$contents
$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.uservoice$co
mmon$flags$MutableAlohaFlags);jspb$.uservoice$common$flags$ImmutableAlohaFlags.seri
alizeBinary=jspb$.uservoice$common$flags$MutableAlohaFlags.serializeBinary;jspb$.us
ervoice$common$flags$ImmutableAlohaFlags.serializeBinaryToByteString=jspb$.uservoic
e$common$flags$MutableAlohaFlags.serializeBinaryToByteString;
jspb$.uservoice$common$flags$ImmutableAlohaFlags.deserializeBinary=module$contents$
jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.userv
oice$common$flags$MutableAlohaFlags.deserializeBinary);jspb$.uservoice$common$flags
$ImmutableAlohaFlags.makeCrossSerializerComparisonsCompatible=jspb$.uservoice$commo
n$flags$MutableAlohaFlags.makeCrossSerializerComparisonsCompatible;jspb$.uservoice$
common$flags$ImmutableAlohaFlags.hasInstance=module$contents$jspb_internal_public_f
or_gencode_makeHasImmutableInstance(jspb$.uservoice$common$flags$MutableAlohaFlags)
;proto.uservoice={};proto.uservoice.common={};proto.uservoice.common.flags={};proto
.uservoice.common.flags.ReadonlyAlohaFlags={};proto.uservoice.common.flags.AlohaFla
gs=jspb$.uservoice$common$flags$MutableAlohaFlags;proto.uservoice.common.flags.Muta
bleAlohaFlags=jspb$.uservoice$common$flags$MutableAlohaFlags;proto.uservoice.common
.flags.ImmutableAlohaFlags=jspb$.uservoice$common$flags$ImmutableAlohaFlags;jspb$.u
servoice$common$flags$MutableAlohaFormPropertiesResponse=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse,mo
dule$contents$jspb_internal_public_for_gencode_GeneratedMessage);
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.prototype.getAlohaF
lags=function(){return
jspb_internal_adapters.getWrapperFieldOrUndefined(this,jspb$.uservoice$common$flags
$MutableAlohaFlags,1)};jspb$.uservoice$common$flags$MutableAlohaFormPropertiesRespo
nse.prototype.setAlohaFlags=function(a){return
jspb_internal_adapters.setWrapperField(this,jspb$.uservoice$common$flags$MutableAlo
haFlags,1,a)};jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.deser
ialize=module$contents$jspb_internal_public_for_gencode_makeMutableDeserializeFunct
ion(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse);
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.hasInstance=module$
contents$jspb_internal_public_for_gencode_makeHasMutableInstance(jspb$.uservoice$co
mmon$flags$MutableAlohaFormPropertiesResponse);module$exports$jspb$internal_options
.GENERATE_TYPE_NAME_PROPERTIES&&(jspb$.uservoice$common$flags$MutableAlohaFormPrope
rtiesResponse.internalDoNotUse_debugOnlyProtoTypeName="uservoice.common.flags.Aloha
FormPropertiesResponse");
jspb$.uservoice$common$flags$ReadonlyAlohaFormPropertiesResponse={};jspb$.uservoice
$common$flags$MutableAlohaFormPropertiesResponse.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.userv
oice$common$flags$MutableAlohaFormPropertiesResponse.fromObject=function(a){var
b=new
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse,c=jspb_internal_ada
pters,d=c.setWrapperFieldIfNotNullish,e=jspb$.uservoice$common$flags$MutableAlohaFl
ags;a=a.alohaFlags;a=null==a?a:
(0,jspb$.uservoice$common$flags$MutableAlohaFlags.fromObject)
(a);d.call(c,b,e,1,a);return b});
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.prototype.toObject=
function(){return
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.internal_toObject(t
his)};jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.internal_toOb
ject=function(a){if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={alohaFlags:jsp
b$.uservoice$common$flags$MutableAlohaFlags.internal_toObject(a.getAlohaFlags())}};
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.internalDoNotUse$us
ervoice$common$flags$AlohaFormPropertiesResponse$binaryFieldsObject=[0,jspb$.uservo
ice$common$flags$MutableAlohaFlags.internalDoNotUse$uservoice$common$flags$AlohaFla
gs$binaryFieldsObject];jspb$.uservoice$common$flags$MutableAlohaFormPropertiesRespo
nse.deserializeBinary=module$contents$jspb_internal_public_for_gencode_makeDeserial
izeBinaryFunction(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse,j
spb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.internalDoNotUse$use
rvoice$common$flags$AlohaFormPropertiesResponse$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.deserializeBinaryFr
omReader=module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryFrom
ReaderFunction(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.inte
rnalDoNotUse$uservoice$common$flags$AlohaFormPropertiesResponse$binaryFieldsObject)
;jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.prototype.serializ
eBinary=module$contents$jspb_internal_public_for_gencode_makePrototypeSerializeBina
ryFunction(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.internal
DoNotUse$uservoice$common$flags$AlohaFormPropertiesResponse$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.serializeBinary=mod
ule$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction(jspb$.use
rvoice$common$flags$MutableAlohaFormPropertiesResponse.internalDoNotUse$uservoice$c
ommon$flags$AlohaFormPropertiesResponse$binaryFieldsObject);jspb$.uservoice$common$
flags$MutableAlohaFormPropertiesResponse.serializeBinaryToByteString=module$content
s$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction(jspb$.us
ervoice$common$flags$MutableAlohaFormPropertiesResponse.internalDoNotUse$uservoice$
common$flags$AlohaFormPropertiesResponse$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.makeCrossSerializer
ComparisonsCompatible=module$contents$jspb_internal_public_for_gencode_makeCrossSer
ializerComparisonsCompatibleFunction(jspb$.uservoice$common$flags$MutableAlohaFormP
ropertiesResponse,jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.i
nternalDoNotUse$uservoice$common$flags$AlohaFormPropertiesResponse$binaryFieldsObje
ct);jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse,
module$exports$jspb$immutable_message.ImmutableMessage);jspb$.uservoice$common$flag
s$ImmutableAlohaFormPropertiesResponse.deserialize=module$contents$jspb_internal_pu
blic_for_gencode_makeImmutableDeserializeFunction(jspb$.uservoice$common$flags$Muta
bleAlohaFormPropertiesResponse);
jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse.getDefaultInstanc
e=module$contents$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(j
spb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse);jspb$.uservoice$com
mon$flags$ImmutableAlohaFormPropertiesResponse.serializeBinary=jspb$.uservoice$comm
on$flags$MutableAlohaFormPropertiesResponse.serializeBinary;jspb$.uservoice$common$
flags$ImmutableAlohaFormPropertiesResponse.serializeBinaryToByteString=jspb$.uservo
ice$common$flags$MutableAlohaFormPropertiesResponse.serializeBinaryToByteString;
jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse.deserializeBinary
=module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFun
ction(jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse.deserializeBi
nary);jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse.makeCrossSe
rializerComparisonsCompatible=jspb$.uservoice$common$flags$MutableAlohaFormProperti
esResponse.makeCrossSerializerComparisonsCompatible;
jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesResponse.hasInstance=modul
e$contents$jspb_internal_public_for_gencode_makeHasImmutableInstance(jspb$.uservoic
e$common$flags$MutableAlohaFormPropertiesResponse);proto.uservoice.common.flags.Rea
donlyAlohaFormPropertiesResponse={};proto.uservoice.common.flags.AlohaFormPropertie
sResponse=jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse;proto.use
rvoice.common.flags.MutableAlohaFormPropertiesResponse=jspb$.uservoice$common$flags
$MutableAlohaFormPropertiesResponse;proto.uservoice.common.flags.ImmutableAlohaForm
PropertiesResponse=jspb$.uservoice$common$flags$ImmutableAlohaFormPropertiesRespons
e;var
module$exports$google3$uservoice$feedback$client$web$shared$constants={},module$con
tents$google3$uservoice$feedback$client$web$shared$constants_enumFeedbackIntent=jsp
b$.engage$enums$uservoice$feedback$UserVoiceFeedbackConfigEnums$FeedbackIntent;modu
le$exports$google3$uservoice$feedback$client$web$shared$constants.DEFAULT_MIN_CHAR_
COUNT_FOR_DESCRIPTION=1;module$exports$google3$uservoice$feedback$client$web$shared
$constants.DEFAULT_FORM_LANGUAGE="en";
module$exports$google3$uservoice$feedback$client$web$shared$constants.DEFAULT_FORM_
CONTENT={locale:module$exports$google3$uservoice$feedback$client$web$shared$constan
ts.DEFAULT_FORM_LANGUAGE};module$exports$google3$uservoice$feedback$client$web$shar
ed$constants.FEEDBACK_INTENT_ISSUE="FEEDBACK_INTENT_ISSUE";module$exports$google3$u
servoice$feedback$client$web$shared$constants.FEEDBACK_INTENT_SUGGESTION="FEEDBACK_
INTENT_SUGGESTION";
module$exports$google3$uservoice$feedback$client$web$shared$constants.FEEDBACK_INTE
NT_GENERIC="FEEDBACK_INTENT_GENERIC";module$exports$google3$uservoice$feedback$clie
nt$web$shared$constants.FEEDBACK_INTENT_UNKNOWN="FEEDBACK_INTENT_UNKNOWN";module$ex
ports$google3$uservoice$feedback$client$web$shared$constants.TOOLTIP_SEEN_STORAGE_K
EY="feedback-fre-tooltip-seen-storage-
key";module$exports$google3$uservoice$feedback$client$web$shared$constants.MULTISTE
P_TOOLTIP_SEEN_STORAGE_KEY="feedback-fre-multistep-seen-storage-key";
module$exports$google3$uservoice$feedback$client$web$shared$constants.MULTISTEP_TOO
LTIP_SEEN_MAX_COUNT=3;module$exports$google3$uservoice$feedback$client$web$shared$c
onstants.ALOHA_FEEDBACK_ENABLE_SSENGINE="aloha_feedback_enable_ssengine";module$exp
orts$google3$uservoice$feedback$client$web$shared$constants.ALOHA_FEEDBACK_ENABLE_A
WR="aloha_feedback_enable_awr";module$exports$google3$uservoice$feedback$client$web
$shared$constants.ALOHA_FEEDBACK_ENABLE_HELP_SUGGESTIONS="aloha_feedback_enable_hel
p_suggestions";
function
module$contents$google3$uservoice$feedback$client$web$shared$constants_defaultAloha
FormProperties(){return(new
jspb$.uservoice$common$flags$MutableAlohaFormPropertiesResponse).setAlohaFlags((new
jspb$.uservoice$common$flags$MutableAlohaFlags).setAlohaAutoGaRollout(!
0).setEnableSsEngine(!0).setEnableHelpSuggestions(!1).setEnableCtlConsentCheckbox(!
0).setEnableIframe(!0).setEnableMweb(!0).setEnableScreenshotNudge(!
0).setEnableJunkNudge(!0).setEnableConfiguratorLocale(!1).setEnableTinyNoPointer(!
0).setEnableSupportSessionLogging(!0).setEnableDbFeedbackIntents(!1))}
module$exports$google3$uservoice$feedback$client$web$shared$constants.defaultAlohaF
ormProperties=module$contents$google3$uservoice$feedback$client$web$shared$constant
s_defaultAlohaFormProperties;module$exports$google3$uservoice$feedback$client$web$s
hared$constants.GOOGLER_EMAIL_SUFFIX="@google.com";module$exports$google3$uservoice
$feedback$client$web$shared$constants.MY_FEEDBACK_GO_LINK="go/
myfeedback";module$exports$google3$uservoice$feedback$client$web$shared$constants.Z
_INDEX_FOR_OVERLAYS=1E7;
module$exports$google3$uservoice$feedback$client$web$shared$constants.FEEDBACK_MANA
GER_OPEN_CLOSE_ANIMATION=500;module$exports$google3$uservoice$feedback$client$web$s
hared$constants.DEFAULT_LOCALE="en";module$exports$google3$uservoice$feedback$clien
t$web$shared$constants.PRODUCT_IDS_BYPASS_EXP_CHECK=new
Set(["17","1026354"]);module$exports$google3$uservoice$feedback$client$web$shared$c
onstants.IFRAME_INTERNAL_WRAPPER="iframe-internal-wrapper";
module$exports$google3$uservoice$feedback$client$web$shared$constants.FeedbackOnepl
atformRealms={PROD:"prod",STAGING_QUAL:"qual",AUTOPUSH:"autopush"};
module$exports$google3$uservoice$feedback$client$web$shared$constants.FEEDBACK_ONEP
LATFORM_URLS=new
Map([[module$exports$google3$uservoice$feedback$client$web$shared$constants.Feedbac
kOneplatformRealms.PROD,"https://feedback-pa.clients6.google.com"],
[module$exports$google3$uservoice$feedback$client$web$shared$constants.FeedbackOnep
latformRealms.STAGING_QUAL,"https://stagingqual-feedback-pa-
googleapis.sandbox.google.com"],
[module$exports$google3$uservoice$feedback$client$web$shared$constants.FeedbackOnep
latformRealms.AUTOPUSH,
"https://autopush-feedback-pa-
googleapis.sandbox.google.com"]]);module$exports$google3$uservoice$feedback$client$
web$shared$constants.FEEDBACK_ONEPLATFORM_API_KEY="AIzaSyCZpWLY6vArGGMkRnpLtdPfz3yR
-5xoKRs";function
module$contents$google3$uservoice$feedback$client$web$shared$constants_isTestDataRe
alm(a){return
module$contents$google3$uservoice$feedback$client$web$shared$constants_TEST_DATA_SU
BMISSION_URLS.some(function(b){return b.test(a)})}
module$exports$google3$uservoice$feedback$client$web$shared$constants.isTestDataRea
lm=module$contents$google3$uservoice$feedback$client$web$shared$constants_isTestDat
aRealm;var
module$contents$google3$uservoice$feedback$client$web$shared$constants_TEST_DATA_SU
BMISSION_URLS=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/
feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-
qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/
https:\/\/.*\.googleusercontent\.com\/inapp/];
module$exports$google3$uservoice$feedback$client$web$shared$constants.ALOHA_FORM_WI
DTH_PX=412;var
module$contents$google3$uservoice$feedback$client$web$shared$constants_DEFAULT_ISSU
E_CATEGORIES=[{key:"",msg:"",msgInEnglish:""}];
module$exports$google3$uservoice$feedback$client$web$shared$constants.DEFAULT_FEEDB
ACK_FORM_MODEL_PARAMS={announcement:"",feedbackIssueCategories:module$contents$goog
le3$uservoice$feedback$client$web$shared$constants_DEFAULT_ISSUE_CATEGORIES,selecte
dFeedbackIssueCategoryIndex:-
1,selectedFeedbackCategoryKey:"",selectedFeedbackCategoryMessage:"",feedbackUrgency
Level:"",description:"",imageData:new
module$contents$uf$screenshots$ImageData_ImageData("image","base64"),feedbackUserCt
lConsent:!1,feedbackJunkNudgeShown:!1,
helpArticles:[],title:"",helpArticlesHtml:[],realTimeCtlDetails:[],csatImpression:
[],additionalDataConsent:!
1};module$exports$google3$uservoice$feedback$client$web$shared$constants.DEFLECTION
_INTENTS=[module$contents$google3$uservoice$feedback$client$web$shared$constants_en
umFeedbackIntent.FEEDBACK_INTENT_PII,module$contents$google3$uservoice$feedback$cli
ent$web$shared$constants_enumFeedbackIntent.FEEDBACK_INTENT_LEGAL];
module$exports$google3$uservoice$feedback$client$web$shared$constants.EVENT_TO_DISP
ATCH_WHEN_EXPANSION_PANEL_EXPANDS_OR_COLLAPSED="expansionpanelexpandsorcollapsed";m
odule$exports$google3$uservoice$feedback$client$web$shared$constants.CUSTOMER_SUPPO
RT_DMA_PRODUCT_ID=72366329;module$exports$google3$uservoice$feedback$client$web$sha
red$constants.StorageAccessRequestStatus={UNAVAILABLE:0,AUTO_GRANTED:1,ACCESS_ALREA
DY_GRANTED:2,SHOULD_REQUEST:3,API_ERROR:4};
module$exports$google3$uservoice$feedback$client$web$shared$constants.StorageAccess
RequestStatus[module$exports$google3$uservoice$feedback$client$web$shared$constants
.StorageAccessRequestStatus.UNAVAILABLE]="UNAVAILABLE";module$exports$google3$userv
oice$feedback$client$web$shared$constants.StorageAccessRequestStatus[module$exports
$google3$uservoice$feedback$client$web$shared$constants.StorageAccessRequestStatus.
AUTO_GRANTED]="AUTO_GRANTED";
module$exports$google3$uservoice$feedback$client$web$shared$constants.StorageAccess
RequestStatus[module$exports$google3$uservoice$feedback$client$web$shared$constants
.StorageAccessRequestStatus.ACCESS_ALREADY_GRANTED]="ACCESS_ALREADY_GRANTED";module
$exports$google3$uservoice$feedback$client$web$shared$constants.StorageAccessReques
tStatus[module$exports$google3$uservoice$feedback$client$web$shared$constants.Stora
geAccessRequestStatus.SHOULD_REQUEST]="SHOULD_REQUEST";
module$exports$google3$uservoice$feedback$client$web$shared$constants.StorageAccess
RequestStatus[module$exports$google3$uservoice$feedback$client$web$shared$constants
.StorageAccessRequestStatus.API_ERROR]="API_ERROR";module$exports$google3$uservoice
$feedback$client$web$shared$constants.PostMessageId={UNKNOWN:0,MAIN_RSA_CALLBACK:1}
;
module$exports$google3$uservoice$feedback$client$web$shared$constants.PostMessageId
[module$exports$google3$uservoice$feedback$client$web$shared$constants.PostMessageI
d.UNKNOWN]="UNKNOWN";module$exports$google3$uservoice$feedback$client$web$shared$co
nstants.PostMessageId[module$exports$google3$uservoice$feedback$client$web$shared$c
onstants.PostMessageId.MAIN_RSA_CALLBACK]="MAIN_RSA_CALLBACK";var
module$contents$google3$uservoice$feedback$client$web$languages$languages_SUPPORTED
_LANGUAGES="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT
de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-
419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE
es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi
hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne
nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur
uz vi zh zh-CN zh-HK zh-TW zu".split(" ");
function
module$contents$google3$uservoice$feedback$client$web$languages$languages_getLocale
FromConfig(a){var b;return null==(b=a.formContent)?void 0:b.locale};var
$jscomp$templatelit$20303395$4=$jscomp.createTemplateTagFirstArg(["https://
www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),
$jscomp$templatelit$20303395$5=$jscomp.createTemplateTagFirstArg(["https://
www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_util_getFeedbac
kJsUrl(a,b){var c=a;var
d;c=(d=(d=module$contents$google3$uservoice$feedback$client$web$languages$languages
_getLocaleFromConfig(c))?
module$contents$google3$uservoice$feedback$client$web$languages$languages_SUPPORTED
_LANGUAGES.includes(d):!1)?
module$contents$google3$uservoice$feedback$client$web$languages$languages_getLocale
FromConfig(c):module$exports$google3$uservoice$feedback$client$web$shared$constants
.DEFAULT_FORM_LANGUAGE;
c=c.replaceAll("-","_").toLowerCase();var e;a=(null==(e=a.initializationData)?
0:e.useNightlyRelease)?"nightly":"live";var f,g,h;return(null==(f=b)?
0:null==(h=(g=f).getEnableAlohaBinarySplit)?0:h.call(g))?
module$contents$google3$third_party$javascript$safevalues$builders$resource_url_bui
lders_trustedResourceUrl($jscomp$templatelit$20303395$4,a):module$contents$google3$
third_party$javascript$safevalues$builders$resource_url_builders_trustedResourceUrl
($jscomp$templatelit$20303395$5,a,c)};var
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbackScr
iptPromise,module$contents$google3$uservoice$feedback$client$web$loader$loader_load
FeedbackScriptPromisUsingMainLightBinary;
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_getFeedbackClie
ntInitializerAsync(a,b,c,d)
{if(module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbac
kScriptPromise)return
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbackScr
iptPromise;var
e=module$contents$google3$uservoice$feedback$client$web$loader$loader_util_getFeedb
ackJsUrl(a,d);return
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbackScr
iptPromise=
b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new
Promise(function(f,g){var
h=goog.dom.createElement(goog.dom.TagName.SCRIPT);module$exports$google3$third_part
y$javascript$safevalues$dom$elements$script.setSrc(h,e);h.onload=function()
{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g("feedbackV2GlobalObject not
found on window.")};h.onerror=function(){g("Feedback binary script tag failed to
load: "+e.toString())};c.body.appendChild(h)})}
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_getFeedbackClie
ntInitializerAsyncUsingMainLightBinary(a,b,c,d)
{if(module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbac
kScriptPromisUsingMainLightBinary)return
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbackScr
iptPromisUsingMainLightBinary;var
e=module$contents$google3$uservoice$feedback$client$web$loader$loader_util_getFeedb
ackJsUrl(a,d);return
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadFeedbackScr
iptPromisUsingMainLightBinary=
b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new
Promise(function(f,g){var
h=goog.dom.createElement(goog.dom.TagName.SCRIPT);module$exports$google3$third_part
y$javascript$safevalues$dom$elements$script.setSrc(h,e);h.onload=function()
{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g("feedbackV2GlobalObject not
found on window.")};h.onerror=function(){g("Feedback binary script tag failed to
load: "+e.toString())};c.body.appendChild(h)})}
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_load(a,b,c,d,e)
{e=void 0===e?!0:e;var f,g,h,k,l;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(m){switch(m.nextAddress){case
1:return
f=Date.now(),m.yield(module$contents$google3$uservoice$feedback$client$web$loader$l
oader_getFeedbackClientInitializerAsync(a,c,d,b),2);case 2:g=m.yieldResult;if(!(e||
(null==(k=a.initializationData)?0:k.useNightlyRelease)||
(null==(l=a.initializationData)?0:l.isLocalServer))){h=
g.initializeFeedbackClient(a,f,b);m.jumpTo(3);break}return
m.yield(g.initializeFeedbackClientAsync(a,f,b),4);case 4:h=m.yieldResult;case
3:return h.initiateAloha(),m.return(h)}})}
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadMainLightBi
nary(a,b,c,d){var e,f,g;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(h){if(1==h.nextAddress)return
e=Date.now(),h.yield(module$contents$google3$uservoice$feedback$client$web$loader$l
oader_getFeedbackClientInitializerAsyncUsingMainLightBinary(a,c,d.document,b),2);if
(3!=h.nextAddress)return
f=h.yieldResult,h.yield(f.initializeFeedbackClientAsync(a,e,b,d),3);g=h.yieldResult
;g.initiateAloha();return h.return(g)})}
function
module$contents$google3$uservoice$feedback$client$web$loader$loader_loadAndInitiali
zeFeedbackClient(a,b,c,d){d=void 0===d?!0:d;var e,f,g,h,k,l,m,n,p,q;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(r){e=c||
goog.global;if(null==(f=b)?0:null==(h=(g=f).getEnableAlohaBinarySplit)?0:h.call(g))
{k=e;if(k.isFormOpened)throw l=Error("Form is either loading or already
opened"),l.name="DuplicateFormError",l;k.isFormOpened=!0;a.callbacks=a.callbacks||
{};m=a.callbacks.onClose||function(){};
a.callbacks.onClose=function(t){k.isFormOpened=!1;m(t)};try{return
r.return(module$contents$google3$uservoice$feedback$client$web$loader$loader_loadMa
inLightBinary(a,b,k,e,d))}catch(t){throw k.isFormOpened=!
1,t;}}else{n=e;if(n.isFormOpened)throw p=Error("Form is either loading or already
opened"),p.name="DuplicateFormError",p;n.isFormOpened=!0;a.callbacks=a.callbacks||
{};q=a.callbacks.onClose||function(){};a.callbacks.onClose=function(t)
{n.isFormOpened=!1;q(t)};try{return
r.return(module$contents$google3$uservoice$feedback$client$web$loader$loader_load(a
,
b,n,e.document,d))}catch(t){throw n.isFormOpened=!
1,t;}}})};jspb$.uservoice$common$flags$MutableAlohaRsaFlags=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.uservoice$common$flags$MutableAlohaRsaFlags,module$contents$
jspb_internal_public_for_gencode_GeneratedMessage);jspb$.uservoice$common$flags$Mut
ableAlohaRsaFlags.deserialize=module$contents$jspb_internal_public_for_gencode_make
MutableDeserializeFunction(jspb$.uservoice$common$flags$MutableAlohaRsaFlags);
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.hasInstance=module$contents$jspb_
internal_public_for_gencode_makeHasMutableInstance(jspb$.uservoice$common$flags$Mut
ableAlohaRsaFlags);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTI
ES&&(jspb$.uservoice$common$flags$MutableAlohaRsaFlags.internalDoNotUse_debugOnlyPr
otoTypeName="uservoice.common.flags.AlohaRsaFlags");jspb$.uservoice$common$flags$Re
adonlyAlohaRsaFlags={};
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.ObjectFormat=function()
{};module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.us
ervoice$common$flags$MutableAlohaRsaFlags.fromObject=function(a){var b=new
jspb$.uservoice$common$flags$MutableAlohaRsaFlags;jspb_internal_adapters.setProto3B
ooleanFieldIfNotNullish(b,1,a.enableRequest3pStoragePermissions);return
b});jspb$.uservoice$common$flags$MutableAlohaRsaFlags.prototype.toObject=function()
{return jspb$.uservoice$common$flags$MutableAlohaRsaFlags.internal_toObject(this)};
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={enableRequest3
pStoragePermissions:jspb_internal_adapters.getBooleanFieldWithDefault(a,1)}};jspb$.
uservoice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$uservoice$common$flags
$AlohaRsaFlags$binaryFieldsObject=[0,jspb_internal_binary.RBoolIgnoringDefaultWBool
];
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.deserializeBinary=module$contents
$jspb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.uservoice$com
mon$flags$MutableAlohaRsaFlags,jspb$.uservoice$common$flags$MutableAlohaRsaFlags.in
ternalDoNotUse$uservoice$common$flags$AlohaRsaFlags$binaryFieldsObject);jspb$.userv
oice$common$flags$MutableAlohaRsaFlags.deserializeBinaryFromReader=module$contents$
jspb_internal_public_for_gencode_makeDeserializeBinaryFromReaderFunction(jspb$.user
voice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$uservoice$common$flags$Alo
haRsaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.prototype.serializeBinary=module$
contents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(jspb
$.uservoice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$uservoice$common$fla
gs$AlohaRsaFlags$binaryFieldsObject);jspb$.uservoice$common$flags$MutableAlohaRsaFl
ags.serializeBinary=module$contents$jspb_internal_public_for_gencode_makeSerializeB
inaryFunction(jspb$.uservoice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$us
ervoice$common$flags$AlohaRsaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.serializeBinaryToByteString=modul
e$contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction
(jspb$.uservoice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$uservoice$commo
n$flags$AlohaRsaFlags$binaryFieldsObject);
jspb$.uservoice$common$flags$MutableAlohaRsaFlags.makeCrossSerializerComparisonsCom
patible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerCompari
sonsCompatibleFunction(jspb$.uservoice$common$flags$MutableAlohaRsaFlags,jspb$.user
voice$common$flags$MutableAlohaRsaFlags.internalDoNotUse$uservoice$common$flags$Alo
haRsaFlags$binaryFieldsObject);jspb$.uservoice$common$flags$ImmutableAlohaRsaFlags=
function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.uservoice$common$flags$ImmutableAlohaRsaFlags,module$exports
$jspb$immutable_message.ImmutableMessage);jspb$.uservoice$common$flags$ImmutableAlo
haRsaFlags.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutab
leDeserializeFunction(jspb$.uservoice$common$flags$MutableAlohaRsaFlags);
jspb$.uservoice$common$flags$ImmutableAlohaRsaFlags.getDefaultInstance=module$conte
nts$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.uservoice
$common$flags$MutableAlohaRsaFlags);jspb$.uservoice$common$flags$ImmutableAlohaRsaF
lags.serializeBinary=jspb$.uservoice$common$flags$MutableAlohaRsaFlags.serializeBin
ary;jspb$.uservoice$common$flags$ImmutableAlohaRsaFlags.serializeBinaryToByteString
=jspb$.uservoice$common$flags$MutableAlohaRsaFlags.serializeBinaryToByteString;
jspb$.uservoice$common$flags$ImmutableAlohaRsaFlags.deserializeBinary=module$conten
ts$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.us
ervoice$common$flags$MutableAlohaRsaFlags.deserializeBinary);jspb$.uservoice$common
$flags$ImmutableAlohaRsaFlags.makeCrossSerializerComparisonsCompatible=jspb$.uservo
ice$common$flags$MutableAlohaRsaFlags.makeCrossSerializerComparisonsCompatible;jspb
$.uservoice$common$flags$ImmutableAlohaRsaFlags.hasInstance=module$contents$jspb_in
ternal_public_for_gencode_makeHasImmutableInstance(jspb$.uservoice$common$flags$Mut
ableAlohaRsaFlags);proto.uservoice.common.flags.ReadonlyAlohaRsaFlags={};proto.user
voice.common.flags.AlohaRsaFlags=jspb$.uservoice$common$flags$MutableAlohaRsaFlags;
proto.uservoice.common.flags.MutableAlohaRsaFlags=jspb$.uservoice$common$flags$Muta
bleAlohaRsaFlags;proto.uservoice.common.flags.ImmutableAlohaRsaFlags=jspb$.uservoic
e$common$flags$ImmutableAlohaRsaFlags;function
module$contents$google3$uservoice$feedback$client$web$service$properties_fetch_serv
ice_getAlohaFormProperties(a,b){return
$jscomp.asyncExecutePromiseGeneratorProgram(function(c){return c.return(new
Promise(function(d){var
e,f=module$contents$google3$uservoice$feedback$client$web$service$properties_fetch_
service_sanitizeServerUri(null!=(e=b)?e:"")+"/aloha_form_properties?
productId="+a;goog.net.XhrIo.send(f,function(g){g=g.target;var
h=null;try{h=module$exports$jspb.Message.deserializeWithCtor(jspb$.uservoice$common
$flags$MutableAlohaFormPropertiesResponse,
JSON.stringify(g.getResponseJson(")]}'\n")))}catch(k)
{h=module$contents$google3$uservoice$feedback$client$web$shared$constants_defaultAl
ohaFormProperties()}d(h)},"GET","",{},2E3,!0)}))})}function
module$contents$google3$uservoice$feedback$client$web$service$properties_fetch_serv
ice_sanitizeServerUri(a){return
module$contents$google3$uservoice$feedback$client$web$shared$constants_isTestDataRe
alm(a)?a:"https://www.google.com/tools/feedback"};var userfeedback={api:
{}};userfeedback.api.LOCALE="locale";userfeedback.api.SERVER_ENVIRONMENT="serverEnv
ironment";userfeedback.api.SERVER_URI="serverUri";userfeedback.api.FEEDBACK_SERVER_
URI="feedbackServerUri";userfeedback.api.GAIA_URI="gaiaUri";userfeedback.api.PRODUC
T_ID="productId";userfeedback.api.AUTH_USER="authuser";userfeedback.api.PAGE_ID="pa
geId";userfeedback.api.BUCKET="bucket";userfeedback.api.FLOW="flow";userfeedback.ap
i.SVG="svg";userfeedback.api.CUSTOM_Z_INDEX="customZIndex";
userfeedback.api.HTTPS="https";userfeedback.api.REPORT="report";userfeedback.api.CA
LLBACK="callback";userfeedback.api.PREP_FRAMED_CONTENT_FUNCTION="prepFramedContentF
unction";userfeedback.api.ON_LOAD_CALLBACK="onLoadCallback";userfeedback.api.SERVER
_URI_DEFAULT="//www.google.com/tools/
feedback";userfeedback.api.ABUSE_LINK="abuseLink";userfeedback.api.PRODUCT_VERSION=
"productVersion";userfeedback.api.ENABLE_ANONYMOUS_FEEDBACK="enableAnonymousFeedbac
k";
userfeedback.api.ALLOW_NON_LOGGED_IN_FEEDBACK="allowNonLoggedInFeedback";userfeedba
ck.api.TINY_NO_POINTER="tinyNoPointer";userfeedback.api.ADDITIONAL_DATA_CONSENT="ad
ditionalDataConsent";userfeedback.api.SUPPORTED_LOCALES_="af am ar az be bg bn bs
ca cs cy da de el en en-AU en-GB es es-419 et eu fa fi fil fr fr-CA gl gu hi hr hu
hy id is it iw ja ka kk km ko ky lo lt lv kn mk ml mn mr ms my ne nl no pa pl pt-BR
pt-PT ro ru si sk sl sq sr sv sw ta te th tr uk ur uz vi zh zh-CN zh-HK zh-TW
zu".split(" ");
userfeedback.api.ANCHOR="anchor";userfeedback.api.HELP_CENTER_PATH="helpCenterPath"
;userfeedback.api.HELP_CENTER_DOMAIN="helpCenterDomain";userfeedback.api.ENABLE_SEN
D_FEEDBACK="enableSendFeedback";userfeedback.api.SHOW_CONTACT_LINK="showContactLink
";userfeedback.api.HELP_CENTER_CONTEXT="helpCenterContext";userfeedback.api.DEFAULT
_HELP_ARTICLE_ID="defaultHelpArticleId";userfeedback.api.SHOW_HELP_CENTER_LINK="sho
wHelpCenterLink";userfeedback.api.MAX_PSD_JSON=1200;userfeedback.api.MAX_PAGE_HREF=
1200;
userfeedback.api.DISABLE_SUBMIT="disableSubmit";userfeedback.api.DISABLE_SCREENSHOT
TING="disableScreenshotting";userfeedback.api.CONFIGURATOR_ID="configuratorId";user
feedback.api.TRIGGER_ID="triggerId";userfeedback.api.REPORT_DATA_CALLBACK="reportDa
taCallback";userfeedback.api.COLOR_SCHEME="colorScheme";userfeedback.api.reportData
Key={};userfeedback.api.reportDataKey.ANNOTATIONS="annotations";userfeedback.api.re
portDataKey.PAGE_INFORMATION="pageInformation";
userfeedback.api.reportDataKey.BROWSER_INFORMATION="browserInformation";userfeedbac
k.api.reportDataKey.PAGE_STRUCTURE="pageStructure";userfeedback.api.reportDataKey.P
RODUCT_INFORMATION="productInformation";
var $jscomp$scope$589139393$3$startFeedbackClassic=function(a,b,c)
{a.timeOfStartCall=(new Date).getTime();var d=c||
goog.global,e=d.document,f=a.nonce||
module$exports$google3$third_party$javascript$safevalues$dom$globals$window.getScri
ptNonce(d);f&&!a.nonce&&(a.nonce=f);if("help"==a[userfeedback.api.FLOW]){var
g=userfeedback.api.HELP_CENTER_CONTEXT,h=goog.getObjectByName("document.location.hr
ef",d);!a[g]&&h&&(a[g]=h.substring(0,userfeedback.api.MAX_PAGE_HREF));g=!
0;b&&JSON&&JSON.stringify&&(h=JSON.stringify(b),
(g=h.length<=userfeedback.api.MAX_PSD_JSON)&&(a.psdJson=h));g||(b={invalidPsd:!
0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a[userfeedback.api.FEEDBACK_SER
VER_URI]||
userfeedback.api.SERVER_URI_DEFAULT;if(g=d.GOOGLE_FEEDBACK_START)g.apply(d,b);else{
d=c+"/load.js?";for(var k in a)b=a[k],null==b||goog.isObject(b)||
(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)
+"&");a=goog.dom.getDomHelper(e).createElement(goog.dom.TagName.SCRIPT);f&&a.setAtt
ribute("nonce",f);module$exports$google3$third_party$javascript$safevalues$dom$elem
ents$script.setSrc(a,
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_resou
rceUrlSafeByReview(d,{justification:"serverUri is the endpoint of our own Help
API"}));e.body.appendChild(a)}},
$jscomp$scope$589139393$0$startFeedbackAloha=function(a,b,c,d){var e,f;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(g){e=c||goog.global;var
h=a;var k=b;var l="DEV"===h[userfeedback.api.SERVER_ENVIRONMENT],m=c||
goog.global;m=h.nonce||
module$exports$google3$third_party$javascript$safevalues$dom$globals$window.getScri
ptNonce(m);
h={integrationKeys:
{productId:h[userfeedback.api.PRODUCT_ID],feedbackBucket:h[userfeedback.api.BUCKET]
,triggerId:h[userfeedback.api.TRIGGER_ID]},callbacks:
{onClose:h[userfeedback.api.CALLBACK],onLoad:h[userfeedback.api.ON_LOAD_CALLBACK]},
formContent:
{locale:h[userfeedback.api.LOCALE],disableScreenshot:h[userfeedback.api.DISABLE_SCR
EENSHOTTING],productDisplayName:void 0,announcement:void 0,issueCategories:void
0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void
0,userEmail:void 0,
defaultFormInputValues:void 0,defaultFormInputValuesString:void
0,abuseLink:h[userfeedback.api.ABUSE_LINK],additionalDataConsent:h[userfeedback.api
.ADDITIONAL_DATA_CONSENT]},initializationData:
{isLocalServer:l,nonce:m,useNightlyRelease:l,feedbackJsUrl:void
0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void
0,feedbackCssUrlSerialized:void
0,submissionServerUri:h[userfeedback.api.FEEDBACK_SERVER_URI],colorScheme:h[userfee
dback.api.COLOR_SCHEME]},extraData:
{productVersion:h[userfeedback.api.PRODUCT_VERSION],
authUser:h[userfeedback.api.AUTH_USER],configuratorId:h[userfeedback.api.CONFIGURAT
OR_ID],customZIndex:h[userfeedback.api.CUSTOM_Z_INDEX],tinyNoPointer:h[userfeedback
.api.TINY_NO_POINTER],allowNonLoggedInFeedback:h[userfeedback.api.ALLOW_NON_LOGGED_
IN_FEEDBACK],enableAnonymousFeedback:h[userfeedback.api.ENABLE_ANONYMOUS_FEEDBACK]}
};k&&(k=new Map(Object.entries(k)),h.extraData.productSpecificData=k);f=k=h;return
g.yield(module$contents$google3$uservoice$feedback$client$web$loader$loader_loadAnd
InitializeFeedbackClient(f,
d,e,!0),0)})};
userfeedback.api.startFeedback=function(a,b,c)
{try{if("help"===a[userfeedback.api.FLOW]){var
d=a[userfeedback.api.HELP_CENTER_PATH].replace(/^\//,"");module$exports$google3$thi
rd_party$javascript$safevalues$dom$globals$window.open(c||
window,module$contents$google3$third_party$javascript$safevalues$builders$url_build
ers_sanitizeUrl("https://support.google.com/"+d))}else
if("submit"===a[userfeedback.api.FLOW])
$jscomp$scope$589139393$3$startFeedbackClassic(a,b,c);else{var
e=module$contents$google3$uservoice$feedback$client$web$service$properties_fetch_se
rvice_getAlohaFormProperties(a[userfeedback.api.PRODUCT_ID],a[userfeedback.api.FEED
BACK_SERVER_URI]);
e.then(function(f){f=f.getAlohaFlags();var g,h=!goog.userAgent.MOBILE||
(null==(g=f)?void 0:g.getEnableMweb()),k;g=!a[userfeedback.api.TINY_NO_POINTER]||
(null==(k=f)?void 0:k.getEnableTinyNoPointer());!f||
f.getAlohaAutoGaRollout()&&h&&g?
$jscomp$scope$589139393$0$startFeedbackAloha(a,b,c,f):
$jscomp$scope$589139393$3$startFeedbackClassic(a,b,c)},function(f)
{f&&"DuplicateFormError"!
==f.name&&$jscomp$scope$589139393$3$startFeedbackClassic(a,b,c)})}}catch(f)
{$jscomp$scope$589139393$0$startFeedbackAloha(a,
b,c,null)}};goog.exportSymbol("userfeedback.api.startFeedback",userfeedback.api.sta
rtFeedback);
userfeedback.api.startFeedbackAsync=function(a,b,c){var d,e,f,g,h,k,l;return
$jscomp.asyncExecutePromiseGeneratorProgram(function(m){switch(m.nextAddress){case
1:if("submit"===a[userfeedback.api.FLOW]||"help"===a[userfeedback.api.FLOW])return
$jscomp$scope$589139393$3$startFeedbackClassic(a,b,c),m.return();m.setCatchFinallyB
locks(2);return
m.yield(module$contents$google3$uservoice$feedback$client$web$service$properties_fe
tch_service_getAlohaFormProperties(a[userfeedback.api.PRODUCT_ID],a[userfeedback.ap
i.FEEDBACK_SERVER_URI]),
4);case 4:d=m.yieldResult;e=d.getAlohaFlags();g=!goog.userAgent.MOBILE||
(null==(f=e)?void 0:f.getEnableMweb());k=!a[userfeedback.api.TINY_NO_POINTER]||
(null==(h=e)?void 0:h.getEnableTinyNoPointer());if(e&&!
(e.getAlohaAutoGaRollout()&&g&&k))
{$jscomp$scope$589139393$3$startFeedbackClassic(a,b,c);m.jumpTo(5);break}return
m.yield($jscomp$scope$589139393$0$startFeedbackAloha(a,b,c,e),5);case
5:m.leaveTryBlock(0);break;case 2:(l=m.enterCatchBlock())&&"DuplicateFormError"!
==l.name&&$jscomp$scope$589139393$3$startFeedbackClassic(a,
b,c),m.jumpToEnd()}})};ocean.mobilebooks={};
var module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar=function(a,b,c)
{goog.ui.Component.call(this);var
d=this;if(this.backButton_=goog.dom.getElement("gb-mobile-appbar-back-
button"))this.getHandler().listen(this.backButton_,goog.events.EventType.CLICK,this
.backAction_),this.maybeSuppressBackButton_();
(this.moreMenuButton_=goog.dom.getElement("gb-mobile-appbar-
more"))&&this.addMoreActionsMenu_();var e=goog.dom.getElement("gb-mobile-appbar-
search-button");e&&b&&(goog.events.listen(e,goog.events.EventType.CLICK,
function()
{d.toggleMobileSearchBar_(b,c)}),goog.events.listen(e,goog.events.EventType.KEYDOWN
,function(f){f.keyCode!=goog.events.KeyCodes.SPACE&&f.keyCode!
=goog.events.KeyCodes.ENTER||d.toggleMobileSearchBar_(b,c)}));new
module$exports$ocean$mobilebooks$MobileGetBookMenu(a)};
$jscomp.inherits(module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar,goog.u
i.Component);
module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar.prototype.addMoreAction
sMenu_=function(){var a=this,b=goog.dom.getElement("gb-mobile-more-menu");if(b){var
c=new
goog.ui.Popup(b);c.setPinnedCorner(goog.positioning.Corner.TOP_RIGHT);c.setPosition
(new
goog.positioning.AnchoredViewportPosition(this.moreMenuButton_,goog.positioning.Cor
ner.TOP_RIGHT));c.setVisible(!
1);goog.events.listen(this.moreMenuButton_,goog.events.EventType.CLICK,function()
{a.initializeAndShowMoreActionsMenu_(b,c)});goog.events.listen(this.moreMenuButton_
,
goog.events.EventType.KEYDOWN,function(d){d.keyCode!
=goog.events.KeyCodes.SPACE&&d.keyCode!=goog.events.KeyCodes.ENTER||
a.initializeAndShowMoreActionsMenu_(b,c)})}else
goog.dom.removeNode(this.moreMenuButton_)};
module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar.prototype.initializeAnd
ShowMoreActionsMenu_=function(a,b){goog.dom.classlist.remove(a,"more-menu-
hidden");b.setVisible(!
0);b.getElement().focus();a=goog.dom.getElementsByClass("more-menu-link");for(var
c=0;c<a.length;c++)goog.events.listen(a[c],goog.events.EventType.CLICK,function()
{b.setVisible(!
1)}),goog.events.listen(a[c],goog.events.EventType.KEYDOWN,function(d){d.keyCode!
=goog.events.KeyCodes.SPACE&&d.keyCode!=goog.events.KeyCodes.ENTER||
b.setVisible(!
1)})};module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar.prototype.toggleM
obileSearchBar_=function(a,b){var
c=goog.asserts.assertExists(goog.dom.getElement("gb-mobile-
search")),d=goog.style.isElementShown(c);goog.style.setElementShown(c,!
d);a=goog.asserts.assertExists(a);d?a.blur():a.focus();b&&b.resize()};
module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar.prototype.backAction_=f
unction()
{window.history.back();goog.userAgent.ANDROID&&goog.userAgent.product.CHROME&&1==wi
ndow.history.length&&window.close()};module$contents$ocean$mobilebooks$MobileAppbar
_MobileAppbar.prototype.maybeSuppressBackButton_=function(){if(this.isIGSA_())
{goog.dom.classlist.add(this.backButton_,"igsa-hide");var
a=this.getDomHelper().getElement("gb-mobile-appbar-
logo");goog.dom.classlist.add(a,"igsa-shift")}};
module$contents$ocean$mobilebooks$MobileAppbar_MobileAppbar.prototype.isIGSA_=funct
ion(){return
goog.userAgent.IOS&&goog.string.contains(goog.userAgent.getUserAgentString(),"GSA")
};ocean.mobilebooks.MobileAppbar=module$contents$ocean$mobilebooks$MobileAppbar_Mob
ileAppbar;goog.exportSymbol("_OC_startFeedback",userfeedback.api.startFeedback);goo
g.dom.FontSizeMonitor=function(a){goog.events.EventTarget.call(this);a=a||
goog.dom.getDomHelper();this.sizeElement_=a.createDom(goog.dom.TagName.IFRAME,
{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-
hidden":"true"});a=a.getDocument().body;a.insertBefore(this.sizeElement_,a.firstChi
ld);this.resizeTarget_=goog.dom.getFrameContentWindow(this.sizeElement_);goog.userA
gent.GECKO&&(a=this.resizeTarget_.document,a.open(),a.close());goog.events.listen(t
his.resizeTarget_,goog.events.EventType.RESIZE,
this.handleResize_,!
1,this);this.lastWidth_=this.sizeElement_.offsetWidth};goog.inherits(goog.dom.FontS
izeMonitor,goog.events.EventTarget);goog.dom.FontSizeMonitor.EventType={CHANGE:"fon
tsizechange"};goog.dom.FontSizeMonitor.CHANGE_EVENT=goog.dom.FontSizeMonitor.EventT
ype.CHANGE;
goog.dom.FontSizeMonitor.prototype.disposeInternal=function()
{goog.dom.FontSizeMonitor.superClass_.disposeInternal.call(this);goog.events.unlist
en(this.resizeTarget_,goog.events.EventType.RESIZE,this.handleResize_,!
1,this);this.resizeTarget_=null;goog.dom.removeNode(this.sizeElement_);delete
this.sizeElement_};goog.dom.FontSizeMonitor.prototype.handleResize_=function(){var
a=this.sizeElement_.offsetWidth;this.lastWidth_!
=a&&(this.lastWidth_=a,this.dispatchEvent(goog.dom.FontSizeMonitor.EventType.CHANGE
))};var module$contents$ocean$util$Resizer_Resizer=function(a)
{this.divToResize_=a;a=goog.bind(this.handleResizeEvent_,this);this.viewportSizeMon
itor_=new
goog.dom.ViewportSizeMonitor;goog.events.listen(this.viewportSizeMonitor_,goog.even
ts.EventType.RESIZE,a);var b=new
goog.dom.FontSizeMonitor;goog.events.listen(b,goog.dom.FontSizeMonitor.EventType.CH
ANGE,a);goog.events.listen(window,goog.events.EventType.DOMCONTENTLOADED,goog.bind(
this.resize,this))};
module$contents$ocean$util$Resizer_Resizer.prototype.handleResizeEvent_=function()
{this.resize();goog.Timer.callOnce(goog.bind(this.resize,this),100)};module$content
s$ocean$util$Resizer_Resizer.prototype.resize=function(){var
a=this.viewportSizeMonitor_.getSize(),b=Math.round(goog.style.getPageOffsetTop(this
.divToResize_));this.divToResize_.style.height=a.height-b+"px"};
module$contents$ocean$util$Resizer_Resizer.initById=function(a){var
b=null;if(a=goog.dom.getElement(a))b=new
module$contents$ocean$util$Resizer_Resizer(a),b.resize();return
b};ocean.util.Resizer=module$contents$ocean$util$Resizer_Resizer;var
jfk={ButterBar:function(a,b)
{goog.ui.Component.call(this,b);this.content_=a}};goog.inherits(jfk.ButterBar,goog.
ui.Component);jfk.ButterBar.Type={INFO:"info",ERROR:"error",PROMO:"promo",WARNING:"
warning"};jfk.ButterBar.prototype.type_=jfk.ButterBar.Type.INFO;jfk.ButterBar.proto
type.mini_=!1;jfk.ButterBar.CSS_NAME_="jfk-
butterBar";jfk.ButterBar.SHOWN_CSS_NAME_=jfk.ButterBar.CSS_NAME_+"-
shown";jfk.ButterBar.MINI_CSS_NAME_=jfk.ButterBar.CSS_NAME_+"-mini";
jfk.ButterBar.TYPE_CSS_NAMES_=module$contents$goog$object_create(jfk.ButterBar.Type
.INFO,jfk.ButterBar.CSS_NAME_+"-
info",jfk.ButterBar.Type.ERROR,jfk.ButterBar.CSS_NAME_+"-
error",jfk.ButterBar.Type.WARNING,jfk.ButterBar.CSS_NAME_+"-
warning",jfk.ButterBar.Type.PROMO,jfk.ButterBar.CSS_NAME_+"-
promo");jfk.ButterBar.prototype.getType=function(){return this.type_};
jfk.ButterBar.prototype.setType=function(a){var
b=this.getContentElement();b&&goog.dom.classlist.addRemove(this.getElement(),jfk.Bu
tterBar.TYPE_CSS_NAMES_[this.type_],jfk.ButterBar.TYPE_CSS_NAMES_[a]);this.type_=a}
;jfk.ButterBar.prototype.setContent=function(a)
{this.content_=a;if(a=this.getElement()){var
b=this.getDomHelper();b.removeChildren(a);b.append(a,this.content_)}};jfk.ButterBar
.prototype.isVisible=function(){var a=this.getElement();return null!
=a&&goog.dom.classlist.contains(a,jfk.ButterBar.SHOWN_CSS_NAME_)};
jfk.ButterBar.prototype.setVisible=function(a)
{goog.asserts.assert(this.isInDocument(),"setVisible must only be called after the
butter bar is
rendered.");goog.dom.classlist.enable(this.getElement(),jfk.ButterBar.SHOWN_CSS_NAM
E_,a)};jfk.ButterBar.prototype.setMini=function(a){this.mini_=a;
(a=this.getElement())&&goog.dom.classlist.enable(a,jfk.ButterBar.MINI_CSS_NAME_,thi
s.mini_)};
jfk.ButterBar.prototype.createDom=function()
{this.setElementInternal(this.getDomHelper().createDom(goog.dom.TagName.DIV,jfk.But
terBar.CSS_NAME_));goog.asserts.assert(this.getElement(),"The DOM element for the
butter bar cannot be
null.");this.applyAriaLiveAttributes();this.setContent(this.content_);this.setMini(
this.mini_);this.setType(this.type_)};
jfk.ButterBar.prototype.applyAriaLiveAttributes=function(){var
a=this.getElement();a&&(goog.a11y.aria.setState(a,goog.a11y.aria.State.LIVE,goog.a1
1y.aria.LivePriority.ASSERTIVE),goog.a11y.aria.setState(a,goog.a11y.aria.State.ATOM
IC,"true"))};var
module$contents$ocean$chrome$ResizeManager_ResizeManager=function(a,b,c,d,e)
{this.viewer_=a;this.viewportDiv_=b;this.menuSize_=goog.style.getSize(c);this.menuS
crollableDiv_=null;d&&(this.menuScrollableDiv_=d,goog.style.setStyle(this.menuScrol
lableDiv_,
{overflow:"auto"}));this.hasLeftSidebar_=e;a=goog.bind(this.handleResizeEvent_,this
);this.viewportSizeMonitor_=new
goog.dom.ViewportSizeMonitor;goog.events.listen(this.viewportSizeMonitor_,goog.even
ts.EventType.RESIZE,a);b=new goog.dom.FontSizeMonitor;
goog.events.listen(b,goog.dom.FontSizeMonitor.EventType.CHANGE,a);goog.events.liste
n(window,goog.events.EventType.DOMCONTENTLOADED,goog.bind(this.resize,this))};modul
e$contents$ocean$chrome$ResizeManager_ResizeManager.prototype.handleResizeEvent_=fu
nction(){this.resize();goog.Timer.callOnce(goog.bind(this.resize,this),100)};
module$contents$ocean$chrome$ResizeManager_ResizeManager.prototype.resize=function(
){var a=!1;this.hasLeftSidebar_?
this.fullscreen_&&(a=this.fullscreen_.fullscreen_):a=!0;var
b=this.viewportSizeMonitor_.getSize(),c=a?
0:this.menuSize_.width;a=Math.round(goog.style.getPageOffsetTop(this.viewportDiv_))
;c=Math.max(0,b.width-c);a=Math.max(0,b.height-a);this.viewer_.setSize(new
goog.math.Size(c,a));this.menuScrollableDiv_&&(a=this.menuScrollableDiv_,goog.style
.setStyle(a,"border","0px"),c=Math.round(goog.style.getPageOffsetTop(a)),
b=Math.max(0,b.height-
c),goog.style.setStyle(a,"height",b+"px"),a.clientWidth<a.offsetWidth&&goog.style.s
etStyle(a,{borderTop:goog.string.subs("%spx solid #ebeff9",2),height:Math.max(0,b-
2)+"px"}))};module$contents$ocean$chrome$ResizeManager_ResizeManager.prototype.setF
ullscreen=function(a)
{this.fullscreen_=a;goog.events.listen(a,ocean.chrome.Fullscreen.EventType.CHANGE,g
oog.bind(this.resize,this))};ocean.chrome.ResizeManager=module$contents$ocean$chrom
e$ResizeManager_ResizeManager;goog.ui.LabelInput=function(a,b)
{goog.ui.Component.call(this,b);this.label_=a||""};goog.inherits(goog.ui.LabelInput
,goog.ui.Component);goog.ui.LabelInput.prototype.ffKeyRestoreValue_=null;goog.ui.La
belInput.prototype.labelRestoreDelayMs=10;goog.ui.LabelInput.isPlaceholderSupported
_=function()
{null==goog.ui.LabelInput.supportsPlaceholder_&&(goog.ui.LabelInput.supportsPlaceho
lder_="placeholder"in goog.dom.createElement(goog.dom.TagName.INPUT));return
goog.ui.LabelInput.supportsPlaceholder_};
goog.ui.LabelInput.prototype.hasFocus_=!
1;goog.ui.LabelInput.prototype.createDom=function()
{this.setElementInternal(this.getDomHelper().createDom(goog.dom.TagName.INPUT,
{type:goog.dom.InputType.TEXT}))};
goog.ui.LabelInput.prototype.decorateInternal=function(a)
{goog.ui.LabelInput.superClass_.decorateInternal.call(this,a);this.label_||
(this.label_=a.getAttribute("label")||"");goog.dom.getActiveElement(goog.dom.getOwn
erDocument(a))==a&&(this.hasFocus_=!
0,a=this.getElement(),goog.asserts.assert(a),goog.dom.classlist.remove(a,this.label
CssClassName));goog.ui.LabelInput.isPlaceholderSupported_()&&(this.getElement().pla
ceholder=this.label_);a=this.getElement();goog.asserts.assert(a,"The label input
element cannot be null.");
goog.a11y.aria.setState(a,goog.a11y.aria.State.LABEL,this.label_)};goog.ui.LabelInp
ut.prototype.enterDocument=function()
{goog.ui.LabelInput.superClass_.enterDocument.call(this);this.attachEvents_();this.
check_();this.getElement().labelInput_=this};goog.ui.LabelInput.prototype.exitDocum
ent=function()
{goog.ui.LabelInput.superClass_.exitDocument.call(this);this.detachEvents_();this.g
etElement().labelInput_=null};
goog.ui.LabelInput.prototype.attachEvents_=function(){var a=new
goog.events.EventHandler(this);a.listen(this.getElement(),goog.events.EventType.FOC
US,this.handleFocus_);a.listen(this.getElement(),goog.events.EventType.BLUR,this.ha
ndleBlur_);if(goog.ui.LabelInput.isPlaceholderSupported_())this.eventHandler_=a;els
e{goog.userAgent.GECKO&&a.listen(this.getElement(),
[goog.events.EventType.KEYPRESS,goog.events.EventType.KEYDOWN,goog.events.EventType
.KEYUP],this.handleEscapeKeys_);var b=goog.dom.getOwnerDocument(this.getElement());
b=goog.dom.getWindow(b);a.listen(b,goog.events.EventType.LOAD,this.handleWindowLoad
_);this.eventHandler_=a;this.attachEventsToForm_()}};goog.ui.LabelInput.prototype.a
ttachEventsToForm_=function(){!
this.formAttached_&&this.eventHandler_&&this.getElement().form&&(this.eventHandler_
.listen(this.getElement().form,goog.events.EventType.SUBMIT,this.handleFormSubmit_)
,this.formAttached_=!0)};
goog.ui.LabelInput.prototype.detachEvents_=function()
{this.eventHandler_&&(this.eventHandler_.dispose(),this.eventHandler_=null)};goog.u
i.LabelInput.prototype.disposeInternal=function()
{goog.ui.LabelInput.superClass_.disposeInternal.call(this);this.detachEvents_()};go
og.ui.LabelInput.prototype.labelCssClassName="label-input-label";
goog.ui.LabelInput.prototype.handleFocus_=function(){this.hasFocus_=!0;var
a=this.getElement();goog.asserts.assert(a);goog.dom.classlist.remove(a,this.labelCs
sClassName);goog.ui.LabelInput.isPlaceholderSupported_()||this.hasChanged()||
this.inFocusAndSelect_||(a=this,a.getElement()&&(a.getElement().value=""))};
goog.ui.LabelInput.prototype.handleBlur_=function()
{goog.ui.LabelInput.isPlaceholderSupported_()||
(this.eventHandler_.unlisten(this.getElement(),goog.events.EventType.CLICK,this.han
dleFocus_),this.ffKeyRestoreValue_=null);this.hasFocus_=!1;this.check_()};
goog.ui.LabelInput.prototype.handleEscapeKeys_=function(a)
{27==a.keyCode&&(a.type==goog.events.EventType.KEYDOWN?
this.ffKeyRestoreValue_=this.getElement().value:a.type==goog.events.EventType.KEYPR
ESS?
this.getElement().value=this.ffKeyRestoreValue_:a.type==goog.events.EventType.KEYUP
&&(this.ffKeyRestoreValue_=null),a.preventDefault())};goog.ui.LabelInput.prototype.
handleFormSubmit_=function(){this.hasChanged()||
(this.getElement().value="",goog.Timer.callOnce(this.handleAfterSubmit_,10,this))};
goog.ui.LabelInput.prototype.handleAfterSubmit_=function(){this.hasChanged()||
(this.getElement().value=this.label_)};goog.ui.LabelInput.prototype.handleWindowLoa
d_=function(){this.check_()};goog.ui.LabelInput.prototype.hasFocus=function()
{return this.hasFocus_};goog.ui.LabelInput.prototype.hasChanged=function(){return!!
this.getElement()&&""!=this.getElement().value&&this.getElement().value!
=this.label_};
goog.ui.LabelInput.prototype.clear=function(){this.getElement().value="";null!
=this.ffKeyRestoreValue_&&(this.ffKeyRestoreValue_="")};goog.ui.LabelInput.prototyp
e.reset=function()
{this.hasChanged()&&(this.clear(),this.check_())};goog.ui.LabelInput.prototype.setV
alue=function(a){null!
=this.ffKeyRestoreValue_&&(this.ffKeyRestoreValue_=a);this.getElement().value=a;thi
s.check_()};
goog.ui.LabelInput.prototype.getValue=function(){return null!
=this.ffKeyRestoreValue_?this.ffKeyRestoreValue_:this.hasChanged()?
this.getElement().value:""};goog.ui.LabelInput.prototype.setLabel=function(a){var
b=this.getElement();goog.ui.LabelInput.isPlaceholderSupported_()?
(b&&(b.placeholder=a),this.label_=a):this.hasChanged()||
(b&&(b.value=""),this.label_=a,this.restoreLabel_());b&&goog.a11y.aria.setState(b,g
oog.a11y.aria.State.LABEL,this.label_)};goog.ui.LabelInput.prototype.getLabel=funct
ion(){return this.label_};
goog.ui.LabelInput.prototype.check_=function(){var
a=this.getElement();goog.asserts.assert(a,"The label input element cannot be
null.");goog.ui.LabelInput.isPlaceholderSupported_()?this.getElement().placeholder!
=this.label_&&(this.getElement().placeholder=this.label_):this.attachEventsToForm_(
);goog.a11y.aria.setState(a,goog.a11y.aria.State.LABEL,this.label_);this.hasChanged
()?
(a=this.getElement(),goog.asserts.assert(a),goog.dom.classlist.remove(a,this.labelC
ssClassName)):(this.inFocusAndSelect_||
this.hasFocus_||
(a=this.getElement(),goog.asserts.assert(a),goog.dom.classlist.add(a,this.labelCssC
lassName)),goog.ui.LabelInput.isPlaceholderSupported_()||
goog.Timer.callOnce(this.restoreLabel_,this.labelRestoreDelayMs,this))};goog.ui.Lab
elInput.prototype.setEnabled=function(a){this.getElement().disabled=!a;var
b=this.getElement();goog.asserts.assert(b);goog.dom.classlist.enable(b,this.labelCs
sClassName+"-disabled",!a)};goog.ui.LabelInput.prototype.isEnabled=function()
{return!this.getElement().disabled};
goog.ui.LabelInput.prototype.restoreLabel_=function(){!this.getElement()||
this.hasChanged()||this.hasFocus_||(this.getElement().value=this.label_)};var
module$exports$ocean$chrome$SearchInput=function(a,b,c){c=null!=c?c:"Rechercher
dans ce
livre";goog.ui.LabelInput.call(this,c);this.decorateInternal(a);this.enterDocument(
);b&&this.setValue(b)};
$jscomp.inherits(module$exports$ocean$chrome$SearchInput,goog.ui.LabelInput);var
module$exports$ocean$entitypage$TextViewportSearchManager={TextViewportSearchManage
r:function(a,b,c)
{this.searchResults_=a;this.sortOrder_=b;this.pageInfoSet_=c;this.snippetContainer_
=module$contents$goog$asserts$dom_assertIsElement(goog.dom.getElement("text-
viewport-snippet-
container"));this.htmlDiv_=module$contents$goog$asserts$dom_assertIsHtmlElement(goo
g.dom.getElementByClass("html-div"))}};
module$exports$ocean$entitypage$TextViewportSearchManager.TextViewportSearchManager
.prototype.renderSearchSnippets=function(){var
a=this;this.clearSnippetResults_();this.searchResults_.resultItemArray_.forEach(fun
ction(b,c){var
d=a.pageInfoSet_.getPageInfoByPid(b.getPageId()),e=module$exports$ocean$entitypage$
SearchResultSnippet.SearchResultSnippet.renderTextSnippet(goog.asserts.assertExists
(b),d?d:null);if(e&&b.getPageId()){var f=d?
goog.dom.createElement(goog.dom.TagName.A):goog.dom.createElement(goog.dom.TagName.
DIV);
goog.dom.classlist.add(f,"text-viewport-snippet-link");d?(b=(new
goog.Uri(window.location.href)).removeParameter("jtp").removeParameter("q").setFrag
ment("").setParameterValue("pg",b.getPageId()).setParameterValue("dq",goog.string.u
nescapeEntities(a.searchResults_.getEscapedUserQuery())).setParameterValue("num",c)
.setParameterValue("scoring",a.sortOrder_),module$exports$google3$third_party$javas
cript$safevalues$dom$elements$anchor.setHref(module$contents$goog$asserts$dom_asser
tIsHtmlAnchorElement(f),
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(b.toString()))):(goog.dom.setFocusableTabIndex(f,!
0),goog.a11y.aria.setRole(f,goog.a11y.aria.Role.LINK),goog.a11y.aria.setState(f,goo
g.a11y.aria.State.DISABLED,!
0));goog.dom.appendChild(f,e);goog.dom.appendChild(a.snippetContainer_,f)}})};
module$exports$ocean$entitypage$TextViewportSearchManager.TextViewportSearchManager
.prototype.enableSnippetView=function(a){var b=goog.userAgent.MOBILE?
module$contents$goog$asserts$dom_assertIsHtmlElement(goog.dom.getElement("viewport"
)):this.htmlDiv_;goog.dom.classlist.enable(document.body,"text-viewport-snippet-
view",a);goog.dom.classlist.enable(b,"exit-search-view",!a);a&&(b.scrollTop=0)};
module$exports$ocean$entitypage$TextViewportSearchManager.TextViewportSearchManager
.prototype.clearSnippetResults_=function()
{goog.dom.removeChildren(this.snippetContainer_)};goog.positioning.AbsolutePosition
=function(a,b){this.coordinate=a instanceof goog.math.Coordinate?a:new
goog.math.Coordinate(a,b)};goog.inherits(goog.positioning.AbsolutePosition,goog.pos
itioning.AbstractPosition);goog.positioning.AbsolutePosition.prototype.reposition=f
unction(a,b,c,d)
{goog.positioning.positionAtCoordinate(this.coordinate,a,b,c,null,null,d)};goog.pos
itioning.ViewportPosition=function(a,b){this.coordinate=a instanceof
goog.math.Coordinate?a:new
goog.math.Coordinate(a,b)};goog.inherits(goog.positioning.ViewportPosition,goog.pos
itioning.AbstractPosition);goog.positioning.ViewportPosition.prototype.reposition=f
unction(a,b,c,d)
{goog.positioning.positionAtAnchor(goog.style.getClientViewportElement(a),goog.posi
tioning.Corner.TOP_LEFT,a,b,this.coordinate,c,null,d)};goog.structs.Collection=func
tion(){};goog.structs.Set=function(a){this.map_=new
goog.structs.Map;this.size=0;a&&this.addAll(a)};goog.structs.Set.getUid_=goog.getUi
d;goog.structs.Set.getKey_=function(a){var b=typeof
a;return"object"==b&&a||"function"==b?"o"+goog.getUid(a):b.slice(0,1)+a};goog.struc
ts.Set.prototype.getCount=function(){return
this.map_.size};goog.structs.Set.prototype.add=function(a)
{this.map_.set(goog.structs.Set.getKey_(a),a);this.setSizeInternal_(this.map_.size)
};
goog.structs.Set.prototype.addAll=function(a){a=goog.structs.getValues(a);for(var
b=a.length,c=0;c<b;c+
+)this.add(a[c]);this.setSizeInternal_(this.map_.size)};goog.structs.Set.prototype.
removeAll=function(a){a=goog.structs.getValues(a);for(var b=a.length,c=0;c<b;c+
+)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};goog.structs.Set.prototy
pe.delete=function(a)
{a=this.map_.remove(goog.structs.Set.getKey_(a));this.setSizeInternal_(this.map_.si
ze);return a};goog.structs.Set.prototype.remove=function(a){return this.delete(a)};
goog.structs.Set.prototype.clear=function()
{this.map_.clear();this.setSizeInternal_(0)};goog.structs.Set.prototype.isEmpty=fun
ction(){return 0===this.map_.size};goog.structs.Set.prototype.has=function(a)
{return
this.map_.containsKey(goog.structs.Set.getKey_(a))};goog.structs.Set.prototype.cont
ains=function(a){return this.map_.containsKey(goog.structs.Set.getKey_(a))};
goog.structs.Set.prototype.intersection=function(a){var b=new
goog.structs.Set;a=goog.structs.getValues(a);for(var c=0;c<a.length;c++){var
d=a[c];this.contains(d)&&b.add(d)}return
b};goog.structs.Set.prototype.difference=function(a){var
b=this.clone();b.removeAll(a);return
b};goog.structs.Set.prototype.getValues=function(){return
this.map_.getValues()};goog.structs.Set.prototype.values=function(){return
this.map_.values()};goog.structs.Set.prototype.clone=function(){return new
goog.structs.Set(this)};
goog.structs.Set.prototype.equals=function(a){return
this.getCount()==goog.structs.getCount(a)&&this.isSubsetOf(a)};goog.structs.Set.pro
totype.isSubsetOf=function(a){var
b=goog.structs.getCount(a);if(this.getCount()>b)return!1;!(a instanceof
goog.structs.Set)&&5<b&&(a=new goog.structs.Set(a));return
goog.structs.every(this,function(c){return
goog.structs.contains(a,c)})};goog.structs.Set.prototype.__iterator__=function()
{return this.map_.__iterator__(!1)};
goog.structs.Set.prototype[Symbol.iterator]=function(){return
this.values()};goog.structs.Set.prototype.setSizeInternal_=function(a)
{this.size=a};goog.ui.Tooltip=function(a,b,c){this.dom_=c||(a?
goog.dom.getDomHelper(goog.dom.getElement(a)):goog.dom.getDomHelper());goog.ui.Popu
p.call(this,this.dom_.createDom(goog.dom.TagName.DIV,
{style:"position:absolute;display:none;"}));this.cursorPosition=new
goog.math.Coordinate(1,1);this.elements_=new
goog.structs.Set;this.tooltipFocusHandler_=null;a&&this.attach(a);null!
=b&&this.setText(b)};goog.inherits(goog.ui.Tooltip,goog.ui.Popup);goog.ui.Tooltip.a
ctiveInstances_=[];
goog.ui.Tooltip.prototype.activeEl_=null;goog.ui.Tooltip.prototype.className="goog-
tooltip";goog.ui.Tooltip.prototype.showDelayMs_=500;goog.ui.Tooltip.prototype.hideD
elayMs_=0;goog.ui.Tooltip.State={INACTIVE:0,WAITING_TO_SHOW:1,SHOWING:2,WAITING_TO_
HIDE:3,UPDATING:4};goog.ui.Tooltip.Activation={CURSOR:0,FOCUS:1};goog.ui.Tooltip.pr
ototype.getDomHelper=function(){return this.dom_};
goog.ui.Tooltip.prototype.attach=function(a)
{a=goog.dom.getElement(a);this.elements_.add(a);goog.events.listen(a,goog.events.Ev
entType.MOUSEOVER,this.handleMouseOver,!
1,this);goog.events.listen(a,goog.events.EventType.MOUSEOUT,this.handleMouseOutAndB
lur,!
1,this);goog.events.listen(a,goog.events.EventType.MOUSEMOVE,this.handleMouseMove,!
1,this);goog.events.listen(a,goog.events.EventType.FOCUS,this.handleFocus,!
1,this);goog.events.listen(a,goog.events.EventType.BLUR,this.handleMouseOutAndBlur,
!1,this)};
goog.ui.Tooltip.prototype.detach=function(a)
{if(a)a=goog.dom.getElement(a),this.detachElement_(a),this.elements_.remove(a);else
{for(var b=this.elements_.getValues(),c=0;a=b[c];c+
+)this.detachElement_(a);this.elements_.clear()}};
goog.ui.Tooltip.prototype.detachElement_=function(a)
{goog.events.unlisten(a,goog.events.EventType.MOUSEOVER,this.handleMouseOver,!
1,this);goog.events.unlisten(a,goog.events.EventType.MOUSEOUT,this.handleMouseOutAn
dBlur,!
1,this);goog.events.unlisten(a,goog.events.EventType.MOUSEMOVE,this.handleMouseMove
,!1,this);goog.events.unlisten(a,goog.events.EventType.FOCUS,this.handleFocus,!
1,this);goog.events.unlisten(a,goog.events.EventType.BLUR,this.handleMouseOutAndBlu
r,!1,this)};
goog.ui.Tooltip.prototype.setShowDelayMs=function(a)
{this.showDelayMs_=a};goog.ui.Tooltip.prototype.setHideDelayMs=function(a)
{this.hideDelayMs_=a};goog.ui.Tooltip.prototype.getHideDelayMs=function(){return
this.hideDelayMs_};goog.ui.Tooltip.prototype.setText=function(a)
{goog.dom.setTextContent(this.getElement(),a)};goog.ui.Tooltip.prototype.setSafeHtm
l=function(a){var b=this.getElement();b&&goog.dom.safe.setInnerHtml(b,a)};
goog.ui.Tooltip.prototype.setElement=function(a){var
b=this.getElement();b&&goog.dom.removeNode(b);goog.ui.Tooltip.superClass_.setElemen
t.call(this,a);a?
(b=this.dom_.getDocument().body,b.insertBefore(a,b.lastChild),this.registerContentF
ocusEvents_()):
(module$contents$goog$dispose_dispose(this.tooltipFocusHandler_),this.tooltipFocusH
andler_=null)};
goog.ui.Tooltip.prototype.registerContentFocusEvents_=function()
{module$contents$goog$dispose_dispose(this.tooltipFocusHandler_);this.tooltipFocusH
andler_=new
goog.events.FocusHandler(goog.asserts.assert(this.getElement()));this.registerDispo
sable(this.tooltipFocusHandler_);goog.events.listen(this.tooltipFocusHandler_,goog.
events.FocusHandler.EventType.FOCUSIN,this.clearHideTimer,void
0,this);goog.events.listen(this.tooltipFocusHandler_,goog.events.FocusHandler.Event
Type.FOCUSOUT,this.startHideTimer,
void 0,this)};goog.ui.Tooltip.prototype.getText=function(){return
goog.dom.getTextContent(this.getElement())};goog.ui.Tooltip.prototype.getState=func
tion(){return this.showTimer?this.isVisible()?
goog.ui.Tooltip.State.UPDATING:goog.ui.Tooltip.State.WAITING_TO_SHOW:this.hideTimer
?goog.ui.Tooltip.State.WAITING_TO_HIDE:this.isVisible()?
goog.ui.Tooltip.State.SHOWING:goog.ui.Tooltip.State.INACTIVE};
goog.ui.Tooltip.prototype.isCoordinateInTooltip=function(a){if(!
this.isVisible())return!1;var
b=goog.style.getPageOffset(this.getElement()),c=goog.style.getSize(this.getElement(
));return b.x<=a.x&&a.x<=b.x+c.width&&b.y<=a.y&&a.y<=b.y+c.height};
goog.ui.Tooltip.prototype.onBeforeShow=function(){if(!
goog.ui.PopupBase.prototype.onBeforeShow.call(this))return!1;if(this.anchor)for(var
a,b=0;a=goog.ui.Tooltip.activeInstances_[b];b+
+)goog.dom.contains(a.getElement(),this.anchor)||a.setVisible(!
1);module$contents$goog$array_insert(goog.ui.Tooltip.activeInstances_,this);a=this.
getElement();a.className=this.className;this.clearHideTimer();goog.events.listen(a,
goog.events.EventType.MOUSEOVER,this.handleTooltipMouseOver,!
1,this);goog.events.listen(a,
goog.events.EventType.MOUSEOUT,this.handleTooltipMouseOut,!
1,this);this.clearShowTimer();return!0};
goog.ui.Tooltip.prototype.onHide=function()
{module$contents$goog$array_remove(goog.ui.Tooltip.activeInstances_,this);for(var
a=this.getElement(),b,c=0;b=goog.ui.Tooltip.activeInstances_[c];c+
+)b.anchor&&goog.dom.contains(a,b.anchor)&&b.setVisible(!
1);this.parentTooltip_&&this.parentTooltip_.startHideTimer();goog.events.unlisten(a
,goog.events.EventType.MOUSEOVER,this.handleTooltipMouseOver,!
1,this);goog.events.unlisten(a,goog.events.EventType.MOUSEOUT,this.handleTooltipMou
seOut,!1,this);this.anchor=
void 0;this.getState()==goog.ui.Tooltip.State.INACTIVE&&(this.seenInteraction_=!
1);goog.ui.PopupBase.prototype.onHide.call(this)};goog.ui.Tooltip.prototype.maybeSh
ow=function(a,b)
{this.anchor==a&&this.elements_.contains(this.anchor)&&(this.seenInteraction_||!
this.requireInteraction_?(this.setVisible(!1),this.isVisible()||
this.positionAndShow_(a,b)):this.anchor=void 0);this.showTimer=void
0};goog.ui.Tooltip.prototype.getActiveElement=function(){return this.activeEl_};
goog.ui.Tooltip.prototype.setActiveElement=function(a)
{this.activeEl_=a};goog.ui.Tooltip.prototype.showForElement=function(a,b)
{this.attach(a);this.activeEl_=a;this.positionAndShow_(a,b)};goog.ui.Tooltip.protot
ype.positionAndShow_=function(a,b){this.anchor=a;this.setPosition(b||
this.getPositioningStrategy(goog.ui.Tooltip.Activation.CURSOR));this.setVisible(!
0)};
goog.ui.Tooltip.prototype.maybeHide=function(a){this.hideTimer=void
0;if(a==this.anchor){a=this.getDomHelper();var
b=a.getActiveElement();a=b&&this.getElement()&&a.contains(this.getElement(),b);null
!=this.activeEl_&&(this.activeEl_==this.getElement()||
this.elements_.contains(this.activeEl_))||a||this.hasActiveChild()||
this.setVisible(!1)}};goog.ui.Tooltip.prototype.hasActiveChild=function(){return!(!
this.childTooltip_||!this.childTooltip_.activeEl_)};
goog.ui.Tooltip.prototype.saveCursorPosition_=function(a){var
b=this.dom_.getDocumentScroll();this.cursorPosition.x=a.clientX+b.x;this.cursorPosi
tion.y=a.clientY+b.y};goog.ui.Tooltip.prototype.handleMouseOver=function(a){var
b=this.getAnchorFromElement(a.target);this.activeEl_=b;this.clearHideTimer();b!
=this.anchor&&(this.anchor=b,this.startShowTimer(b),this.checkForParentTooltip_(),t
his.saveCursorPosition_(a))};
goog.ui.Tooltip.prototype.getAnchorFromElement=function(a){try{for(;a&&!
this.elements_.contains(a);)a=a.parentNode;return a}catch(b){return
null}};goog.ui.Tooltip.prototype.handleMouseMove=function(a)
{this.saveCursorPosition_(a);this.seenInteraction_=!0};
goog.ui.Tooltip.prototype.handleFocus=function(a)
{this.activeEl_=a=this.getAnchorFromElement(a.target);this.seenInteraction_=!
0;if(this.anchor!=a){this.anchor=a;var
b=this.getPositioningStrategy(goog.ui.Tooltip.Activation.FOCUS);this.clearHideTimer
();this.startShowTimer(a,b);this.checkForParentTooltip_()}};goog.ui.Tooltip.prototy
pe.getPositioningStrategy=function(a){return a==goog.ui.Tooltip.Activation.CURSOR?
(a=this.cursorPosition.clone(),new goog.ui.Tooltip.CursorTooltipPosition(a)):new
goog.ui.Tooltip.ElementTooltipPosition(this.activeEl_)};
goog.ui.Tooltip.prototype.checkForParentTooltip_=function(){if(this.anchor)for(var
a,b=0;a=goog.ui.Tooltip.activeInstances_[b];b+
+)goog.dom.contains(a.getElement(),this.anchor)&&(a.childTooltip_=this,this.parentT
ooltip_=a)};
goog.ui.Tooltip.prototype.handleMouseOutAndBlur=function(a){var
b=this.getAnchorFromElement(a.target),c=this.getAnchorFromElement(a.relatedTarget);
b!
=c&&(b==this.activeEl_&&(this.activeEl_=null),this.clearShowTimer(),this.seenIntera
ction_=!1,!this.isVisible()||
a.relatedTarget&&goog.dom.contains(this.getElement(),a.relatedTarget)?
this.anchor=void 0:this.startHideTimer())};
goog.ui.Tooltip.prototype.handleTooltipMouseOver=function(){var
a=this.getElement();this.activeEl_!
=a&&(this.clearHideTimer(),this.activeEl_=a)};goog.ui.Tooltip.prototype.handleToolt
ipMouseOut=function(a){var b=this.getElement();this.activeEl_!=b||
a.relatedTarget&&goog.dom.contains(b,a.relatedTarget)||
(this.activeEl_=null,this.startHideTimer())};goog.ui.Tooltip.prototype.startShowTim
er=function(a,b){this.showTimer||
(this.showTimer=goog.Timer.callOnce(goog.bind(this.maybeShow,this,a,b),this.showDel
ayMs_))};
goog.ui.Tooltip.prototype.clearShowTimer=function()
{this.showTimer&&(goog.Timer.clear(this.showTimer),this.showTimer=void
0)};goog.ui.Tooltip.prototype.startHideTimer=function()
{this.getState()==goog.ui.Tooltip.State.SHOWING&&(this.hideTimer=goog.Timer.callOnc
e(goog.bind(this.maybeHide,this,this.anchor),this.getHideDelayMs()))};goog.ui.Toolt
ip.prototype.clearHideTimer=function()
{this.hideTimer&&(goog.Timer.clear(this.hideTimer),this.hideTimer=void 0)};
goog.ui.Tooltip.prototype.disposeInternal=function(){this.setVisible(!
1);this.clearShowTimer();this.detach();this.getElement()&&goog.dom.removeNode(this.
getElement());this.activeEl_=null;delete
this.dom_;goog.ui.Tooltip.superClass_.disposeInternal.call(this)};goog.ui.Tooltip.C
ursorTooltipPosition=function(a,b)
{goog.positioning.ViewportPosition.call(this,a,b)};goog.inherits(goog.ui.Tooltip.Cu
rsorTooltipPosition,goog.positioning.ViewportPosition);
goog.ui.Tooltip.CursorTooltipPosition.prototype.reposition=function(a,b,c)
{b=goog.style.getClientViewportElement(a);b=goog.style.getVisibleRectForElement(b);
c=c?new goog.math.Box(c.top+10,c.right,c.bottom,c.left+10):new
goog.math.Box(10,0,0,10);goog.positioning.positionAtCoordinate(this.coordinate,a,go
og.positioning.Corner.TOP_START,c,b,goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.FAIL_Y)&goog.positioning.OverflowStatus.FAILED&&goog.posi
tioning.positionAtCoordinate(this.coordinate,
a,goog.positioning.Corner.TOP_START,c,b,goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.ADJUST_Y)};goog.ui.Tooltip.ElementTooltipPosition=functio
n(a)
{goog.positioning.AnchoredPosition.call(this,a,goog.positioning.Corner.BOTTOM_RIGHT
)};goog.inherits(goog.ui.Tooltip.ElementTooltipPosition,goog.positioning.AnchoredPo
sition);
goog.ui.Tooltip.ElementTooltipPosition.prototype.reposition=function(a,b,c){var
d=new
goog.math.Coordinate(10,0);goog.positioning.positionAtAnchor(this.element,this.corn
er,a,b,d,c,goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.FAIL_Y)&goog.positioning.OverflowStatus.FAILED&&goog.posi
tioning.positionAtAnchor(this.element,goog.positioning.Corner.TOP_RIGHT,a,goog.posi
tioning.Corner.BOTTOM_LEFT,d,c,goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.ADJUST_Y)};ocean.search.ScrollbarAnnotation=function(a,b)
{goog.events.EventTarget.call(this);this.annotation_=goog.dom.createElement("div");
goog.dom.appendChild(a,this.annotation_);goog.style.setStyle(this.annotation_,
{position:"absolute",backgroundColor:"#b2c4e9",width:"100%",height:"5px",cursor:"po
inter"});this.tooltip_=new
ocean.search.AnnotationTooltip_(this.annotation_,b);goog.events.listen(this.annotat
ion_,"click",goog.bind(this.dispatchEvent,this,"click"));goog.events.listen(this.to
oltip_.getElement(),
"click",goog.bind(this.dispatchEvent,this,"click"));goog.events.listen(this.annotat
ion_,"mouseover",goog.bind(this.setCursorHint_,this,!
0));goog.events.listen(this.annotation_,"mouseout",goog.bind(this.setCursorHint_,th
is,!1))};
$jscomp.inherits(ocean.search.ScrollbarAnnotation,goog.events.EventTarget);ocean.se
arch.ScrollbarAnnotation.prototype.setHighlight=function(a)
{goog.style.setStyle(this.annotation_,
{backgroundColor:a?"#ffcc00":"#b2c4e9"});this.highlighted_=a};
ocean.search.ScrollbarAnnotation.prototype.setCursorHint_=function(a)
{this.highlighted_||goog.style.setStyle(this.annotation_,
{backgroundColor:a?"#ffffcc":"#b2c4e9"})};ocean.search.ScrollbarAnnotation.prototyp
e.setYPosition=function(a)
{goog.style.setPosition(this.annotation_,0,a)};ocean.search.ScrollbarAnnotation.pro
totype.disposeInternal=function()
{this.tooltip_.dispose();goog.events.EventTarget.prototype.disposeInternal.call(thi
s)};
ocean.search.AnnotationTooltip_=function(a,b)
{goog.ui.Tooltip.call(this,a);this.annotationDiv_=a;this.setShowDelayMs(200);this.s
etHideDelayMs(500);a=this.getElement();goog.style.setStyle(a,
{backgroundColor:"#FFF",color:"#333",border:"1px solid
#6b90da",padding:"6px",fontSize:"83%",width:"350px",cursor:"pointer"});var
c=goog.dom.createElement("div");goog.style.setStyle(c,
{fontWeight:"bold"});goog.dom.appendChild(c,goog.dom.createTextNode(module$contents
$ocean$msg_getGooglePrintPageNumber(b.getPageNumber())));
goog.dom.appendChild(a,c);c=goog.dom.createElement("div");module$exports$google3$th
ird_party$javascript$safevalues$dom$elements$element.setInnerHtml(c,module$exports$
google3$third_party$javascript$safevalues$index.sanitizeHtmlAssertUnchanged(b.snipp
etText_));goog.dom.appendChild(a,c)};
$jscomp.inherits(ocean.search.AnnotationTooltip_,goog.ui.Tooltip);
ocean.search.AnnotationTooltip_.prototype.maybeShow=function(a){var
b=goog.style.getPageOffset(this.annotationDiv_),c=goog.style.getSize(this.getElemen
t()),d=goog.dom.getViewportSize();goog.ui.Tooltip.prototype.maybeShow.call(this,a,n
ew goog.positioning.AbsolutePosition(b.x-c.width,Math.min(b.y,d.height-
c.height)))};ocean.util.ScrollbarStyle={};var
module$contents$ocean$util$ScrollbarStyle_getVerticalMarginTop=function(){return
goog.userAgent.MAC?
5:15},module$contents$ocean$util$ScrollbarStyle_getVerticalMarginBottom=function()
{return goog.userAgent.MAC?
30:15};ocean.util.ScrollbarStyle.getVerticalMarginBottom=module$contents$ocean$util
$ScrollbarStyle_getVerticalMarginBottom;ocean.util.ScrollbarStyle.getVerticalMargin
Top=module$contents$ocean$util$ScrollbarStyle_getVerticalMarginTop;var
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar=function(a,b,c)
{module$contents$ocean$EventManager_EventManager.call(this);var
d=this;this.viewer_=a;this.searchResults_=b;this.goToResultCallback_=c;this.annotat
ions_={};this.viewportEventHandler_=new
goog.events.EventHandler;this.annotationOverlay_=goog.dom.createElement("div");goog
.style.setStyle(this.annotationOverlay_,
{backgroundColor:"#fcfcff",position:"absolute"});goog.dom.appendChild(this.viewer_.
controlsDiv_,this.annotationOverlay_);
a=this.searchResults_.resultItemArray_;a.forEach(function(e)
{d.createAnnotation_(e)});this.getHandler().listen(this.viewer_,ocean.viewport.View
er.EventType.PAGECHANGE,this.updateHighlight_);this.updateHighlight_();this.getHand
ler().listen(this.viewer_,ocean.viewport.Viewer.EventType.RESIZE,this.schedulePosit
ion_);this.getHandler().listen(this.viewer_,ocean.viewport.Viewer.EventType.VIEWPOR
TMODECHANGE,this.handleViewportModeChange_);
(a=this.viewer_.getViewport())&&this.handleViewportModeChange_()};
$jscomp.inherits(module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar
,module$contents$ocean$EventManager_EventManager);module$contents$ocean$search$Anno
tatedScrollbar_AnnotatedScrollbar.prototype.updateHighlight_=function()
{this.highlightedAnnotation_&&(this.highlightedAnnotation_.setHighlight(!
1),this.highlightedAnnotation_=null);var
a=this.annotations_[this.viewer_.getPageInfo().getPageId()];a&&(this.highlightedAnn
otation_=a,a.setHighlight(!0))};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.handle
ViewportModeChange_=function(){var a=this,b=this.viewer_.getViewport(),c=b
instanceof
ocean.books.VerticalViewport;c&&this.schedulePosition_();this.viewportEventHandler_
.removeAll();this.viewportEventHandler_.listen(b,ocean.viewport.Viewport.EventType.
LAYOUTCHANGE,function()
{a.schedulePosition_()});goog.style.setElementShown(this.annotationOverlay_,c)};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.schedu
lePosition_=function(){var a=this;goog.Timer.callOnce(function()
{a.position_()},10)};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.positi
on_=function(){var a=this.viewer_.getViewport();a&&a instanceof
ocean.books.VerticalViewport&&(a=a.getWindow().getCroppingDiv(),goog.style.setSize(
this.annotationOverlay_,module$contents$ocean$search$AnnotatedScrollbar_AnnotatedSc
rollbar.WIDTH_,a.clientHeight),goog.style.setPosition(this.annotationOverlay_,a.cli
entWidth-
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.WIDTH_,0),this.p
ositionSearchResults_())};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.positi
onSearchResults_=function(){var
a=this,b=this.viewer_.getViewport();b=b.layout_.getItems(function(d){return d
instanceof module$contents$ocean$layout$LayoutPage_LayoutPage});var
c={};b.forEach(function(d)
{c[d.getPageInfo().getPageId()]=d});b=this.searchResults_.resultItemArray_;b.forEac
h(function(d){a.positionResult_(c,d)})};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.positi
onResult_=function(a,b){var
c=this.viewer_.getViewport();c=c.getCanvasDiv().clientHeight;if(a=a[b.getPageId()])
{var
d=module$contents$ocean$util$ScrollbarStyle_getVerticalMarginTop(),e=module$content
s$ocean$util$ScrollbarStyle_getVerticalMarginBottom();e=this.annotationOverlay_.cli
entHeight-d-e;c=Math.floor(a.getTop()/c*e)
+d;this.annotations_[b.getPageId()].setYPosition(c)}};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.create
Annotation_=function(a){var b=this,c=new
ocean.search.ScrollbarAnnotation(this.annotationOverlay_,a);this.annotations_[a.get
PageId()]=c;this.getHandler().listen(c,"click",function()
{b.goToResultCallback_(a)})};
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar.prototype.dispos
eInternal=function()
{goog.dom.removeNode(this.annotationOverlay_);module$contents$goog$object_forEach(t
his.annotations_,function(a)
{a.disposeInternal.call(a)});module$contents$ocean$EventManager_EventManager.protot
ype.disposeInternal.call(this)};module$contents$ocean$search$AnnotatedScrollbar_Ann
otatedScrollbar.WIDTH_=15;ocean.search.AnnotatedScrollbar=module$contents$ocean$sea
rch$AnnotatedScrollbar_AnnotatedScrollbar;var
module$exports$ocean$search$SearchSession={SearchSession:function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.manager_=a;this.so
rt_=module$exports$ocean$search$SearchSessionSortOrder.SearchSessionSortOrder.PAGES
}};
$jscomp.inherits(module$exports$ocean$search$SearchSession.SearchSession,module$con
tents$ocean$EventManager_EventManager);
module$exports$ocean$search$SearchSession.SearchSession.prototype.initializeWithQue
ry=function(a,b){var c=this;this.manager_.searchBar_.renderLoading();var d=new
goog.Uri(window.location.href);d.setParameterValue("jscmd","SearchWithinVolume");d.
setParameterValue("q",a);d.setParameterValue("scoring",b);a=new
module$contents$ocean$net$XhrRequest_XhrRequest(d);a.fetch(function(e)
{c.initializeWithProto(!1,e)});this.sort_=b};
module$exports$ocean$search$SearchSession.SearchSession.prototype.initializeWithPro
to=function(a,b,c,d){var
e=this;b.search_results&&(b.search_results=module$contents$goog$array_filter(b.sear
ch_results,function(g){return void 0!
==g.snippet_text&&g.snippet_text}),b.number_of_results=b.search_results.length);thi
s.searchResults_=new
module$contents$ocean$books$SearchResults_SearchResults(b);ocean.entitypage.Util.is
OutputTextViewport()&&(d&&(this.sort_=d),b=goog.asserts.assertExists(this.manager_.
viewer_.pageInfoSet_),
this.textViewportSearchManager_=new
module$exports$ocean$entitypage$TextViewportSearchManager.TextViewportSearchManager
(this.searchResults_,this.sort_,b));b=this.manager_.viewer_;b.getViewportClass()||
b.setViewportClass(ocean.books.VerticalViewport);d=this.searchResults_.resultItemAr
ray_;var f=d.length;0==f?this.manager_.searchBar_.renderNoResults():a?c?
(a=d.find(function(g){return c==g.getPageId()}))?
this.goToResult(a):this.goToResult(d[0],c):this.goToResult(d[0]):this.renderAllResu
lts();this.scrollbar_=
new
module$contents$ocean$search$AnnotatedScrollbar_AnnotatedScrollbar(b,this.searchRes
ults_,function(g){e.goToResult(g)})};
module$exports$ocean$search$SearchSession.SearchSession.prototype.renderAllResults=
function(){var a=this,b=this.manager_.viewer_,c=b.getViewportClass();c!
=ocean.books.VerticalViewport&&c!=ocean.books.TwoPageViewport||
this.manager_.setPreviousViewportClass(c);b.setViewportClass(ocean.search.SnippetVi
ewport);b=b.getViewport();this.manager_.searchBar_.renderSnippetView();ocean.entity
page.Util.isOutputTextViewport()?
(this.textViewportSearchManager_.renderSearchSnippets(),this.textViewportSearchMana
ger_.enableSnippetView(!0)):
(b.setSearchResults(this.searchResults_),b.setGoToResultFunction(function(d,e)
{return a.goToResult(goog.asserts.assertExists(d),e)}),b.setScroll(new
goog.math.Coordinate(0,0)))};
module$exports$ocean$search$SearchSession.SearchSession.prototype.goToResult=functi
on(a,b,c)
{module$contents$ocean$viewport$DocumentViewport_DocumentViewport.enableSearchAutoU
pdate(!0);this.manager_.searchBar_.renderResult(a);var
d=this.manager_.viewer_;a=d.pageInfoSet_.getPageInfoByPid(a.getPageId());if(!
a)return null;var e=d.getViewport();e instanceof ocean.books.VerticalViewport||e
instanceof ocean.books.TwoPageViewport||
(e=this.manager_.previousViewportClass_,e==ocean.books.TwoPageViewport?
d.setViewportClass(ocean.books.TwoPageViewport):
d.setViewportClass(ocean.books.VerticalViewport));if(b)return
d.setPageId(b),null;if(c)return
d.goToPageLabel(c),null;d.goToSearchResult(a);return
a};module$exports$ocean$search$SearchSession.SearchSession.prototype.endSession=fun
ction()
{this.manager_.viewer_.searchState_.setQuery("");ocean.entitypage.Util.isOutputText
Viewport()&&this.textViewportSearchManager_.enableSnippetView(!1)};
module$exports$ocean$search$SearchSession.SearchSession.prototype.disposeInternal=f
unction()
{module$contents$goog$dispose_dispose(this.scrollbar_);module$contents$ocean$EventM
anager_EventManager.prototype.disposeInternal.call(this)};ocean.util.uri={};
var module$contents$ocean$util$uri_BASE_URL_ARGS_TO_CARRY="ganpub ganclk dapp
source_ip source_country source_domain authuser".split("
"),module$contents$ocean$util$uri_setDefaultParameters=function(a,b){b=void 0===b?
window.location.href:b;var c=new goog.Uri(b);a.setParameterValue("hl","fr");
(b=c.getParameterValue("output"))&&a.setParameterValue("output",b);b=c.getParameter
Value("source");"ge-ipad-app"==b?
(a.setParameterValue("dapp","2"),a.removeParameter("output")):"ge-tablet-app"==b?
(a.setParameterValue("dapp",
"4"),a.removeParameter("output")):"ge-ip-app"==b?
a.setParameterValue("dapp","1"):"ge-android-
app"==b&&a.setParameterValue("dapp","3");c.getParameterValue("authuser")||
a.removeParameter("authuser");module$contents$ocean$util$uri_BASE_URL_ARGS_TO_CARRY
.forEach(function(d){var
e=c.getParameterValue(d);e&&a.setParameterValue(d,e)})},module$contents$ocean$util$
uri_getAcsHelpUrl=function(a){var b=new
goog.Uri(window.location.href);b=b.getPath().split("/");goog.asserts.assert(b.lengt
h,"Must have at least one entry for path");
goog.asserts.assert(b[1].match(/(e|)books/),"Path start should either be books or
ebooks");b=new
goog.Uri("/"+b[1]);module$contents$ocean$util$uri_setDefaultParameters(b);b.setPara
meterValue("output","acs_help");b.setParameterValue("id",a);return
b.toString()},module$contents$ocean$util$uri_maybeAddLangParam=function(a){var
b=new goog.Uri(window.location.href);a=new goog.Uri(a);return
b.getParameterValue("hl")?
a.setParameterValue("hl",b.getParameterValue("hl")).toString():a.setParameterValue(
"hl",
"fr").toString()};ocean.util.uri.BASE_URL_ARGS_TO_CARRY=module$contents$ocean$util$
uri_BASE_URL_ARGS_TO_CARRY;ocean.util.uri.getAcsHelpUrl=module$contents$ocean$util$
uri_getAcsHelpUrl;ocean.util.uri.maybeAddLangParam=module$contents$ocean$util$uri_m
aybeAddLangParam;ocean.util.uri.setDefaultParameters=module$contents$ocean$util$uri
_setDefaultParameters;goog.dom.Attr={ACCEPT:"accept",ACCEPT_CHARSET:"accept-
charset",ACCESSKEY:"accesskey",ACTION:"action",ALIGN:"align",ALT:"alt",ARIA_ACTIVED
ESCENDANT:"aria-activedescendant",ARIA_ATOMIC:"aria-
atomic",ARIA_AUTOCOMPLETE:"aria-autocomplete",ARIA_BUSY:"aria-
busy",ARIA_CHECKED:"aria-checked",ARIA_COLCOUNT:"aria-
colcount",ARIA_COLINDEX:"aria-colindex",ARIA_COLSPAN:"aria-
colspan",ARIA_CONTROLS:"aria-controls",ARIA_CURRENT:"aria-
current",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_DETAILS:"aria-
details",ARIA_DISABLED:"aria-disabled",
ARIA_DROPEFFECT:"aria-dropeffect",ARIA_ERRORMESSAGE:"aria-
errormessage",ARIA_EXPANDED:"aria-expanded",ARIA_FLOWTO:"aria-
flowto",ARIA_GRABBED:"aria-grabbed",ARIA_HASPOPUP:"aria-
haspopup",ARIA_HIDDEN:"aria-hidden",ARIA_INVALID:"aria-
invalid",ARIA_KEYSHORTCUTS:"aria-keyshortcuts",ARIA_LABEL:"aria-
label",ARIA_LABELLEDBY:"aria-labelledby",ARIA_LEVEL:"aria-level",ARIA_LIVE:"aria-
live",ARIA_MODAL:"aria-modal",ARIA_MULTILINE:"aria-
multiline",ARIA_MULTISELECTABLE:"aria-multiselectable",ARIA_ORIENTATION:"aria-
orientation",
ARIA_OWNS:"aria-owns",ARIA_PLACEHOLDER:"aria-placeholder",ARIA_POSINSET:"aria-
posinset",ARIA_PRESSED:"aria-pressed",ARIA_READONLY:"aria-
readonly",ARIA_RELEVANT:"aria-relevant",ARIA_REQUIRED:"aria-
required",ARIA_ROLEDESCRIPTION:"aria-roledescription",ARIA_ROWCOUNT:"aria-
rowcount",ARIA_ROWINDEX:"aria-rowindex",ARIA_ROWSPAN:"aria-
rowspan",ARIA_SELECTED:"aria-selected",ARIA_SETSIZE:"aria-setsize",ARIA_SORT:"aria-
sort",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-
valuemin",ARIA_VALUENOW:"aria-valuenow",
ARIA_VALUETEXT:"aria-
valuetext",ASYNC:"async",AUTOCOMPLETE:"autocomplete",AUTOFOCUS:"autofocus",AUTOPLAY
:"autoplay",AUTOSAVE:"autosave",BGCOLOR:"bgcolor",BORDER:"border",BUFFERED:"buffere
d",CHALLENGE:"challenge",CELLPADDING:"cellpadding",CELLSPACING:"cellspacing",CHARSE
T:"charset",CHECKED:"checked",CITE:"cite",CLASS:"class",CODE:"code",CODEBASE:"codeb
ase",COLOR:"color",COLS:"cols",COLSPAN:"colspan",CONTENT:"content",CONTENTEDITABLE:
"contenteditable",CONTEXTMENU:"contextmenu",CONTROLS:"controls",COORDS:"coords",
DATA:"data",DATETIME:"datetime",DEFAULT:"default",DEFER:"defer",DIR:"dir",DIRNAME:"
dirname",DISABLED:"disabled",DOWNLOAD:"download",DRAGGABLE:"draggable",DROPZONE:"dr
opzone",ENCTYPE:"enctype",FOR:"for",FORM:"form",FORMACTION:"formaction",HEADERS:"he
aders",HEIGHT:"height",HIDDEN:"hidden",HIGH:"high",HREF:"href",HREFLANG:"hreflang",
HTTP_EQUIV:"http-
equiv",ICON:"icon",ID:"id",ISMAP:"ismap",ITEMPROP:"itemprop",KEYTYPE:"keytype",KIND
:"kind",LABEL:"label",LANG:"lang",LANGUAGE:"language",LIST:"list",LOOP:"loop",
LOW:"low",MANIFEST:"manifest",MAX:"max",MAXLENGTH:"maxlength",MEDIA:"media",METHOD:
"method",MIN:"min",MULTIPLE:"multiple",MUTED:"muted",NAME:"name",NOVALIDATE:"novali
date",ONBLUR:"onblur",ONCHANGE:"onchange",ONCLICK:"onclick",ONDBLCLICK:"ondblclick"
,ONFOCUS:"onfocus",ONKEYDOWN:"onkeydown",ONKEYPRESS:"onkeypress",ONKEYUP:"onkeyup",
ONLOAD:"onload",ONMOUSEDOWN:"onmousedown",ONMOUSEMOVE:"onmousemove",ONMOUSEOUT:"onm
ouseout",ONMOUSEOVER:"onmouseover",ONMOUSEUP:"onmouseup",ONRESET:"onreset",ONSELECT
:"onselect",
ONSUBMIT:"onsubmit",ONUNLOAD:"onunload",OPEN:"open",OPTIMUM:"optimum",PATTERN:"patt
ern",PING:"ping",PLACEHOLDER:"placeholder",POSTER:"poster",PRELOAD:"preload",RADIOG
ROUP:"radiogroup",READONLY:"readonly",REL:"rel",REQUIRED:"required",REVERSED:"rever
sed",ROLE:"role",ROWS:"rows",ROWSPAN:"rowspan",SANDBOX:"sandbox",SCOPE:"scope",SCOP
ED:"scoped",SEAMLESS:"seamless",SELECTED:"selected",SHAPE:"shape",SIZE:"size",SIZES
:"sizes",SPAN:"span",SPELLCHECK:"spellcheck",SRC:"src",SRCDOC:"srcdoc",SRCLANG:"src
lang",
SRCSET:"srcset",START:"start",STEP:"step",STYLE:"style",SUMMARY:"summary",TABINDEX:
"tabindex",TARGET:"target",TITLE:"title",TRANSLATE:"translate",TYPE:"type",USEMAP:"
usemap",VALUE:"value",WIDTH:"width",WRAP:"wrap"};goog.ui.MenuItemRenderer=function(
)
{this.classNameCache_=[]};goog.inherits(goog.ui.MenuItemRenderer,goog.ui.ControlRen
derer);goog.addSingletonGetter(goog.ui.MenuItemRenderer);goog.ui.MenuItemRenderer.C
SS_CLASS="goog-
menuitem";goog.ui.MenuItemRenderer.CompositeCssClassIndex_={HOVER:0,CHECKBOX:1,CONT
ENT:2};
goog.ui.MenuItemRenderer.prototype.getCompositeCssClass_=function(a){var
b=this.classNameCache_[a];if(!b){switch(a){case
goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER:b=this.getStructuralCssClass
()+"-highlight";break;case
goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHECKBOX:b=this.getStructuralCssCl
ass()+"-checkbox";break;case
goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTENT:b=this.getStructuralCssCla
ss()+"-content"}this.classNameCache_[a]=b}return b};
goog.ui.MenuItemRenderer.prototype.getAriaRole=function(){return
goog.a11y.aria.Role.MENUITEM};goog.ui.MenuItemRenderer.prototype.createDom=function
(a){var
b=a.getDomHelper().createDom(goog.dom.TagName.DIV,this.getClassNames(a).join("
"),this.createContent(a.getContent(),a.getDomHelper()));this.setEnableCheckBoxStruc
ture(a,b,a.isSupportedState(goog.ui.Component.State.SELECTED)||
a.isSupportedState(goog.ui.Component.State.CHECKED));return b};
goog.ui.MenuItemRenderer.prototype.getContentElement=function(a){return
a&&a.firstChild};goog.ui.MenuItemRenderer.prototype.decorate=function(a,b)
{goog.asserts.assert(b);this.hasContentStructure(b)||
b.appendChild(this.createContent(b.childNodes,a.getDomHelper()));goog.dom.classlist
.contains(b,"goog-option")&&(a.setCheckable(!0),this.setCheckable(a,b,!0));return
goog.ui.MenuItemRenderer.superClass_.decorate.call(this,a,b)};
goog.ui.MenuItemRenderer.prototype.setContent=function(a,b){var
c=this.getContentElement(a),d=this.hasCheckBoxStructure(a)?
c.firstChild:null;goog.ui.MenuItemRenderer.superClass_.setContent.call(this,a,b);d&
&!this.hasCheckBoxStructure(a)&&c.insertBefore(d,c.firstChild||null)};
goog.ui.MenuItemRenderer.prototype.hasContentStructure=function(a)
{a=goog.dom.getFirstElementChild(a);var
b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTE
NT);return!!
a&&goog.dom.classlist.contains(a,b)};goog.ui.MenuItemRenderer.prototype.createConte
nt=function(a,b){var
c=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTE
NT);return b.createDom(goog.dom.TagName.DIV,c,a)};
goog.ui.MenuItemRenderer.prototype.setSelectable=function(a,b,c)
{a&&b&&this.setEnableCheckBoxStructure(a,b,c)};goog.ui.MenuItemRenderer.prototype.s
etCheckable=function(a,b,c)
{a&&b&&this.setEnableCheckBoxStructure(a,b,c)};goog.ui.MenuItemRenderer.prototype.h
asCheckBoxStructure=function(a){if(a=this.getContentElement(a)){a=a.firstChild;var
b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHECK
BOX);return!!a&&goog.dom.isElement(a)&&goog.dom.classlist.contains(a,b)}return!1};
goog.ui.MenuItemRenderer.prototype.setEnableCheckBoxStructure=function(a,b,c)
{this.setAriaRole(b,a.getPreferredAriaRole());this.setAriaStates(a,b);c!
=this.hasCheckBoxStructure(b)&&(goog.dom.classlist.enable(b,"goog-
option",c),b=this.getContentElement(b),c?
(c=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHEC
KBOX),b.insertBefore(a.getDomHelper().createDom(goog.dom.TagName.DIV,c),b.firstChil
d||null)):b.removeChild(b.firstChild))};
goog.ui.MenuItemRenderer.prototype.getClassForState=function(a){switch(a){case
goog.ui.Component.State.HOVER:return
this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER);
case goog.ui.Component.State.CHECKED:case
goog.ui.Component.State.SELECTED:return"goog-option-selected";default:return
goog.ui.MenuItemRenderer.superClass_.getClassForState.call(this,a)}};
goog.ui.MenuItemRenderer.prototype.getStateFromClass=function(a){var
b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER
);switch(a){case "goog-option-selected":return goog.ui.Component.State.CHECKED;case
b:return goog.ui.Component.State.HOVER;default:return
goog.ui.MenuItemRenderer.superClass_.getStateFromClass.call(this,a)}};goog.ui.MenuI
temRenderer.prototype.getCssClass=function(){return
goog.ui.MenuItemRenderer.CSS_CLASS};goog.ui.MenuItem=function(a,b,c,d)
{goog.ui.Control.call(this,a,d||
goog.ui.MenuItemRenderer.getInstance(),c);this.setValue(b)};goog.inherits(goog.ui.M
enuItem,goog.ui.Control);goog.ui.MenuItem.MNEMONIC_WRAPPER_CLASS_="goog-menuitem-
mnemonic-separator";goog.ui.MenuItem.ACCELERATOR_CLASS="goog-menuitem-
accel";goog.ui.MenuItem.prototype.getValue=function(){var a=this.model_;return
null!=a?a:this.getCaption()};goog.ui.MenuItem.prototype.setValue=function(a)
{this.setModel(a)};
goog.ui.MenuItem.prototype.setSupportedState=function(a,b)
{goog.ui.MenuItem.superClass_.setSupportedState.call(this,a,b);switch(a){case
goog.ui.Component.State.SELECTED:this.setSelectableInternal_(b);break;case
goog.ui.Component.State.CHECKED:this.setCheckableInternal_(b)}};goog.ui.MenuItem.pr
ototype.setSelectable=function(a)
{this.setSupportedState(goog.ui.Component.State.SELECTED,a)};
goog.ui.MenuItem.prototype.setSelectableInternal_=function(a){this.isChecked()&&!
a&&this.setChecked(!1);var
b=this.getElement();b&&this.renderer_.setSelectable(this,b,a)};goog.ui.MenuItem.pro
totype.setCheckable=function(a)
{this.setSupportedState(goog.ui.Component.State.CHECKED,a)};goog.ui.MenuItem.protot
ype.setCheckableInternal_=function(a){var
b=this.getElement();b&&this.renderer_.setCheckable(this,b,a)};
goog.ui.MenuItem.prototype.getCaption=function(){var
a=this.getContent();if(Array.isArray(a)){var
b=goog.ui.MenuItem.ACCELERATOR_CLASS,c=goog.ui.MenuItem.MNEMONIC_WRAPPER_CLASS_;a=m
odule$contents$goog$array_map(a,function(d){return
goog.dom.isElement(d)&&(goog.dom.classlist.contains(d,b)||
goog.dom.classlist.contains(d,c))?"":goog.dom.getRawTextContent(d)}).join("");retur
n goog.string.collapseBreakingSpaces(a)}return
goog.ui.MenuItem.superClass_.getCaption.call(this)};
goog.ui.MenuItem.prototype.handleMouseUp=function(a){var b=this.getParent();if(b)
{var c=b.openingCoords;b.openingCoords=null;if(c&&"number"===typeof
a.clientX&&(b=new
goog.math.Coordinate(a.clientX,a.clientY),goog.math.Coordinate.equals(c,b)))return}
goog.ui.MenuItem.superClass_.handleMouseUp.call(this,a)};
goog.ui.MenuItem.prototype.handleKeyEventInternal=function(a){return
a.keyCode==this.mnemonicKey_&&this.performActionInternal(a)?!
0:goog.ui.MenuItem.superClass_.handleKeyEventInternal.call(this,a)};goog.ui.MenuIte
m.prototype.getMnemonic=function(){return
this.mnemonicKey_};goog.ui.registry.setDecoratorByClassName(goog.ui.MenuItemRendere
r.CSS_CLASS,function(){return new goog.ui.MenuItem(null)});
goog.ui.MenuItem.prototype.getPreferredAriaRole=function(){return
this.isSupportedState(goog.ui.Component.State.CHECKED)?
goog.a11y.aria.Role.MENUITEMCHECKBOX:this.isSupportedState(goog.ui.Component.State.
SELECTED)?
goog.a11y.aria.Role.MENUITEMRADIO:goog.ui.MenuItem.superClass_.getPreferredAriaRole
.call(this)};goog.ui.MenuItem.prototype.getParent=function(){return
goog.ui.Control.prototype.getParent.call(this)};goog.ui.MenuItem.prototype.getParen
tEventTarget=function(){return
goog.ui.Control.prototype.getParentEventTarget.call(this)};goog.positioning.MenuAnc
horedPosition=function(a,b,c,d)
{goog.positioning.AnchoredViewportPosition.call(this,a,b,c||d);if(c||
d)a=goog.positioning.Overflow.ADJUST_X_EXCEPT_OFFSCREEN,d=d?
goog.positioning.Overflow.RESIZE_HEIGHT:goog.positioning.Overflow.ADJUST_Y_EXCEPT_O
FFSCREEN,this.setLastResortOverflow(a|
d)};goog.inherits(goog.positioning.MenuAnchoredPosition,goog.positioning.AnchoredVi
ewportPosition);goog.ui.MenuHeaderRenderer=function()
{};goog.inherits(goog.ui.MenuHeaderRenderer,goog.ui.ControlRenderer);goog.addSingle
tonGetter(goog.ui.MenuHeaderRenderer);goog.ui.MenuHeaderRenderer.CSS_CLASS="goog-
menuheader";goog.ui.MenuHeaderRenderer.prototype.getCssClass=function(){return
goog.ui.MenuHeaderRenderer.CSS_CLASS};goog.ui.MenuHeader=function(a,b,c)
{goog.ui.Control.call(this,a,c||
goog.ui.MenuHeaderRenderer.getInstance(),b);this.setSupportedState(goog.ui.Componen
t.State.DISABLED,!1);this.setSupportedState(goog.ui.Component.State.HOVER,!
1);this.setSupportedState(goog.ui.Component.State.ACTIVE,!
1);this.setSupportedState(goog.ui.Component.State.FOCUSED,!
1);this.setStateInternal(goog.ui.Component.State.DISABLED)};goog.inherits(goog.ui.M
enuHeader,goog.ui.Control);
goog.ui.registry.setDecoratorByClassName(goog.ui.MenuHeaderRenderer.CSS_CLASS,funct
ion(){return new
goog.ui.MenuHeader(null)});goog.ui.MenuSeparatorRenderer=function()
{};goog.inherits(goog.ui.MenuSeparatorRenderer,goog.ui.ControlRenderer);goog.addSin
gletonGetter(goog.ui.MenuSeparatorRenderer);goog.ui.MenuSeparatorRenderer.CSS_CLASS
="goog-menuseparator";goog.ui.MenuSeparatorRenderer.prototype.createDom=function(a)
{return a.getDomHelper().createDom(goog.dom.TagName.DIV,this.getCssClass())};
goog.ui.MenuSeparatorRenderer.prototype.decorate=function(a,b)
{b.id&&a.setId(b.id);if(b.tagName==goog.dom.TagName.HR){var
c=b;b=this.createDom(a);goog.dom.insertSiblingBefore(b,c);goog.dom.removeNode(c)}el
se goog.dom.classlist.add(b,this.getCssClass());return
b};goog.ui.MenuSeparatorRenderer.prototype.setContent=function()
{};goog.ui.MenuSeparatorRenderer.prototype.getCssClass=function(){return
goog.ui.MenuSeparatorRenderer.CSS_CLASS};goog.ui.Separator=function(a,b)
{goog.ui.Control.call(this,null,a||
goog.ui.MenuSeparatorRenderer.getInstance(),b);this.setSupportedState(goog.ui.Compo
nent.State.DISABLED,!1);this.setSupportedState(goog.ui.Component.State.HOVER,!
1);this.setSupportedState(goog.ui.Component.State.ACTIVE,!
1);this.setSupportedState(goog.ui.Component.State.FOCUSED,!
1);this.setStateInternal(goog.ui.Component.State.DISABLED)};goog.inherits(goog.ui.S
eparator,goog.ui.Control);
goog.ui.Separator.prototype.enterDocument=function()
{goog.ui.Separator.superClass_.enterDocument.call(this);var
a=this.getElement();goog.asserts.assert(a,"The DOM element for the separator cannot
be
null.");goog.a11y.aria.setRole(a,"separator")};goog.ui.registry.setDecoratorByClass
Name(goog.ui.MenuSeparatorRenderer.CSS_CLASS,function(){return new
goog.ui.Separator});goog.ui.MenuRenderer=function(a)
{goog.ui.ContainerRenderer.call(this,a||
goog.a11y.aria.Role.MENU)};goog.inherits(goog.ui.MenuRenderer,goog.ui.ContainerRend
erer);goog.addSingletonGetter(goog.ui.MenuRenderer);goog.ui.MenuRenderer.CSS_CLASS=
"goog-menu";goog.ui.MenuRenderer.prototype.canDecorate=function(a){return
a.tagName==goog.dom.TagName.UL||
goog.ui.MenuRenderer.superClass_.canDecorate.call(this,a)};
goog.ui.MenuRenderer.prototype.getDecoratorForChild=function(a){return
a.tagName==goog.dom.TagName.HR?new
goog.ui.Separator:goog.ui.MenuRenderer.superClass_.getDecoratorForChild.call(this,a
)};goog.ui.MenuRenderer.prototype.containsElement=function(a,b){return
goog.dom.contains(a.getElement(),b)};goog.ui.MenuRenderer.prototype.getCssClass=fun
ction(){return goog.ui.MenuRenderer.CSS_CLASS};
goog.ui.MenuRenderer.prototype.initializeDom=function(a)
{goog.ui.MenuRenderer.superClass_.initializeDom.call(this,a);a=a.getElement();goog.
asserts.assert(a,"The menu DOM element cannot be
null.");goog.a11y.aria.setState(a,goog.a11y.aria.State.HASPOPUP,"true")};goog.ui.Me
nuSeparator=function(a)
{goog.ui.Separator.call(this,goog.ui.MenuSeparatorRenderer.getInstance(),a)};goog.i
nherits(goog.ui.MenuSeparator,goog.ui.Separator);goog.ui.registry.setDecoratorByCla
ssName(goog.ui.MenuSeparatorRenderer.CSS_CLASS,function(){return new
goog.ui.Separator});goog.ui.Menu=function(a,b)
{goog.ui.Container.call(this,goog.ui.Container.Orientation.VERTICAL,b||
goog.ui.MenuRenderer.getInstance(),a);this.setFocusable(!
1)};goog.inherits(goog.ui.Menu,goog.ui.Container);goog.ui.Menu.EventType={BEFORE_SH
OW:goog.ui.Component.EventType.BEFORE_SHOW,SHOW:goog.ui.Component.EventType.SHOW,BE
FORE_HIDE:goog.ui.Component.EventType.HIDE,HIDE:goog.ui.Component.EventType.HIDE};g
oog.ui.Menu.CSS_CLASS=goog.ui.MenuRenderer.CSS_CLASS;goog.ui.Menu.prototype.allowAu
toFocus_=!0;
goog.ui.Menu.prototype.allowHighlightDisabled_=!
1;goog.ui.Menu.prototype.getCssClass=function(){return
this.renderer_.getCssClass()};goog.ui.Menu.prototype.containsElement=function(a)
{if(this.renderer_.containsElement(this,a))return!0;for(var
b=0,c=this.getChildCount();b<c;b++){var d=this.getChildAt(b);if("function"==typeof
d.containsElement&&d.containsElement(a))return!0}return!
1};goog.ui.Menu.prototype.addItem=function(a){this.addChild(a,!0)};
goog.ui.Menu.prototype.addItemAt=function(a,b){this.addChildAt(a,b,!
0)};goog.ui.Menu.prototype.removeItem=function(a){(a=this.removeChild(a,!
0))&&a.dispose()};goog.ui.Menu.prototype.getItemAt=function(a){return
this.getChildAt(a)};goog.ui.Menu.prototype.getItemCount=function(){return
this.getChildCount()};goog.ui.Menu.prototype.getItems=function(){var
a=[];this.forEachChild(function(b){a.push(b)});return a};
goog.ui.Menu.prototype.setPosition=function(a,b){var c=this.isVisible();c||
goog.style.setElementShown(this.getElement(),!
0);goog.style.setPageOffset(this.getElement(),a,b);c||
goog.style.setElementShown(this.getElement(),!
1)};goog.ui.Menu.prototype.getPosition=function(){return this.isVisible()?
goog.style.getPageOffset(this.getElement()):null};goog.ui.Menu.prototype.setAllowAu
toFocus=function(a){(this.allowAutoFocus_=a)&&this.setFocusable(!0)};
goog.ui.Menu.prototype.setVisible=function(a,b,c)
{(b=goog.ui.Menu.superClass_.setVisible.call(this,a,b))&&a&&this.isInDocument()&&th
is.allowAutoFocus_&&this.getKeyEventTarget().focus();this.openingCoords=a&&c&&"numb
er"===typeof c.clientX?new goog.math.Coordinate(c.clientX,c.clientY):null;return
b};goog.ui.Menu.prototype.handleEnterItem=function(a)
{this.allowAutoFocus_&&this.getKeyEventTarget().focus();return
goog.ui.Menu.superClass_.handleEnterItem.call(this,a)};
goog.ui.Menu.prototype.canHighlightItem=function(a)
{return(this.allowHighlightDisabled_||
a.isEnabled())&&a.isVisible()&&a.isSupportedState(goog.ui.Component.State.HOVER)};g
oog.ui.Menu.prototype.decorateInternal=function(a)
{this.decorateContent(a);goog.ui.Menu.superClass_.decorateInternal.call(this,a)};
goog.ui.Menu.prototype.handleKeyEventInternal=function(a){var
b=goog.ui.Menu.superClass_.handleKeyEventInternal.call(this,a);b||
this.forEachChild(function(c){!
b&&c.getMnemonic&&c.mnemonicKey_==a.keyCode&&(this.isEnabled()&&this.setHighlighted
(c),b=c.handleKeyEvent(a))},this);return
b};goog.ui.Menu.prototype.setHighlightedIndex=function(a)
{goog.ui.Menu.superClass_.setHighlightedIndex.call(this,a);
(a=this.getChildAt(a))&&goog.style.scrollIntoContainerView(a.getElement(),this.getE
lement())};
goog.ui.Menu.prototype.decorateContent=function(a){var
b=this.renderer_;a=this.getDomHelper().getElementsByTagNameAndClass(goog.dom.TagNam
e.DIV,b.getCssClass()+"-content",a);for(var c=a.length,d=0;d<c;d+
+)b.decorateChildren(this,a[d])};goog.ui.PopupMenu=function(a,b)
{goog.ui.Menu.call(this,a,b);this.setAllowAutoFocus(!0);this.setVisible(!1,!
0);this.targets_=new
goog.structs.Map};goog.inherits(goog.ui.PopupMenu,goog.ui.Menu);goog.ui.PopupMenu.p
rototype.toggleMode_=!1;goog.ui.PopupMenu.prototype.shiftOverride_=!
1;goog.ui.PopupMenu.prototype.lastHide_=0;
goog.ui.PopupMenu.prototype.decorateInternal=function(a)
{goog.ui.PopupMenu.superClass_.decorateInternal.call(this,a);
(a=a.getAttribute("for")||
a.htmlFor)&&this.attach(this.getDomHelper().getElement(a),goog.positioning.Corner.B
OTTOM_LEFT)};
goog.ui.PopupMenu.prototype.enterDocument=function()
{goog.ui.PopupMenu.superClass_.enterDocument.call(this);this.targets_.forEach(this.
attachEvent_,this);var
a=this.getHandler();a.listen(this,goog.ui.Component.EventType.ACTION,this.onAction_
);a.listen(this.getDomHelper().getDocument(),goog.events.EventType.MOUSEDOWN,this.o
nDocClick,!0)};
goog.ui.PopupMenu.prototype.attach=function(a,b,c,d,e){this.isAttachTarget(a)||
(b=this.createAttachTarget(a,b,c,d,e),this.isInDocument()&&this.attachEvent_(b),a=g
oog.partial(this.onMenuKeyboardAction_,a),this.getElement()&&this.getHandler().list
en(this.getElement(),goog.events.EventType.KEYDOWN,a))};
goog.ui.PopupMenu.prototype.onMenuKeyboardAction_=function(a,b)
{if(b.keyCode==goog.events.KeyCodes.ESC)a.focus();else
if(a=this.getChildAt(this.highlightedIndex_)){a=a.getElement();var c=new
goog.events.BrowserEvent(b.event_,a);c.target=a;b.keyCode!
=goog.events.KeyCodes.SPACE&&b.keyCode!=goog.events.KeyCodes.ENTER||
goog.events.fireListeners(a,goog.events.EventType.KEYDOWN,!
1,c);b.keyCode==goog.events.KeyCodes.SPACE&&this.hide()}};
goog.ui.PopupMenu.prototype.createAttachTarget=function(a,b,c,d,e){if(!a)return
null;b={element_:a,targetCorner_:b,menuCorner_:c,eventType_:d?
goog.events.EventType.CONTEXTMENU:goog.events.EventType.MOUSEDOWN,margin_:e};this.t
argets_.set(goog.getUid(a),b);return
b};goog.ui.PopupMenu.prototype.isAttachTarget=function(a){return a?
this.targets_.containsKey(goog.getUid(a)):!1};
goog.ui.PopupMenu.prototype.attachEvent_=function(a)
{this.getHandler().listen(a.element_,a.eventType_,this.onTargetClick_);a.eventType_
!
=goog.events.EventType.CONTEXTMENU&&this.getHandler().listen(a.element_,goog.events
.EventType.KEYDOWN,this.onTargetKeyboardAction_)};goog.ui.PopupMenu.prototype.detac
h=function(a){if(!this.isAttachTarget(a))throw Error("Menu not attached to provided
element, unable to
detach.");a=goog.getUid(a);this.isInDocument()&&this.detachEvent_(this.targets_.get
(a));this.targets_.remove(a)};
goog.ui.PopupMenu.prototype.detachEvent_=function(a)
{this.getHandler().unlisten(a.element_,a.eventType_,this.onTargetClick_)};goog.ui.P
opupMenu.prototype.setToggleMode=function(a){this.toggleMode_=a};
goog.ui.PopupMenu.prototype.showWithPosition=function(a,b,c){var
d=this.isVisible();this.isOrWasRecentlyVisible()&&this.toggleMode_?
this.hide():this.dispatchEvent(goog.ui.Component.EventType.BEFORE_SHOW)&&(b="undefi
ned"!=typeof b?b:goog.positioning.Corner.TOP_START,d||
(this.getElement().style.visibility="hidden"),goog.style.setElementShown(this.getEl
ement(),!0),a.reposition(this.getElement(),b,c),d||
(this.getElement().style.visibility="visible"),this.setHighlightedIndex(-
1),this.setVisible(!0))};
goog.ui.PopupMenu.prototype.showMenu=function(a,b,c){b=void 0!==a.targetCorner_?new
goog.positioning.AnchoredViewportPosition(a.element_,a.targetCorner_,!0):new
goog.positioning.ViewportClientPosition(b,c);b.setLastResortOverflow&&b.setLastReso
rtOverflow(goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.ADJUST_Y);this.showWithPosition(b,a.menuCorner_,a.margin_
,a.element_)};
goog.ui.PopupMenu.prototype.showAtElement=function(a,b,c){this.showWithPosition(new
goog.positioning.MenuAnchoredPosition(a,b,!
0),c,null,a)};goog.ui.PopupMenu.prototype.hide=function()
{this.isVisible()&&(this.setVisible(!1),this.isVisible()||
(this.lastHide_=Date.now()))};goog.ui.PopupMenu.prototype.isOrWasRecentlyVisible=fu
nction(){return this.isVisible()||
this.wasRecentlyHidden()};goog.ui.PopupMenu.prototype.wasRecentlyHidden=function()
{return Date.now()-this.lastHide_<goog.ui.PopupBase.DEBOUNCE_DELAY_MS};
goog.ui.PopupMenu.prototype.onAction_=function()
{this.hide()};goog.ui.PopupMenu.prototype.onTargetClick_=function(a){if(!
this.shiftOverride_||!a.shiftKey||a.button!
=goog.events.BrowserEvent.MouseButton.RIGHT)this.onTargetActivation_(a)};goog.ui.Po
pupMenu.prototype.onTargetKeyboardAction_=function(a)
{if(a.keyCode==goog.events.KeyCodes.SPACE||a.keyCode==goog.events.KeyCodes.ENTER||
a.keyCode==goog.events.KeyCodes.DOWN)this.onTargetActivation_(a);a.keyCode==goog.ev
ents.KeyCodes.DOWN&&this.highlightFirst()};
goog.ui.PopupMenu.prototype.onTargetActivation_=function(a){for(var
b=this.targets_.getKeys(),c=0;c<b.length;c++){var
d=this.targets_.get(b[c]);if(d.element_==a.currentTarget)
{this.showMenu(d,a.clientX,a.clientY);a.preventDefault();a.stopPropagation();break}
}};goog.ui.PopupMenu.prototype.onDocClick=function(a){this.isVisible()&&!
this.containsElement(a.target)&&this.hide()};goog.ui.PopupMenu.prototype.handleBlur
=function(a){goog.ui.PopupMenu.superClass_.handleBlur.call(this,a);this.hide()};
goog.ui.PopupMenu.prototype.disposeInternal=function()
{goog.ui.PopupMenu.superClass_.disposeInternal.call(this);this.targets_&&(this.targ
ets_.clear(),delete this.targets_)};var
module$exports$ocean$search$SearchBar={SearchBar:function(a)
{module$contents$ocean$EventManager_EventManager.call(this);goog.asserts.assert(mod
ule$contents$ocean$search$SearchBar_searchElement_,"ocean.search.SearchBar.searchEl
ement_ must have been set by this
time.");this.flags_=a;this.useEntityPageStyling_=ocean.entitypage.Util.isSourceEnti
tyPage(a);this.isOgenEligibleMobileViewport=goog.userAgent.MOBILE&&a&&a.isOgenEligi
bleMobileViewport;this.isOgenSearchBar_=this.useEntityPageStyling_||
this.isOgenEligibleMobileViewport;
this.selectedSortText_=this.sortDropdownButton_=null;this.isOgenSearchBar_?
this.showOgenViewportSearchNav_(!0):
(this.searchBar_=goog.dom.createElement(goog.dom.TagName.DIV),this.butterBar_=new
jfk.ButterBar(this.searchBar_),this.butterBar_.render(module$contents$ocean$search$
SearchBar_searchElement_),this.butterBar_.setVisible(!
0),a=this.butterBar_.getElement(),goog.dom.classlist.add(a,"search-results-
bar"),goog.dom.classlist.add(this.searchBar_,"search-results-bar-
contents"));this.message_=this.isOgenSearchBar_?
goog.asserts.assert(goog.dom.getElement("search-results-
summ")):goog.dom.createElement(goog.dom.TagName.SPAN);this.isOgenSearchBar_||
goog.dom.appendChild(this.searchBar_,this.message_);this.resultLinks_=this.isOgenSe
archBar_?goog.asserts.assert(goog.dom.getElement("search-result-
links")):goog.dom.createElement(goog.dom.TagName.SPAN);this.isOgenSearchBar_?
this.renderOgenResultsBar_():(goog.dom.classlist.add(this.resultLinks_,"search-bar-
result-links"),goog.dom.appendChild(this.searchBar_,this.resultLinks_),
this.createDesktopResultLinks_());this.snippetLinks_=this.isOgenSearchBar_?
goog.asserts.assert(goog.dom.getElement("search-snippet-
links")):goog.dom.createElement(goog.dom.TagName.SPAN);this.isOgenSearchBar_?
this.createAndDecorateSortDropdown_():(this.useEntityPageStyling_?
(this.searchBarButtons_=goog.dom.createElement(goog.dom.TagName.DIV),this.createDes
ktopEntityPageSnippetLinks_()):
(this.sortedByPagesLinks_=goog.dom.createElement(goog.dom.TagName.SPAN),this.sorted
ByRelevanceLinks_=goog.dom.createElement(goog.dom.TagName.SPAN),
this.createDesktopClassicSnippetLinks_()),goog.dom.classlist.add(this.snippetLinks_
,"search-bar-snippet-links"));this.isOgenSearchBar_||
(this.createCloseLinks_(),goog.style.setUnselectable(this.searchBar_,!0))}};
$jscomp.inherits(module$exports$ocean$search$SearchBar.SearchBar,module$contents$oc
ean$EventManager_EventManager);module$exports$ocean$search$SearchBar.SearchBar.prot
otype.setSession=function(a){this.session_=goog.asserts.assert(a)};
module$exports$ocean$search$SearchBar.SearchBar.setSearchElement=function(a)
{module$contents$ocean$search$SearchBar_searchElement_=a};module$exports$ocean$sear
ch$SearchBar.SearchBar.setToolbarElement=function(a)
{module$contents$ocean$search$SearchBar_toolbarElement_=a};module$exports$ocean$sea
rch$SearchBar.SearchBar.setResizeManager=function(a)
{module$contents$ocean$search$SearchBar_resizeManager_=a};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderSnippetView=functio
n(){if(this.sortDropdownButton_)this.enableOrderByDropdown_(!0);else{var
a=this.session_.sort_==module$exports$ocean$search$SearchSessionSortOrder.SearchSes
sionSortOrder.PAGES;goog.style.setElementShown(this.sortedByPagesLinks_,a);goog.sty
le.setElementShown(this.sortedByRelevanceLinks_,!a)}this.isOgenSearchBar_?
(this.showOgenViewportSearchNav_(!
0),module$exports$google3$third_party$javascript$safevalues$dom$elements$element.se
tInnerHtml(this.message_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(this.getMobileSnippetViewSummary(this.session_.searchResults_.resultItemArray_.len
gth))),this.message_.removeAttribute(goog.dom.Attr.ARIA_LABEL)):module$exports$goog
le3$third_party$javascript$safevalues$dom$elements$element.setInnerHtml(this.messag
e_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(module$contents$ocean$msg_getGoogleBooksSnippetViewSummary("<b>"+
this.session_.searchResults_.resultItemArray_.length+"</
b>","<b>"+this.session_.searchResults_.getEscapedUserQuery()+"</
b>")));this.showSnippetLinks_(!0)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderResult=function(a)
{this.showSnippetLinks_(!
1);this.index_=module$contents$goog$array_indexOf(this.session_.searchResults_.resu
ltItemArray_,a);this.isOgenSearchBar_?(this.showOgenViewportSearchNav_(!
0),module$exports$google3$third_party$javascript$safevalues$dom$elements$element.se
tInnerHtml(this.message_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(this.getMobileResultViewSummary(this.index_+
1,this.session_.searchResults_.resultItemArray_.length))),goog.a11y.aria.setLabel(t
his.message_,this.getMobileResultViewSummaryAriaLabel(this.index_+1,this.session_.s
earchResults_.resultItemArray_.length)),this.isOgenSearchBar_&&this.message_.setAtt
ribute("data-result-
num",this.index_)):module$exports$google3$third_party$javascript$safevalues$dom$ele
ments$element.setInnerHtml(this.message_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(module$contents$ocean$msg_getGoogleBooksResultViewSummary("<b>"+
(this.index_+1)+"</
b>","<b>"+this.session_.searchResults_.resultItemArray_.length+"</
b>","<b>"+this.session_.searchResults_.getEscapedUserQuery()+"</b>")))};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderOgenResultsBar_=fun
ction(){var a=this;ocean.entitypage.Util.isOutputTextViewport()||
(this.createOgenButtonLink_(goog.asserts.assert(goog.dom.getElement("search-result-
prev")),function(){a.handleMoveClick_(-1)},"R\u00e9sultat pr\u00e9c\
u00e9dent"),this.createOgenButtonLink_(goog.asserts.assert(goog.dom.getElement("sea
rch-result-next")),function(){a.handleMoveClick_(1)},"R\u00e9sultat
suivant"));this.createOgenButtonLink_(goog.asserts.assert(goog.dom.getElement("sear
ch-result-viewall")),
function(){a.handleViewAllClick_()},"Tout
afficher");this.createOgenButtonLink_(goog.asserts.assert(goog.dom.getElement("sear
ch-close")),function(){a.handleReturnClick_()},"Fermer la recherche")};
module$exports$ocean$search$SearchBar.SearchBar.prototype.createDesktopResultLinks_
=function(){var
a=this,b=goog.dom.createElement(goog.dom.TagName.SPAN);module$exports$google3$third
_party$javascript$safevalues$dom$elements$element.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("-&nbsp;&nbsp;"));goog.dom.classlist.add(b,"search-bar-link-
spacer");goog.dom.appendChild(this.resultLinks_,b);this.createLink_(this.resultLink
s_,"\u2039 Pr\u00e9c\u00e9dent",
function(){a.handleMoveClick_(-1)},"Pr\u00e9c\
u00e9dent");b=goog.dom.createElement(goog.dom.TagName.SPAN);module$exports$google3$
third_party$javascript$safevalues$dom$elements$element.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("&nbsp;&nbsp;"));goog.dom.classlist.add(b,"search-bar-link-
spacer");goog.dom.appendChild(this.resultLinks_,b);this.createLink_(this.resultLink
s_,"Suivant \u203a",function(){a.handleMoveClick_(1)},"Suivant");
b=goog.dom.createElement(goog.dom.TagName.SPAN);module$exports$google3$third_party$
javascript$safevalues$dom$elements$element.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("&nbsp;&nbsp;-&nbsp;&nbsp;"));goog.dom.classlist.add(b,"search-bar-
link-
spacer");goog.dom.appendChild(this.resultLinks_,b);this.createLink_(this.resultLink
s_,"Tout afficher",function(){a.handleViewAllClick_()})};
module$exports$ocean$search$SearchBar.SearchBar.prototype.createDesktopClassicSnipp
etLinks_=function(){var
a=this;goog.dom.appendChild(this.searchBar_,this.snippetLinks_);var
b=goog.dom.createElement(goog.dom.TagName.SPAN);module$exports$google3$third_party$
javascript$safevalues$dom$elements$element.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("-&nbsp;&nbsp;"));goog.dom.classlist.add(b,"search-bar-link-
spacer");goog.dom.appendChild(this.snippetLinks_,
b);goog.dom.appendChild(this.snippetLinks_,goog.dom.createTextNode("Trier par:
"));goog.dom.appendChild(this.snippetLinks_,this.sortedByPagesLinks_);this.createLi
nk_(this.sortedByPagesLinks_,"pertinence",function()
{a.handleSortClick_(module$exports$ocean$search$SearchSessionSortOrder.SearchSessio
nSortOrder.RELEVANCE)},"Trier par
pertinence");b=goog.dom.createElement(goog.dom.TagName.SPAN);module$exports$google3
$third_party$javascript$safevalues$dom$elements$element.setInnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("&nbsp;|&nbsp;<b>pages</b>"));
goog.dom.appendChild(this.sortedByPagesLinks_,b);goog.dom.appendChild(this.snippetL
inks_,this.sortedByRelevanceLinks_);b=goog.dom.createElement(goog.dom.TagName.SPAN)
;module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setI
nnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("<b>pertinence</b>&nbsp;|
&nbsp;"));goog.dom.appendChild(this.sortedByRelevanceLinks_,b);this.createLink_(thi
s.sortedByRelevanceLinks_,"pages",function()
{a.handleSortClick_(module$exports$ocean$search$SearchSessionSortOrder.SearchSessio
nSortOrder.PAGES)},
"Trier par
pages")};module$exports$ocean$search$SearchBar.SearchBar.prototype.createDesktopEnt
ityPageSnippetLinks_=function()
{goog.dom.classlist.add(this.searchBarButtons_,"search-bar-result-
buttons");goog.dom.appendChild(this.searchBar_,this.searchBarButtons_);goog.dom.app
endChild(this.searchBarButtons_,this.snippetLinks_);goog.dom.classlist.addAll(this.
snippetLinks_,["search-bar-sort-dropdown-button-container","search-bar-close-
link"]);this.createAndDecorateSortDropdown_()};
module$exports$ocean$search$SearchBar.SearchBar.prototype.createAndDecorateSortDrop
down_=function(){var a=this;this.sortDropdownButton_=this.isOgenSearchBar_?
goog.asserts.assert(goog.dom.getElement("sort-dropdown-
button")):goog.dom.createDom(goog.dom.TagName.A,{"class":"search-bar-sort-dropdown-
link"});var b=this.isOgenSearchBar_?goog.asserts.assert(goog.dom.getElement("sort-
dropdown-label")):goog.dom.createDom(goog.dom.TagName.SPAN,{"class":"search-bar-
sort-dropdown-text"});goog.dom.setTextContent(b,
"Trier par ");this.selectedSortText_=goog.dom.createDom(goog.dom.TagName.SPAN,
{"class":"search-bar-sort-dropdown-
selected"});goog.dom.setTextContent(this.selectedSortText_,"pages");var
c=goog.asserts.assert(this.sortDropdownButton_);goog.a11y.aria.setLabel(c,"Trier
par pages");c.setAttribute("title","Trier par
pages");goog.dom.appendChild(b,this.selectedSortText_);b=new goog.ui.PopupMenu;var
d=new goog.ui.MenuItem("pertinence");d.setAriaLabel("Trier par
pertinence");b.addChild(d,!0);goog.dom.classlist.add(d.getElement(),
"search-bar-sort-dropdown-item");var e=new
goog.ui.MenuItem("pages");e.setAriaLabel("Trier par pages");b.addChild(e,!
0);goog.dom.classlist.addAll(e.getElement(),["search-bar-sort-dropdown-
item","search-bar-sort-dropdown-item-selected"]);b.setToggleMode(!
0);this.isOgenEligibleMobileViewport?
b.render(this.snippetLinks_):b.render(document.body);goog.dom.classlist.add(b.getEl
ement(),"sort-dropdown-
menu");c=goog.dom.createElement(goog.dom.TagName.SPAN);c.id="current-sort-
label";goog.dom.setTextContent(c,
"S\u00e9lectionn\u00e9e");goog.style.setElementShown(c,!
1);b.getElement().appendChild(c);goog.a11y.aria.setState(goog.asserts.assertExists(
e.getElement()),goog.a11y.aria.State.DESCRIBEDBY,"current-sort-
label");this.useEntityPageStyling_?
(b.attach(this.sortDropdownButton_,goog.positioning.Corner.TOP_END,goog.positioning
.Corner.BOTTOM_END),goog.dom.classlist.add(b.getElement(),"popup-
menu")):b.attach(this.sortDropdownButton_,goog.positioning.Corner.BOTTOM_END,goog.p
ositioning.Corner.TOP_END);this.getHandler().listen(b,
goog.ui.Component.EventType.ACTION,function(f)
{a.handleOrderBySelection_(f,d.getElement(),e.getElement())});this.getHandler().lis
ten(b,goog.events.EventType.KEYDOWN,function(f){f.keyCode!
=goog.events.KeyCodes.SPACE&&f.keyCode!=goog.events.KeyCodes.ENTER||
a.handleOrderBySelection_(f,d.getElement(),e.getElement())});this.isOgenEligibleMob
ileViewport&&this.getHandler().listen(b,goog.ui.PopupBase.EventType.BEFORE_SHOW,fun
ction(){var f=a.sortDropdownButton_.offsetWidth-
32;goog.style.setWidth(d.getElement(),
f);goog.style.setWidth(e.getElement(),f)})};
module$exports$ocean$search$SearchBar.SearchBar.prototype.createCloseLinks_=functio
n(){var
a=this,b=goog.dom.createElement(goog.dom.TagName.SPAN);goog.dom.classlist.add(b,"se
arch-bar-close-link-container");this.useEntityPageStyling_?
goog.dom.appendChild(this.searchBarButtons_,b):goog.dom.appendChild(this.searchBar_
,b);this.getHandler().listen(b,goog.events.EventType.CLICK,this.handleReturnClick_)
;var c=this.createLink_(b,"Effacer la recherche",function()
{a.handleReturnClick_()});goog.dom.classlist.add(c,
"search-bar-close-link");c=goog.dom.createElement(goog.dom.TagName.IMG);c.src="/
googlebooks/images/close_x.gif";goog.dom.classlist.add(c,"search-bar-close-
img");goog.dom.appendChild(b,c)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.showSnippetLinks_=functio
n(a)
{goog.style.setElementShown(module$contents$ocean$search$SearchBar_toolbarElement_,
!a);goog.style.setElementShown(this.snippetLinks_,a);this.isOgenSearchBar_?
(goog.style.setElementShown(this.resultLinks_,!a),a=!
a&&1==this.session_.searchResults_.resultItemArray_.length,goog.dom.classlist.enabl
e(this.resultLinks_,"toolbar-button-
disabled",a),goog.a11y.aria.setState(this.resultLinks_,goog.a11y.aria.State.DISABLE
D,
a)):goog.style.setElementShown(this.resultLinks_,!
a&&1<this.session_.searchResults_.resultItemArray_.length);this.searchBar_&&goog.st
yle.setElementShown(this.searchBar_,!0);null!
=module$contents$ocean$search$SearchBar_resizeManager_&&module$contents$ocean$searc
h$SearchBar_resizeManager_.resize()};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderBlank_=function()
{this.sortDropdownButton_?this.enableOrderByDropdown_(!
1):goog.style.setElementShown(this.snippetLinks_,!
1);this.isOgenEligibleMobileViewport&&goog.style.setElementShown(this.snippetLinks_
,!0);goog.style.setElementShown(this.resultLinks_,!
1);goog.dom.removeChildren(this.message_)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderLoading=function()
{this.renderBlank_();module$exports$google3$third_party$javascript$safevalues$dom$e
lements$element.setInnerHtml(this.message_,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Chargement en
cours..."));this.isOgenSearchBar_&&this.message_.removeAttribute(goog.dom.Attr.ARIA
_LABEL)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.renderNoResults=function(
){var a=this;this.renderBlank_();var
b=this.session_.searchResults_,c=b.getSpellSuggestion(),d=null;c&&!
this.isOgenSearchBar_&&(d=goog.dom.createElement(goog.dom.TagName.SPAN),module$expo
rts$google3$third_party$javascript$safevalues$dom$elements$element.setInnerHtml(d,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Essayez avec cette orthographe : ")),this.createLink_(d,
c,function(){a.handleSpellSuggestionClick_(goog.asserts.assert(c))}));var
e=goog.dom.createElement(goog.dom.TagName.SPAN);this.isOgenSearchBar_?
(b=this.getMobileNoResultsMsg(),module$exports$google3$third_party$javascript$safev
alues$dom$elements$element.setInnerHtml(e,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(b))):module$exports$google3$third_party$javascript$safevalues$dom$elements$element
.setInnerHtml(e,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
(goog.string.trim(module$contents$ocean$msg_getNoResultsFoundInBook(b.getEscapedUse
rQuery()))));
b=goog.dom.createElement(goog.dom.TagName.A);this.isOgenSearchBar_||
(module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setI
nnerHtml(b,
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("Rechercher dans tous les
livres")),b.setAttribute("target","_top"),goog.dom.classlist.add(b,"sitb-action-
link"));var f=ocean.util.Url.getFirstPathComponent();f="patents"==f?new
goog.Uri("https://www.google.com/search?tbm=pts&tbo=p&hl=en"):new
goog.Uri("https://www.google.com/search?tbm=bks&tbo=p");
module$contents$ocean$util$uri_setDefaultParameters(f);"embed"==f.getParameterValue
("output")&&f.removeParameter("output");f.setParameterValue("q",goog.string.unescap
eEntities(this.session_.searchResults_.getEscapedUserQuery()));module$exports$googl
e3$third_party$javascript$safevalues$dom$elements$anchor.setHref(module$contents$go
og$asserts$dom_assertIsHtmlAnchorElement(b),module$contents$google3$third_party$jav
ascript$safevalues$builders$url_builders_sanitizeUrl(f.toString()));this.isOgenSear
chBar_?
(goog.dom.appendChild(this.message_,e),this.message_.removeAttribute(goog.dom.Attr.
ARIA_LABEL)):this.useEntityPageStyling_?
(goog.dom.appendChild(this.message_,e),goog.dom.appendChild(this.message_,b),d&&(mo
dule$exports$google3$third_party$javascript$safevalues$dom$elements$element.insertA
djacentHtml(d,"afterbegin",
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)
("&nbsp;&nbsp;&middot;&nbsp;&nbsp;")),goog.dom.appendChild(this.message_,d))):
(d&&(goog.dom.appendChild(this.message_,
d),goog.dom.appendChild(this.message_,goog.dom.createElement(goog.dom.TagName.BR)))
,module$exports$google3$third_party$javascript$safevalues$dom$elements$element.inse
rtAdjacentHtml(e,"beforeend",
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)("&nbsp;&nbsp;-
&nbsp;&nbsp;")),goog.dom.appendChild(this.message_,e),module$exports$google3$third_
party$javascript$safevalues$dom$elements$element.insertAdjacentHtml(b,"beforeend",
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(" &raquo;")),
goog.dom.appendChild(this.message_,b));null!
=module$contents$ocean$search$SearchBar_resizeManager_&&module$contents$ocean$searc
h$SearchBar_resizeManager_.resize()};
module$exports$ocean$search$SearchBar.SearchBar.prototype.maybeUpdateOgenTextViewpo
rtResultLinks=function(){if(ocean.entitypage.Util.isOutputTextViewport()&&void 0!
==this.index_){var a=this.session_.searchResults_.resultItemArray_,b=a.length,c=new
goog.Uri(window.location.href),d=Number(c.getParameterValue("num"));d&&0<b&&(b=a[Nu
mber(d)],d=c.getParameterValue("jtp"),c=c.getParameterValue("pg"),d?
this.session_.goToResult(b,"",d):c?
this.session_.goToResult(b,c):this.session_.goToResult(b));c=this.index_;
b=goog.asserts.assert(goog.dom.getElement("search-result-
prev"));this.handleMoveClickTextViewport(b,a,c,-1);goog.a11y.aria.setLabel(b,"R\
u00e9sultat pr\u00e9c\u00e9dent");b.setAttribute("title","R\u00e9sultat pr\u00e9c\
u00e9dent");b=goog.asserts.assert(goog.dom.getElement("search-result-
next"));this.handleMoveClickTextViewport(b,a,c,1);goog.a11y.aria.setLabel(b,"R\
u00e9sultat suivant");b.setAttribute("title","R\u00e9sultat suivant")}};
module$exports$ocean$search$SearchBar.SearchBar.prototype.handleMoveClickTextViewpo
rt=function(a,b,c,d)
{this.index_+=d;this.index_>=b.length&&(this.index_=0);0>this.index_&&(this.index_=
b.length-1);if(this.index_!=c){var
e=b[this.index_],f=this.session_.goToResult(goog.asserts.assertExists(e));f?(d=(new
goog.Uri(a.href)).setParameterValue("pg",e.getPageId()).setParameterValue("num",thi
s.index_).setParameterValue("scoring",this.session_.sort_).setFragment(""),module$e
xports$google3$third_party$javascript$safevalues$dom$elements$anchor.setHref(a,
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(d.toString())),this.session_.goToResult(b[c])):this.handleMoveClickTextVie
wport(a,b,c,d)}};
module$exports$ocean$search$SearchBar.SearchBar.prototype.disposeInternal=function(
)
{module$contents$ocean$EventManager_EventManager.prototype.disposeInternal.call(thi
s);module$contents$goog$dispose_dispose(this.butterBar_);goog.style.setElementShown
(module$contents$ocean$search$SearchBar_toolbarElement_,!
0);goog.dom.removeNode(this.searchBar_);null!
=module$contents$ocean$search$SearchBar_resizeManager_&&module$contents$ocean$searc
h$SearchBar_resizeManager_.resize();this.isOgenSearchBar_&&(this.showOgenViewportSe
archNav_(!1),
goog.dom.removeNode(goog.dom.getElementByClass("sort-dropdown-
menu")),goog.dom.removeChildren(this.message_))};
module$exports$ocean$search$SearchBar.SearchBar.prototype.createLink_=function(a,b,
c,d){var
e=goog.dom.createElement(goog.dom.TagName.SPAN);goog.dom.classlist.add(e,"search-
bar-
link");goog.a11y.aria.setRole(e,goog.a11y.aria.Role.LINK);goog.a11y.aria.setLabel(e
,d?d:b);goog.dom.setFocusableTabIndex(e,!
0);goog.dom.appendChild(a,e);e.innerText=b;this.getHandler().listen(e,goog.events.E
ventType.CLICK,c);this.getHandler().listen(e,goog.events.EventType.KEYDOWN,function
(f){f.keyCode!=goog.events.KeyCodes.SPACE&&
f.keyCode!=goog.events.KeyCodes.ENTER||c()});return
e};module$exports$ocean$search$SearchBar.SearchBar.prototype.createOgenButtonLink_=
function(a,b,c)
{goog.a11y.aria.setLabel(a,c);a.setAttribute("title",c);this.getHandler().listen(a,
goog.events.EventType.CLICK,b);this.getHandler().listen(a,goog.events.EventType.KEY
DOWN,function(d){d.keyCode!=goog.events.KeyCodes.SPACE&&d.keyCode!
=goog.events.KeyCodes.ENTER||b()})};
module$exports$ocean$search$SearchBar.SearchBar.prototype.handleReturnClick_=functi
on(){this.session_.endSession();var
a=this.session_.manager_;a&&a.history_&&a.history_.update()};module$exports$ocean$s
earch$SearchBar.SearchBar.prototype.handleMoveClick_=function(a)
{this.handleMoveClickHelper_(this.index_,a)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.handleMoveClickHelper_=fu
nction(a,b){var
c=this.session_.searchResults_.resultItemArray_.length;this.index_+=b;this.index_>=
c&&(this.index_=0);0>this.index_&&(this.index_=c-1);this.index_!
=a&&(c=this.session_.searchResults_.resultItemArray_[this.index_],
(c=this.session_.goToResult(goog.asserts.assertExists(c)))||
this.handleMoveClickHelper_(a,b))};
module$exports$ocean$search$SearchBar.SearchBar.prototype.handleSortClick_=function
(a){var
b=this.session_.manager_;b&&b.update(a)};module$exports$ocean$search$SearchBar.Sear
chBar.prototype.handleViewAllClick_=function()
{this.session_.renderAllResults()};module$exports$ocean$search$SearchBar.SearchBar.
prototype.handleSpellSuggestionClick_=function(a){var
b=this.session_.manager_;b&&(b.setQuery(goog.string.unescapeEntities(a)),b.history_
&&b.history_.update())};
module$exports$ocean$search$SearchBar.SearchBar.prototype.handleOrderBySelection_=f
unction(a,b,c){if((a=a.target.getContent())&&this.selectedSortText_){var
d=goog.asserts.assert(this.sortDropdownButton_);switch(a){case
"pages":this.handleSortClick_(module$exports$ocean$search$SearchSessionSortOrder.Se
archSessionSortOrder.PAGES);goog.dom.setTextContent(this.selectedSortText_,"pages")
;goog.a11y.aria.setLabel(d,"Trier par pages");d.setAttribute("title","Trier par
pages");goog.dom.classlist.enable(c,
"search-bar-sort-dropdown-item-selected",!
0);goog.a11y.aria.setState(goog.asserts.assertExists(c),goog.a11y.aria.State.DESCRI
BEDBY,"current-sort-label");goog.dom.classlist.enable(b,"search-bar-sort-dropdown-
item-selected",!
1);goog.a11y.aria.removeState(goog.asserts.assertExists(b),goog.a11y.aria.State.DES
CRIBEDBY);break;case
"pertinence":this.handleSortClick_(module$exports$ocean$search$SearchSessionSortOrd
er.SearchSessionSortOrder.RELEVANCE),goog.dom.setTextContent(this.selectedSortText_
,"pertinence"),
goog.a11y.aria.setLabel(d,"Trier par pertinence"),d.setAttribute("title","Trier par
pertinence"),goog.dom.classlist.enable(b,"search-bar-sort-dropdown-item-selected",!
0),goog.a11y.aria.setState(goog.asserts.assertExists(b),goog.a11y.aria.State.DESCRI
BEDBY,"current-sort-label"),goog.dom.classlist.enable(c,"search-bar-sort-dropdown-
item-selected",!
1),goog.a11y.aria.removeState(goog.asserts.assertExists(c),goog.a11y.aria.State.DES
CRIBEDBY)}}};
module$exports$ocean$search$SearchBar.SearchBar.prototype.enableOrderByDropdown_=fu
nction(a)
{this.sortDropdownButton_&&(goog.dom.classlist.enable(this.sortDropdownButton_,"sea
rch-bar-sort-dropdown-disabled",!
a),goog.a11y.aria.setState(this.sortDropdownButton_,goog.a11y.aria.State.DISABLED,!
a));var
b=this.session_.sort_==module$exports$ocean$search$SearchSessionSortOrder.SearchSes
sionSortOrder.PAGES;a&&!
b&&(goog.dom.setTextContent(this.selectedSortText_,"pertinence"),a=goog.asserts.ass
ert(this.sortDropdownButton_),
goog.a11y.aria.setLabel(a,"Trier par pertinence"),a.setAttribute("title","Trier par
pertinence"),a=goog.dom.getElementsByClass("search-bar-sort-dropdown-
item"),goog.dom.classlist.enable(a[0],"search-bar-sort-dropdown-item-selected",!
0),goog.a11y.aria.setState(a[0],goog.a11y.aria.State.DESCRIBEDBY,"current-sort-
label"),goog.dom.classlist.enable(a[1],"search-bar-sort-dropdown-item-selected",!
1),goog.a11y.aria.removeState(a[1],goog.a11y.aria.State.DESCRIBEDBY));this.isOgenSe
archBar_&&this.message_.setAttribute("data-search-sort",
this.session_.sort_)};
module$exports$ocean$search$SearchBar.SearchBar.prototype.showOgenViewportSearchNav
_=function(a){this.isOgenEligibleMobileViewport?
(goog.style.setElementShown(goog.dom.getElement("gb-mobile-
search"),a),goog.style.setElementShown(goog.dom.getElement("gb-mobile-search-
buttons"),a)):(goog.dom.classlist.enable(goog.dom.getElement("entity-page-search-
nav"),"hide-search-nav",!a),goog.dom.classlist.enable(goog.dom.getElement("search-
results-summ"),"hide-search-nav",!
a),goog.dom.classlist.enable(goog.dom.getElement("search-close"),"hide-search-nav",
!
a))};module$exports$ocean$search$SearchBar.SearchBar.prototype.getMobileSnippetView
Summary=function(a){return a+="\u00a0r\
u00e9sultat(s)"};module$exports$ocean$search$SearchBar.SearchBar.prototype.getMobil
eResultViewSummary=function(a,b){return a=a+" sur\
u00a0"+b};module$exports$ocean$search$SearchBar.SearchBar.prototype.getMobileResult
ViewSummaryAriaLabel=function(a,b){return a="R\u00e9sultat\u00a0"+a+" sur
"+b};module$exports$ocean$search$SearchBar.SearchBar.prototype.getMobileNoResultsMs
g=function(){return"Aucun r\u00e9sultat"};
var
module$contents$ocean$search$SearchBar_searchElement_,module$contents$ocean$search$
SearchBar_toolbarElement_,module$contents$ocean$search$SearchBar_resizeManager_;var
module$contents$ocean$search$SearchManager_SearchManager=function(a,b,c,d)
{module$contents$ocean$EventManager_EventManager.call(this);var
e=this;this.viewer_=a;this.input_=b;this.history_=c;this.flags_=d;this.isOgenEligib
leMobileViewport_=goog.userAgent.MOBILE&&d&&d.isOgenEligibleMobileViewport;this.get
Handler().listen(a.searchState_,ocean.info.SearchState.EventType.CHANGE,function()
{e.update(module$exports$ocean$search$SearchSessionSortOrder.SearchSessionSortOrder
.RELEVANCE)})};
$jscomp.inherits(module$contents$ocean$search$SearchManager_SearchManager,module$co
ntents$ocean$EventManager_EventManager);
module$contents$ocean$search$SearchManager_SearchManager.prototype.update=function(
a,b,c)
{if(this.searchSession_)this.searchSession_.dispose(),this.searchSession_=null;else
{var
d=this.viewer_.getViewportClass();d&&(this.previousViewportClass_=this.viewer_.getV
iewportClass());this.searchBar_=new
module$exports$ocean$search$SearchBar.SearchBar(this.flags_)}d=this.viewer_.searchS
tate_.getQuery();b&&!
b.search_query_escaped&&0<b.number_of_results&&d&&(b.search_query_escaped=d);b&&b.s
earch_query_escaped?
(this.searchSession_=new
module$exports$ocean$search$SearchSession.SearchSession(this),this.searchBar_.setSe
ssion(this.searchSession_),d=!
ocean.info.SearchState.parseUserQueryFromPageUrl(),this.searchSession_.initializeWi
thProto(d,b,c,a),this.searchBar_.maybeUpdateOgenTextViewportResultLinks()):d?
(this.searchSession_=new
module$exports$ocean$search$SearchSession.SearchSession(this),this.searchBar_.setSe
ssion(this.searchSession_),this.searchSession_.initializeWithQuery(d,a),this.input_
.setValue(d)):
this.reset_()};
module$contents$ocean$search$SearchManager_SearchManager.prototype.reset_=function(
)
{this.searchSession_&&(this.searchSession_.dispose(),this.searchSession_=null);if(t
his.viewer_.getViewport()instanceof
ocean.search.SnippetViewport&&(this.viewer_.setViewportClass(this.previousViewportC
lass_),this.isOgenEligibleMobileViewport_&&!
ocean.entitypage.Util.isOutputTextViewport())){var
a=this.viewer_.getViewport();a.zoomToStop(this.viewer_.getViewport().getSize().widt
h)}this.searchBar_&&(this.searchBar_.dispose(),this.searchBar_=
null);this.input_.setValue("")};module$contents$ocean$search$SearchManager_SearchMa
nager.prototype.setQuery=function(a)
{this.viewer_.searchState_.setQuery(a);this.input_.setValue(a)};module$contents$oce
an$search$SearchManager_SearchManager.prototype.setPreviousViewportClass=function(a
)
{this.previousViewportClass_=a};ocean.search.SearchManager=module$contents$ocean$se
arch$SearchManager_SearchManager;var
module$exports$ocean$viewport$KeyboardControl=function(a,b){var
c=this;this.viewer_=goog.asserts.assertExists(a);b&&(this.textViewportDiv_=goog.ass
erts.assertExists(b));this.keyHandler_=new
goog.events.KeyHandler(document);this.charActionMap_={};this.keyCodeActionMap_={};g
oog.events.listen(this.keyHandler_,goog.events.KeyEvent.EventType.KEY,function(d)
{c.handleKeyPress_(d)});this.addKeyCodeHandler_(goog.events.KeyCodes.PAGE_UP,functi
on(){c.handlePagingEvent_(-1)},!1,!
0);this.addKeyCodeHandler_(goog.events.KeyCodes.PAGE_DOWN,
function(){c.handlePagingEvent_(1)},!1,!
0);this.addKeyCodeHandler_(goog.events.KeyCodes.UP,function(){c.scrollViewport_(0,-
20)},!1,!0);this.addKeyCodeHandler_(goog.events.KeyCodes.DOWN,function()
{c.scrollViewport_(0,20)},!1,!0);this.textViewportDiv_||
(this.addKeyCodeHandler_(goog.events.KeyCodes.LEFT,function()
{c.handleLeftKeyPress_()},!1,!
0),this.addKeyCodeHandler_(goog.events.KeyCodes.RIGHT,function()
{c.handleRightKeyPress_()},!1,!
0),this.addKeyCodeHandler_(goog.events.KeyCodes.SPACE,function(d){d.shiftKey?
c.handlePagingEvent_(-1):c.handlePagingEvent_(1)},!0,!
0),this.addKeyCodeHandler_(goog.events.KeyCodes.J,function()
{c.queueCommand_(ocean.viewport.Viewer.Commands.NEXT)},!
0),this.addKeyCodeHandler_(goog.events.KeyCodes.K,function()
{c.queueCommand_(ocean.viewport.Viewer.Commands.PREVIOUS)},!
0),this.addCharHandler_("+",function()
{c.queueCommand_(ocean.viewport.Viewer.Commands.ZOOM_IN)},!
0),this.addCharHandler_("-",function()
{c.queueCommand_(ocean.viewport.Viewer.Commands.ZOOM_OUT)},!
0),this.addCharHandler_("=",
function(){c.queueCommand_(ocean.viewport.Viewer.Commands.ZOOM_IN)},!
0));this.addCharHandler_("?",function()
{c.queueCommand_(ocean.viewport.Viewer.Commands.SHOW_KEYBOARD_SHORTCUTS)},!
0)};module$exports$ocean$viewport$KeyboardControl.prototype.addCharHandler_=functio
n(a,b,c,d){if(goog.DEBUG&&this.charActionMap_[a])throw"This char code is being
assigned twice:
"+a;b=goog.partial(module$exports$ocean$viewport$KeyboardControl.keyEventHandler_,b
,c,d);this.charActionMap_[a]=b};
module$exports$ocean$viewport$KeyboardControl.prototype.addKeyCodeHandler_=function
(a,b,c,d){if(goog.DEBUG){if(!
module$contents$goog$object_containsValue(goog.events.KeyCodes,a))throw"Key code
not found in goog.events.KeyCodes: "+a;if(this.keyCodeActionMap_[a])throw"This key
code is being assigned twice:
"+a;}b=goog.partial(module$exports$ocean$viewport$KeyboardControl.keyEventHandler_,
b,c,d);this.keyCodeActionMap_[a]=b};
module$exports$ocean$viewport$KeyboardControl.prototype.handleKeyPress_=function(a)
{var b=String.fromCharCode(a.charCode);(b=this.charActionMap_[b]||
this.keyCodeActionMap_[a.keyCode])&&b(a)};module$exports$ocean$viewport$KeyboardCon
trol.keyEventHandler_=function(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||
d.metaKey||
module$exports$ocean$viewport$KeyboardControl.IGNORE_TAG_NAMES_[d.target.tagName.to
UpperCase()]||(c&&d.preventDefault(),a(d))};
module$exports$ocean$viewport$KeyboardControl.prototype.queueCommand_=function(a)
{this.viewer_.queueCommand(a)};module$exports$ocean$viewport$KeyboardControl.protot
ype.handleLeftKeyPress_=function()
{this.viewer_.getViewportClass()==ocean.books.TwoPageViewport&&this.viewer_.getView
port().layout_.getSize().width>this.viewer_.getWidth()?this.scrollViewport_(-
20,0):this.queueCommand_(ocean.viewport.Viewer.Commands.PREVIOUS)};
module$exports$ocean$viewport$KeyboardControl.prototype.handleRightKeyPress_=functi
on()
{this.viewer_.getViewportClass()==ocean.books.TwoPageViewport&&this.viewer_.getView
port().layout_.getSize().width>this.viewer_.getWidth()?
this.scrollViewport_(20,0):this.queueCommand_(ocean.viewport.Viewer.Commands.NEXT)}
;
module$exports$ocean$viewport$KeyboardControl.prototype.handlePagingEvent_=function
(a){var b=this.textViewportDiv_?
this.textViewportDiv_.clientHeight:this.viewer_.getViewport().getSize().height;a=Ma
th.floor(a*b*.75);this.scrollViewport_(0,a)};module$exports$ocean$viewport$Keyboard
Control.prototype.scrollViewport_=function(a,b){this.textViewportDiv_?
this.textViewportDiv_.scrollTop+=b:this.viewer_.getViewport().moveBy(new
goog.math.Coordinate(a,b))};
module$exports$ocean$viewport$KeyboardControl.IGNORE_TAG_NAMES_=module$contents$goo
g$object_createSet(goog.dom.TagName.BUTTON,goog.dom.TagName.INPUT,goog.dom.TagName.
SELECT,goog.dom.TagName.TEXTAREA);jspb$.webutil$html$types$MutableSafeScriptProto=f
unction(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableSafeScriptProto,module$contents$js
pb_internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$MutableSa
feScriptProto.prototype.getPrivateDoNotAccessOrElseSafeScriptWrappedValue=function(
){return jspb_internal_adapters.getStringFieldNullable(this,6)};
jspb$.webutil$html$types$MutableSafeScriptProto.deserialize=module$contents$jspb_in
ternal_public_for_gencode_makeMutableDeserializeFunction(jspb$.webutil$html$types$M
utableSafeScriptProto);jspb$.webutil$html$types$MutableSafeScriptProto.hasInstance=
module$contents$jspb_internal_public_for_gencode_makeHasMutableInstance(jspb$.webut
il$html$types$MutableSafeScriptProto);
module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(jspb$.webutil$
html$types$MutableSafeScriptProto.internalDoNotUse_debugOnlyProtoTypeName="webutil.
html.types.SafeScriptProto");jspb$.webutil$html$types$ReadonlySafeScriptProto={};js
pb$.webutil$html$types$MutableSafeScriptProto.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.webut
il$html$types$MutableSafeScriptProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableSafeScriptProto;jspb_internal_adapters.setStringFie
ldIfNotNullish(b,6,a.privateDoNotAccessOrElseSafeScriptWrappedValue);return
b});jspb$.webutil$html$types$MutableSafeScriptProto.prototype.toObject=function()
{return jspb$.webutil$html$types$MutableSafeScriptProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableSafeScriptProto.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseSafeScriptWrappedValue:module$contents$jspb_internal_public_for_gencode_t
oObjectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,6))}};jspb$.webuti
l$html$types$MutableSafeScriptProto.internalDoNotUse$webutil$html$types$SafeScriptP
roto$binaryFieldsObject=[0,5,jspb_internal_binary.RWString];
jspb$.webutil$html$types$MutableSafeScriptProto.deserializeBinary=module$contents$j
spb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil$html$ty
pes$MutableSafeScriptProto,jspb$.webutil$html$types$MutableSafeScriptProto.internal
DoNotUse$webutil$html$types$SafeScriptProto$binaryFieldsObject);jspb$.webutil$html$
types$MutableSafeScriptProto.deserializeBinaryFromReader=module$contents$jspb_inter
nal_public_for_gencode_makeDeserializeBinaryFromReaderFunction(jspb$.webutil$html$t
ypes$MutableSafeScriptProto.internalDoNotUse$webutil$html$types$SafeScriptProto$bin
aryFieldsObject);
jspb$.webutil$html$types$MutableSafeScriptProto.prototype.serializeBinary=module$co
ntents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(jspb$.
webutil$html$types$MutableSafeScriptProto.internalDoNotUse$webutil$html$types$SafeS
criptProto$binaryFieldsObject);jspb$.webutil$html$types$MutableSafeScriptProto.seri
alizeBinary=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFun
ction(jspb$.webutil$html$types$MutableSafeScriptProto.internalDoNotUse$webutil$html
$types$SafeScriptProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeScriptProto.serializeBinaryToByteString=module$
contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction(j
spb$.webutil$html$types$MutableSafeScriptProto.internalDoNotUse$webutil$html$types$
SafeScriptProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeScriptProto.makeCrossSerializerComparisonsCompa
tible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerCompariso
nsCompatibleFunction(jspb$.webutil$html$types$MutableSafeScriptProto,jspb$.webutil$
html$types$MutableSafeScriptProto.internalDoNotUse$webutil$html$types$SafeScriptPro
to$binaryFieldsObject);jspb$.webutil$html$types$ImmutableSafeScriptProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableSafeScriptProto,module$exports$j
spb$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableSafeScrip
tProto.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutableDe
serializeFunction(jspb$.webutil$html$types$MutableSafeScriptProto);
jspb$.webutil$html$types$ImmutableSafeScriptProto.getDefaultInstance=module$content
s$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.webutil$htm
l$types$MutableSafeScriptProto);jspb$.webutil$html$types$ImmutableSafeScriptProto.s
erializeBinary=jspb$.webutil$html$types$MutableSafeScriptProto.serializeBinary;jspb
$.webutil$html$types$ImmutableSafeScriptProto.serializeBinaryToByteString=jspb$.web
util$html$types$MutableSafeScriptProto.serializeBinaryToByteString;
jspb$.webutil$html$types$ImmutableSafeScriptProto.deserializeBinary=module$contents
$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.webu
til$html$types$MutableSafeScriptProto.deserializeBinary);jspb$.webutil$html$types$I
mmutableSafeScriptProto.makeCrossSerializerComparisonsCompatible=jspb$.webutil$html
$types$MutableSafeScriptProto.makeCrossSerializerComparisonsCompatible;jspb$.webuti
l$html$types$ImmutableSafeScriptProto.hasInstance=module$contents$jspb_internal_pub
lic_for_gencode_makeHasImmutableInstance(jspb$.webutil$html$types$MutableSafeScript
Proto);proto.html={};proto.html.ReadonlySafeScriptProto={};proto.html.SafeScriptPro
to=jspb$.webutil$html$types$MutableSafeScriptProto;proto.html.MutableSafeScriptProt
o=jspb$.webutil$html$types$MutableSafeScriptProto;proto.html.ImmutableSafeScriptPro
to=jspb$.webutil$html$types$ImmutableSafeScriptProto;var
module$contents$google3$javascript$security$jsonps$content_script_data;jspb$.webuti
l$html$types$MutableSafeHtmlProto=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableSafeHtmlProto,module$contents$jspb
_internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$MutableSafe
HtmlProto.deserialize=module$contents$jspb_internal_public_for_gencode_makeMutableD
eserializeFunction(jspb$.webutil$html$types$MutableSafeHtmlProto);
jspb$.webutil$html$types$MutableSafeHtmlProto.hasInstance=module$contents$jspb_inte
rnal_public_for_gencode_makeHasMutableInstance(jspb$.webutil$html$types$MutableSafe
HtmlProto);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(jsp
b$.webutil$html$types$MutableSafeHtmlProto.internalDoNotUse_debugOnlyProtoTypeName=
"webutil.html.types.SafeHtmlProto");jspb$.webutil$html$types$ReadonlySafeHtmlProto=
{};jspb$.webutil$html$types$MutableSafeHtmlProto.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.webut
il$html$types$MutableSafeHtmlProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableSafeHtmlProto;jspb_internal_adapters.setStringField
IfNotNullish(b,2,a.privateDoNotAccessOrElseSafeHtmlWrappedValue);return
b});jspb$.webutil$html$types$MutableSafeHtmlProto.prototype.toObject=function()
{return jspb$.webutil$html$types$MutableSafeHtmlProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableSafeHtmlProto.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseSafeHtmlWrappedValue:module$contents$jspb_internal_public_for_gencode_toO
bjectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,2))}};jspb$.webutil$
html$types$MutableSafeHtmlProto.internalDoNotUse$webutil$html$types$SafeHtmlProto$b
inaryFieldsObject=[0,1,jspb_internal_binary.RWString];
jspb$.webutil$html$types$MutableSafeHtmlProto.deserializeBinary=module$contents$jsp
b_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil$html$type
s$MutableSafeHtmlProto,jspb$.webutil$html$types$MutableSafeHtmlProto.internalDoNotU
se$webutil$html$types$SafeHtmlProto$binaryFieldsObject);jspb$.webutil$html$types$Mu
tableSafeHtmlProto.deserializeBinaryFromReader=module$contents$jspb_internal_public
_for_gencode_makeDeserializeBinaryFromReaderFunction(jspb$.webutil$html$types$Mutab
leSafeHtmlProto.internalDoNotUse$webutil$html$types$SafeHtmlProto$binaryFieldsObjec
t);
jspb$.webutil$html$types$MutableSafeHtmlProto.prototype.serializeBinary=module$cont
ents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(jspb$.we
butil$html$types$MutableSafeHtmlProto.internalDoNotUse$webutil$html$types$SafeHtmlP
roto$binaryFieldsObject);jspb$.webutil$html$types$MutableSafeHtmlProto.serializeBin
ary=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction(js
pb$.webutil$html$types$MutableSafeHtmlProto.internalDoNotUse$webutil$html$types$Saf
eHtmlProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeHtmlProto.serializeBinaryToByteString=module$co
ntents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction(jsp
b$.webutil$html$types$MutableSafeHtmlProto.internalDoNotUse$webutil$html$types$Safe
HtmlProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeHtmlProto.makeCrossSerializerComparisonsCompati
ble=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerComparisons
CompatibleFunction(jspb$.webutil$html$types$MutableSafeHtmlProto,jspb$.webutil$html
$types$MutableSafeHtmlProto.internalDoNotUse$webutil$html$types$SafeHtmlProto$binar
yFieldsObject);jspb$.webutil$html$types$ImmutableSafeHtmlProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableSafeHtmlProto,module$exports$jsp
b$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableSafeHtmlPro
to.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutableDeseri
alizeFunction(jspb$.webutil$html$types$MutableSafeHtmlProto);
jspb$.webutil$html$types$ImmutableSafeHtmlProto.getDefaultInstance=module$contents$
jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.webutil$html$
types$MutableSafeHtmlProto);jspb$.webutil$html$types$ImmutableSafeHtmlProto.seriali
zeBinary=jspb$.webutil$html$types$MutableSafeHtmlProto.serializeBinary;jspb$.webuti
l$html$types$ImmutableSafeHtmlProto.serializeBinaryToByteString=jspb$.webutil$html$
types$MutableSafeHtmlProto.serializeBinaryToByteString;
jspb$.webutil$html$types$ImmutableSafeHtmlProto.deserializeBinary=module$contents$j
spb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.webuti
l$html$types$MutableSafeHtmlProto.deserializeBinary);jspb$.webutil$html$types$Immut
ableSafeHtmlProto.makeCrossSerializerComparisonsCompatible=jspb$.webutil$html$types
$MutableSafeHtmlProto.makeCrossSerializerComparisonsCompatible;jspb$.webutil$html$t
ypes$ImmutableSafeHtmlProto.hasInstance=module$contents$jspb_internal_public_for_ge
ncode_makeHasImmutableInstance(jspb$.webutil$html$types$MutableSafeHtmlProto);proto
.html.ReadonlySafeHtmlProto={};proto.html.SafeHtmlProto=jspb$.webutil$html$types$Mu
tableSafeHtmlProto;proto.html.MutableSafeHtmlProto=jspb$.webutil$html$types$Mutable
SafeHtmlProto;proto.html.ImmutableSafeHtmlProto=jspb$.webutil$html$types$ImmutableS
afeHtmlProto;jspb$.webutil$html$types$MutableSafeStyleProto=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableSafeStyleProto,module$contents$jsp
b_internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$MutableSaf
eStyleProto.deserialize=module$contents$jspb_internal_public_for_gencode_makeMutabl
eDeserializeFunction(jspb$.webutil$html$types$MutableSafeStyleProto);
jspb$.webutil$html$types$MutableSafeStyleProto.hasInstance=module$contents$jspb_int
ernal_public_for_gencode_makeHasMutableInstance(jspb$.webutil$html$types$MutableSaf
eStyleProto);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(j
spb$.webutil$html$types$MutableSafeStyleProto.internalDoNotUse_debugOnlyProtoTypeNa
me="webutil.html.types.SafeStyleProto");jspb$.webutil$html$types$ReadonlySafeStyleP
roto={};jspb$.webutil$html$types$MutableSafeStyleProto.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.webut
il$html$types$MutableSafeStyleProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableSafeStyleProto;jspb_internal_adapters.setStringFiel
dIfNotNullish(b,5,a.privateDoNotAccessOrElseSafeStyleWrappedValue);return
b});jspb$.webutil$html$types$MutableSafeStyleProto.prototype.toObject=function()
{return jspb$.webutil$html$types$MutableSafeStyleProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableSafeStyleProto.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseSafeStyleWrappedValue:module$contents$jspb_internal_public_for_gencode_to
ObjectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,5))}};jspb$.webutil
$html$types$MutableSafeStyleProto.internalDoNotUse$webutil$html$types$SafeStyleProt
o$binaryFieldsObject=[0,4,jspb_internal_binary.RWString];
jspb$.webutil$html$types$MutableSafeStyleProto.deserializeBinary=module$contents$js
pb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil$html$typ
es$MutableSafeStyleProto,jspb$.webutil$html$types$MutableSafeStyleProto.internalDoN
otUse$webutil$html$types$SafeStyleProto$binaryFieldsObject);jspb$.webutil$html$type
s$MutableSafeStyleProto.deserializeBinaryFromReader=module$contents$jspb_internal_p
ublic_for_gencode_makeDeserializeBinaryFromReaderFunction(jspb$.webutil$html$types$
MutableSafeStyleProto.internalDoNotUse$webutil$html$types$SafeStyleProto$binaryFiel
dsObject);
jspb$.webutil$html$types$MutableSafeStyleProto.prototype.serializeBinary=module$con
tents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(jspb$.w
ebutil$html$types$MutableSafeStyleProto.internalDoNotUse$webutil$html$types$SafeSty
leProto$binaryFieldsObject);jspb$.webutil$html$types$MutableSafeStyleProto.serializ
eBinary=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunctio
n(jspb$.webutil$html$types$MutableSafeStyleProto.internalDoNotUse$webutil$html$type
s$SafeStyleProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeStyleProto.serializeBinaryToByteString=module$c
ontents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction(js
pb$.webutil$html$types$MutableSafeStyleProto.internalDoNotUse$webutil$html$types$Sa
feStyleProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeStyleProto.makeCrossSerializerComparisonsCompat
ible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerComparison
sCompatibleFunction(jspb$.webutil$html$types$MutableSafeStyleProto,jspb$.webutil$ht
ml$types$MutableSafeStyleProto.internalDoNotUse$webutil$html$types$SafeStyleProto$b
inaryFieldsObject);jspb$.webutil$html$types$ImmutableSafeStyleProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableSafeStyleProto,module$exports$js
pb$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableSafeStyleP
roto.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutableDese
rializeFunction(jspb$.webutil$html$types$MutableSafeStyleProto);
jspb$.webutil$html$types$ImmutableSafeStyleProto.getDefaultInstance=module$contents
$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.webutil$html
$types$MutableSafeStyleProto);jspb$.webutil$html$types$ImmutableSafeStyleProto.seri
alizeBinary=jspb$.webutil$html$types$MutableSafeStyleProto.serializeBinary;jspb$.we
butil$html$types$ImmutableSafeStyleProto.serializeBinaryToByteString=jspb$.webutil$
html$types$MutableSafeStyleProto.serializeBinaryToByteString;
jspb$.webutil$html$types$ImmutableSafeStyleProto.deserializeBinary=module$contents$
jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.webut
il$html$types$MutableSafeStyleProto.deserializeBinary);jspb$.webutil$html$types$Imm
utableSafeStyleProto.makeCrossSerializerComparisonsCompatible=jspb$.webutil$html$ty
pes$MutableSafeStyleProto.makeCrossSerializerComparisonsCompatible;jspb$.webutil$ht
ml$types$ImmutableSafeStyleProto.hasInstance=module$contents$jspb_internal_public_f
or_gencode_makeHasImmutableInstance(jspb$.webutil$html$types$MutableSafeStyleProto)
;proto.html.ReadonlySafeStyleProto={};proto.html.SafeStyleProto=jspb$.webutil$html$
types$MutableSafeStyleProto;proto.html.MutableSafeStyleProto=jspb$.webutil$html$typ
es$MutableSafeStyleProto;proto.html.ImmutableSafeStyleProto=jspb$.webutil$html$type
s$ImmutableSafeStyleProto;jspb$.webutil$html$types$MutableSafeStyleSheetProto=funct
ion(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableSafeStyleSheetProto,module$content
s$jspb_internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$Mutab
leSafeStyleSheetProto.deserialize=module$contents$jspb_internal_public_for_gencode_
makeMutableDeserializeFunction(jspb$.webutil$html$types$MutableSafeStyleSheetProto)
;
jspb$.webutil$html$types$MutableSafeStyleSheetProto.hasInstance=module$contents$jsp
b_internal_public_for_gencode_makeHasMutableInstance(jspb$.webutil$html$types$Mutab
leSafeStyleSheetProto);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROP
ERTIES&&(jspb$.webutil$html$types$MutableSafeStyleSheetProto.internalDoNotUse_debug
OnlyProtoTypeName="webutil.html.types.SafeStyleSheetProto");jspb$.webutil$html$type
s$ReadonlySafeStyleSheetProto={};
jspb$.webutil$html$types$MutableSafeStyleSheetProto.ObjectFormat=function()
{};module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.we
butil$html$types$MutableSafeStyleSheetProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableSafeStyleSheetProto;jspb_internal_adapters.setStrin
gFieldIfNotNullish(b,7,a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue);return
b});jspb$.webutil$html$types$MutableSafeStyleSheetProto.prototype.toObject=function
(){return
jspb$.webutil$html$types$MutableSafeStyleSheetProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableSafeStyleSheetProto.internal_toObject=function(a)
{if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseSafeStyleSheetWrappedValue:module$contents$jspb_internal_public_for_genco
de_toObjectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,7))}};jspb$.we
butil$html$types$MutableSafeStyleSheetProto.internalDoNotUse$webutil$html$types$Saf
eStyleSheetProto$binaryFieldsObject=[0,6,jspb_internal_binary.RWString];
jspb$.webutil$html$types$MutableSafeStyleSheetProto.deserializeBinary=module$conten
ts$jspb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil$htm
l$types$MutableSafeStyleSheetProto,jspb$.webutil$html$types$MutableSafeStyleSheetPr
oto.internalDoNotUse$webutil$html$types$SafeStyleSheetProto$binaryFieldsObject);jsp
b$.webutil$html$types$MutableSafeStyleSheetProto.deserializeBinaryFromReader=module
$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryFromReaderFunction(
jspb$.webutil$html$types$MutableSafeStyleSheetProto.internalDoNotUse$webutil$html$t
ypes$SafeStyleSheetProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeStyleSheetProto.prototype.serializeBinary=modul
e$contents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(js
pb$.webutil$html$types$MutableSafeStyleSheetProto.internalDoNotUse$webutil$html$typ
es$SafeStyleSheetProto$binaryFieldsObject);jspb$.webutil$html$types$MutableSafeStyl
eSheetProto.serializeBinary=module$contents$jspb_internal_public_for_gencode_makeSe
rializeBinaryFunction(jspb$.webutil$html$types$MutableSafeStyleSheetProto.internalD
oNotUse$webutil$html$types$SafeStyleSheetProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeStyleSheetProto.serializeBinaryToByteString=mod
ule$contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFuncti
on(jspb$.webutil$html$types$MutableSafeStyleSheetProto.internalDoNotUse$webutil$htm
l$types$SafeStyleSheetProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeStyleSheetProto.makeCrossSerializerComparisonsC
ompatible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerCompa
risonsCompatibleFunction(jspb$.webutil$html$types$MutableSafeStyleSheetProto,jspb$.
webutil$html$types$MutableSafeStyleSheetProto.internalDoNotUse$webutil$html$types$S
afeStyleSheetProto$binaryFieldsObject);jspb$.webutil$html$types$ImmutableSafeStyleS
heetProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableSafeStyleSheetProto,module$expor
ts$jspb$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableSafeS
tyleSheetProto.deserialize=module$contents$jspb_internal_public_for_gencode_makeImm
utableDeserializeFunction(jspb$.webutil$html$types$MutableSafeStyleSheetProto);
jspb$.webutil$html$types$ImmutableSafeStyleSheetProto.getDefaultInstance=module$con
tents$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.webutil
$html$types$MutableSafeStyleSheetProto);jspb$.webutil$html$types$ImmutableSafeStyle
SheetProto.serializeBinary=jspb$.webutil$html$types$MutableSafeStyleSheetProto.seri
alizeBinary;jspb$.webutil$html$types$ImmutableSafeStyleSheetProto.serializeBinaryTo
ByteString=jspb$.webutil$html$types$MutableSafeStyleSheetProto.serializeBinaryToByt
eString;
jspb$.webutil$html$types$ImmutableSafeStyleSheetProto.deserializeBinary=module$cont
ents$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.
webutil$html$types$MutableSafeStyleSheetProto.deserializeBinary);jspb$.webutil$html
$types$ImmutableSafeStyleSheetProto.makeCrossSerializerComparisonsCompatible=jspb$.
webutil$html$types$MutableSafeStyleSheetProto.makeCrossSerializerComparisonsCompati
ble;jspb$.webutil$html$types$ImmutableSafeStyleSheetProto.hasInstance=module$conten
ts$jspb_internal_public_for_gencode_makeHasImmutableInstance(jspb$.webutil$html$typ
es$MutableSafeStyleSheetProto);proto.html.ReadonlySafeStyleSheetProto={};proto.html
.SafeStyleSheetProto=jspb$.webutil$html$types$MutableSafeStyleSheetProto;proto.html
.MutableSafeStyleSheetProto=jspb$.webutil$html$types$MutableSafeStyleSheetProto;pro
to.html.ImmutableSafeStyleSheetProto=jspb$.webutil$html$types$ImmutableSafeStyleShe
etProto;jspb$.webutil$html$types$MutableSafeUrlProto=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableSafeUrlProto,module$contents$jspb_
internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$MutableSafeU
rlProto.deserialize=module$contents$jspb_internal_public_for_gencode_makeMutableDes
erializeFunction(jspb$.webutil$html$types$MutableSafeUrlProto);
jspb$.webutil$html$types$MutableSafeUrlProto.hasInstance=module$contents$jspb_inter
nal_public_for_gencode_makeHasMutableInstance(jspb$.webutil$html$types$MutableSafeU
rlProto);module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(jspb$
.webutil$html$types$MutableSafeUrlProto.internalDoNotUse_debugOnlyProtoTypeName="we
butil.html.types.SafeUrlProto");jspb$.webutil$html$types$ReadonlySafeUrlProto={};js
pb$.webutil$html$types$MutableSafeUrlProto.ObjectFormat=function(){};
module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.webut
il$html$types$MutableSafeUrlProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableSafeUrlProto;jspb_internal_adapters.setStringFieldI
fNotNullish(b,3,a.privateDoNotAccessOrElseSafeUrlWrappedValue);return
b});jspb$.webutil$html$types$MutableSafeUrlProto.prototype.toObject=function()
{return jspb$.webutil$html$types$MutableSafeUrlProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableSafeUrlProto.internal_toObject=function(a){if(null!
=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseSafeUrlWrappedValue:module$contents$jspb_internal_public_for_gencode_toOb
jectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,3))}};jspb$.webutil$h
tml$types$MutableSafeUrlProto.internalDoNotUse$webutil$html$types$SafeUrlProto$bina
ryFieldsObject=[0,2,jspb_internal_binary.RWString];
jspb$.webutil$html$types$MutableSafeUrlProto.deserializeBinary=module$contents$jspb
_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil$html$types
$MutableSafeUrlProto,jspb$.webutil$html$types$MutableSafeUrlProto.internalDoNotUse$
webutil$html$types$SafeUrlProto$binaryFieldsObject);jspb$.webutil$html$types$Mutabl
eSafeUrlProto.deserializeBinaryFromReader=module$contents$jspb_internal_public_for_
gencode_makeDeserializeBinaryFromReaderFunction(jspb$.webutil$html$types$MutableSaf
eUrlProto.internalDoNotUse$webutil$html$types$SafeUrlProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeUrlProto.prototype.serializeBinary=module$conte
nts$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunction(jspb$.web
util$html$types$MutableSafeUrlProto.internalDoNotUse$webutil$html$types$SafeUrlProt
o$binaryFieldsObject);jspb$.webutil$html$types$MutableSafeUrlProto.serializeBinary=
module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction(jspb$.
webutil$html$types$MutableSafeUrlProto.internalDoNotUse$webutil$html$types$SafeUrlP
roto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeUrlProto.serializeBinaryToByteString=module$con
tents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFunction(jspb
$.webutil$html$types$MutableSafeUrlProto.internalDoNotUse$webutil$html$types$SafeUr
lProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableSafeUrlProto.makeCrossSerializerComparisonsCompatib
le=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerComparisonsC
ompatibleFunction(jspb$.webutil$html$types$MutableSafeUrlProto,jspb$.webutil$html$t
ypes$MutableSafeUrlProto.internalDoNotUse$webutil$html$types$SafeUrlProto$binaryFie
ldsObject);jspb$.webutil$html$types$ImmutableSafeUrlProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableSafeUrlProto,module$exports$jspb
$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableSafeUrlProto
.deserialize=module$contents$jspb_internal_public_for_gencode_makeImmutableDeserial
izeFunction(jspb$.webutil$html$types$MutableSafeUrlProto);
jspb$.webutil$html$types$ImmutableSafeUrlProto.getDefaultInstance=module$contents$j
spb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.webutil$html$t
ypes$MutableSafeUrlProto);jspb$.webutil$html$types$ImmutableSafeUrlProto.serializeB
inary=jspb$.webutil$html$types$MutableSafeUrlProto.serializeBinary;jspb$.webutil$ht
ml$types$ImmutableSafeUrlProto.serializeBinaryToByteString=jspb$.webutil$html$types
$MutableSafeUrlProto.serializeBinaryToByteString;
jspb$.webutil$html$types$ImmutableSafeUrlProto.deserializeBinary=module$contents$js
pb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(jspb$.webutil
$html$types$MutableSafeUrlProto.deserializeBinary);jspb$.webutil$html$types$Immutab
leSafeUrlProto.makeCrossSerializerComparisonsCompatible=jspb$.webutil$html$types$Mu
tableSafeUrlProto.makeCrossSerializerComparisonsCompatible;jspb$.webutil$html$types
$ImmutableSafeUrlProto.hasInstance=module$contents$jspb_internal_public_for_gencode
_makeHasImmutableInstance(jspb$.webutil$html$types$MutableSafeUrlProto);proto.html.
ReadonlySafeUrlProto={};proto.html.SafeUrlProto=jspb$.webutil$html$types$MutableSaf
eUrlProto;proto.html.MutableSafeUrlProto=jspb$.webutil$html$types$MutableSafeUrlPro
to;proto.html.ImmutableSafeUrlProto=jspb$.webutil$html$types$ImmutableSafeUrlProto;
jspb$.webutil$html$types$MutableTrustedResourceUrlProto=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.webutil$html$types$MutableTrustedResourceUrlProto,module$con
tents$jspb_internal_public_for_gencode_GeneratedMessage);jspb$.webutil$html$types$M
utableTrustedResourceUrlProto.deserialize=module$contents$jspb_internal_public_for_
gencode_makeMutableDeserializeFunction(jspb$.webutil$html$types$MutableTrustedResou
rceUrlProto);
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.hasInstance=module$contents
$jspb_internal_public_for_gencode_makeHasMutableInstance(jspb$.webutil$html$types$M
utableTrustedResourceUrlProto);module$exports$jspb$internal_options.GENERATE_TYPE_N
AME_PROPERTIES&&(jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internalDo
NotUse_debugOnlyProtoTypeName="webutil.html.types.TrustedResourceUrlProto");jspb$.w
ebutil$html$types$ReadonlyTrustedResourceUrlProto={};
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.ObjectFormat=function()
{};module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.we
butil$html$types$MutableTrustedResourceUrlProto.fromObject=function(a){var b=new
jspb$.webutil$html$types$MutableTrustedResourceUrlProto;jspb_internal_adapters.setS
tringFieldIfNotNullish(b,4,a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue
);return
b});jspb$.webutil$html$types$MutableTrustedResourceUrlProto.prototype.toObject=func
tion(){return
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internal_toObject(this)};
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internal_toObject=function(
a){if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={privateDoNotAc
cessOrElseTrustedResourceUrlWrappedValue:module$contents$jspb_internal_public_for_g
encode_toObjectPrimitive(jspb_internal_adapters.getStringFieldNullable(a,4))}};jspb
$.webutil$html$types$MutableTrustedResourceUrlProto.internalDoNotUse$webutil$html$t
ypes$TrustedResourceUrlProto$binaryFieldsObject=[0,3,jspb_internal_binary.RWString]
;
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.deserializeBinary=module$co
ntents$jspb_internal_public_for_gencode_makeDeserializeBinaryFunction(jspb$.webutil
$html$types$MutableTrustedResourceUrlProto,jspb$.webutil$html$types$MutableTrustedR
esourceUrlProto.internalDoNotUse$webutil$html$types$TrustedResourceUrlProto$binaryF
ieldsObject);jspb$.webutil$html$types$MutableTrustedResourceUrlProto.deserializeBin
aryFromReader=module$contents$jspb_internal_public_for_gencode_makeDeserializeBinar
yFromReaderFunction(jspb$.webutil$html$types$MutableTrustedResourceUrlProto.interna
lDoNotUse$webutil$html$types$TrustedResourceUrlProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.prototype.serializeBinary=m
odule$contents$jspb_internal_public_for_gencode_makePrototypeSerializeBinaryFunctio
n(jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internalDoNotUse$webutil$
html$types$TrustedResourceUrlProto$binaryFieldsObject);jspb$.webutil$html$types$Mut
ableTrustedResourceUrlProto.serializeBinary=module$contents$jspb_internal_public_fo
r_gencode_makeSerializeBinaryFunction(jspb$.webutil$html$types$MutableTrustedResour
ceUrlProto.internalDoNotUse$webutil$html$types$TrustedResourceUrlProto$binaryFields
Object);
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.serializeBinaryToByteString
=module$contents$jspb_internal_public_for_gencode_makeSerializeBinaryToByteStringFu
nction(jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internalDoNotUse$web
util$html$types$TrustedResourceUrlProto$binaryFieldsObject);
jspb$.webutil$html$types$MutableTrustedResourceUrlProto.makeCrossSerializerComparis
onsCompatible=module$contents$jspb_internal_public_for_gencode_makeCrossSerializerC
omparisonsCompatibleFunction(jspb$.webutil$html$types$MutableTrustedResourceUrlProt
o,jspb$.webutil$html$types$MutableTrustedResourceUrlProto.internalDoNotUse$webutil$
html$types$TrustedResourceUrlProto$binaryFieldsObject);jspb$.webutil$html$types$Imm
utableTrustedResourceUrlProto=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.webutil$html$types$ImmutableTrustedResourceUrlProto,module$e
xports$jspb$immutable_message.ImmutableMessage);jspb$.webutil$html$types$ImmutableT
rustedResourceUrlProto.deserialize=module$contents$jspb_internal_public_for_gencode
_makeImmutableDeserializeFunction(jspb$.webutil$html$types$MutableTrustedResourceUr
lProto);
jspb$.webutil$html$types$ImmutableTrustedResourceUrlProto.getDefaultInstance=module
$contents$jspb_internal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.web
util$html$types$MutableTrustedResourceUrlProto);jspb$.webutil$html$types$ImmutableT
rustedResourceUrlProto.serializeBinary=jspb$.webutil$html$types$MutableTrustedResou
rceUrlProto.serializeBinary;jspb$.webutil$html$types$ImmutableTrustedResourceUrlPro
to.serializeBinaryToByteString=jspb$.webutil$html$types$MutableTrustedResourceUrlPr
oto.serializeBinaryToByteString;
jspb$.webutil$html$types$ImmutableTrustedResourceUrlProto.deserializeBinary=module$
contents$jspb_internal_public_for_gencode_makeDeserializeBinaryImmutableFunction(js
pb$.webutil$html$types$MutableTrustedResourceUrlProto.deserializeBinary);jspb$.webu
til$html$types$ImmutableTrustedResourceUrlProto.makeCrossSerializerComparisonsCompa
tible=jspb$.webutil$html$types$MutableTrustedResourceUrlProto.makeCrossSerializerCo
mparisonsCompatible;
jspb$.webutil$html$types$ImmutableTrustedResourceUrlProto.hasInstance=module$conten
ts$jspb_internal_public_for_gencode_makeHasImmutableInstance(jspb$.webutil$html$typ
es$MutableTrustedResourceUrlProto);proto.html.ReadonlyTrustedResourceUrlProto={};pr
oto.html.TrustedResourceUrlProto=jspb$.webutil$html$types$MutableTrustedResourceUrl
Proto;proto.html.MutableTrustedResourceUrlProto=jspb$.webutil$html$types$MutableTru
stedResourceUrlProto;proto.html.ImmutableTrustedResourceUrlProto=jspb$.webutil$html
$types$ImmutableTrustedResourceUrlProto;function
module$contents$google3$third_party$javascript$safevalues$conversions$jspb$index_pr
otoToScript(a){if(!a)return
null;a=a.getPrivateDoNotAccessOrElseSafeScriptWrappedValue();return null===a||void
0===a?
null:module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_
scriptSafeByReview(a,{justification:"Conversion from JSPB Proto"})};var
module$exports$google3$javascript$security$jsonps$jsonpsandbox={JsonpSandbox:functi
on(a,b){b=void 0===b?
5E3:b;this.url=a;this.timeout=b;this.callbackParamName=this.callbackName="callback"
;this.fetchResolver=this.iframe=null}};
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.prototy
pe.fetch=function(a){var b=this;a=void 0===a?
{}:a;this.fetchResolver=goog.Promise.withResolver();var c=new
goog.Uri(this.url),d=new
Map;this.callbackParamName&&d.set(this.callbackParamName,this.callbackName);c.getQu
eryData().extend(goog.Uri.QueryData.createFromMap(a),d);this.createSandbox().then(f
unction(){b.sendMessageToSandbox(c.toString())}).then(function(){return
b.fetchResolver.promise}).then(function(){b.destroySandbox()},
function()
{b.destroySandbox()});0<this.timeout&&(this.timeoutId=setTimeout(function()
{b.fetchResolver.reject("Timeout!")},this.timeout));return
this.fetchResolver.promise};module$exports$google3$javascript$security$jsonps$jsonp
sandbox.JsonpSandbox.prototype.sendMessageToSandbox=function(a){var b=this,c=new
MessageChannel;a={url:a,callbackName:this.callbackName};this.iframe.contentWindow.p
ostMessage(a,"*",[c.port2]);c.port1.onmessage=function(d)
{b.handleMessageFromSandbox(d)}};
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.prototy
pe.handleMessageFromSandbox=function(a){var b={};void 0!
==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0);void
0===a.data&&this.fetchResolver.reject("Callback called, but no data
received");"string"!==typeof a.data&&this.fetchResolver.reject("Exploitation
attempt! Data is not a string!");try{b=JSON.parse(a.data)}catch(c)
{this.fetchResolver.reject("Invalid Data received:
"+c.message)}this.fetchResolver.resolve(b)};
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.createD
ocForIframe=function(a)
{return(0,module$exports$google3$third_party$javascript$safevalues$index.concatHtml
s)([(0,module$exports$google3$third_party$javascript$safevalues$index.doctypeHtml)
(),(0,module$exports$google3$third_party$javascript$safevalues$index.createHtml)
("body",{},
(0,module$exports$google3$third_party$javascript$safevalues$index.scriptToHtml)(a,
{nonce:module$exports$google3$third_party$javascript$safevalues$dom$globals$window.
getScriptNonce(window)}))])};
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.createU
rlForIframe=function(a){return
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_resou
rceUrlSafeByReview("data:text/html;charset=UTF-
8;base64,"+btoa((0,module$exports$google3$third_party$javascript$safevalues$index.u
nwrapHtml)(a).toString()),{justification:"data URL to be opened only in a
sandbox"})};
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.prototy
pe.createSandbox=function(){var
a=goog.Promise.withResolver(),b=goog.dom.createElement(goog.dom.TagName.IFRAME);if(
!b.sandbox)throw Error("iframe sandboxes not supported");b.sandbox.value="allow-
scripts";b.style.display="none";this.iframe=b;var
c=module$contents$google3$third_party$javascript$safevalues$conversions$jspb$index_
protoToScript(module$contents$google3$javascript$security$jsonps$content_script_dat
a||(module$contents$google3$javascript$security$jsonps$content_script_data=
jspb$.webutil$html$types$ImmutableSafeScriptProto.deserialize('[null,null,null,null
,null,"(function(){\'use strict\';/*\\n\\n Copyright The Closure Library Authors.\\
n SPDX-License-Identifier: Apache-2.0\\n*/\\nvar e\\u003dthis||self;function f(a)
{return a};var h;function k(a){this.g\\u003da}k.prototype.toString\\u003dfunction()
{return this.g+\\"\\"};var l\\u003d{};function m(a){if(void 0\\u003d\\u003d\\
u003dh){var c\\u003dnull;var b\\u003de.trustedTypes;if(b\\u0026\\
u0026b.createPolicy){try{c\\u003db.createPolicy(\\"goog#html\\",
{createHTML:f,createScript:f,createScriptURL:f})}catch(d){e.console\\u0026\\
u0026e.console.error(d.message)}h\\u003dc}else h\\u003dc}a\\u003d(c\\u003dh)?
c.createScriptURL(a):a;return new k(a,l)};/*\\n\\n SPDX-License-Identifier: Apache-
2.0\\n*/\\nif(!function(){if(self.origin)return\\"null\\"\\u003d\\u003d\\
u003dself.origin;if(\\"\\"!\\u003d\\u003dlocation.host)return!1;try{return
window.parent.escape(\\"\\"),!1}catch(a){return!0}}())throw Error(\\"sandboxing
error\\");\\nwindow.addEventListener(\\"message\\",function(a){var c\\
u003da.ports[0];a\\u003da.data;var b\\u003da.callbackName.split(\\".\\"),d\\
u003dwindow;\\"window\\"\\u003d\\u003d\\u003db[0]\\u0026\\u0026b.shift();for(var
g\\u003d0;g\\u003cb.length-1;g++)d[b[g]]\\u003d{},d\\u003dd[b[g]];d[b[b.length-
1]]\\u003dfunction(n){c.postMessage(JSON.stringify(n))};b\\
u003ddocument.createElement(\\"script\\");a\\u003dm(a.url);b.src\\u003da instanceof
k\\u0026\\u0026a.constructor\\u003d\\u003d\\u003dk?
a.g:\\"type_error:TrustedResourceUrl\\";document.body.appendChild(b)},!
0);}).call(this);\\n"]')));
c=module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox.creat
eDocForIframe(c);module$exports$google3$third_party$javascript$safevalues$dom$eleme
nts$iframe.setSrcdoc(b,c);c=module$exports$google3$javascript$security$jsonps$jsonp
sandbox.JsonpSandbox.createUrlForIframe(c);module$exports$google3$third_party$javas
cript$safevalues$dom$elements$iframe.setSrc(b,c);b.addEventListener("load",function
(){return a.resolve(b)},!1);b.addEventListener("error",function(d){a.reject(d)},!
1);document.documentElement.appendChild(b);
return
a.promise};module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSand
box.prototype.destroySandbox=function(){null!
==this.iframe&&(document.documentElement.removeChild(this.iframe),this.iframe=null)
};goog.security={};goog.security.JsonpSandbox=module$exports$google3$javascript$sec
urity$jsonps$jsonpsandbox.JsonpSandbox;var
module$contents$ocean$net$JsonpRequest_JsonpRequest=function(a)
{module$exports$ocean$net$RemoteObjectRequest.call(this,a);this.jsonp_=new
module$exports$google3$javascript$security$jsonps$jsonpsandbox.JsonpSandbox(a);this
.isAborted_=!0};
$jscomp.inherits(module$contents$ocean$net$JsonpRequest_JsonpRequest,module$exports
$ocean$net$RemoteObjectRequest);
module$contents$ocean$net$JsonpRequest_JsonpRequest.prototype.fetch=function(a,b)
{module$exports$ocean$net$RemoteObjectRequest.prototype.fetch.call(this,a,b);this.i
sAborted_=!
1;this.jsonp_.fetch().then(goog.bind(this.handleSuccessResponse_,this,a),goog.bind(
this.handleFailureResponse_,this,b))};
module$contents$ocean$net$JsonpRequest_JsonpRequest.prototype.handleSuccessResponse
_=function(a,b){this.isAborted_||
(this.setObject(b),this.dispatchEvent(goog.net.EventType.SUCCESS),a&&a(this.respons
eObject_),this.reset_())};module$contents$ocean$net$JsonpRequest_JsonpRequest.proto
type.handleFailureResponse_=function(a){this.isAborted_||
(this.dispatchEvent(goog.net.EventType.ERROR),a&&a(),this.reset_())};
module$contents$ocean$net$JsonpRequest_JsonpRequest.prototype.reset_=function()
{this.isAborted_=!
0};module$contents$ocean$net$JsonpRequest_JsonpRequest.prototype.abort=function()
{this.reset_();return!
0};ocean.net.JsonpRequest=module$contents$ocean$net$JsonpRequest_JsonpRequest;ocean
.api={};ocean.api.PreviewUrlLookup=function(a,b,c,d,e){Array.isArray(a)||
(a=[a]);this.identifiers_=a;this.successAction_=b;this.notFoundAction_=c;b=new
goog.Uri((GBS_HOST||"https://books.google.com/")+"books?
jscmd=viewapi");b.setParameterValue("bibkeys",a.join(","));b.setParameterValue("hl"
,e||"fr");b.setParameterValue("source",d||"previewlib");a=new
module$contents$ocean$net$JsonpRequest_JsonpRequest(b);a.fetch(goog.bind(this.handl
eApiFetch_,this))};
ocean.api.PreviewUrlLookup.prototype.handleApiFetch_=function(a){for(var
b=0;b<this.identifiers_.length;b++){var c=this.identifiers_[b];if(c=a[c]){var
d=c.preview_url;if(d&&ocean.api.PreviewUrlLookup.canEmbed_(c))
{this.successAction_&&this.successAction_(d);return}}}this.notFoundAction_&&this.no
tFoundAction_()};ocean.api.PreviewUrlLookup.canEmbed_=function(a){var
b=a.preview;a=a.embeddable;void 0===a&&(a=!
0);return("full"==b||"partial"==b)&&a};goog.i18n.bidi={};goog.i18n.bidi.FORCE_RTL=!
1;goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||!1;goog.i18n.bidi.Format={LRE:"\
u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\
u200f"};goog.i18n.bidi.Dir={LTR:1,RTL:-
1,NEUTRAL:0};goog.i18n.bidi.RIGHT="right";goog.i18n.bidi.LEFT="left";goog.i18n.bidi
.I18N_RIGHT=goog.i18n.bidi.IS_RTL?
goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT;goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS
_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT;
goog.i18n.bidi.toDir=function(a,b){return"number"==typeof a?0<a?
goog.i18n.bidi.Dir.LTR:0>a?goog.i18n.bidi.Dir.RTL:b?
null:goog.i18n.bidi.Dir.NEUTRAL:null==a?null:a?
goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.ltrChars_="A-Za-z\
u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\
ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\
uffff";goog.i18n.bidi.rtlChars_="\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\
ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc";
goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/
g;goog.i18n.bidi.stripHtmlIfNeeded_=function(a,b){return b?
a.replace(goog.i18n.bidi.htmlSkipReg_,""):a};goog.i18n.bidi.rtlCharReg_=new
RegExp("["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.ltrCharReg_=new
RegExp("["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.hasAnyRtl=function(a,b)
{return
goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.
bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl;
goog.i18n.bidi.hasAnyLtr=function(a,b){return
goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.
bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]");goog.i18n.bidi.rtlRe_=new
RegExp("^["+goog.i18n.bidi.rtlChars_+"]");goog.i18n.bidi.isRtlChar=function(a)
{return goog.i18n.bidi.rtlRe_.test(a)};goog.i18n.bidi.isLtrChar=function(a){return
goog.i18n.bidi.ltrRe_.test(a)};goog.i18n.bidi.isNeutralChar=function(a){return!
goog.i18n.bidi.isLtrChar(a)&&!goog.i18n.bidi.isRtlChar(a)};
goog.i18n.bidi.ltrDirCheckRe_=new
RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]");goog.i18n
.bidi.rtlDirCheckRe_=new
RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]");goog.i18n
.bidi.startsWithRtl=function(a,b){return
goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i1
8n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl;
goog.i18n.bidi.startsWithLtr=function(a,b){return
goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i1
8n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr;goog.i18n.bidi.isRequiredLtrRe_=/
^http:\/\/.*/;goog.i18n.bidi.isNeutralText=function(a,b)
{a=goog.i18n.bidi.stripHtmlIfNeeded_(a,b);return
goog.i18n.bidi.isRequiredLtrRe_.test(a)||!goog.i18n.bidi.hasAnyLtr(a)&&!
goog.i18n.bidi.hasAnyRtl(a)};
goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]
[^"+goog.i18n.bidi.rtlChars_+"]*$");goog.i18n.bidi.rtlExitDirCheckRe_=new
RegExp("["+goog.i18n.bidi.rtlChars_+"]
[^"+goog.i18n.bidi.ltrChars_+"]*$");goog.i18n.bidi.endsWithLtr=function(a,b){return
goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goo
g.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr;
goog.i18n.bidi.endsWithRtl=function(a,b){return
goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goo
g.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl;goog.i18n.bidi.rtlLocalesRe_=R
egExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|
Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|
_)","i");goog.i18n.bidi.isRtlLanguage=function(a){return
goog.i18n.bidi.rtlLocalesRe_.test(a)};goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)
+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g;
goog.i18n.bidi.guardBracketInText=function(a,b){b=(b=void 0===b?
goog.i18n.bidi.hasAnyRtl(a):b)?
goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM;return
a.replace(goog.i18n.bidi.bracketGuardTextRe_,b+"$&"+b)};goog.i18n.bidi.enforceRtlIn
Html=function(a){return"<"==a.charAt(0)?a.replace(/<\w+/,"$& dir=rtl"):"\n<span
dir=rtl>"+a+"</span>"};goog.i18n.bidi.enforceRtlInText=function(a){return
goog.i18n.bidi.Format.RLE+a+goog.i18n.bidi.Format.PDF};
goog.i18n.bidi.enforceLtrInHtml=function(a){return"<"==a.charAt(0)?a.replace(/<\
w+/,"$& dir=ltr"):"\n<span
dir=ltr>"+a+"</span>"};goog.i18n.bidi.enforceLtrInText=function(a){return
goog.i18n.bidi.Format.LRE+a+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.dimensionsRe_
=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/
g;goog.i18n.bidi.leftRe_=/left/gi;goog.i18n.bidi.rightRe_=/right/
gi;goog.i18n.bidi.tempRe_=/%%%%/g;
goog.i18n.bidi.mirrorCSS=function(a){return
a.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3
$2").replace(goog.i18n.bidi.leftRe_,"%%%
%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tem
pRe_,goog.i18n.bidi.RIGHT)};goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\
u05f2])"/g;goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g;
goog.i18n.bidi.normalizeHebrewQuote=function(a){return
a.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\
u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\
u05f3")};goog.i18n.bidi.wordSeparatorRe_=/\s+/;goog.i18n.bidi.hasNumeralsRe_=/[\d\
u06f0-\u06f9]/;goog.i18n.bidi.rtlDetectionThreshold_=.4;
goog.i18n.bidi.estimateDirection=function(a,b){var c=0,d=0,e=!
1;a=goog.i18n.bidi.stripHtmlIfNeeded_(a,b).split(goog.i18n.bidi.wordSeparatorRe_);f
or(b=0;b<a.length;b++){var f=a[b];goog.i18n.bidi.startsWithRtl(f)?(c++,d+
+):goog.i18n.bidi.isRequiredLtrRe_.test(f)?e=!0:goog.i18n.bidi.hasAnyLtr(f)?d+
+:goog.i18n.bidi.hasNumeralsRe_.test(f)&&(e=!0)}return 0==d?e?
goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:c/d>goog.i18n.bidi.rtlDetectionTh
reshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};
goog.i18n.bidi.detectRtlDirectionality=function(a,b){return
goog.i18n.bidi.estimateDirection(a,b)==goog.i18n.bidi.Dir.RTL};goog.i18n.bidi.setEl
ementDirAndAlign=function(a,b)
{a&&(b=goog.i18n.bidi.toDir(b))&&(a.style.textAlign=b==goog.i18n.bidi.Dir.RTL?
goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,a.dir=b==goog.i18n.bidi.Dir.RTL?"rtl":"ltr
")};
goog.i18n.bidi.setElementDirByTextDirectionality=function(a,b)
{switch(goog.i18n.bidi.estimateDirection(b)){case goog.i18n.bidi.Dir.LTR:"ltr"!
==a.dir&&(a.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!
==a.dir&&(a.dir="rtl");break;default:a.removeAttribute("dir")}};goog.i18n.bidi.Dire
ctionalString=function()
{};goog.soy={};goog.soy.data={};goog.soy.data.SanitizedContentKind={HTML:goog.DEBUG
?{sanitizedContentKindHtml:!0}:{},JS:goog.DEBUG?{sanitizedContentJsChars:!0}:
{},URI:goog.DEBUG?{sanitizedContentUri:!0}:{},TRUSTED_RESOURCE_URI:goog.DEBUG?
{sanitizedContentTrustedResourceUri:!0}:{},ATTRIBUTES:goog.DEBUG?
{sanitizedContentHtmlAttribute:!0}:{},STYLE:goog.DEBUG?{sanitizedContentStyle:!0}:
{},CSS:goog.DEBUG?{sanitizedContentCss:!0}:{}};
goog.soy.data.SanitizedContent=function(){throw Error("Do not instantiate
directly");};goog.soy.data.SanitizedContent.prototype.contentDir=null;goog.soy.data
.SanitizedContent.prototype.getContent=function(){return
this.content};goog.soy.data.SanitizedContent.prototype.toString=function(){return
this.content};
goog.soy.data.SanitizedContent.prototype.toSafeHtml=function(){if(this.contentKind!
==goog.soy.data.SanitizedContentKind.HTML)throw Error("Sanitized content was not of
kind HTML.");return
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_htmlS
afeByReview(this.toString(),{justification:"Soy SanitizedContent of kind HTML
produces SafeHtml-contract-compliant
value."})};goog.soy.data.SanitizedHtml=function()
{goog.soy.data.SanitizedContent.call(this)};
goog.inherits(goog.soy.data.SanitizedHtml,goog.soy.data.SanitizedContent);goog.soy.
data.SanitizedHtml.prototype.contentKind=goog.soy.data.SanitizedContentKind.HTML;go
og.soy.data.SanitizedHtml.isCompatibleWith=function(a){return"string"===typeof a||
goog.soy.data.SanitizedHtml.isCompatibleWithStrict(a)};goog.soy.data.SanitizedHtml.
isCompatibleWithStrict=function(a){return a instanceof
goog.soy.data.SanitizedHtml||a instanceof
module$exports$google3$third_party$javascript$safevalues$index.SafeHtml};
goog.soy.data.SanitizedJs=function()
{goog.soy.data.SanitizedContent.call(this)};goog.inherits(goog.soy.data.SanitizedJs
,goog.soy.data.SanitizedContent);goog.soy.data.SanitizedJs.prototype.contentKind=go
og.soy.data.SanitizedContentKind.JS;goog.soy.data.SanitizedJs.prototype.contentDir=
goog.i18n.bidi.Dir.LTR;goog.soy.data.SanitizedJs.isCompatibleWith=function(a)
{return"string"===typeof a||goog.soy.data.SanitizedJs.isCompatibleWithStrict(a)};
goog.soy.data.SanitizedJs.isCompatibleWithStrict=function(a){return a instanceof
goog.soy.data.SanitizedJs||a instanceof
module$exports$google3$third_party$javascript$safevalues$internals$script_impl.Safe
Script};goog.soy.data.SanitizedUri=function()
{goog.soy.data.SanitizedContent.call(this)};goog.inherits(goog.soy.data.SanitizedUr
i,goog.soy.data.SanitizedContent);goog.soy.data.SanitizedUri.prototype.contentKind=
goog.soy.data.SanitizedContentKind.URI;
goog.soy.data.SanitizedUri.prototype.contentDir=goog.i18n.bidi.Dir.LTR;goog.soy.dat
a.SanitizedUri.isCompatibleWith=function(a){return"string"===typeof a||
goog.soy.data.SanitizedUri.isCompatibleWithStrict(a)};goog.soy.data.SanitizedUri.is
CompatibleWithStrict=function(a){return a instanceof goog.soy.data.SanitizedUri||a
instanceof
module$exports$google3$third_party$javascript$safevalues$internals$url_impl.SafeUrl
||a instanceof goog.html.TrustedResourceUrl||a instanceof goog.Uri};
goog.soy.data.SanitizedTrustedResourceUri=function()
{goog.soy.data.SanitizedContent.call(this)};goog.inherits(goog.soy.data.SanitizedTr
ustedResourceUri,goog.soy.data.SanitizedContent);goog.soy.data.SanitizedTrustedReso
urceUri.prototype.contentKind=goog.soy.data.SanitizedContentKind.TRUSTED_RESOURCE_U
RI;goog.soy.data.SanitizedTrustedResourceUri.prototype.contentDir=goog.i18n.bidi.Di
r.LTR;goog.soy.data.SanitizedTrustedResourceUri.isCompatibleWith=function(a)
{return"string"===typeof a||
goog.soy.data.SanitizedTrustedResourceUri.isCompatibleWithStrict(a)};
goog.soy.data.SanitizedTrustedResourceUri.isCompatibleWithStrict=function(a){return
a instanceof goog.soy.data.SanitizedTrustedResourceUri||a instanceof
goog.html.TrustedResourceUrl};goog.soy.data.SanitizedHtmlAttribute=function()
{goog.soy.data.SanitizedContent.call(this)};goog.inherits(goog.soy.data.SanitizedHt
mlAttribute,goog.soy.data.SanitizedContent);goog.soy.data.SanitizedHtmlAttribute.pr
ototype.contentKind=goog.soy.data.SanitizedContentKind.ATTRIBUTES;
goog.soy.data.SanitizedHtmlAttribute.prototype.contentDir=goog.i18n.bidi.Dir.LTR;go
og.soy.data.SanitizedHtmlAttribute.isCompatibleWith=function(a)
{return"string"===typeof a||
goog.soy.data.SanitizedHtmlAttribute.isCompatibleWithStrict(a)};goog.soy.data.Sanit
izedHtmlAttribute.isCompatibleWithStrict=function(a){return a instanceof
goog.soy.data.SanitizedHtmlAttribute};goog.soy.data.SanitizedCss=function()
{goog.soy.data.SanitizedContent.call(this)};goog.inherits(goog.soy.data.SanitizedCs
s,goog.soy.data.SanitizedContent);
goog.soy.data.SanitizedCss.prototype.contentKind=goog.soy.data.SanitizedContentKind
.CSS;goog.soy.data.SanitizedCss.prototype.contentDir=goog.i18n.bidi.Dir.LTR;goog.so
y.data.SanitizedCss.isCompatibleWith=function(a){return"string"===typeof a||
goog.soy.data.SanitizedCss.isCompatibleWithStrict(a)};goog.soy.data.SanitizedCss.is
CompatibleWithStrict=function(a){return a instanceof goog.soy.data.SanitizedCss||a
instanceof module$contents$goog$html$SafeStyle_SafeStyle||a instanceof
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet};var
module$exports$soy$checks={},module$contents$soy$checks_isContentKind_=function(a,b
,c){(b=null!=a&&a.contentKind===b)&&goog.asserts.assert(a.constructor===c);return
b};module$exports$soy$checks.isHtml=function(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.HTML
,goog.soy.data.SanitizedHtml)};module$exports$soy$checks.isCss=function(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.CSS,
goog.soy.data.SanitizedCss)};
module$exports$soy$checks.isAttribute=function(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.ATTR
IBUTES,goog.soy.data.SanitizedHtmlAttribute)};module$exports$soy$checks.isJS=functi
on(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.JS,g
oog.soy.data.SanitizedJs)};
module$exports$soy$checks.isTrustedResourceURI=function(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.TRUS
TED_RESOURCE_URI,goog.soy.data.SanitizedTrustedResourceUri)};module$exports$soy$che
cks.isURI=function(a){return
module$contents$soy$checks_isContentKind_(a,goog.soy.data.SanitizedContentKind.URI,
goog.soy.data.SanitizedUri)};goog.i18n.BidiFormatter=function(a)
{this.contextDir_=goog.i18n.bidi.toDir(a,!
0)};goog.i18n.BidiFormatter.prototype.estimateDirection=goog.i18n.bidi.estimateDire
ction;goog.i18n.BidiFormatter.prototype.mark=function(){switch(this.contextDir_)
{case goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Format.LRM;case
goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Format.RLM;default:return""}};var
module$contents$soy_getContentDir=function(a){if(null!=a)switch(a.contentDir){case
goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Dir.LTR;case
goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Dir.RTL;case
goog.i18n.bidi.Dir.NEUTRAL:return goog.i18n.bidi.Dir.NEUTRAL}return
null},module$contents$soy_createSanitizedHtml=function(a)
{return(0,module$exports$soy$checks.isHtml)(a)?a:a instanceof
module$exports$google3$third_party$javascript$safevalues$index.SafeHtml?
module$contents$soy_VERY_UNSAFE.ordainSanitizedHtml((0,module$exports$google3$third
_party$javascript$safevalues$index.unwrapHtml)(a).toString()):
module$contents$soy_VERY_UNSAFE.ordainSanitizedHtml(module$contents$soy_$
$escapeHtmlHelper(String(a)),module$contents$soy_getContentDir(a))},module$contents
$soy_$$makeSanitizedContentFactory_=function(a){function b(d)
{this.content=d}function c(d,e){d=new b(String(d));void 0!
==e&&(d.contentDir=e);return d}b.prototype=a.prototype;return
c},module$contents$soy_$$makeSanitizedContentFactoryWithDefaultDirOnly_=function(a)
{function b(d){this.content=d}function c(d){return d=new b(String(d))}b.prototype=
a.prototype;return
c},module$contents$soy_VERY_UNSAFE={};module$contents$soy_VERY_UNSAFE.ordainSanitiz
edHtml=module$contents$soy_$
$makeSanitizedContentFactory_(goog.soy.data.SanitizedHtml);module$contents$soy_VERY
_UNSAFE.ordainSanitizedJs=module$contents$soy_$
$makeSanitizedContentFactoryWithDefaultDirOnly_(goog.soy.data.SanitizedJs);module$c
ontents$soy_VERY_UNSAFE.ordainSanitizedUri=module$contents$soy_$
$makeSanitizedContentFactoryWithDefaultDirOnly_(goog.soy.data.SanitizedUri);
module$contents$soy_VERY_UNSAFE.ordainSanitizedTrustedResourceUri=module$contents$s
oy_$
$makeSanitizedContentFactoryWithDefaultDirOnly_(goog.soy.data.SanitizedTrustedResou
rceUri);module$contents$soy_VERY_UNSAFE.ordainSanitizedHtmlAttribute=module$content
s$soy_$
$makeSanitizedContentFactoryWithDefaultDirOnly_(goog.soy.data.SanitizedHtmlAttribut
e);module$contents$soy_VERY_UNSAFE.ordainSanitizedCss=module$contents$soy_$
$makeSanitizedContentFactoryWithDefaultDirOnly_(goog.soy.data.SanitizedCss);
var module$contents$soy_$$stubsMap=goog.DEBUG?{}:null,module$contents$soy_$
$isTruthyNonEmpty=function(a){return a instanceof goog.soy.data.SanitizedContent?!!
a.getContent():!!a},module$contents$soy_$$HTML5_VOID_ELEMENTS_=RegExp("^<(?:area|
base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\
b"),module$contents$soy_$$stripHtmlTags=function(a,b){if(!b)return
module$contents$soy_$$replaceHtmlTags_(String(a),function()
{return""}).replace(module$contents$soy_$$LT_REGEX_,"&lt;");
a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=module$contents$soy_$
$replaceHtmlTags_(a,function(f,g)
{if(g&&(g=g.toLowerCase(),b.hasOwnProperty(g)&&b[g])){var
h="/"===f.charAt(1),k=c.length,l="</",m="";if(!h){for(l="<";h=module$contents$soy_$
$HTML_ATTRIBUTE_REGEX_.exec(f);)if(h[1]&&"dir"===h[1].toLowerCase()){if(f=h[2])
{if("'"===f.charAt(0)||'"'===f.charAt(0))f=f.substr(1,f.length-
2);f=f.toLowerCase();if("ltr"===f||"rtl"===f||"auto"===f)m='
dir="'+f+'"'}break}module$contents$soy_$$HTML_ATTRIBUTE_REGEX_.lastIndex=
0}c[k]=l+g+">";d[k]=m;return"["+k+"]"}return""});a=module$contents$soy_$
$normalizeHtmlHelper(a);var e=module$contents$soy_$$balanceTags_(c);a=a.replace(/\
[(\d+)\]/g,function(f,g){return d[g]&&c[g]?c[g].substr(0,c[g].length-1)+d[g]
+">":c[g]});return
a+e},module$contents$soy_STATE={DEFAULT:0,TAG:1},module$contents$soy_hasNativeY=Reg
Exp.prototype.hasOwnProperty("sticky"),module$contents$soy_$
$HTML_TAG_FIRST_TOKEN_=new RegExp((module$contents$soy_hasNativeY?"":"^")+"(?:!|/?
([a-zA-Z][a-zA-Z0-9:-]*))",
module$contents$soy_hasNativeY?"gy":"g");
function module$contents$soy_$$replaceHtmlTags_(a,b){for(var
c=[],d=a.length,e=module$contents$soy_STATE.DEFAULT,f=[],g,h,k=function()
{e=module$contents$soy_STATE.DEFAULT;f=[];h=g=null},l=0;l<d;){switch(e){case
module$contents$soy_STATE.DEFAULT:var m=a.indexOf("<",l);if(0>m)
{if(0===c.length)return a;c.push(a.substring(l));l=d}else
c.push(a.substring(l,m)),h=m,l=m+1,m=void 0,module$contents$soy_hasNativeY?
(module$contents$soy_$$HTML_TAG_FIRST_TOKEN_.lastIndex=l,m=module$contents$soy_$
$HTML_TAG_FIRST_TOKEN_.exec(a)):
(module$contents$soy_$$HTML_TAG_FIRST_TOKEN_.lastIndex=0,m=module$contents$soy_$
$HTML_TAG_FIRST_TOKEN_.exec(a.substring(l))),m?
(f=["<",m[0]],g=m[1],e=module$contents$soy_STATE.TAG,l+=m[0].length):c.push("<");br
eak;case module$contents$soy_STATE.TAG:m=a.charAt(l++);switch(m){case "'":case
'"':var n=a.indexOf(m,l);0>n?l=d:(f.push(m,a.substring(l,n+1)),l=n+1);break;case
">":f.push(m);c.push(b(f.join(""),g));k();break;default:f.push(m)}break;default:thr
ow Error();}e===module$contents$soy_STATE.TAG&&l>=
d&&(l=h+1,c.push("<"),k())}return c.join("")}
var module$contents$soy_$$balanceTags_=function(a){for(var b=[],c=0,d=a.length;c<d;
++c){var e=a[c];"/"==e.charAt(1)?(e=b.lastIndexOf(e),0>e?a[c]="":
(a[c]=b.slice(e).reverse().join(""),b.length=e)):"<li>"==e&&0>b.lastIndexOf("</
ol>")&&0>b.lastIndexOf("</ul>")?a[c]="":module$contents$soy_$
$HTML5_VOID_ELEMENTS_.test(e)||b.push("</"+e.substring(1))}return
b.reverse().join("")},module$contents$soy_$$escapeHtmlAttribute=function(a)
{return(0,module$exports$soy$checks.isHtml)(a)?module$contents$soy_$
$normalizeHtmlHelper(module$contents$soy_$$stripHtmlTags(a.getContent())):
module$contents$soy_$
$escapeHtmlHelper(a)},module$contents$soy_assertParamType=function(a,b,c,d,e)
{goog.asserts.ENABLE_ASSERTS&&!a&&(goog.DEBUG&&goog.asserts.fail("expected "+d+"
"+b+" of type "+e+", but got "+goog.debug.runtimeType(c)
+"."),goog.asserts.fail("parameter type error. Enable DEBUG to see
details."));return c},module$contents$soy_$
$internalCallMarkerDoNotUse={},module$contents$soy_$
$areYouAnInternalCaller=function(a){goog.asserts.assert(a===module$contents$soy_$
$internalCallMarkerDoNotUse,
"found an incorrect call marker, was an internal function called from the top
level?")},module$contents$soy_$$debugSoyTemplateInfo=!1,module$contents$soy_$
$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NO
RMALIZE_HTML_NOSPACE_={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\
f":"&#12;","\r":"&#13;","
":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","
=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\
u2028":"&#8232;",
"\u2029":"&#8233;"},module$contents$soy_$
$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORM
ALIZE_HTML_NOSPACE_=function(a){return module$contents$soy_$
$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NO
RMALIZE_HTML_NOSPACE_[a]},module$contents$soy_$$MATCHER_FOR_ESCAPE_HTML_=/[\x00\
x22\x26\x27\x3c\x3e]/g,module$contents$soy_$$MATCHER_FOR_NORMALIZE_HTML_=/[\x00\
x22\x27\x3c\x3e]/g,module$contents$soy_$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_=
/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|
href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/
i,module$contents$soy_$$escapeHtmlHelper=function(a){a=String(a);return
a.replace(module$contents$soy_$$MATCHER_FOR_ESCAPE_HTML_,module$contents$soy_$
$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORM
ALIZE_HTML_NOSPACE_)},module$contents$soy_$$normalizeHtmlHelper=function(a)
{a=String(a);return a.replace(module$contents$soy_$$MATCHER_FOR_NORMALIZE_HTML_,
module$contents$soy_$
$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORM
ALIZE_HTML_NOSPACE_)},module$contents$soy_$$LT_REGEX_=/</g,module$contents$soy_$
$HTML_ATTRIBUTE_REGEX_=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\
u0020]*("[^"]*"|'[^']*')/g;/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var module$contents$goog$soy_IjData=function()
{};goog.soy.IjData=module$contents$goog$soy_IjData;var
module$contents$goog$soy_CompatibleIj;goog.soy.CompatibleIj=module$contents$goog$so
y_CompatibleIj;var
module$contents$goog$soy_StrictTemplate;goog.soy.StrictTemplate=module$contents$goo
g$soy_StrictTemplate;var
module$contents$goog$soy_StrictHtmlTemplate;goog.soy.StrictHtmlTemplate=module$cont
ents$goog$soy_StrictHtmlTemplate;var
module$contents$goog$soy_TextTemplate;goog.soy.TextTemplate=module$contents$goog$so
y_TextTemplate;
function module$contents$goog$soy_renderHtml(a,b){b&&b.renderElement?
b.renderElement(goog.asserts.assert(a)):goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrE
lse(goog.asserts.assert(a),module$contents$goog$soy_ensureTemplateOutputHtml(b))}go
og.soy.renderHtml=module$contents$goog$soy_renderHtml;
function module$contents$goog$soy_renderElement(a,b,c,d){(b=b(c||
module$contents$goog$soy_defaultTemplateData,d))&&b.renderElement&&a?
b.renderElement(a):
(b=module$contents$goog$soy_ensureTemplateOutputHtml(b),goog.dom.safe.unsafeSetInne
rHtmlDoNotUseOrElse(goog.asserts.assert(a),b))}goog.soy.renderElement=module$conten
ts$goog$soy_renderElement;
function module$contents$goog$soy_renderAsFragment(a,b,c,d){d=d||
goog.dom.getDomHelper();if((a=a(b||
module$contents$goog$soy_defaultTemplateData,c))&&a.renderAsElement)return
a.renderAsElement();a=module$contents$goog$soy_ensureTemplateOutputHtml(a);module$c
ontents$goog$soy_assertFirstTagValid(a.toString());return
d.safeHtmlToNode(a)}goog.soy.renderAsFragment=module$contents$goog$soy_renderAsFrag
ment;
function module$contents$goog$soy_renderAsElement(a,b,c,d){return
module$contents$goog$soy_convertToElementInternal(a(b||
module$contents$goog$soy_defaultTemplateData,c),d)}goog.soy.renderAsElement=module$
contents$goog$soy_renderAsElement;function
module$contents$goog$soy_convertToElement(a,b){return
module$contents$goog$soy_convertToElementInternal(a,b)}goog.soy.convertToElement=mo
dule$contents$goog$soy_convertToElement;
function module$contents$goog$soy_convertToElementInternal(a,b){b=b||
goog.dom.getDomHelper();a&&a.renderAsElement?b=a.renderAsElement():
(b=b.createElement(goog.dom.TagName.DIV),a=module$contents$goog$soy_ensureTemplateO
utputHtml(a),module$contents$goog$soy_assertFirstTagValid(a.toString()),goog.dom.sa
fe.unsafeSetInnerHtmlDoNotUseOrElse(b,a));return
1==b.childNodes.length&&(a=b.firstChild,a.nodeType==goog.dom.NodeType.ELEMENT)?a:b}
function module$contents$goog$soy_ensureTemplateOutputHtml(a){if(!
goog.isObject(a))return
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(String(a));if(a.toSafeHtml)
{var b=a.toSafeHtml();if(b instanceof
module$contents$goog$html$SafeHtml_SafeHtml)return b}goog.asserts.fail("Soy
template output is unsafe for use as HTML: "+a);return
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape("zSoyz")}
function module$contents$goog$soy_assertFirstTagValid(a)
{if(goog.asserts.ENABLE_ASSERTS){var
b=a.match(module$contents$goog$soy_INVALID_TAG_TO_RENDER);goog.asserts.assert(!
b,"This template starts with a %s, which cannot be a child of a <div>, as required
by soy internals. Consider using goog.soy.renderElement instead.\nTemplate output:
%s",b&&b[0],a)}}var module$contents$goog$soy_INVALID_TAG_TO_RENDER=/^<(body|
caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i;
function module$contents$goog$soy_renderAsText(a,b,c){a=a(b||
module$contents$goog$soy_defaultTemplateData,c);goog.asserts.assertString(a,'render
Text was called with a template of kind other than "text"');return
String(a)}goog.soy.renderAsText=module$contents$goog$soy_renderAsText;var
module$contents$goog$soy_defaultTemplateData={};jfk.templates={};jfk.templates.butt
on={};
jfk.templates.button.strict=function(a,b){var
c=b;if(goog.DEBUG&&module$contents$soy_$
$stubsMap["jfk.templates.button.strict"])return module$contents$soy_$
$stubsMap["jfk.templates.button.strict"](a,c);a=a||{};var
d=a.attributes;b=a.content;var
e=a.disabled,f=a.id,g=a.tabindex,h=a.title,k=a.usingKennedyTooltip,l=a.value,m,n=mo
dule$contents$soy_VERY_UNSAFE,p=n.ordainSanitizedHtml;a='<div role="button"'+
(module$contents$soy_$$isTruthyNonEmpty(f)?' id="'+module$contents$soy_$
$escapeHtmlAttribute(f)+'"':
"")+' class="'+module$contents$soy_$
$escapeHtmlAttribute(jfk.templates.button.classes_(a,c))+'"'+(module$contents$soy_$
$isTruthyNonEmpty(e)?' aria-disabled="true"':' tabindex="'+(module$contents$soy_$
$isTruthyNonEmpty(g)?module$contents$soy_$$escapeHtmlAttribute(g):"0")+'"')+
(module$contents$soy_$$isTruthyNonEmpty(h)?module$contents$soy_$
$isTruthyNonEmpty(k)?' data-tooltip="'+module$contents$soy_$$escapeHtmlAttribute(h)
+'"':' title="'+module$contents$soy_$$escapeHtmlAttribute(h)+'"':"")+
(module$contents$soy_$$isTruthyNonEmpty(l)?
' value="'+module$contents$soy_$$escapeHtmlAttribute(l)
+'"':"");module$contents$soy_$$isTruthyNonEmpty(d)?
((0,module$exports$soy$checks.isAttribute)(d)?d=d.getContent():
(d=String(d),module$contents$soy_$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_.test(d)||
(goog.asserts.fail("Bad value `%s` for |filterHtmlAttributes",[d]),d="zSoyz")),
(0,module$exports$soy$checks.isAttribute)(d)&&(d=d.getContent()),d=(d&&!
d.startsWith(" ")?" ":"")+d):d="";return p.call(n,a+d+
(goog.DEBUG&&module$contents$soy_$$debugSoyTemplateInfo?
' data-debug-soy="jfk.templates.button.strict
javascript/jfk/button/button.soy:25"':"")
+">"+module$contents$soy_createSanitizedHtml(null!=(m=b)?m:"")+"</
div>")};goog.DEBUG&&(jfk.templates.button.strict.soyTemplateName="jfk.templates.but
ton.strict");jfk.templates.button.classes_=function(a,b){a=a||{};return
jfk.templates.button.classes_$(module$contents$soy_$
$internalCallMarkerDoNotUse,b,a.classes,a.disabled,a.checked,a.style,a.width)};
jfk.templates.button.classes_$=function(a,b,c,d,e,f,g){module$contents$soy_$
$areYouAnInternalCaller(a);if(goog.DEBUG&&module$contents$soy_$
$stubsMap["jfk.templates.button.classes_"])return module$contents$soy_$
$stubsMap["jfk.templates.button.classes_"]
({classes:c,disabled:d,checked:e,style:f,width:g},b);a=c;b="goog-inline-block jfk-
button ";switch(goog.isObject(f)?f.toString():f){case 0:b+="jfk-button-
standard";break;case 2:b+="jfk-button-action";break;case 3:b+="jfk-button-
primary";break;case 1:b+=
"jfk-button-default";break;case 4:b+="jfk-button-flat";break;case 5:b+="jfk-button-
mini";break;case 6:b+="jfk-button-contrast";break;default:b+="jfk-button-
standard"}return b+=((g&&g.isInvokableFn&&(1).isInvokableFn?g.contentKind!
==(1).contentKind?0:g.toString()===(1).toString():1==g)?" jfk-button-narrow":"")+
(module$contents$soy_$$isTruthyNonEmpty(e)?" jfk-button-checked":"")+
(module$contents$soy_$$isTruthyNonEmpty(a)?" "+a:"")+(module$contents$soy_$
$isTruthyNonEmpty(d)?" jfk-button-disabled":"")};
goog.DEBUG&&(jfk.templates.button.classes_.soyTemplateName="jfk.templates.button.cl
asses_");jfk.templates.button.search=function(a,b){a=a||{};return
jfk.templates.button.search$(module$contents$soy_$
$internalCallMarkerDoNotUse,b,a.classes,a.tabindex)};
jfk.templates.button.search$=function(a,b,c,d){module$contents$soy_$
$areYouAnInternalCaller(a);if(goog.DEBUG&&module$contents$soy_$
$stubsMap["jfk.templates.button.search"])return module$contents$soy_$
$stubsMap["jfk.templates.button.search"]({classes:c,tabindex:d},b);a=c;return
module$contents$soy_VERY_UNSAFE.ordainSanitizedHtml(jfk.templates.button.strict({st
yle:2,content:module$contents$soy_VERY_UNSAFE.ordainSanitizedHtml(""+jfk.templates.
button.searchIcon_(null,b)),classes:a,tabindex:d},b))};
goog.DEBUG&&(jfk.templates.button.search.soyTemplateName="jfk.templates.button.sear
ch");
jfk.templates.button.searchIcon_=function(a,b){return
goog.DEBUG&&module$contents$soy_$$stubsMap["jfk.templates.button.searchIcon_"]?
module$contents$soy_$$stubsMap["jfk.templates.button.searchIcon_"]
(a,b):module$contents$soy_VERY_UNSAFE.ordainSanitizedHtml('<img
src="//ssl.gstatic.com/ui/v1/button/search-white.png" style="width: 21px; height:
21px;" class="'+module$contents$soy_$$escapeHtmlAttribute("jfk-button-img")+'"'+
(goog.DEBUG&&module$contents$soy_$$debugSoyTemplateInfo?' data-debug-
soy="jfk.templates.button.searchIcon_ javascript/jfk/button/button.soy:118"':
"")
+">")};goog.DEBUG&&(jfk.templates.button.searchIcon_.soyTemplateName="jfk.templates
.button.searchIcon_");jspb$.jfk$ButtonStyle$Style={STANDARD:0,DEFAULT:1,ACTION:2,PR
IMARY:3,FLAT:4,MINI:5,CONTRAST:6};jspb$.jfk$ButtonStyle$Width={NORMAL:0,NARROW:1};j
spb$.jfk$MutableButtonStyle=function(a)
{module$contents$jspb_internal_public_for_gencode_GeneratedMessage.call(this,a)};
$jscomp.inherits(jspb$.jfk$MutableButtonStyle,module$contents$jspb_internal_public_
for_gencode_GeneratedMessage);jspb$.jfk$MutableButtonStyle.deserialize=module$conte
nts$jspb_internal_public_for_gencode_makeMutableDeserializeFunction(jspb$.jfk$Mutab
leButtonStyle);jspb$.jfk$MutableButtonStyle.hasInstance=module$contents$jspb_intern
al_public_for_gencode_makeHasMutableInstance(jspb$.jfk$MutableButtonStyle);
module$exports$jspb$internal_options.GENERATE_TYPE_NAME_PROPERTIES&&(jspb$.jfk$Muta
bleButtonStyle.internalDoNotUse_debugOnlyProtoTypeName="jfk.ButtonStyle");jspb$.jfk
$ReadonlyButtonStyle={};jspb$.jfk$MutableButtonStyle.ObjectFormat=function()
{};module$contents$jspb_internal_public_for_gencode_GENERATE_FROM_OBJECT&&(jspb$.jf
k$MutableButtonStyle.fromObject=function(){var a=new
jspb$.jfk$MutableButtonStyle;return
a});jspb$.jfk$MutableButtonStyle.prototype.toObject=function(){return
jspb$.jfk$MutableButtonStyle.internal_toObject(this)};
jspb$.jfk$MutableButtonStyle.internal_toObject=function(a){if(null!=a)return
module$contents$jspb_internal_public_for_gencode_assertMutable(a),a={}};jspb$.jfk$M
utableButtonStyle.internalDoNotUse$jfk$ButtonStyle$binaryFieldsObject=[0];jspb$.jfk
$MutableButtonStyle.deserializeBinary=module$contents$jspb_internal_public_for_genc
ode_makeDeserializeBinaryFunction(jspb$.jfk$MutableButtonStyle,jspb$.jfk$MutableBut
tonStyle.internalDoNotUse$jfk$ButtonStyle$binaryFieldsObject);
jspb$.jfk$MutableButtonStyle.deserializeBinaryFromReader=module$contents$jspb_inter
nal_public_for_gencode_makeDeserializeBinaryFromReaderFunction(jspb$.jfk$MutableBut
tonStyle.internalDoNotUse$jfk$ButtonStyle$binaryFieldsObject);jspb$.jfk$MutableButt
onStyle.prototype.serializeBinary=module$contents$jspb_internal_public_for_gencode_
makePrototypeSerializeBinaryFunction(jspb$.jfk$MutableButtonStyle.internalDoNotUse$
jfk$ButtonStyle$binaryFieldsObject);jspb$.jfk$MutableButtonStyle.serializeBinary=mo
dule$contents$jspb_internal_public_for_gencode_makeSerializeBinaryFunction(jspb$.jf
k$MutableButtonStyle.internalDoNotUse$jfk$ButtonStyle$binaryFieldsObject);
jspb$.jfk$MutableButtonStyle.serializeBinaryToByteString=module$contents$jspb_inter
nal_public_for_gencode_makeSerializeBinaryToByteStringFunction(jspb$.jfk$MutableBut
tonStyle.internalDoNotUse$jfk$ButtonStyle$binaryFieldsObject);jspb$.jfk$MutableButt
onStyle.makeCrossSerializerComparisonsCompatible=module$contents$jspb_internal_publ
ic_for_gencode_makeCrossSerializerComparisonsCompatibleFunction(jspb$.jfk$MutableBu
ttonStyle,jspb$.jfk$MutableButtonStyle.internalDoNotUse$jfk$ButtonStyle$binaryField
sObject);jspb$.jfk$ImmutableButtonStyle=function()
{module$exports$jspb$immutable_message.ImmutableMessage.apply(this,arguments)};
$jscomp.inherits(jspb$.jfk$ImmutableButtonStyle,module$exports$jspb$immutable_messa
ge.ImmutableMessage);jspb$.jfk$ImmutableButtonStyle.deserialize=module$contents$jsp
b_internal_public_for_gencode_makeImmutableDeserializeFunction(jspb$.jfk$MutableBut
tonStyle);jspb$.jfk$ImmutableButtonStyle.getDefaultInstance=module$contents$jspb_in
ternal_public_for_gencode_makeGetDefaultInstanceFunction(jspb$.jfk$MutableButtonSty
le);
jspb$.jfk$ImmutableButtonStyle.serializeBinary=jspb$.jfk$MutableButtonStyle.seriali
zeBinary;jspb$.jfk$ImmutableButtonStyle.serializeBinaryToByteString=jspb$.jfk$Mutab
leButtonStyle.serializeBinaryToByteString;jspb$.jfk$ImmutableButtonStyle.deserializ
eBinary=module$contents$jspb_internal_public_for_gencode_makeDeserializeBinaryImmut
ableFunction(jspb$.jfk$MutableButtonStyle.deserializeBinary);jspb$.jfk$ImmutableBut
tonStyle.makeCrossSerializerComparisonsCompatible=jspb$.jfk$MutableButtonStyle.make
CrossSerializerComparisonsCompatible;
jspb$.jfk$ImmutableButtonStyle.hasInstance=module$contents$jspb_internal_public_for
_gencode_makeHasImmutableInstance(jspb$.jfk$MutableButtonStyle);proto.jfk={};proto.
jfk.ReadonlyButtonStyle={};proto.jfk.ButtonStyle=jspb$.jfk$MutableButtonStyle;proto
.jfk.MutableButtonStyle=jspb$.jfk$MutableButtonStyle;proto.jfk.ImmutableButtonStyle
=jspb$.jfk$ImmutableButtonStyle;jspb$.jfk$MutableButtonStyle.Style=jspb$.jfk$Button
Style$Style;jspb$.jfk$MutableButtonStyle.Width=jspb$.jfk$ButtonStyle$Width;var
module$contents$jfk$ArrowAlignment_ArrowAlignment={LEFT_OR_TOP:0,RIGHT_OR_BOTTOM:1,
CENTER:2};jfk.ArrowAlignment=module$contents$jfk$ArrowAlignment_ArrowAlignment;jfk.
PopupPosition={LEFT:0,BOTTOM:1,TOP:2,RIGHT:3};jfk.PopupPosition.FLIP_POSITION_=3;jf
k.PopupPosition.flip=function(a){return
a^jfk.PopupPosition.FLIP_POSITION_};jfk.ArrowPosition=function(a,b)
{this.className_=a;this.disableSubpixels_=!!
b;this.arrowClassMap_=module$contents$goog$object_create(jfk.PopupPosition.LEFT,thi
s.className_+"-arrowright",jfk.PopupPosition.BOTTOM,this.className_+"-
arrowup",jfk.PopupPosition.TOP,this.className_+"-
arrowdown",jfk.PopupPosition.RIGHT,this.className_+"-arrowleft")};
$jscomp.inherits(jfk.ArrowPosition,goog.positioning.AbstractPosition);jfk.ArrowPosi
tion.prototype.setAnchorElement=function(a){this.anchorElement_=a};
jfk.ArrowPosition.prototype.setPosition=function(a,b,c,d){null!
=a&&(this.boxPosition_=a);null!=b&&(this.arrowAlignment_=b);"number"===typeof
c&&(this.arrowOffset_=Math.max(c,jfk.ArrowPosition.MIN_ARROW_OFFSET_));"number"===t
ypeof
d&&(this.offsetFromAnchor_=d)};jfk.ArrowPosition.prototype.setElements=function(a,b
)
{this.boxElement_=a;this.arrowElement_=b};jfk.ArrowPosition.prototype.setBoxOverflo
wAllowedOnPositioningFail=function(a){this.allowBoxOverflowOnPositioningFail_=a};
jfk.ArrowPosition.prototype.reposition=function(a,b,c)
{goog.asserts.assert(this.arrowElement_,"Must call setElements
first.");a=this.boxPosition_;b=this.getEffectiveAlignment_(this.boxPosition_,this.a
rrowAlignment_);var
d=this.getEffectiveArrowOffset_();this.reposition_(a,b,d,jfk.ArrowPosition.RetrySta
tus_.INITIAL_TRY,c)};
jfk.ArrowPosition.prototype.getEffectiveArrowOffset_=function(){return
this.arrowAlignment_==module$contents$jfk$ArrowAlignment_ArrowAlignment.CENTER?
jfk.ArrowPosition.isLeftOrRight_(this.boxPosition_)?this.boxElement_.offsetHeight/
2:this.boxElement_.offsetWidth/2:this.arrowOffset_};
jfk.ArrowPosition.prototype.getEffectiveAlignment_=function(a,b)
{b==module$contents$jfk$ArrowAlignment_ArrowAlignment.CENTER&&(b=module$contents$jf
k$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP);return!
jfk.ArrowPosition.isLeftOrRight_(a)&&goog.i18n.bidi.IS_RTL?
b^jfk.ArrowPosition.FLIP_ALIGNMENT_:b};jfk.ArrowPosition.prototype.setAutoRepositio
n=function(a){this.isAutoReposition_=a};
jfk.ArrowPosition.prototype.reposition_=function(a,b,c,d,e){if(this.anchorElement_)
{var
f=jfk.ArrowPosition.getCorner_(a,b),g=jfk.ArrowPosition.getCenteringOffset_(this.an
chorElement_,a,c,f,this.boxElement_,this.viewport_);g=jfk.ArrowPosition.isLeftOrRig
ht_(a)?new goog.math.Coordinate(this.offsetFromAnchor_,g):new
goog.math.Coordinate(g,this.offsetFromAnchor_);var
h=jfk.ArrowPosition.isLeftOrRight_(a)?goog.positioning.Overflow.ADJUST_Y|
goog.positioning.Overflow.FAIL_X:goog.positioning.Overflow.ADJUST_X|
goog.positioning.Overflow.FAIL_Y;this.allowBoxOverflowOnPositioningFail_&&d==jfk.Ar
rowPosition.RetryStatus_.FINAL&&(h=jfk.ArrowPosition.isLeftOrRight_(a)?
goog.positioning.Overflow.ADJUST_Y:goog.positioning.Overflow.ADJUST_X);var
k=jfk.PopupPosition.flip(a);jfk.ArrowPosition.isLeftOrRight_(a)&&(goog.i18n.bidi.IS
_RTL&&"ltr"==this.anchorElement_.dir||!
goog.i18n.bidi.IS_RTL&&"rtl"==this.anchorElement_.dir)&&(k=a);f=goog.positioning.po
sitionAtAnchor(this.anchorElement_,jfk.ArrowPosition.getCorner_(k,b),
this.boxElement_,f,g,e,this.isAutoReposition_?
h:goog.positioning.Overflow.IGNORE,void 0,this.viewport_);if(d!
=jfk.ArrowPosition.RetryStatus_.FINAL&&f&goog.positioning.OverflowStatus.FAILED)
{d=this.allowBoxOverflowOnPositioningFail_&&d==jfk.ArrowPosition.RetryStatus_.INITI
AL_TRY?
jfk.ArrowPosition.RetryStatus_.FLIPPED:jfk.ArrowPosition.RetryStatus_.FINAL;this.re
position_(jfk.PopupPosition.flip(a),b,c,d,e);return}!this.disableSubpixels_||
f&goog.positioning.OverflowStatus.FAILED||
(e=parseFloat(this.boxElement_.style.left),
d=parseFloat(this.boxElement_.style.top),goog.asserts.assert(!isNaN(e)&&!
isNaN(d),"Could not parse position."),goog.math.isInt(e)&&goog.math.isInt(d)||
goog.style.setPosition(this.boxElement_,Math.round(e),Math.round(d)))}this.position
Arrow_(a,b,c)};
jfk.ArrowPosition.prototype.positionArrow_=function(a,b,c){var
d=this.arrowElement_;module$contents$goog$object_forEach(this.arrowClassMap_,functi
on(e){goog.dom.classlist.enable(d,e,!
1)},this);goog.dom.classlist.add(d,this.arrowClassMap_[a]);d.style.top=d.style.left
=d.style.right=d.style.bottom="";this.anchorElement_?
(c=goog.style.getRelativePosition(this.anchorElement_,this.boxElement_),b=jfk.Arrow
Position.getAnchorPointOffsetFromAnchorTopLeft_(this.anchorElement_,a),jfk.ArrowPos
ition.isLeftOrRight_(a)?
(a=jfk.ArrowPosition.clamp_(c.y+b.y,jfk.ArrowPosition.MIN_ARROW_OFFSET_,this.boxEle
ment_.offsetHeight-jfk.ArrowPosition.MIN_ARROW_OFFSET_),d.style.top=a+"px"):
(a=jfk.ArrowPosition.clamp_(c.x+b.x,jfk.ArrowPosition.MIN_ARROW_OFFSET_,this.boxEle
ment_.offsetWidth-jfk.ArrowPosition.MIN_ARROW_OFFSET_),d.style.left=a+"px")):
(a=b==module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP?
jfk.ArrowPosition.isLeftOrRight_(a)?"top":"left":jfk.ArrowPosition.isLeftOrRight_(a
)?"bottom":"right",d.style[a]=c+
"px")};jfk.ArrowPosition.clamp_=function(a,b,c){return b>c?
b:goog.math.clamp(a,b,c)};
jfk.ArrowPosition.getCorner_=function(a,b){switch(a){case
jfk.PopupPosition.TOP:return
b==module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP?
goog.positioning.Corner.BOTTOM_LEFT:goog.positioning.Corner.BOTTOM_RIGHT;case
jfk.PopupPosition.BOTTOM:return
b==module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP?
goog.positioning.Corner.TOP_LEFT:goog.positioning.Corner.TOP_RIGHT;case
jfk.PopupPosition.LEFT:return
b==module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP?
goog.positioning.Corner.TOP_END:
goog.positioning.Corner.BOTTOM_END;default:return
b==module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP?
goog.positioning.Corner.TOP_START:goog.positioning.Corner.BOTTOM_START}};jfk.ArrowP
osition.getCenteringOffset_=function(a,b,c,d,e,f){var
g=goog.style.getSize(a);g=jfk.ArrowPosition.isLeftOrRight_(b)?g.height/2:g.width/
2;c=g-c;return jfk.ArrowPosition.normalizeCenteringOffset_(c,a,b,d,e,f)};
jfk.ArrowPosition.normalizeCenteringOffset_=function(a,b,c,d,e,f)
{d=goog.positioning.getEffectiveCorner(b,d);if(f)f=f.clone(),e&&(e=goog.positioning
.getOffsetParentPageOffset(e),f.left+=e.x,f.right+=e.x,f.top+=e.y,f.bottom+=e.y);el
se if(f=goog.style.getVisibleRectForElement(b),!f)return
a;b=goog.style.getBounds(b).toBox();jfk.ArrowPosition.isLeftOrRight_(c)?
b.top<f.top&&!(d&goog.positioning.CornerBit.BOTTOM)?a-=f.top-
b.top:b.bottom>f.bottom&&d&goog.positioning.CornerBit.BOTTOM&&(a-=b.bottom-
f.bottom):
b.left<f.left&&!(d&goog.positioning.CornerBit.RIGHT)?a-=f.left-
b.left:b.right>f.right&&d&goog.positioning.CornerBit.RIGHT&&(a-=b.right-
f.right);return a};
jfk.ArrowPosition.getAnchorPointOffsetFromAnchorTopLeft_=function(a,b){var
c=0,d=0;a=goog.style.getSize(a);switch(b){case
jfk.PopupPosition.TOP:c=a.width/2;break;case
jfk.PopupPosition.BOTTOM:c=a.width/2;d=a.height;break;case
jfk.PopupPosition.LEFT:d=a.height/2;break;case
jfk.PopupPosition.RIGHT:c=a.width,d=a.height/2}return new
goog.math.Coordinate(c,d)};jfk.ArrowPosition.isLeftOrRight_=function(a){return
a==jfk.PopupPosition.LEFT||a==jfk.PopupPosition.RIGHT};
jfk.ArrowPosition.RetryStatus_={INITIAL_TRY:0,FLIPPED:1,FINAL:2};jfk.ArrowPosition.
FLIP_ALIGNMENT_=1;jfk.ArrowPosition.MIN_ARROW_OFFSET_=15;jfk.ArrowPosition.prototyp
e.isAutoReposition_=!
1;jfk.ArrowPosition.prototype.arrowAlignment_=module$contents$jfk$ArrowAlignment_Ar
rowAlignment.CENTER;jfk.ArrowPosition.prototype.arrowOffset_=20;jfk.ArrowPosition.p
rototype.boxPosition_=jfk.PopupPosition.RIGHT;jfk.ArrowPosition.prototype.viewport_
=null;jfk.ArrowPosition.prototype.offsetFromAnchor_=-5;
jfk.ArrowPosition.prototype.allowBoxOverflowOnPositioningFail_=!1;var
module$exports$jfk$AbstractTooltipRenderer=function(a)
{goog.Disposable.call(this);this.dom=a||goog.dom.getDomHelper()};
$jscomp.inherits(module$exports$jfk$AbstractTooltipRenderer,goog.Disposable);module
$exports$jfk$AbstractTooltipRenderer.prototype.initAriaState=function()
{goog.a11y.aria.setRole(this.getElement(),this.getAriaRole());goog.a11y.aria.setSta
te(this.getElement(),goog.a11y.aria.State.LIVE,goog.a11y.aria.LivePriority.POLITE)}
;
module$exports$jfk$AbstractTooltipRenderer.prototype.getAriaRole=function(){return
goog.a11y.aria.Role.TOOLTIP};var
module$contents$jfk$TooltipRenderer_TooltipRenderer=function(a)
{module$exports$jfk$AbstractTooltipRenderer.call(this,a);this.contentEl_=this.dom.c
reateDom(goog.dom.TagName.DIV,"jfk-tooltip-
contentId");this.arrowEl_=this.dom.createDom(goog.dom.TagName.DIV,"jfk-tooltip-
arrow",this.dom.createDom(goog.dom.TagName.DIV,"jfk-tooltip-
arrowimplbefore"),this.dom.createDom(goog.dom.TagName.DIV,"jfk-tooltip-
arrowimplafter"));this.tooltipEl_=this.dom.createDom(goog.dom.TagName.DIV,
{"class":"jfk-tooltip",role:"tooltip"},
this.contentEl_,this.arrowEl_);this.initAriaState()};
$jscomp.inherits(module$contents$jfk$TooltipRenderer_TooltipRenderer,module$exports
$jfk$AbstractTooltipRenderer);module$contents$jfk$TooltipRenderer_TooltipRenderer.p
rototype.getElement=function(){return
this.tooltipEl_};module$contents$jfk$TooltipRenderer_TooltipRenderer.prototype.getC
ontentElement=function(){return this.contentEl_};
module$contents$jfk$TooltipRenderer_TooltipRenderer.prototype.disposeInternal=funct
ion()
{module$exports$jfk$AbstractTooltipRenderer.prototype.disposeInternal.call(this);th
is.tooltipEl_&&goog.dom.removeNode(this.tooltipEl_)};jfk.TooltipRenderer=module$con
tents$jfk$TooltipRenderer_TooltipRenderer;var
module$contents$jfk$SilentTooltipRenderer_SilentTooltipRenderer=function(a)
{module$contents$jfk$TooltipRenderer_TooltipRenderer.call(this,a)};
$jscomp.inherits(module$contents$jfk$SilentTooltipRenderer_SilentTooltipRenderer,mo
dule$contents$jfk$TooltipRenderer_TooltipRenderer);module$contents$jfk$SilentToolti
pRenderer_SilentTooltipRenderer.prototype.initAriaState=function()
{goog.a11y.aria.setRole(this.getElement(),this.getAriaRole())};jfk.SilentTooltipRen
derer=module$contents$jfk$SilentTooltipRenderer_SilentTooltipRenderer;goog.html.uti
ls={};goog.html.utils.stripHtmlTags=function(a){return
goog.string.unescapeEntities(goog.string.trim(a.replace(goog.html.utils.HTML_TAG_RE
GEX_,function(b,c){return goog.html.utils.INLINE_HTML_TAG_REGEX_.test(c)?"":"
"}).replace(/[\t\n ]+/g," ")))};goog.html.utils.INLINE_HTML_TAG_REGEX_=/^(?:abbr|
acronym|address|b|em|i|small|strong|su[bp]|u)$/i;goog.html.utils.HTML_TAG_REGEX_=/
<[!\/]?([a-z0-9]+)([\/
][^>]*)?>/gi;jfk.tooltipManager={};jfk.tooltipManager.install=function(a){a=a||
goog.dom.getDomHelper();var
b=goog.getUid(a.getDocument());jfk.tooltipManager.instances_[b]||
(jfk.tooltipManager.instances_[b]=new
jfk.TooltipManager_(a))};jfk.tooltipManager.uninstall=function(a){a=a||
goog.dom.getDomHelper();a=goog.getUid(a.getDocument());jfk.tooltipManager.instances
_[a]&&(jfk.tooltipManager.instances_[a].dispose(),delete
jfk.tooltipManager.instances_[a])};
jfk.tooltipManager.setTooltipText=function(a,b,c)
{jfk.tooltipManager.setTooltipHelper_(a,b,c)};jfk.tooltipManager.setTooltipSafeHtml
=function(a,b,c)
{jfk.tooltipManager.setTooltipHelper_(a,b,c)};jfk.tooltipManager.setTooltipFromTitl
e=function(a){var
b=a.getAttribute("title");b&&jfk.tooltipManager.setTooltipHelper_(a,b)};
jfk.tooltipManager.setTooltipHelper_=function(a,b,c){c||(c=b instanceof
module$exports$google3$third_party$javascript$safevalues$index.SafeHtml?
goog.html.utils.stripHtmlTags(module$exports$google3$third_party$javascript$safeval
ues$index.unwrapHtml(b).toString()):b);a.removeAttribute("title");a.removeAttribute
(jfk.tooltipManager.Attribute.TOOLTIP_CONTAINED_ATTR_);a.removeAttribute(jfk.toolti
pManager.Attribute.TOOLTIP_ATTR_);b?(b instanceof
module$exports$google3$third_party$javascript$safevalues$index.SafeHtml?
a.jfkTooltipHtmlInternal=b:
(a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ATTR_,b),a.jfkTooltipHtmlInter
nal=null),a.setAttribute("aria-label",c)):
(a.jfkTooltipHtmlInternal=null,a.removeAttribute("aria-
label"));jfk.tooltipManager.install(goog.dom.getDomHelper(a))};jfk.tooltipManager.s
etTooltipDelay=function(a,b)
{a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_DELAY_ATTR,b)};
jfk.tooltipManager.setTooltipHideDelay=function(a,b)
{a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_HIDE_DELAY_ATTR_,b)};jfk.toolt
ipManager.setTooltipPosition=function(a,b,c)
{a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ALIGNMENT_ATTR,jfk.TooltipMana
ger_.computeAlignmentAttr_(b,c))};jfk.tooltipManager.setTooltipOffset=function(a,b)
{a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_OFFSET_ATTR,b)};
jfk.tooltipManager.setTooltipTrigger=function(a,b)
{b==jfk.tooltipManager.TriggerType.ALL?
a.removeAttribute(jfk.tooltipManager.Attribute.TOOLTIP_TRIGGER_ATTR):a.setAttribute
(jfk.tooltipManager.Attribute.TOOLTIP_TRIGGER_ATTR,b)};jfk.tooltipManager.setToolti
pClass=function(a,b){goog.string.isEmptyOrWhitespace(goog.string.makeSafe(b))||
a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_CLASS_ATTR_,b)};
jfk.tooltipManager.setTooltipSuspended=function(a,b){b?
a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_SUSPENDED_ATTR_,"true"):a.remov
eAttribute(jfk.tooltipManager.Attribute.TOOLTIP_SUSPENDED_ATTR_)};jfk.tooltipManage
r.setTooltipUnhoverable=function(a,b){b?
a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_UNHOVERABLE_ATTR_,"true"):a.rem
oveAttribute(jfk.tooltipManager.Attribute.TOOLTIP_UNHOVERABLE_ATTR_)};
jfk.tooltipManager.setTooltipOnlyOnOverflow=function(a,b){b?
a.setAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ONLY_ON_OVERFLOW_ATTR_,"true"):
a.removeAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ONLY_ON_OVERFLOW_ATTR_)};jfk
.tooltipManager.hide=function(a){a=a||
goog.dom.getDomHelper();a=goog.getUid(a.getDocument());jfk.tooltipManager.instances
_[a]&&jfk.tooltipManager.instances_[a].hideTooltip()};jfk.tooltipManager.TOOLTIP_EL
EMENT_CLASS_="jfk-tooltip-data";
jfk.tooltipManager.Attribute={TOOLTIP_CONTAINED_ATTR_:"data-tooltip-
contained",TOOLTIP_ATTR_:"data-tooltip",TOOLTIP_SUSPENDED_ATTR_:"data-tooltip-
suspended",TOOLTIP_ONLY_ON_OVERFLOW_ATTR_:"data-tooltip-only-on-
overflow",TOOLTIP_CLASS_ATTR_:"data-tooltip-class",TOOLTIP_ALIGNMENT_ATTR:"data-
tooltip-align",TOOLTIP_OFFSET_ATTR:"data-tooltip-
offset",TOOLTIP_UNHOVERABLE_ATTR_:"data-tooltip-
unhoverable",TOOLTIP_DELAY_ATTR:"data-tooltip-
delay",TOOLTIP_HIDE_DELAY_ATTR_:"data-tooltip-hide-
delay",TOOLTIP_TRIGGER_ATTR:"data-tooltip-trigger"};
jfk.tooltipManager.TriggerType={ALL:"all",MOUSE:"mouse"};jfk.tooltipManager.SHOW_DE
LAY_MS=300;jfk.tooltipManager.HIDE_DELAY_MS=50;jfk.tooltipManager.TOOLTIP_OFFSET_PX
=-1;jfk.tooltipManager.instances_={};
jfk.TooltipManager_=function(a)
{goog.events.EventHandler.call(this);this.domHelper_=a;this.delay_=new
goog.async.Delay(this.throttledHover_,0,this);this.registerDisposable(this.delay_);
var b=goog.dom.getWindow();this.mutationObserver_="function"===typeof
b.MutationObserver?new
b.MutationObserver(goog.bind(this.handleAttributesChange_,this)):null;a=a.getDocume
nt();this.listen(a,
[goog.events.EventType.MOUSEOUT,goog.events.EventType.MOUSEDOWN,goog.events.EventTy
pe.CLICK,goog.events.EventType.BLUR,goog.events.EventType.FOCUSOUT,
goog.events.EventType.KEYDOWN],this.clearActiveElement_,!0);this.listen(a,
[goog.events.EventType.MOUSEOVER,goog.events.EventType.FOCUS,goog.events.EventType.
FOCUSIN],this.setActiveElement_,!0)};
$jscomp.inherits(jfk.TooltipManager_,goog.events.EventHandler);jfk.TooltipManager_.
prototype.disposeInternal=function()
{this.clearSecondaryTimer_();goog.events.EventHandler.prototype.disposeInternal.cal
l(this)};
jfk.TooltipManager_.prototype.trackEventTrigger_=function(a){switch(a.type){case
goog.events.EventType.MOUSEDOWN:case goog.events.EventType.MOUSEOVER:case
goog.events.EventType.MOUSEOUT:case
goog.events.EventType.CLICK:this.isKeyboardEvent_=!1;break;case
goog.events.EventType.KEYDOWN:this.isKeyboardEvent_=!0}};
jfk.TooltipManager_.prototype.setActiveElement_=function(a)
{this.mutationObserver_&&this.mutationObserver_.disconnect();this.trackEventTrigger
_(a);var b=a.target;a=a.type==goog.events.EventType.FOCUS||
a.type==goog.events.EventType.FOCUSIN;var
c=this.tooltip_&&goog.dom.contains(this.tooltip_.getContentElement(),b);this.isKeyb
oardEvent_||!a||c?
(this.isFocusEvent_=a,b&&b.getAttribute&&this.mutationObserver_&&goog.a11y.aria.isC
ontainerRole(b)&&(this.observeMutations_(b),
(a=goog.a11y.aria.getActiveDescendant(b))&&
(b=a)),this.activeEl_=b):this.activeEl_=null;this.resetTimer_()};jfk.TooltipManager
_.prototype.observeMutations_=function(a){var b={attributes:!
0};this.mutationObserver_.observe(a,b)};jfk.TooltipManager_.prototype.clearActiveEl
ement_=function(a){this.trackEventTrigger_(a);var
b=a.target;a=a.type==goog.events.EventType.MOUSEDOWN||
a.type==goog.events.EventType.CLICK;b=this.tooltip_&&goog.dom.contains(this.tooltip
_.getContentElement(),b);a&&b||(this.activeEl_=null,this.resetTimer_())};
jfk.TooltipManager_.prototype.handleAttributesChange_=function(a)
{module$contents$goog$array_forEach(a,goog.bind(function(b){var
c=goog.a11y.aria.getActiveDescendant(b.target),d="aria-"+goog.a11y.aria.State.ACTIV
EDESCENDANT;c&&b.attributeName==d&&(this.activeEl_=c,this.resetTimer_())},this))};
jfk.TooltipManager_.prototype.resetTimer_=function(){if(!
(this.delay_.isActive()&&this.hoverEl_&&this.tooltipHideDelayMs_))
{this.clearSecondaryTimer_();var a=null!=this.tooltipHideDelayMs_?
this.tooltipHideDelayMs_:jfk.tooltipManager.HIDE_DELAY_MS;a=this.hoverEl_?
a:jfk.tooltipManager.SHOW_DELAY_MS;this.delay_.start(a)}};jfk.TooltipManager_.proto
type.clearSecondaryTimer_=function()
{this.secondaryTimerId_&&(goog.Timer.clear(this.secondaryTimerId_),this.secondaryTi
merId_=0,this.hoverEl_=null)};
jfk.TooltipManager_.getTooltipHtml_=function(a){return a.jfkTooltipHtmlInternal?
a.jfkTooltipHtmlInternal:module$exports$google3$third_party$javascript$safevalues$i
ndex.htmlEscape(a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ATTR_),
{preserveNewlines:!0})};
jfk.TooltipManager_.prototype.throttledHover_=function(){if(!
this.activeEl_)this.hideTooltip();else if(!
(this.hoverEl_&&this.tooltip_&&goog.dom.contains(this.tooltip_.getElement(),this.ac
tiveEl_))||
this.hoverEl_.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_UNHOVERABLE_ATTR_))
{var a=goog.dom.getAncestor(this.activeEl_,function(h){return
h.getAttribute&&(h.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_CONTAINED_ATTR
_)||h.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ATTR_)||
h.jfkTooltipHtmlInternal)&&
!h.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_SUSPENDED_ATTR_)},!0),b=!
1;this.hoverEl_&&this.hoverEl_!=a&&(this.hideTooltip(),b=!0);if(!
this.hoverEl_&&a&&(this.hoverEl_=a,this.shouldShowTooltip_(a))){var
c=module$exports$google3$third_party$javascript$safevalues$index.EMPTY_HTML;if(a.ge
tAttribute(jfk.tooltipManager.Attribute.TOOLTIP_CONTAINED_ATTR_))for(var
d=goog.dom.getElementsByClass(jfk.tooltipManager.TOOLTIP_ELEMENT_CLASS_,a),e=0;e<d.
length;e++){if(d[e].parentNode==a){c=d[e].cloneNode(!0);
break}}else
c=jfk.TooltipManager_.getTooltipHtml_(a);d=a.getAttribute(jfk.tooltipManager.Attrib
ute.TOOLTIP_ALIGNMENT_ATTR);e=a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_C
LASS_ATTR_);var
f=a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_OFFSET_ATTR);f=goog.string.is
EmptyOrWhitespace(goog.string.makeSafe(f))?
jfk.tooltipManager.TOOLTIP_OFFSET_PX:Number(f);var
g=a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_HIDE_DELAY_ATTR_);g=goog.stri
ng.isEmptyOrWhitespace(goog.string.makeSafe(g))?
null:Number(g);if(!
b&&(a=a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_DELAY_ATTR),a=Math.max(0,
a-jfk.tooltipManager.SHOW_DELAY_MS)))
{this.secondaryTimerId_=goog.Timer.callOnce(goog.partial(this.showTooltipImpl_,this
.hoverEl_,c,d,f,e,g),a,this);return}this.showTooltipImpl_(this.hoverEl_,c,d,f,e,g)}
}};
jfk.TooltipManager_.prototype.shouldShowTooltip_=function(a){return
a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_ONLY_ON_OVERFLOW_ATTR_)&&a.offs
etWidth>=a.scrollWidth&&a.offsetHeight>=a.scrollHeight||
this.isFocusEvent_&&(a=jfk.tooltipManager.TriggerType.MOUSE!
=a.getAttribute(jfk.tooltipManager.Attribute.TOOLTIP_TRIGGER_ATTR),!a)?!1:!0};
jfk.TooltipManager_.computeAlignmentAttr_=function(a,b){var c="";switch(a){case
jfk.PopupPosition.LEFT:c+="l";break;case jfk.PopupPosition.TOP:c+="t";break;case
jfk.PopupPosition.RIGHT:c+="r";break;default:c+="b"}c+=",";switch(b){case
module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP:c+="l";break;case
module$contents$jfk$ArrowAlignment_ArrowAlignment.RIGHT_OR_BOTTOM:c+="r";break;defa
ult:c+="c"}return c};
jfk.TooltipManager_.parsePosition_=function(a)
{if(a)switch(a=a.toLowerCase().split(","),a[0]){case "l":return
jfk.PopupPosition.LEFT;case "t":return jfk.PopupPosition.TOP;case "r":return
jfk.PopupPosition.RIGHT}return
jfk.PopupPosition.BOTTOM};jfk.TooltipManager_.parseArrowAlignment_=function(a)
{if(a)switch(a=a.toLowerCase().split(","),a[1]){case "l":return
module$contents$jfk$ArrowAlignment_ArrowAlignment.LEFT_OR_TOP;case "r":return
module$contents$jfk$ArrowAlignment_ArrowAlignment.RIGHT_OR_BOTTOM}return
module$contents$jfk$ArrowAlignment_ArrowAlignment.CENTER};
jfk.TooltipManager_.prototype.showTooltipImpl_=function(a,b,c,d,e,f)
{this.secondaryTimerId_=0;this.tooltipHideDelayMs_=f;this.tooltip_||
(this.tooltip_=new
module$contents$jfk$SilentTooltipRenderer_SilentTooltipRenderer(this.domHelper_),th
is.hideTooltipImpl_(),goog.dom.appendChild(this.domHelper_.getDocument().body,this.
tooltip_.getElement()),this.registerDisposable(this.tooltip_),this.tooltipPos_=new
jfk.ArrowPosition("jfk-tooltip",!0),this.tooltipPos_.setAutoReposition(!
0),this.tooltipPos_.setBoxOverflowAllowedOnPositioningFail(!0),
this.tooltipPos_.setElements(this.tooltip_.getElement(),this.tooltip_.arrowEl_));f=
jfk.TooltipManager_.parseArrowAlignment_(c);c=jfk.TooltipManager_.parsePosition_(c)
;this.tooltipPos_.setPosition(c,f,void
0,d);goog.dom.classlist.remove(this.tooltip_.getElement(),jfk.TooltipManager_.HIDE_
TOOLTIP_CLASS_NAME_);this.tooltipClass_!=e&&(this.tooltipClass_&&!
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(this.tooltipClass_))&&goog.dom
.classlist.remove(this.tooltip_.getElement(),this.tooltipClass_),
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))||
goog.dom.classlist.add(this.tooltip_.getElement(),e),this.tooltipClass_=e);goog.sty
le.setPosition(this.tooltip_.getElement(),0,0);if(b instanceof
module$exports$google3$third_party$javascript$safevalues$index.SafeHtml)module$expo
rts$google3$third_party$javascript$safevalues$dom$elements$element.setInnerHtml(thi
s.tooltip_.getContentElement(),b);else
for(goog.dom.removeChildren(this.tooltip_.getContentElement());d=b.firstChild;)this
.tooltip_.getContentElement().appendChild(d);
this.tooltipPos_.setAnchorElement(a);this.tooltipPos_.reposition(null,goog.position
ing.Corner.TOP_LEFT)};jfk.TooltipManager_.prototype.hideTooltipImpl_=function()
{this.tooltip_&&goog.dom.classlist.add(this.tooltip_.getElement(),jfk.TooltipManage
r_.HIDE_TOOLTIP_CLASS_NAME_)};jfk.TooltipManager_.prototype.hideTooltip=function()
{this.hideTooltipImpl_();this.tooltipHideDelayMs_=this.hoverEl_=null};jfk.TooltipMa
nager_.HIDE_TOOLTIP_CLASS_NAME_="jfk-tooltip-hide";goog.singleton={};var
module$contents$goog$singleton_instantiatedSingletons=[];goog.singleton.getInstance
=function(a){(0,goog.asserts.assert)(!Object.isSealed(a),"Cannot use getInstance()
with a sealed constructor.");var
b=a,c="instance_";if(b.instance_&&b.hasOwnProperty(c))return
b.instance_;goog.DEBUG&&module$contents$goog$singleton_instantiatedSingletons.push(
a);a=new a;b.instance_=a;(0,goog.asserts.assert)(b.hasOwnProperty(c),"Could not
instantiate singleton.");return a};
goog.singleton.instantiatedSingletons=module$contents$goog$singleton_instantiatedSi
ngletons;var
$jscomp$templatelit$1935035818$0=$jscomp.createTemplateTagFirstArg(["value"]);jfk.B
utton=function(a,b,c,d)
{goog.ui.Button.call(this,a,jfk.ButtonRenderer_.getInstance(),b);this.style_=c||
jfk.Button.Style.STANDARD;this.width_=d||
jfk.Button.Width.NORMAL;this.usingKennedyTooltip_=!
1};goog.inherits(jfk.Button,goog.ui.Button);jfk.Button.CSS_NAME="jfk-
button";jfk.Button.prototype.getStyle=function(){return
this.style_};jfk.Button.prototype.getWidth=function(){return this.width_};
jfk.Button.prototype.setStyle=function(a){this.style_!
=a&&(this.style_=a,this.maybeUpdateElement_())};jfk.Button.prototype.setWidth=funct
ion(a){this.width_!
=a&&(this.width_=a,this.maybeUpdateElement_())};jfk.Button.prototype.setUsingKenned
yTooltip=function(a)
{this.usingKennedyTooltip_=a};jfk.Button.prototype.setTooltip=function(a)
{this.setTooltipInternal(a);var b=this.getElement();b&&(this.usingKennedyTooltip_?
jfk.tooltipManager.setTooltipText(b,a):a?b.title=a:b.removeAttribute("title"))};
jfk.Button.prototype.setEnabled=function(a){this.isEnabled()!
=a&&(jfk.Button.superClass_.setEnabled.call(this,a),this.maybeUpdateElement_())};jf
k.Button.prototype.focus=function(){var
a=this.getElementStrict();try{a.focus()}catch(b)
{}};jfk.Button.prototype.setFocused=function(a)
{jfk.Button.superClass_.setFocused.call(this,a);this.setNoFocusOutline_(!
1)};jfk.Button.prototype.handleMouseDown=function(a)
{jfk.Button.superClass_.handleMouseDown.call(this,a);this.isEnabled()&&this.setNoFo
cusOutline_(!0)};
jfk.Button.prototype.handleMouseUp=function(a)
{jfk.Button.superClass_.handleMouseUp.call(this,a);this.isEnabled()&&this.setNoFocu
sOutline_(!0)};jfk.Button.prototype.setNoFocusOutline_=function(a)
{this.getElement()&&goog.dom.classlist.enable(this.getElement(),jfk.Button.CSS_NAME
+"-clear-outline",a)};jfk.Button.prototype.maybeUpdateElement_=function()
{this.getElement()&&this.renderer_.updateButtonStyles(this)};jfk.Button.Style=jspb$
.jfk$ButtonStyle$Style;jfk.Button.Width=jspb$.jfk$ButtonStyle$Width;
jfk.Button.createDefaultButton=function(a,b){return new
jfk.Button(a,b,jfk.Button.Style.DEFAULT)};jfk.Button.createActionButton=function(a,
b){return new
jfk.Button(a,b,jfk.Button.Style.ACTION)};jfk.Button.createPrimaryButton=function(a,
b){return new
jfk.Button(a,b,jfk.Button.Style.PRIMARY)};jfk.Button.createFlatButton=function(a,b)
{return new
jfk.Button(a,b,jfk.Button.Style.FLAT)};jfk.Button.createContrastButton=function(a,b
){return new jfk.Button(a,b,jfk.Button.Style.CONTRAST)};
jfk.Button.createSearchButton=function(a){return
jfk.Button.createActionButton(jfk.Button.createIconContent(jfk.Button.SEARCH_BUTTON
_SRC_),a)};jfk.Button.createToggleButton=function(a,b){a=new
jfk.Button(a,b);a.setSupportedState(goog.ui.Component.State.CHECKED,!0);return
a};jfk.Button.createMiniButton=function(a,b){return new
jfk.Button(a,b,jfk.Button.Style.MINI)};jfk.Button.SEARCH_BUTTON_SRC_="//
ssl.gstatic.com/ui/v1/button/search-white.png";
jfk.Button.createIconContent=function(a,b){if("string"===typeof a){var
c=a;a=goog.dom.createDom(goog.dom.TagName.IMG);a.src=c;goog.style.setSize(a,21,21)}
goog.dom.classlist.add(a,"jfk-button-
img");c=[];c.push(a);b&&(a=goog.dom.createDom(goog.dom.TagName.SPAN,"jfk-button-
label",b),c.push(a));return c};
jfk.ButtonRenderer_=function(){this.standardButtonClass_=this.getCssClass()+"-
standard";this.actionButtonClass_=this.getCssClass()+"-
action";this.primaryButtonClass_=this.getCssClass()+"-
primary";this.defaultButtonClass_=this.getCssClass()+"-
default";this.flatButtonClass_=this.getCssClass()+"-
flat";this.narrowButtonClass_=this.getCssClass()+"-
narrow";this.miniButtonClass_=this.getCssClass()+"-
mini";this.contrastButtonClass_=this.getCssClass()+"-
contrast"};goog.inherits(jfk.ButtonRenderer_,goog.ui.ButtonRenderer);
jfk.ButtonRenderer_.getInstance=function(){return
goog.singleton.getInstance(jfk.ButtonRenderer_)};jfk.ButtonRenderer_.prototype.upda
teButton_=function(a,b,c)
{a&&c.setStyle(a);b&&c.setWidth(b)};jfk.ButtonRenderer_.prototype.getCssClass=funct
ion(){return jfk.Button.CSS_NAME};
jfk.ButtonRenderer_.prototype.createDom=function(a)
{goog.asserts.assertInstanceof(a,jfk.Button,"Button is expected to be instance of
jfk.Button");var
b=a.getDomHelper(),c=module$contents$goog$soy_renderAsElement(jfk.templates.button.
strict,{disabled:!
a.isEnabled(),checked:a.isChecked(),style:a.getStyle(),title:a.getTooltip(),usingKe
nnedyTooltip:a.usingKennedyTooltip_,value:a.getValue(),width:a.getWidth()},void
0,b);b.append(c,a.getContent());this.decorate(a,c);return c};
jfk.ButtonRenderer_.prototype.decorate=function(a,b)
{jfk.ButtonRenderer_.superClass_.decorate.call(this,a,b);this.classNamesToButtonUpd
ater_||
(this.classNamesToButtonUpdater_=module$contents$goog$object_create(this.standardBu
ttonClass_,goog.partial(this.updateButton_,jfk.Button.Style.STANDARD,null),this.act
ionButtonClass_,goog.partial(this.updateButton_,jfk.Button.Style.ACTION,null),this.
primaryButtonClass_,goog.partial(this.updateButton_,jfk.Button.Style.PRIMARY,null),
this.defaultButtonClass_,goog.partial(this.updateButton_,
jfk.Button.Style.DEFAULT,null),this.flatButtonClass_,goog.partial(this.updateButton
_,jfk.Button.Style.FLAT,null),this.miniButtonClass_,goog.partial(this.updateButton_
,jfk.Button.Style.MINI,null),this.contrastButtonClass_,goog.partial(this.updateButt
on_,jfk.Button.Style.CONTRAST,null),this.narrowButtonClass_,goog.partial(this.updat
eButton_,null,jfk.Button.Width.NARROW)));for(var
c=goog.dom.classlist.get(b),d=0;d<c.length;++d){var
e=this.classNamesToButtonUpdater_[c[d]];e&&e(a)}if(c=b.getAttribute("data-
tooltip"))a.setTooltipInternal(c),
a.setUsingKennedyTooltip(!0);return
b};jfk.ButtonRenderer_.VALUE_ATTRIBUTE_="value";jfk.ButtonRenderer_.VALUE_ATTRIBUTE
_PREFIXES_=[module$contents$google3$third_party$javascript$safevalues$builders$attr
ibute_builders_safeAttrPrefix($jscomp$templatelit$1935035818$0)];jfk.ButtonRenderer
_.prototype.getValue=function(a){return
a.getAttribute(jfk.ButtonRenderer_.VALUE_ATTRIBUTE_)||""};
jfk.ButtonRenderer_.prototype.setValue=function(a,b)
{a&&module$exports$google3$third_party$javascript$safevalues$dom$elements$element.s
etPrefixedAttribute(jfk.ButtonRenderer_.VALUE_ATTRIBUTE_PREFIXES_,a,jfk.ButtonRende
rer_.VALUE_ATTRIBUTE_,b)};
jfk.ButtonRenderer_.prototype.updateButtonStyles=function(a){function b(f,g){(f?
c:d).push(g)}goog.asserts.assert(a.getElement(),"Button element must already exist
when updating style.");var
c=[],d=[],e=a.getStyle();b(e==jfk.Button.Style.STANDARD,this.standardButtonClass_);
b(e==jfk.Button.Style.ACTION,this.actionButtonClass_);b(e==jfk.Button.Style.PRIMARY
,this.primaryButtonClass_);b(e==jfk.Button.Style.FLAT,this.flatButtonClass_);b(e==j
fk.Button.Style.MINI,this.miniButtonClass_);b(e==jfk.Button.Style.DEFAULT,
this.defaultButtonClass_);b(e==jfk.Button.Style.CONTRAST,this.contrastButtonClass_)
;b(a.getWidth()==jfk.Button.Width.NARROW,this.narrowButtonClass_);b(!
a.isEnabled(),this.getCssClass()+"-
disabled");goog.dom.classlist.removeAll(a.getElement(),d);goog.dom.classlist.addAll
(a.getElement(),c)};goog.ui.AdvancedTooltip=function(a,b,c)
{goog.ui.Tooltip.call(this,a,b,c)};goog.inherits(goog.ui.AdvancedTooltip,goog.ui.To
oltip);goog.ui.AdvancedTooltip.prototype.cursorTracking_=!
1;goog.ui.AdvancedTooltip.prototype.cursorTrackingHideDelayMs_=100;goog.ui.Advanced
Tooltip.prototype.tracking_=!
1;goog.ui.AdvancedTooltip.prototype.setHotSpotPadding=function(a)
{this.hotSpotPadding_=a||
null};goog.ui.AdvancedTooltip.prototype.setCursorTracking=function(a)
{this.cursorTracking_=a};
goog.ui.AdvancedTooltip.prototype.onShow=function()
{goog.ui.AdvancedTooltip.superClass_.onShow.call(this);this.boundingBox_=goog.style
.getBounds(this.getElement()).toBox();this.anchor&&(this.anchorBox_=goog.style.getB
ounds(this.anchor).toBox());this.tracking_=this.cursorTracking_;goog.events.listen(
this.getDomHelper().getDocument(),goog.events.EventType.MOUSEMOVE,this.handleMouseM
ove,!1,this)};
goog.ui.AdvancedTooltip.prototype.onHide=function()
{goog.events.unlisten(this.getDomHelper().getDocument(),goog.events.EventType.MOUSE
MOVE,this.handleMouseMove,!
1,this);this.anchorBox_=this.boundingBox_=null;this.tracking_=!
1;goog.ui.AdvancedTooltip.superClass_.onHide.call(this)};
goog.ui.AdvancedTooltip.prototype.isCoordinateInTooltip=function(a)
{if(this.hotSpotPadding_){var
b=goog.style.getPageOffset(this.getElement()),c=goog.style.getSize(this.getElement(
));return b.x-
this.hotSpotPadding_.left<=a.x&&a.x<=b.x+c.width+this.hotSpotPadding_.right&&b.y-
this.hotSpotPadding_.top<=a.y&&a.y<=b.y+c.height+this.hotSpotPadding_.bottom}return
goog.ui.AdvancedTooltip.superClass_.isCoordinateInTooltip.call(this,a)};
goog.ui.AdvancedTooltip.prototype.isCoordinateActive_=function(a)
{if(this.anchorBox_&&this.anchorBox_.contains(a)||
this.isCoordinateInTooltip(a))return!0;var b=this.childTooltip_;return!!
b&&b.isCoordinateInTooltip(a)};goog.ui.AdvancedTooltip.prototype.maybeHide=function
(a){this.hideTimer=void 0;a!=this.anchor||
this.isCoordinateActive_(this.cursorPosition)||this.getActiveElement()||
this.hasActiveChild()||
goog.userAgent.GECKO&&0==this.cursorPosition.x&&0==this.cursorPosition.y||
this.setVisible(!1)};
goog.ui.AdvancedTooltip.prototype.handleMouseMove=function(a){var
b=this.isVisible();if(this.boundingBox_){var
c=this.getDomHelper().getDocumentScroll();c=new
goog.math.Coordinate(a.clientX+c.x,a.clientY+c.y);this.isCoordinateActive_(c)?b=!
1:this.tracking_&&(b=goog.math.Box.distance(this.boundingBox_,this.cursorPosition),
c=goog.math.Box.distance(this.boundingBox_,c),b=c>=b)}b?
(this.startHideTimer(),this.setActiveElement(null),
(b=this.childTooltip_)&&b.setActiveElement(null)):this.getState()==goog.ui.Tooltip.
State.WAITING_TO_HIDE&&
this.clearHideTimer();goog.ui.AdvancedTooltip.superClass_.handleMouseMove.call(this
,a)};goog.ui.AdvancedTooltip.prototype.handleTooltipMouseOver=function()
{this.getActiveElement()!=this.getElement()&&(this.tracking_=!
1,this.setActiveElement(this.getElement()))};goog.ui.AdvancedTooltip.prototype.getH
ideDelayMs=function(){return this.tracking_?
this.cursorTrackingHideDelayMs_:goog.ui.AdvancedTooltip.superClass_.getHideDelayMs.
call(this)};function module$contents$ocean$atb_initBuyWidgetTooltip(a,b){a=new
goog.ui.AdvancedTooltip(a);a.setSafeHtml(module$contents$google3$third_party$javasc
ript$safevalues$restricted$legacy_superLenientlySanitizeHtml(b.innerHTML));a.classN
ame="buy-tip-card";a.setHotSpotPadding(new
goog.math.Box(5,5,5,5));a.setCursorTracking(!
0);a.setShowDelayMs(500);a.setHideDelayMs(250)};ocean.chrome.SliderDrawable=functio
n(a,b){this.height_=a||
ocean.chrome.SliderDrawable.DEFAULT_DRAWABLE_HEIGHT;this.width_=b||
ocean.chrome.SliderDrawable.DEFAULT_DRAWABLE_WIDTH;module$contents$ocean$EventManag
er_EventManager.call(this)};goog.inherits(ocean.chrome.SliderDrawable,module$conten
ts$ocean$EventManager_EventManager);ocean.chrome.SliderDrawable.prototype.getHeight
=function(){return
this.height_};ocean.chrome.SliderDrawable.prototype.getWidth=function(){return
this.width_};
ocean.chrome.SliderDrawable.EventType={RENDER:"render"};ocean.chrome.SliderDrawable
.DEFAULT_DRAWABLE_WIDTH=108;ocean.chrome.SliderDrawable.DEFAULT_DRAWABLE_HEIGHT=200
;ocean.chrome.SliderDrawable.SMALL_DRAWABLE_HEIGHT=80;var
module$contents$ocean$AbstractHoverCard_AbstractHoverCard=function(a)
{goog.ui.AdvancedTooltip.call(this,a);this.setEnableCrossIframeDismissal(!
1);this.setCursorTracking(!0);this.setShowDelayMs(500)};
$jscomp.inherits(module$contents$ocean$AbstractHoverCard_AbstractHoverCard,goog.ui.
AdvancedTooltip);
module$contents$ocean$AbstractHoverCard_AbstractHoverCard.prototype.startShowTimer=
function(a,b){b||(b=new
goog.positioning.AnchoredViewportPosition(a,goog.positioning.Corner.BOTTOM_START,!
0));goog.ui.AdvancedTooltip.prototype.startShowTimer.call(this,a,b)};module$content
s$ocean$AbstractHoverCard_AbstractHoverCard.prototype.initWithMouseOverEvent=functi
on(a)
{this.handleMouseOver(a)};module$contents$ocean$AbstractHoverCard_AbstractHoverCard
.prototype.className="unified-hovercard";
ocean.AbstractHoverCard=module$contents$ocean$AbstractHoverCard_AbstractHoverCard;v
ar
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer=function(
a,b,c)
{goog.Disposable.call(this);this.handler_=null;this.data=a;this.cssName=b;this.maxW
idth=c||
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.MAX_WIDTH
_};
$jscomp.inherits(module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardR
enderer,goog.Disposable);
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.disposeInternal=function()
{this.handler_&&this.handler_.dispose()};module$contents$ocean$AbstractHoverCardRen
derer_AbstractHoverCardRenderer.prototype.getHandler=function(){return
this.handler_||(this.handler_=new goog.events.EventHandler(this))};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.isVolumePreviewable=function(){return
module$contents$goog$object_containsValue(module$contents$ocean$AbstractHoverCardRe
nderer_AbstractHoverCardRenderer.PreviewableTypes_,this.data.data_.viewability)};mo
dule$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype.r
enderMetaSection=function(a)
{this.renderTitle(a);this.renderAuthorSection(a);this.renderSnippet(a)};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.renderTitle=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV),c=new
goog.Uri(this.data.data_.infoUrl||
this.data.getPreviewUrl());this.data.data_.source&&c.setParameterValue("source",thi
s.data.data_.source);var d=this.data.getTitle();this.data.data_.subtitle&&(d+=":
"+this.data.data_.subtitle);d=module$contents$goog$asserts$dom_assertIsHtmlAnchorEl
ement(goog.dom.createDom(goog.dom.TagName.A,{},d));d.classList.add(this.cssName+
"-
title");module$exports$google3$third_party$javascript$safevalues$dom$elements$ancho
r.setHref(d,c.toString());goog.dom.appendChild(b,d);goog.dom.appendChild(a,b)};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.renderAuthorSection=function(a){var
b="",c=goog.dom.createDom(goog.dom.TagName.DIV),d=this.data.data_.authors;if(!
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(d))){b=d.split(/\s*,\s*/
g);d=b.length;if(!d)return;var
e=goog.dom.createDom(goog.dom.TagName.SPAN,"author"),f=d-
1,g=goog.dom.createTextNode(",
");module$contents$goog$array_forEach(b,function(h,k){var
l=module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.stripHt
mlBoldTag(h);
l=goog.string.collapseWhitespace(l);h=this.getAuthorSearchUrl(l);module$contents$oc
ean$util$uri_setDefaultParameters(h);l=module$contents$goog$asserts$dom_assertIsHtm
lAnchorElement(goog.dom.createDom(goog.dom.TagName.A,
{},l));module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor
.setHref(l,h.toString());goog.dom.appendChild(e,l);k<f&&goog.dom.appendChild(e,g.cl
oneNode(!
0))},this);goog.dom.appendChild(c,e);b=module$contents$ocean$AbstractHoverCardRende
rer_AbstractHoverCardRenderer.DASH_}this.data.data_.pubDate&&
(goog.dom.appendChild(c,goog.dom.createDom(goog.dom.TagName.SPAN,this.cssName+"-
pubdate",b+this.data.data_.pubDate)),b=module$contents$ocean$AbstractHoverCardRende
rer_AbstractHoverCardRenderer.DASH_);this.data.getNumPages()&&(goog.dom.appendChild
(c,goog.dom.createTextNode(b)),goog.dom.appendChild(c,goog.dom.createDom(goog.dom.T
agName.SPAN,this.cssName+"-
pagesnum",module$contents$ocean$msg_getPageCount(this.data.getNumPages()))));goog.d
om.appendChild(a,c)};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.renderSnippet=function(a){if(this.data.data_.snippet){var b=new
safevalues.HtmlSanitizer,c=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-
snippet");module$exports$google3$third_party$javascript$safevalues$dom$elements$ele
ment.setInnerHtml(c,b.sanitize(this.data.data_.snippet+"
"));this.renderMoreLink_(c);goog.dom.appendChild(a,c)}};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.renderMoreLink_=function(a){var
b=module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(goog.dom.createDom(goo
g.dom.TagName.A,{},module$contents$ocean$msg_getMoreWithRightArrows("\
u00bb")));b.classList.add(this.cssName+"-more-
link");module$exports$google3$third_party$javascript$safevalues$dom$elements$anchor
.setHref(b,this.data.data_.infoUrl);goog.dom.appendChild(a,b)};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.prototype
.renderButton=function(a,b,c,d,e,f,g)
{b=module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(goog.dom.createDom(go
og.dom.TagName.A,
{id:g||""},b));module$exports$google3$third_party$javascript$safevalues$dom$element
s$anchor.setHref(b,e?"#":c);b.classList.add(this.cssName+"-
button");d&&b.classList.add(this.cssName+"-button-
hilite");f&&b.classList.add("disabled");e&&(d=function(h)
{h.preventDefault();h=module$contents$goog$asserts$dom_assertIsHtmlFormElement(goog
.dom.createDom(goog.dom.TagName.FORM,
{method:"POST"}));module$exports$google3$third_party$javascript$safevalues$dom$elem
ents$form.setAction(h,c);goog.style.setStyle(h,
{position:"absolute",overflow:"hidden",width:"1px",height:"1px",visibility:"hidden"
});goog.dom.appendChild(a,h);h.submit()},e=goog.userAgent.product.IPAD||
goog.userAgent.product.ANDROID?
goog.events.EventType.TOUCHSTART:goog.events.EventType.CLICK,this.getHandler().list
enOnce(b,e,d,!1));goog.dom.appendChild(a,b)};
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.stripHtml
BoldTag=function(a){return a?
a.replace(module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer
.HTML_BOLD_TAG_PATTERN_,""):""};module$contents$ocean$AbstractHoverCardRenderer_Abs
tractHoverCardRenderer.HTML_BOLD_TAG_PATTERN_=/(<b\s*>)|(<\/b>)/
ig;module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.MAX_WI
DTH_=500;
module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.DASH_="\
u00a0-\
u00a0";module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.Pr
eviewableTypes_={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,V
IEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};ocean.AbstractHoverCardRenderer=mod
ule$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer;ocean.info.S
earchResult=function()
{this.data_={}};ocean.info.SearchResult.CancellationReason={CUSTOMER_REQUEST:0,AUTO
_FULFILLMENT_ERROR:1,AUTO_PRICE_CHANGE:2,AUTO_PUBLISHER_CHANGE:3};ocean.info.Search
Result.RentalState={ACTIVE:1,EXPIRED:2};ocean.info.SearchResult.prototype.getTitle=
function(){return
this.data_.title};ocean.info.SearchResult.prototype.setTitle=function(a)
{this.data_.title=a};ocean.info.SearchResult.prototype.setSubtitle=function(a)
{this.data_.subtitle=a};
ocean.info.SearchResult.prototype.getVolumeId=function(){return
this.data_.volumeId};ocean.info.SearchResult.prototype.setVolumeId=function(a)
{this.data_.volumeId=a};ocean.info.SearchResult.prototype.setAuthors=function(a)
{this.data_.authors=a};ocean.info.SearchResult.prototype.setAddToMyEbooksUrlIsOnPla
y=function(a)
{this.data_.addToMyEbooksUrlIsOnPlay=a};ocean.info.SearchResult.prototype.setAddToM
yEbooksUrl=function(a){this.data_.addToMyEbooksUrl=a};
ocean.info.SearchResult.prototype.getPreviewUrl=function(){return
this.data_.previewUrl};ocean.info.SearchResult.prototype.setPreviewUrl=function(a)
{this.data_.previewUrl=a};ocean.info.SearchResult.prototype.setPreviewEBookUrl=func
tion(a)
{this.data_.previewEBookUrl=a};ocean.info.SearchResult.prototype.setInfoUrl=functio
n(a)
{this.data_.infoUrl=a};ocean.info.SearchResult.prototype.getViewOrderUrl=function()
{return this.data_.viewOrderUrl};
ocean.info.SearchResult.prototype.setViewOrderUrl=function(a)
{this.data_.viewOrderUrl=a};ocean.info.SearchResult.prototype.setPubDate=function(a
){this.data_.pubDate=a};ocean.info.SearchResult.prototype.getPublisher=function()
{return
this.data_.publisher};ocean.info.SearchResult.prototype.getNumPages=function()
{return
this.data_.numPages};ocean.info.SearchResult.prototype.setNumPages=function(a)
{this.data_.numPages=a};
ocean.info.SearchResult.prototype.setViewability=function(a)
{this.data_.viewability=a};ocean.info.SearchResult.prototype.setThumbnailUrl=functi
on(a)
{this.data_.thumbUrl=a};ocean.info.SearchResult.prototype.setSubject=function(a)
{this.data_.subject=a};ocean.info.SearchResult.prototype.setSource=function(a)
{this.data_.source=a};ocean.info.SearchResult.prototype.setSnippet=function(a)
{this.data_.snippet=a};ocean.info.SearchResult.prototype.setSalePrice=function(a)
{this.data_.salePrice=a};
ocean.info.SearchResult.prototype.setListPrice=function(a)
{this.data_.listPrice=a};ocean.info.SearchResult.prototype.setOfferPrice=function(a
){this.data_.offerPrice=a};ocean.info.SearchResult.prototype.setBuyUrl=function(a)
{this.data_.buyUrl=a};ocean.info.SearchResult.prototype.setReadUrl=function(a)
{this.data_.readUrl=a};ocean.info.SearchResult.prototype.setIsFree=function(a)
{this.data_.isFreeEBook=a};ocean.info.SearchResult.prototype.setIsInMyEbooks=functi
on(a){this.data_.inMyEbooks=a};
ocean.info.SearchResult.prototype.setMyEbooksUrl=function(a)
{this.data_.myEbooksUrl=a};ocean.info.SearchResult.prototype.setRating=function(a)
{this.data_.rating=a};ocean.info.SearchResult.prototype.setNumReviews=function(a)
{this.data_.numReviews=a};ocean.info.SearchResult.prototype.isPurchased=function()
{return
this.data_.isPurchased};ocean.info.SearchResult.prototype.setPurchased=function(a)
{this.data_.isPurchased=a};
ocean.info.SearchResult.prototype.setReviewsUrl=function(a)
{this.data_.reviewsUrl=a};ocean.info.SearchResult.prototype.setWriteReviewUrl=funct
ion(a)
{this.data_.writeReviewUrl=a};ocean.info.SearchResult.prototype.setFreeEBookUrl=fun
ction(a)
{this.data_.freeEBookUrl=a};ocean.info.SearchResult.prototype.isEBook=function()
{return
this.data_.isEBbook};ocean.info.SearchResult.prototype.setIsEBook=function(a)
{this.data_.isEBbook=a};
ocean.info.SearchResult.prototype.setSalePriceBetter=function(a)
{this.data_.salePriceBetter_=a};ocean.info.SearchResult.prototype.getHasFlowingText
=function(){return
this.data_.hasFlowingText_};ocean.info.SearchResult.prototype.setHasFlowingText=fun
ction(a)
{this.data_.hasFlowingText_=a};ocean.info.SearchResult.prototype.getHasScannedText=
function(){return
this.data_.hasScannedText_};ocean.info.SearchResult.prototype.setHasScannedText=fun
ction(a){this.data_.hasScannedText_=a};
ocean.info.SearchResult.prototype.setCanonicalAtbUrl=function(a)
{this.data_.canonicalAtbUrl=a};ocean.info.SearchResult.prototype.isRentable=functio
n(){return
this.data_.isRentable};ocean.info.SearchResult.prototype.setIsRentable=function(a)
{this.data_.isRentable=a};ocean.info.SearchResult.prototype.isPreOrder=function()
{return
this.data_.preOrder_};ocean.info.SearchResult.prototype.setPreOrder=function(a)
{this.data_.preOrder_=a};ocean.info.SearchResult.prototype.getOnSaleDate=function()
{return this.data_.onSaleDate_};
ocean.info.SearchResult.prototype.setOnSaleDate=function(a)
{this.data_.onSaleDate_=a};ocean.info.SearchResult.prototype.isPreOrdered=function(
){return
this.data_.isPreOrdered};ocean.info.SearchResult.prototype.setPreOrdered=function(a
)
{this.data_.isPreOrdered=a};ocean.info.SearchResult.prototype.setIssueVolumeCount=f
unction(a)
{this.data_.issueVolumeCount=a};ocean.info.SearchResult.prototype.isVolumeCancelled
=function(){return this.data_.isVolumeCancelled};
ocean.info.SearchResult.prototype.setVolumeCancelled=function(a)
{this.data_.isVolumeCancelled=a};ocean.info.SearchResult.prototype.setCancelledReas
on=function(a)
{this.data_.cancelledReason=a};ocean.info.SearchResult.prototype.setRentalState=fun
ction(a)
{this.data_.rentalState=a};ocean.info.SearchResult.prototype.isActiveRental=functio
n(){return this.data_.rentalState==ocean.info.SearchResult.RentalState.ACTIVE};
ocean.info.SearchResult.prototype.isExpiredRental=function(){return
this.data_.rentalState==ocean.info.SearchResult.RentalState.EXPIRED};ocean.info.Sea
rchResult.prototype.setRentalEndUtc=function(a)
{this.data_.rentalEndUtc=a};ocean.info.SearchResult.prototype.getRemainingRentalTim
e_=function(){return this.data_.rentalEndUtc-goog.now()/1E3};
ocean.info.SearchResult.prototype.getRemainingRentalTimeMessage=function(){if(!
this.isActiveRental())return"";var
a=this.getRemainingRentalTime_();a=Math.round(a/3600);var b=Math.round(a/24);return
1>=a?"Expiration imminente de la location":48>=a?
module$contents$ocean$msg_getRentalExpiringHours(a):module$contents$ocean$msg_getRe
ntalExpiringDays(b)};ocean.info.Bookshelf=function()
{this.volumes_=[]};ocean.info.Bookshelf.prototype.getId=function(){return
this.id_};ocean.info.Bookshelf.prototype.setId=function(a)
{this.id_=a};ocean.info.Bookshelf.prototype.setOwnerUid=function(a)
{this.owner_uid_=a};ocean.info.Bookshelf.prototype.getTitle=function(){return
this.title_};ocean.info.Bookshelf.prototype.setTitle=function(a)
{this.title_=a};ocean.info.Bookshelf.prototype.getDescription=function(){return
this.description_};
ocean.info.Bookshelf.prototype.setDescription=function(a)
{this.description_=a};ocean.info.Bookshelf.prototype.setNumPossibleVolumes=function
(a)
{this.numPossibleVolumes_=a};ocean.info.Bookshelf.prototype.setVolumes=function(a)
{this.volumes_=a};ocean.info.Bookshelf.prototype.addVolume=function(a)
{this.volumes_.push(a)};ocean.info.Bookshelf.prototype.setAddVolumeBaseUrl=function
(a){this.baseAddUrl_=new goog.Uri(a)};
ocean.info.Bookshelf.prototype.addVolumeToServer=function(a,b)
{this.getVolumeById(a)||null==this.baseAddUrl_||!this.canAdd_?
b&&b(null):this.mutateVolumeFromServer_(a,this.baseAddUrl_.clone(),goog.bind(this.a
ddVolumeToServerResponse_,this,a,b||function()
{}))};ocean.info.Bookshelf.prototype.setDeleteVolumeBaseUrl=function(a)
{this.baseDeleteUrl_=new goog.Uri(a)};
ocean.info.Bookshelf.prototype.deleteVolumeFromServer=function(a,b)
{this.getVolumeById(a)&&null!=this.baseDeleteUrl_&&this.canRemove_?
this.mutateVolumeFromServer_(a,this.baseDeleteUrl_.clone(),goog.bind(this.deleteVol
umeToServerResponse_,this,a,b||function()
{})):b&&b(null)};ocean.info.Bookshelf.prototype.mutateVolumeFromServer_=function(a,
b,c){b.setParameterValue("id",a);goog.net.XhrIo.send(b,c,"POST")};
ocean.info.Bookshelf.prototype.addVolumeToServerResponse_=function(a,b,c)
{c=c.target;var d=null;c.isSuccess()&&(d=new
ocean.info.SearchResult,d.setVolumeId(a),this.addVolume(d));b(d)};ocean.info.Booksh
elf.prototype.deleteVolumeToServerResponse_=function(a,b,c){c=c.target;var
d=null;c.isSuccess()&&(d=this.getVolumeById(a),this.removeVolume(d));b(d)};ocean.in
fo.Bookshelf.prototype.removeVolume=function(a)
{module$contents$goog$array_removeIf(this.volumes_,function(b){return
b.getVolumeId()==a.getVolumeId()})};
ocean.info.Bookshelf.prototype.getVolumeById=function(a){var
b=module$contents$goog$array_find(this.volumes_,function(c){return
c&&c.getVolumeId()==a});return
b};ocean.info.Bookshelf.prototype.setAccess=function(a)
{this.access_=a};ocean.info.Bookshelf.prototype.isPublic=function(){return
this.access_==ocean.info.Bookshelf.Access.PUBLIC};ocean.info.Bookshelf.prototype.se
tPredefined=function(a)
{this.predefined_=a};ocean.info.Bookshelf.prototype.setCanRemoveVolumes=function(a)
{this.canRemove_=a};
ocean.info.Bookshelf.prototype.setCanAddVolumes=function(a)
{this.canAdd_=a};ocean.info.Bookshelf.prototype.setCanModifyMetadata=function(a)
{this.canModifyMetadata_=a};ocean.info.Bookshelf.prototype.setCanOnlyAddEBooks=func
tion(a)
{this.canOnlyAddEBooks_=a};ocean.info.Bookshelf.prototype.setPaused=function(a)
{this.paused_=a};ocean.info.Bookshelf.prototype.setPauseBookshelfUrl=function(a)
{this.pause_bookshelf_url_=a};ocean.info.Bookshelf.Access={PUBLIC:1,PRIVATE:2};var
module$exports$ocean$info$ProtoSearchResult=function(a)
{ocean.info.SearchResult.call(this);this.setTitle(a.title);this.setSubtitle(a.subti
tle);this.setAuthors(a.authors);this.setPreviewUrl(a.preview_url);this.setInfoUrl(a
.info_url);this.setPubDate(a.pub_date);this.setNumPages(a.num_pages);this.setViewab
ility(a.viewability);this.setSubject(a.subject);this.setThumbnailUrl(a.thumbnail_ur
l);this.setSnippet(a.snippet);this.setListPrice(a.list_price);this.setSalePrice(a.s
ale_price);this.setSalePriceBetter(a.sale_price_better);
this.setOfferPrice(a.offer_price);this.setBuyUrl(a.buy_url);this.setReadUrl(a.read_
url);this.setIsFree(a.is_free_ebook||!1);this.setIsInMyEbooks(a.in_my_ebooks||!
1);this.setMyEbooksUrl(a.my_ebooks_url||"");this.setRating(a.rating_score||
0);this.setNumReviews(a.num_reviews||0);this.setPurchased(a.is_purchased||!
1);this.setIsEBook(a.is_ebook||!
1);this.setWriteReviewUrl(a.write_review_url||"");this.setFreeEBookUrl(a.add_to_my_
ebooks_url||"");this.setPreviewEBookUrl(a.preview_ebook_url||"");this.setReviewsUrl
(a.reviews_url||
"");this.setViewOrderUrl(a.view_order_url||"");this.setAddToMyEbooksUrl(a.add_to_my
_ebooks_url);this.setAddToMyEbooksUrlIsOnPlay(a.add_to_my_ebooks_url_is_on_play||!
1);this.setHasFlowingText(a.has_flowing_text||!
1);this.setHasScannedText(a.has_scanned_text||!
1);this.setVolumeId(ocean.util.Url.getVolumeId(a.info_url));this.setCanonicalAtbUrl
(a.canonical_atb_url||"");this.setIsRentable(a.is_rentable||!
1);this.setPreOrder(a.is_pre_order||!
1);this.setOnSaleDate(a.on_sale_date||"");this.setPreOrdered(a.is_pre_ordered||
!1);this.setIssueVolumeCount(a.issue_volume_count||
0);this.setVolumeCancelled(a.is_volume_cancelled||!
1);this.setCancelledReason(a.cancelled_reason||"0");switch(a.rental_state){case
ocean.info.SearchResult.RentalState.ACTIVE:this.setRentalState(ocean.info.SearchRes
ult.RentalState.ACTIVE);break;case
ocean.info.SearchResult.RentalState.EXPIRED:this.setRentalState(ocean.info.SearchRe
sult.RentalState.EXPIRED)}this.setRentalEndUtc(a.rental_end_utc||0)};
$jscomp.inherits(module$exports$ocean$info$ProtoSearchResult,ocean.info.SearchResul
t);var module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf=function(a)
{ocean.info.Bookshelf.call(this);this.setId(a.id);this.setOwnerUid(a.owner_uid);thi
s.setTitle(a.title);this.setDescription(a.description);this.setNumPossibleVolumes(a
.num_volumes);this.setAccess(a.access||"0");this.setCanModifyMetadata(a.can_modify_
metadata);this.setPredefined(a.predefined);this.setCanRemoveVolumes(a.can_remove_vo
lumes);this.setCanAddVolumes(a.can_add_volumes);this.setCanOnlyAddEBooks(a.can_only
_add_ebooks||!1);
this.setAddVolumeBaseUrl(a.add_vol_base_url);this.setDeleteVolumeBaseUrl(a.del_vol_
base_url);void 0!
==a.paused&&(this.setPaused(a.paused),this.setPauseBookshelfUrl(a.pause_bookshelf_u
rl));a.volumes&&(a=module$contents$goog$array_map(a.volumes,function(b){return new
module$exports$ocean$info$ProtoSearchResult(b)}),this.setVolumes(a))};
$jscomp.inherits(module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf,ocean.inf
o.Bookshelf);ocean.info.ProtoBookshelf=module$contents$ocean$info$ProtoBookshelf_Pr
otoBookshelf;ocean.info.Bookshelves=function()
{module$contents$ocean$EventManager_EventManager.call(this);this.predefinedShelves_
=[];this.customShelves_=[]};goog.inherits(ocean.info.Bookshelves,module$contents$oc
ean$EventManager_EventManager);ocean.info.Bookshelves.EventType={ADD:"add",UPDATE:"
update"};ocean.info.Bookshelves.URL_PARAM_BOOKSHELF_ID="as_coll";
ocean.info.Bookshelves.isUrlForBookshelf=function(a,b){a=new goog.Uri(a);var
c=ocean.info.Bookshelves.URL_PARAM_BOOKSHELF_ID;return
b===parseInt(a.getParameterValue(c),10)};ocean.info.Bookshelves.isMyEbooksPage=func
tion(){return ocean.info.Bookshelves.isUrlForBookshelf(new
goog.Uri(goog.dom.getWindow().location),module$contents$ocean$info$BookshelfId_Book
shelfId.MY_EBOOKS)};
ocean.info.Bookshelves.isPurchasedBooksPage=function(){return
ocean.info.Bookshelves.isUrlForBookshelf(new
goog.Uri(goog.dom.getWindow().location),module$contents$ocean$info$BookshelfId_Book
shelfId.PURCHASED)};ocean.info.Bookshelves.prototype.addShelfInternal=function(a,b)
{if(!this.getBookshelfById(a.getId())){var c=a.predefined_?
this.predefinedShelves_:this.customShelves_;b?
module$contents$goog$array_insertAt(c,a):c.push(a)}};
ocean.info.Bookshelves.prototype.addShelf=function(a,b)
{this.sendPostRequest_(this.createBookshelfBaseUrl_,a,goog.bind(this.handleAddShelf
Response_,this,b))};ocean.info.Bookshelves.prototype.removeBookShelfById=function(a
){return(a=this.getBookshelfById(a.toString()))?
module$contents$goog$array_remove(this.predefinedShelves_,a)||
module$contents$goog$array_remove(this.customShelves_,a):!1};
ocean.info.Bookshelves.prototype.updateShelf=function(a){var b=new
goog.Uri(this.updateBookshelfBaseUrl_);b.setParameterValue(ocean.info.Bookshelves.U
RL_PARAM_BOOKSHELF_ID,a.getId());this.sendPostRequest_(b,a,goog.bind(this.handleUpd
ateShelfResponse_,this))};
ocean.info.Bookshelves.prototype.sendPostRequest_=function(a,b,c){var
d=b.access_==ocean.info.Bookshelf.Access.PUBLIC;a=new
goog.Uri(a);a.setParameterValue("cl_title",b.getTitle());a.setParameterValue("cl_mo
de",d?"public":"private");b="cl_des="+goog.string.urlEncode(b.getDescription());goo
g.net.XhrIo.send(a,c,"POST",b)};
ocean.info.Bookshelves.prototype.handleUpdateShelfResponse_=function(a)
{a=a.target;if(a.isSuccess()){a=new
module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf(a.getResponseJson());var
b=this.getBookshelfById(a.getId());b.setTitle(a.getTitle());b.setDescription(a.getD
escription());b.setAccess(a.access_);b=new
goog.events.Event(ocean.info.Bookshelves.EventType.UPDATE,this);b.shelf=a;this.disp
atchEvent(b)}};
ocean.info.Bookshelves.prototype.handleAddShelfResponse_=function(a,b)
{b=b.target;b.isSuccess()&&(b=new
module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf(b.getResponseJson()),this.
addShelfInternal(b,a),a=new
goog.events.Event(ocean.info.Bookshelves.EventType.ADD,this),a.shelf=b,this.dispatc
hEvent(a))};ocean.info.Bookshelves.prototype.setCreateBookshelfBaseUrl=function(a)
{this.createBookshelfBaseUrl_=new
goog.Uri(a);this.createBookshelfBaseUrl_.setParameterValue("jscmd","ClCreate")};
ocean.info.Bookshelves.prototype.setUpdateBookshelfBaseUrl=function(a)
{this.updateBookshelfBaseUrl_=new
goog.Uri(a);this.updateBookshelfBaseUrl_.setParameterValue("jscmd","ClUpdate")};oce
an.info.Bookshelves.prototype.setMainBookshelfId=function(a)
{this.mainBookshelfId_=a};ocean.info.Bookshelves.prototype.getMainBookshelf=functio
n(){return this.getBookshelfById(this.mainBookshelfId_)};
ocean.info.Bookshelves.prototype.getBookshelfById=function(a){var
b=module$contents$goog$array_find(this.getBookshelves(),function(c){return
c.getId()==a});return b};ocean.info.Bookshelves.prototype.getBookshelves=function()
{return
module$contents$goog$array_flatten(this.predefinedShelves_,this.customShelves_)};
ocean.info.Bookshelves.prototype.getVolumeById=function(a){var
b=module$contents$goog$array_find(this.getBookshelves(),function(c){return null!
=c.getVolumeById(a)});return null!=b?b.getVolumeById(a):null};var
module$exports$ocean$msg$util={getViewOrderLink:function(a,b){var
c=module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(goog.dom.createDom(goo
g.dom.TagName.A,{},"Afficher la
commande"));module$exports$google3$third_party$javascript$safevalues$dom$elements$a
nchor.setHref(c,a);c.classList.add(b);return c}};var
module$contents$ocean$HoverCardRenderer_HoverCardRenderer=function(a,b,c,d)
{module$contents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer.call(thi
s,a,b,c);this.isNativeAppRequest_=module$contents$ocean$HoverCardRenderer_HoverCard
Renderer.isNativeAppRequest_(this.data.data_.infoUrl);this.showDeviceFormatInfo_=!!
d};
$jscomp.inherits(module$contents$ocean$HoverCardRenderer_HoverCardRenderer,module$c
ontents$ocean$AbstractHoverCardRenderer_AbstractHoverCardRenderer);
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.getAuthorSearch
Url=function(a){return new
goog.Uri(goog.string.subs(module$contents$ocean$HoverCardRenderer_HoverCardRenderer
.IN_AUTHOR_SEARCH_URL_,a))};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.render=function
(a){goog.dom.removeChildren(a);var
b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName),c=goog.dom.createDom(goog.d
om.TagName.DIV,this.cssName+"-meta");this.renderMetaSection(c);var
d=this.data.isEBook()?this.cssName+"-footer":this.cssName+"-footer-
nonebook";d=goog.dom.createDom(goog.dom.TagName.DIV,d);this.renderFooterSection(d);
goog.dom.appendChild(b,c);goog.dom.appendChild(b,d);goog.dom.appendChild(a,b);goog.
style.getSize(a).width>
this.maxWidth&&goog.style.setSize(a,this.maxWidth,"")};module$contents$ocean$HoverC
ardRenderer_HoverCardRenderer.prototype.renderMetaSection=function(a)
{this.data.isPurchased()||this.data.isPreOrdered()||
this.data.isVolumeCancelled()||!this.data.getViewOrderUrl()||!
ocean.info.Bookshelves.isPurchasedBooksPage()||
this.renderBadCreditCardError(a);module$contents$ocean$AbstractHoverCardRenderer_Ab
stractHoverCardRenderer.prototype.renderMetaSection.call(this,a);this.renderBookOpt
ions(a)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderBadCredit
CardError=function(a){var
b=goog.dom.createDom(goog.dom.TagName.IMG,{src:"/googlebooks/images/
purchase_error.gif","class":this.cssName+"-error-
icon"});b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-card-
error",b,"Carte de paiement refus\u00e9e :");if(this.data.getViewOrderUrl()){var
c=(0,module$exports$ocean$msg$util.getViewOrderLink)
(this.data.getViewOrderUrl(),"primary"),d=goog.dom.createDom(goog.dom.TagName.SPAN)
;
d.innerText="&nbsp;";goog.dom.appendChild(b,d);goog.dom.appendChild(b,c)}goog.dom.a
ppendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderBookOptio
ns=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-book-
options");if(this.data.isEBook())this.data.data_.isFreeEBook?
this.renderFreeBookOptions_(b):this.data.isPreOrdered()?
this.renderPreOrdered_(b):this.data.isVolumeCancelled()&&ocean.info.Bookshelves.isP
urchasedBooksPage()?this.renderCancelled_(b):this.data.isPurchased()||
this.data.data_.inMyEbooks?!this.data.isPurchased()&&this.data.data_.inMyEbooks?
this.renderBuyButton_(b):this.data.isPurchased()&&this.renderPurchased_(b):this.ren
derBuyButton_(b),this.renderRemoveOptions(b);else{var
c=this.data.getPreviewUrl();this.isVolumePreviewable()&&!
goog.string.isEmptyOrWhitespace(c)?this.renderButton(b,"Aper\u00e7u",c,!0,void
0,void 0,"unified-hovercard-preview-sample"):this.renderButton(b,"Aper\u00e7u",c,!
0,!1,!0,"unified-hovercard-preview-sample")}goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderRemoveOpt
ions=function(a){if(ocean.info.Bookshelves.isMyEbooksPage()){var
b=goog.dom.createDom(goog.dom.TagName.SPAN,this.cssName+"-offline-remove-
options");this.renderRemoveFromMyEBooksLink_(b);goog.dom.appendChild(a,b)}};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderFooterSec
tion=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-
footer-
inner");if(this.data.isEBook())if(this.data.isVolumeCancelled()&&ocean.info.Bookshe
lves.isPurchasedBooksPage())this.renderPurchasedShelfFooterLinks_(b);else
if(this.isUnpurchasedPreOrder_()||
this.data.isPreOrdered())this.renderPreOrderDate_(b),this.data.isPreOrdered()&&ocea
n.info.Bookshelves.isPurchasedBooksPage()&&this.renderPurchasedShelfFooterLinks_(b)
;
else
if(this.data.isPurchased()&&ocean.info.Bookshelves.isPurchasedBooksPage())this.rend
erSupportedDevicesInfo_(b),this.renderPurchasedShelfFooterLinks_(b);else{this.rende
rSupportedDevicesInfo_(b);var c=!this.data.isPurchased()&&!
this.data.data_.isFreeEBook,d=this.data.data_.isFreeEBook&&!
this.data.data_.inMyEbooks;(c||
d)&&this.renderPreviewLink_(b)}goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderPurchased
ShelfFooterLinks_=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,
{id:"unified-hovercard-purchased-shelf-links","class":this.cssName+"-order-links-
container"});this.renderViewOrderLink_(b);this.data.isPreOrdered()||
this.renderDeleteForeverLink_(b);goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderFreeBookO
ptions_=function(a){this.data.data_.inMyEbooks?
this.renderPurchased_(a):this.renderGetItFreeButton_(a)};module$contents$ocean$Hove
rCardRenderer_HoverCardRenderer.prototype.isUnpurchasedPreOrder_=function(){return
this.data.isPreOrder()&&!this.data.isPurchased()};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderPreOrderD
ate_=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-pre-
order-
date");b.textContent=module$contents$ocean$msg_getAvailableOnDate(this.data.getOnSa
leDate());goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderPreviewLi
nk_=function(a){var b=goog.dom.createDom(goog.dom.TagName.SPAN,
{"class":this.cssName+"-footer-inner-
right"}),c=this.getPreviewUrl_(this.data.data_.previewEBookUrl||
this.data.data_.readUrl);if(c){var
d=module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(goog.dom.createDom(goo
g.dom.TagName.A,{id:"unified-hovercard-preview-link"},"Afficher l'aper\
u00e7u"));module$exports$google3$third_party$javascript$safevalues$dom$elements$anc
hor.setHref(d,
c);goog.dom.appendChild(b,d)}goog.dom.appendChild(a,b)};module$contents$ocean$Hover
CardRenderer_HoverCardRenderer.prototype.renderPurchased_=function(a)
{this.renderReadNowButton_(a)};module$contents$ocean$HoverCardRenderer_HoverCardRen
derer.prototype.renderPreOrdered_=function(a){var
b=goog.dom.createDom(goog.dom.TagName.SPAN,this.cssName+"-pre-ordered","Pr\u00e9-
command\u00e9");goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderCancelled
_=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-
cancelled"),c=this.data.data_.cancelledReason,d=ocean.info.SearchResult.Cancellatio
nReason;c==d.CUSTOMER_REQUEST?goog.dom.setTextContent(b,"Annul\u00e9 - Demande du
client"):c==d.AUTO_FULFILLMENT_ERROR?goog.dom.setTextContent(b,"Annul\u00e9 -
Probl\u00e8me avec l'e-book"):c==d.AUTO_PRICE_CHANGE?
goog.dom.setTextContent(b,"Annul\u00e9 - Modification du prix"):
c==d.AUTO_PUBLISHER_CHANGE?goog.dom.setTextContent(b,"Annul\u00e9 - D\u00e9cision
de l'\u00e9diteur"):goog.dom.setTextContent(b,"Annul\
u00e9e");goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderBuyButton
_=function(a){this.isUnpurchasedPreOrder_()?
this.renderButton(a,module$contents$ocean$msg_getPreOrderPrice(this.data.data_.sale
Price),this.data.data_.buyUrl,!0,void 0,void 0,"unified-hovercard-buy-
btn"):this.data.isRentable()?
this.renderButton(a,module$contents$ocean$msg_getEbookFromWithPrice(this.data.data_
.offerPrice),this.data.data_.buyUrl,!0,void 0,void 0,"unified-hovercard-buy-
btn"):this.renderButton(a,module$contents$ocean$msg_getBuyEbookWithPrice(this.data.
data_.salePrice),
this.data.data_.buyUrl,!0,void 0,void 0,"unified-hovercard-buy-
btn")};module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderGe
tItFreeButton_=function(a){this.renderButton(a,"Lire l'e-
book",this.data.data_.freeEBookUrl,!0,!
this.data.data_.addToMyEbooksUrlIsOnPlay,void 0,"unified-hovercard-free-
btn")};module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.getPrevi
ewUrl_=function(a){a&&(a=goog.uri.utils.setParam(a,"source","ebookstore"));return
a};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderReadNowBu
tton_=function(a){this.renderButton(a,"Lire maintenant",this.data.data_.readUrl,!
0,void 0,void 0,"unified-hovercard-read-now")};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderDeleteFor
everLink_=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,{id:"unified-
hovercard-delete-forever","class":this.cssName+"-footer-fake-link"},"Supprimer d\
u00e9finitivement");goog.dom.classlist.add(b,this.cssName+"-footer-action-
link");b.id=module$contents$ocean$HoverCardRenderer_HoverCardRenderer.DELETE_FOREVE
R_ID;goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderRemoveFro
mMyEBooksLink_=function(a){var b=goog.dom.createDom(goog.dom.TagName.SPAN,
{id:"unified-hovercard-remove-from-ebooks","class":this.cssName+"-fake-
link"},"Supprimer de mes e-
books");b.id=module$contents$ocean$HoverCardRenderer_HoverCardRenderer.REMOVE_FROM_
MY_EBOOKS_ID;goog.dom.appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderViewOrder
Link_=function(a){var b=this.data.getViewOrderUrl();b&&goog.dom.appendChild(a,
(0,module$exports$ocean$msg$util.getViewOrderLink)(b,""))};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.prototype.renderSupported
DevicesInfo_=function(a){var
b=goog.dom.createDom(goog.dom.TagName.DIV,this.cssName+"-supported-
devices"),c=this.cssName+"-device-type",d=this.cssName+"-device-
supported",e=this.cssName+"-device-not-
supported",f=goog.dom.createDom(goog.dom.TagName.SPAN,c,"Web"),g=goog.dom.createDom
(goog.dom.TagName.SPAN,c,"Tablette/
iPad"),h=goog.dom.createDom(goog.dom.TagName.SPAN,c,"Lecteur d'e-
books");c=goog.dom.createDom(goog.dom.TagName.SPAN,
c,"Smartphone");var k=goog.dom.createDom(goog.dom.TagName.SPAN,"goog-inline-
block"),l=goog.dom.createDom(goog.dom.TagName.SPAN,"goog-inline-
block"),m=goog.dom.createDom(goog.dom.TagName.SPAN,"goog-inline-
block"),n=goog.dom.createDom(goog.dom.TagName.SPAN,"goog-inline-
block");this.data.getHasFlowingText()?
(goog.dom.classlist.add(k,d),goog.dom.classlist.add(l,d),goog.dom.classlist.add(m,d
),goog.dom.classlist.add(n,d)):(this.data.getHasScannedText()?
(goog.dom.classlist.add(k,d),goog.dom.classlist.add(l,
d)):
(goog.dom.classlist.add(k,e),goog.dom.classlist.add(l,e)),goog.dom.classlist.add(m,
e),goog.dom.classlist.add(n,e));goog.dom.appendChild(b,k);goog.dom.appendChild(b,f)
;goog.dom.appendChild(b,l);goog.dom.appendChild(b,g);goog.dom.appendChild(b,m);goog
.dom.appendChild(b,h);goog.dom.appendChild(b,n);goog.dom.appendChild(b,c);goog.dom.
appendChild(a,b)};
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.isNativeAppRequest_=funct
ion(a){a=new goog.Uri(a);a=a.getParameterValue("dapp");if(void 0===a)return!
1;a=parseInt(a,10);return
module$contents$goog$array_contains([module$contents$ocean$HoverCardRenderer_HoverC
ardRenderer.SourceDeviceAppType_.IPHONE_APP,module$contents$ocean$HoverCardRenderer
_HoverCardRenderer.SourceDeviceAppType_.IPAD_APP,module$contents$ocean$HoverCardRen
derer_HoverCardRenderer.SourceDeviceAppType_.ANDROID_APP,module$contents$ocean$Hove
rCardRenderer_HoverCardRenderer.SourceDeviceAppType_.OTHER_MOBILE_APP,
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.SourceDeviceAppType_.ANDR
OID_TABLET_APP],a)};module$contents$ocean$HoverCardRenderer_HoverCardRenderer.IN_AU
THOR_SEARCH_URL_='/ebooks?
output=ws2&as_brr=5&q=inauthor:"%s"';module$contents$ocean$HoverCardRenderer_HoverC
ardRenderer.ADD_TO_MY_EBOOKS_ID="hovercard-add-to-my-
ebooks";module$contents$ocean$HoverCardRenderer_HoverCardRenderer.DELETE_FOREVER_ID
="hovercard-delete-forever";
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.SAVE_SAMPLE_LINK_ID="hove
rcard-save-sample-for-
later";module$contents$ocean$HoverCardRenderer_HoverCardRenderer.REMOVE_FROM_MY_EBO
OKS_ID="hovercard-remove-from-my-
ebooks";module$contents$ocean$HoverCardRenderer_HoverCardRenderer.SourceDeviceAppTy
pe_={DEVTYPE_NONE:0,IPHONE_APP:1,IPAD_APP:2,ANDROID_APP:3,ANDROID_TABLET_APP:4,OTHE
R_MOBILE_APP:5};ocean.HoverCardRenderer=module$contents$ocean$HoverCardRenderer_Hov
erCardRenderer;ocean.HoverCard=function(a,b,c)
{module$contents$ocean$AbstractHoverCard_AbstractHoverCard.call(this,a);this.isRtl_
=ocean.style.isPageRtl();this.arrowBorder_=this.arrow_=this.anchor_=null;this.data_
=b;this.renderer_=null;this.showDeviceFormatInfo_=!!
c;this.render(b);this.initListeners_()};
$jscomp.inherits(ocean.HoverCard,module$contents$ocean$AbstractHoverCard_AbstractHo
verCard);
ocean.HoverCard.prototype.createRenderer=function(a){return new
module$contents$ocean$HoverCardRenderer_HoverCardRenderer(a,this.className,this.MAX
_WIDTH_,this.showDeviceFormatInfo_)};ocean.HoverCard.prototype.disposeInternal=func
tion()
{this.renderer_.getHandler().dispose();goog.dom.removeNode(this.getElement())};
ocean.HoverCard.prototype.maybeShow=function(a,b)
{module$contents$ocean$AbstractHoverCard_AbstractHoverCard.prototype.maybeShow.call
(this,a,b);this.isVisible()&&(this.isRtl_?this.setMargin(0,-
2,0,0):this.setMargin(0,0,0,-2),this.anchor_=this.anchor,this.createArrow_())};
ocean.HoverCard.prototype.render=function(a)
{this.renderer_&&(this.renderer_.dispose(),this.arrowBorder_=this.arrow_=null);this
.renderer_=this.createRenderer(a);this.renderer_.render(this.getElement());this.ini
tListeners_();this.isVisible()&&this.createArrow_()};
ocean.HoverCard.prototype.calcArrowInfo_=function(){var
a=goog.style.getBounds(this.anchor_||
null),b=goog.style.getBounds(this.getElement());if(!a)return
null;a.top=Math.ceil(a.top);b.top=Math.ceil(b.top);a.left=Math.ceil(a.left);b.left=
Math.ceil(b.left);var c=b.top>=a.top,d=goog.math.Rect.intersection(b,a);d||(d=new
goog.math.Rect(a.left,0,a.width,0));a=this.isRtl_?b.left+b.width-d.left-(d.width/
2+this.ARROW_WIDTH_):d.left-b.left+(d.width/2-this.ARROW_WIDTH_);a=0<a?
a:0;b=b.height-2;return{x:a,y:b,
isUpArrow:c}};ocean.HoverCard.prototype.createArrow_=function(){var
a=goog.dom.createDom(goog.dom.TagName.DIV),b=goog.dom.createDom(goog.dom.TagName.DI
V);this.positionArrow_(b,a);this.arrowBorder_?
goog.dom.replaceNode(a,this.arrowBorder_):goog.dom.appendChild(this.getElement(),a)
;this.arrow_?
goog.dom.replaceNode(b,this.arrow_):goog.dom.appendChild(this.getElement(),b);this.
arrow_=b;this.arrowBorder_=a};
ocean.HoverCard.prototype.handleHoverCardClick_=function(a){var b=a.target||
null;if(b){b.nodeType==goog.dom.NodeType.TEXT&&(b=b.parentNode);switch(b.id){case
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.REMOVE_FROM_MY_EBOOKS_ID:
a.preventDefault();var c=ocean.HoverCard.EventType.REMOVE;break;case
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.SAVE_SAMPLE_LINK_ID:case
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.ADD_TO_MY_EBOOKS_ID:a.pre
ventDefault();c=ocean.HoverCard.EventType.ADD_TO_MY_EBOOKS;
break;case
module$contents$ocean$HoverCardRenderer_HoverCardRenderer.DELETE_FOREVER_ID:a.preve
ntDefault();c=ocean.HoverCard.EventType.DELETE_FOREVER;break;default:b.href&&(c=oce
an.HoverCard.EventType.LINK_CLICK,a.type==goog.events.EventType.TOUCHSTART&&module$
exports$google3$third_party$javascript$safevalues$dom$globals$location.replace(wind
ow.location,module$contents$google3$third_party$javascript$safevalues$builders$url_
builders_sanitizeUrl(b.href)))}c&&(a=new
goog.events.Event(c,this),this.dispatchEvent(a))}};
ocean.HoverCard.prototype.initListeners_=function(){var
a=goog.userAgent.product.IPAD||goog.userAgent.product.ANDROID?
goog.events.EventType.TOUCHSTART:goog.events.EventType.CLICK;this.renderer_.getHand
ler().listenWithScope(this.getElement(),a,this.handleHoverCardClick_,!1,this)};
ocean.HoverCard.prototype.positionArrow_=function(a,b){var
c=this.calcArrowInfo_(),d=this.isRtl_?"marginRight":"marginLeft";goog.style.setStyl
e(a,d,c.x+"px");goog.style.setStyle(b,d,c.x-
1+"px");goog.dom.classlist.add(this.getElement(),this.className+"-
tooltip");c.isUpArrow?
(goog.style.setStyle(a,"bottom",c.y+"px"),goog.style.setStyle(b,"bottom",c.y+1+"px"
),goog.dom.classlist.add(a,this.className+"-arrow-
up"),goog.dom.classlist.add(b,this.className+"-arrow-up-border")):
(goog.style.setStyle(a,"top",
c.y+"px"),goog.style.setStyle(b,"top",c.y+1+"px"),this.data_.isEBook()||
goog.dom.classlist.add(a,this.className+"-
nofooter"),goog.dom.classlist.add(a,this.className+"-arrow-
down"),goog.dom.classlist.add(b,this.className+"-arrow-down-
border"))};ocean.HoverCard.EventType={ADD_TO_MY_EBOOKS:"a",DELETE_FOREVER:"b",REMOV
E:"c",MAKE_AVAILABLE:"d",DO_NOT_MAKE_AVAILABLE:"e",LINK_CLICK:"f"};ocean.HoverCard.
prototype.ARROW_WIDTH_=12;ocean.HoverCard.prototype.MAX_WIDTH_=435;ocean.chrome.Thu
mbDrawable=function(a,b,c)
{ocean.chrome.SliderDrawable.call(this,b);this.volume_=a;this.thumbnail_=null;this.
displayBadging_=!
1;if(c==module$contents$ocean$info$BookshelfId_BookshelfId.PURCHASED.toString()||
c==module$contents$ocean$info$BookshelfId_BookshelfId.MY_EBOOKS.toString())this.dis
playBadging_=!
0};goog.inherits(ocean.chrome.ThumbDrawable,ocean.chrome.SliderDrawable);ocean.chro
me.ThumbDrawable.globalEventTarget=new goog.events.EventTarget;
ocean.chrome.ThumbDrawable.prototype.draw=function(a){var
b=goog.dom.createDom(goog.dom.TagName.A,{className:"slider-link goog-inline-
block"});goog.style.setSize(b,"",this.getHeight());var c=new
goog.Uri(this.volume_.data_.infoUrl);this.volume_.data_.source?
c.setParameterValue("source",this.volume_.data_.source):c.setParameterValue("source
","gbs_slider_thumb");c.removeParameter("num");module$exports$google3$third_party$j
avascript$safevalues$dom$elements$anchor.setHref(b,c.toString());goog.dom.appendChi
ld(a,
b);this.thumbnail_=goog.dom.createElement(goog.dom.TagName.IMG);this.thumbnail_.alt
="";this.getHandler().listenOnce(this.thumbnail_,goog.events.EventType.LOAD,goog.bi
nd(this.handleImageLoad_,this));ocean.chrome.ThumbDrawable.globalEventTarget.dispat
chEvent(ocean.chrome.ThumbDrawable.EventType.START);
(a=this.volume_.data_.thumbUrl)?(a=new
goog.Uri(a),a.setParameterValue("h",this.getHeight()),a.setParameterValue("stbn",1)
,a.removeParameter("edge"),this.thumbnail_.src=a.toString()):this.thumbnail_.src=
"/googlebooks/images/
no_cover_thumb.gif";goog.style.setSize(this.thumbnail_,"",this.getHeight());goog.do
m.appendChild(b,this.thumbnail_);this.displayBadging_&&this.volume_.isExpiredRental
()?(this.badgeElem_=goog.dom.createDom(goog.dom.TagName.SPAN,["bookcard-
badge","bookcard-sample-label"],"Location arriv\u00e9e \u00e0
expiration"),b.appendChild(this.badgeElem_)):this.displayBadging_&&this.volume_.isA
ctiveRental()?(this.badgeElem_=goog.dom.createDom(goog.dom.TagName.SPAN,["bookcard-
badge","bookcard-sample-label"],
this.volume_.getRemainingRentalTimeMessage()),b.appendChild(this.badgeElem_)):!
this.displayBadging_||this.volume_.isPurchased()||this.volume_.data_.isFreeEBook||
(this.badgeElem_=goog.dom.createDom(goog.dom.TagName.SPAN,["bookcard-
badge","bookcard-sample-
label"],"Extrait"),b.appendChild(this.badgeElem_));goog.events.listenOnce(b,goog.ev
ents.EventType.MOUSEOVER,this.createHoverCard_.bind(this,b))};
ocean.chrome.ThumbDrawable.prototype.handleImageLoad_=function()
{this.dispatchEvent(ocean.chrome.SliderDrawable.EventType.RENDER);ocean.chrome.Thum
bDrawable.globalEventTarget.dispatchEvent(ocean.chrome.ThumbDrawable.EventType.COMP
LETE);this.badgeElem_&&goog.style.setWidth(this.badgeElem_,this.getThumbnailWidth()
)};ocean.chrome.ThumbDrawable.prototype.createHoverCard_=function(a,b){a=new
ocean.HoverCard(a,this.volume_);a.initWithMouseOverEvent(b)};
ocean.chrome.ThumbDrawable.prototype.getThumbnailWidth=function(){return
goog.style.getSize(this.thumbnail_).width};ocean.chrome.ThumbDrawable.EventType={ST
ART:"start",COMPLETE:"complete"};ocean.basic={};ocean.basic.AnnotatedDrawable=funct
ion(a,b,c){ocean.chrome.ThumbDrawable.call(this,a,b-
40,c);this.annotationEl_=goog.dom.createDom(goog.dom.TagName.DIV,"slider-
annotation");this.annotationFilled_=!1};
$jscomp.inherits(ocean.basic.AnnotatedDrawable,ocean.chrome.ThumbDrawable);
ocean.basic.AnnotatedDrawable.prototype.draw=function(a)
{goog.events.listenOnce(this,ocean.chrome.SliderDrawable.EventType.RENDER,goog.bind
(this.drawAnnotation,this));ocean.chrome.ThumbDrawable.prototype.draw.call(this,a);
goog.dom.appendChild(a,this.annotationEl_)};ocean.basic.AnnotatedDrawable.prototype
.drawAnnotation=function(a){this.annotationFilled_||
(a.stopPropagation(),goog.dom.appendChild(this.annotationEl_,this.getAnnotation()),
this.annotationFilled_=!
0,this.dispatchEvent(ocean.chrome.SliderDrawable.EventType.RENDER))};var
module$contents$ocean$basic$AuthorAnnotatedDrawable_AuthorAnnotatedDrawable=functio
n(a,b,c){ocean.basic.AnnotatedDrawable.call(this,a,b,c)};
$jscomp.inherits(module$contents$ocean$basic$AuthorAnnotatedDrawable_AuthorAnnotate
dDrawable,ocean.basic.AnnotatedDrawable);module$contents$ocean$basic$AuthorAnnotate
dDrawable_AuthorAnnotatedDrawable.prototype.draw=function(a)
{ocean.basic.AnnotatedDrawable.prototype.draw.call(this,a)};
module$contents$ocean$basic$AuthorAnnotatedDrawable_AuthorAnnotatedDrawable.prototy
pe.getAnnotation=function(){var
a=this.volume_,b=goog.dom.createElement(goog.dom.TagName.DIV),c=goog.dom.createDom(
goog.dom.TagName.A,{className:"slider-annotation-
title"},goog.dom.createTextNode(a.getTitle()));module$exports$google3$third_party$j
avascript$safevalues$dom$elements$anchor.setHref(c,a.data_.infoUrl);goog.dom.append
Child(b,c);if(a=a.data_.authors)a=goog.dom.createDom(goog.dom.TagName.DIV,"slider-
annotation-author",
goog.dom.createTextNode(a)),goog.dom.appendChild(b,a);goog.style.setSize(b,this.get
ThumbnailWidth()+5,"");return
b};ocean.basic.AuthorAnnotatedDrawable=module$contents$ocean$basic$AuthorAnnotatedD
rawable_AuthorAnnotatedDrawable;goog.net.Jsonp=function(a,b)
{this.uri_=a;this.callbackParamName_=b?
b:"callback";this.timeout_=5E3;this.nonce_=""};goog.net.Jsonp.CALLBACKS="_callbacks
_";goog.net.Jsonp.scriptCounter_=0;goog.net.Jsonp.getCallbackId_=function(a){return
goog.net.Jsonp.CALLBACKS+"__"+a};
goog.net.Jsonp.prototype.send=function(a,b,c,d){a=a?
module$contents$goog$object_clone(a):{};d=d||"_"+(goog.net.Jsonp.scriptCounter_+
+).toString(36)+Date.now().toString(36);var
e=goog.net.Jsonp.getCallbackId_(d);b&&(b=goog.net.Jsonp.newReplyHandler_(d,b),goog.
global[e]=b,a[this.callbackParamName_]=e);b={timeout:this.timeout_,cleanupWhenDone:
!
0};this.nonce_&&(b.attributes={nonce:this.nonce_});e=this.uri_.cloneWithParams(a);b
=goog.net.jsloader.safeLoad(e,b);c=goog.net.Jsonp.newErrorHandler_(d,a,c);b.addErrb
ack(c);
return{id_:d,deferred_:b}};goog.net.Jsonp.prototype.cancel=function(a)
{a&&(a.deferred_&&a.deferred_.cancel(),a.id_&&goog.net.Jsonp.cleanup_(a.id_,!
1))};goog.net.Jsonp.newErrorHandler_=function(a,b,c){return function()
{goog.net.Jsonp.cleanup_(a,!
1);c&&c(b)}};goog.net.Jsonp.newReplyHandler_=function(a,b){var c=function(d)
{goog.net.Jsonp.cleanup_(a,!0);b.apply(void 0,arguments)};return c};
goog.net.Jsonp.cleanup_=function(a,b)
{a=goog.net.Jsonp.getCallbackId_(a);if(goog.global[a])if(b)try{delete
goog.global[a]}catch(c){goog.global[a]=void 0}else
goog.global[a]=goog.functions.UNDEFINED};goog.ui.ac={};goog.ui.ac.RenderOptions=fun
ction(){};goog.ui.ac.RenderOptions.prototype.preserveHilited_=!
1;goog.ui.ac.RenderOptions.prototype.setAutoHilite=function(a)
{this.autoHilite_=a};goog.ui.ac.AutoComplete=function(a,b,c)
{goog.events.EventTarget.call(this);this.matcher_=a;this.selectionHandler_=c;this.r
enderer_=b;goog.events.listen(b,
[goog.ui.ac.AutoComplete.EventType.HILITE,goog.ui.ac.AutoComplete.EventType.SELECT,
goog.ui.ac.AutoComplete.EventType.CANCEL_DISMISS,goog.ui.ac.AutoComplete.EventType.
DISMISS],this.handleEvent,!1,this);this.token_=null;this.rows_=[];this.hiliteId_=-
1;this.firstRowId_=0;this.dismissTimer_=this.target_=null;this.inputToAnchorMap_={}
};
goog.inherits(goog.ui.ac.AutoComplete,goog.events.EventTarget);goog.ui.ac.AutoCompl
ete.prototype.maxMatches_=10;goog.ui.ac.AutoComplete.prototype.autoHilite_=!
0;goog.ui.ac.AutoComplete.prototype.allowFreeSelect_=!
1;goog.ui.ac.AutoComplete.prototype.wrap_=!
1;goog.ui.ac.AutoComplete.prototype.triggerSuggestionsOnUpdate_=!
1;goog.ui.ac.AutoComplete.EventType={ROW_HILITE:"rowhilite",HILITE:"hilite",SELECT:
"select",DISMISS:"dismiss",CANCEL_DISMISS:"canceldismiss",UPDATE:"update",SUGGESTIO
NS_UPDATE:"suggestionsupdate"};
goog.ui.ac.AutoComplete.prototype.getToken=function(){return this.token_};
goog.ui.ac.AutoComplete.prototype.handleEvent=function(a){var
b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case
goog.ui.ac.AutoComplete.EventType.HILITE:this.hiliteId(a.row);break;case
goog.ui.ac.AutoComplete.EventType.SELECT:var c=!1;if("number"===typeof a.row)
{a=a.row;c=this.getIndexOfId(a);var d=this.rows_[c];c=!!
d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!
=a&&this.hiliteId(a)}c||this.selectHilited();break;case
goog.ui.ac.AutoComplete.EventType.CANCEL_DISMISS:this.cancelDelayedDismiss();
break;case
goog.ui.ac.AutoComplete.EventType.DISMISS:this.dismissOnDelay()}};goog.ui.ac.AutoCo
mplete.prototype.setAutoHilite=function(a)
{this.autoHilite_=a};goog.ui.ac.AutoComplete.prototype.setAllowFreeSelect=function(
a)
{this.allowFreeSelect_=a};goog.ui.ac.AutoComplete.prototype.setToken=function(a,b)
{this.token_!
=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,g
oog.bind(this.matchListener_,this),b),this.cancelDelayedDismiss())};
goog.ui.ac.AutoComplete.prototype.getTarget=function(){return
this.target_};goog.ui.ac.AutoComplete.prototype.setTarget=function(a)
{this.target_=a};goog.ui.ac.AutoComplete.prototype.isOpen=function(){return
this.renderer_.isVisible()};
goog.ui.ac.AutoComplete.prototype.hiliteNext=function(){for(var
a=this.firstRowId_+this.rows_.length-1,b=this.hiliteId_,c=0;c<this.rows_.length;c+
+){if(b>=this.firstRowId_&&b<a)b++;else if(-1==b)b=this.firstRowId_;else
if(this.allowFreeSelect_&&b==a){this.hiliteId(-1);break}else
if(this.wrap_&&b==a)b=this.firstRowId_;else break;if(this.hiliteId(b))return!
0}return!1};
goog.ui.ac.AutoComplete.prototype.hilitePrev=function(){for(var
a=this.firstRowId_+this.rows_.length-1,b=this.hiliteId_,c=0;c<this.rows_.length;c+
+){if(b>this.firstRowId_)b--;else if(this.allowFreeSelect_&&b==this.firstRowId_)
{this.hiliteId(-1);break}else if(!this.wrap_||-1!=b&&b!=this.firstRowId_)break;else
b=a;if(this.hiliteId(b))return!0}return!1};
goog.ui.ac.AutoComplete.prototype.hiliteId=function(a){var
b=this.getIndexOfId(a),c=this.rows_[b];c=!!
c&&this.matcher_.isRowDisabled&&this.matcher_.isRowDisabled(c);return c?!1:
(this.hiliteId_=a,this.renderer_.hiliteId(a),-1!=b)};
goog.ui.ac.AutoComplete.prototype.selectHilited=function(){var
a=this.getIndexOfId(this.hiliteId_);if(-1!=a){var
b=this.rows_[a],c=this.selectionHandler_.selectRow(b);this.triggerSuggestionsOnUpda
te_?(this.token_=null,this.dismissOnDelay()):this.dismiss();c||
(this.dispatchEvent({type:goog.ui.ac.AutoComplete.EventType.UPDATE,row:b,index:a}),
this.triggerSuggestionsOnUpdate_&&this.selectionHandler_.update(!0));return!
0}this.dismiss();this.dispatchEvent({type:goog.ui.ac.AutoComplete.EventType.UPDATE,
row:null,index:null});return!
1};goog.ui.ac.AutoComplete.prototype.dismiss=function(){this.hiliteId_=-
1;this.token_=null;this.firstRowId_+=this.rows_.length;this.rows_=[];window.clearTi
meout(this.dismissTimer_);this.dismissTimer_=null;this.renderer_.dismiss();this.dis
patchEvent(goog.ui.ac.AutoComplete.EventType.SUGGESTIONS_UPDATE);this.dispatchEvent
(goog.ui.ac.AutoComplete.EventType.DISMISS)};
goog.ui.ac.AutoComplete.prototype.dismissOnDelay=function(){this.dismissTimer_||
(this.dismissTimer_=window.setTimeout(goog.bind(this.dismiss,this),100))};goog.ui.a
c.AutoComplete.prototype.immediatelyCancelDelayedDismiss_=function(){return
this.dismissTimer_?
(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};
goog.ui.ac.AutoComplete.prototype.cancelDelayedDismiss=function()
{this.immediatelyCancelDelayedDismiss_()||
window.setTimeout(goog.bind(this.immediatelyCancelDelayedDismiss_,this),10)};goog.u
i.ac.AutoComplete.prototype.disposeInternal=function()
{goog.ui.ac.AutoComplete.superClass_.disposeInternal.call(this);delete
this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();th
is.matcher_=null};
goog.ui.ac.AutoComplete.prototype.matchListener_=function(a,b,c)
{this.token_==a&&this.renderRows(b,c)};
goog.ui.ac.AutoComplete.prototype.renderRows=function(a,b){var
c="object"==goog.typeOf(b)&&b;b=(b=c?c.preserveHilited_:b)?
this.getIndexOfId(this.hiliteId_):-
1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;+
+e)d.push({id:this.getIdOfIndex_(e),data:a[e]});a=null;this.target_&&(a=this.inputT
oAnchorMap_[goog.getUid(this.target_)]||
this.target_);this.renderer_.setAnchorElement(a);this.renderer_.renderRows(d,this.t
oken_,this.target_);a=this.autoHilite_;c&&void 0!==c.autoHilite_&&
(a=c.autoHilite_);this.hiliteId_=-1;(a||0<=b)&&0!=d.length&&this.token_&&(0<=b?
this.hiliteId(this.getIdOfIndex_(b)):this.hiliteNext());this.dispatchEvent(goog.ui.
ac.AutoComplete.EventType.SUGGESTIONS_UPDATE)};goog.ui.ac.AutoComplete.prototype.ge
tIndexOfId=function(a){a-=this.firstRowId_;return 0>a||a>=this.rows_.length?-
1:a};goog.ui.ac.AutoComplete.prototype.getIdOfIndex_=function(a){return
this.firstRowId_+a};
goog.ui.ac.AutoComplete.prototype.attachInputs=function(a){var
b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};goog.ui.ac.AutoComplete
.prototype.update=function(a){var
b=this.selectionHandler_;b.update(a)};goog.dom.selection={};goog.dom.selection.setS
tart=function(a,b)
{goog.dom.selection.useSelectionProperties_(a)&&(a.selectionStart=b)};goog.dom.sele
ction.getStart=function(a){return goog.dom.selection.getEndPoints_(a,!0)[0]};
goog.dom.selection.getEndPointsTextareaIe_=function(a,b,c){b=b.duplicate();for(var
d=a.text,e=d,f=b.text,g=f,h=!1;!h;)0==a.compareEndPoints("StartToEnd",a)?h=!0:
(a.moveEnd("character",-1),a.text==d?e+="\r\n":h=!0);if(c)return[e.length,-
1];for(a=!1;!a;)0==b.compareEndPoints("StartToEnd",b)?a=!0:(b.moveEnd("character",-
1),b.text==f?g+="\r\n":a=!
0);return[e.length,e.length+g.length]};goog.dom.selection.getEndPoints=function(a)
{return goog.dom.selection.getEndPoints_(a,!1)};
goog.dom.selection.getEndPoints_=function(a,b){var
c=0,d=0;goog.dom.selection.useSelectionProperties_(a)&&(c=a.selectionStart,d=b?-
1:a.selectionEnd);return[c,d]};goog.dom.selection.setEnd=function(a,b)
{goog.dom.selection.useSelectionProperties_(a)&&(a.selectionEnd=b)};goog.dom.select
ion.getEnd=function(a){return goog.dom.selection.getEndPoints_(a,!1)
[1]};goog.dom.selection.setCursorPosition=function(a,b)
{goog.dom.selection.useSelectionProperties_(a)&&(a.selectionStart=b,a.selectionEnd=
b)};
goog.dom.selection.setText=function(a,b)
{if(goog.dom.selection.useSelectionProperties_(a)){var
c=a.value,d=a.selectionStart,e=c.slice(0,d);c=c.slice(a.selectionEnd);a.value=e+b+c
;a.selectionStart=d;a.selectionEnd=d+b.length}else throw Error("Cannot set the
selection end");};goog.dom.selection.getText=function(a)
{if(goog.dom.selection.useSelectionProperties_(a)){var b=a.value;return
b.substring(a.selectionStart,a.selectionEnd)}throw Error("Cannot get the selection
text");};
goog.dom.selection.getSelectionRangeText_=function(a){a=a.duplicate();for(var
b=a.text,c=b,d=!1;!d;)0==a.compareEndPoints("StartToEnd",a)?d=!0:
(a.moveEnd("character",-1),a.text==b?c+="\r\n":d=!0);return
c};goog.dom.selection.getRangeIe_=function(a){var b=a.ownerDocument||
a.document,c=b.selection.createRange();a.type==goog.dom.InputType.TEXTAREA?
(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,
c]};
goog.dom.selection.canonicalizePositionIe_=function(a,b)
{a.type==goog.dom.InputType.TEXTAREA&&(a=a.value.substring(0,b),b=goog.string.canon
icalizeNewlines(a).length);return
b};goog.dom.selection.useSelectionProperties_=function(a)
{try{return"number"==typeof a.selectionStart}catch(b){return!
1}};goog.ui.ac.InputHandler=function(a,b,c,d){goog.Disposable.call(this);d=d||
150;this.multi_=null!=c?c:!0;this.setSeparators(a||
goog.ui.ac.InputHandler.STANDARD_LIST_SEPARATORS);this.literals_=b||"";this.prevent
SelectionOnTab_=!1;this.preventDefaultOnTab_=this.multi_;this.timer_=0<d?new
goog.Timer(d):null;this.eh_=new
goog.events.EventHandler(this);this.activateHandler_=new
goog.events.EventHandler(this);this.keyHandler_=new
goog.events.KeyHandler;this.lastKeyCode_=-1};
goog.inherits(goog.ui.ac.InputHandler,goog.Disposable);goog.ui.ac.InputHandler.REQU
IRES_ASYNC_BLUR_=!
1;goog.ui.ac.InputHandler.STANDARD_LIST_SEPARATORS=",;";goog.ui.ac.InputHandler.QUO
TE_LITERALS='"';goog.ui.ac.InputHandler.prototype.whitespaceWrapEntries_=!
0;goog.ui.ac.InputHandler.prototype.generateNewTokenOnLiteral_=!
0;goog.ui.ac.InputHandler.prototype.upsideDown_=!
1;goog.ui.ac.InputHandler.prototype.separatorUpdates_=!
0;goog.ui.ac.InputHandler.prototype.separatorSelects_=!0;
goog.ui.ac.InputHandler.prototype.activeTimeoutId_=null;goog.ui.ac.InputHandler.pro
totype.activeElement_=null;goog.ui.ac.InputHandler.prototype.lastValue_="";goog.ui.
ac.InputHandler.prototype.waitingForIme_=!
1;goog.ui.ac.InputHandler.prototype.rowJustSelected_=!
1;goog.ui.ac.InputHandler.prototype.updateDuringTyping_=!
0;goog.ui.ac.InputHandler.prototype.attachAutoComplete=function(a)
{this.ac_=a};goog.ui.ac.InputHandler.prototype.getActiveElement=function(){return
this.activeElement_};
goog.ui.ac.InputHandler.prototype.getValue=function(){return
this.activeElement_.value};goog.ui.ac.InputHandler.prototype.setValue=function(a)
{this.activeElement_.value=a};goog.ui.ac.InputHandler.prototype.getCursorPosition=f
unction(){return
goog.dom.selection.getStart(this.activeElement_)};goog.ui.ac.InputHandler.prototype
.setCursorPosition=function(a)
{goog.dom.selection.setStart(this.activeElement_,a);goog.dom.selection.setEnd(this.
activeElement_,a)};
goog.ui.ac.InputHandler.prototype.attachInput=function(a){if(goog.dom.isElement(a))
{var
b=a;goog.a11y.aria.setRole(b,goog.a11y.aria.Role.COMBOBOX);goog.a11y.aria.setState(
b,goog.a11y.aria.State.AUTOCOMPLETE,"list")}this.eh_.listen(a,goog.events.EventType
.FOCUS,this.handleFocus);this.eh_.listen(a,goog.events.EventType.BLUR,this.handleBl
ur);this.activeElement_||
(this.activateHandler_.listen(a,goog.events.EventType.KEYDOWN,this.onKeyDownOnInact
iveElement_),goog.dom.isElement(a)&&(b=goog.dom.getOwnerDocument(a),
goog.dom.getActiveElement(b)==a&&this.processFocus(a)))};goog.ui.ac.InputHandler.pr
ototype.attachInputs=function(a){for(var b=0;b<arguments.length;b+
+)this.attachInput(arguments[b])};goog.ui.ac.InputHandler.prototype.selectRow=funct
ion(a,b){this.activeElement_&&this.setTokenText(a.toString(),b);return!1};
goog.ui.ac.InputHandler.prototype.setTokenText=function(a,b){if(void 0!==b?
b:this.multi_){b=this.getTokenIndex_(this.getValue(),this.getCursorPosition());var
c=this.splitInput_(this.getValue());this.separatorCheck_&&!
this.separatorCheck_.test(a)&&(a=goog.string.trimRight(a)
+this.defaultSeparator_);this.whitespaceWrapEntries_&&(0==b||
goog.string.isEmptyOrWhitespace(c[b-1])||(a=" "+a),b==c.length-1&&(a+=" "));if(a!
=c[b]){c[b]=a;a=this.activeElement_;a.value=c.join("");for(var d=0,e=0;e<=b;e+
+)d+=c[e].length;
a.focus();this.setCursorPosition(d)}}else this.setValue(a);this.rowJustSelected_=!
0};goog.ui.ac.InputHandler.prototype.disposeInternal=function()
{goog.ui.ac.InputHandler.superClass_.disposeInternal.call(this);null!
=this.activeTimeoutId_&&window.clearTimeout(this.activeTimeoutId_);this.eh_.dispose
();delete
this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();module$contents
$goog$dispose_dispose(this.timer_)};
goog.ui.ac.InputHandler.prototype.setSeparators=function(a,b)
{this.separators_=a;this.defaultSeparator_=null!=b?
b:this.separators_.substring(0,1);a=this.multi_?"[\\s"+this.separators_+"]+":"[\\s]
+";this.trimmer_=new RegExp("^"+a+"|"+a+"$","g");this.separatorCheck_=new
RegExp("\\s*["+this.separators_+"]$")};
goog.ui.ac.InputHandler.prototype.handleKeyEvent=function(a){switch(a.keyCode){case
goog.events.KeyCodes.DOWN:if(this.ac_.isOpen())return
this.moveDown_(),a.preventDefault(),!0;if(!this.multi_)return this.update(!
0),a.preventDefault(),!0;break;case
goog.events.KeyCodes.UP:if(this.ac_.isOpen())return
this.moveUp_(),a.preventDefault(),!0;break;case goog.events.KeyCodes.TAB:if(!
this.ac_.isOpen()||a.shiftKey||this.preventSelectionOnTab_)this.ac_.dismiss();else
if(this.update(),this.ac_.selectHilited()&&
this.preventDefaultOnTab_)return a.preventDefault(),!0;break;case
goog.events.KeyCodes.ENTER:if(this.ac_.isOpen())
{if(this.update(),this.ac_.selectHilited())return
a.preventDefault(),a.stopPropagation(),!0}else this.ac_.dismiss();break;case
goog.events.KeyCodes.ESC:if(this.ac_.isOpen())return
this.ac_.dismiss(),a.preventDefault(),a.stopPropagation(),!0;break;case
goog.events.KeyCodes.WIN_IME:if(!this.waitingForIme_)return
this.startWaitingForIme_(),!0;break;default:this.timer_&&!
this.updateDuringTyping_&&
(this.timer_.stop(),this.timer_.start())}return
this.handleSeparator_(a)};goog.ui.ac.InputHandler.prototype.handleSeparator_=functi
on(a){var b=this.multi_&&a.charCode&&-1!
=this.separators_.indexOf(String.fromCharCode(a.charCode));this.separatorUpdates_&&
b&&this.update();return this.separatorSelects_&&b&&this.ac_.selectHilited()?
(a.preventDefault(),!0):!
1};goog.ui.ac.InputHandler.prototype.handleKeyUp=function(){return!1};
goog.ui.ac.InputHandler.prototype.addEventHandlers_=function()
{this.keyHandler_.attach(this.activeElement_);this.eh_.listen(this.keyHandler_,goog
.events.KeyEvent.EventType.KEY,this.onKey_);this.eh_.listen(this.activeElement_,goo
g.events.EventType.MOUSEDOWN,this.onMouseDown_)};
goog.ui.ac.InputHandler.prototype.removeEventHandlers_=function()
{this.eh_.unlisten(this.keyHandler_,goog.events.KeyEvent.EventType.KEY,this.onKey_)
;this.keyHandler_.detach();this.eh_.unlisten(this.activeElement_,goog.events.EventT
ype.KEYUP,this.handleKeyUp);this.eh_.unlisten(this.activeElement_,goog.events.Event
Type.MOUSEDOWN,this.onMouseDown_);this.waitingForIme_&&this.stopWaitingForIme_()};g
oog.ui.ac.InputHandler.prototype.handleFocus=function(a)
{this.processFocus(a.target||null)};
goog.ui.ac.InputHandler.prototype.processFocus=function(a)
{this.activateHandler_.removeAll();this.ac_&&this.ac_.cancelDelayedDismiss();a!
=this.activeElement_&&(this.activeElement_=a,this.timer_&&(this.timer_.start(),this
.eh_.listen(this.timer_,goog.Timer.TICK,this.onTick_)),this.lastValue_=this.getValu
e(),this.addEventHandlers_())};
goog.ui.ac.InputHandler.prototype.handleBlur=function()
{goog.ui.ac.InputHandler.REQUIRES_ASYNC_BLUR_?
this.activeTimeoutId_=window.setTimeout(goog.bind(this.processBlur,this),0):this.pr
ocessBlur()};goog.ui.ac.InputHandler.prototype.processBlur=function()
{this.activeElement_&&(this.removeEventHandlers_(),this.activeElement_=null,this.ti
mer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,goog.Timer.TICK,this.onTick
_)),this.ac_&&this.ac_.dismissOnDelay())};
goog.ui.ac.InputHandler.prototype.onTick_=function()
{this.update()};goog.ui.ac.InputHandler.prototype.onKeyDownOnInactiveElement_=funct
ion(a){this.handleFocus(a)};goog.ui.ac.InputHandler.prototype.onKey_=function(a)
{this.lastKeyCode_=a.keyCode;this.ac_&&this.handleKeyEvent(a)};goog.ui.ac.InputHand
ler.prototype.onKeyPress_=function(){this.waitingForIme_&&this.lastKeyCode_!
=goog.events.KeyCodes.WIN_IME&&this.stopWaitingForIme_()};
goog.ui.ac.InputHandler.prototype.onKeyUp_=function(a)
{this.waitingForIme_&&(a.keyCode==goog.events.KeyCodes.ENTER||
a.keyCode==goog.events.KeyCodes.M&&a.ctrlKey)&&this.stopWaitingForIme_()};goog.ui.a
c.InputHandler.prototype.onMouseDown_=function(a)
{this.ac_&&this.handleMouseDown(a)};goog.ui.ac.InputHandler.prototype.handleMouseDo
wn=function(){};
goog.ui.ac.InputHandler.prototype.startWaitingForIme_=function()
{this.waitingForIme_||
(this.eh_.listen(this.activeElement_,goog.events.EventType.KEYUP,this.onKeyUp_),thi
s.eh_.listen(this.activeElement_,goog.events.EventType.KEYPRESS,this.onKeyPress_),t
his.waitingForIme_=!0)};
goog.ui.ac.InputHandler.prototype.stopWaitingForIme_=function()
{this.waitingForIme_&&(this.waitingForIme_=!
1,this.eh_.unlisten(this.activeElement_,goog.events.EventType.KEYPRESS,this.onKeyPr
ess_),this.eh_.unlisten(this.activeElement_,goog.events.EventType.KEYUP,this.onKeyU
p_))};
goog.ui.ac.InputHandler.prototype.update=function(a){if(this.activeElement_&&(a||
this.getValue()!=this.lastValue_)){if(a||!
this.rowJustSelected_)a=this.parseToken(),this.ac_&&(this.ac_.setTarget(this.active
Element_),this.ac_.setToken(a,this.getValue()));this.lastValue_=this.getValue()}thi
s.rowJustSelected_=!1};goog.ui.ac.InputHandler.prototype.parseToken=function()
{return this.parseToken_()};goog.ui.ac.InputHandler.prototype.moveUp_=function()
{return this.upsideDown_?this.ac_.hiliteNext():this.ac_.hilitePrev()};
goog.ui.ac.InputHandler.prototype.moveDown_=function(){return this.upsideDown_?
this.ac_.hilitePrev():this.ac_.hiliteNext()};goog.ui.ac.InputHandler.prototype.pars
eToken_=function(){var a=this.getCursorPosition(),b=this.getValue();return
this.trim_(this.splitInput_(b)
[this.getTokenIndex_(b,a)])};goog.ui.ac.InputHandler.prototype.trim_=function(a)
{return this.trimmer_?String(a).replace(this.trimmer_,""):a};
goog.ui.ac.InputHandler.prototype.getTokenIndex_=function(a,b){var
c=this.splitInput_(a);if(b==a.length)return c.length-1;for(var
d=a=0,e=0;d<c.length&&e<=b;d++)e+=c[d].length,a=d;return a};
goog.ui.ac.InputHandler.prototype.splitInput_=function(a){if(!
this.multi_)return[a];a=String(a).split("");for(var b=[],c=[],d=0,e=!
1;d<a.length;d++)this.literals_&&-1!=this.literals_.indexOf(a[d])?
(this.generateNewTokenOnLiteral_&&!
e&&(b.push(c.join("")),c.length=0),c.push(a[d]),e=!e):e||-
1==this.separators_.indexOf(a[d])?c.push(a[d]):
(c.push(a[d]),b.push(c.join("")),c.length=0);b.push(c.join(""));return
b};goog.ui.ac.Renderer=function(a,b,c,d)
{goog.events.EventTarget.call(this);this.parent_=a||
goog.dom.getDocument().body;this.dom_=goog.dom.getDomHelper(this.parent_);this.repo
sition_=!
a;this.element_=null;this.token_="";this.rows_=[];this.rowDivs_=[];this.startRender
ingRows_=this.hilitedRow_=-1;this.visible_=!1;this.className="ac-
renderer";this.rowClassName="ac-
row";this.legacyActiveClassName_="active";this.activeClassName="ac-
active";this.highlightedClassName="ac-highlighted";this.customRenderer_=b||
null;this.useStandardHighlighting_=null!=d?d:!0;this.matchWordBoundary_=!
0;this.highlightAllTokens_=!1;this.rightAlign_=!!c;this.topAlign_=!
1;this.menuFadeDuration_=0;this.showScrollbarsIfTooLarge_=!
1};goog.inherits(goog.ui.ac.Renderer,goog.events.EventTarget);goog.ui.ac.Renderer.p
rototype.borderWidth_=0;goog.ui.ac.Renderer.DELAY_BEFORE_MOUSEOVER=300;goog.ui.ac.R
enderer.prototype.getElement=function(){return this.element_};
goog.ui.ac.Renderer.prototype.setAnchorElement=function(a)
{this.anchorElement_=a};goog.ui.ac.Renderer.prototype.renderRows=function(a,b,c)
{this.token_=b;this.rows_=a;this.hilitedRow_=-
1;this.startRenderingRows_=goog.now();this.target_=c;this.rowDivs_=[];this.redraw()
};
goog.ui.ac.Renderer.prototype.dismiss=function(){this.visible_&&(this.visible_=!
1,this.toggleAriaMarkup_(!1),0<this.menuFadeDuration_?
(module$contents$goog$dispose_dispose(this.animation_),this.animation_=new
goog.fx.dom.FadeOutAndHide(this.element_,this.menuFadeDuration_),this.animation_.pl
ay()):goog.style.setElementShown(this.element_,!1))};
goog.ui.ac.Renderer.prototype.show=function(){this.visible_||(this.visible_=!
0,this.toggleAriaMarkup_(!0),0<this.menuFadeDuration_?
(module$contents$goog$dispose_dispose(this.animation_),this.animation_=new
goog.fx.dom.FadeInAndShow(this.element_,this.menuFadeDuration_),this.animation_.pla
y()):goog.style.setElementShown(this.element_,!0))};
goog.ui.ac.Renderer.prototype.toggleAriaMarkup_=function(a)
{this.target_&&(goog.a11y.aria.setState(this.target_,goog.a11y.aria.State.HASPOPUP,
a),goog.a11y.aria.setState(goog.asserts.assert(this.element_),goog.a11y.aria.State.
EXPANDED,a),goog.a11y.aria.setState(this.target_,goog.a11y.aria.State.EXPANDED,a),a
?goog.a11y.aria.setState(this.target_,goog.a11y.aria.State.OWNS,this.element_.id):
(goog.a11y.aria.removeState(this.target_,goog.a11y.aria.State.OWNS),goog.a11y.aria.
setActiveDescendant(this.target_,
null)))};goog.ui.ac.Renderer.prototype.isVisible=function(){return this.visible_};
goog.ui.ac.Renderer.prototype.hiliteRow=function(a){var
b=0<=a&&a<this.rows_.length?this.rows_[a]:void 0,c=0<=a&&a<this.rowDivs_.length?
this.rowDivs_[a]:void
0;b={type:goog.ui.ac.AutoComplete.EventType.ROW_HILITE,rowNode:c,row:b?
b.data:null};this.dispatchEvent(b)&&(this.hiliteNone(),this.hilitedRow_=a,c&&(goog.
dom.classlist.addAll(c,
[this.activeClassName,this.legacyActiveClassName_]),this.target_&&goog.a11y.aria.se
tActiveDescendant(this.target_,c),goog.style.scrollIntoContainerView(c,this.element
_)))};
goog.ui.ac.Renderer.prototype.hiliteNone=function()
{0<=this.hilitedRow_&&goog.dom.classlist.removeAll(goog.asserts.assert(this.rowDivs
_[this.hilitedRow_]),
[this.activeClassName,this.legacyActiveClassName_])};goog.ui.ac.Renderer.prototype.
hiliteId=function(a){if(-1==a)this.hiliteRow(-1);else for(var
b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a)
{this.hiliteRow(b);break}};goog.ui.ac.Renderer.prototype.setMenuClasses_=function(a
)
{goog.asserts.assert(a);goog.dom.classlist.addAll(a,goog.string.trim(this.className
).split(" "))};
goog.ui.ac.Renderer.prototype.maybeCreateElement_=function(){if(!this.element_){var
a=this.dom_.createDom(goog.dom.TagName.DIV,
{style:"display:none"});this.showScrollbarsIfTooLarge_&&(a.style.overflowY="auto");
this.element_=a;this.setMenuClasses_(a);goog.a11y.aria.setRole(a,goog.a11y.aria.Rol
e.LISTBOX);a.id=goog.ui.IdGenerator.getInstance().getNextUniqueId();this.dom_.appen
dChild(this.parent_,a);goog.events.listen(a,goog.events.EventType.CLICK,this.handle
Click_,!1,this);goog.events.listen(a,goog.events.EventType.MOUSEDOWN,
this.handleMouseDown_,!
1,this);goog.events.listen(a,goog.events.EventType.MOUSEOVER,this.handleMouseOver_,
!1,this)}};
goog.ui.ac.Renderer.prototype.redraw=function()
{this.maybeCreateElement_();this.topAlign_&&(this.element_.style.visibility="hidden
");if(this.widthProvider_){var a=this.widthProvider_.clientWidth-
this.borderWidth_+"px";this.element_.style.minWidth=a}this.maxWidthProvider_&&(a=th
is.maxWidthProvider_.clientWidth-
this.borderWidth_+"px",this.element_.style.maxWidth=a);this.rowDivs_.length=0;this.
dom_.removeChildren(this.element_);if(this.customRenderer_&&this.customRenderer_.re
nder)this.customRenderer_.render(this,
this.element_,this.rows_,this.token_);else{var
b=null;this.rows_.forEach(function(c)
{c=this.renderRowHtml(c,this.token_);this.topAlign_?
this.element_.insertBefore(c,b):this.dom_.appendChild(this.element_,c);b=c},this)}0
==this.rows_.length?this.dismiss():
(this.show(),this.reposition(),goog.style.setUnselectable(this.element_,!0))};
goog.ui.ac.Renderer.prototype.getAnchorCorner=function(){var a=this.rightAlign_?
goog.positioning.Corner.BOTTOM_RIGHT:goog.positioning.Corner.BOTTOM_LEFT;this.topAl
ign_&&(a=goog.positioning.flipCornerVertical(a));return a};
goog.ui.ac.Renderer.prototype.reposition=function()
{if(this.target_&&this.reposition_){var a=this.anchorElement_||
this.target_,b=this.getAnchorCorner(),c=goog.positioning.Overflow.ADJUST_X_EXCEPT_O
FFSCREEN;this.showScrollbarsIfTooLarge_&&(this.element_.style.height="",c|
=goog.positioning.Overflow.RESIZE_HEIGHT);goog.positioning.positionAtAnchor(a,b,thi
s.element_,goog.positioning.flipCornerVertical(b),null,null,c);this.topAlign_&&(thi
s.element_.style.visibility="visible")}};
goog.ui.ac.Renderer.prototype.setAutoPosition=function(a)
{this.reposition_=a};goog.ui.ac.Renderer.prototype.getTarget=function(){return
this.target_||null};
goog.ui.ac.Renderer.prototype.disposeInternal=function()
{this.element_&&(goog.events.unlisten(this.element_,goog.events.EventType.CLICK,thi
s.handleClick_,!
1,this),goog.events.unlisten(this.element_,goog.events.EventType.MOUSEDOWN,this.han
dleMouseDown_,!
1,this),goog.events.unlisten(this.element_,goog.events.EventType.MOUSEOVER,this.han
dleMouseOver_,!
1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!
1);module$contents$goog$dispose_dispose(this.animation_);this.parent_=null;
goog.ui.ac.Renderer.superClass_.disposeInternal.call(this)};goog.ui.ac.Renderer.pro
totype.renderRowContents_=function(a,b,c)
{goog.dom.setTextContent(c,a.data.toString())};goog.ui.ac.Renderer.prototype.startH
iliteMatchingText_=function(a,b){this.wasHighlightedAtLeastOnce_=!
1;this.hiliteMatchingText_(a,b)};
goog.ui.ac.Renderer.prototype.hiliteMatchingText_=function(a,b)
{if(this.highlightAllTokens_||!
this.wasHighlightedAtLeastOnce_)if(a.nodeType==goog.dom.NodeType.TEXT){var
c=null;Array.isArray(b)&&1<b.length&&!
this.highlightAllTokens_&&(c=b.slice(1));b=this.getTokenRegExp_(b);if(0!=b.length)
{var d=a.nodeValue,e=this.matchWordBoundary_?new RegExp("\\b(?:"+b+")","gi"):new
RegExp(b,"gi");b=[];for(var f=0,g=e.exec(d),h=0;g;)h+
+,b.push(d.substring(f,g.index)),b.push(d.substring(g.index,e.lastIndex)),f=e.lastI
ndex,
g=e.exec(d);b.push(d.substring(f));if(1<b.length){c=this.highlightAllTokens_?
h:1;for(d=0;d<c;d+
+)e=2*d,a.nodeValue=b[e],f=this.dom_.createElement(goog.dom.TagName.B),f.className=
this.highlightedClassName,this.dom_.appendChild(f,this.dom_.createTextNode(b[e+1]))
,f=a.parentNode.insertBefore(f,a.nextSibling),a.parentNode.insertBefore(this.dom_.c
reateTextNode(""),f.nextSibling),a=f.nextSibling;b=b.slice(2*c);a.nodeValue=b.join(
"");this.wasHighlightedAtLeastOnce_=!0}else c&&this.hiliteMatchingText_(a,
c)}}else for(a=a.firstChild;a;)c=a.nextSibling,this.hiliteMatchingText_(a,b),a=c};
goog.ui.ac.Renderer.prototype.getTokenRegExp_=function(a){var b="";if(!a)return
b;Array.isArray(a)&&(a=a.filter(function(c){return!
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(c))}));this.highlightAllTokens
_?Array.isArray(a)?(a=a.map(goog.string.regExpEscape),b=a.join("|")):
(b=goog.string.collapseWhitespace(a),b=goog.string.regExpEscape(b),b=b.replace(/
/g,"|")):Array.isArray(a)?b=0<a.length?goog.string.regExpEscape(a[0]):"":/^\
W/.test(a)||(b=goog.string.regExpEscape(a));return b};
goog.ui.ac.Renderer.prototype.renderRowHtml=function(a,b){var
c=this.dom_.createDom(goog.dom.TagName.DIV,
{className:this.rowClassName,id:goog.ui.IdGenerator.getInstance().getNextUniqueId()
});goog.a11y.aria.setRole(c,goog.a11y.aria.Role.OPTION);this.customRenderer_&&this.
customRenderer_.renderRow||
this.renderRowContents_(a,b,c);b&&this.useStandardHighlighting_&&this.startHiliteMa
tchingText_(c,b);goog.dom.classlist.add(c,this.rowClassName);this.rowDivs_.push(c);
return c};
goog.ui.ac.Renderer.prototype.getRowFromEventTarget_=function(a){for(;a&&a!
=this.element_&&!
goog.dom.classlist.contains(a,this.rowClassName);)a=a.parentNode;return a?
this.rowDivs_.indexOf(a):-1};goog.ui.ac.Renderer.prototype.handleClick_=function(a)
{var
b=this.getRowFromEventTarget_(a.target);0<=b&&this.dispatchEvent({type:goog.ui.ac.A
utoComplete.EventType.SELECT,row:this.rows_[b].id});a.stopPropagation()};goog.ui.ac
.Renderer.prototype.handleMouseDown_=function(a)
{a.stopPropagation();a.preventDefault()};
goog.ui.ac.Renderer.prototype.handleMouseOver_=function(a)
{a=this.getRowFromEventTarget_(a.target);0<=a&&!(goog.now()-
this.startRenderingRows_<goog.ui.ac.Renderer.DELAY_BEFORE_MOUSEOVER)&&this.dispatch
Event({type:goog.ui.ac.AutoComplete.EventType.HILITE,row:this.rows_[a].id})};goog.u
i.ac.Renderer.CustomRenderer=function()
{};goog.ui.ac.Renderer.CustomRenderer.prototype.render=function()
{};goog.ui.ac.Renderer.CustomRenderer.prototype.renderRow=function(){};var
$jscomp$templatelit$1514851992$0=$jscomp.createTemplateTagFirstArg(["//
suggestqueries.google.com/complete/search"]);
ocean.basic.AutoComplete=function(a,b,c,d)
{this.input_=a;this.hiddenInput_=null;this.sizingElement_=c||
null;this.autoSubmit_="boolean"===typeof b?b:!0;this.leftOffset_=d||0;b=new
ocean.basic.AutoComplete.Matcher_;c=new
ocean.basic.AutoComplete.Renderer_(this.sizingElement_||
a,this.leftOffset_);c.setAutoPosition(!0);d=new goog.ui.ac.InputHandler(null,null,!
1);goog.ui.ac.AutoComplete.call(this,b,c,d);d.attachAutoComplete(this);d.attachInpu
ts(a);this.setTarget(a);this.setAutoHilite(!1);this.setAllowFreeSelect(!0);
goog.events.listen(this,goog.ui.ac.AutoComplete.EventType.UPDATE,goog.bind(this.han
dleUpdate_,this))};goog.inherits(ocean.basic.AutoComplete,goog.ui.ac.AutoComplete);
ocean.basic.AutoComplete.prototype.selectHilited=function()
{this.lastQuery_=this.input_.value;ocean.basic.AutoComplete.superClass_.selectHilit
ed.call(this);return!1};
ocean.basic.AutoComplete.prototype.handleUpdate_=function(a)
{a.row&&(a=this.input_.form,this.hiddenInput_||
(this.hiddenInput_=goog.dom.createDom(goog.dom.TagName.INPUT,
{type:"hidden",name:"oq"}),goog.dom.appendChild(a,this.hiddenInput_)),this.hiddenIn
put_.value=this.lastQuery_,this.autoSubmit_&&a.submit())};ocean.basic.AutoComplete.
Matcher_=function()
{};ocean.basic.AutoComplete.Matcher_.SERVER_URL_=module$contents$google3$third_part
y$javascript$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$t
emplatelit$1514851992$0);
ocean.basic.AutoComplete.Matcher_.prototype.requestMatchingRows=function(a,b,c)
{b=ocean.basic.AutoComplete.Matcher_.SERVER_URL_;a={client:"books",ds:"bo",q:a};c=g
oog.bind(this.handleMatchingRows_,this,c);this.jsonp_&&this.jsonp_.cancel();this.js
onp_=new
goog.net.Jsonp(b);this.jsonp_.send(a,c)};ocean.basic.AutoComplete.Matcher_.prototyp
e.handleMatchingRows_=function(a,b){var c=Array.prototype.map.call(b[1],function(d)
{return d[0]});a(b[0],c)};
ocean.basic.AutoComplete.Renderer_=function(a,b)
{goog.ui.ac.Renderer.call(this);this.input_=a;this.leftOffset_=b||
0};goog.inherits(ocean.basic.AutoComplete.Renderer_,goog.ui.ac.Renderer);
ocean.basic.AutoComplete.Renderer_.prototype.reposition=function()
{ocean.basic.AutoComplete.Renderer_.superClass_.reposition.call(this);var
a=0,b=goog.dom.getElement("gbfwa");b||
(b=goog.dom.getElementByClass("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-
1);Array.prototype.forEach.call(goog.dom.getElementsByTagNameAndClass("div","ac-
renderer"),function(c)
{a&&goog.style.setStyle(c,"top",a+"px");goog.style.setStyle(c,"width",goog.style.ge
tSize(this.input_).width-
2+"px");goog.style.setStyle(c,"left",parseInt(c.style.left,
10)+this.leftOffset_+"px")},this)};ocean.chrome.VolumeSlider=function(a,b,c,d,e)
{module$contents$ocean$EventManager_EventManager.call(this);this.div_=a;this.isLarg
e_=b;this.shelfId_=e;this.height_=this.determineHeight_(d);this.isLarge_||
goog.dom.classlist.add(this.div_,"slider-
small");this.drawables_=[];this.leftButton_=goog.dom.createElement(goog.dom.TagName
.A);this.leftButton_.textContent=ocean.style.isPageRtl()?"\u203a":"\
u2039";this.leftButton_.setAttribute("title","Faire d\u00e9filer vers la
gauche");goog.style.setUnselectable(this.leftButton_,
!
0);goog.dom.appendChild(this.div_,this.leftButton_);this.drawablesDiv_=goog.dom.cre
ateElement("div");goog.dom.classlist.add(this.drawablesDiv_,"slider-
drawables");goog.dom.appendChild(this.div_,this.drawablesDiv_);this.rightButton_=go
og.dom.createElement(goog.dom.TagName.A);this.rightButton_.textContent=ocean.style.
isPageRtl()?"\u2039":"\u203a";this.rightButton_.setAttribute("title","Faire d\
u00e9filer vers la droite");goog.style.setUnselectable(this.rightButton_,!
0);goog.dom.appendChild(this.div_,
this.rightButton_);this.getHandler().listen(this.leftButton_,"click",this.moveScree
nful_.bind(this,-.75));this.getHandler().listen(this.rightButton_,"click",this.move
Screenful_.bind(this,.75));this.updateButtons_();this.getHandler().listen(this.left
Button_,"click",this.moveScreenful_.bind(this,-.75));this.resize();this.numRendered
_=0;this.ie8Rtl_=module$contents$goog$labs$userAgent$browser_isAtLeast(module$conte
nts$goog$labs$userAgent$browser_Brand.IE,8)&&!
goog.userAgent.isVersionOrHigher("9")&&ocean.style.isPageRtl();
c&&this.addVolumes(c)};goog.inherits(ocean.chrome.VolumeSlider,module$contents$ocea
n$EventManager_EventManager);ocean.chrome.VolumeSlider.prototype.renderScreenful_=f
unction(){var
a=Math.ceil(1.25*this.getNumElementsPerScreenful());a=Math.min(this.drawables_.leng
th,this.numRendered_+a);module$contents$goog$array_forEach(this.drawables_.slice(th
is.numRendered_,a),goog.bind(this.drawDrawable_,this));this.updateButtons_();this.n
umRendered_=a;a>=this.drawables_.length&&this.dispatchEvent(ocean.chrome.VolumeSlid
er.EventType.RENDER)};
ocean.chrome.VolumeSlider.prototype.drawDrawable_=function(a){var
b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"goog-inline-block slider-
loading"});goog.dom.appendChild(this.drawablesDiv_,b);var
c=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"goog-inline-block slider-
drawable"});goog.style.setElementShown(c,!
1);goog.dom.appendChild(this.drawablesDiv_,c);this.getHandler().listenOnce(a,ocean.
chrome.SliderDrawable.EventType.RENDER,this.drawableComplete_.bind(this,b,c));a.dra
w(c)};
ocean.chrome.VolumeSlider.prototype.drawableComplete_=function(a,b)
{goog.dom.removeNode(a);this.updateButtons_();goog.style.setElementShown(b,!
0)};ocean.chrome.VolumeSlider.prototype.addVolumes=function(a){a=a.map(function(b)
{return this.isLarge_?new
module$contents$ocean$basic$AuthorAnnotatedDrawable_AuthorAnnotatedDrawable(b,this.
height_):new
ocean.chrome.ThumbDrawable(b,this.height_,this.shelfId_)},this);this.addDrawables(a
)};
ocean.chrome.VolumeSlider.prototype.addDrawables=function(a)
{module$contents$goog$array_extend(this.drawables_,a);this.renderScreenful_()};ocea
n.chrome.VolumeSlider.prototype.moveScreenful_=function(a)
{(ocean.style.isPageRtl()?0>a:0<a)&&this.renderScreenful_();a*=this.ie8Rtl_?-
1:1;this.move_(a*(goog.style.getSize(this.drawablesDiv_).width+20))};
ocean.chrome.VolumeSlider.prototype.move_=function(a)
{this.animation_&&(this.animation_.dispose(),this.animation_=null);this.animation_=
new goog.fx.Animation([this.drawablesDiv_.scrollLeft,0],
[this.drawablesDiv_.scrollLeft+a,0],500,goog.fx.easing.inAndOut);goog.events.listen
(this.animation_,goog.fx.Animation.EventType.ANIMATE,this.handleAnimate_.bind(this)
);goog.events.listen(this.animation_,goog.fx.Transition.EventType.END,this.updateBu
ttons_.bind(this));this.animation_.play()};
ocean.chrome.VolumeSlider.prototype.handleAnimate_=function(a)
{a=a.coordsAsInts();this.drawablesDiv_.scrollLeft=a[0]};
ocean.chrome.VolumeSlider.prototype.updateButtons_=function()
{if(goog.userAgent.GECKO&&ocean.style.isPageRtl()||this.ie8Rtl_){var
a=this.drawablesDiv_.scrollLeft<=-1*(this.drawablesDiv_.scrollWidth-
goog.style.getSize(this.drawablesDiv_).width);var
b=0==this.drawablesDiv_.scrollLeft}else
a=0==this.drawablesDiv_.scrollLeft,b=this.drawablesDiv_.scrollLeft>=this.drawablesD
iv_.scrollWidth-
goog.style.getSize(this.drawablesDiv_).width;this.leftButton_.className=a?"slider-
button slider-button-left slider-button-disabled":
"slider-button slider-button-left";this.rightButton_.className=b?"slider-button
slider-button-right slider-button-disabled":"slider-button slider-button-
right"};ocean.chrome.VolumeSlider.prototype.resize=function()
{this.updateButtons_()};ocean.chrome.VolumeSlider.prototype.getNumElementsPerScreen
ful=function(){var a=this.isLarge_?
ocean.chrome.VolumeSlider.DEFAULT_THUMB_WIDTH_:ocean.chrome.VolumeSlider.SMALL_THUM
B_WIDTH_;return Math.ceil(goog.style.getSize(this.drawablesDiv_).width/a)};
ocean.chrome.VolumeSlider.prototype.determineHeight_=function(a)
{return"number"===typeof a?a:this.isLarge_?
ocean.chrome.VolumeSlider.DEFAULT_DRAWABLE_HEIGHT:ocean.chrome.VolumeSlider.SMALL_D
RAWABLE_HEIGHT};ocean.chrome.VolumeSlider.DEFAULT_THUMB_WIDTH_=110;ocean.chrome.Vol
umeSlider.SMALL_THUMB_WIDTH_=50;ocean.chrome.VolumeSlider.DEFAULT_DRAWABLE_HEIGHT=2
00;ocean.chrome.VolumeSlider.SMALL_DRAWABLE_HEIGHT=80;ocean.chrome.VolumeSlider.Eve
ntType={RENDER:"render"};var
module$exports$ocean$basic$BookshelfRenderer=function(a,b,c)
{module$contents$ocean$EventManager_EventManager.call(this);this.metadata=a;this.so
urce=b?b:"gbs_bookshelf_slider";this.numRequested_=0;this.viewportSizeMonitor_=new
goog.dom.ViewportSizeMonitor;this.initialSize_=this.viewportSizeMonitor_.getSize();
this.lastVolume_="";this.isAnonymousUser_="boolean"===typeof c?!c:!
1;goog.events.listenOnce(this.viewportSizeMonitor_,goog.events.EventType.RESIZE,goo
g.bind(this.handleResize_,this))};
$jscomp.inherits(module$exports$ocean$basic$BookshelfRenderer,module$contents$ocean
$EventManager_EventManager);module$exports$ocean$basic$BookshelfRenderer.prototype.
handleResize_=function()
{this.viewportSizeMonitor_.getSize().width>this.initialSize_.width?
this.fetchVolumes():goog.events.listenOnce(this.viewportSizeMonitor_,goog.events.Ev
entType.RESIZE,goog.bind(this.handleResize_,this))};
module$exports$ocean$basic$BookshelfRenderer.prototype.render=function(a)
{this.setElement(a);this.slider=this.getVolumeSlider(a);this.getHandler().listen(th
is.slider,ocean.chrome.VolumeSlider.EventType.RENDER,goog.bind(this.fetchVolumes,th
is))};module$exports$ocean$basic$BookshelfRenderer.prototype.getVolumeSlider=functi
on(){return new ocean.chrome.VolumeSlider(this.container_,!0,void 0,void
0,this.metadata.getId())};
module$exports$ocean$basic$BookshelfRenderer.prototype.fetchVolumes=function()
{this.slider.resize();var
a=Math.ceil(1.25*this.slider.getNumElementsPerScreenful())
+1,b=this.getFetchUri(this.numRequested_,a);b&&(this.numRequested_+=a,this.fetchVol
umesInternal(b))};module$exports$ocean$basic$BookshelfRenderer.prototype.fetchVolum
esInternal=function(a)
{goog.net.XhrIo.send(a,goog.bind(this.handleVolumeFetch_,this))};
module$exports$ocean$basic$BookshelfRenderer.prototype.getBrowseUri=function(){var
a=this.getFetchUri(0,10);a.removeParameter("jscmd");a.removeParameter("start");a.se
tParameterValue("source",this.source);return
a};module$exports$ocean$basic$BookshelfRenderer.prototype.handleVolumeFetch_=functi
on(a){a=a.target;a.isSuccess()&&(a=new
module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf(a.getResponseJson()),this.
renderNewVolumes(a.volumes_))};
module$exports$ocean$basic$BookshelfRenderer.prototype.renderNewVolumes=function(a)
{if(a&&a.length){var b=ocean.util.Url.getVolumeId(a[a.length-
1].data_.infoUrl);this.lastVolume_!
=b&&(this.lastVolume_=b,this.slider.addDrawables(this.getDrawables(a)));
(a=goog.dom.getAncestorByTagNameAndClass(this.getElement(),"div","slider-
box"))&&goog.style.setOpacity(a,1)}else
0==this.slider.numRendered_&&this.renderEmptyShelf();this.dispatchEvent(goog.net.Ev
entType.SUCCESS)};
module$exports$ocean$basic$BookshelfRenderer.prototype.getDrawables=function(a)
{return a=this.decorateVolumes(a).map(function(b){return this.slider.isLarge_?new
module$contents$ocean$basic$AuthorAnnotatedDrawable_AuthorAnnotatedDrawable(b,ocean
.chrome.VolumeSlider.DEFAULT_DRAWABLE_HEIGHT,this.metadata.getId()):new
ocean.chrome.ThumbDrawable(b,ocean.chrome.VolumeSlider.SMALL_DRAWABLE_HEIGHT,this.m
etadata.getId())},this)};module$exports$ocean$basic$BookshelfRenderer.prototype.ren
derEmptyShelf=function(){};
module$exports$ocean$basic$BookshelfRenderer.prototype.getElement=function(){return
this.container_};module$exports$ocean$basic$BookshelfRenderer.prototype.setElement=
function(a)
{this.container_=a};module$exports$ocean$basic$BookshelfRenderer.prototype.getMetad
ata=function(){return
this.metadata};module$exports$ocean$basic$BookshelfRenderer.prototype.decorateVolum
es=function(a){return this.source?a=a.map(function(b)
{b.setSource(this.source);return
b},this):a};goog.ui.CheckBoxMenuItem=function(a,b,c)
{goog.ui.MenuItem.call(this,a,b,c);this.setCheckable(!
0)};goog.inherits(goog.ui.CheckBoxMenuItem,goog.ui.MenuItem);goog.ui.registry.setDe
coratorByClassName("goog-checkbox-menuitem",function(){return new
goog.ui.CheckBoxMenuItem(null)});ocean.mylibrary={};var
module$contents$ocean$mylibrary$BookshelfPickerMenuItem_BookshelfPickerMenuItem=fun
ction(a)
{goog.ui.CheckBoxMenuItem.call(this,goog.string.unescapeEntities(a.getTitle()),a.ge
tId());this.shelf_=a};
$jscomp.inherits(module$contents$ocean$mylibrary$BookshelfPickerMenuItem_BookshelfP
ickerMenuItem,goog.ui.CheckBoxMenuItem);
module$contents$ocean$mylibrary$BookshelfPickerMenuItem_BookshelfPickerMenuItem.pro
totype.decorateInternal=function(a)
{goog.ui.CheckBoxMenuItem.prototype.decorateInternal.call(this,a);if(this.shelf_.ac
cess_){var b=(a=this.shelf_.isPublic())?"\u00c9tag\u00e8re publique":"\u00c9tag\
u00e8re priv\u00e9e";a=goog.dom.createDom(goog.dom.TagName.IMG,{src:"/googlebooks/
images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-
top:2px;padding-left:8px;float:"+(ocean.style.isPageRtl()?"left":
"right")});b=this.shelf_.numPossibleVolumes_;b=goog.dom.createTextNode(String(b));a
=goog.dom.createDom(goog.dom.TagName.DIV,"goog-menuitem-
accel",a,b);goog.dom.insertChildAt(this.getContentElement(),a,1)}};ocean.mylibrary.
BookshelfPickerMenuItem=module$contents$ocean$mylibrary$BookshelfPickerMenuItem_Boo
kshelfPickerMenuItem;var
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu=function(a,
b,c){c=void 0===c?!
1:c;goog.ui.PopupMenu.call(this);this.volume_=a;this.shelves_=b;this.forceEnableMai
nShelf_=c};
$jscomp.inherits(module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPicke
rMenu,goog.ui.PopupMenu);
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.c
reateDom=function()
{goog.ui.PopupMenu.prototype.createDom.call(this);this.shelves_.getBookshelves().fo
rEach(this.addShelf_,this)};
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.e
nterDocument=function()
{goog.ui.PopupMenu.prototype.enterDocument.call(this);this.getElement().style.maxHe
ight=module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.MAX_HE
IGHT_PX_+"px";this.getElement().style.overflowY="scroll";var
a=this.getHandler();a.listen(this.getElement(),goog.events.EventType.MOUSEOUT,this.
handleMouseOut_);a.listen(this.getElement(),goog.events.EventType.SCROLL,this.handl
eScroll_)};
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.h
andleMouseOut_=function(a){goog.dom.contains(this.getElement(),a.relatedTarget)||
this.setVisible(!
1)};module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototy
pe.handleItemAction_=function(a){var
b=a.target;this.sendBookshelfUpdate_(b);this.dispatchEvent(module$contents$ocean$my
library$BookshelfPickerMenu_BookshelfPickerMenu.EventType.UPDATE);a.stopPropagation
()};
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.h
andleScroll_=function(a){a.stopPropagation()};
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.a
ddShelf_=function(a){var b=!
goog.string.isEmptyOrWhitespace(goog.string.makeSafe(a.getTitle())),c=a.canAdd_&&(!
a.canOnlyAddEBooks_||this.volume_.isEBook()),d=!!
a.getVolumeById(this.volume_.getVolumeId());b&&(c||d)&&(b=new
module$contents$ocean$mylibrary$BookshelfPickerMenuItem_BookshelfPickerMenuItem(a),
b.setChecked(d),b.setEnabled(this.shelves_.mainBookshelfId_!=a.getId()||
this.forceEnableMainShelf_),this.addChild(b,
!
0),this.getHandler().listen(b,goog.ui.Component.EventType.ACTION,this.handleItemAct
ion_))};module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.pro
totype.getSelectedShelves=function(){var a=[];this.forEachChild(function(b){b
instanceof
module$contents$ocean$mylibrary$BookshelfPickerMenuItem_BookshelfPickerMenuItem&&b.
isChecked()&&a.push(b.shelf_)});return a};
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu.prototype.s
endBookshelfUpdate_=function(a){var
b=a.shelf_,c=this.volume_.getVolumeId();a.isChecked()?
b.addVolumeToServer(c):b.deleteVolumeFromServer(c)};module$contents$ocean$mylibrary
$BookshelfPickerMenu_BookshelfPickerMenu.MAX_HEIGHT_PX_=200;module$contents$ocean$m
ylibrary$BookshelfPickerMenu_BookshelfPickerMenu.EventType={UPDATE:"g"};ocean.mylib
rary.BookshelfPickerMenu=module$contents$ocean$mylibrary$BookshelfPickerMenu_Booksh
elfPickerMenu;var
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker=function(a,b,c)
{c=c?
jfk.Button.Style.MINI:jfk.Button.Style.STANDARD;jfk.Button.call(this,null,null,c);t
his.menu_=new
module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPickerMenu(a,b);this.m
enu_.setParent(this);this.registerDisposable(this.menu_);this.iconElement_=new
Image(16,16);this.iconElement_.src="/googlebooks/images/my_library_logo.png";this.s
etSupportedState(goog.ui.Component.State.OPENED,!0)};
$jscomp.inherits(module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker,jf
k.Button);module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype
.createDom=function()
{jfk.Button.prototype.createDom.call(this);goog.dom.classlist.add(this.getElement()
,module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.CSS_NAME_)};
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.updateCon
tent_=function(){this.menu_.isInDocument()||this.menu_.render();var
a=this.menu_.getSelectedShelves();switch(a.length){case 0:var b="Ajouter \u00e0 ma
biblioth\u00e8que";break;case
1:b=module$contents$ocean$msg_getAddedToShelf(a[0].getTitle());break;default:b=modu
le$contents$ocean$msg_getAddedToShelves(a.length)}0<a.length&&(b=jfk.Button.createI
conContent(this.iconElement_,b));this.setContent(b)};
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.setOpen=f
unction(a)
{this.clearOpenDelayTimer_();jfk.Button.prototype.setOpen.call(this,a);this.menu_.i
sInDocument()||this.menu_.render();a?
this.menu_.showAtElement(this.getElement(),goog.positioning.Corner.TOP_START):this.
menu_.hide()};
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.enterDocu
ment=function(){jfk.Button.prototype.enterDocument.call(this);var
a=this.getHandler();a.listen(this,goog.ui.Component.EventType.ENTER,this.startOpenD
elayTimer_);a.listen(this,goog.ui.Component.EventType.LEAVE,this.clearOpenDelayTime
r_);a.listen(this,goog.ui.Component.EventType.ACTION,this.handleButtonAction_);a.li
sten(this.menu_,module$contents$ocean$mylibrary$BookshelfPickerMenu_BookshelfPicker
Menu.EventType.UPDATE,
this.handleMenuUpdate_);this.updateContent_()};module$contents$ocean$mylibrary$Book
shelfPicker_BookshelfPicker.prototype.handleMenuUpdate_=function()
{this.updateContent_()};module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPi
cker.prototype.handleButtonAction_=function(){this.setOpen(!0)};
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.startOpen
DelayTimer_=function()
{this.clearOpenDelayTimer_();this.openDelayTimer_=goog.Timer.callOnce(goog.bind(thi
s.setOpen,this,!
0),module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.OPEN_DELAY_MS_)}
;module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.clearOpe
nDelayTimer_=function(){goog.Timer.clear(this.openDelayTimer_)};
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.CSS_NAME_="add-to-
library";module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.OPEN_DELAY
_MS_=200;module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker.prototype.
openDelayTimer_=null;ocean.mylibrary.BookshelfPicker=module$contents$ocean$mylibrar
y$BookshelfPicker_BookshelfPicker;var
module$exports$ocean$info$ProtoBookshelves=function(a)
{ocean.info.Bookshelves.call(this);null!
=a&&a.bookshelf&&module$contents$goog$array_forEach(a.bookshelf,function(b)
{this.addShelfInternal(new
module$contents$ocean$info$ProtoBookshelf_ProtoBookshelf(b))},this)};
$jscomp.inherits(module$exports$ocean$info$ProtoBookshelves,ocean.info.Bookshelves)
;ocean.mylibrary.utils={};
function module$contents$ocean$mylibrary$utils_loadBookshelvesData(a,b,c){var d=new
goog.Uri("/books");module$contents$ocean$util$uri_setDefaultParameters(d);d.setPara
meterValue("op","cls_metadata");d.setParameterValue("jscmd","ClsMetadata");var
e=(new
goog.Uri(window.location)).getParameterValue("uid");e&&d.setParameterValue("uid",e)
;b&&d.setParameterValue("uid",b);module$contents$ocean$xhr_getJsonObject(d.toString
(),goog.partial(module$contents$ocean$mylibrary$utils_handleLoadBookshelfData,a,c))
}
function module$contents$ocean$mylibrary$utils_constructBookshelves(a,b){var c=new
module$exports$ocean$info$ProtoBookshelves(b);a&&a.forEach(function(d)
{module$contents$ocean$mylibrary$utils_constructBookshelvesInternal(d.getVolumeId()
,d.containingBookshelves_,c)});return c}function
module$contents$ocean$mylibrary$utils_constructBookshelvesFromShelfIds(a,b,c){c=new
module$exports$ocean$info$ProtoBookshelves(c);module$contents$ocean$mylibrary$utils
_constructBookshelvesInternal(a,b,c);return c}
function module$contents$ocean$mylibrary$utils_constructBookshelvesInternal(a,b,c)
{b.forEach(function(d){var e=new ocean.info.SearchResult;e.setVolumeId(a);
(d=c.getBookshelfById(String(d)))&&d.addVolume(e)})}function
module$contents$ocean$mylibrary$utils_handleLoadBookshelfData(a,b,c)
{a(module$contents$ocean$mylibrary$utils_constructBookshelves(b,c))}ocean.mylibrary
.utils.constructBookshelves=module$contents$ocean$mylibrary$utils_constructBookshel
ves;
ocean.mylibrary.utils.constructBookshelvesFromShelfIds=module$contents$ocean$mylibr
ary$utils_constructBookshelvesFromShelfIds;ocean.mylibrary.utils.loadBookshelvesDat
a=module$contents$ocean$mylibrary$utils_loadBookshelvesData;var
module$exports$ocean$util$searchRe={findPrecedingWhitespace:function(a){return
a.search(/\s\S/)},isSoftChar:function(a){return
module$contents$ocean$util$searchRe_SOFT_CHARS_RE.test(a)},isWhitespace:function(a)
{return
module$contents$ocean$util$searchRe_WHITESPACE_RE.test(a)},isNormalizedWordBreak:fu
nction(a){return
module$contents$ocean$util$searchRe_NORMALIZED_WORD_BREAK_RE.test(a)},normalizeQuot
es:function(a){var
b=a.match(module$contents$ocean$util$searchRe_QUOTATION_MARKS_RE);b&&(a=a.replace(m
odule$contents$ocean$util$searchRe_QUOTATION_MARKS_RE,
'"'),b.length&1&&(a+='"'));return a},splitPhrases:function(a){return
a.match(module$contents$ocean$util$searchRe_PHRASE_SPLIT_RE)},splitSubTokens:functi
on(a){return
a.split(module$contents$ocean$util$searchRe_WHITESPACE_LIKE_RE).filter(function(b)
{return 0<b.length})},trimPhrase:function(a){return
a.replace(module$contents$ocean$util$searchRe_TRIM_PHRASE_RE,"")}},module$contents$
ocean$util$searchRe_WHITESPACE_RE=/\
s/,module$contents$ocean$util$searchRe_NORMALIZED_WORD_BREAK_RE=/
[ -]/,module$contents$ocean$util$searchRe_WHITESPACE_LIKE_RE=
/[+,;]/,module$contents$ocean$util$searchRe_PHRASE_SPLIT_RE=/-?"[^"]+"|[^\s"]+/
g,module$contents$ocean$util$searchRe_QUOTATION_MARKS_RE=RegExp('["\\u201C\\u201D\\
u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\
uFF02]',"g"),module$contents$ocean$util$searchRe_SOFT_CHARS_RE=RegExp("[,!-%'-/:-
@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\
u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\
uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65,\"\\
u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02,]"),
module$contents$ocean$util$searchRe_TRIM_PHRASE_RE=RegExp("^[\\s\\xA0!-%'-/:-@\\[-
^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\
u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\
uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+|[\\s\\xA0!-
%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\
u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\
uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+
$",
"g");goog.locale={};
goog.locale.nativeNameConstants={COUNTRY:{AC:"Ascension Island",AD:"Andorra",AE:"\
u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\
u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629",AF:"\u0627\u0641\u063a\
u0627\u0646\u0633\u062a\u0627\u0646",AG:"Antigua &
Barbuda",AI:"Anguilla",AL:"Shqip\u00ebri",AM:"\u0540\u0561\u0575\u0561\u057d\u057f\
u0561\u0576",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"\
u00d6sterreich",AU:"Australia",AW:"Aruba",AX:"\u00c5land",
AZ:"Az\u0259rbaycan",BA:"Bosna i Hercegovina",BB:"Barbados",BD:"\u09ac\u09be\u0982\
u09b2\u09be\u09a6\u09c7\u09b6",BE:"Belgi\u00eb",BF:"Burkina Faso",BG:"\u0411\u044a\
u043b\u0433\u0430\u0440\u0438\u044f",BH:"\u0627\u0644\u0628\u062d\u0631\u064a\
u0646",BI:"Uburundi",BJ:"B\u00e9nin",BL:"Saint-Barth\
u00e9lemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean
Netherlands",BR:"Brasil",BS:"Bahamas",BT:"\u0f60\u0f56\u0fb2\u0f74\
u0f42",BV:"Bouvet Island",BW:"Botswana",BY:"\u0411\u0435\u043b\u0430\u0440\u0443\
u0441\u044c",
BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Jamhuri ya Kidemokrasia ya
Kongo",CF:"R\u00e9publique centrafricaine",CG:"Congo-
Brazzaville",CH:"Schweiz",CI:"C\u00f4te d\u2019Ivoire",CK:"Cook
Islands",CL:"Chile",CM:"Cameroun",CN:"\u4e2d\u56fd",CO:"Colombia",CP:"Clipperton
Island",CQ:"Sark",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Cura\
u00e7ao",CX:"Christmas Island",CY:"\u039a\u03cd\u03c0\u03c1\u03bf\u03c2",CZ:"\
u010cesko",DE:"Deutschland",DG:"Diego Garcia",DJ:"Djibouti",DK:"Danmark",
DM:"Dominica",DO:"Rep\u00fablica Dominicana",DZ:"\u0627\u0644\u062c\u0632\u0627\
u0626\u0631",EA:"Ceuta y Melilla",EC:"Ecuador",EE:"Eesti",EG:"\u0645\u0635\
u0631",EH:"\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\
u0628\u064a\u0629",ER:"\u12a4\u122d\u1275\u122b",ES:"Espa\u00f1a",ET:"\u12a2\u1275\
u12ee\u1335\u12eb",FI:"Suomi",FJ:"Fiji",FK:"Falkland Islands (Islas
Malvinas)",FM:"Micronesia",FO:"F\u00f8royar",FR:"France",GA:"Gabon",GB:"United
Kingdom",GD:"Grenada",GE:"\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\
u10dd",
GF:"Guyane fran\u00e7aise",GG:"Guernsey",GH:"Gaana",GI:"Gibraltar",GL:"Kalaallit
Nunaat",GM:"Gambia",GN:"Guin\u00e9e",GP:"Guadeloupe",GQ:"Guinea Ecuatorial",GR:"\
u0395\u03bb\u03bb\u03ac\u03b4\u03b1",GS:"South Georgia & South Sandwich
Islands",GT:"Guatemala",GU:"Guam",GW:"Guin\u00e9-Bissau",GY:"Guyana",HK:"\u9999\
u6e2f",HM:"Heard & McDonald Islands",HN:"Honduras",HR:"Hrvatska",HT:"Ha\
u00efti",HU:"Magyarorsz\u00e1g",IC:"Canarias",ID:"Indonesia",IE:"Ireland",IL:"\
u05d9\u05e9\u05e8\u05d0\u05dc",IM:"Isle of Man",
IN:"\u092d\u093e\u0930\u0924",IO:"British Indian Ocean Territory",IQ:"\u0627\u0644\
u0639\u0631\u0627\u0642",IR:"\u0627\u06cc\u0631\u0627\u0646",IS:"\
u00cdsland",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"\u0627\u0644\u0623\u0631\
u062f\u0646",JP:"\u65e5\u672c",KE:"Kenya",KG:"\u041a\u044b\u0440\u0433\u044b\u0437\
u0441\u0442\u0430\u043d",KH:"\u1780\u1798\u17d2\u1796\u17bb\u1787\
u17b6",KI:"Kiribati",KM:"\u062c\u0632\u0631 \u0627\u0644\u0642\u0645\u0631",KN:"St
Kitts & Nevis",KP:"\uc870\uc120\ubbfc\uc8fc\uc8fc\uc758\uc778\ubbfc\uacf5\ud654\
uad6d",
KR:"\ub300\ud55c\ubbfc\uad6d",KW:"\u0627\u0644\u0643\u0648\u064a\u062a",KY:"Cayman
Islands",KZ:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",LA:"\u0ea5\
u0eb2\u0ea7",LB:"\u0644\u0628\u0646\u0627\u0646",LC:"St
Lucia",LI:"Liechtenstein",LK:"\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\
u0dcf\
u0dc0",LR:"Liberia",LS:"Lesotho",LT:"Lietuva",LU:"Luxembourg",LV:"Latvija",LY:"\
u0644\u064a\u0628\u064a\u0627",MA:"\u0627\u0644\u0645\u063a\u0631\
u0628",MC:"Monaco",MD:"Republica Moldova",ME:"Crna Gora",
MF:"Saint-Martin",MG:"Madagasikara",MH:"Marshall Islands",MK:"\u0421\u0435\u0432\
u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\
u0430",ML:"Mali",MM:"\u1019\u103c\u1014\u103a\u1019\u102c",MN:"\u041c\u043e\u043d\
u0433\u043e\u043b",MO:"\u6fb3\u9580",MP:"Northern Mariana
Islands",MQ:"Martinique",MR:"\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\
u0627",MS:"Montserrat",MT:"Malta",MU:"Moris",MV:"Maldives",MW:"Malawi",MX:"M\
u00e9xico",MY:"Malaysia",MZ:"Mo\u00e7ambique",
NA:"Namibi\u00eb",NC:"Nouvelle-Cal\u00e9donie",NE:"Nijar",NF:"Norfolk
Island",NG:"Nigeria",NI:"Nicaragua",NL:"Nederland",NO:"Norge",NP:"\u0928\u0947\
u092a\u093e\u0932",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"\u0639\u064f\u0645\
u0627\u0646",PA:"Panam\u00e1",PE:"Per\u00fa",PF:"Polyn\u00e9sie fran\
u00e7aise",PG:"Papua New Guinea",PH:"Pilipinas",PK:"\u067e\u0627\u06a9\u0633\u062a\
u0627\u0646",PL:"Polska",PM:"Saint-Pierre-et-Miquelon",PN:"Pitcairn
Islands",PR:"Puerto Rico",PS:"\u0641\u0644\u0633\u0637\u064a\u0646",
PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"\u0642\u0637\u0631",RE:"La R\
u00e9union",RO:"Rom\u00e2nia",RS:"\u0421\u0440\u0431\u0438\u0458\u0430",RU:"\u0420\
u043e\u0441\u0441\u0438\u044f",RW:"U Rwanda",SA:"\u0627\u0644\u0645\u0645\u0644\
u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\
u0648\u062f\u064a\u0629",SB:"Solomon Islands",SC:"Seychelles",SD:"\u0627\u0644\
u0633\u0648\u062f\u0627\u0646",SE:"Sverige",SG:"Singapore",SH:"St
Helena",SI:"Slovenija",SJ:"Svalbard og Jan Mayen",
SK:"Slovensko",SL:"Sierra Leone",SM:"San Marino",SN:"S\u00e9n\
u00e9gal",SO:"Soomaaliya",SR:"Suriname",SS:"\u062c\u0646\u0648\u0628 \u0627\u0644\
u0633\u0648\u062f\u0627\u0646",ST:"S\u00e3o Tom\u00e9 e Pr\u00edncipe",SV:"El
Salvador",SX:"Sint Maarten",SY:"\u0633\u0648\u0631\u064a\
u0627",SZ:"Eswatini",TA:"Tristan da Cunha",TC:"Turks & Caicos
Islands",TD:"Tchad",TF:"Terres australes fran\u00e7aises",TG:"Togo",TH:"\u0e44\
u0e17\u0e22",TJ:"\u0422\u043e\u04b7\u0438\u043a\u0438\u0441\u0442\u043e\
u043d",TK:"Tokelau",
TL:"Timor-Leste",TM:"T\u00fcrkmenistan",TN:"\u062a\u0648\u0646\
u0633",TO:"Tonga",TR:"T\u00fcrkiye",TT:"Trinidad & Tobago",TV:"Tuvalu",TW:"\u53f0\
u7063",TZ:"Tanzania",UA:"\u0423\u043a\u0440\u0430\u0457\u043d\
u0430",UG:"Uganda",UM:"U.S. Outlying Islands",US:"United
States",UY:"Uruguay",UZ:"O\u02bbzbekiston",VA:"Citt\u00e0 del Vaticano",VC:"St
Vincent & the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"U.S.
Virgin Islands",VN:"Vi\u1ec7t Nam",VU:"Vanuatu",WF:"Wallis-et-Futuna",WS:"Samoa",
XK:"Kosov\u00eb",YE:"\u0627\u0644\u064a\u0645\u0646",YT:"Mayotte",ZA:"South
Africa",ZM:"Zambia",ZW:"Zimbabwe",af_NA:"Namibi\u00eb",af_ZA:"Suid-
Afrika",agq_CM:"K\u00e0m\u00e0l\u00fb\u014b",ak_GH:"Gaana",am_ET:"\u12a2\u1275\
u12ee\u1335\u12eb",ar_001:"\u0627\u0644\u0639\u0627\u0644\u0645",ar_AE:"\u0627\
u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\
u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629",ar_BH:"\u0627\u0644\u0628\u062d\
u0631\u064a\u0646",ar_DJ:"\u062c\u064a\u0628\u0648\u062a\u064a",
ar_DZ:"\u0627\u0644\u062c\u0632\u0627\u0626\u0631",ar_EG:"\u0645\u0635\
u0631",ar_EH:"\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\
u0628\u064a\u0629",ar_ER:"\u0625\u0631\u064a\u062a\u0631\u064a\u0627",ar_IL:"\
u0625\u0633\u0631\u0627\u0626\u064a\u0644",ar_IQ:"\u0627\u0644\u0639\u0631\u0627\
u0642",ar_JO:"\u0627\u0644\u0623\u0631\u062f\u0646",ar_KM:"\u062c\u0632\u0631 \
u0627\u0644\u0642\u0645\u0631",ar_KW:"\u0627\u0644\u0643\u0648\u064a\
u062a",ar_LB:"\u0644\u0628\u0646\u0627\u0646",
ar_LY:"\u0644\u064a\u0628\u064a\u0627",ar_MA:"\u0627\u0644\u0645\u063a\u0631\
u0628",ar_MR:"\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627",ar_OM:"\
u0639\u064f\u0645\u0627\u0646",ar_PS:"\u0641\u0644\u0633\u0637\u064a\
u0646",ar_QA:"\u0642\u0637\u0631",ar_SA:"\u0627\u0644\u0645\u0645\u0644\u0643\u0629
\u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\
u064a\u0629",ar_SD:"\u0627\u0644\u0633\u0648\u062f\u0627\u0646",ar_SO:"\u0627\
u0644\u0635\u0648\u0645\u0627\u0644",
ar_SS:"\u062c\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062f\u0627\
u0646",ar_SY:"\u0633\u0648\u0631\u064a\u0627",ar_TD:"\u062a\u0634\u0627\
u062f",ar_TN:"\u062a\u0648\u0646\u0633",ar_XB:"\u061c\u202ePseudo\u202c\u061c-\
u061c\u202eBidi\u202c\u061c",ar_YE:"\u0627\u0644\u064a\u0645\u0646",as_IN:"\u09ad\
u09be\u09f0\u09a4",asa_TZ:"Tadhania",ast_ES:"Espa\u00f1a",az_Cyrl_AZ:"\u0410\u0437\
u04d9\u0440\u0431\u0430\u0458\u04b9\u0430\u043d",az_Latn_AZ:"Az\
u0259rbaycan",bas_CM:"K\u00e0m\u025b\u0300r\u00fbn",
be_BY:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\
u044c",bem_ZM:"Zambia",bez_TZ:"Hutanzania",bg_BG:"\u0411\u044a\u043b\u0433\u0430\
u0440\u0438\u044f",bgc_IN:"\u092d\u093e\u0930\u0924",bho_IN:"\u092d\u093e\u0930\
u0924",blo_BJ:"Ben\u025b\u025b",bm_ML:"Mali",bn_BD:"\u09ac\u09be\u0982\u09b2\u09be\
u09a6\u09c7\u09b6",bn_IN:"\u09ad\u09be\u09b0\u09a4",bo_CN:"\u0f62\u0f92\u0fb1\
u0f0b\u0f53\u0f42",bo_IN:"\u0f62\u0f92\u0fb1\u0f0b\u0f42\u0f62\u0f0b",br_FR:"Fra\
u00f1s",brx_IN:"\u092d\u093e\u0930\u0924",bs_Cyrl_BA:"\u0411\u043e\u0441\u043d\
u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430",
bs_Latn_BA:"Bosna i Hercegovina",ca_AD:"Andorra",ca_ES:"Espanya",ca_FR:"Fran\
u00e7a",ca_IT:"It\u00e0lia",ccp_BD:"\ud804\udd1d\ud804\udd01\ud804\udd23\ud804\
udd18\ud804\udd2c\ud804\udd0c\ud804\udd34",ccp_IN:"\ud804\udd1e\ud804\udd22\ud804\
udd27\ud804\udd16\ud804\udd34",ce_RU:"\u0420\u043e\u0441\u0441\
u0438",ceb_PH:"Pilipinas",cgg_UG:"Uganda",chr_US:"\u13cc\u13ca \u13a2\u13f3\u13be\
u13b5\u13cd\u13d4\u13c5 \u13cd\u13a6\u13da\u13a9",ckb_IQ:"\u0639\u06ce\u0631\u0627\
u0642",ckb_IR:"\u0626\u06ce\u0631\u0627\u0646",
cs_CZ:"\u010cesko",csw_CA:"\u1472\u14c7\u1455",cv_RU:"\u0420\u0430\u04ab\u04ab\
u0435\u0439",cy_GB:"Y Deyrnas Unedig",da_DK:"Danmark",da_GL:"Gr\
u00f8nland",dav_KE:"Kenya",de_AT:"\
u00d6sterreich",de_BE:"Belgien",de_CH:"Schweiz",de_DE:"Deutschland",de_IT:"Italien"
,de_LI:"Liechtenstein",de_LU:"Luxemburg",dje_NE:"Ni\u017eer",doi_IN:"\u092d\u093e\
u0930\u0924",dsb_DE:"Nimska",dua_CM:"Cameroun",dyo_SN:"Senegal",dz_BT:"\u0f60\
u0f56\u0fb2\u0f74\u0f42",ebu_KE:"Kenya",ee_GH:"Ghana nutome",ee_TG:"Togo nutome",
el_CY:"\u039a\u03cd\u03c0\u03c1\u03bf\u03c2",el_GR:"\u0395\u03bb\u03bb\u03ac\u03b4\
u03b1",en_001:"world",en_150:"Europe",en_AE:"United Arab Emirates",en_AG:"Antigua &
Barbuda",en_AI:"Anguilla",en_AS:"American
Samoa",en_AT:"Austria",en_AU:"Australia",en_BB:"Barbados",en_BE:"Belgium",en_BI:"Bu
rundi",en_BM:"Bermuda",en_BS:"Bahamas",en_BW:"Botswana",en_BZ:"Belize",en_CA:"Canad
a",en_CC:"Cocos (Keeling) Islands",en_CH:"Switzerland",en_CK:"Cook
Islands",en_CM:"Cameroon",en_CX:"Christmas Island",en_CY:"Cyprus",
en_DE:"Germany",en_DG:"Diego
Garcia",en_DK:"Denmark",en_DM:"Dominica",en_ER:"Eritrea",en_FI:"Finland",en_FJ:"Fij
i",en_FK:"Falkland Islands (Islas Malvinas)",en_FM:"Micronesia",en_GB:"United
Kingdom",en_GD:"Grenada",en_GG:"Guernsey",en_GH:"Ghana",en_GI:"Gibraltar",en_GM:"Ga
mbia",en_GU:"Guam",en_GY:"Guyana",en_HK:"Hong
Kong",en_ID:"Indonesia",en_IE:"Ireland",en_IL:"Israel",en_IM:"Isle of
Man",en_IN:"India",en_IO:"British Indian Ocean
Territory",en_JE:"Jersey",en_JM:"Jamaica",en_KE:"Kenya",en_KI:"Kiribati",
en_KN:"St Kitts & Nevis",en_KY:"Cayman Islands",en_LC:"St
Lucia",en_LR:"Liberia",en_LS:"Lesotho",en_MG:"Madagascar",en_MH:"Marshall
Islands",en_MO:"Macao",en_MP:"Northern Mariana
Islands",en_MS:"Montserrat",en_MT:"Malta",en_MU:"Mauritius",en_MV:"Maldives",en_MW:
"Malawi",en_MY:"Malaysia",en_NA:"Namibia",en_NF:"Norfolk
Island",en_NG:"Nigeria",en_NL:"Netherlands",en_NR:"Nauru",en_NU:"Niue",en_NZ:"New
Zealand",en_PG:"Papua New
Guinea",en_PH:"Philippines",en_PK:"Pakistan",en_PN:"Pitcairn Islands",en_PR:"Puerto
Rico",
en_PW:"Palau",en_RW:"Rwanda",en_SB:"Solomon
Islands",en_SC:"Seychelles",en_SD:"Sudan",en_SE:"Sweden",en_SG:"Singapore",en_SH:"S
t Helena",en_SI:"Slovenia",en_SL:"Sierra Leone",en_SS:"South Sudan",en_SX:"Sint
Maarten",en_SZ:"Eswatini",en_TC:"Turks & Caicos
Islands",en_TK:"Tokelau",en_TO:"Tonga",en_TT:"Trinidad &
Tobago",en_TV:"Tuvalu",en_TZ:"Tanzania",en_UG:"Uganda",en_UM:"U.S. Outlying
Islands",en_US:"United States",en_US_POSIX:"United States",en_VC:"St Vincent & the
Grenadines",en_VG:"British Virgin Islands",
en_VI:"U.S. Virgin Islands",en_VU:"Vanuatu",en_WS:"Samoa",en_XA:"[\u00de\u0161\
u00e9\u00fb\u00f0\u00f6\u2010\u00c5\u00e7\u00e7\u00e9\u00f1\u0163\u0161 one
two]",en_ZA:"South
Africa",en_ZM:"Zambia",en_ZW:"Zimbabwe",eo_001:"mondo",es_419:"Latinoam\
u00e9rica",es_AR:"Argentina",es_BO:"Bolivia",es_BR:"Brasil",es_BZ:"Belice",es_CL:"C
hile",es_CO:"Colombia",es_CR:"Costa Rica",es_CU:"Cuba",es_DO:"Rep\u00fablica
Dominicana",es_EA:"Ceuta y Melilla",es_EC:"Ecuador",es_ES:"Espa\
u00f1a",es_GQ:"Guinea Ecuatorial",
es_GT:"Guatemala",es_HN:"Honduras",es_IC:"Canarias",es_MX:"M\
u00e9xico",es_NI:"Nicaragua",es_PA:"Panam\u00e1",es_PE:"Per\
u00fa",es_PH:"Filipinas",es_PR:"Puerto Rico",es_PY:"Paraguay",es_SV:"El
Salvador",es_US:"Estados
Unidos",es_UY:"Uruguay",es_VE:"Venezuela",et_EE:"Eesti",eu_ES:"Espainia",ewo_CM:"Ka
m\u0259r\u00fan",fa_AF:"\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\
u0646",fa_IR:"\u0627\u06cc\u0631\u0627\u0646",ff_Adlm_BF:"\ud83a\udd04\ud83a\udd35\
ud83a\udd2a\ud83a\udd33\ud83a\udd2d\ud83a\udd32\ud83a\udd22 \ud83a\udd0a\ud83a\
udd22\ud83a\udd27\ud83a\udd2e\ud83a\udd45",
ff_Adlm_CM:"\ud83a\udd11\ud83a\udd22\ud83a\udd25\ud83a\udd22\ud83a\udd2a\ud83a\
udd35\ud83a\udd45\ud83a\udd32",ff_Adlm_GH:"\ud83a\udd18\ud83a\udd22\ud83a\udd32\
ud83a\udd22",ff_Adlm_GM:"\ud83a\udd18\ud83a\udd22\ud83a\udd25\ud83a\udd26\ud83a\
udd2d\ud83a\udd34\ud83a\udd22",ff_Adlm_GN:"\ud83a\udd18\ud83a\udd2d\ud83a\udd32\
ud83a\udd2b",ff_Adlm_GW:"\ud83a\udd18\ud83a\udd2d\ud83a\udd32\ud83a\udd2b-\ud83a\
udd04\ud83a\udd2d\ud83a\udd27\ud83a\udd22\ud83a\udd31\ud83a\udd2e\ud83a\
udd45",ff_Adlm_LR:"\ud83a\udd02\ud83a\udd22\ud83a\udd26\ud83a\udd2d\ud83a\udd2a\
ud83a\udd2d\ud83a\udd34\ud83a\udd22\ud83a\udd44",
ff_Adlm_MR:"\ud83a\udd03\ud83a\udd2e\ud83a\udd2a\ud83a\udd3c\ud83a\udd22\ud83a\
udd32\ud83a\udd2d\ud83a\udd45",ff_Adlm_NE:"\ud83a\udd10\ud83a\udd2d\ud83a\udd45\
ud83a\udd36\ud83a\udd2b\ud83a\udd2a",ff_Adlm_NG:"\ud83a\udd10\ud83a\udd22\ud83a\
udd36\ud83a\udd2b\ud83a\udd2a\ud83a\udd2d\ud83a\udd34\ud83a\udd22\ud83a\
udd44",ff_Adlm_SL:"\ud83a\udd05\ud83a\udd22\ud83a\udd2a\ud83a\udd22\ud83a\udd24\
ud83a\udd2e\ud83a\udd32",ff_Adlm_SN:"\ud83a\udd05\ud83a\udd2b\ud83a\udd32\ud83a\
udd2b\ud83a\udd3a\ud83a\udd22\ud83a\udd44\ud83a\udd24",
ff_Latn_BF:"Burkibaa
Faaso",ff_Latn_CM:"Kameruun",ff_Latn_GH:"Ganaa",ff_Latn_GM:"Gammbi",ff_Latn_GN:"Gin
e",ff_Latn_GW:"Gine-
Bisaawo",ff_Latn_LR:"Liberiyaa",ff_Latn_MR:"Muritani",ff_Latn_NE:"Nijeer",ff_Latn_N
G:"Nijeriyaa",ff_Latn_SL:"Seraa
liyon",ff_Latn_SN:"Senegaal",fi_FI:"Suomi",fil_PH:"Pilipinas",fo_DK:"Danmark",fo_FO
:"F\u00f8royar",fr_BE:"Belgique",fr_BF:"Burkina Faso",fr_BI:"Burundi",fr_BJ:"B\
u00e9nin",fr_BL:"Saint-Barth\u00e9lemy",fr_CA:"Canada",fr_CD:"Congo-
Kinshasa",fr_CF:"R\u00e9publique centrafricaine",
fr_CG:"Congo-Brazzaville",fr_CH:"Suisse",fr_CI:"C\u00f4te d\
u2019Ivoire",fr_CM:"Cameroun",fr_DJ:"Djibouti",fr_DZ:"Alg\
u00e9rie",fr_FR:"France",fr_GA:"Gabon",fr_GF:"Guyane fran\u00e7aise",fr_GN:"Guin\
u00e9e",fr_GP:"Guadeloupe",fr_GQ:"Guin\u00e9e \u00e9quatoriale",fr_HT:"Ha\
u00efti",fr_KM:"Comores",fr_LU:"Luxembourg",fr_MA:"Maroc",fr_MC:"Monaco",fr_MF:"Sai
nt-
Martin",fr_MG:"Madagascar",fr_ML:"Mali",fr_MQ:"Martinique",fr_MR:"Mauritanie",fr_MU
:"Maurice",fr_NC:"Nouvelle-Cal\u00e9donie",fr_NE:"Niger",fr_PF:"Polyn\u00e9sie
fran\u00e7aise",
fr_PM:"Saint-Pierre-et-Miquelon",fr_RE:"La R\
u00e9union",fr_RW:"Rwanda",fr_SC:"Seychelles",fr_SN:"S\u00e9n\
u00e9gal",fr_SY:"Syrie",fr_TD:"Tchad",fr_TG:"Togo",fr_TN:"Tunisie",fr_VU:"Vanuatu",
fr_WF:"Wallis-et-Futuna",fr_YT:"Mayotte",fur_IT:"Italie",fy_NL:"Nederl\
u00e2n",ga_GB:"an R\u00edocht Aontaithe",ga_IE:"\u00c9ire",gd_GB:"An R\u00ecoghachd
Aonaichte",gl_ES:"Espa\u00f1a",gsw_CH:"Schwiiz",gsw_FR:"Frankriich",gsw_LI:"Li\
u00e4chtescht\u00e4i",gu_IN:"\u0aad\u0abe\u0ab0\u0aa4",guz_KE:"Kenya",gv_IM:"Ellan
Vannin",
ha_GH:"Gana",ha_NE:"Nijar",ha_NG:"Nijeriya",haw_US:"\u02bbAmelika Hui P\u016b \
u02bbIa",he_IL:"\u05d9\u05e9\u05e8\u05d0\u05dc",hi_IN:"\u092d\u093e\u0930\
u0924",hi_Latn_IN:"India",hr_BA:"Bosna i Hercegovina",hr_HR:"Hrvatska",hsb_DE:"N\
u011bmska",hu_HU:"Magyarorsz\u00e1g",hy_AM:"\u0540\u0561\u0575\u0561\u057d\u057f\
u0561\u0576",ia_001:"Mundo",id_ID:"Indonesia",ie_EE:"Estonia",ig_NG:"Na\u1ecbj\
u1ecbr\u1ecba",ii_CN:"\ua34f\ua1e9",is_IS:"\
u00cdsland",it_CH:"Svizzera",it_IT:"Italia",it_SM:"San Marino",
it_VA:"Citt\u00e0 del Vaticano",ja_JP:"\u65e5\u672c",jgo_CM:"Kam\u025bl\
u00fbn",jmc_TZ:"Tanzania",jv_ID:"Indon\u00e9sia",ka_GE:"\u10e1\u10d0\u10e5\u10d0\
u10e0\u10d7\u10d5\u10d4\u10da\
u10dd",kab_DZ:"Lezzayer",kam_KE:"Kenya",kde_TZ:"Tanzania",kea_CV:"Kabu
Verdi",kgp_BR:"Mrasir",khq_ML:"Maali",ki_KE:"Kenya",kk_KZ:"\u049a\u0430\u0437\
u0430\u049b\u0441\u0442\u0430\u043d",kkj_CM:"Kam\u025brun",kl_GL:"Kalaallit
Nunaat",kln_KE:"Emetab Kenya",km_KH:"\u1780\u1798\u17d2\u1796\u17bb\u1787\
u17b6",kn_IN:"\u0cad\u0cbe\u0cb0\u0ca4",
ko_CN:"\uc911\uad6d",ko_KP:"\uc870\uc120\ubbfc\uc8fc\uc8fc\uc758\uc778\ubbfc\uacf5\
ud654\uad6d",ko_KR:"\ub300\ud55c\ubbfc\uad6d",kok_IN:"\u092d\u093e\u0930\
u0924",ks_Arab_IN:"\u06c1\u0650\u0646\u062f\u0648\u0633\u062a\u0627\
u0646",ks_Deva_IN:"\u0939\u093f\u0902\u0926\u094b\u0938\u094d\u0924\u093e\
u0928",ksb_TZ:"Tanzania",ksf_CM:"kam\u025br\u00fan",ksh_DE:"Do\
u00fctschland",ku_TR:"Tirkiye",kw_GB:"Rywvaneth Unys",kxv_Deva_IN:"\u092c\u093e\
u0930\u0924",kxv_Latn_IN:"in\u1e0di\u0101",kxv_Orya_IN:"\u0b2c\u0b3e\u0b30\u0b24",
kxv_Telu_IN:"\u0c2c\u0c3e\u0c30\u0c24\u0c26\u0c46\u0c38\u0c3e\u0c02",ky_KG:"\u041a\
u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d",lag_TZ:"Taansan\
u00eda",lb_LU:"L\u00ebtzebuerg",lg_UG:"Yuganda",lij_IT:"Italia",lkt_US:"M\
u00edlaha\u014bska T\u021fam\u00e1k\u021fo\u010dhe",lmo_IT:"Italia",ln_AO:"Ang\
u00f3la",ln_CD:"Republ\u00edki ya Kong\u00f3 Demokrat\u00edki",ln_CF:"Repibiki ya
Afr\u00edka ya K\u00e1ti",ln_CG:"Kongo",lo_LA:"\u0ea5\u0eb2\
u0ea7",lrc_IQ:"Iraq",lrc_IR:"Iran",lt_LT:"Lietuva",lu_CD:"Ditunga wa Kongu",
luo_KE:"Kenya",luy_KE:"Kenya",lv_LV:"Latvija",mai_IN:"\u092d\u093e\u0930\
u0924",mas_KE:"Kenya",mas_TZ:"Tansania",mer_KE:"Kenya",mfe_MU:"Moris",mg_MG:"Madaga
sikara",mgh_MZ:"Umozambiki",mgo_CM:"Kamalun",mi_NZ:"Aotearoa",mk_MK:"\u0421\u0435\
u0432\u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\
u0458\u0430",ml_IN:"\u0d07\u0d28\u0d4d\u0d24\u0d4d\u0d2f",mn_MN:"\u041c\u043e\
u043d\u0433\u043e\u043b",mni_Beng_IN:"\u0987\u09a8\u09cd\u09a6\u09bf\u09af\u09bc\
u09be",mr_IN:"\u092d\u093e\u0930\u0924",
ms_BN:"Brunei",ms_ID:"Indonesia",ms_MY:"Malaysia",ms_SG:"Singapura",mt_MT:"Malta",m
ua_CM:"kameru\u014b",my_MM:"\u1019\u103c\u1014\u103a\u1019\u102c",mzn_IR:"\u0627\
u06cc\u0631\u0627\u0646",naq_NA:"Namibiab",nb_NO:"Norge",nb_SJ:"Svalbard og Jan
Mayen",nd_ZW:"Zimbabwe",nds_DE:"D\u00fc\
u00fctschland",nds_NL:"Nedderlannen",ne_IN:"\u092d\u093e\u0930\u0924",ne_NP:"\
u0928\u0947\u092a\u093e\u0932",nl_AW:"Aruba",nl_BE:"Belgi\u00eb",nl_BQ:"Caribisch
Nederland",nl_CW:"Cura\u00e7ao",nl_NL:"Nederland",nl_SR:"Suriname",
nl_SX:"Sint-Maarten",nmg_CM:"Kamerun",nn_NO:"Noreg",nnh_CM:"K\u00e0mal\
u00fbm",no_NO:"Norge",nqo_GN:"\u07d6\u07cc\u07ec\u07e3\u07cd\u07eb",nus_SS:"South
Sudan",nyn_UG:"Uganda",oc_ES:"Espanha",oc_FR:"Fran\
u00e7a",om_ET:"Itoophiyaa",om_KE:"Keeniyaa",or_IN:"\u0b2d\u0b3e\u0b30\
u0b24",os_GE:"\u0413\u0443\u044b\u0440\u0434\u0437\u044b\u0441\u0442\u043e\
u043d",os_RU:"\u0423\u04d5\u0440\u04d5\u0441\u0435",pa_Arab_PK:"\u067e\u0627\u06a9\
u0633\u062a\u0627\u0646",pa_Guru_IN:"\u0a2d\u0a3e\u0a30\u0a24",pcm_NG:"Naij\
u00edria",
pl_PL:"Polska",prg_PL:"P\u014dli",ps_AF:"\u0627\u0641\u063a\u0627\u0646\u0633\
u062a\u0627\u0646",ps_PK:"\u067e\u0627\u06a9\u0633\u062a\u0627\
u0646",pt_AO:"Angola",pt_BR:"Brasil",pt_CH:"Su\u00ed\u00e7a",pt_CV:"Cabo
Verde",pt_GQ:"Guin\u00e9 Equatorial",pt_GW:"Guin\u00e9-
Bissau",pt_LU:"Luxemburgo",pt_MO:"Macau",pt_MZ:"Mo\
u00e7ambique",pt_PT:"Portugal",pt_ST:"S\u00e3o Tom\u00e9 e Pr\
u00edncipe",pt_TL:"Timor-Leste",qu_BO:"Bolivia",qu_EC:"Ecuador",qu_PE:"Per\
u00fa",raj_IN:"\u092d\u093e\u0930\u0924",rm_CH:"Svizra",
rn_BI:"Uburundi",ro_MD:"Republica Moldova",ro_RO:"Rom\
u00e2nia",rof_TZ:"Tanzania",ru_BY:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\
u044c",ru_KG:"\u041a\u0438\u0440\u0433\u0438\u0437\u0438\u044f",ru_KZ:"\u041a\
u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",ru_MD:"\u041c\u043e\u043b\u0434\
u043e\u0432\u0430",ru_RU:"\u0420\u043e\u0441\u0441\u0438\u044f",ru_UA:"\u0423\
u043a\u0440\u0430\u0438\u043d\u0430",rw_RW:"U Rwanda",rwk_TZ:"Tanzania",sa_IN:"\
u092d\u093e\u0930\u0924\u0903",sah_RU:"\u0410\u0440\u0430\u0441\u0441\u044b\u044b\
u0439\u0430",
saq_KE:"Kenya",sat_Olck_IN:"\u1c64\u1c71\u1c70\u1c64\u1c6d\
u1c5f",sbp_TZ:"Tansaniya",sc_IT:"It\u00e0lia",sd_Arab_PK:"\u067e\u0627\u06aa\u0633\
u062a\u0627\u0646",sd_Deva_IN:"\u092d\u093e\u0930\
u0924",se_FI:"Suopma",se_NO:"Norga",se_SE:"Ruo\u0167\u0167a",seh_MZ:"Mo\
u00e7ambique",ses_ML:"Maali",sg_CF:"K\u00f6d\u00f6r\u00f6s\u00ease t\u00ee B\
u00eaafr\u00eeka",shi_Latn_MA:"lm\u0263rib",shi_Tfng_MA:"\u2d4d\u2d4e\u2d56\u2d54\
u2d49\u2d31",si_LK:"\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0",
sk_SK:"Slovensko",sl_SI:"Slovenija",smn_FI:"Suom\
u00e2",sn_ZW:"Zimbabwe",so_DJ:"Jabuuti",so_ET:"Itoobiya",so_KE:"Kenya",so_SO:"Sooma
aliya",sq_AL:"Shqip\u00ebri",sq_MK:"Maqedonia e Veriut",sq_XK:"Kosov\
u00eb",sr_Cyrl_BA:"\u0411\u043e\u0441\u043d\u0430 \u0438 \u0425\u0435\u0440\u0446\
u0435\u0433\u043e\u0432\u0438\u043d\u0430",sr_Cyrl_ME:"\u0426\u0440\u043d\u0430 \
u0413\u043e\u0440\u0430",sr_Cyrl_RS:"\u0421\u0440\u0431\u0438\u0458\
u0430",sr_Cyrl_XK:"\u041a\u043e\u0441\u043e\u0432\u043e",sr_Latn_BA:"Bosna i
Hercegovina",
sr_Latn_ME:"Crna
Gora",sr_Latn_RS:"Srbija",sr_Latn_XK:"Kosovo",su_Latn_ID:"Indonesia",sv_AX:"\
u00c5land",sv_FI:"Finland",sv_SE:"Sverige",sw_CD:"Jamhuri ya Kidemokrasia ya
Kongo",sw_KE:"Kenya",sw_TZ:"Tanzania",sw_UG:"Uganda",syr_IQ:"\u0725\u071d\u072a\
u0729",syr_SY:"\u0723\u0718\u072a\u071d\u0710",szl_PL:"Polska",ta_IN:"\u0b87\u0ba8\
u0bcd\u0ba4\u0bbf\u0baf\u0bbe",ta_LK:"\u0b87\u0bb2\u0b99\u0bcd\u0b95\
u0bc8",ta_MY:"\u0bae\u0bb2\u0bc7\u0b9a\u0bbf\u0baf\u0bbe",ta_SG:"\u0b9a\u0bbf\
u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd",
te_IN:"\u0c2d\u0c3e\u0c30\u0c24\u0c26\u0c47\u0c36\
u0c02",teo_KE:"Kenia",teo_UG:"Uganda",tg_TJ:"\u0422\u043e\u04b7\u0438\u043a\u0438\
u0441\u0442\u043e\u043d",th_TH:"\u0e44\u0e17\u0e22",ti_ER:"\u12a4\u122d\u1275\
u122b",ti_ET:"\u12a2\u1275\u12ee\u1335\u12eb",tk_TM:"T\
u00fcrkmenistan",to_TO:"Tonga",tok_001:"ma ale",tr_CY:"K\u0131br\u0131s",tr_TR:"T\
u00fcrkiye",tt_RU:"\u0420\u043e\u0441\u0441\u0438\u044f",twq_NE:"Ni\
u017eer",tzm_MA:"Me\u1e5b\u1e5buk",ug_CN:"\u062c\u06c7\u06ad\u06af\u0648",uk_UA:"\
u0423\u043a\u0440\u0430\u0457\u043d\u0430",
ur_IN:"\u0628\u06be\u0627\u0631\u062a",ur_PK:"\u067e\u0627\u06a9\u0633\u062a\u0627\
u0646",uz_Arab_AF:"\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\
u0646",uz_Cyrl_UZ:"\u040e\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u043e\
u043d",uz_Latn_UZ:"O\u02bbzbekiston",vai_Latn_LR:"Laibhiya",vai_Vaii_LR:"\ua55e\
ua524\ua52b\ua569",vec_IT:"Italia",vi_VN:"Vi\u1ec7t
Nam",vmw_MZ:"oMosambikhi",vun_TZ:"Tanzania",wae_CH:"Schwiz",wo_SN:"Senegaal",xh_ZA:
"EMzantsi Afrika",xnr_IN:"\u092d\u093e\u0930\u0924",xog_UG:"Yuganda",
yav_CM:"Kemel\u00fan",yi_UA:"\u05d0\u05d5\u05e7\u05e8\u05d0\u05b7\u05d9\u05e0\
u05e2",yo_BJ:"B\u025b\u0300n\u025b\u0300",yo_NG:"N\u00e0\u00ecj\u00edr\u00ed\
u00e0",yrl_BR:"Brasiu",yrl_CO:"Kur\u0169biya",yrl_VE:"Wenesuera",yue_Hans_CN:"\
u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd",yue_Hant_HK:"\u9999\
u6e2f",za_CN:"Cunghgoz",zgh_MA:"\u2d4d\u2d4e\u2d56\u2d54\u2d49\u2d31",zh_CN:"\
u4e2d\u56fd",zh_HK:"\u9999\u6e2f",zh_Hans_CN:"\u4e2d\u56fd",zh_Hans_HK:"\u9999\
u6e2f",zh_Hans_MO:"\u6fb3\u95e8",zh_Hans_SG:"\u65b0\u52a0\u5761",
zh_Hant_HK:"\u9999\u6e2f",zh_Hant_MO:"\u6fb3\u9580",zh_Hant_TW:"\u53f0\
u7063",zh_TW:"\u53f0\u7063",zu_ZA:"iNingizimu Afrika"},LANGUAGE:
{aa:"Afar",ab:"Abkhazian",ace:"Achinese",ach:"Acoli",ada:"Adangme",ady:"Adyghe",ae:
"Avestan",aeb:"Tunisian
Arabic",af:"Afrikaans",afh:"Afrihili",agq:"Aghem",ain:"Ainu",ak:"Akan",akk:"Akkadia
n",akz:"Alabama",ale:"Aleut",aln:"Gheg Albanian",alt:"Southern Altai",am:"\u12a0\
u121b\u122d\u129b",an:"Aragonese",ang:"Old English",anp:"Angika",ar:"\u0627\u0644\
u0639\u0631\u0628\u064a\u0629",
ar_001:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629 (\u0627\u0644\u0639\u0627\u0644\
u0645)",arc:"Aramaic",arn:"Mapuche",aro:"Araona",arp:"Arapaho",arq:"Algerian
Arabic",ars:"\u0627\u0644\u0644\u0647\u062c\u0629 \u0627\u0644\u0646\u062c\u062f\
u064a\u0629",arw:"Arawak",ary:"Moroccan Arabic",arz:"Egyptian Arabic",as:"\u0985\
u09b8\u09ae\u09c0\u09af\u09bc\u09be",asa:"Kipare",ase:"American Sign
Language",ast:"asturianu",av:"Avaric",avk:"Kotava",awa:"Awadhi",ay:"Aymara",az:"az\
u0259rbaycan",az_Cyrl:"\u0430\u0437\u04d9\u0440\u0431\u0430\u0458\u04b9\u0430\u043d
(\u041a\u0438\u0440\u0438\u043b)",
az_Latn:"az\u0259rbaycan (lat\
u0131n)",ba:"Bashkir",bal:"Baluchi",ban:"Balinese",bar:"Bavarian",bas:"\u0181\
u00e0s\u00e0a",bax:"Bamun",bbc:"Batak Toba",bbj:"Ghomala",be:"\u0431\u0435\u043b\
u0430\u0440\u0443\u0441\u043a\u0430\
u044f",bej:"Beja",bem:"Ichibemba",bew:"Betawi",bez:"Hibena",bfd:"Bafut",bfq:"Badaga
",bg:"\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",bgc:"\u0939\u0930\
u093f\u092f\u093e\u0923\u0935\u0940",bgn:"Western Balochi",bho:"\u092d\u094b\u091c\
u092a\u0941\u0930\u0940",bi:"Bislama",
bik:"Bikol",bin:"Bini",bjn:"Banjar",bkm:"Kom",bla:"Siksik\u00e1",blo:"anii kag\
u0269ja",bm:"bamanakan",bn:"\u09ac\u09be\u0982\u09b2\u09be",bo:"\u0f56\u0f7c\u0f51\
u0f0b\u0f66\u0f90\u0f51\
u0f0b",bpy:"Bishnupriya",bqi:"Bakhtiari",br:"brezhoneg",bra:"Braj",brh:"Brahui",brx
:"\u092c\u0930\u2019",bs:"bosanski",bs_Cyrl:"\u0431\u043e\u0441\u0430\u043d\u0441\
u043a\u0438 (\u045b\u0438\u0440\u0438\u043b\u0438\u0446\u0430)",bs_Latn:"bosanski
(latinica)",bss:"Akoose",bua:"Buriat",bug:"Buginese",bum:"Bulu",byn:"Blin",
byv:"Medumba",ca:"catal\
u00e0",cad:"Caddo",car:"Carib",cay:"Cayuga",cch:"Atsam",ccp:"\ud804\udd0c\ud804\
udd0b\ud804\udd34\ud804\udd1f\ud804\udd33\ud804\udd26",ce:"\u043d\u043e\u0445\
u0447\u0438\u0439\
u043d",ceb:"Cebuano",cgg:"Rukiga",ch:"Chamorro",chb:"Chibcha",chg:"Chagatai",chk:"C
huukese",chm:"Mari",chn:"Chinook Jargon",cho:"Choctaw",chp:"Chipewyan",chr:"\u13e3\
u13b3\u13a9",chy:"Cheyenne",ckb:"\u06a9\u0648\u0631\u062f\u06cc\u06cc \u0646\u0627\
u0648\u06d5\u0646\u062f\u06cc",co:"Corsican",cop:"Coptic",
cps:"Capiznon",cr:"Cree",crh:"Crimean Tatar",cs:"\u010de\
u0161tina",csb:"Kashubian",csw:"\u14c0\u1426\u1403\u14c7\u140d\u140f\
u1423",cu:"Church Slavic",cv:"\u0447\u04d1\u0432\u0430\
u0448",cy:"Cymraeg",da:"dansk",dak:"Dakota",dar:"Dargwa",dav:"Kitaita",de:"Deutsch"
,de_AT:"Deutsch (\u00d6sterreich)",de_CH:"Deutsch
(Schweiz)",del:"Delaware",den:"Slave",dgr:"Dogrib",din:"Dinka",dje:"Zarmaciine",doi
:"\u0921\u094b\u0917\u0930\u0940",dsb:"dolnoserb\u0161\u0107ina",dua:"du\u00e1l\
u00e1",dum:"Middle Dutch",
dv:"Divehi",dyo:"joola",dyu:"Dyula",dz:"\u0f62\u0fab\u0f7c\u0f44\u0f0b\
u0f41",dzg:"Dazaga",ebu:"K\u0129embu",ee:"E\u028begbe",efi:"Efik",egy:"Ancient
Egyptian",eka:"Ekajuk",el:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\
u03ac",elx:"Elamite",en:"English",en_AU:"English (Australia)",en_CA:"English
(Canada)",en_GB:"English (United Kingdom)",en_US:"English (United
States)",enm:"Middle English",eo:"Esperanto",es:"espa\u00f1ol",es_419:"espa\u00f1ol
(Latinoam\u00e9rica)",es_ES:"espa\u00f1ol (Espa\u00f1a)",
es_MX:"espa\u00f1ol (M\u00e9xico)",et:"eesti",eu:"euskara",ewo:"ewondo",fa:"\u0641\
u0627\u0631\u0633\u06cc",fa_AF:"\u0641\u0627\u0631\u0633\u06cc (\u0627\u0641\u063a\
u0627\u0646\u0633\u062a\u0627\u0646)",fan:"Fang",fat:"Fanti",ff:"Pulaar",ff_Adlm:"\
ud83a\udd06\ud83a\udd35\ud83a\udd24\ud83a\udd22\ud83a\udd2a (\ud83a\udd00\ud83a\
udd01\ud83a\udd02\ud83a\udd22\ud83a\udd03)",ff_Latn:"Fula
(Latin)",fi:"suomi",fil:"Filipino",fj:"Fijian",fo:"f\
u00f8royskt",fon:"Fon",fr:"fran\u00e7ais",fr_CA:"fran\u00e7ais (Canada)",
fr_CH:"fran\u00e7ais (Suisse)",frm:"Middle French",fro:"Old French",frr:"Northern
Frisian",frs:"Eastern
Frisian",fur:"furlan",fy:"Frysk",ga:"Gaeilge",gaa:"Ga",gay:"Gayo",gba:"Gbaya",gd:"G
\u00e0idhlig",gez:"Geez",gil:"Gilbertese",gl:"galego",gmh:"Middle High
German",gn:"Guarani",goh:"Old High
German",gon:"Gondi",gor:"Gorontalo",got:"Gothic",grb:"Grebo",grc:"Ancient
Greek",gsw:"Schwiizert\u00fc\u00fctsch",gu:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\
u0ac0",guz:"Ekegusii",gv:"Gaelg",gwi:"Gwich\u02bcin",
ha:"Hausa",hai:"Haida",haw:"\u02bb\u014clelo Hawai\u02bbi",he:"\u05e2\u05d1\u05e8\
u05d9\u05ea",hi:"\u0939\u093f\u0928\u094d\u0926\u0940",hi_Latn:"Hindi
(Latin)",hil:"Hiligaynon",hit:"Hittite",hmn:"Hmong",ho:"Hiri
Motu",hr:"hrvatski",hsb:"hornjoserb\u0161\u0107ina",ht:"cr\u00e9ole ha\
u00eftien",hu:"magyar",hup:"Hupa",hy:"\u0570\u0561\u0575\u0565\u0580\u0565\
u0576",hz:"Herero",ia:"interlingua",iba:"Iban",ibb:"Ibibio",id:"Indonesia",ie:"Inte
rlingue",ig:"Igbo",ii:"\ua188\ua320\ua259",ik:"Inupiaq",ilo:"Iloko",
"in":"Indonesia",inh:"Ingush",io:"Ido",is:"\
u00edslenska",it:"italiano",iu:"Inuktitut",iw:"\u05e2\u05d1\u05e8\u05d9\
u05ea",ja:"\u65e5\u672c\u8a9e",jbo:"Lojban",jgo:"Nda\
ua78ca",jmc:"Kimachame",jpr:"Judeo-Persian",jrb:"Judeo-Arabic",jv:"Jawa",ka:"\
u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",kaa:"Kara-
Kalpak",kab:"Taqbaylit",kac:"Kachin",kaj:"Jju",kam:"Kikamba",kaw:"Kawi",kbd:"Kabard
ian",kbl:"Kanembu",kcg:"Tyap",kde:"Chimakonde",kea:"kabuverdianu",kfo:"Koro",kg:"Ko
ngo",kgp:"kanhg\u00e1g",kha:"Khasi",
kho:"Khotanese",khq:"Koyra ciini",ki:"Gikuyu",kj:"Kuanyama",kk:"\u049b\u0430\u0437\
u0430\u049b \u0442\u0456\u043b\u0456",kkj:"kak\
u0254",kl:"kalaallisut",kln:"Kalenjin",km:"\u1781\u17d2\u1798\u17c2\
u179a",kmb:"Kimbundu",kn:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1",ko:"\ud55c\uad6d\
uc5b4",kok:"\u0915\u094b\u0902\u0915\u0923\
u0940",kos:"Kosraean",kpe:"Kpelle",kr:"Kanuri",krc:"Karachay-
Balkar",krl:"Karelian",kru:"Kurukh",ks:"\u06a9\u0672\u0634\u064f\u0631",ks_Arab:"\
u06a9\u0672\u0634\u064f\u0631 (\u0639\u0631\u0628\u06cc)",
ks_Deva:"\u0915\u0949\u0936\u0941\u0930 (\u0926\u0947\u0935\u0928\u093e\u0917\
u0930\u0940)",ksb:"Kishambaa",ksf:"rikpa",ksh:"K\u00f6lsch",ku:"kurd\u00ee
[kurmanc\
u00ee]",kum:"Kumyk",kut:"Kutenai",kv:"Komi",kw:"kernewek",kxv:"kuvi",kxv_Deva:"\
u0915\u0941\u0935\u093f (\u0926\u0947\u0935\u0928\u093e\u0917\u0930\
u0940)",kxv_Latn:"kuvi (la\u1e6din)",kxv_Orya:"\u0b15\u0b41\u0b71\u0b3f (\u0b05\
u0b21\u0b3c\u0b3f\u0b06)",kxv_Telu:"\u0c15\u0c41\u0c35\u0c3f (\u0c24\u0c46\u0c32\
u0c41\u0c17\u0c41)",ky:"\u043a\u044b\u0440\u0433\u044b\u0437\u0447\u0430",
la:"Latin",lad:"Ladino",lag:"K\u0268laangi",lah:"Western
Panjabi",lam:"Lamba",lb:"L\
u00ebtzebuergesch",lez:"Lezghian",lg:"Luganda",li:"Limburgish",lij:"ligure",lkt:"La
k\u021f\u00f3l\u02bciyapi",lmo:"Lombard",ln:"ling\u00e1la",lo:"\u0ea5\u0eb2\
u0ea7",lol:"Mongo",loz:"Lozi",lrc:"\u0644\u06ca\u0631\u06cc \u0634\u0648\u0645\
u0627\u0644\u06cc",lt:"lietuvi\u0173",lu:"Tshiluba",lua:"Luba-
Lulua",lui:"Luiseno",lun:"Lunda",luo:"Dholuo",lus:"Mizo",luy:"Luluhia",lv:"latvie\
u0161u",mad:"Madurese",maf:"Mafa",mag:"Magahi",
mai:"\u092e\u0948\u0925\u093f\u0932\
u0940",mak:"Makasar",man:"Mandingo",mas:"Maa",mde:"Maba",mdf:"Moksha",mdr:"Mandar",
men:"Mende",mer:"K\u0129m\u0129r\u0169",mfe:"kreol
morisien",mg:"Malagasy",mga:"Middle Irish",mgh:"Makua",mgo:"meta\
u02bc",mh:"Marshallese",mi:"M\u0101ori",mic:"Mi'kmaw",min:"Minangkabau",mk:"\u043c\
u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438",ml:"\u0d2e\u0d32\u0d2f\
u0d3e\u0d33\u0d02",mn:"\u043c\u043e\u043d\u0433\u043e\u043b",mnc:"Manchu",mni:"\
u09ae\u09c8\u09a4\u09c8\u09b2\u09cb\u09a8\u09cd",
mni_Beng:"\u09ae\u09c8\u09a4\u09c8\u09b2\u09cb\u09a8\u09cd (\u09ac\u09be\u0982\
u09b2\u09be)",mo:"rom\u00e2n\u0103",moh:"Mohawk",mos:"Mossi",mr:"\u092e\u0930\
u093e\u0920\u0940",ms:"Melayu",mt:"Malti",mua:"MUNDA\u014a",mul:"Multiple
languages",mus:"Muscogee",mwl:"Mirandese",mwr:"Marwari",my:"\u1019\u103c\u1014\
u103a\u1019\u102c",mye:"Myene",myv:"Erzya",mzn:"\u0645\u0627\u0632\u0631\u0648\
u0646\u06cc",na:"Nauru",nap:"Neapolitan",naq:"Khoekhoegowab",nb:"norsk bokm\
u00e5l",nd:"isiNdebele",nds:"Neddersass\u2019sch",
nds_NL:"Neddersass\u2019sch (Nedderlannen)",ne:"\u0928\u0947\u092a\u093e\u0932\
u0940","new":"Newari",ng:"Ndonga",nia:"Nias",niu:"Niuean",nl:"Nederlands",nl_BE:"Ne
derlands (Belgi\u00eb)",nmg:"Kwasio",nn:"norsk nynorsk",nnh:"Shw\u00f3\u014b\u00f2
ngiemb\u0254\u0254n",no:"norsk",nog:"Nogai",non:"Old Norse",nqo:"\u07d2\u07de\
u07cf",nr:"South Ndebele",nso:"Northern Sotho",nus:"Thok
Nath",nv:"Navajo",nwc:"Classical
Newari",ny:"Nyanja",nym:"Nyamwezi",nyn:"Runyankore",nyo:"Nyoro",nzi:"Nzima",oc:"occ
itan",
oj:"Ojibwa",om:"Oromoo",or:"\u0b13\u0b21\u0b3c\u0b3f\u0b06",os:"\u0438\u0440\u043e\
u043d",osa:"Osage",ota:"Ottoman Turkish",pa:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\
u0a40",pa_Arab:"\u067e\u0646\u062c\u0627\u0628\u06cc (\u0639\u0631\u0628\
u06cc)",pa_Guru:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (\u0a17\u0a41\u0a30\u0a2e\
u0a41\u0a16\
u0a40)",pag:"Pangasinan",pal:"Pahlavi",pam:"Pampanga",pap:"Papiamento",pau:"Palauan
",pcm:"Naij\u00edri\u00e1 P\u00edjin",peo:"Old
Persian",phn:"Phoenician",pi:"Pali",pl:"polski",
pon:"Pohnpeian",prg:"pr\u016bsiskan",pro:"Old Proven\u00e7al",ps:"\u067e\u069a\
u062a\u0648",pt:"portugu\u00eas",pt_BR:"portugu\u00eas (Brasil)",pt_PT:"portugu\
u00eas (Portugal)",qu:"Runasimi",raj:"\u0930\u093e\u091c\u0938\u094d\u0925\u093e\
u0928\u0940",rap:"Rapanui",rar:"Rarotongan",rm:"rumantsch",rn:"Ikirundi",ro:"rom\
u00e2n\u0103",ro_MD:"rom\u00e2n\u0103 (Republica
Moldova)",rof:"Kihorombo",rom:"Romany",ru:"\u0440\u0443\u0441\u0441\u043a\u0438\
u0439",rup:"Aromanian",rw:"Kinyarwanda",rwk:"Kiruwa",
sa:"\u0938\u0902\u0938\u094d\u0915\u0943\u0924 \u092d\u093e\u0937\
u093e",sad:"Sandawe",sah:"\u0441\u0430\u0445\u0430 \u0442\u044b\u043b\
u0430",sam:"Samaritan Aramaic",saq:"Kisampur",sas:"Sasak",sat:"\u1c65\u1c5f\u1c71\
u1c5b\u1c5f\u1c72\u1c64",sat_Olck:"\u1c65\u1c5f\u1c71\u1c5b\u1c5f\u1c72\u1c64 (\
u1c5a\u1c5e \u1c6a\u1c64\u1c60\
u1c64)",sba:"Ngambay",sbp:"Ishisangu",sc:"sardu",scn:"Sicilian",sco:"Scots",sd:"\
u0633\u0646\u068c\u064a",sd_Arab:"\u0633\u0646\u068c\u064a (\u0639\u0631\u0628\
u064a)",sd_Deva:"\u0938\u093f\u0928\u094d\u0927\u0940 (\u0926\u0947\u0935\u0928\
u093e\u0917\u093f\u0930\u0940)",
se:"davvis\u00e1megiella",see:"Seneca",seh:"sena",sel:"Selkup",ses:"Koyraboro
senni",sg:"S\u00e4ng\u00f6",sga:"Old Irish",sh:"srpskohrvatski",shi:"\u2d5c\u2d30\
u2d5b\u2d4d\u2d43\u2d49\u2d5c",shi_Latn:"Tachelhit (Latin)",shi_Tfng:"Tachelhit
(Tifinagh)",shn:"Shan",shu:"Chadian Arabic",si:"\u0dc3\u0dd2\u0d82\u0dc4\
u0dbd",sid:"Sidamo",sk:"sloven\u010dina",sl:"sloven\u0161\
u010dina",sm:"Samoan",sma:"Southern Sami",smj:"Lule Sami",smn:"anar\u00e2\
u0161kiel\u00e2",sms:"Skolt Sami",sn:"chiShona",snk:"Soninke",
so:"Soomaali",sog:"Sogdien",sq:"shqip",sr:"\u0441\u0440\u043f\u0441\u043a\
u0438",sr_Cyrl:"\u0441\u0440\u043f\u0441\u043a\u0438 (\u045b\u0438\u0440\u0438\
u043b\u0438\u0446\u0430)",sr_Latn:"srpski (latinica)",srn:"Sranan
Tongo",srr:"Serer",ss:"Swati",ssy:"Saho",st:"Southern Sotho",su:"Basa
Sunda",su_Latn:"Basa Sunda
(Latin)",suk:"Sukuma",sus:"Susu",sux:"Sumerian",sv:"svenska",sw:"Kiswahili",sw_CD:"
Kiswahili (Jamhuri ya Kidemokrasia ya Kongo)",swb:"Comorian",syc:"Classical
Syriac",syr:"\u0723\u0718\u072a\u071d\u071d\u0710",
szl:"\u015bl\u014dnski",ta:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd",te:"\u0c24\u0c46\u0c32\
u0c41\u0c17\u0c41",tem:"Timne",teo:"Kiteso",ter:"Tereno",tet:"Tetum",tg:"\u0442\
u043e\u04b7\u0438\u043a\u04e3",th:"\u0e44\u0e17\u0e22",ti:"\u1275\u130d\u122d\
u129b",tig:"Tigre",tiv:"Tiv",tk:"t\u00fcrkmen
dili",tkl:"Tokelau",tl:"Tagalog",tlh:"Klingon",tli:"Tlingit",tmh:"Tamashek",tn:"Tsw
ana",to:"lea fakatonga",tog:"Nyasa Tonga",tok:"toki pona",tpi:"Tok Pisin",tr:"T\
u00fcrk\u00e7e",trv:"Taroko",ts:"Tsonga",tsi:"Tsimshian",
tt:"\u0442\u0430\u0442\u0430\
u0440",tum:"Tumbuka",tvl:"Tuvalu",tw:"Twi",twq:"Tasawaq
senni",ty:"Tahitian",tyv:"Tuvinian",tzm:"Tamazi\u0263t n la\u1e6dla\
u1e63",udm:"Udmurt",ug:"\u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\
u06d5",uga:"Ugaritic",uk:"\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\
u0430",umb:"Umbundu",ur:"\u0627\u0631\u062f\u0648",uz:"o\u2018zbek",uz_Arab:"\
u0627\u0648\u0632\u0628\u06cc\u06a9 (\u0639\u0631\u0628\u06cc)",uz_Cyrl:"\u045e\
u0437\u0431\u0435\u043a\u0447\u0430 (\u041a\u0438\u0440\u0438\u043b)",
uz_Latn:"o\u2018zbek (lotin)",vai:"\ua559\ua524",vai_Latn:"Vai
(Latin)",vai_Vaii:"Vai (Vai)",ve:"Venda",vec:"veneto",vi:"Ti\u1ebfng Vi\
u1ec7t",vmw:"emakhuwa",vo:"Volap\
u00fck",vot:"Votic",vun:"Kyivunjo",wa:"Walloon",wae:"Walser",wal:"Wolaytta",war:"Wa
ray",was:"Washo",wo:"Wolof",xal:"Kalmyk",xh:"IsiXhosa",xnr:"\u0915\u093e\u0902\
u0917\u0921\u093c\
u0940",xog:"Olusoga",yao:"Yao",yap:"Yapese",yav:"nuasue",ybb:"Yemba",yi:"\u05d9\
u05d9\u05b4\u05d3\u05d9\u05e9",yo:"\u00c8d\u00e8 Yor\u00f9b\u00e1",yrl:"nhe\
u1ebdgatu",
yue:"\u7cb5\u8a9e",yue_Hans:"\u7ca4\u8bed (\u7b80\u4f53)",yue_Hant:"\u7cb5\u8a9e (\
u7e41\u9ad4)",za:"Vahcuengh",zap:"Zapotec",zbl:"Blissymbols",zen:"Zenaga",zgh:"\
u2d5c\u2d30\u2d4e\u2d30\u2d63\u2d49\u2d56\u2d5c",zh:"\u4e2d\u6587",zh_Hans:"\u4e2d\
u6587\uff08\u7b80\u4f53\uff09",zh_Hant:"\u4e2d\u6587\uff08\u7e41\u9ad4\
uff09",zh_TW:"\u4e2d\u6587\uff08\u53f0\u7063\uff09",zu:"isiZulu",zun:"Zuni",zxx:"No
linguistic content",zza:"Zaza"}};goog.locale.setLocale=function(a){a=a.replace(/-/
g,"_");goog.locale.activeLocale_=a};goog.locale.getLocale=function()
{goog.locale.activeLocale_||(goog.locale.activeLocale_="en");return
goog.locale.activeLocale_};
goog.locale.Resource={DATE_TIME_CONSTANTS:"DateTimeConstants",NUMBER_FORMAT_CONSTAN
TS:"NumberFormatConstants",TIME_ZONE_CONSTANTS:"TimeZoneConstants",LOCAL_NAME_CONST
ANTS:"LocaleNameConstants",TIME_ZONE_SELECTED_IDS:"TimeZoneSelectedIds",TIME_ZONE_S
ELECTED_SHORT_NAMES:"TimeZoneSelectedShortNames",TIME_ZONE_SELECTED_LONG_NAMES:"Tim
eZoneSelectedLongNames",TIME_ZONE_ALL_LONG_NAMES:"TimeZoneAllLongNames"};
goog.locale.getLanguageSubTag=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?
a[0].replace(/[_-]/g,""):""};goog.locale.getRegionSubTag=function(a)
{return(a=a.match(/[-_]([a-zA-Z]{2}|\d{3})([-_]|$)/))?a[0].replace(/[_-]/
g,""):""};goog.locale.getScriptSubTag=function(a){a=a.split(/[-_]/g);return
1<a.length&&a[1].match(/^[a-zA-Z]{4}$/)?
a[1]:""};goog.locale.getVariantSubTag=function(a){return(a=a.match(/[-_]([a-z]
{2,})/))?a[1]:""};
goog.locale.getNativeCountryName=function(a){var b=goog.locale.getLanguageSubTag(a)
+"_"+goog.locale.getRegionSubTag(a);return b in
goog.locale.nativeNameConstants.COUNTRY?
goog.locale.nativeNameConstants.COUNTRY[b]:a};goog.locale.getLocalizedCountryName=f
unction(a,b){var
c=goog.locale.getRegionSubTag(a);b=goog.locale.getLocalizedRegionNameFromRegionCode
(c,b);return b==c?a:b};
goog.locale.getLocalizedRegionNameFromRegionCode=function(a,b){b||
(b=goog.locale.getResource("LocaleNameConstants",goog.locale.getLocale()));return a
in b.COUNTRY?b.COUNTRY[a]:a};goog.locale.getNativeLanguageName=function(a){if(a in
goog.locale.nativeNameConstants.LANGUAGE)return
goog.locale.nativeNameConstants.LANGUAGE[a];var
b=goog.locale.getLanguageSubTag(a);return b in
goog.locale.nativeNameConstants.LANGUAGE?
goog.locale.nativeNameConstants.LANGUAGE[b]:a};
goog.locale.getLocalizedLanguageName=function(a,b){b||
(b=goog.locale.getResource("LocaleNameConstants",goog.locale.getLocale()));if(a in
b.LANGUAGE)return b.LANGUAGE[a];var c=goog.locale.getLanguageSubTag(a);return c in
b.LANGUAGE?b.LANGUAGE[c]:a};goog.locale.registerResource=function(a,b,c)
{goog.locale.resourceRegistry_[b]||
(goog.locale.resourceRegistry_[b]={});goog.locale.resourceRegistry_[b]
[c]=a;goog.locale.activeLocale_||(goog.locale.activeLocale_=c)};
goog.locale.isResourceRegistered=function(a,b){return a in
goog.locale.resourceRegistry_&&b in
goog.locale.resourceRegistry_[a]};goog.locale.resourceRegistry_={};goog.locale.regi
sterTimeZoneConstants=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.TIME_ZONE_CONSTANTS,b)};goog.l
ocale.registerLocaleNameConstants=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.LOCAL_NAME_CONSTANTS,b)};
goog.locale.registerTimeZoneSelectedIds=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.TIME_ZONE_SELECTED_IDS,b)};goo
g.locale.registerTimeZoneSelectedShortNames=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.TIME_ZONE_SELECTED_SHORT_NAMES
,b)};goog.locale.registerTimeZoneSelectedLongNames=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.TIME_ZONE_SELECTED_LONG_NAMES,
b)};
goog.locale.registerTimeZoneAllLongNames=function(a,b)
{goog.locale.registerResource(a,goog.locale.Resource.TIME_ZONE_ALL_LONG_NAMES,b)};g
oog.locale.getResource=function(a,b){b=b?b:goog.locale.getLocale();if(a in
goog.locale.resourceRegistry_)return goog.locale.resourceRegistry_[a][b]};
goog.locale.getResourceWithFallback=function(a,b){b=b?
b:goog.locale.getLocale();if(a in goog.locale.resourceRegistry_){if(b in
goog.locale.resourceRegistry_[a])return goog.locale.resourceRegistry_[a]
[b];b=b.split("_");return 1<b.length&&b[0]in goog.locale.resourceRegistry_[a]?
goog.locale.resourceRegistry_[a][b[0]]:goog.locale.resourceRegistry_[a].en}};var
module$contents$ocean$util$util_util={getUserLanguage:function(){var a=new
goog.Uri(window.location.href);a=a.getParameterValue("hl")||"fr";return
goog.locale.getLanguageSubTag(a)||"en"},normalizeString:function(a){return
goog.userAgent.product.IE?
a.toLowerCase():a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/
g,"").normalize("NFC")}};ocean.util.util=module$contents$ocean$util$util_util;var
module$exports$ocean$util$query={createTree:function(a){var
b={};module$exports$ocean$util$query.tokenize(a).forEach(function(c){for(var
d=b,e=0;e<c.length;e++){var
f=c.charAt(e);f=module$exports$ocean$util$searchRe.isSoftChar(f)?"-":f;d[f]||
(d[f]={});d=d[f]}d!=b&&(d.$=module$contents$ocean$util$query_PHRASE_END)});return
b},tokenize:function(a)
{a=module$exports$ocean$util$searchRe.normalizeQuotes(goog.string.collapseWhitespac
e(module$contents$ocean$util$util_util.normalizeString(a)));var
b=module$exports$ocean$util$searchRe.splitPhrases(a);
if(!b)return[];a=new Set;b=$jscomp.makeIterator(b);for(var c=b.next();!
c.done;c=b.next())if(c=c.value,c.startsWith('"'))a.add(module$exports$ocean$util$se
archRe.trimPhrase(c));else if(!c.startsWith("-"))
{c=module$exports$ocean$util$searchRe.splitSubTokens(module$exports$ocean$util$sear
chRe.trimPhrase(c));c=$jscomp.makeIterator(c);for(var d=c.next();!
d.done;d=c.next())d=d.value,a.add(d)}a.delete("");return
Array.from(a)}},module$contents$ocean$util$query_PHRASE_END={};var
module$exports$ocean$util$TextSearch=function(a,b){b=void 0===b?!
1:b;this.queryTree_="string"===typeof a?
module$exports$ocean$util$query.createTree(a):a;this.collapse_=b;this.matches_=[]};
module$exports$ocean$util$TextSearch.prototype.search=function(a,b,c,d){c=void
0===c?Infinity:c;d=void 0===d?[]:d;var e="
",f,g=module$contents$ocean$util$util_util.normalizeString(a);for(f=0;f<g.length&&d
.length<c;f++){var
h=g.charAt(f);a=module$exports$ocean$util$searchRe.isNormalizedWordBreak(e);if(modu
le$exports$ocean$util$searchRe.isWhitespace(h)){if(h=" ",a)continue}else
if(module$exports$ocean$util$searchRe.isSoftChar(h)){if(h="-",a)continue}else
a&&this.queryTree_[h]&&this.matches_.push(new
module$contents$ocean$util$TextSearch_Match(f,
this.queryTree_,b));this.matchChar_(h,f,b,d);e=h}module$exports$ocean$util$searchRe
.isNormalizedWordBreak(e)||this.matchChar_("
",f,b,d);d.length>=c&&(d.length=c);return d};
module$exports$ocean$util$TextSearch.prototype.matchChar_=function(a,b,c,d){for(var
e=module$contents$goog$array_peek(d),f=this.matches_,g=f.length-1,h;h=f[g];g--)
{if(h.nextChar(a,b,c)){var
k={startOffset:h.startOffset,startContext:h.startContext,endOffset:h.endOffset,endC
ontext:h.endContext};if(this.collapse_)for(;e&&e.startOffset<=k.endOffset&&k.startO
ffset<=e.endOffset&&e.startContext===k.startContext;)
{d.pop();if(e.startOffset<k.startOffset||
e.endOffset>k.endOffset)k={startOffset:e.startOffset,
startContext:e.startContext,endOffset:k.endOffset,endContext:k.endContext};e=module
$contents$goog$array_peek(d)}d.push(k);e=k}h.complete&&module$contents$goog$array_r
emoveAt(f,g)}};module$exports$ocean$util$TextSearch.SearchResult=function(){};var
module$contents$ocean$util$TextSearch_Match=function(a,b,c)
{this.startOffset=a;this.startContext=c;this.endOffset=a;this.endContext=c;this.com
plete=!1;this.queryTree_=b};
module$contents$ocean$util$TextSearch_Match.prototype.nextChar=function(a,b,c){var
d=!1;if(this.queryTree_)if(d=!!this.queryTree_.
$,module$exports$ocean$util$searchRe.isNormalizedWordBreak(a))
{if(this.queryTree_=this.queryTree_[" "]||
this.queryTree_["-"])for(;a=this.queryTree_[" "]||
this.queryTree_["-"];)this.queryTree_=a}else
this.endOffset=b+1,this.endContext=c,this.queryTree_=this.queryTree_[a]||
null;this.complete=!this.queryTree_;return d};function
module$contents$ocean$util$search_search(a,b,c,d){c=void 0===c?Infinity:c;d=void
0===d?!1:d;return(new module$exports$ocean$util$TextSearch(b,d)).search(a,void
0,c)}module$contents$ocean$util$search_search.searchUsingQueryTree=function(a,b,c,d
){c=void 0===c?Infinity:c;d=void 0===d?!1:d;return(new
module$exports$ocean$util$TextSearch(b,d)).search(a,void
0,c)};ocean.patents={};ocean.patents.Highlighter={};function
module$contents$ocean$patents$Highlighter_SetEnabled(a)
{goog.dom.classlist.enable(window.document.body,"patent-highlight-disabled",!
a)}function module$contents$ocean$patents$Highlighter_HighlightPage(){var
a=goog.uri.utils.getParamValue(window.location.href,"dq")||
goog.uri.utils.getParamValue(window.location.href,"q");a&&module$contents$ocean$pat
ents$Highlighter_HighlightPageUsingQuery(a)}
function module$contents$ocean$patents$Highlighter_HighlightPageUsingQuery(a){var
b=module$exports$ocean$util$query.createTree(a);a=module$contents$ocean$patents$Hig
hlighter_GetTextNodes();Array.prototype.forEach.call(a,function(c)
{module$contents$ocean$patents$Highlighter_HighlightTextNode(b,c)})}
function module$contents$ocean$patents$Highlighter_GetTextNodes(){var
a=[],b=module$contents$goog$array_toArray(goog.dom.getElementsByClass("patent-
text")),c=goog.dom.getElementByClass("patent-
title");for(c&&b.push(c);c=b.pop();)c.nodeType==goog.dom.NodeType.TEXT?
a.push(c):module$contents$goog$array_extend(b,c.childNodes);return a}
function module$contents$ocean$patents$Highlighter_HighlightTextNode(a,b){var
c=goog.dom.getRawTextContent(b);a=module$contents$ocean$util$search_search.searchUs
ingQueryTree(c,a,void 0,!0);if(a.length){var d=[],e=0;a.forEach(function(f)
{d.push(c.substring(e,f.startOffset),
(0,module$exports$google3$third_party$javascript$safevalues$index.createHtml)
("span",{"class":"patent-text-
highlight"},c.substring(f.startOffset,f.endOffset)));e=f.endOffset});d.push(c.subst
ring(e));a=goog.dom.createElement("span");
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml(a,
(0,module$exports$google3$third_party$javascript$safevalues$index.concatHtmls)
(d));goog.dom.replaceNode(a,b)}}ocean.patents.Highlighter.HighlightPage=module$cont
ents$ocean$patents$Highlighter_HighlightPage;ocean.patents.Highlighter.HighlightPag
eUsingQuery=module$contents$ocean$patents$Highlighter_HighlightPageUsingQuery;ocean
.patents.Highlighter.SetEnabled=module$contents$ocean$patents$Highlighter_SetEnable
d;var module$exports$ocean$patents$HighlighterControl=function()
{goog.ui.MenuItem.call(this,"D\u00e9sactiver la
surbrillance");module$contents$ocean$patents$Highlighter_HighlightPage();this.enabl
ed_=!0};
$jscomp.inherits(module$exports$ocean$patents$HighlighterControl,goog.ui.MenuItem);
module$exports$ocean$patents$HighlighterControl.prototype.enterDocument=function()
{goog.ui.MenuItem.prototype.enterDocument.call(this);this.getHandler().listen(this,
goog.ui.Component.EventType.ACTION,this.toggle_)};
module$exports$ocean$patents$HighlighterControl.prototype.toggle_=function()
{this.enabled_=!
this.enabled_;module$contents$ocean$patents$Highlighter_SetEnabled(this.enabled_);t
his.setContent(this.enabled_?"D\u00e9sactiver la surbrillance":"Activer la
surbrillance")};goog.ui.INLINE_BLOCK_CLASSNAME="goog-inline-
block";goog.ui.ToolbarSeparatorRenderer=function()
{};goog.inherits(goog.ui.ToolbarSeparatorRenderer,goog.ui.MenuSeparatorRenderer);go
og.addSingletonGetter(goog.ui.ToolbarSeparatorRenderer);goog.ui.ToolbarSeparatorRen
derer.CSS_CLASS="goog-toolbar-
separator";goog.ui.ToolbarSeparatorRenderer.prototype.createDom=function(a){return
a.getDomHelper().createDom(goog.dom.TagName.DIV,this.getClassNames(a).join(" ")+"
"+goog.ui.INLINE_BLOCK_CLASSNAME,"\u00a0")};
goog.ui.ToolbarSeparatorRenderer.prototype.decorate=function(a,b)
{b=goog.ui.ToolbarSeparatorRenderer.superClass_.decorate.call(this,a,b);goog.assert
s.assert(b);goog.dom.classlist.add(b,goog.ui.INLINE_BLOCK_CLASSNAME);return
b};goog.ui.ToolbarSeparatorRenderer.prototype.getCssClass=function(){return
goog.ui.ToolbarSeparatorRenderer.CSS_CLASS};function
module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer(a)
{this.localStyleClass_=a}goog.inherits(module$contents$ocean$ui$SeparatorRenderer_S
eparatorRenderer,goog.ui.ToolbarSeparatorRenderer);module$contents$ocean$ui$Separat
orRenderer_SeparatorRenderer.CSS_CLASS="ocean-chrome-
separator";module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.instance_={
};module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.prototype.getCssClas
s=function(){return this.localStyleClass_||
module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.CSS_CLASS};
module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.getInstance=function(a
){return
module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.instance_[a]||
(module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer.instance_[a]=new
module$contents$ocean$ui$SeparatorRenderer_SeparatorRenderer(a))};goog.ui.CustomBut
tonRenderer=function()
{};goog.inherits(goog.ui.CustomButtonRenderer,goog.ui.ButtonRenderer);goog.addSingl
etonGetter(goog.ui.CustomButtonRenderer);goog.ui.CustomButtonRenderer.CSS_CLASS="go
og-custom-button";goog.ui.CustomButtonRenderer.prototype.createDom=function(a){var
b=this.getClassNames(a);b=a.getDomHelper().createDom(goog.dom.TagName.DIV,goog.ui.I
NLINE_BLOCK_CLASSNAME+" "+b.join("
"),this.createButton(a.getContent(),a.getDomHelper()));this.setTooltip(b,a.getToolt
ip());return b};
goog.ui.CustomButtonRenderer.prototype.getAriaRole=function(){return
goog.a11y.aria.Role.BUTTON};goog.ui.CustomButtonRenderer.prototype.getContentElemen
t=function(a){return
a&&a.firstChild&&a.firstChild.firstChild};goog.ui.CustomButtonRenderer.prototype.cr
eateButton=function(a,b){return
b.createDom(goog.dom.TagName.DIV,goog.ui.INLINE_BLOCK_CLASSNAME+" "+
(this.getCssClass()+"-outer-
box"),b.createDom(goog.dom.TagName.DIV,goog.ui.INLINE_BLOCK_CLASSNAME+" "+
(this.getCssClass()+"-inner-box"),a))};
goog.ui.CustomButtonRenderer.prototype.canDecorate=function(a){return
a.tagName==goog.dom.TagName.DIV};goog.ui.CustomButtonRenderer.prototype.hasBoxStruc
ture=function(a,b){b=a.getDomHelper().getFirstElementChild(b);var
c=this.getCssClass()+"-outer-box";return
b&&goog.dom.classlist.contains(b,c)&&(a=a.getDomHelper().getFirstElementChild(b),b=
this.getCssClass()+"-inner-box",a&&goog.dom.classlist.contains(a,b))?!0:!1};
goog.ui.CustomButtonRenderer.prototype.decorate=function(a,b)
{goog.asserts.assert(b);goog.ui.CustomButtonRenderer.trimTextNodes_(b,!
0);goog.ui.CustomButtonRenderer.trimTextNodes_(b,!1);this.hasBoxStructure(a,b)||
b.appendChild(this.createButton(b.childNodes,a.getDomHelper()));goog.dom.classlist.
addAll(b,[goog.ui.INLINE_BLOCK_CLASSNAME,this.getCssClass()]);return
goog.ui.CustomButtonRenderer.superClass_.decorate.call(this,a,b)};goog.ui.CustomBut
tonRenderer.prototype.getCssClass=function(){return
goog.ui.CustomButtonRenderer.CSS_CLASS};
goog.ui.CustomButtonRenderer.trimTextNodes_=function(a,b){if(a)for(var c=b?
a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?
c.nextSibling:c.previousSibling;if(c.nodeType==goog.dom.NodeType.TEXT){var
e=c.nodeValue;if(""==goog.string.trim(e))a.removeChild(c);else{c.nodeValue=b?
goog.string.trimLeft(e):goog.string.trimRight(e);break}}else
break;c=d}};goog.ui.ToolbarButtonRenderer=function()
{};goog.inherits(goog.ui.ToolbarButtonRenderer,goog.ui.CustomButtonRenderer);goog.a
ddSingletonGetter(goog.ui.ToolbarButtonRenderer);goog.ui.ToolbarButtonRenderer.CSS_
CLASS="goog-toolbar-
button";goog.ui.ToolbarButtonRenderer.prototype.getCssClass=function(){return
goog.ui.ToolbarButtonRenderer.CSS_CLASS};function
module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer(a)
{this.localStyleClass_=a}goog.inherits(module$contents$ocean$ui$ToolbarButtonRender
er_ToolbarButtonRenderer,goog.ui.ToolbarButtonRenderer);module$contents$ocean$ui$To
olbarButtonRenderer_ToolbarButtonRenderer.CSS_CLASS="ocean-chrome-
button";module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.instan
ce_={};
module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.prototype.getC
ssClass=function(){return this.localStyleClass_||
module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.CSS_CLASS};mod
ule$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.getInstance=funct
ion(a){return
module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.instance_[a]||
(module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer.instance_[a]=
new
module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer(a))};goog.ui.T
oolbarRenderer=function()
{goog.ui.ContainerRenderer.call(this,goog.a11y.aria.Role.TOOLBAR)};goog.inherits(go
og.ui.ToolbarRenderer,goog.ui.ContainerRenderer);goog.addSingletonGetter(goog.ui.To
olbarRenderer);goog.ui.ToolbarRenderer.CSS_CLASS="goog-toolbar";
goog.ui.ToolbarRenderer.prototype.getDecoratorForChild=function(a){return
a.tagName==goog.dom.TagName.HR?new
goog.ui.Separator(goog.ui.ToolbarSeparatorRenderer.getInstance()):goog.ui.ToolbarRe
nderer.superClass_.getDecoratorForChild.call(this,a)};goog.ui.ToolbarRenderer.proto
type.getCssClass=function(){return
goog.ui.ToolbarRenderer.CSS_CLASS};goog.ui.ToolbarRenderer.prototype.getDefaultOrie
ntation=function(){return goog.ui.Container.Orientation.HORIZONTAL};function
module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer(a)
{goog.ui.ToolbarRenderer.call(this);this.localStyleClass_=a}goog.inherits(module$co
ntents$ocean$ui$ToolbarRenderer_ToolbarRenderer,goog.ui.ToolbarRenderer);module$con
tents$ocean$ui$ToolbarRenderer_ToolbarRenderer.CSS_CLASS="ocean-chrome-
toolbar";module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer.instance_={};
module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer.prototype.getCssClass=func
tion(){return this.localStyleClass_||
module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer.CSS_CLASS};module$contents
$ocean$ui$ToolbarRenderer_ToolbarRenderer.getInstance=function(a){return
module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer.instance_[a]||
(module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer.instance_[a]=new
module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer(a))};goog.ui.SelectionMode
l=function(a)
{goog.events.EventTarget.call(this);this.items_=[];this.addItems(a)};goog.inherits(
goog.ui.SelectionModel,goog.events.EventTarget);goog.ui.SelectionModel.prototype.se
lectedItem_=null;goog.ui.SelectionModel.prototype.selectionHandler_=null;goog.ui.Se
lectionModel.prototype.setSelectionHandler=function(a)
{this.selectionHandler_=a};goog.ui.SelectionModel.prototype.getItemCount=function()
{return this.items_.length};
goog.ui.SelectionModel.prototype.indexOfItem=function(a){return a?
this.items_.indexOf(a):-1};goog.ui.SelectionModel.prototype.getItemAt=function(a)
{return this.items_[a]||null};goog.ui.SelectionModel.prototype.addItems=function(a)
{a&&(a.forEach(function(b){this.selectItem_(b,!
1)},this),module$contents$goog$array_extend(this.items_,a))};goog.ui.SelectionModel
.prototype.addItem=function(a){this.addItemAt(a,this.getItemCount())};
goog.ui.SelectionModel.prototype.addItemAt=function(a,b){a&&(this.selectItem_(a,!
1),module$contents$goog$array_insertAt(this.items_,a,b))};goog.ui.SelectionModel.pr
ototype.removeItem=function(a)
{a&&module$contents$goog$array_remove(this.items_,a)&&a==this.selectedItem_&&(this.
selectedItem_=null,this.dispatchEvent(goog.events.EventType.SELECT))};goog.ui.Selec
tionModel.prototype.getSelectedItem=function(){return
this.selectedItem_};goog.ui.SelectionModel.prototype.getItems=function(){return
module$contents$goog$array_toArray(this.items_)};
goog.ui.SelectionModel.prototype.setSelectedItem=function(a){a!
=this.selectedItem_&&(this.selectItem_(this.selectedItem_,!
1),this.selectedItem_=a,this.selectItem_(a,!
0));this.dispatchEvent(goog.events.EventType.SELECT)};goog.ui.SelectionModel.protot
ype.getSelectedIndex=function(){return
this.indexOfItem(this.selectedItem_)};goog.ui.SelectionModel.prototype.setSelectedI
ndex=function(a){this.setSelectedItem(this.getItemAt(a))};
goog.ui.SelectionModel.prototype.clear=function()
{module$contents$goog$array_clear(this.items_);this.selectedItem_=null};goog.ui.Sel
ectionModel.prototype.disposeInternal=function()
{goog.ui.SelectionModel.superClass_.disposeInternal.call(this);delete
this.items_;this.selectedItem_=null};goog.ui.SelectionModel.prototype.selectItem_=f
unction(a,b){a&&("function"==typeof this.selectionHandler_?
this.selectionHandler_(a,b):"function"==typeof
a.setSelected&&a.setSelected(b))};goog.ui.Toolbar=function(a,b,c)
{goog.ui.Container.call(this,b,a||
goog.ui.ToolbarRenderer.getInstance(),c)};goog.inherits(goog.ui.Toolbar,goog.ui.Con
tainer);goog.ui.Toolbar.prototype.handleFocus=function(a)
{goog.ui.Toolbar.superClass_.handleFocus.call(this,a);this.mouseButtonPressed_||
this.highlightFirst()};goog.ui.ToolbarButton=function(a,b,c)
{goog.ui.Button.call(this,a,b||
goog.ui.ToolbarButtonRenderer.getInstance(),c)};goog.inherits(goog.ui.ToolbarButton
,goog.ui.Button);goog.ui.registry.setDecoratorByClassName(goog.ui.ToolbarButtonRend
erer.CSS_CLASS,function(){return new
goog.ui.ToolbarButton(null)});goog.ui.ToolbarSeparator=function(a,b)
{goog.ui.Separator.call(this,a||
goog.ui.ToolbarSeparatorRenderer.getInstance(),b)};goog.inherits(goog.ui.ToolbarSep
arator,goog.ui.Separator);goog.ui.registry.setDecoratorByClassName(goog.ui.ToolbarS
eparatorRenderer.CSS_CLASS,function(){return new goog.ui.ToolbarSeparator});var
module$contents$ocean$ui$Toolbar_Toolbar=function(a,b)
{goog.ui.Toolbar.call(this,module$contents$ocean$ui$ToolbarRenderer_ToolbarRenderer
.getInstance(a||"viewport-chrome-toolbar"));this.defaultButtonStyle_=b||"viewport-
chrome-toolbar-button";this.buttonGroups_={};this.eventHandler_=new
goog.events.EventHandler(this)};
$jscomp.inherits(module$contents$ocean$ui$Toolbar_Toolbar,goog.ui.Toolbar);
module$contents$ocean$ui$Toolbar_Toolbar.prototype.makeButtonToggle=function(a,b,c)
{a.setSupportedState(goog.ui.Component.State.CHECKED,!0);if(b){var
d=this.buttonGroups_[b];d||(d=new
goog.ui.SelectionModel,d.setSelectionHandler(function(e,f)
{e&&e.setChecked(f)}),this.buttonGroups_[b]=d);d.addItem(a);a.setAutoStates(goog.ui
.Component.State.CHECKED,!
1);goog.events.listen(a,goog.ui.Component.EventType.ACTION,function(e)
{d.setSelectedItem(e.target)});c&&d.setSelectedItem(a)}else
a.setState(goog.ui.Component.State.CHECKED,
!!c)};module$contents$ocean$ui$Toolbar_Toolbar.prototype.setSelection=function(a,b)
{this.buttonGroups_[a]&&this.buttonGroups_[a].setSelectedItem(b)};module$contents$o
cean$ui$Toolbar_Toolbar.prototype.addSeparator=function(){var a=new
goog.ui.ToolbarSeparator(module$contents$ocean$ui$SeparatorRenderer_SeparatorRender
er.getInstance("top-toolbar-separator"));this.addChild(a,!0);return a};
module$contents$ocean$ui$Toolbar_Toolbar.prototype.createButton_=function(a,b,c,d,e
){a=e||goog.dom.createDom(goog.dom.TagName.DIV,
{"class":a});d=module$contents$ocean$ui$ToolbarButtonRenderer_ToolbarButtonRenderer
.getInstance(d||this.defaultButtonStyle_);d=new
goog.ui.ToolbarButton(a,d);c&&d.setTooltip(c);b&&goog.events.listen(d,goog.ui.Compo
nent.EventType.ACTION,goog.partial(b,d));return d};
module$contents$ocean$ui$Toolbar_Toolbar.prototype.disposeInternal=function()
{goog.ui.Toolbar.prototype.disposeInternal.call(this);this.eventHandler_.dispose();
module$contents$goog$object_forEach(this.buttonGroups_,function(a)
{a.dispose()})};ocean.ui.Toolbar=module$contents$ocean$ui$Toolbar_Toolbar;goog.ui.F
latButtonRenderer=function()
{};goog.inherits(goog.ui.FlatButtonRenderer,goog.ui.ButtonRenderer);goog.addSinglet
onGetter(goog.ui.FlatButtonRenderer);goog.ui.FlatButtonRenderer.CSS_CLASS="goog-
flat-button";goog.ui.FlatButtonRenderer.prototype.createDom=function(a){var
b=this.getClassNames(a);b=a.getDomHelper().createDom(goog.dom.TagName.DIV,goog.ui.I
NLINE_BLOCK_CLASSNAME+" "+b.join("
"),a.getContent());this.setTooltip(b,a.getTooltip());return b};
goog.ui.FlatButtonRenderer.prototype.getAriaRole=function(){return
goog.a11y.aria.Role.BUTTON};goog.ui.FlatButtonRenderer.prototype.canDecorate=functi
on(a){return
a.tagName==goog.dom.TagName.DIV};goog.ui.FlatButtonRenderer.prototype.decorate=func
tion(a,b)
{goog.asserts.assert(b);goog.dom.classlist.add(b,goog.ui.INLINE_BLOCK_CLASSNAME);re
turn
goog.ui.FlatButtonRenderer.superClass_.decorate.call(this,a,b)};goog.ui.FlatButtonR
enderer.prototype.getValue=function(){return""};
goog.ui.FlatButtonRenderer.prototype.getCssClass=function(){return
goog.ui.FlatButtonRenderer.CSS_CLASS};goog.ui.registry.setDecoratorByClassName(goog
.ui.FlatButtonRenderer.CSS_CLASS,function(){return new
goog.ui.Button(null,goog.ui.FlatButtonRenderer.getInstance())});goog.ui.MenuButtonR
enderer=function()
{};goog.inherits(goog.ui.MenuButtonRenderer,goog.ui.CustomButtonRenderer);goog.addS
ingletonGetter(goog.ui.MenuButtonRenderer);goog.ui.MenuButtonRenderer.CSS_CLASS="go
og-menu-button";goog.ui.MenuButtonRenderer.prototype.getContentElement=function(a)
{return
goog.ui.MenuButtonRenderer.superClass_.getContentElement.call(this,a&&a.firstChild)
};
goog.ui.MenuButtonRenderer.prototype.decorate=function(a,b){var
c=goog.dom.getElementsByTagNameAndClass("*",goog.ui.MenuRenderer.CSS_CLASS,b)
[0];if(c){goog.style.setElementShown(c,!
1);goog.dom.appendChild(goog.dom.getOwnerDocument(c).body,c);var d=new
goog.ui.Menu;d.decorate(c);a.setMenu(d)}return
goog.ui.MenuButtonRenderer.superClass_.decorate.call(this,a,b)};
goog.ui.MenuButtonRenderer.prototype.createButton=function(a,b){return
goog.ui.MenuButtonRenderer.superClass_.createButton.call(this,
[this.createCaption(a,b),this.createDropdown(b)],b)};goog.ui.MenuButtonRenderer.pro
totype.createCaption=function(a,b){return
goog.ui.MenuButtonRenderer.wrapCaption(a,this.getCssClass(),b)};goog.ui.MenuButtonR
enderer.wrapCaption=function(a,b,c){return
c.createDom(goog.dom.TagName.DIV,goog.ui.INLINE_BLOCK_CLASSNAME+" "+(b+"-
caption"),a)};
goog.ui.MenuButtonRenderer.prototype.createDropdown=function(a){return
a.createDom(goog.dom.TagName.DIV,goog.ui.INLINE_BLOCK_CLASSNAME+" "+
(this.getCssClass()+"-dropdown"),"\
u00a0")};goog.ui.MenuButtonRenderer.prototype.getCssClass=function(){return
goog.ui.MenuButtonRenderer.CSS_CLASS};goog.ui.SubMenuRenderer=function()
{goog.ui.MenuItemRenderer.call(this)};goog.inherits(goog.ui.SubMenuRenderer,goog.ui
.MenuItemRenderer);goog.addSingletonGetter(goog.ui.SubMenuRenderer);goog.ui.SubMenu
Renderer.CSS_CLASS="goog-submenu";goog.ui.SubMenuRenderer.CSS_CLASS_SUBMENU_="goog-
submenu-arrow";
goog.ui.SubMenuRenderer.prototype.createDom=function(a){var
b=goog.ui.SubMenuRenderer.superClass_.createDom.call(this,a);goog.asserts.assert(b)
;goog.dom.classlist.add(b,goog.ui.SubMenuRenderer.CSS_CLASS);this.addArrow_(a,b);re
turn b};
goog.ui.SubMenuRenderer.prototype.decorate=function(a,b)
{b=goog.ui.SubMenuRenderer.superClass_.decorate.call(this,a,b);goog.asserts.assert(
b);goog.dom.classlist.add(b,goog.ui.SubMenuRenderer.CSS_CLASS);this.addArrow_(a,b);
var c=goog.dom.getElementsByTagNameAndClass(goog.dom.TagName.DIV,"goog-
menu",b);if(c.length){var d=new
goog.ui.Menu(a.getDomHelper());c=c[0];goog.style.setElementShown(c,!
1);a.getDomHelper().getDocument().body.appendChild(c);d.decorate(c);a.setMenu(d,!
0)}return b};
goog.ui.SubMenuRenderer.prototype.setContent=function(a,b){var
c=this.getContentElement(a),d=c&&c.lastChild;goog.ui.SubMenuRenderer.superClass_.se
tContent.call(this,a,b);d&&c.lastChild!
=d&&goog.dom.classlist.contains(d,goog.ui.SubMenuRenderer.CSS_CLASS_SUBMENU_)&&c.ap
pendChild(d)};
goog.ui.SubMenuRenderer.prototype.initializeDom=function(a)
{goog.ui.SubMenuRenderer.superClass_.initializeDom.call(this,a);var
b=a.getContentElement(),c=a.getDomHelper().getElementsByTagNameAndClass(goog.dom.Ta
gName.SPAN,goog.ui.SubMenuRenderer.CSS_CLASS_SUBMENU_,b)
[0];goog.ui.SubMenuRenderer.setArrowTextContent_(a,c);c!
=b.lastChild&&b.appendChild(c);a=a.getElement();goog.asserts.assert(a,"The sub menu
DOM element cannot be
null.");goog.a11y.aria.setState(a,goog.a11y.aria.State.HASPOPUP,"true")};
goog.ui.SubMenuRenderer.prototype.addArrow_=function(a,b){var
c=a.getDomHelper().createDom(goog.dom.TagName.SPAN);c.className=goog.ui.SubMenuRend
erer.CSS_CLASS_SUBMENU_;goog.ui.SubMenuRenderer.setArrowTextContent_(a,c);this.getC
ontentElement(b).appendChild(c)};goog.ui.SubMenuRenderer.LEFT_ARROW_="\
u25c4";goog.ui.SubMenuRenderer.RIGHT_ARROW_="\u25ba";
goog.ui.SubMenuRenderer.setArrowTextContent_=function(a,b){var
c=goog.ui.SubMenuRenderer.LEFT_ARROW_,d=goog.ui.SubMenuRenderer.RIGHT_ARROW_;goog.a
sserts.assert(b);a.isRightToLeft()?(goog.dom.classlist.add(b,"goog-submenu-arrow-
rtl"),goog.dom.setTextContent(b,a.alignToEnd_?c:d)):
(goog.dom.classlist.remove(b,"goog-submenu-arrow-
rtl"),goog.dom.setTextContent(b,a.alignToEnd_?
d:c))};goog.ui.SubMenu=function(a,b,c,d){goog.ui.MenuItem.call(this,a,b,c,d||
goog.ui.SubMenuRenderer.getInstance())};goog.inherits(goog.ui.SubMenu,goog.ui.MenuI
tem);goog.ui.SubMenu.MENU_DELAY_MS=218;goog.ui.SubMenu.prototype.dismissTimer_=null
;goog.ui.SubMenu.prototype.showTimer_=null;goog.ui.SubMenu.prototype.menuIsVisible_
=!
1;goog.ui.SubMenu.prototype.subMenu_=null;goog.ui.SubMenu.prototype.externalSubMenu
_=!1;goog.ui.SubMenu.prototype.alignToEnd_=!
0;goog.ui.SubMenu.prototype.isPositionAdjustable_=!1;
goog.ui.SubMenu.prototype.enterDocument=function()
{goog.ui.SubMenu.superClass_.enterDocument.call(this);this.getHandler().listen(this
.getParent(),goog.ui.Component.EventType.HIDE,this.onParentHidden_);this.subMenu_&&
this.setMenuListenersEnabled_(this.subMenu_,!0)};
goog.ui.SubMenu.prototype.exitDocument=function()
{this.getHandler().unlisten(this.getParent(),goog.ui.Component.EventType.HIDE,this.
onParentHidden_);this.subMenu_&&(this.setMenuListenersEnabled_(this.subMenu_,!
1),this.externalSubMenu_||
(this.subMenu_.exitDocument(),goog.dom.removeNode(this.subMenu_.getElement())));goo
g.ui.SubMenu.superClass_.exitDocument.call(this)};
goog.ui.SubMenu.prototype.disposeInternal=function(){this.subMenu_&&!
this.externalSubMenu_&&this.subMenu_.dispose();this.subMenu_=null;goog.ui.SubMenu.s
uperClass_.disposeInternal.call(this)};goog.ui.SubMenu.prototype.setHighlighted=fun
ction(a,b)
{goog.ui.SubMenu.superClass_.setHighlighted.call(this,a);b&&this.getMenu().setMouse
ButtonPressed(!0);a||
(this.dismissTimer_&&goog.Timer.clear(this.dismissTimer_),this.dismissTimer_=goog.T
imer.callOnce(this.dismissSubMenu,this.getMenuDelay(),this))};
goog.ui.SubMenu.prototype.showSubMenu=function(){var
a=this.getParent();a&&a.getHighlighted()==this&&(this.setSubMenuVisible_(!
0),this.dismissSiblings_())};goog.ui.SubMenu.prototype.dismissSubMenu=function()
{var a=this.subMenu_;a&&a.getParent()==this&&(this.setSubMenuVisible_(!
1),a.forEachChild(function(b){"function"==typeof
b.dismissSubMenu&&b.dismissSubMenu()}))};goog.ui.SubMenu.prototype.clearTimers=func
tion()
{this.dismissTimer_&&goog.Timer.clear(this.dismissTimer_);this.showTimer_&&goog.Tim
er.clear(this.showTimer_)};
goog.ui.SubMenu.prototype.setVisible=function(a,b)
{(a=goog.ui.SubMenu.superClass_.setVisible.call(this,a,b))&&!
this.isVisible()&&this.dismissSubMenu();return
a};goog.ui.SubMenu.prototype.dismissSiblings_=function()
{this.getParent().forEachChild(function(a){a!=this&&"function"==typeof
a.dismissSubMenu&&(a.dismissSubMenu(),a.clearTimers())},this)};
goog.ui.SubMenu.prototype.handleKeyEvent=function(a){var
b=a.keyCode,c=this.isRightToLeft()?
goog.events.KeyCodes.LEFT:goog.events.KeyCodes.RIGHT,d=this.isRightToLeft()?
goog.events.KeyCodes.RIGHT:goog.events.KeyCodes.LEFT;if(!this.menuIsVisible_){if(!
this.isEnabled()||b!=c&&b!=goog.events.KeyCodes.ENTER&&b!=this.mnemonicKey_)return!
1;this.showSubMenu();this.getMenu().highlightFirst();this.clearTimers()}else if(!
this.getMenu().handleKeyEvent(a))if(b==d)this.dismissSubMenu();else return!
1;a.preventDefault();
return!0};goog.ui.SubMenu.prototype.onChildEnter_=function()
{this.subMenu_.getParent()==this&&(this.clearTimers(),this.getParentEventTarget().s
etHighlighted(this),this.dismissSiblings_())};goog.ui.SubMenu.prototype.onParentHid
den_=function(a)
{a.target==this.getParentEventTarget()&&(this.dismissSubMenu(),this.clearTimers())}
;
goog.ui.SubMenu.prototype.handleMouseOver=function(a)
{this.isEnabled()&&(this.clearTimers(),this.showTimer_=goog.Timer.callOnce(this.sho
wSubMenu,this.getMenuDelay(),this));goog.ui.SubMenu.superClass_.handleMouseOver.cal
l(this,a)};goog.ui.SubMenu.prototype.getMenuDelay=function(){return
goog.ui.SubMenu.MENU_DELAY_MS};
goog.ui.SubMenu.prototype.performActionInternal=function(a){this.clearTimers();var
b=this.isSupportedState(goog.ui.Component.State.SELECTED)||
this.isSupportedState(goog.ui.Component.State.CHECKED);if(b)return
goog.ui.SubMenu.superClass_.performActionInternal.call(this,a);this.showSubMenu();r
eturn!0};
goog.ui.SubMenu.prototype.setSubMenuVisible_=function(a){!
a&&this.getMenu()&&this.getMenu().setHighlightedIndex(-
1);this.dispatchEvent(goog.ui.Component.getStateTransitionEvent(goog.ui.Component.S
tate.OPENED,a));var b=this.getMenu();a!
=this.menuIsVisible_&&goog.dom.classlist.enable(goog.asserts.assert(this.getElement
()),"goog-submenu-open",a);a!=b.isVisible()&&(a&&(b.isInDocument()||
b.render(),b.setHighlightedIndex(-
1)),b.setVisible(a),a&&this.positionSubMenu());this.menuIsVisible_=a};
goog.ui.SubMenu.prototype.setMenuListenersEnabled_=function(a,b){var
c=this.getHandler();b=b?
c.listen:c.unlisten;b.call(c,a,goog.ui.Component.EventType.ENTER,this.onChildEnter_
)};
goog.ui.SubMenu.prototype.positionSubMenu=function(){var a=new
goog.positioning.AnchoredViewportPosition(this.getElement(),this.alignToEnd_?
goog.positioning.Corner.TOP_END:goog.positioning.Corner.TOP_START,this.isPositionAd
justable_),b=this.getMenu(),c=b.getElement();b.isVisible()||
(c.style.visibility="hidden",goog.style.setElementShown(c,!
0));a.reposition(c,this.alignToEnd_?
goog.positioning.Corner.TOP_START:goog.positioning.Corner.TOP_END);b.isVisible()||
(goog.style.setElementShown(c,!1),c.style.visibility=
"visible")};goog.ui.SubMenu.prototype.addItem=function(a)
{this.getMenu().addChild(a,!0)};goog.ui.SubMenu.prototype.addItemAt=function(a,b)
{this.getMenu().addChildAt(a,b,!
0)};goog.ui.SubMenu.prototype.removeItem=function(a)
{(a=this.getMenu().removeChild(a,!
0))&&a.dispose()};goog.ui.SubMenu.prototype.getItemAt=function(a){return
this.getMenu().getChildAt(a)};goog.ui.SubMenu.prototype.getItemCount=function()
{return
this.getMenu().getChildCount()};goog.ui.SubMenu.prototype.getItems=function()
{return this.getMenu().getItems()};
goog.ui.SubMenu.prototype.getMenu=function(){this.subMenu_?
this.externalSubMenu_&&this.subMenu_.getParent()!
=this&&this.subMenu_.setParent(this):this.setMenu(new
goog.ui.Menu(this.getDomHelper()),!0);this.subMenu_.getElement()||
this.subMenu_.createDom();return this.subMenu_};
goog.ui.SubMenu.prototype.setMenu=function(a,b){var c=this.subMenu_;a!
=c&&(c&&(this.dismissSubMenu(),this.isInDocument()&&this.setMenuListenersEnabled_(c
,!1)),this.subMenu_=a,this.externalSubMenu_=!b,a&&(a.setParent(this),a.setVisible(!
1,!0),a.setAllowAutoFocus(!1),a.setFocusable(!
1),this.isInDocument()&&this.setMenuListenersEnabled_(a,!
0)))};goog.ui.SubMenu.prototype.containsElement=function(a){return
this.getMenu().containsElement(a)};goog.ui.registry.setDecoratorByClassName("goog-
submenu",function(){return new
goog.ui.SubMenu(null)});goog.ui.MenuButton=function(a,b,c,d,e)
{goog.ui.Button.call(this,a,c||
goog.ui.MenuButtonRenderer.getInstance(),d);this.setSupportedState(goog.ui.Componen
t.State.OPENED,!0);this.menuPosition_=new
goog.positioning.MenuAnchoredPosition(null,goog.positioning.Corner.BOTTOM_START);b&
&this.setMenu(b);this.menuMargin_=null;this.timer_=new
goog.Timer(500);this.closeOnEnterOrSpace_=!0;this.menuRenderer_=e||
goog.ui.MenuRenderer.getInstance()};goog.inherits(goog.ui.MenuButton,goog.ui.Button
);
goog.ui.MenuButton.prototype.isFocusablePopupMenu_=!
1;goog.ui.MenuButton.prototype.renderMenuAsSibling_=!
1;goog.ui.MenuButton.prototype.selectFirstOnEnterOrSpace_=!
1;goog.ui.MenuButton.prototype.enterDocument=function()
{goog.ui.MenuButton.superClass_.enterDocument.call(this);this.attachKeyDownEventLis
tener_(!0);this.menu_&&this.attachMenuEventListeners_(this.menu_,!
0);goog.a11y.aria.setState(this.getElementStrict(),goog.a11y.aria.State.HASPOPUP,!!
this.menu_)};
goog.ui.MenuButton.prototype.exitDocument=function()
{goog.ui.MenuButton.superClass_.exitDocument.call(this);this.attachKeyDownEventList
ener_(!1);if(this.menu_){this.setOpen(!
1);this.menu_.exitDocument();this.attachMenuEventListeners_(this.menu_,!1);var
a=this.menu_.getElement();a&&goog.dom.removeNode(a)}};
goog.ui.MenuButton.prototype.disposeInternal=function()
{goog.ui.MenuButton.superClass_.disposeInternal.call(this);this.menu_&&(this.menu_.
dispose(),delete this.menu_);delete
this.positionElement_;this.timer_.dispose()};goog.ui.MenuButton.prototype.handleMou
seDown=function(a)
{goog.ui.MenuButton.superClass_.handleMouseDown.call(this,a);this.isActive()&&(this
.setOpen(!
this.isOpen(),a),this.menu_&&this.menu_.setMouseButtonPressed(this.isOpen()))};
goog.ui.MenuButton.prototype.handleMouseUp=function(a)
{goog.ui.MenuButton.superClass_.handleMouseUp.call(this,a);this.menu_&&!
this.isActive()&&this.menu_.setMouseButtonPressed(!
1)};goog.ui.MenuButton.prototype.performActionInternal=function(){this.setActive(!
1);return!0};goog.ui.MenuButton.prototype.handleDocumentMouseDown=function(a)
{this.menu_&&this.menu_.isVisible()&&!
this.containsElement(a.target)&&this.setOpen(!1)};
goog.ui.MenuButton.prototype.containsElement=function(a){return
a&&goog.dom.contains(this.getElement(),a)||
this.menu_&&this.menu_.containsElement(a)||!1};
goog.ui.MenuButton.prototype.handleKeyEventInternal=function(a)
{if(a.keyCode==goog.events.KeyCodes.SPACE){if(a.preventDefault(),a.type!
=goog.events.EventType.KEYUP)return!0}else if(a.type!
=goog.events.KeyEvent.EventType.KEY)return!1;if(this.menu_&&this.menu_.isVisible())
{var b=a.keyCode==goog.events.KeyCodes.ENTER||
a.keyCode==goog.events.KeyCodes.SPACE,c=this.menu_.handleKeyEvent(a),d=c&&this.menu
_&&this.menu_.openItem_ instanceof goog.ui.SubMenu;return!
d&&(a.keyCode==goog.events.KeyCodes.ESC||b&&
this.closeOnEnterOrSpace_)?(this.setOpen(!1),!0):c}return
a.keyCode==goog.events.KeyCodes.DOWN||a.keyCode==goog.events.KeyCodes.UP||
a.keyCode==goog.events.KeyCodes.SPACE||a.keyCode==goog.events.KeyCodes.ENTER?
(this.setOpen(!0,a),!0):!
1};goog.ui.MenuButton.prototype.handleMenuAction=function(){this.setOpen(!
1)};goog.ui.MenuButton.prototype.handleMenuBlur=function(){this.isActive()||
this.setOpen(!1)};
goog.ui.MenuButton.prototype.handleBlur=function(a){this.isFocusablePopupMenu_||
this.setOpen(!
1);goog.ui.MenuButton.superClass_.handleBlur.call(this,a)};goog.ui.MenuButton.proto
type.getMenu=function(){this.menu_||this.setMenu(new
goog.ui.Menu(this.getDomHelper(),this.menuRenderer_));return this.menu_||null};
goog.ui.MenuButton.prototype.setMenu=function(a){var b=this.menu_;a!
=b&&(b&&(this.setOpen(!1),this.isInDocument()&&this.attachMenuEventListeners_(b,!
1),delete
this.menu_),this.isInDocument()&&goog.a11y.aria.setState(this.getElementStrict(),go
og.a11y.aria.State.HASPOPUP,!!a),a&&(this.menu_=a,a.setParent(this),a.setVisible(!
1),a.setAllowAutoFocus(this.isFocusablePopupMenu_),this.isInDocument()&&this.attach
MenuEventListeners_(a,!0)));return b};
goog.ui.MenuButton.prototype.addItem=function(a){this.getMenu().addChild(a,!
0)};goog.ui.MenuButton.prototype.addItemAt=function(a,b)
{this.getMenu().addChildAt(a,b,!
0)};goog.ui.MenuButton.prototype.removeItem=function(a)
{(a=this.getMenu().removeChild(a,!
0))&&a.dispose()};goog.ui.MenuButton.prototype.getItemAt=function(a){return
this.menu_?
this.menu_.getChildAt(a):null};goog.ui.MenuButton.prototype.getItemCount=function()
{return this.menu_?this.menu_.getChildCount():0};
goog.ui.MenuButton.prototype.setVisible=function(a,b)
{(a=goog.ui.MenuButton.superClass_.setVisible.call(this,a,b))&&!
this.isVisible()&&this.setOpen(!1);return
a};goog.ui.MenuButton.prototype.setEnabled=function(a)
{goog.ui.MenuButton.superClass_.setEnabled.call(this,a);this.isEnabled()||
this.setOpen(!1)};goog.ui.MenuButton.prototype.isScrollOnOverflow=function(){return
this.menuPosition_.getLastResortOverflow&&!!
(this.menuPosition_.lastResortOverflow_&goog.positioning.Overflow.RESIZE_HEIGHT)};
goog.ui.MenuButton.prototype.showMenu=function(){this.setOpen(!0)};
goog.ui.MenuButton.prototype.setOpen=function(a,b)
{goog.ui.MenuButton.superClass_.setOpen.call(this,a);if(this.menu_&&this.hasState(g
oog.ui.Component.State.OPENED)==a){if(a){if(!
this.menu_.isInDocument())if(this.renderMenuAsSibling_){var
c=goog.dom.getNextElementSibling(this.getElement());c?
this.menu_.renderBefore(c):this.menu_.render(this.getElement().parentNode)}else
this.menu_.render();this.viewportBox_=goog.style.getVisibleRectForElement(this.getE
lement());this.buttonRect_=goog.style.getBounds(this.getElement());
this.positionMenu();c=!!b&&(b.keyCode==goog.events.KeyCodes.ENTER||
b.keyCode==goog.events.KeyCodes.SPACE);var d=!!
b&&(b.keyCode==goog.events.KeyCodes.DOWN||b.keyCode==goog.events.KeyCodes.UP);
(c=d||c&&this.selectFirstOnEnterOrSpace_)?
this.menu_.highlightFirst():this.menu_.setHighlightedIndex(-
1)}else{this.setActive(!1);this.menu_.setMouseButtonPressed(!
1);if(c=this.getElement())goog.a11y.aria.setState(c,goog.a11y.aria.State.ACTIVEDESC
ENDANT,""),goog.a11y.aria.setState(c,goog.a11y.aria.State.OWNS,
"");null!=this.originalSize_&&(this.originalSize_=void 0,
(c=this.menu_.getElement())&&goog.style.setSize(c,"",""))}this.menu_.setVisible(a,!
1,b);this.isDisposed()||
this.attachPopupListeners_(a)}this.menu_&&this.menu_.getElement()&&goog.a11y.aria.r
emoveState(this.menu_.getElementStrict(),goog.a11y.aria.State.HIDDEN)};
goog.ui.MenuButton.prototype.positionMenu=function(){if(this.menu_.isInDocument())
{var a=this.positionElement_||
this.getElement(),b=this.menuPosition_;this.menuPosition_.element=a;a=this.menu_.ge
tElement();this.menu_.isVisible()||
(a.style.visibility="hidden",goog.style.setElementShown(a,!0));!
this.originalSize_&&this.isScrollOnOverflow()&&(this.originalSize_=goog.style.getSi
ze(a));var
c=goog.positioning.flipCornerVertical(b.corner);b.reposition(a,c,this.menuMargin_,t
his.originalSize_);this.menu_.isVisible()||
(goog.style.setElementShown(a,!1),a.style.visibility="visible")}};
goog.ui.MenuButton.prototype.onTick_=function(){var
a=goog.style.getBounds(this.getElement()),b=goog.style.getVisibleRectForElement(thi
s.getElement());if(!goog.math.Rect.equals(this.buttonRect_,a)||!
goog.math.Box.equals(this.viewportBox_,b))
{if(this.menu_.isInDocument()&&b&&this.viewportBox_&&b.getWidth()<this.viewportBox_
.getWidth()){var c=this.menu_.getElement();this.menu_.isVisible()||
(c.style.visibility="hidden",goog.style.setElementShown(c,!
0));goog.style.setPosition(c,new goog.math.Coordinate(0,
0))}this.buttonRect_=a;this.viewportBox_=b;this.positionMenu()}};goog.ui.MenuButton
.prototype.attachMenuEventListeners_=function(a,b){var c=this.getHandler();b=b?
c.listen:c.unlisten;b.call(c,a,goog.ui.Component.EventType.ACTION,this.handleMenuAc
tion);b.call(c,a,goog.ui.Component.EventType.CLOSE,this.handleCloseItem);b.call(c,a
,goog.ui.Component.EventType.HIGHLIGHT,this.handleHighlightItem);b.call(c,a,goog.ui
.Component.EventType.UNHIGHLIGHT,this.handleUnHighlightItem)};
goog.ui.MenuButton.prototype.attachKeyDownEventListener_=function(a){var
b=this.getHandler();a=a?
b.listen:b.unlisten;a.call(b,this.getElement(),goog.events.EventType.KEYDOWN,this.h
andleKeyDownEvent_)};goog.ui.MenuButton.prototype.handleHighlightItem=function(a)
{(a=a.target.getElement())&&this.setAriaActiveDescendant_(a)};
goog.ui.MenuButton.prototype.handleKeyDownEvent_=function(a)
{this.isSupportedState(goog.ui.Component.State.FOCUSED)&&this.getKeyEventTarget()&&
this.menu_&&this.menu_.isVisible()&&a.stopPropagation()};
goog.ui.MenuButton.prototype.handleUnHighlightItem=function(){if(!
this.menu_.getHighlighted()){var a=this.getElement();goog.asserts.assert(a,"The
menu button DOM element cannot be
null.");goog.a11y.aria.setState(a,goog.a11y.aria.State.ACTIVEDESCENDANT,"");goog.a1
1y.aria.setState(a,goog.a11y.aria.State.OWNS,"")}};
goog.ui.MenuButton.prototype.handleCloseItem=function(a){if(this.isOpen()&&a.target
instanceof goog.ui.MenuItem){a=a.target;var
b=a.getElement();a.isVisible()&&a.isHighlighted()&&null!
=b&&this.setAriaActiveDescendant_(b)}};
goog.ui.MenuButton.prototype.setAriaActiveDescendant_=function(a){var
b=this.getElement();goog.asserts.assert(b,"The menu button DOM element cannot be
null.");var c=goog.a11y.aria.getActiveDescendant(a);a=c||a;a.id||
(c=goog.ui.IdGenerator.getInstance(),a.id=c.getNextUniqueId());goog.a11y.aria.setAc
tiveDescendant(b,a);goog.a11y.aria.setState(b,goog.a11y.aria.State.OWNS,a.id)};
goog.ui.MenuButton.prototype.attachPopupListeners_=function(a){var
b=this.getHandler(),c=a?
b.listen:b.unlisten;c.call(b,this.getDomHelper().getDocument(),goog.events.EventTyp
e.MOUSEDOWN,this.handleDocumentMouseDown,!
0);this.isFocusablePopupMenu_&&c.call(b,this.menu_,goog.ui.Component.EventType.BLUR
,this.handleMenuBlur);c.call(b,this.timer_,goog.Timer.TICK,this.onTick_);a?
this.timer_.start():this.timer_.stop()};goog.ui.registry.setDecoratorByClassName(go
og.ui.MenuButtonRenderer.CSS_CLASS,function(){return new
goog.ui.MenuButton(null)});goog.ui.FlatMenuButtonRenderer=function()
{};goog.inherits(goog.ui.FlatMenuButtonRenderer,goog.ui.FlatButtonRenderer);goog.ad
dSingletonGetter(goog.ui.FlatMenuButtonRenderer);goog.ui.FlatMenuButtonRenderer.CSS
_CLASS="goog-flat-menu-button";
goog.ui.FlatMenuButtonRenderer.prototype.createDom=function(a){var
b=this.getClassNames(a);b=a.getDomHelper().createDom(goog.dom.TagName.DIV,goog.ui.I
NLINE_BLOCK_CLASSNAME+" "+b.join(" "),
[this.createCaption(a.getContent(),a.getDomHelper()),this.createDropdown(a.getDomHe
lper())]);this.setTooltip(b,a.getTooltip());return
b};goog.ui.FlatMenuButtonRenderer.prototype.getContentElement=function(a){return
a&&a.firstChild};
goog.ui.FlatMenuButtonRenderer.prototype.decorate=function(a,b){var
c=goog.dom.getElementsByTagNameAndClass("*",goog.ui.MenuRenderer.CSS_CLASS,b)
[0];if(c){goog.style.setElementShown(c,!
1);a.getDomHelper().getDocument().body.appendChild(c);var d=new
goog.ui.Menu;d.decorate(c);a.setMenu(d)}
(c=goog.dom.getElementsByTagNameAndClass("*",this.getCssClass()+"-caption",b)[0])||
b.appendChild(this.createCaption(b.childNodes,a.getDomHelper()));
(c=goog.dom.getElementsByTagNameAndClass("*",this.getCssClass()+
"-dropdown",b)[0])||b.appendChild(this.createDropdown(a.getDomHelper()));return
goog.ui.FlatMenuButtonRenderer.superClass_.decorate.call(this,a,b)};goog.ui.FlatMen
uButtonRenderer.prototype.createCaption=function(a,b){return
b.createDom(goog.dom.TagName.DIV,goog.ui.INLINE_BLOCK_CLASSNAME+" "+
(this.getCssClass()+"-caption"),a)};
goog.ui.FlatMenuButtonRenderer.prototype.createDropdown=function(a){return
a.createDom(goog.dom.TagName.DIV,{"class":goog.ui.INLINE_BLOCK_CLASSNAME+" "+
(this.getCssClass()+"-dropdown"),"aria-hidden":!0},"\
u00a0")};goog.ui.FlatMenuButtonRenderer.prototype.getCssClass=function(){return
goog.ui.FlatMenuButtonRenderer.CSS_CLASS};goog.ui.registry.setDecoratorByClassName(
goog.ui.FlatMenuButtonRenderer.CSS_CLASS,function(){return new
goog.ui.MenuButton(null,null,goog.ui.FlatMenuButtonRenderer.getInstance())});var
module$exports$ocean$books$AppBar=function(a)
{module$contents$ocean$ui$Toolbar_Toolbar.call(this);this.viewer_=a.viewer;this.ful
lscreen_=a.fullscreen;this.history_=a.history;this.volumeInfo_=a.volumeInfo;this.us
erInfo_=a.userInfo;this.flags_=a.flags;this.clippingCallback_=a.clippingCallback;th
is.isPatentPage_="patents"==ocean.util.Url.getFirstPathComponent();a.isLeftBar||
(this.maybeAddPatentsPriorArtFinderButton_(),this.maybeAddPatentsDiscussThisButton_
(),this.viewer_||this.maybeAddReadPatentButton_());
this.viewer_&&(this.otherView_=!!a.showTwoPageViewport||!!
a.showThumbnailViewport,a.isLeftBar&&this.maybeAddZoomButtons_(),this.maybeAddViewp
ortButtons_(!!a.showTwoPageViewport,!!
a.showThumbnailViewport),this.maybeAddFullscreenButton_(),this.maybeAddClipButton_(
),a.showLinkButton&&this.addLinkButton_(),a.showPaginationButtons&&(this.maybeAddCo
ntentsButton_(),this.addPaginationButtons_()));a.showSampleButton&&this.maybeAddSam
pleButton_();this.flags_&&!this.flags_.is_cobrand&&this.maybeAddMyLibraryButton_();
a.isLeftBar?(this.maybeAddWriteReviewButton_(),this.maybeAddPatentButtons_("appbar-
application-grant-
link",module$exports$ocean$books$AppBar.APPLICATION_GRANT_BTN_GROUP_),this.maybeAdd
PatentButtons_("appbar-content-language-
link",module$exports$ocean$books$AppBar.CONTENT_LANGUAGE_BTN_GROUP_)):this.maybeAdd
DownloadPdfButton_();a.showGearsMenu&&this.addGearsMenu_()};
$jscomp.inherits(module$exports$ocean$books$AppBar,module$contents$ocean$ui$Toolbar
_Toolbar);
module$exports$ocean$books$AppBar.create=function(a){var
b=goog.dom.getElement("left-toolbar-buttons"),c=goog.dom.getElement("right-toolbar-
buttons"),d={viewer:a.viewer,fullscreen:a.fullscreen,history:a.history,showTwoPageV
iewport:a.showTwoPageViewport,showThumbnailViewport:a.showThumbnailViewport,volumeI
nfo:a.volumeInfo,userInfo:a.userInfo,flags:a.flags,clippingCallback:a.clippingCallb
ack,showLinkButton:a.showLinkButton,isLeftBar:!
0,showSampleButton:a.showSampleButton};d=new module$exports$ocean$books$AppBar(d);
d.render(b);a={viewer:a.viewer,showPaginationButtons:a.showPaginationButtons,showGe
arsMenu:!0};a=new
module$exports$ocean$books$AppBar(a);a.render(c)};module$exports$ocean$books$AppBar
.prototype.toggleFullscreen_=function()
{this.fullscreen_.toggle();this.history_.update()};module$exports$ocean$books$AppBa
r.prototype.handleFullscreenChange_=function()
{this.fullScreenButton_.setState(goog.ui.Component.State.CHECKED,this.fullscreen_.f
ullscreen_)};
module$exports$ocean$books$AppBar.prototype.maybeAddFullscreenButton_=function()
{if(!this.fullscreen_)return!1;var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/maximize.png");this.ful
lScreenButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.fullScreenButton_.setSupportedState(goog.ui.Compone
nt.State.CHECKED,!0);this.fullScreenButton_.setChecked(!
1);this.otherView_&&this.fullScreenButton_.setCollapsed(goog.ui.ButtonSide.START);t
his.addChild(this.fullScreenButton_,!0);
this.eventHandler_.listen(this.fullScreenButton_,goog.ui.Component.EventType.ACTION
,this.toggleFullscreen_);this.eventHandler_.listen(this.fullscreen_,ocean.chrome.Fu
llscreen.EventType.CHANGE,this.handleFullscreenChange_);return!
0};module$exports$ocean$books$AppBar.prototype.handleSelectionClick_=function()
{this.clippingCallback_(this.clipButton_.isChecked())};
module$exports$ocean$books$AppBar.prototype.maybeAddClipButton_=function(){if(!
this.clippingCallback_)return!1;var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/clip.png");this.clipBut
ton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.clipButton_.setSupportedState(goog.ui.Component.Sta
te.CHECKED,!
0);this.clipButton_.setCollapsed(goog.ui.ButtonSide.END);this.clipButton_.setChecke
d(!1);this.addChild(this.clipButton_,!
0);goog.events.listen(this.clipButton_,goog.ui.Component.EventType.ACTION,
goog.bind(this.handleSelectionClick_,this));return!
0};module$exports$ocean$books$AppBar.prototype.createLinkToPagePanel_=function()
{if(this.linkButton_.isChecked()){var a=new
module$contents$ocean$chrome$LinkToPagePanel_LinkToPagePanel(goog.dom.getDocument()
.body,this.viewer_,!0);a.render(this.linkButton_,!
0);goog.events.listenOnce(a,module$contents$ocean$EventManager_EventManager.EventTy
pe.DISPOSE,goog.bind(this.linkButton_.setChecked,this.linkButton_,!1))}};
module$exports$ocean$books$AppBar.prototype.addLinkButton_=function(){var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/insert_link.png");this.
linkButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.linkButton_.setSupportedState(goog.ui.Component.Sta
te.CHECKED,!
0);this.clipButton_&&this.linkButton_.setCollapsed(goog.ui.ButtonSide.START);this.a
ddChild(this.linkButton_,!
0);goog.events.listen(this.linkButton_,goog.ui.Component.EventType.ACTION,goog.bind
(this.createLinkToPagePanel_,
this));return!
0};module$exports$ocean$books$AppBar.prototype.setViewportClass_=function(a)
{this.viewer_.setViewportClass(a);this.viewer_.searchState_.getQuery()||
this.history_.update()};
module$exports$ocean$books$AppBar.prototype.maybeAddViewportButtons_=function(a,b)
{if(!a&&!b)return!1;var
c=jfk.Button.createIconContent("/googlebooks/images/kennedy/one_up_page_view.png");
this.onePageViewportButton_=new jfk.Button(c,void 0,void
0,jfk.Button.Width.NARROW);this.onePageViewportButton_.setCollapsed(goog.ui.ButtonS
ide.END);goog.events.listen(this.onePageViewportButton_,goog.ui.Component.EventType
.ACTION,goog.bind(this.setViewportClass_,this,ocean.books.VerticalViewport));this.a
ddChild(this.onePageViewportButton_,
!
0);this.makeButtonToggle(this.onePageViewportButton_,module$exports$ocean$books$App
Bar.VIEWPORT_BTN_GROUP_,!0);if(a){c=jfk.Button.createIconContent("/googlebooks/
images/kennedy/two_up_page_view.png");this.twoPageViewportButton_=new
jfk.Button(c,void 0,void
0,jfk.Button.Width.NARROW);a=goog.ui.ButtonSide.START;if(this.fullscreen_||
b)a=goog.ui.ButtonSide.BOTH;this.twoPageViewportButton_.setCollapsed(a);goog.events
.listen(this.twoPageViewportButton_,goog.ui.Component.EventType.ACTION,goog.bind(th
is.setViewportClass_,
this,ocean.books.TwoPageViewport));this.addChild(this.twoPageViewportButton_,!
0);this.makeButtonToggle(this.twoPageViewportButton_,module$exports$ocean$books$App
Bar.VIEWPORT_BTN_GROUP_)}b&&(c=jfk.Button.createIconContent("/googlebooks/images/
kennedy/thumbnail.png"),this.thumbnailViewportButton_=new jfk.Button(c,void 0,void
0,jfk.Button.Width.NARROW),a=goog.ui.ButtonSide.START,this.fullscreen_&&(a=goog.ui.
ButtonSide.BOTH),this.thumbnailViewportButton_.setCollapsed(a),goog.events.listen(t
his.thumbnailViewportButton_,
goog.ui.Component.EventType.ACTION,goog.bind(this.setViewportClass_,this,ocean.book
s.ThumbnailViewport)),this.addChild(this.thumbnailViewportButton_,!
0),this.makeButtonToggle(this.thumbnailViewportButton_,module$exports$ocean$books$A
ppBar.VIEWPORT_BTN_GROUP_));this.eventHandler_.listen(this.viewer_,ocean.viewport.V
iewer.EventType.VIEWPORTMODECHANGE,this.handleViewportChange_);this.handleViewportC
hange_();return!0};
module$exports$ocean$books$AppBar.prototype.handleViewportChange_=function(){var
a=this.viewer_.getViewport();a instanceof
ocean.books.VerticalViewport&&this.setViewportSelection_(this.onePageViewportButton
_);a instanceof
ocean.books.TwoPageViewport&&this.setViewportSelection_(this.twoPageViewportButton_
);a instanceof
ocean.books.ThumbnailViewport&&this.setViewportSelection_(this.thumbnailViewportBut
ton_);this.setZoomEnable_(a.zoomIn)};
module$exports$ocean$books$AppBar.prototype.setZoomEnable_=function(a)
{this.zoomOutButton_.setEnabled(a);this.zoomInButton_.setEnabled(a)};module$exports
$ocean$books$AppBar.prototype.setViewportSelection_=function(a)
{this.setSelection(module$exports$ocean$books$AppBar.VIEWPORT_BTN_GROUP_,a)};
module$exports$ocean$books$AppBar.prototype.maybeAddZoomButtons_=function(){var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/zoom_tool.png");this.zo
omInButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.zoomInButton_.setCollapsed(goog.ui.ButtonSide.END);
this.addChild(this.zoomInButton_,!
0);goog.events.listen(this.zoomInButton_,goog.ui.Component.EventType.ACTION,goog.bi
nd(this.queueCommand_,this,ocean.viewport.Viewer.Commands.ZOOM_IN));a=jfk.Button.cr
eateIconContent("/googlebooks/images/kennedy/zoom_out.png");
this.zoomOutButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.zoomOutButton_.setCollapsed(goog.ui.ButtonSide.STAR
T);this.addChild(this.zoomOutButton_,!
0);goog.events.listen(this.zoomOutButton_,goog.ui.Component.EventType.ACTION,goog.b
ind(this.queueCommand_,this,ocean.viewport.Viewer.Commands.ZOOM_OUT));return!
0};module$exports$ocean$books$AppBar.prototype.queueCommand_=function(a)
{this.viewer_.queueCommand(a)};
module$exports$ocean$books$AppBar.prototype.maybeAddPatentButtons_=function(a,b)
{if(a=goog.dom.getElementsByClass(a)){var c=a.length;if(1<c)for(var d=0;d<c;++d)
{var e=a[d],f=e.getAttribute("href"),g=e.getAttribute("data-
label");e=e.getAttribute("data-selected");g=new jfk.Button(g);0==d&&d!=c-1?
g.setCollapsed(goog.ui.ButtonSide.END):d==c-1&&0!=d?
g.setCollapsed(goog.ui.ButtonSide.START):0!=d&&d!=c-
1&&g.setCollapsed(goog.ui.ButtonSide.BOTH);this.addChild(g,!
0);this.makeButtonToggle(g,b,!!e);e||this.eventHandler_.listen(g,
goog.ui.Component.EventType.ACTION,goog.bind(this.navigateToPage_,this,f))}}return
1<c};module$exports$ocean$books$AppBar.prototype.maybeAddHighlightToggle_=function(
){if(this.isPatentPage_&&!this.viewer_){var a=new
module$exports$ocean$patents$HighlighterControl;this.gearsMenuButton_.addItemAt(a,0
)}};
module$exports$ocean$books$AppBar.prototype.handlePageChange_=function(){var
a=this.viewer_.getPageInfo();a=a.getLabel()||"Table des mati\
u00e8res";this.contentsText_&&module$exports$google3$third_party$javascript$safeval
ues$dom$elements$element.setInnerHtml(this.contentsText_,module$contents$google3$th
ird_party$javascript$safevalues$restricted$legacy_legacyUnsafeHtml(a,
{reportingId:"009928d1-72d6-47df-9510-9ba0bced7071"}))};
module$exports$ocean$books$AppBar.prototype.addPaginationButtons_=function(){var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/page_left.png");this.pa
geLeftButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.pageLeftButton_.setCollapsed(goog.ui.ButtonSide.BOT
H);this.addChild(this.pageLeftButton_,!
0);goog.events.listen(this.pageLeftButton_,goog.ui.Component.EventType.ACTION,goog.
bind(this.viewer_.queueCommand,this.viewer_,ocean.viewport.Viewer.Commands.PREVIOUS
));a=jfk.Button.createIconContent("/googlebooks/images/kennedy/page_right.png");
this.pageRightButton_=new jfk.Button(a,void 0,void
0,jfk.Button.Width.NARROW);this.pageRightButton_.setCollapsed(goog.ui.ButtonSide.ST
ART);this.addChild(this.pageRightButton_,!
0);goog.events.listen(this.pageRightButton_,goog.ui.Component.EventType.ACTION,goog
.bind(this.viewer_.queueCommand,this.viewer_,ocean.viewport.Viewer.Commands.NEXT));
this.eventHandler_.listen(this.viewer_,ocean.viewport.Viewer.EventType.PAGECHANGE,t
his.handlePageChange_);return!0};
module$exports$ocean$books$AppBar.prototype.launchTocPane_=function()
{this.contentsButton_.getState()&goog.ui.Component.State.CHECKED&&(new
module$contents$ocean$books$TocPanel_TocPanel(this.viewer_,this.contentsButton_,thi
s.flags_)).render(module$exports$ocean$books$AppBar.PADDING_ADJUSTMENT_)};
module$exports$ocean$books$AppBar.prototype.maybeAddContentsButton_=function(){var
a=!!this.viewer_.volumeInfo_.tocLines_,b=this.viewer_.volumeInfo_.tocPageId_;b=!!
this.viewer_.pageInfoSet_.getPageInfoByPid(b);var
c=this.viewer_.getPageInfo();c=c.getLabel()||"Table des mati\u00e8res";if(a||
b)return
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/menu_down_arrow.png",c)
,a=module$contents$goog$array_rotate(a,1),this.contentsText_=a[0],this.contentsButt
on_=new jfk.Button(a),this.contentsButton_.setCollapsed(goog.ui.ButtonSide.END),
this.addChild(this.contentsButton_,!
0),this.eventHandler_.listen(this.contentsButton_,goog.ui.Component.EventType.ACTIO
N,this.launchTocPane_),this.makeButtonToggle(this.contentsButton_),!
0;this.contentsText_=goog.dom.createDom(goog.dom.TagName.SPAN,"jfk-button-
label",c);this.contentsButton_=new
jfk.Button(this.contentsText_);this.contentsButton_.setEnabled(!
1);this.contentsButton_.setCollapsed(goog.ui.ButtonSide.END);this.addChild(this.con
tentsButton_,!0);return!1};
module$exports$ocean$books$AppBar.prototype.maybeAddMyLibraryButton_=function()
{if(this.volumeInfo_&&!this.isPatentPage_){var
a=this.userInfo_&&this.userInfo_.uid,b=module$contents$ocean$mylibrary$utils_constr
uctBookshelves([this.volumeInfo_],this.userInfo_);a?(this.myLibraryButton_=new
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker(this.volumeInfo_,b)
,this.addChild(this.myLibraryButton_,!0)):(a=jfk.Button.createIconContent("/
googlebooks/images/kennedy/menu_down_arrow.png","Ajouter \u00e0 ma biblioth\
u00e8que"),
a=module$contents$goog$array_rotate(a,1),this.myLibraryButton_=new
jfk.Button(a),this.addChild(this.myLibraryButton_,!
0),a=goog.bind(this.navigateToPage_,this,this.flags_.sign_in_url||
this.flags_.signInUrl),goog.events.listenOnce(this.myLibraryButton_,goog.ui.Compone
nt.EventType.ACTION,a));return!0}return!1};
module$exports$ocean$books$AppBar.prototype.addGearsMenu_=function(){var
a=jfk.Button.createIconContent("/googlebooks/images/kennedy/settings.png");goog.dom
.classlist.add(a[0],"goog-flat-menu-button-img");var
b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"toc-div"}),c=new
goog.ui.Menu;c.addChild(new goog.ui.Control(b),!0);var
d=document.getElementById("ofe-gear-menu-contents");d&&b.appendChild(d.cloneNode(!
0));this.gearsMenuButton_=new
goog.ui.MenuButton(a,c,goog.ui.FlatMenuButtonRenderer.getInstance());
this.addChild(this.gearsMenuButton_,!
0);this.maybeAddHighlightToggle_()};module$exports$ocean$books$AppBar.prototype.may
beAddWriteReviewButton_=function(){var a=goog.dom.getElement("appbar-write-review-
link");a&&(a=a.getAttribute("href"))&&(this.writeReviewButton_=new jfk.Button("R\
u00e9diger un commentaire"),this.addChild(this.writeReviewButton_,!
0),this.eventHandler_.listen(this.writeReviewButton_,goog.ui.Component.EventType.AC
TION,goog.bind(this.navigateToPage_,this,a)))};
module$exports$ocean$books$AppBar.prototype.navigateToPage_=function(a)
{module$exports$google3$third_party$javascript$safevalues$dom$globals$location.setH
ref(window.location,module$contents$google3$third_party$javascript$safevalues$build
ers$url_builders_sanitizeUrl(a))};
module$exports$ocean$books$AppBar.prototype.maybeAddSampleButton_=function(){var
a=goog.dom.getElement("appbar-view-print-sample-
link");if(a&&(a=a.getAttribute("href"))){var b=goog.dom.getElement("appbar-view-
ebook-sample-link"),c;b&&(c=b.getAttribute("href"));b=new jfk.Button("Afficher un
extrait");b.addClassName("gb-view-sample-button");this.addChild(b,!
0);this.eventHandler_.listen(b,goog.ui.Component.EventType.ACTION,goog.bind(this.na
vigateToPage_,this,a));if(c){b.setCollapsed(goog.ui.ButtonSide.END);
b=new goog.ui.Menu;var d=new goog.ui.MenuItem("Extrait de la version
papier");this.eventHandler_.listen(d,goog.ui.Component.EventType.ACTION,goog.bind(t
his.navigateToPage_,this,a));b.addChild(d,!0);d.addClassName("gb-sample-print-book-
menuitem");a=new goog.ui.MenuItem("Extrait de la version num\
u00e9rique");this.eventHandler_.listen(a,goog.ui.Component.EventType.ACTION,goog.bi
nd(this.navigateToPage_,this,c));b.addChild(a,!0);a.addClassName("gb-sample-ebook-
menuitem");c=new goog.ui.MenuButton("",b,
goog.ui.FlatMenuButtonRenderer.getInstance());c.addClassName("gb-jfk-margin-
fix");c.addClassName("gb-view-sample-
dropdown");c.setCollapsed(goog.ui.ButtonSide.START);this.addChild(c,!0)}}};
module$exports$ocean$books$AppBar.prototype.maybeAddPatentsPriorArtFinderButton_=fu
nction(){var a=goog.dom.getElement("appbar-patents-prior-art-finder-
link");if(a&&(a=a.getAttribute("href"))){var
b=jfk.Button.createActionButton("Rechercher de l'art ant\
u00e9rieur");this.addChild(b,!
0);this.eventHandler_.listen(b,goog.ui.Component.EventType.ACTION,goog.bind(this.na
vigateToPage_,this,a))}};
module$exports$ocean$books$AppBar.prototype.maybeAddPatentsDiscussThisButton_=funct
ion(){var a=goog.dom.getElement("appbar-patents-discuss-this-link");if(a){var
b=a.getAttribute("href");if(b){a=a.getAttribute("data-is-grant");if("true"==a){var
c=" Discuter de ce brevet";a=" Discuter de ce brevet sur Stack\u00a0Exchange"}else
c=" Discuter de cette demande",a=" Discuter de cette demande sur Stack\
u00a0Exchange";c=jfk.Button.createActionButton(c);c.setTooltip(a);this.addChild(c,!
0);this.eventHandler_.listen(c,
goog.ui.Component.EventType.ACTION,goog.bind(this.navigateToPage_,this,b))}}};modul
e$exports$ocean$books$AppBar.prototype.maybeAddReadPatentButton_=function(){var
a=goog.dom.getElement("appbar-read-patent-link");if(a&&(a=a.getAttribute("href")))
{var b=new jfk.Button("Afficher le PDF");this.addChild(b,!
0);this.eventHandler_.listen(b,goog.ui.Component.EventType.ACTION,goog.bind(this.na
vigateToPage_,this,a))}};
module$exports$ocean$books$AppBar.prototype.maybeAddDownloadPdfButton_=function()
{var a=goog.dom.getElement("appbar-download-pdf-
link");if(a&&(a=a.getAttribute("href"))){var b=new jfk.Button("T\u00e9l\
u00e9charger le PDF");this.addChild(b,!
0);this.eventHandler_.listen(b,goog.ui.Component.EventType.ACTION,goog.bind(this.na
vigateToPage_,this,a))}};module$exports$ocean$books$AppBar.VIEWPORT_BTN_GROUP_="vie
wport";module$exports$ocean$books$AppBar.CONTENT_LANGUAGE_BTN_GROUP_="content-
language";
module$exports$ocean$books$AppBar.APPLICATION_GRANT_BTN_GROUP_="application-
grant";module$exports$ocean$books$AppBar.PADDING_ADJUSTMENT_=3;module$exports$ocean
$books$AppBar.prototype.onePageViewportButton_=null;module$exports$ocean$books$AppB
ar.prototype.twoPageViewportButton_=null;module$exports$ocean$books$AppBar.prototyp
e.thumbnailViewportButton_=null;module$exports$ocean$books$AppBar.prototype.zoomInB
utton_=null;module$exports$ocean$books$AppBar.prototype.zoomOutButton_=null;
module$exports$ocean$books$AppBar.prototype.pageRightButton_=null;module$exports$oc
ean$books$AppBar.prototype.pageLeftButton_=null;module$exports$ocean$books$AppBar.p
rototype.contentsButton_=null;module$exports$ocean$books$AppBar.prototype.contentsT
ext_=null;module$exports$ocean$books$AppBar.prototype.myLibraryButton_=null;var
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard=func
tion(a,b)
{module$contents$ocean$AbstractHoverCard_AbstractHoverCard.call(this,a);this.volume
Info_=b};
$jscomp.inherits(module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFor
matHoverCard,module$contents$ocean$AbstractHoverCard_AbstractHoverCard);
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.render=function(){var
a=this.getElement();goog.dom.classlist.add(a,this.className+"-
tooltip");goog.dom.classlist.add(a,this.className+"-device-and-
format");goog.style.setStyle(a,"z-index",1E4);if(this.volumeInfo_.isEBook()){var
b=goog.dom.createDom(goog.dom.TagName.DIV,this.className,this.createMetaSection_(),
this.createFooterSection_());goog.dom.classlist.add(b,this.className+"-device-
content");goog.dom.appendChild(a,
b)}};
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.createMetaSection_=function(){var
a=goog.dom.createDom(goog.dom.TagName.DIV,this.className+"-
meta"),b=goog.dom.createTable(1,2);goog.dom.classlist.add(b,this.className+"-table-
layout");var
c=b.rows[0].cells;goog.dom.appendChild(c[0],this.renderDeviceInfo_());goog.dom.appe
ndChild(c[1],this.renderFormatInfo_());var
d=goog.dom.createDom(goog.dom.TagName.DIV,this.className+"-
link"),e=goog.dom.createDom(goog.dom.TagName.A,{target:"_blank"},
"Aide sur les appareils et les
formats");module$exports$google3$third_party$javascript$safevalues$dom$elements$anc
hor.setHref(e,module$contents$ocean$util$uri_maybeAddLangParam("/support/bin/
answer.py?
answer=1062949"));goog.dom.appendChild(d,e);goog.dom.appendChild(c[1],d);goog.dom.a
ppendChild(a,b);b=this.volumeInfo_;if((c=b.sampleUrl_)&&!
b.isPreOrder()&&b.isBrowsable_){var
f;b.isPublicDomain_&&ocean.msg.MSG_READ_THE_BOOK_FOR_FREE&&(f="Lire le
livre");f=goog.dom.createDom(goog.dom.TagName.P,this.className+
"-additional",goog.dom.createDom(goog.dom.TagName.A,
{href:c},f));goog.dom.appendChild(a,f)}if(b.canDownloadPdf_||
b.canDownloadEPub_)if(f=b.downloadEpubUrl_,c=b.downloadPdfUrl_,f||
c)d=goog.dom.createDom(goog.dom.TagName.P,this.className+"-
additional",goog.dom.createTextNode("T\u00e9l\u00e9charger
")),f&&goog.dom.appendChild(d,goog.dom.createDom(goog.dom.TagName.A,
{href:f},"ePub")),c&&(f&&goog.dom.appendChild(d,goog.dom.createTextNode(",
")),goog.dom.appendChild(d,goog.dom.createDom(goog.dom.TagName.A,
{href:c},"PDF"))),goog.dom.appendChild(d,goog.dom.createTextNode(" -
")),goog.dom.appendChild(d,goog.dom.createDom(goog.dom.TagName.A,
{href:module$contents$ocean$util$uri_getAcsHelpUrl(b.getVolumeId())},"Lire les
instructions sur les lecteurs \
u00e9lectroniques")),goog.dom.appendChild(a,d);return a};
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.createFooterSection_=function(){var a=goog.dom.createDom(goog.dom.TagName.A,
{target:"_blank"},"En savoir plus sur les livres sur Google\
u00a0Play");module$exports$google3$third_party$javascript$safevalues$dom$elements$a
nchor.setHref(a,module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndForm
atHoverCard.LEARN_MORE_URL_);return
this.footer_=goog.dom.createDom(goog.dom.TagName.DIV,this.className+"-footer",
a)};
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.renderDeviceInfo_=function(){var
a=goog.dom.createDom(goog.dom.TagName.UL,this.className+"-
list"),b=goog.dom.createDom(goog.dom.TagName.H4,null,"Compatible
avec :");goog.dom.appendChild(a,b);var c=this.className+"-device-
type";b=this.className+"-device-supported";var d=this.className+"-device-not-
supported",e=this.className+"-device-unknown-
supported",f=goog.dom.createDom(goog.dom.TagName.A,{"class":c,href:"/help/ebooks/
webreader.html"},"Web"),
g=goog.dom.createDom(goog.dom.TagName.A,{"class":c,href:"/help/ebooks/
devices.html"},"Tablette/iPad"),h=goog.dom.createDom(goog.dom.TagName.A,
{"class":c,href:"/help/ebooks/ereader.html"},"Lecteur d'e-
books"),k=goog.dom.createDom(goog.dom.TagName.A,{"class":c,href:"/help/ebooks/
devices.html"},"Smartphone"),l=this.volumeInfo_.getHasFlowingText(),m=this.volumeIn
fo_.getHasScannedText(),n=this.volumeInfo_.isPreOrder();c=new
goog.events.EventHandler(this);f=goog.dom.createDom(goog.dom.TagName.LI,null,f);
n?c.listen(f,goog.events.EventType.MOUSEOVER,goog.partial(this.updateFooter_,"Nous
ne connaissons pas le format de ce livre pour le moment. Cette information sera
mise \u00e0 jour d\u00e8s que nous l'aurons obtenue de l'\u00e9diteur.")):(l||
m)&&c.listen(f,goog.events.EventType.MOUSEOVER,goog.partial(this.updateFooter_,"Cet
e-book, comme tous les e-books Google, est format\u00e9 pour \u00eatre lu
directement sur le
Web."));c.listen(f,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);goog.dom.
appendChild(a,
f);g=goog.dom.createDom(goog.dom.TagName.LI,null,g);n?
c.listen(g,goog.events.EventType.MOUSEOVER,goog.partial(this.updateFooter_,"Nous ne
connaissons pas le format de ce livre pour le moment. Cette information sera mise \
u00e0 jour d\u00e8s que nous l'aurons obtenue de l'\u00e9diteur.")):(l||
m)&&c.listen(g,goog.events.EventType.MOUSEOVER,goog.partial(this.updateFooter_,"Cet
e-book, comme tous les e-books Google, est format\u00e9 pour \u00eatre lu sur des
tablettes (Android et iPad, par exemple)."));
c.listen(g,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);goog.dom.appendCh
ild(a,g);h=goog.dom.createDom(goog.dom.TagName.LI,null,h);c.listen(h,goog.events.Ev
entType.MOUSEOVER,function(){n?this.updateFooter_("Nous ne connaissons pas le
format de ce livre pour le moment. Cette information sera mise \u00e0 jour d\u00e8s
que nous l'aurons obtenue de l'\u00e9diteur."):l?this.updateFooter_('Cet e-book
Google est disponible en mode "texte flottant". Vous pouvez ainsi ajuster la police
pour le lire ais\u00e9ment sur un lecteur num\u00e9rique.'):
this.updateFooter_("Cet e-book Google n'est pas disponible en mode \"texte
flottant\". Vous ne pouvez donc pas en ajuster la police sur un lecteur d'e-
books.")});c.listen(h,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);goog.d
om.appendChild(a,h);k=goog.dom.createDom(goog.dom.TagName.LI,null,k);c.listen(k,goo
g.events.EventType.MOUSEOVER,function(){n?this.updateFooter_("Nous ne connaissons
pas le format de ce livre pour le moment. Cette information sera mise \u00e0 jour
d\u00e8s que nous l'aurons obtenue de l'\u00e9diteur."):
l&&m?this.updateFooter_("Cet e-book convient aux smartphones, tels qu'Android et
iPhone, ainsi qu'\u00e0 l'iPod touch."):l?this.updateFooter_('Cet e-book Google est
disponible en mode "texte flottant". Vous pouvez ainsi ajuster la police pour le
lire ais\u00e9ment sur le petit \u00e9cran d\'un
smartphone.'):this.updateFooter_("Cet e-book risque de ne pas fonctionner
correctement sur des smartphones, tels qu'Android et iPhone, ni sur l'iPod
touch.")});c.listen(k,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);
goog.dom.appendChild(a,k);n?
(goog.dom.classlist.add(f,e),goog.dom.classlist.add(g,e),goog.dom.classlist.add(h,e
),goog.dom.classlist.add(k,e)):l?
(goog.dom.classlist.add(f,b),goog.dom.classlist.add(g,b),goog.dom.classlist.add(h,b
),goog.dom.classlist.add(k,b)):(m?
(goog.dom.classlist.add(f,b),goog.dom.classlist.add(g,b)):
(goog.dom.classlist.add(f,d),goog.dom.classlist.add(g,d)),goog.dom.classlist.add(h,
d),goog.dom.classlist.add(k,d));return a};
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.renderFormatInfo_=function(){var
a=goog.dom.createDom(goog.dom.TagName.UL,this.className+"-
list"),b=goog.dom.createDom(goog.dom.TagName.H4,null,"Fonctionnalit\
u00e9s :");goog.dom.appendChild(a,b);var c=this.className+"-device-
supported",d=this.className+"-device-not-supported",e=this.className+"-device-
unknown-supported";b=goog.dom.createDom(goog.dom.TagName.A,{},"Texte
flottant");module$exports$google3$third_party$javascript$safevalues$dom$elements$an
chor.setHref(b,
"/support/bin/answer.py?answer=1062949");var
f=goog.dom.createDom(goog.dom.TagName.A,{},"Pages num\u00e9ris\
u00e9es");module$exports$google3$third_party$javascript$safevalues$dom$elements$anc
hor.setHref(f,"/support/bin/answer.py?answer=1062949");var
g=this.volumeInfo_.getHasFlowingText(),h=this.volumeInfo_.getHasScannedText(),k=thi
s.volumeInfo_.isPreOrder();k?
(b=goog.dom.createDom(goog.dom.TagName.LI,e,b),c=goog.dom.createDom(goog.dom.TagNam
e.LI,e,f)):(b=goog.dom.createDom(goog.dom.TagName.LI,g?c:
d,b),c=goog.dom.createDom(goog.dom.TagName.LI,h?c:d,f));d=new
goog.events.EventHandler(this);d.listen(b,goog.events.EventType.MOUSEOVER,function(
){k?this.updateFooter_("Nous ne connaissons pas le format de ce livre pour le
moment. Cette information sera mise \u00e0 jour d\u00e8s que nous l'aurons obtenue
de l'\u00e9diteur."):g?this.updateFooter_('Cet e-book Google est disponible en mode
"texte flottant". Vous pouvez ainsi ajuster la taille et le style de la police pour
le lire ais\u00e9ment sur n\'importe quel appareil.'):
this.updateFooter_("Cet e-book Google n'est pas disponible en mode \"texte
flottant\". Vous ne pouvez donc pas ajuster la police. Les pages sont des images
ayant une disposition fixe. Cela convient \u00e0 des \u00e9crans larges, mais ce
n'est pas toujours id\u00e9al pour les lecteurs d'e-books et les
smartphones.")});d.listen(b,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);
d.listen(c,goog.events.EventType.MOUSEOVER,function(){k?this.updateFooter_("Nous ne
connaissons pas le format de ce livre pour le moment. Cette information sera mise \
u00e0 jour d\u00e8s que nous l'aurons obtenue de l'\u00e9diteur."):
h?this.updateFooter_("Cet e-book contient des pages num\u00e9ris\u00e9es ayant la
m\u00eame disposition que la version papier."):this.updateFooter_("Cet e-book ne
contient pas de pages num\u00e9ris\u00e9es ayant le m\u00eame format que la version
papier. Le texte peut donc \u00eatre ajust\u00e9. Il est flottant et s'adapte \
u00e0 tout type d'\
u00e9cran.")});d.listen(c,goog.events.EventType.MOUSEOUT,this.setDefaultFooter_);go
og.dom.appendChild(a,b);goog.dom.appendChild(a,c);return a};
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard.prot
otype.setDefaultFooter_=function(){goog.asserts.assert(this.footer_,"Footer section
should have been created.");goog.dom.removeChildren(this.footer_);var
a=goog.dom.createDom(goog.dom.TagName.A,{target:"_blank"},"En savoir plus sur les
livres sur Google\
u00a0Play");module$exports$google3$third_party$javascript$safevalues$dom$elements$a
nchor.setHref(a,module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndForm
atHoverCard.LEARN_MORE_URL_);
goog.dom.appendChild(this.footer_,a)};module$contents$ocean$chrome$DeviceAndFormatH
overCard_DeviceAndFormatHoverCard.prototype.updateFooter_=function(a)
{goog.asserts.assert(this.footer_,"Footer section should have been
created.");goog.dom.removeChildren(this.footer_);"string"===typeof a?
goog.dom.appendChild(this.footer_,goog.dom.createTextNode(a)):goog.dom.appendChild(
this.footer_,a)};module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFor
matHoverCard.LEARN_MORE_URL_="https://books.google.com/support/bin/topic.py?
topic=28528";
ocean.chrome.DeviceAndFormatHoverCard=module$contents$ocean$chrome$DeviceAndFormatH
overCard_DeviceAndFormatHoverCard;var
module$contents$ocean$chrome$GetBookButton_GetBookButton=function(a,b)
{jfk.Button.call(this,b,void 0,jfk.Button.Style.PRIMARY);this.volumeInfo_=a};
$jscomp.inherits(module$contents$ocean$chrome$GetBookButton_GetBookButton,jfk.Butto
n);module$contents$ocean$chrome$GetBookButton_GetBookButton.prototype.render=functi
on(a)
{jfk.Button.prototype.render.call(this,a);goog.dom.classlist.add(this.getElement(),
"gb-get-book")};
module$contents$ocean$chrome$GetBookButton_GetBookButton.prototype.enterDocument=fu
nction(){jfk.Button.prototype.enterDocument.call(this);var
a=this.getElement();goog.asserts.assert(a,"Element should exist at this
point.");this.hovercard_=new
module$contents$ocean$chrome$DeviceAndFormatHoverCard_DeviceAndFormatHoverCard(a,th
is.volumeInfo_);this.hovercard_.render();a=goog.dom.getElement("menu_container");
(a=goog.dom.getElementByClass("about_title",a))&&goog.dom.removeNode(a)};
module$contents$ocean$chrome$GetBookButton_GetBookButton.setupGetPrintBookLink=func
tion()
{if(module$contents$ocean$chrome$GetBookButton_GetBookButton.shouldSetupGetPrintBoo
kDropDown_()){var a=goog.dom.getElement("gb-buy-options-
trigger"),b=goog.dom.getElement("buy");a&&b&&(goog.dom.classlist.remove(b,"about_co
ntent"),goog.dom.appendChild(a,goog.dom.createDom(goog.dom.TagName.SPAN,"gb-buy-
options-arrow","\u25bc")),goog.dom.classlist.add(b,"gb-buy-options-
list"),goog.dom.classlist.add(b,"unified-hovercard"),
goog.positioning.positionAtAnchor(a,goog.positioning.Corner.BOTTOM_START,b,goog.pos
itioning.Corner.TOP_START),goog.style.setElementShown(b,!
1),goog.events.listen(goog.dom.getDocument(),goog.events.EventType.MOUSEDOWN,goog.p
artial(module$contents$ocean$chrome$GetBookButton_GetBookButton.maybeShowPrintBookL
ist_,a,b)))}};
module$contents$ocean$chrome$GetBookButton_GetBookButton.shouldSetupGetPrintBookDro
pDown_=function(){var a=goog.dom.getElement("gb-buy-options-trigger");return
a&&a.parentNode&&a.parentNode.parentNode?!
goog.dom.classlist.contains(a.parentNode.parentNode,"jfk-button"):!0};
module$contents$ocean$chrome$GetBookButton_GetBookButton.maybeShowPrintBookList_=fu
nction(a,b,c){a=goog.dom.contains(a,c.target);c=goog.dom.contains(b,c.target);var
d=goog.style.isElementShown(b);a||c||!d?a&&(goog.style.setElementShown(b,!d),d||
goog.style.setOpacity(b,1)):goog.style.setElementShown(b,!
1)};ocean.chrome.GetBookButton=module$contents$ocean$chrome$GetBookButton_GetBookBu
tton;goog.ui.Zippy=function(a,b,c,d,e,f){function g(k)
{k&&(k.tabIndex=0,goog.a11y.aria.setRole(k,h.getAriaRole()),goog.dom.classlist.add(
k,"goog-zippy-
header"),h.enableMouseEventsHandling_(k),h.enableKeyboardEventsHandling_(k))}goog.e
vents.EventTarget.call(this);this.dom_=e||
goog.dom.getDomHelper();this.elHeader_=this.dom_.getElement(a)||
null;this.elExpandedHeader_=this.dom_.getElement(d||
null);this.lazyCreateFunc_="function"===typeof b?b:null;this.role_=f||
goog.a11y.aria.Role.TAB;this.elContent_=this.lazyCreateFunc_||
!b?null:this.dom_.getElement(b);this.expanded_=1==c;void 0!==c||
this.lazyCreateFunc_||(this.elExpandedHeader_?
this.expanded_=goog.style.isElementShown(this.elExpandedHeader_):this.elHeader_&&(t
his.expanded_=goog.dom.classlist.contains(this.elHeader_,"goog-zippy-
expanded")));this.keyboardEventHandler_=new
goog.events.EventHandler(this);this.keyHandler_=new
goog.events.KeyHandler;this.mouseEventHandler_=new
goog.events.EventHandler(this);var
h=this;g(this.elHeader_);g(this.elExpandedHeader_);this.setExpanded(this.expanded_)
};
goog.inherits(goog.ui.Zippy,goog.events.EventTarget);goog.ui.Zippy.Events={ACTION:"
action",TOGGLE:"toggle"};goog.ui.Zippy.prototype.handleMouseEvents_=!
0;goog.ui.Zippy.prototype.disposeInternal=function()
{goog.ui.Zippy.superClass_.disposeInternal.call(this);module$contents$goog$dispose_
dispose(this.keyboardEventHandler_);module$contents$goog$dispose_dispose(this.keyHa
ndler_);module$contents$goog$dispose_dispose(this.mouseEventHandler_)};goog.ui.Zipp
y.prototype.getAriaRole=function(){return this.role_};
goog.ui.Zippy.prototype.getContentElement=function(){return
this.elContent_};goog.ui.Zippy.prototype.expand=function(){this.setExpanded(!
0)};goog.ui.Zippy.prototype.collapse=function(){this.setExpanded(!
1)};goog.ui.Zippy.prototype.toggle=function(){this.setExpanded(!this.expanded_)};
goog.ui.Zippy.prototype.setExpanded=function(a){this.elContent_?
goog.style.setElementShown(this.elContent_,a):a&&this.lazyCreateFunc_&&(this.elCont
ent_=this.lazyCreateFunc_());this.elContent_&&goog.dom.classlist.add(this.elContent
_,"goog-zippy-content");this.elExpandedHeader_?
(goog.style.setElementShown(this.elHeader_,!
a),goog.style.setElementShown(this.elExpandedHeader_,a)):this.updateHeaderClassName
(a);this.setExpandedInternal(a);this.dispatchEvent(new
goog.ui.ZippyEvent(goog.ui.Zippy.Events.TOGGLE,
this,this.expanded_))};goog.ui.Zippy.prototype.setExpandedInternal=function(a)
{this.expanded_=a};goog.ui.Zippy.prototype.updateHeaderClassName=function(a)
{this.elHeader_&&(goog.dom.classlist.enable(this.elHeader_,"goog-zippy-
expanded",a),goog.dom.classlist.enable(this.elHeader_,"goog-zippy-collapsed",!
a),goog.a11y.aria.setState(this.elHeader_,goog.a11y.aria.State.EXPANDED,a))};
goog.ui.Zippy.prototype.setHandleMouseEvents=function(a){this.handleMouseEvents_!
=a&&((this.handleMouseEvents_=a)?
(this.enableMouseEventsHandling_(this.elHeader_),this.enableMouseEventsHandling_(th
is.elExpandedHeader_)):this.mouseEventHandler_.removeAll())};goog.ui.Zippy.prototyp
e.enableKeyboardEventsHandling_=function(a)
{a&&(this.keyHandler_.attach(a),this.keyboardEventHandler_.listen(this.keyHandler_,
goog.events.KeyEvent.EventType.KEY,this.onHeaderKeyDown_))};
goog.ui.Zippy.prototype.enableMouseEventsHandling_=function(a)
{a&&this.mouseEventHandler_.listen(a,goog.events.EventType.CLICK,this.onHeaderClick
_)};goog.ui.Zippy.prototype.onHeaderKeyDown_=function(a)
{if(a.keyCode==goog.events.KeyCodes.ENTER||
a.keyCode==goog.events.KeyCodes.SPACE)this.toggle(),this.dispatchActionEvent_(a),a.
preventDefault(),a.stopPropagation()};goog.ui.Zippy.prototype.onHeaderClick_=functi
on(a){this.toggle();this.dispatchActionEvent_(a)};
goog.ui.Zippy.prototype.dispatchActionEvent_=function(a){this.dispatchEvent(new
goog.ui.ZippyEvent(goog.ui.Zippy.Events.ACTION,this,this.expanded_,a))};goog.ui.Zip
pyEvent=function(a,b)
{goog.events.Event.call(this,a,b)};goog.inherits(goog.ui.ZippyEvent,goog.events.Eve
nt);function module$contents$ocean$chrome$navbar_init(a){var
b=goog.dom.getElement("navbarContainer");if(b&&a.child_node){var
c=goog.dom.createDom(goog.dom.TagName.UL,"gb-left-nav-
list");module$contents$goog$array_forEach(a.child_node,function(d)
{module$contents$ocean$chrome$navbar_appendChildren(c,d,"gb-left-
nav",a.highlighted_node_id)});b.appendChild(c)}}
function module$contents$ocean$chrome$navbar_appendChildren(a,b,c,d)
{if(b.child_node&&0<b.child_node.length){var
e=module$contents$ocean$chrome$navbar_createChildNode(b,!
0,c,d),f=goog.dom.createDom(goog.dom.TagName.UL,c+"-
list");a.appendChild(e);a.appendChild(f);a=new goog.ui.Zippy(e,f);a.setExpanded(!
b.collapsed);module$contents$goog$array_forEach(b.child_node,function(g)
{module$contents$ocean$chrome$navbar_appendChildren(f,g,c,d)})}else
a.appendChild(module$contents$ocean$chrome$navbar_createChildNode(b,
!1,c,d))}function module$contents$ocean$chrome$navbar_createChildNode(a,b,c,d)
{if(b){var e=c+"-heading";b=c+"-header"}else e=c+"-link",b=c+"-item";e=""!=a.url?
goog.dom.createDom(goog.dom.TagName.A,
{"class":e,href:a.url},goog.string.unescapeEntities(a.title)):goog.dom.createDom(go
og.dom.TagName.DIV,e,a.title);b=goog.dom.createDom(goog.dom.TagName.DIV,b,e);d==a.i
d&&goog.dom.classlist.add(b,c+"-selected");return
b}goog.exportSymbol("_OC_InitNavbar",module$contents$ocean$chrome$navbar_init);ocea
n.common={};var module$contents$ocean$common$AutoDirText_AutoDirText=function(a,b)
{goog.events.EventTarget.call(this);this.element_=a;this.relatedElement_=b||
null;goog.dom.classlist.add(a,"with-auto-dir-
text");goog.events.listen(this.element_,"keyup",goog.bind(this.handleKeyup_,this));
goog.events.listen(this.element_,"paste",goog.bind(this.handlePaste_,this))};
$jscomp.inherits(module$contents$ocean$common$AutoDirText_AutoDirText,goog.events.E
ventTarget);
module$contents$ocean$common$AutoDirText_AutoDirText.prototype.handleKeyup_=functio
n()
{module$contents$ocean$common$AutoDirText_AutoDirText.setElementDirAndAlign(this.el
ement_,this.relatedElement_)};module$contents$ocean$common$AutoDirText_AutoDirText.
prototype.handlePaste_=function()
{module$contents$ocean$common$AutoDirText_AutoDirText.setElementDirAndAlignWithTime
out(this.element_,this.relatedElement_)};
module$contents$ocean$common$AutoDirText_AutoDirText.setElementDirAndAlignWithTimeo
ut=function(a,b){var c=goog.partial(function()
{module$contents$ocean$common$AutoDirText_AutoDirText.setElementDirAndAlign(a,b)});
goog.Timer.callOnce(c)};
module$contents$ocean$common$AutoDirText_AutoDirText.setElementDirAndAlign=function
(a,b){var c=!1;(a.value?
goog.i18n.bidi.detectRtlDirectionality(a.value):ocean.style.isPageRtl())?(c=!
0,goog.style.setStyle(a,"textAlign","right"),goog.dom.setProperties(a,
{dir:"rtl"})):(goog.style.setStyle(a,"textAlign","left"),goog.dom.setProperties(a,
{dir:"ltr"}));b&&(c?(goog.dom.classlist.remove(b,"input-direction-
ltr"),goog.dom.classlist.add(b,"input-direction-rtl")):
(goog.dom.classlist.add(b,"input-direction-ltr"),
goog.dom.classlist.remove(b,"input-direction-
rtl")))};module$contents$ocean$common$AutoDirText_AutoDirText.setAutoDirectionality
=function(a,b){if(a=goog.dom.getElement(a))b=b?
goog.dom.getElement(b):null,module$contents$ocean$common$AutoDirText_AutoDirText.se
tElementDirAndAlign(a,b),new
module$contents$ocean$common$AutoDirText_AutoDirText(a,b)};goog.exportSymbol("_OC_a
utoDir",module$contents$ocean$common$AutoDirText_AutoDirText.setAutoDirectionality)
;ocean.common.AutoDirText=module$contents$ocean$common$AutoDirText_AutoDirText;var
module$exports$ocean$entitypage$EntityPageOptIn=function(a)
{this.optInBanner_=goog.dom.getElement("gb-ogen-opt-in-
banner");this.bannerDismissLink_=goog.dom.getElement("gb-ogen-opt-in-banner-
dismiss");this.headerButton_=goog.dom.getElement("gb-ogen-opt-in-header-
link");this.viewportResizeManager_=a;this.addPersistentHeaderLink_();this.initializ
eBanner_()};
module$exports$ocean$entitypage$EntityPageOptIn.prototype.addPersistentHeaderLink_=
function(){var
a=goog.dom.getElement("gbq");this.headerButton_&&a&&(a=goog.dom.getParentElement(a)
)&&(goog.dom.classlist.add(a,"searchbar-with-opt-
in"),goog.dom.insertSiblingAfter(this.headerButton_,a),goog.style.setStyle(this.hea
derButton_,"display","block"))};
module$exports$ocean$entitypage$EntityPageOptIn.prototype.initializeBanner_=functio
n(){var
a=this;this.optInBanner_&&this.bannerDismissLink_&&(window.localStorage.getItem("ob
close")?goog.style.setElementShown(this.optInBanner_,!1):
(goog.dom.classlist.add(this.optInBanner_,"opt-in-banner-
expanded"),goog.events.listen(this.bannerDismissLink_,goog.events.EventType.CLICK,f
unction(){goog.dom.classlist.remove(a.optInBanner_,"opt-in-banner-
expanded");window.localStorage.setItem("obclose","true");goog.Timer.callOnce(functi
on(){goog.style.setElementShown(a.optInBanner_,
!1);a.viewportResizeManager_.resize()},600)})))};var
module$exports$ocean$util$oneGoogle$Element={FORM:"gbqf",INPUT_PARENT:"gbqfqw",INPU
T:"gbqfq",SUBMIT:"gbqfb"};ocean.util.searchbox={};var
module$contents$ocean$util$searchbox_disableOnEmptyQuery=function(a,b)
{a=goog.dom.getElement(a);b=goog.dom.getElement(b);a&&b&&goog.events.listen(a,goog.
events.EventType.SUBMIT,goog.partial(module$contents$ocean$util$searchbox_handleSea
rchSubmit,b))},module$contents$ocean$util$searchbox_handleSearchSubmit=function(a,b
)
{""==a.value&&b.preventDefault()};ocean.util.searchbox.disableOnEmptyQuery=module$c
ontents$ocean$util$searchbox_disableOnEmptyQuery;goog.style.cursor={};goog.style.cu
rsor.OPENHAND_FILE="openhand.cur";goog.style.cursor.CLOSEDHAND_FILE="closedhand.cur
";goog.style.cursor.getDraggableCursorStyle=function(a){return
goog.style.cursor.getCursorStyle_("-moz-
grab",a+goog.style.cursor.OPENHAND_FILE,"default")};goog.style.cursor.getDraggingCu
rsorStyle=function(a){return goog.style.cursor.getCursorStyle_("-moz-
grabbing",a+goog.style.cursor.CLOSEDHAND_FILE,"move")};
goog.style.cursor.getCursorStyle_=function(a,b,c){if(goog.userAgent.GECKO&&!
goog.userAgent.WINDOWS)return a;a='url("'+b+'")';goog.userAgent.WEBKIT&&(a+=" 7
5");return a+=", "+c};var
module$contents$ocean$viewport$Dragger_Dragger=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.vie
wportEventHandler_=new
goog.events.EventHandler;this.getHandler().listen(a,ocean.viewport.Viewer.EventType
.VIEWPORTMODECHANGE,this.handleViewportChange_);
(a=this.viewer_.getViewport())&&this.handleViewportChange_()};
$jscomp.inherits(module$contents$ocean$viewport$Dragger_Dragger,module$contents$oce
an$EventManager_EventManager);
module$contents$ocean$viewport$Dragger_Dragger.prototype.handleViewportChange_=func
tion(){this.cleanupDraggerAndListeners_();var
a=this.viewer_.getViewport().getWindow();if(goog.DEBUG&&!(a instanceof
module$contents$ocean$viewport$ScrollWindow_ScrollWindow))throw"window must be an
instance of ScrollWindow";this.dragDiv_=a.backgroundDiv_;a=new
goog.fx.Dragger(this.dragDiv_);a.defaultAction=function()
{};this.closureDragger_=a;this.viewportEventHandler_.listen(this.dragDiv_,goog.even
ts.EventType.DBLCLICK,
goog.bind(this.handleDblClick_,this));this.viewportEventHandler_.listen(a,goog.fx.D
ragger.EventType.START,goog.bind(this.handleDragStart_,this));this.viewportEventHan
dler_.listen(a,goog.fx.Dragger.EventType.DRAG,goog.bind(this.handleDrag_,this));thi
s.viewportEventHandler_.listen(a,goog.fx.Dragger.EventType.END,goog.bind(this.handl
eDragEnd_,this));this.setDraggingCursor_(!
1)};module$contents$ocean$viewport$Dragger_Dragger.prototype.handleDblClick_=functi
on(){this.viewer_.queueCommand(ocean.viewport.Viewer.Commands.NEXT)};
module$contents$ocean$viewport$Dragger_Dragger.prototype.setDraggingCursor_=functio
n(a)
{goog.style.setStyle(this.dragDiv_,"cursor",module$contents$ocean$viewport$Dragger_
Dragger.getDraggingCursorStyle_(a))};module$contents$ocean$viewport$Dragger_Dragger
.getDraggingCursorStyle_=function(a){if(goog.userAgent.GECKO)return a?"-moz-
grabbing":"-moz-grab";var
b=ocean.util.Url.getUrlOnDomain("/googlebooks/images/");return a?
goog.style.cursor.getDraggingCursorStyle(b):goog.style.cursor.getDraggableCursorSty
le(b)};
module$contents$ocean$viewport$Dragger_Dragger.prototype.handleDragStart_=function(
)
{this.dragStartScrollCoord_=this.viewer_.getViewport().getScroll();this.setDragging
Cursor_(!
0)};module$contents$ocean$viewport$Dragger_Dragger.prototype.handleDrag_=function()
{var a=this.closureDragger_,b=this.dragStartScrollCoord_;a=new
goog.math.Coordinate(b.x-a.deltaX,b.y-
a.deltaY);this.viewer_.getViewport().setScroll(a)};
module$contents$ocean$viewport$Dragger_Dragger.prototype.handleDragEnd_=function()
{this.dragStartScrollCoord_=null;this.setDraggingCursor_(!
1)};module$contents$ocean$viewport$Dragger_Dragger.prototype.cleanupDraggerAndListe
ners_=function()
{this.viewportEventHandler_.removeAll();this.closureDragger_&&this.closureDragger_.
dispose()};module$contents$ocean$viewport$Dragger_Dragger.prototype.disposeInternal
=function()
{module$contents$ocean$EventManager_EventManager.prototype.disposeInternal.call(thi
s)};
ocean.viewport.Dragger=module$contents$ocean$viewport$Dragger_Dragger;goog.dom.TagW
alkType={START_TAG:1,OTHER:0,END_TAG:-1};goog.dom.TagIterator=function(a,b,c,d,e)
{this.reversed=!!
b;this.node=null;this.tagType=goog.dom.TagWalkType.OTHER;this.started_=!
1;this.constrained=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?
e:this.tagType||0;this.reversed&&(this.depth*=-
1)};goog.inherits(goog.dom.TagIterator,goog.iter.Iterator);
goog.dom.TagIterator.prototype.setPosition=function(a,b,c)
{if(this.node=a)this.tagType="number"===typeof b?b:this.node.nodeType!
=goog.dom.NodeType.ELEMENT?goog.dom.TagWalkType.OTHER:this.reversed?
goog.dom.TagWalkType.END_TAG:goog.dom.TagWalkType.START_TAG;"number"===typeof
c&&(this.depth=c)};goog.dom.TagIterator.prototype.clone=function(){return new
goog.dom.TagIterator(this.node,this.reversed,!
this.constrained,this.tagType,this.depth)};
goog.dom.TagIterator.prototype.restartTag=function(){var a=this.reversed?
goog.dom.TagWalkType.START_TAG:goog.dom.TagWalkType.END_TAG;this.tagType==a&&(this.
tagType=-1*a,this.depth+=this.tagType*(this.reversed?-1:1))};
goog.dom.TagIterator.prototype.next=function(){if(this.started_){if(!this.node||
this.constrained&&0==this.depth)return goog.iter.ES6_ITERATOR_DONE;var
a=this.node;var b=this.reversed?
goog.dom.TagWalkType.END_TAG:goog.dom.TagWalkType.START_TAG;if(this.tagType==b){var
c=this.reversed?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-
1*b)}else(c=this.reversed?a.previousSibling:a.nextSibling)?
this.setPosition(c):this.setPosition(a.parentNode,-
1*b);this.depth+=this.tagType*(this.reversed?
-1:1)}else this.started_=!0;return(a=this.node)?
goog.iter.createEs6IteratorYield(a):goog.iter.ES6_ITERATOR_DONE};goog.dom.TagIterat
or.prototype.isEndTag=function(){return
this.tagType==goog.dom.TagWalkType.END_TAG};goog.dom.TagIterator.prototype.equals=f
unction(a){return a.node==this.node&&(!this.node||a.tagType==this.tagType)};
goog.dom.TagIterator.prototype.splice=function(a){var
b=this.node;this.restartTag();this.reversed=!
this.reversed;goog.dom.TagIterator.prototype.next.call(this);this.reversed=!
this.reversed;for(var c=goog.isArrayLike(arguments[0])?
arguments[0]:arguments,d=c.length-
1;0<=d;d--)goog.dom.insertSiblingAfter(c[d],b);goog.dom.removeNode(b)};goog.dom.Nod
eIterator=function(a,b,c,d)
{goog.dom.TagIterator.call(this,a,b,c,null,d)};goog.inherits(goog.dom.NodeIterator,
goog.dom.TagIterator);goog.dom.NodeIterator.prototype.next=function(){do{var
a=goog.dom.NodeIterator.superClass_.next.call(this);if(a.done)return
a}while(this.isEndTag());return
goog.iter.createEs6IteratorYield(this.node)};goog.html.CssSpecificity={};var
module$contents$goog$html$CssSpecificity_specificityCache={};
function module$contents$goog$html$CssSpecificity_getSpecificity(a){var
b=module$contents$goog$html$CssSpecificity_specificityCache.hasOwnProperty(a)?
module$contents$goog$html$CssSpecificity_specificityCache[a]:null;if(b)return
b;65536<Object.keys(module$contents$goog$html$CssSpecificity_specificityCache).leng
th&&(module$contents$goog$html$CssSpecificity_specificityCache={});b=a;var
c=[0,0,0,0],d=RegExp("\\\\[0-9A-Fa-f]{6}\\s?","g"),e=RegExp("\\\\[0-9A-Fa-f]{1,5}\\
s","g"),f=/\\./g;b=module$contents$goog$html$CssSpecificity_replaceWithPlainText(b,
d);b=module$contents$goog$html$CssSpecificity_replaceWithPlainText(b,e);b=module$co
ntents$goog$html$CssSpecificity_replaceWithPlainText(b,f);d=RegExp(":not\\
(([^\\)]*)\\)","g");b=b.replace(d," $1
");d=RegExp("{[^]*","gm");b=b.replace(d,"");d=RegExp("(\\[[^\\]]
+\\])","g");b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,2
);d=RegExp("(#[^\\#\\s\\+>~\\.\\[:]
+)","g");b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,1);d
=RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g");
b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,2);d=/(::[^\
s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/
gi;b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,3);d=/(:[\
w-]+\([^\)]*\))/
gi;b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,2);d=/(:
[^\s\+>~\.\[:]+)/
g;b=module$contents$goog$html$CssSpecificity_replaceWithEmptyText(b,c,d,2);b=b.repl
ace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g,"
");d=/([^\s\+>~\.\[:]+)/g;module$contents$goog$html$CssSpecificity_replaceWithEmpty
Text(b,
c,d,3);b=c;return
module$contents$goog$html$CssSpecificity_specificityCache[a]=b}function
module$contents$goog$html$CssSpecificity_replaceWithEmptyText(a,b,c,d){return
a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function
module$contents$goog$html$CssSpecificity_replaceWithPlainText(a,b){return
a.replace(b,function(c){return
Array(c.length+1).join("A")})}goog.html.CssSpecificity.getSpecificity=module$conten
ts$goog$html$CssSpecificity_getSpecificity;goog.html.sanitizer={};goog.html.sanitiz
er.CssPropertySanitizer={};
var
module$contents$goog$html$sanitizer$CssPropertySanitizer_ALLOWED_FUNCTIONS={rgb:!
0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!
0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!
0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!
0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!
0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!
0},module$contents$goog$html$sanitizer$CssPropertySanitizer_NORM_URL_REGEXP=
/[\n\f\r"'()*<>]/
g,module$contents$goog$html$sanitizer$CssPropertySanitizer_NORM_URL_REPLACEMENTS={"
\n":"%0a","\f":"%0c","\
r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"};fun
ction module$contents$goog$html$sanitizer$CssPropertySanitizer_normalizeUrlChar(a)
{return
goog.asserts.assert(module$contents$goog$html$sanitizer$CssPropertySanitizer_NORM_U
RL_REPLACEMENTS[a])}
goog.html.sanitizer.CssPropertySanitizer.sanitizeProperty=function(a,b,c)
{b=goog.string.trim(b);if(""==b)return
null;if(goog.string.caseInsensitiveStartsWith(b,"url(")){if(!b.endsWith(")")||
1<goog.string.countOf(b,"(")||1<goog.string.countOf(b,")")||!c)return
null;b=goog.string.stripQuotes(b.substring(4,b.length-1),"\"'");b=c?
(b=c(b,a))&&module$contents$google3$third_party$javascript$safevalues$internals$url
_impl_unwrapUrl(b)!
=module$exports$google3$third_party$javascript$safevalues$internals$url_impl.INNOCU
OUS_URL.toString()?
'url("'+module$contents$google3$third_party$javascript$safevalues$internals$url_imp
l_unwrapUrl(b).replace(module$contents$goog$html$sanitizer$CssPropertySanitizer_NOR
M_URL_REGEXP,module$contents$goog$html$sanitizer$CssPropertySanitizer_normalizeUrlC
har)+'")':null:null;return b}if(0<b.indexOf("(")){if(/"|'/.test(b))return
null;for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1].toLowerCase()in
module$contents$goog$html$sanitizer$CssPropertySanitizer_ALLOWED_FUNCTIONS))return
null}return b};goog.html.sanitizer.inertDocument={};function
module$contents$goog$html$sanitizer$inertDocument_createInertDocument(){return
document.implementation.createHTMLDocument("")}goog.html.sanitizer.inertDocument.cr
eateInertDocument=module$contents$goog$html$sanitizer$inertDocument_createInertDocu
ment;goog.html.sanitizer.noclobber={};function
module$contents$goog$html$sanitizer$noclobber_getterOrNull(a,b)
{a=goog.global[a];return a&&a.prototype?
(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}function
module$contents$goog$html$sanitizer$noclobber_prototypeMethodOrNull(a,b)
{return(a=goog.global[a])&&a.prototype&&a.prototype[b]||null}
var
module$contents$goog$html$sanitizer$noclobber_Methods={ATTRIBUTES_GETTER:module$con
tents$goog$html$sanitizer$noclobber_getterOrNull("Element","attributes")||
module$contents$goog$html$sanitizer$noclobber_getterOrNull("Node","attributes"),HAS
_ATTRIBUTE:module$contents$goog$html$sanitizer$noclobber_prototypeMethodOrNull("Ele
ment","hasAttribute"),GET_ATTRIBUTE:module$contents$goog$html$sanitizer$noclobber_p
rototypeMethodOrNull("Element","getAttribute"),SET_ATTRIBUTE:module$contents$goog$h
tml$sanitizer$noclobber_prototypeMethodOrNull("Element",
"setAttribute"),REMOVE_ATTRIBUTE:module$contents$goog$html$sanitizer$noclobber_prot
otypeMethodOrNull("Element","removeAttribute"),INNER_HTML_GETTER:module$contents$go
og$html$sanitizer$noclobber_getterOrNull("Element","innerHTML")||
module$contents$goog$html$sanitizer$noclobber_getterOrNull("HTMLElement","innerHTML
"),GET_ELEMENTS_BY_TAG_NAME:module$contents$goog$html$sanitizer$noclobber_prototype
MethodOrNull("Element","getElementsByTagName"),MATCHES:module$contents$goog$html$sa
nitizer$noclobber_prototypeMethodOrNull("Element",
"matches")||
module$contents$goog$html$sanitizer$noclobber_prototypeMethodOrNull("Element","msMa
tchesSelector"),NODE_NAME_GETTER:module$contents$goog$html$sanitizer$noclobber_gett
erOrNull("Node","nodeName"),NODE_TYPE_GETTER:module$contents$goog$html$sanitizer$no
clobber_getterOrNull("Node","nodeType"),PARENT_NODE_GETTER:module$contents$goog$htm
l$sanitizer$noclobber_getterOrNull("Node","parentNode"),CHILD_NODES_GETTER:module$c
ontents$goog$html$sanitizer$noclobber_getterOrNull("Node","childNodes"),APPEND_CHIL
D:module$contents$goog$html$sanitizer$noclobber_prototypeMethodOrNull("Node",
"appendChild"),STYLE_GETTER:module$contents$goog$html$sanitizer$noclobber_getterOrN
ull("HTMLElement","style")||
module$contents$goog$html$sanitizer$noclobber_getterOrNull("Element","style"),SHEET
_GETTER:module$contents$goog$html$sanitizer$noclobber_getterOrNull("HTMLStyleElemen
t","sheet"),GET_PROPERTY_VALUE:module$contents$goog$html$sanitizer$noclobber_protot
ypeMethodOrNull("CSSStyleDeclaration","getPropertyValue"),SET_PROPERTY:module$conte
nts$goog$html$sanitizer$noclobber_prototypeMethodOrNull("CSSStyleDeclaration",
"setProperty"),NAMESPACE_URI_GETTER:module$contents$goog$html$sanitizer$noclobber_g
etterOrNull("Element","namespaceURI")||
module$contents$goog$html$sanitizer$noclobber_getterOrNull("Node","namespaceURI")};
function module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(a,b,c,d)
{if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return
a}
function module$contents$goog$html$sanitizer$noclobber_genericMethodCall(a,b,c,d)
{if(a)return a.apply(b,d);if(goog.userAgent.product.IE&&10>document.documentMode)
{if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof
b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}
function module$contents$goog$html$sanitizer$noclobber_getElementAttributes(a)
{return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.ATTRIBUTES_GETTER,a,"attributes",function(b)
{return b instanceof NamedNodeMap})}
function module$contents$goog$html$sanitizer$noclobber_hasElementAttribute(a,b)
{return
module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$goo
g$html$sanitizer$noclobber_Methods.HAS_ATTRIBUTE,a,"hasAttribute",[b])}function
module$contents$goog$html$sanitizer$noclobber_getElementAttribute(a,b){return
module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$goo
g$html$sanitizer$noclobber_Methods.GET_ATTRIBUTE,a,"getAttribute",[b])||null}
function module$contents$goog$html$sanitizer$noclobber_setElementAttribute(a,b,c)
{try{module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$content
s$goog$html$sanitizer$noclobber_Methods.SET_ATTRIBUTE,a,"setAttribute",
[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}
function module$contents$goog$html$sanitizer$noclobber_removeElementAttribute(a,b)
{module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$go
og$html$sanitizer$noclobber_Methods.REMOVE_ATTRIBUTE,a,"removeAttribute",[b])}
function module$contents$goog$html$sanitizer$noclobber_getElementInnerHTML(a)
{return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.INNER_HTML_GETTER,a,"innerHTML",function(b)
{return"string"==typeof b})}
function module$contents$goog$html$sanitizer$noclobber_getElementStyle(a)
{module$contents$goog$html$sanitizer$noclobber_assertHTMLElement(a);return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.STYLE_GETTER,a,"style",function(b){return b
instanceof CSSStyleDeclaration})}
function module$contents$goog$html$sanitizer$noclobber_assertHTMLElement(a)
{if(goog.asserts.ENABLE_ASSERTS&&!(a instanceof HTMLElement))throw Error("Not an
HTMLElement");}function
module$contents$goog$html$sanitizer$noclobber_getElementsByTagName(a,b){return
Array.from(module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$c
ontents$goog$html$sanitizer$noclobber_Methods.GET_ELEMENTS_BY_TAG_NAME,a,"getElemen
tsByTagName",[b]))}
function module$contents$goog$html$sanitizer$noclobber_getElementStyleSheet(a)
{module$contents$goog$html$sanitizer$noclobber_assertHTMLElement(a);return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.SHEET_GETTER,a,"sheet",function(b){return b
instanceof CSSStyleSheet})}
function module$contents$goog$html$sanitizer$noclobber_elementMatches(a,b){return
module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$goo
g$html$sanitizer$noclobber_Methods.MATCHES,a,a.matches?"matches":"msMatchesSelector
",[b])}
function module$contents$goog$html$sanitizer$noclobber_assertNodeIsElement(a)
{goog.asserts.ENABLE_ASSERTS&&!
module$contents$goog$html$sanitizer$noclobber_isNodeElement(a)&&goog.asserts.fail("
Expected Node of type Element but got Node of type
%s",module$contents$goog$html$sanitizer$noclobber_getNodeType(a));return a}function
module$contents$goog$html$sanitizer$noclobber_isNodeElement(a){return
module$contents$goog$html$sanitizer$noclobber_getNodeType(a)==goog.dom.NodeType.ELE
MENT}
function module$contents$goog$html$sanitizer$noclobber_getNodeName(a){return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.NODE_NAME_GETTER,a,"nodeName",function(b)
{return"string"==typeof b})}
function module$contents$goog$html$sanitizer$noclobber_getNodeType(a){return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.NODE_TYPE_GETTER,a,"nodeType",function(b)
{return"number"==typeof b})}
function module$contents$goog$html$sanitizer$noclobber_getParentNode(a){return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.PARENT_NODE_GETTER,a,"parentNode",function(b)
{return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}
function module$contents$goog$html$sanitizer$noclobber_getChildNodes(a){return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.CHILD_NODES_GETTER,a,"childNodes",function(b)
{return b instanceof NodeList})}
function module$contents$goog$html$sanitizer$noclobber_appendNodeChild(a,b){return
module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$goo
g$html$sanitizer$noclobber_Methods.APPEND_CHILD,a,"appendChild",[b])}
function module$contents$goog$html$sanitizer$noclobber_getCssPropertyValue(a,b)
{return
module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$goo
g$html$sanitizer$noclobber_Methods.GET_PROPERTY_VALUE,a,a.getPropertyValue?"getProp
ertyValue":"getAttribute",[b])||""}
function module$contents$goog$html$sanitizer$noclobber_setCssProperty(a,b,c)
{module$contents$goog$html$sanitizer$noclobber_genericMethodCall(module$contents$go
og$html$sanitizer$noclobber_Methods.SET_PROPERTY,a,a.setProperty?"setProperty":"set
Attribute",[b,c])}
function module$contents$goog$html$sanitizer$noclobber_getElementNamespaceURI(a)
{return
module$contents$goog$html$sanitizer$noclobber_genericPropertyGet(module$contents$go
og$html$sanitizer$noclobber_Methods.NAMESPACE_URI_GETTER,a,"namespaceURI",function(
b){return"string"==typeof
b})}goog.html.sanitizer.noclobber.getElementAttributes=module$contents$goog$html$sa
nitizer$noclobber_getElementAttributes;goog.html.sanitizer.noclobber.hasElementAttr
ibute=module$contents$goog$html$sanitizer$noclobber_hasElementAttribute;
goog.html.sanitizer.noclobber.getElementAttribute=module$contents$goog$html$sanitiz
er$noclobber_getElementAttribute;goog.html.sanitizer.noclobber.setElementAttribute=
module$contents$goog$html$sanitizer$noclobber_setElementAttribute;goog.html.sanitiz
er.noclobber.removeElementAttribute=module$contents$goog$html$sanitizer$noclobber_r
emoveElementAttribute;goog.html.sanitizer.noclobber.getElementInnerHTML=module$cont
ents$goog$html$sanitizer$noclobber_getElementInnerHTML;
goog.html.sanitizer.noclobber.getElementStyle=module$contents$goog$html$sanitizer$n
oclobber_getElementStyle;goog.html.sanitizer.noclobber.getElementsByTagName=module$
contents$goog$html$sanitizer$noclobber_getElementsByTagName;goog.html.sanitizer.noc
lobber.getElementStyleSheet=module$contents$goog$html$sanitizer$noclobber_getElemen
tStyleSheet;goog.html.sanitizer.noclobber.elementMatches=module$contents$goog$html$
sanitizer$noclobber_elementMatches;goog.html.sanitizer.noclobber.assertNodeIsElemen
t=module$contents$goog$html$sanitizer$noclobber_assertNodeIsElement;
goog.html.sanitizer.noclobber.isNodeElement=module$contents$goog$html$sanitizer$noc
lobber_isNodeElement;goog.html.sanitizer.noclobber.getNodeName=module$contents$goog
$html$sanitizer$noclobber_getNodeName;goog.html.sanitizer.noclobber.getNodeType=mod
ule$contents$goog$html$sanitizer$noclobber_getNodeType;goog.html.sanitizer.noclobbe
r.getParentNode=module$contents$goog$html$sanitizer$noclobber_getParentNode;goog.ht
ml.sanitizer.noclobber.getChildNodes=module$contents$goog$html$sanitizer$noclobber_
getChildNodes;
goog.html.sanitizer.noclobber.appendNodeChild=module$contents$goog$html$sanitizer$n
oclobber_appendNodeChild;goog.html.sanitizer.noclobber.getCssPropertyValue=module$c
ontents$goog$html$sanitizer$noclobber_getCssPropertyValue;goog.html.sanitizer.noclo
bber.setCssProperty=module$contents$goog$html$sanitizer$noclobber_setCssProperty;go
og.html.sanitizer.noclobber.getElementNamespaceURI=module$contents$goog$html$saniti
zer$noclobber_getElementNamespaceURI;goog.html.sanitizer.noclobber.Methods=module$c
ontents$goog$html$sanitizer$noclobber_Methods;goog.html.sanitizer.CssSanitizer={};g
oog.html.sanitizer.CssSanitizer.SELECTOR_REGEX_=RegExp("\\s*([^\\s'\",]+
[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|
[^'\",])*)","g");goog.html.sanitizer.CssSanitizer.CHROME_INCLUDE_VENDOR_PREFIX_WHIT
ELIST_={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!
0};
goog.html.sanitizer.CssSanitizer.withoutVendorPrefix_=function(a){return
goog.userAgent.WEBKIT&&a in
goog.html.sanitizer.CssSanitizer.CHROME_INCLUDE_VENDOR_PREFIX_WHITELIST_?
a:a.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/
i,"")};
goog.html.sanitizer.CssSanitizer.sanitizeStyleSheet_=function(a,b,c){var
d=[];a=goog.html.sanitizer.CssSanitizer.getOnlyStyleRules_(module$contents$goog$arr
ay_toArray(a.cssRules));a.forEach(function(e){if(b&&!/[a-zA-Z][\
w-:\.]*/.test(b))throw Error("Invalid container id");if(!
(b&&goog.userAgent.product.IE&&10==document.documentMode&&/\\
['"]/.test(e.selectorText))){var f=b?
e.selectorText.replace(goog.html.sanitizer.CssSanitizer.SELECTOR_REGEX_,"#"+b+"
$1"):e.selectorText;d.push(module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.
createRule(f,
goog.html.sanitizer.CssSanitizer.sanitizeInlineStyle(e.style,c)))}});return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat(d)};goog.html.saniti
zer.CssSanitizer.getOnlyStyleRules_=function(a){return a.filter(function(b){return
b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})};
goog.html.sanitizer.CssSanitizer.sanitizeStyleSheetString=function(a,b,c)
{a=goog.html.sanitizer.CssSanitizer.safeParseHtmlAndGetInertElement("<style>"+a+"</
style>");if(null==a||null==a.sheet)return
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;b=void 0!=b?
b:null;return goog.html.sanitizer.CssSanitizer.sanitizeStyleSheet_(a.sheet,b,c)};
goog.html.sanitizer.CssSanitizer.safeParseHtmlAndGetInertElement=function(a)
{a=module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_ht
mlSafeByReview("<html><head></head><body>"+a+"</body></html>",{justification:"Never
attached to DOM."});return goog.dom.safe.parseFromStringHtml(new
DOMParser,a).body.children[0]};
goog.html.sanitizer.CssSanitizer.sanitizeInlineStyle=function(a,b){if(!a)return
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;var
c=document.createElement("div").style,d=goog.html.sanitizer.CssSanitizer.getCssProp
Names_(a);d.forEach(function(e){var
f=goog.html.sanitizer.CssSanitizer.withoutVendorPrefix_(e);goog.html.sanitizer.CssS
anitizer.isDisallowedPropertyName_(f)||
(e=module$contents$goog$html$sanitizer$noclobber_getCssPropertyValue(a,e),e=goog.ht
ml.sanitizer.CssPropertySanitizer.sanitizeProperty(f,
e,b),null!
=e&&module$contents$goog$html$sanitizer$noclobber_setCssProperty(c,f,e))});return
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_style
SafeByReview(c.cssText||"",{justification:"Output of CSS sanitizer"})};
goog.html.sanitizer.CssSanitizer.sanitizeInlineStyleString=function(a,b){var
c=module$contents$goog$html$sanitizer$inertDocument_createInertDocument().createEle
ment("DIV");c.style.cssText=a;return
goog.html.sanitizer.CssSanitizer.sanitizeInlineStyle(c.style,b)};
goog.html.sanitizer.CssSanitizer.inlineStyleRules=function(a){var
b=module$contents$goog$html$sanitizer$noclobber_getElementsByTagName(a,"STYLE"),c=m
odule$contents$goog$array_concatMap(b,function(g){return
module$contents$goog$array_toArray(module$contents$goog$html$sanitizer$noclobber_ge
tElementStyleSheet(g).cssRules)});c=goog.html.sanitizer.CssSanitizer.getOnlyStyleRu
les_(c);for(var d=[],e=0;e<c.length;e+
+)d[e]={index:e,rule:c[e]};d.sort(function(g,h){var
k=module$contents$goog$html$CssSpecificity_getSpecificity(g.rule.selectorText),
l=module$contents$goog$html$CssSpecificity_getSpecificity(h.rule.selectorText);retu
rn module$contents$goog$array_compare3(k,l)||g.index-
h.index});for(e=0;e<d.length;e+
+)c[e]=d[e].rule;c.reverse();a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,
null,!1);for(var f;f=a.nextNode();)c.forEach(function(g)
{module$contents$goog$html$sanitizer$noclobber_elementMatches(f,g.selectorText)&&g.
style&&goog.html.sanitizer.CssSanitizer.mergeStyleDeclarations_(f,g.style)});b.forE
ach(goog.dom.removeNode)};
goog.html.sanitizer.CssSanitizer.mergeStyleDeclarations_=function(a,b){var
c=goog.html.sanitizer.CssSanitizer.getCssPropNames_(a.style),d=goog.html.sanitizer.
CssSanitizer.getCssPropNames_(b);d.forEach(function(e){if(!(0<=c.indexOf(e))){var
f=module$contents$goog$html$sanitizer$noclobber_getCssPropertyValue(b,e);module$con
tents$goog$html$sanitizer$noclobber_setCssProperty(a.style,e,f)}})};
goog.html.sanitizer.CssSanitizer.getCssPropNames_=function(a){goog.isArrayLike(a)?
a=module$contents$goog$array_toArray(a):
(a=module$contents$goog$object_getKeys(a),module$contents$goog$array_remove(a,"cssT
ext"));return
a};goog.html.sanitizer.CssSanitizer.isDisallowedPropertyName_=function(a){return
goog.string.startsWith(a,"--")||goog.string.startsWith(a,"var")};var
security={asserts:{}};security.asserts.assert={};
var
module$contents$security$asserts$assert_END_TAG_MARKER_=goog.dom.createElement(goog
.dom.TagName.DIV),module$contents$security$asserts$assert_BAD_IE_ATTRIBUTES_=new
Set(["methods","CHECKED","dataFld","dataFormatAs","dataSrc"]),module$contents$secur
ity$asserts$assert_DOUBLE_EQUALITY_PREDICATE=function(a,b){return
a==b},module$contents$security$asserts$assert_TO_STRING_EQUALITY_PREDICATE=function
(a,b){return
a.toString()===b.toString()},module$contents$security$asserts$assert_PRIMITIVE_EQUA
LITY_PREDICATES={String:module$contents$security$asserts$assert_DOUBLE_EQUALITY_PRE
DICATE,
Number:module$contents$security$asserts$assert_DOUBLE_EQUALITY_PREDICATE,Boolean:mo
dule$contents$security$asserts$assert_DOUBLE_EQUALITY_PREDICATE,Date:function(a,b)
{return
a.getTime()==b.getTime()},RegExp:module$contents$security$asserts$assert_TO_STRING_
EQUALITY_PREDICATE,Function:module$contents$security$asserts$assert_TO_STRING_EQUAL
ITY_PREDICATE};
function module$contents$security$asserts$assert_assertHtmlContentsMatch(a,b,c){var
d=goog.html.sanitizer.CssSanitizer.safeParseHtmlAndGetInertElement("<div></
div>");module$exports$google3$third_party$javascript$safevalues$dom$elements$elemen
t.setInnerHtml(goog.asserts.assertObject(d),module$contents$google3$third_party$jav
ascript$safevalues$restricted$reviewed_htmlSafeByReview(a,{justification:"Added
into an inert element"}));var e="\nExpected\n"+d.innerHTML+"\nActual\
n"+b.innerHTML,f=goog.iter.filter(goog.iter.map(new goog.dom.TagIterator(b),
module$contents$security$asserts$assert_endTagMap_),module$contents$security$assert
s$assert_nodeFilter_);a=goog.iter.filter(new
goog.dom.NodeIterator(d),module$contents$security$asserts$assert_nodeFilter_);var
g,h=!1,k=function(){h||(g=goog.iter.nextOrValue(f,null));for(h=!
1;g==module$contents$security$asserts$assert_END_TAG_MARKER_||
g&&g.nodeType==Node.COMMENT_NODE;)g=goog.iter.nextOrValue(f,null)},l=module$content
s$goog$labs$userAgent$browser_isAtMost(module$contents$goog$labs$userAgent$browser_
Brand.IE,
8),m=!0,n=0;goog.iter.forEach(a,function(p){if(p.nodeType!
=Node.COMMENT_NODE&&(k(),goog.asserts.assert(g,"Finished actual HTML before
finishing expected HTML at node number "+n+":
"+module$contents$security$asserts$assert_describeNode_(p)+e),p!=d))
{module$contents$security$asserts$assert_assertEquals("Should have the same node
type, got "+module$contents$security$asserts$assert_describeNode_(g)+" but expected
"+module$contents$security$asserts$assert_describeNode_(p)
+"."+e,p.nodeType,g.nodeType);
if(p.nodeType==goog.dom.NodeType.ELEMENT){p=goog.asserts.assertElement(p);var
q=goog.asserts.assertElement(g);module$contents$security$asserts$assert_assertEqual
s("Tag names should
match"+e,p.tagName,q.tagName);module$contents$security$asserts$assert_assertObjectE
quals("Should have same
styles"+e,goog.style.parseStyleAttribute(p.style.cssText),goog.style.parseStyleAttr
ibute(q.style.cssText));var r=e,t=p,x=q,u=!!c;if(u){var
w=t,v=x;w=goog.dom.classlist.get(w);w=module$contents$goog$array_toArray(w);
w.sort();var
z=module$contents$goog$array_toArray(goog.dom.classlist.get(v));z.sort();module$con
tents$security$asserts$assert_assertArrayEquals("Expected class was: "+w.join(" ")
+", but actual class was: "+v.className+" in node
"+module$contents$security$asserts$assert_describeNode_(v),w,z)}v=t.attributes;w=x.
attributes;z=0;for(var A=v.length;z<A;z++){var
y=v[z].name,D=module$contents$security$asserts$assert_getAttributeValue_(t,y),B=w[y
],C=module$contents$security$asserts$assert_getAttributeValue_(x,
y);if(D||C)"id"==y&&goog.userAgent.IE?(y=D,D=u,C=r,""===y?
D&&module$contents$security$asserts$assert_assertTrue("Unexpected attribute with
name id in element "+C,""==B.value):(goog.asserts.assert(B,"Expected to find
attribute with name id, in element "+C),goog.asserts.assert(""!==B.value,"Expected
to find attribute with name id, in element
"+C),module$contents$security$asserts$assert_assertEquals("Expected attribute has a
different value
"+C,y,B.value))):module$contents$security$asserts$assert_ignoreAttribute_(y)||
(goog.asserts.assert(B,"Expected to find attribute with name "+y+", in element
"+module$contents$security$asserts$assert_describeNode_(x)
+r),goog.asserts.assert(String(D)===String(module$contents$security$asserts$assert_
getAttributeValue_(x,B.name)),"Expected attribute "+y+" has a different value
"+r))}if(u)for(z=0;z<w.length;z++)t=w[z].name,(B=w.getNamedItem(t))&&!
module$contents$security$asserts$assert_ignoreAttribute_(t)&&goog.asserts.assert(v[
t],"Unexpected attribute with name "+t+" in element "+
module$contents$security$asserts$assert_describeNode_(x)+r);l&&"inline"!
=goog.style.getCascadedStyle(q,"display")&&(m=!
0);"template"==q.tagName.toLowerCase()&&q.content&&(p=p.innerHTML,q=q.innerHTML,r=c
,x=goog.dom.createDom(goog.dom.TagName.DIV),module$exports$google3$third_party$java
script$safevalues$dom$elements$element.setInnerHtml(x,module$contents$google3$third
_party$javascript$safevalues$restricted$reviewed_htmlSafeByReview(q,
{justification:"The element is never inserted into
DOM"})),module$contents$security$asserts$assert_assertHtmlContentsMatch(p,
x,r))}else{q=g.nodeValue;for(h=!0;
(g=goog.iter.nextOrValue(f,null))&&g.nodeType==goog.dom.NodeType.TEXT;)q+=g.nodeVal
ue;l&&(m&&!goog.string.isEmptyOrWhitespace(q)&&(q=goog.string.trimLeft(q)),m=/\
s$/.test(q));p=p.nodeValue;if(q&&!goog.string.isBreakingWhitespace(q)||p&&!
goog.string.isBreakingWhitespace(p))q=q.replace(/\s+/g," "),p=p.replace(/\s+/g,"
"),goog.asserts.assert(p===q,"Text should match"+e)}n+
+}});k();goog.asserts.assert(null===goog.iter.nextOrValue(f,null),"Finished
expected HTML before finishing actual HTML"+
e)}function module$contents$security$asserts$assert_describeNode_(a)
{if(a.nodeType==goog.dom.NodeType.TEXT)return"[Text: "+a.nodeValue+"]";var b=a
instanceof Element?a.id:void 0;return"<"+a.nodeName+(b?" #"+b:"")+" .../>"}function
module$contents$security$asserts$assert_endTagMap_(a,b,c){return c.isEndTag()?
module$contents$security$asserts$assert_END_TAG_MARKER_:a}
function module$contents$security$asserts$assert_nodeFilter_(a){return a.nodeType!
=goog.dom.NodeType.TEXT||!goog.string.isBreakingWhitespace(a.nodeValue)||
a.previousSibling&&a.previousSibling.nodeType==goog.dom.NodeType.TEXT||
a.nextSibling&&a.nextSibling.nodeType==goog.dom.NodeType.TEXT?!0:!1}
function module$contents$security$asserts$assert_getAttributeValue_(a,b){return
goog.userAgent.WEBKIT&&a.tagName==goog.dom.TagName.INPUT&&a.type==goog.dom.InputTyp
e.RADIO&&"checked"==b?!1:(goog.userAgent.IE||goog.userAgent.EDGE)&&"src"==b?
a.getAttribute(b):void 0!==a[b]&&typeof a.getAttribute(b)!=typeof a[b]?
a[b]:a.getAttribute(b)}
function module$contents$security$asserts$assert_ignoreAttribute_(a)
{return"style"==a||"class"==a?!
0:goog.userAgent.IE&&module$contents$security$asserts$assert_BAD_IE_ATTRIBUTES_.has
(a)}function module$contents$security$asserts$assert_assertEquals(a,b,c){var
d=module$contents$security$asserts$assert_nonCommentArg(1,2,arguments),e=module$con
tents$security$asserts$assert_nonCommentArg(2,2,arguments);goog.asserts.assert(d===
e,module$contents$security$asserts$assert_commentArg(2,arguments))}
function module$contents$security$asserts$assert_nonCommentArg(a,b,c){return
c.length==b+1?c[a]:c[a-1]}function
module$contents$security$asserts$assert_commentArg(a,b){return b.length==a+1?
b[0]:null}function module$contents$security$asserts$assert_assertTrue(a,b){var
c=module$contents$security$asserts$assert_nonCommentArg(1,1,arguments);goog.asserts
.assert("boolean"===typeof c);goog.asserts.assert(c,"Call to assertTrue(boolean)
with false")}
function module$contents$security$asserts$assert_assertArrayEquals(a,b,c){var
d=module$contents$security$asserts$assert_nonCommentArg(1,2,arguments),e=module$con
tents$security$asserts$assert_nonCommentArg(2,2,arguments),f=module$contents$securi
ty$asserts$assert_commentArg(2,arguments)?
module$contents$security$asserts$assert_commentArg(2,arguments):"",g=module$content
s$security$asserts$assert__trueTypeOf(d);goog.asserts.assert("Array"==g,"Expected
an array for assertArrayEquals but found a "+g);g=
module$contents$security$asserts$assert__trueTypeOf(e);goog.asserts.assert("Array"=
=g,"Expected an array for assertArrayEquals but found a
"+g);module$contents$security$asserts$assert_assertObjectEquals(f,Array.prototype.c
oncat.call(d),Array.prototype.concat.call(e))}
function module$contents$security$asserts$assert_assertObjectEquals(a,b,c){var
d=module$contents$security$asserts$assert_nonCommentArg(1,2,arguments),e=module$con
tents$security$asserts$assert_nonCommentArg(2,2,arguments);d=module$contents$securi
ty$asserts$assert_findDifferences(d,e);goog.asserts.assert(!d,d+
(module$contents$security$asserts$assert_commentArg(2,arguments)?
module$contents$security$asserts$assert_commentArg(2,arguments):""))}
function module$contents$security$asserts$assert_findDifferences(a,b,c){function
d(l,m,n){for(var p=0;p<g.length;++p){var q=g[p]===l,r=h[p]===m;if(q||r){q&&r||
f.push("Asymmetric cycle detected at
"+n);return}}g.push(l);h.push(m);e(l,m,n);g.pop();h.pop()}function e(l,m,n){if(l!
==m){var
p=module$contents$security$asserts$assert__trueTypeOf(l),q=module$contents$security
$asserts$assert__trueTypeOf(m);if(p==q){var r="Array"==p,t=k(p,l,m);if(null!=t)""!
=t&&f.push(n+": "+t);else if(r&&l.length!=m.length)f.push(n+
": Expected "+l.length+"-element array but got a "+m.length+"-element array");else
if("String"==p)l!=m&&f.push(n+': Expected String "'+l+'" but got "'+m+'"');else{var
x=n+(r?"[%s]":n?".%s":"%s");if("undefined"!=typeof Map&&l instanceof
Map||"undefined"!=typeof Set&&l instanceof Set)l.forEach(function(w,v){m.has(v)?
m.get&&d(w,m.get(v),x.replace("%s",v)):f.push(v+" not present in actual "+(n||
q))}),m.forEach(function(w,v){l.has(v)||f.push(v+" not present in expected "+(n||
p))});else if(l.__iterator__)"function"===
typeof l.equals?l.equals(m)||f.push("equals() returned false for "+(n||p)):l.map_?
d(l.map_,m.map_,x.replace("%s","map_")):f.push("unable to check "+(n||p)+" for
equality: it has an iterator we do not know how to handle. please add an equals
method");else{for(var u in l)if(!r||isNaN(u))u in m?
d(l[u],m[u],x.replace("%s",u)):f.push("property "+u+" not present in actual "+(n||
q));for(u in m)if(!r||isNaN(u))u in l||f.push("property "+u+" not present in
expected "+(n||p));if(r)for(u=0;u<l.length;u++)d(l[u],
m[u],x.replace("%s",String(u)))}}}else f.push(n)}}var f=[],g=[],h=[],k=c||
function(l,m,n)
{l=module$contents$security$asserts$assert_PRIMITIVE_EQUALITY_PREDICATES[l];if(!
l)return null;m=(l=l(m,n))?"":"string"==typeof m&&"string"==typeof n?m+" does not
equal to "+n:"Expected object does not match actual";return m};d(a,b,"");return
f.join("\n ")}
function module$contents$security$asserts$assert__trueTypeOf(a){var b=typeof
a;try{switch(b){case "object":if(null==a){b="null";break}case
"function":switch(a.constructor){case (new
String("")).constructor:b="String";break;case (new Boolean(!
0)).constructor:b="Boolean";break;case (new
Number(0)).constructor:b="Number";break;case [].constructor:b="Array";break;case
RegExp().constructor:b="RegExp";break;case (new
Date).constructor:b="Date";break;case Function:b="Function";break;default:var
c=a.constructor.toString().match(/function\s*([^( ]+)\(/);
c&&(b=c[1])}}}catch(d){}finally{b=b.substr(0,1).toUpperCase()+b.substr(1)}return
b}security.asserts.assert.assertHtmlContentsMatch=module$contents$security$asserts$
assert_assertHtmlContentsMatch;goog.html.sanitizer.attributeallowlists={};
var module$contents$goog$html$sanitizer$attributeallowlists_AllowedAttributes={"*
ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"*
ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-
EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-
LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-
ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!
0,"* ARIA-ROLEDESCRIPTION":!0,
"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,"*
ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!
0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!
0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!
0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"*
ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"*
ISMAP":!0,"* LABEL":!0,
"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,"* NOHREF":!
0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"*
REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!
0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!
0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!
0,"* WIDTH":!
0};goog.html.sanitizer.attributeallowlists.AllowedAttributes=module$contents$goog$h
tml$sanitizer$attributeallowlists_AllowedAttributes;
var
module$contents$goog$html$sanitizer$attributeallowlists_SanitizedAttributeAllowlist
={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!
0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,"* CLASS":!
0,"* ID":!0,"* STYLE":!
0};goog.html.sanitizer.attributeallowlists.SanitizedAttributeAllowlist=module$conte
nts$goog$html$sanitizer$attributeallowlists_SanitizedAttributeAllowlist;var
module$contents$goog$html$sanitizer$ElementWeakMap_NATIVE_WEAKMAP_SUPPORTED="undefi
ned"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native
code]"),module$contents$goog$html$sanitizer$ElementWeakMap_weakMapCount=0,module$co
ntents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap=function()
{this.keys_=[];this.values_=[];this.dataAttributeName_="data-elementweakmap-
index-"+module$contents$goog$html$sanitizer$ElementWeakMap_weakMapCount++};
module$contents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap.prototype.set=fun
ction(a,b)
{if(module$contents$goog$html$sanitizer$noclobber_hasElementAttribute(a,this.dataAt
tributeName_)){var
c=parseInt(module$contents$goog$html$sanitizer$noclobber_getElementAttribute(a,this
.dataAttributeName_),10);this.values_[c]=b}else c=this.values_.push(b)-
1,module$contents$goog$html$sanitizer$noclobber_setElementAttribute(a,this.dataAttr
ibuteName_,c.toString()),this.keys_.push(a);return this};
module$contents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap.prototype.get=fun
ction(a)
{if(module$contents$goog$html$sanitizer$noclobber_hasElementAttribute(a,this.dataAt
tributeName_))return
a=parseInt(module$contents$goog$html$sanitizer$noclobber_getElementAttribute(a,this
.dataAttributeName_),10),this.values_[a]};
module$contents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap.prototype.clear=f
unction(){this.keys_.forEach(function(a)
{module$contents$goog$html$sanitizer$noclobber_removeElementAttribute(a,this.dataAt
tributeName_)},this);this.keys_=[];this.values_=[]};module$contents$goog$html$sanit
izer$ElementWeakMap_ElementWeakMap.newWeakMap=function(){return
module$contents$goog$html$sanitizer$ElementWeakMap_NATIVE_WEAKMAP_SUPPORTED?new
WeakMap:new module$contents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap};
goog.html.sanitizer.ElementWeakMap=module$contents$goog$html$sanitizer$ElementWeakM
ap_ElementWeakMap;var
module$contents$goog$html$sanitizer$SafeDomTreeProcessor_logger=goog.log.getLogger(
"goog.html.sanitizer.SafeDomTreeProcessor"),module$contents$goog$html$sanitizer$Saf
eDomTreeProcessor_SafeDomTreeProcessor=function()
{this.inertDocument_=module$contents$goog$html$sanitizer$inertDocument_createInertD
ocument()};
module$contents$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcessor.proto
type.processToString=function(a)
{a=this.processToTree(a);if(0<module$contents$goog$html$sanitizer$noclobber_getElem
entAttributes(a).length){var
b=this.inertDocument_.createElement("span");b.appendChild(a);a=b}a=(new
XMLSerializer).serializeToString(a);return a.slice(a.indexOf(">")
+1,a.lastIndexOf("</"))};
module$contents$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcessor.proto
type.processToTree=function(a){var
b=this.inertDocument_.createElement("span");this.processRoot(b);a=this.preProcessHt
ml(a);a=module$contents$google3$third_party$javascript$safevalues$restricted$review
ed_htmlSafeByReview(a,{justification:"Never attached to DOM."});var
c=document.createElement("template");if("content"in
c)goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(c,a),c=c.content;else{var
d=document.implementation.createHTMLDocument("x");
c=d.body;goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(d.body,a)}a=document.create
TreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!
1);c=module$contents$goog$html$sanitizer$ElementWeakMap_ElementWeakMap.newWeakMap()
;for(var e;e=a.nextNode();)if(d=this.createNode_(e))
{module$contents$goog$html$sanitizer$noclobber_isNodeElement(d)&&c.set(e,d);e=modul
e$contents$goog$html$sanitizer$noclobber_getParentNode(e);var f=!1;if(e){var
g=module$contents$goog$html$sanitizer$noclobber_getNodeType(e),
h=module$contents$goog$html$sanitizer$noclobber_getNodeName(e).toLowerCase(),k=modu
le$contents$goog$html$sanitizer$noclobber_getParentNode(e);g!
=goog.dom.NodeType.DOCUMENT_FRAGMENT||
k?"body"==h&&k&&(g=module$contents$goog$html$sanitizer$noclobber_getParentNode(k))&
&!module$contents$goog$html$sanitizer$noclobber_getParentNode(g)&&(f=!0):f=!
0;g=null;f||!e?
g=b:module$contents$goog$html$sanitizer$noclobber_isNodeElement(e)&&(g=c.get(e));g.
content&&(g=g.content);g.appendChild(d)}}else goog.dom.removeChildren(e);
c.clear&&c.clear();return b};
module$contents$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcessor.proto
type.createNode_=function(a){var
b=module$contents$goog$html$sanitizer$noclobber_getNodeType(a);switch(b){case
goog.dom.NodeType.TEXT:return this.createTextNode(a);case
goog.dom.NodeType.ELEMENT:return
this.createElement_(module$contents$goog$html$sanitizer$noclobber_assertNodeIsEleme
nt(a));default:return
goog.log.warning(module$contents$goog$html$sanitizer$SafeDomTreeProcessor_logger,"D
ropping unknown node type: "+b),
null}};module$contents$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcesso
r.prototype.createElement_=function(a)
{if("TEMPLATE"==module$contents$goog$html$sanitizer$noclobber_getNodeName(a).toUppe
rCase())return null;var b=this.createElementWithoutAttributes(a);if(!b)return
null;this.processElementAttributes_(a,b);return b};
module$contents$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcessor.proto
type.processElementAttributes_=function(a,b){var
c=module$contents$goog$html$sanitizer$noclobber_getElementAttributes(a);if(null!
=c)for(var d=0,e;e=c[d];d++)if(e.specified){var
f=this.processElementAttribute(a,e);null!
==f&&module$contents$goog$html$sanitizer$noclobber_setElementAttribute(b,e.name,f)}
};goog.html.sanitizer.SafeDomTreeProcessor=module$contents$goog$html$sanitizer$Safe
DomTreeProcessor_SafeDomTreeProcessor;goog.html.sanitizer.TagBlacklist={APPLET:!
0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!
0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!
0};goog.html.sanitizer.TagWhitelist={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!
0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!
0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!
0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!
0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!
0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!
0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,
MARK:!0,MENU:!0,METER:!0,NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!
0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!
0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!
0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!
0,VIDEO:!0,WBR:!
0};goog.html.sanitizer.HtmlSanitizerAttributePolicy={};goog.html.sanitizer.HtmlSani
tizerPolicy={};goog.html.sanitizer.HtmlSanitizerPolicyContext={};goog.html.sanitize
r.HtmlSanitizerPolicyHints={};goog.html.sanitizer.HtmlSanitizerUrlPolicy={};goog.ht
ml.sanitizer.HTML_SANITIZER_BOOKKEEPING_PREFIX_="data-
sanitizer-";goog.html.sanitizer.HTML_SANITIZER_SANITIZED_ATTR_NAME_=goog.html.sanit
izer.HTML_SANITIZER_BOOKKEEPING_PREFIX_+"original-tag";
goog.html.sanitizer.HTML_SANITIZER_INVALID_CUSTOM_TAGS_={"ANNOTATION-XML":!
0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-
FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!
0};goog.html.sanitizer.RANDOM_CONTAINER_="*";goog.html.sanitizer.XHTML_NAMESPACE_UR
I_="http://www.w3.org/1999/xhtml";
goog.html.sanitizer.HtmlSanitizer=function(a)
{this.inertDocument_=module$contents$goog$html$sanitizer$inertDocument_createInertD
ocument();a=a||new
goog.html.sanitizer.HtmlSanitizer.Builder;a.installPolicies_();this.attributeHandle
rs_=module$contents$goog$object_clone(a.attributeWhitelist_);this.tagBlacklist_=mod
ule$contents$goog$object_clone(a.tagBlacklist_);this.tagWhitelist_=module$contents$
goog$object_clone(a.tagWhitelist_);this.shouldAddOriginalTagNames_=a.shouldAddOrigi
nalTagNames_;a.dataAttributeWhitelist_.forEach(function(b){if(!
goog.string.startsWith(b,
"data-"))throw new module$contents$goog$asserts_AssertionError('Only "data-"
attributes allowed, got: %s.',
[b]);if(goog.string.startsWith(b,goog.html.sanitizer.HTML_SANITIZER_BOOKKEEPING_PRE
FIX_))throw new module$contents$goog$asserts_AssertionError('Attributes with "%s"
prefix are not allowed, got: %s.',
[goog.html.sanitizer.HTML_SANITIZER_BOOKKEEPING_PREFIX_,b]);this.attributeHandlers_
["*
"+b.toUpperCase()]=goog.html.sanitizer.HtmlSanitizer.cleanUpAttribute_},this);a.cus
tomElementTagWhitelist_.forEach(function(b){b=
b.toUpperCase();if(!goog.string.contains(b,"-")||
goog.html.sanitizer.HTML_SANITIZER_INVALID_CUSTOM_TAGS_[b])throw new
module$contents$goog$asserts_AssertionError("Only valid custom element tag names
allowed, got: %s.",[b]);this.tagWhitelist_[b]=!
0},this);this.networkRequestUrlPolicy_=a.networkRequestUrlPolicy_;this.styleContain
erId_=a.styleContainerId_;this.currentStyleContainerId_=null;this.inlineStyleRules_
=a.inlineStyleRules_};goog.inherits(goog.html.sanitizer.HtmlSanitizer,module$conten
ts$goog$html$sanitizer$SafeDomTreeProcessor_SafeDomTreeProcessor);
goog.html.sanitizer.HtmlSanitizer.wrapUrlPolicy_=function(a){return function(b,c)
{b=goog.html.sanitizer.HtmlSanitizer.cleanUpAttribute_(b);return(c=a(b,c))&&module$
contents$google3$third_party$javascript$safevalues$internals$url_impl_unwrapUrl(c)!
=module$exports$google3$third_party$javascript$safevalues$internals$url_impl.INNOCU
OUS_URL.toString()?
module$contents$google3$third_party$javascript$safevalues$internals$url_impl_unwrap
Url(c):null}};
goog.html.sanitizer.HtmlSanitizer.Builder=function()
{this.attributeWhitelist_={};module$contents$goog$array_forEach([module$contents$go
og$html$sanitizer$attributeallowlists_AllowedAttributes,module$contents$goog$html$s
anitizer$attributeallowlists_SanitizedAttributeAllowlist],function(a)
{module$contents$goog$object_getKeys(a).forEach(function(b)
{this.attributeWhitelist_[b]=goog.html.sanitizer.HtmlSanitizer.cleanUpAttribute_},t
his)},this);this.attributeOverrideList_={};this.dataAttributeWhitelist_=
[];this.customElementTagWhitelist_=[];this.tagBlacklist_=module$contents$goog$objec
t_clone(goog.html.sanitizer.TagBlacklist);this.tagWhitelist_=module$contents$goog$o
bject_clone(goog.html.sanitizer.TagWhitelist);this.shouldAddOriginalTagNames_=!
1;this.urlPolicy_=goog.html.sanitizer.HtmlSanitizer.defaultUrlPolicy_;this.sanitize
InlineCssPolicy_=this.tokenPolicy_=this.namePolicy_=this.networkRequestUrlPolicy_=g
oog.functions.NULL;this.styleContainerId_=null;this.policiesInstalled_=this.inlineS
tyleRules_=
!1};goog.html.sanitizer.HtmlSanitizer.Builder.prototype.inlineStyleRules=function()
{if(this.sanitizeInlineCssPolicy_==goog.functions.NULL)throw Error("Inlining style
rules requires allowing STYLE attributes first.");if(!("STYLE"in
this.tagBlacklist_))throw Error("You have already configured the builder to allow
STYLE tags in the output. Inlining style rules would prevent STYLE tags from
appearing in the output and conflict with such
directive.");this.inlineStyleRules_=!0;return this};
goog.html.sanitizer.HtmlSanitizer.Builder.prototype.allowCssStyles=function()
{this.sanitizeInlineCssPolicy_=goog.html.sanitizer.HtmlSanitizer.sanitizeCssDeclara
tionList_;return
this};goog.html.sanitizer.HtmlSanitizer.Builder.prototype.withCustomNetworkRequestU
rlPolicy=function(a){this.networkRequestUrlPolicy_=a;return
this};goog.html.sanitizer.HtmlSanitizer.Builder.prototype.withCustomUrlPolicy=funct
ion(a){this.urlPolicy_=a;return this};
goog.html.sanitizer.HtmlSanitizer.Builder.prototype.withCustomNamePolicy=function(a
){this.namePolicy_=a;return
this};goog.html.sanitizer.HtmlSanitizer.Builder.prototype.withCustomTokenPolicy=fun
ction(a){this.tokenPolicy_=a;return
this};goog.html.sanitizer.HtmlSanitizer.wrapPolicy_=function(a,b){return
function(c,d,e,f){c=a(c,d,e,f);return null==c?null:b(c,d,e,f)}};
goog.html.sanitizer.HtmlSanitizer.installDefaultPolicy_=function(a,b,c,d){a[c]&&!
b[c]&&(a[c]=goog.html.sanitizer.HtmlSanitizer.wrapPolicy_(a[c],d))};goog.html.sanit
izer.HtmlSanitizer.Builder.prototype.build=function(){return new
goog.html.sanitizer.HtmlSanitizer(this)};
goog.html.sanitizer.HtmlSanitizer.Builder.prototype.installPolicies_=function()
{if(this.policiesInstalled_)throw Error("HtmlSanitizer.Builder.build() can only be
used once.");var
a=goog.html.sanitizer.HtmlSanitizer.installDefaultPolicy_;a(this.attributeWhitelist
_,this.attributeOverrideList_,"*
USEMAP",goog.html.sanitizer.HtmlSanitizer.sanitizeUrlFragment_);var b=["*
ACTION","* CITE","*
HREF"],c=goog.html.sanitizer.HtmlSanitizer.wrapUrlPolicy_(this.urlPolicy_);b.forEac
h(function(e){a(this.attributeWhitelist_,
this.attributeOverrideList_,e,c)},this);b=["* LONGDESC","* SRC","LINK HREF"];var
d=goog.html.sanitizer.HtmlSanitizer.wrapUrlPolicy_(this.networkRequestUrlPolicy_);b
.forEach(function(e)
{a(this.attributeWhitelist_,this.attributeOverrideList_,e,d)},this);b=["* FOR","*
HEADERS","* NAME"];b.forEach(function(e)
{a(this.attributeWhitelist_,this.attributeOverrideList_,e,goog.partial(goog.html.sa
nitizer.HtmlSanitizer.sanitizeName_,this.namePolicy_))},this);a(this.attributeWhite
list_,this.attributeOverrideList_,
"A TARGET",goog.partial(goog.html.sanitizer.HtmlSanitizer.allowedAttributeValues_,
["_blank","_self"]));a(this.attributeWhitelist_,this.attributeOverrideList_,"*
CLASS",goog.partial(goog.html.sanitizer.HtmlSanitizer.sanitizeClasses_,this.tokenPo
licy_));a(this.attributeWhitelist_,this.attributeOverrideList_,"*
ID",goog.partial(goog.html.sanitizer.HtmlSanitizer.sanitizeId_,this.tokenPolicy_));
a(this.attributeWhitelist_,this.attributeOverrideList_,"*
STYLE",goog.partial(this.sanitizeInlineCssPolicy_,
d));this.policiesInstalled_=!
0};goog.html.sanitizer.HtmlSanitizer.defaultUrlPolicy_=function(a){return
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(a)};goog.html.sanitizer.HtmlSanitizer.defaultNetworkRequestUrlPolicy_=goog
.functions.NULL;goog.html.sanitizer.HtmlSanitizer.defaultNamePolicy_=goog.functions
.NULL;goog.html.sanitizer.HtmlSanitizer.defaultTokenPolicy_=goog.functions.NULL;
goog.html.sanitizer.HtmlSanitizer.attrIdentifier_=function(a,b){a||
(a="*");return(a+" "+b).toUpperCase()};
goog.html.sanitizer.HtmlSanitizer.sanitizeCssDeclarationList_=function(a,b,c,d)
{if(!d.cssStyle)return null;b=function(e,f){c.cssProperty=f;e=a(e,c);return
null==e?
null:module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_
urlSafeByReview(e,{justification:"HtmlSanitizerPolicy created with
networkRequestUrlPolicy_ when installing '* STYLE'
handler."})};d=module$contents$goog$html$SafeStyle_SafeStyle.unwrap(goog.html.sanit
izer.CssSanitizer.sanitizeInlineStyle(d.cssStyle,b));return""==
d?null:d};goog.html.sanitizer.HtmlSanitizer.cleanUpAttribute_=function(a){return
goog.string.trim(a)};goog.html.sanitizer.HtmlSanitizer.allowedAttributeValues_=func
tion(a,b){b=goog.string.trim(b);return
module$contents$goog$array_contains(a,b.toLowerCase())?
b:null};goog.html.sanitizer.HtmlSanitizer.sanitizeUrlFragment_=function(a)
{return(a=goog.string.trim(a))&&"#"==a.charAt(0)?
a:null};goog.html.sanitizer.HtmlSanitizer.sanitizeName_=function(a,b,c)
{b=goog.string.trim(b);return a(b,c)};
goog.html.sanitizer.HtmlSanitizer.sanitizeClasses_=function(a,b,c){b=b.split(/(?:\
s+)/);for(var d=[],e=0;e<b.length;e++){var f=a(b[e],c);f&&d.push(f)}return
0==d.length?null:d.join("
")};goog.html.sanitizer.HtmlSanitizer.sanitizeId_=function(a,b,c)
{b=goog.string.trim(b);return
a(b,c)};goog.html.sanitizer.HtmlSanitizer.getContext_=function(a,b){var
c={cssStyle:void
0};"style"==a&&(c.cssStyle=module$contents$goog$html$sanitizer$noclobber_getElement
Style(b));return c};
goog.html.sanitizer.HtmlSanitizer.prototype.sanitize=function(a)
{this.currentStyleContainerId_=this.getStyleContainerId_();a=this.processToString(a
);return
module$contents$google3$third_party$javascript$safevalues$restricted$reviewed_htmlS
afeByReview(a,{justification:"Output of HTML
sanitizer"})};goog.html.sanitizer.HtmlSanitizer.prototype.processRoot=function(a)
{this.currentStyleContainerId_&&this.styleContainerId_==goog.html.sanitizer.RANDOM_
CONTAINER_&&(a.id=this.currentStyleContainerId_)};
goog.html.sanitizer.HtmlSanitizer.prototype.preProcessHtml=function(a){if(!
this.inlineStyleRules_)return
a;a=goog.html.sanitizer.CssSanitizer.safeParseHtmlAndGetInertElement("<div>"+a+"</
div>");goog.asserts.assert(a,"Older browsers that don't support inert parsing
should not get to this
branch");goog.html.sanitizer.CssSanitizer.inlineStyleRules(a);return a.innerHTML};
goog.html.sanitizer.HtmlSanitizer.prototype.getStyleContainerId_=function(){var
a=this.styleContainerId_==goog.html.sanitizer.RANDOM_CONTAINER_,b=!("STYLE"in
this.tagBlacklist_)&&"STYLE"in this.tagWhitelist_;return
a&&b?"sanitizer-"+goog.string.getRandomString():this.styleContainerId_};
goog.html.sanitizer.HtmlSanitizer.prototype.createTextNode=function(a){var
b=a.data;
(a=module$contents$goog$html$sanitizer$noclobber_getParentNode(a))&&"style"==module
$contents$goog$html$sanitizer$noclobber_getNodeName(a).toLowerCase()&&!("STYLE"in
this.tagBlacklist_)&&"STYLE"in
this.tagWhitelist_&&(b=module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwr
ap(goog.html.sanitizer.CssSanitizer.sanitizeStyleSheetString(b,this.currentStyleCon
tainerId_,goog.bind(function(c,d){return this.networkRequestUrlPolicy_(c,
{cssProperty:d})},this))));return document.createTextNode(b)};
goog.html.sanitizer.HtmlSanitizer.prototype.createElementWithoutAttributes=function
(a){var
b=module$contents$goog$html$sanitizer$noclobber_getNodeName(a).toUpperCase();if(b
in this.tagBlacklist_)return
null;a=module$contents$goog$html$sanitizer$noclobber_getElementNamespaceURI(a);if(a
!=goog.html.sanitizer.XHTML_NAMESPACE_URI_)return
null;if(this.tagWhitelist_[b])return
this.inertDocument_.createElement(b);a=this.inertDocument_.createElement("span");th
is.shouldAddOriginalTagNames_&&module$contents$goog$html$sanitizer$noclobber_setEle
mentAttribute(a,
goog.html.sanitizer.HTML_SANITIZER_SANITIZED_ATTR_NAME_,b.toLowerCase());return a};
goog.html.sanitizer.HtmlSanitizer.prototype.processElementAttribute=function(a,b)
{var
c=b.name;if(goog.string.startsWith(c,goog.html.sanitizer.HTML_SANITIZER_BOOKKEEPING
_PREFIX_))return null;var
d=module$contents$goog$html$sanitizer$noclobber_getNodeName(a);b=b.value;var
e={tagName:goog.string.trim(d).toLowerCase(),attributeName:goog.string.trim(c).toLo
werCase()};a=goog.html.sanitizer.HtmlSanitizer.getContext_(e.attributeName,a);d=goo
g.html.sanitizer.HtmlSanitizer.attrIdentifier_(d,c);if(d in
this.attributeHandlers_)return c=
this.attributeHandlers_[d],c(b,e,a);c=goog.html.sanitizer.HtmlSanitizer.attrIdentif
ier_(null,c);return c in this.attributeHandlers_?
(c=this.attributeHandlers_[c],c(b,e,a)):null};goog.html.sanitizer.HtmlSanitizer.san
itize=function(a){var b=(new
goog.html.sanitizer.HtmlSanitizer.Builder).build();return
b.sanitize(a)};security.sanitizer={};security.sanitizer.htmlSanitizer={};security.s
anitizer.htmlSanitizer.sanitizeHtmlAssertUnchangedWithSanitizer=function(a,b)
{a=a.sanitize(b);if(goog.DEBUG){var
c=goog.dom.createElement(goog.dom.TagName.DIV);module$exports$google3$third_party$j
avascript$safevalues$dom$elements$element.setInnerHtml(c,a);module$contents$securit
y$asserts$assert_assertHtmlContentsMatch(b,c,!1)}return a};
security.sanitizer.htmlSanitizer.lenientlySanitizeHtmlAssertUnchanged=function(a)
{var b=(new
goog.html.sanitizer.HtmlSanitizer.Builder).allowCssStyles().withCustomNamePolicy(go
og.functions.identity).withCustomTokenPolicy(goog.functions.identity).withCustomNet
workRequestUrlPolicy(function(c){return
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(c)}).withCustomUrlPolicy(function(c){return
module$contents$google3$third_party$javascript$safevalues$builders$url_builders_san
itizeUrl(c)}).build();return
security.sanitizer.htmlSanitizer.sanitizeHtmlAssertUnchangedWithSanitizer(b,
a)};security.sanitizer.htmlSanitizer.sanitizeHtmlAssertUnchanged=function(a){var
b=(new goog.html.sanitizer.HtmlSanitizer.Builder).build();return
security.sanitizer.htmlSanitizer.sanitizeHtmlAssertUnchangedWithSanitizer(b,a)};oce
an.basic.UnifiedLeftNav={};
function module$contents$ocean$basic$UnifiedLeftNav_addLeftNavListeners()
{module$contents$ocean$basic$UnifiedLeftNav_addLeftNavArrowListener("my-
library");var a=goog.dom.getElement("my-history-
header");a&&goog.events.listen(a,goog.events.EventType.CLICK,function(){var
b=goog.dom.getElement("my-history-
expanded");module$contents$ocean$basic$UnifiedLeftNav_expandShelf(!
goog.style.isElementShown(b),"my-history")});(a=goog.dom.getElement("my-library-
more-link"))&&goog.events.listen(a,goog.events.EventType.CLICK,
function(){var b=goog.dom.getElement("hidden-my-library-
expanded");goog.style.setElementShown(b,!0);b=goog.dom.getElement("my-library-more-
link");goog.style.setElementShown(b,!1)});(a=goog.dom.getElement("my-library-less-
link"))&&goog.events.listen(a,goog.events.EventType.CLICK,function(){var
b=goog.dom.getElement("hidden-my-library-expanded");goog.style.setElementShown(b,!
1);b=goog.dom.getElement("my-library-more-link");goog.style.setElementShown(b,!
0)})}
function module$contents$ocean$basic$UnifiedLeftNav_addLeftNavArrowListener(a){var
b=goog.dom.getElement(a.concat("-icon-
right"));b&&goog.events.listen(b,goog.events.EventType.CLICK,goog.partial(module$co
ntents$ocean$basic$UnifiedLeftNav_expandShelf,!0,a));
(b=goog.dom.getElement(a.concat("-icon-
down")))&&goog.events.listen(b,goog.events.EventType.CLICK,goog.partial(module$cont
ents$ocean$basic$UnifiedLeftNav_expandShelf,!1,a))}
function module$contents$ocean$basic$UnifiedLeftNav_expandShelf(a,b,c)
{c&&c.preventDefault();c=goog.dom.getElement(b.concat("-icon-
right"));goog.style.setElementShown(c,!a);c=goog.dom.getElement(b.concat("-icon-
down"));goog.style.setElementShown(c,a);b=goog.dom.getElement(b.concat("-
expanded"));goog.style.setElementShown(b,a)}ocean.basic.UnifiedLeftNav.addLeftNavLi
steners=module$contents$ocean$basic$UnifiedLeftNav_addLeftNavListeners;ocean.basic.
UnifiedLeftNav.expandShelf=module$contents$ocean$basic$UnifiedLeftNav_expandShelf;f
unction module$contents$ocean$mylibrary$Dialog_Dialog(a,b,c,d)
{goog.ui.Dialog.call(this,module$contents$ocean$Flags_Flags.IsZipitFolderCollection
Enabled?void 0:module$contents$ocean$mylibrary$Dialog_Dialog.P13N_DIALOG,!
0);this.setTitle(a);this.setDisposeOnHide(!
0);this.setBackgroundElementOpacity(.5);this.callback=c;a=new
goog.ui.Dialog.ButtonSet;a.set(goog.ui.Dialog.DefaultButtonKeys.OK,b,!0);(void 0!
==d?d:1)&&a.set(goog.ui.Dialog.DefaultButtonKeys.CANCEL,"Annuler",!1,!
0);this.setButtonSet(a);goog.events.listen(this,
goog.ui.Dialog.EventType.SELECT,this.onSelect,!
1,this)}goog.inherits(module$contents$ocean$mylibrary$Dialog_Dialog,goog.ui.Dialog)
;module$contents$ocean$mylibrary$Dialog_Dialog.P13N_DIALOG="p13nd";
module$contents$ocean$mylibrary$Dialog_Dialog.prototype.createDom=function()
{module$contents$ocean$mylibrary$Dialog_Dialog.superClass_.createDom.call(this);goo
g.style.setStyle(this.buttons_.getButton(goog.ui.Dialog.DefaultButtonKeys.OK),"font
Weight","bold");goog.style.setStyle(this.getElement(),"width","500px")};module$cont
ents$ocean$mylibrary$Dialog_Dialog.prototype.onSelect=function(a)
{a.key==goog.ui.Dialog.DefaultButtonKeys.OK&&this.selectCallback(a);return!0};
module$contents$ocean$mylibrary$Dialog_Dialog.prototype.disposeInternal=function()
{goog.events.unlisten(this,goog.ui.Dialog.EventType.SELECT,this.onSelect,!
0,this);module$contents$ocean$mylibrary$Dialog_Dialog.superClass_.disposeInternal.c
all(this)};module$contents$ocean$mylibrary$Dialog_Dialog.prototype.selectCallback=f
unction(a)
{this.callback(a)};ocean.mylibrary.Dialog=module$contents$ocean$mylibrary$Dialog_Di
alog;goog.events.InputHandler=function(a)
{goog.events.EventTarget.call(this);this.timer_=null;this.element_=a;this.eventHand
ler_=new
goog.events.EventHandler(this);this.eventHandler_.listen(this.element_,"input",this
)};goog.inherits(goog.events.InputHandler,goog.events.EventTarget);goog.events.Inpu
tHandler.EventType={INPUT:"input"};
goog.events.InputHandler.prototype.handleEvent=function(a)
{if("input"==a.type)this.cancelTimerIfSet_(),this.dispatchEvent(this.createInputEve
nt_(a));else if("keydown"!=a.type||goog.events.KeyCodes.isTextModifyingKeyEvent(a))
{var b="keydown"==a.type?
this.element_.value:null,c=this.createInputEvent_(a);this.cancelTimerIfSet_();this.
timer_=goog.Timer.callOnce(function(){this.timer_=null;this.element_.value!
=b&&this.dispatchEvent(c)},0,this)}};
goog.events.InputHandler.prototype.cancelTimerIfSet_=function(){null!
=this.timer_&&(goog.Timer.clear(this.timer_),this.timer_=null)};goog.events.InputHa
ndler.prototype.createInputEvent_=function(a){a=new
goog.events.BrowserEvent(a.event_);a.type=goog.events.InputHandler.EventType.INPUT;
return a};goog.events.InputHandler.prototype.disposeInternal=function()
{goog.events.InputHandler.superClass_.disposeInternal.call(this);this.eventHandler_
.dispose();this.cancelTimerIfSet_();delete
this.element_};goog.ui.CharCounter=function(a,b,c,d)
{goog.events.EventTarget.call(this);this.elInput_=a;this.elCount_=b;this.maxLength_
=c;this.display_=d||
goog.ui.CharCounter.Display.REMAINING;a.removeAttribute("maxlength");this.inputHand
ler_=new
goog.events.InputHandler(a);goog.events.listen(this.inputHandler_,goog.events.Input
Handler.EventType.INPUT,this.onChange_,!
1,this);this.checkLength()};goog.inherits(goog.ui.CharCounter,goog.events.EventTarg
et);goog.ui.CharCounter.Display={REMAINING:0,INCREMENTAL:1};
goog.ui.CharCounter.prototype.setMaxLength=function(a)
{this.maxLength_=a;this.checkLength()};goog.ui.CharCounter.prototype.onChange_=func
tion(){this.checkLength()};
goog.ui.CharCounter.prototype.checkLength=function(){var
a=this.elInput_.value.length;if(a>this.maxLength_){var
b=this.elInput_.scrollTop,c=this.elInput_.scrollLeft;this.elInput_.value=this.elInp
ut_.value.substring(0,this.maxLength_);a=this.maxLength_;this.elInput_.scrollTop=b;
this.elInput_.scrollLeft=c}this.elCount_&&(b=this.display_==goog.ui.CharCounter.Dis
play.INCREMENTAL,goog.dom.setTextContent(this.elCount_,String(b?a:this.maxLength_-
a)))};
goog.ui.CharCounter.prototype.disposeInternal=function()
{goog.ui.CharCounter.superClass_.disposeInternal.call(this);delete
this.elInput_;this.inputHandler_.dispose();this.inputHandler_=null};var
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog=functio
n(a,b,c,d,e){module$contents$ocean$mylibrary$Dialog_Dialog.call(this,a,b,null,!
0);this.shelves_=c;this.titleCheckMethod_=d;this.actionMenu_=e};
$jscomp.inherits(module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBooksh
elfDialog,module$contents$ocean$mylibrary$Dialog_Dialog);
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.createE
ditDialog=function(a,b){var
c=module$contents$ocean$msg_getEditBookshelfDialogTitle(goog.string.unescapeEntitie
s(a.getTitle()));b=new
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog(c,"Enre
gistrer",b);b.render();b.setBookshelf(a);b.setVisible(!0);return b};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.createDom=function()
{module$contents$ocean$mylibrary$Dialog_Dialog.prototype.createDom.call(this);this.
createDialogContent_();this.bookshelf_&&this.prefillDialog_();if(!
module$contents$ocean$Flags_Flags.IsZipitFolderCollectionEnabled){var
a=this.buttons_,b=a.getButton(goog.ui.Dialog.DefaultButtonKeys.OK);goog.style.setSt
yle(b,"fontWeight","bold");goog.dom.classlist.add(b,"gb-
button");a=a.getButton(goog.ui.Dialog.DefaultButtonKeys.CANCEL);
goog.dom.classlist.add(a,"gb-
button")}};module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDia
log.prototype.setBookshelf=function(a)
{this.bookshelf_=a;this.isInDocument()&&this.prefillDialog_()};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.prefillDialog_=function()
{this.collectionTitleInput_.value=goog.string.unescapeEntities(this.bookshelf_.getT
itle());this.collectionTitleInput_.disabled=this.bookshelf_.predefined_;this.collec
tionDescriptionInput_.value=goog.string.unescapeEntities(this.bookshelf_.getDescrip
tion());this.makeBookshelfPublic_(this.bookshelf_.access_==ocean.info.Bookshelf.Acc
ess.PUBLIC);this.collectionTitleInput_.disabled&&goog.style.setStyle(this.collectio
nTitleInput_,
"background","#f2f2f2")};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.createDialogContent_=function()
{this.collectionTitleInput_=this.addLabelAndInput_("Nom","input",!
0);this.collectionDescriptionInput_=this.addLabelAndInput_("Description <span
class=cl-desc>(facultative)</span>","textarea");this.addSharingControls_();this.mak
eBookshelfPublic_(!0);this.errorDiv_=goog.dom.createDom(goog.dom.TagName.DIV,
{"class":"ccd-
error"});goog.dom.appendChild(this.getContentElement(),this.errorDiv_);
this.disclaimer_=goog.dom.createDom(goog.dom.TagName.P,"ccd-footnote","Notez que le
contenu et le titre des \u00e9tag\u00e8res publiques peuvent \u00eatre consult\
u00e9s et partag\u00e9s par d'autres
utilisateurs.");goog.dom.appendChild(this.getContentElement(),this.disclaimer_)};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.addSharingControls_=function(){var
a=this.getContentElement(),b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"ccd-
label"}),c=goog.dom.createElement("span");c.textContent=goog.dom.textAssert.assertH
tmlFree("Visibilit\
u00e9");goog.dom.appendChild(b,c);goog.dom.appendChild(a,b);a=goog.dom.createDom(go
og.dom.TagName.SPAN,{className:"ccd-mode-
indicator"});c=goog.dom.createDom(goog.dom.TagName.IMG,{src:"/googlebooks/images/
sharing_public.gif",
style:"vertical-align:-2px;padding:0 2px"});var
d=goog.dom.createElement("span");d.textContent=goog.dom.textAssert.assertHtmlFree("
Public");goog.dom.appendChild(a,c);goog.dom.appendChild(a,d);goog.dom.appendChild(b
,a);c=goog.dom.createDom(goog.dom.TagName.SPAN,{className:"ccd-mode-
indicator"});d=goog.dom.createDom(goog.dom.TagName.IMG,{src:"/googlebooks/images/
sharing_private.gif",style:"vertical-align:-2px;"});var
e=goog.dom.createElement("span");e.textContent=goog.dom.textAssert.assertHtmlFree("
Priv\u00e9e");
goog.dom.appendChild(c,d);goog.dom.appendChild(c,e);goog.dom.appendChild(b,c);d=goo
g.dom.createDom(goog.dom.TagName.SPAN,{"class":"ccd-mode-
link"});d.textContent=goog.dom.textAssert.assertHtmlFree("Rendre
publique");goog.dom.appendChild(b,d);goog.events.listen(d,goog.events.EventType.CLI
CK,goog.bind(this.makeBookshelfPublic_,this,!
0));e=goog.dom.createDom(goog.dom.TagName.SPAN,{"class":"ccd-mode-
link"});e.textContent=goog.dom.textAssert.assertHtmlFree("Rendre priv\
u00e9e");goog.dom.appendChild(b,
e);goog.events.listen(e,goog.events.EventType.CLICK,goog.bind(this.makeBookshelfPub
lic_,this,!1));this.publicPrivatePair_=[a,e];this.privatePublicPair_=[c,d];null!
=this.actionMenu_&&(goog.dom.setProperties(this.actionMenu_,{"class":"ccd-mode-
link"}),goog.dom.appendChild(b,this.actionMenu_))};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.addLabelAndInput_=function(a,b){var
c=this.getContentElement(),d=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"gb-
bookshelf-dialog-
container"});goog.dom.appendChild(c,d);c=goog.dom.createDom(goog.dom.TagName.DIV,
{"class":"ccd-
label"});module$exports$google3$third_party$javascript$safevalues$dom$elements$elem
ent.setInnerHtml(c,security.sanitizer.htmlSanitizer.sanitizeHtmlAssertUnchanged(a))
;goog.dom.appendChild(d,
c);a=goog.dom.createDom(b,{"class":"ccd-input"});"input"==b?
(goog.dom.setProperties(a,
{type:"text"}),a.setAttribute("maxlength",module$contents$ocean$mylibrary$CreateBoo
kshelfDialog_CreateBookshelfDialog.MAX_COLLECTION_TITLE_LENGTH_)):"textarea"==b&&(g
oog.dom.setProperties(a,{rows:6,cols:50}),new
goog.ui.CharCounter(a,goog.dom.createElement("span"),module$contents$ocean$mylibrar
y$CreateBookshelfDialog_CreateBookshelfDialog.MAX_COLLECTION_DESCRIPTION_LENGTH_));
goog.dom.appendChild(d,a);return a};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.makeBookshelfPublic_=function(a)
{this.isPublic_=a;module$contents$goog$array_forEach(this.publicPrivatePair_,functi
on(b)
{goog.style.setElementShown(b,a)});module$contents$goog$array_forEach(this.privateP
ublicPair_,function(b){goog.style.setElementShown(b,!a)})};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.onSelect=function(a){var
b=this.collectionTitleInput_.value;if(a.key==goog.ui.Dialog.DefaultButtonKeys.CANCE
L)return!0;if(goog.string.isEmptyOrWhitespace(b))return
this.errorDiv_.textContent="Veuillez saisir le titre de cette \u00e9tag\u00e8re.",!
1;if(this.titleCheckMethod_&&!this.titleCheckMethod_(b))return
this.errorDiv_.textContent="Une \u00e9tag\u00e8re avec le m\u00eame titre existe d\
u00e9j\u00e0. Veuillez saisir un titre diff\u00e9rent.",
!1;a=this.bookshelf_||new
ocean.info.Bookshelf;a.setTitle(b);a.setDescription(this.collectionDescriptionInput
_.value);this.isPublic_?
a.setAccess(ocean.info.Bookshelf.Access.PUBLIC):a.setAccess(ocean.info.Bookshelf.Ac
cess.PRIVATE);this.bookshelf_?
this.shelves_.updateShelf(a):this.shelves_.addShelf(a,!0);return!0};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.prototy
pe.disposeInternal=function(){delete this.shelves_;delete this.actionMenu_;delete
this.bookshelf_;delete this.errorDiv_;delete this.disclaimer_;delete
this.collectionTitleInput_;delete this.collectionDescriptionInput_;delete
this.titleCheckMethod_;module$contents$ocean$mylibrary$Dialog_Dialog.prototype.disp
oseInternal.call(this)};
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog.MAX_COL
LECTION_TITLE_LENGTH_=100;module$contents$ocean$mylibrary$CreateBookshelfDialog_Cre
ateBookshelfDialog.MAX_COLLECTION_DESCRIPTION_LENGTH_=500;ocean.mylibrary.CreateBoo
kshelfDialog=module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfD
ialog;ocean.frontpage={};
ocean.frontpage.BookshelvesPanel=function(a,b,c,d,e)
{module$contents$ocean$EventManager_EventManager.call(this);this.visibleShelves_=a;
this.moreLink_=b;this.createCollectionBtn_=c;this.hiddenShelvesContainer_=d;this.vi
sibleShelves_&&(this.titles_=module$contents$goog$array_map(this.visibleShelves_.ch
ildNodes,ocean.frontpage.BookshelvesPanel.extractTitle_),this.hiddenShelvesContaine
r_&&module$contents$goog$array_extend(this.titles_,module$contents$goog$array_map(t
his.hiddenShelvesContainer_.childNodes,ocean.frontpage.BookshelvesPanel.extractTitl
e_)));
this.bookshelves_=e;goog.Timer.callOnce(goog.bind(this.setupListeners_,this))};goog
.inherits(ocean.frontpage.BookshelvesPanel,module$contents$ocean$EventManager_Event
Manager);ocean.frontpage.BookshelvesPanel.EventType={UPDATE:"update"};
ocean.frontpage.BookshelvesPanel.prototype.setupListeners_=function()
{this.moreLink_&&this.hiddenShelvesContainer_&&this.getHandler().listen(this.moreLi
nk_,goog.events.EventType.CLICK,this.togglehiddenShelvesContainer_);this.createColl
ectionBtn_&&this.getHandler().listen(this.createCollectionBtn_,goog.events.EventTyp
e.CLICK,this.handleCreateCollection_);this.getHandler().listen(this.bookshelves_,oc
ean.info.Bookshelves.EventType.ADD,this.addToDisplayedBookshelves_)};
ocean.frontpage.BookshelvesPanel.extractTitle_=function(a)
{a=goog.asserts.assertElement(a);var
b=goog.dom.getElementsByTagNameAndClass(goog.dom.TagName.SPAN,"sidebar-collection-
title",a)[0];b||(b=goog.dom.getElementsByTagNameAndClass(goog.dom.TagName.SPAN,"hp-
collection-title",a)[0]);if(!
b)return"";a=ocean.frontpage.BookshelvesPanel.normalizeTitle_(goog.dom.getTextConte
nt(b));return goog.string.trim(a.split("(")[0])};
ocean.frontpage.BookshelvesPanel.prototype.handleCreateCollection_=function(){var
a=new
module$contents$ocean$mylibrary$CreateBookshelfDialog_CreateBookshelfDialog("Cr\
u00e9er une \u00e9tag\u00e8re","Cr\u00e9er une \u00e9tag\
u00e8re",this.bookshelves_,goog.bind(this.isNewTitle_,this));a.render();a.setVisibl
e(!0)};ocean.frontpage.BookshelvesPanel.normalizeTitle_=function(a){return
goog.string.trim(goog.string.normalizeSpaces(a))};
ocean.frontpage.BookshelvesPanel.prototype.isNewTitle_=function(a){var
b=ocean.frontpage.BookshelvesPanel.normalizeTitle_(a).toLowerCase();return!
module$contents$goog$array_some(this.titles_,function(c){return
c.toLowerCase()==b})};
ocean.frontpage.BookshelvesPanel.prototype.addToDisplayedBookshelves_=function(a)
{a=a.shelf;var
b=ocean.frontpage.BookshelvesPanel.normalizeTitle_(a.getTitle()),c=a.access_==ocean
.info.Bookshelf.Access.PUBLIC;this.titles_.push(b);var d=new
goog.Uri("/books");module$contents$ocean$util$uri_setDefaultParameters(d);d.setPara
meterValue("as_coll",a.getId());d.setParameterValue("source","gbs_lp_bookshelf_list
");if(module$contents$ocean$Flags_Flags.IsBooksUnifiedLeftNavEnabled)
{a=goog.dom.createDom(goog.dom.TagName.LI,
{"class":"left-nav-shelf-item"});var e=goog.dom.createDom(goog.dom.TagName.A,
{"class":"sidebar-
link"});module$exports$google3$third_party$javascript$safevalues$dom$elements$ancho
r.setHref(e,d.toString());d=goog.dom.createDom(goog.dom.TagName.SPAN);goog.dom.clas
slist.add(d,"sidebar-collection-
title");module$exports$google3$third_party$javascript$safevalues$dom$elements$eleme
nt.setInnerHtml(d,module$exports$google3$third_party$javascript$safevalues$index.sa
nitizeHtml(b+" (0)"));goog.dom.appendChild(e,
d);goog.dom.appendChild(a,e);c=goog.dom.getElement("hidden-my-library-
expanded");goog.dom.insertSiblingBefore(a,c);module$contents$ocean$basic$UnifiedLef
tNav_expandShelf(!0,"my-library")}else
a=goog.dom.createElement(goog.dom.TagName.DIV),e=goog.dom.createDom(goog.dom.TagNam
e.A,{"class":"hp-bookshelf-link",style:"line-
height:19px"}),module$exports$google3$third_party$javascript$safevalues$dom$element
s$anchor.setHref(e,d.toString()),d=goog.dom.createDom(goog.dom.TagName.SPAN,
{"class":"hp-collection-title"}),
module$exports$google3$third_party$javascript$safevalues$dom$elements$element.setIn
nerHtml(d,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHt
ml(b)),goog.dom.appendChild(e,d),goog.dom.appendChild(a,e),b=c?"\u00c9tag\u00e8re
publique":"\u00c9tag\u00e8re priv\
u00e9e",c=goog.dom.createDom(goog.dom.TagName.IMG,{"class":"hp-bookshelf-
access",src:"/googlebooks/images/sharing_"+(c?"public":"private")
+".gif",title:b,alt:b,width:14,height:14}),goog.dom.appendChild(a,c),c=goog.dom.cre
ateDom(goog.dom.TagName.DIV,
{style:"clear:both"}),goog.dom.appendChild(a,c),goog.dom.insertSiblingAfter(a,goog.
dom.getElement("csStart"))};ocean.frontpage.BookshelvesPanel.MAX_HIDDEN_HEIGHT_=200
;
ocean.frontpage.BookshelvesPanel.prototype.togglehiddenShelvesContainer_=function(a
){a.preventDefault();a=!
goog.style.isElementShown(this.hiddenShelvesContainer_);goog.style.setElementShown(
this.hiddenShelvesContainer_,a);a?
(goog.positioning.positionAtAnchor(this.moreLink_,goog.positioning.Corner.BOTTOM_ST
ART,this.hiddenShelvesContainer_,goog.positioning.Corner.TOP_START),goog.style.getS
ize(this.hiddenShelvesContainer_).height>ocean.frontpage.BookshelvesPanel.MAX_HIDDE
N_HEIGHT_&&(a=goog.style.getSize(this.hiddenShelvesContainer_).width,
goog.style.setSize(this.hiddenShelvesContainer_,a,ocean.frontpage.BookshelvesPanel.
MAX_HIDDEN_HEIGHT_),goog.style.setStyle(this.hiddenShelvesContainer_,"overflow","au
to"),goog.style.setStyle(this.hiddenShelvesContainer_,"overflowX","hidden")),this.d
ocumentListenerKey_=goog.events.listen(goog.dom.getDocument(),goog.events.EventType
.MOUSEDOWN,goog.bind(this.maybeHideExtendedCollectionList_,this))):goog.events.unli
stenByKey(this.documentListenerKey_)};
ocean.frontpage.BookshelvesPanel.prototype.maybeHideExtendedCollectionList_=functio
n(a){goog.dom.contains(this.hiddenShelvesContainer_,a.target)||
goog.dom.contains(this.moreLink_,a.target)||this.togglehiddenShelvesContainer_(a)};
var module$exports$ocean$basic$SearchBookshelfRenderer=function(a,b,c,d,e)
{module$exports$ocean$basic$BookshelfRenderer.call(this,a,e);this.query_=b;this.isM
agazines_=c||!1;this.searchRestricts_=d||[]};
$jscomp.inherits(module$exports$ocean$basic$SearchBookshelfRenderer,module$exports$
ocean$basic$BookshelfRenderer);
module$exports$ocean$basic$SearchBookshelfRenderer.prototype.getFetchUri=function(a
,b){var c=new
goog.Uri(module$exports$ocean$basic$SearchBookshelfRenderer.FETCH_URI_);module$cont
ents$ocean$util$uri_setDefaultParameters(c);c.setParameterValue("start",a);c.setPar
ameterValue("num",b);this.isMagazines_?
(c.setParameterValue("as_pt","MAGAZINES"),c.setParameterValue("as_coll2",this.query
_)):
(c.setParameterValue("as_brr",3),c.setParameterValue("q",this.query_),module$conten
ts$goog$array_forEachRight(this.searchRestricts_,
function(d){c.setParameterValue(d.name,d.value)}));return
c};module$exports$ocean$basic$SearchBookshelfRenderer.prototype.getBrowseUri=functi
on(){var a=new goog.Uri("https://www.google.com/search?
tbm=bks&tbs=bkv:p,vw:g&tbo=p");module$contents$ocean$util$uri_setDefaultParameters(
a);a.setParameterValue("q",this.query_);a.setParameterValue("source",this.source);m
odule$contents$goog$array_forEachRight(this.searchRestricts_,function(b)
{a.setParameterValue(b.name,b.value)});return a};
module$exports$ocean$basic$SearchBookshelfRenderer.prototype.render=function(a)
{this.setElement(a);this.slider=new ocean.chrome.VolumeSlider(a,!
this.isMagazines_);this.getHandler().listen(this.slider,ocean.chrome.VolumeSlider.E
ventType.RENDER,goog.bind(this.fetchVolumes,this))};
module$exports$ocean$basic$SearchBookshelfRenderer.prototype.decorateVolumes=functi
on(a){return this.isMagazines_?a=a.map(function(b)
{b.setSource("gbs_other_issues");return
b},this):module$exports$ocean$basic$BookshelfRenderer.prototype.decorateVolumes.cal
l(this,a)};module$exports$ocean$basic$SearchBookshelfRenderer.FETCH_URI_="/books?
jscmd=SearchVolume";var
module$contents$ocean$chrome$PageControl_PageControl=function(a,b,c,d,e){var
f={cursor:"pointer"};goog.style.setStyle(c,f);goog.events.listen(c,goog.events.Even
tType.CLICK,goog.bind(this.handlePrevClick_,this));goog.style.setStyle(d,f);goog.ev
ents.listen(d,goog.events.EventType.CLICK,goog.bind(this.handleNextClick_,this));e.
innerHTML?this.label_=e:
(e.form.action="javascript:",goog.events.listen(e.form,"submit",goog.bind(this.hand
leInputChange_,this)),e.go&&goog.style.setStyle(e.go,{display:"none"}),
this.input_=e.input);this.viewer_=a;this.pageInfoSet_=b;goog.events.listen(a,ocean.
viewport.Viewer.EventType.PAGECHANGE,goog.bind(this.update,this));this.update()};
module$contents$ocean$chrome$PageControl_PageControl.prototype.handleInputChange_=f
unction(){var
a=this.input_.value;if(this.viewer_.goToPageLabel(a))this.update();else if(!
goog.string.isEmptyOrWhitespace(a)&&goog.string.isNumeric(a)){var
b=this.getLastPageNumber_();a=parseInt(a,10);0<b&&a>b&&(this.viewer_.setPageInfo(mo
dule$contents$goog$array_peek(this.pageInfoSet_.getPageInfoArray())),this.update())
}return!1};
module$contents$ocean$chrome$PageControl_PageControl.prototype.getLastPageNumber_=f
unction(){for(var a=this.pageInfoSet_.getPageInfoArray(),b=a.length-1;0<=b;b--){var
c=a[b].getTitle();if(!
goog.string.isEmptyOrWhitespace(c)&&goog.string.isNumeric(c))return
parseInt(c,10)}return-
1};module$contents$ocean$chrome$PageControl_PageControl.prototype.handlePrevClick_=
function(){this.viewer_.queueCommand(ocean.viewport.Viewer.Commands.PREVIOUS)};
module$contents$ocean$chrome$PageControl_PageControl.prototype.handleNextClick_=fun
ction()
{this.viewer_.queueCommand(ocean.viewport.Viewer.Commands.NEXT)};module$contents$oc
ean$chrome$PageControl_PageControl.prototype.update=function(){var
a=this.viewer_.getPageInfo();a&&(this.input_?
this.input_.value=a.getTitle()||"":module$exports$google3$third_party$javascript$sa
fevalues$dom$elements$element.setInnerHtml(goog.asserts.assertElement(this.label_),
(0,module$exports$google3$third_party$javascript$safevalues$index.sanitizeHtmlAsser
tUnchanged)(a.getLabel())))};
ocean.chrome.PageControl=module$contents$ocean$chrome$PageControl_PageControl;var
module$exports$ocean$chrome$PageTurner=function(a)
{module$contents$ocean$EventManager_EventManager.call(this);this.viewer_=a;this.vie
wportEventHandler_=new
goog.events.EventHandler;this.pageTurnOverlay_=goog.dom.createElement("div");goog.s
tyle.setStyle(this.pageTurnOverlay_,
{backgroundColor:"#AAA",display:"",position:"absolute",cursor:"pointer"});goog.styl
e.setOpacity(this.pageTurnOverlay_,0);goog.dom.appendChild(a.controlsDiv_,this.page
TurnOverlay_);this.getHandler().listen(a,ocean.viewport.Viewer.EventType.RESIZE,
this.schedulePosition_);this.getHandler().listen(this.pageTurnOverlay_,goog.events.
EventType.CLICK,this.handleClick_);this.getHandler().listen(this.pageTurnOverlay_,g
oog.events.EventType.MOUSEOUT,this.handleMouseOut_);this.getHandler().listen(this.p
ageTurnOverlay_,goog.events.EventType.MOUSEOVER,goog.bind(this.setVisible_,this,!
0));this.getHandler().listen(a,ocean.viewport.Viewer.EventType.VIEWPORTMODECHANGE,t
his.handleViewportModeChange_);if(a=this.viewer_.getViewport())a instanceof
ocean.books.VerticalViewport&&
(this.forceVisible_=!0),this.handleViewportModeChange_()};
$jscomp.inherits(module$exports$ocean$chrome$PageTurner,module$contents$ocean$Event
Manager_EventManager);module$exports$ocean$chrome$PageTurner.prototype.setEnabled=f
unction(a)
{goog.style.setElementShown(this.pageTurnOverlay_,a)};module$exports$ocean$chrome$P
ageTurner.prototype.schedulePosition_=function()
{goog.Timer.callOnce(goog.bind(this.position_,this),10)};
module$exports$ocean$chrome$PageTurner.prototype.position_=function(){var
a=this.viewer_.getViewport();a&&(a.getSize(),a=a.getWindow().getCroppingDiv(),goog.
style.setSize(this.pageTurnOverlay_,a.clientWidth,module$exports$ocean$chrome$PageT
urner.BAR_HEIGHT_),goog.style.setPosition(this.pageTurnOverlay_,0,a.clientHeight-
module$exports$ocean$chrome$PageTurner.BAR_HEIGHT_))};
module$exports$ocean$chrome$PageTurner.prototype.handleClick_=function(){var
a=this.viewer_.getViewport(),b=a.getSize().height-
module$exports$ocean$chrome$PageTurner.BAR_HEIGHT_,c=goog.dom.createElement("div");
goog.style.setStyle(c,
{backgroundColor:"#000",position:"absolute",width:"100%",height:"1px",overflow:"hid
den"});goog.style.setOpacity(c,module$exports$ocean$chrome$PageTurner.OPACITY_);goo
g.style.setPosition(c,0,a.getScroll().y+b);goog.dom.appendChild(a.getWindow().backg
roundDiv_,c);goog.Timer.callOnce(goog.partial(module$exports$ocean$chrome$PageTurne
r.fadeAndRemoveElement_,
c),1E3);this.forceVisible_=!1;a=new goog.math.Coordinate(void 0,b-
module$exports$ocean$chrome$PageTurner.OVERLAP_);this.viewer_.getViewport().panBy(a
)};module$exports$ocean$chrome$PageTurner.fadeAndRemoveElement_=function(a){var
b=new
goog.fx.dom.Fade(a,module$exports$ocean$chrome$PageTurner.OPACITY_,0,200);b.play();
goog.events.listenOnce(b,goog.fx.Transition.EventType.END,goog.partial(module$expor
ts$ocean$chrome$PageTurner.fadeFollowup_,b,a))};
module$exports$ocean$chrome$PageTurner.fadeFollowup_=function(a,b)
{goog.dom.removeNode(b);a.dispose()};module$exports$ocean$chrome$PageTurner.prototy
pe.handleMouseOut_=function(){this.forceVisible_||this.setVisible_(!1)};
module$exports$ocean$chrome$PageTurner.prototype.setVisible_=function(a){if(a){if(!
this.isDrawn_){var b=goog.dom.createElement("div");goog.style.setStyle(b,
{backgroundColor:"#000",height:"1px",overflow:"hidden"});goog.dom.appendChild(this.
pageTurnOverlay_,b);goog.Timer.callOnce(goog.bind(this.drawArrows_,this),10)}this.i
sDrawn_=!0}goog.style.setOpacity(this.pageTurnOverlay_,a?
module$exports$ocean$chrome$PageTurner.OPACITY_:0)};
module$exports$ocean$chrome$PageTurner.prototype.drawArrows_=function()
{["left","right"].forEach(function(a){var
b=goog.dom.createDom(goog.dom.TagName.DIV,
{"class":"SPRITE_page_down"});goog.dom.appendChild(this.pageTurnOverlay_,b);goog.st
yle.setFloat(b,a);goog.style.setStyle(b,"margin-"+a,"16px")},this)};
module$exports$ocean$chrome$PageTurner.prototype.handleViewportModeChange_=function
(){var a=this.viewer_.getViewport(),b=a instanceof ocean.books.VerticalViewport;b?
this.schedulePosition_():this.forceVisible_=!
1;this.setEnabled(b);this.setVisible_(this.forceVisible_);this.viewportEventHandler
_.removeAll();this.viewportEventHandler_.listenOnce(a,ocean.viewport.Viewport.Event
Type.MOVE,goog.bind(this.handleViewportMove_,this));this.viewportEventHandler_.list
en(a,ocean.viewport.Viewport.EventType.LAYOUTCHANGE,
goog.bind(this.schedulePosition_,this))};module$exports$ocean$chrome$PageTurner.pro
totype.handleViewportMove_=function(){this.forceVisible_&&this.setVisible_(!
1);this.forceVisible_=!
1};module$exports$ocean$chrome$PageTurner.prototype.forceVisible_=!
1;module$exports$ocean$chrome$PageTurner.OPACITY_=.15;module$exports$ocean$chrome$P
ageTurner.BAR_HEIGHT_=40;module$exports$ocean$chrome$PageTurner.OVERLAP_=20;var
module$contents$ocean$history$LegacyHistory_viewportModeMap=null;function
module$contents$ocean$history$LegacyHistory_initializeViewportMap()
{module$contents$ocean$history$LegacyHistory_viewportModeMap||
(module$contents$ocean$history$LegacyHistory_viewportModeMap={},module$contents$oce
an$history$LegacyHistory_viewportModeMap[1]=ocean.books.VerticalViewport,module$con
tents$ocean$history$LegacyHistory_viewportModeMap[2]=ocean.books.TwoPageViewport)}
function module$contents$ocean$history$LegacyHistory_extractParameter(a){var
b={},c=(new
goog.Uri(window.location.href)).getFragment();c&&(c=c.split(","),module$contents$go
og$array_forEach(c,function(d){b[d.charAt(0)]=d.substring(1)}));return
b[a]};function module$contents$ocean$books$startup_start(a,b,c,d,e,f,g)
{module$contents$ocean$Flags_Flags.update(c);e=goog.dom.getElement("gb-get-book-
container");var h=goog.dom.getElement("gb-get-book-content");if(e&&h){var k=new
module$contents$ocean$books$VolumeInfo_VolumeInfo(b);k=new
module$contents$ocean$chrome$GetBookButton_GetBookButton(k,h);k.render(e)}module$co
ntents$ocean$chrome$GetBookButton_GetBookButton.setupGetPrintBookLink();ocean.info.
ProtoPageInfo.setCommChannel(module$contents$ocean$xhr_getJsonObject);
ocean.style.setClearExternalStyles(!
1);k=goog.dom.getElement("viewport");goog.events.listen(document,"selectionchange",
module$contents$ocean$books$startup_handleSelectionChange);c.stereoscopic&&(ocean.v
iewport.PageImageDisplay.imageUrlTransform=module$contents$ocean$books$startup_get3
dImageUrl);e=new
ocean.viewport.Viewer(k);module$contents$ocean$books$startup_makeBodyUnscrollable()
;
(h=goog.dom.getElement("titlebar"))&&goog.style.setStyle(goog.dom.getElement("title
bar"),"white-space","nowrap");h=
new
module$contents$ocean$chrome$ResizeManager_ResizeManager(e,k,goog.dom.getElement("v
olume-
left"),goog.dom.getElement("menu_scroll"),ocean.entitypage.Util.isSourceEntityPage(
c)?!1:!
0);h.resize();module$exports$ocean$search$SearchBar.SearchBar.setResizeManager(h);n
ew module$exports$ocean$entitypage$EntityPageOptIn(h);k=new
module$contents$ocean$books$VolumeInfo_VolumeInfo(b);var l=new
module$contents$ocean$books$PageInfoSet_PageInfoSet(a,e.searchState_);l.setPseudoco
ntinuous(module$contents$ocean$Flags_Flags.pseudocontinuous);
e.setPageInfoSet(l);e.setVolumeInfo(k);l.setDefaultSize(k.defaultPageSize_);module$
contents$ocean$books$Separator_Separator.setVolumeInfo(k);var
m=ocean.books.VerticalViewport;b.disable_twopage||
(module$contents$ocean$history$LegacyHistory_initializeViewportMap(),m=(a=module$co
ntents$ocean$history$LegacyHistory_viewportModeMap[module$contents$ocean$history$Le
gacyHistory_extractParameter("M")])||
ocean.books.VerticalViewport);d=module$contents$ocean$books$startup_updateInitialPa
geInfo(l,d);module$contents$ocean$history$LegacyHistory_initializeViewportMap();
var n=module$contents$ocean$history$LegacyHistory_extractParameter("P");var
p;d&&(p=d.getPageId());a=new ocean.chrome.Fullscreen(e,goog.dom.getElement("volume-
left"),goog.dom.getElement("volume-
center"));h.setFullscreen(a);p=[n,p,l.getPageInfoByIndex(0).getPageId()];var
q;module$contents$goog$array_some(p,function(r){if(r){var
t=l.getPageInfoByPid(r);if(t)return q=r,!0}return!
1});p=e.searchState_;f&&p.setQuery(goog.string.unescapeEntities(f.search_query_esca
ped));e.setPageId(q);p=new module$contents$ocean$history$History_History(e,
a);module$exports$ocean$search$SearchBar.SearchBar.setSearchElement(goog.dom.getEle
ment("search_bar"));module$exports$ocean$search$SearchBar.SearchBar.setToolbarEleme
nt(goog.dom.getElement("toolbar_container"));n=module$contents$ocean$books$startup_
setupSearchInVolume(e,goog.partial(module$contents$ocean$books$startup_handleUserSe
arch,e,p));n=new
module$contents$ocean$search$SearchManager_SearchManager(e,n,p,c);f?
(n.setPreviousViewportClass(m),n.update(module$exports$ocean$search$SearchSessionSo
rtOrder.SearchSessionSortOrder.PAGES,
f,q)):e.setViewportClass(m);ocean.ui.FadingMessageBar.setInstance(new
ocean.ui.FadingMessageBar(e.controlsDiv_,e.viewportDiv_,a));module$contents$ocean$b
ooks$startup_addPageControl(e,l);module$contents$ocean$books$startup_addTextModeLin
k(e);module$contents$ocean$books$startup_hideFooterNodes();new
module$contents$ocean$viewport$Dragger_Dragger(e);m=new
module$exports$ocean$chrome$PageTurner(e);e.go();f=ocean.entitypage.Util.pageLoaded
AsToggledViewMode();p.setEnabled(!
0);p.update();goog.events.listen(ocean.books.ThumbnailPage.eventTarget,
ocean.books.ThumbnailPage.EventType.CLICK,goog.bind(p.update,p));module$contents$oc
ean$books$startup_initializeOtherIssues(k.otherIssuesQuery_,e,h);h=module$contents$
ocean$Flags_Flags.enableClips?
goog.partial(module$contents$ocean$books$startup_setEnableClipping,m):void
0;goog.Timer.callOnce(goog.partial(module$contents$ocean$books$startup_startAppbarA
ndControls,e,a,p,!
b.disable_twopage,module$contents$ocean$Flags_Flags.enableThumbnailViewport,c,k,g,f
,h));g&&module$contents$ocean$books$startup_startAddVolumeToBookshelfWidget(k,
g,k.isEBook());_OC_InitHooks(goog.partial(module$contents$ocean$books$startup_chang
ePage,e),function(){},function(){},function(){},function(){},function()
{});goog.events.listen(document,goog.events.EventType.KEYDOWN,function(r){var
t=ocean.entitypage.Util.isSourceEntityPage(c);(goog.userAgent.MAC?
r.metaKey:r.ctrlKey)&&70==r.keyCode&&(r.preventDefault(),r=t,t=goog.dom.getElement(
"search_form_input"),r||
(module$contents$ocean$books$startup_spotlightAnimation=module$contents$ocean$books
$startup_spotlightAnimation||
new goog.fx.dom.BgColorTransform(t,[255,255,136],
[255,255,255],700,goog.fx.easing.easeIn),module$contents$ocean$books$startup_spotli
ghtAnimation.play(!
0)),t.focus())});module$contents$ocean$util$searchbox_disableOnEmptyQuery("vheadf",
"vheadq");module$contents$ocean$util$searchbox_disableOnEmptyQuery(module$exports$o
cean$util$oneGoogle$Element.FORM,module$exports$ocean$util$oneGoogle$Element.INPUT)
;b=goog.dom.getElement("buy-tooltip");g=goog.dom.getElement("buy-tooltip-
box");b&&g&&module$contents$ocean$atb_initBuyWidgetTooltip(b,
g);b=goog.dom.getElement("gbqfq");g=goog.dom.getElement("gbqfqw");b&&new
ocean.basic.AutoComplete(b,!0,g,-
9);goog.Timer.callOnce(goog.partial(module$contents$ocean$books$startup_followup,e,
d))}goog.exportSymbol("_OC_Run",module$contents$ocean$books$startup_start);
function module$contents$ocean$books$startup_followup(a,b){var
c=a.volumeInfo_;if(c.getFocusArticleId()&&b.getArticle){var
d=c.getFocusArticleId();a=a.getViewport();b.getArticle(d)&&(d=b.getArticle(d),b.set
FocusArticle(d.getArticleId()),c=c.getZoomStops()
[c.getReadingZoomLevel()],c=module$contents$ocean$viewport$OnePage_OnePage.getSizeF
orImageSize(c),a.zoomToStop(c),a.getFocusArticleCoords(b)&&(c=a.getFocusArticleCoor
ds(b),a.moveTo(c),a.drawBoundingBoxes(b)))}}
function module$contents$ocean$books$startup_startAddVolumeToBookshelfWidget(a,b)
{b=module$contents$ocean$mylibrary$utils_constructBookshelves([a],b);var
c=a.getVolumeId();if(c=goog.dom.getElement("addToLibraryLink"+c))a=new
module$contents$ocean$mylibrary$BookshelfPicker_BookshelfPicker(a,b),goog.dom.class
list.add(c,"jfk-button-standard"),a.decorate(c),a.setVisible(!0)}
function
module$contents$ocean$books$startup_startAppbarAndControls(a,b,c,d,e,f,g,h,k,l)
{ocean.entitypage.Util.isSourceEntityPage(f)?new
module$exports$ocean$entitypage$EntityPageFooterToolbar.EntityPageFooterToolbar(a,c
,l,d,e,f,k):module$exports$ocean$books$AppBar.create({viewer:a,fullscreen:b,history
:c,showTwoPageViewport:d,showThumbnailViewport:e,showPaginationButtons:!
0,volumeInfo:g,userInfo:h,flags:f,clippingCallback:l,showLinkButton:!
0});b=goog.dom.getElement("toolbar_container");goog.dom.removeChildren(b);
b.style.padding="0";new module$exports$ocean$viewport$KeyboardControl(a)}
function module$contents$ocean$books$startup_handleSelectionChange()
{if(goog.userAgent.IE&&document.selection&&!
module$contents$ocean$books$startup_ignoreSelectionChange){var
a=document.selection.createRange();goog.dom.contains(a.parentElement(),goog.dom.get
Element("viewport"))&&(module$contents$ocean$books$startup_ignoreSelectionChange=!
0,document.selection.empty(),goog.Timer.callOnce(module$contents$ocean$books$startu
p_resetIgnoreSelectionChange))}}
function module$contents$ocean$books$startup_resetIgnoreSelectionChange()
{module$contents$ocean$books$startup_ignoreSelectionChange=!1}var
module$contents$ocean$books$startup_ignoreSelectionChange=!1;
function module$contents$ocean$books$startup_changePage(a,b,c)
{(b=a.pageInfoSet_.getPageInfoByPid(b))?
a.setPageInfo(b):c&&module$exports$google3$third_party$javascript$safevalues$dom$gl
obals$location.setHref(window.location,module$contents$google3$third_party$javascri
pt$safevalues$builders$url_builders_sanitizeUrl(c))}
function module$contents$ocean$books$startup_updateInitialPageInfo(a,b)
{b=b.page[0];return(a=a.getPageInfoByPid(b.pid))?
(a.setData(b,a.getFetchUri().toString()),a.setProtoData(b),a):null}function
module$contents$ocean$books$startup_hideFooterNodes(){for(var
a=["footer_table"],b=0;b<a.length;b++){var
c=goog.dom.getElement(a[b]);c&&goog.style.setStyle(c,{display:"none"})}}
function module$contents$ocean$books$startup_makeBodyUnscrollable(){var
a=goog.dom.getDocument().body;goog.style.setStyle(a,{overflow:"hidden"})}function
module$contents$ocean$books$startup_addPageControl(a,b){var
c=goog.dom.getElement("page_label");c||
(c={form:goog.dom.getElement("jtp_form"),input:goog.dom.getElement("jtp")});return
new
module$contents$ocean$chrome$PageControl_PageControl(a,b,goog.dom.getElement("prev_
btn"),goog.dom.getElement("next_btn"),c)}
function module$contents$ocean$books$startup_addTextModeLink(a)
{a.setPageMode(module$contents$ocean$Flags_Flags.textDisplay?
OC_PAGE_TEXT:OC_PAGE_IMAGE);var
b=goog.dom.getElement("text_mode");b&&(goog.style.setStyle(b,
{cursor:"pointer"}),goog.events.listen(b,goog.events.EventType.CLICK,goog.partial(m
odule$contents$ocean$books$startup_handleTextModeClick,a)))}function
module$contents$ocean$books$startup_handleUserSearch(a,b,c)
{a.searchState_.setQuery(c);b.update()}
function module$contents$ocean$books$startup_setupSearchInVolume(a,b)
{module$contents$ocean$common$AutoDirText_AutoDirText.setAutoDirectionality("search
_form_input");a=new
module$exports$ocean$chrome$SearchInput(goog.dom.getElement("search_form_input"),a.
searchState_.getQuery());goog.events.listen(goog.dom.getElement("search_form"),goog
.events.EventType.SUBMIT,goog.partial(module$contents$ocean$books$startup_handleSea
rchSubmit,a,b));return a}
function module$contents$ocean$books$startup_handleSearchSubmit(a,b,c){var
d=goog.dom.getElement("sits");d&&d.checked&&""!
=goog.dom.getElement("search_form_input").value||
(c.preventDefault(),module$contents$ocean$viewport$DocumentViewport_DocumentViewpor
t.enableSearchAutoUpdate(!
1),goog.dom.getElement("search_form_input").blur(),b(a.getValue()))}
function module$contents$ocean$books$startup_initializeOtherIssues(a){var
b=goog.dom.getElement("magazine_other_issues");if(b&&a){var c=new
ocean.info.Bookshelf;a=new module$exports$ocean$basic$SearchBookshelfRenderer(c,a,!
0);c=goog.dom.createDom(goog.dom.TagName.DIV,
{"class":"other_issues_content"});goog.dom.appendChild(b,c);a.render(c);a.fetchVolu
mes()}}
function module$contents$ocean$books$startup_handleTextModeClick(a,b)
{b.preventDefault();a=new
goog.Uri(a.getPageInfo().getPageUrl());a.setParameterValue("output","text");module$
exports$google3$third_party$javascript$safevalues$dom$globals$location.setHref(wind
ow.location,module$contents$google3$third_party$javascript$safevalues$builders$url_
builders_sanitizeUrl(a.toString()))}
function module$contents$ocean$books$startup_setEnableClipping(a,b)
{goog.dom.classlist.enable(goog.dom.getElement("viewport"),module$contents$ocean$vi
ewport$SelectionLayer_SelectionLayer.VIEWPORT_SELECTION_CLASS,b);module$contents$oc
ean$viewport$SelectionLayer_SelectionLayer.setSelectionEnabled(b);a.setEnabled(!
b)}var module$contents$ocean$books$startup_spotlightAnimation=null;function
module$contents$ocean$books$startup_get3dImageUrl(a){return
goog.uri.utils.appendParam(a,"edge","3d")}
goog.exportSymbol("_OC_MenuHideHook",function(){});
})();

Vous aimerez peut-être aussi