CINXE.COM
Google Libri
<!DOCTYPE html><html manifest="//ssl.gstatic.com/gb/remove-manifest-link"><head><meta http-equiv="content-type"content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Google Libri</title><link rel="canonical" href=""><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important} </style><script></script><style>.jfk-textinput{-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;border:1px solid #d9d9d9;border-top:1px solid #c0c0c0;font-size:13px;height:25px;padding:1px 8px}.jfk-textinput:focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.3);box-shadow:inset 0 1px 2px rgba(0,0,0,.3);border:1px solid #4d90fe;outline:none}.jfk-textinput::-ms-clear{display:none}a{text-decoration:none}a:link{color:#15c}a:visited{color:#61c}a:active{color:#d14836}a:hover{text-decoration:underline}body{font-family:arial,sans-serif;font-size:13px;margin:0}#oc-search-image{background:url(//www.google.com/intl/en_ALL/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png) no-repeat}#oc-search-logo{color:#4285f4;font-family:roboto-regular,arial,sans-serif;font-size:16px;position:relative;white-space:nowrap}@media (min-width:801px){#oc-search-image-box{padding:120px 0 24px 0}#oc-search-image{-webkit-background-size:272px 92px;-o-background-size:272px 92px;background-size:272px 92px;height:92px;width:272px}#oc-search-logo{font-size:16px;left:101px;top:74px}#oc-search-button-box{margin-left:12px}#oc-search-button{width:70px}#oc-search-description{margin-top:28px;font-size:14px}}@media (max-width:800px){#oc-search-input-box{width:88%}#oc-search-image-box{padding:70px 0 24px 0}#oc-search-image{-webkit-background-size:200px 68px;-o-background-size:200px 68px;background-size:200px 68px;height:68px;width:200px}#oc-search-logo{font-size:13px;left:77px;top:54px}#oc-search-button{padding:1px 0;width:40px}#oc-search-description{margin:16px;font-size:13px}}@media (orientation:landscape) and (max-width:800px){#oc-search-image-box{padding:35px 0 24px 0}}@media (max-width:500px){#oc-search-input-box{width:96%}}#oc-search-button{margin-left:12px;border:1px solid #3079ed;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;height:27px;background-color:#357ae8;background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8)}#oc-search-button input{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAtUlEQVQoz2P4//8/AxQbAvFBIP7yHwJA9BGoOAM2DGNkAPHv/9jBb6g8Vs0gk39BFd4G4hggloPSt6Hiv7C5AETshyq4i8N5d6Hy+7Fp/gqVDMChOQAq/xWb5r9QSUkcmiWh8n/x2eyDQ7MPPpsPEunng9g0myJFEyh0I4BYBErfRoqyXHLiGRmsxqYZ5gJQivoGVfgNyi/BZQADrqSHhtdhM4BYzVgNIEUzugHrSNUMMwCEGQDxZPLNLQuzXAAAAABJRU5ErkJggg==) no-repeat center center;height:27px;vertical-align:top;color:transparent;border:0;cursor:default;width:100%}#oc-search-input{width:100%;height:29px;font-size:17px}#oc-search-input:focus{border-color:#d9d9d9;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#oc-search-input:hover{border-color:#a0a0a0}.footerOuter{position:absolute;bottom:0;height:75px;width:100%}.footerInner{position:absolute;bottom:0;left:0;right:0;background:#f2f2f2;border-top:1px solid #e4e4e4;line-height:49px;text-align:center}.footerLeft,.footerRight{white-space:nowrap;margin:0 30px}.footerInner a{display:inline-block;color:#666;white-space:nowrap;margin-left:27px}.footerInner a:first-child{margin-left:0}@media (min-width:501px){.footerLeft{float:right}.footerRight{float:left}}@media (max-width:500px){.footerLeft{display:none}}.ac-renderer{position:absolute;background-color:#fff;cursor:default;border:1px solid #ccc;border-top-color:#d9d9d9;font-size:13px;line-height:1.3em;overflow:hidden;white-space:nowrap;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);-moz-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.gb-reset .ac-renderer{font-size:100%}.ac-active{background-color:#4d90fe;color:white}.ac-row{padding:2px 5px}sentinel{}</style></head><body ><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.com.sg/webhp?tab=pw">Ricerca</a> <a target=_blank class=gb1 href="https://www.google.it/imghp?hl=it&tab=pi">Immagini</a> <a target=_blank class=gb1 href="https://maps.google.com.sg/maps?hl=it&tab=pl">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=it&tab=p8">Play</a> <a target=_blank class=gb1 href="https://www.youtube.com/?tab=p1">YouTube</a> <a target=_blank class=gb1 href="https://news.google.com/?tab=pn">News</a> <a target=_blank class=gb1 href="https://mail.google.com/mail/?tab=pm">Gmail</a> <a target=_blank class=gb1 href="https://drive.google.com/?tab=po">Drive</a> <a target=_blank class=gb1 style="text-decoration:none" href="https://www.google.com.sg/intl/it/about/products?tab=ph"><u>Altro</u> »</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a target=_top id=gb_70 href="https://www.google.com/accounts/Login?service=print&continue=https://books.google.it/%3Fhl%3Dit&hl=it&ec=GAZACg" class=gb4>Accedi</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div align="center"><form action="//www.google.com/search" method="GET" id="oc-search-form"><input type="hidden" name="udm" value="36"><div id="oc-search-image-box"><div id="oc-search-image" title="Google Libri"><div id="oc-search-logo">Libri</div></div></div><table id="oc-search-input-box"><tr><td><input id="oc-search-input"autocomplete="off"name="q"type="text"class="jfk-textinput"title="Cerca nei libri"size="66"maxlength="2048"></td><td><div id="oc-search-button-box"><div id="oc-search-button"><input type="submit" value="Cerca nei libri"></div></div></td></tr></table><p id="oc-search-description">Cerca nel pi霉 grande indice di testi integrali mai esistito.</p><p id="oc-my-library"><a href="https://www.google.com/accounts/Login?service=print&continue=https://books.google.it/books%3Fop%3Dlibrary%26hl%3Dit&hl=it">La mia raccolta</a></p></form></div><div class="footerOuter"><div class="footerInner"><span class="footerLeft"><a href="http://books.google.com.sg/support/partner/?hl=it-IT">Editori</a><a href="/intl/it/googlebooks/about.html">Informazioni</a></span><span class="footerRight"><a href="/intl/it/googlebooks/privacy.html">Privacy</a><a href="/intl/it/googlebooks/tos.html">Termini</a><a href="http://books.google.com.sg/support/topic/4359341?hl=it-IT">Centro assistenza</a></span></div></div><script>var f,aa=[];function ba(a){return function(){return aa[a].apply(this,arguments)}}function ca(a,b){return aa[a]=b}function da(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ea=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; function fa(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");}var ha=fa(this);function ia(a,b){if(b)a:{var c=ha;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&ea(c,a,{configurable:!0,writable:!0,value:b})}} ia("Symbol",function(a){function b(g){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+e++,g)}function c(g,h){this.g=g;ea(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b}); ia("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=ha[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&ea(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(da(this))}})}return a});function ja(a){a={next:a};a[Symbol.iterator]=function(){return this};return a} var ka=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},la;if(typeof Object.setPrototypeOf=="function")la=Object.setPrototypeOf;else{var ma;a:{var na={a:!0},oa={};try{oa.__proto__=na;ma=oa.a;break a}catch(a){}ma=!1}la=ma?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var pa=la; function n(a,b){a.prototype=ka(b.prototype);a.prototype.constructor=a;if(pa)pa(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.na=b.prototype}function qa(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:da(a)};throw Error(String(a)+" is not an iterable or ArrayLike");} function ra(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function sa(a){return a instanceof Array?a:ra(qa(a))}function ta(a){return ua(a,a)}function ua(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function wa(){this.o=!1;this.i=null;this.j=void 0;this.g=1;this.O=0;this.l=null}function xa(a){if(a.o)throw new TypeError("Generator is already running");a.o=!0}wa.prototype.s=function(a){this.j=a};function ya(a,b){a.l={Cs:b,hu:!0};a.g=a.O} wa.prototype.return=function(a){this.l={return:a};this.g=this.O};function Aa(a,b,c){a.g=c;return{value:b}}function Ba(a){this.g=new wa;this.i=a}function Ca(a,b){xa(a.g);var c=a.g.i;if(c)return Da(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Ea(a)} function Da(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.o=!1,e;var g=e.value}catch(h){return a.g.i=null,ya(a.g,h),Ea(a)}a.g.i=null;d.call(a.g,g);return Ea(a)}function Ea(a){for(;a.g.g;)try{var b=a.i(a.g);if(b)return a.g.o=!1,{value:b.value,done:!1}}catch(c){a.g.j=void 0,ya(a.g,c)}a.g.o=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.hu)throw b.Cs;return{value:b.return,done:!0}}return{value:void 0,done:!0}} function Fa(a){this.next=function(b){xa(a.g);a.g.i?b=Da(a,a.g.i.next,b,a.g.s):(a.g.s(b),b=Ea(a));return b};this.throw=function(b){xa(a.g);a.g.i?b=Da(a,a.g.i["throw"],b,a.g.s):(ya(a.g,b),b=Ea(a));return b};this.return=function(b){return Ca(a,b)};this[Symbol.iterator]=function(){return this}}function Ga(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})} function Ha(a){return Ga(new Fa(new Ba(a)))}function Ka(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}ia("globalThis",function(a){return a||ha}); ia("Promise",function(a){function b(h){this.g=0;this.j=void 0;this.i=[];this.O=!1;var k=this.l();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.g=null}function d(h){return h instanceof b?h:new b(function(k){k(h)})}if(a)return a;c.prototype.i=function(h){if(this.g==null){this.g=[];var k=this;this.j(function(){k.o()})}this.g.push(h)};var e=ha.setTimeout;c.prototype.j=function(h){e(h,0)};c.prototype.o=function(){for(;this.g&&this.g.length;){var h=this.g;this.g=[];for(var k=0;k<h.length;++k){var l= h[k];h[k]=null;try{l()}catch(m){this.l(m)}}}this.g=null};c.prototype.l=function(h){this.j(function(){throw h;})};b.prototype.l=function(){function h(m){return function(p){l||(l=!0,m.call(k,p))}}var k=this,l=!1;return{resolve:h(this.oa),reject:h(this.o)}};b.prototype.oa=function(h){if(h===this)this.o(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof b)this.ya(h);else{a:switch(typeof h){case "object":var k=h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.Ha(h): this.s(h)}};b.prototype.Ha=function(h){var k=void 0;try{k=h.then}catch(l){this.o(l);return}typeof k=="function"?this.Aa(k,h):this.s(h)};b.prototype.o=function(h){this.U(2,h)};b.prototype.s=function(h){this.U(1,h)};b.prototype.U=function(h,k){if(this.g!=0)throw Error("Cannot settle("+h+", "+k+"): Promise already settled in state"+this.g);this.g=h;this.j=k;this.g===2&&this.ta();this.ka()};b.prototype.ta=function(){var h=this;e(function(){if(h.ma()){var k=ha.console;typeof k!=="undefined"&&k.error(h.j)}}, 1)};b.prototype.ma=function(){if(this.O)return!1;var h=ha.CustomEvent,k=ha.Event,l=ha.dispatchEvent;if(typeof l==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=ha.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.j;return l(h)};b.prototype.ka=function(){if(this.i!=null){for(var h=0;h<this.i.length;++h)g.i(this.i[h]);this.i= null}};var g=new c;b.prototype.ya=function(h){var k=this.l();h.yi(k.resolve,k.reject)};b.prototype.Aa=function(h,k){var l=this.l();try{h.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};b.prototype.then=function(h,k){function l(D,H){return typeof D=="function"?function(F){try{m(D(F))}catch(J){p(J)}}:H}var m,p,y=new b(function(D,H){m=D;p=H});this.yi(l(h,m),l(k,p));return y};b.prototype.catch=function(h){return this.then(void 0,h)};b.prototype.yi=function(h,k){function l(){switch(m.g){case 1:h(m.j); break;case 2:k(m.j);break;default:throw Error("Unexpected state: "+m.g);}}var m=this;this.i==null?g.i(l):this.i.push(l);this.O=!0};b.resolve=d;b.reject=function(h){return new b(function(k,l){l(h)})};b.race=function(h){return new b(function(k,l){for(var m=qa(h),p=m.next();!p.done;p=m.next())d(p.value).yi(k,l)})};b.all=function(h){var k=qa(h),l=k.next();return l.done?d([]):new b(function(m,p){function y(F){return function(J){D[F]=J;H--;H==0&&m(D)}}var D=[],H=0;do D.push(void 0),H++,d(l.value).yi(y(D.length- 1),p),l=k.next();while(!l.done)})};return b});function La(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var Ma=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)La(d,e)&&(a[e]=d[e])}return a};ia("Object.assign",function(a){return a||Ma});ia("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")}); ia("WeakMap",function(a){function b(l){this.rb=(k+=Math.random()+1).toString();if(l){l=qa(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function e(l){if(!La(l,h)){var m=new c;ea(l,h,{value:m})}}function g(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof c)return p;Object.isExtensible(p)&&e(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}), p=new a([[l,2],[m,3]]);if(p.get(l)!=2||p.get(m)!=3)return!1;p.delete(l);p.set(m,4);return!p.has(l)&&p.get(m)==4}catch(y){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!La(l,h))throw Error("WeakMap key fail: "+l);l[h][this.rb]=m;return this};b.prototype.get=function(l){return d(l)&&La(l,h)?l[h][this.rb]:void 0};b.prototype.has=function(l){return d(l)&& La(l,h)&&La(l[h],this.rb)};b.prototype.delete=function(l){return d(l)&&La(l,h)&&La(l[h],this.rb)?delete l[h][this.rb]:!1};return b}); ia("Map",function(a){function b(){var k={};return k.Fe=k.next=k.head=k}function c(k,l){var m=k[1];return ja(function(){if(m){for(;m.head!=k[1];)m=m.Fe;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;m=="object"||m=="function"?g.has(l)?m=g.get(l):(m=""+ ++h,g.set(l,m)):m="p_"+l;var p=k[0][m];if(p&&La(k[0],m))for(k=0;k<p.length;k++){var y=p[k];if(l!==l&&y.key!==y.key||l===y.key)return{id:m,list:p,index:k,Fc:y}}return{id:m, list:p,index:-1,Fc:void 0}}function e(k){this[0]={};this[1]=b();this.size=0;if(k){k=qa(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),l=new a(qa([[k,"s"]]));if(l.get(k)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=k||p.value[1]!="s")return!1;p=m.next();return p.done||p.value[0].x!= 4||p.value[1]!="t"||!m.next().done?!1:!0}catch(y){return!1}}())return a;var g=new WeakMap;e.prototype.set=function(k,l){k=k===0?0:k;var m=d(this,k);m.list||(m.list=this[0][m.id]=[]);m.Fc?m.Fc.value=l:(m.Fc={next:this[1],Fe:this[1].Fe,head:this[1],key:k,value:l},m.list.push(m.Fc),this[1].Fe.next=m.Fc,this[1].Fe=m.Fc,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.Fc&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],k.Fc.Fe.next=k.Fc.next,k.Fc.next.Fe= k.Fc.Fe,k.Fc.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].Fe=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).Fc};e.prototype.get=function(k){return(k=d(this,k).Fc)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=function(k,l){for(var m=this.entries(), p;!(p=m.next()).done;)p=p.value,k.call(l,p[1],p[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e}); ia("Set",function(a){function b(c){this.g=new Map;if(c){c=qa(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(qa([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||g.value[0].x!= 4||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]= b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(g){return c.call(d,g,g,e)})};return b});function Na(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}ia("Array.prototype.entries",function(a){return a?a:function(){return Na(this,function(b,c){return[b,c]})}}); ia("Array.prototype.keys",function(a){return a?a:function(){return Na(this,function(b){return b})}});function Oa(a,b,c){if(a==null)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+""} ia("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Oa(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});ia("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); ia("String.prototype.repeat",function(a){return a?a:function(b){var c=Oa(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ia("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var h=d[g];if(b.call(c,h,g,d)){b=h;break a}}b=void 0}return b}}); ia("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Oa(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}}); ia("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});ia("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push([d,b[d]]);return c}}); ia("Array.prototype.values",function(a){return a?a:function(){return Na(this,function(b,c){return c})}});ia("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],g=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof g=="function"){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});ia("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); ia("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});ia("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});ia("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}}); ia("String.prototype.includes",function(a){return a?a:function(b,c){return Oa(this,b,"includes").indexOf(b,c||0)!==-1}});ia("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push(b[d]);return c}}); ia("String.prototype.replaceAll",function(a){return 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)}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Pa=Pa||{},q=this||self;function Qa(a,b){a=a.split(".");b=b||q;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ra(a){a.Jf=void 0;a.Hb=function(){return a.Jf?a.Jf:a.Jf=new a}}function Sa(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function Ua(a){var b=Sa(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Va(a){var b=typeof a;return b=="object"&&a!=null||b=="function"} function Wa(a){return Object.prototype.hasOwnProperty.call(a,Xa)&&a[Xa]||(a[Xa]=++Ya)}var Xa="closure_uid_"+(Math.random()*1E9>>>0),Ya=0;function Za(a,b,c){return a.call.apply(a.bind,arguments)}function $a(a,b,c){if(!a)throw Error();if(arguments.length>2){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)}} function r(a,b,c){r=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Za:$a;return r.apply(null,arguments)}function t(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)}}function ab(){return Date.now()}function bb(a,b){a=a.split(".");for(var c=q,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function u(a,b){function c(){}c.prototype=b.prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.fw=function(d,e,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};var cb=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};function db(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,db);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}u(db,Error);db.prototype.name="CustomError";var eb;function fb(a){return a[a.length-1]} var gb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},hb=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;c<0&&(c=Math.max(0,a.length+c));if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.lastIndexOf(b, c);for(;c>=0;c--)if(c in a&&a[c]===b)return c;return-1},v=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=typeof a==="string"?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},kb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=typeof a==="string"?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[g++]=l)}return e},lb=Array.prototype.map? function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=typeof a==="string"?a.split(""):a,h=0;h<d;h++)h in g&&(e[h]=b.call(c,g[h],h,a));return e},mb=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};function nb(a,b){b=ob(a,b);return b<0?null:typeof a==="string"?a.charAt(b):a[b]} function ob(a,b,c){for(var d=a.length,e=typeof a==="string"?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return g;return-1}function pb(a,b){return gb(a,b)>=0}function qb(a,b){pb(a,b)||a.push(b)}function rb(a,b){b=gb(a,b);var c;(c=b>=0)&&sb(a,b);return c}function sb(a,b){Array.prototype.splice.call(a,b,1)}function tb(a,b){b=ob(a,b);b>=0&&sb(a,b)}function ub(a){return Array.prototype.concat.apply([],arguments)} function vb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function wb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}}function xb(a,b,c,d){Array.prototype.splice.apply(a,yb(arguments,1))}function yb(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function zb(a,b){a.sort(b||Ab)} function Ab(a,b){return a>b?1:a<b?-1:0}function Bb(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],g=b.call(void 0,e,d,a);g!==void 0&&(c[g]||(c[g]=[])).push(e)}return c}function Cb(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)for(var g=Cb.apply(null,yb(d,e,e+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b} function Db(a){if(a.length){var b=1%a.length;b>0?Array.prototype.unshift.apply(a,a.splice(-b,b)):b<0&&Array.prototype.push.apply(a,a.splice(0,-b))}return a};function Eb(a,b,c){return Math.min(Math.max(a,b),c)};function w(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0}f=w.prototype;f.clone=function(){return new w(this.x,this.y)};function Fb(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Gb(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function Hb(a,b){return new w(a.x-b.x,a.y-b.y)}f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.Ej=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};function Ib(a,b){this.width=a;this.height=b}function Jb(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=Ib.prototype;f.clone=function(){return new Ib(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Kb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Lb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Mb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function Nb(){var a=Ob,b;for(b in a)return!1;return!0}function Pb(a,b,c){if(a!==null&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}var Qb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); function Rb(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 g=0;g<Qb.length;g++)c=Qb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}function Sb(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return Sb.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 Tb(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c}function Ub(a){return/^[\s\xa0]*$/.test(a)}var Vb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]}; function Wb(a){if(!Xb.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(Yb,"&"));a.indexOf("<")!=-1&&(a=a.replace(Zb,"<"));a.indexOf(">")!=-1&&(a=a.replace($b,">"));a.indexOf('"')!=-1&&(a=a.replace(ac,"""));a.indexOf("'")!=-1&&(a=a.replace(bc,"'"));a.indexOf("\x00")!=-1&&(a=a.replace(cc,"�"));return a}var Yb=/&/g,Zb=/</g,$b=/>/g,ac=/"/g,bc=/'/g,cc=/\x00/g,Xb=/[\x00&<>"']/;function dc(a,b){return a.indexOf(b)!=-1} function ec(a,b){var c=0;a=Vb(String(a)).split(".");b=Vb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(g[0].length==0&&h[0].length==0)break;c=fc(g[1].length==0?0:parseInt(g[1],10),h[1].length==0?0:parseInt(h[1],10))||fc(g[2].length==0,h[2].length==0)||fc(g[2],h[2]);g=g[3];h=h[3]}while(c==0)}return c}function fc(a,b){return a<b?-1:a>b?1:0};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function gc(a){return{valueOf:a}.valueOf()};var hc=globalThis.trustedTypes,ic=hc,jc;function kc(){var a=null;if(!ic)return a;try{var b=function(c){return c};a=ic.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function lc(){jc===void 0&&(jc=kc());return jc};function mc(a){this.g=a}mc.prototype.toString=function(){return this.g+""};function nc(a){var b=lc();return new mc(b?b.createScriptURL(a):a)}function oc(a){if(a instanceof mc)return a.g;throw Error("");};function pc(a){this.g=a}pc.prototype.toString=function(){return this.g};var qc=new pc("about:invalid#zClosurez");function rc(a){if(a instanceof pc)return a.g;throw Error("");};function sc(a){this.Zk=a}function uc(a){return new sc(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var vc=[uc("data"),uc("http"),uc("https"),uc("mailto"),uc("ftp"),new sc(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function wc(a){var b=b===void 0?vc:b;a:if(b=b===void 0?vc:b,!(a instanceof pc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof sc&&d.Zk(a)){a=new pc(a);break a}}a=void 0}return a||qc} var xc=gc(function(){return typeof URL==="function"}),yc=["data:","http:","https:","mailto:","ftp:"],zc=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function Ac(a){if(zc.test(a))return a}function Bc(a){return a instanceof pc?rc(a):Ac(a)};function Cc(a,b){b=Bc(b);b!==void 0&&(a.href=b)};function Dc(a){this.g=a}Dc.prototype.toString=function(){return this.g+""};function Ec(a){var b=lc();return new Dc(b?b.createHTML(a):a)}var Fc=gc(function(){return new Dc(hc?hc.emptyHTML:"")});function Gc(a){if(a instanceof Dc)return a.g;throw Error("");};function Hc(a,b){b=Bc(b);b!==void 0&&a.open(b,void 0,void 0)}function Ic(a,b){b=b===void 0?document:b;var c,d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,a+"[nonce]");return b==null?"":b.nonce||b.getAttribute("nonce")||""};function Jc(a){this.g=a}Jc.prototype.toString=function(){return this.g+""};function Kc(a,b){a.src=oc(b);(b=Ic("script",a.ownerDocument))&&a.setAttribute("nonce",b)};function Lc(){this.g=Mc[0].toLowerCase()}Lc.prototype.toString=function(){return this.g};function x(a,b){a.nodeType===1&&Nc(a);a.innerHTML=Gc(b)}function Oc(a,b,c){var d=b==="beforebegin"||b==="afterend"?a.parentElement:a;d!==null&&Nc(d);a.insertAdjacentHTML(b,Gc(c))}function Pc(a,b){var c=Qc;if(c.length===0)throw Error("");if(c.map(function(d){if(d instanceof Lc)d=d.g;else throw Error("");return d}).every(function(d){return"value".indexOf(d)!==0}))throw Error('Attribute "value" does not match any of the allowed prefixes.');a.setAttribute("value",b)} function Nc(a){if(/^(script|style)$/i.test(a.tagName))throw Error("");};function Rc(a,b){b=Bc(b);b!==void 0&&(a.href=b)}function Sc(a,b){b=Bc(b);b!==void 0&&a.replace(b)};function Tc(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")}function Uc(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function Vc(a){return a.replace(/\xa0|[ \t]+/g," ")}function Wc(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}function Xc(a){return decodeURIComponent(a.replace(/\+/g," "))}function Yc(a){return a=Wb(a)} function Zc(a){return dc(a,"&")?"document"in q?ad(a):bd(a):a}function ad(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=q.document.createElement("div");return a.replace(cd,function(d,e){var g=b[d];if(g)return g;e.charAt(0)=="#"&&(e=Number("0"+e.slice(1)),isNaN(e)||(g=String.fromCharCode(e)));g||(x(c,Ec(d+" ")),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})} function bd(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)}})}var cd=/&([^;\s<&]+);?/g;function dd(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}function ed(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")} var fd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function gd(a){return a==null?"":String(a)}function hd(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function id(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var jd,kd=Qa("CLOSURE_FLAGS"),ld=kd&&kd[610401301];jd=ld!=null?ld:!1;function md(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}var nd,od=q.navigator;nd=od?od.userAgentData||null:null;function pd(a){if(!jd||!nd)return!1;for(var b=0;b<nd.brands.length;b++){var c=nd.brands[b].brand;if(c&&dc(c,a))return!0}return!1}function qd(a){return dc(md(),a)};function rd(){return jd?!!nd&&nd.brands.length>0:!1}function sd(){return rd()?!1:qd("Opera")}function td(){return rd()?!1:qd("Trident")||qd("MSIE")}function ud(){return qd("Firefox")||qd("FxiOS")}function vd(){return rd()?pd("Chromium"):(qd("Chrome")||qd("CriOS"))&&!(rd()?0:qd("Edge"))||qd("Silk")} function wd(){var a=md();if(td()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),c[1]=="7.0")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];a=b}}else a="";return a} function xd(){if(rd()){var a=nd.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=wd();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])};function yd(){return jd?!!nd&&!!nd.platform:!1}function zd(){return qd("iPhone")&&!qd("iPod")&&!qd("iPad")}function Ad(){return zd()||qd("iPad")||qd("iPod")}function Bd(){return yd()?nd.platform==="macOS":qd("Macintosh")};function Cd(a){Cd[" "](a);return a}Cd[" "]=function(){};function Dd(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Ed=sd(),Fd=td(),Gd=qd("Edge"),Hd=qd("Gecko")&&!(dc(md().toLowerCase(),"webkit")&&!qd("Edge"))&&!(qd("Trident")||qd("MSIE"))&&!qd("Edge"),Id=dc(md().toLowerCase(),"webkit")&&!qd("Edge"),Jd=Id&&qd("Mobile"),Kd=Bd(),Ld=yd()?nd.platform==="Windows":qd("Windows"),Md=(yd()?nd.platform==="Linux":qd("Linux"))||(yd()?nd.platform==="Chrome OS":qd("CrOS")),Nd=yd()?nd.platform==="Android":qd("Android"),Od=zd(),Pd=qd("iPad"),Qd=qd("iPod"),Rd=Ad(),Sd; a:{var Td="",Ud=function(){var a=md();if(Hd)return/rv:([^\);]+)(\)|;)/.exec(a);if(Gd)return/Edge\/([\d\.]+)/.exec(a);if(Fd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Id)return/WebKit\/(\S+)/.exec(a);if(Ed)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ud&&(Td=Ud?Ud[1]:"");if(Fd){var Vd,Wd=q.document;Vd=Wd?Wd.documentMode:void 0;if(Vd!=null&&Vd>parseFloat(Td)){Sd=String(Vd);break a}}Sd=Td}var Xd=Sd,Yd={};function Zd(a){return Dd(Yd,a,function(){return ec(Xd,a)>=0})};function $d(a,b){if(a instanceof Dc)return a;a=ae(String(a));if(b==null?0:b.sw)a=a.replace(/(^|[\r\n\t ]) /g,"$1 ");if(b==null?0:b.Jh)a=a.replace(/(\r\n|\n|\r)/g,"<br>");if(b==null?0:b.tw)a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>');return Ec(a)} function be(a){var b={nonce:Ic("script",document)};if(a instanceof Jc)a=a.g;else throw Error("");a=a.toString();var c="<script";if(b==null?0:b.id)c+=' id="'+ae(b.id)+'"';if(b==null?0:b.nonce)c+=' nonce="'+ae(b.nonce)+'"';if(b==null?0:b.type)c+=' type="'+ae(b.type)+'"';if(b==null?0:b.defer)c+=" defer";return Ec(c+(">"+a+"\x3c/script>"))}function ae(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")} function ce(a){var b=$d("");return Ec(a.map(function(c){return Gc($d(c))}).join(Gc(b).toString()))}var de=/^[a-z][a-z\d-]*$/i,ee="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),fe="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),ge=["action","formaction","href"];function he(a){if(!de.test(a))throw Error("");if(ee.indexOf(a.toUpperCase())!==-1)throw Error("");} function ie(a,b,c){he(a);var d="<"+a;b&&(d+=je(b));Array.isArray(c)||(c=c===void 0?[]:[c]);fe.indexOf(a.toUpperCase())!==-1?d+=">":(b=ce(c.map(function(e){return e instanceof Dc?e:$d(String(e))})),d+=">"+b.toString()+"</"+a+">");return Ec(d)} function je(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],g=a[e];if(!de.test(e))throw Error("");if(g!==void 0&&g!==null){if(/^on./i.test(e))throw Error("");ge.indexOf(e.toLowerCase())!==-1&&(g=g instanceof pc?g.toString():Ac(String(g))||"about:invalid#zClosurez");g=e+'="'+$d(String(g))+'"';b+=" "+g}}return b};function ke(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function le(a,b){var c=b.createRange();c.selectNode(b.body);a=Ec(a);return c.createContextualFragment(Gc(a))};function me(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function ne(a){a=a.nodeType;return a===1||typeof a!=="number"};function oe(a,b,c,d,e){this.j=a;this.g=b;this.l=c;this.o=d;this.i=e}function pe(a,b,c){c=a.g.get(c);return(c==null?0:c.has(b))?c.get(b):a.l.has(b)?{qc:1}:(c=a.o.get(b))?c:a.i&&[].concat(sa(a.i)).some(function(d){return b.indexOf(d)===0})?{qc:1}:{qc:0}};var qe="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 NOBR 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(" "), re=[["A",new Map([["href",{qc:2}]])],["AREA",new Map([["href",{qc:2}]])],["LINK",new Map([["href",{qc:5,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",{qc:5}],["srcset",{qc:6}]])],["IMG",new Map([["src",{qc:5}],["srcset",{qc:6}]])],["VIDEO",new Map([["src",{qc:5}]])],["AUDIO",new Map([["src",{qc:5}]])]],se="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 cite color cols colspan controls controlslist 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 poster 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(" "), te=[["dir",{qc:3,conditions:gc(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{qc:3,conditions:gc(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{qc:3,conditions:gc(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{qc:3,conditions:gc(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],ue=new oe(new Set(qe),new Map(re),new Set(se),new Map(te)),ve=new oe(new Set(qe.concat(["BUTTON","INPUT"])), new Map(re),new Set(gc(function(){return se.concat(["class","id","name"])})),new Map(gc(function(){return te.concat([["style",{qc:1}]])}))),we=new oe(new Set(gc(function(){return qe.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "))})),new Map(re),new Set(gc(function(){return se.concat(["class","id","tabindex","contenteditable","name"])})),new Map(gc(function(){return te.concat([["style",{qc:1}]])})),new Set(["data-","aria-"]));function xe(a,b,c,d){this.i=a;this.l=b;this.j=c;this.g=d}function ye(a,b){var c=document.implementation.createHTMLDocument("");a=ze(a,b,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return Ec(c)} function ze(a,b,c){b=le(b,c);b=document.createTreeWalker(b,5,function(k){if(k.nodeType===3)k=1;else if(ne(k))if(k=me(k),k===null)k=2;else{var l=a.i;k=k!=="FORM"&&(l.j.has(k)||l.g.has(k))?1:2}else k=2;return k});for(var d=b.nextNode(),e=c.createDocumentFragment(),g=e;d!==null;){var h=void 0;if(d.nodeType===3)a.l&&g.nodeName==="STYLE"?(d=a.l(d.data),h=document.createTextNode(d)):h=document.createTextNode(d.data);else if(ne(d))h=Ae(a,d,c);else throw Error("");g.appendChild(h);if(d=b.firstChild())g=h; else for(;!(d=b.nextSibling())&&(d=b.parentNode());)g=g.parentNode}return e} function Ae(a,b,c){var d,e=me(b);c=c.createElement(e);b=b.attributes;for(var g=qa(b),h=g.next();!h.done;h=g.next()){var k=h.value;h=k.name;k=k.value;var l=pe(a.i,h,e);a:{if(d=l.conditions){d=qa(d);for(var m=d.next();!m.done;m=d.next()){var p=qa(m.value);m=p.next().value;p=p.next().value;var y=void 0;if((m=(y=b.getNamedItem(m))==null?void 0:y.value)&&!p.has(m)){d=!1;break a}}}d=!0}if(d)switch(l.qc){case 1:Be(c,h,k);break;case 2:a:if(l=void 0,xc){try{l=new URL(k)}catch(D){l="https:";break a}l=l.protocol}else b:{l= document.createElement("a");try{l.href=k}catch(D){l=void 0;break b}l=l.protocol;l=l===":"||l===""?"https:":l}Be(c,h,l!==void 0&&yc.indexOf(l.toLowerCase())!==-1?k:"about:invalid#zClosurez");break;case 3:Be(c,h,k.toLowerCase());break;case 4:a.j?(k=a.j(k),Be(c,h,k)):Be(c,h,k);break;case 5:a.g?(l={type:2,attributeName:h,zs:e},k=ke(k),(k=a.g(k,l))&&Be(c,h,k.toString())):Be(c,h,k);break;case 6:if(a.g){l={type:2,attributeName:h,zs:e};d=[];k=qa(k.split(","));for(m=k.next();!m.done;m=k.next())p=qa(m.value.trim().split(/\s+/, 2)),m=p.next().value,p=p.next().value,d.push({url:m,zk:p});k={ul:[]};d=qa(d);for(m=d.next();!m.done;m=d.next())m=m.value,p=ke(m.url),(p=a.g(p,l))&&k.ul.push({url:p.toString(),zk:m.zk});Be(c,h,Ce(k))}else Be(c,h,k)}}return c}function Be(a,b,c){a.setAttribute(b,c)}function Ce(a){return a.ul.map(function(b){var c=b.zk;return""+b.url+(c?" "+c:"")}).join(" , ")}var De=gc(function(){return new xe(ue)});function z(a){return ye(De,a)}var Ee=gc(function(){return new xe(ve)}),Fe=gc(function(){return new xe(we)});function Ge(){this.i=!1;this.g=ue}function He(){Ge.apply(this,arguments)}n(He,Ge);function Ie(a){var b=Ka.apply(1,arguments);if(b.length===0)return nc(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return nc(c)}function Je(a,b,c,d){function e(h,k){h!=null&&(Array.isArray(h)?h.forEach(function(l){return e(l,k)}):(b+=g+encodeURIComponent(k)+"="+encodeURIComponent(h),g="&"))}var g=b.length?"&":"?";d.constructor===Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(function(h){return e(h[1],h[0])}):d.forEach(e);return nc(a+b+c)};var Ke={0:1,1:1},Le={0:.1,1:.1};function Me(a,b){try{ye(Fe,a)}catch(c){return Ne(b,"H_SLSANITIZE"),!0}try{ye(Ee,a)}catch(c){return Ne(b,"H_RSANITIZE"),!0}try{z(a)}catch(c){return Ne(b,"H_SANITIZE"),!0}return!1}function Ne(a,b){(Oe?Oe:typeof window!=="undefined"&&window.navigator&&window.navigator.sendBeacon!==void 0?navigator.sendBeacon.bind(navigator):Pe)("https://csp.withgoogle.com/csp/lcreport/"+a.jj,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))} function Pe(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)}var Oe;var Qe={};function Re(a){return a?new Se(Te(a)):eb||(eb=new Se)}function A(a){return Ue(document,a)}function Ue(a,b){return typeof b==="string"?a.getElementById(b):b}function Ve(a,b){return(b||document).getElementsByTagName(String(a))}function We(a,b,c){return Xe(document,a,b,c)}function Ye(a,b){return(b||document).querySelectorAll("."+a)}function Ze(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=$e("*",a,b);return d||null} function Xe(a,b,c,d){a=d||a;return(b=b&&b!="*"?String(b).toUpperCase():"")||c?a.querySelectorAll(b+(c?"."+c:"")):a.getElementsByTagName("*")}function $e(a,b,c){var d=document,e=a&&a!="*"?String(a).toUpperCase():"";return e||b?(c||d).querySelector(e+(b?"."+b:"")):Xe(d,a,b,c)[0]||null} function af(a,b){Kb(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:bf.hasOwnProperty(d)?a.setAttribute(bf[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})}var bf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; function cf(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Ib(a.clientWidth,a.clientHeight)}function df(a){var b=ef(a);a=a.defaultView;return new w(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ef(a){return a.scrollingElement?a.scrollingElement:Id||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement}function ff(a){return a?a.defaultView:window}function B(a,b,c){return gf(document,arguments)} function gf(a,b){var c=b[1],d=hf(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):af(d,c));b.length>2&&jf(a,d,b,2);return d} function jf(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var g=c[d];if(!Ua(g)||Va(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(Va(g)){var h=typeof g.item=="function"||typeof g.item=="string";break a}if(typeof g==="function"){h=typeof g.item=="function";break a}}h=!1}v(h?vb(g):g,e)}}}function C(a){return hf(document,a)} function hf(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function kf(a){return document.createTextNode(String(a))}function lf(a,b){a.appendChild(b)}function mf(a,b){jf(Te(a),a,arguments,1)}function nf(a){for(var b;b=a.firstChild;)a.removeChild(b)}function of(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function pf(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)} function qf(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}function E(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function rf(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function sf(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})}function tf(a){return a.firstElementChild!==void 0?a.firstElementChild:uf(a.firstChild,!0)}function uf(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a} function vf(a){return Va(a)&&a.nodeType==1}function wf(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function Te(a){return a.nodeType==9?a:a.ownerDocument||a.document} function G(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else nf(a),a.appendChild(Te(a).createTextNode(String(b)))}var xf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},yf={IMG:" ",BR:"\n"};function zf(a){return a.hasAttribute("tabindex")&&Af(a)}function Bf(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))} function Af(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768}function Cf(a){var b=[];Df(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}function Ef(a){var b=[];Df(a,b,!1);return b.join("")} function Df(a,b,c){if(!(a.nodeName in xf))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in yf)b.push(yf[a.nodeName]);else for(a=a.firstChild;a;)Df(a,b,c),a=a.nextSibling}function Ff(a){return Gf(a,function(b){return b.nodeName=="DIV"&&typeof b.className==="string"&&pb(b.className.split(/\s+/),"slider-box")})}function Gf(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} function Hf(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function Se(a){this.g=a||q.document||document}f=Se.prototype;f.V=function(a){return Ue(this.g,a)};f.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};f.Ma=function(a,b,c){return gf(this.g,arguments)};function If(a,b){return hf(a.g,b)}f.appendChild=lf;f.Wl=mf;f.Yl=nf;f.du=of;f.cu=pf;f.Yh=E;f.On=sf;f.Qn=tf;f.gu=vf;f.Xl=wf;function Jf(a){a&&typeof a.dispose=="function"&&a.dispose()};function Kf(){this.Ed=this.Ed;this.Ha=this.Ha}Kf.prototype.Ed=!1;Kf.prototype.dispose=function(){this.Ed||(this.Ed=!0,this.qa())};Kf.prototype[Symbol.dispose]=function(){this.dispose()};function Lf(a,b){b=t(Jf,b);a.Ed?b():(a.Ha||(a.Ha=[]),a.Ha.push(b))}Kf.prototype.qa=function(){if(this.Ha)for(;this.Ha.length;)this.Ha.shift()()};function Mf(a){this.id=a}Mf.prototype.toString=function(){return this.id};function Nf(a,b){this.type=a instanceof Mf?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Nf.prototype.stopPropagation=function(){this.g=!0};Nf.prototype.preventDefault=function(){this.defaultPrevented=!0};function Of(a){a.preventDefault()};var Pf=function(){if(!q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};q.addEventListener("test",c,b);q.removeEventListener("test",c,b)}catch(d){}return a}();function Qf(a,b){Nf.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.ctrlKey=!1;this.state=null;this.vl=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Mb=null;a&&this.init(a,b)}u(Qf,Nf); Qf.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;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Id||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= Id||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.vl=Kd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state= a.state;this.timeStamp=a.timeStamp;this.Mb=a;a.defaultPrevented&&Qf.na.preventDefault.call(this)};function Rf(a){return a.Mb.button==0&&!(Kd&&a.ctrlKey)}Qf.prototype.stopPropagation=function(){Qf.na.stopPropagation.call(this);this.Mb.stopPropagation?this.Mb.stopPropagation():this.Mb.cancelBubble=!0};Qf.prototype.preventDefault=function(){Qf.na.preventDefault.call(this);var a=this.Mb;a.preventDefault?a.preventDefault():a.returnValue=!1};var Sf="closure_listenable_"+(Math.random()*1E6|0);function Tf(a){return!(!a||!a[Sf])};var Uf=0;function Vf(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Oi=e;this.key=++Uf;this.Eg=this.xi=!1}function Wf(a){a.Eg=!0;a.listener=null;a.proxy=null;a.src=null;a.Oi=null};function Xf(a){this.src=a;this.g={};this.i=0}f=Xf.prototype;f.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.i++);var h=Yf(a,b,d,e);h>-1?(b=a[h],c||(b.xi=!1)):(b=new Vf(b,this.src,g,!!d,e),b.xi=c,a.push(b));return b};f.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=Yf(e,b,c,d);return b>-1?(Wf(e[b]),sb(e,b),e.length==0&&(delete this.g[a],this.i--),!0):!1}; function Zf(a,b){var c=b.type;c in a.g&&rb(a.g[c],b)&&(Wf(b),a.g[c].length==0&&(delete a.g[c],a.i--))}f.xg=ba(1);f.qh=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=Yf(a,b,c,d));return e>-1?a[e]:null};f.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Lb(this.g,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})}; function Yf(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.Eg&&g.listener==b&&g.capture==!!c&&g.Oi==d)return e}return-1};var $f="closure_lm_"+(Math.random()*1E6|0),ag={},bg=0;function I(a,b,c,d,e){if(d&&d.once)return cg(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)I(a,b[g],c,d,e);return null}c=dg(c);return Tf(a)?a.ha(b,c,Va(d)?!!d.capture:!!d,e):eg(a,b,c,!1,d,e)} function eg(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=Va(e)?!!e.capture:!!e,k=fg(a);k||(a[$f]=k=new Xf(a));c=k.add(b,c,d,h,g);if(c.proxy)return c;d=gg();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Pf||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(hg(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");bg++;return c} function gg(){function a(c){return b.call(a.src,a.listener,c)}var b=ig;return a}function cg(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)cg(a,b[g],c,d,e);return null}c=dg(c);return Tf(a)?a.ef(b,c,Va(d)?!!d.capture:!!d,e):eg(a,b,c,!0,d,e)}function jg(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)jg(a,b[g],c,d,e);else d=Va(d)?!!d.capture:!!d,c=dg(c),Tf(a)?a.Sa(b,c,d,e):a&&(a=fg(a))&&(b=a.qh(b,c,d,e))&&kg(b)} function kg(a){if(typeof a!=="number"&&a&&!a.Eg){var b=a.src;if(Tf(b))Zf(b.Fd,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(hg(c),d):b.addListener&&b.removeListener&&b.removeListener(d);bg--;(c=fg(b))?(Zf(c,a),c.i==0&&(c.src=null,b[$f]=null)):Wf(a)}}}function hg(a){return a in ag?ag[a]:ag[a]="on"+a}function lg(a,b){var c=a.listener,d=a.Oi||a.src;a.xi&&kg(a);return c.call(d,b)} function ig(a,b){return a.Eg?!0:lg(a,new Qf(b,this))}function fg(a){a=a[$f];return a instanceof Xf?a:null}var mg="__closure_events_fn_"+(Math.random()*1E9>>>0);function dg(a){if(typeof a==="function")return a;a[mg]||(a[mg]=function(b){return a.handleEvent(b)});return a[mg]};function ng(a){Kf.call(this);this.s=a;this.j={}}u(ng,Kf);var og=[];f=ng.prototype;f.ha=function(a,b,c,d){return pg(this,a,b,c,d)};function qg(a,b,c,d,e){pg(a,b,c,d,!1,e)}function pg(a,b,c,d,e,g){Array.isArray(c)||(c&&(og[0]=c.toString()),c=og);for(var h=0;h<c.length;h++){var k=I(b,c[h],d||a.handleEvent,e||!1,g||a.s||a);if(!k)break;a.j[k.key]=k}return a}f.ef=function(a,b,c,d){return rg(this,a,b,c,d)}; function rg(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)rg(a,b,c[h],d,e,g);else{b=cg(b,c,d||a.handleEvent,e,g||a.s||a);if(!b)return a;a.j[b.key]=b}return a}f.Sa=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.Sa(a,b[g],c,d,e);else c=c||this.handleEvent,d=Va(d)?!!d.capture:!!d,e=e||this.s||this,c=dg(c),d=!!d,b=Tf(a)?a.qh(b,c,d,e):a?(a=fg(a))?a.qh(b,c,d,e):null:null,b&&(kg(b),delete this.j[b.key]);return this}; function sg(a){Kb(a.j,function(b,c){this.j.hasOwnProperty(c)&&kg(b)},a);a.j={}}f.qa=function(){ng.na.qa.call(this);sg(this)};f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function tg(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}function ug(a){for(var b=new tg(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,e=arguments[c];d.top=Math.min(d.top,e.y);d.right=Math.max(d.right,e.x);d.bottom=Math.max(d.bottom,e.y);d.left=Math.min(d.left,e.x)}return b}f=tg.prototype;f.qb=function(){return this.right-this.left};f.Ab=function(){return this.bottom-this.top}; f.clone=function(){return new tg(this.top,this.right,this.bottom,this.left)};function vg(a,b){return a&&b?b instanceof tg?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}function wg(a,b){var c=b.x<a.left?b.x-a.left:b.x>a.right?b.x-a.right:0;a=b.y<a.top?b.y-a.top:b.y>a.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function xg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=xg.prototype;f.clone=function(){return new xg(this.left,this.top,this.width,this.height)};function yg(a){return new tg(a.top,a.left+a.width,a.top+a.height,a.left)}function zg(a){return new xg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function Ag(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);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1}function Bg(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 xg(c,e,d-c,a-e)}return null} function Cg(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}function Dg(a,b){if(!a||!b)return null;a=new xg(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.getSize=function(){return new Ib(this.width,this.height)}; f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function K(a,b,c){if(typeof b==="string")(b=Eg(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=Eg(c,d);g&&(c.style[g]=e)}}var Fg={};function Eg(a,b){var c=Fg[b];if(!c){var d=hd(b);c=d;a.style[d]===void 0&&(d=(Id?"Webkit":Hd?"Moz":null)+id(d),a.style[d]!==void 0&&(c=d));Fg[b]=c}return c}function Gg(a,b){var c=a.style[hd(b)];return typeof c!=="undefined"?c:a.style[Eg(a,b)]||""} function Hg(a,b){var c=Te(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function Ig(a,b){return Hg(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Jg(a,b,c){if(b instanceof w){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Kg(d,!1);a.style.top=Kg(b,!1)}function Lg(a){return new w(a.offsetLeft,a.offsetTop)} function Mg(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}function Ng(a){var b=Te(a),c=Ig(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=Ig(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null} function Og(a){for(var b=new tg(0,Infinity,Infinity,0),c=Re(a),d=c.g.body,e=c.g.documentElement,g=ef(c.g);a=Ng(a);)if((!Id||a.clientHeight!=0||a!=d)&&a!=d&&a!=e&&Ig(a,"overflow")!="visible"){var h=Pg(a),k=new w(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=cf(c.g.defaultView); b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null} function Qg(a,b){b=b||ef(document);var c=b||ef(document);var d=Pg(a),e=Pg(c),g=Rg(c);if(c==ef(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=Sg(a);e=c.clientHeight-a.height;g=c.scrollLeft;var k=c.scrollTop;g+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new w(g,k);b.scrollLeft=c.x;b.scrollTop=c.y} function Pg(a){var b=Te(a),c=new w(0,0);if(a==(b?Te(b):document).documentElement)return c;a=Mg(a);b=df(Re(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Tg(a,b){a=Ug(a);b=Ug(b);return new w(a.x-b.x,a.y-b.y)}function Vg(a){a=Mg(a);return new w(a.left,a.top)}function Ug(a){if(a.nodeType==1)return Vg(a);a=a.changedTouches?a.changedTouches[0]:a;return new w(a.clientX,a.clientY)}function Wg(a,b,c){var d=Pg(a);b instanceof w&&(c=b.y,b=b.x);Jg(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function L(a,b,c){if(b instanceof Ib)c=b.height,b=b.width;else if(c==void 0)throw Error("missing height argument");Xg(a,b);a.style.height=Kg(c,!0)}function Kg(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}function Xg(a,b){a.style.width=Kg(b,!0)}function M(a){var b=Sg;if(Ig(a,"display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a} function Sg(a){var b=a.offsetWidth,c=a.offsetHeight,d=Id&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Mg(a),new Ib(a.right-a.left,a.bottom-a.top)):new Ib(b,c)}function Yg(a){var b=Pg(a);a=M(a);return new xg(b.x,b.y,a.width,a.height)}function Zg(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=b===""?"":"alpha(opacity="+Number(b)*100+")")}function N(a,b){a.style.display=b?"":"none"}function $g(a){return a.style.display!="none"} function ah(a){return"rtl"==Ig(a,"direction")}var bh=Hd?"MozUserSelect":Id||Gd?"WebkitUserSelect":null;function ch(a,b,c){c=c?null:a.getElementsByTagName("*");if(bh&&(b=b?"none":"",a.style&&(a.style[bh]=b),c))for(var d=0;a=c[d];d++)a.style&&(a.style[bh]=b)}function dh(a,b){eh(a,b,"border-box")} function fh(a){var b=new Ib(a.offsetWidth,a.offsetHeight);var c=Hg(a,"paddingLeft");var d=Hg(a,"paddingRight"),e=Hg(a,"paddingTop"),g=Hg(a,"paddingBottom");c=new tg(parseFloat(e),parseFloat(d),parseFloat(g),parseFloat(c));a=Rg(a);return new Ib(b.width-a.left-c.left-c.right-a.right,b.height-a.top-c.top-c.bottom-a.bottom)}function eh(a,b,c){a=a.style;Hd?a.MozBoxSizing=c:Id?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Rg(a){var b=Hg(a,"borderLeftWidth"),c=Hg(a,"borderRightWidth"),d=Hg(a,"borderTopWidth");a=Hg(a,"borderBottomWidth");return new tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function gh(a,b){a=hh(a);var c;if(c=b){var d,e;c=Math.random()<((e=(d=b.zw)!=null?d:Ke[b.jj[0]])!=null?e:0)}if(c&&window.SAFEVALUES_REPORTING!==!1&&"DocumentFragment"in window){var g,h;Math.random()<((h=(g=b.lw)!=null?g:Le[b.jj[0]])!=null?h:0)&&Ne(b,"HEARTBEAT");Me(a,b)||$d(a).toString()!==a&&Ne(b,"H_ESCAPE")}return Ec(a)}function hh(a){return a===null?"null":a===void 0?"undefined":a};function ih(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""}function jh(a){return a.classList?a.classList:ih(a).match(/\S+/g)||[]}function kh(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function lh(a,b){return a.classList?a.classList.contains(b):pb(jh(a),b)}function O(a,b){if(a.classList)a.classList.add(b);else if(!lh(a,b)){var c=ih(a);kh(a,c+(c.length>0?" "+b:b))}} function mh(a,b){if(a.classList)Array.prototype.forEach.call(b,function(e){O(a,e)});else{var c={};Array.prototype.forEach.call(jh(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;kh(a,b)}}function nh(a,b){a.classList?a.classList.remove(b):lh(a,b)&&kh(a,Array.prototype.filter.call(jh(a),function(c){return c!=b}).join(" "))} function oh(a,b){a.classList?Array.prototype.forEach.call(b,function(c){nh(a,c)}):kh(a,Array.prototype.filter.call(jh(a),function(c){return!pb(b,c)}).join(" "))}function P(a,b,c){c?O(a,b):nh(a,b)};function Q(){Kf.call(this);this.Fd=new Xf(this);this.Qr=this;this.tl=null}u(Q,Kf);Q.prototype[Sf]=!0;f=Q.prototype;f.yg=function(){return this.tl};f.Gg=function(a){this.tl=a};f.addEventListener=function(a,b,c,d){I(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){jg(this,a,b,c,d)}; f.dispatchEvent=function(a){var b,c=this.yg();if(c)for(b=[];c;c=c.yg())b.push(c);c=this.Qr;var d=a.type||a;if(typeof a==="string")a=new Nf(a,c);else if(a instanceof Nf)a.target=a.target||c;else{var e=a;a=new Nf(d,c);Rb(a,e)}e=!0;var g;if(b)for(g=b.length-1;!a.g&&g>=0;g--){var h=a.currentTarget=b[g];e=ph(h,d,!0,a)&&e}a.g||(h=a.currentTarget=c,e=ph(h,d,!0,a)&&e,a.g||(e=ph(h,d,!1,a)&&e));if(b)for(g=0;!a.g&&g<b.length;g++)h=a.currentTarget=b[g],e=ph(h,d,!1,a)&&e;return e}; f.qa=function(){Q.na.qa.call(this);if(this.Fd){var a=this.Fd,b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,Wf(d[e]);delete a.g[c];a.i--}}this.tl=null};f.ha=function(a,b,c,d){return this.Fd.add(String(a),b,!1,c,d)};f.ef=function(a,b,c,d){return this.Fd.add(String(a),b,!0,c,d)};f.Sa=function(a,b,c,d){return this.Fd.remove(String(a),b,c,d)}; function ph(a,b,c,d){b=a.Fd.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.Eg&&h.capture==c){var k=h.listener,l=h.Oi||h.src;h.xi&&Zf(a.Fd,h);e=k.call(l,d)!==!1&&e}}return e&&!d.defaultPrevented}f.xg=ba(0);f.qh=function(a,b,c,d){return this.Fd.qh(String(a),b,c,d)};f.hasListener=function(a,b){return this.Fd.hasListener(a!==void 0?String(a):void 0,b)};function qh(a){Q.call(this);this.g=a||window;this.j=I(this.g,"resize",this.l,!1,this);this.i=cf(this.g)}u(qh,Q);function rh(){var a=window,b=Wa(a);return sh[b]=sh[b]||new qh(a)}var sh={};qh.prototype.getSize=function(){return this.i?this.i.clone():null};qh.prototype.qa=function(){qh.na.qa.call(this);this.j&&(kg(this.j),this.j=null);this.i=this.g=null};qh.prototype.l=function(){var a=cf(this.g);Jb(a,this.i)||(this.i=a,this.dispatchEvent("resize"))};function th(a){if(a.altKey&&!a.ctrlKey||a.metaKey||a.keyCode>=112&&a.keyCode<=123)return!1;if(uh(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Hd;default:return a.keyCode<166||a.keyCode>183}} function vh(a,b,c,d,e,g){if(Kd&&e)return uh(a);if(e&&!d)return!1;if(!Hd){typeof b==="number"&&(b=wh(b));var h=b==17||b==18||Kd&&b==91;if((!c||Kd)&&h||Kd&&b==16&&(d||g))return!1}if(Id&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}switch(a){case 13:return Hd?g||e?!1:!(c&&d):!0;case 27:return!Id&&!Hd}return Hd&&(d||e||g)?!1:uh(a)} function uh(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||Id&&a==0)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:case 171:return Hd;default:return!1}}function wh(a){if(Hd)a=xh(a);else if(Kd&&Id)switch(a){case 93:a=91}return a} function xh(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function yh(a){if(a.Cc&&typeof a.Cc=="function")return a.Cc();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(Ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b} function zh(a){if(a.Td&&typeof a.Td=="function")return a.Td();if(!a.Cc||typeof a.Cc!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(Ua(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}} function Ah(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Ua(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=zh(a),e=yh(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)};var Bh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Ch(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?Xc(e):"")}}} function Dh(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)):"";if(b+=c){c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Eh(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b<d;){var g=a.charCodeAt(b-1);if(g==38||g==63)if(g=a.charCodeAt(b+e),!g||g==61||g==38||g==35)return b;b+=e+1}return-1}var Fh=/#|$/; function Gh(a){var b=window.location.href,c=b.search(Fh),d=Eh(b,0,a,c);if(d<0)return null;var e=b.indexOf("&",d);if(e<0||e>c)e=c;d+=a.length+1;return Xc(b.slice(d,e!==-1?e:0))}var Hh=/[?&]($|#)/;function R(a,b){this.g=this.O=this.o="";this.U=null;this.i=this.l="";this.s=!1;var c;a instanceof R?(this.s=b!==void 0?b:a.s,Ih(this,a.o),this.O=a.O,this.g=a.g,Jh(this,a.U),Kh(this,a.l),Lh(this,a.j.clone()),Mh(this,a.i)):a&&(c=String(a).match(Bh))?(this.s=!!b,Ih(this,c[1]||"",!0),this.O=Nh(c[2]||""),this.g=Nh(c[3]||"",!0),Jh(this,c[4]),Kh(this,c[5]||"",!0),Lh(this,c[6]||"",!0),Mh(this,c[7]||"",!0)):(this.s=!!b,this.j=new Oh(null,this.s))} R.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Ph(b,Qh,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.O)&&a.push(Ph(b,Qh,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.U,c!=null&&a.push(":",String(c));if(c=this.l)this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(Ph(c,c.charAt(0)=="/"?Rh:Sh,!0));(c=this.j.toString())&&a.push("?",c);(c=this.i)&&a.push("#",Ph(c,Th));return a.join("")}; R.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ih(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.g;c?b.g=a.g:c=a.U!=null;var d=a.l;if(c)Jh(b,a.U);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(dc(e,"./")||dc(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var g=[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&g.push(""):k==".."?((g.length>1||g.length==1&&g[0]!="")&&g.pop(), d&&h==e.length&&g.push("")):(g.push(k),d=!0)}d=g.join("/")}else d=e}c?Kh(b,d):c=a.j.toString()!=="";c?Lh(b,a.j.clone()):c=!!a.i;c&&Mh(b,a.i);return b};R.prototype.clone=function(){return new R(this)};function Ih(a,b,c){a.o=c?Nh(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function Jh(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.U=b}else a.U=null}function Kh(a,b,c){a.l=c?Nh(b,!0):b} function Lh(a,b,c){b instanceof Oh?(a.j=b,Uh(a.j,a.s)):(c||(b=Ph(b,Vh)),a.j=new Oh(b,a.s))}R.prototype.getQuery=function(){return this.j.toString()};function S(a,b,c){a.j.set(b,c);return a}function T(a,b){return a.j.get(b)}function Mh(a,b,c){a.i=c?Nh(b):b;return a}function Wh(a,b){a.j.remove(b);return a}function Nh(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""} function Ph(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Xh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Xh(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Qh=/[#\/\?@]/g,Sh=/[#\?:]/g,Rh=/[#\?]/g,Vh=/[#\?@]/g,Th=/#/g;function Oh(a,b){this.i=this.g=null;this.j=a||null;this.l=!!b}function Yh(a){a.g||(a.g=new Map,a.i=0,a.j&&Ch(a.j,function(b,c){a.add(Xc(b),c)}))} function Zh(a){var b=zh(a);if(typeof b=="undefined")throw Error("Keys are undefined");var c=new Oh(null);a=yh(a);for(var d=0;d<b.length;d++){var e=b[d],g=a[d];Array.isArray(g)?$h(c,e,g):c.add(e,g)}return c}f=Oh.prototype;f.add=function(a,b){Yh(this);this.j=null;a=ai(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.i+=1;return this};f.remove=function(a){Yh(this);a=ai(this,a);return this.g.has(a)?(this.j=null,this.i-=this.g.get(a).length,this.g.delete(a)):!1}; f.clear=function(){this.g=this.j=null;this.i=0};function bi(a,b){Yh(a);b=ai(a,b);return a.g.has(b)}f.forEach=function(a,b){Yh(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.Td=function(){Yh(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c}; f.Cc=function(a){Yh(this);var b=[];if(typeof a==="string")bi(this,a)&&(b=b.concat(this.g.get(ai(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};f.set=function(a,b){Yh(this);this.j=null;a=ai(this,a);bi(this,a)&&(this.i-=this.g.get(a).length);this.g.set(a,[b]);this.i+=1;return this};f.get=function(a,b){if(!a)return b;a=this.Cc(a);return a.length>0?String(a[0]):b}; function $h(a,b,c){a.remove(b);c.length>0&&(a.j=null,a.g.set(ai(a,b),vb(c)),a.i+=c.length)}f.toString=function(){if(this.j)return this.j;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Cc(d);for(var g=0;g<d.length;g++){var h=e;d[g]!==""&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.j=a.join("&")};f.clone=function(){var a=new Oh;a.j=this.j;this.g&&(a.g=new Map(this.g),a.i=this.i);return a}; function ai(a,b){b=String(b);a.l&&(b=b.toLowerCase());return b}function Uh(a,b){b&&!a.l&&(Yh(a),a.j=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),$h(this,e,c))},a));a.l=b}f.Pp=function(a){for(var b=0;b<arguments.length;b++)Ah(arguments[b],function(c,d){this.add(d,c)},this)};function ci(a){try{return q.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function di(){Q.call(this);this.headers=new Map;this.i=!1;this.g=null;this.Yi="";this.j=this.O=this.o=this.s=!1;this.U=0;this.l=null;this.ma="";this.ka=!1}u(di,Q);var ei=/^https?$/i,fi=["POST","PUT"],gi=[];function hi(a,b,c,d,e,g,h){var k=new di;gi.push(k);b&&k.ha("complete",b);k.ef("ready",k.gs);g&&(k.U=Math.max(0,g));h&&(k.ka=h);k.send(a,c,d,e)}f=di.prototype;f.gs=function(){this.dispose();rb(gi,this)}; f.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Yi+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Yi=a;this.s=!1;this.i=!0;this.g=new XMLHttpRequest;this.g.onreadystatechange=cb(r(this.Mo,this));try{this.O=!0,this.g.open(b,String(a),!0),this.O=!1}catch(h){ii(this);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(typeof d.keys==="function"&&typeof d.get==="function"){e= qa(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=q.FormData&&a instanceof q.FormData;!pb(fi,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=qa(c);for(d=b.next();!d.done;d=b.next())c=qa(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);this.ma&&(this.g.responseType= this.ma);"withCredentials"in this.g&&this.g.withCredentials!==this.ka&&(this.g.withCredentials=this.ka);try{this.l&&(clearTimeout(this.l),this.l=null),this.U>0&&(this.l=setTimeout(this.Kg.bind(this),this.U)),this.o=!0,this.g.send(a),this.o=!1}catch(h){ii(this)}};f.Kg=function(){typeof Pa!="undefined"&&this.g&&(this.dispatchEvent("timeout"),this.abort(8))};function ii(a){a.i=!1;a.g&&(a.j=!0,a.g.abort(),a.j=!1);ji(a);ki(a)} function ji(a){a.s||(a.s=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}f.abort=function(){this.g&&this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ki(this))};f.qa=function(){this.g&&(this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1),ki(this,!0));di.na.qa.call(this)};f.Mo=function(){this.Ed||(this.O||this.o||this.j?li(this):this.Ju())};f.Ju=function(){li(this)}; function li(a){if(a.i&&typeof Pa!="undefined")if(a.o&&(a.g?a.g.readyState:0)==4)setTimeout(a.Mo.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.i=!1;try{mi(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):ji(a)}finally{ki(a)}}}function ki(a,b){if(a.g){a.l&&(clearTimeout(a.l),a.l=null);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}f.isActive=function(){return!!this.g}; function mi(a){var b=ni(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=b===0)a=String(a.Yi).match(Bh)[1]||null,!a&&q.self&&q.self.location&&(a=q.self.location.protocol.slice(0,-1)),b=!ei.test(a?a.toLowerCase():"");c=b}return c}function ni(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}}function oi(a){try{return a.g?a.g.responseText:""}catch(b){return""}} function pi(a,b){if(a.g){a=a.g.responseText;b&&a.indexOf(b)==0&&(a=a.substring(b.length));a:{b=a;if(q.JSON)try{var c=q.JSON.parse(b);break a}catch(d){}c=ci(b)}return c}};function qi(){}f=qi.prototype;f.kb=function(a){this.ob=a.width;this.wb=a.height};f.getSize=function(){return new Ib(this.ob,this.wb)};f.Ud=function(){return this.O};f.ad=function(){return this.s};f.qb=function(){return this.ob};f.Ab=function(){return this.wb};f.Zc=function(){return new w(this.O,this.s)};function ri(a){return new xg(a.O,a.s,a.ob,a.wb)};function si(){return!0}function ti(){}function ui(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d};function vi(){this.g=[]}vi.prototype.Na=function(a){this.g.push(a)};vi.prototype.getSize=function(){var a=this.qb(),b=this.Ab();return a===null||b===null?null:new Ib(a,b)};vi.prototype.Hd=function(a){return this.g.filter(a||si)};function wi(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(b(d))return d}return null}function xi(a,b){return wi(a,function(c){return c.ad()<=b&&c.ad()+c.getSize().height>=b})}function yi(a,b){return a.g.find(function(c){return vg(yg(ri(c)),b)})};function zi(){this.g=[];this.cells=[]}u(zi,vi);f=zi.prototype;f.Zl=0;f.ai=0;f.marginRight=0;f.Zh=0;f.Tk=0;f.zj=0;f.Fp=!1;f.qb=function(){return this.ob};f.Ab=function(){return this.wb}; function Ai(a){a.O();for(var b=a.Zl,c={},d=0;d<a.j;c={columnWidth:void 0},d++)c.columnWidth=Bi(a,d),a.cells[d].forEach(function(g){return function(h){if(h){var k=b+Math.round((g.columnWidth-h.getSize().width)/2);h.O=k}}}(c)),b+=c.columnWidth+a.Tk;a.ob=b+a.marginRight;var e=a.ai;c={};for(d=0;d<a.i;c={xl:void 0},d++)c.xl=Ci(a,d),Di(a,d).forEach(function(g){return function(h){if(h)if(this.Fp){var k=e+Math.round((g.xl-h.getSize().height)/2);h.s=k}else h.s=e}}(c)),e+=c.xl+a.zj;a.wb=e+a.Zh} function Di(a,b){return a.cells.map(function(c){return c[b]})}function Bi(a,b){var c=0;a.cells[b].forEach(function(d){d&&(c=Math.max(c,d.getSize().width))});return c}function Ci(a,b){var c=0;Di(a,b).forEach(function(d){d&&(c=Math.max(c,d.getSize().height))});return c};function Ei(a){this.l=a}n(Ei,qi);Ei.prototype.Ca=function(){return this.l};Ei.prototype.kb=function(a){a.width==void 0?(this.wb=a.height,this.ob=Math.round(a.height*Fi(this.l))):a.height==void 0?(this.ob=a.width,this.wb=Math.round(a.width/Fi(this.l))):(this.ob=a.width,this.wb=a.height)};function Gi(a,b){this.j=a;this.l=b;this.i=0;this.g=null}Gi.prototype.get=function(){if(this.i>0){this.i--;var a=this.g;this.g=a.next;a.next=null}else a=this.j();return a};function Hi(a,b){a.l(b);a.i<100&&(a.i++,b.next=a.g,a.g=b)};function Ii(a){q.setTimeout(function(){throw a;},0)};function Ji(){this.i=this.g=null}Ji.prototype.add=function(a,b){var c=Ki.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Ji.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.i=null),a.next=null);return a};var Ki=new Gi(function(){return new Li},function(a){return a.reset()});function Li(){this.next=this.g=this.ve=null}Li.prototype.set=function(a,b){this.ve=a;this.g=b;this.next=null};Li.prototype.reset=function(){this.next=this.g=this.ve=null};var Mi,Ni=!1,Oi=new Ji;function Pi(a,b){Mi||Qi();Ni||(Mi(),Ni=!0);Oi.add(a,b)}function Qi(){var a=Promise.resolve(void 0);Mi=function(){a.then(Ri)}}function Ri(){for(var a;a=Oi.remove();){try{a.ve.call(a.g)}catch(b){Ii(b)}Hi(Ki,a)}Ni=!1};function Si(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Ti(a){this.g=0;this.O=void 0;this.l=this.i=this.j=null;this.o=this.s=!1;if(a!=ti)try{var b=this;a.call(void 0,function(c){Ui(b,2,c)},function(c){Ui(b,3,c)})}catch(c){Ui(this,3,c)}}function Vi(){this.next=this.context=this.i=this.j=this.g=null;this.l=!1}Vi.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.l=!1};var Wi=new Gi(function(){return new Vi},function(a){a.reset()});function Xi(a,b,c){var d=Wi.get();d.j=a;d.i=b;d.context=c;return d} function Yi(){var a,b,c=new Ti(function(d,e){a=d;b=e});return new Zi(c,a,b)}Ti.prototype.then=function(a,b,c){return $i(this,cb(typeof a==="function"?a:null),cb(typeof b==="function"?b:null),c)};Ti.prototype.$goog_Thenable=!0;Ti.prototype.cancel=function(a){if(this.g==0){var b=new aj(a);Pi(function(){bj(this,b)},this)}}; function bj(a,b){if(a.g==0)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.l||(d++,h.g==a&&(e=h),!(e&&d>1)));h=h.next)e||(g=h);e&&(c.g==0&&d==1?bj(c,b):(g?(d=g,d.next==c.l&&(c.l=d),d.next=d.next.next):cj(c),dj(c,e,3,b)))}a.j=null}else Ui(a,3,b)}function ej(a,b){a.i||a.g!=2&&a.g!=3||fj(a);a.l?a.l.next=b:a.i=b;a.l=b} function $i(a,b,c,d){var e=Xi(null,null,null);e.g=new Ti(function(g,h){e.j=b?function(k){try{var l=b.call(d,k);g(l)}catch(m){h(m)}}:g;e.i=c?function(k){try{var l=c.call(d,k);l===void 0&&k instanceof aj?h(k):g(l)}catch(m){h(m)}}:h});e.g.j=a;ej(a,e);return e.g}Ti.prototype.ka=function(a){this.g=0;Ui(this,2,a)};Ti.prototype.ma=function(a){this.g=0;Ui(this,3,a)}; function Ui(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.ka,g=a.ma;if(d instanceof Ti){ej(d,Xi(e||ti,g||null,a));var h=!0}else if(Si(d))d.then(e,g,a),h=!0;else{if(Va(d))try{var k=d.then;if(typeof k==="function"){gj(d,k,e,g,a);h=!0;break a}}catch(l){g.call(a,l);h=!0;break a}h=!1}}h||(a.O=c,a.g=b,a.j=null,fj(a),b!=3||c instanceof aj||hj(a,c))}} function gj(a,b,c,d,e){function g(l){k||(k=!0,d.call(e,l))}function h(l){k||(k=!0,c.call(e,l))}var k=!1;try{b.call(a,h,g)}catch(l){g(l)}}function fj(a){a.s||(a.s=!0,Pi(a.U,a))}function cj(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b}Ti.prototype.U=function(){for(var a;a=cj(this);)dj(this,a,this.g,this.O);this.s=!1}; function dj(a,b,c,d){if(c==3&&b.i&&!b.l)for(;a&&a.o;a=a.j)a.o=!1;if(b.g)b.g.j=null,ij(b,c,d);else try{b.l?b.j.call(b.context):ij(b,c,d)}catch(e){jj.call(null,e)}Hi(Wi,b)}function ij(a,b,c){b==2?a.j.call(a.context,c):a.i&&a.i.call(a.context,c)}function hj(a,b){a.o=!0;Pi(function(){a.o&&jj.call(null,b)})}var jj=Ii;function aj(a){db.call(this,a)}u(aj,db);aj.prototype.name="cancel";function Zi(a,b,c){this.promise=a;this.resolve=b;this.reject=c};function kj(a,b){Q.call(this);this.i=a||1;this.g=b||q;this.j=r(this.Bv,this);this.l=ab()}u(kj,Q);f=kj.prototype;f.enabled=!1;f.Qa=null;function lj(a,b){a.i=b;a.Qa&&a.enabled?(a.stop(),a.start()):a.Qa&&a.stop()}f.Bv=function(){if(this.enabled){var a=ab()-this.l;a>0&&a<this.i*.8?this.Qa=this.g.setTimeout(this.j,this.i-a):(this.Qa&&(this.g.clearTimeout(this.Qa),this.Qa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}}; f.start=function(){this.enabled=!0;this.Qa||(this.Qa=this.g.setTimeout(this.j,this.i),this.l=ab())};f.stop=function(){this.enabled=!1;this.Qa&&(this.g.clearTimeout(this.Qa),this.Qa=null)};f.qa=function(){kj.na.qa.call(this);this.stop();delete this.g};function U(a,b,c){if(typeof a==="function")c&&(a=r(a,c));else if(a&&typeof a.handleEvent=="function")a=r(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:q.setTimeout(a,b||0)} function mj(a){q.clearTimeout(a)};function nj(){return document.body.dir=="rtl"}function oj(a,b,c){a=a.style;Fd?a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="scale")':(a.backgroundImage="url("+b+")",a.backgroundRepeat=c||"no-repeat")}var pj={border:!0,padding:!0,margin:!0},qj=["Top","Bottom","Right","Left"],rj={color:"#0000cc",textDecoration:"underline"}; function sj(a){var b={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"};v(a,function(c){Kb(b,t(tj,c))})}function tj(a,b,c){var d=Gg(a,c)=="";pj[c]?v(qj,function(e){d&&Gg(a,c+e)==""&&K(a,c+e,b)}):d&&(a.tagName.toLowerCase()=="a"&&rj[c]?K(a,c,rj[c]):K(a,c,b))} function V(a,b){var c={img:!0,div:!0,table:!0,td:!0,span:!0,a:!0},d=[];c[a.tagName.toLowerCase()]&&d.push(a);b||Kb(c,function(e,g){wb(d,vb(a.getElementsByTagName(g)))});sj(d)};function uj(a,b,c){Kf.call(this);this.Eh=a;this.j=b||0;this.g=c;this.i=r(this.Qp,this)}u(uj,Kf);f=uj.prototype;f.rb=0;f.qa=function(){uj.na.qa.call(this);this.stop();delete this.Eh;delete this.g};f.start=function(a){this.stop();this.rb=U(this.i,a!==void 0?a:this.j)};f.stop=function(){this.isActive()&&mj(this.rb);this.rb=0};f.isActive=function(){return this.rb!=0};f.Qp=function(){this.rb=0;this.Eh&&this.Eh.call(this.g)};var Ob={},vj=null;function wj(a){a=Wa(a);delete Ob[a];Nb()&&vj&&vj.stop()}function xj(){vj||(vj=new uj(function(){yj()},20));var a=vj;a.isActive()||a.start()}function yj(){var a=ab();Kb(Ob,function(b){zj(b,a)});Nb()||xj()};function Aj(){Q.call(this);this.Dc=0;this.endTime=this.startTime=null}u(Aj,Q);Aj.prototype.hf=function(){this.ld("begin")};Aj.prototype.Ee=function(){this.ld("end")};Aj.prototype.ld=function(a){this.dispatchEvent(a)};function Bj(a,b,c,d){Aj.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.i=a;this.o=b;this.duration=c;this.l=d;this.coords=[];this.progress=0}u(Bj,Aj);f=Bj.prototype; f.play=function(a){if(a||this.Dc==0)this.progress=0,this.coords=this.i;else if(this.Dc==1)return!1;wj(this);this.startTime=a=ab();this.Dc==-1&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.hf();this.ld("play");this.Dc==-1&&this.ld("resume");this.Dc=1;var b=Wa(this);b in Ob||(Ob[b]=this);xj();zj(this,a);return!0};f.stop=function(a){wj(this);this.Dc=0;a&&(this.progress=1);Cj(this,this.progress);this.ld("stop");this.Ee()}; f.qa=function(){this.Dc==0||this.stop(!1);this.ld("destroy");Bj.na.qa.call(this)};function zj(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);a.progress>1&&(a.progress=1);Cj(a,a.progress);a.progress==1?(a.Dc=0,wj(a),a.ld("finish"),a.Ee()):a.Dc==1&&a.ql()}function Cj(a,b){typeof a.l==="function"&&(b=a.l(b));a.coords=Array(a.i.length);for(var c=0;c<a.i.length;c++)a.coords[c]=(a.o[c]-a.i[c])*b+a.i[c]}f.ql=function(){this.ld("animate")}; f.ld=function(a){this.dispatchEvent(new Dj(a,this))};function Dj(a,b){Nf.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Dc}u(Dj,Nf);function Ej(a){return 3*a*a-2*a*a*a};function W(){Q.call(this);this.g=new ng(this)}u(W,Q);W.prototype.qa=function(){this.dispatchEvent("dispose");W.na.qa.call(this);this.g.dispose()};function Fj(){W.call(this)}u(Fj,W);function Gj(a,b){this.x=a;this.y=b}u(Gj,w);function Hj(a){return new Gj(a.x,a.y)}Gj.prototype.clone=function(){return new Gj(this.x,this.y)};Gj.prototype.Ej=w.prototype.Ej;Gj.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Ij(a,b){a.x-=b.x;a.y-=b.y;return a};function Jj(a,b){this.g=a;this.i=b}function Kj(a,b){var c=yi(a.g,b);if(!c)a:{c=Number.POSITIVE_INFINITY;for(var d=a.g.Hd(),e=d[0],g=0;g<d.length;g++){var h=d[g],k=wg(yg(ri(h)),b);if(k<c){c=k;if(k==0){c=h;break a}e=h}}c=e}a=a.i.mh(c);b=Hj(b);Cd(Ij(b,c.Zc()));d=a.getSize().width/c.getSize().width;c=a.getSize().height/c.getSize().height;b=new w(Math.round(b.x*d),Math.round(b.y*c));return Hj(a.Zc()).add(b)};var Lj={};var Mj;var Nj="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function Oj(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")} function X(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(Mj||(c={},Mj=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=Mj,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)} function Pj(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)}function Qj(a){var b=Pj(a,"activedescendant");return Te(a).getElementById(b)}function Rj(a,b){var c="";b&&(c=b.id);X(a,"activedescendant",c)}function Sj(a,b){X(a,"label",b)};var Tj=function(){if(Ld){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(md()))?a[1]:"0"}return Kd?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(md()))?a[0].replace(/_/g,"."):"10"):Nd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(md()))?a[1]:""):Od||Pd||Qd?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(md()))?a[1].replace(/_/g,"."):""):""}();var Uj=ud(),Vj=zd()||qd("iPod"),Wj=qd("iPad"),Xj=qd("Android")&&!(vd()||ud()||sd()||qd("Silk")),Yj=vd(),Zj=qd("Safari")&&!(vd()||(rd()?0:qd("Coast"))||sd()||(rd()?0:qd("Edge"))||(rd()?pd("Microsoft Edge"):qd("Edg/"))||(rd()?pd("Opera"):qd("OPR"))||ud()||qd("Silk")||qd("Android"))&&!Ad();function ak(a){return(a=a.exec(md()))?a[1]:""}var bk=function(){if(Uj)return ak(/Firefox\/([0-9.]+)/);if(Fd||Gd||Ed)return Xd;if(Yj){if(Ad()||Bd()){var a=ak(/CriOS\/([0-9.]+)/);if(a)return a}return ak(/Chrome\/([0-9.]+)/)}if(Zj&&!Ad())return ak(/Version\/([0-9.]+)/);if(Vj||Wj){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(md()))return a[1]+"."+a[2]}else if(Xj)return(a=ak(/Android\s+([0-9.]+)/))?a:ak(/Version\/([0-9.]+)/);return""}();function ck(a,b,c){Q.call(this);this.target=a;this.handle=b||a;this.ma=c||new xg(NaN,NaN,NaN,NaN);this.j=Te(a);this.g=new ng(this);Lf(this,this.g);this.deltaY=this.deltaX=this.ya=this.ta=this.screenY=this.screenX=this.clientY=this.clientX=0;this.Lb=!0;this.i=!1;this.ka=0;I(this.handle,["touchstart","mousedown"],this.Ll,!1,this);this.o=dk}u(ck,Q);var dk=q.document&&q.document.documentElement&&!!q.document.documentElement.setCapture&&!!q.document.releaseCapture; function ek(a,b){a.ma=b||new xg(NaN,NaN,NaN,NaN)}f=ck.prototype;f.nb=function(a){this.Lb=a};f.qa=function(){ck.na.qa.call(this);jg(this.handle,["touchstart","mousedown"],this.Ll,!1,this);sg(this.g);this.o&&this.j.releaseCapture();this.handle=this.target=null}; f.Ll=function(a){var b=a.type=="mousedown";if(!this.Lb||this.i||b&&!Rf(a))this.dispatchEvent("earlycancel");else{if(this.ka==0)if(this.dispatchEvent(new fk("start",this,a.clientX,a.clientY,a)))this.i=!0,b&&a.preventDefault();else return;else b&&a.preventDefault();b=this.j;var c=b.documentElement,d=!this.o;this.g.ha(b,["touchmove","mousemove"],this.ut,{capture:d,passive:!1});this.g.ha(b,["touchend","mouseup"],this.Bi,d);this.o?(c.setCapture(!1),this.g.ha(c,"losecapture",this.Bi)):this.g.ha(ff(b),"blur", this.Bi);this.Ea&&this.g.ha(this.Ea,"scroll",this.Ku,d);this.clientX=this.ta=a.clientX;this.clientY=this.ya=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.oa=df(Re(this.j).g)}};f.Bi=function(a,b){sg(this.g);this.o&&this.j.releaseCapture();this.i?(this.i=!1,this.dispatchEvent(new fk("end",this,a.clientX,a.clientY,a,gk(this,this.deltaX),hk(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")}; f.ut=function(a){if(this.Lb){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.i){var d=this.ta-this.clientX,e=this.ya-this.clientY;if(d*d+e*e>this.ka)if(this.dispatchEvent(new fk("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.Ed||this.Bi(a);return}}c=ik(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new fk("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(jk(this,a,b,c),a.preventDefault())}}; function ik(a,b,c){var d=df(Re(a.j).g);b+=d.x-a.oa.x;c+=d.y-a.oa.y;a.oa=d;a.deltaX+=b;a.deltaY+=c;return new w(gk(a,a.deltaX),hk(a,a.deltaY))}f.Ku=function(a){var b=ik(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;jk(this,a,b.x,b.y)};function jk(a,b,c,d){a.yk(c,d);a.dispatchEvent(new fk("drag",a,b.clientX,b.clientY,b,c,d))}function gk(a,b){var c=a.ma;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))} function hk(a,b){var c=a.ma;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))}f.yk=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function fk(a,b,c,d,e,g,h){Nf.call(this,a);this.clientX=c;this.clientY=d;this.i=e;this.left=g!==void 0?g:b.deltaX;this.top=h!==void 0?h:b.deltaY}u(fk,Nf);function kk(a){this.xd=new Map;var b=arguments.length;if(b>1){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 if(a)if(a instanceof kk)for(b=qa(a.xd),c=b.next();!c.done;c=b.next()){var d=qa(c.value);c=d.next().value;d=d.next().value;this.xd.set(c,d)}else if(a)for(b=qa(Object.entries(a)),c=b.next();!c.done;c=b.next())d=qa(c.value),c=d.next().value,d=d.next().value,this.xd.set(c,d)}f=kk.prototype;f.Cc=function(){return Array.from(this.xd.values())}; f.Td=function(){return Array.from(this.xd.keys())};f.clear=function(){this.xd.clear()};f.remove=function(a){return this.xd.delete(a)};f.get=function(a,b){return this.xd.has(a)?this.xd.get(a):b};f.set=function(a,b){this.xd.set(a,b);return this};f.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.xd.forEach(function(d,e){return a.call(b,d,e,c)})};f.clone=function(){return new kk(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!q.requestAnimationFrame;++c)q.requestAnimationFrame=q[b+"RequestAnimationFrame"],q.cancelAnimationFrame=q[b+"CancelAnimationFrame"]||q[b+"CancelRequestAnimationFrame"];if(!q.requestAnimationFrame){var d=0;q.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return q.setTimeout(function(){e(g+h)},h)};q.cancelAnimationFrame||(q.cancelAnimationFrame=function(e){clearTimeout(e)})}})(); var lk=[[],[]],mk=0,nk=!1,ok=0;function pk(a,b){var c=ok++,d={su:{id:c,ve:a.measure,context:b},vu:{id:c,ve:a.Do,context:b},state:{},Xc:void 0,Ui:!1};return function(){arguments.length>0?(d.Xc||(d.Xc=[]),d.Xc.length=0,d.Xc.push.apply(d.Xc,arguments),d.Xc.push(d.state)):d.Xc&&d.Xc.length!=0?(d.Xc[0]=d.state,d.Xc.length=1):d.Xc=[d.state];d.Ui||(d.Ui=!0,lk[mk].push(d));nk||(nk=!0,window.requestAnimationFrame(qk))}} function qk(){nk=!1;var a=lk[mk],b=a.length;mk=(mk+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.su;c.Ui=!1;e.ve&&e.ve.apply(e.context,c.Xc)}for(d=0;d<b;++d)c=a[d],e=c.vu,c.Ui=!1,e.ve&&e.ve.apply(e.context,c.Xc),c.state={};a.length=0};var rk=ta(["about:blank"]),sk=ta(["javascript:undefined"]),tk=Ie(rk);oc(tk);var uk=Ie(sk);oc(uk);function vk(a){Q.call(this);this.ua=a;this.g=I(this.ua,"focus",this,!0);this.i=I(this.ua,"blur",this,!0)}u(vk,Q);vk.prototype.handleEvent=function(a){var b=new Qf(a.Mb);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};vk.prototype.qa=function(){vk.na.qa.call(this);kg(this.g);kg(this.i);delete this.ua};function wk(){}Ra(wk);wk.prototype.g=0;function xk(a){return":"+(a.g++).toString(36)};function Y(a){Q.call(this);this.g=a||Re();this.Ib=yk;this.rb=null;this.Ra=!1;this.ua=null;this.ma=void 0;this.ka=this.O=this.s=this.ml=null;this.Ic=!1}u(Y,Q);Y.prototype.jd=wk.Hb();var yk=null; function zk(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}f=Y.prototype;f.getId=function(){return this.rb||(this.rb=xk(this.jd))}; f.Fg=function(a){if(this.s&&this.s.ka){var b=this.s.ka,c=this.rb;c in b&&delete b[c];Pb(this.s.ka,a,this)}this.rb=a};f.V=function(){return this.ua};function Z(a){a.ma||(a.ma=new ng(a));return a.ma}f.ae=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.s&&this.rb&&Ak(this.s,this.rb)&&this.s!=a)throw Error("Unable to set parent component");this.s=a;Y.na.Gg.call(this,a)};f.getParent=function(){return this.s}; f.Gg=function(a){if(this.s&&this.s!=a)throw Error("Method not supported");Y.na.Gg.call(this,a)};f.Oa=function(){this.ua=If(this.g,"DIV")};f.render=function(a){Bk(this,a)};function Bk(a,b,c){if(a.Ra)throw Error("Component already rendered");a.ua||a.Oa();b?b.insertBefore(a.ua,c||null):a.g.g.body.appendChild(a.ua);a.s&&!a.s.Ra||a.Ia()} function Ck(a,b){if(a.Ra)throw Error("Component already rendered");if(b&&a.bi(b)){a.Ic=!0;var c=Te(b);a.g&&a.g.g==c||(a.g=Re(b));a.Kb(b);a.Ia()}else throw Error("Invalid element to decorate");}f.bi=function(){return!0};f.Kb=function(a){this.ua=a};f.Ia=function(){this.Ra=!0;Dk(this,function(a){!a.Ra&&a.V()&&a.Ia()})};f.hc=function(){Dk(this,function(a){a.Ra&&a.hc()});this.ma&&sg(this.ma);this.Ra=!1}; f.qa=function(){this.Ra&&this.hc();this.ma&&(this.ma.dispose(),delete this.ma);Dk(this,function(a){a.dispose()});!this.Ic&&this.ua&&E(this.ua);this.s=this.ml=this.ua=this.ka=this.O=null;Y.na.qa.call(this)};f.Xa=function(a,b){this.jg(a,Ek(this),b)}; f.jg=function(a,b,c){if(a.Ra&&(c||!this.Ra))throw Error("Component already rendered");if(b<0||b>Ek(this))throw Error("Child component index out of bounds");this.ka&&this.O||(this.ka={},this.O=[]);if(a.getParent()==this){var d=this.ka,e=a.getId();d[e]=a;rb(this.O,a)}else Pb(this.ka,a.getId(),a);a.ae(this);xb(this.O,b,0,a);a.Ra&&this.Ra&&a.getParent()==this?(c=this.Gb(),(c.childNodes[b]||null)!=a.V()&&(a.V().parentElement==c&&c.removeChild(a.V()),b=c.childNodes[b]||null,c.insertBefore(a.V(),b))):c? (this.ua||this.Oa(),b=Fk(this,b+1),Bk(a,this.Gb(),b?b.ua:null)):this.Ra&&!a.Ra&&a.ua&&a.ua.parentNode&&a.ua.parentNode.nodeType==1&&a.Ia()};f.Gb=function(){return this.ua};function Gk(a){a.Ib==null&&(a.Ib=ah(a.Ra?a.ua:a.g.g.body));return a.Ib}function Ek(a){return a.O?a.O.length:0}function Ak(a,b){a.ka&&b?(a=a.ka,b=(a!==null&&b in a?a[b]:void 0)||null):b=null;return b}function Fk(a,b){return a.O?a.O[b]||null:null}function Dk(a,b,c){a.O&&a.O.forEach(b,c)} function Hk(a,b){return a.O&&b?a.O.indexOf(b):-1}f.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=Ak(this,c);if(c&&a){var d=this.ka;c in d&&delete d[c];rb(this.O,a);b&&(a.hc(),a.ua&&E(a.ua));a.ae(null)}}if(!a)throw Error("Child is not in parent component");return a};function Ik(a,b){this.ua=a;this.i=b};function Jk(a,b){Q.call(this);this.U=new ng(this);this.Wf(a||null);b&&(this.Xf=b)}u(Jk,Q);f=Jk.prototype;f.ua=null;f.vn=!0;f.un=null;f.Me=!1;f.el=-1;f.Xi=-1;f.Jn=!0;f.Xf="toggle_display";f.getType=function(){return this.Xf};f.V=function(){return this.ua};f.Wf=function(a){Kk(this);this.ua=a};function Lk(a,b){Kk(a);a.vn=b}function Kk(a){if(a.Me)throw Error("Can not change this state of the popup while showing.");}f.isVisible=function(){return this.Me}; f.wa=function(a){this.Ea&&this.Ea.stop();this.oa&&this.oa.stop();if(a){if(!this.Me&&this.rl()){if(!this.ua)throw Error("Caller must call setElement before trying to show the popup");this.Vf();a=Te(this.ua);this.vn&&(this.U.ha(a,"mousedown",this.Eu,!0),this.U.ha(a,"blur",this.Cu));this.Xf=="toggle_display"?(this.ua.style.visibility="visible",N(this.ua,!0)):this.Xf=="move_offscreen"&&this.Vf();this.Me=!0;this.el=Date.now();this.Xi=-1;this.Ea?(cg(this.Ea,"end",this.ci,!1,this),this.Ea.play()):this.ci()}}else Mk(this)}; f.Vf=function(){};function Mk(a,b){a.Me&&a.dispatchEvent({type:"beforehide",target:b})&&(a.U&&sg(a.U),a.Me=!1,a.Xi=Date.now(),a.oa?(cg(a.oa,"end",t(a.An,b),!1,a),a.oa.play()):a.An(b))}f.An=function(a){this.Xf=="toggle_display"?this.Rt():this.Xf=="move_offscreen"&&(this.ua.style.top="-10000px");this.Ng(a)};f.Rt=function(){this.ua.style.visibility="hidden";N(this.ua,!1)};f.rl=function(){return this.dispatchEvent("beforeshow")};f.ci=function(){this.dispatchEvent("show")}; f.Ng=function(a){this.dispatchEvent({type:"hide",target:a})};f.Eu=function(a){a=a.target;wf(this.ua,a)||Nk(this,a)||Date.now()-this.el<150||Mk(this,a)};f.Cu=function(a){if(this.Jn){var b=Te(this.ua);if(typeof document.activeElement!="undefined"){if(a=b.activeElement,!a||wf(this.ua,a)||a.tagName=="BODY"||Nk(this,a))return}else if(a.target!=b)return;Date.now()-this.el<150||Mk(this)}};function Nk(a,b){return mb(a.un||[],function(c){return b===c||wf(c,b)})} f.qa=function(){Jk.na.qa.call(this);this.U.dispose();Jf(this.Ea);Jf(this.oa);delete this.ua;delete this.U;delete this.un};function Ok(a,b){Y.call(this,b);this.yf=!!a;this.oa=null;this.uc=pk({Do:this.kj},this);pk({Do:this.Dp},this)}u(Ok,Y);f=Ok.prototype;f.Gk=null;f.fi=!1;f.Yc=null;f.vc=null;f.Pd=null;f.mk=!1;f.Og=function(){return"goog-modalpopup"};f.kh=function(){return this.Yc};f.Oa=function(){Ok.na.Oa.call(this);var a=this.V();mh(a,Vb(this.Og()).split(" "));Bf(a,!0);N(a,!1);Pk(this);Qk(this)}; function Pk(a){if(a.yf&&!a.vc){var b=a.g.Ma("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=oc(tk).toString();a.vc=b;a.vc.className=a.Og()+"-bg";N(a.vc,!1);Zg(a.vc,0)}a.Yc||(a.Yc=a.g.Ma("DIV",a.Og()+"-bg"),N(a.Yc,!1))}function Qk(a){a.Pd||(a.Pd=If(a.g,"SPAN"),N(a.Pd,!1),Bf(a.Pd,!0),a.Pd.style.position="absolute")}f.bp=function(){this.mk=!1};f.bi=function(a){return!!a&&a.tagName=="DIV"}; f.Kb=function(a){Ok.na.Kb.call(this,a);a=Vb(this.Og()).split(" ");mh(this.V(),a);Pk(this);Qk(this);Bf(this.V(),!0);N(this.V(),!1)};f.Ia=function(){this.vc&&of(this.vc,this.V());of(this.Yc,this.V());Ok.na.Ia.call(this);pf(this.Pd,this.V());this.Gk=new vk(this.g.g);Z(this).ha(this.Gk,"focusin",this.Fu);Rk(this,!1)};f.hc=function(){this.isVisible()&&this.wa(!1);Jf(this.Gk);Ok.na.hc.call(this);E(this.vc);E(this.Yc);E(this.Pd)}; f.wa=function(a){if(a!=this.fi)if(this.ya&&this.ya.stop(),this.Ga&&this.Ga.stop(),this.ta&&this.ta.stop(),this.Ea&&this.Ea.stop(),this.Ra&&Rk(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.oa=this.g.g.activeElement}catch(e){}this.Dp();Z(this).ha(this.g.g.defaultView,"resize",this.kj).ha(this.g.g.defaultView,"orientationchange",this.uc);Sk(this,!0);this.focus();this.fi=!0;this.ya&&this.Ga?(cg(this.ya,"end",this.ei,!1,this),this.Ga.play(),this.ya.play()):this.ei()}}else if(this.dispatchEvent("beforehide")){Z(this).Sa(this.g.g.defaultView, "resize",this.kj).Sa(this.g.g.defaultView,"orientationchange",this.uc);this.fi=!1;this.ta&&this.Ea?(cg(this.ta,"end",this.di,!1,this),this.Ea.play(),this.ta.play()):this.di();a:{try{var b=this.g,c=b.g.body,d=b.g.activeElement||c;if(!this.oa||this.oa==c){this.oa=null;break a}(d==c||b.Xl(this.V(),d))&&this.oa.focus()}catch(e){}this.oa=null}}}; function Rk(a,b){a.ac||(a.ac=new Ik(a.ua,a.g));a=a.ac;if(b){a.g||(a.g=[]);b=a.i.On(a.i.g.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.ua||Pj(d,"hidden")||(X(d,"hidden",!0),a.g.push(d))}}else if(a.g){for(b=0;b<a.g.length;b++)a.g[b].removeAttribute("aria-hidden");a.g=null}}f.Dp=function(){this.kj();this.Pg()};function Sk(a,b){a.vc&&N(a.vc,b);a.Yc&&N(a.Yc,b);N(a.V(),b);N(a.Pd,b)}f.ei=function(){this.dispatchEvent("show")};f.di=function(){Sk(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.fi}; f.focus=function(){this.Nn()};f.kj=function(){this.vc&&N(this.vc,!1);this.Yc&&N(this.Yc,!1);var a=this.g.g;var b=cf(ff(this.g.g)||window);var c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.vc&&(N(this.vc,!0),L(this.vc,c,a));this.Yc&&(N(this.Yc,!0),L(this.Yc,c,a))}; f.Pg=function(){var a;if(Ig(this.V(),"position")=="fixed")var b=a=0;else b=df(this.g.g),a=b.x,b=b.y;var c=M(this.V());var d=cf(ff(this.g.g)||window);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Jg(this.V(),a,b);Jg(this.Pd,a,b)};f.Fu=function(a){this.mk?this.bp():a.target==this.Pd&&U(this.Nn,0,this)};f.Nn=function(){try{this.V().focus()}catch(a){}};f.qa=function(){Jf(this.ya);this.ya=null;Jf(this.ta);this.ta=null;Jf(this.Ga);this.Ga=null;Jf(this.Ea);this.Ea=null;Ok.na.qa.call(this)};function Tk(a,b,c){Ok.call(this,b,c);this.l=a||"modal-dialog";this.j=Uk(Uk(new Vk,Wk,!0),Xk,!1,!0)}u(Tk,Ok);f=Tk.prototype;f.zh=!0;f.Bo=!0;f.Ck=!0;f.wi=.5;f.tc="";f.uf=null;f.fe=null;f.Fn=!1;f.Tc=null;f.Uc=null;f.Th=null;f.Bc=null;f.yd=null;f.mc=null;f.bm="dialog";f.Og=function(){return this.l};function Yk(a,b){a.tc=b;a.Uc&&G(a.Uc,b)}f.Za=function(){return this.tc};f.wc=function(){return this.uf!=null?Gc(this.uf).toString():""};f.We=function(){return this.bm};f.Nh=ba(3); function Zk(a){a.V()||a.render()}f.Gb=function(){Zk(this);return this.yd};function $k(a){Zk(a);return a.mc}function al(a){Zk(a);return a.V()}f.kh=function(){Zk(this);return Tk.na.kh.call(this)};function bl(a,b){a.wi=b;a.V()&&(b=a.kh())&&Zg(b,a.wi)}f.Rp=function(){};function cl(a,b){var c=Vb(a.l+"-title-draggable").split(" ");a.V()&&(b?mh(a.Tc,c):oh(a.Tc,c));b&&!a.fe?(b=new ck(a.V(),a.Tc),a.fe=b,mh(a.Tc,c),I(a.fe,"start",a.nv,!1,a),I(a.fe,"drag",a.Rp,!1,a)):!b&&a.fe&&(a.fe.dispose(),a.fe=null)} f.Oa=function(){Tk.na.Oa.call(this);var a=this.V(),b=this.g;this.Th=this.getId();var c=this.getId()+".contentEl";this.Tc=b.Ma("DIV",this.l+"-title",this.Uc=b.Ma("SPAN",{className:this.l+"-title-text",id:this.Th},this.tc),this.Bc=b.Ma("SPAN",this.l+"-title-close"));mf(a,this.Tc,this.yd=b.Ma("DIV",{className:this.l+"-content",id:c}),this.mc=b.Ma("DIV",this.l+"-buttons"));Oj(this.Uc,"heading");Oj(this.Bc,"button");Bf(this.Bc,!0);Sj(this.Bc,"Close");Oj(a,this.We());X(a,"labelledby",this.Th||"");this.uf&& x(this.yd,this.uf);N(this.Bc,this.zh);this.j&&(a=this.j,a.ua=this.mc,a.render());N(this.mc,!!this.j);bl(this,this.wi)}; f.Kb=function(a){Tk.na.Kb.call(this,a);a=this.V();var b=this.l+"-content";this.yd=We(null,b,a)[0];this.yd||(this.yd=this.g.Ma("DIV",b),this.uf&&x(this.yd,this.uf),a.appendChild(this.yd));b=this.l+"-title";var c=this.l+"-title-text",d=this.l+"-title-close";(this.Tc=We(null,b,a)[0])?(this.Uc=We(null,c,this.Tc)[0],this.Bc=We(null,d,this.Tc)[0]):(this.Tc=this.g.Ma("DIV",b),a.insertBefore(this.Tc,this.yd));this.Uc?(this.tc=Cf(this.Uc),this.Uc.id||(this.Uc.id=this.getId())):(this.Uc=B("SPAN",{className:c, id:this.getId()}),this.Tc.appendChild(this.Uc));this.Th=this.Uc.id;X(a,"labelledby",this.Th||"");this.Bc||(this.Bc=this.g.Ma("SPAN",d),this.Tc.appendChild(this.Bc));N(this.Bc,this.zh);b=this.l+"-buttons";if(this.mc=We(null,b,a)[0]){if(a=this.j=new Vk(this.g),(b=this.mc)&&b.nodeType==1){a.ua=b;b=Ve("BUTTON",a.ua);for(var e,g=0;c=b[g];g++)if(d=c.name||c.id,e=Cf(c)||c.value,d){var h=g==0;a.set(d,e,h,c.name=="cancel");h&&O(c,"goog-buttonset-default")}}}else this.mc=this.g.Ma("DIV",b),a.appendChild(this.mc), this.j&&(a=this.j,a.ua=this.mc,a.render()),N(this.mc,!!this.j);bl(this,this.wi)};f.Ia=function(){Tk.na.Ia.call(this);Z(this).ha(this.V(),"keydown",this.am).ha(this.V(),"keypress",this.am);Z(this).ha(this.mc,"click",this.zu);cl(this,this.Ck);Z(this).ha(this.Bc,"click",this.Ou);var a=this.V();Oj(a,this.We());this.Uc.id!==""&&X(a,"labelledby",this.Uc.id);if(!this.Bo){this.Bo=!1;if(this.Ra){a=this.g;var b=this.kh();a.Yh(this.vc);a.Yh(b)}this.isVisible()&&Rk(this,!1)}}; f.hc=function(){this.isVisible()&&this.wa(!1);cl(this,!1);Tk.na.hc.call(this)};f.wa=function(a){a!=this.isVisible()&&(this.Ra||this.render(),Tk.na.wa.call(this,a))};f.ei=function(){Tk.na.ei.call(this);this.dispatchEvent("aftershow")};f.di=function(){Tk.na.di.call(this);this.dispatchEvent("afterhide");this.Fn&&this.dispose()}; f.nv=function(){var a=this.g.g,b=cf(ff(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=M(this.V());Ig(this.V(),"position")=="fixed"?ek(this.fe,new xg(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):ek(this.fe,new xg(0,0,c-d.width,a-d.height))};f.Ou=function(){dl(this)};function dl(a){if(a.zh){var b=a.j,c=b&&b.g;c?(b=b.get(c),a.dispatchEvent(new el(c,b))&&a.wa(!1)):a.wa(!1)}}f.qa=function(){this.mc=this.Bc=null;Tk.na.qa.call(this)}; function fl(a,b){a.j=b;a.mc&&(a.j?(b=a.j,b.ua=a.mc,b.render()):x(a.mc,Fc),N(a.mc,!!a.j))}f.zu=function(a){a:{for(a=a.target;a!=null&&a!=this.mc;){if(a.tagName=="BUTTON")break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.j.get(a);this.dispatchEvent(new el(a,b))&&this.wa(!1)}}; f.am=function(a){var b=!1,c=!1,d=this.j,e=a.target;if(a.type=="keydown")if(a.keyCode==27){var g=d&&d.g;e=e.tagName=="SELECT"&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.dispatchEvent(new el(g,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.V()){this.mk=!0;try{this.Pd.focus()}catch(l){}U(this.bp,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)g=e.name;else if(e==this.Bc)dl(this);else if(d){var h=d.i,k=h&&gl(d,h);e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName== "A")&&!e.disabled;!k||k.disabled||e||(g=h)}g&&d&&(c=!0,b=this.dispatchEvent(new el(g,String(d.get(g)))))}else e!=this.Bc||a.keyCode!=32&&a.key!=" "||dl(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.wa(!1)};function el(a,b){this.type="dialogselect";this.key=a;this.caption=b}u(el,Nf);function Vk(a){kk.call(this);a||Re();this.g=this.ua=this.i=null}u(Vk,kk);Vk.prototype.clear=function(){kk.prototype.clear.call(this);this.i=this.g=null}; Vk.prototype.set=function(a,b,c,d){kk.prototype.set.call(this,a,b);c&&(this.i=a);d&&(this.g=a);return this};function Uk(a,b,c,d){return a.set(b.key,b.caption,c,d)}Vk.prototype.render=function(){if(this.ua){x(this.ua,Fc);var a=Re(this.ua);this.forEach(function(b,c){b=a.Ma("BUTTON",{name:c},b);c==this.i&&(b.className="goog-buttonset-default");this.ua.appendChild(b)},this)}};Vk.prototype.V=function(){return this.ua}; function gl(a,b){a=Ve("BUTTON",a.ua);for(var c,d=0;c=a[d];d++)if(c.name==b||c.id==b)return c;return null}var Wk={key:"ok",caption:"OK"},Xk={key:"cancel",caption:"Cancel"},hl={key:"yes",caption:"Yes"},il={key:"no",caption:"No"},jl={key:"save",caption:"Save"},kl={key:"continue",caption:"Continue"};typeof document!="undefined"&&(Uk(new Vk,Wk,!0,!0),Uk(Uk(new Vk,Wk,!0),Xk,!1,!0),Uk(Uk(new Vk,hl,!0),il,!1,!0),Uk(Uk(Uk(new Vk,hl),il,!0),Xk,!1,!0),Uk(Uk(Uk(new Vk,kl),jl),Xk,!0,!0));function ll(a,b,c,d,e){Bj.call(this,b,c,d,e);this.g=a}u(ll,Bj);ll.prototype.Tf=function(){};ll.prototype.ql=function(){this.Tf();ll.na.ql.call(this)};ll.prototype.Ee=function(){this.Tf();ll.na.Ee.call(this)};ll.prototype.hf=function(){this.Tf();ll.na.hf.call(this)};function ml(a,b,c,d,e){typeof b==="number"&&(b=[b]);typeof c==="number"&&(c=[c]);ll.call(this,a,b,c,d,e);if(b.length!=1||c.length!=1)throw Error("Start and end points must be 1D");this.j=-1}u(ml,ll);var nl=1/1024;f=ml.prototype; f.Tf=function(){var a=this.coords[0];Math.abs(a-this.j)>=nl&&(Zg(this.g,a),this.j=a)};f.hf=function(){this.j=-1;ml.na.hf.call(this)};f.Ee=function(){this.j=-1;ml.na.Ee.call(this)};f.show=function(){this.g.style.display=""};f.ab=function(){this.g.style.display="none"};function ol(a,b,c){ml.call(this,a,1,0,b,c)}u(ol,ml);ol.prototype.hf=function(){this.show();ol.na.hf.call(this)};ol.prototype.Ee=function(){this.ab();ol.na.Ee.call(this)}; function pl(a,b,c,d,e){if(b.length!=3||c.length!=3)throw Error("Start and end points must be 3D");ll.call(this,a,b,c,d,e)}u(pl,ll);pl.prototype.Tf=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);this.g.style.backgroundColor="rgb("+a.join(",")+")"};function ql(a,b){this.g=a[q.Symbol.iterator]();this.i=b}ql.prototype[Symbol.iterator]=function(){return this};ql.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}};function rl(a,b){return new ql(a,b)};function sl(){}sl.prototype.next=function(){return ul};var ul={done:!0,value:void 0};sl.prototype.ig=function(){return this};function vl(a){if(a instanceof wl||a instanceof xl||a instanceof yl)return a;if(typeof a.next=="function")return new wl(function(){return a});if(typeof a[Symbol.iterator]=="function")return new wl(function(){return a[Symbol.iterator]()});if(typeof a.ig=="function")return new wl(function(){return a.ig()});throw Error("Not an iterator or iterable.");}function wl(a){this.g=a}wl.prototype.ig=function(){return new xl(this.g())};wl.prototype[Symbol.iterator]=function(){return new yl(this.g())}; wl.prototype.i=function(){return new yl(this.g())};function xl(a){this.g=a}n(xl,sl);xl.prototype.next=function(){return this.g.next()};xl.prototype[Symbol.iterator]=function(){return new yl(this.g)};xl.prototype.i=function(){return new yl(this.g)};function yl(a){wl.call(this,function(){return a});this.j=a}n(yl,wl);yl.prototype.next=function(){return this.j.next()};function zl(a,b){this.i={};this.g=[];this.j=this.size=0;var c=arguments.length;if(c>1){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 if(a)if(a instanceof zl)for(c=a.Td(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}f=zl.prototype;f.Cc=function(){Al(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.i[this.g[b]]);return a};f.Td=function(){Al(this);return this.g.concat()}; f.has=function(a){return Bl(this.i,a)};f.clear=function(){this.i={};this.j=this.size=this.g.length=0};f.remove=function(a){return this.delete(a)};f.delete=function(a){return Bl(this.i,a)?(delete this.i[a],--this.size,this.j++,this.g.length>2*this.size&&Al(this),!0):!1}; function Al(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Bl(a.i,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){b={};for(d=c=0;c<a.g.length;){var e=a.g[c];Bl(b,e)||(a.g[d++]=e,b[e]=1);c++}a.g.length=d}}f.get=function(a,b){return Bl(this.i,a)?this.i[a]:b};f.set=function(a,b){Bl(this.i,a)||(this.size+=1,this.g.push(a),this.j++);this.i[a]=b};f.forEach=function(a,b){for(var c=this.Td(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new zl(this)}; f.keys=function(){return vl(this.ig(!0)).i()};f.values=function(){return vl(this.ig(!1)).i()};f.entries=function(){var a=this;return rl(this.keys(),function(b){return[b,a.get(b)]})};f.ig=function(a){Al(this);var b=0,c=this.j,d=this,e=new sl;e.next=function(){if(c!=d.j)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return ul;var g=d.g[b++];return{value:a?g:d.i[g],done:!1}};return e};function Bl(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Cl(){this.i=new zl;this.g=new Dl("");this.g.next=this.g.g=this.g}f=Cl.prototype;f.get=function(a,b){return(a=this.i.get(a))?a.value:b};f.set=function(a,b){var c=this.i.get(a);c?c.value=b:(c=new Dl(a,b),this.i.set(a,c),a=c,a.g=this.g.g,a.next=this.g,this.g.g=a,a.g.next=a)};f.shift=function(){return El(this,this.g.next)};f.pop=function(){return El(this,this.g.g)};f.remove=function(a){return(a=this.i.get(a))?(a.remove(),this.i.remove(a.key),!0):!1}; f.Td=function(){return this.map(function(a,b){return b})};f.Cc=function(){return this.map(function(a){return a})};f.clear=function(){for(;this.i.size>0;){var a=this.g.next;a.remove();this.i.remove(a.key)}};f.forEach=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)a.call(b,c.value,c.key,this)};f.map=function(a,b){for(var c=[],d=this.g.next;d!=this.g;d=d.next)c.push(a.call(b,d.value,d.key,this));return c}; f.some=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};f.every=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};function El(a,b){a.g!=b&&(b.remove(),a.i.remove(b.key));return b.value}function Dl(a,b){this.key=a;this.value=b}Dl.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function Fl(){Q.call(this);this.i=new Cl}u(Fl,Q);Fl.prototype.j=function(a){a.sort(Gl);v(a,function(b){b.ae(this)},this);this.i=new Cl;v(a,function(b){this.i.set(b.Ja(),b)},this);this.dispatchEvent("update")};function Gl(a,b){return Hl(a)-Hl(b)}function Il(a){return a.i.Cc()}function Jl(a,b,c){a=Il(a);for(var d=-1,e=0;e<a.length;e++)if(a[e].Ja()==b){d=e;break}if(d>=0)return a[c+d]}function Kl(a,b){return a.i.get(b)} function Ll(a,b){b=Vb(b);if(b.length!=0)return nb(Il(a),function(c){return c.Za()==b})};/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ function Ml(a){var b=Nl;this.o=[];this.oa=b;this.Ha=a||null;this.l=this.j=!1;this.i=void 0;this.ka=this.ta=this.O=!1;this.s=0;this.g=null;this.U=0}Ml.prototype.cancel=function(a){if(this.j)this.i instanceof Ml&&this.i.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.U--,b.U<=0&&b.cancel())}this.oa?this.oa.call(this.Ha,this):this.ka=!0;this.j||(a=new Ol(this),Pl(this),Ql(this,!1,a))}};Ml.prototype.ma=function(a,b){this.O=!1;Ql(this,a,b)}; function Ql(a,b,c){a.j=!0;a.i=c;a.l=!b;Rl(a)}function Pl(a){if(a.j){if(!a.ka)throw new Sl(a);a.ka=!1}}Ml.prototype.kg=function(a){Pl(this);Ql(this,!0,a)};function Tl(a,b,c,d){var e=a.j;e||(b===c?b=c=cb(b):(b=cb(b),c=cb(c)));a.o.push([b,c,d]);e&&Rl(a)}Ml.prototype.then=function(a,b,c){var d,e,g=new Ti(function(h,k){e=h;d=k});Tl(this,e,function(h){h instanceof Ol?g.cancel():d(h);return Ul},this);return g.then(a,b,c)};Ml.prototype.$goog_Thenable=!0; function Vl(a){return mb(a.o,function(b){return typeof b[1]==="function"})}var Ul={}; function Rl(a){if(a.s&&a.j&&Vl(a)){var b=a.s,c=Wl[b];c&&(q.clearTimeout(c.rb),delete Wl[b]);a.s=0}a.g&&(a.g.U--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.O;){var e=a.o.shift(),g=e[0],h=e[1];e=e[2];if(g=a.l?h:g)try{var k=g.call(e||a.Ha,b);k===Ul&&(k=void 0);k!==void 0&&(a.l=a.l&&(k==b||k instanceof Error),a.i=b=k);if(Si(b)||typeof q.Promise==="function"&&b instanceof q.Promise)d=!0,a.O=!0}catch(l){b=l,a.l=!0,Vl(a)||(c=!0)}}a.i=b;d&&(k=r(a.ma,a,!0),d=r(a.ma,a,!1),b instanceof Ml?(Tl(b,k,d),b.ta= !0):b.then(k,d));c&&(b=new Xl(b),Wl[b.rb]=b,a.s=b.rb)}function Sl(){db.call(this)}u(Sl,db);Sl.prototype.message="Deferred has already fired";Sl.prototype.name="AlreadyCalledError";function Ol(){db.call(this)}u(Ol,db);Ol.prototype.message="Deferred was canceled";Ol.prototype.name="CanceledError";function Xl(a){this.rb=q.setTimeout(r(this.i,this),0);this.g=a}Xl.prototype.i=function(){delete Wl[this.rb];throw this.g;};var Wl={};function Yl(a,b){var c=b||{};b=c.document||document;var d=oc(a).toString(),e=If(new Se(b),"SCRIPT"),g={gp:e,Kg:void 0},h=new Ml(g),k=null,l=c.timeout!=null?c.timeout:5E3;l>0&&(k=window.setTimeout(function(){Zl(e,!0);var m=new $l(1,"Timeout reached for loading script "+d);Pl(h);Ql(h,!1,m)},l),g.Kg=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(Zl(e,c.hs||!1,k),h.kg(null))};e.onerror=function(){Zl(e,!0,k);var m=new $l(0,"Error while loading script "+ d);Pl(h);Ql(h,!1,m)};g=c.attributes||{};Rb(g,{type:"text/javascript",charset:"UTF-8"});af(e,g);Kc(e,a);am(b).appendChild(e);return h}function am(a){var b=Ve("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement}function Nl(){if(this&&this.gp){var a=this.gp;a&&a.tagName=="SCRIPT"&&Zl(a,!0,this.Kg)}}function Zl(a,b,c){c!=null&&q.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){E(a)},0)} function $l(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);db.call(this,c);this.code=a}u($l,db);var bm=ta(["//apis.google.com/js/api.js"]);function cm(a){var b=document,c=window;dm()&&(Yl(em,{document:b}).then(function(){var d=Qa("gapi.load",c);d&&d("gapi.rpc",{kg:function(){return fm(a)},onerror:function(){return null},timeout:5E3,ontimeout:function(){return null}})}),U(function(){fm(a)},5E3))}function gm(a){var b={};b.q=a;hm("updateInViewportPage",b)}function im(a){a?hm("onboardingComplete"):hm("onboardingCompleteNoPlainText")} function fm(a){var b=Qa("gapi.rpc.register");typeof b==="function"&&(b("handshake",function(){}),jm(),km(a))}function jm(){I(document,"keydown",function(a){a.keyCode==27&&hm("closeViewportDialog")})}function km(a){var b=Qa("gapi.rpc.register");if(typeof b==="function")for(var c in a)b(c,a[c])}function hm(a,b){if(dm()){var c=Qa("gapi.rpc.call");typeof c==="function"&&c("..",a,null,b)}}function dm(){try{return window.self!==window.top}catch(a){return!0}}var em=Ie(bm);function lm(a){Q.call(this);mm(this,a||"")}n(lm,Q);lm.prototype.getQuery=function(){return this.j};function mm(a,b){a.j!=b&&(a.j=b,a.dispatchEvent("change"),gm(b))}function nm(a){a=new R(a);return T(a,"q")||T(a,"vq")||T(a,"dq")}function om(){return T(new R(window.location.toString()),"q")};function pm(a){this.g={};this.N=a}function qm(a,b){var c=[];if(a.g[b]){var d=[],e;for(e in a.g[b])d.push(e);zb(d);for(e=0;e<d.length;e++)c.push(a.g[b][d[e]])}return c};function rm(a){this.N=a;this.j=a.vb()}rm.prototype.Vb=function(a){this.Ba&&(this.Ba.dispose(),nf(this.N.Da().s.i));this.Ba=new a(this.N);this.Ba.Kd&&this.Ba.Kd(this.N.Ca());this.Ba.Ld&&this.Ba.Ld()};rm.prototype.Da=function(){return this.Ba};function sm(a){W.call(this);this.U=a;nf(a);K(a,"overflow","hidden");this.j=C("div");K(this.U,{position:"relative",padding:"0px"});qf(this.U,this.j,0);this.Ib=new pm(this);this.Ea=[];this.ya=[];tm(this);this.ka=new rm(this);a=C("div");V(a,!0);K(a,{position:"absolute",left:"0px",top:"0px"});this.U.appendChild(a);this.Fb=a;this.kb(fh(this.U));um.push(this);this.vd=new lm;I(this.vd,"change",this.Vp,!1,this)}u(sm,W);var um=[];f=sm.prototype;f.vb=function(){return this.j};f.nd=function(){return this.Fb}; f.kb=function(a){a.width=Math.max(a.width,0);a.height=Math.max(a.height,0);if(!this.i||!Jb(this.i,a)){eh(this.j,a,"content-box");this.i=a;var b=this.ka.Da();b&&b.kb(a);this.dispatchEvent("resize")}};f.getSize=function(){return this.i};f.qb=function(){return this.i.width};f.Ab=function(){return this.i.height};f.go=function(){this.dispatchEvent("load")};f.Vb=function(a){this.O!=a&&(this.O=a,this.ka.Vb(a),this.dispatchEvent("viewportmodechange"))};f.Ta=function(){return this.o};f.Da=function(){return this.ka.Da()}; function vm(a,b){if(a.s)throw"";a.s=b;I(b,"update",r(a.Sp,a))}f.Sp=function(){this.dispatchEvent("pagesupdate")};f.Ya=function(){return this.s};f.wd=function(a,b){return(a=Kl(this.s,a))?(this.hb(a,b),a):null};f.hb=function(a,b){if(this.l!=a||b)this.l=a,this.dispatchEvent("pagechange")};function wm(a,b){return(b=Ll(a.s,b))?(a.hb(b),!0):!1}function xm(a,b){ym(a,b,r(function(c){U(r(this.hb,this,c))},a))}function ym(a,b,c){a=a.Ya();new R(b);b=new a.l({url:b});b.ae(a);zm(b,r(a.ka,a,c))} f.wh=function(a,b){var c=this.ka.Da().Bb();if(c&&c.xc&&(c=c.xc(a))){b=b||new w(40,80);var d=this.Va().getQuery();if(!d)return;var e=Am(a,d);if(e){Bm(this,c,b,e);return}zm(a,r(this.Tp,this,c,b,d))}this.hb(a)};f.Tp=function(a,b,c,d){(c=Am(d,c))&&Bm(this,a,b,c)};function Bm(a,b,c,d){if(d&&d.length){for(var e=d[0],g=1;g<d.length;g++)e=Dg(e,d[g]);d=b.Ca().he();d=b.getSize().width/d;e=new Gj(e.left,e.top);e.Ej(d);e.x=Math.round(e.x);e.y=Math.round(e.y);b=Hj(b.Zc());b.add(e);Ij(b,c);a.Da().jf(b)}}f.Ja=function(){return this.l.Ja()}; f.Ca=function(){return this.l};f.mb=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.Ea.push(b);this.Ea.length==1&&Cm(this)};function Dm(a,b,c){a.ya.push([b,c])}function Cm(a){var b=a.Ea.shift();if(b){for(var c=b.shift(),d=0;d<a.ya.length;d++)a.ya[d][0]==c&&a.ya[d][1].apply(a,b);Cm(a)}} function tm(a){Dm(a,"next",r(a.dm,a,1));Dm(a,"previous",r(a.dm,a,-1));Dm(a,"turntopage",r(a.Wp,a));Dm(a,"zoomin",r(a.Xp,a));Dm(a,"zoomout",r(a.Yp,a));Dm(a,"showkeyboardshortcuts",function(){a.dispatchEvent("keyboardshortcutsopened")})}function Em(a){var b=a.ka.Da();b.Dk&&b.Dk(a.Ca())}f.dm=function(a){var b=this.ka.Da(),c;b.oa?c=b.oa(this.Ca(),a):c=Jl(this.Ya(),this.Ca().Ja(),a);c&&(this.hb(c),Em(this),this.dispatchEvent("pageturn"))};f.Wp=function(a){if(a=Kl(this.s,a))this.hb(a),Em(this)}; f.Xp=function(){var a=this.ka.Da();a.Hc&&(a.Hc(),Em(this));this.dispatchEvent("zoomchange")};f.Yp=function(){var a=this.ka.Da();a.Wc&&(a.Wc(),Em(this));this.dispatchEvent("zoomchange")};f.Vp=function(){this.dispatchEvent("searchupdate")};f.Va=function(){return this.vd};var Fm={update:function(a){for(var b in a)Fm[b]=a[b]},Tr:function(a){if(typeof a==="string")try{a=JSON.parse(a)}catch(c){a=null}for(var b in a)Fm.Sr(b,a[b])},Sr:function(a,b){Fm[a]=b}};bb("_OC_addFlags",Fm.Tr);var Gm;function Hm(a,b,c){c=new R(c.replace(/#.*/g,""));S(c,a,b);return c.toString()}function Im(a){if(Gm){var b=new R(Gm);Kh(b,a);return b.toString()}return a}function Jm(a){return Hm("hl","en",a)}function Km(a){a=new R(a);var b=a.l.split("/");b[0]||b.shift();return b.length>3?b[3]:T(a,"id")||""}function Lm(){var a=window.location.pathname.split("/");return a.length<1?"":a[1]};function Mm(a){Q.call(this);this.lb={};a&&this.zd(a)}u(Mm,Q);f=Mm.prototype;f.he=function(){return this.lb.w||this.getParent().g.width};f.Vd=function(){return this.lb.h||this.getParent().g.height};function Fi(a){return a.he()/a.Vd()}f.getSize=function(){return new Ib(this.he(),this.Vd())};f.zd=function(a){for(var b in a)this.lb[b]=a[b];this.dispatchEvent("update")};f.ae=function(a){this.s=a};f.getParent=function(){return this.s};f.Za=function(){return this.lb.title}; f.we=function(){var a=this.Za();return a?"Page "+a:""};function Hl(a){return a.lb.order}f.qd=function(a){if(this.lb.src&&a){var b=new R(this.lb.src);S(b,"w",a.width);return b.toString()}return this.lb.src};f.Ja=function(){return this.lb.pid};function Nm(a,b,c){if(xd()<=8){var d=[];d[0]=I(a,"readystatechange",t(Om,a,t(Pm,b),d))}else cg(a,"load",t(Pm,b));c&&cg(a,"error",t(Pm,c))}function Pm(a){U(a)}function Om(a,b,c){if(a.readyState!="complete")return!0;kg(c[0]);b();return!1}var Qm=C("div");function Rm(a){if(a)if(Fd){Qm.appendChild(a);var b=t(E,a);Nm(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",E(a)};function Sm(a,b,c,d,e,g,h){Q.call(this);this.s=a;this.ob=b;this.wb=c;this.j=d;this.i=e;this.ka=g;this.O=h;this.l=Math.ceil(this.ob/this.j);this.o=Math.ceil(this.wb/this.i);this.g=[];for(a=0;a<this.l;++a){b=[];for(c=0;c<this.o;++c)b.push(null);this.g.push(b)}}n(Sm,Q);Sm.prototype.empty=function(){for(var a;a=this.s.firstChild;)Rm(a)}; function Tm(a,b){var c=Math.floor(b.left/a.j),d=Math.floor(b.top/a.i),e=Math.ceil((b.left+b.width)/a.j),g=Math.ceil((b.top+b.height)/a.i);e=Math.min(e,a.l);for(g=Math.min(g,a.o);c<e;c++)for(var h=d;h<g;h++)if(!a.g[c][h]){var k=a,l=c,m=h;if(!k.g[l][m]){var p=C("IMG");K(p,{position:"absolute",left:l*k.j+"px",top:m*k.i+"px",display:"none"});k.g[l][m]=p;k.s.appendChild(p)}k=k.g[l][m];l=a.ka(c,h);Nm(k,r(a.U,a,k,l),r(a.ma,a,k,l));k.src=l}for(d=0;d<a.l;++d)for(e=0;e<a.o;++e){if(g=!!a.g[d][e])g=!Cg(new xg(d* a.j,e*a.i,(d+1)*a.j,(e+1)*a.i),b);g&&(Rm(a.g[d][e]),a.g[d][e]=null)}}Sm.prototype.U=function(a,b){K(a,{display:""});this.O&&this.O(b)};Sm.prototype.ma=function(){};function Um(){};function Vm(a){this.g={};for(var b=0;b<a.length;b++){var c=a[b];this.g[c.z]=new Ib(c.w,c.h)}}function Wm(a,b){return(a=Mb(a.g,function(c){return c.height==b}))?Number(a):null}function Xm(a,b){return(a=a.g[b])?a.width:null};function Ym(a){if(a)return a.isEntityPageViewport;a=T(new R(window.location.href),"source");return a=="entity_page"||a=="entity_page_gbs_snippet"}function Zm(){var a=T(new R(window.location.href),"output");return(Ym()||Jd)&&a=="text"}function $m(){return(new R(window.location.href)).i==="toggled"};function an(a){Mm.call(this,a);this.lj={};this.ya={};this.o={};this.ta=this.ma=null}var bn;u(an,Mm);f=an.prototype;f.zd=function(a,b){an.na.zd.call(this,a);b&&(this.oa=b)};function zm(a,b){cn(a,a.Ue(),b)}f.Ue=function(){var a=dn(this);S(a,"jscmd","click3");var b;this.vd&&(b=this.vd.getQuery());en(this,"vq",b);Kb(this.lj,function(c,d){S(a,d,c)});return a}; function cn(a,b,c){b=b.toString();if(b==a.oa)c&&c(a);else if(c&&(a.o[b]=a.o[b]||[]).push(c),b!=a.U){a.U=b;a.j&&q.clearTimeout(a.j);a.j=q.setTimeout(r(a.ft,a,b),6E3);var d;a.vd&&(d=a.vd.getQuery());bn(b,r(a.Zp,a,b,d))}}function en(a,b,c){c?a.lj[b]=c:delete a.lj[b]}f.lj=null;f.Zp=function(a,b,c){this.U==a&&(this.U=null,this.j&&(q.clearTimeout(this.j),this.j=null),this.oa=a,fn(this,c.page[0]),this.s.Uk(c),b=this.o[a])&&(v(b,function(d){d(this)},this),delete this.o[a])}; f.ft=function(a){this.j=this.U=null;delete this.o[a]};function dn(a){var b=a.lb.url;b?b=new R(b):(b=new R(a.s.Qo),S(b,"pg",a.Ja()),a.lb.sig&&S(b,"sig",a.lb.sig));Ym()&&S(b,"source","entity_page");return b}f.yc=function(){return dn(this).toString()};f.he=function(){return this.lb.w||this.getParent().g.width};f.Vd=function(){return this.lb.h||this.getParent().g.height}; var gn={additional_info:"additional_info",content:"content",feedbackUrl:"uf",flags:"flags",highlights:"highlights",links:"links",order:"order",pid:"pid",src:"src",snippetSrc:"snippet_src"};function fn(a,b){var c={},d;for(d in gn){var e=gn[d],g=b[e];g!==void 0&&(e=="highlights"?a.ya[b.vq]=g:c[d]=g)}c.additional_info&&(d=c.additional_info["[NewspaperJSONPageInfo]"])&&(a.ma=new Vm(d.tileres),d=d.page_scanjob_coordinates)&&(a.ta=""+d.x+","+d.y);b.vq&&!c.snippetSrc&&(c.snippetSrc="");a.zd(c)} an.prototype.wc=function(){return this.lb.content};an.prototype.l=function(a){return!!(this.lb.flags&a)};function hn(a,b){return mb(b,r(a.l,a))}function jn(a,b){b=Yc(b);b=b.replace(/'/g,"'");if(a=a.ya[b]){var c=[];v(a,function(d){c.push([d.X,d.Y,d.W,d.H])});return c}}function Am(a,b){if(a=jn(a,b))return lb(a,t(kn,1))}function kn(a,b){b=lb(b,function(c){return Math.round(c*a)});return new xg(b[0],b[1],b[2],b[3])} function ln(a){if(a.lb.links)return lb(a.lb.links,function(b){var c=b.region;return[c.X,c.Y,c.W,c.H,b.target_pid,b.url]})}function mn(a){if(a.lb.clip_highlight||a.lb.clip_highlights){var b=[];v(a.lb.clip_highlights||[a.lb.clip_highlight],function(c){var d=[];v(["X","Y","W","H"],function(e){d.push(c[e])});b.push(d)});return b}return null} an.prototype.qd=function(a){if(this.lb.src&&a){var b=new R(this.lb.src);a&&Kb(this.Kk(),function(c,d){d=="height"&&a.height?S(b,c,a.height):d=="width"&&a.width&&S(b,c,a.width)});return b.toString()}return this.lb.src};an.prototype.Kk=function(){return{width:"w",height:"h"}};function nn(a,b,c,d){this.Gj=a||256;this.Fj=b||256;this.i=c||3;this.j=d||3;this.g=null}function on(a,b){a.g=b}nn.prototype.Un=function(a,b,c,d,e){var g=this.i,h=this.j;b=Math.ceil(b/this.Gj);c=Math.ceil(c/this.Fj);var k=Math.floor(e/g),l=Math.floor(d/h),m=g*b*k;e-=k*g;g=Math.min(g,c-k*g);m+=g*h*l;d-=l*h;h=Math.min(h,b-l*h);d=m+(e*h+d);a=new R(a);S(a,"tid",d);this.g&&(a=this.g(a,d));return a.toString()};function pn(){}pn.prototype.Za=function(){return this.tc};function qn(){this.g=new Map}qn.prototype.add=function(a,b){this.g.set(Wa(a),b)};function rn(a,b){b=b===void 0?[]:b;b=new Set(b.map(function(g){return Wa(g)}));for(var c=qa(a.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.has(d)){var e=a.g.get(d);e&&e.Ka();a.g.delete(d)}};function sn(){this.i={};this.g=new qn}function tn(a,b,c){a.i[Wa(b)]=c}sn.prototype.Ka=function(){rn(this.g)};function un(a,b){b=kb(b,function(c){return!!this.i[Wa(c.constructor)]},a);rn(a.g,b);v(b,function(c){this.g.g.has(Wa(c))||this.g.add(c,this.i[Wa(c.constructor)].render(c))},a)};function vn(a){this.tf=a}function wn(a,b,c,d){a=xn(a,d);if(c>0)for(c=0;c<a.length;c++){if(a[c]>b)return a[c]}else for(c=a.length-1;c>=0;c--)if(a[c]<b)return a[c];return b}function xn(a,b){var c=b||[];a=kb(a.tf,function(d){return!mb(c,function(e){return Math.abs(e-d)<50})});a.push.apply(a,c);zb(a);return a};function yn(a,b){Fl.call(this);this.O={};a&&(this.Qo=a.prefix,this.ro=a.image_prefix||a.prefix,a=lb(a.page,function(c){c=new this.l(c);b&&(c.vd=b);return c},this),this.j(a))}u(yn,Fl);yn.prototype.Uk=function(a){a=a.page;for(var b=0;b<a.length;b++){var c=a[b],d=Kl(this,c.pid);d&&fn(d,c)}};yn.prototype.l=an;yn.prototype.ka=function(a,b){if(!Kl(this,b.Ja())){var c=vb(Il(this));wb(c,b);this.j(c)}this.O[b.Ja()]=!0;a&&a(b)};function zn(a,b,c){hi(a,t(An,b,c))}function An(a,b,c){c=c.target;mi(c)?a(pi(c)):b&&b()};var Bn=typeof q.BigInt==="function"&&typeof q.BigInt(0)==="bigint";var Cn=Number.MIN_SAFE_INTEGER.toString(),Dn=Bn?BigInt(Number.MIN_SAFE_INTEGER):void 0,En=Number.MAX_SAFE_INTEGER.toString(),Fn=Bn?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Gn(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var Hn=void 0;function In(a,b){if(a!=null){var c;var d=(c=Hn)!=null?c:Hn={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),a.__closure__error__context__984382||(a.__closure__error__context__984382={}),a.__closure__error__context__984382.severity="incident",Ii(a))}};var Jn=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Kn(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var Ln=Kn("jas",void 0,!0),Mn=Kn(void 0,"0actk"),Nn=Kn("m_m","ow",!0),On=Kn(void 0,"mrtk");var Pn={fu:{value:0,configurable:!0,writable:!0,enumerable:!1}},Qn=Object.defineProperties,Rn=Jn?Ln:"fu";function Sn(a,b){Jn||Rn in a||Qn(a,Pn);a[Rn]|=b}function Tn(a,b){Jn||Rn in a||Qn(a,Pn);a[Rn]=b};var Un=typeof Nn==="symbol",Vn={};function Wn(a){a=a[Nn];var b=a===Vn;Un&&a&&!b&&In(On,3);return b}function Xn(a,b){return b===void 0?a.g!==Yn&&!!(2&(a.Tb[Rn]|0)):!!(2&b)&&a.g!==Yn}var Yn={};function Zn(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object};function $n(a){return a};function ao(a,b,c,d,e){d=d?!!(b&32):void 0;var g=[],h=a.length,k=!1;if(b&64){if(b&256){h--;var l=a[h];var m=h}else m=4294967295,l=void 0;if(!(e||b&512)){k=!0;var p;var y=((p=bo)!=null?p:$n)(l?m- -1:b>>16&1023||536870912,-1,a,l);m=y+-1}}else m=4294967295,b&1||(l=h&&a[h-1],Zn(l)?(h--,m=h,y=0):l=void 0);p=void 0;for(var D=0;D<h;D++){var H=a[D];if(H!=null&&(H=c(H,d))!=null)if(D>=m){var F=void 0;((F=p)!=null?F:p={})[D- -1]=H}else g[D]=H}if(l)for(var J in l)a=l[J],a!=null&&(a=c(a,d))!=null&&(h=+J,h<y?g[h+ -1]=a:(h=void 0,((h=p)!=null?h:p={})[J]=a));p&&(k?g.push(p):g[m]=p);e&&Tn(g,b&67043905|(p!=null?290:34));return g}function co(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return(Bn?a>=Dn&&a<=Fn:a[0]==="-"?Gn(a,Cn):Gn(a,En))?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[Rn]|0;return a.length===0&&b&1?void 0:ao(a,b,co,!1,!1)}if(Wn(a))return eo(a);return}return a}var bo; function eo(a){a=a.Tb;return ao(a,a[Rn]|0,co,void 0,!1)};function fo(a,b,c){if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-67043329|(b&1023)<<16)}else{if(!Array.isArray(a))throw Error("narr");d=a[Rn]|0;8192&d||!(64&d)||2&d||go();if(d&1024)throw Error("farr");if(d&64)return d&16384||Tn(a,d|16384),a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var g=e-1,h=c[g];if(Zn(h)){d|=256;b=d&512?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)e=+k,e<g&&(c[e+b]=h[k],delete h[k]);d=d&-67043329|(g&1023)<<16;break a}}if(b){k= Math.max(b,e-(d&512?0:-1));if(k>1024)throw Error("spvt");d=d&-67043329|(k&1023)<<16}}}Tn(a,d|16384);return a}function go(){In(Mn,5)};function ho(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[Rn]|0;if(a.length===0&&c&1)return;if(c&2)return a;var d;if(d=b)d=c===0||!!(c&32)&&!(c&64||!(c&16));return d?(Sn(a,34),c&4&&Object.freeze(a),a):ao(a,c,ho,b!==void 0,!0)}if(Wn(a))return b=a.Tb,c=b[Rn]|0,Xn(a,c)?a:ao(b,c,ho,!0,!0)}function io(a){if(a.g!==Yn)return!1;var b=a.Tb;b=ao(b,b[Rn]|0,ho,!0,!0);b[Rn]&=-3;a.Tb=b;a.g=void 0;return!0}function jo(a){if(!io(a)&&Xn(a,a.Tb[Rn]|0))throw Error();} function ko(a,b){b===void 0&&(b=a[Rn]|0);b&32&&!(b&32768)&&Tn(a,b|32768)};function lo(a,b,c){if(c===-1)return null;var d=c+-1,e=a.length-1;if(d>=e&&(b!=null?b:a[Rn]|0)&256)a=a[e][c];else if(d<=e)a=a[d];else return;return a}function mo(a,b,c,d){var e=c+-1,g=a.length-1,h;if(e>=g&&((h=b)!=null?h:b=a[Rn]|0)&256)return a[g][c]=d,b;if(e<=g)return a[e]=d,b;d!==void 0&&(g=b>>16&1023||536870912,c>=g?d!=null&&(e={},a[g+-1]=(e[c]=d,e),b|=256,Tn(a,b)):a[e]=d);return b} function no(a,b){var c=c===void 0?!1:c;a=lo(a.Tb,void 0,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}function oo(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Sa(c)+": "+c);jo(a);var d=a.Tb;mo(d,d[Rn]|0,b,c===!1?void 0:c);return a};function po(a,b,c){this.Tb=fo(a,b,c)}po.prototype.toJSON=function(){var a=eo(this);return a};po.prototype.clone=function(){var a=this,b=a.Tb;a=new a.constructor(ao(b,b[Rn]|0,ho,!0,!0));b=a.Tb;b[Rn]&=-3;return a};po.prototype[Nn]=Vn;po.prototype.toString=function(){return this.Tb.toString()};function qo(a){this.g=a}qo.prototype.md=function(){return this.g.aid};qo.prototype.vg=function(){var a=this.g.x_focus,b=this.g.y_focus;if(a===void 0||b===void 0){b=this.Ff();if(!b.length)return null;a=b[0][0];b=b[0][1]}return new w(a,b)};qo.prototype.Hk=ba(4);qo.prototype.Ff=function(){return ro(this,"head_boxes")};function ro(a,b){var c=[];a.g[b]&&v(a.g[b],function(d){c.push([d.X,d.Y,d.W,d.H])});return c};function so(a){this.g=a};function to(a,b,c){this.j=a;this.g=b;this.l=c||!1;a=this.getSize();this.i()?a.height=120:a.height=65;this.kb(a)}n(to,qi);to.prototype.i=function(){var a=A("gb-mobile-menu-pubinfo");return a?sf(a).length>0&&this.j!=null&&Hl(this.j)==0:!1};function uo(a){zi.call(this);this.j=a}u(uo,zi);uo.prototype.O=function(){this.i=Math.ceil(this.g.length/this.j);for(var a=0;a<this.i;a++)for(var b=0;b<this.j;b++){var c=a*this.j+b;this.cells[b]=this.cells[b]||[];this.cells[b][a]=this.g[c]}};function vo(a){uo.call(this,a);this.Ce=new Map}u(vo,uo);vo.prototype.xc=function(a){return this.Ce.get(wo(Ei,a))};vo.prototype.mh=function(a){if(a instanceof to)a=wo(a.constructor,a.g);else if(a instanceof Ei)a=wo(a.constructor,a.Ca());else throw Error("Input item must be a LayoutPage or LayoutSeparator.");return this.Ce.get(a)}; vo.prototype.Na=function(a){if(a instanceof to){var b=wo(a.constructor,a.g);this.Ce.set(b,a)}else a instanceof Ei&&(b=wo(a.constructor,a.Ca()),this.Ce.set(b,a));vo.na.Na.call(this,a)};function wo(a,b){return Wa(a)+"#"+b.Ja()};function xo(a,b,c,d,e){vo.call(this,1);this.o=b;this.l=c;var g=d||!1,h;a=Il(a);v(a,function(k){g&&h&&Hl(k)-Hl(h)>1&&yo(this,h,k);var l=A("gb-mobile-menu-pubinfo");l&&sf(l).length>0&&!g&&h&&k&&Hl(h)==0&&yo(this,h,k,!0);l=new Ei(k);var m=l.getSize();this.o=="fixed_height"?m.height=this.l:m.width=this.l;l.kb(m);this.Na(l);h=k},this);g&&h&&e&&Hl(h)<Hl(e)&&yo(this,h,e);Ai(this)}n(xo,vo); function yo(a,b,c,d){b=new to(b,c,d||!1);c=b.getSize();a.o=="fixed_height"?c.height=a.l:c.width=a.l;b.kb(c);a.Na(b)}xo.prototype.s=function(){return this.l};xo.prototype.Hf=function(){return this.o};xo.prototype.zj=8;function zo(a,b){this.N=a;this.g=b}n(zo,Um);zo.prototype.render=function(a){var b=this.g(a);b.kb(a.getSize());b.setPosition(a.Zc());return b};function Ao(){}n(Ao,qi);function Bo(){W.call(this)}u(Bo,W);Bo.prototype.ie=function(a){this.i=a;this.l=Co(a)};Bo.prototype.qa=function(){Bo.na.qa.call(this);E(this.l)};function Do(a){W.call(this);this.j=a}n(Do,Bo);Do.prototype.wa=function(a){N(this.l,a)};Do.prototype.ie=function(a){Bo.prototype.ie.call(this,a);var b=this.i.getSize();a=this.l;var c=b.width;b=b.height;var d=Math.floor(c*.035),e=this.j?"/googlebooks/images/burn-left.png":"/googlebooks/images/burn-right.png";Jg(a,this.j?c-d:0,0);L(a,d,b);K(a,{position:"absolute"});Fd?oj(a,e):(c=B("IMG",{src:e,width:d,height:b,border:0,position:"absolute",top:0,left:0}),a.appendChild(c))};function Eo(a){W.call(this);this.U=a;this.O=[]}u(Eo,Bo);f=Eo.prototype;f.ie=function(a){Eo.na.ie.call(this,a);this.Rg();this.Ca()&&this.g.ha(this.Ca(),"update",this.Rg)};f.Ca=function(){return this.i.Ca()};f.Qg=function(a,b,c,d){var e=C("div");V(e,!0);this.l.appendChild(e);a=Fo(this,a,b,c,d);K(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.U&&(K(e,{backgroundColor:this.U}),Zg(e,.3));this.O.push(new xg(a[0],a[1],a[2],a[3]));return e}; function Go(a){return a.i.getSize().width/a.i.Ca().getParent().g.width}function Fo(a,b,c,d,e){var g=Go(a);return lb([b,c,d,e],function(h){return Math.round(h*g)})}function Ho(a,b){v(b,function(c){this.Qg.apply(this,c)},a)}f.In=function(a){return this.Qg(a.left,a.top,a.width,a.height)};f.Yf=function(){nf(this.l);this.O=[]};f.Rg=function(){};function Io(){Eo.call(this)}n(Io,Eo);f=Io.prototype;f.Rg=function(){if(!this.j){var a=this.Ca();a&&(a=mn(a))&&(Ho(this,a),this.j=!0)}}; f.Qg=function(a,b,c,d){this.o=Eo.prototype.Qg.call(this,a,b,c,d);K(this.o,{border:"2px #aaaaff dashed"});this.s=C("IMG");this.o.appendChild(this.s);this.s.src="/googlebooks/images/dialog_close_x.gif";a=Fo(this,a,b,c,d);K(this.s,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});I(this.o,"mouseout",r(this.aq,this));I(this.o,"mouseover",r(this.qo,this,!0));cg(this.s,"click",r(this.Ka,this));return this.o};f.Ka=function(){E(this.o)}; f.aq=function(a){wf(this.o,a.target)||this.qo(!1)};f.qo=function(a){K(this.s,{display:a?"":"none"})};function Jo(a){Eo.call(this);this.N=a}n(Jo,Eo);Jo.prototype.Rg=function(){if(!this.j){var a=this.Ca();a&&(a=ln(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.Qg.apply(this,b);K(b,{cursor:"pointer"});this.g.ha(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};Jo.prototype.o=function(a,b){(a=Kl(this.N.Ya(),a))?this.N.hb(a):xm(this.N,b)};function Ko(a,b){this.l=a;this.g=b}Ko.prototype.Ca=function(){return this.l};Ko.prototype.i=function(){return this.l.qd(this.g)};function Lo(a,b,c){Ko.call(this,a,b);this.j=c}n(Lo,Ko);Lo.prototype.i=function(){return this.j.width>this.g.width?this.l.qd(this.j):Ko.prototype.i.call(this)};function Mo(a,b,c,d,e){W.call(this);this.Gg(a.Da());this.N=a;this.i=c;this.ma=[];this.em=d;L(d,c);this.oa=Co(this);K(this.oa,"backgroundColor","#fff");L(this.oa,c);if(this.ya=e!==void 0?e:!0)a=Co(this),L(a,c),this.ta=new No(a),this.ta.show();b&&(this.l=b,this.g.ha(b,"update",this.Zf),zm(b))}u(Mo,W);f=Mo.prototype;f.getSize=function(){return this.i};f.Ca=function(){return this.l};function Oo(a,b){a.ma.push(b);b.ie(a)}f.Zf=function(){};function Po(a){a.dispatchEvent("load");a.ya&&a.ta.ab()} function Co(a){var b=C("div");V(b,!0);K(b,{position:"absolute",left:0,top:0});a.em.appendChild(b);return b}function Qo(a){a.o&&(E(a.o),a.o=null)}f.Ka=function(){v(this.ma,function(a){a.dispose()});this.ma=null;Qo(this)};function Ro(a){a.s=Co(a);L(a.s,a.getSize());K(a.s,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ha(a.s,"mousedown",a.bq);a.g.ha(a.s,"dragstart",Of)}f.bq=function(a){a.display=this;So.dispatchEvent(a)};var So=new Q; function No(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;b<2;b++){var c=C("div");V(c);K(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}No.prototype.show=function(a){K(this.g,{display:a?"none":""})};No.prototype.ab=function(){this.show(!0)};Mo.prototype.El=function(){To(this)};function To(a,b){Qo(a);a.o=Co(a);new Uo(a.o,a.getSize(),b)} function Uo(a,b,c){this.g=a;K(a,{backgroundColor:"#FFF",textAlign:"center"});L(a,b);x(a,ye(Fe,c||""));V(this.g)};function Vo(a,b,c){Mo.call(this,a,b.Ca(),b.g,c);this.Gg(Wo);a=Co(this);this.U=new Xo(b.g,a);a=Co(this);this.O=new Xo(b.g,a);Ro(this);ch(c,!0);O(c,"pageImageDisplay");this.ka=b;b.Ca()&&this.Zf()}n(Vo,Mo);f=Vo.prototype;f.hb=function(a){en(a,"output",null);Mo.prototype.hb.call(this,a);a.qd()&&this.Zf()}; f.Zf=function(){var a=this.Ca(),b=this.ka.i();if(b&&!this.j){b=Yo(b);cg(this.U,"load",r(this.cq,this,a,b,this.getSize().width));Zo(this.U,[b]);var c=qm(this.N.Ib,a.Ja());c.push(b);Zo(this.O,c);this.j=!0;Qo(this);a==this.N.Ca()&&this.dispatchEvent("fetch")}hn(a,[16,8])&&(a=Tc('<table width=100% height=100%><tr><td><img src="%s"/><br/>%s</td></tr></table>',Im("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."), To(this,a),Po(this))};f.cq=function(a,b,c){a==this.N.Ca()&&this.dispatchEvent("loaded");this.O.empty();var d=this.N.Ib;a=a.Ja();d.g[a]=d.g[a]||{};d.g[a][c]=b;Po(this)};f.jc=ba(7);f.Ka=function(){this.j=!1;this.U.empty();this.O.empty();Mo.prototype.Ka.call(this)};var Wo=new Q;function Yo(a){return a}function Xo(a,b){Q.call(this);this.i=a;this.j=b;this.ff=!1;this.g=C("IMG");Sj(this.g,"Page");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}n(Xo,Q); Xo.prototype.empty=function(){for(var a;a=tf(this.j);)Rm(a)};function Zo(a,b){Nm(a.g,r(a.l,a,a.g));for(var c=0;c<b.length;c++)a.g.src=b[c]}Xo.prototype.l=function(a){this.g==a&&(this.dispatchEvent("load"),this.ff=!0)};Xo.prototype.jc=ba(6);function $o(a){var b=this;W.call(this);this.s=a;this.j=a.l;this.kb(fh(this.j));this.Cb=new w(0,0);this.U=null;this.ma=new uj(function(){N(b.U,!1)},600);Lf(this,this.ma)}u($o,W);f=$o.prototype;f.kb=function(a){if(!this.i||!Jb(this.i,a)){this.i=a;var b=this.s;b.U=a;ap(b);this.dispatchEvent("resize")}};f.Qc=function(a){this.oc=a;this.O.Ka();var b=this.s,c=this.getSize();b.U=c;ap(b);b=this.s;a=new Ib(a.qb(),a.Ab());b.ka=a;b.o=!0;L(b.i,a);U(b.ma,0,b);ap(b);this.dispatchEvent("layoutchange")}; function bp(a,b){a.O=b}f.Lk=function(){return this.O};f.Bb=function(){return this.oc};f.Zb=function(){var a=this.oc.Hd();this.ka&&(a=this.ka.Jk(a));un(this.O,a);this.dispatchEvent("update")};function cp(a,b){a.ka=b} f.Rc=function(a){var b=this.Cb.x,c=this.Cb.y;typeof a.x==="number"&&(a.x=Eb(a.x,0,Math.max(this.oc.qb()-this.i.width,0)));typeof a.y==="number"&&(a.y=Eb(a.y,0,Math.max(this.oc.Ab()-this.i.height,0)));typeof a.x==="number"&&(b=a.x);typeof a.y==="number"&&(a.y-c>1?this.dispatchEvent("scrolldown"):c-a.y>1&&this.dispatchEvent("scrollup"),c=a.y);this.Cb=new w(b,c);b=this.s;a=this.Cb;b.O||(b=b.l,a.y!=null&&(b.scrollTop=a.y),a.x!=null&&(b.scrollLeft=a.x));this.dispatchEvent("move")}; function dp(a){var b=a.Cb;return b?new xg(b.x,b.y,a.i.width,a.i.height):null}f.getSize=function(){return this.i};f.Ad=function(a){this.dispatchEvent("movestart");this.Rc(a);this.dispatchEvent("moveend")};function ep(a,b,c){a=a.Cb;c(new w(a.x+b.x,a.y+b.y))} f.jf=function(a){var b=this.Cb,c=this.getSize();!b||Math.abs(b.x-a.x)>c.width||Math.abs(b.y-a.y)>c.height?this.Ad(a):(this.l&&(this.l.dispose(),this.l=null),this.l=new Bj([b.x,b.y],[a.x,a.y],250+Eb(Gb(b,a)/800,0,1)*250,Ej),I(this.l,"animate",r(this.hm,this)),I(this.l,"end",r(this.eq,this)),this.dispatchEvent("movestart"),cg(this,"movestart",r(this.l.dispose,this.l)),this.l.play())};f.hm=function(a){a=a.coords.map(Math.round);this.Rc(new w(a[0],a[1]))};f.eq=function(a){this.hm(a);this.dispatchEvent("moveend")}; f.vb=function(){return this.j};f.xe=ba(8);f.Gc=function(){return new w(Math.round(this.Cb.x+this.i.width/2),Math.round(this.Cb.y+this.i.height/2))};f.De=function(a){return new w(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.qa=function(){$o.na.qa.call(this);this.O.Ka()};f.Fk=function(a){this.U==null&&(this.U=a);this.U.style.opacity=0;this.ma.start()};f.Ds=function(){var a=this;this.ma.stop();N(this.U,!0);U(function(){a.U.style.opacity=1})};f.fm=1;function fp(a,b,c,d){Mo.call(this,a,b.Ca(),b.g,c,d);this.ka=Co(this);Ro(this);b.Ca()&&this.Zf();this.N=a;this.O=I(this.N.Da(),"update",this.Aa,!1,this)}n(fp,Mo);fp.prototype.Zf=function(){var a=this.Ca(),b=a.qd(),c=this.N.Ta().Li(),d=a.ma;if(b&&d&&!this.j){var e=Wm(d,this.getSize().height);typeof e==="number"&&(d=Xm(d,e),b=new R(b),S(b,"zoom",e),S(b,"pg",a.ta),b=b.toString(),this.U=new Sm(this.ka,d,this.getSize().height,c.Gj,c.Fj,r(c.Un,c,b,d,this.getSize().height),null),this.j=!0,this.Aa())}}; fp.prototype.Aa=function(){if(this.j){var a=Og(this.ka);if(a){var b=Ug(this.ka);a.top-=b.y;a.bottom-=b.y;a.left-=b.x;a.right-=b.x;a.bottom-a.top>0&&a.right-a.left>0&&Tm(this.U,zg(a))}Em(this.N)}};fp.prototype.Ka=function(){this.j&&(this.U.empty(),this.j=!1);this.O&&(kg(this.O),this.O=null);Mo.prototype.Ka.call(this)};function gp(a){this.vd=a;Eo.call(this,"#ffff00")}u(gp,Eo);gp.prototype.Rg=function(){var a=this.i.Ca();if(a){var b=this.vd.getQuery();b!=this.o&&(a=Am(a,b),this.Yf(),a&&(lb(a,r(this.In,this)),this.o=b))}};function hp(a){Q.call(this);this.url=a;this.j=null;this.s=!0}n(hp,Q);hp.prototype.Qd=function(){if(this.s)this.s=!1;else throw Error();};function ip(a,b){hp.call(this,a);this.O=b||"GET";this.i=new ng;this.g=new di}n(ip,hp);f=ip.prototype;f.Qd=function(a,b){hp.prototype.Qd.call(this,a,b);this.o=a;this.l=b;this.i.ha(this.g,"success",r(this.gq,this));this.i.ha(this.g,"error",r(this.fq,this));this.g.send(this.url.toString(),this.O,void 0)};f.gq=function(a){this.j=JSON.parse(oi(a.target));U(r(this.dispatchEvent,this,"success"));this.o&&U(t(this.o,this.j));U(r(this.Hj,this))}; f.fq=function(){U(r(this.dispatchEvent,this,"error"));this.l&&U(this.l);U(r(this.Hj,this))};f.abort=function(){this.g.abort();this.Hj();return!1};f.Hj=function(){sg(this.i);this.l=this.o=null};function jp(a){return a.length?a.reduce(function(b,c){return Dg(b,c)},a[0].clone()):null};function kp(a,b,c,d,e){W.call(this);this.s=a;this.ma=b;this.ta=e;this.l=d;this.i=!1;this.o=C("div");c.appendChild(this.o);this.g.ha(b,"mousemove",this.O);this.g.ha(b,"mouseup",this.U)}u(kp,W);kp.prototype.O=function(a){if(!this.oa){a=Hb(new w(a.clientX,a.clientY),Pg(this.ma));a=ug(a,this.ta);K(this.o,{border:"2px dashed #99AAEE",position:"absolute"});var b=a.right-a.left,c=a.bottom-a.top;Jg(this.o,a.left,a.top);L(this.o,b,c);this.j=a}}; kp.prototype.U=function(a){this.O(a);this.oa=!0;a=this.l;var b=zg(this.j),c=Go(this.s);c=lp(b,1/c);b=mp(lp(c,1/a.getSize().width*1E3));a=new R(a.yc());S(a,"ci",[b.left,b.top,b.width,b.height].join());S(a,"jscmd","click3");S(a,"output","text");c=mp(c);np(this.s,[c]);E(this.o);(new ip(a)).Qd(r(this.ka,this,c,b));this.dispatchEvent("endsize")}; kp.prototype.ka=function(a,b,c){c=c.page[0];var d=!1,e=c.clip_highlights;if(e){var g=[];v(e,function(h){g.push(new xg(h.X,h.Y,h.W,h.H))});if(c=c.content)np(this.s,[a],c,b),d=!0}d||this.s.Yf();this.dispose()};function lp(a,b){return new xg(a.left*b,a.top*b,a.width*b,a.height*b)}function mp(a){return new xg(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(a.height))}kp.prototype.qa=function(){kp.na.qa.call(this);E(this.o)};function op(a,b){W.call(this);this.o=a;this.Ba=b}var pp;n(op,Bo);f=op.prototype;f.ie=function(a){Bo.prototype.ie.call(this,a);a=this.l;var b=C("div");V(b,!0);a.appendChild(b);kh(b,"selection-layer");L(a,this.i.getSize());L(b,this.i.getSize());this.g.ha(b,"click",this.hq);this.g.ha(b,"mousedown",this.iq)}; f.iq=function(a){if(pp){a.stopPropagation();this.j&&this.j.dispose();var b=this.i.em;a=Hb(new w(a.clientX,a.clientY),Pg(b));this.j=new kp(this.o,b,this.l,this.i.Ca(),a);this.s=I(document.body,"mousemove",r(this.jq,this));cg(this.j,["endsize","dispose"],r(this.As,this))}};f.hq=function(a){pp&&a.stopPropagation()}; f.jq=function(a){if(this.j&&!this.j.Ed){var b=new w(a.clientX,a.clientY),c=yg(Yg(this.Ba.vb()));if(vg(c,b)){var d=new w(0,0);v([[c.top-a.clientY,0,-1],[c.bottom-a.clientY,0,1],[c.left-a.clientX,-1,0],[c.right-a.clientX,1,0]],function(e){Math.abs(e[0])<40&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.O||(this.O=new kj(100),this.g.ha(this.O,"tick",this.kq));this.U=d;d.x||d.y?this.O.start():this.O.stop()}}};f.kq=function(){var a=this.U,b=this.Ba;ep(b,new w(a.x*15,a.y*15),r(b.Ad,b))}; f.As=function(){kg(this.s);Jf(this.O);this.O=null};function qp(){this.o="Selection copied to clipboard";this.g=!1;var a=B("DIV","entity-page-snackbar"),b=B("SPAN","entity-page-snackbar-text");G(b,this.o);a.appendChild(b);X(a,"hidden",!0);document.body.appendChild(a);this.l=a}qp.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(r(this.i,this),6E3)};qp.prototype.j=function(){K(this.l,"bottom","0");this.g=!0};qp.prototype.i=function(){K(this.l,"bottom","-48px");this.g=!1};function rp(a){this.i=a;this.l=new qp;this.j=sp(this)}rp.prototype.V=function(){return this.j};function sp(a){var b=C("DIV");mh(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("SPAN");O(c,"entity-page-action-chip-icon");var d=C("SPAN");O(d,"entity-page-action-chip-label");G(d,"Copy");b.appendChild(c);b.appendChild(d);I(b,"click",r(a.g,a));Oj(b,"button");Bf(b,!0);I(b,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||a.g.call(a)});return b} rp.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.l.show()};function tp(){}tp.prototype.Jc=function(){};function up(a,b,c,d,e,g,h,k,l){var m=vp(c),p=Yg(a),y=Og(a);y&&Ag(p,zg(y));y=Re(a);var D=Re(c);if(y.g!=D.g){y=y.g.body;D=D.g.defaultView;var H=new w(0,0),F=ff(Te(y));b:{try{Cd(F.parent);var J=!0;break b}catch(ib){}J=!1}if(J){J=y;do{var jb=F==D?Pg(J):Vg(J);H.x+=jb.x;H.y+=jb.y}while(F&&F!=D&&F!=F.parent&&(J=F.frameElement)&&(F=F.parent))}y=Hb(H,Pg(y));p.left+=y.x;p.top+=y.y}a=wp(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);p=new w(b,p.top+(a&1?p.height:0));p=Hb(p,m);e&&(p.x+=(a&4?-1:1)*e.x,p.y+= (a&1?-1:1)*e.y);if(h)if(l)var Ta=l;else if(Ta=Og(c))Ta.top-=m.y,Ta.right-=m.x,Ta.bottom-=m.y,Ta.left-=m.x;return xp(p,c,d,g,Ta,h,k)} function vp(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||Ig(a,"position")!="static"){var c=Pg(a);if(!b){b=ah(a);var d;if(d=b){d=Zj&&ec(bk,10)>=0;var e;if(e=Rd)e=ec(Tj,10)>=0;var g=Yj&&ec(bk,85)>=0;d=Hd||d||e||g}b=d?-a.scrollLeft:b&&Ig(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Hb(c,new w(b,a.scrollTop))}}}return c||new w} function xp(a,b,c,d,e,g,h){a=a.clone();var k=wp(b,c);c=M(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||k!=0)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);g&&(e?(d=h,k=0,(g&65)==65&&(a.x<e.left||a.x>=e.right)&&(g&=-2),(g&132)==132&&(a.y<e.top||a.y>=e.bottom)&&(g&=-5),a.x<e.left&&g&1&&(a.x=e.left,k|=1),g&16&&(l=a.x,a.x<e.left&&(a.x=e.left,k|=4),a.x+d.width>e.right&&(d.width=Math.min(e.right-a.x,l+d.width-e.left), d.width=Math.max(d.width,0),k|=4)),a.x+d.width>e.right&&g&1&&(a.x=Math.max(e.right-d.width,e.left),k|=1),g&2&&(k|=(a.x<e.left?16:0)|(a.x+d.width>e.right?32:0)),a.y<e.top&&g&4&&(a.y=e.top,k|=2),g&32&&(l=a.y,a.y<e.top&&(a.y=e.top,k|=8),a.y+d.height>e.bottom&&(d.height=Math.min(e.bottom-a.y,l+d.height-e.top),d.height=Math.max(d.height,0),k|=8)),a.y+d.height>e.bottom&&g&4&&(a.y=Math.max(e.bottom-d.height,e.top),k|=2),g&8&&(k|=(a.y<e.top?64:0)|(a.y+d.height>e.bottom?128:0)),e=k):e=256,l=e);e=new xg(0, 0,0,0);e.left=a.x;e.top=a.y;e.width=h.width;e.height=h.height;a=l;if(a&496)return a;Jg(b,new w(e.left,e.top));h=e.getSize();Jb(c,h)||dh(b,h);return a}function wp(a,b){return(b&8&&ah(a)?b^4:b)&-9};function yp(a,b){this.Eb=8;this.Ga=b||void 0;Jk.call(this,a)}u(yp,Jk);function zp(a,b){a.Eb=b;a.isVisible()&&a.Vf()}yp.prototype.Zc=function(){return this.Ga||null};yp.prototype.setPosition=function(a){this.Ga=a||void 0;this.isVisible()&&this.Vf()};yp.prototype.Vf=function(){if(this.Ga){var a=!this.isVisible()&&this.getType()!="move_offscreen",b=this.V();a&&(b.style.visibility="hidden",N(b,!0));this.Ga.Jc(b,this.Eb,this.jl);a&&N(b,!1)}};function Ap(a){yp.call(this,a);Lk(this,!1);this.i=new ng;this.g=Ym();O(a,"viewport-selection-popup");Bp&&Bp.dispose();Bp=this}n(Ap,yp);Ap.prototype.j=function(){this.dispatchEvent("close");this.dispose()}; function Cp(a,b,c){var d=a.g?A("selection-popup-table"):a.V(),e=a.g?C("TR"):C("div");O(e,"selection-popup-select-container");d.appendChild(e);d=a.g?C("TD"):C("div");O(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(kf(b));d=a.g?C("TD"):C("div");e.appendChild(d);b=C("input");b.value=c;O(b,"viewport-input");d.appendChild(b);ch(b,!1);a.g&&(c=C("TD"),e.appendChild(c),e=(new rp(b)).V(),c.appendChild(e));a.i.ha(b,"mousedown",Dp)}function Dp(a){a.stopPropagation()} Ap.prototype.qa=function(){E(this.V());yp.prototype.qa.call(this);this.i.dispose()};var Bp=null;function Ep(a,b){this.g=a instanceof w?a:new w(a,b)}u(Ep,tp);Ep.prototype.Jc=function(a,b,c,d){var e=Te(a);var g=e.body;e=e.documentElement;e=new w(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.g.x+e.x;e=this.g.y+e.y;var h=vp(a);g-=h.x;e-=h.y;xp(new w(g,e),a,b,c,null,null,d)};function Fp(a,b){Ep.call(this,a,b)}u(Fp,Ep);Fp.prototype.i=0;Fp.prototype.l=function(a){this.i=a};Fp.prototype.Jc=function(a,b,c,d){var e=Og((a?Te(a):document).documentElement),g=ef(Re(a).g);g=new w(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=xp(g,a,h,c,e,10,d);if((k&496)!=0){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=xp(g,a,h,c,e,10,d);(k&496)!=0&&xp(g,a,b,c,e,this.i,d)}};function Gp(a){Eo.call(this,"#4a95d6");this.j=a}n(Gp,Eo);Gp.prototype.ie=function(a){Eo.prototype.ie.call(this,a);K(this.l,{cursor:"pointer"});this.g.ha(this.l,"mousedown",Hp)};function Hp(a){a.stopPropagation()} function np(a,b,c,d){a.Yf();lb(b,r(a.In,a));a.s&&kg(a.s);a.o&&a.o.dispose();b=C("div");document.body.appendChild(b);var e=jp(a.O);if(e){var g=Pg(a.l);b=new Ap(b);if(c&&d){var h=a.Ca(),k=h.qd();if(k){var l=new R(k);d=[d.left,d.top,d.width,d.height].join();S(l,"ci",d);S(l,"edge",0);l=l.toString();var m=new R(h.yc());S(m,"ci",d);S(m,"source","bookclip");m=Tc('<a href="%s"><img src="%s"/></a>',m.toString(),l)}d=m;nf(b.V());m=b.V();h=C("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";O(h, "selection-popup-close");m.appendChild(h);b.i.ef(h,"click",r(b.j,b));h=B("DIV",{},"Share this clip");O(h,"selection-popup-title");m.appendChild(h);b.g&&(h=B("TABLE",{id:"selection-popup-table"}),m.appendChild(h));c&&(Cp(b,"Selection text",c),m=C("DIV"),O(m,"selection-popup-translate-container"),b.g?(h=tf(A("selection-popup-table")),k=C("TD"),h.appendChild(k),k.appendChild(m)):b.V().appendChild(m),h=new R("https://translate.google.com/translate_t"),S(h,"text",c),S(h,"sl","auto"),S(h,"tl","auto"),c= C("A"),c.href=h.toString(),c.target="_blank",b.g&&(h=C("SPAN"),mh(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),c.appendChild(h)),h=C("SPAN"),G(h,"Translate"),O(h,"entity-page-action-chip-label"),c.appendChild(h),h=C("SPAN"),G(h,"\u00bb"),O(h,"selection-popup-translate-arrow"),c.appendChild(h),O(c,"selection-popup-translate-link"),O(c,"entity-page-action-chip"),m.appendChild(c));l&&Cp(b,"Image",l);d&&Cp(b,"Embed",d)}else c=C("DIV"),G(c,"Loading..."),O(c,"selection-popup-loading-msg"), b.V().appendChild(c);zp(b,4);a.o=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=M(b.V()).width;c-g<24&&(c=g+24);U(t(Ip,b,new Fp(new w(c,e))));a.s=cg(b,"close",r(a.Yf,a))}}function Ip(a,b){a.Ed||(a.setPosition(b),a.wa(!0))}Gp.prototype.Yf=function(){Eo.prototype.Yf.call(this);this.o&&this.o.dispose()};Gp.prototype.qa=function(){Eo.prototype.qa.call(this);this.o&&this.o.dispose();this.s&&kg(this.s)};function Jp(a,b,c){return a.Ta().Li()?new fp(a,b,c):new Vo(a,b,c)}function Kp(a,b){if(b instanceof Vo){Oo(b,new gp(a.Va()));Oo(b,new Io);var c=new Gp(a.vb()),d=new op(c,a.Da());Oo(b,d);Oo(b,c);Oo(b,new Jo(a))}};function Lp(a,b){W.call(this);this.N=a;b=Math.floor(b/2);var c=Math.floor(b/this.N.Ya().g.aspectRatio());this.j=new Ib(b,c);this.i=C("div");K(this.i,{position:"absolute",backgroundColor:"white",top:0,left:0});this.ma=[];a.Da().s.i.appendChild(this.i);this.l=C("div");this.s=C("div");this.ma.push(I(this.l,"dblclick",r(this.pt,this)));a={overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute",border:"1px solid #ccc"};K(this.l,a);K(this.s,a);this.i.appendChild(this.l);this.i.appendChild(this.s); this.U=C("div");this.ka=C("div");this.l.appendChild(this.U);this.s.appendChild(this.ka);Mp(this)}n(Lp,Fj);function Mp(a){a.o&&a.o.Ka();a.O&&a.O.Ka();nf(a.U);nf(a.ka);dh(a.l,a.j);dh(a.s,a.j);a.o=Jp(a.N,new Ko(a.oa,a.j),a.U);Kp(a.N,a.o);a.ta=new Do(!0);Oo(a.o,a.ta);a.O=Jp(a.N,new Ko(a.ya,a.j),a.ka);a.Aa=new Do(!1);Kp(a.N,a.O);Oo(a.O,a.Aa)}f=Lp.prototype;f.setPosition=function(a){a.x<0&&(a.x=0);Jg(this.i,a)};f.pt=function(a){a.preventDefault();a.stopPropagation();this.N.mb("previous")}; f.wa=function(a){K(this.i,{display:a?"":"none"})};f.Lc=function(){K(this.l,{left:0,top:0});K(this.s,{left:this.j.width+"px",top:0})};f.Id=function(){return kb([this.oa,this.ya],function(a){return!!a})};f.Ka=function(){this.o.Ka();this.O.Ka();for(var a;a=this.ma.pop();)kg(a);this.i.parentNode&&E(this.i)};function Np(a){return a*2};function Op(a){this.N=a}n(Op,Um);Op.prototype.render=function(a){var b=new Lp(this.N,a.getSize().width);b.setPosition(a.Zc());b.Lc();b.wa(!0);return this.g=b};function Pp(a,b){var c=a.match(Qp);return c?Number(c[1])*b[c[2]]:Number(a)}var Qp=/^(-?\d+\.?\d*)([KMGTPEZYkmun]?)B?$/,Rp={"":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},Sp={"":1,n:9.313225746154785E-10,u:9.5367431640625E-7,m:1/1024,k:1024,K:1024,M:1048576,G:1073741824,T:1099511627776,P:0x4000000000000,E:0x1000000000000000,Z:1.1805916207174113E21,Y:1.2089258196146292E24};function Tp(a,b){var c=Up(a),d=Up(b);Hl(a)==0||Hl(b)==0?d="This is a preview. The total pages displayed will be limited.":typeof c!=="number"||typeof d!=="number"||c>=d||Math.abs(c-d)==1?d="Some pages are omitted from this book preview.":Vp(a,b)?d="Page "+(--d+" is not part of this book preview."):(a=++c+"",d=--d+"",d="Pages "+a+" to "+d+" are not shown in this preview.");return d}function Up(a){a=a.Za();var b;/[^0-9]/.test(a)||Ub(a)?b=null:b=Tb(a,"B")?Pp(a,Sp):Pp(a,Rp);return b} function Vp(a,b){a=Up(a);b=Up(b);return a+1-(b-1)==0};function Wp(a,b,c){Q.call(this);this.N=a;this.j=b;this.o=M(b).width;this.s=c;this.i=!1;this.g=nj()}n(Wp,Q);Wp.prototype.df=function(){return this.i};function Xp(a,b){if(b!=a.i){a.i=b;var c=a.N.Da().s.i;N(c,!1);M(c);[t(Yp,a.j,a.s,a.o,a.g,b),r(a.l,a),t(N,c,!0)].forEach(U)}}Wp.prototype.l=function(){this.dispatchEvent("change")};function Yp(a,b,c,d,e){var g=b.style.width;d=d?"right":"left";e?(b.style[d]="0",b.style.width=g+c):(b.style[d]="",b.style.width="");N(a,!e)};var Zp=null;function $p(a,b){ng.call(this);this.i=Zp;this.N=a;this.g=b;this.N.Ta().O||(this.ha(this.N,"pageturn",this.l),this.ha(this.g,"dispose",this.dispose))}n($p,ng); $p.prototype.l=function(){var a=this.g.o.g.Id()[0]||new Mm,b=this.g.o.g.Id()[1]||new Mm,c=this.O,d=this.o,e=d?Hl(d):-1,g=Hl(a)||-1,h=Hl(b)||-1,k=Math.max(c?Hl(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.fm){if(l-k>0){var m=k==e?d:c;var p=a}l-k<0&&(m=h!=-1?b:a,p=d);h-g>1&&(m=a,p=b);Vp(m,p)||m===void 0||p===void 0||(a=Tp(m,p),this.i.U(a),this.i.show(3E3))}};function aq(a){an.call(this,a)}n(aq,an);f=aq.prototype;f.zd=function(a){an.prototype.zd.call(this,a);a&&a.additional_info&&(this.g=a.additional_info["[NewspaperJSONPageInfo]"],this.g.articles&&(this.i={},v(this.g.articles,function(b){var c=b.aid;c&&(this.i[c]=new qo(b))},this)))};f.we=function(){return this.l(32)?"Front Cover":this.l(64)?"Back Cover":an.prototype.we.call(this)};f.Kk=function(){return{width:"w"}};f.Gi=ba(9);f.Sn=function(){return this.O};function bq(a){yn.call(this);yn.apply(this,arguments);this.s();I(this,"update",r(this.s,this))}n(bq,yn);function cq(a,b){var c={};v(b.page,function(e){var g=Kl(this,e.pid);g&&fn(g,e);c[e.pid]=!0},a);b=Il(a);var d=kb(b,function(e){return!!c[e.Ja()]||!!this.O[e.Ja()]},a);b.length!=d.length&&a.j(d)}bq.prototype.Uk=function(a){this.o?cq(this,a):yn.prototype.Uk.call(this,a)}; bq.prototype.s=function(){var a={},b=0;v(Il(this),function(h){var k=Hl(h);a[k]=h;b=Math.max(b,k)});for(var c=[],d=-1;d<=b;d+=2){var e=a[d],g=a[d+1];(e||g)&&c.push([e,g])}this.U=c};bq.prototype.l=aq;function dq(a){this.o=a.Seller;this.La=a.Url;this.i=a.TrackingUrl;this.g=a.Price;this.j=a.IsInStock;this.l=a.IsPublisher};function eq(a){this.j=a.page_id;this.i=a.page_number||"";this.g=a.snippet_text||"";this.l=a.page_url}eq.prototype.Ja=function(){return this.j};eq.prototype.yc=function(){return this.l};function fq(a){this.g=a;this.g.number_of_results>0?(this.tb=lb(this.g.search_results,function(b){return new eq(b)},this),this.id=this.g.search_results[0].page_id+gq(this)+this.g.search_results[this.g.number_of_results-1].page_id):this.tb=[]}function hq(a){return a.g.spellresults&&a.g.spellresults.correct_spell?a.g.spellresults.correct_spell:null}function gq(a){return a.g.search_query_escaped};function iq(a,b){W.call(this);this.o=a;this.s=b;this.l=b.j;this.j=b.g;this.i=C("DIV");this.i.className="separator-container";this.o.appendChild(this.i);a=C("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=C("DIV");d.className="separator-background";c.appendChild(d);c=C("TABLE");c.className="separator-inner-table";d.appendChild(c);c.align="center";if(b.i()){var e=A("gb-mobile-menu-pubinfo");if(e){b=Ve("IMG",e);if(b.length== 1){b=b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);qf(g,b,0);O(g,"separator-message");O(g,"separator-pubinfo-message")}b=Tp(this.l,this.j);e=Cf(e);c=c.insertRow(-1).insertCell(-1);g=C("SPAN");g.className="separator-text";c.appendChild(g);var h=this.s;h.i&&h.l?x(g,z(e)):x(g,z(b+"<br>"+e));O(c,"separator-message");O(c,"separator-pubinfo-message")}O(a,"separator-pubinfo");O(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),O(a,"separator-message"),a.textContent=Tp(this.l,this.j); ch(this.i,!0);V(this.i)}n(iq,Fj);iq.prototype.kb=function(a){L(this.i,a)};iq.prototype.setPosition=function(a){Jg(this.i,a)};iq.prototype.Ka=function(){E(this.i)};function jq(a,b,c,d){this.zj=this.Tk=10;this.Zh=this.ai=20;b=Math.floor((b-20)/(100+this.Tk));d&&b>2&&(b-=b%2);vo.call(this,b);Il(a);a=lb(Il(a),function(e){e=new Ei(e);var g=e.getSize();g.width=100;e.kb(g);return e});c&&(c=a[0].getSize(),d=new qi,d.kb(c),this.Na(d));v(a,r(this.Na,this));Ai(this)}u(jq,vo);function kq(a,b){$o.call(this,b);this.yb=a;this.g.ha(a,"pagechange",this.Ld);this.g.ha(this.yb,"searchupdate",this.Rk);if(a=A("subscription-bar"))this.g.ha(this,"scrolldown",t(this.Fk,a)),this.g.ha(this,"scrollup",t(this.Ds,a))}u(kq,$o);f=kq.prototype;f.Id=function(){var a=this.oc.Hd(),b=[];this.ka&&(a=this.ka.Oh(a)[0]||[]);v(a,function(c){c instanceof Ei&&b.push(c.Ca())});return b};f.Uf=function(a){this.Rf(!1,!1);this.Ke(this.ng(a))}; f.Je=function(a){var b=[];this.Bb().Hf()=="fixed_width"&&b.push(this.getSize().width);this.Wd&&(a=wn(this.Wd(),this.Bb().s(),a,b))&&this.Uf(a)};f.ue=function(){this.Rf(!0,!1);var a=this.getSize().width;this.Ke(this.ng(a))};f.af=ba(10);f.Rf=function(a,b){this.og=a;this.Fi=b};f.resize=function(){if(this.og)this.ue();else{var a=this.Bb().s();a&&this.Uf(a)}};f.Ke=function(a){var b=this.Bb();this.Qc(a);b&&(a=Kj(new Jj(b,a),this.Gc()),(a=this.De(a))&&this.Ad(a))};f.Ld=function(){this.Bh||this.Kd(this.yb.Ca())}; f.Kd=function(a){this.oc.xc&&(a=this.oc.xc(a))&&this.Rc(new w(Math.round(a.Ud()),Math.round(a.ad())))};f.Rk=function(){lq&&(this.Lk().Ka(),this.ta&&this.ta(),this.Zb())};var lq=!0;function mq(a,b){this.Ba=a;this.g=b}n(mq,Um);mq.prototype.render=function(a){var b=this.g(),c=a.Ca(),d=fb(this.Ba.Wd().tf)/a.getSize().width,e=a.getSize();b.cj=e.width;b.Dg=e.height;e=a.getSize().clone();e.width*=d;e.height*=d;b.Wt=e.width;b.Tt=e.height;b.setPosition(a.Ud(),a.ad());b.hb(c);b.Lc();return b};function nq(){};function oq(a){this.Ba=a}u(oq,nq);oq.prototype.Jk=function(a){var b=this.Oh(a);a=b[0]||[];b=b[1]||[];b.sort(t(pq,this.Ba.Gc()));var c=[];wb(c,a,b);return c};function pq(a,b,c){return wg(yg(ri(b)),a)-wg(yg(ri(c)),a)}oq.prototype.Oh=function(a){var b=dp(this.Ba),c=new xg(b.left-800,b.top-800,b.width+1600,b.height+1600);return Bb(a,function(d){d=ri(d);if(Bg(c,d))return Bg(b,d)?0:1})};function qq(a,b){this.Ba=b;this.N=a}n(qq,oq);qq.prototype.Jk=function(a){var b=oq.prototype.Jk.call(this,a),c=this.N.Ca();if(c){var d=[],e=this.N.Ya();v([1,-1],function(){var g=Jl(e,c.Ja(),1);g&&d.push(g)});v(a,function(g){g.Ca&&pb(d,g.Ca())&&qb(b,g)})}return b};function rq(a,b,c){W.call(this);this.N=a;this.Ba=b;this.j=C("div");V(this.j,!0);K(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=C("div");V(this.o,!0);K(this.o,{position:"absolute"});this.j.appendChild(this.o);this.s=C("div");V(this.s,!0);this.j.appendChild(this.s);this.O=C("div");V(this.O,!0);this.s.appendChild(this.O);this.ab()}u(rq,Fj);f=rq.prototype; f.Lc=function(){var a=this.cj-2,b=this.Dg-2,c=this.Wt-2,d=this.Tt-2;K(this.s,{backgroundColor:"#cccccc",position:"absolute"});Jg(this.s,0,0);L(this.s,this.cj,this.Dg);K(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});Jg(this.O,1,1);L(this.O,a,b);this.show();var e=this.N;a=Jp(e,new Lo(this.Ca(),new Ib(a,b),new Ib(c,d)),this.O);a instanceof Vo?Kp(e,a):a instanceof fp&&a instanceof fp&&Oo(a,new gp(e.Va()));this.i=a};f.ab=function(){N(this.j,!1)};f.show=function(){N(this.j,!0)}; f.jc=ba(5);f.Ka=function(){this.i&&this.i.Ka();E(this.j)};f.setPosition=function(a,b){Jg(this.j,a,b)};f.ad=function(){return Lg(this.j).x};f.Ud=function(){return Lg(this.j).y};f.hb=function(a){this.l=a};f.Ca=function(){return this.l};f.Ab=function(){return this.Dg};f.qb=function(){return this.cj};function sq(a){return a+2}f.getSize=function(){return new Ib(this.cj,this.Dg)};function tq(a){W.call(this);nf(a);V(a);this.l=a;this.i=C("div");V(this.i,!0);nj()&&(af(a,{dir:"ltr"}),af(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(tq,W);function uq(a,b){tq.call(this,b);this.Ba=a;this.g.ha(b,"scroll",this.s);K(b,"position","relative");K(this.i,"position","absolute");this.j=C("div");O(this.j,"scroll-background");V(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}n(uq,tq);function ap(a){var b=a.ka;a.U&&b&&(K(a.i,"left",Math.floor(Math.max(0,a.Ba.s.l.clientWidth-b.width)/2)+"px"),K(a.j,"height",b.height+"px"))}uq.prototype.ma=function(){this.o=!1;this.s()}; uq.prototype.s=function(){if(!this.o){var a=this.Ba.Cb;if(a){a=a.clone();var b=this.l;b=new w(b.scrollLeft,b.scrollTop);Fb(a,b)||(this.O=!0,this.Ba.Ad(b),this.O=!1)}}};function vq(a){var b=a.vb(),c=new uq(this,b);K(b,"overflow","auto");K(b,{overflowX:"auto",overflowY:"scroll"});O(b,"overflow-scrolling");af(b,{dir:"ltr"});kq.call(this,a,c);cp(this,new qq(a,this));bp(this,wq(this));var d=a.Ya(),e=a.Ta().Hf();this.o=a.Ta().O?function(g){return new xo(d,e,g)}:a.Ta().ma?function(g){return new xo(d,e,g,!0,a.Ta().ma)}:function(g){return new xo(d,e,g,!0)};b=this.yb.Ta();b.Hf()=="fixed_height"?(b=b.Wd(),b=b[Math.floor(b.length/2)]+2):b=xq(b)+2;this.Uf(b);this.g.ha(this.yb, "pagesupdate",this.xt);this.g.ha(this.yb,"pagemodechange",this.lq);this.g.ha(this,"move",this.Zb);this.g.ha(this,"move",this.Fv)}u(vq,kq);f=vq.prototype;f.Hc=function(){this.Je(1)};f.Wc=function(){this.Je(-1)};f.Wd=function(){var a=this.yb.Ta(),b=vb(a.Wd());a.Hf()=="fixed_width"&&(a=this.yb.Ta().Ha)&&a-fb(b)>150&&(a<1500?qb(b,a):qb(b,1500));return new vn(lb(b,sq))};f.ng=function(a){return this.o(a)}; f.getSize=function(){if(this.j.hasChildNodes()){var a=fh(this.j.childNodes[0]).width;a=new Ib(a,this.i.height)}else a=this.i;return a};function wq(a){var b=new sn;tn(b,Ei,new mq(a,t(ui,rq,a.yb,a,a.s.i)));tn(b,to,new zo(a.yb,function(c){return new iq(a.s.i,c)}));return b}f.Fv=function(){if(this.ya){var a=xi(this.oc,this.Gc().y);a&&a.Ca&&(a=a.Ca(),this.yb.Ca()!=a&&(this.Bh=!0,this.yb.wd(a.Ja()),this.Bh=!1))}this.ya=!0}; f.xt=function(){var a=this.yb.Ca(),b=this.yb.Ya(),c=Kl(b,a.Ja());if(!c)a:{c=Hl(a);b=Il(b);for(a=b.length-1;a>=0;a--){var d=b[a];if(Hl(d)<=c){c=d;break a}}c=null}a=this.Cb;b=this.Bb();d=b.xc(c);a=Hb(a,d.Zc());b=this.ng(b.s());c=b.xc(c).Zc();c=new w(c.x+a.x,c.y+a.y);this.Qc(b);this.Ad(c)};f.lq=function(){this.O.Ka();this.Zb()}; f.Dk=function(a){if(a.Sn&&a.O){var b=a.O;if(a.ka!=null)var c=a.ka;else a.ka=new so(this.s.i),c=a.ka;c.g=this.s.i;if(A("focus_article_div")){var d=A("focus_article_div");E(d)}d=this.Bb().xc(a);a=d.qb()/a.he();if(b.Ff()&&(b=b.Ff())){var e=b[0];if(e&&e.length==4){b=a*e[0]+d.Ud();d=a*e[1]+d.ad();var g=a*e[2];a*=e[3];e=C("DIV");e.setAttribute("id","focus_article_div");V(e,!0);Zg(e,.3);K(e,{position:"absolute",left:b+"px",top:d+"px",width:g+"px",height:a+"px",cursor:"pointer",backgroundColor:"#36C",border:"2px solid #00F"}); c.g.appendChild(e)}}}};function yq(a,b,c,d,e){W.call(this);this.N=a;this.Ba=b;this.l=c;var g=C("div");K(g,{position:"absolute"});e=e.width-2;Jg(g,d.x+(nj()?e:0),d.y);b.s.i.appendChild(g);this.i=g;b=Math.floor(e/Fi(c));g=new Ib(e,b);this.j=C("div");this.i.appendChild(this.j);K(this.j,{padding:"1px",position:"absolute"});this.o();b=C("div");this.j.appendChild(b);K(b,{overflow:"hidden",backgroundColor:"#fcfcfc"});L(b,g);this.j.appendChild(b);d=C("IMG");d.title=c.we();this.O=d;e=R;var h=new R(c.s.ro);S(h,"pg",c.Ja());c.lb.sig&& S(h,"sig",c.lb.sig);e=new e(h.toString());S(e,"zoom","1");S(e,"img","1");S(e,"w",g.width);if(g=this.N.Ta().jd)S(e,"imgtk",g),S(e,"jtp",Hl(c));d.src=e.toString();b.appendChild(d);K(this.j,"cursor","pointer");this.g.ha(this.j,"click",this.s);this.g.ha(a,"pagechange",this.o)}n(yq,Fj);yq.prototype.o=function(){var a=!1,b=this.N.Ca();b&&b==this.l&&(a=!0);K(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};yq.prototype.s=function(){this.N.Vb(vq);this.N.hb(this.l);zq.dispatchEvent("click")}; yq.prototype.Ka=function(){Rm(this.O);E(this.i)};var zq=new Q;function Aq(a,b){this.N=a;this.Ba=b}n(Aq,Um);Aq.prototype.render=function(a){return new yq(this.N,this.Ba,a.Ca(),a.Zc(),a.getSize())};function Bq(a){var b=a.vb();K(b,{overflow:"hidden"});var c=new uq(this,b);kq.call(this,a,c);this.g.ha(this,"move",this.Zb);K(b,{overflow:"auto"});bp(this,Cq(this));this.Qc(Dq(this));cp(this,new oq(this));U(r(this.Zb,this),0);this.g.ha(this,"resize",this.o);var d=A("subscription-bar");d&&(this.Fk(d),U(function(){N(d,!1)},600))}u(Bq,kq);Bq.prototype.Kd=function(a){a=this.Bb().xc(a).Zc();this.Ad(new w(void 0,a.y-40))}; function Dq(a){var b=a.yb.Ta().uc;return new jq(a.yb.Ya(),Ym()?Math.min(a.getSize().width,1120):a.getSize().width,b,b)}Bq.prototype.o=function(){this.Qc(Dq(this));this.Kd(this.yb.Ca())};function Cq(a){var b=new sn;tn(b,Ei,new Aq(a.yb,a));return b};function Eq(a){this.tc=a.Title;this.i=a.Pid;this.g=a.PgNum}Eq.prototype.Za=function(){return this.tc};Eq.prototype.getId=function(){return this.i};function Fq(a,b,c,d){Qf.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}u(Fq,Qf);function Gq(a,b){Q.call(this);a&&this.attach(a,b)}u(Gq,Q);f=Gq.prototype;f.ua=null;f.Vi=null;f.bl=null;f.Wi=null;f.Nc=-1;f.Ne=-1;f.Ij=!1; var Hq={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Iq={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Jq=Kd&&Hd;f=Gq.prototype; f.mq=function(a){Id&&(this.Nc==17&&!a.ctrlKey||this.Nc==18&&!a.altKey||Kd&&this.Nc==91&&!a.metaKey)&&(this.Ne=this.Nc=-1);this.Nc==-1&&(a.ctrlKey&&a.keyCode!=17?this.Nc=17:a.altKey&&a.keyCode!=18?this.Nc=18:a.metaKey&&a.keyCode!=91&&(this.Nc=91));vh(a.keyCode,this.Nc,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.Ne=wh(a.keyCode),Jq&&(this.Ij=a.altKey)):this.handleEvent(a)};f.nq=function(a){this.Ne=this.Nc=-1;this.Ij=a.altKey}; f.handleEvent=function(a){var b=a.Mb,c=b.altKey;if(Id&&a.type=="keypress"){var d=this.Ne;var e=b.charCode>=0&&b.charCode<63232&&uh(d)?b.charCode:0}else a.type=="keypress"?(Jq&&(c=this.Ij),b.keyCode==b.charCode?b.keyCode<32?(d=b.keyCode,e=0):(d=this.Ne,e=b.charCode):(d=b.keyCode||this.Ne,e=b.charCode||0)):(d=b.keyCode||this.Ne,e=b.charCode||0),Kd&&e==63&&d==224&&(d=191);var g=d=wh(d);d?d>=63232&&d in Hq?g=Hq[d]:d==25&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Iq&&(g=Iq[b.keyIdentifier]); if(!Hd||a.type!="keypress"||vh(g,this.Nc,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.Nc,this.Nc=g,b=new Fq(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.V=function(){return this.ua};f.attach=function(a,b){this.Wi&&Kq(this);this.ua=a;this.Vi=I(this.ua,"keypress",this,b);this.bl=I(this.ua,"keydown",this.mq,b,this);this.Wi=I(this.ua,"keyup",this.nq,b,this)};function Kq(a){a.Vi&&(kg(a.Vi),kg(a.bl),kg(a.Wi),a.Vi=null,a.bl=null,a.Wi=null);a.ua=null;a.Nc=-1;a.Ne=-1}f.qa=function(){Gq.na.qa.call(this);Kq(this)};function Lq(){}var Mq;Ra(Lq);var Nq={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=Lq.prototype;f.ag=function(){};f.Kc=function(a){return a.g.Ma("DIV",Oq(this,a).join(" "),a.wc())};f.Ec=function(a){return a};function Pq(a,b,c){(a=a.V?a.V():a)&&(c?mh:oh)(a,[b])}f.hi=function(){return!0}; f.Ob=function(a,b){b.id&&a.Fg(b.id);var c=this.Ec(b);c&&c.firstChild?Qq(a,c.firstChild.nextSibling?vb(c.childNodes):c.firstChild):a.eg=null;var d=0,e=this.Pa(),g=this.Pa(),h=!1,k=!1,l=vb(jh(b));l.forEach(function(m){h||m!=e?k||m!=g?d|=this.Ki(m):k=!0:(h=!0,g==e&&(k=!0));this.Ki(m)==1&&zf(c)&&Bf(c,!1)},this);a.je=d;h||(l.push(e),g==e&&(k=!0));k||l.push(g);(a=a.Gd)&&l.push.apply(l,a);h&&k&&!a||kh(b,l.join(" "));return b};f.ii=function(a){Gk(a)&&this.jm(a.V(),!0);a.isEnabled()&&this.Sg(a,a.isVisible())}; function Rq(a,b,c){if(a=c||a.ag())c=b.getAttribute("role")||null,a!=c&&Oj(b,a)}function Sq(a,b,c){var d=b.Fa;d!=null&&a.Lh(c,d);b.isVisible()||X(c,"hidden",!b.isVisible());b.isEnabled()||a.de(c,1,!b.isEnabled());Tq(b,8)&&a.de(c,8,Uq(b,8));Tq(b,16)&&a.de(c,16,Uq(b,16));Tq(b,64)&&a.de(c,64,b.hd())}f.Lh=function(a,b){Sj(a,b)};f.Jj=function(a,b){ch(a,!b,!0)};f.jm=function(a,b){Pq(a,this.Pa()+"-rtl",b)};f.im=function(a){var b;return Tq(a,32)&&(b=a.V())?zf(b):!1}; f.Sg=function(a,b){var c;if(Tq(a,32)&&(c=a.V())){if(!b&&Uq(a,32)){try{c.blur()}catch(d){}Uq(a,32)&&a.ji(null)}zf(c)!=b&&Bf(c,b)}};f.wa=function(a,b){N(a,b);a&&X(a,"hidden",!b)};f.Sc=function(a,b,c){var d=a.V();if(d){var e=this.lh(b);e&&Pq(a,e,c);this.de(d,b,c)}};f.de=function(a,b,c){Mq||(Mq={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Mq[b];var d=a.getAttribute("role")||null;d&&(d=Nq[d]||b,b=b=="checked"||b=="selected"?d:b);b&&X(a,b,c)}; f.dg=function(a,b){var c=this.Ec(a);c&&(nf(c),b&&(typeof b==="string"?G(c,b):(a=function(d){if(d){var e=Te(c);c.appendChild(typeof d==="string"?e.createTextNode(d):d)}},Array.isArray(b)?b.forEach(a):!Ua(b)||"nodeType"in b?a(b):vb(b).forEach(a))))};f.Pa=function(){return"goog-control"};function Oq(a,b){var c=a.Pa(),d=[c],e=a.Pa();e!=c&&d.push(e);c=b.je;for(e=[];c;){var g=c&-c;e.push(a.lh(g));c&=~g}d.push.apply(d,e);(a=b.Gd)&&d.push.apply(d,a);return d}f.lh=function(a){this.i||Vq(this);return this.i[a]}; f.Ki=function(a){if(!this.oa){this.i||Vq(this);var b=this.i,c={},d;for(d in b)c[b[d]]=d;this.oa=c}a=parseInt(this.oa[a],10);return isNaN(a)?0:a};function Vq(a){var b=a.Pa();a.i={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function Wq(){}u(Wq,Lq);Ra(Wq);f=Wq.prototype;f.ag=function(){return"button"};f.de=function(a,b,c){switch(b){case 8:case 16:X(a,"pressed",c);break;default:case 64:case 1:Wq.na.de.call(this,a,b,c)}};f.Kc=function(a){var b=Wq.na.Kc.call(this,a);this.nf(b,a.Xe());var c=a.ub();c&&this.rc(b,c);Tq(a,16)&&this.de(b,16,Uq(a,16));return b};f.Ob=function(a,b){b=Wq.na.Ob.call(this,a,b);var c=this.ub(b);a.ya=c;a.U=this.Xe(b);Tq(a,16)&&this.de(b,16,Uq(a,16));return b};f.ub=function(){};f.rc=function(){}; f.Xe=function(a){return a.title};f.nf=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.kc=function(a,b){var c=Gk(a),d=this.Pa()+"-collapse-left",e=this.Pa()+"-collapse-right",g=c?e:d;b&1?Xq(a,g):Yq(a,g);c=c?d:e;b&2?Xq(a,c):Yq(a,c)};f.Pa=function(){return"goog-button"};var Zq={Yg:"mousedown",Zg:"mouseup",Xg:"mousecancel",Uv:"mousemove",Wv:"mouseover",Vv:"mouseout",Sv:"mouseenter",Tv:"mouseleave"};function $q(a,b){if(!a)throw Error("Invalid class name "+a);if(typeof b!=="function")throw Error("Invalid decorator function "+b);ar[a]=b}var br={},ar={};function cr(a,b,c){Y.call(this,c);if(!b){for(b=this.constructor;b;){var d=Wa(b);if(d=br[d])break;b=(b=Object.getPrototypeOf(b.prototype))&&b.constructor}b=d?typeof d.Hb==="function"?d.Hb():new d:null}this.j=b;this.eg=a!==void 0?a:null;this.Fa=null}u(cr,Y);f=cr.prototype;f.eg=null;f.je=0;f.Sh=39;f.zf=255;f.Rh=0;f.ki=!0;f.Gd=null;f.Kj=!0;f.km=null;function dr(a,b){a.Ra&&b!=a.Kj&&er(a,b);a.Kj=b}f.od=function(){return this.j};function Xq(a,b){b&&(a.Gd?pb(a.Gd,b)||a.Gd.push(b):a.Gd=[b],Pq(a,b,!0))} function Yq(a,b){b&&a.Gd&&rb(a.Gd,b)&&(a.Gd.length==0&&(a.Gd=null),Pq(a,b,!1))}f.Oa=function(){var a=this.j.Kc(this);this.ua=a;Rq(this.j,a,this.We());this.j.Jj(a,!1);this.isVisible()||this.j.wa(a,!1)};f.We=function(){return this.km};f.Nh=ba(2);f.Lh=function(a){this.Fa=a;var b=this.V();b&&this.j.Lh(b,a)};f.Gb=function(){return this.j.Ec(this.V())};f.bi=function(a){return this.j.hi(a)};f.Kb=function(a){this.ua=a=this.j.Ob(this,a);Rq(this.j,a,this.We());this.j.Jj(a,!1);this.ki=a.style.display!="none"}; f.Ia=function(){cr.na.Ia.call(this);Sq(this.j,this,this.ua);this.j.ii(this);if(this.Sh&-2&&(this.Kj&&er(this,!0),Tq(this,32))){var a=this.V();if(a){var b=this.l||(this.l=new Gq);b.attach(a);Z(this).ha(b,"key",this.Mc).ha(a,"focus",this.oq).ha(a,"blur",this.ji)}}}; function er(a,b){var c=Z(a),d=a.V();b?(c.ha(d,Zq.Yg,a.vf).ha(d,[Zq.Zg,Zq.Xg],a.ze).ha(d,"mouseover",a.ye).ha(d,"mouseout",a.Qk),a.xh!=ti&&c.ha(d,"contextmenu",a.xh)):(c.Sa(d,Zq.Yg,a.vf).Sa(d,[Zq.Zg,Zq.Xg],a.ze).Sa(d,"mouseover",a.ye).Sa(d,"mouseout",a.Qk),a.xh!=ti&&c.Sa(d,"contextmenu",a.xh))}f.hc=function(){cr.na.hc.call(this);this.l&&Kq(this.l);this.isVisible()&&this.isEnabled()&&this.j.Sg(this,!1)}; f.qa=function(){cr.na.qa.call(this);this.l&&(this.l.dispose(),delete this.l);delete this.j;this.Gd=this.eg=null};f.wc=function(){return this.eg};function fr(a,b){a.j.dg(a.V(),b);a.eg=b}function Qq(a,b){a.eg=b}f.tg=function(){var a=this.wc();if(!a)return"";a=typeof a==="string"?a:Array.isArray(a)?a.map(Ef).join(""):Cf(a);return Wc(a)};f.isVisible=function(){return this.ki}; f.wa=function(a,b){return b||this.ki!=a&&this.dispatchEvent(a?"show":"hide")?((b=this.V())&&this.j.wa(b,a),this.isEnabled()&&this.j.Sg(this,a),this.ki=a,!0):!1};f.isEnabled=function(){return!Uq(this,1)};f.nb=function(a){var b=this.getParent();b&&typeof b.isEnabled=="function"&&!b.isEnabled()||!gr(this,1,!a)||(a||(hr(this,!1),this.Pc(!1)),this.isVisible()&&this.j.Sg(this,a),this.Sc(1,!a,!0))};f.Pc=function(a){gr(this,2,a)&&this.Sc(2,a)};f.isActive=function(){return Uq(this,4)}; function hr(a,b){gr(a,4,b)&&a.Sc(4,b)}f.Cl=function(a){gr(this,8,a)&&this.Sc(8,a)};f.Qf=function(a){gr(this,16,a)&&this.Sc(16,a)};f.nj=function(a){gr(this,32,a)&&this.Sc(32,a)};f.hd=function(){return Uq(this,64)};f.Nb=function(a){gr(this,64,a)&&this.Sc(64,a)};function Uq(a,b){return!!(a.je&b)}f.Sc=function(a,b,c){c||a!=1?Tq(this,a)&&b!=Uq(this,a)&&(this.j.Sc(this,a,b),this.je=b?this.je|a:this.je&~a):this.nb(!b)};function Tq(a,b){return!!(a.Sh&b)} f.Ub=function(a,b){if(this.Ra&&Uq(this,a)&&!b)throw Error("Component already rendered");!b&&Uq(this,a)&&this.Sc(a,!1);this.Sh=b?this.Sh|a:this.Sh&~a};function ir(a,b){return!!(a.zf&b)&&Tq(a,b)}function gr(a,b,c){return Tq(a,b)&&Uq(a,b)!=c&&(!(a.Rh&b)||a.dispatchEvent(zk(b,c)))&&!a.Ed}f.ye=function(a){!jr(a,this.V())&&this.dispatchEvent("enter")&&this.isEnabled()&&ir(this,2)&&this.Pc(!0)};f.Qk=function(a){!jr(a,this.V())&&this.dispatchEvent("leave")&&(ir(this,4)&&hr(this,!1),ir(this,2)&&this.Pc(!1))}; f.xh=ti;function jr(a,b){return!!a.relatedTarget&&wf(b,a.relatedTarget)}f.vf=function(a){this.isEnabled()&&(ir(this,2)&&this.Pc(!0),Rf(a)&&(ir(this,4)&&hr(this,!0),this.j&&this.j.im(this)&&this.V().focus()));Rf(a)&&a.preventDefault()};f.ze=function(a){this.isEnabled()&&(ir(this,2)&&this.Pc(!0),this.isActive()&&this.kf(a)&&ir(this,4)&&hr(this,!1))}; f.kf=function(a){ir(this,16)&&this.Qf(!Uq(this,16));ir(this,8)&&this.Cl(!0);ir(this,64)&&this.Nb(!this.hd());var b=new Nf("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.vl=a.vl,b.timeStamp=a.timeStamp);return this.dispatchEvent(b)};f.oq=function(){ir(this,32)&&this.nj(!0)};f.ji=function(){ir(this,4)&&hr(this,!1);ir(this,32)&&this.nj(!1)}; f.Mc=function(a){return this.isVisible()&&this.isEnabled()&&this.Xd(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};f.Xd=function(a){return a.keyCode==13&&this.kf(a)};if(typeof cr!=="function")throw Error("Invalid component class "+cr);if(typeof Lq!=="function")throw Error("Invalid renderer class "+Lq);var kr=Wa(cr);br[kr]=Lq;$q("goog-control",function(){return new cr(null)});function lr(){}u(lr,Wq);Ra(lr);f=lr.prototype;f.ag=function(){};f.Kc=function(a){dr(a,!1);a.zf&=-256;a.Ub(32,!1);return a.g.Ma("BUTTON",{"class":Oq(this,a).join(" "),disabled:!a.isEnabled(),title:a.Xe()||"",value:a.ub()||""},a.tg()||"")};f.hi=function(a){return a.tagName=="BUTTON"||a.tagName=="INPUT"&&(a.type=="button"||a.type=="submit"||a.type=="reset")};f.Ob=function(a,b){dr(a,!1);a.zf&=-256;a.Ub(32,!1);if(b.disabled){var c=this.lh(1);O(b,c)}return lr.na.Ob.call(this,a,b)}; f.ii=function(a){Z(a).ha(a.V(),"click",a.kf)};f.Jj=function(){};f.jm=function(){};f.im=function(a){return a.isEnabled()};f.Sg=function(){};f.Sc=function(a,b,c){lr.na.Sc.call(this,a,b,c);(a=a.V())&&b==1&&(a.disabled=c)};f.ub=function(a){return a.value};f.rc=function(a,b){a&&(a.value=b)};f.de=function(){};function mr(a,b,c){cr.call(this,a,b||lr.Hb(),c)}u(mr,cr);f=mr.prototype;f.ub=function(){return this.ya};f.rc=function(a){this.ya=a;this.od().rc(this.V(),a)};f.Xe=function(){return this.U};f.nf=function(a){this.U=a;this.od().nf(this.V(),a)};f.kc=function(a){this.od().kc(this,a)};f.qa=function(){mr.na.qa.call(this);delete this.ya;delete this.U};f.Ia=function(){mr.na.Ia.call(this);if(Tq(this,32)){var a=this.V();a&&Z(this).ha(a,"keyup",this.Xd)}}; f.Xd=function(a){return a.keyCode==13&&a.type=="key"||a.keyCode==32&&a.type=="keyup"?this.kf(a):a.keyCode==32};$q("goog-button",function(){return new mr(null)});function nr(a,b,c,d){d=d===void 0?!1:d;W.call(this);this.N=a;this.o=b;this.j=this.N.Ta().mi;this.U=!!this.N.Ta().mi;this.ma=!!this.N.Ta().Uh;this.l=Ym(c);this.s=d;if(this.U){a:{a=this.N.Ya();for(b=0;b<this.j.length;b++)if(c=Kl(a,this.j[b].getId())){b:{for(d=b+1;d<this.j.length;d++){var e=Kl(this.N.Ya(),this.j[d].getId());if(e){d=e;break b}}d=null}d=d?Hl(d)-1:Hl(fb(Il(a)));e=Hl(this.N.Ca());if(e>=Hl(c)&&e<=d){a=b;break a}}a=-1}this.ka=a}}n(nr,W);f=nr.prototype; f.render=function(a,b){b=b===void 0?2:b;this.i=C("div");document.body.appendChild(this.i);U(r(this.qq,this));this.oa=a;this.U?(this.s&&(this.O=b),or(this)):this.ma?(O(this.i,"base-image-toc-div"),a=this.N.Ta().Uh,(b=Kl(this.N.Ya(),a))&&pr(this,b),this.N.Ta().Jb>1&&(a=Jl(this.N.Ya(),a,1))&&pr(this,a),this.li()):this.dispose()}; f.qq=function(){var a=this;this.g.ha(document,"click",this.dispose);this.g.ha(document,"keydown",function(b){b.keyCode!=13&&b.keyCode!=27||a.dispose()});this.g.ha(this.N,"resize",this.li)};function pr(a,b){var c=new Ib(128,0),d=B("IMG",{width:128});O(d,"toc-page-image");a.g.ha(d,"click",function(){a.N.hb(b)});Hd&&nj()&&a.g.ha(d,"load",a.li);b.qd(c)?a.hp(d,b,c):zm(b,t(a.hp,d,b,c));a.i.appendChild(d)}f.hp=function(a,b,c){af(a,{src:b.qd(c)})}; function or(a){var b=B("DIV",{"class":"toc-div"}),c;v(a.j,function(d,e){d=qr(a,d,e);b.appendChild(d);e==a.ka&&(c=d)});c&&U(function(){var d=c;d.offsetTop+M(d).height>300&&(d=d.previousElementSibling!==void 0?d.previousElementSibling:uf(d.previousSibling,!1))&&(a.i.scrollTop=d.offsetTop);c.focus()});a.i.appendChild(b);M(a.i).height>300&&(K(a.i,"height","300px"),O(a.i,"scroll-toc-div-wide"));O(a.i,"scroll-toc-div");a.li();a.i.tabIndex=-1;Oj(a.i,"dialog");a.i.focus()} f.li=function(){var a=this.l?8:13,b=this.l?9:12,c;this.o instanceof mr?c=this.o.V():c=this.o;up(c,a,this.i,b,new w(0,-this.oa))}; function qr(a,b,c){var d=b.getId(),e=Kl(a.N.Ya(),d);d=b.g;var g=a.j[c+1]?"":"-last",h="toc-middle-cell"+g,k="toc-right-cell"+g;a.s?g=B("A",{"class":e?"toc-row":"toc-disabled-row"}):(g=B("DIV",{"class":e?"toc-row":"toc-disabled-row"}),Oj(g,"button"),Bf(g,!0));var l=C("div");O(l,"goog-inline-block");O(l,"toc-left-cell");c==a.ka&&(O(l,nj()?"SPRITE_toc_selected_item_arrow_right":"SPRITE_toc_selected_item_arrow_left"),O(g,"toc-row-selected"));c=C("div");O(c,"goog-inline-block");O(c,h);Hd&&!Zd("1.9")&& K(c,"overflow","hidden");var m=b.Za(),p=a.l?m:dd(m,35);x(c,z(p));a.l&&(c.title=m);m=C("div");O(m,"goog-inline-block");O(m,k);x(m,z(Ub(gd(d))?" ":d));g.appendChild(l);g.appendChild(c);g.appendChild(m);e?a.s?(d=new R(window.location.href),S(Wh(Wh(d,"pg"),"printsec"),"jtp",b.g),a.O&&S(Wh(d,"zoom"),"zoom",a.O),a.N.Va().getQuery()||Wh(Wh(d,"dq"),"num"),Cc(g,d.toString())):(a.g.ha(g,"click",function(){a.N.hb(e)}),a.g.ha(g,"keydown",function(y){y.keyCode==13&&a.N.hb(e)})):(nh(c,h),O(c,"toc-middle-disabled-cell"), nh(m,k),O(m,"toc-right-disabled-cell"),X(g,"disabled",!0));return g}f.qa=function(){W.prototype.qa.call(this);E(this.i);this.o.focus()};function rr(a){uo.call(this,1);var b=new Ao;b.kb(a);this.Na(b);Ai(this)}n(rr,uo);rr.prototype.mh=function(){return this.g[0]};rr.prototype.s=function(){return this.qb()||0};rr.prototype.Hf=function(){return"fixed_width"};function sr(a){var b=a.vb(),c=new uq(this,b);K(b,{overflow:"hidden"});kq.call(this,a,c);this.o=new Op(a);b=new sn;tn(b,Ao,this.o);this.O=b;b=a.Ya().g.aspectRatio();c=this.getSize();b=this.ng(Math.min(Math.floor(c.height*b)*2,c.width));this.Qc(b);this.ya=new $p(a,this);this.g.ha(this.yb,"pagemodechange",this.rq);U(this.Zb,0,this)}u(sr,kq);f=sr.prototype;f.Wd=function(){var a=ub(tr,this.yb.Ta().Wd());return new vn(lb(a,Np))};f.Ke=function(a){sr.na.Ke.call(this,a);this.O.Ka();this.Zb()};f.Hc=function(){this.Je(1)}; f.Wc=function(){this.Je(-1)};f.rq=function(){this.O.Ka();this.Zb()};f.fm=2;f.ng=function(a){this.getSize();var b=this.yb.Ya().g.aspectRatio();return new rr(new Ib(a,Math.floor(Math.floor(a/2)/b)))};var tr=[180,220,280]; sr.prototype.Ld=function(){var a=ur(this,this.yb.Ca()),b=this.o.g;if(b){var c=this.ya,d=b.Id();c.o=d[0];c.O=d[1];c=a[0];d=a[1];var e=!0;a=!0;b.oa=c;b.ya=d;Mp(b);if(c){if(c.l(64)||d==void 0)a=!1}else b.o.El();if(d){if(d.l(32)||c==void 0)e=!1}else b.O.El();c=e;d=a?"":"hidden";K(b.l,"visibility",c?"":"hidden");K(b.s,"visibility",d);c=c&&a;b.ta.wa(c);b.Aa.wa(c)}this.dispatchEvent("pagechange")};sr.prototype.Id=function(){return this.o.g.Id()}; function ur(a,b){return nb(a.yb.Ya().U,function(c){return pb(c,b)})}sr.prototype.Zb=function(){sr.na.Zb.call(this);this.Ld()};sr.prototype.oa=function(a,b){var c=this.yb.Ya().U;a=Hl(a);for(var d,e,g=0;g<c.length;++g){var h=c[g];if(h[0]&&a==Hl(h[0])||h[1]&&a==Hl(h[1])){d=g;break}else if(e){var k=h[0]||h[1];if(a>=Hl(e[0]||e[1])&&a<Hl(k)){d=b>0?g-b:g;break}}e=h}return(b=c[typeof d==="number"?d+b:0])?b[0]||b[1]:null};function vr(a){this.tc=a.title||"";this.O=!!a.fullview;this.Uh=a.table_of_contents_page_id||"";this.Jb=a.num_toc_pages||"";this.U=a.initial_zoom_width_override;this.Ha=a.max_resolution_image_width;this.uc=!!a.paired_thumbnails;this.jd=a.thumbnail_token||"";this.La=a.containing_bookshelves||[];this.ya=a.volume_id||"";this.ac=a.other_issues_query||"";this.Wa=!!a.is_browsable;this.Fb=!!a.is_public_domain;a.last_page&&(this.ma=new an(a.last_page));this.g=new Ib(a.page_width,a.page_height);this.ka=a.is_ebook|| !1;var b=a.additional_info,c={};b&&(c=b["[JsonBookInfo]"]);c.BuyLinks&&(this.s=lb(c.BuyLinks,function(d){return new dq(d)},this));this.Ea=c.AboutUrl;c.allowed_syndication_flags&&(this.o=c.allowed_syndication_flags.allow_disabling_chrome);c.TocLine&&(this.mi=lb(c.TocLine,function(d){return new Eq(d)}));c.SubscribeLink&&(this.oa=new dq(c.SubscribeLink));c=null;b&&(c=b["[NewspaperJSONVolumeInfo]"]);this.j=c;this.l=c==null?null:new nn(c.tile_h,c.tile_w,c.x_win,c.y_win);this.Ic=a.sample_url||"";this.Eb= a.is_newspaper||!1;(this.ta=a.newspaper_tile_base_url)&&this.l&&on(this.l,r(this.fv,this));this.tf=c?c.res_h:wr;this.Aa=this.Eb?"fixed_height":"fixed_width";this.Mf=a.is_pre_order||!1;this.No=a.on_sale_date||"";this.Pi=a.volumeresult&&a.volumeresult.has_flowing_text;this.Qi=a.volumeresult&&a.volumeresult.has_scanned_text;this.Fa=a.volumeresult&&a.volumeresult.can_download_pdf;this.Ga=a.volumeresult&&a.volumeresult.can_download_epub;this.Ua=a.volumeresult?a.volumeresult.download_pdf_url:"";this.Ib= a.volumeresult?a.volumeresult.download_epub_url:""}n(vr,pn);f=vr.prototype;f.th=ba(11);f.Ji=function(){typeof this.i!=="number"&&(this.i=this.j.read_zm,this.i=typeof this.i==="number"?this.j.read_zm:4,this.i=Eb(this.i,-1,this.Wd().length-1));return this.i};function xq(a){return a.U?a.U:a.g&&a.g.width?a.g.width:575}f.Sb=function(){return this.ya};f.Li=function(){return this.l};f.Wd=function(){return this.tf};f.Hf=function(){return this.Aa}; f.fv=function(a){a=a.toString();var b=a.indexOf("?");b>=0&&(a=this.ta+a.substring(b));return new R(a)};f.oh=function(){return this.j?this.j.focus_aid:null};f.vg=function(){var a=this.j.focus_x,b=this.j.focus_y;return a!==void 0&&b!==void 0?new w(a,b):null};var wr=[350,410,495,575,685,800,910,1025];function xr(a){W.call(this);this.o=a;this.i=null}n(xr,W);f=xr.prototype; f.render=function(a,b){this.j=a;a=a.V();var c=Pg(a).y,d=M(a);c=c+d.height+3;d="";b&&(d=Pg(a).x);this.i=B("DIV",{"class":"linkbar-panel-div"});Jg(this.i,d,c);this.ka=B("DIV",{"class":"SPRITE_close_v2 linkbar-panel-close"});this.i.appendChild(this.ka);Hd&&Kd&&!Zd("1.9")&&(this.O=B("IFRAME",{style:"position: absolute;",kw:"0"}),this.o.appendChild(this.O));this.o.appendChild(this.i);this.O&&(L(this.O,M(this.i)),Jg(this.O,Lg(this.i)));U(r(this.Dl,this))}; f.Dl=function(){this.g.ha(this.ka,"click",this.dispose);this.g.ha(this.j,"action",this.sq);this.g.ha(document,"mousedown",this.ss)};f.sq=function(){Uq(this.j,16)||this.dispose()};f.ss=function(a){wf(this.i,a.target)||wf(this.j.V(),a.target)||this.dispose()};f.qa=function(){W.prototype.qa.call(this);E(this.i);E(this.O)};f.V=function(){return this.i};function yr(a,b,c){xr.call(this,a);this.N=b;this.U=c}n(yr,xr); yr.prototype.render=function(a,b){xr.prototype.render.call(this,a,b);a=B("DIV",{style:"padding-top:5px; font-size: 13px;"});x(a,z("Paste link in <b>email</b> or <b>IM</b>"));this.V().appendChild(a);this.l=C("input");L(this.l,"100%","auto");this.V().appendChild(this.l);this.U&&(a=B("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.V().appendChild(a),this.s=C("input"),L(this.s,"100%","auto"),this.V().appendChild(this.s));a=this.N.Ca();b=(new R(window.location)).i;var c=new R(a.yc()); Mh(c,b);this.l.value=c.toString();U(t(zr,this.l));this.U&&(a=new R(a.yc()),S(a,"output","embed"),this.s.value=Ar(a.toString()))};yr.prototype.Dl=function(){xr.prototype.Dl.call(this);this.g.ha(this.l,"click",t(zr,this.l));this.U&&this.g.ha(this.s,"click",t(zr,this.s))};function zr(a){a.select()}function Ar(a){return Tc('<iframe frameborder="0" scrolling="no" style="border:0px" src="%s" width=500 height=500></iframe>',a)};function Br(a,b){var c=this;this.N=a;this.j=b;this.g=rh();this.i=A("flow-top-div")?!0:!1;(new ng(this)).ha(this.g,"resize",function(){var d=c.N.Da(),e=d.Bb(),g=d.Gc();c.resize();c.N.Da().ue();d=c.N.Da();e=Kj(new Jj(e,d.Bb()),g);d.Ad(d.De(e))}).ha(this.N,"searchupdate",function(){var d=A("gb-ogen-mobile-appbar");if(d){var e=c.g.getSize().height;d=d.getBoundingClientRect().height;e-=d;d=c.g.getSize().width;c.N.kb(new Ib(d,e));c.i&&L(c.j,new Ib(d,e))}}).ha(window,"load",this.resize)} Br.prototype.resize=function(){var a=this.g.getSize().height,b=this.g.getSize().width,c=Math.round(Pg(this.j).y);a=Math.max(0,a-c);this.N.kb(new Ib(b,a));this.i&&L(this.j,new Ib(b,a))};function Cr(){Dr(this)}function Er(a){kg(a.g);a.g=cg(document.body,"mousedown",function(){nh(document.body,"focus-outline-enabled");Dr(a)},{capture:!0})}function Dr(a){kg(a.g);a.g=I(document.body,"keydown",function(b){b.keyCode===9&&(O(document.body,"focus-outline-enabled"),Er(a))})};function Fr(a,b,c,d){d=d===void 0?!1:d;yp.call(this);var e=this;this.tc=a;this.i=b;this.g=c?c:null;this.Wf(Gr(this));if(d){var g=A("ep-lb");I(this,"hide",function(){K(g,"visibility","hidden")});I(this,"beforeshow",function(){K(g,"visibility","visible");P(e.V(),"lightbox-dialog",!0)})}}n(Fr,yp); function Gr(a){var b=B("DIV");mh(b,["popup-menu","goog-menu","goog-menu-vertical"]);Oj(b,"dialog");b.setAttribute("tabindex","-1");document.body.appendChild(b);if(a.tc!=""){var c=B("DIV",{"class":"popup-menu-header"});b.appendChild(c);var d=B("SPAN",{"class":"popup-menu-title"});G(d,a.tc);c.appendChild(d);d=B("DIV",{"class":"popup-menu-close"});Sj(d,"Close popup");var e=B("IMG");e.src="/googlebooks/images/material/close_black_24dp.png";L(e,24,24);X(e,"hidden",!0);d.appendChild(e);I(d,"click",function(){a.wa(!1); a.g&&a.g()});I(d,"keydown",function(g){if(g.keyCode==32||g.keyCode==13)a.wa(!1),a.g&&a.g()});Oj(d,"button");Bf(d,!0);c.appendChild(d)}b.appendChild(a.i);return b};function Hr(a,b,c){this.g=a;this.i=b;this.O=c}u(Hr,tp);Hr.prototype.Jc=function(a,b,c){up(this.g,this.i,a,b,void 0,c,this.O)};function Ir(a,b,c,d){Hr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(Ir,Hr);Ir.prototype.s=function(){return this.j};Ir.prototype.l=function(a){this.j=a};Ir.prototype.Jc=function(a,b,c,d){var e=up(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Jr(e,this.i);b=Jr(e,b);e=up(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Jr(e,g),b=Jr(e,b),up(this.g,g,a,b,null,c,this.j,d,this.o))}};function Jr(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Kr(a,b,c,d,e){this.g=a;this.N=b;this.s=c;this.ka=A("epo-welcome");this.O=A("epo-keyboard");this.j=A("epo-plain-text");this.l=A("epo-plain-text-only");this.o=A("entity-page-toggle-viewport-mode-link");this.U=A("epo-share-link");this.i=e;Lr(this,d);Mr(this,!1)} function Lr(a,b){if(a.s)a.l&&Nr(a,b);else{var c=new Fr("",a.ka,function(){});mh(c.V(),["onboarding-popup","onboarding-fixed-popup","onboarding-welcome-popup"]);Lk(c,!1);var d=A("epo-keyboard-text");x(d,z(Cf(d)));var e=new Fr("",a.O,function(){});mh(e.V(),["onboarding-popup","onboarding-fixed-popup"]);Lk(e,!1);d=Ve("A",d)[0];d.id="ep-keyboard-link";O(d,"onboarding-link");Bf(d,!0);Or(d,function(){a.N.mb("showkeyboardshortcuts")});if(a.j){var g=new Fr("",a.j,function(){});mh(g.V(),["onboarding-popup", "onboarding-plain-text-popup"])}d=new Fr("",a.U,function(){});mh(d.V(),["onboarding-popup","onboarding-share-popup"]);var h=A("entity-page-clip");zp(d,5);d.setPosition(new Ir(h,4,!0));Lk(d,!1);Pr(a,c,e,g,d);Qr(a,c,e,g,d);if(a.i)switch(a.i){case 0:c.wa(!0);break;case 1:e.wa(!0);break;case 2:g?Rr(a,g,b):d.wa(!0);break;default:d.wa(!0)}else c.wa(!0)}} function Pr(a,b,c,d,e){var g=A("epo-welcome-next");Or(g,function(){a.i++;b.wa(!1);c.wa(!0);Mr(a,!1)});g=A("epo-keyboard-next");Or(g,function(){a.i++;c.wa(!1);d?Rr(a,d):e.wa(!0);Mr(a,!1)});a.j&&d&&(g=A("epo-plain-text-next"),Or(g,function(){a.i++;a.g.wa(!1);Lk(a.g,!0);d.wa(!1);e.wa(!0);Mr(a,!1)}))} function Qr(a,b,c,d,e){document.querySelectorAll(".onboarding-link").forEach(function(h){h.id!="ep-keyboard-link"&&Or(h,function(){b.wa(!1);c.wa(!1);d&&(d.wa(!1),a.g.wa(!1),Lk(a.g,!0));e.wa(!1);Sr(a)})});var g=A("epo-done");Or(g,function(){e.wa(!1);Sr(a)})}function Nr(a,b){var c=new Fr("",a.l,function(){});mh(c.V(),["onboarding-popup","onboarding-plain-text-popup"]);Rr(a,c,b);b=A("epo-done-only");Or(b,function(){c.wa(!1);a.g.wa(!1);Lk(a.g,!0);Sr(a)})} function Rr(a,b,c){c!==void 0&&c||(Lk(a.g,!1),a.g.wa(!0));a=A("entity-page-more-menu-content");zp(b,0);b.setPosition(new Ir(a,4,!0));Lk(b,!1);b.wa(!0)}function Sr(a){Mr(a,!0);a.j?im(!0):im(!1)}function Mr(a,b){if(a.o){var c=new R(a.o.href);b?(Wh(c,"ovso"),Wh(c,"ovsopt"),Wh(c,"op")):a.s&&a.l?S(c,"ovsopt","1"):(S(c,"ovso","1"),S(c,"op",a.i));Cc(a.o,c.toString())}}function Or(a,b){I(a,"click",function(){b()});I(a,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||b()})};function Tr(a,b){W.call(this);this.Ba=a;this.j=b;this.i=C("div");a.s.i.appendChild(this.i);O(this.i,"sitb_result");Bf(this.i,!0);Oj(this.i,"link");X(this.i,"disabled",!0);Jd?(K(this.i,"width",b.getSize().width+"px"),K(this.i,"min-height",b.getSize().height+"px")):(Jg(this.i,b.Zc()),L(this.i,b.getSize()));a=C("div");O(a,"sitb-result-header");this.i.appendChild(a);this.l=C("div");O(this.l,"sitb-result-page-link");b=(b=b.g.i)?"Page "+b:"Page";G(this.l,b);Sj(this.l,"Search result: "+b);a.appendChild(this.l); this.o=C("div");O(this.o,"sitb-result-content");this.i.appendChild(this.o);if(a=Kl(this.Ba.N.Ya(),this.j.g.Ja())){b=this.Ba.N.Va().getQuery();var c=a.lb.snippetSrc;c&&b==nm(c)?Ur(this,c):(b=a.Ue(),T(b,"source")=="entity_page"?S(b,"source","entity_page_gbs_snippet"):S(b,"source","gbs_snippet"),cn(a,b,r(this.O,this)))}else Vr(this)}n(Tr,Fj);Tr.prototype.s=function(a){this.Ba.ta(a.g,void 0)};Tr.prototype.O=function(a){(a=a.lb.snippetSrc)?Ur(this,a):Vr(this)}; function Ur(a,b){nf(a.o);var c=C("IMG");c.src=b;Wr(a);b=a.j.getSize().width-25;K(c,{width:b+"px"});a.o.appendChild(c)}function Wr(a){O(a.i,"sitb-result-clickable");O(a.l,"sitb-result-link");var b=Cf(a.l);x(a.l,z(b+" »"));X(a.i,"disabled",!1);a.g.ha(a.i,"click",r(a.s,a,a.j));a.g.ha(a.i,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||a.s(a.j)})} function Vr(a){nf(a.o);var b=C("div");O(b,"sitb-result-snippet");a.o.appendChild(b);Jd||K(b,{width:Math.floor(a.j.getSize().width*.75)+"px"});x(b,ye(De,a.j.g.g));b=C("div");O(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=Kl(a.Ba.N.Ya(),a.j.g.Ja());c&&c.qd()&&!hn(c,[4,8,16])&&c.l(2)?(Wr(a),x(b,z((Jd?"No image for result.":"We couldn't make an image for this result.")+" ")),a=C("span"),c=Jd||Ym()?"Click to view":"Click to view the whole page.",x(a,z(c)),b.appendChild(a),O(a, "sitb-result-link")):(x(b,z("No preview available for this page. ")),Jd||(a=C("a"),O(a,"sitb-result-buy-link"),x(a,z("Buy this book.")),b.appendChild(a),b=new R(window.location.href),S(b,"sitesec","buy"),S(b,"source","gbs_snippet"),Wh(b,"printsec"),a.href=b.toString()))}Tr.prototype.Ka=function(){E(this.i);this.dispose()};function Xr(a){this.Ba=a}n(Xr,Um);Xr.prototype.render=function(a){return new Tr(this.Ba,a)};function Yr(a){this.g=a}n(Yr,qi);function Zr(a,b){uo.call(this,1);this.o=a;this.U=b;this.zj=this.Zh=this.ai=20;a.tb&&(a.tb.forEach(r(this.l,this)),Ai(this))}n(Zr,uo);Zr.prototype.l=function(a){a=new Yr(a);var b=Math.min(this.U-16,600);a.kb(new Ib(b,Math.round(124/600*b+42)));this.Na(a)};function $r(a){var b=a.vb();K(b,"overflow","hidden");var c=new uq(this,b);$o.call(this,c);this.N=a;Jd||cp(this,new oq(this));this.g.ha(this,"move",this.Zb);var d=A("subscription-bar");d&&(this.Fk(d),U(function(){N(d,!1)},600));bp(this,as(this));K(b,"overflow","auto");K(b,{overflowX:"auto",overflowY:"scroll"});af(b,{dir:"ltr"})}u($r,$o);function bs(a,b){b!=a.o&&(a.o=b,cs(a))}function as(a){var b=new sn;tn(b,Yr,new Xr(a));return b}$r.prototype.resize=function(){cs(this)}; function cs(a){var b=new Zr(a.o,a.getSize().width);a.Qc(b);a.Zb()}function ds(a,b){a.ta=b};function es(a){this.g=a||{}}es.prototype.Cc=function(){return this.g};es.prototype.Vb=function(a){var b=Mb(fs,function(c){return c==a});this.g.v=b};es.prototype.getQuery=function(){return this.g.q};var fs={onepage:vq,twopage:sr,thumbnail:Bq,snippet:$r};function gs(a){Nf.call(this,"navigate");this.o=a}u(gs,Nf);var hs={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};var is=/^[a-zA-Z0-9-]+$/,js={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};var ks=new WeakMap;function ls(a,b){a=[a];for(var c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function ms(a,b,c,d){Q.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"+ns;var g=ie("input",{type:"text",name:e,id:e,style:"display:none"});document.write(Gc(g));e=A(e)}this.s=e;this.i=c?ff(Te(c)):window;this.O=b;this.Qa=new kj(150);Lf(this,this.Qa);this.g=!a;this.o=new ng(this);if(a){if(d)var h=d;else{a="history_iframe"+ns;b=this.O;c={id:a,style:"display:none",sandbox:void 0};b&&oc(b);d={};d.src=b||null;d.srcdoc=null; e={sandbox:""};b={};for(var k in d)Object.prototype.hasOwnProperty.call(d,k)&&(b[k]=d[k]);for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(b[l]=e[l]);if(c)for(var m in c)if(Object.prototype.hasOwnProperty.call(c,m)){k=m.toLowerCase();if(k in d)throw Error("");k in e&&delete b[k];b[m]=c[m]}m=void 0;k="";if(b)for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){if(!is.test(h))throw Error("");l=b[h];if(l!=null){c=h;if(c.toLowerCase()=="style")l=String(l);else{if(/^on/i.test(c))throw Error(""); if(c.toLowerCase()in js)if(l instanceof mc)l=oc(l).toString();else if(l instanceof pc)l=rc(l);else if(typeof l==="string")l=wc(l).toString();else throw Error("");}l=c+'="'+Wb(String(l))+'"';k+=" "+l}}h="<iframe"+k;m==null?m=[]:Array.isArray(m)||(m=[m]);hs.iframe===!0?h+=">":(m=ce(m),h+=">"+Gc(m)+"</iframe>");h=Ec(h);document.write(Gc(h));h=A(a)}this.U=h;this.ka=!0}this.g?os(this,ps(this),!0):qs(this,this.s.value);ns++}u(ms,Q);ms.prototype.Lb=!1;ms.prototype.l=!1;ms.prototype.j=null; var rs=function(a,b){function c(g){var h=qa(g);g=h.next().value;h=ra(h);return a.apply(g,h)}function d(g){g=qa(g);g.next();g=ra(g);return b(e,g)}b=b===void 0?ls:b;var e=Wa(a);return function(){var g=Ka.apply(0,arguments),h=this||q,k=ks.get(h);k||(k={},ks.set(h,k));return Dd(k,[this].concat(sa(g)),c,d)}}(function(){return"onhashchange"in q});f=ms.prototype;f.Bg=null;f.qa=function(){ms.na.qa.call(this);this.o.dispose();this.nb(!1)}; f.nb=function(a){a!=this.Lb&&(a?(Hd&&this.o.ha(this.i,"pageshow",this.Lu),rs()&&this.g?(this.o.ha(this.i,"hashchange",this.Gu),this.Lb=!0,this.dispatchEvent(new gs(ps(this),!1))):(this.o.ha(this.Qa,"tick",r(this.lm,this,!0)),this.Lb=!0,this.j=ps(this),this.dispatchEvent(new gs(ps(this),!1)),this.Qa.start())):(this.Lb=!1,sg(this.o),this.Qa.stop()))};f.Lu=function(a){a.Mb.persisted&&(this.nb(!1),this.nb(!0))};f.Gu=function(){var a=ss(this.i);a!=this.j&&ts(this,a,!0)}; function ps(a){return a.Bg!=null?a.Bg:a.g?ss(a.i):us(a)||""}function vs(a,b){ps(a)!=b&&(a.g?(os(a,b,!1),a.Lb&&a.lm(!1)):(qs(a,b,!1),a.Bg=a.j=a.s.value=b,a.dispatchEvent(new gs(b,!1))))}function ss(a){a=a.location.href;var b=a.indexOf("#");return b<0?"":a.substring(b+1)}function os(a,b,c){a=a.i.location;var d=a.href.split("#")[0];if(dc(a.href,"#")||b)d+="#"+b;d!=a.href&&(b=new pc(d),c?Sc(a,b):Rc(a,b))} function qs(a,b,c){if(a.ka||b!=us(a))a.ka=!1,b=encodeURIComponent(String(b)),b=oc(a.O).toString()+"#"+b,(a=a.U.contentWindow)&&(c?Sc(a.location,b):Rc(a.location,b))}function us(a){var b=a.U.contentWindow;if(b){try{var c=Xc(ss(b))}catch(d){return a.l||(a.l!=1&&lj(a.Qa,1E4),a.l=!0),null}a.l&&(a.l!=0&&lj(a.Qa,150),a.l=!1);return c||null}return null} f.lm=function(a){if(this.g){var b=ss(this.i);b!=this.j&&ts(this,b,a)}this.g||(b=us(this)||"",this.Bg!=null&&b!=this.Bg)||(this.Bg=null,b!=this.j&&ts(this,b,a))};function ts(a,b,c){a.j=a.s.value=b;a.g?os(a,b):qs(a,b);a.dispatchEvent(new gs(ps(a),c))}var ns=0;function ws(a,b){this.g=new ms;I(this.g,"navigate",r(this.o,this));this.N=a;this.i=b}ws.prototype.o=function(a){xs(this,a.o)};function xs(a,b){if(!(a.l&&b==""||a.j))if((Fd||Id)&&b=="")window.history.go(-2);else if(b){var c={},d=new Oh(b);v(d.Td(),function(e){var g=d.get(e);g in ys&&(g=ys[g]);c[e]=g});b=new es(c);a.N.Vb(fs[b.g.v]||vq);Xp(a.i,!!b.g.f);b.getQuery()!==void 0&&mm(a.N.Va(),b.getQuery())}} ws.prototype.nb=function(a){this.l=!0;this.g.nb(a);Fd&&(a=(new R(window.location)).i,xs(this,a));this.l=!1};ws.prototype.update=function(){var a=new es;a.Vb(this.N.O);a.g.q=this.N.Va().getQuery();a.g.f=this.i.df();a=Zh(a.Cc()).toString();this.j=!0;vs(this.g,a);this.j=!1};var ys={"true":!0,"false":!1};function zs(a,b,c,d,e,g,h){var k=this;a&&(this.N=a,this.Ib=b);if(this.Aa=c)this.jd=!1;this.Ic=!!d;this.uc=!!e;this.La=g;this.Fb=h===void 0?!1:h;this.O=A("entity-page-toc");this.Ha=A("entity-page-toc-label");this.Jb=!1;if(this.ka=A("entity-page-pagination"))this.ya=A("entity-page-prev"),this.ta=A("entity-page-next"),this.Ua=A("entity-page-floating-hover");this.Ea=A("entity-page-zoom-in");this.Ga=A("entity-page-zoom-out");this.ma=A("entity-page-one-page");this.s=A("entity-page-two-page");this.o=A("entity-page-thumbnail"); this.U=A("entity-page-link");this.Cd=A("entity-page-link-menu-content");this.Eb=A("entity-page-share-input");this.kd=A("entity-page-embed-input");this.j=A("entity-page-clip");this.oa=A("entity-page-more");this.Dd=A("entity-page-more-menu-content");this.Wa=!1;this.Fa=A("entity-page-volume-info");A("flow-top-div")&&(this.g=A("flow-top-div"),this.i=(a=Number(T(new R(window.location.href),"zoom")))?a:2,As(this,this.i),I(this.N,"searchupdate",function(){Bs(k)}));this.l=!0;Cs(this);Ds(this);Es(this);Fs(this); Gs(this);Hs(this);Is(this);Js(this);Ks(this);Ls(this);new Cr;cm(Ms(this))} function Cs(a){if(a.N){var b=a.N.Ta(),c=!!b.mi;b=(b=b.Uh)&&a.N.Ya()&&!!Kl(a.N.Ya(),b);c||b?(a.Jb=!0,a.g?(c=A("jtp").value||"Contents",G(a.Ha,c)):G(a.Ha,a.N.Ca().we()||"Contents"),Ns(a.O,function(){var d=Ze("base-image-toc-div");Ze("scroll-toc-div")||d||(new nr(a.N,a.O,a.La,!!a.g)).render(8,a.i)}),I(a.N,"pagechange",function(){var d=a.N.Ca().we()||"Contents";a.Ha&&x(a.Ha,z(d))})):(G(a.Ha,"Contents unavailable"),mh(a.O,["toolbar-button-disabled","toc-button-unavailable"]),X(a.O,"disabled",!0))}else G(a.Ha, "Contents unavailable"),mh(a.O,["toolbar-button-disabled","toc-button-unavailable"]),X(a.O,"disabled",!0)}function Ds(a){a.ka&&(a.N&&(Ns(a.ya,function(){a.ya.hasAttribute("href")||a.N.mb("previous")}),Ns(a.ta,function(){a.ta.hasAttribute("href")||a.N.mb("next")})),a.ya.setAttribute("title","Previous Page"),a.ta.setAttribute("title","Next Page"))} function Es(a){Ns(a.Ea,function(){a.g?Os(a):a.N&&a.N.mb("zoomin")});Ns(a.Ga,function(){a.g?Ps(a):a.N&&a.N.mb("zoomout")});a.g&&I(document.body,"keydown",function(b){b.keyCode==107||b.keyCode==187||b.keyCode==61?Os(a):(b.keyCode==109||b.keyCode==189||b.keyCode==173)&&Ps(a)});a.Ea.setAttribute("title","Zoom in");a.Ga.setAttribute("title","Zoom out")} function Fs(a){Ns(a.ma,function(){Qs(a,vq)});a.ma.setAttribute("title","Single page view");a.Ic?(Ns(a.s,function(){Qs(a,sr)}),a.s.setAttribute("title","Two page view")):(P(a.s,"toolbar-button-disabled",!0),a.s.setAttribute("title","Two page view unavailable"),X(a.s,"disabled",!0));a.uc?(Ns(a.o,function(){Qs(a,Bq)}),a.o.setAttribute("title","Thumbnail view")):(P(a.o,"toolbar-button-disabled",!0),a.o.setAttribute("title","Thumbnail view unavailable"),X(a.o,"disabled",!0));a.N&&(I(a.N,"viewportmodechange", function(){Rs(a)}),Rs(a))} function Gs(a){var b=(new rp(a.Eb)).V();A("entity-page-share-copy-container").appendChild(b);b=(new rp(a.kd)).V();A("entity-page-embed-copy-container").appendChild(b);var c=new Fr("Link to this result",a.Cd,function(){a.U.focus()});zp(c,5);c.setPosition(new Ir(a.U,4,!0));c.wa(!1);var d=new R(a.Eb.value);Ns(a.U,function(){if(c.Me||Date.now()-c.Xi<150)c.wa(!1);else{c.wa(!0);c.V().focus();if(a.N){Ss(a,d);a.g&&S(d,"bksoutput","text");var e=a.N.Va().getQuery();e?a.N.O==$r?(Wh(d,"dq"),Wh(d,"pg"),S(d,"bsq", e)):(Wh(d,"bsq"),S(d,"dq",e)):(Wh(d,"bsq"),Wh(d,"dq"))}else(e=Gc(ye(De,(new R(window.location.href)).i)).toString())&&S(d,"bsq",e);a.Eb.value=d.toString();a.N&&(e=new R(a.N.Ca().yc()),Wh(e,"source"),S(e,"output","embed"),a.kd.value=Ar(e.toString()))}});a.U.setAttribute("title","Link to this result")} function Hs(a){if(a.Aa){var b=A("entity-page-selection-bar"),c=A("entity-page-exit-selection"),d=A("entity-page-toolbar");Ns(a.j,function(){a.jd=!a.jd;a.Aa(!0);P(b,"menu-hidden",!1);c.focus();X(d,"hidden",!0)});Ns(c,function(){a.Aa(!1);P(b,"menu-hidden",!0);a.j.focus();X(d,"hidden",!1)});a.j.setAttribute("title","Select a clip")}else P(a.j,"toolbar-button-disabled",!0),X(a.j,"disabled",!0),a.j.setAttribute("title","Select a clip unavailable")} function Is(a){Ts(a);Us(a);Vs(a);var b=new Fr("",a.Dd,function(){a.oa.focus()});zp(b,4);b.setPosition(new Ir(a.oa,5,!0));O(b.V(),"more-actions-popup");b.wa(!1);Ws(a,b);var c=A("entity-page-toggle-viewport-mode-link");c&&a.Fb&&(b.wa(!0),c.focus());Ns(a.oa,function(){if(b.Me||Date.now()-b.Xi<150)b.wa(!1),a.oa.focus();else if(b.wa(!0),b.V().focus(),c){var e=new R(c.href);Ss(a,e);a.g&&(Wh(e,"zoom"),Wh(e,"num"),Wh(e,"scoring"));Wh(e,"q");var g=a.N.Va().getQuery();if(g){if(S(e,"dq",g),!a.g){g=A("search-results-summ"); var h=g.hasAttribute("data-result-num")?g.getAttribute("data-result-num"):0;S(e,"num",h);g=g.hasAttribute("data-search-sort")?g.getAttribute("data-search-sort"):"n";S(e,"scoring",g)}}else Wh(e,"dq");Cc(c,e.toString())}});a.oa.setAttribute("title","More actions menu");I(b,"show",function(){a.Wa=!0;a.l=!0;Xs(a)});I(b,"hide",function(){a.Wa=!1;a.l=!1;Ys(a)});if(a.La.showViewportOnboarding||a.La.showViewportPlainTextOnboarding){var d=Number(T(new R(window.location.href),"op"));new Kr(b,a.N,!!a.La.showViewportPlainTextOnboarding, a.Fb,d?d:0)}}function Ws(a,b){var c=A("entity-page-store"),d=A("gb-mobile-buy-section");if(c&&d&&(d=$e("TABLE","gb-mobile-buy-table",d))){var e=new Fr("",d,function(){a.oa.focus()});zp(e,0);e.setPosition(new Ir(c,4,!0));O(e.V(),"buy-table-popup");e.wa(!1);Ns(c,function(){e.wa(!0);e.V().focus()},!0);b.V().querySelectorAll(".more-actions-menu-link").forEach(function(g){g!=c&&I(g,"mouseenter",function(){e.wa(!1)})});I(e.V(),"mouseleave",function(){e.wa(!1)})}} function Js(a){var b=A("ep-keyboard-shortcuts");if(b&&a.N){var c=new Fr("",b,function(){},!0);O(c.V(),"keyboard-shortcuts-popup");b=A("ep-keyboard-close");Ns(b,function(){c.wa(!1)});I(a.N,"keyboardshortcutsopened",function(){c.wa(!0)})}}function Vs(a){var b=A("entity-page-keyboard");b&&a.N&&Ns(b,function(){a.N.mb("showkeyboardshortcuts")})}function Us(a){var b=A("entity-page-copyright-page-id");if(b&&a.N){var c=A("entity-page-copyright");b=Cf(b);var d=Kl(a.N.Ya(),b);Ns(c,function(){a.N.hb(d)})}} function Ts(a){var b=A("entity-page-toggle-viewport-mode-link");if(b){var c=a.g?!0:!1;P(b,"checked",c);X(b,"pressed",c);Ns(b,function(){P(b,"checked",!c);X(b,"pressed",!c)})}} function Rs(a){a.N.O==vq?(Zs(a,!0),$s(a,!0),at(a,!0),bt(a,!0),ct(a,!0),X(a.ma,"current","true"),X(a.s,"current","false"),X(a.o,"current","false")):a.N.O==sr?(Zs(a,!0),$s(a,!0),at(a,!0),bt(a,!0),ct(a,!0),X(a.ma,"current","false"),X(a.s,"current","true"),X(a.o,"current","false")):a.N.O==Bq?(Zs(a,!0),$s(a,!1),at(a,!0),bt(a,!0),ct(a,!1),X(a.ma,"current","false"),X(a.s,"current","false"),X(a.o,"current","true")):(Zs(a,!1),$s(a,!1),at(a,!1),bt(a,!1),ct(a,!1));var b=a.N.O;a.ka&&b!=$r&&!a.g&&(P(a.ka,"one-page-view", b==vq),P(a.Fa,"one-page-view",b==vq),P(a.ka,"two-page-view",b==sr),P(a.Fa,"two-page-view",b==sr),P(a.ka,"thumbnail-view",b==Bq),P(a.Fa,"thumbnail-view",b==Bq))}function Qs(a,b){a.N&&a.N.O!=b&&(a.N.Vb(b),!a.N.Va().getQuery()&&a.Ib&&a.Ib.update())}function Zs(a,b){P(a.ma,"toolbar-button-disabled",!b);X(a.ma,"disabled",!b);a.Ic&&(P(a.s,"toolbar-button-disabled",!b),X(a.s,"disabled",!b));a.uc&&(P(a.o,"toolbar-button-disabled",!b),X(a.o,"disabled",!b))} function $s(a,b){P(a.Ga,"toolbar-button-disabled",!b);X(a.Ga,"disabled",!b);P(a.Ea,"toolbar-button-disabled",!b);X(a.Ea,"disabled",!b)}function at(a,b){P(a.ya,"toolbar-button-disabled",!b);X(a.ya,"disabled",!b);P(a.ta,"toolbar-button-disabled",!b);X(a.ta,"disabled",!b)}function bt(a,b){a.Jb&&(P(a.O,"toolbar-button-disabled",!b),X(a.O,"disabled",!b))}function ct(a,b){a.Aa&&(P(a.j,"toolbar-button-disabled",!b),X(a.j,"disabled",!b))}function Ss(a,b){a=new R(a.N.Ca().yc());S(b,"pg",T(a,"pg"))} function Os(a){a.i<5&&(a.i+=1,As(a,a.i))}function Ps(a){a.i>1&&(--a.i,As(a,a.i))}function As(a,b){P(a.g,"zoomstop1",b==1);P(a.g,"zoomstop2",b==2);P(a.g,"zoomstop3",b==3);P(a.g,"zoomstop4",b==4);P(a.g,"zoomstop5",b==5);P(a.Ga,"toolbar-button-disabled",b==1);P(a.Ea,"toolbar-button-disabled",b==5);Bs(a)} function Bs(a){var b=a.ya,c=new R(b.href);dt(a,c);Cc(b,c.toString());b=a.ta;c=new R(b.href);dt(a,c);Cc(b,c.toString());b=A("text-viewport-prev");c=new R(b.href);dt(a,c);Cc(b,c.toString());b=A("text-viewport-next");c=new R(b.href);dt(a,c);Cc(b,c.toString());if(b=A("entity-page-copyright"))c=new R(b.href),dt(a,c),Cc(b,c.toString());if(b=A("search-result-prev"))c=S(new R(b.href),"zoom",a.i),Cc(b,c.toString());if(b=A("search-result-next"))a=S(new R(b.href),"zoom",a.i),Cc(b,a.toString())} function dt(a,b){S(b,"zoom",a.i);Wh(b,"q");(a=a.N.Va().getQuery())?S(b,"dq",a):Wh(Wh(Wh(b,"dq"),"num"),"scoring")}function Ns(a,b,c){c=c===void 0?!1:c;I(a,"click",function(){b()});I(a,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b()});c&&I(a,"mouseover",function(){b()})} function Ks(a){function b(c){P(document.body,"opaque-background",!0);a.l=!1;c&&Ys(a)}a.Fb?b(!0):(a.N&&(cg(a.N.Da(),"move",function(){b(!0)}),cg(a.N.vb(),"click",function(){b(!0)})),cg(document.body,"click",function(){b(!a.g)}),cg(document.body,"keydown",function(c){c.keyCode!=27&&b(!a.g)}))} function Ls(a){a.N&&(a.g?I(window,"resize",function(){Ys(a)}):(I(a.N,"viewportmodechange",function(){Ys(a)}),I(a.N,"resize",function(){Ys(a)}),I(a.N,"zoomchange",function(){Ys(a)})),I(a.Ua,"mouseenter",function(){a.l=!0;Xs(a)}),I(a.Ua,"mouseleave",function(){a.l=!1;Ys(a)}),document.body.querySelectorAll(".floating-button-group").forEach(function(b){I(b,"mouseenter",function(){a.l=!0;Xs(a)});I(b,"mouseleave",function(){a.l=!1;Ys(a)});I(b,"focusin",function(){a.l=!0;Xs(a)});I(b,"focusout",function(){a.l= !1;Ys(a)})}))}function Ys(a){a.l||a.Wa||(Xs(a),et(a)&&(a.ac=U(function(){ft(a,!1);P(a.Ua,"listen-for-hover",!0)},3E3)))}function et(a){if(!a.N||a.N.O==$r)return!1;var b=a.Fa.getBoundingClientRect();if(a.g)return a=a.g.getBoundingClientRect(),nj()?a.right-54>=b.left:a.left+54<=b.right;a=Ze("scroll-background");if(!a)return!1;a=tf(a);if(!a)return!1;a=a.getBoundingClientRect();return nj()?a.right>=b.left:a.left<=b.right}function Xs(a){ft(a,!0);P(a.Ua,"listen-for-hover",!1);a.ac&&mj(a.ac)} function ft(a,b){P(a.Fa,"floating-button-group-hidden",!b);a.ka&&P(a.ka,"floating-button-group-hidden",!b)}function Ms(a){return{focusSearch:function(){A("search_form_input").focus()},updateSearch:function(b){mm(a.N.Va(),b);a.Ib&&a.Ib.update()},goToPage:function(b){b&&a.N.wd(b)}}};function gt(a,b){this.g=a;this.l=b}function ht(a,b){var c=C("DIV");O(c,"sitb-content");var d=C("H4");O(d,"sitb-result-header");var e=C("DIV"),g=a.g.i;g=g?"Page "+g:"Page";G(e,g);Sj(d,"Search result: "+g);d.appendChild(e);b&&!a.l&&(a=C("SPAN"),O(a,"sitb-no-preview-msg"),G(a,"No preview available for this page."),d.appendChild(a));c.appendChild(d);return c};function it(a){this.g=a}Ra(it);function jt(a,b){a&&(a.tabIndex=b?0:-1)}f=it.prototype;f.Lj=function(a){return a.tagName=="DIV"};function kt(a,b,c){c.id&&b.Fg(c.id);var d=a.fg(),e=!1,g=jh(c);g&&Array.prototype.forEach.call(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.nb(!1):h==d+"-horizontal"?lt(b,"horizontal"):h==d+"-vertical"&<(b,"vertical"))},a);e||O(c,d);mt(a,b,c);return c} function mt(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(d.nodeType==1){var g=a.nh(d);g&&(g.ua=d,b.isEnabled()||g.nb(!1),b.Xa(g),Ck(g,d))}else d.nodeValue&&Vb(d.nodeValue)!=""||c.removeChild(d);d=e}}f.nh=function(a){a:{a=jh(a);for(var b=a.length,c=0;c<b;c++){var d=a[c];if(d=d in ar?ar[d]():null){a=d;break a}}a=null}return a};f.Mj=function(a){a=a.V();ch(a,!0,Hd);var b=this.g;b&&Oj(a,b)};f.fg=function(){return"goog-container"};f.Pn=function(){return"vertical"};function nt(a,b,c){Y.call(this,c);this.Oe=b||it.Hb();this.Lf=a||this.Oe.Pn()}u(nt,Y);f=nt.prototype;f.dl=null;f.wf=null;f.Oe=null;f.Lf=null;f.ke=!0;f.Lb=!0;f.qg=!0;f.Xb=-1;f.Yb=null;f.Yd=!1;f.qe=null;function ot(a){return a.dl||a.V()}f.od=function(){return this.Oe};f.Oa=function(){var a=this.g,b=a.Ma,c=this.Oe.fg(),d=[c,this.Lf=="horizontal"?c+"-horizontal":c+"-vertical"];this.isEnabled()||d.push(c+"-disabled");this.ua=b.call(a,"DIV",d.join(" "))};f.Gb=function(){return this.V()};f.bi=function(a){return this.Oe.Lj(a)}; f.Kb=function(a){this.ua=kt(this.Oe,this,a);a.style.display=="none"&&(this.ke=!1)};f.Ia=function(){nt.na.Ia.call(this);Dk(this,function(b){b.Ra&&pt(this,b)},this);var a=this.V();this.Oe.Mj(this);this.wa(this.ke,!0);Z(this).ha(this,"enter",this.Ok).ha(this,"highlight",this.uq).ha(this,"unhighlight",this.xq).ha(this,"open",this.wt).ha(this,"close",this.tq).ha(a,Zq.Yg,this.wq).ha(Te(a),[Zq.Zg,Zq.Xg],this.Ws).ha(a,[Zq.Yg,Zq.Zg,Zq.Xg,"mouseover","mouseout","contextmenu"],this.Rs);this.qg&&qt(this,!0)}; function qt(a,b){var c=Z(a),d=ot(a);b?c.ha(d,"focus",a.oi).ha(d,"blur",a.ni).ha(a.wf||(a.wf=new Gq(ot(a))),"key",a.Mc):c.Sa(d,"focus",a.oi).Sa(d,"blur",a.ni).Sa(a.wf||(a.wf=new Gq(ot(a))),"key",a.Mc)}f.hc=function(){this.Od(-1);this.Yb&&this.Yb.Nb(!1);this.Yd=!1;nt.na.hc.call(this)};f.qa=function(){nt.na.qa.call(this);this.wf&&(this.wf.dispose(),this.wf=null);this.Oe=this.Yb=this.qe=this.dl=null};f.Ok=function(){return!0}; f.uq=function(a){var b=Hk(this,a.target);if(b>-1&&b!=this.Xb){var c=rt(this);c&&c.Pc(!1);this.Xb=b;c=rt(this);this.Yd&&hr(c,!0);this.Yb&&c!=this.Yb&&(Tq(c,64)?c.Nb(!0):this.Yb.Nb(!1))}b=this.V();a.target.V()!=null&&X(b,"activedescendant",a.target.V().id)};f.xq=function(a){a.target==rt(this)&&(this.Xb=-1);this.V().removeAttribute("aria-activedescendant")};f.wt=function(a){(a=a.target)&&a!=this.Yb&&a.getParent()==this&&(this.Yb&&this.Yb.Nb(!1),this.Yb=a)}; f.tq=function(a){a.target==this.Yb&&(this.Yb=null);var b=this.V(),c=a.target.V();b&&Uq(a.target,2)&&c&&Rj(b,c)};f.wq=function(a){this.Lb&&(this.Yd=!0);var b=ot(this);b&&zf(b)?b.focus():a.preventDefault()};f.Ws=function(){this.Yd=!1}; f.Rs=function(a){a:{var b=a.target;if(this.qe)for(var c=this.V();b&&b!==c;){var d=b.id;if(d in this.qe){b=this.qe[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case Zq.Yg:b.vf(a);break;case Zq.Zg:case Zq.Xg:b.ze(a);break;case "mouseover":b.ye(a);break;case "mouseout":b.Qk(a);break;case "contextmenu":b.xh(a)}};f.oi=function(){};f.ni=function(){this.Od(-1);this.Yd=!1;this.Yb&&this.Yb.Nb(!1)}; f.Mc=function(a){return this.isEnabled()&&this.isVisible()&&(Ek(this)!=0||this.dl)&&this.Xd(a)?(a.preventDefault(),a.stopPropagation(),!0):!1}; f.Xd=function(a){var b=rt(this);if(b&&typeof b.Mc=="function"&&b.Mc(a)||this.Yb&&this.Yb!=b&&typeof this.Yb.Mc=="function"&&this.Yb.Mc(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.qg)ot(this).blur();else return!1;break;case 36:st(this);break;case 35:tt(this);break;case 38:if(this.Lf=="vertical")ut(this);else return!1;break;case 37:if(this.Lf=="horizontal")Gk(this)?vt(this):ut(this);else return!1;break;case 40:if(this.Lf=="vertical")vt(this); else return!1;break;case 39:if(this.Lf=="horizontal")Gk(this)?ut(this):vt(this);else return!1;break;default:return!1}return!0};function pt(a,b){var c=b.V();c=c.id||(c.id=b.getId());a.qe||(a.qe={});a.qe[c]=b}f.Xa=function(a,b){nt.na.Xa.call(this,a,b)}; f.jg=function(a,b,c){a.Rh|=2;a.Rh|=64;a.Ub(32,!1);dr(a,!1);var d=a.getParent()==this?Hk(this,a):-1;nt.na.jg.call(this,a,b,c);a.Ra&&this.Ra&&pt(this,a);a=d;a==-1&&(a=Ek(this));a==this.Xb?this.Xb=Math.min(Ek(this)-1,b):a>this.Xb&&b<=this.Xb?this.Xb++:a<this.Xb&&b>this.Xb&&this.Xb--}; f.removeChild=function(a,b){if(a=typeof a==="string"?Ak(this,a):a){var c=Hk(this,a);c!=-1&&(c==this.Xb?(a.Pc(!1),this.Xb=-1):c<this.Xb&&this.Xb--);var d=a.V();d&&d.id&&this.qe&&(c=this.qe,d=d.id,d in c&&delete c[d])}a=nt.na.removeChild.call(this,a,b);dr(a,!0);return a};function lt(a,b){if(a.V())throw Error("Component already rendered");a.Lf=b}f.isVisible=function(){return this.ke}; f.wa=function(a,b){if(b||this.ke!=a&&this.dispatchEvent(a?"show":"hide")){this.ke=a;var c=this.V();c&&(N(c,a),this.qg&&jt(ot(this),this.Lb&&this.ke),b||this.dispatchEvent(this.ke?"aftershow":"afterhide"));return!0}return!1};f.isEnabled=function(){return this.Lb};f.nb=function(a){this.Lb!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Lb=!0,Dk(this,function(b){b.Hp?delete b.Hp:b.nb(!0)})):(Dk(this,function(b){b.isEnabled()?b.nb(!1):b.Hp=!0}),this.Yd=this.Lb=!1),this.qg&&jt(ot(this),a&&this.ke))}; function wt(a,b){b!=a.qg&&a.Ra&&qt(a,b);a.qg=b;a.Lb&&a.ke&&jt(ot(a),b)}f.Od=function(a){(a=Fk(this,a))?a.Pc(!0):this.Xb>-1&&rt(this).Pc(!1)};f.Pc=function(a){this.Od(Hk(this,a))};function rt(a){return Fk(a,a.Xb)}function st(a){xt(a,function(b,c){return(b+1)%c},Ek(a)-1)}function tt(a){xt(a,function(b,c){b--;return b<0?c-1:b},0)}function vt(a){xt(a,function(b,c){return(b+1)%c},a.Xb)}function ut(a){xt(a,function(b,c){b--;return b<0?c-1:b},a.Xb)} function xt(a,b,c){c=c<0?Hk(a,a.Yb):c;var d=Ek(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=Fk(a,c);if(g&&a.wn(g)){a.Od(c);break}e++;c=b.call(a,c,d)}}f.wn=function(a){return a.isVisible()&&a.isEnabled()&&Tq(a,2)};function yt(a){Y.call(this);this.j=a?a:null;var b=this.g;a=b.V("gb-mobile-buy-panel");var c=b.V("gb-mobile-buy-button"),d=b.V("gb-mobile-buy-close-button");b=b.V("volume-left");a&&c&&d&&b&&(this.i=new nt,Ck(this.i,a),this.o=c,this.U=d,Ck(this,b),this.i.wa(!1))}n(yt,Y);yt.prototype.Ia=function(){var a=this;Z(this).ha(this.o,"click",this.l).ha(this.o,"keydown",function(b){b.keyCode!=32&&b.keyCode!=13||a.l()}).ha(this.U,"click",this.l).ha(this.U,"keydown",function(b){b.keyCode!=32&&b.keyCode!=13||a.l()})}; yt.prototype.l=function(){if(this.i.isVisible()){this.i.wa(!1);nh(this.i.Gb(),"gb-mobile-buy-panel-visible");this.j&&(this.j.style.overflowX="auto",this.j.style.overflowY="scroll");this.o.focus();for(var a=qa(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open')),b=a.next();!b.done;b=a.next())b.value.removeAttribute("aria-hidden")}else this.i.wa(!0),O(this.i.Gb(),"gb-mobile-buy-panel-visible"),this.j&&(this.j.style.overflowX="hidden",this.j.style.overflowY="hidden"),this.i.Gb().focus(), zt(this)};function zt(a){var b=a.i.Gb().querySelectorAll('[role="button"],[href]'),c=b[0],d=b[b.length-1];Z(a).ha(a.i.Gb(),"keydown",function(e){e.keyCode==9&&(e.shiftKey?document.activeElement===c&&(e.preventDefault(),d.focus()):document.activeElement===d&&(e.preventDefault(),c.focus()))});a=qa(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open'));for(b=a.next();!b.done;b=a.next())X(b.value,"hidden",!0)};function At(a){this.Tb=fo(a)}n(At,po);f=At.prototype;f.getEnableSsEngine=function(){return no(this,2)};f.getEnableAwr=function(){return no(this,3)};f.getAlohaAutoGaRollout=function(){return no(this,5)};f.getEnableConfigurator=function(){return no(this,6)};f.getEnableMweb=function(){return no(this,7)};f.getEnableCtlConsentCheckbox=function(){return no(this,8)};f.getEnableIframe=function(){return no(this,9)};f.getEnableScreenshotNudge=function(){return no(this,10)}; f.getEnableWebStartupConfigEndpoint=function(){return no(this,11)};f.getEnableJunkNudge=function(){return no(this,12)};f.getEnableConfiguratorLocale=function(){return no(this,13)};f.getEnableTinyNoPointer=function(){return no(this,14)};f.getEnableSupportSessionLogging=function(){return no(this,15)};f.getEnableFileUploadForScreenshot=function(){return no(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return no(this,17)};f.getEnableImageSanitization=function(){return no(this,18)}; f.getEnableAlohaBinarySplit=function(){return no(this,19)};f.getEnableDbFeedbackIntents=function(){return no(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return no(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return no(this,22)};f.getEnableRealtimeCtl=function(){return no(this,23)};function Bt(a){this.Tb=fo(a)}n(Bt,po);function Ct(a){return Dt.some(function(b){return b.test(a)})}var Dt=[/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/];var Et="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(" ");var Ft=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Gt=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]); function Ht(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&Et.includes(d)?d:c&&Et.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var g;return(b==null?0:(g=b.getEnableAlohaBinarySplit)==null?0:g.call(b))?Ie(Ft,a):Ie(Gt,a,d)};var It,Jt;function Kt(a,b,c,d){if(It)return It;var e=Ht(a,d);return It=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Kc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h(Error("feedbackV2GlobalObject not found on window."))};k.onerror=function(){h(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(k)})} function Lt(a,b,c,d){if(Jt)return Jt;var e=Ht(a,d);return Jt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Kc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h(Error("feedbackV2GlobalObject not found on window."))};k.onerror=function(){h(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(k)})} function Mt(a,b,c,d,e){e=e===void 0?!0:e;var g,h,k,l,m;return Ha(function(p){switch(p.g){case 1:return g=Date.now(),Aa(p,Kt(a,c,d,b),2);case 2:h=p.j;if(!(e||((l=a.initializationData)==null?0:l.useNightlyRelease)||((m=a.initializationData)==null?0:m.isLocalServer))){k=h.initializeFeedbackClient(a,g,b);p.g=3;break}return Aa(p,h.initializeFeedbackClientAsync(a,g,b),4);case 4:k=p.j;case 3:return k.initiateAloha(),p.return(k)}})} function Nt(a,b,c,d){var e,g,h;return Ha(function(k){if(k.g==1)return e=Date.now(),Aa(k,Lt(a,c,d.document,b),2);if(k.g!=3)return g=k.j,Aa(k,g.initializeFeedbackClientAsync(a,e,b,d),3);h=k.j;h.initiateAloha();return k.return(h)})} function Ot(a,b,c){var d=!0;d=d===void 0?!0:d;var e,g,h,k,l,m,p,y,D,H;return Ha(function(F){e=c||q;if((g=b)==null?0:(k=(h=g).getEnableAlohaBinarySplit)==null?0:k.call(h)){l=e;if(l.isFormOpened)throw m=Error("Form is either loading or already opened"),m.name="DuplicateFormError",m;l.isFormOpened=!0;a.callbacks=a.callbacks||{};p=a.callbacks.onClose||function(){};a.callbacks.onClose=function(J){l.isFormOpened=!1;p(J)};try{return F.return(Nt(a,b,l,e))}catch(J){throw l.isFormOpened=!1,J;}}else{y=e;if(y.isFormOpened)throw D= Error("Form is either loading or already opened"),D.name="DuplicateFormError",D;y.isFormOpened=!0;a.callbacks=a.callbacks||{};H=a.callbacks.onClose||function(){};a.callbacks.onClose=function(J){y.isFormOpened=!1;H(J)};try{return F.return(Mt(a,b,y,e.document,d))}catch(J){throw y.isFormOpened=!1,J;}}F.g=0})};function Pt(a,b){return Ha(function(c){return c.return(new Promise(function(d){var e=Qt(b!=null?b:"")+"/aloha_form_properties?productId="+a;hi(e,function(g){g=g.target;var h=null;try{var k=JSON.stringify(pi(g,")]}'\n"));if(k==null||k=="")h=new Bt;else{var l=JSON.parse(k);if(!Array.isArray(l))throw Error("dnarr");Sn(l,32);h=new Bt(l)}}catch(m){k=new Bt,l=new At,l=oo(l,5,!0),l=oo(l,2,!0),l=oo(l,4,!1),l=oo(l,8,!0),l=oo(l,9,!0),l=oo(l,7,!0),l=oo(l,10,!0),l=oo(l,12,!0),l=oo(l,13,!1),l=oo(l,14,!0),l=oo(l, 15,!0),l=oo(l,20,!1),l==null&&(l=void 0),g=l,jo(k),h=k.Tb,mo(h,h[Rn]|0,1,g),l&&!Xn(l)&&ko(k.Tb),h=k}d(h)},"GET","",{},2E3,!0)}))})}function Qt(a){return Ct(a)?a:"https://www.google.com/tools/feedback"};function Rt(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||q,e=d.document,g=a.nonce||Ic("script",d.document);g&&!a.nonce&&(a.nonce=g);if(a.flow=="help"){var h=Qa("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d, b);else{d=c+"/load.js?";for(var l in a)b=a[l],b==null||Va(b)||(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=If(Re(e),"SCRIPT");g&&a.setAttribute("nonce",g);Kc(a,nc(d));e.body.appendChild(a)}} function St(a,b,c,d){var e,g;Ha(function(h){e=c||q;var k=a.serverEnvironment==="DEV",l=c||q;l=a.nonce||Ic("script",l.document);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,Ew:void 0,defaultFormInputValues:void 0, defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:l,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback, enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(l=new Map(Object.entries(b)),k.extraData.productSpecificData=l);g=k;return Aa(h,Ot(g,d,e),0)})} function Tt(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,"");Hc(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Rt(a,b,c):Pt(a.productId,a.feedbackServerUri).then(function(e){var g=e.Tb,h=g[Rn]|0;var k=g;var l=lo(k,h,1);var m=h;if(l!=null&&typeof l==="object"&&Wn(l))m=l;else if(Array.isArray(l)){var p=l[Rn]|0,y=p;y===0&&(y|=m&32);y|=m&2;y!==p&&Tn(l,y);m=new At(l)}else m=void 0;m!==l&&m!=null&&(h=mo(k,h,1,m),Xn(m)||ko(k,h));k=m;k!=null&&(h=g[Rn]|0,Xn(e,h)|| (l=k,m=l.Tb,p=m[Rn]|0,Xn(l,p)&&(l=new l.constructor(ao(m,p,ho,!0,!0)),m=l.Tb,m[Rn]&=-3),l!==k&&(io(e)&&(g=e.Tb,h=g[Rn]|0),k=l,h=mo(g,h,1,k),ko(g,h))));e=k;g=!Jd||(e==null?void 0:e.getEnableMweb());k=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&k?St(a,b,c,e):Rt(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Rt(a,b,c)})}catch(e){St(a,b,c,null)}}bb("userfeedback.api.startFeedback",Tt);function Ut(a,b,c){Y.call(this);if(this.j=A("gb-mobile-appbar-back-button"))Z(this).ha(this.j,"click",this.l),Vt(this);(this.i=A("gb-mobile-appbar-more"))&&Wt(this);var d=A("gb-mobile-appbar-search-button");d&&b&&(I(d,"click",function(){Xt(b,c)}),I(d,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||Xt(b,c)}));new yt(a)}n(Ut,Y); function Wt(a){var b=A("gb-mobile-more-menu");if(b){var c=new yp(b);zp(c,4);c.setPosition(new Ir(a.i,4));c.wa(!1);I(a.i,"click",function(){Yt(b,c)});I(a.i,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||Yt(b,c)})}else E(a.i)}function Yt(a,b){nh(a,"more-menu-hidden");b.wa(!0);b.V().focus();a=Ye("more-menu-link");for(var c=0;c<a.length;c++)I(a[c],"click",function(){b.wa(!1)}),I(a[c],"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b.wa(!1)})} function Xt(a,b){var c=A("gb-mobile-search"),d=$g(c);N(c,!d);d?a.blur():a.focus();b&&b.resize()}Ut.prototype.l=function(){window.history.back();Nd&&Yj&&window.history.length==1&&window.close()};function Vt(a){Rd&&dc(md(),"GSA")&&(O(a.j,"igsa-hide"),a=a.g.V("gb-mobile-appbar-logo"),O(a,"igsa-shift"))}bb("_OC_startFeedback",Tt);function Zt(a){Q.call(this);a=a||Re();this.g=a.Ma("IFRAME",{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-hidden":"true"});a=a.g.body;a.insertBefore(this.g,a.firstChild);a:{a=this.g;try{var b=a.contentWindow||(a.contentDocument?ff(a.contentDocument):null);break a}catch(c){}b=null}this.i=b;Hd&&(b=this.i.document,b.open(),b.close());I(this.i,"resize",this.j,!1,this);this.l=this.g.offsetWidth}u(Zt,Q); Zt.prototype.qa=function(){Zt.na.qa.call(this);jg(this.i,"resize",this.j,!1,this);this.i=null;E(this.g);delete this.g};Zt.prototype.j=function(){var a=this.g.offsetWidth;this.l!=a&&(this.l=a,this.dispatchEvent("fontsizechange"))};function $t(a){this.i=a;a=r(this.j,this);this.g=new qh;I(this.g,"resize",a);var b=new Zt;I(b,"fontsizechange",a);I(window,"DOMContentLoaded",r(this.resize,this))}$t.prototype.j=function(){this.resize();U(r(this.resize,this),100)};$t.prototype.resize=function(){var a=this.g.getSize(),b=Math.round(Pg(this.i).y);this.i.style.height=a.height-b+"px"};function au(a){var b=null;if(a=A(a))b=new $t(a),b.resize();return b};function bu(a,b){Y.call(this,b);this.j=a}u(bu,Y);bu.prototype.i="info";bu.prototype.l=!1;var cu={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};bu.prototype.getType=function(){return this.i};function du(a,b){if(a.Gb()){var c=a.V(),d=cu[b];nh(c,cu[a.i]);O(c,d)}a.i=b}function eu(a,b){a.j=b;if(b=a.V()){var c=a.g;c.Yl(b);c.Wl(b,a.j)}}bu.prototype.isVisible=function(){var a=this.V();return a!=null&&lh(a,"jfk-butterBar-shown")}; bu.prototype.wa=function(a){P(this.V(),"jfk-butterBar-shown",a)};function fu(a,b){a.l=b;(b=a.V())&&P(b,"jfk-butterBar-mini",a.l)}bu.prototype.Oa=function(){this.ua=this.g.Ma("DIV","jfk-butterBar");var a=this.V();a&&(X(a,"live","assertive"),X(a,"atomic","true"));eu(this,this.j);fu(this,this.l);du(this,this.i)};function gu(a,b){Y.call(this,b);this.i=a||""}var hu;u(gu,Y);f=gu.prototype;f.Sd=null;function iu(){hu==null&&(hu="placeholder"in C("INPUT"));return hu}f.yh=!1;f.Oa=function(){this.ua=this.g.Ma("INPUT",{type:"text"})};f.Kb=function(a){gu.na.Kb.call(this,a);this.i||(this.i=a.getAttribute("label")||"");Hf(Te(a))==a&&(this.yh=!0,a=this.V(),nh(a,"label-input-label"));iu()&&(this.V().placeholder=this.i);a=this.V();X(a,"label",this.i)}; f.Ia=function(){gu.na.Ia.call(this);var a=new ng(this);a.ha(this.V(),"focus",this.Yn);a.ha(this.V(),"blur",this.Ps);if(iu())this.j=a;else{Hd&&a.ha(this.V(),["keypress","keydown","keyup"],this.et);var b=Te(this.V());a.ha(ff(b),"load",this.Mt);this.j=a;ju(this)}ku(this);this.V().ka=this};f.hc=function(){gu.na.hc.call(this);this.j&&(this.j.dispose(),this.j=null);this.V().ka=null};function ju(a){!a.l&&a.j&&a.V().form&&(a.j.ha(a.V().form,"submit",a.it),a.l=!0)} f.qa=function(){gu.na.qa.call(this);this.j&&(this.j.dispose(),this.j=null)};f.Yn=function(){this.yh=!0;var a=this.V();nh(a,"label-input-label");iu()||lu(this)||this.o||!this.V()||(this.V().value="")};f.Ps=function(){iu()||(this.j.Sa(this.V(),"click",this.Yn),this.Sd=null);this.yh=!1;ku(this)};f.et=function(a){a.keyCode==27&&(a.type=="keydown"?this.Sd=this.V().value:a.type=="keypress"?this.V().value=this.Sd:a.type=="keyup"&&(this.Sd=null),a.preventDefault())}; f.it=function(){lu(this)||(this.V().value="",U(this.Ms,10,this))};f.Ms=function(){lu(this)||(this.V().value=this.i)};f.Mt=function(){ku(this)};function lu(a){return!!a.V()&&a.V().value!=""&&a.V().value!=a.i}f.clear=function(){this.V().value="";this.Sd!=null&&(this.Sd="")};f.reset=function(){lu(this)&&(this.clear(),ku(this))};f.rc=function(a){this.Sd!=null&&(this.Sd=a);this.V().value=a;ku(this)};f.ub=function(){return this.Sd!=null?this.Sd:lu(this)?this.V().value:""};f.we=function(){return this.i}; function ku(a){var b=a.V();iu()?a.V().placeholder!=a.i&&(a.V().placeholder=a.i):ju(a);X(b,"label",a.i);lu(a)?(a=a.V(),nh(a,"label-input-label")):(a.o||a.yh||(b=a.V(),O(b,"label-input-label")),iu()||U(a.ev,10,a))}f.nb=function(a){this.V().disabled=!a;var b=this.V();P(b,"label-input-label-disabled",!a)};f.isEnabled=function(){return!this.V().disabled};f.ev=function(){!this.V()||lu(this)||this.yh||(this.V().value=this.i)};function mu(a,b,c){gu.call(this,c!=null?c:"Search in this book");this.Kb(a);this.Ia();b&&this.rc(b)}n(mu,gu);function nu(a,b,c){this.o=a;this.j=b;this.s=c;this.g=A("text-viewport-snippet-container");this.i=Ze("html-div")} function ou(a){nf(a.g);a.o.tb.forEach(function(b,c){var d=Kl(a.s,b.Ja());var e=new gt(b,d?d:null);if(e.g.g){var g=ht(e,!0),h=C("DIV");O(h,"sitb-snippet-text");x(h,ye(De,e.g.g));g.appendChild(h);e=g}else e=null;e&&b.Ja()&&(g=d?C("A"):C("DIV"),O(g,"text-viewport-snippet-link"),d?(b=S(S(S(S(Mh(Wh(Wh(new R(window.location.href),"jtp"),"q"),""),"pg",b.Ja()),"dq",Zc(gq(a.o))),"num",c),"scoring",a.j),Cc(g,b.toString())):(Bf(g,!0),Oj(g,"link"),X(g,"disabled",!0)),g.appendChild(e),a.g.appendChild(g))})} function pu(a,b){a=Jd?A("viewport"):a.i;P(document.body,"text-viewport-snippet-view",b);P(a,"exit-search-view",!b);b&&(a.scrollTop=0)};function qu(a,b){this.g=a instanceof w?a:new w(a,b)}u(qu,tp);qu.prototype.Jc=function(a,b,c,d){xp(this.g,a,b,c,null,null,d)};function ru(a,b){this.g=a instanceof w?a:new w(a,b)}u(ru,tp);ru.prototype.Jc=function(a,b,c,d){up((a?Te(a):document).documentElement,0,a,b,this.g,c,null,d)};function su(a,b,c){this.l=c||(a?Re(A(a)):Re());yp.call(this,this.l.Ma("DIV",{style:"position:absolute;display:none;"}));this.s=new w(1,1);this.Wb=new Set;this.O=null;a&&this.attach(a);b!=null&&this.jp(b)}u(su,yp);var tu=[];f=su.prototype;f.Rb=null;f.className="goog-tooltip";f.Hg=500;f.Ah=0;f.attach=function(a){a=A(a);this.Wb.add(a);I(a,"mouseover",this.ye,!1,this);I(a,"mouseout",this.Ni,!1,this);I(a,"mousemove",this.zg,!1,this);I(a,"focus",this.mm,!1,this);I(a,"blur",this.Ni,!1,this)}; function uu(a){a.Wb.forEach(function(b){jg(b,"mouseover",a.ye,!1,a);jg(b,"mouseout",a.Ni,!1,a);jg(b,"mousemove",a.zg,!1,a);jg(b,"focus",a.mm,!1,a);jg(b,"blur",a.Ni,!1,a)});a.Wb.clear()}f.Mk=function(){return this.Ah};f.jp=function(a){G(this.V(),a)};f.Bl=function(a){var b=this.V();b&&x(b,a)}; f.Wf=function(a){var b=this.V();b&&E(b);su.na.Wf.call(this,a);a?(b=this.l.g.body,b.insertBefore(a,b.lastChild),Jf(this.O),this.O=new vk(this.V()),Lf(this,this.O),I(this.O,"focusin",this.lg,void 0,this),I(this.O,"focusout",this.Ph,void 0,this)):(Jf(this.O),this.O=null)};function vu(a){return a.Aa?a.isVisible()?4:1:a.ma?3:a.isVisible()?2:0}f.Si=function(a){if(!this.isVisible())return!1;var b=Pg(this.V()),c=M(this.V());return b.x<=a.x&&a.x<=b.x+c.width&&b.y<=a.y&&a.y<=b.y+c.height}; f.rl=function(){if(!Jk.prototype.rl.call(this))return!1;if(this.g)for(var a,b=0;a=tu[b];b++)wf(a.V(),this.g)||a.wa(!1);qb(tu,this);a=this.V();a.className=this.className;this.lg();I(a,"mouseover",this.Sk,!1,this);I(a,"mouseout",this.eo,!1,this);wu(this);return!0};f.Ng=function(){rb(tu,this);for(var a=this.V(),b,c=0;b=tu[c];c++)b.g&&wf(a,b.g)&&b.wa(!1);this.Wa&&this.Wa.Ph();jg(a,"mouseover",this.Sk,!1,this);jg(a,"mouseout",this.eo,!1,this);this.g=void 0;vu(this)==0&&(this.La=!1);Jk.prototype.Ng.call(this)}; f.Fh=function(a,b){this.g==a&&this.Wb.has(this.g)&&(this.La||!this.uc?(this.wa(!1),this.isVisible()||(this.g=a,this.setPosition(b||this.Ii(0)),this.wa(!0))):this.g=void 0);this.Aa=void 0};f.Ao=function(a){this.ma=void 0;if(a==this.g){a=this.l;var b;a=(b=Hf(a.g))&&this.V()&&a.Xl(this.V(),b);this.Rb!=null&&(this.Rb==this.V()||this.Wb.has(this.Rb))||a||this.ka&&this.ka.Rb||this.wa(!1)}};function xu(a,b){var c=df(a.l.g);a.s.x=b.clientX+c.x;a.s.y=b.clientY+c.y} f.ye=function(a){var b=yu(this,a.target);this.Rb=b;this.lg();b!=this.g&&(this.g=b,this.uj(b),zu(this),xu(this,a))};function yu(a,b){try{for(;b&&!a.Wb.has(b);)b=b.parentNode;return b}catch(c){return null}}f.zg=function(a){xu(this,a);this.La=!0};f.mm=function(a){this.Rb=a=yu(this,a.target);this.La=!0;if(this.g!=a){this.g=a;var b=this.Ii(1);this.lg();this.uj(a,b);zu(this)}};f.Ii=function(a){return a==0?(a=this.s.clone(),new Au(a)):new Bu(this.Rb)}; function zu(a){if(a.g)for(var b,c=0;b=tu[c];c++)wf(b.V(),a.g)&&(b.ka=a,a.Wa=b)}f.Ni=function(a){var b=yu(this,a.target),c=yu(this,a.relatedTarget);b!=c&&(b==this.Rb&&(this.Rb=null),wu(this),this.La=!1,!this.isVisible()||a.relatedTarget&&wf(this.V(),a.relatedTarget)?this.g=void 0:this.Ph())};f.Sk=function(){var a=this.V();this.Rb!=a&&(this.lg(),this.Rb=a)};f.eo=function(a){var b=this.V();this.Rb!=b||a.relatedTarget&&wf(b,a.relatedTarget)||(this.Rb=null,this.Ph())}; f.uj=function(a,b){this.Aa||(this.Aa=U(r(this.Fh,this,a,b),this.Hg))};function wu(a){a.Aa&&(mj(a.Aa),a.Aa=void 0)}f.Ph=function(){vu(this)==2&&(this.ma=U(r(this.Ao,this,this.g),this.Mk()))};f.lg=function(){this.ma&&(mj(this.ma),this.ma=void 0)};f.qa=function(){this.wa(!1);wu(this);uu(this);this.V()&&E(this.V());this.Rb=null;delete this.l;su.na.qa.call(this)};function Au(a,b){ru.call(this,a,b)}u(Au,ru); Au.prototype.Jc=function(a,b,c){b=Og((a?Te(a):document).documentElement);c=c?new tg(c.top+10,c.right,c.bottom,c.left+10):new tg(10,0,0,10);xp(this.g,a,8,c,b,9)&496&&xp(this.g,a,8,c,b,5)};function Bu(a){Hr.call(this,a,5)}u(Bu,Hr);Bu.prototype.Jc=function(a,b,c){var d=new w(10,0);up(this.g,this.i,a,b,d,c,9)&496&&up(this.g,4,a,1,d,c,5)};function Cu(a,b){Q.call(this);this.ne=C("div");a.appendChild(this.ne);K(this.ne,{position:"absolute",backgroundColor:"#b2c4e9",width:"100%",height:"5px",cursor:"pointer"});this.g=new Du(this.ne,b);I(this.ne,"click",r(this.dispatchEvent,this,"click"));I(this.g.V(),"click",r(this.dispatchEvent,this,"click"));I(this.ne,"mouseover",r(this.i,this,!0));I(this.ne,"mouseout",r(this.i,this,!1))}n(Cu,Q);function Eu(a,b){K(a.ne,{backgroundColor:b?"#ffcc00":"#b2c4e9"});a.j=b} Cu.prototype.i=function(a){this.j||K(this.ne,{backgroundColor:a?"#ffffcc":"#b2c4e9"})};Cu.prototype.qa=function(){this.g.dispose();Q.prototype.qa.call(this)};function Du(a,b){su.call(this,a);this.i=a;this.Hg=200;this.Ah=500;a=this.V();K(a,{backgroundColor:"#FFF",color:"#333",border:"1px solid #6b90da",padding:"6px",fontSize:"83%",width:"350px",cursor:"pointer"});var c=C("div");K(c,{fontWeight:"bold"});c.appendChild(kf("Page "+b.i));a.appendChild(c);c=C("div");x(c,z(b.g));a.appendChild(c)}n(Du,su); Du.prototype.Fh=function(a){var b=Pg(this.i),c=M(this.V());su.prototype.Fh.call(this,a,new qu(b.x-c.width,Math.min(b.y,cf().height-c.height)))};function Fu(a,b,c){W.call(this);var d=this;this.N=a;this.o=b;this.ma=c;this.j={};this.O=new ng;this.i=C("div");K(this.i,{backgroundColor:"#fcfcff",position:"absolute"});this.N.nd().appendChild(this.i);this.o.tb.forEach(function(e){Gu(d,e)});this.g.ha(this.N,"pagechange",this.ka);this.ka();this.g.ha(this.N,"resize",this.l);this.g.ha(this.N,"viewportmodechange",this.U);this.N.Da()&&this.U()}n(Fu,W); Fu.prototype.ka=function(){this.s&&(Eu(this.s,!1),this.s=null);var a=this.j[this.N.Ca().Ja()];a&&(this.s=a,Eu(a,!0))};Fu.prototype.U=function(){var a=this,b=this.N.Da(),c=b instanceof vq;c&&this.l();sg(this.O);this.O.ha(b,"layoutchange",function(){a.l()});N(this.i,c)};Fu.prototype.l=function(){var a=this;U(function(){var b=a.N.Da();b&&b instanceof vq&&(b=b.s.l,L(a.i,15,b.clientHeight),Jg(a.i,b.clientWidth-15,0),Hu(a))},10)}; function Hu(a){var b={};a.N.Da().Bb().Hd(function(c){return c instanceof Ei}).forEach(function(c){b[c.Ca().Ja()]=c});a.o.tb.forEach(function(c){var d=a.N.Da().s.i.clientHeight,e=b[c.Ja()];if(e){var g=Kd?5:15;Jg(a.j[c.Ja()].ne,0,Math.floor(e.ad()/d*(a.i.clientHeight-g-(Kd?30:15)))+g)}})}function Gu(a,b){var c=new Cu(a.i,b);a.j[b.Ja()]=c;a.g.ha(c,"click",function(){a.ma(b)})}Fu.prototype.qa=function(){E(this.i);Kb(this.j,function(a){a.qa.call(a)});W.prototype.qa.call(this)};function Iu(a){W.call(this);this.i=a;this.j="n"}n(Iu,W);function Ju(a,b,c){Ku(a.i.j);var d=new R(window.location.href);S(d,"jscmd","SearchWithinVolume");S(d,"q",b);S(d,"scoring",c);(new ip(d)).Qd(function(e){Lu(a,!1,e)});a.j=c} function Lu(a,b,c,d,e){c.search_results&&(c.search_results=kb(c.search_results,function(g){return g.snippet_text!==void 0&&g.snippet_text}),c.number_of_results=c.search_results.length);a.o=new fq(c);Zm()&&(e&&(a.j=e),a.l=new nu(a.o,a.j,a.i.N.Ya()));c=a.i.N;c.O||c.Vb(vq);e=a.o.tb;e.length==0?Mu(a.i.j):b?d?(b=e.find(function(g){return d==g.Ja()}))?Nu(a,b):Nu(a,e[0],d):Nu(a,e[0]):Ou(a);a.s=new Fu(c,a.o,function(g){Nu(a,g)})} function Ou(a){var b=a.i.N,c=b.O;if(c==vq||c==sr)a.i.l=c;b.Vb($r);b=b.Da();Pu(a.i.j);Zm()?(ou(a.l),pu(a.l,!0)):(bs(b,a.o),ds(b,function(d,e){return Nu(a,d,e)}),b.Rc(new w(0,0)))} function Nu(a,b,c,d){lq=!0;var e=a.i.j;Qu(e,!1);e.j=gb(e.i.o.tb,b);e.o?(Ru(e,!0),x(e.l,z(e.j+1+" of "+e.i.o.tb.length)),Sj(e.l,"Result "+(e.j+1)+" of "+e.i.o.tb.length),e.o&&e.l.setAttribute("data-result-num",e.j)):x(e.l,z("Result <b>"+(e.j+1+"</b> of <b>")+(e.i.o.tb.length+"</b> in this book for <b>")+(gq(e.i.o)+"</b>")));e=a.i.N;b=Kl(e.Ya(),b.Ja());if(!b)return null;var g=e.Da();g instanceof vq||g instanceof sr||(a.i.l==sr?e.Vb(sr):e.Vb(vq));if(c)return e.wd(c),null;if(d)return wm(e,d),null;e.wh(b); return b}Iu.prototype.qa=function(){Jf(this.s);W.prototype.qa.call(this)};var Su="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Tu(a){var b=b===void 0?window.location.href:b;var c=new R(b);S(a,"hl","en");(b=T(c,"output"))&&S(a,"output",b);b=T(c,"source");b=="ge-ipad-app"?(S(a,"dapp","2"),Wh(a,"output")):b=="ge-tablet-app"?(S(a,"dapp","4"),Wh(a,"output")):b=="ge-ip-app"?S(a,"dapp","1"):b=="ge-android-app"&&S(a,"dapp","3");T(c,"authuser")||Wh(a,"authuser");Su.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function Uu(){this.g=[]}u(Uu,Lq);Ra(Uu);function Vu(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.Pa()+"-highlight";break;case 1:c=a.Pa()+"-checkbox";break;case 2:c=a.Pa()+"-content"}a.g[b]=c}return c}f=Uu.prototype;f.ag=function(){return"menuitem"};f.Kc=function(a){var b=a.g.Ma("DIV",Oq(this,a).join(" "),Wu(this,a.wc(),a.g));Xu(this,a,b,Tq(a,8)||Tq(a,16));return b};f.Ec=function(a){return a&&a.firstChild}; f.Ob=function(a,b){var c=tf(b),d=Vu(this,2);c&&lh(c,d)||b.appendChild(Wu(this,b.childNodes,a.g));lh(b,"goog-option")&&(a.Mh(!0),this.Mh(a,b,!0));return Uu.na.Ob.call(this,a,b)};f.dg=function(a,b){var c=this.Ec(a),d=Yu(this,a)?c.firstChild:null;Uu.na.dg.call(this,a,b);d&&!Yu(this,a)&&c.insertBefore(d,c.firstChild||null)};function Wu(a,b,c){a=Vu(a,2);return c.Ma("DIV",a,b)}f.ip=function(a,b,c){a&&b&&Xu(this,a,b,c)};f.Mh=function(a,b,c){a&&b&&Xu(this,a,b,c)}; function Yu(a,b){return(b=a.Ec(b))?(b=b.firstChild,a=Vu(a,1),!!b&&vf(b)&&lh(b,a)):!1}function Xu(a,b,c,d){Rq(a,c,b.We());Sq(a,b,c);d!=Yu(a,c)&&(P(c,"goog-option",d),c=a.Ec(c),d?(a=Vu(a,1),c.insertBefore(b.g.Ma("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.lh=function(a){switch(a){case 2:return Vu(this,0);case 16:case 8:return"goog-option-selected";default:return Uu.na.lh.call(this,a)}}; f.Ki=function(a){var b=Vu(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Uu.na.Ki.call(this,a)}};f.Pa=function(){return"goog-menuitem"};function Zu(a,b,c,d){cr.call(this,a,d||Uu.Hb(),c);this.rc(b)}u(Zu,cr);f=Zu.prototype;f.ub=function(){var a=this.ml;return a!=null?a:this.tg()};f.rc=function(a){this.ml=a};f.Ub=function(a,b){Zu.na.Ub.call(this,a,b);switch(a){case 8:Uq(this,16)&&!b&&this.Qf(!1);(a=this.V())&&this.od().ip(this,a,b);break;case 16:(a=this.V())&&this.od().Mh(this,a,b)}};f.ip=function(a){this.Ub(8,a)};f.Mh=function(a){this.Ub(16,a)}; f.tg=function(){var a=this.wc();return Array.isArray(a)?(a=lb(a,function(b){return vf(b)&&(lh(b,"goog-menuitem-accel")||lh(b,"goog-menuitem-mnemonic-separator"))?"":Ef(b)}).join(""),Wc(a)):Zu.na.tg.call(this)};f.ze=function(a){var b=this.getParent();if(b){var c=b.l;b.l=null;if(c&&typeof a.clientX==="number"&&Fb(c,new w(a.clientX,a.clientY)))return}Zu.na.ze.call(this,a)};f.Xd=function(a){return a.keyCode==this.ll&&this.kf(a)?!0:Zu.na.Xd.call(this,a)};f.Hs=function(){return this.ll}; $q("goog-menuitem",function(){return new Zu(null)});Zu.prototype.We=function(){return Tq(this,16)?"menuitemcheckbox":Tq(this,8)?"menuitemradio":Zu.na.We.call(this)};Zu.prototype.getParent=function(){return cr.prototype.getParent.call(this)};Zu.prototype.yg=function(){return cr.prototype.yg.call(this)};function $u(a,b,c,d){Ir.call(this,a,b,c||d);(c||d)&&this.l(65|(d?32:132))}u($u,Ir);function av(){}u(av,Lq);Ra(av);av.prototype.Pa=function(){return"goog-menuheader"};function bv(a,b,c){cr.call(this,a,c||av.Hb(),b);this.Ub(1,!1);this.Ub(2,!1);this.Ub(4,!1);this.Ub(32,!1);this.je=1}u(bv,cr);$q("goog-menuheader",function(){return new bv(null)});function cv(){}u(cv,Lq);Ra(cv);cv.prototype.Kc=function(a){return a.g.Ma("DIV",this.Pa())};cv.prototype.Ob=function(a,b){b.id&&a.Fg(b.id);if(b.tagName=="HR"){var c=b;b=this.Kc(a);of(b,c);E(c)}else O(b,this.Pa());return b};cv.prototype.dg=function(){};cv.prototype.Pa=function(){return"goog-menuseparator"};function dv(a,b){cr.call(this,null,a||cv.Hb(),b);this.Ub(1,!1);this.Ub(2,!1);this.Ub(4,!1);this.Ub(32,!1);this.je=1}u(dv,cr);dv.prototype.Ia=function(){dv.na.Ia.call(this);var a=this.V();Oj(a,"separator")};$q("goog-menuseparator",function(){return new dv});function ev(a){this.g=a||"menu"}u(ev,it);Ra(ev);f=ev.prototype;f.Lj=function(a){return a.tagName=="UL"||ev.na.Lj.call(this,a)};f.nh=function(a){return a.tagName=="HR"?new dv:ev.na.nh.call(this,a)};f.Rd=function(a,b){return wf(a.V(),b)};f.fg=function(){return"goog-menu"};f.Mj=function(a){ev.na.Mj.call(this,a);a=a.V();X(a,"haspopup","true")};function fv(a){dv.call(this,cv.Hb(),a)}u(fv,dv);$q("goog-menuseparator",function(){return new dv});function gv(a,b){nt.call(this,"vertical",b||ev.Hb(),a);wt(this,!1)}u(gv,nt);f=gv.prototype;f.hk=!0;f.Rd=function(a){if(this.od().Rd(this,a))return!0;for(var b=Ek(this),c=0;c<b;c++){var d=Fk(this,c);if(typeof d.Rd=="function"&&d.Rd(a))return!0}return!1};f.Na=function(a){this.Xa(a,!0)};f.Re=function(a,b){this.jg(a,b,!0)};f.Hd=function(){var a=[];Dk(this,function(b){a.push(b)});return a};f.setPosition=function(a,b){var c=this.isVisible();c||N(this.V(),!0);Wg(this.V(),a,b);c||N(this.V(),!1)}; f.Zc=function(){return this.isVisible()?Pg(this.V()):null};function hv(a,b){(a.hk=b)&&wt(a,!0)}f.wa=function(a,b,c){(b=gv.na.wa.call(this,a,b))&&a&&this.Ra&&this.hk&&ot(this).focus();a&&c&&typeof c.clientX==="number"?this.l=new w(c.clientX,c.clientY):this.l=null;return b};f.Ok=function(a){this.hk&&ot(this).focus();return gv.na.Ok.call(this,a)};f.wn=function(a){return a.isEnabled()&&a.isVisible()&&Tq(a,2)}; f.Kb=function(a){for(var b=this.od(),c=Xe(this.g.g,"DIV",b.fg()+"-content",a),d=c.length,e=0;e<d;e++)mt(b,this,c[e]);gv.na.Kb.call(this,a)};f.Xd=function(a){var b=gv.na.Xd.call(this,a);b||Dk(this,function(c){!b&&c.Hs&&c.ll==a.keyCode&&(this.isEnabled()&&this.Pc(c),b=c.Mc(a))},this);return b};f.Od=function(a){gv.na.Od.call(this,a);(a=Fk(this,a))&&Qg(a.V(),this.V())};function iv(a,b){gv.call(this,a,b);hv(this,!0);this.wa(!1,!0);this.i=new zl}u(iv,gv);f=iv.prototype;f.Nl=!1;f.yo=0;f.Kb=function(a){iv.na.Kb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.attach(this.g.V(a),1)};f.Ia=function(){iv.na.Ia.call(this);this.i.forEach(this.tn,this);var a=Z(this);a.ha(this,"action",this.yu);a.ha(this.g.g,"mousedown",this.Bu,!0)}; f.attach=function(a,b,c,d,e){var g;if(!(g=!a)){g=this.i;var h=Wa(a);g=!g.has(h)}g&&(a?(b={ua:a,wp:b,tu:c,Kn:d?"contextmenu":"mousedown",jl:e},this.i.set(Wa(a),b)):b=null,this.Ra&&this.tn(b),a=t(this.Iu,a),this.V()&&Z(this).ha(this.V(),"keydown",a))}; f.Iu=function(a,b){if(b.keyCode==27)a.focus();else if(a=Fk(this,this.Xb)){var c=a.V();a=new Qf(b.Mb,c);a.target=c;if(b.keyCode==32||b.keyCode==13)if(Tf(c))ph(c,"keydown",!1,a);else if(c=fg(c))if(c=c.g["keydown".toString()]){c=c.concat();for(var d=0;d<c.length;d++){var e=c[d];e&&e.capture==0&&!e.Eg&&lg(e,a)}}b.keyCode==32&&this.ab()}};f.tn=function(a){Z(this).ha(a.ua,a.Kn,this.Mu);a.Kn!="contextmenu"&&Z(this).ha(a.ua,"keydown",this.Nu)}; function jv(a,b,c,d){var e=a.isVisible(),g;(g=a.isVisible())||(g=Date.now()-a.yo<150);g&&a.Nl?a.ab():a.dispatchEvent("beforeshow")&&(c=typeof c!="undefined"?c:8,e||(a.V().style.visibility="hidden"),N(a.V(),!0),b.Jc(a.V(),c,d),e||(a.V().style.visibility="visible"),a.Od(-1),a.wa(!0))}f.ab=function(){this.isVisible()&&(this.wa(!1),this.isVisible()||(this.yo=Date.now()))};f.yu=function(){this.ab()};f.Mu=function(a){kv(this,a)}; f.Nu=function(a){a.keyCode!=32&&a.keyCode!=13&&a.keyCode!=40||kv(this,a);a.keyCode==40&&st(this)};function kv(a,b){for(var c=a.i.Td(),d=0;d<c.length;d++){var e=a.i.get(c[d]);if(e.ua==b.currentTarget){c=e.wp!==void 0?new Ir(e.ua,e.wp,!0):new Fp(b.clientX,b.clientY);c.l&&c.l(5);jv(a,c,e.tu,e.jl);b.preventDefault();b.stopPropagation();break}}}f.Bu=function(a){this.isVisible()&&!this.Rd(a.target)&&this.ab()};f.ni=function(a){iv.na.ni.call(this,a);this.ab()}; f.qa=function(){iv.na.qa.call(this);this.i&&(this.i.clear(),delete this.i)};function lv(a){W.call(this);this.oa=Ym(a);this.ta=Jd&&a&&a.isOgenEligibleMobileViewport;this.o=this.oa||this.ta;this.ma=this.U=null;this.o?Ru(this,!0):(this.ka=C("DIV"),this.ya=new bu(this.ka),this.ya.render(mv),this.ya.wa(!0),a=this.ya.V(),O(a,"search-results-bar"),O(this.ka,"search-results-bar-contents"));this.l=this.o?A("search-results-summ"):C("SPAN");this.o||this.ka.appendChild(this.l);this.s=this.o?A("search-result-links"):C("SPAN");this.o?nv(this):(O(this.s,"search-bar-result-links"),this.ka.appendChild(this.s), ov(this));this.O=this.o?A("search-snippet-links"):C("SPAN");this.o?pv(this):(this.oa?(this.Aa=C("DIV"),O(this.Aa,"search-bar-result-buttons"),this.ka.appendChild(this.Aa),this.Aa.appendChild(this.O),mh(this.O,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),pv(this)):(this.Ea=C("SPAN"),this.Ga=C("SPAN"),qv(this)),O(this.O,"search-bar-snippet-links"));this.o||(rv(this),ch(this.ka,!0))}n(lv,W);function sv(){mv=A("search_bar")}function tv(){uv=A("toolbar_container")} function Pu(a){if(a.U)vv(a,!0);else{var b=a.i.j=="n";N(a.Ea,b);N(a.Ga,!b)}a.o?(Ru(a,!0),x(a.l,z(a.i.o.tb.length+" results")),a.l.removeAttribute("aria-label")):x(a.l,z("Showing <b>"+(a.i.o.tb.length+"</b> results in this book for <b>")+(gq(a.i.o)+"</b>")));Qu(a,!0)} function nv(a){Zm()||(wv(a,A("search-result-prev"),function(){xv(a,a.j,-1)},"Previous result"),wv(a,A("search-result-next"),function(){xv(a,a.j,1)},"Next result"));wv(a,A("search-result-viewall"),function(){Ou(a.i)},"View all");wv(a,A("search-close"),function(){a.Fa()},"Close search")} function ov(a){var b=C("SPAN");x(b,z("- "));O(b,"search-bar-link-spacer");a.s.appendChild(b);yv(a,a.s,"\u2039 Previous",function(){xv(a,a.j,-1)},"Previous");b=C("SPAN");x(b,z(" "));O(b,"search-bar-link-spacer");a.s.appendChild(b);yv(a,a.s,"Next \u203a",function(){xv(a,a.j,1)},"Next");b=C("SPAN");x(b,z(" - "));O(b,"search-bar-link-spacer");a.s.appendChild(b);yv(a,a.s,"View all",function(){Ou(a.i)})} function qv(a){a.ka.appendChild(a.O);var b=C("SPAN");x(b,z("- "));O(b,"search-bar-link-spacer");a.O.appendChild(b);a.O.appendChild(kf("Order by: "));a.O.appendChild(a.Ea);yv(a,a.Ea,"relevance",function(){zv(a,"r")},"Order by relevance");b=C("SPAN");x(b,z(" | <b>pages</b>"));a.Ea.appendChild(b);a.O.appendChild(a.Ga);b=C("SPAN");x(b,z("<b>relevance</b> | "));a.Ga.appendChild(b);yv(a,a.Ga,"pages",function(){zv(a,"n")},"Order by pages")} function pv(a){a.U=a.o?A("sort-dropdown-button"):B("A",{"class":"search-bar-sort-dropdown-link"});var b=a.o?A("sort-dropdown-label"):B("SPAN",{"class":"search-bar-sort-dropdown-text"});G(b,"Order by ");a.ma=B("SPAN",{"class":"search-bar-sort-dropdown-selected"});G(a.ma,"pages");var c=a.U;Sj(c,"Order by pages");c.setAttribute("title","Order by pages");b.appendChild(a.ma);b=new iv;var d=new Zu("relevance");d.Lh("Order by relevance");b.Xa(d,!0);O(d.V(),"search-bar-sort-dropdown-item");var e=new Zu("pages"); e.Lh("Order by pages");b.Xa(e,!0);mh(e.V(),["search-bar-sort-dropdown-item","search-bar-sort-dropdown-item-selected"]);b.Nl=!0;a.ta?b.render(a.O):b.render(document.body);O(b.V(),"sort-dropdown-menu");c=C("SPAN");c.id="current-sort-label";G(c,"Current");N(c,!1);b.V().appendChild(c);X(e.V(),"describedby","current-sort-label");a.oa?(b.attach(a.U,12,13),O(b.V(),"popup-menu")):b.attach(a.U,13,12);a.g.ha(b,"action",function(g){Av(a,g,d.V(),e.V())});a.g.ha(b,"keydown",function(g){g.keyCode!=32&&g.keyCode!= 13||Av(a,g,d.V(),e.V())});a.ta&&a.g.ha(b,"beforeshow",function(){var g=a.U.offsetWidth-32;Xg(d.V(),g);Xg(e.V(),g)})}function rv(a){var b=C("SPAN");O(b,"search-bar-close-link-container");a.oa?a.Aa.appendChild(b):a.ka.appendChild(b);a.g.ha(b,"click",a.Fa);var c=yv(a,b,"Clear search",function(){a.Fa()});O(c,"search-bar-close-link");c=C("IMG");c.src="/googlebooks/images/close_x.gif";O(c,"search-bar-close-img");b.appendChild(c)} function Qu(a,b){N(uv,!b);N(a.O,b);a.o?(N(a.s,!b),b=!b&&a.i.o.tb.length==1,P(a.s,"toolbar-button-disabled",b),X(a.s,"disabled",b)):N(a.s,!b&&a.i.o.tb.length>1);a.ka&&N(a.ka,!0);Bv!=null&&Bv.resize()}function Cv(a){a.U?vv(a,!1):N(a.O,!1);a.ta&&N(a.O,!0);N(a.s,!1);nf(a.l)}function Ku(a){Cv(a);x(a.l,z("Loading..."));a.o&&a.l.removeAttribute("aria-label")} function Mu(a){Cv(a);var b=a.i.o,c=hq(b),d=null;c&&!a.o&&(d=C("SPAN"),x(d,z("Did you mean: ")),yv(a,d,c,function(){var h=a.i.i;if(h){var k=Zc(c);mm(h.N.Va(),k);h.s.rc(k);h.o&&h.o.update()}}));var e=C("SPAN");a.o?x(e,z("No results")):x(e,z(Vb("No results found in this book for "+gq(b))));b=C("A");a.o||(x(b,z("Search all books")),b.setAttribute("target","_top"),O(b,"sitb-action-link"));var g=Lm()=="patents"?new R("https://www.google.com/search?tbm=pts&tbo=p&hl=en"):new R("https://www.google.com/search?tbm=bks&tbo=p"); Tu(g);T(g,"output")=="embed"&&Wh(g,"output");S(g,"q",Zc(gq(a.i.o)));Cc(b,g.toString());a.o?(a.l.appendChild(e),a.l.removeAttribute("aria-label")):a.oa?(a.l.appendChild(e),a.l.appendChild(b),d&&(Oc(d,"afterbegin",z(" · ")),a.l.appendChild(d))):(d&&(a.l.appendChild(d),a.l.appendChild(C("BR"))),Oc(e,"beforeend",z(" - ")),a.l.appendChild(e),Oc(b,"beforeend",z(" »")),a.l.appendChild(b));Bv!=null&&Bv.resize()} function Dv(a,b,c,d,e){a.j+=e;a.j>=c.length&&(a.j=0);a.j<0&&(a.j=c.length-1);if(a.j!=d){var g=c[a.j];Nu(a.i,g)?(e=Mh(S(S(S(new R(b.href),"pg",g.Ja()),"num",a.j),"scoring",a.i.j),""),Cc(b,e.toString()),Nu(a.i,c[d])):Dv(a,b,c,d,e)}}lv.prototype.qa=function(){W.prototype.qa.call(this);Jf(this.ya);N(uv,!0);E(this.ka);Bv!=null&&Bv.resize();this.o&&(Ru(this,!1),E(Ze("sort-dropdown-menu")),nf(this.l))}; function yv(a,b,c,d,e){var g=C("SPAN");O(g,"search-bar-link");Oj(g,"link");Sj(g,e?e:c);Bf(g,!0);b.appendChild(g);g.innerText=c;a.g.ha(g,"click",d);a.g.ha(g,"keydown",function(h){h.keyCode!=32&&h.keyCode!=13||d()});return g}function wv(a,b,c,d){Sj(b,d);b.setAttribute("title",d);a.g.ha(b,"click",c);a.g.ha(b,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||c()})}lv.prototype.Fa=function(){var a=this.i;mm(a.i.N.Va(),"");Zm()&&pu(a.l,!1);(a=this.i.i)&&a.o&&a.o.update()}; function xv(a,b,c){var d=a.i.o.tb.length;a.j+=c;a.j>=d&&(a.j=0);a.j<0&&(a.j=d-1);a.j!=b&&(Nu(a.i,a.i.o.tb[a.j])||xv(a,b,c))}function zv(a,b){(a=a.i.i)&&a.update(b)} function Av(a,b,c,d){if((b=b.target.wc())&&a.ma){var e=a.U;switch(b){case "pages":zv(a,"n");G(a.ma,"pages");Sj(e,"Order by pages");e.setAttribute("title","Order by pages");P(d,"search-bar-sort-dropdown-item-selected",!0);X(d,"describedby","current-sort-label");P(c,"search-bar-sort-dropdown-item-selected",!1);c.removeAttribute("aria-describedby");break;case "relevance":zv(a,"r"),G(a.ma,"relevance"),Sj(e,"Order by relevance"),e.setAttribute("title","Order by relevance"),P(c,"search-bar-sort-dropdown-item-selected", !0),X(c,"describedby","current-sort-label"),P(d,"search-bar-sort-dropdown-item-selected",!1),d.removeAttribute("aria-describedby")}}} function vv(a,b){a.U&&(P(a.U,"search-bar-sort-dropdown-disabled",!b),X(a.U,"disabled",!b));var c=a.i.j=="n";b&&!c&&(G(a.ma,"relevance"),b=a.U,Sj(b,"Order by relevance"),b.setAttribute("title","Order by relevance"),b=Ye("search-bar-sort-dropdown-item"),P(b[0],"search-bar-sort-dropdown-item-selected",!0),X(b[0],"describedby","current-sort-label"),P(b[1],"search-bar-sort-dropdown-item-selected",!1),b[1].removeAttribute("aria-describedby"));a.o&&a.l.setAttribute("data-search-sort",a.i.j)} function Ru(a,b){a.ta?(N(A("gb-mobile-search"),b),N(A("gb-mobile-search-buttons"),b)):(P(A("entity-page-search-nav"),"hide-search-nav",!b),P(A("search-results-summ"),"hide-search-nav",!b),P(A("search-close"),"hide-search-nav",!b))}var mv,uv,Bv;function Ev(a,b,c,d){W.call(this);var e=this;this.N=a;this.s=b;this.o=c;this.O=d;this.U=Jd&&d&&d.isOgenEligibleMobileViewport;this.g.ha(a.Va(),"change",function(){e.update("r")})}n(Ev,W); Ev.prototype.update=function(a,b,c){this.i?(this.i.dispose(),this.i=null):(this.N.O&&(this.l=this.N.O),this.j=new lv(this.O));var d=this.N.Va().getQuery();b&&!b.search_query_escaped&&b.number_of_results>0&&d&&(b.search_query_escaped=d);if(b&&b.search_query_escaped){if(this.i=new Iu(this),this.j.i=this.i,d=!om(),Lu(this.i,d,b,c,a),a=this.j,Zm()&&a.j!==void 0){b=a.i.o.tb;d=b.length;c=new R(window.location.href);var e=Number(T(c,"num"));e&&d>0&&(d=b[Number(e)],e=T(c,"jtp"),c=T(c,"pg"),e?Nu(a.i,d,"", e):c?Nu(a.i,d,c):Nu(a.i,d));c=a.j;d=A("search-result-prev");Dv(a,d,b,c,-1);Sj(d,"Previous result");d.setAttribute("title","Previous result");d=A("search-result-next");Dv(a,d,b,c,1);Sj(d,"Next result");d.setAttribute("title","Next result")}}else d?(this.i=new Iu(this),this.j.i=this.i,Ju(this.i,d,a),this.s.rc(d)):(this.i&&(this.i.dispose(),this.i=null),this.N.Da()instanceof $r&&(this.N.Vb(this.l),this.U&&!Zm()&&this.N.Da().Uf(this.N.Da().getSize().width)),this.j&&(this.j.dispose(),this.j=null),this.s.rc(""))};function Fv(a,b){var c=this;this.N=a;b&&(this.g=b);this.l=new Gq(document);this.i={};this.j={};I(this.l,"key",function(d){var e=c.i[String.fromCharCode(d.charCode)]||c.j[d.keyCode];e&&e(d)});Gv(this,33,function(){Hv(c,-1)},!1,!0);Gv(this,34,function(){Hv(c,1)},!1,!0);Gv(this,38,function(){Iv(c,0,-20)},!1,!0);Gv(this,40,function(){Iv(c,0,20)},!1,!0);this.g||(Gv(this,37,function(){c.N.O==sr&&c.N.Da().Bb().getSize().width>c.N.qb()?Iv(c,-20,0):c.N.mb("previous")},!1,!0),Gv(this,39,function(){c.N.O==sr&& c.N.Da().Bb().getSize().width>c.N.qb()?Iv(c,20,0):c.N.mb("next")},!1,!0),Gv(this,32,function(d){d.shiftKey?Hv(c,-1):Hv(c,1)},!0,!0),Gv(this,74,function(){c.N.mb("next")},!0),Gv(this,75,function(){c.N.mb("previous")},!0),Jv(this,"+",function(){c.N.mb("zoomin")}),Jv(this,"-",function(){c.N.mb("zoomout")}),Jv(this,"=",function(){c.N.mb("zoomin")}));Jv(this,"?",function(){c.N.mb("showkeyboardshortcuts")})}function Jv(a,b,c){a.i[b]=t(Kv,c,!0,void 0)}function Gv(a,b,c,d,e){a.j[b]=t(Kv,c,d,e)} function Kv(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||Lv[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a(d))}function Hv(a,b){var c=a.g?a.g.clientHeight:a.N.Da().getSize().height;Iv(a,0,Math.floor(b*c*.75))}function Iv(a,b,c){a.g?a.g.scrollTop+=c:(a=a.N.Da(),ep(a,new w(b,c),r(a.Ad,a)))}var Lv={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};function Mv(a){this.Tb=fo(a)}n(Mv,po);var Nv=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Sa(b)+": "+b);Sn(b,34);return new a(b)}}(Mv);var Ov;function Pv(){var a=Ov||(Ov=Nv('[null,null,null,null,null,"(function(){\'use strict\';var f\\u003dtypeof Object.defineProperties\\u003d\\u003d\\"function\\"?Object.defineProperty:function(a,c,b){if(a\\u003d\\u003dArray.prototype||a\\u003d\\u003dObject.prototype)return a;a[c]\\u003db.value;return a};function g(a){a\\u003d[\\"object\\"\\u003d\\u003dtypeof globalThis\\u0026\\u0026globalThis,a,\\"object\\"\\u003d\\u003dtypeof window\\u0026\\u0026window,\\"object\\"\\u003d\\u003dtypeof self\\u0026\\u0026self,\\"object\\"\\u003d\\u003dtypeof global\\u0026\\u0026global];for(var c\\u003d0;c\\u003ca.length;++c){var b\\u003da[c];if(b\\u0026\\u0026b.Math\\u003d\\u003dMath)return b}throw Error(\\"Cannot find global object\\");}var h\\u003dg(this);\\nfunction k(a,c){if(c)a:{var b\\u003dh;a\\u003da.split(\\".\\");for(var d\\u003d0;d\\u003ca.length-1;d++){var e\\u003da[d];if(!(e in b))break a;b\\u003db[e]}a\\u003da[a.length-1];d\\u003db[a];c\\u003dc(d);c!\\u003dd\\u0026\\u0026c!\\u003dnull\\u0026\\u0026f(b,a,{configurable:!0,writable:!0,value:c})}}k(\\"globalThis\\",function(a){return a||h});/*\\n\\n Copyright Google LLC\\n SPDX-License-Identifier: Apache-2.0\\n*/\\nvar l\\u003dglobalThis.trustedTypes,m;function n(){var a\\u003dnull;if(!l)return a;try{var c\\u003dfunction(b){return b};a\\u003dl.createPolicy(\\"goog#html\\",{createHTML:c,createScript:c,createScriptURL:c})}catch(b){}return a};function p(a){this.g\\u003da}p.prototype.toString\\u003dfunction(){return this.g+\\"\\"};function q(a){m\\u003d\\u003d\\u003dvoid 0\\u0026\\u0026(m\\u003dn());return new p(m?m.createScriptURL(a):a)};if(!function(){if(self.origin)return self.origin\\u003d\\u003d\\u003d\\"null\\";if(location.host!\\u003d\\u003d\\"\\")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;b[0]\\u003d\\u003d\\u003d\\"window\\"\\u0026\\u0026b.shift();for(var e\\u003d0;e\\u003cb.length-1;e++)d[b[e]]\\u003d{},d\\u003dd[b[e]];d[b[b.length-1]]\\u003dfunction(r){c.postMessage(JSON.stringify(r))};b\\u003ddocument.createElement(\\"script\\");a\\u003dq(a.url);if(a instanceof p)a\\u003da.g;else throw Error(\\"\\");b.src\\u003da;document.body.appendChild(b)},!0);}).call(this);\\n"]')); if(!a)return null;a=lo(a.Tb,void 0,6);a=a==null||typeof a==="string"?a:void 0;if(a===null||a===void 0)a=null;else{var b=lc();a=new Jc(b?b.createScript(a):a)}return a};function Qv(a){this.url=a;this.timeout=5E3;this.l="callback";this.g=this.i=null}function Rv(a){var b=b===void 0?{}:b;a.g=Yi();var c=new R(a.url),d=new Map;d.set("callback",a.l);c.j.Pp(Zh(b),d);Sv(a).then(function(){Tv(a,c.toString())}).then(function(){return a.g.promise}).then(function(){Uv(a)},function(){Uv(a)});a.timeout>0&&(a.j=setTimeout(function(){a.g.reject("Timeout!")},a.timeout));return a.g.promise} function Tv(a,b){var c=new MessageChannel;a.i.contentWindow.postMessage({url:b,callbackName:a.l},"*",[c.port2]);c.port1.onmessage=function(d){var e={};a.j!==void 0&&(clearTimeout(a.j),a.j=void 0);d.data===void 0&&a.g.reject("Callback called, but no data received");typeof d.data!=="string"&&a.g.reject("Exploitation attempt! Data is not a string!");try{e=JSON.parse(d.data)}catch(g){a.g.reject("Invalid Data received: "+g.message)}a.g.resolve(e)}} function Sv(a){var b=Yi(),c=C("IFRAME");if(!c.sandbox)throw Error("iframe sandboxes not supported");c.sandbox.value="allow-scripts";c.style.display="none";a.i=c;a=Pv();a=ce([Ec("<!DOCTYPE html>"),ie("body",{},be(a))]);c.srcdoc=Gc(a);a=nc("data:text/html;charset=UTF-8;base64,"+btoa(Gc(a).toString()));c.src=oc(a).toString();c.addEventListener("load",function(){return b.resolve(c)},!1);c.addEventListener("error",function(d){b.reject(d)},!1);document.documentElement.appendChild(c);return b.promise} function Uv(a){a.i!==null&&(document.documentElement.removeChild(a.i),a.i=null)};function Vv(a){hp.call(this,a);this.i=new Qv(a);this.g=!0}n(Vv,hp);Vv.prototype.Qd=function(a,b){hp.prototype.Qd.call(this,a,b);this.g=!1;Rv(this.i).then(r(this.o,this,a),r(this.l,this,b))};Vv.prototype.o=function(a,b){this.g||(this.j=b,this.dispatchEvent("success"),a&&a(this.j),this.g=!0)};Vv.prototype.l=function(a){this.g||(this.dispatchEvent("error"),a&&a(),this.g=!0)};Vv.prototype.abort=function(){return this.g=!0};function Wv(a,b,c,d,e){Array.isArray(a)||(a=[a]);this.g=a;this.j=b;this.i=c;b=new R((GBS_HOST||"https://books.google.com/")+"books?jscmd=viewapi");S(b,"bibkeys",a.join(","));S(b,"hl",e||"en");S(b,"source",d||"previewlib");(new Vv(b)).Qd(r(this.l,this))}Wv.prototype.l=function(a){for(var b=0;b<this.g.length;b++){var c=a[this.g[b]];if(c){var d=c.preview_url,e;if(e=d)e=c.preview,c=c.embeddable,c===void 0&&(c=!0),e=(e=="full"||e=="partial")&&c;if(e){this.j&&this.j(d);return}}}this.i&&this.i()};var Xv=RegExp("[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]"),Yv=RegExp("^[^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]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Zv=/^http:\/\/.*/,$v=/\s+/,aw=/[\d\u06f0-\u06f9]/;var bw={},cw={};function dw(){throw Error("Do not instantiate directly");}dw.prototype.zn=null;dw.prototype.wc=function(){return this.content};dw.prototype.toString=function(){return this.content};dw.prototype.zp=function(){if(this.Bf!==bw)throw Error("Sanitized content was not of kind HTML.");return Ec(this.toString())};function ew(){dw.call(this)}u(ew,dw);ew.prototype.Bf=bw;function fw(a){if(a!=null)switch(a.zn){case 1:return 1;case -1:return-1;case 0:return 0}return null}function gw(a){return a!=null&&a.Bf===bw?a:a instanceof Dc?hw(Gc(a).toString()):hw(String(String(a)).replace(iw,jw),fw(a))}var hw=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.zn=d);return c}}(ew);function kw(a){return a instanceof dw?!!a.wc():!!a}function lw(a){return mw(String(a),function(){return""}).replace(nw,"<")} var ow=RegExp.prototype.hasOwnProperty("sticky"),pw=new RegExp((ow?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",ow?"gy":"g"); function mw(a,b){for(var c=[],d=a.length,e=0,g=[],h,k,l=0;l<d;){switch(e){case 0:var m=a.indexOf("<",l);if(m<0){if(c.length===0)return a;c.push(a.substring(l));l=d}else c.push(a.substring(l,m)),k=m,l=m+1,ow?(pw.lastIndex=l,m=pw.exec(a)):(pw.lastIndex=0,m=pw.exec(a.substring(l))),m?(g=["<",m[0]],h=m[1],e=1,l+=m[0].length):c.push("<");break;case 1:m=a.charAt(l++);switch(m){case "'":case '"':var p=a.indexOf(m,l);p<0?l=d:(g.push(m,a.substring(l,p+1)),l=p+1);break;case ">":g.push(m);c.push(b(g.join(""), h));e=0;g=[];k=h=null;break;default:g.push(m)}break;default:throw Error();}e===1&&l>=d&&(l=k+1,c.push("<"),e=0,g=[],k=h=null)}return c.join("")}function qw(a){return a!=null&&a.Bf===bw?String(lw(a.wc())).replace(rw,jw):String(a).replace(iw,jw)} var sw={"\x00":"�","\t":"	","\n":" ","\v":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function jw(a){return sw[a]} var iw=/[\x00\x22\x26\x27\x3c\x3e]/g,rw=/[\x00\x22\x27\x3c\x3e]/g,tw=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,nw=/</g;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function uw(a,b,c,d){a=a(b||vw,c);d=d||Re();if(a&&a.g)d=a.g();else{d=If(d,"DIV");b:if(Va(a)){if(a.zp&&(a=a.zp(),a instanceof Dc))break b;a=$d("zSoyz")}else a=$d(String(a));d.innerHTML=Gc(a)}d.childNodes.length==1&&(a=d.firstChild,a.nodeType==1&&(d=a));return d}var vw={};function ww(a){a=a||{};var b=a.attributes,c=a.content,d=a.disabled,e=a.id,g=a.Cw,h=a.title,k=a.Gv,l=a.value,m=hw;e='<div role="button"'+(kw(e)?' id="'+qw(e)+'"':"")+' class="';var p=a||{};a=p.hw;var y=p.disabled,D=p.checked,H=p.style;p=p.width;var F="goog-inline-block jfk-button ";switch(Va(H)?H.toString():H){case 0:F+="jfk-button-standard";break;case 2:F+="jfk-button-action";break;case 3:F+="jfk-button-primary";break;case 1:F+="jfk-button-default";break;case 4:F+="jfk-button-flat";break;case 5:F+= "jfk-button-mini";break;case 6:F+="jfk-button-contrast";break;default:F+="jfk-button-standard"}F+=((p&&p.iu&&(1).iu?p.Bf!==(1).Bf?0:p.toString()===(1).toString():p==1)?" jfk-button-narrow":"")+(kw(D)?" jfk-button-checked":"")+(kw(a)?" "+a:"")+(kw(y)?" jfk-button-disabled":"");d=e+qw(F)+'"'+(kw(d)?' aria-disabled="true"':' tabindex="'+(kw(g)?qw(g):"0")+'"')+(kw(h)?kw(k)?' data-tooltip="'+qw(h)+'"':' title="'+qw(h)+'"':"")+(kw(l)?' value="'+qw(l)+'"':"");kw(b)?(b!=null&&b.Bf===cw?b=b.wc():(b=String(b), b=tw.test(b)?b:"zSoyz"),b!=null&&b.Bf===cw&&(b=b.wc()),b=(b&&!b.startsWith(" ")?" ":"")+b):b="";return m(d+b+">"+gw(c!=null?c:"")+"</div>")};function xw(a,b){this.j=a;this.s=!!b;this.l={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}n(xw,tp);f=xw.prototype;f.mj=function(a){this.i=a};f.setPosition=function(a,b,c,d){a!=null&&(this.qk=a);b!=null&&(this.kk=b);typeof c==="number"&&(this.rn=Math.max(c,15));typeof d==="number"&&(this.ol=d)};f.Jc=function(a,b,c){a=this.kk;a==2&&(a=0);yw(this,this.qk,a,this.kk==2?zw(this.qk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.rn,0,c)}; function yw(a,b,c,d,e,g){if(a.i){var h=Aw(b,c);var k=a.i;var l=a.g,m=a.Ba,p=M(k);a:{p=(zw(b)?p.height/2:p.width/2)-d;var y=wp(k,h);if(m)m=m.clone(),l&&(l=vp(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=Og(k),!m){k=p;break a}k=yg(Yg(k));zw(b)?k.top<m.top&&!(y&1)?p-=m.top-k.top:k.bottom>m.bottom&&y&1&&(p-=k.bottom-m.bottom):k.left<m.left&&!(y&4)?p-=m.left-k.left:k.right>m.right&&y&4&&(p-=k.right-m.right);k=p}k=zw(b)?new w(a.ol,k):new w(k,a.ol);p=zw(b)?6:9;a.ik&&e==2&&(p=zw(b)?4:1); y=b^3;zw(b)&&a.i.dir=="rtl"&&(y=b);h=up(a.i,Aw(y,c),a.g,h,k,g,a.Vk?p:0,void 0,a.Ba);if(e!=2&&h&496){yw(a,b^3,c,d,a.ik&&e==0?1:2,g);return}!a.s||h&496||(e=parseFloat(a.g.style.left),g=parseFloat(a.g.style.top),isFinite(e)&&e%1==0&&isFinite(g)&&g%1==0||Jg(a.g,Math.round(e),Math.round(g)))}Bw(a,b,c,d)} function Bw(a,b,c,d){var e=a.o;Kb(a.l,function(g){P(e,g,!1)},a);O(e,a.l[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=Tg(a.i,a.g),d=Cw(a.i,b),zw(b)?e.style.top=Dw(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Dw(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[c==0?zw(b)?"top":"left":zw(b)?"bottom":"right"]=d+"px"}function Dw(a,b){return 15>b?15:Eb(a,15,b)}function Aw(a,b){switch(a){case 2:return b==0?1:5;case 1:return b==0?0:4;case 0:return b==0?12:13;default:return b==0?8:9}} function Cw(a,b){var c=0,d=0;a=M(a);switch(b){case 2:c=a.width/2;break;case 1:c=a.width/2;d=a.height;break;case 0:d=a.height/2;break;case 3:c=a.width,d=a.height/2}return new w(c,d)}function zw(a){return a==0||a==3}f.Vk=!1;f.kk=2;f.rn=20;f.qk=3;f.Ba=null;f.ol=-5;f.ik=!1;function Ew(a){Kf.call(this);this.i=a||Re()}n(Ew,Kf);Ew.prototype.o=function(){Oj(this.V(),"tooltip");X(this.V(),"live","polite")};function Fw(a){Ew.call(this,a);this.g=this.i.Ma("DIV",Gw()+"-contentId");this.j=this.i.Ma("DIV",Gw()+"-arrow",this.i.Ma("DIV",Gw()+"-arrowimplbefore"),this.i.Ma("DIV",Gw()+"-arrowimplafter"));this.l=this.i.Ma("DIV",{"class":Gw(),role:"tooltip"},this.g,this.j);this.o()}n(Fw,Ew);function Gw(){return"jfk-tooltip"}Fw.prototype.V=function(){return this.l};Fw.prototype.qa=function(){Ew.prototype.qa.call(this);this.l&&E(this.l)};function Hw(a){Fw.call(this,a)}n(Hw,Fw);Hw.prototype.o=function(){Oj(this.V(),"tooltip")};function Iw(a){return Zc(Vb(a.replace(Jw,function(b,c){return Kw.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Kw=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Jw=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Lw(a){a=a||Re();var b=Wa(a.g);Mw[b]||(Mw[b]=new Nw(a))}function Ow(a,b){var c=b instanceof Dc?Iw(Gc(b).toString()):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Dc?a.j=b:(a.setAttribute("data-tooltip",b),a.j=null),a.setAttribute("aria-label",c)):(a.j=null,a.removeAttribute("aria-label"));Lw(Re(a))}var Mw={}; function Nw(a){ng.call(this);this.ta=a;this.oa=new uj(this.Av,0,this);Lf(this,this.oa);var b=ff();this.U=typeof b.MutationObserver==="function"?new b.MutationObserver(r(this.Os,this)):null;a=a.g;this.ha(a,"mouseout mousedown click blur focusout keydown".split(" "),this.js,!0);this.ha(a,["mouseover","focus","focusin"],this.lv,!0)}n(Nw,ng);f=Nw.prototype;f.qa=function(){Pw(this);ng.prototype.qa.call(this)}; function Qw(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.ya=!1;break;case "keydown":a.ya=!0}}f.lv=function(a){this.U&&this.U.disconnect();Qw(this,a);var b=a.target;a=a.type=="focus"||a.type=="focusin";var c=this.g&&wf(this.g.g,b);if(this.ya||!a||c){this.Aa=a;if(a=b&&b.getAttribute&&this.U)a=b.getAttribute("role")||null,a=pb(Nj,a);a&&(this.U.observe(b,{attributes:!0}),(a=Qj(b))&&(b=a));this.l=b}else this.l=null;Rw(this)}; f.js=function(a){Qw(this,a);var b=a.target;b=this.g&&wf(this.g.g,b);if(a.type!="mousedown"&&a.type!="click"||!b)this.l=null,Rw(this)};f.Os=function(a){v(a,r(function(b){var c=Qj(b.target);c&&b.attributeName=="aria-activedescendant"&&(this.l=c,Rw(this))},this))};function Rw(a){if(!(a.oa.isActive()&&a.i&&a.O)){Pw(a);var b=a.O!=null?a.O:50;a.oa.start(a.i?b:300)}}function Pw(a){a.ka&&(mj(a.ka),a.ka=0,a.i=null)} f.Av=function(){if(!this.l)Sw(this),this.O=this.i=null;else if(!(this.i&&this.g&&wf(this.g.V(),this.l))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Gf(this.l,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.j)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.i&&this.i!=a&&(Sw(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,!(a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>= a.scrollHeight||this.Aa&&"mouse"==a.getAttribute("data-tooltip-trigger")))){var c=Fc;if(a.getAttribute("data-tooltip-contained"))for(var d=Ye("jfk-tooltip-data",a),e=0;e<d.length;e++){if(d[e].parentNode==a){c=d[e].cloneNode(!0);break}}else c=a.j?a.j:$d(a.getAttribute("data-tooltip"),{Jh:!0});d=a.getAttribute("data-tooltip-align");e=a.getAttribute("data-tooltip-class");var g=a.getAttribute("data-tooltip-offset");g=Ub(gd(g))?-1:Number(g);var h=a.getAttribute("data-tooltip-hide-delay");h=Ub(gd(h))?null: Number(h);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.ka=U(t(this.lp,this.i,c,d,g,e,h),a,this);return}this.lp(this.i,c,d,g,e,h)}}};function Tw(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.lp=function(a,b,c,d,e,g){this.ka=0;this.O=g;if(!this.g){this.g=new Hw(this.ta);Sw(this);g=this.ta.g.body;var h=this.g.V();g.appendChild(h);Lf(this,this.g);this.o=new xw(Gw(),!0);this.o.Vk=!0;this.o.ik=!0;g=this.o;h=this.g.V();var k=this.g.j;g.g=h;g.o=k}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.o.setPosition(Tw(c),g,void 0,d);nh(this.g.V(),"jfk-tooltip-hide");this.ma!=e&&(this.ma&&!Ub(gd(this.ma))&&nh(this.g.V(),this.ma),Ub(gd(e))||O(this.g.V(), e),this.ma=e);Jg(this.g.V(),0,0);if(b instanceof Dc)x(this.g.g,b);else for(nf(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.o.mj(a);this.o.Jc(null,0)};function Sw(a){a.g&&O(a.g.V(),"jfk-tooltip-hide")};function Uw(a){var b="Jf";if(a.Jf&&a.hasOwnProperty(b))return a.Jf;b=new a;return a.Jf=b};var Mc=ta(["value"]);function Vw(a,b,c,d){mr.call(this,a,Ww.Hb(),b);this.oa=c||0;this.ob=d||0;this.Ga=!1}u(Vw,mr);f=Vw.prototype;f.qb=function(){return this.ob};f.nf=function(a){this.U=a;var b=this.V();b&&(this.Ga?Ow(b,a):a?b.title=a:b.removeAttribute("title"))};f.nb=function(a){this.isEnabled()!=a&&(Vw.na.nb.call(this,a),Xw(this))};f.focus=function(){var a=this.ua;try{a.focus()}catch(b){}};f.nj=function(a){Vw.na.nj.call(this,a);Yw(this,!1)}; f.vf=function(a){Vw.na.vf.call(this,a);this.isEnabled()&&Yw(this,!0)};f.ze=function(a){Vw.na.ze.call(this,a);this.isEnabled()&&Yw(this,!0)};function Yw(a,b){a.V()&&P(a.V(),"jfk-button-clear-outline",b)}function Xw(a){a.V()&&Zw(a.od(),a)}function $w(a,b){if(typeof a==="string"){var c=a;a=C("IMG");a.src=c;L(a,21,21)}O(a,"jfk-button-img");c=[];c.push(a);b&&(a=B("SPAN","jfk-button-label",b),c.push(a));return c} function Ww(){this.Ha=this.Pa()+"-standard";this.j=this.Pa()+"-action";this.ma=this.Pa()+"-primary";this.s=this.Pa()+"-default";this.O=this.Pa()+"-flat";this.ka=this.Pa()+"-narrow";this.U=this.Pa()+"-mini";this.o=this.Pa()+"-contrast"}u(Ww,Wq);Ww.Hb=function(){return Uw(Ww)};Ww.prototype.g=function(a,b,c){a&&c.oa!=a&&(c.oa=a,Xw(c));b&&c.ob!=b&&(c.ob=b,Xw(c))};Ww.prototype.Pa=function(){return"jfk-button"}; Ww.prototype.Kc=function(a){var b=a.g,c=uw(ww,{disabled:!a.isEnabled(),checked:Uq(a,16),style:a.oa,title:a.Xe(),Gv:a.Ga,value:a.ub(),width:a.qb()},void 0,b);b.Wl(c,a.wc());this.Ob(a,c);return c}; Ww.prototype.Ob=function(a,b){Ww.na.Ob.call(this,a,b);this.l||(this.l=Sb(this.Ha,t(this.g,0,null),this.j,t(this.g,2,null),this.ma,t(this.g,3,null),this.s,t(this.g,1,null),this.O,t(this.g,4,null),this.U,t(this.g,5,null),this.o,t(this.g,6,null),this.ka,t(this.g,null,1)));for(var c=jh(b),d=0;d<c.length;++d){var e=this.l[c[d]];e&&e(a)}if(c=b.getAttribute("data-tooltip"))a.U=c,a.Ga=!0;return b};var Qc=[new Lc];Ww.prototype.ub=function(a){return a.getAttribute("value")||""}; Ww.prototype.rc=function(a,b){a&&Pc(a,b)};function Zw(a,b){function c(h,k){(h?d:e).push(k)}var d=[],e=[],g=b.oa;c(g==0,a.Ha);c(g==2,a.j);c(g==3,a.ma);c(g==4,a.O);c(g==5,a.U);c(g==1,a.s);c(g==6,a.o);c(b.qb()==1,a.ka);c(!b.isEnabled(),a.Pa()+"-disabled");oh(b.V(),e);mh(b.V(),d)};function ax(a,b,c){su.call(this,a,b,c)}u(ax,su);f=ax.prototype;f.Ai=!1;f.Vh=!1;f.ci=function(){ax.na.ci.call(this);this.Fa=yg(Yg(this.V()));this.g&&(this.Ua=yg(Yg(this.g)));this.Vh=this.Ai;I(this.l.g,"mousemove",this.zg,!1,this)};f.Ng=function(){jg(this.l.g,"mousemove",this.zg,!1,this);this.Ua=this.Fa=null;this.Vh=!1;ax.na.Ng.call(this)}; f.Si=function(a){if(this.ta){var b=Pg(this.V()),c=M(this.V());return b.x-this.ta.left<=a.x&&a.x<=b.x+c.width+this.ta.right&&b.y-this.ta.top<=a.y&&a.y<=b.y+c.height+this.ta.bottom}return ax.na.Si.call(this,a)};function bx(a,b){if(a.Ua&&vg(a.Ua,b)||a.Si(b))return!0;a=a.ka;return!!a&&a.Si(b)}f.Ao=function(a){this.ma=void 0;a!=this.g||bx(this,this.s)||this.Rb||this.ka&&this.ka.Rb||Hd&&this.s.x==0&&this.s.y==0||this.wa(!1)}; f.zg=function(a){var b=this.isVisible();if(this.Fa){var c=df(this.l.g);c=new w(a.clientX+c.x,a.clientY+c.y);bx(this,c)?b=!1:this.Vh&&(b=wg(this.Fa,c)>=wg(this.Fa,this.s))}if(b){if(this.Ph(),this.Rb=null,b=this.ka)b.Rb=null}else vu(this)==3&&this.lg();ax.na.zg.call(this,a)};f.Sk=function(){this.Rb!=this.V()&&(this.Vh=!1,this.Rb=this.V())};f.Mk=function(){return this.Vh?100:ax.na.Mk.call(this)};function cx(a,b){a=new ax(a);a.Bl(ye(Fe,b.innerHTML));a.className="buy-tip-card";a.ta=new tg(5,5,5,5);a.Ai=!0;a.Hg=500;a.Ah=250};function dx(a,b){this.wb=a||200;this.ob=b||108;W.call(this)}u(dx,W);dx.prototype.Ab=function(){return this.wb};dx.prototype.qb=function(){return this.ob};function ex(a){su.call(this,a,void 0,void 0);this.Jn=!1;this.Ai=!0;this.Hg=500}n(ex,ax);ex.prototype.uj=function(a,b){b||(b=new Ir(a,9,!0));ax.prototype.uj.call(this,a,b)};ex.prototype.className="unified-hovercard";function fx(a,b,c){Kf.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(fx,Kf);fx.prototype.qa=function(){this.i&&this.i.dispose()};function gx(a){return a.i||(a.i=new ng(a))} fx.prototype.j=function(a){var b=B("DIV"),c=new R(this.data.va.Ag||this.data.va.So);this.data.va.source&&S(c,"source",this.data.va.source);var d=this.data.Za();this.data.va.rp&&(d+=": "+this.data.va.rp);d=B("A",{},d);d.classList.add(this.g+"-title");Cc(d,c.toString());b.appendChild(d);a.appendChild(b);hx(this,a);this.data.va.Kl&&(c=new Qe.Rv,b=B("DIV",this.g+"-snippet"),x(b,ye(c,this.data.va.Kl+" ")),c=B("A",{},"more \u00bb"),c.classList.add(this.g+"-more-link"),Cc(c,this.data.va.Ag),b.appendChild(c), a.appendChild(b))}; function hx(a,b){var c="",d=B("DIV"),e=a.data.va.lk;if(!Ub(gd(e))){c=e.split(/\s*,\s*/g);e=c.length;if(!e)return;var g=B("SPAN","author"),h=e-1,k=kf(", ");v(c,function(l,m){var p=l?l.replace(ix,""):"";p=Uc(p);l=new R(Tc('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',p));Tu(l);p=B("A",{},p);Cc(p,l.toString());g.appendChild(p);m<h&&g.appendChild(k.cloneNode(!0))},a);d.appendChild(g);c="\u00a0-\u00a0"}a.data.va.fj&&(lf(d,B("SPAN",a.g+"-pubdate",c+a.data.va.fj)),c="\u00a0-\u00a0");a.data.va.Ho&&(d.appendChild(kf(c)), lf(d,B("SPAN",a.g+"-pagesnum",a.data.va.Ho+" pages")));b.appendChild(d)} function jx(a,b,c,d,e,g,h){c=B("A",{id:h||""},c);Cc(c,e?"#":d);c.classList.add(a.g+"-button");c.classList.add(a.g+"-button-hilite");g&&c.classList.add("disabled");e&&(e=Wj||Xj?"touchstart":"click",gx(a).ef(c,e,function(k){k.preventDefault();k=B("FORM",{method:"POST"});var l=Bc(d);l!==void 0&&(k.action=l);K(k,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",visibility:"hidden"});b.appendChild(k);k.submit()},!1));b.appendChild(c)} var ix=/(<b\s*>)|(<\/b>)/ig,kx={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function lx(){this.va={}}f=lx.prototype;f.Za=function(){return this.va.title};f.Sb=function(){return this.va.Pl};f.Nd=function(){return this.va.Nd};f.Xk=function(){return this.va.Xk};f.Kf=function(){return this.va.Kf};f.Dh=function(){return this.va.Dh};function mx(){this.g=[]}f=mx.prototype;f.getId=function(){return this.rb};f.Fg=function(a){this.rb=a};f.Za=function(){return this.tc};f.ug=function(){return this.l};function nx(a,b,c){ox(a,b)||a.U==null||!a.j?c&&c(null):px(b,a.U.clone(),r(a.Zr,a,b,c||function(){}))}function qx(a,b,c){ox(a,b)&&a.ka!=null&&a.ma?px(b,a.ka.clone(),r(a.rs,a,b,c||function(){})):c&&c(null)}function px(a,b,c){S(b,"id",a);hi(b,c,"POST")}f.Zr=function(a,b,c){var d=null;mi(c.target)&&(d=new lx,d.va.Pl=a,this.g.push(d));b(d)}; f.rs=function(a,b,c){var d=null;mi(c.target)&&(d=ox(this,a),rx(this,d));b(d)};function rx(a,b){tb(a.g,function(c){return c.Sb()==b.Sb()})}function ox(a,b){return nb(a.g,function(c){return c&&c.Sb()==b})};function sx(a){this.va={};this.va.title=a.title;this.va.rp=a.subtitle;this.va.lk=a.authors;this.va.So=a.preview_url;this.va.Ag=a.info_url;this.va.fj=a.pub_date;this.va.Ho=a.num_pages;this.va.Gp=a.viewability;this.va.Bw=a.subject;this.va.xp=a.thumbnail_url;this.va.Kl=a.snippet;this.va.nw=a.list_price;this.va.fp=a.sale_price;this.va.yw=a.sale_price_better;this.va.xu=a.offer_price;this.va.sk=a.buy_url;this.va.Vo=a.read_url;this.va.Ti=a.is_free_ebook||!1;this.va.Ri=a.in_my_ebooks||!1;this.va.qw=a.my_ebooks_url|| "";this.va.ww=a.rating_score||0;this.va.rw=a.num_reviews||0;this.va.Nd=a.is_purchased||!1;this.va.Ch=a.is_ebook||!1;this.va.Fw=a.write_review_url||"";this.va.Gs=a.add_to_my_ebooks_url||"";this.va.Ru=a.preview_ebook_url||"";this.va.xw=a.reviews_url||"";this.va.Aj=a.view_order_url||"";this.va.ew=a.add_to_my_ebooks_url;this.va.Yr=a.add_to_my_ebooks_url_is_on_play||!1;this.va.Pi=a.has_flowing_text||!1;this.va.Qi=a.has_scanned_text||!1;var b=Km(a.info_url);this.va.Pl=b;this.va.gw=a.canonical_atb_url|| "";this.va.Xk=a.is_rentable||!1;this.va.Mf=a.is_pre_order||!1;this.va.No=a.on_sale_date||"";this.va.Kf=a.is_pre_ordered||!1;this.va.mw=a.issue_volume_count||0;this.va.Dh=a.is_volume_cancelled||!1;this.va.cs=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.va.ij=1;break;case 2:this.va.ij=2}this.va.av=a.rental_end_utc||0}n(sx,lx);function tx(a){this.g=[];this.Fg(a.id);this.o=a.owner_uid;this.tc=a.title;this.l=a.description;this.ta=a.num_volumes;this.le=a.access||"0";this.Ha=a.can_modify_metadata;this.O=a.predefined;this.ma=a.can_remove_volumes;this.j=a.can_add_volumes;this.oa=a.can_only_add_ebooks||!1;this.U=new R(a.add_vol_base_url);this.ka=new R(a.del_vol_base_url);a.paused!==void 0&&(this.i=a.paused,this.s=a.pause_bookshelf_url);a.volumes&&(this.g=lb(a.volumes,function(b){return new sx(b)}))}n(tx,mx);function ux(){W.call(this);this.j=[];this.i=[]}u(ux,W);function vx(a){var b=new R(ff().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function wx(a,b,c){xx(a,b.getId())||(a=b.O?a.j:a.i,c?xb(a,void 0,0,b):a.push(b))}function yx(a,b,c){var d=b.le==1;a=new R(a);S(a,"cl_title",b.Za());S(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.ug()));hi(a,c,"POST",b)} ux.prototype.s=function(a){a=a.target;if(mi(a)){a=new tx(pi(a));var b=xx(this,a.getId());b.tc=a.Za();b.l=a.ug();b.le=a.le;b=new Nf("update",this);b.shelf=a;this.dispatchEvent(b)}};ux.prototype.o=function(a,b){b=b.target;mi(b)&&(b=new tx(pi(b)),wx(this,b,a),a=new Nf("add",this),a.shelf=b,this.dispatchEvent(a))};function zx(a,b){a.l=new R(b);S(a.l,"jscmd","ClCreate")}function xx(a,b){return nb(Ax(a),function(c){return c.getId()==b})}function Ax(a){return Cb(a.j,a.i)};function Bx(a,b){var c=B("A",{},"View order");Cc(c,a);c.classList.add(b);return c};function Cx(a,b,c){fx.call(this,a,b,c);T(new R(this.data.va.Ag),"dapp")}n(Cx,fx); Cx.prototype.render=function(a){nf(a);var b=B("DIV",this.g),c=B("DIV",this.g+"-meta");this.j(c);var d=B("DIV",this.data.va.Ch?this.g+"-footer":this.g+"-footer-nonebook"),e=B("DIV",this.g+"-footer-inner");if(this.data.va.Ch)if(this.data.Dh()&&vx(1))Dx(this,e);else if(this.data.va.Mf&&!this.data.Nd()||this.data.Kf()){var g=B("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.va.No;e.appendChild(g);this.data.Kf()&&vx(1)&&Dx(this,e)}else if(this.data.Nd()&&vx(1))Ex(this,e),Dx(this, e);else{Ex(this,e);g=!this.data.Nd()&&!this.data.va.Ti;var h=this.data.va.Ti&&!this.data.va.Ri;if(g||h){g=B("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.va.Ru||this.data.va.Vo){for(var k=h.search(Fh),l=0,m,p=[];(m=Eh(h,l,"source",k))>=0;)p.push(h.substring(l,m)),l=Math.min(h.indexOf("&",m)+1||k,k);p.push(h.slice(l));h=p.join("").replace(Hh,"$1");h=Dh(h,"source","ebookstore")}h&&(k=B("A",{id:"unified-hovercard-preview-link"},"preview it"),Cc(k,h),g.appendChild(k));e.appendChild(g)}}d.appendChild(e); b.appendChild(c);b.appendChild(d);a.appendChild(b);M(a).width>this.maxWidth&&L(a,this.maxWidth,"")}; Cx.prototype.j=function(a){if(!(this.data.Nd()||this.data.Kf()||this.data.Dh())&&this.data.va.Aj&&vx(1)){var b=B("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.g+"-error-icon"});b=B("DIV",this.g+"-card-error",b,"Credit card declined:");if(this.data.va.Aj){var c=Bx(this.data.va.Aj,"primary"),d=B("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}fx.prototype.j.call(this,a);b=B("DIV",this.g+"-book-options");if(this.data.va.Ch){if(this.data.va.Ti)this.data.va.Ri? Fx(this,b):jx(this,b,"Read eBook",this.data.va.Gs,!this.data.va.Yr,void 0,"unified-hovercard-free-btn");else if(this.data.Kf()){var e=B("SPAN",this.g+"-pre-ordered","Pre-ordered");b.appendChild(e)}else this.data.Dh()&&vx(1)?(e=B("DIV",this.g+"-cancelled"),c=this.data.va.cs,c==0?G(e,"Cancelled - by customer request"):c==1?G(e,"Cancelled - problem with eBook"):c==2?G(e,"Cancelled - price change"):c==3?G(e,"Cancelled - publisher cancellation"):G(e,"Cancelled"),b.appendChild(e)):this.data.Nd()||this.data.va.Ri? !this.data.Nd()&&this.data.va.Ri?Gx(this,b):this.data.Nd()&&Fx(this,b):Gx(this,b);vx(7)&&(e=B("SPAN",this.g+"-offline-remove-options"),c=B("SPAN",{id:"unified-hovercard-remove-from-ebooks","class":this.g+"-fake-link"},"Remove from My eBooks"),c.id="hovercard-remove-from-my-ebooks",e.appendChild(c),b.appendChild(e))}else{c=this.data.va.So;a:{for(e in kx)if(kx[e]==this.data.va.Gp){e=!0;break a}e=!1}e&&!Ub(c)?jx(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):jx(this,b,"Preview", c,!1,!0,"unified-hovercard-preview-sample")}a.appendChild(b)};function Dx(a,b){var c=B("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.va.Aj;d&&(d=Bx(d,""),c.appendChild(d));a.data.Kf()||(d=B("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),O(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)} function Gx(a,b){a.data.va.Mf&&!a.data.Nd()?jx(a,b,"Pre-order eBook - "+a.data.va.fp,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Xk()?jx(a,b,"EBOOK FROM "+a.data.va.xu,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):jx(a,b,"Buy eBook - "+a.data.va.fp,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn")}function Fx(a,b){jx(a,b,"Read now",a.data.va.Vo,void 0,void 0,"unified-hovercard-read-now")} function Ex(a,b){var c=B("DIV",a.g+"-supported-devices"),d=a.g+"-device-type",e=a.g+"-device-supported",g=a.g+"-device-not-supported",h=B("SPAN",d,"Web"),k=B("SPAN",d,"Tablet / iPad"),l=B("SPAN",d,"eReader");d=B("SPAN",d,"Smartphone");var m=B("SPAN","goog-inline-block"),p=B("SPAN","goog-inline-block"),y=B("SPAN","goog-inline-block"),D=B("SPAN","goog-inline-block");a.data.va.Pi?(O(m,e),O(p,e),O(y,e),O(D,e)):(a.data.va.Qi?(O(m,e),O(p,e)):(O(m,g),O(p,g)),O(y,g),O(D,g));c.appendChild(m);c.appendChild(h); c.appendChild(p);c.appendChild(k);c.appendChild(y);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function Hx(a,b,c){ex.call(this,a);this.Ib=nj();this.j=this.ya=this.o=null;this.Fb=b;this.i=null;this.Jb=!!c;this.render(b);Ix(this)}n(Hx,ex);Hx.prototype.qa=function(){gx(this.i).dispose();E(this.V())};Hx.prototype.Fh=function(a,b){ex.prototype.Fh.call(this,a,b);this.isVisible()&&(this.jl=this.Ib?new tg(0,-2,0,0):new tg(0,0,0,-2),this.isVisible()&&this.Vf(),this.o=this.g,Jx(this))}; Hx.prototype.render=function(a){this.i&&(this.i.dispose(),this.j=this.ya=null);this.i=new Cx(a,this.className,435,this.Jb);this.i.render(this.V());Ix(this);this.isVisible()&&Jx(this)}; function Jx(a){var b=C("DIV"),c=C("DIV");var d=Yg(a.o||null);var e=Yg(a.V());if(d){d.top=Math.ceil(d.top);e.top=Math.ceil(e.top);d.left=Math.ceil(d.left);e.left=Math.ceil(e.left);var g=e.top>=d.top,h=Bg(e,d);h||(h=new xg(d.left,0,d.width,0));d=a.Ib?e.left+e.width-h.left-(h.width/2+12):h.left-e.left+(h.width/2-12);e={x:d>0?d:0,y:e.height-2,ku:g}}else e=null;g=a.Ib?"marginRight":"marginLeft";K(c,g,e.x+"px");K(b,g,e.x-1+"px");O(a.V(),a.className+"-tooltip");e.ku?(K(c,"bottom",e.y+"px"),K(b,"bottom", e.y+1+"px"),O(c,a.className+"-arrow-up"),O(b,a.className+"-arrow-up-border")):(K(c,"top",e.y+"px"),K(b,"top",e.y+1+"px"),a.Fb.va.Ch||O(c,a.className+"-nofooter"),O(c,a.className+"-arrow-down"),O(b,a.className+"-arrow-down-border"));a.j?rf(b,a.j):a.V().appendChild(b);a.ya?rf(c,a.ya):a.V().appendChild(c);a.ya=c;a.j=b} Hx.prototype.ac=function(a){var b=a.target||null;if(b){b.nodeType==3&&(b=b.parentNode);switch(b.id){case "hovercard-remove-from-my-ebooks":a.preventDefault();var c="c";break;case "hovercard-save-sample-for-later":case "hovercard-add-to-my-ebooks":a.preventDefault();c="a";break;case "hovercard-delete-forever":a.preventDefault();c="b";break;default:b.href&&(c="f",a.type=="touchstart"&&Sc(window.location,b.href))}c&&this.dispatchEvent(new Nf(c,this))}}; function Ix(a){var b=Wj||Xj?"touchstart":"click";qg(gx(a.i),a.V(),b,a.ac,a)};function Kx(a,b,c){dx.call(this,b);this.i=a;this.j=null;this.o=!1;if(c==(1).toString()||c==(7).toString())this.o=!0}u(Kx,dx);var Lx=new Q; Kx.prototype.Lc=function(a){var b=B("A",{className:"slider-link goog-inline-block"});L(b,"",this.Ab());var c=new R(this.i.va.Ag);this.i.va.source?S(c,"source",this.i.va.source):S(c,"source","gbs_slider_thumb");Wh(c,"num");Cc(b,c.toString());a.appendChild(b);this.j=C("IMG");this.j.alt="";this.g.ef(this.j,"load",r(this.ka,this));Lx.dispatchEvent("start");(a=this.i.va.xp)?(a=new R(a),S(a,"h",this.Ab()),S(a,"stbn",1),Wh(a,"edge"),this.j.src=a.toString()):this.j.src="/googlebooks/images/no_cover_thumb.gif"; L(this.j,"",this.Ab());b.appendChild(this.j);this.o&&this.i.va.ij==2?(this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],"Expired"),b.appendChild(this.l)):this.o&&this.i.va.ij==1?(a=this.i,a.va.ij==1?(a=a.va.av-ab()/1E3,a=Math.round(a/3600),c=Math.round(a/24),a=a<=1?"Expiring soon":a<=48?a+" hours":c+" days"):a="",this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.l)):!this.o||this.i.Nd()||this.i.va.Ti||(this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.l));cg(b,"mouseover",this.ma.bind(this,b))};Kx.prototype.ka=function(){this.dispatchEvent("render");Lx.dispatchEvent("complete");this.l&&Xg(this.l,M(this.j).width)};Kx.prototype.ma=function(a,b){(new Hx(a,this.i)).ye(b)};function Mx(a,b,c){Kx.call(this,a,b-40,c);this.s=B("DIV","slider-annotation");this.O=!1}n(Mx,Kx);Mx.prototype.Lc=function(a){cg(this,"render",r(this.oa,this));Kx.prototype.Lc.call(this,a);a.appendChild(this.s)};Mx.prototype.oa=function(a){if(!this.O){a.stopPropagation();a=this.s;var b=this.U();a.appendChild(b);this.O=!0;this.dispatchEvent("render")}};function Nx(a,b,c){Mx.call(this,a,b,c)}n(Nx,Mx);Nx.prototype.Lc=function(a){Mx.prototype.Lc.call(this,a)};Nx.prototype.U=function(){var a=this.i,b=C("DIV"),c=B("A",{className:"slider-annotation-title"},kf(a.Za()));Cc(c,a.va.Ag);b.appendChild(c);if(a=a.va.lk)a=B("DIV","slider-annotation-author",kf(a)),b.appendChild(a);L(b,M(this.j).width+5,"");return b};function Ox(){this.g=Px;this.Kg=5E3}var Qx=0;Ox.prototype.send=function(a,b,c,d){if(a){var e={};for(g in a)e[g]=a[g];a=e}else a={};d=d||"_"+(Qx++).toString(36)+Date.now().toString(36);e="_callbacks___"+d;b&&(q[e]=Rx(d,b),a.callback=e);b={timeout:this.Kg,hs:!0};var g=this.g;e=new Map(Object.entries(a));g=oc(g).toString();var h=g.split(/[?#]/),k=/[?]/.test(g)?"?"+h[1]:"";e=Je(h[0],k,/[#]/.test(g)?"#"+(k?h[2]:h[1]):"",e);b=Yl(e,b);Tl(b,null,Sx(d,a,c));return{rb:d,Bn:b}}; Ox.prototype.cancel=function(a){a&&(a.Bn&&a.Bn.cancel(),a.rb&&Tx(a.rb,!1))};function Sx(a,b,c){return function(){Tx(a,!1);c&&c(b)}}function Rx(a,b){return function(c){Tx(a,!0);b.apply(void 0,arguments)}}function Tx(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=ti};function Ux(a,b,c){Q.call(this);this.U=a;this.ma=c;this.j=b;I(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.s=null;this.i=[];this.l=-1;this.g=0;this.o=this.O=null;this.ta={}}u(Ux,Q);f=Ux.prototype;f.Nj=!0;f.jk=!1;f.od=function(){return this.j}; f.handleEvent=function(a){var b=this.U;if(a.target==this.j)switch(a.type){case "hilite":this.Ae(a.mf);break;case "select":var c=!1;if(typeof a.mf==="number"){a=a.mf;var d=this.i[Vx(this,a)];c=!!d&&b.Yk&&b.Yk(d);d&&!c&&this.l!=a&&this.Ae(a)}c||this.Of();break;case "canceldismiss":Wx(this);break;case "dismiss":Xx(this)}};f.hd=function(){return this.j.isVisible()}; function Yx(a){for(var b=a.g+a.i.length-1,c=a.l,d=0;d<a.i.length;d++){if(c>=a.g&&c<b)c++;else if(c==-1)c=a.g;else{a.jk&&c==b&&a.Ae(-1);break}if(a.Ae(c))break}}f.Ae=function(a){var b=Vx(this,a),c=this.i[b];return c&&this.U.Yk&&this.U.Yk(c)?!1:(this.l=a,this.j.Ae(a),b!=-1)}; f.Of=function(){var a=Vx(this,this.l);if(a!=-1){var b=this.i[a],c=this.ma;if(c.Pb){var d=b.toString();if(c.j){var e=Zx(c,c.ub(),$x(c.Pb)[0]),g=ay(c,c.ub());c.ka&&!c.ka.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.oa);e==0||Ub(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.Pb;d.value=g.join("");for(var h=0,k=0;k<=e;k++)h+=g[k].length;d.focus();e=h;g=c.Pb;by(g)&&(g.selectionStart=e);g=c.Pb;by(g)&&(g.selectionEnd=e)}}else c.rc(d);c.yl=!0}this.re();this.dispatchEvent({type:"update",mf:b, index:a});return!0}this.re();this.dispatchEvent({type:"update",mf:null,index:null});return!1};f.re=function(){this.l=-1;this.s=null;this.g+=this.i.length;this.i=[];window.clearTimeout(this.o);this.o=null;this.j.re();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};function Xx(a){a.o||(a.o=window.setTimeout(r(a.re,a),100))}f.uo=function(){return this.o?(window.clearTimeout(this.o),this.o=null,!0):!1};function Wx(a){a.uo()||window.setTimeout(r(a.uo,a),10)} f.qa=function(){Ux.na.qa.call(this);delete this.ta;this.j.dispose();this.ma.dispose();this.U=null};f.pu=function(a,b,c){this.s==a&&this.wl(b,c)}; f.wl=function(a,b){var c=Sa(b)=="object"&&b;b=(c?c.i():b)?Vx(this,this.l):-1;this.g+=this.i.length;this.i=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.g+e,data:a[e]});a=null;this.O&&(a=this.ta[Wa(this.O)]||this.O);this.j.mj(a);this.j.wl(d,this.s,this.O);a=this.Nj;c&&c.g()!==void 0&&(a=c.g());this.l=-1;(a||b>=0)&&d.length!=0&&this.s&&(b>=0?this.Ae(this.g+b):Yx(this));this.dispatchEvent("suggestionsupdate")};function Vx(a,b){b-=a.g;return b<0||b>=a.i.length?-1:b}f.update=function(a){this.ma.update(a)};function $x(a){var b=0,c=0;by(a)&&(b=a.selectionStart,c=-1);return[b,c]}function by(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};function cy(a,b,c,d){Kf.call(this);d=d||150;this.j=c!=null?c:!0;this.o=a||",;";this.oa=this.o.charAt(0);a=this.j?"[\\s"+this.o+"]+":"[\\s]+";this.ma=new RegExp("^"+a+"|"+a+"$","g");this.ka=new RegExp("\\s*["+this.o+"]$");this.O=b||"";this.ta=this.j;this.Qa=d>0?new kj(d):null;this.i=new ng(this);this.s=new ng(this);this.l=new Gq;this.U=-1}u(cy,Kf);f=cy.prototype;f.Pb=null;f.fl="";f.rf=!1;f.yl=!1;f.ub=function(){return this.Pb.value};f.rc=function(a){this.Pb.value=a}; function dy(a,b){vf(b)&&(Oj(b,"combobox"),X(b,"autocomplete","list"));a.i.ha(b,"focus",a.nm);a.i.ha(b,"blur",a.zq);a.Pb||(a.s.ha(b,"keydown",a.Hu),vf(b)&&Hf(Te(b))==b&&ey(a,b))}f.yq=function(a){for(var b=0;b<arguments.length;b++)dy(this,arguments[b])};f.qa=function(){cy.na.qa.call(this);this.i.dispose();delete this.i;this.s.dispose();this.l.dispose();Jf(this.Qa)}; f.Mc=function(a){switch(a.keyCode){case 40:if(this.g.hd())return Yx(this.g),a.preventDefault(),!0;if(!this.j)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.g.hd()){a:for(var b=this.g,c=b.l,d=0;d<b.i.length;d++){if(c>b.g)c--;else{b.jk&&c==b.g&&b.Ae(-1);break}if(b.Ae(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.hd()||a.shiftKey)this.g.re();else if(this.update(),this.g.Of()&&this.ta)return a.preventDefault(),!0;break;case 13:if(this.g.hd()){if(this.update(),this.g.Of())return a.preventDefault(), a.stopPropagation(),!0}else this.g.re();break;case 27:if(this.g.hd())return this.g.re(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.rf)return this.rf||(this.i.ha(this.Pb,"keyup",this.Jo),this.i.ha(this.Pb,"keypress",this.Io),this.rf=!0),!0}(b=this.j&&a.charCode&&this.o.indexOf(String.fromCharCode(a.charCode))!=-1)&&this.update();b&&this.g.Of()?(a.preventDefault(),a=!0):a=!1;return a};f.ot=function(){return!1};f.nm=function(a){ey(this,a.target||null)}; function ey(a,b){sg(a.s);a.g&&Wx(a.g);b!=a.Pb&&(a.Pb=b,a.Qa&&(a.Qa.start(),a.i.ha(a.Qa,"tick",a.rm)),a.fl=a.ub(),a.l.attach(a.Pb),a.i.ha(a.l,"key",a.om),a.i.ha(a.Pb,"mousedown",a.Ko))}f.zq=function(){this.Pb&&(this.i.Sa(this.l,"key",this.om),Kq(this.l),this.i.Sa(this.Pb,"keyup",this.ot),this.i.Sa(this.Pb,"mousedown",this.Ko),this.rf&&fy(this),this.Pb=null,this.Qa&&(this.Qa.stop(),this.i.Sa(this.Qa,"tick",this.rm)),this.g&&Xx(this.g))};f.rm=function(){this.update()};f.Hu=function(a){this.nm(a)}; f.om=function(a){this.U=a.keyCode;this.g&&this.Mc(a)};f.Io=function(){this.rf&&this.U!=229&&fy(this)};f.Jo=function(a){this.rf&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&fy(this)};f.Ko=function(){};function fy(a){a.rf&&(a.rf=!1,a.i.Sa(a.Pb,"keypress",a.Io),a.i.Sa(a.Pb,"keyup",a.Jo))} f.update=function(a){if(this.Pb&&(a||this.ub()!=this.fl)){if(a||!this.yl){a=$x(this.Pb)[0];var b=this.ub();a=ay(this,b)[Zx(this,b,a)];a=this.ma?String(a).replace(this.ma,""):a;this.g&&(this.g.O=this.Pb,b=this.g,this.ub(),b.s!=a&&(b.s=a,b.U.Zo(b.s,10,r(b.pu,b)),Wx(b)))}this.fl=this.ub()}this.yl=!1};function Zx(a,b,c){a=ay(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;e<a.length&&d<=c;e++)d+=a[e].length,b=e;return b} function ay(a,b){if(!a.j)return[b];b=String(b).split("");for(var c=[],d=[],e=!1,g=0;g<b.length;g++)a.O&&a.O.indexOf(b[g])!=-1?(e||(c.push(d.join("")),d.length=0),d.push(b[g]),e=!e):e||a.o.indexOf(b[g])==-1?d.push(b[g]):(d.push(b[g]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};function gy(a,b,c,d){Q.call(this);this.ka=a||document.body;this.g=Re(this.ka);this.oa=!a;this.ua=null;this.ma="";this.i=[];this.o=[];this.ta=this.U=-1;this.s=!1;this.className="ac-renderer";this.Fa="ac-highlighted";this.O=b||null;this.Ua=d!=null?d:!0;this.Ib=!!c}u(gy,Q);f=gy.prototype;f.V=function(){return this.ua};f.mj=function(a){this.Aa=a};f.wl=function(a,b,c){this.ma=b;this.i=a;this.U=-1;this.ta=ab();this.j=c;this.o=[];hy(this)};f.re=function(){this.s&&(this.s=!1,iy(this,!1),N(this.ua,!1))}; f.show=function(){this.s||(this.s=!0,iy(this,!0),N(this.ua,!0))};function iy(a,b){a.j&&(X(a.j,"haspopup",b),X(a.ua,"expanded",b),X(a.j,"expanded",b),b?X(a.j,"owns",a.ua.id):(a.j.removeAttribute("aria-owns"),Rj(a.j,null)))}f.isVisible=function(){return this.s}; function jy(a,b){var c=b>=0&&b<a.i.length?a.i[b]:void 0,d=b>=0&&b<a.o.length?a.o[b]:void 0;a.dispatchEvent({type:"rowhilite",s:d,mf:c?c.data:null})&&(a.U>=0&&oh(a.o[a.U],["ac-active","active"]),a.U=b,d&&(mh(d,["ac-active","active"]),a.j&&Rj(a.j,d),Qg(d,a.ua)))}f.Ae=function(a){if(a==-1)jy(this,-1);else for(var b=0;b<this.i.length;b++)if(this.i[b].id==a){jy(this,b);break}}; function ky(a){if(!a.ua){var b=a.g.Ma("DIV",{style:"display:none"});a.ua=b;mh(b,Vb(a.className).split(" "));Oj(b,"listbox");b.id=xk(wk.Hb());a.g.appendChild(a.ka,b);I(b,"click",a.sm,!1,a);I(b,"mousedown",a.tm,!1,a);I(b,"mouseover",a.um,!1,a)}} function hy(a){ky(a);a.Wa&&(a.ua.style.minWidth=a.Wa.clientWidth-0+"px");a.La&&(a.ua.style.maxWidth=a.La.clientWidth-0+"px");a.o.length=0;a.g.Yl(a.ua);a.O&&a.O.render?a.O.render(a,a.ua,a.i,a.ma):a.i.forEach(function(b){var c=this.ma,d=this.g.Ma("DIV",{className:"ac-row",id:xk(wk.Hb())});Oj(d,"option");this.O&&this.O.Zu?this.O.Zu(b,c,d):G(d,b.data.toString());c&&this.Ua&&(this.ya=!1,ly(this,d,c));O(d,"ac-row");this.o.push(d);b=d;this.g.appendChild(this.ua,b)},a);a.i.length==0?a.re():(a.show(),a.Oj(), ch(a.ua,!0))}f.Oj=function(){if(this.j&&this.oa){var a=this.Aa||this.j;var b=this.Ib?5:1;up(a,b,this.ua,b^1,null,null,65)}};f.qa=function(){this.ua&&(jg(this.ua,"click",this.sm,!1,this),jg(this.ua,"mousedown",this.tm,!1,this),jg(this.ua,"mouseover",this.um,!1,this),this.g.Yh(this.ua),this.ua=null,this.s=!1);Jf(this.l);this.ka=null;gy.na.qa.call(this)}; function ly(a,b,c){if(!a.ya)if(b.nodeType==3){var d=null;Array.isArray(c)&&c.length>1&&(d=c.slice(1));c=my(c);if(c.length!=0){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=g.exec(e),l=0;k;)l++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(e);c.push(e.substring(h));if(c.length>1){for(d=0;d<1;d++)e=2*d,b.nodeValue=c[e],g=If(a.g,"B"),g.className=a.Fa,a.g.appendChild(g,a.g.g.createTextNode(String(c[e+1]))),g=b.parentNode.insertBefore(g, b.nextSibling),b.parentNode.insertBefore(a.g.g.createTextNode(""),g.nextSibling),b=g.nextSibling;b.nodeValue=c.slice(2).join("");a.ya=!0}else d&&ly(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,ly(a,b,c),b=d}function my(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Ub(gd(c))}));Array.isArray(a)?b=a.length>0?ed(a[0]):"":/^\W/.test(a)||(b=ed(a));return b}function ny(a,b){for(;b&&b!=a.ua&&!lh(b,"ac-row");)b=b.parentNode;return b?a.o.indexOf(b):-1} f.sm=function(a){var b=ny(this,a.target);b>=0&&this.dispatchEvent({type:"select",mf:this.i[b].id});a.stopPropagation()};f.tm=function(a){a.stopPropagation();a.preventDefault()};f.um=function(a){a=ny(this,a.target);a>=0&&!(ab()-this.ta<300)&&this.dispatchEvent({type:"hilite",mf:this.i[a].id})};var oy=ta(["//suggestqueries.google.com/complete/search"]);function py(a,b,c,d){this.oa=a;this.ka=null;this.Fa=c||null;this.Aa=typeof b==="boolean"?b:!0;this.ya=d||0;b=new qy;c=new ry(this.Fa||a,this.ya);c.oa=!0;d=new cy(null,null,!1);Ux.call(this,b,c,d);d.g=this;d.yq(a);this.O=a;this.Nj=!1;this.jk=!0;I(this,"update",r(this.Ea,this))}u(py,Ux);py.prototype.Of=function(){this.Ga=this.oa.value;py.na.Of.call(this);return!1}; py.prototype.Ea=function(a){a.mf&&(a=this.oa.form,this.ka||(this.ka=B("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.ka)),this.ka.value=this.Ga,this.Aa&&a.submit())};function qy(){}var Px=Ie(oy);qy.prototype.Zo=function(a,b,c){a={client:"books",ds:"bo",q:a};c=r(this.g,this,c);this.i&&this.i.cancel();this.i=new Ox;this.i.send(a,c)};qy.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)};function ry(a,b){gy.call(this);this.Ea=a;this.Ga=b||0} u(ry,gy);ry.prototype.Oj=function(){ry.na.Oj.call(this);var a=0,b=A("gbfwa");b||(b=Ze("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(We("div","ac-renderer"),function(c){a&&K(c,"top",a+"px");K(c,"width",M(this.Ea).width-2+"px");K(c,"left",parseInt(c.style.left,10)+this.Ga+"px")},this)};function sy(a,b,c,d,e){W.call(this);this.O=a;this.s=b;this.oa=e;this.wb=typeof d==="number"?d:this.s?200:80;this.s||O(this.O,"slider-small");this.U=[];this.j=C("A");this.j.textContent=nj()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");ch(this.j,!0);this.O.appendChild(this.j);this.i=C("div");O(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=C("A");this.o.textContent=nj()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");ch(this.o,!0);this.O.appendChild(this.o); this.g.ha(this.j,"click",this.nl.bind(this,-.75));this.g.ha(this.o,"click",this.nl.bind(this,.75));this.Wh();this.g.ha(this.j,"click",this.nl.bind(this,-.75));this.resize();this.ka=0;this.ma=xd()>=8&&!Zd("9")&&nj();c&&ty(this,c)}u(sy,W);function uy(a){var b=Math.ceil(vy(a)*1.25);b=Math.min(a.U.length,a.ka+b);v(a.U.slice(a.ka,b),r(a.ws,a));a.Wh();a.ka=b;b>=a.U.length&&a.dispatchEvent("render")}f=sy.prototype; f.ws=function(a){var b=B("DIV",{"class":"goog-inline-block slider-loading"});this.i.appendChild(b);var c=B("DIV",{"class":"goog-inline-block slider-drawable"});N(c,!1);this.i.appendChild(c);this.g.ef(a,"render",this.ys.bind(this,b,c));a.Lc(c)};f.ys=function(a,b){E(a);this.Wh();N(b,!0)};function ty(a,b){b=b.map(function(c){return this.s?new Nx(c,this.wb):new Kx(c,this.wb,this.oa)},a);wy(a,b)}function wy(a,b){wb(a.U,b);uy(a)} f.nl=function(a){(nj()?a<0:a>0)&&uy(this);a*=this.ma?-1:1;a*=M(this.i).width+20;this.l&&(this.l.dispose(),this.l=null);this.l=new Bj([this.i.scrollLeft,0],[this.i.scrollLeft+a,0],500,Ej);I(this.l,"animate",this.Aq.bind(this));I(this.l,"end",this.Wh.bind(this));this.l.play()};f.Aq=function(a){a=a.coords.map(Math.round);this.i.scrollLeft=a[0]}; f.Wh=function(){if(Hd&&nj()||this.ma){var a=this.i.scrollLeft<=(this.i.scrollWidth-M(this.i).width)*-1;var b=this.i.scrollLeft==0}else a=this.i.scrollLeft==0,b=this.i.scrollLeft>=this.i.scrollWidth-M(this.i).width;this.j.className=a?"slider-button slider-button-left slider-button-disabled":"slider-button slider-button-left";this.o.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.resize=function(){this.Wh()}; function vy(a){var b=a.s?110:50;return Math.ceil(M(a.i).width/b)};function xy(a,b,c){W.call(this);this.metadata=a;this.source=b?b:"gbs_bookshelf_slider";this.O=0;this.l=new qh;this.ma=this.l.getSize();this.U="";this.oa=typeof c==="boolean"?!c:!1;cg(this.l,"resize",r(this.vm,this))}n(xy,W);f=xy.prototype;f.vm=function(){this.l.getSize().width>this.ma.width?this.hh():cg(this.l,"resize",r(this.vm,this))};f.render=function(a){this.o=a;this.i=this.Nk(a);this.g.ha(this.i,"render",r(this.hh,this))};f.Nk=function(){return new sy(this.o,!0,void 0,void 0,this.metadata.getId())}; f.hh=function(){this.i.resize();var a=Math.ceil(vy(this.i)*1.25)+1,b=this.Ue(this.O,a);b&&(this.O+=a,hi(b,r(this.Lt,this)))};f.rg=ba(12);f.Lt=function(a){a=a.target;if(mi(a)){if((a=(new tx(pi(a))).g)&&a.length){var b=Km(a[a.length-1].va.Ag);this.U!=b&&(this.U=b,wy(this.i,yy(this,a)));(a=Ff(this.V()))&&Zg(a,1)}else this.i.ka==0&&this.Yo();this.dispatchEvent("success")}}; function yy(a,b){return a.xk(b).map(function(c){return this.i.s?new Nx(c,200,this.metadata.getId()):new Kx(c,80,this.metadata.getId())},a)}f.Yo=function(){};f.V=function(){return this.o};f.xk=function(a){return this.source?a.map(function(b){b.va.source=this.source;return b},this):a};function zy(a,b,c){Zu.call(this,a,b,c);this.Mh(!0)}u(zy,Zu);$q("goog-checkbox-menuitem",function(){return new zy(null)});function Ay(a){zy.call(this,Zc(a.Za()),a.getId());this.i=a}n(Ay,zy);Ay.prototype.Kb=function(a){zy.prototype.Kb.call(this,a);if(this.i.le){var b=(a=this.i.le==1)?"Public bookshelf":"Private bookshelf";a=B("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(nj()?"left":"right")});a=B("DIV","goog-menuitem-accel",a,kf(String(this.i.ta)));qf(this.Gb(),a,1)}};function By(a,b,c){c=c===void 0?!1:c;iv.call(this);this.j=a;this.o=b;this.U=c}n(By,iv);f=By.prototype;f.Oa=function(){iv.prototype.Oa.call(this);Ax(this.o).forEach(this.Wr,this)};f.Ia=function(){iv.prototype.Ia.call(this);this.V().style.maxHeight="200px";this.V().style.overflowY="scroll";var a=Z(this);a.ha(this.V(),"mouseout",this.Bq);a.ha(this.V(),"scroll",this.Cq)};f.Bq=function(a){wf(this.V(),a.relatedTarget)||this.wa(!1)}; f.lt=function(a){var b=a.target,c=b.i,d=this.j.Sb();Uq(b,16)?nx(c,d):qx(c,d);this.dispatchEvent("g");a.stopPropagation()};f.Cq=function(a){a.stopPropagation()};f.Wr=function(a){var b=!Ub(gd(a.Za())),c=a.j&&(!a.oa||this.j.ka),d=!!ox(a,this.j.Sb());b&&(c||d)&&(b=new Ay(a),b.Qf(d),b.nb(this.o.hl!=a.getId()||this.U),this.Xa(b,!0),Z(this).ha(b,"action",this.lt))};function Cy(a){var b=[];Dk(a,function(c){c instanceof Ay&&Uq(c,16)&&b.push(c.i)});return b};function Dy(a,b,c){Vw.call(this,null,null,c?5:0);this.i=new By(a,b);this.i.ae(this);Lf(this,this.i);this.o=new Image(16,16);this.o.src="/googlebooks/images/my_library_logo.png";this.Ub(64,!0)}n(Dy,Vw);f=Dy.prototype;f.Oa=function(){Vw.prototype.Oa.call(this);O(this.V(),"add-to-library")}; function Ey(a){a.i.Ra||a.i.render();var b=Cy(a.i);switch(b.length){case 0:var c="Add to my library";break;case 1:c="Added to "+b[0].Za();break;default:c="Added to "+b.length+" shelves"}b.length>0&&(c=$w(a.o,c));fr(a,c)}f.Nb=function(a){this.tk();Vw.prototype.Nb.call(this,a);this.i.Ra||this.i.render();if(a){a=this.i;var b=this.V();jv(a,new $u(b,8,!0),void 0,null)}else this.i.ab()}; f.Ia=function(){Vw.prototype.Ia.call(this);var a=Z(this);a.ha(this,"enter",this.wv);a.ha(this,"leave",this.tk);a.ha(this,"action",this.Dq);a.ha(this.i,"g",this.st);Ey(this)};f.st=function(){Ey(this)};f.Dq=function(){this.Nb(!0)};f.wv=function(){this.tk();this.Oo=U(r(this.Nb,this,!0),200)};f.tk=function(){mj(this.Oo)};f.Oo=null;function Fy(a){ux.call(this);a!=null&&a.bookshelf&&v(a.bookshelf,function(b){wx(this,new tx(b))},this)}n(Fy,ux);function Gy(a,b,c){var d=new R("/books");Tu(d);S(d,"op","cls_metadata");S(d,"jscmd","ClsMetadata");var e=T(new R(window.location),"uid");e&&S(d,"uid",e);b&&S(d,"uid",b);zn(d.toString(),t(Hy,a,c))}function Iy(a,b){var c=new Fy(b);a&&a.forEach(function(d){Jy(d.Sb(),d.La,c)});return c}function Jy(a,b,c){b.forEach(function(d){var e=new lx;e.va.Pl=a;(d=xx(c,String(d)))&&d.g.push(e)})}function Hy(a,b,c){a(Iy(b,c))};function Ky(a){return a.split(Ly).filter(function(b){return b.length>0})} var My=/\s/,Ny=/[ -]/,Ly=/[+,;]/,Oy=/-?"[^"]+"|[^\s"]+/g,Py=RegExp('["\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02]',"g"),Qy=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,]"),Ry=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");function Sy(a){return Fd?a.toLowerCase():a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC")};function Ty(a){var b={};Uy(a).forEach(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e);g=Qy.test(g)?"-":g;d[g]||(d[g]={});d=d[g]}d!=b&&(d.$=Vy)});return b} function Uy(a){a=Uc(Sy(a));var b=a.match(Py);b&&(a=a.replace(Py,'"'),b.length&1&&(a+='"'));b=a.match(Oy);if(!b)return[];a=new Set;b=qa(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.startsWith('"'))a.add(c.replace(Ry,""));else if(!c.startsWith("-")){c=Ky(c.replace(Ry,""));c=qa(c);for(var d=c.next();!d.done;d=c.next())a.add(d.value)}a.delete("");return Array.from(a)}var Vy={};function Wy(a){var b=!0;b=b===void 0?!1:b;this.g=typeof a==="string"?Ty(a):a;this.j=b;this.i=[]} function Xy(a,b,c,d){for(var e=fb(d),g=a.i,h=g.length-1,k;k=g[h];h--){var l=k;var m=b;var p=c,y=!1;if(l.g)if(y=!!l.g.$,Ny.test(m)){if(l.g=l.g[" "]||l.g["-"],l.g)for(;m=l.g[" "]||l.g["-"];)l.g=m}else l.endOffset=p+1,l.fh=void 0,l.g=l.g[m]||null;l.complete=!l.g;if(y){l={startOffset:k.startOffset,Ig:k.Ig,endOffset:k.endOffset,fh:k.fh};if(a.j)for(;e&&e.startOffset<=l.endOffset&&l.startOffset<=e.endOffset&&e.Ig===l.Ig;){d.pop();if(e.startOffset<l.startOffset||e.endOffset>l.endOffset)l={startOffset:e.startOffset, Ig:e.Ig,endOffset:l.endOffset,fh:l.fh};e=fb(d)}d.push(l);e=l}k.complete&&sb(g,h)}}function Yy(a,b){this.startOffset=a;this.Ig=void 0;this.endOffset=a;this.fh=void 0;this.complete=!1;this.g=b};function Zy(a,b){var c=void 0;c=c===void 0?Infinity:c;b=new Wy(b);c=c===void 0?Infinity:c;var d=d===void 0?[]:d;var e=" ",g,h=Sy(a);for(g=0;g<h.length&&d.length<c;g++){var k=h.charAt(g);a=Ny.test(e);if(My.test(k)){if(k=" ",a)continue}else if(Qy.test(k)){if(k="-",a)continue}else a&&b.g[k]&&b.i.push(new Yy(g,b.g));Xy(b,k,g,d);e=k}Ny.test(e)||Xy(b," ",g,d);d.length>=c&&(d.length=c);return d};function $y(a){var b=Ty(a);a=az();Array.prototype.forEach.call(a,function(c){bz(b,c)})}function az(){var a=[],b=vb(Ye("patent-text")),c=Ze("patent-title");for(c&&b.push(c);c=b.pop();)c.nodeType==3?a.push(c):wb(b,c.childNodes);return a} function bz(a,b){var c=Ef(b);a=Zy(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),ie("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=C("span");x(a,ce(d));rf(a,b)}};function cz(){Zu.call(this,"Turn off highlighting");var a=Gh("dq")||Gh("q");a&&$y(a);this.Lb=!0}n(cz,Zu);cz.prototype.Ia=function(){Zu.prototype.Ia.call(this);Z(this).ha(this,"action",this.i)};cz.prototype.i=function(){this.Lb=!this.Lb;P(window.document.body,"patent-highlight-disabled",!this.Lb);fr(this,this.Lb?"Turn off highlighting":"Turn on highlighting")};function dz(){}u(dz,cv);Ra(dz);dz.prototype.Kc=function(a){return a.g.Ma("DIV",Oq(this,a).join(" ")+" goog-inline-block","\u00a0")};dz.prototype.Ob=function(a,b){b=dz.na.Ob.call(this,a,b);O(b,"goog-inline-block");return b};dz.prototype.Pa=function(){return"goog-toolbar-separator"};function ez(){}u(ez,Wq);Ra(ez);f=ez.prototype;f.Kc=function(a){var b=Oq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),this.zi(a.wc(),a.g));this.nf(b,a.Xe());return b};f.ag=function(){return"button"};f.Ec=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.zi=function(a,b){return b.Ma("DIV","goog-inline-block "+(this.Pa()+"-outer-box"),b.Ma("DIV","goog-inline-block "+(this.Pa()+"-inner-box"),a))};f.hi=function(a){return a.tagName=="DIV"}; f.Ob=function(a,b){fz(b,!0);fz(b,!1);a:{var c=a.g.Qn(b);var d=this.Pa()+"-outer-box";if(c&&lh(c,d)&&(c=a.g.Qn(c),d=this.Pa()+"-inner-box",c&&lh(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.zi(b.childNodes,a.g));mh(b,["goog-inline-block",this.Pa()]);return ez.na.Ob.call(this,a,b)};f.Pa=function(){return"goog-custom-button"}; function fz(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==3){var e=c.nodeValue;if(Vb(e)=="")a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function gz(){}u(gz,ez);Ra(gz);gz.prototype.Pa=function(){return"goog-toolbar-button"};function hz(){this.g="toolbar"}u(hz,it);Ra(hz);hz.prototype.nh=function(a){return a.tagName=="HR"?new dv(dz.Hb()):hz.na.nh.call(this,a)};hz.prototype.fg=function(){return"goog-toolbar"};hz.prototype.Pn=function(){return"horizontal"};function iz(a){hz.call(this);this.i=a}u(iz,hz);var jz={};iz.prototype.fg=function(){return this.i||"ocean-chrome-toolbar"};function kz(a){Q.call(this);this.g=[];lz(this,a)}u(kz,Q);f=kz.prototype;f.Pf=null;f.Pj=null;function mz(a,b){a.Pj=b}function lz(a,b){b&&(b.forEach(function(c){nz(this,c,!1)},a),wb(a.g,b))}f.Na=function(a){this.Re(a,this.g.length)};f.Re=function(a,b){a&&(nz(this,a,!1),xb(this.g,b,0,a))};f.Hd=function(){return vb(this.g)};f.Ie=function(a){a!=this.Pf&&(nz(this,this.Pf,!1),this.Pf=a,nz(this,a,!0));this.dispatchEvent("select")}; f.clear=function(){var a=this.g;if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0;this.Pf=null};f.qa=function(){kz.na.qa.call(this);delete this.g;this.Pf=null};function nz(a,b,c){b&&(typeof a.Pj=="function"?a.Pj(b,c):typeof b.Cl=="function"&&b.Cl(c))};function oz(a,b,c){nt.call(this,b,a||hz.Hb(),c)}u(oz,nt);oz.prototype.oi=function(a){oz.na.oi.call(this,a);this.Yd||st(this)};function pz(a,b,c){mr.call(this,a,b||gz.Hb(),c)}u(pz,mr);$q("goog-toolbar-button",function(){return new pz(null)});function qz(a,b){dv.call(this,a||dz.Hb(),b)}u(qz,dv);$q("goog-toolbar-separator",function(){return new qz});function rz(a){a=a||"viewport-chrome-toolbar";a=jz[a]||(jz[a]=new iz(a));oz.call(this,a);this.ya={};this.l=new ng(this)}n(rz,oz);function sz(a,b,c,d){b.Ub(16,!0);if(c){var e=a.ya[c];e||(e=new kz,mz(e,function(g,h){g&&g.Qf(h)}),a.ya[c]=e);e.Na(b);b.zf&=-17;I(b,"action",function(g){e.Ie(g.target)});d&&e.Ie(b)}else b.Sc(16,!!d)}function tz(a,b){a.ya.viewport&&a.ya.viewport.Ie(b)}rz.prototype.qa=function(){oz.prototype.qa.call(this);this.l.dispose();Kb(this.ya,function(a){a.dispose()})};function uz(){}u(uz,Wq);Ra(uz);f=uz.prototype;f.Kc=function(a){var b=Oq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),a.wc());this.nf(b,a.Xe());return b};f.ag=function(){return"button"};f.hi=function(a){return a.tagName=="DIV"};f.Ob=function(a,b){O(b,"goog-inline-block");return uz.na.Ob.call(this,a,b)};f.ub=function(){return""};f.Pa=function(){return"goog-flat-button"};$q("goog-flat-button",function(){return new mr(null,uz.Hb())});function vz(){}u(vz,ez);Ra(vz);vz.prototype.Ec=function(a){return vz.na.Ec.call(this,a&&a.firstChild)};vz.prototype.Ob=function(a,b){var c=We("*","goog-menu",b)[0];if(c){N(c,!1);Te(c).body.appendChild(c);var d=new gv;Ck(d,c);a.He(d)}return vz.na.Ob.call(this,a,b)};vz.prototype.zi=function(a,b){return vz.na.zi.call(this,[b.Ma("DIV","goog-inline-block "+(this.Pa()+"-caption"),a),b.Ma("DIV","goog-inline-block "+(this.Pa()+"-dropdown"),"\u00a0")],b)};vz.prototype.Pa=function(){return"goog-menu-button"};function wz(){this.g=[]}u(wz,Uu);Ra(wz);wz.prototype.Kc=function(a){var b=wz.na.Kc.call(this,a);O(b,"goog-submenu");xz(this,a,b);return b};wz.prototype.Ob=function(a,b){b=wz.na.Ob.call(this,a,b);O(b,"goog-submenu");xz(this,a,b);var c=We("DIV","goog-menu",b);if(c.length){var d=new gv(a.g);c=c[0];N(c,!1);a.g.g.body.appendChild(c);Ck(d,c);a.He(d,!0)}return b};wz.prototype.dg=function(a,b){var c=this.Ec(a),d=c&&c.lastChild;wz.na.dg.call(this,a,b);d&&c.lastChild!=d&&lh(d,"goog-submenu-arrow")&&c.appendChild(d)}; wz.prototype.ii=function(a){wz.na.ii.call(this,a);var b=a.Gb(),c=Xe(a.g.g,"SPAN","goog-submenu-arrow",b)[0];yz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.V();X(a,"haspopup","true")};function xz(a,b,c){var d=b.g.Ma("SPAN");d.className="goog-submenu-arrow";yz(b,d);a.Ec(c).appendChild(d)}function yz(a,b){Gk(a)?(O(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(nh(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function zz(a,b,c,d){Zu.call(this,a,b,c,d||wz.Hb())}u(zz,Zu);f=zz.prototype;f.Tg=null;f.Jl=null;f.kl=!1;f.lc=null;f.Ci=!1;f.Ia=function(){zz.na.Ia.call(this);Z(this).ha(this.getParent(),"hide",this.Lo);this.lc&&Az(this,this.lc,!0)};f.hc=function(){Z(this).Sa(this.getParent(),"hide",this.Lo);this.lc&&(Az(this,this.lc,!1),this.Ci||(this.lc.hc(),E(this.lc.V())));zz.na.hc.call(this)};f.qa=function(){this.lc&&!this.Ci&&this.lc.dispose();this.lc=null;zz.na.qa.call(this)}; f.Pc=function(a){zz.na.Pc.call(this,a);a||(this.Tg&&mj(this.Tg),this.Tg=U(this.te,218,this))};f.Il=function(){var a=this.getParent();a&&rt(a)==this&&(Bz(this,!0),Cz(this))};f.te=function(){var a=this.lc;a&&a.getParent()==this&&(Bz(this,!1),Dk(a,function(b){typeof b.te=="function"&&b.te()}))};function Dz(a){a.Tg&&mj(a.Tg);a.Jl&&mj(a.Jl)}f.wa=function(a,b){(a=zz.na.wa.call(this,a,b))&&!this.isVisible()&&this.te();return a}; function Cz(a){Dk(a.getParent(),function(b){b!=this&&typeof b.te=="function"&&(b.te(),Dz(b))},a)}f.Mc=function(a){var b=a.keyCode,c=Gk(this)?37:39,d=Gk(this)?39:37;if(!this.kl){if(!this.isEnabled()||b!=c&&b!=13&&b!=this.ll)return!1;this.Il();st(Ez(this));Dz(this)}else if(!Ez(this).Mc(a))if(b==d)this.te();else return!1;a.preventDefault();return!0};f.Au=function(){this.lc.getParent()==this&&(Dz(this),this.yg().Pc(this),Cz(this))};f.Lo=function(a){a.target==this.yg()&&(this.te(),Dz(this))}; f.ye=function(a){this.isEnabled()&&(Dz(this),this.Jl=U(this.Il,218,this));zz.na.ye.call(this,a)};f.kf=function(a){Dz(this);if(Tq(this,8)||Tq(this,16))return zz.na.kf.call(this,a);this.Il();return!0}; function Bz(a,b){!b&&Ez(a)&&Ez(a).Od(-1);a.dispatchEvent(zk(64,b));var c=Ez(a);b!=a.kl&&P(a.V(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.Ra||c.render(),c.Od(-1)),c.wa(b),b)){c=new Ir(a.V(),12,!1);var d=Ez(a),e=d.V();d.isVisible()||(e.style.visibility="hidden",N(e,!0));c.Jc(e,8);d.isVisible()||(N(e,!1),e.style.visibility="visible")}a.kl=b}function Az(a,b,c){var d=Z(a);(c?d.ha:d.Sa).call(d,b,"enter",a.Au)}f.Na=function(a){Ez(this).Xa(a,!0)};f.Re=function(a,b){Ez(this).jg(a,b,!0)};f.Hd=function(){return Ez(this).Hd()}; function Ez(a){a.lc?a.Ci&&a.lc.getParent()!=a&&a.lc.ae(a):a.He(new gv(a.g),!0);a.lc.V()||a.lc.Oa();return a.lc}f.He=function(a,b){var c=this.lc;a!=c&&(c&&(this.te(),this.Ra&&Az(this,c,!1)),this.lc=a,this.Ci=!b,a&&(a.ae(this),a.wa(!1,!0),hv(a,!1),wt(a,!1),this.Ra&&Az(this,a,!0)))};f.Rd=function(a){return Ez(this).Rd(a)};$q("goog-submenu",function(){return new zz(null)});function Fz(a,b,c,d,e){mr.call(this,a,c||vz.Hb(),d);this.Ub(64,!0);this.o=new $u(null,9);b&&this.He(b);this.Qa=new kj(500);this.Ua=e||ev.Hb()}u(Fz,mr);f=Fz.prototype;f.Ia=function(){Fz.na.Ia.call(this);Gz(this,!0);this.i&&Hz(this,this.i,!0);X(this.ua,"haspopup",!!this.i)};f.hc=function(){Fz.na.hc.call(this);Gz(this,!1);if(this.i){this.Nb(!1);this.i.hc();Hz(this,this.i,!1);var a=this.i.V();a&&E(a)}};f.qa=function(){Fz.na.qa.call(this);this.i&&(this.i.dispose(),delete this.i);delete this.Wa;this.Qa.dispose()}; f.vf=function(a){Fz.na.vf.call(this,a);if(this.isActive()&&(this.Nb(!this.hd(),a),this.i)){a=this.i;var b=this.hd();a.Yd=b}};f.ze=function(a){Fz.na.ze.call(this,a);this.i&&!this.isActive()&&(this.i.Yd=!1)};f.kf=function(){hr(this,!1);return!0};f.Vs=function(a){this.i&&this.i.isVisible()&&!this.Rd(a.target)&&this.Nb(!1)};f.Rd=function(a){return a&&wf(this.V(),a)||this.i&&this.i.Rd(a)||!1}; f.Xd=function(a){if(a.keyCode==32){if(a.preventDefault(),a.type!="keyup")return!0}else if(a.type!="key")return!1;if(this.i&&this.i.isVisible()){var b=a.keyCode==13||a.keyCode==32,c=this.i.Mc(a);return c&&this.i&&this.i.Yb instanceof zz||a.keyCode!=27&&!b?c:(this.Nb(!1),!0)}return a.keyCode==40||a.keyCode==38||a.keyCode==32||a.keyCode==13?(this.Nb(!0,a),!0):!1};f.Pk=function(){this.Nb(!1)};f.ji=function(a){this.Nb(!1);Fz.na.ji.call(this,a)}; function Iz(a){a.i||a.He(new gv(a.g,a.Ua));return a.i||null}f.He=function(a){var b=this.i;a!=b&&(b&&(this.Nb(!1),this.Ra&&Hz(this,b,!1),delete this.i),this.Ra&&X(this.ua,"haspopup",!!a),a&&(this.i=a,a.ae(this),a.wa(!1),hv(a,!1),this.Ra&&Hz(this,a,!0)));return b};f.Na=function(a){Iz(this).Xa(a,!0)};f.Re=function(a,b){Iz(this).jg(a,b,!0)};f.wa=function(a,b){(a=Fz.na.wa.call(this,a,b))&&!this.isVisible()&&this.Nb(!1);return a};f.nb=function(a){Fz.na.nb.call(this,a);this.isEnabled()||this.Nb(!1)}; f.Nb=function(a,b){Fz.na.Nb.call(this,a);if(this.i&&Uq(this,64)==a){if(a)this.i.Ra||this.i.render(),this.ta=Og(this.V()),this.La=Yg(this.V()),Jz(this),!b||b.keyCode!=40&&b.keyCode!=38?this.i.Od(-1):st(this.i);else{hr(this,!1);this.i.Yd=!1;var c=this.V();c&&(X(c,"activedescendant",""),X(c,"owns",""));this.oa!=null&&(this.oa=void 0,(c=this.i.V())&&L(c,"",""))}this.i.wa(a,!1,b);this.Ed||(b=Z(this),c=a?b.ha:b.Sa,c.call(b,this.g.g,"mousedown",this.Vs,!0),c.call(b,this.Qa,"tick",this.Hq),a?this.Qa.start(): this.Qa.stop())}this.i&&this.i.V()&&this.i.ua.removeAttribute("aria-hidden")};function Jz(a){if(a.i.Ra){var b=a.Wa||a.V(),c=a.o;a.o.g=b;b=a.i.V();a.i.isVisible()||(b.style.visibility="hidden",N(b,!0));!a.oa&&a.o.s&&a.o.j&32&&(a.oa=M(b));c.Jc(b,c.i^1,null,a.oa);a.i.isVisible()||(N(b,!1),b.style.visibility="visible")}} f.Hq=function(){var a=Yg(this.V()),b=Og(this.V());var c=this.La;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.ta,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.i.Ra&&b&&this.ta&&b.qb()<this.ta.qb()&&(c=this.i.V(),this.i.isVisible()||(c.style.visibility="hidden",N(c,!0)),Jg(c,new w(0,0))),this.La=a,this.ta=b,Jz(this))}; function Hz(a,b,c){var d=Z(a);c=c?d.ha:d.Sa;c.call(d,b,"action",a.Pk);c.call(d,b,"close",a.Eq);c.call(d,b,"highlight",a.Fq);c.call(d,b,"unhighlight",a.Gq)}function Gz(a,b){var c=Z(a);(b?c.ha:c.Sa).call(c,a.V(),"keydown",a.mt)}f.Fq=function(a){(a=a.target.V())&&Kz(this,a)};f.mt=function(a){Tq(this,32)&&this.V()&&this.i&&this.i.isVisible()&&a.stopPropagation()};f.Gq=function(){if(!rt(this.i)){var a=this.V();X(a,"activedescendant","");X(a,"owns","")}}; f.Eq=function(a){if(this.hd()&&a.target instanceof Zu){a=a.target;var b=a.V();a.isVisible()&&Uq(a,2)&&b!=null&&Kz(this,b)}};function Kz(a,b){a=a.V();b=Qj(b)||b;if(!b.id){var c=wk.Hb();b.id=xk(c)}Rj(a,b);X(a,"owns",b.id)}$q("goog-menu-button",function(){return new Fz(null)});function Lz(){}u(Lz,uz);Ra(Lz);Lz.prototype.Kc=function(a){var b=Oq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),[Mz(this,a.wc(),a.g),Nz(this,a.g)]);this.nf(b,a.Xe());return b};Lz.prototype.Ec=function(a){return a&&a.firstChild}; Lz.prototype.Ob=function(a,b){var c=We("*","goog-menu",b)[0];if(c){N(c,!1);a.g.g.body.appendChild(c);var d=new gv;Ck(d,c);a.He(d)}We("*",this.Pa()+"-caption",b)[0]||b.appendChild(Mz(this,b.childNodes,a.g));We("*",this.Pa()+"-dropdown",b)[0]||b.appendChild(Nz(this,a.g));return Lz.na.Ob.call(this,a,b)};function Mz(a,b,c){return c.Ma("DIV","goog-inline-block "+(a.Pa()+"-caption"),b)}function Nz(a,b){return b.Ma("DIV",{"class":"goog-inline-block "+(a.Pa()+"-dropdown"),"aria-hidden":!0},"\u00a0")} Lz.prototype.Pa=function(){return"goog-flat-menu-button"};$q("goog-flat-menu-button",function(){return new Fz(null,null,Lz.Hb())});function Oz(a){rz.call(this);this.N=a.yb;this.i=a.jh;this.Ga=a.history;this.o=a.Bj;this.Aa=a.yj;this.ta=a.flags;this.Ea=a.uk;this.La=Lm()=="patents";if(!a.Wk){var b=A("appbar-patents-prior-art-finder-link");if(b&&(b=b.getAttribute("href"))){var c=new Vw("Find prior art",void 0,2);this.Xa(c,!0);this.l.ha(c,"action",r(this.Zd,this,b))}if(c=A("appbar-patents-discuss-this-link"))if(b=c.getAttribute("href")){if(c.getAttribute("data-is-grant")=="true"){var d="Discuss this patent";c="Discuss this patent on Stack Exchange"}else d= "Discuss this application",c="Discuss this application on Stack Exchange";d=new Vw(d,void 0,2);d.nf(c);this.Xa(d,!0);this.l.ha(d,"action",r(this.Zd,this,b))}!this.N&&(b=A("appbar-read-patent-link"))&&(b=b.getAttribute("href"))&&(c=new Vw("View PDF"),this.Xa(c,!0),this.l.ha(c,"action",r(this.Zd,this,b)))}if(this.N){this.Wa=!!a.tj||!!a.rj;a.Wk&&(b=$w("/googlebooks/images/kennedy/zoom_tool.png"),this.Vg=new Vw(b,void 0,void 0,1),this.Vg.kc(2),this.Xa(this.Vg,!0),I(this.Vg,"action",r(this.xm,this,"zoomin")), b=$w("/googlebooks/images/kennedy/zoom_out.png"),this.Wg=new Vw(b,void 0,void 0,1),this.Wg.kc(1),this.Xa(this.Wg,!0),I(this.Wg,"action",r(this.xm,this,"zoomout")));c=!!a.tj;b=!!a.rj;if(c||b){d=$w("/googlebooks/images/kennedy/one_up_page_view.png");this.Cg=new Vw(d,void 0,void 0,1);this.Cg.kc(2);I(this.Cg,"action",r(this.Qj,this,vq));this.Xa(this.Cg,!0);sz(this,this.Cg,"viewport",!0);if(c){d=$w("/googlebooks/images/kennedy/two_up_page_view.png");this.Lg=new Vw(d,void 0,void 0,1);c=1;if(this.i||b)c= 3;this.Lg.kc(c);I(this.Lg,"action",r(this.Qj,this,sr));this.Xa(this.Lg,!0);sz(this,this.Lg,"viewport")}b&&(d=$w("/googlebooks/images/kennedy/thumbnail.png"),this.Jg=new Vw(d,void 0,void 0,1),c=1,this.i&&(c=3),this.Jg.kc(c),I(this.Jg,"action",r(this.Qj,this,Bq)),this.Xa(this.Jg,!0),sz(this,this.Jg,"viewport"));this.l.ha(this.N,"viewportmodechange",this.wm);this.wm()}this.i&&(b=$w("/googlebooks/images/kennedy/maximize.png"),this.oa=new Vw(b,void 0,void 0,1),this.oa.Ub(16,!0),this.oa.Qf(!1),this.Wa&& this.oa.kc(1),this.Xa(this.oa,!0),this.l.ha(this.oa,"action",this.Dv),this.l.ha(this.i,"change",this.jt));this.Ea&&(b=$w("/googlebooks/images/kennedy/clip.png"),this.j=new Vw(b,void 0,void 0,1),this.j.Ub(16,!0),this.j.kc(2),this.j.Qf(!1),this.Xa(this.j,!0),I(this.j,"action",r(this.Et,this)));a.Fl&&(b=$w("/googlebooks/images/kennedy/insert_link.png"),this.U=new Vw(b,void 0,void 0,1),this.U.Ub(16,!0),this.j&&this.U.kc(1),this.Xa(this.U,!0),I(this.U,"action",r(this.ls,this)));a.Gl&&(b=!!this.N.Ta().mi, c=!!Kl(this.N.Ya(),this.N.Ta().Uh),d=this.N.Ca().we()||"Contents",b||c?(b=$w("/googlebooks/images/kennedy/menu_down_arrow.png",d),b=Db(b),this.Ug=b[0],this.Bd=new Vw(b),this.Bd.kc(2),this.Xa(this.Bd,!0),this.l.ha(this.Bd,"action",this.mu),sz(this,this.Bd)):(this.Ug=B("SPAN","jfk-button-label",d),this.Bd=new Vw(this.Ug),this.Bd.nb(!1),this.Bd.kc(2),this.Xa(this.Bd,!0)),b=$w("/googlebooks/images/kennedy/page_left.png"),this.Zi=new Vw(b,void 0,void 0,1),this.Zi.kc(3),this.Xa(this.Zi,!0),I(this.Zi,"action", r(this.N.mb,this.N,"previous")),b=$w("/googlebooks/images/kennedy/page_right.png"),this.aj=new Vw(b,void 0,void 0,1),this.aj.kc(1),this.Xa(this.aj,!0),I(this.aj,"action",r(this.N.mb,this.N,"next")),this.l.ha(this.N,"pagechange",this.Iq))}if(a.Hl&&(b=A("appbar-view-print-sample-link"))&&(b=b.getAttribute("href"))){c=A("appbar-view-ebook-sample-link");var e;c&&(e=c.getAttribute("href"));c=new Vw("View sample");Xq(c,"gb-view-sample-button");this.Xa(c,!0);this.l.ha(c,"action",r(this.Zd,this,b));e&&(c.kc(2), c=new gv,d=new Zu("Sample print book"),this.l.ha(d,"action",r(this.Zd,this,b)),c.Xa(d,!0),Xq(d,"gb-sample-print-book-menuitem"),b=new Zu("Sample eBook"),this.l.ha(b,"action",r(this.Zd,this,e)),c.Xa(b,!0),Xq(b,"gb-sample-ebook-menuitem"),e=new Fz("",c,Lz.Hb()),Xq(e,"gb-jfk-margin-fix"),Xq(e,"gb-view-sample-dropdown"),e.kc(1),this.Xa(e,!0))}this.ta&&!this.ta.is_cobrand&&this.o&&!this.La&&(e=this.Aa&&this.Aa.uid,b=Iy([this.o],this.Aa),e?(this.Ih=new Dy(this.o,b),this.Xa(this.Ih,!0)):(e=$w("/googlebooks/images/kennedy/menu_down_arrow.png", "Add to my library"),e=Db(e),this.Ih=new Vw(e),this.Xa(this.Ih,!0),e=r(this.Zd,this,this.ta.sign_in_url||this.ta.signInUrl),cg(this.Ih,"action",e)));if(a.Wk){if(e=A("appbar-write-review-link"))if(e=e.getAttribute("href"))this.Ua=new Vw("Write review"),this.Xa(this.Ua,!0),this.l.ha(this.Ua,"action",r(this.Zd,this,e));Pz(this,"appbar-application-grant-link","application-grant");Pz(this,"appbar-content-language-link","content-language")}else if(e=A("appbar-download-pdf-link"))if(e=e.getAttribute("href"))b= new Vw("Download PDF"),this.Xa(b,!0),this.l.ha(b,"action",r(this.Zd,this,e));a.tv&&(a=$w("/googlebooks/images/kennedy/settings.png"),O(a[0],"goog-flat-menu-button-img"),e=B("DIV",{"class":"toc-div"}),b=new gv,b.Xa(new cr(e),!0),(c=document.getElementById("ofe-gear-menu-contents"))&&e.appendChild(c.cloneNode(!0)),this.Fa=new Fz(a,b,Lz.Hb()),this.Xa(this.Fa,!0),this.La&&!this.N&&(a=new cz,this.Fa.Re(a,0)))}n(Oz,rz); function Qz(a){var b=A("left-toolbar-buttons"),c=A("right-toolbar-buttons");(new Oz({yb:a.yb,jh:a.jh,history:a.history,tj:a.tj,rj:a.rj,Bj:a.Bj,yj:a.yj,flags:a.flags,uk:a.uk,Fl:a.Fl,Wk:!0,Hl:a.Hl})).render(b);(new Oz({yb:a.yb,Gl:a.Gl,tv:!0})).render(c)}f=Oz.prototype;f.Dv=function(){var a=this.i;Xp(a,!a.df());this.Ga.update()};f.jt=function(){this.oa.Sc(16,this.i.df())};f.Et=function(){this.Ea(Uq(this.j,16))}; f.ls=function(){if(Uq(this.U,16)){var a=new yr(document.body,this.N,!0);a.render(this.U,!0);cg(a,"dispose",r(this.U.Qf,this.U,!1))}};f.Qj=function(a){this.N.Vb(a);this.N.Va().getQuery()||this.Ga.update()};f.wm=function(){var a=this.N.Da();a instanceof vq&&tz(this,this.Cg);a instanceof sr&&tz(this,this.Lg);a instanceof Bq&&tz(this,this.Jg);a=a.Hc;this.Wg.nb(a);this.Vg.nb(a)};f.xm=function(a){this.N.mb(a)}; function Pz(a,b,c){b=Ye(b);if(b){var d=b.length;if(d>1)for(var e=0;e<d;++e){var g=b[e],h=g.getAttribute("href"),k=g.getAttribute("data-label");g=g.getAttribute("data-selected");k=new Vw(k);e==0&&e!=d-1?k.kc(2):e==d-1&&e!=0?k.kc(1):e!=0&&e!=d-1&&k.kc(3);a.Xa(k,!0);sz(a,k,c,!!g);g||a.l.ha(k,"action",r(a.Zd,a,h))}}}f.Iq=function(){var a=this.N.Ca().we()||"Contents";this.Ug&&x(this.Ug,gh(a,{jj:"009928d1-72d6-47df-9510-9ba0bced7071"}))};f.mu=function(){this.Bd.je&16&&(new nr(this.N,this.Bd,this.ta)).render(3)}; f.Zd=function(a){Rc(window.location,a)};f.Cg=null;f.Lg=null;f.Jg=null;f.Vg=null;f.Wg=null;f.aj=null;f.Zi=null;f.Bd=null;f.Ug=null;f.Ih=null;function Rz(a,b){ex.call(this,a);this.o=b}n(Rz,ex); Rz.prototype.render=function(){var a=this.V();O(a,this.className+"-tooltip");O(a,this.className+"-device-and-format");K(a,"z-index",1E4);if(this.o.ka){for(var b=this.className,c=B("DIV",this.className+"-meta"),d=document,e=hf(d,"TABLE"),g=e.appendChild(hf(d,"TBODY")),h=0;h<1;h++){for(var k=hf(d,"TR"),l=0;l<2;l++)k.appendChild(hf(d,"TD"));g.appendChild(k)}O(e,this.className+"-table-layout");d=e.rows[0].cells;g=d[0];h=Sz(this);g.appendChild(h);g=d[1];h=Tz(this);g.appendChild(h);g=B("DIV",this.className+ "-link");h=B("A",{target:"_blank"},"Help with devices & formats");k=new R(window.location.href);l=new R("/support/bin/answer.py?answer=1062949");k=T(k,"hl")?S(l,"hl",T(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";Cc(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.o;if((d=e.Ic)&&!e.Mf&&e.Wa){var m;e.Fb&&Lj.Xv&&(m="Read the book");m=B("P",this.className+"-additional",B("A",{href:d},m));c.appendChild(m)}if(e.Fa||e.Ga)if(d=e.Ib,g=e.Ua,d||g)m=B("P",this.className+"-additional", kf("Download ")),d&&(h=B("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(kf(", ")),d=B("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(kf(" - ")),e=e.Sb(),d=(new R(window.location.href)).l.split("/"),d=new R("/"+d[1]),Tu(d),S(d,"output","acs_help"),S(d,"id",e),e=B("A",{href:d.toString()},"read eReader instructions"),m.appendChild(e),c.appendChild(m);m=B("A",{target:"_blank"},"Learn more about books on Google Play");Cc(m,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=B("DIV",this.className+"-footer",m);b=B("DIV",b,c,this.j);O(b,this.className+"-device-content");a.appendChild(b)}}; function Sz(a){var b=B("UL",a.className+"-list"),c=B("H4",null,"Good for:");b.appendChild(c);var d=a.className+"-device-type";c=a.className+"-device-supported";var e=a.className+"-device-not-supported",g=a.className+"-device-unknown-supported",h=B("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=B("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=B("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),m=B("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), p=a.o.Pi,y=a.o.Qi,D=a.o.Mf;d=new ng(a);h=B("LI",null,h);D?d.ha(h,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):(p||y)&&d.ha(h,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on the web."));d.ha(h,"mouseout",a.ya);b.appendChild(h);k=B("LI",null,k);D?d.ha(k,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")): (p||y)&&d.ha(k,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on tablet devices like Android tablets and the iPad."));d.ha(k,"mouseout",a.ya);b.appendChild(k);l=B("LI",null,l);d.ha(l,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p?this.i("This Google eBook includes flowing text, so you can adjust the font to read comfortably on an eReader."):this.i("This Google eBook does not include flowing text, so you cannot adjust the font on an eReader.")}); d.ha(l,"mouseout",a.ya);b.appendChild(l);m=B("LI",null,m);d.ha(m,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p&&y?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):p?this.i("This Google eBook includes flowing text so you can adjust the font to read comfortably on the small screen of a smartphone."):this.i("This eBook may be hard to read on smartphones like Android and iPhone / iPod touch.")}); d.ha(m,"mouseout",a.ya);b.appendChild(m);D?(O(h,g),O(k,g),O(l,g),O(m,g)):p?(O(h,c),O(k,c),O(l,c),O(m,c)):(y?(O(h,c),O(k,c)):(O(h,e),O(k,e)),O(l,e),O(m,e));return b} function Tz(a){var b=B("UL",a.className+"-list"),c=B("H4",null,"Features:");b.appendChild(c);var d=a.className+"-device-supported",e=a.className+"-device-not-supported",g=a.className+"-device-unknown-supported";c=B("A",{},"Flowing text");Cc(c,"/support/bin/answer.py?answer=1062949");var h=B("A",{},"Scanned pages");Cc(h,"/support/bin/answer.py?answer=1062949");var k=a.o.Pi,l=a.o.Qi,m=a.o.Mf;m?(c=B("LI",g,c),d=B("LI",g,h)):(c=B("LI",k?d:e,c),d=B("LI",l?d:e,h));e=new ng(a);e.ha(c,"mouseover",function(){m? this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):k?this.i("This eBook includes flowing text, so you can adjust the font size and style to read comfortably on any device."):this.i("This book does not include flowing text, so you cannot adjust the font. Instead, you see images of pages, with a fixed layout. This is good for larger screens, but not always ideal for eReaders and smartphones.")});e.ha(c,"mouseout",a.ya);e.ha(d, "mouseover",function(){m?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):l?this.i("This eBook includes scanned pages, so pages appear as they would in a printed book."):this.i("This eBook does not include scanned pages, which retain the format of a printed book. Instead, the text can be adjusted and it flows to fit any screen.")});e.ha(d,"mouseout",a.ya);b.appendChild(c);b.appendChild(d);return b} Rz.prototype.ya=function(){nf(this.j);var a=B("A",{target:"_blank"},"Learn more about books on Google Play");Cc(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};Rz.prototype.i=function(a){nf(this.j);typeof a==="string"?this.j.appendChild(kf(a)):this.j.appendChild(a)};function Uz(a,b){Vw.call(this,b,void 0,3);this.o=a}n(Uz,Vw);Uz.prototype.render=function(a){Vw.prototype.render.call(this,a);O(this.V(),"gb-get-book")};Uz.prototype.Ia=function(){Vw.prototype.Ia.call(this);var a=this.V();this.i=new Rz(a,this.o);this.i.render();a=A("menu_container");(a=Ze("about_title",a))&&E(a)}; function Vz(){var a=A("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!lh(a.parentNode.parentNode,"jfk-button"):1){a=A("gb-buy-options-trigger");var b=A("buy");if(a&&b){nh(b,"about_content");var c=B("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);O(b,"gb-buy-options-list");O(b,"unified-hovercard");up(a,9,b,8);N(b,!1);I(document,"mousedown",t(Wz,a,b))}}}function Wz(a,b,c){a=wf(a,c.target);c=wf(b,c.target);var d=$g(b);a||c||!d?a&&(N(b,!d),d||Zg(b,1)):N(b,!1)};function Xz(a,b,c,d,e,g){function h(l){l&&(l.tabIndex=0,Oj(l,k.ta),O(l,"goog-zippy-header"),l&&k.ka.ha(l,"click",k.ma),l&&(k.O.attach(l),k.U.ha(k.O,"key",k.oa)))}Q.call(this);this.s=e||Re();this.i=this.s.V(a)||null;this.l=this.s.V(d||null);this.o=typeof b==="function"?b:null;this.ta=g||"tab";this.j=this.o||!b?null:this.s.V(b);this.g=c==1;c!==void 0||this.o||(this.l?this.g=$g(this.l):this.i&&(this.g=lh(this.i,"goog-zippy-expanded")));this.U=new ng(this);this.O=new Gq;this.ka=new ng(this);var k=this; h(this.i);h(this.l);this.Ge(this.g)}u(Xz,Q);Xz.prototype.qa=function(){Xz.na.qa.call(this);Jf(this.U);Jf(this.O);Jf(this.ka)};Xz.prototype.Ge=function(a){this.j?N(this.j,a):a&&this.o&&(this.j=this.o());this.j&&O(this.j,"goog-zippy-content");this.l?(N(this.i,!a),N(this.l,a)):this.i&&(P(this.i,"goog-zippy-expanded",a),P(this.i,"goog-zippy-collapsed",!a),X(this.i,"expanded",a));this.g=a;this.dispatchEvent(new Yz("toggle",this,this.g))}; Xz.prototype.oa=function(a){if(a.keyCode==13||a.keyCode==32)this.Ge(!this.g),this.dispatchEvent(new Yz("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};Xz.prototype.ma=function(a){this.Ge(!this.g);this.dispatchEvent(new Yz("action",this,this.g,a))};function Yz(a,b){Nf.call(this,a,b)}u(Yz,Nf);function Zz(a,b,c,d){if(b.child_node&&b.child_node.length>0){var e=$z(b,!0,c,d),g=B("UL",c+"-list");a.appendChild(e);a.appendChild(g);(new Xz(e,g)).Ge(!b.collapsed);v(b.child_node,function(h){Zz(g,h,c,d)})}else a.appendChild($z(b,!1,c,d))}function $z(a,b,c,d){var e;if(b){b=c+"-heading";var g=c+"-header"}else b=c+"-link",g=c+"-item";a.url!=""?e=B("A",{"class":b,href:a.url},Zc(a.title)):e=B("DIV",b,a.title);e=B("DIV",g,e);d==a.id&&O(e,c+"-selected");return e} bb("_OC_InitNavbar",function(a){var b=A("navbarContainer");if(b&&a.child_node){var c=B("UL","gb-left-nav-list");v(a.child_node,function(d){Zz(c,d,"gb-left-nav",a.highlighted_node_id)});b.appendChild(c)}});function aA(a,b){Q.call(this);this.ua=a;this.g=b||null;O(a,"with-auto-dir-text");I(this.ua,"keyup",r(this.i,this));I(this.ua,"paste",r(this.j,this))}n(aA,Q);aA.prototype.i=function(){bA(this.ua,this.g)};aA.prototype.j=function(){cA(this.ua,this.g)};function cA(a,b){U(t(function(){bA(a,b)}))} function bA(a,b){var c=!1,d;if(a.value){for(var e=d=0,g=!1,h=a.value.split($v),k=0;k<h.length;k++){var l=h[k];Yv.test(l)?(d++,e++):Zv.test(l)?g=!0:Xv.test(l)?e++:aw.test(l)&&(g=!0)}d=(e==0?g?1:0:d/e>.4?-1:1)==-1}else d=nj();d?(c=!0,K(a,"textAlign","right"),af(a,{dir:"rtl"})):(K(a,"textAlign","left"),af(a,{dir:"ltr"}));b&&(c?(nh(b,"input-direction-ltr"),O(b,"input-direction-rtl")):(O(b,"input-direction-ltr"),nh(b,"input-direction-rtl")))} function dA(a,b){if(a=A(a))b=b?A(b):null,bA(a,b),new aA(a,b)}bb("_OC_autoDir",dA);function eA(a){this.g=A("gb-ogen-opt-in-banner");this.j=A("gb-ogen-opt-in-banner-dismiss");this.i=A("gb-ogen-opt-in-header-link");this.l=a;a=A("gbq");this.i&&a&&(a=a.parentElement||null)&&(O(a,"searchbar-with-opt-in"),pf(this.i,a),K(this.i,"display","block"));fA(this)} function fA(a){a.g&&a.j&&(window.localStorage.getItem("obclose")?N(a.g,!1):(O(a.g,"opt-in-banner-expanded"),I(a.j,"click",function(){nh(a.g,"opt-in-banner-expanded");window.localStorage.setItem("obclose","true");U(function(){N(a.g,!1);a.l.resize()},600)})))};function gA(a,b){a=A(a);b=A(b);a&&b&&I(a,"submit",t(hA,b))}function hA(a,b){a.value==""&&b.preventDefault()};function iA(a,b,c){if(Hd&&!Ld)return a;a='url("'+b+'")';Id&&(a+=" 7 5");return a+(", "+c)};function jA(a){W.call(this);this.N=a;this.i=new ng;this.g.ha(a,"viewportmodechange",this.ym);this.N.Da()&&this.ym()}n(jA,W);f=jA.prototype;f.ym=function(){sg(this.i);this.j&&this.j.dispose();this.l=this.N.Da().s.j;var a=new ck(this.l);a.yk=function(){};this.j=a;this.i.ha(this.l,"dblclick",r(this.Us,this));this.i.ha(a,"start",r(this.Kq,this));this.i.ha(a,"drag",r(this.Lq,this));this.i.ha(a,"end",r(this.Jq,this));kA(this,!1)};f.Us=function(){this.N.mb("next")}; function kA(a,b){a=a.l;if(Hd)b=b?"-moz-grabbing":"-moz-grab";else{var c=Im("/googlebooks/images/");b=b?iA("-moz-grabbing",c+"closedhand.cur","move"):iA("-moz-grab",c+"openhand.cur","default")}K(a,"cursor",b)}f.Kq=function(){this.o=this.N.Da().Cb;kA(this,!0)};f.Lq=function(){var a=this.j,b=this.o;this.N.Da().Rc(new w(b.x-a.deltaX,b.y-a.deltaY))};f.Jq=function(){this.o=null;kA(this,!1)};f.qa=function(){W.prototype.qa.call(this)};function lA(a,b,c){c&&c.preventDefault();c=A(b.concat("-icon-right"));N(c,!a);c=A(b.concat("-icon-down"));N(c,a);b=A(b.concat("-expanded"));N(b,a)};function mA(a,b,c,d){Tk.call(this,Fm.IsZipitFolderCollectionEnabled?void 0:"p13nd",!0);Yk(this,a);this.Fn=!0;bl(this,.5);this.kg=c;a=new Vk;a.set("ok",b,!0);(d!==void 0?d:1)&&a.set("cancel","Cancel",!1,!0);fl(this,a);I(this,"dialogselect",this.La,!1,this)}u(mA,Tk);mA.prototype.Oa=function(){mA.na.Oa.call(this);K(gl(this.j,"ok"),"fontWeight","bold");K(this.V(),"width","500px")};mA.prototype.La=function(a){a.key=="ok"&&this.Eb(a);return!0}; mA.prototype.qa=function(){jg(this,"dialogselect",this.La,!0,this);mA.na.qa.call(this)};mA.prototype.Eb=function(a){this.kg(a)};function nA(a){Q.call(this);this.Qa=null;this.ua=a;this.g=new ng(this);this.g.ha(this.ua,"input",this)}u(nA,Q);nA.prototype.handleEvent=function(a){if(a.type=="input")oA(this),this.dispatchEvent(pA(a));else if(a.type!="keydown"||th(a)){var b=a.type=="keydown"?this.ua.value:null,c=pA(a);oA(this);this.Qa=setTimeout(function(){this.Qa=null;this.ua.value!=b&&this.dispatchEvent(c)}.bind(this),0)}};function oA(a){a.Qa!=null&&(clearTimeout(a.Qa),a.Qa=null)} function pA(a){a=new Qf(a.Mb);a.type="input";return a}nA.prototype.qa=function(){nA.na.qa.call(this);this.g.dispose();oA(this);delete this.ua};function qA(a,b,c,d){Q.call(this);this.g=a;this.l=b;this.i=c;this.o=d||0;a.removeAttribute("maxlength");this.j=new nA(a);I(this.j,"input",this.s,!1,this);rA(this)}u(qA,Q);qA.prototype.s=function(){rA(this)};function rA(a){var b=a.g.value.length;if(b>a.i){var c=a.g.scrollTop,d=a.g.scrollLeft;a.g.value=a.g.value.substring(0,a.i);b=a.i;a.g.scrollTop=c;a.g.scrollLeft=d}a.l&&G(a.l,String(a.o==1?b:a.i-b))}qA.prototype.qa=function(){qA.na.qa.call(this);delete this.g;this.j.dispose();this.j=null};function sA(a,b,c,d,e){mA.call(this,a,b,null,!0);this.Ua=c;this.Fb=d;this.Aa=e}n(sA,mA); sA.prototype.Oa=function(){mA.prototype.Oa.call(this);this.o=tA(this,"Name","input");this.Wa=tA(this,"Description <span class=cl-desc>(optional)</span>","textarea");var a=this.Gb(),b=B("DIV",{"class":"ccd-label"}),c=C("span");c.textContent="Visibility";b.appendChild(c);a.appendChild(b);a=B("SPAN",{className:"ccd-mode-indicator"});c=B("IMG",{src:"/googlebooks/images/sharing_public.gif",style:"vertical-align:-2px;padding:0 2px"});var d=C("span");d.textContent="Public";a.appendChild(c);a.appendChild(d); b.appendChild(a);c=B("SPAN",{className:"ccd-mode-indicator"});d=B("IMG",{src:"/googlebooks/images/sharing_private.gif",style:"vertical-align:-2px;"});var e=C("span");e.textContent="Private";c.appendChild(d);c.appendChild(e);b.appendChild(c);d=B("SPAN",{"class":"ccd-mode-link"});d.textContent="Make public";b.appendChild(d);I(d,"click",r(this.Fa,this,!0));e=B("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);I(e,"click",r(this.Fa,this,!1));this.Dd=[a,e];this.Cd=[c,d];this.Aa!= null&&(af(this.Aa,{"class":"ccd-mode-link"}),b.appendChild(this.Aa));this.Fa(!0);this.U=B("DIV",{"class":"ccd-error"});this.Gb().appendChild(this.U);this.Jb=B("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Gb().appendChild(this.Jb);this.i&&uA(this);Fm.IsZipitFolderCollectionEnabled||(b=this.j,a=gl(b,"ok"),K(a,"fontWeight","bold"),O(a,"gb-button"),O(gl(b,"cancel"),"gb-button"))}; function uA(a){a.o.value=Zc(a.i.Za());a.o.disabled=a.i.O;a.Wa.value=Zc(a.i.ug());a.Fa(a.i.le==1);a.o.disabled&&K(a.o,"background","#f2f2f2")} function tA(a,b,c){var d=a.Gb();a=B("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=B("DIV",{"class":"ccd-label"});var e=new He,g=new Set(e.g.l);g.add("class");e.g=new oe(e.g.j,e.g.g,g,e.g.o,e.g.i);if(e.i)throw Error("this sanitizer has already called build");e.i=!0;x(d,ye(new xe(e.g,void 0,void 0,e.j),b));a.appendChild(d);b=B(c,{"class":"ccd-input"});c=="input"?(af(b,{type:"text"}),b.setAttribute("maxlength",100)):c=="textarea"&&(af(b,{rows:6,cols:50}),new qA(b,C("span"),500)); a.appendChild(b);return b}sA.prototype.Fa=function(a){this.kd=a;v(this.Dd,function(b){N(b,a)});v(this.Cd,function(b){N(b,!a)})}; sA.prototype.La=function(a){var b=this.o.value;if(a.key=="cancel")return!0;if(Ub(b))return this.U.textContent="Please enter a title for this bookshelf.",!1;if(this.Fb&&!this.Fb(b))return this.U.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new mx;a.tc=b;a.l=this.Wa.value;a.le=this.kd?1:2;if(this.i){b=this.Ua;var c=new R(b.Bp);S(c,"as_coll",a.getId());yx(c,a,r(b.s,b))}else b=this.Ua,yx(b.l,a,r(b.o,b,!0));return!0}; sA.prototype.qa=function(){delete this.Ua;delete this.Aa;delete this.i;delete this.U;delete this.Jb;delete this.o;delete this.Wa;delete this.Fb;mA.prototype.qa.call(this)};function vA(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.s=c;this.i=d;this.O&&(this.l=lb(this.O.childNodes,wA),this.i&&wb(this.l,lb(this.i.childNodes,wA)));this.o=e;U(r(this.Mq,this))}u(vA,W);f=vA.prototype;f.Mq=function(){this.j&&this.i&&this.g.ha(this.j,"click",this.Ap);this.s&&this.g.ha(this.s,"click",this.Ts);this.g.ha(this.o,"add",this.Xr)}; function wA(a){var b=We("SPAN","sidebar-collection-title",a)[0];b||(b=We("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Vb(Vc(Cf(b)));return Vb(a.split("(")[0])}f.Ts=function(){var a=new sA("Create new bookshelf","Create bookshelf",this.o,r(this.ju,this));a.render();a.wa(!0)};f.ju=function(a){var b=Vb(Vc(a)).toLowerCase();return!mb(this.l,function(c){return c.toLowerCase()==b})}; f.Xr=function(a){var b=a.shelf;a=Vb(Vc(b.Za()));var c=b.le==1;this.l.push(a);var d=new R("/books");Tu(d);S(d,"as_coll",b.getId());S(d,"source","gbs_lp_bookshelf_list");if(Fm.IsBooksUnifiedLeftNavEnabled)b=B("LI",{"class":"left-nav-shelf-item"}),c=B("A",{"class":"sidebar-link"}),Cc(c,d.toString()),d=C("SPAN"),O(d,"sidebar-collection-title"),x(d,ye(De,a+" (0)")),c.appendChild(d),b.appendChild(c),a=A("hidden-my-library-expanded"),of(b,a),lA(!0,"my-library");else{b=C("DIV");var e=B("A",{"class":"hp-bookshelf-link", style:"line-height:19px"});Cc(e,d.toString());d=B("SPAN",{"class":"hp-collection-title"});x(d,ye(De,a));e.appendChild(d);b.appendChild(e);a=c?"Public bookshelf":"Private bookshelf";a=B("IMG",{"class":"hp-bookshelf-access",src:"/googlebooks/images/sharing_"+(c?"public":"private")+".gif",title:a,alt:a,width:14,height:14});b.appendChild(a);a=B("DIV",{style:"clear:both"});b.appendChild(a);pf(b,A("csStart"))}}; f.Ap=function(a){a.preventDefault();a=!$g(this.i);N(this.i,a);a?(up(this.j,9,this.i,8),M(this.i).height>200&&(a=M(this.i).width,L(this.i,a,200),K(this.i,"overflow","auto"),K(this.i,"overflowX","hidden")),this.U=I(document,"mousedown",r(this.qu,this))):kg(this.U)};f.qu=function(a){wf(this.i,a.target)||wf(this.j,a.target)||this.Ap(a)}; bb("_OC_RunHomepage",function(){var a=A("oc-search-input");A("oc-search-form")&&a&&(dA("oc-search-input"),new py(a),a.focus(),gA("oc-search-form","oc-search-input"))}); </script><script>_OC_RunHomepage();</script></body></html>