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="https://books.google.it/?hl=it"><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/books/about/Il_metodo_Warren_Buffett.html%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 va(a,a)}function va(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 za(a,b){a.l={Fs:b,ku:!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 Ea(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Fa(a)} function Ea(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,za(a.g,h),Fa(a)}a.g.i=null;d.call(a.g,g);return Fa(a)}function Fa(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,za(a.g,c)}a.g.o=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.ku)throw b.Fs;return{value:b.return,done:!0}}return{value:void 0,done:!0}} function Ga(a){this.next=function(b){xa(a.g);a.g.i?b=Ea(a,a.g.i.next,b,a.g.s):(a.g.s(b),b=Fa(a));return b};this.throw=function(b){xa(a.g);a.g.i?b=Ea(a,a.g.i["throw"],b,a.g.s):(za(a.g,b),b=Fa(a));return b};this.return=function(b){return Ca(a,b)};this[Symbol.iterator]=function(){return this}}function Ha(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 Ka(a){return Ha(new Ga(new Ba(a)))}function La(){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,I){return typeof D=="function"?function(F){try{m(D(F))}catch(J){p(J)}}:I}var m,p,y=new b(function(D,I){m=D;p=I});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;I--;I==0&&m(D)}}var D=[],I=0;do D.push(void 0),I++,d(l.value).yi(y(D.length- 1),p),l=k.next();while(!l.done)})};return b});function Ma(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var Na=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)Ma(d,e)&&(a[e]=d[e])}return a};ia("Object.assign",function(a){return a||Na});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(!Ma(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(!Ma(l,h))throw Error("WeakMap key fail: "+l);l[h][this.rb]=m;return this};b.prototype.get=function(l){return d(l)&&Ma(l,h)?l[h][this.rb]:void 0};b.prototype.has=function(l){return d(l)&& Ma(l,h)&&Ma(l[h],this.rb)};b.prototype.delete=function(l){return d(l)&&Ma(l,h)&&Ma(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&&Ma(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,Ec:y}}return{id:m, list:p,index:-1,Ec: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.Ec?m.Ec.value=l:(m.Ec={next:this[1],Fe:this[1].Fe,head:this[1],key:k,value:l},m.list.push(m.Ec),this[1].Fe.next=m.Ec,this[1].Fe=m.Ec,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.Ec&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],k.Ec.Fe.next=k.Ec.next,k.Ec.next.Fe= k.Ec.Fe,k.Ec.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).Ec};e.prototype.get=function(k){return(k=d(this,k).Ec)&&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 Oa(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 Oa(this,function(b,c){return[b,c]})}}); ia("Array.prototype.keys",function(a){return a?a:function(){return Oa(this,function(b){return b})}});function Pa(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=Pa(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=Pa(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=Pa(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)Ma(b,d)&&c.push([d,b[d]]);return c}}); ia("Array.prototype.values",function(a){return a?a:function(){return Oa(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 Pa(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)Ma(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 Qa=Qa||{},q=this||self;function Ra(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 Sa(a){a.Jf=void 0;a.Hb=function(){return a.Jf?a.Jf:a.Jf=new a}}function Ta(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function Va(a){var b=Ta(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Wa(a){var b=typeof a;return b=="object"&&a!=null||b=="function"} function Xa(a){return Object.prototype.hasOwnProperty.call(a,Za)&&a[Za]||(a[Za]=++$a)}var Za="closure_uid_"+(Math.random()*1E9>>>0),$a=0;function ab(a,b,c){return a.call.apply(a.bind,arguments)}function bb(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?ab:bb;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 cb(){return Date.now()}function db(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 eb(a){return a} function u(a,b){function c(){}c.prototype=b.prototype;a.na=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.iw=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 fb=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};function gb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,gb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}u(gb,Error);gb.prototype.name="CustomError";var hb;function ib(a){return a[a.length-1]} var jb=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},kb=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)},lb=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},mb=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},nb=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 ob(a,b){b=pb(a,b);return b<0?null:typeof a==="string"?a.charAt(b):a[b]} function pb(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 qb(a,b){return jb(a,b)>=0}function rb(a,b){qb(a,b)||a.push(b)}function sb(a,b){b=jb(a,b);var c;(c=b>=0)&&tb(a,b);return c}function tb(a,b){Array.prototype.splice.call(a,b,1)}function ub(a,b){b=pb(a,b);b>=0&&tb(a,b)}function vb(a){return Array.prototype.concat.apply([],arguments)} function wb(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 xb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Va(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 yb(a,b,c,d){Array.prototype.splice.apply(a,zb(arguments,1))}function zb(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Ab(a,b){a.sort(b||Bb)} function Bb(a,b){return a>b?1:a<b?-1:0}function Cb(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 Db(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=Db.apply(null,zb(d,e,e+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b} function Eb(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 Fb(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 Gb(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Hb(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function Ib(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 Jb(a,b){this.width=a;this.height=b}function Kb(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=Jb.prototype;f.clone=function(){return new Jb(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 Lb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Mb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Nb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function Ob(){var a=Pb,b;for(b in a)return!1;return!0}function Qb(a,b,c){if(a!==null&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}var Rb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "); function Sb(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<Rb.length;g++)c=Rb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}function Tb(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return Tb.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 Ub(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c}function Vb(a){return/^[\s\xa0]*$/.test(a)}var Wb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]}; function Xb(a){if(!Yb.test(a))return a;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("'")!=-1&&(a=a.replace(cc,"'"));a.indexOf("\x00")!=-1&&(a=a.replace(dc,"�"));return a}var Zb=/&/g,$b=/</g,ac=/>/g,bc=/"/g,cc=/'/g,dc=/\x00/g,Yb=/[\x00&<>"']/;function ec(a,b){return a.indexOf(b)!=-1} function fc(a,b){var c=0;a=Wb(String(a)).split(".");b=Wb(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=gc(g[1].length==0?0:parseInt(g[1],10),h[1].length==0?0:parseInt(h[1],10))||gc(g[2].length==0,h[2].length==0)||gc(g[2],h[2]);g=g[3];h=h[3]}while(c==0)}return c}function gc(a,b){return a<b?-1:a>b?1:0};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function hc(a){return{valueOf:a}.valueOf()};var ic=globalThis.trustedTypes,jc=ic,kc;function lc(){var a=null;if(!jc)return a;try{var b=function(c){return c};a=jc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function mc(){kc===void 0&&(kc=lc());return kc};function nc(a){this.g=a}nc.prototype.toString=function(){return this.g+""};function oc(a){var b=mc();return new nc(b?b.createScriptURL(a):a)}function pc(a){if(a instanceof nc)return a.g;throw Error("");};function qc(a){this.g=a}qc.prototype.toString=function(){return this.g};var rc=new qc("about:invalid#zClosurez");function sc(a){if(a instanceof qc)return a.g;throw Error("");};function uc(a){this.bl=a}function vc(a){return new uc(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var wc=[vc("data"),vc("http"),vc("https"),vc("mailto"),vc("ftp"),new uc(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function xc(a){var b=b===void 0?wc:b;a:if(b=b===void 0?wc:b,!(a instanceof qc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof uc&&d.bl(a)){a=new qc(a);break a}}a=void 0}return a||rc} var yc=hc(function(){return typeof URL==="function"}),zc=["data:","http:","https:","mailto:","ftp:"],Ac=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function Bc(a){if(Ac.test(a))return a}function Cc(a){return a instanceof qc?sc(a):Bc(a)};function Dc(a,b){b=Cc(b);b!==void 0&&(a.href=b)};function Ec(a){this.g=a}Ec.prototype.toString=function(){return this.g+""};function Fc(a){var b=mc();return new Ec(b?b.createHTML(a):a)}var Gc=hc(function(){return new Ec(ic?ic.emptyHTML:"")});function Hc(a){if(a instanceof Ec)return a.g;throw Error("");};function Ic(a,b){b=Cc(b);b!==void 0&&a.open(b,void 0,void 0)}function Jc(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 Kc(a){this.g=a}Kc.prototype.toString=function(){return this.g+""};function Lc(a,b){a.src=pc(b);(b=Jc("script",a.ownerDocument))&&a.setAttribute("nonce",b)};function Mc(){this.g=Nc[0].toLowerCase()}Mc.prototype.toString=function(){return this.g};function x(a,b){a.nodeType===1&&Oc(a);a.innerHTML=Hc(b)}function Pc(a,b,c){var d=b==="beforebegin"||b==="afterend"?a.parentElement:a;d!==null&&Oc(d);a.insertAdjacentHTML(b,Hc(c))}function Qc(a,b){var c=Rc;if(c.length===0)throw Error("");if(c.map(function(d){if(d instanceof Mc)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 Oc(a){if(/^(script|style)$/i.test(a.tagName))throw Error("");};function Sc(a,b){b=Cc(b);b!==void 0&&(a.href=b)}function Tc(a,b){b=Cc(b);b!==void 0&&a.replace(b)};function Uc(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 Vc(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function Wc(a){return a.replace(/\xa0|[ \t]+/g," ")}function Xc(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}function Yc(a){return decodeURIComponent(a.replace(/\+/g," "))}function Zc(a){return a=Xb(a)} function ad(a){return ec(a,"&")?"document"in q?bd(a):cd(a):a}function bd(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=q.document.createElement("div");return a.replace(dd,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,Fc(d+" ")),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})} function cd(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 dd=/&([^;\s<&]+);?/g;function ed(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}function fd(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")} var gd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function hd(a){return a==null?"":String(a)}function id(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function jd(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var kd,ld=Ra("CLOSURE_FLAGS"),md=ld&&ld[610401301];kd=md!=null?md:!1;function nd(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}var od,pd=q.navigator;od=pd?pd.userAgentData||null:null;function qd(a){return kd?od?od.brands.some(function(b){return(b=b.brand)&&ec(b,a)}):!1:!1}function rd(a){return ec(nd(),a)};function sd(){return kd?!!od&&od.brands.length>0:!1}function td(){return sd()?!1:rd("Opera")}function ud(){return sd()?!1:rd("Trident")||rd("MSIE")}function vd(){return rd("Firefox")||rd("FxiOS")}function wd(){return sd()?qd("Chromium"):(rd("Chrome")||rd("CriOS"))&&!(sd()?0:rd("Edge"))||rd("Silk")} function xd(){var a=nd();if(ud()){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 yd(){if(sd()){var a=od.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=xd();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])};function zd(){return kd?!!od&&!!od.platform:!1}function Ad(){return rd("iPhone")&&!rd("iPod")&&!rd("iPad")}function Bd(){return Ad()||rd("iPad")||rd("iPod")}function Cd(){return zd()?od.platform==="macOS":rd("Macintosh")};function Dd(a){Dd[" "](a);return a}Dd[" "]=function(){};function Ed(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Fd=td(),Gd=ud(),Hd=rd("Edge"),Id=rd("Gecko")&&!(ec(nd().toLowerCase(),"webkit")&&!rd("Edge"))&&!(rd("Trident")||rd("MSIE"))&&!rd("Edge"),Jd=ec(nd().toLowerCase(),"webkit")&&!rd("Edge"),Kd=Jd&&rd("Mobile"),Ld=Cd(),Md=zd()?od.platform==="Windows":rd("Windows"),Nd=(zd()?od.platform==="Linux":rd("Linux"))||(zd()?od.platform==="Chrome OS":rd("CrOS")),Od=zd()?od.platform==="Android":rd("Android"),Pd=Ad(),Qd=rd("iPad"),Rd=rd("iPod"),Sd=Bd(),Td; a:{var Ud="",Vd=function(){var a=nd();if(Id)return/rv:([^\);]+)(\)|;)/.exec(a);if(Hd)return/Edge\/([\d\.]+)/.exec(a);if(Gd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Jd)return/WebKit\/(\S+)/.exec(a);if(Fd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Vd&&(Ud=Vd?Vd[1]:"");if(Gd){var Wd,Xd=q.document;Wd=Xd?Xd.documentMode:void 0;if(Wd!=null&&Wd>parseFloat(Ud)){Td=String(Wd);break a}}Td=Ud}var Yd=Td,Zd={};function $d(a){return Ed(Zd,a,function(){return fc(Yd,a)>=0})};function ae(a,b){if(a instanceof Ec)return a;a=be(String(a));if(b==null?0:b.uw)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.ww)a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>');return Fc(a)} function ce(a){var b={nonce:Jc("script",document)};if(a instanceof Kc)a=a.g;else throw Error("");a=a.toString();var c="<script";if(b==null?0:b.id)c+=' id="'+be(b.id)+'"';if(b==null?0:b.nonce)c+=' nonce="'+be(b.nonce)+'"';if(b==null?0:b.type)c+=' type="'+be(b.type)+'"';if(b==null?0:b.defer)c+=" defer";return Fc(c+(">"+a+"\x3c/script>"))}function be(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")} function de(a){var b=ae("");return Fc(a.map(function(c){return Hc(ae(c))}).join(Hc(b).toString()))}var ee=/^[a-z][a-z\d-]*$/i,fe="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),ge="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),he=["action","formaction","href"];function ie(a){if(!ee.test(a))throw Error("");if(fe.indexOf(a.toUpperCase())!==-1)throw Error("");} function je(a,b,c){ie(a);var d="<"+a;b&&(d+=ke(b));Array.isArray(c)||(c=c===void 0?[]:[c]);ge.indexOf(a.toUpperCase())!==-1?d+=">":(b=de(c.map(function(e){return e instanceof Ec?e:ae(String(e))})),d+=">"+b.toString()+"</"+a+">");return Fc(d)} function ke(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],g=a[e];if(!ee.test(e))throw Error("");if(g!==void 0&&g!==null){if(/^on./i.test(e))throw Error("");he.indexOf(e.toLowerCase())!==-1&&(g=g instanceof qc?g.toString():Bc(String(g))||"about:invalid#zClosurez");g=e+'="'+ae(String(g))+'"';b+=" "+g}}return b};function le(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function me(a,b){var c=b.createRange();c.selectNode(b.body);a=Fc(a);return c.createContextualFragment(Hc(a))};function ne(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function oe(a){a=a.nodeType;return a===1||typeof a!=="number"};function pe(a,b,c,d,e){this.j=a;this.g=b;this.l=c;this.o=d;this.i=e}function qe(a,b,c){c=a.g.get(c);return(c==null?0:c.has(b))?c.get(b):a.l.has(b)?{oc:1}:(c=a.o.get(b))?c:a.i&&[].concat(sa(a.i)).some(function(d){return b.indexOf(d)===0})?{oc:1}:{oc:0}};var re="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(" "), se=[["A",new Map([["href",{oc:2}]])],["AREA",new Map([["href",{oc:2}]])],["LINK",new Map([["href",{oc: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",{oc:5}],["srcset",{oc:6}]])],["IMG",new Map([["src",{oc:5}],["srcset",{oc:6}]])],["VIDEO",new Map([["src",{oc:5}]])],["AUDIO",new Map([["src",{oc:5}]])]],te="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(" "), ue=[["dir",{oc:3,conditions:hc(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{oc:3,conditions:hc(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{oc:3,conditions:hc(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{oc:3,conditions:hc(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],ve=new pe(new Set(re),new Map(se),new Set(te),new Map(ue)),we=new pe(new Set(re.concat(["BUTTON","INPUT"])), new Map(se),new Set(hc(function(){return te.concat(["class","id","name"])})),new Map(hc(function(){return ue.concat([["style",{oc:1}]])}))),xe=new pe(new Set(hc(function(){return re.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "))})),new Map(se),new Set(hc(function(){return te.concat(["class","id","tabindex","contenteditable","name"])})),new Map(hc(function(){return ue.concat([["style",{oc:1}]])})),new Set(["data-","aria-"]));function ye(a,b,c,d){this.i=a;this.l=b;this.j=c;this.g=d}function ze(a,b){var c=document.implementation.createHTMLDocument("");a=Ae(a,b,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return Fc(c)} function Ae(a,b,c){b=me(b,c);b=document.createTreeWalker(b,5,function(k){if(k.nodeType===3)k=1;else if(oe(k))if(k=ne(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(oe(d))h=Be(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 Be(a,b,c){var d,e=ne(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=qe(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.oc){case 1:Ce(c,h,k);break;case 2:a:if(l=void 0,yc){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}Ce(c,h,l!==void 0&&zc.indexOf(l.toLowerCase())!==-1?k:"about:invalid#zClosurez");break;case 3:Ce(c,h,k.toLowerCase());break;case 4:a.j?(k=a.j(k),Ce(c,h,k)):Ce(c,h,k);break;case 5:a.g?(l={type:2,attributeName:h,Cs:e},k=le(k),(k=a.g(k,l))&&Ce(c,h,k.toString())):Ce(c,h,k);break;case 6:if(a.g){l={type:2,attributeName:h,Cs: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,Ak:p});k={xl:[]};d=qa(d);for(m=d.next();!m.done;m=d.next())m=m.value,p=le(m.url),(p=a.g(p,l))&&k.xl.push({url:p.toString(),Ak:m.Ak});Ce(c,h,De(k))}else Ce(c,h,k)}}return c}function Ce(a,b,c){a.setAttribute(b,c)}function De(a){return a.xl.map(function(b){var c=b.Ak;return""+b.url+(c?" "+c:"")}).join(" , ")}var Ee=hc(function(){return new ye(ve)});function z(a){return ze(Ee,a)}var Fe=hc(function(){return new ye(we)}),Ge=hc(function(){return new ye(xe)});function He(){this.i=!1;this.g=ve}function Ie(){He.apply(this,arguments)}n(Ie,He);function Je(a){var b=La.apply(1,arguments);if(b.length===0)return oc(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return oc(c)}function Ke(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 oc(a+b+c)};var Le={0:1,1:1},Me={0:.1,1:.1};function Ne(a,b){try{ze(Ge,a)}catch(c){return Oe(b,"H_SLSANITIZE"),!0}try{ze(Fe,a)}catch(c){return Oe(b,"H_RSANITIZE"),!0}try{z(a)}catch(c){return Oe(b,"H_SANITIZE"),!0}return!1}function Oe(a,b){(Pe?Pe:typeof window!=="undefined"&&window.navigator&&window.navigator.sendBeacon!==void 0?navigator.sendBeacon.bind(navigator):Qe)("https://csp.withgoogle.com/csp/lcreport/"+a.jj,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))} function Qe(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)}var Pe;var Re={}.Uv;function Se(a){return a?new Te(Ue(a)):hb||(hb=new Te)}function A(a){return Ve(document,a)}function Ve(a,b){return typeof b==="string"?a.getElementById(b):b}function We(a,b){return(b||document).getElementsByTagName(String(a))}function Xe(a,b,c){return Ye(document,a,b,c)}function Ze(a,b){return(b||document).querySelectorAll("."+a)}function $e(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=af("*",a,b);return d||null} function Ye(a,b,c,d){a=d||a;return(b=b&&b!="*"?String(b).toUpperCase():"")||c?a.querySelectorAll(b+(c?"."+c:"")):a.getElementsByTagName("*")}function af(a,b,c){var d=document,e=a&&a!="*"?String(a).toUpperCase():"";return e||b?(c||d).querySelector(e+(b?"."+b:"")):Ye(d,a,b,c)[0]||null} function bf(a,b){Lb(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:cf.hasOwnProperty(d)?a.setAttribute(cf[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})}var cf={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 df(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Jb(a.clientWidth,a.clientHeight)}function ef(a){var b=ff(a);a=a.defaultView;return new w(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ff(a){return a.scrollingElement?a.scrollingElement:Jd||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement}function gf(a){return a?a.defaultView:window}function B(a,b,c){return hf(document,arguments)} function hf(a,b){var c=b[1],d=jf(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):bf(d,c));b.length>2&&kf(a,d,b,2);return d} function kf(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(!Va(g)||Wa(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(Wa(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?wb(g):g,e)}}}function C(a){return jf(document,a)} function jf(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function lf(a){return document.createTextNode(String(a))}function mf(a,b){a.appendChild(b)}function nf(a,b){kf(Ue(a),a,arguments,1)}function of(a){for(var b;b=a.firstChild;)a.removeChild(b)}function pf(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function qf(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)} function rf(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}function E(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function sf(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function tf(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})}function uf(a){return a.firstElementChild!==void 0?a.firstElementChild:vf(a.firstChild,!0)}function vf(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a} function wf(a){return Wa(a)&&a.nodeType==1}function xf(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 Ue(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 of(a),a.appendChild(Ue(a).createTextNode(String(b)))}var yf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},zf={IMG:" ",BR:"\n"};function Af(a){return a.hasAttribute("tabindex")&&Bf(a)}function Cf(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))} function Bf(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768}function Df(a){var b=[];Ef(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 Ff(a){var b=[];Ef(a,b,!1);return b.join("")} function Ef(a,b,c){if(!(a.nodeName in yf))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 zf)b.push(zf[a.nodeName]);else for(a=a.firstChild;a;)Ef(a,b,c),a=a.nextSibling}function Gf(a){return Hf(a,function(b){return b.nodeName=="DIV"&&typeof b.className==="string"&&qb(b.className.split(/\s+/),"slider-box")})}function Hf(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} function If(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function Te(a){this.g=a||q.document||document}f=Te.prototype;f.V=function(a){return Ve(this.g,a)};f.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};f.Ma=function(a,b,c){return hf(this.g,arguments)};function Jf(a,b){return jf(a.g,b)}f.appendChild=mf;f.Zl=nf;f.bm=of;f.gu=pf;f.fu=qf;f.Yh=E;f.Rn=tf;f.Tn=uf;f.ju=wf;f.am=xf;function Kf(a){a&&typeof a.dispose=="function"&&a.dispose()};function Lf(){this.Ed=this.Ed;this.Ha=this.Ha}Lf.prototype.Ed=!1;Lf.prototype.dispose=function(){this.Ed||(this.Ed=!0,this.qa())};Lf.prototype[Symbol.dispose]=function(){this.dispose()};function Mf(a,b){b=t(Kf,b);a.Ed?b():(a.Ha||(a.Ha=[]),a.Ha.push(b))}Lf.prototype.qa=function(){if(this.Ha)for(;this.Ha.length;)this.Ha.shift()()};function Nf(a){this.id=a}Nf.prototype.toString=function(){return this.id};function Of(a,b){this.type=a instanceof Nf?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Of.prototype.stopPropagation=function(){this.g=!0};Of.prototype.preventDefault=function(){this.defaultPrevented=!0};function Pf(a){a.preventDefault()};var Qf=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 Rf(a,b){Of.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.yl=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Mb=null;a&&this.Wk(a,b)}u(Rf,Of); Rf.prototype.Wk=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=Jd||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= Jd||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.yl=Ld?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&&Rf.na.preventDefault.call(this)};function Sf(a){return a.Mb.button==0&&!(Ld&&a.ctrlKey)}Rf.prototype.stopPropagation=function(){Rf.na.stopPropagation.call(this);this.Mb.stopPropagation?this.Mb.stopPropagation():this.Mb.cancelBubble=!0};Rf.prototype.preventDefault=function(){Rf.na.preventDefault.call(this);var a=this.Mb;a.preventDefault?a.preventDefault():a.returnValue=!1};var Tf="closure_listenable_"+(Math.random()*1E6|0);function Uf(a){return!(!a||!a[Tf])};var Vf=0;function Wf(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=++Vf;this.Eg=this.xi=!1}function Xf(a){a.Eg=!0;a.listener=null;a.proxy=null;a.src=null;a.Oi=null};function Yf(a){this.src=a;this.g={};this.i=0}f=Yf.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=Zf(a,b,d,e);h>-1?(b=a[h],c||(b.xi=!1)):(b=new Wf(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=Zf(e,b,c,d);return b>-1?(Xf(e[b]),tb(e,b),e.length==0&&(delete this.g[a],this.i--),!0):!1}; function $f(a,b){var c=b.type;c in a.g&&sb(a.g[c],b)&&(Xf(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=Zf(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 Mb(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 Zf(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 ag="closure_lm_"+(Math.random()*1E6|0),bg={},cg=0;function H(a,b,c,d,e){if(d&&d.once)return dg(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)H(a,b[g],c,d,e);return null}c=eg(c);return Uf(a)?a.ha(b,c,Wa(d)?!!d.capture:!!d,e):fg(a,b,c,!1,d,e)} function fg(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=Wa(e)?!!e.capture:!!e,k=gg(a);k||(a[ag]=k=new Yf(a));c=k.add(b,c,d,h,g);if(c.proxy)return c;d=hg();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Qf||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ig(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");cg++;return c} function hg(){function a(c){return b.call(a.src,a.listener,c)}var b=jg;return a}function dg(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)dg(a,b[g],c,d,e);return null}c=eg(c);return Uf(a)?a.ef(b,c,Wa(d)?!!d.capture:!!d,e):fg(a,b,c,!0,d,e)}function kg(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)kg(a,b[g],c,d,e);else d=Wa(d)?!!d.capture:!!d,c=eg(c),Uf(a)?a.Sa(b,c,d,e):a&&(a=gg(a))&&(b=a.qh(b,c,d,e))&&lg(b)} function lg(a){if(typeof a!=="number"&&a&&!a.Eg){var b=a.src;if(Uf(b))$f(b.Fd,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ig(c),d):b.addListener&&b.removeListener&&b.removeListener(d);cg--;(c=gg(b))?($f(c,a),c.i==0&&(c.src=null,b[ag]=null)):Xf(a)}}}function ig(a){return a in bg?bg[a]:bg[a]="on"+a}function mg(a,b){var c=a.listener,d=a.Oi||a.src;a.xi&&lg(a);return c.call(d,b)} function jg(a,b){return a.Eg?!0:mg(a,new Rf(b,this))}function gg(a){a=a[ag];return a instanceof Yf?a:null}var ng="__closure_events_fn_"+(Math.random()*1E9>>>0);function eg(a){if(typeof a==="function")return a;a[ng]||(a[ng]=function(b){return a.handleEvent(b)});return a[ng]};function og(a){Lf.call(this);this.s=a;this.j={}}u(og,Lf);var pg=[];f=og.prototype;f.ha=function(a,b,c,d){return qg(this,a,b,c,d)};function rg(a,b,c,d,e){qg(a,b,c,d,!1,e)}function qg(a,b,c,d,e,g){Array.isArray(c)||(c&&(pg[0]=c.toString()),c=pg);for(var h=0;h<c.length;h++){var k=H(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 sg(this,a,b,c,d)}; function sg(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)sg(a,b,c[h],d,e,g);else{b=dg(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=Wa(d)?!!d.capture:!!d,e=e||this.s||this,c=eg(c),d=!!d,b=Uf(a)?a.qh(b,c,d,e):a?(a=gg(a))?a.qh(b,c,d,e):null:null,b&&(lg(b),delete this.j[b.key]);return this}; function tg(a){Lb(a.j,function(b,c){this.j.hasOwnProperty(c)&&lg(b)},a);a.j={}}f.qa=function(){og.na.qa.call(this);tg(this)};f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function ug(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}function vg(a){for(var b=new ug(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=ug.prototype;f.qb=function(){return this.right-this.left};f.Ab=function(){return this.bottom-this.top}; f.clone=function(){return new ug(this.top,this.right,this.bottom,this.left)};function wg(a,b){return a&&b?b instanceof ug?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 xg(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 yg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=yg.prototype;f.clone=function(){return new yg(this.left,this.top,this.width,this.height)};function zg(a){return new ug(a.top,a.left+a.width,a.top+a.height,a.left)}function Ag(a){return new yg(a.left,a.top,a.right-a.left,a.bottom-a.top)} 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);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 Cg(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 yg(c,e,d-c,a-e)}return null} function Dg(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 Eg(a,b){if(!a||!b)return null;a=new yg(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 Jb(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=Fg(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=Fg(c,d);g&&(c.style[g]=e)}}var Gg={};function Fg(a,b){var c=Gg[b];if(!c){var d=id(b);c=d;a.style[d]===void 0&&(d=(Jd?"Webkit":Id?"Moz":null)+jd(d),a.style[d]!==void 0&&(c=d));Gg[b]=c}return c}function Hg(a,b){var c=a.style[id(b)];return typeof c!=="undefined"?c:a.style[Fg(a,b)]||""} function Ig(a,b){var c=Ue(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function Jg(a,b){return Ig(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Kg(a,b,c){if(b instanceof w){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Lg(d,!1);a.style.top=Lg(b,!1)}function Mg(a){return new w(a.offsetLeft,a.offsetTop)} function Ng(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}function Og(a){var b=Ue(a),c=Jg(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=Jg(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 Pg(a){for(var b=new ug(0,Infinity,Infinity,0),c=Se(a),d=c.g.body,e=c.g.documentElement,g=ff(c.g);a=Og(a);)if((!Jd||a.clientHeight!=0||a!=d)&&a!=d&&a!=e&&Jg(a,"overflow")!="visible"){var h=Qg(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=df(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 Rg(a,b){b=b||ff(document);var c=b||ff(document);var d=Qg(a),e=Qg(c),g=Sg(c);if(c==ff(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=Tg(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 Qg(a){var b=Ue(a),c=new w(0,0);if(a==(b?Ue(b):document).documentElement)return c;a=Ng(a);b=ef(Se(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Ug(a,b){a=Vg(a);b=Vg(b);return new w(a.x-b.x,a.y-b.y)}function Wg(a){a=Ng(a);return new w(a.left,a.top)}function Vg(a){if(a.nodeType==1)return Wg(a);a=a.changedTouches?a.changedTouches[0]:a;return new w(a.clientX,a.clientY)}function Xg(a,b,c){var d=Qg(a);b instanceof w&&(c=b.y,b=b.x);Kg(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function L(a,b,c){if(b instanceof Jb)c=b.height,b=b.width;else if(c==void 0)throw Error("missing height argument");Yg(a,b);a.style.height=Lg(c,!0)}function Lg(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}function Yg(a,b){a.style.width=Lg(b,!0)}function M(a){var b=Tg;if(Jg(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 Tg(a){var b=a.offsetWidth,c=a.offsetHeight,d=Jd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Ng(a),new Jb(a.right-a.left,a.bottom-a.top)):new Jb(b,c)}function Zg(a){var b=Qg(a);a=M(a);return new yg(b.x,b.y,a.width,a.height)}function $g(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 ah(a){return a.style.display!="none"} function bh(a){return"rtl"==Jg(a,"direction")}var ch=Id?"MozUserSelect":Jd||Hd?"WebkitUserSelect":null;function dh(a,b,c){c=c?null:a.getElementsByTagName("*");if(ch&&(b=b?"none":"",a.style&&(a.style[ch]=b),c))for(var d=0;a=c[d];d++)a.style&&(a.style[ch]=b)}function eh(a,b){fh(a,b,"border-box")} function gh(a){var b=new Jb(a.offsetWidth,a.offsetHeight);var c=Ig(a,"paddingLeft");var d=Ig(a,"paddingRight"),e=Ig(a,"paddingTop"),g=Ig(a,"paddingBottom");c=new ug(parseFloat(e),parseFloat(d),parseFloat(g),parseFloat(c));a=Sg(a);return new Jb(b.width-a.left-c.left-c.right-a.right,b.height-a.top-c.top-c.bottom-a.bottom)}function fh(a,b,c){a=a.style;Id?a.MozBoxSizing=c:Jd?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Sg(a){var b=Ig(a,"borderLeftWidth"),c=Ig(a,"borderRightWidth"),d=Ig(a,"borderTopWidth");a=Ig(a,"borderBottomWidth");return new ug(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function hh(a,b){a=ih(a);var c;if(c=b){var d,e;c=Math.random()<((e=(d=b.Bw)!=null?d:Le[b.jj[0]])!=null?e:0)}if(c&&window.SAFEVALUES_REPORTING!==!1&&"DocumentFragment"in window){var g,h;Math.random()<((h=(g=b.ow)!=null?g:Me[b.jj[0]])!=null?h:0)&&Oe(b,"HEARTBEAT");Ne(a,b)||ae(a).toString()!==a&&Oe(b,"H_ESCAPE")}return Fc(a)}function ih(a){return a===null?"null":a===void 0?"undefined":a};function jh(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""}function kh(a){return a.classList?a.classList:jh(a).match(/\S+/g)||[]}function lh(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function mh(a,b){return a.classList?a.classList.contains(b):qb(kh(a),b)}function O(a,b){if(a.classList)a.classList.add(b);else if(!mh(a,b)){var c=jh(a);lh(a,c+(c.length>0?" "+b:b))}} function nh(a,b){if(a.classList)Array.prototype.forEach.call(b,function(e){O(a,e)});else{var c={};Array.prototype.forEach.call(kh(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;lh(a,b)}}function oh(a,b){a.classList?a.classList.remove(b):mh(a,b)&&lh(a,Array.prototype.filter.call(kh(a),function(c){return c!=b}).join(" "))} function ph(a,b){a.classList?Array.prototype.forEach.call(b,function(c){oh(a,c)}):lh(a,Array.prototype.filter.call(kh(a),function(c){return!qb(b,c)}).join(" "))}function P(a,b,c){c?O(a,b):oh(a,b)};function Q(){Lf.call(this);this.Fd=new Yf(this);this.Tr=this;this.wl=null}u(Q,Lf);Q.prototype[Tf]=!0;f=Q.prototype;f.yg=function(){return this.wl};f.Gg=function(a){this.wl=a};f.addEventListener=function(a,b,c,d){H(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){kg(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.Tr;var d=a.type||a;if(typeof a==="string")a=new Of(a,c);else if(a instanceof Of)a.target=a.target||c;else{var e=a;a=new Of(d,c);Sb(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=qh(h,d,!0,a)&&e}a.g||(h=a.currentTarget=c,e=qh(h,d,!0,a)&&e,a.g||(e=qh(h,d,!1,a)&&e));if(b)for(g=0;!a.g&&g<b.length;g++)h=a.currentTarget=b[g],e=qh(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,Xf(d[e]);delete a.g[c];a.i--}}this.wl=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 qh(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&&$f(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 rh(a){Q.call(this);this.g=a||window;this.j=H(this.g,"resize",this.l,!1,this);this.i=df(this.g)}u(rh,Q);function sh(){var a=window,b=Xa(a);return th[b]=th[b]||new rh(a)}var th={};rh.prototype.getSize=function(){return this.i?this.i.clone():null};rh.prototype.qa=function(){rh.na.qa.call(this);this.j&&(lg(this.j),this.j=null);this.i=this.g=null};rh.prototype.l=function(){var a=df(this.g);Kb(a,this.i)||(this.i=a,this.dispatchEvent("resize"))};function uh(a){if(a.altKey&&!a.ctrlKey||a.metaKey||a.keyCode>=112&&a.keyCode<=123)return!1;if(vh(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!Id;default:return a.keyCode<166||a.keyCode>183}} function wh(a,b,c,d,e,g){if(Ld&&e)return vh(a);if(e&&!d)return!1;if(!Id){typeof b==="number"&&(b=xh(b));var h=b==17||b==18||Ld&&b==91;if((!c||Ld)&&h||Ld&&b==16&&(d||g))return!1}if(Jd&&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 Id?g||e?!1:!(c&&d):!0;case 27:return!Jd&&!Id}return Id&&(d||e||g)?!1:vh(a)} function vh(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||Jd&&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 Id;default:return!1}}function xh(a){if(Id)a=yh(a);else if(Ld&&Jd)switch(a){case 93:a=91}return a} function yh(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 zh(a){if(a.Bc&&typeof a.Bc=="function")return a.Bc();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(Va(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 Ah(a){if(a.Td&&typeof a.Td=="function")return a.Td();if(!a.Bc||typeof a.Bc!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(Va(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 Bh(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Va(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=Ah(a),e=zh(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)};var Ch=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Dh(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?Yc(e):"")}}} function Eh(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 Fh(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 Gh=/#|$/; function Hh(a){var b=window.location.href,c=b.search(Gh),d=Fh(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 Yc(b.slice(d,e!==-1?e:0))}var Ih=/[?&]($|#)/;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,Jh(this,a.o),this.O=a.O,this.g=a.g,Kh(this,a.U),Lh(this,a.l),Mh(this,a.j.clone()),Nh(this,a.i)):a&&(c=String(a).match(Ch))?(this.s=!!b,Jh(this,c[1]||"",!0),this.O=Oh(c[2]||""),this.g=Oh(c[3]||"",!0),Kh(this,c[4]),Lh(this,c[5]||"",!0),Mh(this,c[6]||"",!0),Nh(this,c[7]||"",!0)):(this.s=!!b,this.j=new Ph(null,this.s))} R.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Qh(b,Rh,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.O)&&a.push(Qh(b,Rh,!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(Qh(c,c.charAt(0)=="/"?Sh:Th,!0));(c=this.j.toString())&&a.push("?",c);(c=this.i)&&a.push("#",Qh(c,Uh));return a.join("")}; R.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Jh(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)Kh(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(ec(e,"./")||ec(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?Lh(b,d):c=a.j.toString()!=="";c?Mh(b,a.j.clone()):c=!!a.i;c&&Nh(b,a.i);return b};R.prototype.clone=function(){return new R(this)};function Jh(a,b,c){a.o=c?Oh(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function Kh(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 Lh(a,b,c){a.l=c?Oh(b,!0):b} function Mh(a,b,c){b instanceof Ph?(a.j=b,Vh(a.j,a.s)):(c||(b=Qh(b,Wh)),a.j=new Ph(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 Nh(a,b,c){a.i=c?Oh(b):b;return a}function Xh(a,b){a.j.remove(b);return a}function Oh(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""} function Qh(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Yh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Yh(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Rh=/[#\/\?@]/g,Th=/[#\?:]/g,Sh=/[#\?]/g,Wh=/[#\?@]/g,Uh=/#/g;function Ph(a,b){this.i=this.g=null;this.j=a||null;this.l=!!b}function Zh(a){a.g||(a.g=new Map,a.i=0,a.j&&Dh(a.j,function(b,c){a.add(Yc(b),c)}))} function $h(a){var b=Ah(a);if(typeof b=="undefined")throw Error("Keys are undefined");var c=new Ph(null);a=zh(a);for(var d=0;d<b.length;d++){var e=b[d],g=a[d];Array.isArray(g)?ai(c,e,g):c.add(e,g)}return c}f=Ph.prototype;f.add=function(a,b){Zh(this);this.j=null;a=bi(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){Zh(this);a=bi(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 ci(a,b){Zh(a);b=bi(a,b);return a.g.has(b)}f.forEach=function(a,b){Zh(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.Td=function(){Zh(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.Bc=function(a){Zh(this);var b=[];if(typeof a==="string")ci(this,a)&&(b=b.concat(this.g.get(bi(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){Zh(this);this.j=null;a=bi(this,a);ci(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.Bc(a);return a.length>0?String(a[0]):b}; function ai(a,b,c){a.remove(b);c.length>0&&(a.j=null,a.g.set(bi(a,b),wb(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.Bc(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 Ph;a.j=this.j;this.g&&(a.g=new Map(this.g),a.i=this.i);return a}; function bi(a,b){b=String(b);a.l&&(b=b.toLowerCase());return b}function Vh(a,b){b&&!a.l&&(Zh(a),a.j=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),ai(this,e,c))},a));a.l=b}f.Sp=function(a){for(var b=0;b<arguments.length;b++)Bh(arguments[b],function(c,d){this.add(d,c)},this)};function di(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 ei(){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(ei,Q);var fi=/^https?$/i,gi=["POST","PUT"],hi=[];function ii(a,b,c,d,e,g,h){var k=new ei;hi.push(k);b&&k.ha("complete",b);k.ef("ready",k.ks);g&&(k.U=Math.max(0,g));h&&(k.ka=h);k.send(a,c,d,e)}f=ei.prototype;f.ks=function(){this.dispose();sb(hi,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=fb(r(this.Po,this));try{this.O=!0,this.g.open(b,String(a),!0),this.O=!1}catch(h){ji(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;!qb(gi,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){ji(this)}};f.Kg=function(){typeof Qa!="undefined"&&this.g&&(this.dispatchEvent("timeout"),this.abort(8))};function ji(a){a.i=!1;a.g&&(a.j=!0,a.g.abort(),a.j=!1);ki(a);li(a)} function ki(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"),li(this))};f.qa=function(){this.g&&(this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1),li(this,!0));ei.na.qa.call(this)};f.Po=function(){this.Ed||(this.O||this.o||this.j?mi(this):this.Mu())};f.Mu=function(){mi(this)}; function mi(a){if(a.i&&typeof Qa!="undefined")if(a.o&&(a.g?a.g.readyState:0)==4)setTimeout(a.Po.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.i=!1;try{ni(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):ki(a)}finally{li(a)}}}function li(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 ni(a){var b=oi(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(Ch)[1]||null,!a&&q.self&&q.self.location&&(a=q.self.location.protocol.slice(0,-1)),b=!fi.test(a?a.toLowerCase():"");c=b}return c}function oi(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}}function pi(a){try{return a.g?a.g.responseText:""}catch(b){return""}} function qi(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=di(b)}return c}};function ri(){}f=ri.prototype;f.kb=function(a){this.ob=a.width;this.wb=a.height};f.getSize=function(){return new Jb(this.ob,this.wb)};f.Ud=function(){return this.O};f.Zc=function(){return this.s};f.qb=function(){return this.ob};f.Ab=function(){return this.wb};f.Yc=function(){return new w(this.O,this.s)};function si(a){return new yg(a.O,a.s,a.ob,a.wb)};function ti(){return!0}function ui(){}function vi(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d};function wi(){this.g=[]}wi.prototype.Na=function(a){this.g.push(a)};wi.prototype.getSize=function(){var a=this.qb(),b=this.Ab();return a===null||b===null?null:new Jb(a,b)};wi.prototype.Hd=function(a){return this.g.filter(a||ti)};function xi(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(b(d))return d}return null}function yi(a,b){return xi(a,function(c){return c.Zc()<=b&&c.Zc()+c.getSize().height>=b})}function zi(a,b){return a.g.find(function(c){return wg(zg(si(c)),b)})};function Ai(){this.g=[];this.cells=[]}u(Ai,wi);f=Ai.prototype;f.dm=0;f.ai=0;f.marginRight=0;f.Zh=0;f.Uk=0;f.zj=0;f.Ip=!1;f.qb=function(){return this.ob};f.Ab=function(){return this.wb}; function Bi(a){a.O();for(var b=a.dm,c={},d=0;d<a.j;c={vk:void 0},d++)c.vk=Ci(a,d),a.cells[d].forEach(function(g){return function(h){if(h){var k=b+Math.round((g.vk-h.getSize().width)/2);h.O=k}}}(c)),b+=c.vk+a.Uk;a.ob=b+a.marginRight;var e=a.ai;c={};for(d=0;d<a.i;c={Al:void 0},d++)c.Al=Di(a,d),Ei(a,d).forEach(function(g){return function(h){if(h)if(this.Ip){var k=e+Math.round((g.Al-h.getSize().height)/2);h.s=k}else h.s=e}}(c)),e+=c.Al+a.zj;a.wb=e+a.Zh} function Ei(a,b){return a.cells.map(function(c){return c[b]})}function Ci(a,b){var c=0;a.cells[b].forEach(function(d){d&&(c=Math.max(c,d.getSize().width))});return c}function Di(a,b){var c=0;Ei(a,b).forEach(function(d){d&&(c=Math.max(c,d.getSize().height))});return c};function Fi(a){this.l=a}n(Fi,ri);Fi.prototype.Ca=function(){return this.l};Fi.prototype.kb=function(a){a.width==void 0?(this.wb=a.height,this.ob=Math.round(a.height*Gi(this.l))):a.height==void 0?(this.ob=a.width,this.wb=Math.round(a.width/Gi(this.l))):(this.ob=a.width,this.wb=a.height)};function Hi(a,b){this.j=a;this.l=b;this.i=0;this.g=null}Hi.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 Ii(a,b){a.l(b);a.i<100&&(a.i++,b.next=a.g,a.g=b)};function Ji(a){q.setTimeout(function(){throw a;},0)};function Ki(){this.i=this.g=null}Ki.prototype.add=function(a,b){var c=Li.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Ki.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 Li=new Hi(function(){return new Mi},function(a){return a.reset()});function Mi(){this.next=this.g=this.ve=null}Mi.prototype.set=function(a,b){this.ve=a;this.g=b;this.next=null};Mi.prototype.reset=function(){this.next=this.g=this.ve=null};var Ni,Oi=!1,Pi=new Ki;function Qi(a,b){Ni||Ri();Oi||(Ni(),Oi=!0);Pi.add(a,b)}function Ri(){var a=Promise.resolve(void 0);Ni=function(){a.then(Si)}}function Si(){for(var a;a=Pi.remove();){try{a.ve.call(a.g)}catch(b){Ji(b)}Ii(Li,a)}Oi=!1};function Ti(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Ui(a){this.g=0;this.O=void 0;this.l=this.i=this.j=null;this.o=this.s=!1;if(a!=ui)try{var b=this;a.call(void 0,function(c){Vi(b,2,c)},function(c){Vi(b,3,c)})}catch(c){Vi(this,3,c)}}function Wi(){this.next=this.context=this.i=this.j=this.g=null;this.l=!1}Wi.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.l=!1};var Xi=new Hi(function(){return new Wi},function(a){a.reset()});function Yi(a,b,c){var d=Xi.get();d.j=a;d.i=b;d.context=c;return d} function Zi(){var a,b,c=new Ui(function(d,e){a=d;b=e});return new $i(c,a,b)}Ui.prototype.then=function(a,b,c){return aj(this,fb(typeof a==="function"?a:null),fb(typeof b==="function"?b:null),c)};Ui.prototype.$goog_Thenable=!0;Ui.prototype.cancel=function(a){if(this.g==0){var b=new bj(a);Qi(function(){cj(this,b)},this)}}; function cj(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?cj(c,b):(g?(d=g,d.next==c.l&&(c.l=d),d.next=d.next.next):dj(c),ej(c,e,3,b)))}a.j=null}else Vi(a,3,b)}function fj(a,b){a.i||a.g!=2&&a.g!=3||gj(a);a.l?a.l.next=b:a.i=b;a.l=b} function aj(a,b,c,d){var e=Yi(null,null,null);e.g=new Ui(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 bj?h(k):g(l)}catch(m){h(m)}}:h});e.g.j=a;fj(a,e);return e.g}Ui.prototype.ka=function(a){this.g=0;Vi(this,2,a)};Ui.prototype.ma=function(a){this.g=0;Vi(this,3,a)}; function Vi(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 Ui){fj(d,Yi(e||ui,g||null,a));var h=!0}else if(Ti(d))d.then(e,g,a),h=!0;else{if(Wa(d))try{var k=d.then;if(typeof k==="function"){hj(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,gj(a),b!=3||c instanceof bj||ij(a,c))}} function hj(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 gj(a){a.s||(a.s=!0,Qi(a.U,a))}function dj(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b}Ui.prototype.U=function(){for(var a;a=dj(this);)ej(this,a,this.g,this.O);this.s=!1}; function ej(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,jj(b,c,d);else try{b.l?b.j.call(b.context):jj(b,c,d)}catch(e){kj.call(null,e)}Ii(Xi,b)}function jj(a,b,c){b==2?a.j.call(a.context,c):a.i&&a.i.call(a.context,c)}function ij(a,b){a.o=!0;Qi(function(){a.o&&kj.call(null,b)})}var kj=Ji;function bj(a){gb.call(this,a)}u(bj,gb);bj.prototype.name="cancel";function $i(a,b,c){this.promise=a;this.resolve=b;this.reject=c};function lj(a,b){Q.call(this);this.i=a||1;this.g=b||q;this.j=r(this.Ev,this);this.l=cb()}u(lj,Q);f=lj.prototype;f.enabled=!1;f.Qa=null;function mj(a,b){a.i=b;a.Qa&&a.enabled?(a.stop(),a.start()):a.Qa&&a.stop()}f.Ev=function(){if(this.enabled){var a=cb()-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=cb())};f.stop=function(){this.enabled=!1;this.Qa&&(this.g.clearTimeout(this.Qa),this.Qa=null)};f.qa=function(){lj.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 nj(a){q.clearTimeout(a)};function oj(){return document.body.dir=="rtl"}function pj(a,b,c){a=a.style;Gd?a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="scale")':(a.backgroundImage="url("+b+")",a.backgroundRepeat=c||"no-repeat")}var qj={border:!0,padding:!0,margin:!0},rj=["Top","Bottom","Right","Left"],sj={color:"#0000cc",textDecoration:"underline"}; function tj(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){Lb(b,t(uj,c))})}function uj(a,b,c){var d=Hg(a,c)=="";qj[c]?v(rj,function(e){d&&Hg(a,c+e)==""&&K(a,c+e,b)}):d&&(a.tagName.toLowerCase()=="a"&&sj[c]?K(a,c,sj[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||Lb(c,function(e,g){xb(d,wb(a.getElementsByTagName(g)))});tj(d)};function vj(a,b,c){Lf.call(this);this.Eh=a;this.j=b||0;this.g=c;this.i=r(this.Tp,this)}u(vj,Lf);f=vj.prototype;f.rb=0;f.qa=function(){vj.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()&&nj(this.rb);this.rb=0};f.isActive=function(){return this.rb!=0};f.Tp=function(){this.rb=0;this.Eh&&this.Eh.call(this.g)};var Pb={},wj=null;function xj(a){a=Xa(a);delete Pb[a];Ob()&&wj&&wj.stop()}function yj(){wj||(wj=new vj(function(){zj()},20));var a=wj;a.isActive()||a.start()}function zj(){var a=cb();Lb(Pb,function(b){Aj(b,a)});Ob()||yj()};function Bj(){Q.call(this);this.Cc=0;this.endTime=this.startTime=null}u(Bj,Q);Bj.prototype.hf=function(){this.ld("begin")};Bj.prototype.Ee=function(){this.ld("end")};Bj.prototype.ld=function(a){this.dispatchEvent(a)};function Cj(a,b,c,d){Bj.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(Cj,Bj);f=Cj.prototype; f.play=function(a){if(a||this.Cc==0)this.progress=0,this.coords=this.i;else if(this.Cc==1)return!1;xj(this);this.startTime=a=cb();this.Cc==-1&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.hf();this.ld("play");this.Cc==-1&&this.ld("resume");this.Cc=1;var b=Xa(this);b in Pb||(Pb[b]=this);yj();Aj(this,a);return!0};f.stop=function(a){xj(this);this.Cc=0;a&&(this.progress=1);Dj(this,this.progress);this.ld("stop");this.Ee()}; f.qa=function(){this.Cc==0||this.stop(!1);this.ld("destroy");Cj.na.qa.call(this)};function Aj(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);Dj(a,a.progress);a.progress==1?(a.Cc=0,xj(a),a.ld("finish"),a.Ee()):a.Cc==1&&a.ul()}function Dj(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.ul=function(){this.ld("animate")}; f.ld=function(a){this.dispatchEvent(new Ej(a,this))};function Ej(a,b){Of.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.Cc}u(Ej,Of);function Fj(a){return 3*a*a-2*a*a*a};function W(){Q.call(this);this.g=new og(this)}u(W,Q);W.prototype.qa=function(){this.dispatchEvent("dispose");W.na.qa.call(this);this.g.dispose()};function Gj(){W.call(this)}u(Gj,W);function Hj(a,b){this.x=a;this.y=b}u(Hj,w);function Ij(a){return new Hj(a.x,a.y)}Hj.prototype.clone=function(){return new Hj(this.x,this.y)};Hj.prototype.Ej=w.prototype.Ej;Hj.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Jj(a,b){a.x-=b.x;a.y-=b.y;return a};function Kj(a,b){this.g=a;this.i=b}function Lj(a,b){var c=zi(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=xg(zg(si(h)),b);if(k<c){c=k;if(k==0){c=h;break a}e=h}}c=e}a=a.i.mh(c);b=Ij(b);Dd(Jj(b,c.Yc()));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 Ij(a.Yc()).add(b)};var Mj={};var Nj;var Oj="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function Pj(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?(Nj||(c={},Nj=(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=Nj,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)} function Qj(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)}function Rj(a){var b=Qj(a,"activedescendant");return Ue(a).getElementById(b)}function Sj(a,b){var c="";b&&(c=b.id);X(a,"activedescendant",c)}function Tj(a,b){X(a,"label",b)};var Uj=function(){if(Md){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(nd()))?a[1]:"0"}return Ld?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(nd()))?a[0].replace(/_/g,"."):"10"):Od?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(nd()))?a[1]:""):Pd||Qd||Rd?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(nd()))?a[1].replace(/_/g,"."):""):""}();var Vj=vd(),Wj=Ad()||rd("iPod"),Xj=rd("iPad"),Yj=rd("Android")&&!(wd()||vd()||td()||rd("Silk")),Zj=wd(),ak=rd("Safari")&&!(wd()||(sd()?0:rd("Coast"))||td()||(sd()?0:rd("Edge"))||(sd()?qd("Microsoft Edge"):rd("Edg/"))||(sd()?qd("Opera"):rd("OPR"))||vd()||rd("Silk")||rd("Android"))&&!Bd();function bk(a){return(a=a.exec(nd()))?a[1]:""}var ck=function(){if(Vj)return bk(/Firefox\/([0-9.]+)/);if(Gd||Hd||Fd)return Yd;if(Zj){if(Bd()||Cd()){var a=bk(/CriOS\/([0-9.]+)/);if(a)return a}return bk(/Chrome\/([0-9.]+)/)}if(ak&&!Bd())return bk(/Version\/([0-9.]+)/);if(Wj||Xj){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(nd()))return a[1]+"."+a[2]}else if(Yj)return(a=bk(/Android\s+([0-9.]+)/))?a:bk(/Version\/([0-9.]+)/);return""}();function dk(a,b,c){Q.call(this);this.target=a;this.handle=b||a;this.ma=c||new yg(NaN,NaN,NaN,NaN);this.j=Ue(a);this.g=new og(this);Mf(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;H(this.handle,["touchstart","mousedown"],this.Ol,!1,this);this.o=ek}u(dk,Q);var ek=q.document&&q.document.documentElement&&!!q.document.documentElement.setCapture&&!!q.document.releaseCapture; function fk(a,b){a.ma=b||new yg(NaN,NaN,NaN,NaN)}f=dk.prototype;f.nb=function(a){this.Lb=a};f.qa=function(){dk.na.qa.call(this);kg(this.handle,["touchstart","mousedown"],this.Ol,!1,this);tg(this.g);this.o&&this.j.releaseCapture();this.handle=this.target=null}; f.Ol=function(a){var b=a.type=="mousedown";if(!this.Lb||this.i||b&&!Sf(a))this.dispatchEvent("earlycancel");else{if(this.ka==0)if(this.dispatchEvent(new gk("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.xt,{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(gf(b),"blur", this.Bi);this.Ea&&this.g.ha(this.Ea,"scroll",this.Nu,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=ef(Se(this.j).g)}};f.Bi=function(a,b){tg(this.g);this.o&&this.j.releaseCapture();this.i?(this.i=!1,this.dispatchEvent(new gk("end",this,a.clientX,a.clientY,a,hk(this,this.deltaX),ik(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")}; f.xt=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 gk("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.Ed||this.Bi(a);return}}c=jk(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new gk("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(kk(this,a,b,c),a.preventDefault())}}; function jk(a,b,c){var d=ef(Se(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(hk(a,a.deltaX),ik(a,a.deltaY))}f.Nu=function(a){var b=jk(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;kk(this,a,b.x,b.y)};function kk(a,b,c,d){a.zk(c,d);a.dispatchEvent(new gk("drag",a,b.clientX,b.clientY,b,c,d))}function hk(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 ik(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.zk=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function gk(a,b,c,d,e,g,h){Of.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(gk,Of);function lk(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 lk)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=lk.prototype;f.Bc=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 lk(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 mk=[[],[]],nk=0,ok=!1,pk=0;function qk(a,b){var c=pk++,d={vu:{id:c,ve:a.measure,context:b},yu:{id:c,ve:a.Go,context:b},state:{},Wc:void 0,Ui:!1};return function(){arguments.length>0?(d.Wc||(d.Wc=[]),d.Wc.length=0,d.Wc.push.apply(d.Wc,arguments),d.Wc.push(d.state)):d.Wc&&d.Wc.length!=0?(d.Wc[0]=d.state,d.Wc.length=1):d.Wc=[d.state];d.Ui||(d.Ui=!0,mk[nk].push(d));ok||(ok=!0,window.requestAnimationFrame(rk))}} function rk(){ok=!1;var a=mk[nk],b=a.length;nk=(nk+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.vu;c.Ui=!1;e.ve&&e.ve.apply(e.context,c.Wc)}for(d=0;d<b;++d)c=a[d],e=c.yu,c.Ui=!1,e.ve&&e.ve.apply(e.context,c.Wc),c.state={};a.length=0};var sk=ta(["about:blank"]),tk=ta(["javascript:undefined"]),uk=Je(sk);pc(uk);var vk=Je(tk);pc(vk);function wk(a){Q.call(this);this.ua=a;this.g=H(this.ua,"focus",this,!0);this.i=H(this.ua,"blur",this,!0)}u(wk,Q);wk.prototype.handleEvent=function(a){var b=new Rf(a.Mb);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};wk.prototype.qa=function(){wk.na.qa.call(this);lg(this.g);lg(this.i);delete this.ua};function xk(){}Sa(xk);xk.prototype.g=0;function yk(a){return":"+(a.g++).toString(36)};function Y(a){Q.call(this);this.g=a||Se();this.Ib=zk;this.rb=null;this.Ra=!1;this.ua=null;this.ma=void 0;this.ka=this.O=this.s=this.ql=null;this.Hc=!1}u(Y,Q);Y.prototype.jd=xk.Hb();var zk=null; function Ak(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=yk(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];Qb(this.s.ka,a,this)}this.rb=a};f.V=function(){return this.ua};function Z(a){a.ma||(a.ma=new og(a));return a.ma}f.ae=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.s&&this.rb&&Bk(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=Jf(this.g,"DIV")};f.render=function(a){Ck(this,a)};function Ck(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 Dk(a,b){if(a.Ra)throw Error("Component already rendered");if(b&&a.bi(b)){a.Hc=!0;var c=Ue(b);a.g&&a.g.g==c||(a.g=Se(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;Ek(this,function(a){!a.Ra&&a.V()&&a.Ia()})};f.bc=function(){Ek(this,function(a){a.Ra&&a.bc()});this.ma&&tg(this.ma);this.Ra=!1}; f.qa=function(){this.Ra&&this.bc();this.ma&&(this.ma.dispose(),delete this.ma);Ek(this,function(a){a.dispose()});!this.Hc&&this.ua&&E(this.ua);this.s=this.ql=this.ua=this.ka=this.O=null;Y.na.qa.call(this)};f.Xa=function(a,b){this.jg(a,Fk(this),b)}; f.jg=function(a,b,c){if(a.Ra&&(c||!this.Ra))throw Error("Component already rendered");if(b<0||b>Fk(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;sb(this.O,a)}else Qb(this.ka,a.getId(),a);a.ae(this);yb(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=Gk(this,b+1),Ck(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 Hk(a){a.Ib==null&&(a.Ib=bh(a.Ra?a.ua:a.g.g.body));return a.Ib}function Fk(a){return a.O?a.O.length:0}function Bk(a,b){a.ka&&b?(a=a.ka,b=(a!==null&&b in a?a[b]:void 0)||null):b=null;return b}function Gk(a,b){return a.O?a.O[b]||null:null}function Ek(a,b,c){a.O&&a.O.forEach(b,c)} function Ik(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=Bk(this,c);if(c&&a){var d=this.ka;c in d&&delete d[c];sb(this.O,a);b&&(a.bc(),a.ua&&E(a.ua));a.ae(null)}}if(!a)throw Error("Child is not in parent component");return a};function Jk(a,b){this.ua=a;this.i=b};function Kk(a,b){Q.call(this);this.U=new og(this);this.Wf(a||null);b&&(this.Xf=b)}u(Kk,Q);f=Kk.prototype;f.ua=null;f.yn=!0;f.xn=null;f.Me=!1;f.hl=-1;f.Xi=-1;f.Mn=!0;f.Xf="toggle_display";f.getType=function(){return this.Xf};f.V=function(){return this.ua};f.Wf=function(a){Lk(this);this.ua=a};function Mk(a,b){Lk(a);a.yn=b}function Lk(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.vl()){if(!this.ua)throw Error("Caller must call setElement before trying to show the popup");this.Vf();a=Ue(this.ua);this.yn&&(this.U.ha(a,"mousedown",this.Hu,!0),this.U.ha(a,"blur",this.Fu));this.Xf=="toggle_display"?(this.ua.style.visibility="visible",N(this.ua,!0)):this.Xf=="move_offscreen"&&this.Vf();this.Me=!0;this.hl=Date.now();this.Xi=-1;this.Ea?(dg(this.Ea,"end",this.ci,!1,this),this.Ea.play()):this.ci()}}else Nk(this)}; f.Vf=function(){};function Nk(a,b){a.Me&&a.dispatchEvent({type:"beforehide",target:b})&&(a.U&&tg(a.U),a.Me=!1,a.Xi=Date.now(),a.oa?(dg(a.oa,"end",t(a.Dn,b),!1,a),a.oa.play()):a.Dn(b))}f.Dn=function(a){this.Xf=="toggle_display"?this.Ut():this.Xf=="move_offscreen"&&(this.ua.style.top="-10000px");this.Ng(a)};f.Ut=function(){this.ua.style.visibility="hidden";N(this.ua,!1)};f.vl=function(){return this.dispatchEvent("beforeshow")};f.ci=function(){this.dispatchEvent("show")}; f.Ng=function(a){this.dispatchEvent({type:"hide",target:a})};f.Hu=function(a){a=a.target;xf(this.ua,a)||Ok(this,a)||Date.now()-this.hl<150||Nk(this,a)};f.Fu=function(a){if(this.Mn){var b=Ue(this.ua);if(typeof document.activeElement!="undefined"){if(a=b.activeElement,!a||xf(this.ua,a)||a.tagName=="BODY"||Ok(this,a))return}else if(a.target!=b)return;Date.now()-this.hl<150||Nk(this)}};function Ok(a,b){return nb(a.xn||[],function(c){return b===c||xf(c,b)})} f.qa=function(){Kk.na.qa.call(this);this.U.dispose();Kf(this.Ea);Kf(this.oa);delete this.ua;delete this.U;delete this.xn};function Pk(a,b){Y.call(this,b);this.yf=!!a;this.oa=null;this.tc=qk({Go:this.kj},this);qk({Go:this.Gp},this)}u(Pk,Y);f=Pk.prototype;f.Hk=null;f.fi=!1;f.Xc=null;f.uc=null;f.Pd=null;f.mk=!1;f.Og=function(){return"goog-modalpopup"};f.kh=function(){return this.Xc};f.Oa=function(){Pk.na.Oa.call(this);var a=this.V();nh(a,Wb(this.Og()).split(" "));Cf(a,!0);N(a,!1);Qk(this);Rk(this)}; function Qk(a){if(a.yf&&!a.uc){var b=a.g.Ma("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=pc(uk).toString();a.uc=b;a.uc.className=a.Og()+"-bg";N(a.uc,!1);$g(a.uc,0)}a.Xc||(a.Xc=a.g.Ma("DIV",a.Og()+"-bg"),N(a.Xc,!1))}function Rk(a){a.Pd||(a.Pd=Jf(a.g,"SPAN"),N(a.Pd,!1),Cf(a.Pd,!0),a.Pd.style.position="absolute")}f.fp=function(){this.mk=!1};f.bi=function(a){return!!a&&a.tagName=="DIV"}; f.Kb=function(a){Pk.na.Kb.call(this,a);a=Wb(this.Og()).split(" ");nh(this.V(),a);Qk(this);Rk(this);Cf(this.V(),!0);N(this.V(),!1)};f.Ia=function(){this.uc&&pf(this.uc,this.V());pf(this.Xc,this.V());Pk.na.Ia.call(this);qf(this.Pd,this.V());this.Hk=new wk(this.g.g);Z(this).ha(this.Hk,"focusin",this.Iu);Sk(this,!1)};f.bc=function(){this.isVisible()&&this.wa(!1);Kf(this.Hk);Pk.na.bc.call(this);E(this.uc);E(this.Xc);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&&Sk(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.oa=this.g.g.activeElement}catch(e){}this.Gp();Z(this).ha(this.g.g.defaultView,"resize",this.kj).ha(this.g.g.defaultView,"orientationchange",this.tc);Tk(this,!0);this.focus();this.fi=!0;this.ya&&this.Ga?(dg(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.tc);this.fi=!1;this.ta&&this.Ea?(dg(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.am(this.V(),d))&&this.oa.focus()}catch(e){}this.oa=null}}}; function Sk(a,b){a.Zb||(a.Zb=new Jk(a.ua,a.g));a=a.Zb;if(b){a.g||(a.g=[]);b=a.i.Rn(a.i.g.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.ua||Qj(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.Gp=function(){this.kj();this.Pg()};function Tk(a,b){a.uc&&N(a.uc,b);a.Xc&&N(a.Xc,b);N(a.V(),b);N(a.Pd,b)}f.ei=function(){this.dispatchEvent("show")};f.di=function(){Tk(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.fi}; f.focus=function(){this.Qn()};f.kj=function(){this.uc&&N(this.uc,!1);this.Xc&&N(this.Xc,!1);var a=this.g.g;var b=df(gf(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.uc&&(N(this.uc,!0),L(this.uc,c,a));this.Xc&&(N(this.Xc,!0),L(this.Xc,c,a))}; f.Pg=function(){var a;if(Jg(this.V(),"position")=="fixed")var b=a=0;else b=ef(this.g.g),a=b.x,b=b.y;var c=M(this.V());var d=df(gf(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);Kg(this.V(),a,b);Kg(this.Pd,a,b)};f.Iu=function(a){this.mk?this.fp():a.target==this.Pd&&U(this.Qn,0,this)};f.Qn=function(){try{this.V().focus()}catch(a){}};f.qa=function(){Kf(this.ya);this.ya=null;Kf(this.ta);this.ta=null;Kf(this.Ga);this.Ga=null;Kf(this.Ea);this.Ea=null;Pk.na.qa.call(this)};function Uk(a,b,c){Pk.call(this,b,c);this.l=a||"modal-dialog";this.j=Vk(Vk(new Wk,Xk,!0),Yk,!1,!0)}u(Uk,Pk);f=Uk.prototype;f.zh=!0;f.Eo=!0;f.Dk=!0;f.wi=.5;f.rc="";f.uf=null;f.fe=null;f.In=!1;f.Sc=null;f.Tc=null;f.Th=null;f.Ac=null;f.yd=null;f.lc=null;f.fm="dialog";f.Og=function(){return this.l};function Zk(a,b){a.rc=b;a.Tc&&G(a.Tc,b)}f.Za=function(){return this.rc};f.vc=function(){return this.uf!=null?Hc(this.uf).toString():""};f.We=function(){return this.fm};f.Nh=ba(3); function $k(a){a.V()||a.render()}f.Gb=function(){$k(this);return this.yd};function al(a){$k(a);return a.lc}function bl(a){$k(a);return a.V()}f.kh=function(){$k(this);return Uk.na.kh.call(this)};function cl(a,b){a.wi=b;a.V()&&(b=a.kh())&&$g(b,a.wi)}f.Vp=function(){};function dl(a,b){var c=Wb(a.l+"-title-draggable").split(" ");a.V()&&(b?nh(a.Sc,c):ph(a.Sc,c));b&&!a.fe?(b=new dk(a.V(),a.Sc),a.fe=b,nh(a.Sc,c),H(a.fe,"start",a.qv,!1,a),H(a.fe,"drag",a.Vp,!1,a)):!b&&a.fe&&(a.fe.dispose(),a.fe=null)} f.Oa=function(){Uk.na.Oa.call(this);var a=this.V(),b=this.g;this.Th=this.getId();var c=this.getId()+".contentEl";this.Sc=b.Ma("DIV",this.l+"-title",this.Tc=b.Ma("SPAN",{className:this.l+"-title-text",id:this.Th},this.rc),this.Ac=b.Ma("SPAN",this.l+"-title-close"));nf(a,this.Sc,this.yd=b.Ma("DIV",{className:this.l+"-content",id:c}),this.lc=b.Ma("DIV",this.l+"-buttons"));Pj(this.Tc,"heading");Pj(this.Ac,"button");Cf(this.Ac,!0);Tj(this.Ac,"Close");Pj(a,this.We());X(a,"labelledby",this.Th||"");this.uf&& x(this.yd,this.uf);N(this.Ac,this.zh);this.j&&(a=this.j,a.ua=this.lc,a.render());N(this.lc,!!this.j);cl(this,this.wi)}; f.Kb=function(a){Uk.na.Kb.call(this,a);a=this.V();var b=this.l+"-content";this.yd=Xe(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.Sc=Xe(null,b,a)[0])?(this.Tc=Xe(null,c,this.Sc)[0],this.Ac=Xe(null,d,this.Sc)[0]):(this.Sc=this.g.Ma("DIV",b),a.insertBefore(this.Sc,this.yd));this.Tc?(this.rc=Df(this.Tc),this.Tc.id||(this.Tc.id=this.getId())):(this.Tc=B("SPAN",{className:c, id:this.getId()}),this.Sc.appendChild(this.Tc));this.Th=this.Tc.id;X(a,"labelledby",this.Th||"");this.Ac||(this.Ac=this.g.Ma("SPAN",d),this.Sc.appendChild(this.Ac));N(this.Ac,this.zh);b=this.l+"-buttons";if(this.lc=Xe(null,b,a)[0]){if(a=this.j=new Wk(this.g),(b=this.lc)&&b.nodeType==1){a.ua=b;b=We("BUTTON",a.ua);for(var e,g=0;c=b[g];g++)if(d=c.name||c.id,e=Df(c)||c.value,d){var h=g==0;a.set(d,e,h,c.name=="cancel");h&&O(c,"goog-buttonset-default")}}}else this.lc=this.g.Ma("DIV",b),a.appendChild(this.lc), this.j&&(a=this.j,a.ua=this.lc,a.render()),N(this.lc,!!this.j);cl(this,this.wi)};f.Ia=function(){Uk.na.Ia.call(this);Z(this).ha(this.V(),"keydown",this.em).ha(this.V(),"keypress",this.em);Z(this).ha(this.lc,"click",this.Cu);dl(this,this.Dk);Z(this).ha(this.Ac,"click",this.Ru);var a=this.V();Pj(a,this.We());this.Tc.id!==""&&X(a,"labelledby",this.Tc.id);if(!this.Eo){this.Eo=!1;if(this.Ra){a=this.g;var b=this.kh();a.Yh(this.uc);a.Yh(b)}this.isVisible()&&Sk(this,!1)}}; f.bc=function(){this.isVisible()&&this.wa(!1);dl(this,!1);Uk.na.bc.call(this)};f.wa=function(a){a!=this.isVisible()&&(this.Ra||this.render(),Uk.na.wa.call(this,a))};f.ei=function(){Uk.na.ei.call(this);this.dispatchEvent("aftershow")};f.di=function(){Uk.na.di.call(this);this.dispatchEvent("afterhide");this.In&&this.dispose()}; f.qv=function(){var a=this.g.g,b=df(gf(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=M(this.V());Jg(this.V(),"position")=="fixed"?fk(this.fe,new yg(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):fk(this.fe,new yg(0,0,c-d.width,a-d.height))};f.Ru=function(){el(this)};function el(a){if(a.zh){var b=a.j,c=b&&b.g;c?(b=b.get(c),a.dispatchEvent(new fl(c,b))&&a.wa(!1)):a.wa(!1)}}f.qa=function(){this.lc=this.Ac=null;Uk.na.qa.call(this)}; function gl(a,b){a.j=b;a.lc&&(a.j?(b=a.j,b.ua=a.lc,b.render()):x(a.lc,Gc),N(a.lc,!!a.j))}f.Cu=function(a){a:{for(a=a.target;a!=null&&a!=this.lc;){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 fl(a,b))&&this.wa(!1)}}; f.em=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 fl(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.fp,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)g=e.name;else if(e==this.Ac)el(this);else if(d){var h=d.i,k=h&&hl(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 fl(g,String(d.get(g)))))}else e!=this.Ac||a.keyCode!=32&&a.key!=" "||el(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.wa(!1)};function fl(a,b){this.type="dialogselect";this.key=a;this.caption=b}u(fl,Of);function Wk(a){lk.call(this);a||Se();this.g=this.ua=this.i=null}u(Wk,lk);Wk.prototype.clear=function(){lk.prototype.clear.call(this);this.i=this.g=null}; Wk.prototype.set=function(a,b,c,d){lk.prototype.set.call(this,a,b);c&&(this.i=a);d&&(this.g=a);return this};function Vk(a,b,c,d){return a.set(b.key,b.caption,c,d)}Wk.prototype.render=function(){if(this.ua){x(this.ua,Gc);var a=Se(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)}};Wk.prototype.V=function(){return this.ua}; function hl(a,b){a=We("BUTTON",a.ua);for(var c,d=0;c=a[d];d++)if(c.name==b||c.id==b)return c;return null}var Xk={key:"ok",caption:"OK"},Yk={key:"cancel",caption:"Cancel"},il={key:"yes",caption:"Yes"},jl={key:"no",caption:"No"},kl={key:"save",caption:"Save"},ll={key:"continue",caption:"Continue"};typeof document!="undefined"&&(Vk(new Wk,Xk,!0,!0),Vk(Vk(new Wk,Xk,!0),Yk,!1,!0),Vk(Vk(new Wk,il,!0),jl,!1,!0),Vk(Vk(Vk(new Wk,il),jl,!0),Yk,!1,!0),Vk(Vk(Vk(new Wk,ll),kl),Yk,!0,!0));function ml(a,b,c,d,e){Cj.call(this,b,c,d,e);this.g=a}u(ml,Cj);ml.prototype.Tf=function(){};ml.prototype.ul=function(){this.Tf();ml.na.ul.call(this)};ml.prototype.Ee=function(){this.Tf();ml.na.Ee.call(this)};ml.prototype.hf=function(){this.Tf();ml.na.hf.call(this)};function nl(a,b,c,d,e){typeof b==="number"&&(b=[b]);typeof c==="number"&&(c=[c]);ml.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(nl,ml);var ol=1/1024;f=nl.prototype; f.Tf=function(){var a=this.coords[0];Math.abs(a-this.j)>=ol&&($g(this.g,a),this.j=a)};f.hf=function(){this.j=-1;nl.na.hf.call(this)};f.Ee=function(){this.j=-1;nl.na.Ee.call(this)};f.show=function(){this.g.style.display=""};f.ab=function(){this.g.style.display="none"};function pl(a,b,c){nl.call(this,a,1,0,b,c)}u(pl,nl);pl.prototype.hf=function(){this.show();pl.na.hf.call(this)};pl.prototype.Ee=function(){this.ab();pl.na.Ee.call(this)}; function ql(a,b,c,d,e){if(b.length!=3||c.length!=3)throw Error("Start and end points must be 3D");ml.call(this,a,b,c,d,e)}u(ql,ml);ql.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 rl(a,b){this.g=a[q.Symbol.iterator]();this.i=b}rl.prototype[Symbol.iterator]=function(){return this};rl.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 sl(a,b){return new rl(a,b)};function ul(){}ul.prototype.next=function(){return vl};var vl={done:!0,value:void 0};ul.prototype.ig=function(){return this};function wl(a){if(a instanceof xl||a instanceof yl||a instanceof zl)return a;if(typeof a.next=="function")return new xl(function(){return a});if(typeof a[Symbol.iterator]=="function")return new xl(function(){return a[Symbol.iterator]()});if(typeof a.ig=="function")return new xl(function(){return a.ig()});throw Error("Not an iterator or iterable.");}function xl(a){this.g=a}xl.prototype.ig=function(){return new yl(this.g())};xl.prototype[Symbol.iterator]=function(){return new zl(this.g())}; xl.prototype.i=function(){return new zl(this.g())};function yl(a){this.g=a}n(yl,ul);yl.prototype.next=function(){return this.g.next()};yl.prototype[Symbol.iterator]=function(){return new zl(this.g)};yl.prototype.i=function(){return new zl(this.g)};function zl(a){xl.call(this,function(){return a});this.j=a}n(zl,xl);zl.prototype.next=function(){return this.j.next()};function Al(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 Al)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=Al.prototype;f.Bc=function(){Bl(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.i[this.g[b]]);return a};f.Td=function(){Bl(this);return this.g.concat()}; f.has=function(a){return Cl(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 Cl(this.i,a)?(delete this.i[a],--this.size,this.j++,this.g.length>2*this.size&&Bl(this),!0):!1}; function Bl(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Cl(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];Cl(b,e)||(a.g[d++]=e,b[e]=1);c++}a.g.length=d}}f.get=function(a,b){return Cl(this.i,a)?this.i[a]:b};f.set=function(a,b){Cl(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 Al(this)}; f.keys=function(){return wl(this.ig(!0)).i()};f.values=function(){return wl(this.ig(!1)).i()};f.entries=function(){var a=this;return sl(this.keys(),function(b){return[b,a.get(b)]})};f.ig=function(a){Bl(this);var b=0,c=this.j,d=this,e=new ul;e.next=function(){if(c!=d.j)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return vl;var g=d.g[b++];return{value:a?g:d.i[g],done:!1}};return e};function Cl(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Dl(){this.i=new Al;this.g=new El("");this.g.next=this.g.g=this.g}f=Dl.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 El(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 Fl(this,this.g.next)};f.pop=function(){return Fl(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.Bc=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 Fl(a,b){a.g!=b&&(b.remove(),a.i.remove(b.key));return b.value}function El(a,b){this.key=a;this.value=b}El.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function Gl(){Q.call(this);this.i=new Dl}u(Gl,Q);Gl.prototype.j=function(a){a.sort(Hl);v(a,function(b){b.ae(this)},this);this.i=new Dl;v(a,function(b){this.i.set(b.Ja(),b)},this);this.dispatchEvent("update")};function Hl(a,b){return Il(a)-Il(b)}function Jl(a){return a.i.Bc()}function Kl(a,b,c){a=Jl(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 Ll(a,b){return a.i.get(b)} function Ml(a,b){b=Wb(b);if(b.length!=0)return ob(Jl(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 Nl(a){var b=Ol;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}Nl.prototype.cancel=function(a){if(this.j)this.i instanceof Nl&&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 Pl(this),Ql(this),Rl(this,!1,a))}};Nl.prototype.ma=function(a,b){this.O=!1;Rl(this,a,b)}; function Rl(a,b,c){a.j=!0;a.i=c;a.l=!b;Sl(a)}function Ql(a){if(a.j){if(!a.ka)throw new Tl(a);a.ka=!1}}Nl.prototype.kg=function(a){Ql(this);Rl(this,!0,a)};function Ul(a,b,c,d){var e=a.j;e||(b===c?b=c=fb(b):(b=fb(b),c=fb(c)));a.o.push([b,c,d]);e&&Sl(a)}Nl.prototype.then=function(a,b,c){var d,e,g=new Ui(function(h,k){e=h;d=k});Ul(this,e,function(h){h instanceof Pl?g.cancel():d(h);return Vl},this);return g.then(a,b,c)};Nl.prototype.$goog_Thenable=!0; function Wl(a){return nb(a.o,function(b){return typeof b[1]==="function"})}var Vl={}; function Sl(a){if(a.s&&a.j&&Wl(a)){var b=a.s,c=Xl[b];c&&(q.clearTimeout(c.rb),delete Xl[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===Vl&&(k=void 0);k!==void 0&&(a.l=a.l&&(k==b||k instanceof Error),a.i=b=k);if(Ti(b)||typeof q.Promise==="function"&&b instanceof q.Promise)d=!0,a.O=!0}catch(l){b=l,a.l=!0,Wl(a)||(c=!0)}}a.i=b;d&&(k=r(a.ma,a,!0),d=r(a.ma,a,!1),b instanceof Nl?(Ul(b,k,d),b.ta= !0):b.then(k,d));c&&(b=new Yl(b),Xl[b.rb]=b,a.s=b.rb)}function Tl(){gb.call(this)}u(Tl,gb);Tl.prototype.message="Deferred has already fired";Tl.prototype.name="AlreadyCalledError";function Pl(){gb.call(this)}u(Pl,gb);Pl.prototype.message="Deferred was canceled";Pl.prototype.name="CanceledError";function Yl(a){this.rb=q.setTimeout(r(this.i,this),0);this.g=a}Yl.prototype.i=function(){delete Xl[this.rb];throw this.g;};var Xl={};function Zl(a,b){var c=b||{};b=c.document||document;var d=pc(a).toString(),e=Jf(new Te(b),"SCRIPT"),g={jp:e,Kg:void 0},h=new Nl(g),k=null,l=c.timeout!=null?c.timeout:5E3;l>0&&(k=window.setTimeout(function(){$l(e,!0);var m=new am(1,"Timeout reached for loading script "+d);Ql(h);Rl(h,!1,m)},l),g.Kg=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||($l(e,c.ls||!1,k),h.kg(null))};e.onerror=function(){$l(e,!0,k);var m=new am(0,"Error while loading script "+ d);Ql(h);Rl(h,!1,m)};g=c.attributes||{};Sb(g,{type:"text/javascript",charset:"UTF-8"});bf(e,g);Lc(e,a);bm(b).appendChild(e);return h}function bm(a){var b=We("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement}function Ol(){if(this&&this.jp){var a=this.jp;a&&a.tagName=="SCRIPT"&&$l(a,!0,this.Kg)}}function $l(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 am(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);gb.call(this,c);this.code=a}u(am,gb);var cm=ta(["//apis.google.com/js/api.js"]);function dm(a){var b=document,c=window;em()&&(Zl(fm,{document:b}).then(function(){var d=Ra("gapi.load",c);d&&d("gapi.rpc",{kg:function(){return gm(a)},onerror:function(){return null},timeout:5E3,ontimeout:function(){return null}})}),U(function(){gm(a)},5E3))}function hm(a){var b={};b.q=a;im("updateInViewportPage",b)}function jm(a){a?im("onboardingComplete"):im("onboardingCompleteNoPlainText")} function gm(a){var b=Ra("gapi.rpc.register");typeof b==="function"&&(b("handshake",function(){}),km(),lm(a))}function km(){H(document,"keydown",function(a){a.keyCode==27&&im("closeViewportDialog")})}function lm(a){var b=Ra("gapi.rpc.register");if(typeof b==="function")for(var c in a)b(c,a[c])}function im(a,b){if(em()){var c=Ra("gapi.rpc.call");typeof c==="function"&&c("..",a,null,b)}}function em(){try{return window.self!==window.top}catch(a){return!0}}var fm=Je(cm);function mm(a){Q.call(this);nm(this,a||"")}n(mm,Q);mm.prototype.getQuery=function(){return this.j};function nm(a,b){a.j!=b&&(a.j=b,a.dispatchEvent("change"),hm(b))}function om(a){a=new R(a);return T(a,"q")||T(a,"vq")||T(a,"dq")}function pm(){return T(new R(window.location.toString()),"q")};function qm(a){this.g={};this.N=a}function rm(a,b){var c=[];if(a.g[b]){var d=[],e;for(e in a.g[b])d.push(e);Ab(d);for(e=0;e<d.length;e++)c.push(a.g[b][d[e]])}return c};function sm(a){this.N=a;this.j=a.vb()}sm.prototype.Ub=function(a){this.Ba&&(this.Ba.dispose(),of(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()};sm.prototype.Da=function(){return this.Ba};function tm(a){W.call(this);this.U=a;of(a);K(a,"overflow","hidden");this.j=C("div");K(this.U,{position:"relative",padding:"0px"});rf(this.U,this.j,0);this.Ib=new qm(this);this.Ea=[];this.ya=[];um(this);this.ka=new sm(this);a=C("div");V(a,!0);K(a,{position:"absolute",left:"0px",top:"0px"});this.U.appendChild(a);this.Fb=a;this.kb(gh(this.U));vm.push(this);this.vd=new mm;H(this.vd,"change",this.Yp,!1,this)}u(tm,W);var vm=[];f=tm.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||!Kb(this.i,a)){fh(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.Ub=function(a){this.O!=a&&(this.O=a,this.ka.Ub(a),this.dispatchEvent("viewportmodechange"))};f.Ta=function(){return this.o};f.Da=function(){return this.ka.Da()}; function wm(a,b){if(a.s)throw"";a.s=b;H(b,"update",r(a.Wp,a))}f.Wp=function(){this.dispatchEvent("pagesupdate")};f.Ya=function(){return this.s};f.wd=function(a,b){return(a=Ll(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 xm(a,b){return(b=Ml(a.s,b))?(a.hb(b),!0):!1}function ym(a,b){zm(a,b,r(function(c){U(r(this.hb,this,c))},a))}function zm(a,b,c){a=a.Ya();new R(b);b=new a.l({url:b});b.ae(a);Am(b,r(a.ka,a,c))} f.wh=function(a,b){var c=this.ka.Da().Bb();if(c&&c.wc&&(c=c.wc(a))){b=b||new w(40,80);var d=this.Va().getQuery();if(!d)return;var e=Bm(a,d);if(e){Cm(this,c,b,e);return}Am(a,r(this.Xp,this,c,b,d))}this.hb(a)};f.Xp=function(a,b,c,d){(c=Bm(d,c))&&Cm(this,a,b,c)};function Cm(a,b,c,d){if(d&&d.length){for(var e=d[0],g=1;g<d.length;g++)e=Eg(e,d[g]);d=b.Ca().he();d=b.getSize().width/d;e=new Hj(e.left,e.top);e.Ej(d);e.x=Math.round(e.x);e.y=Math.round(e.y);b=Ij(b.Yc());b.add(e);Jj(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&&Dm(this)};function Em(a,b,c){a.ya.push([b,c])}function Dm(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);Dm(a)}} function um(a){Em(a,"next",r(a.hm,a,1));Em(a,"previous",r(a.hm,a,-1));Em(a,"turntopage",r(a.Zp,a));Em(a,"zoomin",r(a.aq,a));Em(a,"zoomout",r(a.bq,a));Em(a,"showkeyboardshortcuts",function(){a.dispatchEvent("keyboardshortcutsopened")})}function Fm(a){var b=a.ka.Da();b.Ek&&b.Ek(a.Ca())}f.hm=function(a){var b=this.ka.Da(),c;b.oa?c=b.oa(this.Ca(),a):c=Kl(this.Ya(),this.Ca().Ja(),a);c&&(this.hb(c),Fm(this),this.dispatchEvent("pageturn"))};f.Zp=function(a){if(a=Ll(this.s,a))this.hb(a),Fm(this)}; f.aq=function(){var a=this.ka.Da();a.Gc&&(a.Gc(),Fm(this));this.dispatchEvent("zoomchange")};f.bq=function(){var a=this.ka.Da();a.Vc&&(a.Vc(),Fm(this));this.dispatchEvent("zoomchange")};f.Yp=function(){this.dispatchEvent("searchupdate")};f.Va=function(){return this.vd};var Gm={update:function(a){for(var b in a)Gm[b]=a[b]},Wr:function(a){if(typeof a==="string")try{a=JSON.parse(a)}catch(c){a=null}for(var b in a)Gm.Vr(b,a[b])},Vr:function(a,b){Gm[a]=b}};db("_OC_addFlags",Gm.Wr);var Hm;function Im(a,b,c){c=new R(c.replace(/#.*/g,""));S(c,a,b);return c.toString()}function Jm(a){if(Hm){var b=new R(Hm);Lh(b,a);return b.toString()}return a}function Km(a){return Im("hl","en",a)}function Lm(a){a=new R(a);var b=a.l.split("/");b[0]||b.shift();return b.length>3?b[3]:T(a,"id")||""}function Mm(){var a=window.location.pathname.split("/");return a.length<1?"":a[1]};function Nm(a){Q.call(this);this.lb={};a&&this.zd(a)}u(Nm,Q);f=Nm.prototype;f.he=function(){return this.lb.w||this.getParent().g.width};f.Vd=function(){return this.lb.h||this.getParent().g.height};function Gi(a){return a.he()/a.Vd()}f.getSize=function(){return new Jb(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 Il(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 Om(a,b,c){if(yd()<=8){var d=[];d[0]=H(a,"readystatechange",t(Pm,a,t(Qm,b),d))}else dg(a,"load",t(Qm,b));c&&dg(a,"error",t(Qm,c))}function Qm(a){U(a)}function Pm(a,b,c){if(a.readyState!="complete")return!0;lg(c[0]);b();return!1}var Rm=C("div");function Sm(a){if(a)if(Gd){Rm.appendChild(a);var b=t(E,a);Om(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",E(a)};function Tm(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(Tm,Q);Tm.prototype.empty=function(){for(var a;a=this.s.firstChild;)Sm(a)}; function Um(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);Om(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=!Dg(new yg(d* a.j,e*a.i,(d+1)*a.j,(e+1)*a.i),b);g&&(Sm(a.g[d][e]),a.g[d][e]=null)}}Tm.prototype.U=function(a,b){K(a,{display:""});this.O&&this.O(b)};Tm.prototype.ma=function(){};function Vm(){};function Wm(a){this.g={};for(var b=0;b<a.length;b++){var c=a[b];this.g[c.z]=new Jb(c.w,c.h)}}function Xm(a,b){return(a=Nb(a.g,function(c){return c.height==b}))?Number(a):null}function Ym(a,b){return(a=a.g[b])?a.width:null};function Zm(a){if(a)return a.isEntityPageViewport;a=T(new R(window.location.href),"source");return a=="entity_page"||a=="entity_page_gbs_snippet"}function $m(){var a=T(new R(window.location.href),"output");return(Zm()||Kd)&&a=="text"}function an(){return(new R(window.location.href)).i==="toggled"};function bn(a){Nm.call(this,a);this.lj={};this.ya={};this.o={};this.ta=this.ma=null}var cn;u(bn,Nm);f=bn.prototype;f.zd=function(a,b){bn.na.zd.call(this,a);b&&(this.oa=b)};function Am(a,b){dn(a,a.Ue(),b)}f.Ue=function(){var a=en(this);S(a,"jscmd","click3");var b;this.vd&&(b=this.vd.getQuery());fn(this,"vq",b);Lb(this.lj,function(c,d){S(a,d,c)});return a}; function dn(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.it,a,b),6E3);var d;a.vd&&(d=a.vd.getQuery());cn(b,r(a.cq,a,b,d))}}function fn(a,b,c){c?a.lj[b]=c:delete a.lj[b]}f.lj=null;f.cq=function(a,b,c){this.U==a&&(this.U=null,this.j&&(q.clearTimeout(this.j),this.j=null),this.oa=a,gn(this,c.page[0]),this.s.Vk(c),b=this.o[a])&&(v(b,function(d){d(this)},this),delete this.o[a])}; f.it=function(a){this.j=this.U=null;delete this.o[a]};function en(a){var b=a.lb.url;b?b=new R(b):(b=new R(a.s.To),S(b,"pg",a.Ja()),a.lb.sig&&S(b,"sig",a.lb.sig));Zm()&&S(b,"source","entity_page");return b}f.xc=function(){return en(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 hn={additional_info:"additional_info",content:"content",feedbackUrl:"uf",flags:"flags",highlights:"highlights",links:"links",order:"order",pid:"pid",src:"src",snippetSrc:"snippet_src"};function gn(a,b){var c={},d;for(d in hn){var e=hn[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 Wm(d.tileres),d=d.page_scanjob_coordinates)&&(a.ta=""+d.x+","+d.y);b.vq&&!c.snippetSrc&&(c.snippetSrc="");a.zd(c)} bn.prototype.vc=function(){return this.lb.content};bn.prototype.l=function(a){return!!(this.lb.flags&a)};function jn(a,b){return nb(b,r(a.l,a))}function kn(a,b){b=Zc(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 Bm(a,b){if(a=kn(a,b))return mb(a,t(ln,1))}function ln(a,b){b=mb(b,function(c){return Math.round(c*a)});return new yg(b[0],b[1],b[2],b[3])} function mn(a){if(a.lb.links)return mb(a.lb.links,function(b){var c=b.region;return[c.X,c.Y,c.W,c.H,b.target_pid,b.url]})}function nn(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} bn.prototype.qd=function(a){if(this.lb.src&&a){var b=new R(this.lb.src);a&&Lb(this.Lk(),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};bn.prototype.Lk=function(){return{width:"w",height:"h"}};function on(a,b,c,d){this.Gj=a||256;this.Fj=b||256;this.i=c||3;this.j=d||3;this.g=null}function pn(a,b){a.g=b}on.prototype.Xn=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 qn(){}qn.prototype.Za=function(){return this.rc};function rn(){this.g=new Map}rn.prototype.add=function(a,b){this.g.set(Xa(a),b)};function sn(a,b){b=b===void 0?[]:b;b=new Set(b.map(function(g){return Xa(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 tn(){this.i={};this.g=new rn}function un(a,b,c){a.i[Xa(b)]=c}tn.prototype.Ka=function(){sn(this.g)};function vn(a,b){b=lb(b,function(c){return!!this.i[Xa(c.constructor)]},a);sn(a.g,b);v(b,function(c){this.g.g.has(Xa(c))||this.g.add(c,this.i[Xa(c.constructor)].render(c))},a)};function wn(a){this.tf=a}function xn(a,b,c,d){a=yn(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 yn(a,b){var c=b||[];a=lb(a.tf,function(d){return!nb(c,function(e){return Math.abs(e-d)<50})});a.push.apply(a,c);Ab(a);return a};function zn(a,b){Gl.call(this);this.O={};a&&(this.To=a.prefix,this.wo=a.image_prefix||a.prefix,a=mb(a.page,function(c){c=new this.l(c);b&&(c.vd=b);return c},this),this.j(a))}u(zn,Gl);zn.prototype.Vk=function(a){a=a.page;for(var b=0;b<a.length;b++){var c=a[b],d=Ll(this,c.pid);d&&gn(d,c)}};zn.prototype.l=bn;zn.prototype.ka=function(a,b){if(!Ll(this,b.Ja())){var c=wb(Jl(this));xb(c,b);this.j(c)}this.O[b.Ja()]=!0;a&&a(b)};function An(a,b,c){ii(a,t(Bn,b,c))}function Bn(a,b,c){c=c.target;ni(c)?a(qi(c)):b&&b()};var Cn={},Dn=null;var En=typeof Uint8Array!=="undefined",Fn=!Gd&&typeof btoa==="function";var Gn=typeof q.BigInt==="function"&&typeof q.BigInt(0)==="bigint";var Hn=Number.MIN_SAFE_INTEGER.toString(),In=Gn?BigInt(Number.MIN_SAFE_INTEGER):void 0,Jn=Number.MAX_SAFE_INTEGER.toString(),Kn=Gn?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Ln(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 Mn=typeof Symbol==="function"&&typeof Symbol()==="symbol",Nn=new Set;function On(a,b,c,d){c=c===void 0?!1:c;a=typeof Symbol==="function"&&typeof Symbol()==="symbol"?(d===void 0?0:d)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b;c&&Nn.add(a);return a}var Pn=On("jas",void 0,!0,!0),Qn=On(void 0,"2ex"),Rn=On(void 0,Symbol(),!0);var Sn=Mn?Pn:"iu",Tn={iu:{value:0,configurable:!0,writable:!0,enumerable:!1}},Un=Object.defineProperties;function Vn(a,b){Mn||Sn in a||Un(a,Tn);a[Sn]|=b}function Wn(a,b){Mn||Sn in a||Un(a,Tn);a[Sn]=b}function Xn(a,b){Wn(b,(a|0)&-30975)}function Yn(a,b){Wn(b,(a|34)&-30941)};var Zn={};function $n(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function ao(a,b){var c=eb(Rn);(b=c?b[c]:void 0)&&(a[Rn]=Array.prototype.slice.call(b))};var bo=void 0;function co(a){return a};function eo(a,b,c){var d=Array.prototype.slice.call(a),e=d.length,g=b&256?d[e-1]:void 0;e+=g?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(g){b=d[b]={};for(var h in g)b[h]=c(g[h])}ao(d,a);return d}function fo(a,b,c,d,e){if(a!=null){if(Array.isArray(a)){var g=a[Sn]|0;return a.length===0&&g&1?void 0:e&&g&2?a:go(a,b,c,d!==void 0,e)}return b(a,d)}} function go(a,b,c,d,e){var g=d||c?a[Sn]|0:0;d=d?!!(g&32):void 0;for(var h=Array.prototype.slice.call(a),k=0,l=h.length,m=0;m<l;m++){var p=h[m];if(m===l-1&&$n(p)){var y=void 0;var D=b,I=c,F=d,J=e,Ua=void 0;for(y in p){var Da=fo(p[y],D,I,F,J);if(Da!=null){var Ya=void 0;((Ya=Ua)!=null?Ya:Ua={})[y]=Da}}y=Ua}else y=fo(h[m],b,c,d,e);h[m]=y;y!=null&&(k=m+1)}k<l&&(h.length=k);c&&(ao(h,a),c(g,h));return h} function ho(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return(Gn?a>=In&&a<=Kn:a[0]==="-"?Ln(a,Hn):Ln(a,Jn))?Number(a):""+a;case "boolean":return a?1:0;case "object":if(En&&a!=null&&a instanceof Uint8Array){if(Fn){for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);a=btoa(b)}else{b===void 0&&(b=0);if(!Dn){Dn={};c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""); d=["+/=","+/","-_=","-_.","-_"];for(var e=0;e<5;e++){var g=c.concat(d[e].split(""));Cn[e]=g;for(var h=0;h<g.length;h++){var k=g[h];Dn[k]===void 0&&(Dn[k]=h)}}}b=Cn[b];c=Array(Math.floor(a.length/3));d=b[64]||"";for(e=g=0;g<a.length-2;g+=3){var l=a[g],m=a[g+1];k=a[g+2];h=b[l>>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|k>>6];k=b[k&63];c[e++]=h+l+m+k}h=0;k=d;switch(a.length-g){case 2:h=a[g+1],k=b[(h&15)<<2]||d;case 1:a=a[g],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+k+d}a=c.join("")}return a}if(a.nl===Zn)return io(a);return}return a} var jo;function io(a){var b=a.ad;a=go(b,ho,void 0,void 0,!1);var c=b[Sn]|0;if((b=a.length)&&!(c&512)){var d=a[b-1],e=!1;$n(d)?(b--,e=!0):d=void 0;var g,h=(g=jo)!=null?g:co;g=c&512?0:-1;c=b-g;h=h(c,g,a,d);d&&(a[b]=void 0);if(c<h&&d){c=!0;for(var k in d){var l=+k;l<=h?(e=l+g,a[e]=d[k],b=Math.max(e+1,b),e=!1,delete d[k]):c=!1}c&&(d=void 0)}for(c=b-1;b>0;c=b-1)if(k=a[c],k==null)b--,e=!0;else if(c-=g,c>=h)e=void 0,((e=d)!=null?e:d={})[c]=k,b--,e=!0;else break;e&&(a.length=b);d&&a.push(d)}return a};function ko(a,b,c){if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("narr");d=a[Sn]|0;if(d&2048)throw Error("farr");if(d&64)return 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;if($n(c[g])){d|=256;b=g-(d&512?0:-1);if(b>=1024)throw Error("pvtlmt");d=d&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,e-(d&512?0:-1));if(b>1024)throw Error("spvt");d=d&-33521665|(b&1023)<<15}}}Wn(a,d);return a} ;function lo(a,b,c){c=c===void 0?Yn:c;if(a!=null){if(En&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=a[Sn]|0;if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(Wn(a,(d|34)&-12293),a):go(a,lo,d&4?Yn:c,!0,!0)}a.nl===Zn&&(c=a.ad,d=c[Sn]|0,a=d&2?a:new a.constructor(mo(c,d,!0)));return a}}function mo(a,b,c){var d=c||b&2?Yn:Xn,e=!!(b&32);a=eo(a,b,function(g){return lo(g,e,d)});Vn(a,32|(c?2:0));return a};function no(a,b){a=a.ad;return oo(a,a[Sn]|0,b)}function oo(a,b,c,d){if(c===-1)return null;var e=c+(b&512?0:-1),g=a.length-1;if(e>=g&&b&256)return a[g][c];if(d&&b&256&&(b=a[g][c],b!=null)){if(a[e]!=null&&Qn!=null){var h;a=(h=bo)!=null?h:bo={};h=a[Qn]||0;h>=4||(a[Qn]=h+1,h=Error(),h.__closure__error__context__984382||(h.__closure__error__context__984382={}),h.__closure__error__context__984382.severity="incident",Ji(h))}return b}if(e<=g)return a[e]} function po(a,b,c,d){var e=b&512?0:-1,g=c+e,h=a.length-1;g>=h&&b&256?a[h][c]=d:g<=h?(a[g]=d,b&256&&(a=a[h],c in a&&delete a[c])):d!==void 0&&(h=b>>15&1023||536870912,c>=h?d!=null&&(g={},a[h+e]=(g[c]=d,g),Wn(a,b|256)):a[g]=d)}function qo(a,b){var c=c===void 0?!1:c;a=no(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c} function ro(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Ta(c)+": "+c);var d=a.ad,e=d[Sn]|0;if(e&2)throw Error();po(d,e,b,c===!1?void 0:c);return a};function so(a,b,c){this.ad=ko(a,b,c)}so.prototype.toJSON=function(){try{var a=io(this)}finally{jo=void 0}return a};so.prototype.clone=function(){var a=this.ad;return new this.constructor(mo(a,a[Sn]|0,!1))};so.prototype.nl=Zn;so.prototype.toString=function(){return this.ad.toString()};function to(a){this.g=a}to.prototype.md=function(){return this.g.aid};to.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)};to.prototype.Ik=ba(4);to.prototype.Ff=function(){return uo(this,"head_boxes")};function uo(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 vo(a){this.g=a};function wo(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(wo,ri);wo.prototype.i=function(){var a=A("gb-mobile-menu-pubinfo");return a?tf(a).length>0&&this.j!=null&&Il(this.j)==0:!1};function xo(a){Ai.call(this);this.j=a}u(xo,Ai);xo.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 yo(a){xo.call(this,a);this.Ce=new Map}u(yo,xo);yo.prototype.wc=function(a){return this.Ce.get(zo(Fi,a))};yo.prototype.mh=function(a){if(a instanceof wo)a=zo(a.constructor,a.g);else if(a instanceof Fi)a=zo(a.constructor,a.Ca());else throw Error("Input item must be a LayoutPage or LayoutSeparator.");return this.Ce.get(a)}; yo.prototype.Na=function(a){if(a instanceof wo){var b=zo(a.constructor,a.g);this.Ce.set(b,a)}else a instanceof Fi&&(b=zo(a.constructor,a.Ca()),this.Ce.set(b,a));yo.na.Na.call(this,a)};function zo(a,b){return Xa(a)+"#"+b.Ja()};function Ao(a,b,c,d,e){yo.call(this,1);this.o=b;this.l=c;var g=d||!1,h;a=Jl(a);v(a,function(k){g&&h&&Il(k)-Il(h)>1&&Bo(this,h,k);var l=A("gb-mobile-menu-pubinfo");l&&tf(l).length>0&&!g&&h&&k&&Il(h)==0&&Bo(this,h,k,!0);l=new Fi(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&&Il(h)<Il(e)&&Bo(this,h,e);Bi(this)}n(Ao,yo); function Bo(a,b,c,d){b=new wo(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)}Ao.prototype.s=function(){return this.l};Ao.prototype.Hf=function(){return this.o};Ao.prototype.zj=8;function Co(a,b){this.N=a;this.g=b}n(Co,Vm);Co.prototype.render=function(a){var b=this.g(a);b.kb(a.getSize());b.setPosition(a.Yc());return b};function Do(){}n(Do,ri);function Eo(){W.call(this)}u(Eo,W);Eo.prototype.ie=function(a){this.i=a;this.l=Fo(a)};Eo.prototype.qa=function(){Eo.na.qa.call(this);E(this.l)};function Go(a){W.call(this);this.j=a}n(Go,Eo);Go.prototype.wa=function(a){N(this.l,a)};Go.prototype.ie=function(a){Eo.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";Kg(a,this.j?c-d:0,0);L(a,d,b);K(a,{position:"absolute"});Gd?pj(a,e):(c=B("IMG",{src:e,width:d,height:b,border:0,position:"absolute",top:0,left:0}),a.appendChild(c))};function Ho(a){W.call(this);this.U=a;this.O=[]}u(Ho,Eo);f=Ho.prototype;f.ie=function(a){Ho.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=Io(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}),$g(e,.3));this.O.push(new yg(a[0],a[1],a[2],a[3]));return e}; function Jo(a){return a.i.getSize().width/a.i.Ca().getParent().g.width}function Io(a,b,c,d,e){var g=Jo(a);return mb([b,c,d,e],function(h){return Math.round(h*g)})}function Ko(a,b){v(b,function(c){this.Qg.apply(this,c)},a)}f.Ln=function(a){return this.Qg(a.left,a.top,a.width,a.height)};f.Yf=function(){of(this.l);this.O=[]};f.Rg=function(){};function Lo(){Ho.call(this)}n(Lo,Ho);f=Lo.prototype;f.Rg=function(){if(!this.j){var a=this.Ca();a&&(a=nn(a))&&(Ko(this,a),this.j=!0)}}; f.Qg=function(a,b,c,d){this.o=Ho.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=Io(this,a,b,c,d);K(this.s,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});H(this.o,"mouseout",r(this.eq,this));H(this.o,"mouseover",r(this.vo,this,!0));dg(this.s,"click",r(this.Ka,this));return this.o};f.Ka=function(){E(this.o)}; f.eq=function(a){xf(this.o,a.target)||this.vo(!1)};f.vo=function(a){K(this.s,{display:a?"":"none"})};function Mo(a){Ho.call(this);this.N=a}n(Mo,Ho);Mo.prototype.Rg=function(){if(!this.j){var a=this.Ca();a&&(a=mn(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)}};Mo.prototype.o=function(a,b){(a=Ll(this.N.Ya(),a))?this.N.hb(a):ym(this.N,b)};function No(a,b){this.l=a;this.g=b}No.prototype.Ca=function(){return this.l};No.prototype.i=function(){return this.l.qd(this.g)};function Oo(a,b,c){No.call(this,a,b);this.j=c}n(Oo,No);Oo.prototype.i=function(){return this.j.width>this.g.width?this.l.qd(this.j):No.prototype.i.call(this)};function Po(a,b,c,d,e){W.call(this);this.Gg(a.Da());this.N=a;this.i=c;this.ma=[];this.im=d;L(d,c);this.oa=Fo(this);K(this.oa,"backgroundColor","#fff");L(this.oa,c);if(this.ya=e!==void 0?e:!0)a=Fo(this),L(a,c),this.ta=new Qo(a),this.ta.show();b&&(this.l=b,this.g.ha(b,"update",this.Zf),Am(b))}u(Po,W);f=Po.prototype;f.getSize=function(){return this.i};f.Ca=function(){return this.l};function Ro(a,b){a.ma.push(b);b.ie(a)}f.Zf=function(){};function So(a){a.dispatchEvent("load");a.ya&&a.ta.ab()} function Fo(a){var b=C("div");V(b,!0);K(b,{position:"absolute",left:0,top:0});a.im.appendChild(b);return b}function To(a){a.o&&(E(a.o),a.o=null)}f.Ka=function(){v(this.ma,function(a){a.dispose()});this.ma=null;To(this)};function Uo(a){a.s=Fo(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.fq);a.g.ha(a.s,"dragstart",Pf)}f.fq=function(a){a.display=this;Vo.dispatchEvent(a)};var Vo=new Q; function Qo(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}}Qo.prototype.show=function(a){K(this.g,{display:a?"none":""})};Qo.prototype.ab=function(){this.show(!0)};Po.prototype.Hl=function(){Wo(this)};function Wo(a,b){To(a);a.o=Fo(a);new Xo(a.o,a.getSize(),b)} function Xo(a,b,c){this.g=a;K(a,{backgroundColor:"#FFF",textAlign:"center"});L(a,b);x(a,ze(Ge,c||""));V(this.g)};function Yo(a,b,c){Po.call(this,a,b.Ca(),b.g,c);this.Gg(Zo);a=Fo(this);this.U=new $o(b.g,a);a=Fo(this);this.O=new $o(b.g,a);Uo(this);dh(c,!0);O(c,"pageImageDisplay");this.ka=b;b.Ca()&&this.Zf()}n(Yo,Po);f=Yo.prototype;f.hb=function(a){fn(a,"output",null);Po.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=ap(b);dg(this.U,"load",r(this.gq,this,a,b,this.getSize().width));bp(this.U,[b]);var c=rm(this.N.Ib,a.Ja());c.push(b);bp(this.O,c);this.j=!0;To(this);a==this.N.Ca()&&this.dispatchEvent("fetch")}jn(a,[16,8])&&(a=Uc('<table width=100% height=100%><tr><td><img src="%s"/><br/>%s</td></tr></table>',Jm("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."), Wo(this,a),So(this))};f.gq=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;So(this)};f.hc=ba(7);f.Ka=function(){this.j=!1;this.U.empty();this.O.empty();Po.prototype.Ka.call(this)};var Zo=new Q;function ap(a){return a}function $o(a,b){Q.call(this);this.i=a;this.j=b;this.ff=!1;this.g=C("IMG");Tj(this.g,"Page");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}n($o,Q); $o.prototype.empty=function(){for(var a;a=uf(this.j);)Sm(a)};function bp(a,b){Om(a.g,r(a.l,a,a.g));for(var c=0;c<b.length;c++)a.g.src=b[c]}$o.prototype.l=function(a){this.g==a&&(this.dispatchEvent("load"),this.ff=!0)};$o.prototype.hc=ba(6);function cp(a){var b=this;W.call(this);this.s=a;this.j=a.l;this.kb(gh(this.j));this.Cb=new w(0,0);this.U=null;this.ma=new vj(function(){N(b.U,!1)},600);Mf(this,this.ma)}u(cp,W);f=cp.prototype;f.kb=function(a){if(!this.i||!Kb(this.i,a)){this.i=a;var b=this.s;b.U=a;dp(b);this.dispatchEvent("resize")}};f.Pc=function(a){this.nc=a;this.O.Ka();var b=this.s,c=this.getSize();b.U=c;dp(b);b=this.s;a=new Jb(a.qb(),a.Ab());b.ka=a;b.o=!0;L(b.i,a);U(b.ma,0,b);dp(b);this.dispatchEvent("layoutchange")}; function ep(a,b){a.O=b}f.Mk=function(){return this.O};f.Bb=function(){return this.nc};f.Yb=function(){var a=this.nc.Hd();this.ka&&(a=this.ka.Kk(a));vn(this.O,a);this.dispatchEvent("update")};function fp(a,b){a.ka=b} f.Qc=function(a){var b=this.Cb.x,c=this.Cb.y;typeof a.x==="number"&&(a.x=Fb(a.x,0,Math.max(this.nc.qb()-this.i.width,0)));typeof a.y==="number"&&(a.y=Fb(a.y,0,Math.max(this.nc.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 gp(a){var b=a.Cb;return b?new yg(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.Qc(a);this.dispatchEvent("moveend")};function hp(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 Cj([b.x,b.y],[a.x,a.y],250+Fb(Hb(b,a)/800,0,1)*250,Fj),H(this.l,"animate",r(this.km,this)),H(this.l,"end",r(this.hq,this)),this.dispatchEvent("movestart"),dg(this,"movestart",r(this.l.dispose,this.l)),this.l.play())};f.km=function(a){a=a.coords.map(Math.round);this.Qc(new w(a[0],a[1]))};f.hq=function(a){this.km(a);this.dispatchEvent("moveend")}; f.vb=function(){return this.j};f.xe=ba(8);f.Fc=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(){cp.na.qa.call(this);this.O.Ka()};f.Gk=function(a){this.U==null&&(this.U=a);this.U.style.opacity=0;this.ma.start()};f.Gs=function(){var a=this;this.ma.stop();N(this.U,!0);U(function(){a.U.style.opacity=1})};f.jm=1;function ip(a,b,c,d){Po.call(this,a,b.Ca(),b.g,c,d);this.ka=Fo(this);Uo(this);b.Ca()&&this.Zf();this.N=a;this.O=H(this.N.Da(),"update",this.Aa,!1,this)}n(ip,Po);ip.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=Xm(d,this.getSize().height);typeof e==="number"&&(d=Ym(d,e),b=new R(b),S(b,"zoom",e),S(b,"pg",a.ta),b=b.toString(),this.U=new Tm(this.ka,d,this.getSize().height,c.Gj,c.Fj,r(c.Xn,c,b,d,this.getSize().height),null),this.j=!0,this.Aa())}}; ip.prototype.Aa=function(){if(this.j){var a=Pg(this.ka);if(a){var b=Vg(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&&Um(this.U,Ag(a))}Fm(this.N)}};ip.prototype.Ka=function(){this.j&&(this.U.empty(),this.j=!1);this.O&&(lg(this.O),this.O=null);Po.prototype.Ka.call(this)};function jp(a){this.vd=a;Ho.call(this,"#ffff00")}u(jp,Ho);jp.prototype.Rg=function(){var a=this.i.Ca();if(a){var b=this.vd.getQuery();b!=this.o&&(a=Bm(a,b),this.Yf(),a&&(mb(a,r(this.Ln,this)),this.o=b))}};function kp(a){Q.call(this);this.url=a;this.j=null;this.s=!0}n(kp,Q);kp.prototype.Qd=function(){if(this.s)this.s=!1;else throw Error();};function lp(a,b){kp.call(this,a);this.O=b||"GET";this.i=new og;this.g=new ei}n(lp,kp);f=lp.prototype;f.Qd=function(a,b){kp.prototype.Qd.call(this,a,b);this.o=a;this.l=b;this.i.ha(this.g,"success",r(this.jq,this));this.i.ha(this.g,"error",r(this.iq,this));this.g.send(this.url.toString(),this.O,void 0)};f.jq=function(a){this.j=JSON.parse(pi(a.target));U(r(this.dispatchEvent,this,"success"));this.o&&U(t(this.o,this.j));U(r(this.Hj,this))}; f.iq=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(){tg(this.i);this.l=this.o=null};function mp(a){return a.length?a.reduce(function(b,c){return Eg(b,c)},a[0].clone()):null};function np(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(np,W);np.prototype.O=function(a){if(!this.oa){a=Ib(new w(a.clientX,a.clientY),Qg(this.ma));a=vg(a,this.ta);K(this.o,{border:"2px dashed #99AAEE",position:"absolute"});var b=a.right-a.left,c=a.bottom-a.top;Kg(this.o,a.left,a.top);L(this.o,b,c);this.j=a}}; np.prototype.U=function(a){this.O(a);this.oa=!0;a=this.l;var b=Ag(this.j),c=Jo(this.s);c=op(b,1/c);b=pp(op(c,1/a.getSize().width*1E3));a=new R(a.xc());S(a,"ci",[b.left,b.top,b.width,b.height].join());S(a,"jscmd","click3");S(a,"output","text");c=pp(c);qp(this.s,[c]);E(this.o);(new lp(a)).Qd(r(this.ka,this,c,b));this.dispatchEvent("endsize")}; np.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 yg(h.X,h.Y,h.W,h.H))});if(c=c.content)qp(this.s,[a],c,b),d=!0}d||this.s.Yf();this.dispose()};function op(a,b){return new yg(a.left*b,a.top*b,a.width*b,a.height*b)}function pp(a){return new yg(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(a.height))}np.prototype.qa=function(){np.na.qa.call(this);E(this.o)};function rp(a,b){W.call(this);this.o=a;this.Ba=b}var sp;n(rp,Eo);f=rp.prototype;f.ie=function(a){Eo.prototype.ie.call(this,a);a=this.l;var b=C("div");V(b,!0);a.appendChild(b);lh(b,"selection-layer");L(a,this.i.getSize());L(b,this.i.getSize());this.g.ha(b,"click",this.kq);this.g.ha(b,"mousedown",this.lq)}; f.lq=function(a){if(sp){a.stopPropagation();this.j&&this.j.dispose();var b=this.i.im;a=Ib(new w(a.clientX,a.clientY),Qg(b));this.j=new np(this.o,b,this.l,this.i.Ca(),a);this.s=H(document.body,"mousemove",r(this.mq,this));dg(this.j,["endsize","dispose"],r(this.Ds,this))}};f.kq=function(a){sp&&a.stopPropagation()}; f.mq=function(a){if(this.j&&!this.j.Ed){var b=new w(a.clientX,a.clientY),c=zg(Zg(this.Ba.vb()));if(wg(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 lj(100),this.g.ha(this.O,"tick",this.nq));this.U=d;d.x||d.y?this.O.start():this.O.stop()}}};f.nq=function(){var a=this.U,b=this.Ba;hp(b,new w(a.x*15,a.y*15),r(b.Ad,b))}; f.Ds=function(){lg(this.s);Kf(this.O);this.O=null};function tp(){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}tp.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(r(this.i,this),6E3)};tp.prototype.j=function(){K(this.l,"bottom","0");this.g=!0};tp.prototype.i=function(){K(this.l,"bottom","-48px");this.g=!1};function up(a){this.i=a;this.l=new tp;this.j=vp(this)}up.prototype.V=function(){return this.j};function vp(a){var b=C("DIV");nh(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);H(b,"click",r(a.g,a));Pj(b,"button");Cf(b,!0);H(b,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||a.g.call(a)});return b} up.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.l.show()};function wp(){}wp.prototype.Ic=function(){};function xp(a,b,c,d,e,g,h,k,l){var m=yp(c),p=Zg(a),y=Pg(a);y&&Bg(p,Ag(y));y=Se(a);var D=Se(c);if(y.g!=D.g){y=y.g.body;D=D.g.defaultView;var I=new w(0,0),F=gf(Ue(y));b:{try{Dd(F.parent);var J=!0;break b}catch(Ya){}J=!1}if(J){J=y;do{var Ua=F==D?Qg(J):Wg(J);I.x+=Ua.x;I.y+=Ua.y}while(F&&F!=D&&F!=F.parent&&(J=F.frameElement)&&(F=F.parent))}y=Ib(I,Qg(y));p.left+=y.x;p.top+=y.y}a=zp(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=Ib(p,m);e&&(p.x+=(a&4?-1:1)*e.x,p.y+= (a&1?-1:1)*e.y);if(h)if(l)var Da=l;else if(Da=Pg(c))Da.top-=m.y,Da.right-=m.x,Da.bottom-=m.y,Da.left-=m.x;return Ap(p,c,d,g,Da,h,k)} function yp(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||Jg(a,"position")!="static"){var c=Qg(a);if(!b){b=bh(a);var d;if(d=b){d=ak&&fc(ck,10)>=0;var e;if(e=Sd)e=fc(Uj,10)>=0;var g=Zj&&fc(ck,85)>=0;d=Id||d||e||g}b=d?-a.scrollLeft:b&&Jg(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Ib(c,new w(b,a.scrollTop))}}}return c||new w} function Ap(a,b,c,d,e,g,h){a=a.clone();var k=zp(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 yg(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;Kg(b,new w(e.left,e.top));h=e.getSize();Kb(c,h)||eh(b,h);return a}function zp(a,b){return(b&8&&bh(a)?b^4:b)&-9};function Bp(a,b){this.Eb=8;this.Ga=b||void 0;Kk.call(this,a)}u(Bp,Kk);function Cp(a,b){a.Eb=b;a.isVisible()&&a.Vf()}Bp.prototype.Yc=function(){return this.Ga||null};Bp.prototype.setPosition=function(a){this.Ga=a||void 0;this.isVisible()&&this.Vf()};Bp.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.Ic(b,this.Eb,this.ll);a&&N(b,!1)}};function Dp(a){Bp.call(this,a);Mk(this,!1);this.i=new og;this.g=Zm();O(a,"viewport-selection-popup");Ep&&Ep.dispose();Ep=this}n(Dp,Bp);Dp.prototype.j=function(){this.dispatchEvent("close");this.dispose()}; function Fp(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(lf(b));d=a.g?C("TD"):C("div");e.appendChild(d);b=C("input");b.value=c;O(b,"viewport-input");d.appendChild(b);dh(b,!1);a.g&&(c=C("TD"),e.appendChild(c),e=(new up(b)).V(),c.appendChild(e));a.i.ha(b,"mousedown",Gp)}function Gp(a){a.stopPropagation()} Dp.prototype.qa=function(){E(this.V());Bp.prototype.qa.call(this);this.i.dispose()};var Ep=null;function Hp(a,b){this.g=a instanceof w?a:new w(a,b)}u(Hp,wp);Hp.prototype.Ic=function(a,b,c,d){var e=Ue(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=yp(a);g-=h.x;e-=h.y;Ap(new w(g,e),a,b,c,null,null,d)};function Ip(a,b){Hp.call(this,a,b)}u(Ip,Hp);Ip.prototype.i=0;Ip.prototype.l=function(a){this.i=a};Ip.prototype.Ic=function(a,b,c,d){var e=Pg((a?Ue(a):document).documentElement),g=ff(Se(a).g);g=new w(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=Ap(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=Ap(g,a,h,c,e,10,d);(k&496)!=0&&Ap(g,a,b,c,e,this.i,d)}};function Jp(a){Ho.call(this,"#4a95d6");this.j=a}n(Jp,Ho);Jp.prototype.ie=function(a){Ho.prototype.ie.call(this,a);K(this.l,{cursor:"pointer"});this.g.ha(this.l,"mousedown",Kp)};function Kp(a){a.stopPropagation()} function qp(a,b,c,d){a.Yf();mb(b,r(a.Ln,a));a.s&&lg(a.s);a.o&&a.o.dispose();b=C("div");document.body.appendChild(b);var e=mp(a.O);if(e){var g=Qg(a.l);b=new Dp(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.xc());S(m,"ci",d);S(m,"source","bookclip");m=Uc('<a href="%s"><img src="%s"/></a>',m.toString(),l)}d=m;of(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&&(Fp(b,"Selection text",c),m=C("DIV"),O(m,"selection-popup-translate-container"),b.g?(h=uf(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"),nh(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&&Fp(b,"Image",l);d&&Fp(b,"Embed",d)}else c=C("DIV"),G(c,"Loading..."),O(c,"selection-popup-loading-msg"), b.V().appendChild(c);Cp(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(Lp,b,new Ip(new w(c,e))));a.s=dg(b,"close",r(a.Yf,a))}}function Lp(a,b){a.Ed||(a.setPosition(b),a.wa(!0))}Jp.prototype.Yf=function(){Ho.prototype.Yf.call(this);this.o&&this.o.dispose()};Jp.prototype.qa=function(){Ho.prototype.qa.call(this);this.o&&this.o.dispose();this.s&&lg(this.s)};function Mp(a,b,c){return a.Ta().Li()?new ip(a,b,c):new Yo(a,b,c)}function Np(a,b){if(b instanceof Yo){Ro(b,new jp(a.Va()));Ro(b,new Lo);var c=new Jp(a.vb()),d=new rp(c,a.Da());Ro(b,d);Ro(b,c);Ro(b,new Mo(a))}};function Op(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 Jb(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(H(this.l,"dblclick",r(this.st,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);Pp(this)}n(Op,Gj);function Pp(a){a.o&&a.o.Ka();a.O&&a.O.Ka();of(a.U);of(a.ka);eh(a.l,a.j);eh(a.s,a.j);a.o=Mp(a.N,new No(a.oa,a.j),a.U);Np(a.N,a.o);a.ta=new Go(!0);Ro(a.o,a.ta);a.O=Mp(a.N,new No(a.ya,a.j),a.ka);a.Aa=new Go(!1);Np(a.N,a.O);Ro(a.O,a.Aa)}f=Op.prototype;f.setPosition=function(a){a.x<0&&(a.x=0);Kg(this.i,a)};f.st=function(a){a.preventDefault();a.stopPropagation();this.N.mb("previous")}; f.wa=function(a){K(this.i,{display:a?"":"none"})};f.Kc=function(){K(this.l,{left:0,top:0});K(this.s,{left:this.j.width+"px",top:0})};f.Id=function(){return lb([this.oa,this.ya],function(a){return!!a})};f.Ka=function(){this.o.Ka();this.O.Ka();for(var a;a=this.ma.pop();)lg(a);this.i.parentNode&&E(this.i)};function Qp(a){return a*2};function Rp(a){this.N=a}n(Rp,Vm);Rp.prototype.render=function(a){var b=new Op(this.N,a.getSize().width);b.setPosition(a.Yc());b.Kc();b.wa(!0);return this.g=b};function Sp(a,b){var c=a.match(Tp);return c?Number(c[1])*b[c[2]]:Number(a)}var Tp=/^(-?\d+\.?\d*)([KMGTPEZYkmun]?)B?$/,Up={"":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},Vp={"":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 Wp(a,b){var c=Xp(a),d=Xp(b);Il(a)==0||Il(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.":Yp(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 Xp(a){a=a.Za();var b;/[^0-9]/.test(a)||Vb(a)?b=null:b=Ub(a,"B")?Sp(a,Vp):Sp(a,Up);return b} function Yp(a,b){a=Xp(a);b=Xp(b);return a+1-(b-1)==0};function Zp(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=oj()}n(Zp,Q);Zp.prototype.df=function(){return this.i};function $p(a,b){if(b!=a.i){a.i=b;var c=a.N.Da().s.i;N(c,!1);M(c);[t(aq,a.j,a.s,a.o,a.g,b),r(a.l,a),t(N,c,!0)].forEach(U)}}Zp.prototype.l=function(){this.dispatchEvent("change")};function aq(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 bq=null;function cq(a,b){og.call(this);this.i=bq;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(cq,og); cq.prototype.l=function(){var a=this.g.o.g.Id()[0]||new Nm,b=this.g.o.g.Id()[1]||new Nm,c=this.O,d=this.o,e=d?Il(d):-1,g=Il(a)||-1,h=Il(b)||-1,k=Math.max(c?Il(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.jm){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);Yp(m,p)||m===void 0||p===void 0||(a=Wp(m,p),this.i.U(a),this.i.show(3E3))}};function dq(a){bn.call(this,a)}n(dq,bn);f=dq.prototype;f.zd=function(a){bn.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 to(b))},this)))};f.we=function(){return this.l(32)?"Front Cover":this.l(64)?"Back Cover":bn.prototype.we.call(this)};f.Lk=function(){return{width:"w"}};f.Gi=ba(9);f.Vn=function(){return this.O};function eq(a){zn.call(this);zn.apply(this,arguments);this.s();H(this,"update",r(this.s,this))}n(eq,zn);function fq(a,b){var c={};v(b.page,function(e){var g=Ll(this,e.pid);g&&gn(g,e);c[e.pid]=!0},a);b=Jl(a);var d=lb(b,function(e){return!!c[e.Ja()]||!!this.O[e.Ja()]},a);b.length!=d.length&&a.j(d)}eq.prototype.Vk=function(a){this.o?fq(this,a):zn.prototype.Vk.call(this,a)}; eq.prototype.s=function(){var a={},b=0;v(Jl(this),function(h){var k=Il(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};eq.prototype.l=dq;function gq(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 hq(a){this.j=a.page_id;this.i=a.page_number||"";this.g=a.snippet_text||"";this.l=a.page_url}hq.prototype.Ja=function(){return this.j};hq.prototype.xc=function(){return this.l};function iq(a){this.g=a;this.g.number_of_results>0?(this.tb=mb(this.g.search_results,function(b){return new hq(b)},this),this.id=this.g.search_results[0].page_id+jq(this)+this.g.search_results[this.g.number_of_results-1].page_id):this.tb=[]}function kq(a){return a.g.spellresults&&a.g.spellresults.correct_spell?a.g.spellresults.correct_spell:null}function jq(a){return a.g.search_query_escaped};function lq(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=We("IMG",e);if(b.length== 1){b=b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);rf(g,b,0);O(g,"separator-message");O(g,"separator-pubinfo-message")}b=Wp(this.l,this.j);e=Df(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=Wp(this.l,this.j); dh(this.i,!0);V(this.i)}n(lq,Gj);lq.prototype.kb=function(a){L(this.i,a)};lq.prototype.setPosition=function(a){Kg(this.i,a)};lq.prototype.Ka=function(){E(this.i)};function mq(a,b,c,d){this.zj=this.Uk=10;this.Zh=this.ai=20;b=Math.floor((b-20)/(100+this.Uk));d&&b>2&&(b-=b%2);yo.call(this,b);Jl(a);a=mb(Jl(a),function(e){e=new Fi(e);var g=e.getSize();g.width=100;e.kb(g);return e});c&&(c=a[0].getSize(),d=new ri,d.kb(c),this.Na(d));v(a,r(this.Na,this));Bi(this)}u(mq,yo);function nq(a,b){cp.call(this,b);this.yb=a;this.g.ha(a,"pagechange",this.Ld);this.g.ha(this.yb,"searchupdate",this.Sk);if(a=A("subscription-bar"))this.g.ha(this,"scrolldown",t(this.Gk,a)),this.g.ha(this,"scrollup",t(this.Gs,a))}u(nq,cp);f=nq.prototype;f.Id=function(){var a=this.nc.Hd(),b=[];this.ka&&(a=this.ka.Oh(a)[0]||[]);v(a,function(c){c instanceof Fi&&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=xn(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.Pc(a);b&&(a=Lj(new Kj(b,a),this.Fc()),(a=this.De(a))&&this.Ad(a))};f.Ld=function(){this.Bh||this.Kd(this.yb.Ca())}; f.Kd=function(a){this.nc.wc&&(a=this.nc.wc(a))&&this.Qc(new w(Math.round(a.Ud()),Math.round(a.Zc())))};f.Sk=function(){oq&&(this.Mk().Ka(),this.ta&&this.ta(),this.Yb())};var oq=!0;function pq(a,b){this.Ba=a;this.g=b}n(pq,Vm);pq.prototype.render=function(a){var b=this.g(),c=a.Ca(),d=ib(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.Zt=e.width;b.Wt=e.height;b.setPosition(a.Ud(),a.Zc());b.hb(c);b.Kc();return b};function qq(){};function rq(a){this.Ba=a}u(rq,qq);rq.prototype.Kk=function(a){var b=this.Oh(a);a=b[0]||[];b=b[1]||[];b.sort(t(sq,this.Ba.Fc()));var c=[];xb(c,a,b);return c};function sq(a,b,c){return xg(zg(si(b)),a)-xg(zg(si(c)),a)}rq.prototype.Oh=function(a){var b=gp(this.Ba),c=new yg(b.left-800,b.top-800,b.width+1600,b.height+1600);return Cb(a,function(d){d=si(d);if(Cg(c,d))return Cg(b,d)?0:1})};function tq(a,b){this.Ba=b;this.N=a}n(tq,rq);tq.prototype.Kk=function(a){var b=rq.prototype.Kk.call(this,a),c=this.N.Ca();if(c){var d=[],e=this.N.Ya();v([1,-1],function(){var g=Kl(e,c.Ja(),1);g&&d.push(g)});v(a,function(g){g.Ca&&qb(d,g.Ca())&&rb(b,g)})}return b};function uq(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(uq,Gj);f=uq.prototype; f.Kc=function(){var a=this.cj-2,b=this.Dg-2,c=this.Zt-2,d=this.Wt-2;K(this.s,{backgroundColor:"#cccccc",position:"absolute"});Kg(this.s,0,0);L(this.s,this.cj,this.Dg);K(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});Kg(this.O,1,1);L(this.O,a,b);this.show();var e=this.N;a=Mp(e,new Oo(this.Ca(),new Jb(a,b),new Jb(c,d)),this.O);a instanceof Yo?Np(e,a):a instanceof ip&&a instanceof ip&&Ro(a,new jp(e.Va()));this.i=a};f.ab=function(){N(this.j,!1)};f.show=function(){N(this.j,!0)}; f.hc=ba(5);f.Ka=function(){this.i&&this.i.Ka();E(this.j)};f.setPosition=function(a,b){Kg(this.j,a,b)};f.Zc=function(){return Mg(this.j).x};f.Ud=function(){return Mg(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 vq(a){return a+2}f.getSize=function(){return new Jb(this.cj,this.Dg)};function wq(a){W.call(this);of(a);V(a);this.l=a;this.i=C("div");V(this.i,!0);oj()&&(bf(a,{dir:"ltr"}),bf(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(wq,W);function xq(a,b){wq.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(xq,wq);function dp(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"))}xq.prototype.ma=function(){this.o=!1;this.s()}; xq.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);Gb(a,b)||(this.O=!0,this.Ba.Ad(b),this.O=!1)}}};function yq(a){var b=a.vb(),c=new xq(this,b);K(b,"overflow","auto");K(b,{overflowX:"auto",overflowY:"scroll"});O(b,"overflow-scrolling");bf(b,{dir:"ltr"});nq.call(this,a,c);fp(this,new tq(a,this));ep(this,zq(this));var d=a.Ya(),e=a.Ta().Hf();this.o=a.Ta().O?function(g){return new Ao(d,e,g)}:a.Ta().ma?function(g){return new Ao(d,e,g,!0,a.Ta().ma)}:function(g){return new Ao(d,e,g,!0)};b=this.yb.Ta();b.Hf()=="fixed_height"?(b=b.Wd(),b=b[Math.floor(b.length/2)]+2):b=Aq(b)+2;this.Uf(b);this.g.ha(this.yb, "pagesupdate",this.At);this.g.ha(this.yb,"pagemodechange",this.oq);this.g.ha(this,"move",this.Yb);this.g.ha(this,"move",this.Iv)}u(yq,nq);f=yq.prototype;f.Gc=function(){this.Je(1)};f.Vc=function(){this.Je(-1)};f.Wd=function(){var a=this.yb.Ta(),b=wb(a.Wd());a.Hf()=="fixed_width"&&(a=this.yb.Ta().Ha)&&a-ib(b)>150&&(a<1500?rb(b,a):rb(b,1500));return new wn(mb(b,vq))};f.ng=function(a){return this.o(a)}; f.getSize=function(){if(this.j.hasChildNodes()){var a=gh(this.j.childNodes[0]).width;a=new Jb(a,this.i.height)}else a=this.i;return a};function zq(a){var b=new tn;un(b,Fi,new pq(a,t(vi,uq,a.yb,a,a.s.i)));un(b,wo,new Co(a.yb,function(c){return new lq(a.s.i,c)}));return b}f.Iv=function(){if(this.ya){var a=yi(this.nc,this.Fc().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.At=function(){var a=this.yb.Ca(),b=this.yb.Ya(),c=Ll(b,a.Ja());if(!c)a:{c=Il(a);b=Jl(b);for(a=b.length-1;a>=0;a--){var d=b[a];if(Il(d)<=c){c=d;break a}}c=null}a=this.Cb;b=this.Bb();d=b.wc(c);a=Ib(a,d.Yc());b=this.ng(b.s());c=b.wc(c).Yc();c=new w(c.x+a.x,c.y+a.y);this.Pc(b);this.Ad(c)};f.oq=function(){this.O.Ka();this.Yb()}; f.Ek=function(a){if(a.Vn&&a.O){var b=a.O;if(a.ka!=null)var c=a.ka;else a.ka=new vo(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().wc(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.Zc();var g=a*e[2];a*=e[3];e=C("DIV");e.setAttribute("id","focus_article_div");V(e,!0);$g(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 Bq(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;Kg(g,d.x+(oj()?e:0),d.y);b.s.i.appendChild(g);this.i=g;b=Math.floor(e/Gi(c));g=new Jb(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.wo);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",Il(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(Bq,Gj);Bq.prototype.o=function(){var a=!1,b=this.N.Ca();b&&b==this.l&&(a=!0);K(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};Bq.prototype.s=function(){this.N.Ub(yq);this.N.hb(this.l);Cq.dispatchEvent("click")}; Bq.prototype.Ka=function(){Sm(this.O);E(this.i)};var Cq=new Q;function Dq(a,b){this.N=a;this.Ba=b}n(Dq,Vm);Dq.prototype.render=function(a){return new Bq(this.N,this.Ba,a.Ca(),a.Yc(),a.getSize())};function Eq(a){var b=a.vb();K(b,{overflow:"hidden"});var c=new xq(this,b);nq.call(this,a,c);this.g.ha(this,"move",this.Yb);K(b,{overflow:"auto"});ep(this,Fq(this));this.Pc(Gq(this));fp(this,new rq(this));U(r(this.Yb,this),0);this.g.ha(this,"resize",this.o);var d=A("subscription-bar");d&&(this.Gk(d),U(function(){N(d,!1)},600))}u(Eq,nq);Eq.prototype.Kd=function(a){a=this.Bb().wc(a).Yc();this.Ad(new w(void 0,a.y-40))}; function Gq(a){var b=a.yb.Ta().tc;return new mq(a.yb.Ya(),Zm()?Math.min(a.getSize().width,1120):a.getSize().width,b,b)}Eq.prototype.o=function(){this.Pc(Gq(this));this.Kd(this.yb.Ca())};function Fq(a){var b=new tn;un(b,Fi,new Dq(a.yb,a));return b};function Hq(a){this.rc=a.Title;this.i=a.Pid;this.g=a.PgNum}Hq.prototype.Za=function(){return this.rc};Hq.prototype.getId=function(){return this.i};function Iq(a,b,c,d){Rf.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}u(Iq,Rf);function Jq(a,b){Q.call(this);a&&this.attach(a,b)}u(Jq,Q);f=Jq.prototype;f.ua=null;f.Vi=null;f.el=null;f.Wi=null;f.Mc=-1;f.Ne=-1;f.Ij=!1; var Kq={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},Lq={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},Mq=Ld&&Id;f=Jq.prototype; f.qq=function(a){Jd&&(this.Mc==17&&!a.ctrlKey||this.Mc==18&&!a.altKey||Ld&&this.Mc==91&&!a.metaKey)&&(this.Ne=this.Mc=-1);this.Mc==-1&&(a.ctrlKey&&a.keyCode!=17?this.Mc=17:a.altKey&&a.keyCode!=18?this.Mc=18:a.metaKey&&a.keyCode!=91&&(this.Mc=91));wh(a.keyCode,this.Mc,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.Ne=xh(a.keyCode),Mq&&(this.Ij=a.altKey)):this.handleEvent(a)};f.rq=function(a){this.Ne=this.Mc=-1;this.Ij=a.altKey}; f.handleEvent=function(a){var b=a.Mb,c=b.altKey;if(Jd&&a.type=="keypress"){var d=this.Ne;var e=b.charCode>=0&&b.charCode<63232&&vh(d)?b.charCode:0}else a.type=="keypress"?(Mq&&(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),Ld&&e==63&&d==224&&(d=191);var g=d=xh(d);d?d>=63232&&d in Kq?g=Kq[d]:d==25&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Lq&&(g=Lq[b.keyIdentifier]); if(!Id||a.type!="keypress"||wh(g,this.Mc,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.Mc,this.Mc=g,b=new Iq(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.V=function(){return this.ua};f.attach=function(a,b){this.Wi&&Nq(this);this.ua=a;this.Vi=H(this.ua,"keypress",this,b);this.el=H(this.ua,"keydown",this.qq,b,this);this.Wi=H(this.ua,"keyup",this.rq,b,this)};function Nq(a){a.Vi&&(lg(a.Vi),lg(a.el),lg(a.Wi),a.Vi=null,a.el=null,a.Wi=null);a.ua=null;a.Mc=-1;a.Ne=-1}f.qa=function(){Jq.na.qa.call(this);Nq(this)};function Oq(){}var Pq;Sa(Oq);var Qq={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=Oq.prototype;f.ag=function(){};f.Jc=function(a){return a.g.Ma("DIV",Rq(this,a).join(" "),a.vc())};f.Dc=function(a){return a};function Sq(a,b,c){(a=a.V?a.V():a)&&(c?nh:ph)(a,[b])}f.hi=function(){return!0}; f.Ob=function(a,b){b.id&&a.Fg(b.id);var c=this.Dc(b);c&&c.firstChild?Tq(a,c.firstChild.nextSibling?wb(c.childNodes):c.firstChild):a.eg=null;var d=0,e=this.Pa(),g=this.Pa(),h=!1,k=!1,l=wb(kh(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&&Af(c)&&Cf(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||lh(b,l.join(" "));return b};f.ii=function(a){Hk(a)&&this.mm(a.V(),!0);a.isEnabled()&&this.Sg(a,a.isVisible())}; function Uq(a,b,c){if(a=c||a.ag())c=b.getAttribute("role")||null,a!=c&&Pj(b,a)}function Vq(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());Wq(b,8)&&a.de(c,8,Xq(b,8));Wq(b,16)&&a.de(c,16,Xq(b,16));Wq(b,64)&&a.de(c,64,b.hd())}f.Lh=function(a,b){Tj(a,b)};f.Jj=function(a,b){dh(a,!b,!0)};f.mm=function(a,b){Sq(a,this.Pa()+"-rtl",b)};f.lm=function(a){var b;return Wq(a,32)&&(b=a.V())?Af(b):!1}; f.Sg=function(a,b){var c;if(Wq(a,32)&&(c=a.V())){if(!b&&Xq(a,32)){try{c.blur()}catch(d){}Xq(a,32)&&a.ji(null)}Af(c)!=b&&Cf(c,b)}};f.wa=function(a,b){N(a,b);a&&X(a,"hidden",!b)};f.Rc=function(a,b,c){var d=a.V();if(d){var e=this.lh(b);e&&Sq(a,e,c);this.de(d,b,c)}};f.de=function(a,b,c){Pq||(Pq={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Pq[b];var d=a.getAttribute("role")||null;d&&(d=Qq[d]||b,b=b=="checked"||b=="selected"?d:b);b&&X(a,b,c)}; f.dg=function(a,b){var c=this.Dc(a);c&&(of(c),b&&(typeof b==="string"?G(c,b):(a=function(d){if(d){var e=Ue(c);c.appendChild(typeof d==="string"?e.createTextNode(d):d)}},Array.isArray(b)?b.forEach(a):!Va(b)||"nodeType"in b?a(b):wb(b).forEach(a))))};f.Pa=function(){return"goog-control"};function Rq(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||Yq(this);return this.i[a]}; f.Ki=function(a){if(!this.oa){this.i||Yq(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 Yq(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 Zq(){}u(Zq,Oq);Sa(Zq);f=Zq.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:Zq.na.de.call(this,a,b,c)}};f.Jc=function(a){var b=Zq.na.Jc.call(this,a);this.nf(b,a.Xe());var c=a.ub();c&&this.qc(b,c);Wq(a,16)&&this.de(b,16,Xq(a,16));return b};f.Ob=function(a,b){b=Zq.na.Ob.call(this,a,b);var c=this.ub(b);a.ya=c;a.U=this.Xe(b);Wq(a,16)&&this.de(b,16,Xq(a,16));return b};f.ub=function(){};f.qc=function(){}; f.Xe=function(a){return a.title};f.nf=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.jc=function(a,b){var c=Hk(a),d=this.Pa()+"-collapse-left",e=this.Pa()+"-collapse-right",g=c?e:d;b&1?$q(a,g):ar(a,g);c=c?d:e;b&2?$q(a,c):ar(a,c)};f.Pa=function(){return"goog-button"};var br={Yg:"mousedown",Zg:"mouseup",Xg:"mousecancel",Xv:"mousemove",Zv:"mouseover",Yv:"mouseout",Vv:"mouseenter",Wv:"mouseleave"};function cr(a,b){if(!a)throw Error("Invalid class name "+a);if(typeof b!=="function")throw Error("Invalid decorator function "+b);dr[a]=b}var er={},dr={};function fr(a,b,c){Y.call(this,c);if(!b){for(b=this.constructor;b;){var d=Xa(b);if(d=er[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(fr,Y);f=fr.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.nm=null;function gr(a,b){a.Ra&&b!=a.Kj&&hr(a,b);a.Kj=b}f.od=function(){return this.j};function $q(a,b){b&&(a.Gd?qb(a.Gd,b)||a.Gd.push(b):a.Gd=[b],Sq(a,b,!0))} function ar(a,b){b&&a.Gd&&sb(a.Gd,b)&&(a.Gd.length==0&&(a.Gd=null),Sq(a,b,!1))}f.Oa=function(){var a=this.j.Jc(this);this.ua=a;Uq(this.j,a,this.We());this.j.Jj(a,!1);this.isVisible()||this.j.wa(a,!1)};f.We=function(){return this.nm};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.Dc(this.V())};f.bi=function(a){return this.j.hi(a)};f.Kb=function(a){this.ua=a=this.j.Ob(this,a);Uq(this.j,a,this.We());this.j.Jj(a,!1);this.ki=a.style.display!="none"}; f.Ia=function(){fr.na.Ia.call(this);Vq(this.j,this,this.ua);this.j.ii(this);if(this.Sh&-2&&(this.Kj&&hr(this,!0),Wq(this,32))){var a=this.V();if(a){var b=this.l||(this.l=new Jq);b.attach(a);Z(this).ha(b,"key",this.Lc).ha(a,"focus",this.sq).ha(a,"blur",this.ji)}}}; function hr(a,b){var c=Z(a),d=a.V();b?(c.ha(d,br.Yg,a.vf).ha(d,[br.Zg,br.Xg],a.ze).ha(d,"mouseover",a.ye).ha(d,"mouseout",a.Rk),a.xh!=ui&&c.ha(d,"contextmenu",a.xh)):(c.Sa(d,br.Yg,a.vf).Sa(d,[br.Zg,br.Xg],a.ze).Sa(d,"mouseover",a.ye).Sa(d,"mouseout",a.Rk),a.xh!=ui&&c.Sa(d,"contextmenu",a.xh))}f.bc=function(){fr.na.bc.call(this);this.l&&Nq(this.l);this.isVisible()&&this.isEnabled()&&this.j.Sg(this,!1)}; f.qa=function(){fr.na.qa.call(this);this.l&&(this.l.dispose(),delete this.l);delete this.j;this.Gd=this.eg=null};f.vc=function(){return this.eg};function ir(a,b){a.j.dg(a.V(),b);a.eg=b}function Tq(a,b){a.eg=b}f.tg=function(){var a=this.vc();if(!a)return"";a=typeof a==="string"?a:Array.isArray(a)?a.map(Ff).join(""):Df(a);return Xc(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!Xq(this,1)};f.nb=function(a){var b=this.getParent();b&&typeof b.isEnabled=="function"&&!b.isEnabled()||!jr(this,1,!a)||(a||(kr(this,!1),this.Oc(!1)),this.isVisible()&&this.j.Sg(this,a),this.Rc(1,!a,!0))};f.Oc=function(a){jr(this,2,a)&&this.Rc(2,a)};f.isActive=function(){return Xq(this,4)}; function kr(a,b){jr(a,4,b)&&a.Rc(4,b)}f.Fl=function(a){jr(this,8,a)&&this.Rc(8,a)};f.Qf=function(a){jr(this,16,a)&&this.Rc(16,a)};f.nj=function(a){jr(this,32,a)&&this.Rc(32,a)};f.hd=function(){return Xq(this,64)};f.Nb=function(a){jr(this,64,a)&&this.Rc(64,a)};function Xq(a,b){return!!(a.je&b)}f.Rc=function(a,b,c){c||a!=1?Wq(this,a)&&b!=Xq(this,a)&&(this.j.Rc(this,a,b),this.je=b?this.je|a:this.je&~a):this.nb(!b)};function Wq(a,b){return!!(a.Sh&b)} f.Tb=function(a,b){if(this.Ra&&Xq(this,a)&&!b)throw Error("Component already rendered");!b&&Xq(this,a)&&this.Rc(a,!1);this.Sh=b?this.Sh|a:this.Sh&~a};function lr(a,b){return!!(a.zf&b)&&Wq(a,b)}function jr(a,b,c){return Wq(a,b)&&Xq(a,b)!=c&&(!(a.Rh&b)||a.dispatchEvent(Ak(b,c)))&&!a.Ed}f.ye=function(a){!mr(a,this.V())&&this.dispatchEvent("enter")&&this.isEnabled()&&lr(this,2)&&this.Oc(!0)};f.Rk=function(a){!mr(a,this.V())&&this.dispatchEvent("leave")&&(lr(this,4)&&kr(this,!1),lr(this,2)&&this.Oc(!1))}; f.xh=ui;function mr(a,b){return!!a.relatedTarget&&xf(b,a.relatedTarget)}f.vf=function(a){this.isEnabled()&&(lr(this,2)&&this.Oc(!0),Sf(a)&&(lr(this,4)&&kr(this,!0),this.j&&this.j.lm(this)&&this.V().focus()));Sf(a)&&a.preventDefault()};f.ze=function(a){this.isEnabled()&&(lr(this,2)&&this.Oc(!0),this.isActive()&&this.kf(a)&&lr(this,4)&&kr(this,!1))}; f.kf=function(a){lr(this,16)&&this.Qf(!Xq(this,16));lr(this,8)&&this.Fl(!0);lr(this,64)&&this.Nb(!this.hd());var b=new Of("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.yl=a.yl,b.timeStamp=a.timeStamp);return this.dispatchEvent(b)};f.sq=function(){lr(this,32)&&this.nj(!0)};f.ji=function(){lr(this,4)&&kr(this,!1);lr(this,32)&&this.nj(!1)}; f.Lc=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 fr!=="function")throw Error("Invalid component class "+fr);if(typeof Oq!=="function")throw Error("Invalid renderer class "+Oq);var nr=Xa(fr);er[nr]=Oq;cr("goog-control",function(){return new fr(null)});function or(){}u(or,Zq);Sa(or);f=or.prototype;f.ag=function(){};f.Jc=function(a){gr(a,!1);a.zf&=-256;a.Tb(32,!1);return a.g.Ma("BUTTON",{"class":Rq(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){gr(a,!1);a.zf&=-256;a.Tb(32,!1);if(b.disabled){var c=this.lh(1);O(b,c)}return or.na.Ob.call(this,a,b)}; f.ii=function(a){Z(a).ha(a.V(),"click",a.kf)};f.Jj=function(){};f.mm=function(){};f.lm=function(a){return a.isEnabled()};f.Sg=function(){};f.Rc=function(a,b,c){or.na.Rc.call(this,a,b,c);(a=a.V())&&b==1&&(a.disabled=c)};f.ub=function(a){return a.value};f.qc=function(a,b){a&&(a.value=b)};f.de=function(){};function pr(a,b,c){fr.call(this,a,b||or.Hb(),c)}u(pr,fr);f=pr.prototype;f.ub=function(){return this.ya};f.qc=function(a){this.ya=a;this.od().qc(this.V(),a)};f.Xe=function(){return this.U};f.nf=function(a){this.U=a;this.od().nf(this.V(),a)};f.jc=function(a){this.od().jc(this,a)};f.qa=function(){pr.na.qa.call(this);delete this.ya;delete this.U};f.Ia=function(){pr.na.Ia.call(this);if(Wq(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};cr("goog-button",function(){return new pr(null)});function qr(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=Zm(c);this.s=d;if(this.U){a:{a=this.N.Ya();for(b=0;b<this.j.length;b++)if(c=Ll(a,this.j[b].getId())){b:{for(d=b+1;d<this.j.length;d++){var e=Ll(this.N.Ya(),this.j[d].getId());if(e){d=e;break b}}d=null}d=d?Il(d)-1:Il(ib(Jl(a)));e=Il(this.N.Ca());if(e>=Il(c)&&e<=d){a=b;break a}}a=-1}this.ka=a}}n(qr,W);f=qr.prototype; f.render=function(a,b){b=b===void 0?2:b;this.i=C("div");document.body.appendChild(this.i);U(r(this.tq,this));this.oa=a;this.U?(this.s&&(this.O=b),rr(this)):this.ma?(O(this.i,"base-image-toc-div"),a=this.N.Ta().Uh,(b=Ll(this.N.Ya(),a))&&sr(this,b),this.N.Ta().Jb>1&&(a=Kl(this.N.Ya(),a,1))&&sr(this,a),this.li()):this.dispose()}; f.tq=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 sr(a,b){var c=new Jb(128,0),d=B("IMG",{width:128});O(d,"toc-page-image");a.g.ha(d,"click",function(){a.N.hb(b)});Id&&oj()&&a.g.ha(d,"load",a.li);b.qd(c)?a.kp(d,b,c):Am(b,t(a.kp,d,b,c));a.i.appendChild(d)}f.kp=function(a,b,c){bf(a,{src:b.qd(c)})}; function rr(a){var b=B("DIV",{"class":"toc-div"}),c;v(a.j,function(d,e){d=tr(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:vf(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;Pj(a.i,"dialog");a.i.focus()} f.li=function(){var a=this.l?8:13,b=this.l?9:12,c;this.o instanceof pr?c=this.o.V():c=this.o;xp(c,a,this.i,b,new w(0,-this.oa))}; function tr(a,b,c){var d=b.getId(),e=Ll(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"}),Pj(g,"button"),Cf(g,!0));var l=C("div");O(l,"goog-inline-block");O(l,"toc-left-cell");c==a.ka&&(O(l,oj()?"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);Id&&!$d("1.9")&& K(c,"overflow","hidden");var m=b.Za(),p=a.l?m:ed(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(Vb(hd(d))?" ":d));g.appendChild(l);g.appendChild(c);g.appendChild(m);e?a.s?(d=new R(window.location.href),S(Xh(Xh(d,"pg"),"printsec"),"jtp",b.g),a.O&&S(Xh(d,"zoom"),"zoom",a.O),a.N.Va().getQuery()||Xh(Xh(d,"dq"),"num"),Dc(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)})):(oh(c,h),O(c,"toc-middle-disabled-cell"), oh(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 ur(a){xo.call(this,1);var b=new Do;b.kb(a);this.Na(b);Bi(this)}n(ur,xo);ur.prototype.mh=function(){return this.g[0]};ur.prototype.s=function(){return this.qb()||0};ur.prototype.Hf=function(){return"fixed_width"};function vr(a){var b=a.vb(),c=new xq(this,b);K(b,{overflow:"hidden"});nq.call(this,a,c);this.o=new Rp(a);b=new tn;un(b,Do,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.Pc(b);this.ya=new cq(a,this);this.g.ha(this.yb,"pagemodechange",this.uq);U(this.Yb,0,this)}u(vr,nq);f=vr.prototype;f.Wd=function(){var a=vb(wr,this.yb.Ta().Wd());return new wn(mb(a,Qp))};f.Ke=function(a){vr.na.Ke.call(this,a);this.O.Ka();this.Yb()};f.Gc=function(){this.Je(1)}; f.Vc=function(){this.Je(-1)};f.uq=function(){this.O.Ka();this.Yb()};f.jm=2;f.ng=function(a){this.getSize();var b=this.yb.Ya().g.aspectRatio();return new ur(new Jb(a,Math.floor(Math.floor(a/2)/b)))};var wr=[180,220,280]; vr.prototype.Ld=function(){var a=xr(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;Pp(b);if(c){if(c.l(64)||d==void 0)a=!1}else b.o.Hl();if(d){if(d.l(32)||c==void 0)e=!1}else b.O.Hl();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")};vr.prototype.Id=function(){return this.o.g.Id()}; function xr(a,b){return ob(a.yb.Ya().U,function(c){return qb(c,b)})}vr.prototype.Yb=function(){vr.na.Yb.call(this);this.Ld()};vr.prototype.oa=function(a,b){var c=this.yb.Ya().U;a=Il(a);for(var d,e,g=0;g<c.length;++g){var h=c[g];if(h[0]&&a==Il(h[0])||h[1]&&a==Il(h[1])){d=g;break}else if(e){var k=h[0]||h[1];if(a>=Il(e[0]||e[1])&&a<Il(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 yr(a){this.rc=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.tc=!!a.paired_thumbnails;this.jd=a.thumbnail_token||"";this.La=a.containing_bookshelves||[];this.ya=a.volume_id||"";this.Zb=a.other_issues_query||"";this.Wa=!!a.is_browsable;this.Fb=!!a.is_public_domain;a.last_page&&(this.ma=new bn(a.last_page));this.g=new Jb(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=mb(c.BuyLinks,function(d){return new gq(d)},this));this.Ea=c.AboutUrl;c.allowed_syndication_flags&&(this.o=c.allowed_syndication_flags.allow_disabling_chrome);c.TocLine&&(this.mi=mb(c.TocLine,function(d){return new Hq(d)}));c.SubscribeLink&&(this.oa=new gq(c.SubscribeLink));c=null;b&&(c=b["[NewspaperJSONVolumeInfo]"]);this.j=c;this.l=c==null?null:new on(c.tile_h,c.tile_w,c.x_win,c.y_win);this.Hc=a.sample_url||"";this.Eb= a.is_newspaper||!1;(this.ta=a.newspaper_tile_base_url)&&this.l&&pn(this.l,r(this.jv,this));this.tf=c?c.res_h:zr;this.Aa=this.Eb?"fixed_height":"fixed_width";this.Mf=a.is_pre_order||!1;this.Qo=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(yr,qn);f=yr.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=Fb(this.i,-1,this.Wd().length-1));return this.i};function Aq(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.jv=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 zr=[350,410,495,575,685,800,910,1025];function Ar(a){W.call(this);this.o=a;this.i=null}n(Ar,W);f=Ar.prototype; f.render=function(a,b){this.j=a;a=a.V();var c=Qg(a).y,d=M(a);c=c+d.height+3;d="";b&&(d=Qg(a).x);this.i=B("DIV",{"class":"linkbar-panel-div"});Kg(this.i,d,c);this.ka=B("DIV",{"class":"SPRITE_close_v2 linkbar-panel-close"});this.i.appendChild(this.ka);Id&&Ld&&!$d("1.9")&&(this.O=B("IFRAME",{style:"position: absolute;",nw:"0"}),this.o.appendChild(this.O));this.o.appendChild(this.i);this.O&&(L(this.O,M(this.i)),Kg(this.O,Mg(this.i)));U(r(this.Gl,this))}; f.Gl=function(){this.g.ha(this.ka,"click",this.dispose);this.g.ha(this.j,"action",this.wq);this.g.ha(document,"mousedown",this.vs)};f.wq=function(){Xq(this.j,16)||this.dispose()};f.vs=function(a){xf(this.i,a.target)||xf(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 Br(a,b,c){Ar.call(this,a);this.N=b;this.U=c}n(Br,Ar); Br.prototype.render=function(a,b){Ar.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.xc()); Nh(c,b);this.l.value=c.toString();U(t(Cr,this.l));this.U&&(a=new R(a.xc()),S(a,"output","embed"),this.s.value=Dr(a.toString()))};Br.prototype.Gl=function(){Ar.prototype.Gl.call(this);this.g.ha(this.l,"click",t(Cr,this.l));this.U&&this.g.ha(this.s,"click",t(Cr,this.s))};function Cr(a){a.select()}function Dr(a){return Uc('<iframe frameborder="0" scrolling="no" style="border:0px" src="%s" width=500 height=500></iframe>',a)};function Er(a,b){var c=this;this.N=a;this.j=b;this.g=sh();this.i=A("flow-top-div")?!0:!1;(new og(this)).ha(this.g,"resize",function(){var d=c.N.Da(),e=d.Bb(),g=d.Fc();c.resize();c.N.Da().ue();d=c.N.Da();e=Lj(new Kj(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 Jb(d,e));c.i&&L(c.j,new Jb(d,e))}}).ha(window,"load",this.resize)} Er.prototype.resize=function(){var a=this.g.getSize().height,b=this.g.getSize().width,c=Math.round(Qg(this.j).y);a=Math.max(0,a-c);this.N.kb(new Jb(b,a));this.i&&L(this.j,new Jb(b,a))};function Fr(){Gr(this)}function Hr(a){lg(a.g);a.g=dg(document.body,"mousedown",function(){oh(document.body,"focus-outline-enabled");Gr(a)},{capture:!0})}function Gr(a){lg(a.g);a.g=H(document.body,"keydown",function(b){b.keyCode===9&&(O(document.body,"focus-outline-enabled"),Hr(a))})};function Ir(a,b,c,d){d=d===void 0?!1:d;Bp.call(this);var e=this;this.rc=a;this.i=b;this.g=c?c:null;this.Wf(Jr(this));if(d){var g=A("ep-lb");H(this,"hide",function(){K(g,"visibility","hidden")});H(this,"beforeshow",function(){K(g,"visibility","visible");P(e.V(),"lightbox-dialog",!0)})}}n(Ir,Bp); function Jr(a){var b=B("DIV");nh(b,["popup-menu","goog-menu","goog-menu-vertical"]);Pj(b,"dialog");b.setAttribute("tabindex","-1");document.body.appendChild(b);if(a.rc!=""){var c=B("DIV",{"class":"popup-menu-header"});b.appendChild(c);var d=B("SPAN",{"class":"popup-menu-title"});G(d,a.rc);c.appendChild(d);d=B("DIV",{"class":"popup-menu-close"});Tj(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);H(d,"click",function(){a.wa(!1); a.g&&a.g()});H(d,"keydown",function(g){if(g.keyCode==32||g.keyCode==13)a.wa(!1),a.g&&a.g()});Pj(d,"button");Cf(d,!0);c.appendChild(d)}b.appendChild(a.i);return b};function Kr(a,b,c){this.g=a;this.i=b;this.O=c}u(Kr,wp);Kr.prototype.Ic=function(a,b,c){xp(this.g,this.i,a,b,void 0,c,this.O)};function Lr(a,b,c,d){Kr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(Lr,Kr);Lr.prototype.s=function(){return this.j};Lr.prototype.l=function(a){this.j=a};Lr.prototype.Ic=function(a,b,c,d){var e=xp(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Mr(e,this.i);b=Mr(e,b);e=xp(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Mr(e,g),b=Mr(e,b),xp(this.g,g,a,b,null,c,this.j,d,this.o))}};function Mr(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Nr(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;Or(this,d);Pr(this,!1)} function Or(a,b){if(a.s)a.l&&Qr(a,b);else{var c=new Ir("",a.ka,function(){});nh(c.V(),["onboarding-popup","onboarding-fixed-popup","onboarding-welcome-popup"]);Mk(c,!1);var d=A("epo-keyboard-text");x(d,z(Df(d)));var e=new Ir("",a.O,function(){});nh(e.V(),["onboarding-popup","onboarding-fixed-popup"]);Mk(e,!1);d=We("A",d)[0];d.id="ep-keyboard-link";O(d,"onboarding-link");Cf(d,!0);Rr(d,function(){a.N.mb("showkeyboardshortcuts")});if(a.j){var g=new Ir("",a.j,function(){});nh(g.V(),["onboarding-popup", "onboarding-plain-text-popup"])}d=new Ir("",a.U,function(){});nh(d.V(),["onboarding-popup","onboarding-share-popup"]);var h=A("entity-page-clip");Cp(d,5);d.setPosition(new Lr(h,4,!0));Mk(d,!1);Sr(a,c,e,g,d);Tr(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?Ur(a,g,b):d.wa(!0);break;default:d.wa(!0)}else c.wa(!0)}} function Sr(a,b,c,d,e){var g=A("epo-welcome-next");Rr(g,function(){a.i++;b.wa(!1);c.wa(!0);Pr(a,!1)});g=A("epo-keyboard-next");Rr(g,function(){a.i++;c.wa(!1);d?Ur(a,d):e.wa(!0);Pr(a,!1)});a.j&&d&&(g=A("epo-plain-text-next"),Rr(g,function(){a.i++;a.g.wa(!1);Mk(a.g,!0);d.wa(!1);e.wa(!0);Pr(a,!1)}))} function Tr(a,b,c,d,e){document.querySelectorAll(".onboarding-link").forEach(function(h){h.id!="ep-keyboard-link"&&Rr(h,function(){b.wa(!1);c.wa(!1);d&&(d.wa(!1),a.g.wa(!1),Mk(a.g,!0));e.wa(!1);Vr(a)})});var g=A("epo-done");Rr(g,function(){e.wa(!1);Vr(a)})}function Qr(a,b){var c=new Ir("",a.l,function(){});nh(c.V(),["onboarding-popup","onboarding-plain-text-popup"]);Ur(a,c,b);b=A("epo-done-only");Rr(b,function(){c.wa(!1);a.g.wa(!1);Mk(a.g,!0);Vr(a)})} function Ur(a,b,c){c!==void 0&&c||(Mk(a.g,!1),a.g.wa(!0));a=A("entity-page-more-menu-content");Cp(b,0);b.setPosition(new Lr(a,4,!0));Mk(b,!1);b.wa(!0)}function Vr(a){Pr(a,!0);a.j?jm(!0):jm(!1)}function Pr(a,b){if(a.o){var c=new R(a.o.href);b?(Xh(c,"ovso"),Xh(c,"ovsopt"),Xh(c,"op")):a.s&&a.l?S(c,"ovsopt","1"):(S(c,"ovso","1"),S(c,"op",a.i));Dc(a.o,c.toString())}}function Rr(a,b){H(a,"click",function(){b()});H(a,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||b()})};function Wr(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");Cf(this.i,!0);Pj(this.i,"link");X(this.i,"disabled",!0);Kd?(K(this.i,"width",b.getSize().width+"px"),K(this.i,"min-height",b.getSize().height+"px")):(Kg(this.i,b.Yc()),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);Tj(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=Ll(this.Ba.N.Ya(),this.j.g.Ja())){b=this.Ba.N.Va().getQuery();var c=a.lb.snippetSrc;c&&b==om(c)?Xr(this,c):(b=a.Ue(),T(b,"source")=="entity_page"?S(b,"source","entity_page_gbs_snippet"):S(b,"source","gbs_snippet"),dn(a,b,r(this.O,this)))}else Yr(this)}n(Wr,Gj);Wr.prototype.s=function(a){this.Ba.ta(a.g,void 0)};Wr.prototype.O=function(a){(a=a.lb.snippetSrc)?Xr(this,a):Yr(this)}; function Xr(a,b){of(a.o);var c=C("IMG");c.src=b;Zr(a);b=a.j.getSize().width-25;K(c,{width:b+"px"});a.o.appendChild(c)}function Zr(a){O(a.i,"sitb-result-clickable");O(a.l,"sitb-result-link");var b=Df(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 Yr(a){of(a.o);var b=C("div");O(b,"sitb-result-snippet");a.o.appendChild(b);Kd||K(b,{width:Math.floor(a.j.getSize().width*.75)+"px"});x(b,ze(Ee,a.j.g.g));b=C("div");O(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=Ll(a.Ba.N.Ya(),a.j.g.Ja());c&&c.qd()&&!jn(c,[4,8,16])&&c.l(2)?(Zr(a),x(b,z((Kd?"No image for result.":"We couldn't make an image for this result.")+" ")),a=C("span"),c=Kd||Zm()?"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. ")),Kd||(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"),Xh(b,"printsec"),a.href=b.toString()))}Wr.prototype.Ka=function(){E(this.i);this.dispose()};function $r(a){this.Ba=a}n($r,Vm);$r.prototype.render=function(a){return new Wr(this.Ba,a)};function as(a){this.g=a}n(as,ri);function bs(a,b){xo.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)),Bi(this))}n(bs,xo);bs.prototype.l=function(a){a=new as(a);var b=Math.min(this.U-16,600);a.kb(new Jb(b,Math.round(124/600*b+42)));this.Na(a)};function cs(a){var b=a.vb();K(b,"overflow","hidden");var c=new xq(this,b);cp.call(this,c);this.N=a;Kd||fp(this,new rq(this));this.g.ha(this,"move",this.Yb);var d=A("subscription-bar");d&&(this.Gk(d),U(function(){N(d,!1)},600));ep(this,ds(this));K(b,"overflow","auto");K(b,{overflowX:"auto",overflowY:"scroll"});bf(b,{dir:"ltr"})}u(cs,cp);function es(a,b){b!=a.o&&(a.o=b,fs(a))}function ds(a){var b=new tn;un(b,as,new $r(a));return b}cs.prototype.resize=function(){fs(this)}; function fs(a){var b=new bs(a.o,a.getSize().width);a.Pc(b);a.Yb()}function gs(a,b){a.ta=b};function hs(a){this.g=a||{}}hs.prototype.Bc=function(){return this.g};hs.prototype.Ub=function(a){var b=Nb(is,function(c){return c==a});this.g.v=b};hs.prototype.getQuery=function(){return this.g.q};var is={onepage:yq,twopage:vr,thumbnail:Eq,snippet:cs};function js(a){Of.call(this,"navigate");this.o=a}u(js,Of);var ks={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 ls=/^[a-zA-Z0-9-]+$/,ms={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};var ns=new WeakMap;function os(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 ps(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"+qs;var g=je("input",{type:"text",name:e,id:e,style:"display:none"});document.write(Hc(g));e=A(e)}this.s=e;this.i=c?gf(Ue(c)):window;this.O=b;this.Qa=new lj(150);Mf(this,this.Qa);this.g=!a;this.o=new og(this);if(a){if(d)var h=d;else{a="history_iframe"+qs;b=this.O;c={id:a,style:"display:none",sandbox:void 0};b&&pc(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(!ls.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 ms)if(l instanceof nc)l=pc(l).toString();else if(l instanceof qc)l=sc(l);else if(typeof l==="string")l=xc(l).toString();else throw Error("");}l=c+'="'+Xb(String(l))+'"';k+=" "+l}}h="<iframe"+k;m==null?m=[]:Array.isArray(m)||(m=[m]);ks.iframe===!0?h+=">":(m=de(m),h+=">"+Hc(m)+"</iframe>");h=Fc(h);document.write(Hc(h));h=A(a)}this.U=h;this.ka=!0}this.g?rs(this,ss(this),!0):ts(this,this.s.value);qs++}u(ps,Q);ps.prototype.Lb=!1;ps.prototype.l=!1;ps.prototype.j=null; var us=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?os:b;var e=Xa(a);return function(){var g=La.apply(0,arguments),h=this||q,k=ns.get(h);k||(k={},ns.set(h,k));return Ed(k,[this].concat(sa(g)),c,d)}}(function(){return"onhashchange"in q});f=ps.prototype;f.Bg=null;f.qa=function(){ps.na.qa.call(this);this.o.dispose();this.nb(!1)}; f.nb=function(a){a!=this.Lb&&(a?(Id&&this.o.ha(this.i,"pageshow",this.Ou),us()&&this.g?(this.o.ha(this.i,"hashchange",this.Ju),this.Lb=!0,this.dispatchEvent(new js(ss(this),!1))):(this.o.ha(this.Qa,"tick",r(this.om,this,!0)),this.Lb=!0,this.j=ss(this),this.dispatchEvent(new js(ss(this),!1)),this.Qa.start())):(this.Lb=!1,tg(this.o),this.Qa.stop()))};f.Ou=function(a){a.Mb.persisted&&(this.nb(!1),this.nb(!0))};f.Ju=function(){var a=vs(this.i);a!=this.j&&ws(this,a,!0)}; function ss(a){return a.Bg!=null?a.Bg:a.g?vs(a.i):xs(a)||""}function ys(a,b){ss(a)!=b&&(a.g?(rs(a,b,!1),a.Lb&&a.om(!1)):(ts(a,b,!1),a.Bg=a.j=a.s.value=b,a.dispatchEvent(new js(b,!1))))}function vs(a){a=a.location.href;var b=a.indexOf("#");return b<0?"":a.substring(b+1)}function rs(a,b,c){a=a.i.location;var d=a.href.split("#")[0];if(ec(a.href,"#")||b)d+="#"+b;d!=a.href&&(b=new qc(d),c?Tc(a,b):Sc(a,b))} function ts(a,b,c){if(a.ka||b!=xs(a))a.ka=!1,b=encodeURIComponent(String(b)),b=pc(a.O).toString()+"#"+b,(a=a.U.contentWindow)&&(c?Tc(a.location,b):Sc(a.location,b))}function xs(a){var b=a.U.contentWindow;if(b){try{var c=Yc(vs(b))}catch(d){return a.l||(a.l!=1&&mj(a.Qa,1E4),a.l=!0),null}a.l&&(a.l!=0&&mj(a.Qa,150),a.l=!1);return c||null}return null} f.om=function(a){if(this.g){var b=vs(this.i);b!=this.j&&ws(this,b,a)}this.g||(b=xs(this)||"",this.Bg!=null&&b!=this.Bg)||(this.Bg=null,b!=this.j&&ws(this,b,a))};function ws(a,b,c){a.j=a.s.value=b;a.g?rs(a,b):ts(a,b);a.dispatchEvent(new js(ss(a),c))}var qs=0;function zs(a,b){this.g=new ps;H(this.g,"navigate",r(this.o,this));this.N=a;this.i=b}zs.prototype.o=function(a){As(this,a.o)};function As(a,b){if(!(a.l&&b==""||a.j))if((Gd||Jd)&&b=="")window.history.go(-2);else if(b){var c={},d=new Ph(b);v(d.Td(),function(e){var g=d.get(e);g in Bs&&(g=Bs[g]);c[e]=g});b=new hs(c);a.N.Ub(is[b.g.v]||yq);$p(a.i,!!b.g.f);b.getQuery()!==void 0&&nm(a.N.Va(),b.getQuery())}} zs.prototype.nb=function(a){this.l=!0;this.g.nb(a);Gd&&(a=(new R(window.location)).i,As(this,a));this.l=!1};zs.prototype.update=function(){var a=new hs;a.Ub(this.N.O);a.g.q=this.N.Va().getQuery();a.g.f=this.i.df();a=$h(a.Bc()).toString();this.j=!0;ys(this.g,a);this.j=!1};var Bs={"true":!0,"false":!1};function Cs(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.Hc=!!d;this.tc=!!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,Ds(this,this.i),H(this.N,"searchupdate",function(){Es(k)}));this.l=!0;Fs(this);Gs(this);Hs(this);Is(this); Js(this);Ks(this);Ls(this);Ms(this);Ns(this);Os(this);new Fr;dm(Ps(this))} function Fs(a){if(a.N){var b=a.N.Ta(),c=!!b.mi;b=(b=b.Uh)&&a.N.Ya()&&!!Ll(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"),Qs(a.O,function(){var d=$e("base-image-toc-div");$e("scroll-toc-div")||d||(new qr(a.N,a.O,a.La,!!a.g)).render(8,a.i)}),H(a.N,"pagechange",function(){var d=a.N.Ca().we()||"Contents";a.Ha&&x(a.Ha,z(d))})):(G(a.Ha,"Contents unavailable"),nh(a.O,["toolbar-button-disabled","toc-button-unavailable"]),X(a.O,"disabled",!0))}else G(a.Ha, "Contents unavailable"),nh(a.O,["toolbar-button-disabled","toc-button-unavailable"]),X(a.O,"disabled",!0)}function Gs(a){a.ka&&(a.N&&(Qs(a.ya,function(){a.ya.hasAttribute("href")||a.N.mb("previous")}),Qs(a.ta,function(){a.ta.hasAttribute("href")||a.N.mb("next")})),a.ya.setAttribute("title","Previous Page"),a.ta.setAttribute("title","Next Page"))} function Hs(a){Qs(a.Ea,function(){a.g?Rs(a):a.N&&a.N.mb("zoomin")});Qs(a.Ga,function(){a.g?Ss(a):a.N&&a.N.mb("zoomout")});a.g&&H(document.body,"keydown",function(b){b.keyCode==107||b.keyCode==187||b.keyCode==61?Rs(a):(b.keyCode==109||b.keyCode==189||b.keyCode==173)&&Ss(a)});a.Ea.setAttribute("title","Zoom in");a.Ga.setAttribute("title","Zoom out")} function Is(a){Qs(a.ma,function(){Ts(a,yq)});a.ma.setAttribute("title","Single page view");a.Hc?(Qs(a.s,function(){Ts(a,vr)}),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.tc?(Qs(a.o,function(){Ts(a,Eq)}),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&&(H(a.N,"viewportmodechange", function(){Us(a)}),Us(a))} function Js(a){var b=(new up(a.Eb)).V();A("entity-page-share-copy-container").appendChild(b);b=(new up(a.kd)).V();A("entity-page-embed-copy-container").appendChild(b);var c=new Ir("Link to this result",a.Cd,function(){a.U.focus()});Cp(c,5);c.setPosition(new Lr(a.U,4,!0));c.wa(!1);var d=new R(a.Eb.value);Qs(a.U,function(){if(c.Me||Date.now()-c.Xi<150)c.wa(!1);else{c.wa(!0);c.V().focus();if(a.N){Vs(a,d);a.g&&S(d,"bksoutput","text");var e=a.N.Va().getQuery();e?a.N.O==cs?(Xh(d,"dq"),Xh(d,"pg"),S(d,"bsq", e)):(Xh(d,"bsq"),S(d,"dq",e)):(Xh(d,"bsq"),Xh(d,"dq"))}else(e=Hc(ze(Ee,(new R(window.location.href)).i)).toString())&&S(d,"bsq",e);a.Eb.value=d.toString();a.N&&(e=new R(a.N.Ca().xc()),Xh(e,"source"),S(e,"output","embed"),a.kd.value=Dr(e.toString()))}});a.U.setAttribute("title","Link to this result")} function Ks(a){if(a.Aa){var b=A("entity-page-selection-bar"),c=A("entity-page-exit-selection"),d=A("entity-page-toolbar");Qs(a.j,function(){a.jd=!a.jd;a.Aa(!0);P(b,"menu-hidden",!1);c.focus();X(d,"hidden",!0)});Qs(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 Ls(a){Ws(a);Xs(a);Ys(a);var b=new Ir("",a.Dd,function(){a.oa.focus()});Cp(b,4);b.setPosition(new Lr(a.oa,5,!0));O(b.V(),"more-actions-popup");b.wa(!1);Zs(a,b);var c=A("entity-page-toggle-viewport-mode-link");c&&a.Fb&&(b.wa(!0),c.focus());Qs(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);Vs(a,e);a.g&&(Xh(e,"zoom"),Xh(e,"num"),Xh(e,"scoring"));Xh(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 Xh(e,"dq");Dc(c,e.toString())}});a.oa.setAttribute("title","More actions menu");H(b,"show",function(){a.Wa=!0;a.l=!0;$s(a)});H(b,"hide",function(){a.Wa=!1;a.l=!1;at(a)});if(a.La.showViewportOnboarding||a.La.showViewportPlainTextOnboarding){var d=Number(T(new R(window.location.href),"op"));new Nr(b,a.N,!!a.La.showViewportPlainTextOnboarding, a.Fb,d?d:0)}}function Zs(a,b){var c=A("entity-page-store"),d=A("gb-mobile-buy-section");if(c&&d&&(d=af("TABLE","gb-mobile-buy-table",d))){var e=new Ir("",d,function(){a.oa.focus()});Cp(e,0);e.setPosition(new Lr(c,4,!0));O(e.V(),"buy-table-popup");e.wa(!1);Qs(c,function(){e.wa(!0);e.V().focus()},!0);b.V().querySelectorAll(".more-actions-menu-link").forEach(function(g){g!=c&&H(g,"mouseenter",function(){e.wa(!1)})});H(e.V(),"mouseleave",function(){e.wa(!1)})}} function Ms(a){var b=A("ep-keyboard-shortcuts");if(b&&a.N){var c=new Ir("",b,function(){},!0);O(c.V(),"keyboard-shortcuts-popup");b=A("ep-keyboard-close");Qs(b,function(){c.wa(!1)});H(a.N,"keyboardshortcutsopened",function(){c.wa(!0)})}}function Ys(a){var b=A("entity-page-keyboard");b&&a.N&&Qs(b,function(){a.N.mb("showkeyboardshortcuts")})}function Xs(a){var b=A("entity-page-copyright-page-id");if(b&&a.N){var c=A("entity-page-copyright");b=Df(b);var d=Ll(a.N.Ya(),b);Qs(c,function(){a.N.hb(d)})}} function Ws(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);Qs(b,function(){P(b,"checked",!c);X(b,"pressed",!c)})}} function Us(a){a.N.O==yq?(bt(a,!0),ct(a,!0),dt(a,!0),et(a,!0),ft(a,!0),X(a.ma,"current","true"),X(a.s,"current","false"),X(a.o,"current","false")):a.N.O==vr?(bt(a,!0),ct(a,!0),dt(a,!0),et(a,!0),ft(a,!0),X(a.ma,"current","false"),X(a.s,"current","true"),X(a.o,"current","false")):a.N.O==Eq?(bt(a,!0),ct(a,!1),dt(a,!0),et(a,!0),ft(a,!1),X(a.ma,"current","false"),X(a.s,"current","false"),X(a.o,"current","true")):(bt(a,!1),ct(a,!1),dt(a,!1),et(a,!1),ft(a,!1));var b=a.N.O;a.ka&&b!=cs&&!a.g&&(P(a.ka,"one-page-view", b==yq),P(a.Fa,"one-page-view",b==yq),P(a.ka,"two-page-view",b==vr),P(a.Fa,"two-page-view",b==vr),P(a.ka,"thumbnail-view",b==Eq),P(a.Fa,"thumbnail-view",b==Eq))}function Ts(a,b){a.N&&a.N.O!=b&&(a.N.Ub(b),!a.N.Va().getQuery()&&a.Ib&&a.Ib.update())}function bt(a,b){P(a.ma,"toolbar-button-disabled",!b);X(a.ma,"disabled",!b);a.Hc&&(P(a.s,"toolbar-button-disabled",!b),X(a.s,"disabled",!b));a.tc&&(P(a.o,"toolbar-button-disabled",!b),X(a.o,"disabled",!b))} function ct(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 dt(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 et(a,b){a.Jb&&(P(a.O,"toolbar-button-disabled",!b),X(a.O,"disabled",!b))}function ft(a,b){a.Aa&&(P(a.j,"toolbar-button-disabled",!b),X(a.j,"disabled",!b))}function Vs(a,b){a=new R(a.N.Ca().xc());S(b,"pg",T(a,"pg"))} function Rs(a){a.i<5&&(a.i+=1,Ds(a,a.i))}function Ss(a){a.i>1&&(--a.i,Ds(a,a.i))}function Ds(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);Es(a)} function Es(a){var b=a.ya,c=new R(b.href);gt(a,c);Dc(b,c.toString());b=a.ta;c=new R(b.href);gt(a,c);Dc(b,c.toString());b=A("text-viewport-prev");c=new R(b.href);gt(a,c);Dc(b,c.toString());b=A("text-viewport-next");c=new R(b.href);gt(a,c);Dc(b,c.toString());if(b=A("entity-page-copyright"))c=new R(b.href),gt(a,c),Dc(b,c.toString());if(b=A("search-result-prev"))c=S(new R(b.href),"zoom",a.i),Dc(b,c.toString());if(b=A("search-result-next"))a=S(new R(b.href),"zoom",a.i),Dc(b,a.toString())} function gt(a,b){S(b,"zoom",a.i);Xh(b,"q");(a=a.N.Va().getQuery())?S(b,"dq",a):Xh(Xh(Xh(b,"dq"),"num"),"scoring")}function Qs(a,b,c){c=c===void 0?!1:c;H(a,"click",function(){b()});H(a,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b()});c&&H(a,"mouseover",function(){b()})} function Ns(a){function b(c){P(document.body,"opaque-background",!0);a.l=!1;c&&at(a)}a.Fb?b(!0):(a.N&&(dg(a.N.Da(),"move",function(){b(!0)}),dg(a.N.vb(),"click",function(){b(!0)})),dg(document.body,"click",function(){b(!a.g)}),dg(document.body,"keydown",function(c){c.keyCode!=27&&b(!a.g)}))} function Os(a){a.N&&(a.g?H(window,"resize",function(){at(a)}):(H(a.N,"viewportmodechange",function(){at(a)}),H(a.N,"resize",function(){at(a)}),H(a.N,"zoomchange",function(){at(a)})),H(a.Ua,"mouseenter",function(){a.l=!0;$s(a)}),H(a.Ua,"mouseleave",function(){a.l=!1;at(a)}),document.body.querySelectorAll(".floating-button-group").forEach(function(b){H(b,"mouseenter",function(){a.l=!0;$s(a)});H(b,"mouseleave",function(){a.l=!1;at(a)});H(b,"focusin",function(){a.l=!0;$s(a)});H(b,"focusout",function(){a.l= !1;at(a)})}))}function at(a){a.l||a.Wa||($s(a),ht(a)&&(a.Zb=U(function(){it(a,!1);P(a.Ua,"listen-for-hover",!0)},3E3)))}function ht(a){if(!a.N||a.N.O==cs)return!1;var b=a.Fa.getBoundingClientRect();if(a.g)return a=a.g.getBoundingClientRect(),oj()?a.right-54>=b.left:a.left+54<=b.right;a=$e("scroll-background");if(!a)return!1;a=uf(a);if(!a)return!1;a=a.getBoundingClientRect();return oj()?a.right>=b.left:a.left<=b.right}function $s(a){it(a,!0);P(a.Ua,"listen-for-hover",!1);a.Zb&&nj(a.Zb)} function it(a,b){P(a.Fa,"floating-button-group-hidden",!b);a.ka&&P(a.ka,"floating-button-group-hidden",!b)}function Ps(a){return{focusSearch:function(){A("search_form_input").focus()},updateSearch:function(b){nm(a.N.Va(),b);a.Ib&&a.Ib.update()},goToPage:function(b){b&&a.N.wd(b)}}};function jt(a,b){this.g=a;this.l=b}function kt(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);Tj(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 lt(a){this.g=a}Sa(lt);function mt(a,b){a&&(a.tabIndex=b?0:-1)}f=lt.prototype;f.Lj=function(a){return a.tagName=="DIV"};function nt(a,b,c){c.id&&b.Fg(c.id);var d=a.fg(),e=!1,g=kh(c);g&&Array.prototype.forEach.call(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.nb(!1):h==d+"-horizontal"?ot(b,"horizontal"):h==d+"-vertical"&&ot(b,"vertical"))},a);e||O(c,d);pt(a,b,c);return c} function pt(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),Dk(g,d))}else d.nodeValue&&Wb(d.nodeValue)!=""||c.removeChild(d);d=e}}f.nh=function(a){a:{a=kh(a);for(var b=a.length,c=0;c<b;c++){var d=a[c];if(d=d in dr?dr[d]():null){a=d;break a}}a=null}return a};f.Mj=function(a){a=a.V();dh(a,!0,Id);var b=this.g;b&&Pj(a,b)};f.fg=function(){return"goog-container"};f.Sn=function(){return"vertical"};function qt(a,b,c){Y.call(this,c);this.Oe=b||lt.Hb();this.Lf=a||this.Oe.Sn()}u(qt,Y);f=qt.prototype;f.fl=null;f.wf=null;f.Oe=null;f.Lf=null;f.ke=!0;f.Lb=!0;f.qg=!0;f.Wb=-1;f.Xb=null;f.Yd=!1;f.qe=null;function rt(a){return a.fl||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=nt(this.Oe,this,a);a.style.display=="none"&&(this.ke=!1)};f.Ia=function(){qt.na.Ia.call(this);Ek(this,function(b){b.Ra&&st(this,b)},this);var a=this.V();this.Oe.Mj(this);this.wa(this.ke,!0);Z(this).ha(this,"enter",this.Pk).ha(this,"highlight",this.yq).ha(this,"unhighlight",this.Aq).ha(this,"open",this.zt).ha(this,"close",this.xq).ha(a,br.Yg,this.zq).ha(Ue(a),[br.Zg,br.Xg],this.Zs).ha(a,[br.Yg,br.Zg,br.Xg,"mouseover","mouseout","contextmenu"],this.Us);this.qg&&tt(this,!0)}; function tt(a,b){var c=Z(a),d=rt(a);b?c.ha(d,"focus",a.oi).ha(d,"blur",a.ni).ha(a.wf||(a.wf=new Jq(rt(a))),"key",a.Lc):c.Sa(d,"focus",a.oi).Sa(d,"blur",a.ni).Sa(a.wf||(a.wf=new Jq(rt(a))),"key",a.Lc)}f.bc=function(){this.Od(-1);this.Xb&&this.Xb.Nb(!1);this.Yd=!1;qt.na.bc.call(this)};f.qa=function(){qt.na.qa.call(this);this.wf&&(this.wf.dispose(),this.wf=null);this.Oe=this.Xb=this.qe=this.fl=null};f.Pk=function(){return!0}; f.yq=function(a){var b=Ik(this,a.target);if(b>-1&&b!=this.Wb){var c=ut(this);c&&c.Oc(!1);this.Wb=b;c=ut(this);this.Yd&&kr(c,!0);this.Xb&&c!=this.Xb&&(Wq(c,64)?c.Nb(!0):this.Xb.Nb(!1))}b=this.V();a.target.V()!=null&&X(b,"activedescendant",a.target.V().id)};f.Aq=function(a){a.target==ut(this)&&(this.Wb=-1);this.V().removeAttribute("aria-activedescendant")};f.zt=function(a){(a=a.target)&&a!=this.Xb&&a.getParent()==this&&(this.Xb&&this.Xb.Nb(!1),this.Xb=a)}; f.xq=function(a){a.target==this.Xb&&(this.Xb=null);var b=this.V(),c=a.target.V();b&&Xq(a.target,2)&&c&&Sj(b,c)};f.zq=function(a){this.Lb&&(this.Yd=!0);var b=rt(this);b&&Af(b)?b.focus():a.preventDefault()};f.Zs=function(){this.Yd=!1}; f.Us=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 br.Yg:b.vf(a);break;case br.Zg:case br.Xg:b.ze(a);break;case "mouseover":b.ye(a);break;case "mouseout":b.Rk(a);break;case "contextmenu":b.xh(a)}};f.oi=function(){};f.ni=function(){this.Od(-1);this.Yd=!1;this.Xb&&this.Xb.Nb(!1)}; f.Lc=function(a){return this.isEnabled()&&this.isVisible()&&(Fk(this)!=0||this.fl)&&this.Xd(a)?(a.preventDefault(),a.stopPropagation(),!0):!1}; f.Xd=function(a){var b=ut(this);if(b&&typeof b.Lc=="function"&&b.Lc(a)||this.Xb&&this.Xb!=b&&typeof this.Xb.Lc=="function"&&this.Xb.Lc(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.qg)rt(this).blur();else return!1;break;case 36:vt(this);break;case 35:wt(this);break;case 38:if(this.Lf=="vertical")xt(this);else return!1;break;case 37:if(this.Lf=="horizontal")Hk(this)?yt(this):xt(this);else return!1;break;case 40:if(this.Lf=="vertical")yt(this); else return!1;break;case 39:if(this.Lf=="horizontal")Hk(this)?xt(this):yt(this);else return!1;break;default:return!1}return!0};function st(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){qt.na.Xa.call(this,a,b)}; f.jg=function(a,b,c){a.Rh|=2;a.Rh|=64;a.Tb(32,!1);gr(a,!1);var d=a.getParent()==this?Ik(this,a):-1;qt.na.jg.call(this,a,b,c);a.Ra&&this.Ra&&st(this,a);a=d;a==-1&&(a=Fk(this));a==this.Wb?this.Wb=Math.min(Fk(this)-1,b):a>this.Wb&&b<=this.Wb?this.Wb++:a<this.Wb&&b>this.Wb&&this.Wb--}; f.removeChild=function(a,b){if(a=typeof a==="string"?Bk(this,a):a){var c=Ik(this,a);c!=-1&&(c==this.Wb?(a.Oc(!1),this.Wb=-1):c<this.Wb&&this.Wb--);var d=a.V();d&&d.id&&this.qe&&(c=this.qe,d=d.id,d in c&&delete c[d])}a=qt.na.removeChild.call(this,a,b);gr(a,!0);return a};function ot(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&&mt(rt(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,Ek(this,function(b){b.Kp?delete b.Kp:b.nb(!0)})):(Ek(this,function(b){b.isEnabled()?b.nb(!1):b.Kp=!0}),this.Yd=this.Lb=!1),this.qg&&mt(rt(this),a&&this.ke))}; function zt(a,b){b!=a.qg&&a.Ra&&tt(a,b);a.qg=b;a.Lb&&a.ke&&mt(rt(a),b)}f.Od=function(a){(a=Gk(this,a))?a.Oc(!0):this.Wb>-1&&ut(this).Oc(!1)};f.Oc=function(a){this.Od(Ik(this,a))};function ut(a){return Gk(a,a.Wb)}function vt(a){At(a,function(b,c){return(b+1)%c},Fk(a)-1)}function wt(a){At(a,function(b,c){b--;return b<0?c-1:b},0)}function yt(a){At(a,function(b,c){return(b+1)%c},a.Wb)}function xt(a){At(a,function(b,c){b--;return b<0?c-1:b},a.Wb)} function At(a,b,c){c=c<0?Ik(a,a.Xb):c;var d=Fk(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=Gk(a,c);if(g&&a.zn(g)){a.Od(c);break}e++;c=b.call(a,c,d)}}f.zn=function(a){return a.isVisible()&&a.isEnabled()&&Wq(a,2)};function Bt(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 qt,Dk(this.i,a),this.o=c,this.U=d,Dk(this,b),this.i.wa(!1))}n(Bt,Y);Bt.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()})}; Bt.prototype.l=function(){if(this.i.isVisible()){this.i.wa(!1);oh(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(), Ct(this)};function Ct(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 Dt(a){this.ad=ko(a)}n(Dt,so);f=Dt.prototype;f.getEnableSsEngine=function(){return qo(this,2)};f.getEnableAwr=function(){return qo(this,3)};f.getAlohaAutoGaRollout=function(){return qo(this,5)};f.getEnableConfigurator=function(){return qo(this,6)};f.getEnableMweb=function(){return qo(this,7)};f.getEnableCtlConsentCheckbox=function(){return qo(this,8)};f.getEnableIframe=function(){return qo(this,9)};f.getEnableScreenshotNudge=function(){return qo(this,10)}; f.getEnableWebStartupConfigEndpoint=function(){return qo(this,11)};f.getEnableJunkNudge=function(){return qo(this,12)};f.getEnableConfiguratorLocale=function(){return qo(this,13)};f.getEnableTinyNoPointer=function(){return qo(this,14)};f.getEnableSupportSessionLogging=function(){return qo(this,15)};f.getEnableFileUploadForScreenshot=function(){return qo(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return qo(this,17)};f.getEnableImageSanitization=function(){return qo(this,18)}; f.getEnableAlohaBinarySplit=function(){return qo(this,19)};f.getEnableDbFeedbackIntents=function(){return qo(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return qo(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return qo(this,22)};f.getEnableRealtimeCtl=function(){return qo(this,23)};function Et(a){this.ad=ko(a)}n(Et,so);function Ft(a){return Gt.some(function(b){return b.test(a)})}var Gt=[/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 Ht="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 It=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Jt=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]); function Kt(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&Ht.includes(d)?d:c&&Ht.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))?Je(It,a):Je(Jt,a,d)};var Lt,Mt;function Nt(a,b,c,d){if(Lt)return Lt;var e=Kt(a,d);return Lt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Lc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})} function Ot(a,b,c,d){if(Mt)return Mt;var e=Kt(a,d);return Mt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Lc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})} function Pt(a,b,c,d,e){e=e===void 0?!0:e;var g,h,k,l,m;return Ka(function(p){switch(p.g){case 1:return g=Date.now(),Aa(p,Nt(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 Qt(a,b,c,d){var e,g,h;return Ka(function(k){if(k.g==1)return e=Date.now(),Aa(k,Ot(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 Rt(a,b,c){var d=!0;d=d===void 0?!0:d;var e,g,h,k,l,m,p,y,D,I;return Ka(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(Qt(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||{};I=a.callbacks.onClose||function(){};a.callbacks.onClose=function(J){y.isFormOpened=!1;I(J)};try{return F.return(Pt(a,b,y,e.document,d))}catch(J){throw y.isFormOpened=!1,J;}}F.g=0})};function St(a,b){return Ka(function(c){return c.return(new Promise(function(d){var e=Tt(b!=null?b:"")+"/aloha_form_properties?productId="+a;ii(e,function(g){g=g.target;var h=null;try{var k=JSON.stringify(qi(g,")]}'\n"));if(k==null||k=="")h=new Et;else{var l=JSON.parse(k);if(!Array.isArray(l))throw Error("dnarr");Vn(l,32);h=new Et(l)}}catch(m){k=new Et;l=new Dt;l=ro(l,5,!0);l=ro(l,2,!0);l=ro(l,4,!1);l=ro(l,8,!0);l=ro(l,9,!0);l=ro(l,7,!0);l=ro(l,10,!0);l=ro(l,12,!0);l=ro(l,13,!1);l=ro(l,14,!0);l=ro(l, 15,!0);l=ro(l,20,!1);l==null&&(l=void 0);g=k.ad;h=g[Sn]|0;if(h&2)throw Error();po(g,h,1,l);h=k}d(h)},"GET","",{},2E3,!0)}))})}function Tt(a){return Ft(a)?a:"https://www.google.com/tools/feedback"};function Ut(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||q,e=d.document,g=a.nonce||Jc("script",d.document);g&&!a.nonce&&(a.nonce=g);if(a.flow=="help"){var h=Ra("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||Wa(b)||(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=Jf(Se(e),"SCRIPT");g&&a.setAttribute("nonce",g);Lc(a,oc(d));e.body.appendChild(a)}} function Vt(a,b,c,d){var e,g;Ka(function(h){e=c||q;var k=a.serverEnvironment==="DEV",l=c||q;l=a.nonce||Jc("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,Gw: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,Rt(g,d,e),0)})} function Wt(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,"");Ic(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Ut(a,b,c):St(a.productId,a.feedbackServerUri).then(function(e){var g=e.ad;var h=g[Sn]|0,k=oo(g,h,1,!1);if(k!=null&&typeof k==="object"&&k.nl===Zn)var l=k;else if(Array.isArray(k)){var m=l=k[Sn]|0;m===0&&(m|=h&32);m|=h&2;m!==l&&Wn(k,m);l=new Dt(k)}else l=void 0;l!==k&&l!=null&&po(g,h,1,l);g=l;g!=null&&(e=e.ad,h=e[Sn]|0,h&2||(k=g,l=k.ad,m=l[Sn]|0,k= m&2?new k.constructor(mo(l,m,!1)):k,k!==g&&(g=k,po(e,h,1,g))));e=g;g=!Kd||(e==null?void 0:e.getEnableMweb());h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?Vt(a,b,c,e):Ut(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Ut(a,b,c)})}catch(e){Vt(a,b,c,null)}}db("userfeedback.api.startFeedback",Wt);function Xt(a,b,c){Y.call(this);if(this.j=A("gb-mobile-appbar-back-button"))Z(this).ha(this.j,"click",this.l),Yt(this);(this.i=A("gb-mobile-appbar-more"))&&Zt(this);var d=A("gb-mobile-appbar-search-button");d&&b&&(H(d,"click",function(){$t(b,c)}),H(d,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||$t(b,c)}));new Bt(a)}n(Xt,Y); function Zt(a){var b=A("gb-mobile-more-menu");if(b){var c=new Bp(b);Cp(c,4);c.setPosition(new Lr(a.i,4));c.wa(!1);H(a.i,"click",function(){au(b,c)});H(a.i,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||au(b,c)})}else E(a.i)}function au(a,b){oh(a,"more-menu-hidden");b.wa(!0);b.V().focus();a=Ze("more-menu-link");for(var c=0;c<a.length;c++)H(a[c],"click",function(){b.wa(!1)}),H(a[c],"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b.wa(!1)})} function $t(a,b){var c=A("gb-mobile-search"),d=ah(c);N(c,!d);d?a.blur():a.focus();b&&b.resize()}Xt.prototype.l=function(){window.history.back();Od&&Zj&&window.history.length==1&&window.close()};function Yt(a){Sd&&ec(nd(),"GSA")&&(O(a.j,"igsa-hide"),a=a.g.V("gb-mobile-appbar-logo"),O(a,"igsa-shift"))}db("_OC_startFeedback",Wt);function bu(a){Q.call(this);a=a||Se();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?gf(a.contentDocument):null);break a}catch(c){}b=null}this.i=b;Id&&(b=this.i.document,b.open(),b.close());H(this.i,"resize",this.j,!1,this);this.l=this.g.offsetWidth}u(bu,Q); bu.prototype.qa=function(){bu.na.qa.call(this);kg(this.i,"resize",this.j,!1,this);this.i=null;E(this.g);delete this.g};bu.prototype.j=function(){var a=this.g.offsetWidth;this.l!=a&&(this.l=a,this.dispatchEvent("fontsizechange"))};function cu(a){this.i=a;a=r(this.j,this);this.g=new rh;H(this.g,"resize",a);var b=new bu;H(b,"fontsizechange",a);H(window,"DOMContentLoaded",r(this.resize,this))}cu.prototype.j=function(){this.resize();U(r(this.resize,this),100)};cu.prototype.resize=function(){var a=this.g.getSize(),b=Math.round(Qg(this.i).y);this.i.style.height=a.height-b+"px"};function du(a){var b=null;if(a=A(a))b=new cu(a),b.resize();return b};function eu(a,b){Y.call(this,b);this.j=a}u(eu,Y);eu.prototype.i="info";eu.prototype.l=!1;var fu={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};eu.prototype.getType=function(){return this.i};function gu(a,b){if(a.Gb()){var c=a.V(),d=fu[b];oh(c,fu[a.i]);O(c,d)}a.i=b}function hu(a,b){a.j=b;if(b=a.V()){var c=a.g;c.bm(b);c.Zl(b,a.j)}}eu.prototype.isVisible=function(){var a=this.V();return a!=null&&mh(a,"jfk-butterBar-shown")}; eu.prototype.wa=function(a){P(this.V(),"jfk-butterBar-shown",a)};function iu(a,b){a.l=b;(b=a.V())&&P(b,"jfk-butterBar-mini",a.l)}eu.prototype.Oa=function(){this.ua=this.g.Ma("DIV","jfk-butterBar");var a=this.V();a&&(X(a,"live","assertive"),X(a,"atomic","true"));hu(this,this.j);iu(this,this.l);gu(this,this.i)};function ju(a,b){Y.call(this,b);this.i=a||""}var ku;u(ju,Y);f=ju.prototype;f.Sd=null;function lu(){ku==null&&(ku="placeholder"in C("INPUT"));return ku}f.yh=!1;f.Oa=function(){this.ua=this.g.Ma("INPUT",{type:"text"})};f.Kb=function(a){ju.na.Kb.call(this,a);this.i||(this.i=a.getAttribute("label")||"");If(Ue(a))==a&&(this.yh=!0,a=this.V(),oh(a,"label-input-label"));lu()&&(this.V().placeholder=this.i);a=this.V();X(a,"label",this.i)}; f.Ia=function(){ju.na.Ia.call(this);var a=new og(this);a.ha(this.V(),"focus",this.bo);a.ha(this.V(),"blur",this.Ss);if(lu())this.j=a;else{Id&&a.ha(this.V(),["keypress","keydown","keyup"],this.ht);var b=Ue(this.V());a.ha(gf(b),"load",this.Pt);this.j=a;mu(this)}nu(this);this.V().ka=this};f.bc=function(){ju.na.bc.call(this);this.j&&(this.j.dispose(),this.j=null);this.V().ka=null};function mu(a){!a.l&&a.j&&a.V().form&&(a.j.ha(a.V().form,"submit",a.lt),a.l=!0)} f.qa=function(){ju.na.qa.call(this);this.j&&(this.j.dispose(),this.j=null)};f.bo=function(){this.yh=!0;var a=this.V();oh(a,"label-input-label");lu()||ou(this)||this.o||!this.V()||(this.V().value="")};f.Ss=function(){lu()||(this.j.Sa(this.V(),"click",this.bo),this.Sd=null);this.yh=!1;nu(this)};f.ht=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.lt=function(){ou(this)||(this.V().value="",U(this.Ps,10,this))};f.Ps=function(){ou(this)||(this.V().value=this.i)};f.Pt=function(){nu(this)};function ou(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(){ou(this)&&(this.clear(),nu(this))};f.qc=function(a){this.Sd!=null&&(this.Sd=a);this.V().value=a;nu(this)};f.ub=function(){return this.Sd!=null?this.Sd:ou(this)?this.V().value:""};f.we=function(){return this.i}; function nu(a){var b=a.V();lu()?a.V().placeholder!=a.i&&(a.V().placeholder=a.i):mu(a);X(b,"label",a.i);ou(a)?(a=a.V(),oh(a,"label-input-label")):(a.o||a.yh||(b=a.V(),O(b,"label-input-label")),lu()||U(a.hv,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.hv=function(){!this.V()||ou(this)||this.yh||(this.V().value=this.i)};function pu(a,b,c){ju.call(this,c!=null?c:"Search in this book");this.Kb(a);this.Ia();b&&this.qc(b)}n(pu,ju);function qu(a,b,c){this.o=a;this.j=b;this.s=c;this.g=A("text-viewport-snippet-container");this.i=$e("html-div")} function ru(a){of(a.g);a.o.tb.forEach(function(b,c){var d=Ll(a.s,b.Ja());var e=new jt(b,d?d:null);if(e.g.g){var g=kt(e,!0),h=C("DIV");O(h,"sitb-snippet-text");x(h,ze(Ee,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(Nh(Xh(Xh(new R(window.location.href),"jtp"),"q"),""),"pg",b.Ja()),"dq",ad(jq(a.o))),"num",c),"scoring",a.j),Dc(g,b.toString())):(Cf(g,!0),Pj(g,"link"),X(g,"disabled",!0)),g.appendChild(e),a.g.appendChild(g))})} function su(a,b){a=Kd?A("viewport"):a.i;P(document.body,"text-viewport-snippet-view",b);P(a,"exit-search-view",!b);b&&(a.scrollTop=0)};function tu(a,b){this.g=a instanceof w?a:new w(a,b)}u(tu,wp);tu.prototype.Ic=function(a,b,c,d){Ap(this.g,a,b,c,null,null,d)};function uu(a,b){this.g=a instanceof w?a:new w(a,b)}u(uu,wp);uu.prototype.Ic=function(a,b,c,d){xp((a?Ue(a):document).documentElement,0,a,b,this.g,c,null,d)};function vu(a,b,c){this.l=c||(a?Se(A(a)):Se());Bp.call(this,this.l.Ma("DIV",{style:"position:absolute;display:none;"}));this.s=new w(1,1);this.Vb=new Set;this.O=null;a&&this.attach(a);b!=null&&this.mp(b)}u(vu,Bp);var wu=[];f=vu.prototype;f.Rb=null;f.className="goog-tooltip";f.Hg=500;f.Ah=0;f.attach=function(a){a=A(a);this.Vb.add(a);H(a,"mouseover",this.ye,!1,this);H(a,"mouseout",this.Ni,!1,this);H(a,"mousemove",this.zg,!1,this);H(a,"focus",this.rm,!1,this);H(a,"blur",this.Ni,!1,this)}; function xu(a){a.Vb.forEach(function(b){kg(b,"mouseover",a.ye,!1,a);kg(b,"mouseout",a.Ni,!1,a);kg(b,"mousemove",a.zg,!1,a);kg(b,"focus",a.rm,!1,a);kg(b,"blur",a.Ni,!1,a)});a.Vb.clear()}f.Nk=function(){return this.Ah};f.mp=function(a){G(this.V(),a)};f.El=function(a){var b=this.V();b&&x(b,a)}; f.Wf=function(a){var b=this.V();b&&E(b);vu.na.Wf.call(this,a);a?(b=this.l.g.body,b.insertBefore(a,b.lastChild),Kf(this.O),this.O=new wk(this.V()),Mf(this,this.O),H(this.O,"focusin",this.lg,void 0,this),H(this.O,"focusout",this.Ph,void 0,this)):(Kf(this.O),this.O=null)};function yu(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=Qg(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.vl=function(){if(!Kk.prototype.vl.call(this))return!1;if(this.g)for(var a,b=0;a=wu[b];b++)xf(a.V(),this.g)||a.wa(!1);rb(wu,this);a=this.V();a.className=this.className;this.lg();H(a,"mouseover",this.Tk,!1,this);H(a,"mouseout",this.io,!1,this);zu(this);return!0};f.Ng=function(){sb(wu,this);for(var a=this.V(),b,c=0;b=wu[c];c++)b.g&&xf(a,b.g)&&b.wa(!1);this.Wa&&this.Wa.Ph();kg(a,"mouseover",this.Tk,!1,this);kg(a,"mouseout",this.io,!1,this);this.g=void 0;yu(this)==0&&(this.La=!1);Kk.prototype.Ng.call(this)}; f.Fh=function(a,b){this.g==a&&this.Vb.has(this.g)&&(this.La||!this.tc?(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.Do=function(a){this.ma=void 0;if(a==this.g){a=this.l;var b;a=(b=If(a.g))&&this.V()&&a.am(this.V(),b);this.Rb!=null&&(this.Rb==this.V()||this.Vb.has(this.Rb))||a||this.ka&&this.ka.Rb||this.wa(!1)}};function Au(a,b){var c=ef(a.l.g);a.s.x=b.clientX+c.x;a.s.y=b.clientY+c.y} f.ye=function(a){var b=Bu(this,a.target);this.Rb=b;this.lg();b!=this.g&&(this.g=b,this.uj(b),Cu(this),Au(this,a))};function Bu(a,b){try{for(;b&&!a.Vb.has(b);)b=b.parentNode;return b}catch(c){return null}}f.zg=function(a){Au(this,a);this.La=!0};f.rm=function(a){this.Rb=a=Bu(this,a.target);this.La=!0;if(this.g!=a){this.g=a;var b=this.Ii(1);this.lg();this.uj(a,b);Cu(this)}};f.Ii=function(a){return a==0?(a=this.s.clone(),new Du(a)):new Eu(this.Rb)}; function Cu(a){if(a.g)for(var b,c=0;b=wu[c];c++)xf(b.V(),a.g)&&(b.ka=a,a.Wa=b)}f.Ni=function(a){var b=Bu(this,a.target),c=Bu(this,a.relatedTarget);b!=c&&(b==this.Rb&&(this.Rb=null),zu(this),this.La=!1,!this.isVisible()||a.relatedTarget&&xf(this.V(),a.relatedTarget)?this.g=void 0:this.Ph())};f.Tk=function(){var a=this.V();this.Rb!=a&&(this.lg(),this.Rb=a)};f.io=function(a){var b=this.V();this.Rb!=b||a.relatedTarget&&xf(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 zu(a){a.Aa&&(nj(a.Aa),a.Aa=void 0)}f.Ph=function(){yu(this)==2&&(this.ma=U(r(this.Do,this,this.g),this.Nk()))};f.lg=function(){this.ma&&(nj(this.ma),this.ma=void 0)};f.qa=function(){this.wa(!1);zu(this);xu(this);this.V()&&E(this.V());this.Rb=null;delete this.l;vu.na.qa.call(this)};function Du(a,b){uu.call(this,a,b)}u(Du,uu); Du.prototype.Ic=function(a,b,c){b=Pg((a?Ue(a):document).documentElement);c=c?new ug(c.top+10,c.right,c.bottom,c.left+10):new ug(10,0,0,10);Ap(this.g,a,8,c,b,9)&496&&Ap(this.g,a,8,c,b,5)};function Eu(a){Kr.call(this,a,5)}u(Eu,Kr);Eu.prototype.Ic=function(a,b,c){var d=new w(10,0);xp(this.g,this.i,a,b,d,c,9)&496&&xp(this.g,4,a,1,d,c,5)};function Fu(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 Gu(this.ne,b);H(this.ne,"click",r(this.dispatchEvent,this,"click"));H(this.g.V(),"click",r(this.dispatchEvent,this,"click"));H(this.ne,"mouseover",r(this.i,this,!0));H(this.ne,"mouseout",r(this.i,this,!1))}n(Fu,Q);function Hu(a,b){K(a.ne,{backgroundColor:b?"#ffcc00":"#b2c4e9"});a.j=b} Fu.prototype.i=function(a){this.j||K(this.ne,{backgroundColor:a?"#ffffcc":"#b2c4e9"})};Fu.prototype.qa=function(){this.g.dispose();Q.prototype.qa.call(this)};function Gu(a,b){vu.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(lf("Page "+b.i));a.appendChild(c);c=C("div");x(c,z(b.g));a.appendChild(c)}n(Gu,vu); Gu.prototype.Fh=function(a){var b=Qg(this.i),c=M(this.V());vu.prototype.Fh.call(this,a,new tu(b.x-c.width,Math.min(b.y,df().height-c.height)))};function Iu(a,b,c){W.call(this);var d=this;this.N=a;this.o=b;this.ma=c;this.j={};this.O=new og;this.i=C("div");K(this.i,{backgroundColor:"#fcfcff",position:"absolute"});this.N.nd().appendChild(this.i);this.o.tb.forEach(function(e){Ju(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(Iu,W); Iu.prototype.ka=function(){this.s&&(Hu(this.s,!1),this.s=null);var a=this.j[this.N.Ca().Ja()];a&&(this.s=a,Hu(a,!0))};Iu.prototype.U=function(){var a=this,b=this.N.Da(),c=b instanceof yq;c&&this.l();tg(this.O);this.O.ha(b,"layoutchange",function(){a.l()});N(this.i,c)};Iu.prototype.l=function(){var a=this;U(function(){var b=a.N.Da();b&&b instanceof yq&&(b=b.s.l,L(a.i,15,b.clientHeight),Kg(a.i,b.clientWidth-15,0),Ku(a))},10)}; function Ku(a){var b={};a.N.Da().Bb().Hd(function(c){return c instanceof Fi}).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=Ld?5:15;Kg(a.j[c.Ja()].ne,0,Math.floor(e.Zc()/d*(a.i.clientHeight-g-(Ld?30:15)))+g)}})}function Ju(a,b){var c=new Fu(a.i,b);a.j[b.Ja()]=c;a.g.ha(c,"click",function(){a.ma(b)})}Iu.prototype.qa=function(){E(this.i);Lb(this.j,function(a){a.qa.call(a)});W.prototype.qa.call(this)};function Lu(a){W.call(this);this.i=a;this.j="n"}n(Lu,W);function Mu(a,b,c){Nu(a.i.j);var d=new R(window.location.href);S(d,"jscmd","SearchWithinVolume");S(d,"q",b);S(d,"scoring",c);(new lp(d)).Qd(function(e){Ou(a,!1,e)});a.j=c} function Ou(a,b,c,d,e){c.search_results&&(c.search_results=lb(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 iq(c);$m()&&(e&&(a.j=e),a.l=new qu(a.o,a.j,a.i.N.Ya()));c=a.i.N;c.O||c.Ub(yq);e=a.o.tb;e.length==0?Pu(a.i.j):b?d?(b=e.find(function(g){return d==g.Ja()}))?Qu(a,b):Qu(a,e[0],d):Qu(a,e[0]):Ru(a);a.s=new Iu(c,a.o,function(g){Qu(a,g)})} function Ru(a){var b=a.i.N,c=b.O;if(c==yq||c==vr)a.i.l=c;b.Ub(cs);b=b.Da();Su(a.i.j);$m()?(ru(a.l),su(a.l,!0)):(es(b,a.o),gs(b,function(d,e){return Qu(a,d,e)}),b.Qc(new w(0,0)))} function Qu(a,b,c,d){oq=!0;var e=a.i.j;Tu(e,!1);e.j=jb(e.i.o.tb,b);e.o?(Uu(e,!0),x(e.l,z(e.j+1+" of "+e.i.o.tb.length)),Tj(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>")+(jq(e.i.o)+"</b>")));e=a.i.N;b=Ll(e.Ya(),b.Ja());if(!b)return null;var g=e.Da();g instanceof yq||g instanceof vr||(a.i.l==vr?e.Ub(vr):e.Ub(yq));if(c)return e.wd(c),null;if(d)return xm(e,d),null;e.wh(b); return b}Lu.prototype.qa=function(){Kf(this.s);W.prototype.qa.call(this)};var Vu="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Wu(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"),Xh(a,"output")):b=="ge-tablet-app"?(S(a,"dapp","4"),Xh(a,"output")):b=="ge-ip-app"?S(a,"dapp","1"):b=="ge-android-app"&&S(a,"dapp","3");T(c,"authuser")||Xh(a,"authuser");Vu.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function Xu(){this.g=[]}u(Xu,Oq);Sa(Xu);function Yu(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=Xu.prototype;f.ag=function(){return"menuitem"};f.Jc=function(a){var b=a.g.Ma("DIV",Rq(this,a).join(" "),Zu(this,a.vc(),a.g));$u(this,a,b,Wq(a,8)||Wq(a,16));return b};f.Dc=function(a){return a&&a.firstChild}; f.Ob=function(a,b){var c=uf(b),d=Yu(this,2);c&&mh(c,d)||b.appendChild(Zu(this,b.childNodes,a.g));mh(b,"goog-option")&&(a.Mh(!0),this.Mh(a,b,!0));return Xu.na.Ob.call(this,a,b)};f.dg=function(a,b){var c=this.Dc(a),d=av(this,a)?c.firstChild:null;Xu.na.dg.call(this,a,b);d&&!av(this,a)&&c.insertBefore(d,c.firstChild||null)};function Zu(a,b,c){a=Yu(a,2);return c.Ma("DIV",a,b)}f.lp=function(a,b,c){a&&b&&$u(this,a,b,c)};f.Mh=function(a,b,c){a&&b&&$u(this,a,b,c)}; function av(a,b){return(b=a.Dc(b))?(b=b.firstChild,a=Yu(a,1),!!b&&wf(b)&&mh(b,a)):!1}function $u(a,b,c,d){Uq(a,c,b.We());Vq(a,b,c);d!=av(a,c)&&(P(c,"goog-option",d),c=a.Dc(c),d?(a=Yu(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 Yu(this,0);case 16:case 8:return"goog-option-selected";default:return Xu.na.lh.call(this,a)}}; f.Ki=function(a){var b=Yu(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Xu.na.Ki.call(this,a)}};f.Pa=function(){return"goog-menuitem"};function bv(a,b,c,d){fr.call(this,a,d||Xu.Hb(),c);this.qc(b)}u(bv,fr);f=bv.prototype;f.ub=function(){var a=this.ql;return a!=null?a:this.tg()};f.qc=function(a){this.ql=a};f.Tb=function(a,b){bv.na.Tb.call(this,a,b);switch(a){case 8:Xq(this,16)&&!b&&this.Qf(!1);(a=this.V())&&this.od().lp(this,a,b);break;case 16:(a=this.V())&&this.od().Mh(this,a,b)}};f.lp=function(a){this.Tb(8,a)};f.Mh=function(a){this.Tb(16,a)}; f.tg=function(){var a=this.vc();return Array.isArray(a)?(a=mb(a,function(b){return wf(b)&&(mh(b,"goog-menuitem-accel")||mh(b,"goog-menuitem-mnemonic-separator"))?"":Ff(b)}).join(""),Xc(a)):bv.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"&&Gb(c,new w(a.clientX,a.clientY)))return}bv.na.ze.call(this,a)};f.Xd=function(a){return a.keyCode==this.ol&&this.kf(a)?!0:bv.na.Xd.call(this,a)};f.Ks=function(){return this.ol}; cr("goog-menuitem",function(){return new bv(null)});bv.prototype.We=function(){return Wq(this,16)?"menuitemcheckbox":Wq(this,8)?"menuitemradio":bv.na.We.call(this)};bv.prototype.getParent=function(){return fr.prototype.getParent.call(this)};bv.prototype.yg=function(){return fr.prototype.yg.call(this)};function cv(a,b,c,d){Lr.call(this,a,b,c||d);(c||d)&&this.l(65|(d?32:132))}u(cv,Lr);function dv(){}u(dv,Oq);Sa(dv);dv.prototype.Pa=function(){return"goog-menuheader"};function ev(a,b,c){fr.call(this,a,c||dv.Hb(),b);this.Tb(1,!1);this.Tb(2,!1);this.Tb(4,!1);this.Tb(32,!1);this.je=1}u(ev,fr);cr("goog-menuheader",function(){return new ev(null)});function fv(){}u(fv,Oq);Sa(fv);fv.prototype.Jc=function(a){return a.g.Ma("DIV",this.Pa())};fv.prototype.Ob=function(a,b){b.id&&a.Fg(b.id);if(b.tagName=="HR"){var c=b;b=this.Jc(a);pf(b,c);E(c)}else O(b,this.Pa());return b};fv.prototype.dg=function(){};fv.prototype.Pa=function(){return"goog-menuseparator"};function gv(a,b){fr.call(this,null,a||fv.Hb(),b);this.Tb(1,!1);this.Tb(2,!1);this.Tb(4,!1);this.Tb(32,!1);this.je=1}u(gv,fr);gv.prototype.Ia=function(){gv.na.Ia.call(this);var a=this.V();Pj(a,"separator")};cr("goog-menuseparator",function(){return new gv});function hv(a){this.g=a||"menu"}u(hv,lt);Sa(hv);f=hv.prototype;f.Lj=function(a){return a.tagName=="UL"||hv.na.Lj.call(this,a)};f.nh=function(a){return a.tagName=="HR"?new gv:hv.na.nh.call(this,a)};f.Rd=function(a,b){return xf(a.V(),b)};f.fg=function(){return"goog-menu"};f.Mj=function(a){hv.na.Mj.call(this,a);a=a.V();X(a,"haspopup","true")};function iv(a){gv.call(this,fv.Hb(),a)}u(iv,gv);cr("goog-menuseparator",function(){return new gv});function jv(a,b){qt.call(this,"vertical",b||hv.Hb(),a);zt(this,!1)}u(jv,qt);f=jv.prototype;f.hk=!0;f.Rd=function(a){if(this.od().Rd(this,a))return!0;for(var b=Fk(this),c=0;c<b;c++){var d=Gk(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=[];Ek(this,function(b){a.push(b)});return a};f.setPosition=function(a,b){var c=this.isVisible();c||N(this.V(),!0);Xg(this.V(),a,b);c||N(this.V(),!1)}; f.Yc=function(){return this.isVisible()?Qg(this.V()):null};function kv(a,b){(a.hk=b)&&zt(a,!0)}f.wa=function(a,b,c){(b=jv.na.wa.call(this,a,b))&&a&&this.Ra&&this.hk&&rt(this).focus();a&&c&&typeof c.clientX==="number"?this.l=new w(c.clientX,c.clientY):this.l=null;return b};f.Pk=function(a){this.hk&&rt(this).focus();return jv.na.Pk.call(this,a)};f.zn=function(a){return a.isEnabled()&&a.isVisible()&&Wq(a,2)}; f.Kb=function(a){for(var b=this.od(),c=Ye(this.g.g,"DIV",b.fg()+"-content",a),d=c.length,e=0;e<d;e++)pt(b,this,c[e]);jv.na.Kb.call(this,a)};f.Xd=function(a){var b=jv.na.Xd.call(this,a);b||Ek(this,function(c){!b&&c.Ks&&c.ol==a.keyCode&&(this.isEnabled()&&this.Oc(c),b=c.Lc(a))},this);return b};f.Od=function(a){jv.na.Od.call(this,a);(a=Gk(this,a))&&Rg(a.V(),this.V())};function lv(a,b){jv.call(this,a,b);kv(this,!0);this.wa(!1,!0);this.i=new Al}u(lv,jv);f=lv.prototype;f.Ql=!1;f.Bo=0;f.Kb=function(a){lv.na.Kb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.attach(this.g.V(a),1)};f.Ia=function(){lv.na.Ia.call(this);this.i.forEach(this.wn,this);var a=Z(this);a.ha(this,"action",this.Bu);a.ha(this.g.g,"mousedown",this.Eu,!0)}; f.attach=function(a,b,c,d,e){var g;if(!(g=!a)){g=this.i;var h=Xa(a);g=!g.has(h)}g&&(a?(b={ua:a,zp:b,wu:c,Nn:d?"contextmenu":"mousedown",ll:e},this.i.set(Xa(a),b)):b=null,this.Ra&&this.wn(b),a=t(this.Lu,a),this.V()&&Z(this).ha(this.V(),"keydown",a))}; f.Lu=function(a,b){if(b.keyCode==27)a.focus();else if(a=Gk(this,this.Wb)){var c=a.V();a=new Rf(b.Mb,c);a.target=c;if(b.keyCode==32||b.keyCode==13)if(Uf(c))qh(c,"keydown",!1,a);else if(c=gg(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&&mg(e,a)}}b.keyCode==32&&this.ab()}};f.wn=function(a){Z(this).ha(a.ua,a.Nn,this.Pu);a.Nn!="contextmenu"&&Z(this).ha(a.ua,"keydown",this.Qu)}; function mv(a,b,c,d){var e=a.isVisible(),g;(g=a.isVisible())||(g=Date.now()-a.Bo<150);g&&a.Ql?a.ab():a.dispatchEvent("beforeshow")&&(c=typeof c!="undefined"?c:8,e||(a.V().style.visibility="hidden"),N(a.V(),!0),b.Ic(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.Bo=Date.now()))};f.Bu=function(){this.ab()};f.Pu=function(a){nv(this,a)}; f.Qu=function(a){a.keyCode!=32&&a.keyCode!=13&&a.keyCode!=40||nv(this,a);a.keyCode==40&&vt(this)};function nv(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.zp!==void 0?new Lr(e.ua,e.zp,!0):new Ip(b.clientX,b.clientY);c.l&&c.l(5);mv(a,c,e.wu,e.ll);b.preventDefault();b.stopPropagation();break}}}f.Eu=function(a){this.isVisible()&&!this.Rd(a.target)&&this.ab()};f.ni=function(a){lv.na.ni.call(this,a);this.ab()}; f.qa=function(){lv.na.qa.call(this);this.i&&(this.i.clear(),delete this.i)};function ov(a){W.call(this);this.oa=Zm(a);this.ta=Kd&&a&&a.isOgenEligibleMobileViewport;this.o=this.oa||this.ta;this.ma=this.U=null;this.o?Uu(this,!0):(this.ka=C("DIV"),this.ya=new eu(this.ka),this.ya.render(pv),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?qv(this):(O(this.s,"search-bar-result-links"),this.ka.appendChild(this.s), rv(this));this.O=this.o?A("search-snippet-links"):C("SPAN");this.o?sv(this):(this.oa?(this.Aa=C("DIV"),O(this.Aa,"search-bar-result-buttons"),this.ka.appendChild(this.Aa),this.Aa.appendChild(this.O),nh(this.O,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),sv(this)):(this.Ea=C("SPAN"),this.Ga=C("SPAN"),tv(this)),O(this.O,"search-bar-snippet-links"));this.o||(uv(this),dh(this.ka,!0))}n(ov,W);function vv(){pv=A("search_bar")}function wv(){xv=A("toolbar_container")} function Su(a){if(a.U)yv(a,!0);else{var b=a.i.j=="n";N(a.Ea,b);N(a.Ga,!b)}a.o?(Uu(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>")+(jq(a.i.o)+"</b>")));Tu(a,!0)} function qv(a){$m()||(zv(a,A("search-result-prev"),function(){Av(a,a.j,-1)},"Previous result"),zv(a,A("search-result-next"),function(){Av(a,a.j,1)},"Next result"));zv(a,A("search-result-viewall"),function(){Ru(a.i)},"View all");zv(a,A("search-close"),function(){a.Fa()},"Close search")} function rv(a){var b=C("SPAN");x(b,z("- "));O(b,"search-bar-link-spacer");a.s.appendChild(b);Bv(a,a.s,"\u2039 Previous",function(){Av(a,a.j,-1)},"Previous");b=C("SPAN");x(b,z(" "));O(b,"search-bar-link-spacer");a.s.appendChild(b);Bv(a,a.s,"Next \u203a",function(){Av(a,a.j,1)},"Next");b=C("SPAN");x(b,z(" - "));O(b,"search-bar-link-spacer");a.s.appendChild(b);Bv(a,a.s,"View all",function(){Ru(a.i)})} function tv(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(lf("Order by: "));a.O.appendChild(a.Ea);Bv(a,a.Ea,"relevance",function(){Cv(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);Bv(a,a.Ga,"pages",function(){Cv(a,"n")},"Order by pages")} function sv(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;Tj(c,"Order by pages");c.setAttribute("title","Order by pages");b.appendChild(a.ma);b=new lv;var d=new bv("relevance");d.Lh("Order by relevance");b.Xa(d,!0);O(d.V(),"search-bar-sort-dropdown-item");var e=new bv("pages"); e.Lh("Order by pages");b.Xa(e,!0);nh(e.V(),["search-bar-sort-dropdown-item","search-bar-sort-dropdown-item-selected"]);b.Ql=!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){Dv(a,g,d.V(),e.V())});a.g.ha(b,"keydown",function(g){g.keyCode!=32&&g.keyCode!= 13||Dv(a,g,d.V(),e.V())});a.ta&&a.g.ha(b,"beforeshow",function(){var g=a.U.offsetWidth-32;Yg(d.V(),g);Yg(e.V(),g)})}function uv(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=Bv(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 Tu(a,b){N(xv,!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);Ev!=null&&Ev.resize()}function Fv(a){a.U?yv(a,!1):N(a.O,!1);a.ta&&N(a.O,!0);N(a.s,!1);of(a.l)}function Nu(a){Fv(a);x(a.l,z("Loading..."));a.o&&a.l.removeAttribute("aria-label")} function Pu(a){Fv(a);var b=a.i.o,c=kq(b),d=null;c&&!a.o&&(d=C("SPAN"),x(d,z("Did you mean: ")),Bv(a,d,c,function(){var h=a.i.i;if(h){var k=ad(c);nm(h.N.Va(),k);h.s.qc(k);h.o&&h.o.update()}}));var e=C("SPAN");a.o?x(e,z("No results")):x(e,z(Wb("No results found in this book for "+jq(b))));b=C("A");a.o||(x(b,z("Search all books")),b.setAttribute("target","_top"),O(b,"sitb-action-link"));var g=Mm()=="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"); Wu(g);T(g,"output")=="embed"&&Xh(g,"output");S(g,"q",ad(jq(a.i.o)));Dc(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&&(Pc(d,"afterbegin",z(" · ")),a.l.appendChild(d))):(d&&(a.l.appendChild(d),a.l.appendChild(C("BR"))),Pc(e,"beforeend",z(" - ")),a.l.appendChild(e),Pc(b,"beforeend",z(" »")),a.l.appendChild(b));Ev!=null&&Ev.resize()} function Gv(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];Qu(a.i,g)?(e=Nh(S(S(S(new R(b.href),"pg",g.Ja()),"num",a.j),"scoring",a.i.j),""),Dc(b,e.toString()),Qu(a.i,c[d])):Gv(a,b,c,d,e)}}ov.prototype.qa=function(){W.prototype.qa.call(this);Kf(this.ya);N(xv,!0);E(this.ka);Ev!=null&&Ev.resize();this.o&&(Uu(this,!1),E($e("sort-dropdown-menu")),of(this.l))}; function Bv(a,b,c,d,e){var g=C("SPAN");O(g,"search-bar-link");Pj(g,"link");Tj(g,e?e:c);Cf(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 zv(a,b,c,d){Tj(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()})}ov.prototype.Fa=function(){var a=this.i;nm(a.i.N.Va(),"");$m()&&su(a.l,!1);(a=this.i.i)&&a.o&&a.o.update()}; function Av(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&&(Qu(a.i,a.i.o.tb[a.j])||Av(a,b,c))}function Cv(a,b){(a=a.i.i)&&a.update(b)} function Dv(a,b,c,d){if((b=b.target.vc())&&a.ma){var e=a.U;switch(b){case "pages":Cv(a,"n");G(a.ma,"pages");Tj(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":Cv(a,"r"),G(a.ma,"relevance"),Tj(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 yv(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,Tj(b,"Order by relevance"),b.setAttribute("title","Order by relevance"),b=Ze("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 Uu(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 pv,xv,Ev;function Hv(a,b,c,d){W.call(this);var e=this;this.N=a;this.s=b;this.o=c;this.O=d;this.U=Kd&&d&&d.isOgenEligibleMobileViewport;this.g.ha(a.Va(),"change",function(){e.update("r")})}n(Hv,W); Hv.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 ov(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 Lu(this),this.j.i=this.i,d=!pm(),Ou(this.i,d,b,c,a),a=this.j,$m()&&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?Qu(a.i,d,"", e):c?Qu(a.i,d,c):Qu(a.i,d));c=a.j;d=A("search-result-prev");Gv(a,d,b,c,-1);Tj(d,"Previous result");d.setAttribute("title","Previous result");d=A("search-result-next");Gv(a,d,b,c,1);Tj(d,"Next result");d.setAttribute("title","Next result")}}else d?(this.i=new Lu(this),this.j.i=this.i,Mu(this.i,d,a),this.s.qc(d)):(this.i&&(this.i.dispose(),this.i=null),this.N.Da()instanceof cs&&(this.N.Ub(this.l),this.U&&!$m()&&this.N.Da().Uf(this.N.Da().getSize().width)),this.j&&(this.j.dispose(),this.j=null),this.s.qc(""))};function Iv(a,b){var c=this;this.N=a;b&&(this.g=b);this.l=new Jq(document);this.i={};this.j={};H(this.l,"key",function(d){var e=c.i[String.fromCharCode(d.charCode)]||c.j[d.keyCode];e&&e(d)});Jv(this,33,function(){Kv(c,-1)},!1,!0);Jv(this,34,function(){Kv(c,1)},!1,!0);Jv(this,38,function(){Lv(c,0,-20)},!1,!0);Jv(this,40,function(){Lv(c,0,20)},!1,!0);this.g||(Jv(this,37,function(){c.N.O==vr&&c.N.Da().Bb().getSize().width>c.N.qb()?Lv(c,-20,0):c.N.mb("previous")},!1,!0),Jv(this,39,function(){c.N.O==vr&& c.N.Da().Bb().getSize().width>c.N.qb()?Lv(c,20,0):c.N.mb("next")},!1,!0),Jv(this,32,function(d){d.shiftKey?Kv(c,-1):Kv(c,1)},!0,!0),Jv(this,74,function(){c.N.mb("next")},!0),Jv(this,75,function(){c.N.mb("previous")},!0),Mv(this,"+",function(){c.N.mb("zoomin")}),Mv(this,"-",function(){c.N.mb("zoomout")}),Mv(this,"=",function(){c.N.mb("zoomin")}));Mv(this,"?",function(){c.N.mb("showkeyboardshortcuts")})}function Mv(a,b,c){a.i[b]=t(Nv,c,!0,void 0)}function Jv(a,b,c,d,e){a.j[b]=t(Nv,c,d,e)} function Nv(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||Ov[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a(d))}function Kv(a,b){var c=a.g?a.g.clientHeight:a.N.Da().getSize().height;Lv(a,0,Math.floor(b*c*.75))}function Lv(a,b,c){a.g?a.g.scrollTop+=c:(a=a.N.Da(),hp(a,new w(b,c),r(a.Ad,a)))}var Ov={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};function Pv(a){this.ad=ko(a)}n(Pv,so);var Qv=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Ta(b)+": "+b);Vn(b,34);return new a(b)}}(Pv);var Rv;function Sv(){var a=Rv||(Rv=Qv('[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=no(a,6);a=a==null||typeof a==="string"?a:void 0;if(a===null||a===void 0)a=null;else{var b=mc();a=new Kc(b?b.createScript(a):a)}return a};function Tv(a){this.url=a;this.timeout=5E3;this.l="callback";this.g=this.i=null}function Uv(a){var b=b===void 0?{}:b;a.g=Zi();var c=new R(a.url),d=new Map;d.set("callback",a.l);c.j.Sp($h(b),d);Vv(a).then(function(){Wv(a,c.toString())}).then(function(){return a.g.promise}).then(function(){Xv(a)},function(){Xv(a)});a.timeout>0&&(a.j=setTimeout(function(){a.g.reject("Timeout!")},a.timeout));return a.g.promise} function Wv(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 Vv(a){var b=Zi(),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=Sv();a=de([Fc("<!DOCTYPE html>"),je("body",{},ce(a))]);c.srcdoc=Hc(a);a=oc("data:text/html;charset=UTF-8;base64,"+btoa(Hc(a).toString()));c.src=pc(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 Xv(a){a.i!==null&&(document.documentElement.removeChild(a.i),a.i=null)};function Yv(a){kp.call(this,a);this.i=new Tv(a);this.g=!0}n(Yv,kp);Yv.prototype.Qd=function(a,b){kp.prototype.Qd.call(this,a,b);this.g=!1;Uv(this.i).then(r(this.o,this,a),r(this.l,this,b))};Yv.prototype.o=function(a,b){this.g||(this.j=b,this.dispatchEvent("success"),a&&a(this.j),this.g=!0)};Yv.prototype.l=function(a){this.g||(this.dispatchEvent("error"),a&&a(),this.g=!0)};Yv.prototype.abort=function(){return this.g=!0};function Zv(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 Yv(b)).Qd(r(this.l,this))}Zv.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 $v=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]"),aw=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]"),bw=/^http:\/\/.*/,cw=/\s+/,dw=/[\d\u06f0-\u06f9]/;var ew={},fw={};function gw(){throw Error("Do not instantiate directly");}gw.prototype.Cn=null;gw.prototype.vc=function(){return this.content};gw.prototype.toString=function(){return this.content};gw.prototype.Cp=function(){if(this.Bf!==ew)throw Error("Sanitized content was not of kind HTML.");return Fc(this.toString())};function hw(){gw.call(this)}u(hw,gw);hw.prototype.Bf=ew;function iw(a){if(a!=null)switch(a.Cn){case 1:return 1;case -1:return-1;case 0:return 0}return null}function jw(a){return a!=null&&a.Bf===ew?a:a instanceof Ec?kw(Hc(a).toString()):kw(String(String(a)).replace(lw,mw),iw(a))}var kw=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.Cn=d);return c}}(hw);function nw(a){return a instanceof gw?!!a.vc():!!a}function ow(a){return pw(String(a),function(){return""}).replace(qw,"<")} var rw=RegExp.prototype.hasOwnProperty("sticky"),sw=new RegExp((rw?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",rw?"gy":"g"); function pw(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,rw?(sw.lastIndex=l,m=sw.exec(a)):(sw.lastIndex=0,m=sw.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 tw(a){return a!=null&&a.Bf===ew?String(ow(a.vc())).replace(uw,mw):String(a).replace(lw,mw)} var vw={"\x00":"�","\t":"	","\n":" ","\v":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function mw(a){return vw[a]} var lw=/[\x00\x22\x26\x27\x3c\x3e]/g,uw=/[\x00\x22\x27\x3c\x3e]/g,ww=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,qw=/</g;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function xw(a,b,c,d){a=a(b||yw,c);d=d||Se();if(a&&a.g)d=a.g();else{d=Jf(d,"DIV");b:if(Wa(a)){if(a.Cp&&(a=a.Cp(),a instanceof Ec))break b;a=ae("zSoyz")}else a=ae(String(a));d.innerHTML=Hc(a)}d.childNodes.length==1&&(a=d.firstChild,a.nodeType==1&&(d=a));return d}var yw={};function zw(a){a=a||{};var b=a.attributes,c=a.content,d=a.disabled,e=a.id,g=a.Ew,h=a.title,k=a.Jv,l=a.value,m=kw;e='<div role="button"'+(nw(e)?' id="'+tw(e)+'"':"")+' class="';var p=a||{};a=p.kw;var y=p.disabled,D=p.checked,I=p.style;p=p.width;var F="goog-inline-block jfk-button ";switch(Wa(I)?I.toString():I){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.lu&&(1).lu?p.Bf!==(1).Bf?0:p.toString()===(1).toString():p==1)?" jfk-button-narrow":"")+(nw(D)?" jfk-button-checked":"")+(nw(a)?" "+a:"")+(nw(y)?" jfk-button-disabled":"");d=e+tw(F)+'"'+(nw(d)?' aria-disabled="true"':' tabindex="'+(nw(g)?tw(g):"0")+'"')+(nw(h)?nw(k)?' data-tooltip="'+tw(h)+'"':' title="'+tw(h)+'"':"")+(nw(l)?' value="'+tw(l)+'"':"");nw(b)?(b!=null&&b.Bf===fw?b=b.vc():(b=String(b), b=ww.test(b)?b:"zSoyz"),b!=null&&b.Bf===fw&&(b=b.vc()),b=(b&&!b.startsWith(" ")?" ":"")+b):b="";return m(d+b+">"+jw(c!=null?c:"")+"</div>")};function Aw(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(Aw,wp);f=Aw.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.vn=Math.max(c,15));typeof d==="number"&&(this.tl=d)};f.Ic=function(a,b,c){a=this.kk;a==2&&(a=0);Bw(this,this.qk,a,this.kk==2?Cw(this.qk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.vn,0,c)}; function Bw(a,b,c,d,e,g){if(a.i){var h=Dw(b,c);var k=a.i;var l=a.g,m=a.Ba,p=M(k);a:{p=(Cw(b)?p.height/2:p.width/2)-d;var y=zp(k,h);if(m)m=m.clone(),l&&(l=yp(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=Pg(k),!m){k=p;break a}k=zg(Zg(k));Cw(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=Cw(b)?new w(a.tl,k):new w(k,a.tl);p=Cw(b)?6:9;a.ik&&e==2&&(p=Cw(b)?4:1); y=b^3;Cw(b)&&a.i.dir=="rtl"&&(y=b);h=xp(a.i,Dw(y,c),a.g,h,k,g,a.Xk?p:0,void 0,a.Ba);if(e!=2&&h&496){Bw(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||Kg(a.g,Math.round(e),Math.round(g)))}Ew(a,b,c,d)} function Ew(a,b,c,d){var e=a.o;Lb(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=Ug(a.i,a.g),d=Fw(a.i,b),Cw(b)?e.style.top=Gw(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Gw(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[c==0?Cw(b)?"top":"left":Cw(b)?"bottom":"right"]=d+"px"}function Gw(a,b){return 15>b?15:Fb(a,15,b)}function Dw(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 Fw(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 Cw(a){return a==0||a==3}f.Xk=!1;f.kk=2;f.vn=20;f.qk=3;f.Ba=null;f.tl=-5;f.ik=!1;function Hw(a){Lf.call(this);this.i=a||Se()}n(Hw,Lf);Hw.prototype.o=function(){Pj(this.V(),"tooltip");X(this.V(),"live","polite")};function Iw(a){Hw.call(this,a);this.g=this.i.Ma("DIV",Jw()+"-contentId");this.j=this.i.Ma("DIV",Jw()+"-arrow",this.i.Ma("DIV",Jw()+"-arrowimplbefore"),this.i.Ma("DIV",Jw()+"-arrowimplafter"));this.l=this.i.Ma("DIV",{"class":Jw(),role:"tooltip"},this.g,this.j);this.o()}n(Iw,Hw);function Jw(){return"jfk-tooltip"}Iw.prototype.V=function(){return this.l};Iw.prototype.qa=function(){Hw.prototype.qa.call(this);this.l&&E(this.l)};function Kw(a){Iw.call(this,a)}n(Kw,Iw);Kw.prototype.o=function(){Pj(this.V(),"tooltip")};function Lw(a){return ad(Wb(a.replace(Mw,function(b,c){return Nw.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Nw=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Mw=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Ow(a){a=a||Se();var b=Xa(a.g);Pw[b]||(Pw[b]=new Qw(a))}function Rw(a,b){var c=b instanceof Ec?Lw(Hc(b).toString()):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Ec?a.j=b:(a.setAttribute("data-tooltip",b),a.j=null),a.setAttribute("aria-label",c)):(a.j=null,a.removeAttribute("aria-label"));Ow(Se(a))}var Pw={}; function Qw(a){og.call(this);this.ta=a;this.oa=new vj(this.Dv,0,this);Mf(this,this.oa);var b=gf();this.U=typeof b.MutationObserver==="function"?new b.MutationObserver(r(this.Rs,this)):null;a=a.g;this.ha(a,"mouseout mousedown click blur focusout keydown".split(" "),this.ms,!0);this.ha(a,["mouseover","focus","focusin"],this.ov,!0)}n(Qw,og);f=Qw.prototype;f.qa=function(){Sw(this);og.prototype.qa.call(this)}; function Tw(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.ya=!1;break;case "keydown":a.ya=!0}}f.ov=function(a){this.U&&this.U.disconnect();Tw(this,a);var b=a.target;a=a.type=="focus"||a.type=="focusin";var c=this.g&&xf(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=qb(Oj,a);a&&(this.U.observe(b,{attributes:!0}),(a=Rj(b))&&(b=a));this.l=b}else this.l=null;Uw(this)}; f.ms=function(a){Tw(this,a);var b=a.target;b=this.g&&xf(this.g.g,b);if(a.type!="mousedown"&&a.type!="click"||!b)this.l=null,Uw(this)};f.Rs=function(a){v(a,r(function(b){var c=Rj(b.target);c&&b.attributeName=="aria-activedescendant"&&(this.l=c,Uw(this))},this))};function Uw(a){if(!(a.oa.isActive()&&a.i&&a.O)){Sw(a);var b=a.O!=null?a.O:50;a.oa.start(a.i?b:300)}}function Sw(a){a.ka&&(nj(a.ka),a.ka=0,a.i=null)} f.Dv=function(){if(!this.l)Vw(this),this.O=this.i=null;else if(!(this.i&&this.g&&xf(this.g.V(),this.l))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Hf(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&&(Vw(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=Gc;if(a.getAttribute("data-tooltip-contained"))for(var d=Ze("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:ae(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=Vb(hd(g))?-1:Number(g);var h=a.getAttribute("data-tooltip-hide-delay");h=Vb(hd(h))?null: Number(h);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.ka=U(t(this.qp,this.i,c,d,g,e,h),a,this);return}this.qp(this.i,c,d,g,e,h)}}};function Ww(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.qp=function(a,b,c,d,e,g){this.ka=0;this.O=g;if(!this.g){this.g=new Kw(this.ta);Vw(this);g=this.ta.g.body;var h=this.g.V();g.appendChild(h);Mf(this,this.g);this.o=new Aw(Jw(),!0);this.o.Xk=!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(Ww(c),g,void 0,d);oh(this.g.V(),"jfk-tooltip-hide");this.ma!=e&&(this.ma&&!Vb(hd(this.ma))&&oh(this.g.V(),this.ma),Vb(hd(e))||O(this.g.V(), e),this.ma=e);Kg(this.g.V(),0,0);if(b instanceof Ec)x(this.g.g,b);else for(of(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.o.mj(a);this.o.Ic(null,0)};function Vw(a){a.g&&O(a.g.V(),"jfk-tooltip-hide")};function Xw(a){var b="Jf";if(a.Jf&&a.hasOwnProperty(b))return a.Jf;b=new a;return a.Jf=b};var Nc=ta(["value"]);function Yw(a,b,c,d){pr.call(this,a,Zw.Hb(),b);this.oa=c||0;this.ob=d||0;this.Ga=!1}u(Yw,pr);f=Yw.prototype;f.qb=function(){return this.ob};f.nf=function(a){this.U=a;var b=this.V();b&&(this.Ga?Rw(b,a):a?b.title=a:b.removeAttribute("title"))};f.nb=function(a){this.isEnabled()!=a&&(Yw.na.nb.call(this,a),$w(this))};f.focus=function(){var a=this.ua;try{a.focus()}catch(b){}};f.nj=function(a){Yw.na.nj.call(this,a);ax(this,!1)}; f.vf=function(a){Yw.na.vf.call(this,a);this.isEnabled()&&ax(this,!0)};f.ze=function(a){Yw.na.ze.call(this,a);this.isEnabled()&&ax(this,!0)};function ax(a,b){a.V()&&P(a.V(),"jfk-button-clear-outline",b)}function $w(a){a.V()&&bx(a.od(),a)}function cx(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 Zw(){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(Zw,Zq);Zw.Hb=function(){return Xw(Zw)};Zw.prototype.g=function(a,b,c){a&&c.oa!=a&&(c.oa=a,$w(c));b&&c.ob!=b&&(c.ob=b,$w(c))};Zw.prototype.Pa=function(){return"jfk-button"}; Zw.prototype.Jc=function(a){var b=a.g,c=xw(zw,{disabled:!a.isEnabled(),checked:Xq(a,16),style:a.oa,title:a.Xe(),Jv:a.Ga,value:a.ub(),width:a.qb()},void 0,b);b.Zl(c,a.vc());this.Ob(a,c);return c}; Zw.prototype.Ob=function(a,b){Zw.na.Ob.call(this,a,b);this.l||(this.l=Tb(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=kh(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 Rc=[new Mc];Zw.prototype.ub=function(a){return a.getAttribute("value")||""}; Zw.prototype.qc=function(a,b){a&&Qc(a,b)};function bx(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");ph(b.V(),e);nh(b.V(),d)};function dx(a,b,c){vu.call(this,a,b,c)}u(dx,vu);f=dx.prototype;f.Ai=!1;f.Vh=!1;f.ci=function(){dx.na.ci.call(this);this.Fa=zg(Zg(this.V()));this.g&&(this.Ua=zg(Zg(this.g)));this.Vh=this.Ai;H(this.l.g,"mousemove",this.zg,!1,this)};f.Ng=function(){kg(this.l.g,"mousemove",this.zg,!1,this);this.Ua=this.Fa=null;this.Vh=!1;dx.na.Ng.call(this)}; f.Si=function(a){if(this.ta){var b=Qg(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 dx.na.Si.call(this,a)};function ex(a,b){if(a.Ua&&wg(a.Ua,b)||a.Si(b))return!0;a=a.ka;return!!a&&a.Si(b)}f.Do=function(a){this.ma=void 0;a!=this.g||ex(this,this.s)||this.Rb||this.ka&&this.ka.Rb||Id&&this.s.x==0&&this.s.y==0||this.wa(!1)}; f.zg=function(a){var b=this.isVisible();if(this.Fa){var c=ef(this.l.g);c=new w(a.clientX+c.x,a.clientY+c.y);ex(this,c)?b=!1:this.Vh&&(b=xg(this.Fa,c)>=xg(this.Fa,this.s))}if(b){if(this.Ph(),this.Rb=null,b=this.ka)b.Rb=null}else yu(this)==3&&this.lg();dx.na.zg.call(this,a)};f.Tk=function(){this.Rb!=this.V()&&(this.Vh=!1,this.Rb=this.V())};f.Nk=function(){return this.Vh?100:dx.na.Nk.call(this)};function fx(a,b){a=new dx(a);a.El(ze(Ge,b.innerHTML));a.className="buy-tip-card";a.ta=new ug(5,5,5,5);a.Ai=!0;a.Hg=500;a.Ah=250};function gx(a,b){this.wb=a||200;this.ob=b||108;W.call(this)}u(gx,W);gx.prototype.Ab=function(){return this.wb};gx.prototype.qb=function(){return this.ob};function hx(a){vu.call(this,a,void 0,void 0);this.Mn=!1;this.Ai=!0;this.Hg=500}n(hx,dx);hx.prototype.uj=function(a,b){b||(b=new Lr(a,9,!0));dx.prototype.uj.call(this,a,b)};hx.prototype.className="unified-hovercard";function ix(a,b,c){Lf.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(ix,Lf);ix.prototype.qa=function(){this.i&&this.i.dispose()};function jx(a){return a.i||(a.i=new og(a))} ix.prototype.j=function(a){var b=B("DIV"),c=new R(this.data.va.Ag||this.data.va.Vo);this.data.va.source&&S(c,"source",this.data.va.source);var d=this.data.Za();this.data.va.xp&&(d+=": "+this.data.va.xp);d=B("A",{},d);d.classList.add(this.g+"-title");Dc(d,c.toString());b.appendChild(d);a.appendChild(b);kx(this,a);this.data.va.Nl&&(c=new Re,b=B("DIV",this.g+"-snippet"),x(b,ze(c,this.data.va.Nl+" ")),c=B("A",{},"more \u00bb"),c.classList.add(this.g+"-more-link"),Dc(c,this.data.va.Ag),b.appendChild(c), a.appendChild(b))}; function kx(a,b){var c="",d=B("DIV"),e=a.data.va.lk;if(!Vb(hd(e))){c=e.split(/\s*,\s*/g);e=c.length;if(!e)return;var g=B("SPAN","author"),h=e-1,k=lf(", ");v(c,function(l,m){var p=l?l.replace(lx,""):"";p=Vc(p);l=new R(Uc('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',p));Wu(l);p=B("A",{},p);Dc(p,l.toString());g.appendChild(p);m<h&&g.appendChild(k.cloneNode(!0))},a);d.appendChild(g);c="\u00a0-\u00a0"}a.data.va.fj&&(mf(d,B("SPAN",a.g+"-pubdate",c+a.data.va.fj)),c="\u00a0-\u00a0");a.data.va.Ko&&(d.appendChild(lf(c)), mf(d,B("SPAN",a.g+"-pagesnum",a.data.va.Ko+" pages")));b.appendChild(d)} function mx(a,b,c,d,e,g,h){c=B("A",{id:h||""},c);Dc(c,e?"#":d);c.classList.add(a.g+"-button");c.classList.add(a.g+"-button-hilite");g&&c.classList.add("disabled");e&&(e=Xj||Yj?"touchstart":"click",jx(a).ef(c,e,function(k){k.preventDefault();k=B("FORM",{method:"POST"});var l=Cc(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 lx=/(<b\s*>)|(<\/b>)/ig,nx={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function ox(){this.va={}}f=ox.prototype;f.Za=function(){return this.va.title};f.Sb=function(){return this.va.Sl};f.Nd=function(){return this.va.Nd};f.Zk=function(){return this.va.Zk};f.Kf=function(){return this.va.Kf};f.Dh=function(){return this.va.Dh};function px(){this.g=[]}f=px.prototype;f.getId=function(){return this.rb};f.Fg=function(a){this.rb=a};f.Za=function(){return this.rc};f.ug=function(){return this.l};function qx(a,b,c){rx(a,b)||a.U==null||!a.j?c&&c(null):sx(b,a.U.clone(),r(a.fs,a,b,c||function(){}))}function tx(a,b,c){rx(a,b)&&a.ka!=null&&a.ma?sx(b,a.ka.clone(),r(a.us,a,b,c||function(){})):c&&c(null)}function sx(a,b,c){S(b,"id",a);ii(b,c,"POST")}f.fs=function(a,b,c){var d=null;ni(c.target)&&(d=new ox,d.va.Sl=a,this.g.push(d));b(d)}; f.us=function(a,b,c){var d=null;ni(c.target)&&(d=rx(this,a),ux(this,d));b(d)};function ux(a,b){ub(a.g,function(c){return c.Sb()==b.Sb()})}function rx(a,b){return ob(a.g,function(c){return c&&c.Sb()==b})};function vx(a){this.va={};this.va.title=a.title;this.va.xp=a.subtitle;this.va.lk=a.authors;this.va.Vo=a.preview_url;this.va.Ag=a.info_url;this.va.fj=a.pub_date;this.va.Ko=a.num_pages;this.va.Jp=a.viewability;this.va.Dw=a.subject;this.va.Ap=a.thumbnail_url;this.va.Nl=a.snippet;this.va.rw=a.list_price;this.va.ip=a.sale_price;this.va.Aw=a.sale_price_better;this.va.Au=a.offer_price;this.va.sk=a.buy_url;this.va.Yo=a.read_url;this.va.Ti=a.is_free_ebook||!1;this.va.Ri=a.in_my_ebooks||!1;this.va.sw=a.my_ebooks_url|| "";this.va.yw=a.rating_score||0;this.va.tw=a.num_reviews||0;this.va.Nd=a.is_purchased||!1;this.va.Ch=a.is_ebook||!1;this.va.Hw=a.write_review_url||"";this.va.Js=a.add_to_my_ebooks_url||"";this.va.Uu=a.preview_ebook_url||"";this.va.zw=a.reviews_url||"";this.va.Aj=a.view_order_url||"";this.va.hw=a.add_to_my_ebooks_url;this.va.cs=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=Lm(a.info_url);this.va.Sl=b;this.va.jw=a.canonical_atb_url|| "";this.va.Zk=a.is_rentable||!1;this.va.Mf=a.is_pre_order||!1;this.va.Qo=a.on_sale_date||"";this.va.Kf=a.is_pre_ordered||!1;this.va.qw=a.issue_volume_count||0;this.va.Dh=a.is_volume_cancelled||!1;this.va.hs=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.va.ij=1;break;case 2:this.va.ij=2}this.va.ev=a.rental_end_utc||0}n(vx,ox);function wx(a){this.g=[];this.Fg(a.id);this.o=a.owner_uid;this.rc=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=mb(a.volumes,function(b){return new vx(b)}))}n(wx,px);function xx(){W.call(this);this.j=[];this.i=[]}u(xx,W);function yx(a){var b=new R(gf().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function zx(a,b,c){Ax(a,b.getId())||(a=b.O?a.j:a.i,c?yb(a,void 0,0,b):a.push(b))}function Bx(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()));ii(a,c,"POST",b)} xx.prototype.s=function(a){a=a.target;if(ni(a)){a=new wx(qi(a));var b=Ax(this,a.getId());b.rc=a.Za();b.l=a.ug();b.le=a.le;b=new Of("update",this);b.shelf=a;this.dispatchEvent(b)}};xx.prototype.o=function(a,b){b=b.target;ni(b)&&(b=new wx(qi(b)),zx(this,b,a),a=new Of("add",this),a.shelf=b,this.dispatchEvent(a))};function Cx(a,b){a.l=new R(b);S(a.l,"jscmd","ClCreate")}function Ax(a,b){return ob(Dx(a),function(c){return c.getId()==b})}function Dx(a){return Db(a.j,a.i)};function Ex(a,b){var c=B("A",{},"View order");Dc(c,a);c.classList.add(b);return c};function Fx(a,b,c){ix.call(this,a,b,c);T(new R(this.data.va.Ag),"dapp")}n(Fx,ix); Fx.prototype.render=function(a){of(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()&&yx(1))Gx(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.Qo;e.appendChild(g);this.data.Kf()&&yx(1)&&Gx(this,e)}else if(this.data.Nd()&&yx(1))Hx(this,e),Gx(this, e);else{Hx(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.Uu||this.data.va.Yo){for(var k=h.search(Gh),l=0,m,p=[];(m=Fh(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(Ih,"$1");h=Eh(h,"source","ebookstore")}h&&(k=B("A",{id:"unified-hovercard-preview-link"},"preview it"),Dc(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,"")}; Fx.prototype.j=function(a){if(!(this.data.Nd()||this.data.Kf()||this.data.Dh())&&this.data.va.Aj&&yx(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=Ex(this.data.va.Aj,"primary"),d=B("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}ix.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? Ix(this,b):mx(this,b,"Read eBook",this.data.va.Js,!this.data.va.cs,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()&&yx(1)?(e=B("DIV",this.g+"-cancelled"),c=this.data.va.hs,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?Jx(this,b):this.data.Nd()&&Ix(this,b):Jx(this,b);yx(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.Vo;a:{for(e in nx)if(nx[e]==this.data.va.Jp){e=!0;break a}e=!1}e&&!Vb(c)?mx(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):mx(this,b,"Preview", c,!1,!0,"unified-hovercard-preview-sample")}a.appendChild(b)};function Gx(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=Ex(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 Jx(a,b){a.data.va.Mf&&!a.data.Nd()?mx(a,b,"Pre-order eBook - "+a.data.va.ip,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Zk()?mx(a,b,"EBOOK FROM "+a.data.va.Au,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):mx(a,b,"Buy eBook - "+a.data.va.ip,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn")}function Ix(a,b){mx(a,b,"Read now",a.data.va.Yo,void 0,void 0,"unified-hovercard-read-now")} function Hx(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 Kx(a,b,c){hx.call(this,a);this.Ib=oj();this.j=this.ya=this.o=null;this.Fb=b;this.i=null;this.Jb=!!c;this.render(b);Lx(this)}n(Kx,hx);Kx.prototype.qa=function(){jx(this.i).dispose();E(this.V())};Kx.prototype.Fh=function(a,b){hx.prototype.Fh.call(this,a,b);this.isVisible()&&(this.ll=this.Ib?new ug(0,-2,0,0):new ug(0,0,0,-2),this.isVisible()&&this.Vf(),this.o=this.g,Mx(this))}; Kx.prototype.render=function(a){this.i&&(this.i.dispose(),this.j=this.ya=null);this.i=new Fx(a,this.className,435,this.Jb);this.i.render(this.V());Lx(this);this.isVisible()&&Mx(this)}; function Mx(a){var b=C("DIV"),c=C("DIV");var d=Zg(a.o||null);var e=Zg(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=Cg(e,d);h||(h=new yg(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,nu: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.nu?(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?sf(b,a.j):a.V().appendChild(b);a.ya?sf(c,a.ya):a.V().appendChild(c);a.ya=c;a.j=b} Kx.prototype.Zb=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"&&Tc(window.location,b.href))}c&&this.dispatchEvent(new Of(c,this))}}; function Lx(a){var b=Xj||Yj?"touchstart":"click";rg(jx(a.i),a.V(),b,a.Zb,a)};function Nx(a,b,c){gx.call(this,b);this.i=a;this.j=null;this.o=!1;if(c==(1).toString()||c==(7).toString())this.o=!0}u(Nx,gx);var Ox=new Q; Nx.prototype.Kc=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");Xh(c,"num");Dc(b,c.toString());a.appendChild(b);this.j=C("IMG");this.j.alt="";this.g.ef(this.j,"load",r(this.ka,this));Ox.dispatchEvent("start");(a=this.i.va.Ap)?(a=new R(a),S(a,"h",this.Ab()),S(a,"stbn",1),Xh(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.ev-cb()/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));dg(b,"mouseover",this.ma.bind(this,b))};Nx.prototype.ka=function(){this.dispatchEvent("render");Ox.dispatchEvent("complete");this.l&&Yg(this.l,M(this.j).width)};Nx.prototype.ma=function(a,b){(new Kx(a,this.i)).ye(b)};function Px(a,b,c){Nx.call(this,a,b-40,c);this.s=B("DIV","slider-annotation");this.O=!1}n(Px,Nx);Px.prototype.Kc=function(a){dg(this,"render",r(this.oa,this));Nx.prototype.Kc.call(this,a);a.appendChild(this.s)};Px.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 Qx(a,b,c){Px.call(this,a,b,c)}n(Qx,Px);Qx.prototype.Kc=function(a){Px.prototype.Kc.call(this,a)};Qx.prototype.U=function(){var a=this.i,b=C("DIV"),c=B("A",{className:"slider-annotation-title"},lf(a.Za()));Dc(c,a.va.Ag);b.appendChild(c);if(a=a.va.lk)a=B("DIV","slider-annotation-author",lf(a)),b.appendChild(a);L(b,M(this.j).width+5,"");return b};function Rx(){this.g=Sx;this.Kg=5E3}var Tx=0;Rx.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||"_"+(Tx++).toString(36)+Date.now().toString(36);e="_callbacks___"+d;b&&(q[e]=Ux(d,b),a.callback=e);b={timeout:this.Kg,ls:!0};var g=this.g;e=new Map(Object.entries(a));g=pc(g).toString();var h=g.split(/[?#]/),k=/[?]/.test(g)?"?"+h[1]:"";e=Ke(h[0],k,/[#]/.test(g)?"#"+(k?h[2]:h[1]):"",e);b=Zl(e,b);Ul(b,null,Vx(d,a,c));return{rb:d,En:b}}; Rx.prototype.cancel=function(a){a&&(a.En&&a.En.cancel(),a.rb&&Wx(a.rb,!1))};function Vx(a,b,c){return function(){Wx(a,!1);c&&c(b)}}function Ux(a,b){return function(c){Wx(a,!0);b.apply(void 0,arguments)}}function Wx(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=ui};function Xx(a,b,c){Q.call(this);this.U=a;this.ma=c;this.j=b;H(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(Xx,Q);f=Xx.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[Yx(this,a)];c=!!d&&b.al&&b.al(d);d&&!c&&this.l!=a&&this.Ae(a)}c||this.Of();break;case "canceldismiss":Zx(this);break;case "dismiss":$x(this)}};f.hd=function(){return this.j.isVisible()}; function ay(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=Yx(this,a),c=this.i[b];return c&&this.U.al&&this.U.al(c)?!1:(this.l=a,this.j.Ae(a),b!=-1)}; f.Of=function(){var a=Yx(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=by(c,c.ub(),cy(c.Pb)[0]),g=dy(c,c.ub());c.ka&&!c.ka.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.oa);e==0||Vb(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;ey(g)&&(g.selectionStart=e);g=c.Pb;ey(g)&&(g.selectionEnd=e)}}else c.qc(d);c.Bl=!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 $x(a){a.o||(a.o=window.setTimeout(r(a.re,a),100))}f.xo=function(){return this.o?(window.clearTimeout(this.o),this.o=null,!0):!1};function Zx(a){a.xo()||window.setTimeout(r(a.xo,a),10)} f.qa=function(){Xx.na.qa.call(this);delete this.ta;this.j.dispose();this.ma.dispose();this.U=null};f.su=function(a,b,c){this.s==a&&this.zl(b,c)}; f.zl=function(a,b){var c=Ta(b)=="object"&&b;b=(c?c.i():b)?Yx(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[Xa(this.O)]||this.O);this.j.mj(a);this.j.zl(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):ay(this));this.dispatchEvent("suggestionsupdate")};function Yx(a,b){b-=a.g;return b<0||b>=a.i.length?-1:b}f.update=function(a){this.ma.update(a)};function cy(a){var b=0,c=0;ey(a)&&(b=a.selectionStart,c=-1);return[b,c]}function ey(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};function fy(a,b,c,d){Lf.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 lj(d):null;this.i=new og(this);this.s=new og(this);this.l=new Jq;this.U=-1}u(fy,Lf);f=fy.prototype;f.Pb=null;f.il="";f.rf=!1;f.Bl=!1;f.ub=function(){return this.Pb.value};f.qc=function(a){this.Pb.value=a}; function gy(a,b){wf(b)&&(Pj(b,"combobox"),X(b,"autocomplete","list"));a.i.ha(b,"focus",a.sm);a.i.ha(b,"blur",a.Cq);a.Pb||(a.s.ha(b,"keydown",a.Ku),wf(b)&&If(Ue(b))==b&&hy(a,b))}f.Bq=function(a){for(var b=0;b<arguments.length;b++)gy(this,arguments[b])};f.qa=function(){fy.na.qa.call(this);this.i.dispose();delete this.i;this.s.dispose();this.l.dispose();Kf(this.Qa)}; f.Lc=function(a){switch(a.keyCode){case 40:if(this.g.hd())return ay(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.Mo),this.i.ha(this.Pb,"keypress",this.Lo),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.rt=function(){return!1};f.sm=function(a){hy(this,a.target||null)}; function hy(a,b){tg(a.s);a.g&&Zx(a.g);b!=a.Pb&&(a.Pb=b,a.Qa&&(a.Qa.start(),a.i.ha(a.Qa,"tick",a.um)),a.il=a.ub(),a.l.attach(a.Pb),a.i.ha(a.l,"key",a.tm),a.i.ha(a.Pb,"mousedown",a.No))}f.Cq=function(){this.Pb&&(this.i.Sa(this.l,"key",this.tm),Nq(this.l),this.i.Sa(this.Pb,"keyup",this.rt),this.i.Sa(this.Pb,"mousedown",this.No),this.rf&&iy(this),this.Pb=null,this.Qa&&(this.Qa.stop(),this.i.Sa(this.Qa,"tick",this.um)),this.g&&$x(this.g))};f.um=function(){this.update()};f.Ku=function(a){this.sm(a)}; f.tm=function(a){this.U=a.keyCode;this.g&&this.Lc(a)};f.Lo=function(){this.rf&&this.U!=229&&iy(this)};f.Mo=function(a){this.rf&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&iy(this)};f.No=function(){};function iy(a){a.rf&&(a.rf=!1,a.i.Sa(a.Pb,"keypress",a.Lo),a.i.Sa(a.Pb,"keyup",a.Mo))} f.update=function(a){if(this.Pb&&(a||this.ub()!=this.il)){if(a||!this.Bl){a=cy(this.Pb)[0];var b=this.ub();a=dy(this,b)[by(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.ep(b.s,10,r(b.su,b)),Zx(b)))}this.il=this.ub()}this.Bl=!1};function by(a,b,c){a=dy(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 dy(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 jy(a,b,c,d){Q.call(this);this.ka=a||document.body;this.g=Se(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(jy,Q);f=jy.prototype;f.V=function(){return this.ua};f.mj=function(a){this.Aa=a};f.zl=function(a,b,c){this.ma=b;this.i=a;this.U=-1;this.ta=cb();this.j=c;this.o=[];ky(this)};f.re=function(){this.s&&(this.s=!1,ly(this,!1),N(this.ua,!1))}; f.show=function(){this.s||(this.s=!0,ly(this,!0),N(this.ua,!0))};function ly(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"),Sj(a.j,null)))}f.isVisible=function(){return this.s}; function my(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&&ph(a.o[a.U],["ac-active","active"]),a.U=b,d&&(nh(d,["ac-active","active"]),a.j&&Sj(a.j,d),Rg(d,a.ua)))}f.Ae=function(a){if(a==-1)my(this,-1);else for(var b=0;b<this.i.length;b++)if(this.i[b].id==a){my(this,b);break}}; function ny(a){if(!a.ua){var b=a.g.Ma("DIV",{style:"display:none"});a.ua=b;nh(b,Wb(a.className).split(" "));Pj(b,"listbox");b.id=yk(xk.Hb());a.g.appendChild(a.ka,b);H(b,"click",a.vm,!1,a);H(b,"mousedown",a.wm,!1,a);H(b,"mouseover",a.xm,!1,a)}} function ky(a){ny(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.bm(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:yk(xk.Hb())});Pj(d,"option");this.O&&this.O.dv?this.O.dv(b,c,d):G(d,b.data.toString());c&&this.Ua&&(this.ya=!1,oy(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(), dh(a.ua,!0))}f.Oj=function(){if(this.j&&this.oa){var a=this.Aa||this.j;var b=this.Ib?5:1;xp(a,b,this.ua,b^1,null,null,65)}};f.qa=function(){this.ua&&(kg(this.ua,"click",this.vm,!1,this),kg(this.ua,"mousedown",this.wm,!1,this),kg(this.ua,"mouseover",this.xm,!1,this),this.g.Yh(this.ua),this.ua=null,this.s=!1);Kf(this.l);this.ka=null;jy.na.qa.call(this)}; function oy(a,b,c){if(!a.ya)if(b.nodeType==3){var d=null;Array.isArray(c)&&c.length>1&&(d=c.slice(1));c=py(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=Jf(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&&oy(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,oy(a,b,c),b=d}function py(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Vb(hd(c))}));Array.isArray(a)?b=a.length>0?fd(a[0]):"":/^\W/.test(a)||(b=fd(a));return b}function qy(a,b){for(;b&&b!=a.ua&&!mh(b,"ac-row");)b=b.parentNode;return b?a.o.indexOf(b):-1} f.vm=function(a){var b=qy(this,a.target);b>=0&&this.dispatchEvent({type:"select",mf:this.i[b].id});a.stopPropagation()};f.wm=function(a){a.stopPropagation();a.preventDefault()};f.xm=function(a){a=qy(this,a.target);a>=0&&!(cb()-this.ta<300)&&this.dispatchEvent({type:"hilite",mf:this.i[a].id})};var ry=ta(["//suggestqueries.google.com/complete/search"]);function sy(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 ty;c=new uy(this.Fa||a,this.ya);c.oa=!0;d=new fy(null,null,!1);Xx.call(this,b,c,d);d.g=this;d.Bq(a);this.O=a;this.Nj=!1;this.jk=!0;H(this,"update",r(this.Ea,this))}u(sy,Xx);sy.prototype.Of=function(){this.Ga=this.oa.value;sy.na.Of.call(this);return!1}; sy.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 ty(){}var Sx=Je(ry);ty.prototype.ep=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 Rx;this.i.send(a,c)};ty.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)};function uy(a,b){jy.call(this);this.Ea=a;this.Ga=b||0} u(uy,jy);uy.prototype.Oj=function(){uy.na.Oj.call(this);var a=0,b=A("gbfwa");b||(b=$e("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(Xe("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 vy(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=oj()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");dh(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=oj()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");dh(this.o,!0);this.O.appendChild(this.o); this.g.ha(this.j,"click",this.rl.bind(this,-.75));this.g.ha(this.o,"click",this.rl.bind(this,.75));this.Wh();this.g.ha(this.j,"click",this.rl.bind(this,-.75));this.resize();this.ka=0;this.ma=yd()>=8&&!$d("9")&&oj();c&&wy(this,c)}u(vy,W);function xy(a){var b=Math.ceil(yy(a)*1.25);b=Math.min(a.U.length,a.ka+b);v(a.U.slice(a.ka,b),r(a.zs,a));a.Wh();a.ka=b;b>=a.U.length&&a.dispatchEvent("render")}f=vy.prototype; f.zs=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.Bs.bind(this,b,c));a.Kc(c)};f.Bs=function(a,b){E(a);this.Wh();N(b,!0)};function wy(a,b){b=b.map(function(c){return this.s?new Qx(c,this.wb):new Nx(c,this.wb,this.oa)},a);zy(a,b)}function zy(a,b){xb(a.U,b);xy(a)} f.rl=function(a){(oj()?a<0:a>0)&&xy(this);a*=this.ma?-1:1;a*=M(this.i).width+20;this.l&&(this.l.dispose(),this.l=null);this.l=new Cj([this.i.scrollLeft,0],[this.i.scrollLeft+a,0],500,Fj);H(this.l,"animate",this.Dq.bind(this));H(this.l,"end",this.Wh.bind(this));this.l.play()};f.Dq=function(a){a=a.coords.map(Math.round);this.i.scrollLeft=a[0]}; f.Wh=function(){if(Id&&oj()||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 yy(a){var b=a.s?110:50;return Math.ceil(M(a.i).width/b)};function Ay(a,b,c){W.call(this);this.metadata=a;this.source=b?b:"gbs_bookshelf_slider";this.O=0;this.l=new rh;this.ma=this.l.getSize();this.U="";this.oa=typeof c==="boolean"?!c:!1;dg(this.l,"resize",r(this.ym,this))}n(Ay,W);f=Ay.prototype;f.ym=function(){this.l.getSize().width>this.ma.width?this.hh():dg(this.l,"resize",r(this.ym,this))};f.render=function(a){this.o=a;this.i=this.Ok(a);this.g.ha(this.i,"render",r(this.hh,this))};f.Ok=function(){return new vy(this.o,!0,void 0,void 0,this.metadata.getId())}; f.hh=function(){this.i.resize();var a=Math.ceil(yy(this.i)*1.25)+1,b=this.Ue(this.O,a);b&&(this.O+=a,ii(b,r(this.Ot,this)))};f.rg=ba(12);f.Ot=function(a){a=a.target;if(ni(a)){if((a=(new wx(qi(a))).g)&&a.length){var b=Lm(a[a.length-1].va.Ag);this.U!=b&&(this.U=b,zy(this.i,By(this,a)));(a=Gf(this.V()))&&$g(a,1)}else this.i.ka==0&&this.cp();this.dispatchEvent("success")}}; function By(a,b){return a.yk(b).map(function(c){return this.i.s?new Qx(c,200,this.metadata.getId()):new Nx(c,80,this.metadata.getId())},a)}f.cp=function(){};f.V=function(){return this.o};f.yk=function(a){return this.source?a.map(function(b){b.va.source=this.source;return b},this):a};function Cy(a,b,c){bv.call(this,a,b,c);this.Mh(!0)}u(Cy,bv);cr("goog-checkbox-menuitem",function(){return new Cy(null)});function Dy(a){Cy.call(this,ad(a.Za()),a.getId());this.i=a}n(Dy,Cy);Dy.prototype.Kb=function(a){Cy.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:"+(oj()?"left":"right")});a=B("DIV","goog-menuitem-accel",a,lf(String(this.i.ta)));rf(this.Gb(),a,1)}};function Ey(a,b,c){c=c===void 0?!1:c;lv.call(this);this.j=a;this.o=b;this.U=c}n(Ey,lv);f=Ey.prototype;f.Oa=function(){lv.prototype.Oa.call(this);Dx(this.o).forEach(this.Zr,this)};f.Ia=function(){lv.prototype.Ia.call(this);this.V().style.maxHeight="200px";this.V().style.overflowY="scroll";var a=Z(this);a.ha(this.V(),"mouseout",this.Eq);a.ha(this.V(),"scroll",this.Fq)};f.Eq=function(a){xf(this.V(),a.relatedTarget)||this.wa(!1)}; f.ot=function(a){var b=a.target,c=b.i,d=this.j.Sb();Xq(b,16)?qx(c,d):tx(c,d);this.dispatchEvent("g");a.stopPropagation()};f.Fq=function(a){a.stopPropagation()};f.Zr=function(a){var b=!Vb(hd(a.Za())),c=a.j&&(!a.oa||this.j.ka),d=!!rx(a,this.j.Sb());b&&(c||d)&&(b=new Dy(a),b.Qf(d),b.nb(this.o.jl!=a.getId()||this.U),this.Xa(b,!0),Z(this).ha(b,"action",this.ot))};function Fy(a){var b=[];Ek(a,function(c){c instanceof Dy&&Xq(c,16)&&b.push(c.i)});return b};function Gy(a,b,c){Yw.call(this,null,null,c?5:0);this.i=new Ey(a,b);this.i.ae(this);Mf(this,this.i);this.o=new Image(16,16);this.o.src="/googlebooks/images/my_library_logo.png";this.Tb(64,!0)}n(Gy,Yw);f=Gy.prototype;f.Oa=function(){Yw.prototype.Oa.call(this);O(this.V(),"add-to-library")}; function Hy(a){a.i.Ra||a.i.render();var b=Fy(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=cx(a.o,c));ir(a,c)}f.Nb=function(a){this.tk();Yw.prototype.Nb.call(this,a);this.i.Ra||this.i.render();if(a){a=this.i;var b=this.V();mv(a,new cv(b,8,!0),void 0,null)}else this.i.ab()}; f.Ia=function(){Yw.prototype.Ia.call(this);var a=Z(this);a.ha(this,"enter",this.zv);a.ha(this,"leave",this.tk);a.ha(this,"action",this.Gq);a.ha(this.i,"g",this.vt);Hy(this)};f.vt=function(){Hy(this)};f.Gq=function(){this.Nb(!0)};f.zv=function(){this.tk();this.Ro=U(r(this.Nb,this,!0),200)};f.tk=function(){nj(this.Ro)};f.Ro=null;function Iy(a){xx.call(this);a!=null&&a.bookshelf&&v(a.bookshelf,function(b){zx(this,new wx(b))},this)}n(Iy,xx);function Jy(a,b,c){var d=new R("/books");Wu(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);An(d.toString(),t(Ky,a,c))}function Ly(a,b){var c=new Iy(b);a&&a.forEach(function(d){My(d.Sb(),d.La,c)});return c}function My(a,b,c){b.forEach(function(d){var e=new ox;e.va.Sl=a;(d=Ax(c,String(d)))&&d.g.push(e)})}function Ky(a,b,c){a(Ly(b,c))};function Ny(a){return a.split(Oy).filter(function(b){return b.length>0})} var Py=/\s/,Qy=/[ -]/,Oy=/[+,;]/,Ry=/-?"[^"]+"|[^\s"]+/g,Sy=RegExp('["\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02]',"g"),Ty=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,]"),Uy=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 Vy(a){return Gd?a.toLowerCase():a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC")};function Wy(a){var b={};Xy(a).forEach(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e);g=Ty.test(g)?"-":g;d[g]||(d[g]={});d=d[g]}d!=b&&(d.$=Yy)});return b} function Xy(a){a=Vc(Vy(a));var b=a.match(Sy);b&&(a=a.replace(Sy,'"'),b.length&1&&(a+='"'));b=a.match(Ry);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(Uy,""));else if(!c.startsWith("-")){c=Ny(c.replace(Uy,""));c=qa(c);for(var d=c.next();!d.done;d=c.next())a.add(d.value)}a.delete("");return Array.from(a)}var Yy={};function Zy(a){var b=!0;b=b===void 0?!1:b;this.g=typeof a==="string"?Wy(a):a;this.j=b;this.i=[]} function $y(a,b,c,d){for(var e=ib(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.$,Qy.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.i=!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=ib(d)}d.push(l);e=l}k.i&&tb(g,h)}}function az(a,b){this.startOffset=a;this.Ig=void 0;this.endOffset=a;this.fh=void 0;this.i=!1;this.g=b};function bz(a,b){var c=void 0;c=c===void 0?Infinity:c;b=new Zy(b);c=c===void 0?Infinity:c;var d=d===void 0?[]:d;var e=" ",g,h=Vy(a);for(g=0;g<h.length&&d.length<c;g++){var k=h.charAt(g);a=Qy.test(e);if(Py.test(k)){if(k=" ",a)continue}else if(Ty.test(k)){if(k="-",a)continue}else a&&b.g[k]&&b.i.push(new az(g,b.g));$y(b,k,g,d);e=k}Qy.test(e)||$y(b," ",g,d);d.length>=c&&(d.length=c);return d};function cz(a){var b=Wy(a);a=dz();Array.prototype.forEach.call(a,function(c){ez(b,c)})}function dz(){var a=[],b=wb(Ze("patent-text")),c=$e("patent-title");for(c&&b.push(c);c=b.pop();)c.nodeType==3?a.push(c):xb(b,c.childNodes);return a} function ez(a,b){var c=Ff(b);a=bz(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),je("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=C("span");x(a,de(d));sf(a,b)}};function fz(){bv.call(this,"Turn off highlighting");var a=Hh("dq")||Hh("q");a&&cz(a);this.Lb=!0}n(fz,bv);fz.prototype.Ia=function(){bv.prototype.Ia.call(this);Z(this).ha(this,"action",this.i)};fz.prototype.i=function(){this.Lb=!this.Lb;P(window.document.body,"patent-highlight-disabled",!this.Lb);ir(this,this.Lb?"Turn off highlighting":"Turn on highlighting")};function gz(){}u(gz,fv);Sa(gz);gz.prototype.Jc=function(a){return a.g.Ma("DIV",Rq(this,a).join(" ")+" goog-inline-block","\u00a0")};gz.prototype.Ob=function(a,b){b=gz.na.Ob.call(this,a,b);O(b,"goog-inline-block");return b};gz.prototype.Pa=function(){return"goog-toolbar-separator"};function hz(){}u(hz,Zq);Sa(hz);f=hz.prototype;f.Jc=function(a){var b=Rq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),this.zi(a.vc(),a.g));this.nf(b,a.Xe());return b};f.ag=function(){return"button"};f.Dc=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){iz(b,!0);iz(b,!1);a:{var c=a.g.Tn(b);var d=this.Pa()+"-outer-box";if(c&&mh(c,d)&&(c=a.g.Tn(c),d=this.Pa()+"-inner-box",c&&mh(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.zi(b.childNodes,a.g));nh(b,["goog-inline-block",this.Pa()]);return hz.na.Ob.call(this,a,b)};f.Pa=function(){return"goog-custom-button"}; function iz(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(Wb(e)=="")a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function jz(){}u(jz,hz);Sa(jz);jz.prototype.Pa=function(){return"goog-toolbar-button"};function kz(){this.g="toolbar"}u(kz,lt);Sa(kz);kz.prototype.nh=function(a){return a.tagName=="HR"?new gv(gz.Hb()):kz.na.nh.call(this,a)};kz.prototype.fg=function(){return"goog-toolbar"};kz.prototype.Sn=function(){return"horizontal"};function lz(a){kz.call(this);this.i=a}u(lz,kz);var mz={};lz.prototype.fg=function(){return this.i||"ocean-chrome-toolbar"};function nz(a){Q.call(this);this.g=[];oz(this,a)}u(nz,Q);f=nz.prototype;f.Pf=null;f.Pj=null;function pz(a,b){a.Pj=b}function oz(a,b){b&&(b.forEach(function(c){qz(this,c,!1)},a),xb(a.g,b))}f.Na=function(a){this.Re(a,this.g.length)};f.Re=function(a,b){a&&(qz(this,a,!1),yb(this.g,b,0,a))};f.Hd=function(){return wb(this.g)};f.Ie=function(a){a!=this.Pf&&(qz(this,this.Pf,!1),this.Pf=a,qz(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(){nz.na.qa.call(this);delete this.g;this.Pf=null};function qz(a,b,c){b&&(typeof a.Pj=="function"?a.Pj(b,c):typeof b.Fl=="function"&&b.Fl(c))};function rz(a,b,c){qt.call(this,b,a||kz.Hb(),c)}u(rz,qt);rz.prototype.oi=function(a){rz.na.oi.call(this,a);this.Yd||vt(this)};function sz(a,b,c){pr.call(this,a,b||jz.Hb(),c)}u(sz,pr);cr("goog-toolbar-button",function(){return new sz(null)});function tz(a,b){gv.call(this,a||gz.Hb(),b)}u(tz,gv);cr("goog-toolbar-separator",function(){return new tz});function uz(a){a=a||"viewport-chrome-toolbar";a=mz[a]||(mz[a]=new lz(a));rz.call(this,a);this.ya={};this.l=new og(this)}n(uz,rz);function vz(a,b,c,d){b.Tb(16,!0);if(c){var e=a.ya[c];e||(e=new nz,pz(e,function(g,h){g&&g.Qf(h)}),a.ya[c]=e);e.Na(b);b.zf&=-17;H(b,"action",function(g){e.Ie(g.target)});d&&e.Ie(b)}else b.Rc(16,!!d)}function wz(a,b){a.ya.viewport&&a.ya.viewport.Ie(b)}uz.prototype.qa=function(){rz.prototype.qa.call(this);this.l.dispose();Lb(this.ya,function(a){a.dispose()})};function xz(){}u(xz,Zq);Sa(xz);f=xz.prototype;f.Jc=function(a){var b=Rq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),a.vc());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 xz.na.Ob.call(this,a,b)};f.ub=function(){return""};f.Pa=function(){return"goog-flat-button"};cr("goog-flat-button",function(){return new pr(null,xz.Hb())});function yz(){}u(yz,hz);Sa(yz);yz.prototype.Dc=function(a){return yz.na.Dc.call(this,a&&a.firstChild)};yz.prototype.Ob=function(a,b){var c=Xe("*","goog-menu",b)[0];if(c){N(c,!1);Ue(c).body.appendChild(c);var d=new jv;Dk(d,c);a.He(d)}return yz.na.Ob.call(this,a,b)};yz.prototype.zi=function(a,b){return yz.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)};yz.prototype.Pa=function(){return"goog-menu-button"};function zz(){this.g=[]}u(zz,Xu);Sa(zz);zz.prototype.Jc=function(a){var b=zz.na.Jc.call(this,a);O(b,"goog-submenu");Az(this,a,b);return b};zz.prototype.Ob=function(a,b){b=zz.na.Ob.call(this,a,b);O(b,"goog-submenu");Az(this,a,b);var c=Xe("DIV","goog-menu",b);if(c.length){var d=new jv(a.g);c=c[0];N(c,!1);a.g.g.body.appendChild(c);Dk(d,c);a.He(d,!0)}return b};zz.prototype.dg=function(a,b){var c=this.Dc(a),d=c&&c.lastChild;zz.na.dg.call(this,a,b);d&&c.lastChild!=d&&mh(d,"goog-submenu-arrow")&&c.appendChild(d)}; zz.prototype.ii=function(a){zz.na.ii.call(this,a);var b=a.Gb(),c=Ye(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Bz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.V();X(a,"haspopup","true")};function Az(a,b,c){var d=b.g.Ma("SPAN");d.className="goog-submenu-arrow";Bz(b,d);a.Dc(c).appendChild(d)}function Bz(a,b){Hk(a)?(O(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(oh(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function Cz(a,b,c,d){bv.call(this,a,b,c,d||zz.Hb())}u(Cz,bv);f=Cz.prototype;f.Tg=null;f.Ml=null;f.ml=!1;f.kc=null;f.Ci=!1;f.Ia=function(){Cz.na.Ia.call(this);Z(this).ha(this.getParent(),"hide",this.Oo);this.kc&&Dz(this,this.kc,!0)};f.bc=function(){Z(this).Sa(this.getParent(),"hide",this.Oo);this.kc&&(Dz(this,this.kc,!1),this.Ci||(this.kc.bc(),E(this.kc.V())));Cz.na.bc.call(this)};f.qa=function(){this.kc&&!this.Ci&&this.kc.dispose();this.kc=null;Cz.na.qa.call(this)}; f.Oc=function(a){Cz.na.Oc.call(this,a);a||(this.Tg&&nj(this.Tg),this.Tg=U(this.te,218,this))};f.Ll=function(){var a=this.getParent();a&&ut(a)==this&&(Ez(this,!0),Fz(this))};f.te=function(){var a=this.kc;a&&a.getParent()==this&&(Ez(this,!1),Ek(a,function(b){typeof b.te=="function"&&b.te()}))};function Gz(a){a.Tg&&nj(a.Tg);a.Ml&&nj(a.Ml)}f.wa=function(a,b){(a=Cz.na.wa.call(this,a,b))&&!this.isVisible()&&this.te();return a}; function Fz(a){Ek(a.getParent(),function(b){b!=this&&typeof b.te=="function"&&(b.te(),Gz(b))},a)}f.Lc=function(a){var b=a.keyCode,c=Hk(this)?37:39,d=Hk(this)?39:37;if(!this.ml){if(!this.isEnabled()||b!=c&&b!=13&&b!=this.ol)return!1;this.Ll();vt(Hz(this));Gz(this)}else if(!Hz(this).Lc(a))if(b==d)this.te();else return!1;a.preventDefault();return!0};f.Du=function(){this.kc.getParent()==this&&(Gz(this),this.yg().Oc(this),Fz(this))};f.Oo=function(a){a.target==this.yg()&&(this.te(),Gz(this))}; f.ye=function(a){this.isEnabled()&&(Gz(this),this.Ml=U(this.Ll,218,this));Cz.na.ye.call(this,a)};f.kf=function(a){Gz(this);if(Wq(this,8)||Wq(this,16))return Cz.na.kf.call(this,a);this.Ll();return!0}; function Ez(a,b){!b&&Hz(a)&&Hz(a).Od(-1);a.dispatchEvent(Ak(64,b));var c=Hz(a);b!=a.ml&&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 Lr(a.V(),12,!1);var d=Hz(a),e=d.V();d.isVisible()||(e.style.visibility="hidden",N(e,!0));c.Ic(e,8);d.isVisible()||(N(e,!1),e.style.visibility="visible")}a.ml=b}function Dz(a,b,c){var d=Z(a);(c?d.ha:d.Sa).call(d,b,"enter",a.Du)}f.Na=function(a){Hz(this).Xa(a,!0)};f.Re=function(a,b){Hz(this).jg(a,b,!0)};f.Hd=function(){return Hz(this).Hd()}; function Hz(a){a.kc?a.Ci&&a.kc.getParent()!=a&&a.kc.ae(a):a.He(new jv(a.g),!0);a.kc.V()||a.kc.Oa();return a.kc}f.He=function(a,b){var c=this.kc;a!=c&&(c&&(this.te(),this.Ra&&Dz(this,c,!1)),this.kc=a,this.Ci=!b,a&&(a.ae(this),a.wa(!1,!0),kv(a,!1),zt(a,!1),this.Ra&&Dz(this,a,!0)))};f.Rd=function(a){return Hz(this).Rd(a)};cr("goog-submenu",function(){return new Cz(null)});function Iz(a,b,c,d,e){pr.call(this,a,c||yz.Hb(),d);this.Tb(64,!0);this.o=new cv(null,9);b&&this.He(b);this.Qa=new lj(500);this.Ua=e||hv.Hb()}u(Iz,pr);f=Iz.prototype;f.Ia=function(){Iz.na.Ia.call(this);Jz(this,!0);this.i&&Kz(this,this.i,!0);X(this.ua,"haspopup",!!this.i)};f.bc=function(){Iz.na.bc.call(this);Jz(this,!1);if(this.i){this.Nb(!1);this.i.bc();Kz(this,this.i,!1);var a=this.i.V();a&&E(a)}};f.qa=function(){Iz.na.qa.call(this);this.i&&(this.i.dispose(),delete this.i);delete this.Wa;this.Qa.dispose()}; f.vf=function(a){Iz.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){Iz.na.ze.call(this,a);this.i&&!this.isActive()&&(this.i.Yd=!1)};f.kf=function(){kr(this,!1);return!0};f.Ys=function(a){this.i&&this.i.isVisible()&&!this.Rd(a.target)&&this.Nb(!1)};f.Rd=function(a){return a&&xf(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.Lc(a);return c&&this.i&&this.i.Xb instanceof Cz||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.Qk=function(){this.Nb(!1)};f.ji=function(a){this.Nb(!1);Iz.na.ji.call(this,a)}; function Lz(a){a.i||a.He(new jv(a.g,a.Ua));return a.i||null}f.He=function(a){var b=this.i;a!=b&&(b&&(this.Nb(!1),this.Ra&&Kz(this,b,!1),delete this.i),this.Ra&&X(this.ua,"haspopup",!!a),a&&(this.i=a,a.ae(this),a.wa(!1),kv(a,!1),this.Ra&&Kz(this,a,!0)));return b};f.Na=function(a){Lz(this).Xa(a,!0)};f.Re=function(a,b){Lz(this).jg(a,b,!0)};f.wa=function(a,b){(a=Iz.na.wa.call(this,a,b))&&!this.isVisible()&&this.Nb(!1);return a};f.nb=function(a){Iz.na.nb.call(this,a);this.isEnabled()||this.Nb(!1)}; f.Nb=function(a,b){Iz.na.Nb.call(this,a);if(this.i&&Xq(this,64)==a){if(a)this.i.Ra||this.i.render(),this.ta=Pg(this.V()),this.La=Zg(this.V()),Mz(this),!b||b.keyCode!=40&&b.keyCode!=38?this.i.Od(-1):vt(this.i);else{kr(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.Ys,!0),c.call(b,this.Qa,"tick",this.Kq),a?this.Qa.start(): this.Qa.stop())}this.i&&this.i.V()&&this.i.ua.removeAttribute("aria-hidden")};function Mz(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.Ic(b,c.i^1,null,a.oa);a.i.isVisible()||(N(b,!1),b.style.visibility="visible")}} f.Kq=function(){var a=Zg(this.V()),b=Pg(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)),Kg(c,new w(0,0))),this.La=a,this.ta=b,Mz(this))}; function Kz(a,b,c){var d=Z(a);c=c?d.ha:d.Sa;c.call(d,b,"action",a.Qk);c.call(d,b,"close",a.Hq);c.call(d,b,"highlight",a.Iq);c.call(d,b,"unhighlight",a.Jq)}function Jz(a,b){var c=Z(a);(b?c.ha:c.Sa).call(c,a.V(),"keydown",a.pt)}f.Iq=function(a){(a=a.target.V())&&Nz(this,a)};f.pt=function(a){Wq(this,32)&&this.V()&&this.i&&this.i.isVisible()&&a.stopPropagation()};f.Jq=function(){if(!ut(this.i)){var a=this.V();X(a,"activedescendant","");X(a,"owns","")}}; f.Hq=function(a){if(this.hd()&&a.target instanceof bv){a=a.target;var b=a.V();a.isVisible()&&Xq(a,2)&&b!=null&&Nz(this,b)}};function Nz(a,b){a=a.V();b=Rj(b)||b;if(!b.id){var c=xk.Hb();b.id=yk(c)}Sj(a,b);X(a,"owns",b.id)}cr("goog-menu-button",function(){return new Iz(null)});function Oz(){}u(Oz,xz);Sa(Oz);Oz.prototype.Jc=function(a){var b=Rq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),[Pz(this,a.vc(),a.g),Qz(this,a.g)]);this.nf(b,a.Xe());return b};Oz.prototype.Dc=function(a){return a&&a.firstChild}; Oz.prototype.Ob=function(a,b){var c=Xe("*","goog-menu",b)[0];if(c){N(c,!1);a.g.g.body.appendChild(c);var d=new jv;Dk(d,c);a.He(d)}Xe("*",this.Pa()+"-caption",b)[0]||b.appendChild(Pz(this,b.childNodes,a.g));Xe("*",this.Pa()+"-dropdown",b)[0]||b.appendChild(Qz(this,a.g));return Oz.na.Ob.call(this,a,b)};function Pz(a,b,c){return c.Ma("DIV","goog-inline-block "+(a.Pa()+"-caption"),b)}function Qz(a,b){return b.Ma("DIV",{"class":"goog-inline-block "+(a.Pa()+"-dropdown"),"aria-hidden":!0},"\u00a0")} Oz.prototype.Pa=function(){return"goog-flat-menu-button"};cr("goog-flat-menu-button",function(){return new Iz(null,null,Oz.Hb())});function Rz(a){uz.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=Mm()=="patents";if(!a.Yk){var b=A("appbar-patents-prior-art-finder-link");if(b&&(b=b.getAttribute("href"))){var c=new Yw("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 Yw(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 Yw("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.Yk&&(b=cx("/googlebooks/images/kennedy/zoom_tool.png"),this.Vg=new Yw(b,void 0,void 0,1),this.Vg.jc(2),this.Xa(this.Vg,!0),H(this.Vg,"action",r(this.Am,this,"zoomin")), b=cx("/googlebooks/images/kennedy/zoom_out.png"),this.Wg=new Yw(b,void 0,void 0,1),this.Wg.jc(1),this.Xa(this.Wg,!0),H(this.Wg,"action",r(this.Am,this,"zoomout")));c=!!a.tj;b=!!a.rj;if(c||b){d=cx("/googlebooks/images/kennedy/one_up_page_view.png");this.Cg=new Yw(d,void 0,void 0,1);this.Cg.jc(2);H(this.Cg,"action",r(this.Qj,this,yq));this.Xa(this.Cg,!0);vz(this,this.Cg,"viewport",!0);if(c){d=cx("/googlebooks/images/kennedy/two_up_page_view.png");this.Lg=new Yw(d,void 0,void 0,1);c=1;if(this.i||b)c= 3;this.Lg.jc(c);H(this.Lg,"action",r(this.Qj,this,vr));this.Xa(this.Lg,!0);vz(this,this.Lg,"viewport")}b&&(d=cx("/googlebooks/images/kennedy/thumbnail.png"),this.Jg=new Yw(d,void 0,void 0,1),c=1,this.i&&(c=3),this.Jg.jc(c),H(this.Jg,"action",r(this.Qj,this,Eq)),this.Xa(this.Jg,!0),vz(this,this.Jg,"viewport"));this.l.ha(this.N,"viewportmodechange",this.zm);this.zm()}this.i&&(b=cx("/googlebooks/images/kennedy/maximize.png"),this.oa=new Yw(b,void 0,void 0,1),this.oa.Tb(16,!0),this.oa.Qf(!1),this.Wa&& this.oa.jc(1),this.Xa(this.oa,!0),this.l.ha(this.oa,"action",this.Gv),this.l.ha(this.i,"change",this.mt));this.Ea&&(b=cx("/googlebooks/images/kennedy/clip.png"),this.j=new Yw(b,void 0,void 0,1),this.j.Tb(16,!0),this.j.jc(2),this.j.Qf(!1),this.Xa(this.j,!0),H(this.j,"action",r(this.Ht,this)));a.Il&&(b=cx("/googlebooks/images/kennedy/insert_link.png"),this.U=new Yw(b,void 0,void 0,1),this.U.Tb(16,!0),this.j&&this.U.jc(1),this.Xa(this.U,!0),H(this.U,"action",r(this.os,this)));a.Jl&&(b=!!this.N.Ta().mi, c=!!Ll(this.N.Ya(),this.N.Ta().Uh),d=this.N.Ca().we()||"Contents",b||c?(b=cx("/googlebooks/images/kennedy/menu_down_arrow.png",d),b=Eb(b),this.Ug=b[0],this.Bd=new Yw(b),this.Bd.jc(2),this.Xa(this.Bd,!0),this.l.ha(this.Bd,"action",this.pu),vz(this,this.Bd)):(this.Ug=B("SPAN","jfk-button-label",d),this.Bd=new Yw(this.Ug),this.Bd.nb(!1),this.Bd.jc(2),this.Xa(this.Bd,!0)),b=cx("/googlebooks/images/kennedy/page_left.png"),this.Zi=new Yw(b,void 0,void 0,1),this.Zi.jc(3),this.Xa(this.Zi,!0),H(this.Zi,"action", r(this.N.mb,this.N,"previous")),b=cx("/googlebooks/images/kennedy/page_right.png"),this.aj=new Yw(b,void 0,void 0,1),this.aj.jc(1),this.Xa(this.aj,!0),H(this.aj,"action",r(this.N.mb,this.N,"next")),this.l.ha(this.N,"pagechange",this.Lq))}if(a.Kl&&(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 Yw("View sample");$q(c,"gb-view-sample-button");this.Xa(c,!0);this.l.ha(c,"action",r(this.Zd,this,b));e&&(c.jc(2), c=new jv,d=new bv("Sample print book"),this.l.ha(d,"action",r(this.Zd,this,b)),c.Xa(d,!0),$q(d,"gb-sample-print-book-menuitem"),b=new bv("Sample eBook"),this.l.ha(b,"action",r(this.Zd,this,e)),c.Xa(b,!0),$q(b,"gb-sample-ebook-menuitem"),e=new Iz("",c,Oz.Hb()),$q(e,"gb-jfk-margin-fix"),$q(e,"gb-view-sample-dropdown"),e.jc(1),this.Xa(e,!0))}this.ta&&!this.ta.is_cobrand&&this.o&&!this.La&&(e=this.Aa&&this.Aa.uid,b=Ly([this.o],this.Aa),e?(this.Ih=new Gy(this.o,b),this.Xa(this.Ih,!0)):(e=cx("/googlebooks/images/kennedy/menu_down_arrow.png", "Add to my library"),e=Eb(e),this.Ih=new Yw(e),this.Xa(this.Ih,!0),e=r(this.Zd,this,this.ta.sign_in_url||this.ta.signInUrl),dg(this.Ih,"action",e)));if(a.Yk){if(e=A("appbar-write-review-link"))if(e=e.getAttribute("href"))this.Ua=new Yw("Write review"),this.Xa(this.Ua,!0),this.l.ha(this.Ua,"action",r(this.Zd,this,e));Sz(this,"appbar-application-grant-link","application-grant");Sz(this,"appbar-content-language-link","content-language")}else if(e=A("appbar-download-pdf-link"))if(e=e.getAttribute("href"))b= new Yw("Download PDF"),this.Xa(b,!0),this.l.ha(b,"action",r(this.Zd,this,e));a.wv&&(a=cx("/googlebooks/images/kennedy/settings.png"),O(a[0],"goog-flat-menu-button-img"),e=B("DIV",{"class":"toc-div"}),b=new jv,b.Xa(new fr(e),!0),(c=document.getElementById("ofe-gear-menu-contents"))&&e.appendChild(c.cloneNode(!0)),this.Fa=new Iz(a,b,Oz.Hb()),this.Xa(this.Fa,!0),this.La&&!this.N&&(a=new fz,this.Fa.Re(a,0)))}n(Rz,uz); function Tz(a){var b=A("left-toolbar-buttons"),c=A("right-toolbar-buttons");(new Rz({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,Il:a.Il,Yk:!0,Kl:a.Kl})).render(b);(new Rz({yb:a.yb,Jl:a.Jl,wv:!0})).render(c)}f=Rz.prototype;f.Gv=function(){var a=this.i;$p(a,!a.df());this.Ga.update()};f.mt=function(){this.oa.Rc(16,this.i.df())};f.Ht=function(){this.Ea(Xq(this.j,16))}; f.os=function(){if(Xq(this.U,16)){var a=new Br(document.body,this.N,!0);a.render(this.U,!0);dg(a,"dispose",r(this.U.Qf,this.U,!1))}};f.Qj=function(a){this.N.Ub(a);this.N.Va().getQuery()||this.Ga.update()};f.zm=function(){var a=this.N.Da();a instanceof yq&&wz(this,this.Cg);a instanceof vr&&wz(this,this.Lg);a instanceof Eq&&wz(this,this.Jg);a=a.Gc;this.Wg.nb(a);this.Vg.nb(a)};f.Am=function(a){this.N.mb(a)}; function Sz(a,b,c){b=Ze(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 Yw(k);e==0&&e!=d-1?k.jc(2):e==d-1&&e!=0?k.jc(1):e!=0&&e!=d-1&&k.jc(3);a.Xa(k,!0);vz(a,k,c,!!g);g||a.l.ha(k,"action",r(a.Zd,a,h))}}}f.Lq=function(){var a=this.N.Ca().we()||"Contents";this.Ug&&x(this.Ug,hh(a,{jj:"009928d1-72d6-47df-9510-9ba0bced7071"}))};f.pu=function(){this.Bd.je&16&&(new qr(this.N,this.Bd,this.ta)).render(3)}; f.Zd=function(a){Sc(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 Uz(a,b){hx.call(this,a);this.o=b}n(Uz,hx); Uz.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=jf(d,"TABLE"),g=e.appendChild(jf(d,"TBODY")),h=0;h<1;h++){for(var k=jf(d,"TR"),l=0;l<2;l++)k.appendChild(jf(d,"TD"));g.appendChild(k)}O(e,this.className+"-table-layout");d=e.rows[0].cells;g=d[0];h=Vz(this);g.appendChild(h);g=d[1];h=Wz(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";Dc(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.o;if((d=e.Hc)&&!e.Mf&&e.Wa){var m;e.Fb&&Mj.aw&&(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", lf("Download ")),d&&(h=B("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(lf(", ")),d=B("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(lf(" - ")),e=e.Sb(),d=(new R(window.location.href)).l.split("/"),d=new R("/"+d[1]),Wu(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");Dc(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 Vz(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 og(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 Wz(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");Dc(c,"/support/bin/answer.py?answer=1062949");var h=B("A",{},"Scanned pages");Dc(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 og(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} Uz.prototype.ya=function(){of(this.j);var a=B("A",{target:"_blank"},"Learn more about books on Google Play");Dc(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};Uz.prototype.i=function(a){of(this.j);typeof a==="string"?this.j.appendChild(lf(a)):this.j.appendChild(a)};function Xz(a,b){Yw.call(this,b,void 0,3);this.o=a}n(Xz,Yw);Xz.prototype.render=function(a){Yw.prototype.render.call(this,a);O(this.V(),"gb-get-book")};Xz.prototype.Ia=function(){Yw.prototype.Ia.call(this);var a=this.V();this.i=new Uz(a,this.o);this.i.render();a=A("menu_container");(a=$e("about_title",a))&&E(a)}; function Yz(){var a=A("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!mh(a.parentNode.parentNode,"jfk-button"):1){a=A("gb-buy-options-trigger");var b=A("buy");if(a&&b){oh(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");xp(a,9,b,8);N(b,!1);H(document,"mousedown",t(Zz,a,b))}}}function Zz(a,b,c){a=xf(a,c.target);c=xf(b,c.target);var d=ah(b);a||c||!d?a&&(N(b,!d),d||$g(b,1)):N(b,!1)};function $z(a,b,c,d,e,g){function h(l){l&&(l.tabIndex=0,Pj(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||Se();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=ah(this.l):this.i&&(this.g=mh(this.i,"goog-zippy-expanded")));this.U=new og(this);this.O=new Jq;this.ka=new og(this);var k=this; h(this.i);h(this.l);this.Ge(this.g)}u($z,Q);$z.prototype.qa=function(){$z.na.qa.call(this);Kf(this.U);Kf(this.O);Kf(this.ka)};$z.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 aA("toggle",this,this.g))}; $z.prototype.oa=function(a){if(a.keyCode==13||a.keyCode==32)this.Ge(!this.g),this.dispatchEvent(new aA("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};$z.prototype.ma=function(a){this.Ge(!this.g);this.dispatchEvent(new aA("action",this,this.g,a))};function aA(a,b){Of.call(this,a,b)}u(aA,Of);function bA(a,b,c,d){if(b.child_node&&b.child_node.length>0){var e=cA(b,!0,c,d),g=B("UL",c+"-list");a.appendChild(e);a.appendChild(g);(new $z(e,g)).Ge(!b.collapsed);v(b.child_node,function(h){bA(g,h,c,d)})}else a.appendChild(cA(b,!1,c,d))}function cA(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},ad(a.title)):e=B("DIV",b,a.title);e=B("DIV",g,e);d==a.id&&O(e,c+"-selected");return e} db("_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){bA(c,d,"gb-left-nav",a.highlighted_node_id)});b.appendChild(c)}});function dA(a,b){Q.call(this);this.ua=a;this.g=b||null;O(a,"with-auto-dir-text");H(this.ua,"keyup",r(this.i,this));H(this.ua,"paste",r(this.j,this))}n(dA,Q);dA.prototype.i=function(){eA(this.ua,this.g)};dA.prototype.j=function(){fA(this.ua,this.g)};function fA(a,b){U(t(function(){eA(a,b)}))} function eA(a,b){var c=!1,d;if(a.value){for(var e=d=0,g=!1,h=a.value.split(cw),k=0;k<h.length;k++){var l=h[k];aw.test(l)?(d++,e++):bw.test(l)?g=!0:$v.test(l)?e++:dw.test(l)&&(g=!0)}d=(e==0?g?1:0:d/e>.4?-1:1)==-1}else d=oj();d?(c=!0,K(a,"textAlign","right"),bf(a,{dir:"rtl"})):(K(a,"textAlign","left"),bf(a,{dir:"ltr"}));b&&(c?(oh(b,"input-direction-ltr"),O(b,"input-direction-rtl")):(O(b,"input-direction-ltr"),oh(b,"input-direction-rtl")))} function gA(a,b){if(a=A(a))b=b?A(b):null,eA(a,b),new dA(a,b)}db("_OC_autoDir",gA);function hA(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"),qf(this.i,a),K(this.i,"display","block"));iA(this)} function iA(a){a.g&&a.j&&(window.localStorage.getItem("obclose")?N(a.g,!1):(O(a.g,"opt-in-banner-expanded"),H(a.j,"click",function(){oh(a.g,"opt-in-banner-expanded");window.localStorage.setItem("obclose","true");U(function(){N(a.g,!1);a.l.resize()},600)})))};function jA(a,b){a=A(a);b=A(b);a&&b&&H(a,"submit",t(kA,b))}function kA(a,b){a.value==""&&b.preventDefault()};function lA(a,b,c){if(Id&&!Md)return a;a='url("'+b+'")';Jd&&(a+=" 7 5");return a+(", "+c)};function mA(a){W.call(this);this.N=a;this.i=new og;this.g.ha(a,"viewportmodechange",this.Bm);this.N.Da()&&this.Bm()}n(mA,W);f=mA.prototype;f.Bm=function(){tg(this.i);this.j&&this.j.dispose();this.l=this.N.Da().s.j;var a=new dk(this.l);a.zk=function(){};this.j=a;this.i.ha(this.l,"dblclick",r(this.Xs,this));this.i.ha(a,"start",r(this.Nq,this));this.i.ha(a,"drag",r(this.Oq,this));this.i.ha(a,"end",r(this.Mq,this));nA(this,!1)};f.Xs=function(){this.N.mb("next")}; function nA(a,b){a=a.l;if(Id)b=b?"-moz-grabbing":"-moz-grab";else{var c=Jm("/googlebooks/images/");b=b?lA("-moz-grabbing",c+"closedhand.cur","move"):lA("-moz-grab",c+"openhand.cur","default")}K(a,"cursor",b)}f.Nq=function(){this.o=this.N.Da().Cb;nA(this,!0)};f.Oq=function(){var a=this.j,b=this.o;this.N.Da().Qc(new w(b.x-a.deltaX,b.y-a.deltaY))};f.Mq=function(){this.o=null;nA(this,!1)};f.qa=function(){W.prototype.qa.call(this)};function oA(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 pA(a,b,c,d){Uk.call(this,Gm.IsZipitFolderCollectionEnabled?void 0:"p13nd",!0);Zk(this,a);this.In=!0;cl(this,.5);this.kg=c;a=new Wk;a.set("ok",b,!0);(d!==void 0?d:1)&&a.set("cancel","Cancel",!1,!0);gl(this,a);H(this,"dialogselect",this.La,!1,this)}u(pA,Uk);pA.prototype.Oa=function(){pA.na.Oa.call(this);K(hl(this.j,"ok"),"fontWeight","bold");K(this.V(),"width","500px")};pA.prototype.La=function(a){a.key=="ok"&&this.Eb(a);return!0}; pA.prototype.qa=function(){kg(this,"dialogselect",this.La,!0,this);pA.na.qa.call(this)};pA.prototype.Eb=function(a){this.kg(a)};function qA(a){Q.call(this);this.Qa=null;this.ua=a;this.g=new og(this);this.g.ha(this.ua,"input",this)}u(qA,Q);qA.prototype.handleEvent=function(a){if(a.type=="input")rA(this),this.dispatchEvent(sA(a));else if(a.type!="keydown"||uh(a)){var b=a.type=="keydown"?this.ua.value:null,c=sA(a);rA(this);this.Qa=setTimeout(function(){this.Qa=null;this.ua.value!=b&&this.dispatchEvent(c)}.bind(this),0)}};function rA(a){a.Qa!=null&&(clearTimeout(a.Qa),a.Qa=null)} function sA(a){a=new Rf(a.Mb);a.type="input";return a}qA.prototype.qa=function(){qA.na.qa.call(this);this.g.dispose();rA(this);delete this.ua};function tA(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 qA(a);H(this.j,"input",this.s,!1,this);uA(this)}u(tA,Q);tA.prototype.s=function(){uA(this)};function uA(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))}tA.prototype.qa=function(){tA.na.qa.call(this);delete this.g;this.j.dispose();this.j=null};function vA(a,b,c,d,e){pA.call(this,a,b,null,!0);this.Ua=c;this.Fb=d;this.Aa=e}n(vA,pA); vA.prototype.Oa=function(){pA.prototype.Oa.call(this);this.o=wA(this,"Name","input");this.Wa=wA(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);H(d,"click",r(this.Fa,this,!0));e=B("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);H(e,"click",r(this.Fa,this,!1));this.Dd=[a,e];this.Cd=[c,d];this.Aa!= null&&(bf(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&&xA(this);Gm.IsZipitFolderCollectionEnabled||(b=this.j,a=hl(b,"ok"),K(a,"fontWeight","bold"),O(a,"gb-button"),O(hl(b,"cancel"),"gb-button"))}; function xA(a){a.o.value=ad(a.i.Za());a.o.disabled=a.i.O;a.Wa.value=ad(a.i.ug());a.Fa(a.i.le==1);a.o.disabled&&K(a.o,"background","#f2f2f2")} function wA(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 Ie,g=new Set(e.g.l);g.add("class");e.g=new pe(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,ze(new ye(e.g,void 0,void 0,e.j),b));a.appendChild(d);b=B(c,{"class":"ccd-input"});c=="input"?(bf(b,{type:"text"}),b.setAttribute("maxlength",100)):c=="textarea"&&(bf(b,{rows:6,cols:50}),new tA(b,C("span"),500)); a.appendChild(b);return b}vA.prototype.Fa=function(a){this.kd=a;v(this.Dd,function(b){N(b,a)});v(this.Cd,function(b){N(b,!a)})}; vA.prototype.La=function(a){var b=this.o.value;if(a.key=="cancel")return!0;if(Vb(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 px;a.rc=b;a.l=this.Wa.value;a.le=this.kd?1:2;if(this.i){b=this.Ua;var c=new R(b.Ep);S(c,"as_coll",a.getId());Bx(c,a,r(b.s,b))}else b=this.Ua,Bx(b.l,a,r(b.o,b,!0));return!0}; vA.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;pA.prototype.qa.call(this)};function yA(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.s=c;this.i=d;this.O&&(this.l=mb(this.O.childNodes,zA),this.i&&xb(this.l,mb(this.i.childNodes,zA)));this.o=e;U(r(this.Pq,this))}u(yA,W);f=yA.prototype;f.Pq=function(){this.j&&this.i&&this.g.ha(this.j,"click",this.Dp);this.s&&this.g.ha(this.s,"click",this.Ws);this.g.ha(this.o,"add",this.bs)}; function zA(a){var b=Xe("SPAN","sidebar-collection-title",a)[0];b||(b=Xe("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Wb(Wc(Df(b)));return Wb(a.split("(")[0])}f.Ws=function(){var a=new vA("Create new bookshelf","Create bookshelf",this.o,r(this.mu,this));a.render();a.wa(!0)};f.mu=function(a){var b=Wb(Wc(a)).toLowerCase();return!nb(this.l,function(c){return c.toLowerCase()==b})}; f.bs=function(a){var b=a.shelf;a=Wb(Wc(b.Za()));var c=b.le==1;this.l.push(a);var d=new R("/books");Wu(d);S(d,"as_coll",b.getId());S(d,"source","gbs_lp_bookshelf_list");if(Gm.IsBooksUnifiedLeftNavEnabled)b=B("LI",{"class":"left-nav-shelf-item"}),c=B("A",{"class":"sidebar-link"}),Dc(c,d.toString()),d=C("SPAN"),O(d,"sidebar-collection-title"),x(d,ze(Ee,a+" (0)")),c.appendChild(d),b.appendChild(c),a=A("hidden-my-library-expanded"),pf(b,a),oA(!0,"my-library");else{b=C("DIV");var e=B("A",{"class":"hp-bookshelf-link", style:"line-height:19px"});Dc(e,d.toString());d=B("SPAN",{"class":"hp-collection-title"});x(d,ze(Ee,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);qf(b,A("csStart"))}}; f.Dp=function(a){a.preventDefault();a=!ah(this.i);N(this.i,a);a?(xp(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=H(document,"mousedown",r(this.tu,this))):lg(this.U)};f.tu=function(a){xf(this.i,a.target)||xf(this.j,a.target)||this.Dp(a)}; db("_OC_RunHomepage",function(){var a=A("oc-search-input");A("oc-search-form")&&a&&(gA("oc-search-input"),new sy(a),a.focus(),jA("oc-search-form","oc-search-input"))}); </script><script>_OC_RunHomepage();</script></body></html>