CINXE.COM

Google Books

<!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 Books</title><link rel="canonical" href=""><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important} </style><script></script><style>.jfk-textinput{-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;border:1px solid #d9d9d9;border-top:1px solid #c0c0c0;font-size:13px;height:25px;padding:1px 8px}.jfk-textinput:focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.3);box-shadow:inset 0 1px 2px rgba(0,0,0,.3);border:1px solid #4d90fe;outline:none}.jfk-textinput::-ms-clear{display:none}a{text-decoration:none}a:link{color:#15c}a:visited{color:#61c}a:active{color:#d14836}a:hover{text-decoration:underline}body{font-family:arial,sans-serif;font-size:13px;margin:0}#oc-search-image{background:url(//www.google.com/intl/en_ALL/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png) no-repeat}#oc-search-logo{color:#4285f4;font-family:roboto-regular,arial,sans-serif;font-size:16px;position:relative;white-space:nowrap}@media (min-width:801px){#oc-search-image-box{padding:120px 0 24px 0}#oc-search-image{-webkit-background-size:272px 92px;-o-background-size:272px 92px;background-size:272px 92px;height:92px;width:272px}#oc-search-logo{font-size:16px;left:101px;top:74px}#oc-search-button-box{margin-left:12px}#oc-search-button{width:70px}#oc-search-description{margin-top:28px;font-size:14px}}@media (max-width:800px){#oc-search-input-box{width:88%}#oc-search-image-box{padding:70px 0 24px 0}#oc-search-image{-webkit-background-size:200px 68px;-o-background-size:200px 68px;background-size:200px 68px;height:68px;width:200px}#oc-search-logo{font-size:13px;left:77px;top:54px}#oc-search-button{padding:1px 0;width:40px}#oc-search-description{margin:16px;font-size:13px}}@media (orientation:landscape) and (max-width:800px){#oc-search-image-box{padding:35px 0 24px 0}}@media (max-width:500px){#oc-search-input-box{width:96%}}#oc-search-button{margin-left:12px;border:1px solid #3079ed;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;height:27px;background-color:#357ae8;background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8)}#oc-search-button input{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAtUlEQVQoz2P4//8/AxQbAvFBIP7yHwJA9BGoOAM2DGNkAPHv/9jBb6g8Vs0gk39BFd4G4hggloPSt6Hiv7C5AETshyq4i8N5d6Hy+7Fp/gqVDMChOQAq/xWb5r9QSUkcmiWh8n/x2eyDQ7MPPpsPEunng9g0myJFEyh0I4BYBErfRoqyXHLiGRmsxqYZ5gJQivoGVfgNyi/BZQADrqSHhtdhM4BYzVgNIEUzugHrSNUMMwCEGQDxZPLNLQuzXAAAAABJRU5ErkJggg==) no-repeat center center;height:27px;vertical-align:top;color:transparent;border:0;cursor:default;width:100%}#oc-search-input{width:100%;height:29px;font-size:17px}#oc-search-input:focus{border-color:#d9d9d9;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#oc-search-input:hover{border-color:#a0a0a0}.footerOuter{position:absolute;bottom:0;height:75px;width:100%}.footerInner{position:absolute;bottom:0;left:0;right:0;background:#f2f2f2;border-top:1px solid #e4e4e4;line-height:49px;text-align:center}.footerLeft,.footerRight{white-space:nowrap;margin:0 30px}.footerInner a{display:inline-block;color:#666;white-space:nowrap;margin-left:27px}.footerInner a:first-child{margin-left:0}@media (min-width:501px){.footerLeft{float:right}.footerRight{float:left}}@media (max-width:500px){.footerLeft{display:none}}.ac-renderer{position:absolute;background-color:#fff;cursor:default;border:1px solid #ccc;border-top-color:#d9d9d9;font-size:13px;line-height:1.3em;overflow:hidden;white-space:nowrap;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);-moz-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.gb-reset .ac-renderer{font-size:100%}.ac-active{background-color:#4d90fe;color:white}.ac-row{padding:2px 5px}sentinel{}</style></head><body ><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.com.sg/webhp?tab=pw">Suche</a> <a target=_blank class=gb1 href="https://www.google.de/imghp?hl=de&tab=pi">Bilder</a> <a target=_blank class=gb1 href="https://maps.google.com.sg/maps?hl=de&tab=pl">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=de&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/de/about/products?tab=ph"><u>Mehr</u> &raquo;</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.de/%3Fhl%3Dde&hl=de&ec=GAZACg" class=gb4>Anmelden</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 Books"><div id="oc-search-logo">Books</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="Nach B眉chern suchen"size="66"maxlength="2048"></td><td><div id="oc-search-button-box"><div id="oc-search-button"><input type="submit" value="Nach B眉chern suchen"></div></div></td></tr></table><p id="oc-search-description">Im weltweit umfassendsten Index f眉r Volltextb眉cher suchen</p><p id="oc-my-library"><a href="https://www.google.com/accounts/Login?service=print&continue=https://books.google.de/books%3Fop%3Dlibrary%26hl%3Dde&hl=de">Meine Mediathek</a></p></form></div><div class="footerOuter"><div class="footerInner"><span class="footerLeft"><a href="http://books.google.com.sg/support/partner/?hl=de-DE">Verlag</a><a href="/intl/de/googlebooks/about.html">Info</a></span><span class="footerRight"><a href="/intl/de/googlebooks/privacy.html">Datenschutzerkl盲rung</a><a href="/intl/de/googlebooks/tos.html">Nutzungsbedingungen</a><a href="http://books.google.com.sg/support/topic/4359341?hl=de-DE">Hilfe</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 Da(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Ea(a)} function Da(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.o=!1,e;var g=e.value}catch(h){return a.g.i=null,za(a.g,h),Ea(a)}a.g.i=null;d.call(a.g,g);return Ea(a)}function Ea(a){for(;a.g.g;)try{var b=a.i(a.g);if(b)return a.g.o=!1,{value:b.value,done:!1}}catch(c){a.g.j=void 0,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 Fa(a){this.next=function(b){xa(a.g);a.g.i?b=Da(a,a.g.i.next,b,a.g.s):(a.g.s(b),b=Ea(a));return b};this.throw=function(b){xa(a.g);a.g.i?b=Da(a,a.g.i["throw"],b,a.g.s):(za(a.g,b),b=Ea(a));return b};this.return=function(b){return Ca(a,b)};this[Symbol.iterator]=function(){return this}}function Ga(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})} function Ja(a){return Ga(new Fa(new Ba(a)))}function Ka(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}ia("globalThis",function(a){return a||ha}); ia("Promise",function(a){function b(h){this.g=0;this.j=void 0;this.i=[];this.O=!1;var k=this.l();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.g=null}function d(h){return h instanceof b?h:new b(function(k){k(h)})}if(a)return a;c.prototype.i=function(h){if(this.g==null){this.g=[];var k=this;this.j(function(){k.o()})}this.g.push(h)};var e=ha.setTimeout;c.prototype.j=function(h){e(h,0)};c.prototype.o=function(){for(;this.g&&this.g.length;){var h=this.g;this.g=[];for(var k=0;k<h.length;++k){var l= h[k];h[k]=null;try{l()}catch(m){this.l(m)}}}this.g=null};c.prototype.l=function(h){this.j(function(){throw h;})};b.prototype.l=function(){function h(m){return function(q){l||(l=!0,m.call(k,q))}}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(K){q(K)}}:I}var m,q,z=new b(function(D,I){m=D;q=I});this.yi(l(h,m),l(k,q));return z};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),q=m.next();!q.done;q=m.next())d(q.value).yi(k,l)})};b.all=function(h){var k=qa(h),l=k.next();return l.done?d([]):new b(function(m,q){function z(F){return function(K){D[F]=K;I--;I==0&&m(D)}}var D=[],I=0;do D.push(void 0),I++,d(l.value).yi(z(D.length- 1),q),l=k.next();while(!l.done)})};return b});function La(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var Ma=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)La(d,e)&&(a[e]=d[e])}return a};ia("Object.assign",function(a){return a||Ma});ia("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")}); ia("WeakMap",function(a){function b(l){this.rb=(k+=Math.random()+1).toString();if(l){l=qa(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function e(l){if(!La(l,h)){var m=new c;ea(l,h,{value:m})}}function g(l){var m=Object[l];m&&(Object[l]=function(q){if(q instanceof c)return q;Object.isExtensible(q)&&e(q);return m(q)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}), q=new a([[l,2],[m,3]]);if(q.get(l)!=2||q.get(m)!=3)return!1;q.delete(l);q.set(m,4);return!q.has(l)&&q.get(m)==4}catch(z){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!La(l,h))throw Error("WeakMap key fail: "+l);l[h][this.rb]=m;return this};b.prototype.get=function(l){return d(l)&&La(l,h)?l[h][this.rb]:void 0};b.prototype.has=function(l){return d(l)&& La(l,h)&&La(l[h],this.rb)};b.prototype.delete=function(l){return d(l)&&La(l,h)&&La(l[h],this.rb)?delete l[h][this.rb]:!1};return b}); ia("Map",function(a){function b(){var k={};return k.Fe=k.next=k.head=k}function c(k,l){var m=k[1];return ja(function(){if(m){for(;m.head!=k[1];)m=m.Fe;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;m=="object"||m=="function"?g.has(l)?m=g.get(l):(m=""+ ++h,g.set(l,m)):m="p_"+l;var q=k[0][m];if(q&&La(k[0],m))for(k=0;k<q.length;k++){var z=q[k];if(l!==l&&z.key!==z.key||l===z.key)return{id:m,list:q,index:k,Ec:z}}return{id:m, list:q,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(),q=m.next();if(q.done||q.value[0]!=k||q.value[1]!="s")return!1;q=m.next();return q.done||q.value[0].x!= 4||q.value[1]!="t"||!m.next().done?!1:!0}catch(z){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(), q;!(q=m.next()).done;)q=q.value,k.call(l,q[1],q[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e}); ia("Set",function(a){function b(c){this.g=new Map;if(c){c=qa(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(qa([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||g.value[0].x!= 4||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]= b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(g){return c.call(d,g,g,e)})};return b});function Na(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}ia("Array.prototype.entries",function(a){return a?a:function(){return Na(this,function(b,c){return[b,c]})}}); ia("Array.prototype.keys",function(a){return a?a:function(){return Na(this,function(b){return b})}});function Oa(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""} ia("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Oa(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});ia("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); ia("String.prototype.repeat",function(a){return a?a:function(b){var c=Oa(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ia("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var h=d[g];if(b.call(c,h,g,d)){b=h;break a}}b=void 0}return b}}); ia("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Oa(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}}); ia("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});ia("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push([d,b[d]]);return c}}); ia("Array.prototype.values",function(a){return a?a:function(){return Na(this,function(b,c){return c})}});ia("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],g=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof g=="function"){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});ia("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}); ia("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});ia("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});ia("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}}); ia("String.prototype.includes",function(a){return a?a:function(b,c){return Oa(this,b,"includes").indexOf(b,c||0)!==-1}});ia("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)La(b,d)&&c.push(b[d]);return c}}); ia("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Pa=Pa||{},p=this||self;function Qa(a,b){a=a.split(".");b=b||p;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ra(a){a.Jf=void 0;a.Hb=function(){return a.Jf?a.Jf:a.Jf=new a}}function Sa(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function Ua(a){var b=Sa(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Va(a){var b=typeof a;return b=="object"&&a!=null||b=="function"} function Wa(a){return Object.prototype.hasOwnProperty.call(a,Xa)&&a[Xa]||(a[Xa]=++Ya)}var Xa="closure_uid_"+(Math.random()*1E9>>>0),Ya=0;function Za(a,b,c){return a.call.apply(a.bind,arguments)}function $a(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}} function r(a,b,c){r=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Za:$a;return r.apply(null,arguments)}function t(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function ab(){return Date.now()}function bb(a,b){a=a.split(".");for(var c=p,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 cb(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 db=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};function eb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,eb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}u(eb,Error);eb.prototype.name="CustomError";var fb;function gb(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(Ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}}function 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,"&amp;"));a.indexOf("<")!=-1&&(a=a.replace($b,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(ac,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(bc,"&quot;"));a.indexOf("'")!=-1&&(a=a.replace(cc,"&#39;"));a.indexOf("\x00")!=-1&&(a=a.replace(dc,"&#0;"));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 p?bd(a):cd(a):a}function bd(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=p.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=Qa("CLOSURE_FLAGS"),md=ld&&ld[610401301];kd=md!=null?md:!1;function nd(){var a=p.navigator;return a&&(a=a.userAgent)?a:""}var od,pd=p.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=p.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&#160;");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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")} 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 q=qa(m.value);m=q.next().value;q=q.next().value;var z=void 0;if((m=(z=b.getNamedItem(m))==null?void 0:z.value)&&!q.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())q=qa(m.value.trim().split(/\s+/, 2)),m=q.next().value,q=q.next().value,d.push({url:m,Ak:q});k={xl:[]};d=qa(d);for(m=d.next();!m.done;m=d.next())m=m.value,q=le(m.url),(q=a.g(q,l))&&k.xl.push({url:q.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 y(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=Ka.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{y(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)):fb||(fb=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(!Ua(g)||Va(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(Va(g)){var h=typeof g.item=="function"||typeof g.item=="string";break a}if(typeof g==="function"){h=typeof g.item=="function";break a}}h=!1}v(h?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 Va(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||p.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(!p.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};p.addEventListener("test",c,b);p.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,Va(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=Va(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,Va(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=Va(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=Va(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 J(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=Wa(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(Ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b} function 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(Ua(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}} function Bh(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Ua(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=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 p.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=db(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=p.FormData&&a instanceof p.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 Pa!="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 Pa!="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&&p.self&&p.self.location&&(a=p.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(p.JSON)try{var c=p.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){p.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,db(typeof a==="function"?a:null),db(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(Va(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){eb.call(this,a)}u(bj,eb);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||p;this.j=r(this.Ev,this);this.l=ab()}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=ab()-this.l;a>0&&a<this.i*.8?this.Qa=this.g.setTimeout(this.j,this.i-a):(this.Qa&&(this.g.clearTimeout(this.Qa),this.Qa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}}; f.start=function(){this.enabled=!0;this.Qa||(this.Qa=this.g.setTimeout(this.j,this.i),this.l=ab())};f.stop=function(){this.enabled=!1;this.Qa&&(this.g.clearTimeout(this.Qa),this.Qa=null)};f.qa=function(){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:p.setTimeout(a,b||0)} function nj(a){p.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)==""&&J(a,c+e,b)}):d&&(a.tagName.toLowerCase()=="a"&&sj[c]?J(a,c,sj[c]):J(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=Wa(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=ab();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.kd("begin")};Bj.prototype.Ee=function(){this.kd("end")};Bj.prototype.kd=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=ab();this.Cc==-1&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.hf();this.kd("play");this.Cc==-1&&this.kd("resume");this.Cc=1;var b=Wa(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.kd("stop");this.Ee()}; f.qa=function(){this.Cc==0||this.stop(!1);this.kd("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.kd("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.kd("animate")}; f.kd=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=p.document&&p.document.documentElement&&!!p.document.documentElement.setCapture&&!!p.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]&&!p.requestAnimationFrame;++c)p.requestAnimationFrame=p[b+"RequestAnimationFrame"],p.cancelAnimationFrame=p[b+"CancelAnimationFrame"]||p[b+"CancelRequestAnimationFrame"];if(!p.requestAnimationFrame){var d=0;p.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return p.setTimeout(function(){e(g+h)},h)};p.cancelAnimationFrame||(p.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(){}Ra(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.hd=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.hd))}; 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[p.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=db(b):(b=db(b),c=db(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&&(p.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 p.Promise==="function"&&b instanceof p.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(){eb.call(this)}u(Tl,eb);Tl.prototype.message="Deferred has already fired";Tl.prototype.name="AlreadyCalledError";function Pl(){eb.call(this)}u(Pl,eb);Pl.prototype.message="Deferred was canceled";Pl.prototype.name="CanceledError";function Yl(a){this.rb=p.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&&p.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);eb.call(this,c);this.code=a}u(am,eb);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=Qa("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=Qa("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=Qa("gapi.rpc.register");if(typeof b==="function")for(var c in a)b(c,a[c])}function im(a,b){if(em()){var c=Qa("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);J(a,"overflow","hidden");this.j=C("div");J(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);J(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.md=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}};bb("_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.od=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 q=C("IMG");J(q,{position:"absolute",left:l*k.j+"px",top:m*k.i+"px",display:"none"});k.g[l][m]=q;k.s.appendChild(q)}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){J(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&&p.clearTimeout(a.j);a.j=p.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&&(p.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,"&#39;");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.od=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(Wa(a),b)};function sn(a,b){b=b===void 0?[]:b;b=new Set(b.map(function(g){return Wa(g)}));for(var c=qa(a.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.has(d)){var e=a.g.get(d);e&&e.Ka();a.g.delete(d)}};function tn(){this.i={};this.g=new rn}function un(a,b,c){a.i[Wa(b)]=c}tn.prototype.Ka=function(){sn(this.g)};function vn(a,b){b=lb(b,function(c){return!!this.i[Wa(c.constructor)]},a);sn(a.g,b);v(b,function(c){this.g.g.has(Wa(c))||this.g.add(c,this.i[Wa(c.constructor)].render(c))},a)};function 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 p.BigInt==="function"&&typeof p.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={},$n={};function ao(a){return!(!a||typeof a!=="object"||a.g!==$n)}function bo(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function co(a){return!Array.isArray(a)||a.length?!1:(a[Sn]|0)&1?!0:!1}function eo(a,b){var c=cb(Rn);(b=c?b[c]:void 0)&&(a[Rn]=Array.prototype.slice.call(b))};var fo=void 0;function go(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return(Gn?a>=In&&a<=Kn:a[0]==="-"?Ln(a,Hn):Ln(a,Jn))?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(co(a))return}else 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}}return a};function ho(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])}eo(d,a);return d}function io(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=co(a)?void 0:e&&(a[Sn]|0)&2?a:jo(a,b,c,d!==void 0,e);else if(bo(a)){var g={},h;for(h in a)g[h]=io(a[h],b,c,d,e);a=g}else a=b(a,d);return a}} function jo(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;k<h.length;k++)h[k]=io(h[k],b,c,d,e);c&&(eo(h,a),c(g,h));return h}function ko(a){return a.nl===Zn?a.toJSON():go(a)}function lo(a){return jo(a,ko,void 0,void 0,!1)};function mo(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(bo(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 no(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):jo(a,no,d&4?Yn:c,!0,!0)}a.nl===Zn&&(c=a.rd,d=c[Sn]|0,a=d&2?a:new a.constructor(oo(c,d,!0)));return a}}function oo(a,b,c){var d=c||b&2?Yn:Xn,e=!!(b&32);a=ho(a,b,function(g){return no(g,e,d)});Vn(a,32|(c?2:0));return a};function po(a,b){a=a.rd;return qo(a,a[Sn]|0,b)}function qo(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=fo)!=null?h:fo={};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 ro(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 so(a,b){var c=c===void 0?!1:c;a=po(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c} function to(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Sa(c)+": "+c);var d=a.rd,e=d[Sn]|0;if(e&2)throw Error();ro(d,e,b,c===!1?void 0:c);return a};function uo(a){return a}var vo;function wo(a,b,c){this.rd=mo(a,b,c)}wo.prototype.toJSON=function(){var a=!vo;try{return a&&(vo=lo),xo(this)}finally{a&&(vo=void 0)}};wo.prototype.clone=function(){var a=this.rd;return new this.constructor(oo(a,a[Sn]|0,!1))};wo.prototype.nl=Zn;wo.prototype.toString=function(){try{return vo=uo,xo(this).toString()}finally{vo=void 0}}; function xo(a){var b=a.rd;a=vo(b);b=a!==b;var c=a.length;if(c){var d=a[c-1],e=bo(d);e?c--:d=void 0;var g=a;if(e){b:{var h=d;var k;var l=!1;if(h)for(var m in h)if(isNaN(+m))e=void 0,((e=k)!=null?e:k={})[m]=h[m];else if(e=h[m],Array.isArray(e)&&(co(e)||ao(e)&&e.size===0)&&(e=null),e==null&&(l=!0),e!=null){var q=void 0;((q=k)!=null?q:k={})[m]=e}l||(k=h);if(k)for(var z in k){l=k;break b}l=null}h=l==null?d!=null:l!==d}for(;c>0;c--){k=g[c-1];if(!(k==null||co(k)||ao(k)&&k.size===0))break;var D=!0}if(g!== a||h||D){if(!b)g=Array.prototype.slice.call(g,0,c);else if(D||h||l)g.length=c;l&&g.push(l)}D=g}else D=a;return D};function yo(a){this.g=a}yo.prototype.ld=function(){return this.g.aid};yo.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)};yo.prototype.Ik=ba(4);yo.prototype.Ff=function(){return zo(this,"head_boxes")};function zo(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 Ao(a){this.g=a};function Bo(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(Bo,ri);Bo.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 Co(a){Ai.call(this);this.j=a}u(Co,Ai);Co.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 Do(a){Co.call(this,a);this.Ce=new Map}u(Do,Co);Do.prototype.wc=function(a){return this.Ce.get(Eo(Fi,a))};Do.prototype.mh=function(a){if(a instanceof Bo)a=Eo(a.constructor,a.g);else if(a instanceof Fi)a=Eo(a.constructor,a.Ca());else throw Error("Input item must be a LayoutPage or LayoutSeparator.");return this.Ce.get(a)}; Do.prototype.Na=function(a){if(a instanceof Bo){var b=Eo(a.constructor,a.g);this.Ce.set(b,a)}else a instanceof Fi&&(b=Eo(a.constructor,a.Ca()),this.Ce.set(b,a));Do.na.Na.call(this,a)};function Eo(a,b){return Wa(a)+"#"+b.Ja()};function Fo(a,b,c,d,e){Do.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&&Go(this,h,k);var l=A("gb-mobile-menu-pubinfo");l&&tf(l).length>0&&!g&&h&&k&&Il(h)==0&&Go(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)&&Go(this,h,e);Bi(this)}n(Fo,Do); function Go(a,b,c,d){b=new Bo(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)}Fo.prototype.s=function(){return this.l};Fo.prototype.Hf=function(){return this.o};Fo.prototype.zj=8;function Ho(a,b){this.N=a;this.g=b}n(Ho,Vm);Ho.prototype.render=function(a){var b=this.g(a);b.kb(a.getSize());b.setPosition(a.Yc());return b};function Io(){}n(Io,ri);function Jo(){W.call(this)}u(Jo,W);Jo.prototype.ie=function(a){this.i=a;this.l=Ko(a)};Jo.prototype.qa=function(){Jo.na.qa.call(this);E(this.l)};function Lo(a){W.call(this);this.j=a}n(Lo,Jo);Lo.prototype.wa=function(a){N(this.l,a)};Lo.prototype.ie=function(a){Jo.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);J(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 Mo(a){W.call(this);this.U=a;this.O=[]}u(Mo,Jo);f=Mo.prototype;f.ie=function(a){Mo.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=No(this,a,b,c,d);J(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.U&&(J(e,{backgroundColor:this.U}),$g(e,.3));this.O.push(new yg(a[0],a[1],a[2],a[3]));return e}; function Oo(a){return a.i.getSize().width/a.i.Ca().getParent().g.width}function No(a,b,c,d,e){var g=Oo(a);return mb([b,c,d,e],function(h){return Math.round(h*g)})}function Po(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 Qo(){Mo.call(this)}n(Qo,Mo);f=Qo.prototype;f.Rg=function(){if(!this.j){var a=this.Ca();a&&(a=nn(a))&&(Po(this,a),this.j=!0)}}; f.Qg=function(a,b,c,d){this.o=Mo.prototype.Qg.call(this,a,b,c,d);J(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=No(this,a,b,c,d);J(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){J(this.s,{display:a?"":"none"})};function Ro(a){Mo.call(this);this.N=a}n(Ro,Mo);Ro.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);J(b,{cursor:"pointer"});this.g.ha(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};Ro.prototype.o=function(a,b){(a=Ll(this.N.Ya(),a))?this.N.hb(a):ym(this.N,b)};function So(a,b){this.l=a;this.g=b}So.prototype.Ca=function(){return this.l};So.prototype.i=function(){return this.l.od(this.g)};function To(a,b,c){So.call(this,a,b);this.j=c}n(To,So);To.prototype.i=function(){return this.j.width>this.g.width?this.l.od(this.j):So.prototype.i.call(this)};function Uo(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=Ko(this);J(this.oa,"backgroundColor","#fff");L(this.oa,c);if(this.ya=e!==void 0?e:!0)a=Ko(this),L(a,c),this.ta=new Vo(a),this.ta.show();b&&(this.l=b,this.g.ha(b,"update",this.Zf),Am(b))}u(Uo,W);f=Uo.prototype;f.getSize=function(){return this.i};f.Ca=function(){return this.l};function Wo(a,b){a.ma.push(b);b.ie(a)}f.Zf=function(){};function Xo(a){a.dispatchEvent("load");a.ya&&a.ta.ab()} function Ko(a){var b=C("div");V(b,!0);J(b,{position:"absolute",left:0,top:0});a.im.appendChild(b);return b}function Yo(a){a.o&&(E(a.o),a.o=null)}f.Ka=function(){v(this.ma,function(a){a.dispose()});this.ma=null;Yo(this)};function Zo(a){a.s=Ko(a);L(a.s,a.getSize());J(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;$o.dispatchEvent(a)};var $o=new Q; function Vo(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);J(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}Vo.prototype.show=function(a){J(this.g,{display:a?"none":""})};Vo.prototype.ab=function(){this.show(!0)};Uo.prototype.Hl=function(){ap(this)};function ap(a,b){Yo(a);a.o=Ko(a);new bp(a.o,a.getSize(),b)} function bp(a,b,c){this.g=a;J(a,{backgroundColor:"#FFF",textAlign:"center"});L(a,b);x(a,ze(Ge,c||""));V(this.g)};function cp(a,b,c){Uo.call(this,a,b.Ca(),b.g,c);this.Gg(dp);a=Ko(this);this.U=new ep(b.g,a);a=Ko(this);this.O=new ep(b.g,a);Zo(this);dh(c,!0);O(c,"pageImageDisplay");this.ka=b;b.Ca()&&this.Zf()}n(cp,Uo);f=cp.prototype;f.hb=function(a){fn(a,"output",null);Uo.prototype.hb.call(this,a);a.od()&&this.Zf()}; f.Zf=function(){var a=this.Ca(),b=this.ka.i();if(b&&!this.j){b=fp(b);dg(this.U,"load",r(this.gq,this,a,b,this.getSize().width));gp(this.U,[b]);var c=rm(this.N.Ib,a.Ja());c.push(b);gp(this.O,c);this.j=!0;Yo(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."), ap(this,a),Xo(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;Xo(this)};f.hc=ba(7);f.Ka=function(){this.j=!1;this.U.empty();this.O.empty();Uo.prototype.Ka.call(this)};var dp=new Q;function fp(a){return a}function ep(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(ep,Q); ep.prototype.empty=function(){for(var a;a=uf(this.j);)Sm(a)};function gp(a,b){Om(a.g,r(a.l,a,a.g));for(var c=0;c<b.length;c++)a.g.src=b[c]}ep.prototype.l=function(a){this.g==a&&(this.dispatchEvent("load"),this.ff=!0)};ep.prototype.hc=ba(6);function hp(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(hp,W);f=hp.prototype;f.kb=function(a){if(!this.i||!Kb(this.i,a)){this.i=a;var b=this.s;b.U=a;ip(b);this.dispatchEvent("resize")}};f.Pc=function(a){this.nc=a;this.O.Ka();var b=this.s,c=this.getSize();b.U=c;ip(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);ip(b);this.dispatchEvent("layoutchange")}; function jp(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 kp(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 lp(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 mp(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(){hp.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 np(a,b,c,d){Uo.call(this,a,b.Ca(),b.g,c,d);this.ka=Ko(this);Zo(this);b.Ca()&&this.Zf();this.N=a;this.O=H(this.N.Da(),"update",this.Aa,!1,this)}n(np,Uo);np.prototype.Zf=function(){var a=this.Ca(),b=a.od(),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())}}; np.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)}};np.prototype.Ka=function(){this.j&&(this.U.empty(),this.j=!1);this.O&&(lg(this.O),this.O=null);Uo.prototype.Ka.call(this)};function op(a){this.vd=a;Mo.call(this,"#ffff00")}u(op,Mo);op.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 pp(a){Q.call(this);this.url=a;this.j=null;this.s=!0}n(pp,Q);pp.prototype.Qd=function(){if(this.s)this.s=!1;else throw Error();};function qp(a,b){pp.call(this,a);this.O=b||"GET";this.i=new og;this.g=new ei}n(qp,pp);f=qp.prototype;f.Qd=function(a,b){pp.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 rp(a){return a.length?a.reduce(function(b,c){return Eg(b,c)},a[0].clone()):null};function sp(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(sp,W);sp.prototype.O=function(a){if(!this.oa){a=Ib(new w(a.clientX,a.clientY),Qg(this.ma));a=vg(a,this.ta);J(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}}; sp.prototype.U=function(a){this.O(a);this.oa=!0;a=this.l;var b=Ag(this.j),c=Oo(this.s);c=tp(b,1/c);b=up(tp(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=up(c);vp(this.s,[c]);E(this.o);(new qp(a)).Qd(r(this.ka,this,c,b));this.dispatchEvent("endsize")}; sp.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)vp(this.s,[a],c,b),d=!0}d||this.s.Yf();this.dispose()};function tp(a,b){return new yg(a.left*b,a.top*b,a.width*b,a.height*b)}function up(a){return new yg(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(a.height))}sp.prototype.qa=function(){sp.na.qa.call(this);E(this.o)};function wp(a,b){W.call(this);this.o=a;this.Ba=b}var xp;n(wp,Jo);f=wp.prototype;f.ie=function(a){Jo.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(xp){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 sp(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){xp&&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;mp(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 yp(){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}yp.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(r(this.i,this),6E3)};yp.prototype.j=function(){J(this.l,"bottom","0");this.g=!0};yp.prototype.i=function(){J(this.l,"bottom","-48px");this.g=!1};function zp(a){this.i=a;this.l=new yp;this.j=Ap(this)}zp.prototype.V=function(){return this.j};function Ap(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} zp.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.l.show()};function Bp(){}Bp.prototype.Ic=function(){};function Cp(a,b,c,d,e,g,h,k,l){var m=Dp(c),q=Zg(a),z=Pg(a);z&&Bg(q,Ag(z));z=Se(a);var D=Se(c);if(z.g!=D.g){z=z.g.body;D=D.g.defaultView;var I=new w(0,0),F=gf(Ue(z));b:{try{Dd(F.parent);var K=!0;break b}catch(hb){}K=!1}if(K){K=z;do{var ib=F==D?Qg(K):Wg(K);I.x+=ib.x;I.y+=ib.y}while(F&&F!=D&&F!=F.parent&&(K=F.frameElement)&&(F=F.parent))}z=Ib(I,Qg(z));q.left+=z.x;q.top+=z.y}a=Ep(a,b);b=q.left;a&4?b+=q.width:a&2&&(b+=q.width/2);q=new w(b,q.top+(a&1?q.height:0));q=Ib(q,m);e&&(q.x+=(a&4?-1:1)*e.x,q.y+= (a&1?-1:1)*e.y);if(h)if(l)var Ta=l;else if(Ta=Pg(c))Ta.top-=m.y,Ta.right-=m.x,Ta.bottom-=m.y,Ta.left-=m.x;return Fp(q,c,d,g,Ta,h,k)} function Dp(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 Fp(a,b,c,d,e,g,h){a=a.clone();var k=Ep(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 Ep(a,b){return(b&8&&bh(a)?b^4:b)&-9};function Gp(a,b){this.Eb=8;this.Ga=b||void 0;Kk.call(this,a)}u(Gp,Kk);function Hp(a,b){a.Eb=b;a.isVisible()&&a.Vf()}Gp.prototype.Yc=function(){return this.Ga||null};Gp.prototype.setPosition=function(a){this.Ga=a||void 0;this.isVisible()&&this.Vf()};Gp.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 Ip(a){Gp.call(this,a);Mk(this,!1);this.i=new og;this.g=Zm();O(a,"viewport-selection-popup");Jp&&Jp.dispose();Jp=this}n(Ip,Gp);Ip.prototype.j=function(){this.dispatchEvent("close");this.dispose()}; function Kp(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 zp(b)).V(),c.appendChild(e));a.i.ha(b,"mousedown",Lp)}function Lp(a){a.stopPropagation()} Ip.prototype.qa=function(){E(this.V());Gp.prototype.qa.call(this);this.i.dispose()};var Jp=null;function Mp(a,b){this.g=a instanceof w?a:new w(a,b)}u(Mp,Bp);Mp.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=Dp(a);g-=h.x;e-=h.y;Fp(new w(g,e),a,b,c,null,null,d)};function Np(a,b){Mp.call(this,a,b)}u(Np,Mp);Np.prototype.i=0;Np.prototype.l=function(a){this.i=a};Np.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=Fp(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=Fp(g,a,h,c,e,10,d);(k&496)!=0&&Fp(g,a,b,c,e,this.i,d)}};function Op(a){Mo.call(this,"#4a95d6");this.j=a}n(Op,Mo);Op.prototype.ie=function(a){Mo.prototype.ie.call(this,a);J(this.l,{cursor:"pointer"});this.g.ha(this.l,"mousedown",Pp)};function Pp(a){a.stopPropagation()} function vp(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=rp(a.O);if(e){var g=Qg(a.l);b=new Ip(b);if(c&&d){var h=a.Ca(),k=h.od();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&&(Kp(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&&Kp(b,"Image",l);d&&Kp(b,"Embed",d)}else c=C("DIV"),G(c,"Loading..."),O(c,"selection-popup-loading-msg"), b.V().appendChild(c);Hp(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(Qp,b,new Np(new w(c,e))));a.s=dg(b,"close",r(a.Yf,a))}}function Qp(a,b){a.Ed||(a.setPosition(b),a.wa(!0))}Op.prototype.Yf=function(){Mo.prototype.Yf.call(this);this.o&&this.o.dispose()};Op.prototype.qa=function(){Mo.prototype.qa.call(this);this.o&&this.o.dispose();this.s&&lg(this.s)};function Rp(a,b,c){return a.Ta().Li()?new np(a,b,c):new cp(a,b,c)}function Sp(a,b){if(b instanceof cp){Wo(b,new op(a.Va()));Wo(b,new Qo);var c=new Op(a.vb()),d=new wp(c,a.Da());Wo(b,d);Wo(b,c);Wo(b,new Ro(a))}};function Tp(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");J(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"};J(this.l,a);J(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);Up(this)}n(Tp,Gj);function Up(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=Rp(a.N,new So(a.oa,a.j),a.U);Sp(a.N,a.o);a.ta=new Lo(!0);Wo(a.o,a.ta);a.O=Rp(a.N,new So(a.ya,a.j),a.ka);a.Aa=new Lo(!1);Sp(a.N,a.O);Wo(a.O,a.Aa)}f=Tp.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){J(this.i,{display:a?"":"none"})};f.Kc=function(){J(this.l,{left:0,top:0});J(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 Vp(a){return a*2};function Wp(a){this.N=a}n(Wp,Vm);Wp.prototype.render=function(a){var b=new Tp(this.N,a.getSize().width);b.setPosition(a.Yc());b.Kc();b.wa(!0);return this.g=b};function Xp(a,b){var c=a.match(Yp);return c?Number(c[1])*b[c[2]]:Number(a)}var Yp=/^(-?\d+\.?\d*)([KMGTPEZYkmun]?)B?$/,Zp={"":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},$p={"":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 aq(a,b){var c=bq(a),d=bq(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.":cq(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 bq(a){a=a.Za();var b;/[^0-9]/.test(a)||Vb(a)?b=null:b=Ub(a,"B")?Xp(a,$p):Xp(a,Zp);return b} function cq(a,b){a=bq(a);b=bq(b);return a+1-(b-1)==0};function dq(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(dq,Q);dq.prototype.df=function(){return this.i};function eq(a,b){if(b!=a.i){a.i=b;var c=a.N.Da().s.i;N(c,!1);M(c);[t(fq,a.j,a.s,a.o,a.g,b),r(a.l,a),t(N,c,!0)].forEach(U)}}dq.prototype.l=function(){this.dispatchEvent("change")};function fq(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 gq=null;function hq(a,b){og.call(this);this.i=gq;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(hq,og); hq.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 q=a}l-k<0&&(m=h!=-1?b:a,q=d);h-g>1&&(m=a,q=b);cq(m,q)||m===void 0||q===void 0||(a=aq(m,q),this.i.U(a),this.i.show(3E3))}};function iq(a){bn.call(this,a)}n(iq,bn);f=iq.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 yo(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 jq(a){zn.call(this);zn.apply(this,arguments);this.s();H(this,"update",r(this.s,this))}n(jq,zn);function kq(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)}jq.prototype.Vk=function(a){this.o?kq(this,a):zn.prototype.Vk.call(this,a)}; jq.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};jq.prototype.l=iq;function lq(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 mq(a){this.j=a.page_id;this.i=a.page_number||"";this.g=a.snippet_text||"";this.l=a.page_url}mq.prototype.Ja=function(){return this.j};mq.prototype.xc=function(){return this.l};function nq(a){this.g=a;this.g.number_of_results>0?(this.tb=mb(this.g.search_results,function(b){return new mq(b)},this),this.id=this.g.search_results[0].page_id+oq(this)+this.g.search_results[this.g.number_of_results-1].page_id):this.tb=[]}function pq(a){return a.g.spellresults&&a.g.spellresults.correct_spell?a.g.spellresults.correct_spell:null}function oq(a){return a.g.search_query_escaped};function qq(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=aq(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,y(e)):x(g,y(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=aq(this.l,this.j); dh(this.i,!0);V(this.i)}n(qq,Gj);qq.prototype.kb=function(a){L(this.i,a)};qq.prototype.setPosition=function(a){Kg(this.i,a)};qq.prototype.Ka=function(){E(this.i)};function rq(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);Do.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(rq,Do);function sq(a,b){hp.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(sq,hp);f=sq.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(){tq&&(this.Mk().Ka(),this.ta&&this.ta(),this.Yb())};var tq=!0;function uq(a,b){this.Ba=a;this.g=b}n(uq,Vm);uq.prototype.render=function(a){var b=this.g(),c=a.Ca(),d=gb(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 vq(){};function wq(a){this.Ba=a}u(wq,vq);wq.prototype.Kk=function(a){var b=this.Oh(a);a=b[0]||[];b=b[1]||[];b.sort(t(xq,this.Ba.Fc()));var c=[];xb(c,a,b);return c};function xq(a,b,c){return xg(zg(si(b)),a)-xg(zg(si(c)),a)}wq.prototype.Oh=function(a){var b=lp(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 yq(a,b){this.Ba=b;this.N=a}n(yq,wq);yq.prototype.Kk=function(a){var b=wq.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 zq(a,b,c){W.call(this);this.N=a;this.Ba=b;this.j=C("div");V(this.j,!0);J(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=C("div");V(this.o,!0);J(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(zq,Gj);f=zq.prototype; f.Kc=function(){var a=this.cj-2,b=this.Dg-2,c=this.Zt-2,d=this.Wt-2;J(this.s,{backgroundColor:"#cccccc",position:"absolute"});Kg(this.s,0,0);L(this.s,this.cj,this.Dg);J(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=Rp(e,new To(this.Ca(),new Jb(a,b),new Jb(c,d)),this.O);a instanceof cp?Sp(e,a):a instanceof np&&a instanceof np&&Wo(a,new op(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 Aq(a){return a+2}f.getSize=function(){return new Jb(this.cj,this.Dg)};function Bq(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(Bq,W);function Cq(a,b){Bq.call(this,b);this.Ba=a;this.g.ha(b,"scroll",this.s);J(b,"position","relative");J(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(Cq,Bq);function ip(a){var b=a.ka;a.U&&b&&(J(a.i,"left",Math.floor(Math.max(0,a.Ba.s.l.clientWidth-b.width)/2)+"px"),J(a.j,"height",b.height+"px"))}Cq.prototype.ma=function(){this.o=!1;this.s()}; Cq.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 Dq(a){var b=a.vb(),c=new Cq(this,b);J(b,"overflow","auto");J(b,{overflowX:"auto",overflowY:"scroll"});O(b,"overflow-scrolling");bf(b,{dir:"ltr"});sq.call(this,a,c);kp(this,new yq(a,this));jp(this,Eq(this));var d=a.Ya(),e=a.Ta().Hf();this.o=a.Ta().O?function(g){return new Fo(d,e,g)}:a.Ta().ma?function(g){return new Fo(d,e,g,!0,a.Ta().ma)}:function(g){return new Fo(d,e,g,!0)};b=this.yb.Ta();b.Hf()=="fixed_height"?(b=b.Wd(),b=b[Math.floor(b.length/2)]+2):b=Fq(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(Dq,sq);f=Dq.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-gb(b)>150&&(a<1500?rb(b,a):rb(b,1500));return new wn(mb(b,Aq))};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 Eq(a){var b=new tn;un(b,Fi,new uq(a,t(vi,zq,a.yb,a,a.s.i)));un(b,Bo,new Ho(a.yb,function(c){return new qq(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 Ao(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);J(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 Gq(a,b,c,d,e){W.call(this);this.N=a;this.Ba=b;this.l=c;var g=C("div");J(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);J(this.j,{padding:"1px",position:"absolute"});this.o();b=C("div");this.j.appendChild(b);J(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().hd)S(e,"imgtk",g),S(e,"jtp",Il(c));d.src=e.toString();b.appendChild(d);J(this.j,"cursor","pointer");this.g.ha(this.j,"click",this.s);this.g.ha(a,"pagechange",this.o)}n(Gq,Gj);Gq.prototype.o=function(){var a=!1,b=this.N.Ca();b&&b==this.l&&(a=!0);J(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};Gq.prototype.s=function(){this.N.Ub(Dq);this.N.hb(this.l);Hq.dispatchEvent("click")}; Gq.prototype.Ka=function(){Sm(this.O);E(this.i)};var Hq=new Q;function Iq(a,b){this.N=a;this.Ba=b}n(Iq,Vm);Iq.prototype.render=function(a){return new Gq(this.N,this.Ba,a.Ca(),a.Yc(),a.getSize())};function Jq(a){var b=a.vb();J(b,{overflow:"hidden"});var c=new Cq(this,b);sq.call(this,a,c);this.g.ha(this,"move",this.Yb);J(b,{overflow:"auto"});jp(this,Kq(this));this.Pc(Lq(this));kp(this,new wq(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(Jq,sq);Jq.prototype.Kd=function(a){a=this.Bb().wc(a).Yc();this.Ad(new w(void 0,a.y-40))}; function Lq(a){var b=a.yb.Ta().tc;return new rq(a.yb.Ya(),Zm()?Math.min(a.getSize().width,1120):a.getSize().width,b,b)}Jq.prototype.o=function(){this.Pc(Lq(this));this.Kd(this.yb.Ca())};function Kq(a){var b=new tn;un(b,Fi,new Iq(a.yb,a));return b};function Mq(a){this.rc=a.Title;this.i=a.Pid;this.g=a.PgNum}Mq.prototype.Za=function(){return this.rc};Mq.prototype.getId=function(){return this.i};function Nq(a,b,c,d){Rf.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}u(Nq,Rf);function Oq(a,b){Q.call(this);a&&this.attach(a,b)}u(Oq,Q);f=Oq.prototype;f.ua=null;f.Vi=null;f.el=null;f.Wi=null;f.Mc=-1;f.Ne=-1;f.Ij=!1; var Pq={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},Qq={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},Rq=Ld&&Id;f=Oq.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),Rq&&(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"?(Rq&&(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 Pq?g=Pq[d]:d==25&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Qq&&(g=Qq[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 Nq(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.V=function(){return this.ua};f.attach=function(a,b){this.Wi&&Sq(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 Sq(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(){Oq.na.qa.call(this);Sq(this)};function Tq(){}var Uq;Ra(Tq);var Vq={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=Tq.prototype;f.ag=function(){};f.Jc=function(a){return a.g.Ma("DIV",Wq(this,a).join(" "),a.vc())};f.Dc=function(a){return a};function Xq(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?Yq(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 Zq(a,b,c){if(a=c||a.ag())c=b.getAttribute("role")||null,a!=c&&Pj(b,a)}function $q(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());ar(b,8)&&a.de(c,8,br(b,8));ar(b,16)&&a.de(c,16,br(b,16));ar(b,64)&&a.de(c,64,b.ad())}f.Lh=function(a,b){Tj(a,b)};f.Jj=function(a,b){dh(a,!b,!0)};f.mm=function(a,b){Xq(a,this.Pa()+"-rtl",b)};f.lm=function(a){var b;return ar(a,32)&&(b=a.V())?Af(b):!1}; f.Sg=function(a,b){var c;if(ar(a,32)&&(c=a.V())){if(!b&&br(a,32)){try{c.blur()}catch(d){}br(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&&Xq(a,e,c);this.de(d,b,c)}};f.de=function(a,b,c){Uq||(Uq={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Uq[b];var d=a.getAttribute("role")||null;d&&(d=Vq[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):!Ua(b)||"nodeType"in b?a(b):wb(b).forEach(a))))};f.Pa=function(){return"goog-control"};function Wq(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||cr(this);return this.i[a]}; f.Ki=function(a){if(!this.oa){this.i||cr(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 cr(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 dr(){}u(dr,Tq);Ra(dr);f=dr.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:dr.na.de.call(this,a,b,c)}};f.Jc=function(a){var b=dr.na.Jc.call(this,a);this.nf(b,a.Xe());var c=a.ub();c&&this.qc(b,c);ar(a,16)&&this.de(b,16,br(a,16));return b};f.Ob=function(a,b){b=dr.na.Ob.call(this,a,b);var c=this.ub(b);a.ya=c;a.U=this.Xe(b);ar(a,16)&&this.de(b,16,br(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?er(a,g):fr(a,g);c=c?d:e;b&2?er(a,c):fr(a,c)};f.Pa=function(){return"goog-button"};var gr={Yg:"mousedown",Zg:"mouseup",Xg:"mousecancel",Xv:"mousemove",Zv:"mouseover",Yv:"mouseout",Vv:"mouseenter",Wv:"mouseleave"};function hr(a,b){if(!a)throw Error("Invalid class name "+a);if(typeof b!=="function")throw Error("Invalid decorator function "+b);ir[a]=b}var jr={},ir={};function kr(a,b,c){Y.call(this,c);if(!b){for(b=this.constructor;b;){var d=Wa(b);if(d=jr[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(kr,Y);f=kr.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 lr(a,b){a.Ra&&b!=a.Kj&&mr(a,b);a.Kj=b}f.nd=function(){return this.j};function er(a,b){b&&(a.Gd?qb(a.Gd,b)||a.Gd.push(b):a.Gd=[b],Xq(a,b,!0))} function fr(a,b){b&&a.Gd&&sb(a.Gd,b)&&(a.Gd.length==0&&(a.Gd=null),Xq(a,b,!1))}f.Oa=function(){var a=this.j.Jc(this);this.ua=a;Zq(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);Zq(this.j,a,this.We());this.j.Jj(a,!1);this.ki=a.style.display!="none"}; f.Ia=function(){kr.na.Ia.call(this);$q(this.j,this,this.ua);this.j.ii(this);if(this.Sh&-2&&(this.Kj&&mr(this,!0),ar(this,32))){var a=this.V();if(a){var b=this.l||(this.l=new Oq);b.attach(a);Z(this).ha(b,"key",this.Lc).ha(a,"focus",this.sq).ha(a,"blur",this.ji)}}}; function mr(a,b){var c=Z(a),d=a.V();b?(c.ha(d,gr.Yg,a.vf).ha(d,[gr.Zg,gr.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,gr.Yg,a.vf).Sa(d,[gr.Zg,gr.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(){kr.na.bc.call(this);this.l&&Sq(this.l);this.isVisible()&&this.isEnabled()&&this.j.Sg(this,!1)}; f.qa=function(){kr.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 nr(a,b){a.j.dg(a.V(),b);a.eg=b}function Yq(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!br(this,1)};f.nb=function(a){var b=this.getParent();b&&typeof b.isEnabled=="function"&&!b.isEnabled()||!or(this,1,!a)||(a||(pr(this,!1),this.Oc(!1)),this.isVisible()&&this.j.Sg(this,a),this.Rc(1,!a,!0))};f.Oc=function(a){or(this,2,a)&&this.Rc(2,a)};f.isActive=function(){return br(this,4)}; function pr(a,b){or(a,4,b)&&a.Rc(4,b)}f.Fl=function(a){or(this,8,a)&&this.Rc(8,a)};f.Qf=function(a){or(this,16,a)&&this.Rc(16,a)};f.nj=function(a){or(this,32,a)&&this.Rc(32,a)};f.ad=function(){return br(this,64)};f.Nb=function(a){or(this,64,a)&&this.Rc(64,a)};function br(a,b){return!!(a.je&b)}f.Rc=function(a,b,c){c||a!=1?ar(this,a)&&b!=br(this,a)&&(this.j.Rc(this,a,b),this.je=b?this.je|a:this.je&~a):this.nb(!b)};function ar(a,b){return!!(a.Sh&b)} f.Tb=function(a,b){if(this.Ra&&br(this,a)&&!b)throw Error("Component already rendered");!b&&br(this,a)&&this.Rc(a,!1);this.Sh=b?this.Sh|a:this.Sh&~a};function qr(a,b){return!!(a.zf&b)&&ar(a,b)}function or(a,b,c){return ar(a,b)&&br(a,b)!=c&&(!(a.Rh&b)||a.dispatchEvent(Ak(b,c)))&&!a.Ed}f.ye=function(a){!rr(a,this.V())&&this.dispatchEvent("enter")&&this.isEnabled()&&qr(this,2)&&this.Oc(!0)};f.Rk=function(a){!rr(a,this.V())&&this.dispatchEvent("leave")&&(qr(this,4)&&pr(this,!1),qr(this,2)&&this.Oc(!1))}; f.xh=ui;function rr(a,b){return!!a.relatedTarget&&xf(b,a.relatedTarget)}f.vf=function(a){this.isEnabled()&&(qr(this,2)&&this.Oc(!0),Sf(a)&&(qr(this,4)&&pr(this,!0),this.j&&this.j.lm(this)&&this.V().focus()));Sf(a)&&a.preventDefault()};f.ze=function(a){this.isEnabled()&&(qr(this,2)&&this.Oc(!0),this.isActive()&&this.kf(a)&&qr(this,4)&&pr(this,!1))}; f.kf=function(a){qr(this,16)&&this.Qf(!br(this,16));qr(this,8)&&this.Fl(!0);qr(this,64)&&this.Nb(!this.ad());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(){qr(this,32)&&this.nj(!0)};f.ji=function(){qr(this,4)&&pr(this,!1);qr(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 kr!=="function")throw Error("Invalid component class "+kr);if(typeof Tq!=="function")throw Error("Invalid renderer class "+Tq);var sr=Wa(kr);jr[sr]=Tq;hr("goog-control",function(){return new kr(null)});function tr(){}u(tr,dr);Ra(tr);f=tr.prototype;f.ag=function(){};f.Jc=function(a){lr(a,!1);a.zf&=-256;a.Tb(32,!1);return a.g.Ma("BUTTON",{"class":Wq(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){lr(a,!1);a.zf&=-256;a.Tb(32,!1);if(b.disabled){var c=this.lh(1);O(b,c)}return tr.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){tr.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 ur(a,b,c){kr.call(this,a,b||tr.Hb(),c)}u(ur,kr);f=ur.prototype;f.ub=function(){return this.ya};f.qc=function(a){this.ya=a;this.nd().qc(this.V(),a)};f.Xe=function(){return this.U};f.nf=function(a){this.U=a;this.nd().nf(this.V(),a)};f.jc=function(a){this.nd().jc(this,a)};f.qa=function(){ur.na.qa.call(this);delete this.ya;delete this.U};f.Ia=function(){ur.na.Ia.call(this);if(ar(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};hr("goog-button",function(){return new ur(null)});function vr(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(gb(Jl(a)));e=Il(this.N.Ca());if(e>=Il(c)&&e<=d){a=b;break a}}a=-1}this.ka=a}}n(vr,W);f=vr.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),wr(this)):this.ma?(O(this.i,"base-image-toc-div"),a=this.N.Ta().Uh,(b=Ll(this.N.Ya(),a))&&xr(this,b),this.N.Ta().Jb>1&&(a=Kl(this.N.Ya(),a,1))&&xr(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 xr(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.od(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.od(c)})}; function wr(a){var b=B("DIV",{"class":"toc-div"}),c;v(a.j,function(d,e){d=yr(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&&(J(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 ur?c=this.o.V():c=this.o;Cp(c,a,this.i,b,new w(0,-this.oa))}; function yr(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")&& J(c,"overflow","hidden");var m=b.Za(),q=a.l?m:ed(m,35);x(c,y(q));a.l&&(c.title=m);m=C("div");O(m,"goog-inline-block");O(m,k);x(m,y(Vb(hd(d))?"&nbsp;":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(z){z.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 zr(a){Co.call(this,1);var b=new Io;b.kb(a);this.Na(b);Bi(this)}n(zr,Co);zr.prototype.mh=function(){return this.g[0]};zr.prototype.s=function(){return this.qb()||0};zr.prototype.Hf=function(){return"fixed_width"};function Ar(a){var b=a.vb(),c=new Cq(this,b);J(b,{overflow:"hidden"});sq.call(this,a,c);this.o=new Wp(a);b=new tn;un(b,Io,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 hq(a,this);this.g.ha(this.yb,"pagemodechange",this.uq);U(this.Yb,0,this)}u(Ar,sq);f=Ar.prototype;f.Wd=function(){var a=vb(Br,this.yb.Ta().Wd());return new wn(mb(a,Vp))};f.Ke=function(a){Ar.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 zr(new Jb(a,Math.floor(Math.floor(a/2)/b)))};var Br=[180,220,280]; Ar.prototype.Ld=function(){var a=Cr(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;Up(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";J(b.l,"visibility",c?"":"hidden");J(b.s,"visibility",d);c=c&&a;b.ta.wa(c);b.Aa.wa(c)}this.dispatchEvent("pagechange")};Ar.prototype.Id=function(){return this.o.g.Id()}; function Cr(a,b){return ob(a.yb.Ya().U,function(c){return qb(c,b)})}Ar.prototype.Yb=function(){Ar.na.Yb.call(this);this.Ld()};Ar.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 Dr(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.hd=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 lq(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 Mq(d)}));c.SubscribeLink&&(this.oa=new lq(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:Er;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(Dr,qn);f=Dr.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 Fq(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 Er=[350,410,495,575,685,800,910,1025];function Fr(a){W.call(this);this.o=a;this.i=null}n(Fr,W);f=Fr.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(){br(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 Gr(a,b,c){Fr.call(this,a);this.N=b;this.U=c}n(Gr,Fr); Gr.prototype.render=function(a,b){Fr.prototype.render.call(this,a,b);a=B("DIV",{style:"padding-top:5px; font-size: 13px;"});x(a,y("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(Hr,this.l));this.U&&(a=new R(a.xc()),S(a,"output","embed"),this.s.value=Ir(a.toString()))};Gr.prototype.Gl=function(){Fr.prototype.Gl.call(this);this.g.ha(this.l,"click",t(Hr,this.l));this.U&&this.g.ha(this.s,"click",t(Hr,this.s))};function Hr(a){a.select()}function Ir(a){return Uc('<iframe frameborder="0" scrolling="no" style="border:0px" src="%s" width=500 height=500></iframe>',a)};function Jr(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)} Jr.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 Kr(){Lr(this)}function Mr(a){lg(a.g);a.g=dg(document.body,"mousedown",function(){oh(document.body,"focus-outline-enabled");Lr(a)},{capture:!0})}function Lr(a){lg(a.g);a.g=H(document.body,"keydown",function(b){b.keyCode===9&&(O(document.body,"focus-outline-enabled"),Mr(a))})};function Nr(a,b,c,d){d=d===void 0?!1:d;Gp.call(this);var e=this;this.rc=a;this.i=b;this.g=c?c:null;this.Wf(Or(this));if(d){var g=A("ep-lb");H(this,"hide",function(){J(g,"visibility","hidden")});H(this,"beforeshow",function(){J(g,"visibility","visible");P(e.V(),"lightbox-dialog",!0)})}}n(Nr,Gp); function Or(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 Pr(a,b,c){this.g=a;this.i=b;this.O=c}u(Pr,Bp);Pr.prototype.Ic=function(a,b,c){Cp(this.g,this.i,a,b,void 0,c,this.O)};function Qr(a,b,c,d){Pr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(Qr,Pr);Qr.prototype.s=function(){return this.j};Qr.prototype.l=function(a){this.j=a};Qr.prototype.Ic=function(a,b,c,d){var e=Cp(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Rr(e,this.i);b=Rr(e,b);e=Cp(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Rr(e,g),b=Rr(e,b),Cp(this.g,g,a,b,null,c,this.j,d,this.o))}};function Rr(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Sr(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;Tr(this,d);Ur(this,!1)} function Tr(a,b){if(a.s)a.l&&Vr(a,b);else{var c=new Nr("",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,y(Df(d)));var e=new Nr("",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);Wr(d,function(){a.N.mb("showkeyboardshortcuts")});if(a.j){var g=new Nr("",a.j,function(){});nh(g.V(),["onboarding-popup", "onboarding-plain-text-popup"])}d=new Nr("",a.U,function(){});nh(d.V(),["onboarding-popup","onboarding-share-popup"]);var h=A("entity-page-clip");Hp(d,5);d.setPosition(new Qr(h,4,!0));Mk(d,!1);Xr(a,c,e,g,d);Yr(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?Zr(a,g,b):d.wa(!0);break;default:d.wa(!0)}else c.wa(!0)}} function Xr(a,b,c,d,e){var g=A("epo-welcome-next");Wr(g,function(){a.i++;b.wa(!1);c.wa(!0);Ur(a,!1)});g=A("epo-keyboard-next");Wr(g,function(){a.i++;c.wa(!1);d?Zr(a,d):e.wa(!0);Ur(a,!1)});a.j&&d&&(g=A("epo-plain-text-next"),Wr(g,function(){a.i++;a.g.wa(!1);Mk(a.g,!0);d.wa(!1);e.wa(!0);Ur(a,!1)}))} function Yr(a,b,c,d,e){document.querySelectorAll(".onboarding-link").forEach(function(h){h.id!="ep-keyboard-link"&&Wr(h,function(){b.wa(!1);c.wa(!1);d&&(d.wa(!1),a.g.wa(!1),Mk(a.g,!0));e.wa(!1);$r(a)})});var g=A("epo-done");Wr(g,function(){e.wa(!1);$r(a)})}function Vr(a,b){var c=new Nr("",a.l,function(){});nh(c.V(),["onboarding-popup","onboarding-plain-text-popup"]);Zr(a,c,b);b=A("epo-done-only");Wr(b,function(){c.wa(!1);a.g.wa(!1);Mk(a.g,!0);$r(a)})} function Zr(a,b,c){c!==void 0&&c||(Mk(a.g,!1),a.g.wa(!0));a=A("entity-page-more-menu-content");Hp(b,0);b.setPosition(new Qr(a,4,!0));Mk(b,!1);b.wa(!0)}function $r(a){Ur(a,!0);a.j?jm(!0):jm(!1)}function Ur(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 Wr(a,b){H(a,"click",function(){b()});H(a,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||b()})};function as(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?(J(this.i,"width",b.getSize().width+"px"),J(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)?bs(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 cs(this)}n(as,Gj);as.prototype.s=function(a){this.Ba.ta(a.g,void 0)};as.prototype.O=function(a){(a=a.lb.snippetSrc)?bs(this,a):cs(this)}; function bs(a,b){of(a.o);var c=C("IMG");c.src=b;ds(a);b=a.j.getSize().width-25;J(c,{width:b+"px"});a.o.appendChild(c)}function ds(a){O(a.i,"sitb-result-clickable");O(a.l,"sitb-result-link");var b=Df(a.l);x(a.l,y(b+"&nbsp;&raquo;"));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 cs(a){of(a.o);var b=C("div");O(b,"sitb-result-snippet");a.o.appendChild(b);Kd||J(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.od()&&!jn(c,[4,8,16])&&c.l(2)?(ds(a),x(b,y((Kd?"No image for result.":"We couldn't make an image for this result.")+"&nbsp;&nbsp;")),a=C("span"),c=Kd||Zm()?"Click to view":"Click to view the whole page.",x(a,y(c)),b.appendChild(a),O(a, "sitb-result-link")):(x(b,y("No preview available for this page.&nbsp;&nbsp;")),Kd||(a=C("a"),O(a,"sitb-result-buy-link"),x(a,y("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()))}as.prototype.Ka=function(){E(this.i);this.dispose()};function es(a){this.Ba=a}n(es,Vm);es.prototype.render=function(a){return new as(this.Ba,a)};function fs(a){this.g=a}n(fs,ri);function gs(a,b){Co.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(gs,Co);gs.prototype.l=function(a){a=new fs(a);var b=Math.min(this.U-16,600);a.kb(new Jb(b,Math.round(124/600*b+42)));this.Na(a)};function hs(a){var b=a.vb();J(b,"overflow","hidden");var c=new Cq(this,b);hp.call(this,c);this.N=a;Kd||kp(this,new wq(this));this.g.ha(this,"move",this.Yb);var d=A("subscription-bar");d&&(this.Gk(d),U(function(){N(d,!1)},600));jp(this,is(this));J(b,"overflow","auto");J(b,{overflowX:"auto",overflowY:"scroll"});bf(b,{dir:"ltr"})}u(hs,hp);function js(a,b){b!=a.o&&(a.o=b,ks(a))}function is(a){var b=new tn;un(b,fs,new es(a));return b}hs.prototype.resize=function(){ks(this)}; function ks(a){var b=new gs(a.o,a.getSize().width);a.Pc(b);a.Yb()}function ls(a,b){a.ta=b};function ms(a){this.g=a||{}}ms.prototype.Bc=function(){return this.g};ms.prototype.Ub=function(a){var b=Nb(ns,function(c){return c==a});this.g.v=b};ms.prototype.getQuery=function(){return this.g.q};var ns={onepage:Dq,twopage:Ar,thumbnail:Jq,snippet:hs};function os(a){Of.call(this,"navigate");this.o=a}u(os,Of);var ps={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 qs=/^[a-zA-Z0-9-]+$/,rs={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};var ss=new WeakMap;function ts(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 us(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"+vs;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"+vs;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(!qs.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 rs)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]);ps.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?ws(this,xs(this),!0):ys(this,this.s.value);vs++}u(us,Q);us.prototype.Lb=!1;us.prototype.l=!1;us.prototype.j=null; var zs=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?ts:b;var e=Wa(a);return function(){var g=Ka.apply(0,arguments),h=this||p,k=ss.get(h);k||(k={},ss.set(h,k));return Ed(k,[this].concat(sa(g)),c,d)}}(function(){return"onhashchange"in p});f=us.prototype;f.Bg=null;f.qa=function(){us.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),zs()&&this.g?(this.o.ha(this.i,"hashchange",this.Ju),this.Lb=!0,this.dispatchEvent(new os(xs(this),!1))):(this.o.ha(this.Qa,"tick",r(this.om,this,!0)),this.Lb=!0,this.j=xs(this),this.dispatchEvent(new os(xs(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=As(this.i);a!=this.j&&Bs(this,a,!0)}; function xs(a){return a.Bg!=null?a.Bg:a.g?As(a.i):Cs(a)||""}function Ds(a,b){xs(a)!=b&&(a.g?(ws(a,b,!1),a.Lb&&a.om(!1)):(ys(a,b,!1),a.Bg=a.j=a.s.value=b,a.dispatchEvent(new os(b,!1))))}function As(a){a=a.location.href;var b=a.indexOf("#");return b<0?"":a.substring(b+1)}function ws(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 ys(a,b,c){if(a.ka||b!=Cs(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 Cs(a){var b=a.U.contentWindow;if(b){try{var c=Yc(As(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=As(this.i);b!=this.j&&Bs(this,b,a)}this.g||(b=Cs(this)||"",this.Bg!=null&&b!=this.Bg)||(this.Bg=null,b!=this.j&&Bs(this,b,a))};function Bs(a,b,c){a.j=a.s.value=b;a.g?ws(a,b):ys(a,b);a.dispatchEvent(new os(xs(a),c))}var vs=0;function Es(a,b){this.g=new us;H(this.g,"navigate",r(this.o,this));this.N=a;this.i=b}Es.prototype.o=function(a){Fs(this,a.o)};function Fs(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 Gs&&(g=Gs[g]);c[e]=g});b=new ms(c);a.N.Ub(ns[b.g.v]||Dq);eq(a.i,!!b.g.f);b.getQuery()!==void 0&&nm(a.N.Va(),b.getQuery())}} Es.prototype.nb=function(a){this.l=!0;this.g.nb(a);Gd&&(a=(new R(window.location)).i,Fs(this,a));this.l=!1};Es.prototype.update=function(){var a=new ms;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;Ds(this.g,a);this.j=!1};var Gs={"true":!0,"false":!1};function Hs(a,b,c,d,e,g,h){var k=this;a&&(this.N=a,this.Ib=b);if(this.Aa=c)this.hd=!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.jd=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,Is(this,this.i),H(this.N,"searchupdate",function(){Js(k)}));this.l=!0;Ks(this);Ls(this);Ms(this);Ns(this); Os(this);Ps(this);Qs(this);Rs(this);Ss(this);Ts(this);new Kr;dm(Us(this))} function Ks(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"),Vs(a.O,function(){var d=$e("base-image-toc-div");$e("scroll-toc-div")||d||(new vr(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,y(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 Ls(a){a.ka&&(a.N&&(Vs(a.ya,function(){a.ya.hasAttribute("href")||a.N.mb("previous")}),Vs(a.ta,function(){a.ta.hasAttribute("href")||a.N.mb("next")})),a.ya.setAttribute("title","Previous Page"),a.ta.setAttribute("title","Next Page"))} function Ms(a){Vs(a.Ea,function(){a.g?Ws(a):a.N&&a.N.mb("zoomin")});Vs(a.Ga,function(){a.g?Xs(a):a.N&&a.N.mb("zoomout")});a.g&&H(document.body,"keydown",function(b){b.keyCode==107||b.keyCode==187||b.keyCode==61?Ws(a):(b.keyCode==109||b.keyCode==189||b.keyCode==173)&&Xs(a)});a.Ea.setAttribute("title","Zoom in");a.Ga.setAttribute("title","Zoom out")} function Ns(a){Vs(a.ma,function(){Ys(a,Dq)});a.ma.setAttribute("title","Single page view");a.Hc?(Vs(a.s,function(){Ys(a,Ar)}),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?(Vs(a.o,function(){Ys(a,Jq)}),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(){Zs(a)}),Zs(a))} function Os(a){var b=(new zp(a.Eb)).V();A("entity-page-share-copy-container").appendChild(b);b=(new zp(a.jd)).V();A("entity-page-embed-copy-container").appendChild(b);var c=new Nr("Link to this result",a.Cd,function(){a.U.focus()});Hp(c,5);c.setPosition(new Qr(a.U,4,!0));c.wa(!1);var d=new R(a.Eb.value);Vs(a.U,function(){if(c.Me||Date.now()-c.Xi<150)c.wa(!1);else{c.wa(!0);c.V().focus();if(a.N){$s(a,d);a.g&&S(d,"bksoutput","text");var e=a.N.Va().getQuery();e?a.N.O==hs?(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.jd.value=Ir(e.toString()))}});a.U.setAttribute("title","Link to this result")} function Ps(a){if(a.Aa){var b=A("entity-page-selection-bar"),c=A("entity-page-exit-selection"),d=A("entity-page-toolbar");Vs(a.j,function(){a.hd=!a.hd;a.Aa(!0);P(b,"menu-hidden",!1);c.focus();X(d,"hidden",!0)});Vs(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 Qs(a){at(a);bt(a);ct(a);var b=new Nr("",a.Dd,function(){a.oa.focus()});Hp(b,4);b.setPosition(new Qr(a.oa,5,!0));O(b.V(),"more-actions-popup");b.wa(!1);dt(a,b);var c=A("entity-page-toggle-viewport-mode-link");c&&a.Fb&&(b.wa(!0),c.focus());Vs(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);$s(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;et(a)});H(b,"hide",function(){a.Wa=!1;a.l=!1;ft(a)});if(a.La.showViewportOnboarding||a.La.showViewportPlainTextOnboarding){var d=Number(T(new R(window.location.href),"op"));new Sr(b,a.N,!!a.La.showViewportPlainTextOnboarding, a.Fb,d?d:0)}}function dt(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 Nr("",d,function(){a.oa.focus()});Hp(e,0);e.setPosition(new Qr(c,4,!0));O(e.V(),"buy-table-popup");e.wa(!1);Vs(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 Rs(a){var b=A("ep-keyboard-shortcuts");if(b&&a.N){var c=new Nr("",b,function(){},!0);O(c.V(),"keyboard-shortcuts-popup");b=A("ep-keyboard-close");Vs(b,function(){c.wa(!1)});H(a.N,"keyboardshortcutsopened",function(){c.wa(!0)})}}function ct(a){var b=A("entity-page-keyboard");b&&a.N&&Vs(b,function(){a.N.mb("showkeyboardshortcuts")})}function bt(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);Vs(c,function(){a.N.hb(d)})}} function at(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);Vs(b,function(){P(b,"checked",!c);X(b,"pressed",!c)})}} function Zs(a){a.N.O==Dq?(gt(a,!0),ht(a,!0),it(a,!0),jt(a,!0),kt(a,!0),X(a.ma,"current","true"),X(a.s,"current","false"),X(a.o,"current","false")):a.N.O==Ar?(gt(a,!0),ht(a,!0),it(a,!0),jt(a,!0),kt(a,!0),X(a.ma,"current","false"),X(a.s,"current","true"),X(a.o,"current","false")):a.N.O==Jq?(gt(a,!0),ht(a,!1),it(a,!0),jt(a,!0),kt(a,!1),X(a.ma,"current","false"),X(a.s,"current","false"),X(a.o,"current","true")):(gt(a,!1),ht(a,!1),it(a,!1),jt(a,!1),kt(a,!1));var b=a.N.O;a.ka&&b!=hs&&!a.g&&(P(a.ka,"one-page-view", b==Dq),P(a.Fa,"one-page-view",b==Dq),P(a.ka,"two-page-view",b==Ar),P(a.Fa,"two-page-view",b==Ar),P(a.ka,"thumbnail-view",b==Jq),P(a.Fa,"thumbnail-view",b==Jq))}function Ys(a,b){a.N&&a.N.O!=b&&(a.N.Ub(b),!a.N.Va().getQuery()&&a.Ib&&a.Ib.update())}function gt(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 ht(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 it(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 jt(a,b){a.Jb&&(P(a.O,"toolbar-button-disabled",!b),X(a.O,"disabled",!b))}function kt(a,b){a.Aa&&(P(a.j,"toolbar-button-disabled",!b),X(a.j,"disabled",!b))}function $s(a,b){a=new R(a.N.Ca().xc());S(b,"pg",T(a,"pg"))} function Ws(a){a.i<5&&(a.i+=1,Is(a,a.i))}function Xs(a){a.i>1&&(--a.i,Is(a,a.i))}function Is(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);Js(a)} function Js(a){var b=a.ya,c=new R(b.href);lt(a,c);Dc(b,c.toString());b=a.ta;c=new R(b.href);lt(a,c);Dc(b,c.toString());b=A("text-viewport-prev");c=new R(b.href);lt(a,c);Dc(b,c.toString());b=A("text-viewport-next");c=new R(b.href);lt(a,c);Dc(b,c.toString());if(b=A("entity-page-copyright"))c=new R(b.href),lt(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 lt(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 Vs(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 Ss(a){function b(c){P(document.body,"opaque-background",!0);a.l=!1;c&&ft(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 Ts(a){a.N&&(a.g?H(window,"resize",function(){ft(a)}):(H(a.N,"viewportmodechange",function(){ft(a)}),H(a.N,"resize",function(){ft(a)}),H(a.N,"zoomchange",function(){ft(a)})),H(a.Ua,"mouseenter",function(){a.l=!0;et(a)}),H(a.Ua,"mouseleave",function(){a.l=!1;ft(a)}),document.body.querySelectorAll(".floating-button-group").forEach(function(b){H(b,"mouseenter",function(){a.l=!0;et(a)});H(b,"mouseleave",function(){a.l=!1;ft(a)});H(b,"focusin",function(){a.l=!0;et(a)});H(b,"focusout",function(){a.l= !1;ft(a)})}))}function ft(a){a.l||a.Wa||(et(a),mt(a)&&(a.Zb=U(function(){nt(a,!1);P(a.Ua,"listen-for-hover",!0)},3E3)))}function mt(a){if(!a.N||a.N.O==hs)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 et(a){nt(a,!0);P(a.Ua,"listen-for-hover",!1);a.Zb&&nj(a.Zb)} function nt(a,b){P(a.Fa,"floating-button-group-hidden",!b);a.ka&&P(a.ka,"floating-button-group-hidden",!b)}function Us(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 ot(a,b){this.g=a;this.l=b}function pt(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 qt(a){this.g=a}Ra(qt);function rt(a,b){a&&(a.tabIndex=b?0:-1)}f=qt.prototype;f.Lj=function(a){return a.tagName=="DIV"};function st(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"?tt(b,"horizontal"):h==d+"-vertical"&&tt(b,"vertical"))},a);e||O(c,d);ut(a,b,c);return c} function ut(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 ir?ir[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 vt(a,b,c){Y.call(this,c);this.Oe=b||qt.Hb();this.Lf=a||this.Oe.Sn()}u(vt,Y);f=vt.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 wt(a){return a.fl||a.V()}f.nd=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=st(this.Oe,this,a);a.style.display=="none"&&(this.ke=!1)};f.Ia=function(){vt.na.Ia.call(this);Ek(this,function(b){b.Ra&&xt(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,gr.Yg,this.zq).ha(Ue(a),[gr.Zg,gr.Xg],this.Zs).ha(a,[gr.Yg,gr.Zg,gr.Xg,"mouseover","mouseout","contextmenu"],this.Us);this.qg&&yt(this,!0)}; function yt(a,b){var c=Z(a),d=wt(a);b?c.ha(d,"focus",a.oi).ha(d,"blur",a.ni).ha(a.wf||(a.wf=new Oq(wt(a))),"key",a.Lc):c.Sa(d,"focus",a.oi).Sa(d,"blur",a.ni).Sa(a.wf||(a.wf=new Oq(wt(a))),"key",a.Lc)}f.bc=function(){this.Od(-1);this.Xb&&this.Xb.Nb(!1);this.Yd=!1;vt.na.bc.call(this)};f.qa=function(){vt.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=zt(this);c&&c.Oc(!1);this.Wb=b;c=zt(this);this.Yd&&pr(c,!0);this.Xb&&c!=this.Xb&&(ar(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==zt(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&&br(a.target,2)&&c&&Sj(b,c)};f.zq=function(a){this.Lb&&(this.Yd=!0);var b=wt(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 gr.Yg:b.vf(a);break;case gr.Zg:case gr.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=zt(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)wt(this).blur();else return!1;break;case 36:At(this);break;case 35:Bt(this);break;case 38:if(this.Lf=="vertical")Ct(this);else return!1;break;case 37:if(this.Lf=="horizontal")Hk(this)?Dt(this):Ct(this);else return!1;break;case 40:if(this.Lf=="vertical")Dt(this); else return!1;break;case 39:if(this.Lf=="horizontal")Hk(this)?Ct(this):Dt(this);else return!1;break;default:return!1}return!0};function xt(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){vt.na.Xa.call(this,a,b)}; f.jg=function(a,b,c){a.Rh|=2;a.Rh|=64;a.Tb(32,!1);lr(a,!1);var d=a.getParent()==this?Ik(this,a):-1;vt.na.jg.call(this,a,b,c);a.Ra&&this.Ra&&xt(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=vt.na.removeChild.call(this,a,b);lr(a,!0);return a};function tt(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&&rt(wt(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&&rt(wt(this),a&&this.ke))}; function Et(a,b){b!=a.qg&&a.Ra&&yt(a,b);a.qg=b;a.Lb&&a.ke&&rt(wt(a),b)}f.Od=function(a){(a=Gk(this,a))?a.Oc(!0):this.Wb>-1&&zt(this).Oc(!1)};f.Oc=function(a){this.Od(Ik(this,a))};function zt(a){return Gk(a,a.Wb)}function At(a){Ft(a,function(b,c){return(b+1)%c},Fk(a)-1)}function Bt(a){Ft(a,function(b,c){b--;return b<0?c-1:b},0)}function Dt(a){Ft(a,function(b,c){return(b+1)%c},a.Wb)}function Ct(a){Ft(a,function(b,c){b--;return b<0?c-1:b},a.Wb)} function Ft(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()&&ar(a,2)};function Gt(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 vt,Dk(this.i,a),this.o=c,this.U=d,Dk(this,b),this.i.wa(!1))}n(Gt,Y);Gt.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()})}; Gt.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(), Ht(this)};function Ht(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 It(a){this.rd=mo(a)}n(It,wo);f=It.prototype;f.getEnableSsEngine=function(){return so(this,2)};f.getEnableAwr=function(){return so(this,3)};f.getAlohaAutoGaRollout=function(){return so(this,5)};f.getEnableConfigurator=function(){return so(this,6)};f.getEnableMweb=function(){return so(this,7)};f.getEnableCtlConsentCheckbox=function(){return so(this,8)};f.getEnableIframe=function(){return so(this,9)};f.getEnableScreenshotNudge=function(){return so(this,10)}; f.getEnableWebStartupConfigEndpoint=function(){return so(this,11)};f.getEnableJunkNudge=function(){return so(this,12)};f.getEnableConfiguratorLocale=function(){return so(this,13)};f.getEnableTinyNoPointer=function(){return so(this,14)};f.getEnableSupportSessionLogging=function(){return so(this,15)};f.getEnableFileUploadForScreenshot=function(){return so(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return so(this,17)};f.getEnableImageSanitization=function(){return so(this,18)}; f.getEnableAlohaBinarySplit=function(){return so(this,19)};f.getEnableDbFeedbackIntents=function(){return so(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return so(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return so(this,22)};f.getEnableRealtimeCtl=function(){return so(this,23)};function Jt(a){this.rd=mo(a)}n(Jt,wo);function Kt(a){return Lt.some(function(b){return b.test(a)})}var Lt=[/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 Mt="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 Nt=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Ot=ta(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]); function Pt(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&Mt.includes(d)?d:c&&Mt.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(Nt,a):Je(Ot,a,d)};var Qt,Rt;function St(a,b,c,d){if(Qt)return Qt;var e=Pt(a,d);return Qt=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 Tt(a,b,c,d){if(Rt)return Rt;var e=Pt(a,d);return Rt=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 Ut(a,b,c,d,e){e=e===void 0?!0:e;var g,h,k,l,m;return Ja(function(q){switch(q.g){case 1:return g=Date.now(),Aa(q,St(a,c,d,b),2);case 2:h=q.j;if(!(e||((l=a.initializationData)==null?0:l.useNightlyRelease)||((m=a.initializationData)==null?0:m.isLocalServer))){k=h.initializeFeedbackClient(a,g,b);q.g=3;break}return Aa(q,h.initializeFeedbackClientAsync(a,g,b),4);case 4:k=q.j;case 3:return k.initiateAloha(),q.return(k)}})} function Vt(a,b,c,d){var e,g,h;return Ja(function(k){if(k.g==1)return e=Date.now(),Aa(k,Tt(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 Wt(a,b,c){var d=!0;d=d===void 0?!0:d;var e,g,h,k,l,m,q,z,D,I;return Ja(function(F){e=c||p;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||{};q=a.callbacks.onClose||function(){};a.callbacks.onClose=function(K){l.isFormOpened=!1;q(K)};try{return F.return(Vt(a,b,l,e))}catch(K){throw l.isFormOpened=!1,K;}}else{z=e;if(z.isFormOpened)throw D= Error("Form is either loading or already opened"),D.name="DuplicateFormError",D;z.isFormOpened=!0;a.callbacks=a.callbacks||{};I=a.callbacks.onClose||function(){};a.callbacks.onClose=function(K){z.isFormOpened=!1;I(K)};try{return F.return(Ut(a,b,z,e.document,d))}catch(K){throw z.isFormOpened=!1,K;}}F.g=0})};function Xt(a,b){return Ja(function(c){return c.return(new Promise(function(d){var e=Yt(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 Jt;else{var l=JSON.parse(k);if(!Array.isArray(l))throw Error("dnarr");Vn(l,32);h=new Jt(l)}}catch(m){k=new Jt;l=new It;l=to(l,5,!0);l=to(l,2,!0);l=to(l,4,!1);l=to(l,8,!0);l=to(l,9,!0);l=to(l,7,!0);l=to(l,10,!0);l=to(l,12,!0);l=to(l,13,!1);l=to(l,14,!0);l=to(l, 15,!0);l=to(l,20,!1);l==null&&(l=void 0);g=k.rd;h=g[Sn]|0;if(h&2)throw Error();ro(g,h,1,l);h=k}d(h)},"GET","",{},2E3,!0)}))})}function Yt(a){return Kt(a)?a:"https://www.google.com/tools/feedback"};function Zt(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||p,e=d.document,g=a.nonce||Jc("script",d.document);g&&!a.nonce&&(a.nonce=g);if(a.flow=="help"){var h=Qa("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d, b);else{d=c+"/load.js?";for(var l in a)b=a[l],b==null||Va(b)||(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=Jf(Se(e),"SCRIPT");g&&a.setAttribute("nonce",g);Lc(a,oc(d));e.body.appendChild(a)}} function $t(a,b,c,d){var e,g;Ja(function(h){e=c||p;var k=a.serverEnvironment==="DEV",l=c||p;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,Wt(g,d,e),0)})} function au(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"?Zt(a,b,c):Xt(a.productId,a.feedbackServerUri).then(function(e){var g=e.rd;var h=g[Sn]|0,k=qo(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 It(k)}else l=void 0;l!==k&&l!=null&&ro(g,h,1,l);g=l;g!=null&&(e=e.rd,h=e[Sn]|0,h&2||(k=g,l=k.rd,m=l[Sn]|0,k= m&2?new k.constructor(oo(l,m,!1)):k,k!==g&&(g=k,ro(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?$t(a,b,c,e):Zt(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Zt(a,b,c)})}catch(e){$t(a,b,c,null)}}bb("userfeedback.api.startFeedback",au);function bu(a,b,c){Y.call(this);if(this.j=A("gb-mobile-appbar-back-button"))Z(this).ha(this.j,"click",this.l),cu(this);(this.i=A("gb-mobile-appbar-more"))&&du(this);var d=A("gb-mobile-appbar-search-button");d&&b&&(H(d,"click",function(){eu(b,c)}),H(d,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||eu(b,c)}));new Gt(a)}n(bu,Y); function du(a){var b=A("gb-mobile-more-menu");if(b){var c=new Gp(b);Hp(c,4);c.setPosition(new Qr(a.i,4));c.wa(!1);H(a.i,"click",function(){fu(b,c)});H(a.i,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||fu(b,c)})}else E(a.i)}function fu(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 eu(a,b){var c=A("gb-mobile-search"),d=ah(c);N(c,!d);d?a.blur():a.focus();b&&b.resize()}bu.prototype.l=function(){window.history.back();Od&&Zj&&window.history.length==1&&window.close()};function cu(a){Sd&&ec(nd(),"GSA")&&(O(a.j,"igsa-hide"),a=a.g.V("gb-mobile-appbar-logo"),O(a,"igsa-shift"))}bb("_OC_startFeedback",au);function gu(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(gu,Q); gu.prototype.qa=function(){gu.na.qa.call(this);kg(this.i,"resize",this.j,!1,this);this.i=null;E(this.g);delete this.g};gu.prototype.j=function(){var a=this.g.offsetWidth;this.l!=a&&(this.l=a,this.dispatchEvent("fontsizechange"))};function hu(a){this.i=a;a=r(this.j,this);this.g=new rh;H(this.g,"resize",a);var b=new gu;H(b,"fontsizechange",a);H(window,"DOMContentLoaded",r(this.resize,this))}hu.prototype.j=function(){this.resize();U(r(this.resize,this),100)};hu.prototype.resize=function(){var a=this.g.getSize(),b=Math.round(Qg(this.i).y);this.i.style.height=a.height-b+"px"};function iu(a){var b=null;if(a=A(a))b=new hu(a),b.resize();return b};function ju(a,b){Y.call(this,b);this.j=a}u(ju,Y);ju.prototype.i="info";ju.prototype.l=!1;var ku={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};ju.prototype.getType=function(){return this.i};function lu(a,b){if(a.Gb()){var c=a.V(),d=ku[b];oh(c,ku[a.i]);O(c,d)}a.i=b}function mu(a,b){a.j=b;if(b=a.V()){var c=a.g;c.bm(b);c.Zl(b,a.j)}}ju.prototype.isVisible=function(){var a=this.V();return a!=null&&mh(a,"jfk-butterBar-shown")}; ju.prototype.wa=function(a){P(this.V(),"jfk-butterBar-shown",a)};function nu(a,b){a.l=b;(b=a.V())&&P(b,"jfk-butterBar-mini",a.l)}ju.prototype.Oa=function(){this.ua=this.g.Ma("DIV","jfk-butterBar");var a=this.V();a&&(X(a,"live","assertive"),X(a,"atomic","true"));mu(this,this.j);nu(this,this.l);lu(this,this.i)};function ou(a,b){Y.call(this,b);this.i=a||""}var pu;u(ou,Y);f=ou.prototype;f.Sd=null;function qu(){pu==null&&(pu="placeholder"in C("INPUT"));return pu}f.yh=!1;f.Oa=function(){this.ua=this.g.Ma("INPUT",{type:"text"})};f.Kb=function(a){ou.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"));qu()&&(this.V().placeholder=this.i);a=this.V();X(a,"label",this.i)}; f.Ia=function(){ou.na.Ia.call(this);var a=new og(this);a.ha(this.V(),"focus",this.bo);a.ha(this.V(),"blur",this.Ss);if(qu())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;ru(this)}su(this);this.V().ka=this};f.bc=function(){ou.na.bc.call(this);this.j&&(this.j.dispose(),this.j=null);this.V().ka=null};function ru(a){!a.l&&a.j&&a.V().form&&(a.j.ha(a.V().form,"submit",a.lt),a.l=!0)} f.qa=function(){ou.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");qu()||tu(this)||this.o||!this.V()||(this.V().value="")};f.Ss=function(){qu()||(this.j.Sa(this.V(),"click",this.bo),this.Sd=null);this.yh=!1;su(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(){tu(this)||(this.V().value="",U(this.Ps,10,this))};f.Ps=function(){tu(this)||(this.V().value=this.i)};f.Pt=function(){su(this)};function tu(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(){tu(this)&&(this.clear(),su(this))};f.qc=function(a){this.Sd!=null&&(this.Sd=a);this.V().value=a;su(this)};f.ub=function(){return this.Sd!=null?this.Sd:tu(this)?this.V().value:""};f.we=function(){return this.i}; function su(a){var b=a.V();qu()?a.V().placeholder!=a.i&&(a.V().placeholder=a.i):ru(a);X(b,"label",a.i);tu(a)?(a=a.V(),oh(a,"label-input-label")):(a.o||a.yh||(b=a.V(),O(b,"label-input-label")),qu()||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()||tu(this)||this.yh||(this.V().value=this.i)};function uu(a,b,c){ou.call(this,c!=null?c:"Search in this book");this.Kb(a);this.Ia();b&&this.qc(b)}n(uu,ou);function vu(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 wu(a){of(a.g);a.o.tb.forEach(function(b,c){var d=Ll(a.s,b.Ja());var e=new ot(b,d?d:null);if(e.g.g){var g=pt(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(oq(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 xu(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 yu(a,b){this.g=a instanceof w?a:new w(a,b)}u(yu,Bp);yu.prototype.Ic=function(a,b,c,d){Fp(this.g,a,b,c,null,null,d)};function zu(a,b){this.g=a instanceof w?a:new w(a,b)}u(zu,Bp);zu.prototype.Ic=function(a,b,c,d){Cp((a?Ue(a):document).documentElement,0,a,b,this.g,c,null,d)};function Au(a,b,c){this.l=c||(a?Se(A(a)):Se());Gp.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(Au,Gp);var Bu=[];f=Au.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 Cu(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);Au.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 Du(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=Bu[b];b++)xf(a.V(),this.g)||a.wa(!1);rb(Bu,this);a=this.V();a.className=this.className;this.lg();H(a,"mouseover",this.Tk,!1,this);H(a,"mouseout",this.io,!1,this);Eu(this);return!0};f.Ng=function(){sb(Bu,this);for(var a=this.V(),b,c=0;b=Bu[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;Du(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 Fu(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=Gu(this,a.target);this.Rb=b;this.lg();b!=this.g&&(this.g=b,this.uj(b),Hu(this),Fu(this,a))};function Gu(a,b){try{for(;b&&!a.Vb.has(b);)b=b.parentNode;return b}catch(c){return null}}f.zg=function(a){Fu(this,a);this.La=!0};f.rm=function(a){this.Rb=a=Gu(this,a.target);this.La=!0;if(this.g!=a){this.g=a;var b=this.Ii(1);this.lg();this.uj(a,b);Hu(this)}};f.Ii=function(a){return a==0?(a=this.s.clone(),new Iu(a)):new Ju(this.Rb)}; function Hu(a){if(a.g)for(var b,c=0;b=Bu[c];c++)xf(b.V(),a.g)&&(b.ka=a,a.Wa=b)}f.Ni=function(a){var b=Gu(this,a.target),c=Gu(this,a.relatedTarget);b!=c&&(b==this.Rb&&(this.Rb=null),Eu(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 Eu(a){a.Aa&&(nj(a.Aa),a.Aa=void 0)}f.Ph=function(){Du(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);Eu(this);Cu(this);this.V()&&E(this.V());this.Rb=null;delete this.l;Au.na.qa.call(this)};function Iu(a,b){zu.call(this,a,b)}u(Iu,zu); Iu.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);Fp(this.g,a,8,c,b,9)&496&&Fp(this.g,a,8,c,b,5)};function Ju(a){Pr.call(this,a,5)}u(Ju,Pr);Ju.prototype.Ic=function(a,b,c){var d=new w(10,0);Cp(this.g,this.i,a,b,d,c,9)&496&&Cp(this.g,4,a,1,d,c,5)};function Ku(a,b){Q.call(this);this.ne=C("div");a.appendChild(this.ne);J(this.ne,{position:"absolute",backgroundColor:"#b2c4e9",width:"100%",height:"5px",cursor:"pointer"});this.g=new Lu(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(Ku,Q);function Mu(a,b){J(a.ne,{backgroundColor:b?"#ffcc00":"#b2c4e9"});a.j=b} Ku.prototype.i=function(a){this.j||J(this.ne,{backgroundColor:a?"#ffffcc":"#b2c4e9"})};Ku.prototype.qa=function(){this.g.dispose();Q.prototype.qa.call(this)};function Lu(a,b){Au.call(this,a);this.i=a;this.Hg=200;this.Ah=500;a=this.V();J(a,{backgroundColor:"#FFF",color:"#333",border:"1px solid #6b90da",padding:"6px",fontSize:"83%",width:"350px",cursor:"pointer"});var c=C("div");J(c,{fontWeight:"bold"});c.appendChild(lf("Page "+b.i));a.appendChild(c);c=C("div");x(c,y(b.g));a.appendChild(c)}n(Lu,Au); Lu.prototype.Fh=function(a){var b=Qg(this.i),c=M(this.V());Au.prototype.Fh.call(this,a,new yu(b.x-c.width,Math.min(b.y,df().height-c.height)))};function Nu(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");J(this.i,{backgroundColor:"#fcfcff",position:"absolute"});this.N.md().appendChild(this.i);this.o.tb.forEach(function(e){Ou(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(Nu,W); Nu.prototype.ka=function(){this.s&&(Mu(this.s,!1),this.s=null);var a=this.j[this.N.Ca().Ja()];a&&(this.s=a,Mu(a,!0))};Nu.prototype.U=function(){var a=this,b=this.N.Da(),c=b instanceof Dq;c&&this.l();tg(this.O);this.O.ha(b,"layoutchange",function(){a.l()});N(this.i,c)};Nu.prototype.l=function(){var a=this;U(function(){var b=a.N.Da();b&&b instanceof Dq&&(b=b.s.l,L(a.i,15,b.clientHeight),Kg(a.i,b.clientWidth-15,0),Pu(a))},10)}; function Pu(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 Ou(a,b){var c=new Ku(a.i,b);a.j[b.Ja()]=c;a.g.ha(c,"click",function(){a.ma(b)})}Nu.prototype.qa=function(){E(this.i);Lb(this.j,function(a){a.qa.call(a)});W.prototype.qa.call(this)};function Qu(a){W.call(this);this.i=a;this.j="n"}n(Qu,W);function Ru(a,b,c){Su(a.i.j);var d=new R(window.location.href);S(d,"jscmd","SearchWithinVolume");S(d,"q",b);S(d,"scoring",c);(new qp(d)).Qd(function(e){Tu(a,!1,e)});a.j=c} function Tu(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 nq(c);$m()&&(e&&(a.j=e),a.l=new vu(a.o,a.j,a.i.N.Ya()));c=a.i.N;c.O||c.Ub(Dq);e=a.o.tb;e.length==0?Uu(a.i.j):b?d?(b=e.find(function(g){return d==g.Ja()}))?Vu(a,b):Vu(a,e[0],d):Vu(a,e[0]):Wu(a);a.s=new Nu(c,a.o,function(g){Vu(a,g)})} function Wu(a){var b=a.i.N,c=b.O;if(c==Dq||c==Ar)a.i.l=c;b.Ub(hs);b=b.Da();Xu(a.i.j);$m()?(wu(a.l),xu(a.l,!0)):(js(b,a.o),ls(b,function(d,e){return Vu(a,d,e)}),b.Qc(new w(0,0)))} function Vu(a,b,c,d){tq=!0;var e=a.i.j;Yu(e,!1);e.j=jb(e.i.o.tb,b);e.o?(Zu(e,!0),x(e.l,y(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,y("Result <b>"+(e.j+1+"</b> of <b>")+(e.i.o.tb.length+"</b> in this book for <b>")+(oq(e.i.o)+"</b>")));e=a.i.N;b=Ll(e.Ya(),b.Ja());if(!b)return null;var g=e.Da();g instanceof Dq||g instanceof Ar||(a.i.l==Ar?e.Ub(Ar):e.Ub(Dq));if(c)return e.wd(c),null;if(d)return xm(e,d),null;e.wh(b); return b}Qu.prototype.qa=function(){Kf(this.s);W.prototype.qa.call(this)};var $u="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function av(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");$u.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function bv(){this.g=[]}u(bv,Tq);Ra(bv);function cv(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=bv.prototype;f.ag=function(){return"menuitem"};f.Jc=function(a){var b=a.g.Ma("DIV",Wq(this,a).join(" "),dv(this,a.vc(),a.g));ev(this,a,b,ar(a,8)||ar(a,16));return b};f.Dc=function(a){return a&&a.firstChild}; f.Ob=function(a,b){var c=uf(b),d=cv(this,2);c&&mh(c,d)||b.appendChild(dv(this,b.childNodes,a.g));mh(b,"goog-option")&&(a.Mh(!0),this.Mh(a,b,!0));return bv.na.Ob.call(this,a,b)};f.dg=function(a,b){var c=this.Dc(a),d=fv(this,a)?c.firstChild:null;bv.na.dg.call(this,a,b);d&&!fv(this,a)&&c.insertBefore(d,c.firstChild||null)};function dv(a,b,c){a=cv(a,2);return c.Ma("DIV",a,b)}f.lp=function(a,b,c){a&&b&&ev(this,a,b,c)};f.Mh=function(a,b,c){a&&b&&ev(this,a,b,c)}; function fv(a,b){return(b=a.Dc(b))?(b=b.firstChild,a=cv(a,1),!!b&&wf(b)&&mh(b,a)):!1}function ev(a,b,c,d){Zq(a,c,b.We());$q(a,b,c);d!=fv(a,c)&&(P(c,"goog-option",d),c=a.Dc(c),d?(a=cv(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 cv(this,0);case 16:case 8:return"goog-option-selected";default:return bv.na.lh.call(this,a)}}; f.Ki=function(a){var b=cv(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return bv.na.Ki.call(this,a)}};f.Pa=function(){return"goog-menuitem"};function gv(a,b,c,d){kr.call(this,a,d||bv.Hb(),c);this.qc(b)}u(gv,kr);f=gv.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){gv.na.Tb.call(this,a,b);switch(a){case 8:br(this,16)&&!b&&this.Qf(!1);(a=this.V())&&this.nd().lp(this,a,b);break;case 16:(a=this.V())&&this.nd().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)):gv.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}gv.na.ze.call(this,a)};f.Xd=function(a){return a.keyCode==this.ol&&this.kf(a)?!0:gv.na.Xd.call(this,a)};f.Ks=function(){return this.ol}; hr("goog-menuitem",function(){return new gv(null)});gv.prototype.We=function(){return ar(this,16)?"menuitemcheckbox":ar(this,8)?"menuitemradio":gv.na.We.call(this)};gv.prototype.getParent=function(){return kr.prototype.getParent.call(this)};gv.prototype.yg=function(){return kr.prototype.yg.call(this)};function hv(a,b,c,d){Qr.call(this,a,b,c||d);(c||d)&&this.l(65|(d?32:132))}u(hv,Qr);function iv(){}u(iv,Tq);Ra(iv);iv.prototype.Pa=function(){return"goog-menuheader"};function jv(a,b,c){kr.call(this,a,c||iv.Hb(),b);this.Tb(1,!1);this.Tb(2,!1);this.Tb(4,!1);this.Tb(32,!1);this.je=1}u(jv,kr);hr("goog-menuheader",function(){return new jv(null)});function kv(){}u(kv,Tq);Ra(kv);kv.prototype.Jc=function(a){return a.g.Ma("DIV",this.Pa())};kv.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};kv.prototype.dg=function(){};kv.prototype.Pa=function(){return"goog-menuseparator"};function lv(a,b){kr.call(this,null,a||kv.Hb(),b);this.Tb(1,!1);this.Tb(2,!1);this.Tb(4,!1);this.Tb(32,!1);this.je=1}u(lv,kr);lv.prototype.Ia=function(){lv.na.Ia.call(this);var a=this.V();Pj(a,"separator")};hr("goog-menuseparator",function(){return new lv});function mv(a){this.g=a||"menu"}u(mv,qt);Ra(mv);f=mv.prototype;f.Lj=function(a){return a.tagName=="UL"||mv.na.Lj.call(this,a)};f.nh=function(a){return a.tagName=="HR"?new lv:mv.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){mv.na.Mj.call(this,a);a=a.V();X(a,"haspopup","true")};function nv(a){lv.call(this,kv.Hb(),a)}u(nv,lv);hr("goog-menuseparator",function(){return new lv});function ov(a,b){vt.call(this,"vertical",b||mv.Hb(),a);Et(this,!1)}u(ov,vt);f=ov.prototype;f.hk=!0;f.Rd=function(a){if(this.nd().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 pv(a,b){(a.hk=b)&&Et(a,!0)}f.wa=function(a,b,c){(b=ov.na.wa.call(this,a,b))&&a&&this.Ra&&this.hk&&wt(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&&wt(this).focus();return ov.na.Pk.call(this,a)};f.zn=function(a){return a.isEnabled()&&a.isVisible()&&ar(a,2)}; f.Kb=function(a){for(var b=this.nd(),c=Ye(this.g.g,"DIV",b.fg()+"-content",a),d=c.length,e=0;e<d;e++)ut(b,this,c[e]);ov.na.Kb.call(this,a)};f.Xd=function(a){var b=ov.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){ov.na.Od.call(this,a);(a=Gk(this,a))&&Rg(a.V(),this.V())};function qv(a,b){ov.call(this,a,b);pv(this,!0);this.wa(!1,!0);this.i=new Al}u(qv,ov);f=qv.prototype;f.Ql=!1;f.Bo=0;f.Kb=function(a){qv.na.Kb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.attach(this.g.V(a),1)};f.Ia=function(){qv.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=Wa(a);g=!g.has(h)}g&&(a?(b={ua:a,zp:b,wu:c,Nn:d?"contextmenu":"mousedown",ll:e},this.i.set(Wa(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 rv(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){sv(this,a)}; f.Qu=function(a){a.keyCode!=32&&a.keyCode!=13&&a.keyCode!=40||sv(this,a);a.keyCode==40&&At(this)};function sv(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 Qr(e.ua,e.zp,!0):new Np(b.clientX,b.clientY);c.l&&c.l(5);rv(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){qv.na.ni.call(this,a);this.ab()}; f.qa=function(){qv.na.qa.call(this);this.i&&(this.i.clear(),delete this.i)};function tv(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?Zu(this,!0):(this.ka=C("DIV"),this.ya=new ju(this.ka),this.ya.render(uv),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?vv(this):(O(this.s,"search-bar-result-links"),this.ka.appendChild(this.s), wv(this));this.O=this.o?A("search-snippet-links"):C("SPAN");this.o?xv(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"]),xv(this)):(this.Ea=C("SPAN"),this.Ga=C("SPAN"),yv(this)),O(this.O,"search-bar-snippet-links"));this.o||(zv(this),dh(this.ka,!0))}n(tv,W);function Av(){uv=A("search_bar")}function Bv(){Cv=A("toolbar_container")} function Xu(a){if(a.U)Dv(a,!0);else{var b=a.i.j=="n";N(a.Ea,b);N(a.Ga,!b)}a.o?(Zu(a,!0),x(a.l,y(a.i.o.tb.length+" results")),a.l.removeAttribute("aria-label")):x(a.l,y("Showing <b>"+(a.i.o.tb.length+"</b> results in this book for <b>")+(oq(a.i.o)+"</b>")));Yu(a,!0)} function vv(a){$m()||(Ev(a,A("search-result-prev"),function(){Fv(a,a.j,-1)},"Previous result"),Ev(a,A("search-result-next"),function(){Fv(a,a.j,1)},"Next result"));Ev(a,A("search-result-viewall"),function(){Wu(a.i)},"View all");Ev(a,A("search-close"),function(){a.Fa()},"Close search")} function wv(a){var b=C("SPAN");x(b,y("-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.s.appendChild(b);Gv(a,a.s,"\u2039 Previous",function(){Fv(a,a.j,-1)},"Previous");b=C("SPAN");x(b,y("&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.s.appendChild(b);Gv(a,a.s,"Next \u203a",function(){Fv(a,a.j,1)},"Next");b=C("SPAN");x(b,y("&nbsp;&nbsp;-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.s.appendChild(b);Gv(a,a.s,"View all",function(){Wu(a.i)})} function yv(a){a.ka.appendChild(a.O);var b=C("SPAN");x(b,y("-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.O.appendChild(b);a.O.appendChild(lf("Order by: "));a.O.appendChild(a.Ea);Gv(a,a.Ea,"relevance",function(){Hv(a,"r")},"Order by relevance");b=C("SPAN");x(b,y("&nbsp;|&nbsp;<b>pages</b>"));a.Ea.appendChild(b);a.O.appendChild(a.Ga);b=C("SPAN");x(b,y("<b>relevance</b>&nbsp;|&nbsp;"));a.Ga.appendChild(b);Gv(a,a.Ga,"pages",function(){Hv(a,"n")},"Order by pages")} function xv(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 qv;var d=new gv("relevance");d.Lh("Order by relevance");b.Xa(d,!0);O(d.V(),"search-bar-sort-dropdown-item");var e=new gv("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){Iv(a,g,d.V(),e.V())});a.g.ha(b,"keydown",function(g){g.keyCode!=32&&g.keyCode!= 13||Iv(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 zv(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=Gv(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 Yu(a,b){N(Cv,!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);Jv!=null&&Jv.resize()}function Kv(a){a.U?Dv(a,!1):N(a.O,!1);a.ta&&N(a.O,!0);N(a.s,!1);of(a.l)}function Su(a){Kv(a);x(a.l,y("Loading..."));a.o&&a.l.removeAttribute("aria-label")} function Uu(a){Kv(a);var b=a.i.o,c=pq(b),d=null;c&&!a.o&&(d=C("SPAN"),x(d,y("Did you mean: ")),Gv(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,y("No results")):x(e,y(Wb("No results found in this book for "+oq(b))));b=C("A");a.o||(x(b,y("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"); av(g);T(g,"output")=="embed"&&Xh(g,"output");S(g,"q",ad(oq(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",y("&nbsp;&nbsp;&middot;&nbsp;&nbsp;")),a.l.appendChild(d))):(d&&(a.l.appendChild(d),a.l.appendChild(C("BR"))),Pc(e,"beforeend",y("&nbsp;&nbsp;-&nbsp;&nbsp;")),a.l.appendChild(e),Pc(b,"beforeend",y(" &raquo;")),a.l.appendChild(b));Jv!=null&&Jv.resize()} function Lv(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];Vu(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()),Vu(a.i,c[d])):Lv(a,b,c,d,e)}}tv.prototype.qa=function(){W.prototype.qa.call(this);Kf(this.ya);N(Cv,!0);E(this.ka);Jv!=null&&Jv.resize();this.o&&(Zu(this,!1),E($e("sort-dropdown-menu")),of(this.l))}; function Gv(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 Ev(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()})}tv.prototype.Fa=function(){var a=this.i;nm(a.i.N.Va(),"");$m()&&xu(a.l,!1);(a=this.i.i)&&a.o&&a.o.update()}; function Fv(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&&(Vu(a.i,a.i.o.tb[a.j])||Fv(a,b,c))}function Hv(a,b){(a=a.i.i)&&a.update(b)} function Iv(a,b,c,d){if((b=b.target.vc())&&a.ma){var e=a.U;switch(b){case "pages":Hv(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":Hv(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 Dv(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 Zu(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 uv,Cv,Jv;function Mv(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(Mv,W); Mv.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 tv(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 Qu(this),this.j.i=this.i,d=!pm(),Tu(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?Vu(a.i,d,"", e):c?Vu(a.i,d,c):Vu(a.i,d));c=a.j;d=A("search-result-prev");Lv(a,d,b,c,-1);Tj(d,"Previous result");d.setAttribute("title","Previous result");d=A("search-result-next");Lv(a,d,b,c,1);Tj(d,"Next result");d.setAttribute("title","Next result")}}else d?(this.i=new Qu(this),this.j.i=this.i,Ru(this.i,d,a),this.s.qc(d)):(this.i&&(this.i.dispose(),this.i=null),this.N.Da()instanceof hs&&(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 Nv(a,b){var c=this;this.N=a;b&&(this.g=b);this.l=new Oq(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)});Ov(this,33,function(){Pv(c,-1)},!1,!0);Ov(this,34,function(){Pv(c,1)},!1,!0);Ov(this,38,function(){Qv(c,0,-20)},!1,!0);Ov(this,40,function(){Qv(c,0,20)},!1,!0);this.g||(Ov(this,37,function(){c.N.O==Ar&&c.N.Da().Bb().getSize().width>c.N.qb()?Qv(c,-20,0):c.N.mb("previous")},!1,!0),Ov(this,39,function(){c.N.O==Ar&& c.N.Da().Bb().getSize().width>c.N.qb()?Qv(c,20,0):c.N.mb("next")},!1,!0),Ov(this,32,function(d){d.shiftKey?Pv(c,-1):Pv(c,1)},!0,!0),Ov(this,74,function(){c.N.mb("next")},!0),Ov(this,75,function(){c.N.mb("previous")},!0),Rv(this,"+",function(){c.N.mb("zoomin")}),Rv(this,"-",function(){c.N.mb("zoomout")}),Rv(this,"=",function(){c.N.mb("zoomin")}));Rv(this,"?",function(){c.N.mb("showkeyboardshortcuts")})}function Rv(a,b,c){a.i[b]=t(Sv,c,!0,void 0)}function Ov(a,b,c,d,e){a.j[b]=t(Sv,c,d,e)} function Sv(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||Tv[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a(d))}function Pv(a,b){var c=a.g?a.g.clientHeight:a.N.Da().getSize().height;Qv(a,0,Math.floor(b*c*.75))}function Qv(a,b,c){a.g?a.g.scrollTop+=c:(a=a.N.Da(),mp(a,new w(b,c),r(a.Ad,a)))}var Tv={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};function Uv(a){this.rd=mo(a)}n(Uv,wo);var Vv=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Sa(b)+": "+b);Vn(b,34);return new a(b)}}(Uv);var Wv;function Xv(){var a=Wv||(Wv=Vv('[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=po(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 Yv(a){this.url=a;this.timeout=5E3;this.l="callback";this.g=this.i=null}function Zv(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);$v(a).then(function(){aw(a,c.toString())}).then(function(){return a.g.promise}).then(function(){bw(a)},function(){bw(a)});a.timeout>0&&(a.j=setTimeout(function(){a.g.reject("Timeout!")},a.timeout));return a.g.promise} function aw(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 $v(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=Xv();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 bw(a){a.i!==null&&(document.documentElement.removeChild(a.i),a.i=null)};function cw(a){pp.call(this,a);this.i=new Yv(a);this.g=!0}n(cw,pp);cw.prototype.Qd=function(a,b){pp.prototype.Qd.call(this,a,b);this.g=!1;Zv(this.i).then(r(this.o,this,a),r(this.l,this,b))};cw.prototype.o=function(a,b){this.g||(this.j=b,this.dispatchEvent("success"),a&&a(this.j),this.g=!0)};cw.prototype.l=function(a){this.g||(this.dispatchEvent("error"),a&&a(),this.g=!0)};cw.prototype.abort=function(){return this.g=!0};function dw(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 cw(b)).Qd(r(this.l,this))}dw.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 ew=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]"),fw=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]"),gw=/^http:\/\/.*/,hw=/\s+/,iw=/[\d\u06f0-\u06f9]/;var jw={},kw={};function lw(){throw Error("Do not instantiate directly");}lw.prototype.Cn=null;lw.prototype.vc=function(){return this.content};lw.prototype.toString=function(){return this.content};lw.prototype.Cp=function(){if(this.Bf!==jw)throw Error("Sanitized content was not of kind HTML.");return Fc(this.toString())};function mw(){lw.call(this)}u(mw,lw);mw.prototype.Bf=jw;function nw(a){if(a!=null)switch(a.Cn){case 1:return 1;case -1:return-1;case 0:return 0}return null}function ow(a){return a!=null&&a.Bf===jw?a:a instanceof Ec?pw(Hc(a).toString()):pw(String(String(a)).replace(qw,rw),nw(a))}var pw=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}}(mw);function sw(a){return a instanceof lw?!!a.vc():!!a}function tw(a){return uw(String(a),function(){return""}).replace(vw,"&lt;")} var ww=RegExp.prototype.hasOwnProperty("sticky"),xw=new RegExp((ww?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",ww?"gy":"g"); function uw(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,ww?(xw.lastIndex=l,m=xw.exec(a)):(xw.lastIndex=0,m=xw.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 q=a.indexOf(m,l);q<0?l=d:(g.push(m,a.substring(l,q+1)),l=q+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 yw(a){return a!=null&&a.Bf===jw?String(tw(a.vc())).replace(zw,rw):String(a).replace(qw,rw)} var Aw={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"};function rw(a){return Aw[a]} var qw=/[\x00\x22\x26\x27\x3c\x3e]/g,zw=/[\x00\x22\x27\x3c\x3e]/g,Bw=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,vw=/</g;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function Cw(a,b,c,d){a=a(b||Dw,c);d=d||Se();if(a&&a.g)d=a.g();else{d=Jf(d,"DIV");b:if(Va(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 Dw={};function Ew(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=pw;e='<div role="button"'+(sw(e)?' id="'+yw(e)+'"':"")+' class="';var q=a||{};a=q.kw;var z=q.disabled,D=q.checked,I=q.style;q=q.width;var F="goog-inline-block jfk-button ";switch(Va(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+=((q&&q.lu&&(1).lu?q.Bf!==(1).Bf?0:q.toString()===(1).toString():q==1)?" jfk-button-narrow":"")+(sw(D)?" jfk-button-checked":"")+(sw(a)?" "+a:"")+(sw(z)?" jfk-button-disabled":"");d=e+yw(F)+'"'+(sw(d)?' aria-disabled="true"':' tabindex="'+(sw(g)?yw(g):"0")+'"')+(sw(h)?sw(k)?' data-tooltip="'+yw(h)+'"':' title="'+yw(h)+'"':"")+(sw(l)?' value="'+yw(l)+'"':"");sw(b)?(b!=null&&b.Bf===kw?b=b.vc():(b=String(b), b=Bw.test(b)?b:"zSoyz"),b!=null&&b.Bf===kw&&(b=b.vc()),b=(b&&!b.startsWith(" ")?" ":"")+b):b="";return m(d+b+">"+ow(c!=null?c:"")+"</div>")};function Fw(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(Fw,Bp);f=Fw.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);Gw(this,this.qk,a,this.kk==2?Hw(this.qk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.vn,0,c)}; function Gw(a,b,c,d,e,g){if(a.i){var h=Iw(b,c);var k=a.i;var l=a.g,m=a.Ba,q=M(k);a:{q=(Hw(b)?q.height/2:q.width/2)-d;var z=Ep(k,h);if(m)m=m.clone(),l&&(l=Dp(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=Pg(k),!m){k=q;break a}k=zg(Zg(k));Hw(b)?k.top<m.top&&!(z&1)?q-=m.top-k.top:k.bottom>m.bottom&&z&1&&(q-=k.bottom-m.bottom):k.left<m.left&&!(z&4)?q-=m.left-k.left:k.right>m.right&&z&4&&(q-=k.right-m.right);k=q}k=Hw(b)?new w(a.tl,k):new w(k,a.tl);q=Hw(b)?6:9;a.ik&&e==2&&(q=Hw(b)?4:1); z=b^3;Hw(b)&&a.i.dir=="rtl"&&(z=b);h=Cp(a.i,Iw(z,c),a.g,h,k,g,a.Xk?q:0,void 0,a.Ba);if(e!=2&&h&496){Gw(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)))}Jw(a,b,c,d)} function Jw(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=Kw(a.i,b),Hw(b)?e.style.top=Lw(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Lw(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[c==0?Hw(b)?"top":"left":Hw(b)?"bottom":"right"]=d+"px"}function Lw(a,b){return 15>b?15:Fb(a,15,b)}function Iw(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 Kw(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 Hw(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 Mw(a){Lf.call(this);this.i=a||Se()}n(Mw,Lf);Mw.prototype.o=function(){Pj(this.V(),"tooltip");X(this.V(),"live","polite")};function Nw(a){Mw.call(this,a);this.g=this.i.Ma("DIV",Ow()+"-contentId");this.j=this.i.Ma("DIV",Ow()+"-arrow",this.i.Ma("DIV",Ow()+"-arrowimplbefore"),this.i.Ma("DIV",Ow()+"-arrowimplafter"));this.l=this.i.Ma("DIV",{"class":Ow(),role:"tooltip"},this.g,this.j);this.o()}n(Nw,Mw);function Ow(){return"jfk-tooltip"}Nw.prototype.V=function(){return this.l};Nw.prototype.qa=function(){Mw.prototype.qa.call(this);this.l&&E(this.l)};function Pw(a){Nw.call(this,a)}n(Pw,Nw);Pw.prototype.o=function(){Pj(this.V(),"tooltip")};function Qw(a){return ad(Wb(a.replace(Rw,function(b,c){return Sw.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Sw=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Rw=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Tw(a){a=a||Se();var b=Wa(a.g);Uw[b]||(Uw[b]=new Vw(a))}function Ww(a,b){var c=b instanceof Ec?Qw(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"));Tw(Se(a))}var Uw={}; function Vw(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(Vw,og);f=Vw.prototype;f.qa=function(){Xw(this);og.prototype.qa.call(this)}; function Yw(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();Yw(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;Zw(this)}; f.ms=function(a){Yw(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,Zw(this)};f.Rs=function(a){v(a,r(function(b){var c=Rj(b.target);c&&b.attributeName=="aria-activedescendant"&&(this.l=c,Zw(this))},this))};function Zw(a){if(!(a.oa.isActive()&&a.i&&a.O)){Xw(a);var b=a.O!=null?a.O:50;a.oa.start(a.i?b:300)}}function Xw(a){a.ka&&(nj(a.ka),a.ka=0,a.i=null)} f.Dv=function(){if(!this.l)$w(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&&($w(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 ax(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 Pw(this.ta);$w(this);g=this.ta.g.body;var h=this.g.V();g.appendChild(h);Mf(this,this.g);this.o=new Fw(Ow(),!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(ax(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 $w(a){a.g&&O(a.g.V(),"jfk-tooltip-hide")};function bx(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 cx(a,b,c,d){ur.call(this,a,dx.Hb(),b);this.oa=c||0;this.ob=d||0;this.Ga=!1}u(cx,ur);f=cx.prototype;f.qb=function(){return this.ob};f.nf=function(a){this.U=a;var b=this.V();b&&(this.Ga?Ww(b,a):a?b.title=a:b.removeAttribute("title"))};f.nb=function(a){this.isEnabled()!=a&&(cx.na.nb.call(this,a),ex(this))};f.focus=function(){var a=this.ua;try{a.focus()}catch(b){}};f.nj=function(a){cx.na.nj.call(this,a);fx(this,!1)}; f.vf=function(a){cx.na.vf.call(this,a);this.isEnabled()&&fx(this,!0)};f.ze=function(a){cx.na.ze.call(this,a);this.isEnabled()&&fx(this,!0)};function fx(a,b){a.V()&&P(a.V(),"jfk-button-clear-outline",b)}function ex(a){a.V()&&gx(a.nd(),a)}function hx(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 dx(){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(dx,dr);dx.Hb=function(){return bx(dx)};dx.prototype.g=function(a,b,c){a&&c.oa!=a&&(c.oa=a,ex(c));b&&c.ob!=b&&(c.ob=b,ex(c))};dx.prototype.Pa=function(){return"jfk-button"}; dx.prototype.Jc=function(a){var b=a.g,c=Cw(Ew,{disabled:!a.isEnabled(),checked:br(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}; dx.prototype.Ob=function(a,b){dx.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];dx.prototype.ub=function(a){return a.getAttribute("value")||""}; dx.prototype.qc=function(a,b){a&&Qc(a,b)};function gx(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 ix(a,b,c){Au.call(this,a,b,c)}u(ix,Au);f=ix.prototype;f.Ai=!1;f.Vh=!1;f.ci=function(){ix.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;ix.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 ix.na.Si.call(this,a)};function jx(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||jx(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);jx(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 Du(this)==3&&this.lg();ix.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:ix.na.Nk.call(this)};function kx(a,b){a=new ix(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 lx(a,b){this.wb=a||200;this.ob=b||108;W.call(this)}u(lx,W);lx.prototype.Ab=function(){return this.wb};lx.prototype.qb=function(){return this.ob};function mx(a){Au.call(this,a,void 0,void 0);this.Mn=!1;this.Ai=!0;this.Hg=500}n(mx,ix);mx.prototype.uj=function(a,b){b||(b=new Qr(a,9,!0));ix.prototype.uj.call(this,a,b)};mx.prototype.className="unified-hovercard";function nx(a,b,c){Lf.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(nx,Lf);nx.prototype.qa=function(){this.i&&this.i.dispose()};function ox(a){return a.i||(a.i=new og(a))} nx.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);px(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 px(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 q=l?l.replace(qx,""):"";q=Vc(q);l=new R(Uc('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',q));av(l);q=B("A",{},q);Dc(q,l.toString());g.appendChild(q);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 rx(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",ox(a).ef(c,e,function(k){k.preventDefault();k=B("FORM",{method:"POST"});var l=Cc(d);l!==void 0&&(k.action=l);J(k,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",visibility:"hidden"});b.appendChild(k);k.submit()},!1));b.appendChild(c)} var qx=/(<b\s*>)|(<\/b>)/ig,sx={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function tx(){this.va={}}f=tx.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 ux(){this.g=[]}f=ux.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 vx(a,b,c){wx(a,b)||a.U==null||!a.j?c&&c(null):xx(b,a.U.clone(),r(a.fs,a,b,c||function(){}))}function yx(a,b,c){wx(a,b)&&a.ka!=null&&a.ma?xx(b,a.ka.clone(),r(a.us,a,b,c||function(){})):c&&c(null)}function xx(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 tx,d.va.Sl=a,this.g.push(d));b(d)}; f.us=function(a,b,c){var d=null;ni(c.target)&&(d=wx(this,a),zx(this,d));b(d)};function zx(a,b){ub(a.g,function(c){return c.Sb()==b.Sb()})}function wx(a,b){return ob(a.g,function(c){return c&&c.Sb()==b})};function Ax(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(Ax,tx);function Bx(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 Ax(b)}))}n(Bx,ux);function Cx(){W.call(this);this.j=[];this.i=[]}u(Cx,W);function Dx(a){var b=new R(gf().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function Ex(a,b,c){Fx(a,b.getId())||(a=b.O?a.j:a.i,c?yb(a,void 0,0,b):a.push(b))}function Gx(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)} Cx.prototype.s=function(a){a=a.target;if(ni(a)){a=new Bx(qi(a));var b=Fx(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)}};Cx.prototype.o=function(a,b){b=b.target;ni(b)&&(b=new Bx(qi(b)),Ex(this,b,a),a=new Of("add",this),a.shelf=b,this.dispatchEvent(a))};function Hx(a,b){a.l=new R(b);S(a.l,"jscmd","ClCreate")}function Fx(a,b){return ob(Ix(a),function(c){return c.getId()==b})}function Ix(a){return Db(a.j,a.i)};function Jx(a,b){var c=B("A",{},"View order");Dc(c,a);c.classList.add(b);return c};function Kx(a,b,c){nx.call(this,a,b,c);T(new R(this.data.va.Ag),"dapp")}n(Kx,nx); Kx.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()&&Dx(1))Lx(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()&&Dx(1)&&Lx(this,e)}else if(this.data.Nd()&&Dx(1))Mx(this,e),Lx(this, e);else{Mx(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,q=[];(m=Fh(h,l,"source",k))>=0;)q.push(h.substring(l,m)),l=Math.min(h.indexOf("&",m)+1||k,k);q.push(h.slice(l));h=q.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,"")}; Kx.prototype.j=function(a){if(!(this.data.Nd()||this.data.Kf()||this.data.Dh())&&this.data.va.Aj&&Dx(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=Jx(this.data.va.Aj,"primary"),d=B("SPAN");d.innerText="&nbsp;";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}nx.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? Nx(this,b):rx(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()&&Dx(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?Ox(this,b):this.data.Nd()&&Nx(this,b):Ox(this,b);Dx(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 sx)if(sx[e]==this.data.va.Jp){e=!0;break a}e=!1}e&&!Vb(c)?rx(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):rx(this,b,"Preview", c,!1,!0,"unified-hovercard-preview-sample")}a.appendChild(b)};function Lx(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=Jx(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 Ox(a,b){a.data.va.Mf&&!a.data.Nd()?rx(a,b,"Pre-order eBook - "+a.data.va.ip,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Zk()?rx(a,b,"EBOOK FROM "+a.data.va.Au,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn"):rx(a,b,"Buy eBook - "+a.data.va.ip,a.data.va.sk,void 0,void 0,"unified-hovercard-buy-btn")}function Nx(a,b){rx(a,b,"Read now",a.data.va.Yo,void 0,void 0,"unified-hovercard-read-now")} function Mx(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"),q=B("SPAN","goog-inline-block"),z=B("SPAN","goog-inline-block"),D=B("SPAN","goog-inline-block");a.data.va.Pi?(O(m,e),O(q,e),O(z,e),O(D,e)):(a.data.va.Qi?(O(m,e),O(q,e)):(O(m,g),O(q,g)),O(z,g),O(D,g));c.appendChild(m);c.appendChild(h); c.appendChild(q);c.appendChild(k);c.appendChild(z);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function Px(a,b,c){mx.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);Qx(this)}n(Px,mx);Px.prototype.qa=function(){ox(this.i).dispose();E(this.V())};Px.prototype.Fh=function(a,b){mx.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,Rx(this))}; Px.prototype.render=function(a){this.i&&(this.i.dispose(),this.j=this.ya=null);this.i=new Kx(a,this.className,435,this.Jb);this.i.render(this.V());Qx(this);this.isVisible()&&Rx(this)}; function Rx(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";J(c,g,e.x+"px");J(b,g,e.x-1+"px");O(a.V(),a.className+"-tooltip");e.nu?(J(c,"bottom",e.y+"px"),J(b,"bottom", e.y+1+"px"),O(c,a.className+"-arrow-up"),O(b,a.className+"-arrow-up-border")):(J(c,"top",e.y+"px"),J(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} Px.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 Qx(a){var b=Xj||Yj?"touchstart":"click";rg(ox(a.i),a.V(),b,a.Zb,a)};function Sx(a,b,c){lx.call(this,b);this.i=a;this.j=null;this.o=!1;if(c==(1).toString()||c==(7).toString())this.o=!0}u(Sx,lx);var Tx=new Q; Sx.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));Tx.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-ab()/1E3,a=Math.round(a/3600),c=Math.round(a/24),a=a<=1?"Expiring soon":a<=48?a+" hours":c+" days"):a="",this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.l)):!this.o||this.i.Nd()||this.i.va.Ti||(this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.l));dg(b,"mouseover",this.ma.bind(this,b))};Sx.prototype.ka=function(){this.dispatchEvent("render");Tx.dispatchEvent("complete");this.l&&Yg(this.l,M(this.j).width)};Sx.prototype.ma=function(a,b){(new Px(a,this.i)).ye(b)};function Ux(a,b,c){Sx.call(this,a,b-40,c);this.s=B("DIV","slider-annotation");this.O=!1}n(Ux,Sx);Ux.prototype.Kc=function(a){dg(this,"render",r(this.oa,this));Sx.prototype.Kc.call(this,a);a.appendChild(this.s)};Ux.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 Vx(a,b,c){Ux.call(this,a,b,c)}n(Vx,Ux);Vx.prototype.Kc=function(a){Ux.prototype.Kc.call(this,a)};Vx.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 Wx(){this.g=Xx;this.Kg=5E3}var Yx=0;Wx.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||"_"+(Yx++).toString(36)+Date.now().toString(36);e="_callbacks___"+d;b&&(p[e]=Zx(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,$x(d,a,c));return{rb:d,En:b}}; Wx.prototype.cancel=function(a){a&&(a.En&&a.En.cancel(),a.rb&&ay(a.rb,!1))};function $x(a,b,c){return function(){ay(a,!1);c&&c(b)}}function Zx(a,b){return function(c){ay(a,!0);b.apply(void 0,arguments)}}function ay(a,b){a="_callbacks___"+a;if(p[a])if(b)try{delete p[a]}catch(c){p[a]=void 0}else p[a]=ui};function by(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(by,Q);f=by.prototype;f.Nj=!0;f.jk=!1;f.nd=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[cy(this,a)];c=!!d&&b.al&&b.al(d);d&&!c&&this.l!=a&&this.Ae(a)}c||this.Of();break;case "canceldismiss":dy(this);break;case "dismiss":ey(this)}};f.ad=function(){return this.j.isVisible()}; function fy(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=cy(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=cy(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=gy(c,c.ub(),hy(c.Pb)[0]),g=iy(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;jy(g)&&(g.selectionStart=e);g=c.Pb;jy(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 ey(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 dy(a){a.xo()||window.setTimeout(r(a.xo,a),10)} f.qa=function(){by.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=Sa(b)=="object"&&b;b=(c?c.i():b)?cy(this,this.l):-1;this.g+=this.i.length;this.i=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.g+e,data:a[e]});a=null;this.O&&(a=this.ta[Wa(this.O)]||this.O);this.j.mj(a);this.j.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):fy(this));this.dispatchEvent("suggestionsupdate")};function cy(a,b){b-=a.g;return b<0||b>=a.i.length?-1:b}f.update=function(a){this.ma.update(a)};function hy(a){var b=0,c=0;jy(a)&&(b=a.selectionStart,c=-1);return[b,c]}function jy(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};function ky(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 Oq;this.U=-1}u(ky,Lf);f=ky.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 ly(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&&my(a,b))}f.Bq=function(a){for(var b=0;b<arguments.length;b++)ly(this,arguments[b])};f.qa=function(){ky.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.ad())return fy(this.g),a.preventDefault(),!0;if(!this.j)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.g.ad()){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.ad()||a.shiftKey)this.g.re();else if(this.update(),this.g.Of()&&this.ta)return a.preventDefault(),!0;break;case 13:if(this.g.ad()){if(this.update(),this.g.Of())return a.preventDefault(), a.stopPropagation(),!0}else this.g.re();break;case 27:if(this.g.ad())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){my(this,a.target||null)}; function my(a,b){tg(a.s);a.g&&dy(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),Sq(this.l),this.i.Sa(this.Pb,"keyup",this.rt),this.i.Sa(this.Pb,"mousedown",this.No),this.rf&&ny(this),this.Pb=null,this.Qa&&(this.Qa.stop(),this.i.Sa(this.Qa,"tick",this.um)),this.g&&ey(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&&ny(this)};f.Mo=function(a){this.rf&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&ny(this)};f.No=function(){};function ny(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=hy(this.Pb)[0];var b=this.ub();a=iy(this,b)[gy(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)),dy(b)))}this.il=this.ub()}this.Bl=!1};function gy(a,b,c){a=iy(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 iy(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 oy(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(oy,Q);f=oy.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=ab();this.j=c;this.o=[];py(this)};f.re=function(){this.s&&(this.s=!1,qy(this,!1),N(this.ua,!1))}; f.show=function(){this.s||(this.s=!0,qy(this,!0),N(this.ua,!0))};function qy(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 ry(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)ry(this,-1);else for(var b=0;b<this.i.length;b++)if(this.i[b].id==a){ry(this,b);break}}; function sy(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 py(a){sy(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,ty(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;Cp(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;oy.na.qa.call(this)}; function ty(a,b,c){if(!a.ya)if(b.nodeType==3){var d=null;Array.isArray(c)&&c.length>1&&(d=c.slice(1));c=uy(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&&ty(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,ty(a,b,c),b=d}function uy(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 vy(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=vy(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=vy(this,a.target);a>=0&&!(ab()-this.ta<300)&&this.dispatchEvent({type:"hilite",mf:this.i[a].id})};var wy=ta(["//suggestqueries.google.com/complete/search"]);function xy(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 yy;c=new zy(this.Fa||a,this.ya);c.oa=!0;d=new ky(null,null,!1);by.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(xy,by);xy.prototype.Of=function(){this.Ga=this.oa.value;xy.na.Of.call(this);return!1}; xy.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 yy(){}var Xx=Je(wy);yy.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 Wx;this.i.send(a,c)};yy.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)};function zy(a,b){oy.call(this);this.Ea=a;this.Ga=b||0} u(zy,oy);zy.prototype.Oj=function(){zy.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&&J(c,"top",a+"px");J(c,"width",M(this.Ea).width-2+"px");J(c,"left",parseInt(c.style.left,10)+this.Ga+"px")},this)};function Ay(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&&By(this,c)}u(Ay,W);function Cy(a){var b=Math.ceil(Dy(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=Ay.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 By(a,b){b=b.map(function(c){return this.s?new Vx(c,this.wb):new Sx(c,this.wb,this.oa)},a);Ey(a,b)}function Ey(a,b){xb(a.U,b);Cy(a)} f.rl=function(a){(oj()?a<0:a>0)&&Cy(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 Dy(a){var b=a.s?110:50;return Math.ceil(M(a.i).width/b)};function Fy(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(Fy,W);f=Fy.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 Ay(this.o,!0,void 0,void 0,this.metadata.getId())}; f.hh=function(){this.i.resize();var a=Math.ceil(Dy(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 Bx(qi(a))).g)&&a.length){var b=Lm(a[a.length-1].va.Ag);this.U!=b&&(this.U=b,Ey(this.i,Gy(this,a)));(a=Gf(this.V()))&&$g(a,1)}else this.i.ka==0&&this.cp();this.dispatchEvent("success")}}; function Gy(a,b){return a.yk(b).map(function(c){return this.i.s?new Vx(c,200,this.metadata.getId()):new Sx(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 Hy(a,b,c){gv.call(this,a,b,c);this.Mh(!0)}u(Hy,gv);hr("goog-checkbox-menuitem",function(){return new Hy(null)});function Iy(a){Hy.call(this,ad(a.Za()),a.getId());this.i=a}n(Iy,Hy);Iy.prototype.Kb=function(a){Hy.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 Jy(a,b,c){c=c===void 0?!1:c;qv.call(this);this.j=a;this.o=b;this.U=c}n(Jy,qv);f=Jy.prototype;f.Oa=function(){qv.prototype.Oa.call(this);Ix(this.o).forEach(this.Zr,this)};f.Ia=function(){qv.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();br(b,16)?vx(c,d):yx(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=!!wx(a,this.j.Sb());b&&(c||d)&&(b=new Iy(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 Ky(a){var b=[];Ek(a,function(c){c instanceof Iy&&br(c,16)&&b.push(c.i)});return b};function Ly(a,b,c){cx.call(this,null,null,c?5:0);this.i=new Jy(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(Ly,cx);f=Ly.prototype;f.Oa=function(){cx.prototype.Oa.call(this);O(this.V(),"add-to-library")}; function My(a){a.i.Ra||a.i.render();var b=Ky(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=hx(a.o,c));nr(a,c)}f.Nb=function(a){this.tk();cx.prototype.Nb.call(this,a);this.i.Ra||this.i.render();if(a){a=this.i;var b=this.V();rv(a,new hv(b,8,!0),void 0,null)}else this.i.ab()}; f.Ia=function(){cx.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);My(this)};f.vt=function(){My(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 Ny(a){Cx.call(this);a!=null&&a.bookshelf&&v(a.bookshelf,function(b){Ex(this,new Bx(b))},this)}n(Ny,Cx);function Oy(a,b,c){var d=new R("/books");av(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(Py,a,c))}function Qy(a,b){var c=new Ny(b);a&&a.forEach(function(d){Ry(d.Sb(),d.La,c)});return c}function Ry(a,b,c){b.forEach(function(d){var e=new tx;e.va.Sl=a;(d=Fx(c,String(d)))&&d.g.push(e)})}function Py(a,b,c){a(Qy(b,c))};function Sy(a){return a.split(Ty).filter(function(b){return b.length>0})} var Uy=/\s/,Vy=/[ -]/,Ty=/[+,;]/,Wy=/-?"[^"]+"|[^\s"]+/g,Xy=RegExp('["\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02]',"g"),Yy=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,]"),Zy=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 $y(a){return Gd?a.toLowerCase():a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC")};function az(a){var b={};bz(a).forEach(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e);g=Yy.test(g)?"-":g;d[g]||(d[g]={});d=d[g]}d!=b&&(d.$=cz)});return b} function bz(a){a=Vc($y(a));var b=a.match(Xy);b&&(a=a.replace(Xy,'"'),b.length&1&&(a+='"'));b=a.match(Wy);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(Zy,""));else if(!c.startsWith("-")){c=Sy(c.replace(Zy,""));c=qa(c);for(var d=c.next();!d.done;d=c.next())a.add(d.value)}a.delete("");return Array.from(a)}var cz={};function dz(a){var b=!0;b=b===void 0?!1:b;this.g=typeof a==="string"?az(a):a;this.j=b;this.i=[]} function ez(a,b,c,d){for(var e=gb(d),g=a.i,h=g.length-1,k;k=g[h];h--){var l=k;var m=b;var q=c,z=!1;if(l.g)if(z=!!l.g.$,Vy.test(m)){if(l.g=l.g[" "]||l.g["-"],l.g)for(;m=l.g[" "]||l.g["-"];)l.g=m}else l.endOffset=q+1,l.fh=void 0,l.g=l.g[m]||null;l.i=!l.g;if(z){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=gb(d)}d.push(l);e=l}k.i&&tb(g,h)}}function fz(a,b){this.startOffset=a;this.Ig=void 0;this.endOffset=a;this.fh=void 0;this.i=!1;this.g=b};function gz(a,b){var c=void 0;c=c===void 0?Infinity:c;b=new dz(b);c=c===void 0?Infinity:c;var d=d===void 0?[]:d;var e=" ",g,h=$y(a);for(g=0;g<h.length&&d.length<c;g++){var k=h.charAt(g);a=Vy.test(e);if(Uy.test(k)){if(k=" ",a)continue}else if(Yy.test(k)){if(k="-",a)continue}else a&&b.g[k]&&b.i.push(new fz(g,b.g));ez(b,k,g,d);e=k}Vy.test(e)||ez(b," ",g,d);d.length>=c&&(d.length=c);return d};function hz(a){var b=az(a);a=iz();Array.prototype.forEach.call(a,function(c){jz(b,c)})}function iz(){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 jz(a,b){var c=Ff(b);a=gz(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 kz(){gv.call(this,"Turn off highlighting");var a=Hh("dq")||Hh("q");a&&hz(a);this.Lb=!0}n(kz,gv);kz.prototype.Ia=function(){gv.prototype.Ia.call(this);Z(this).ha(this,"action",this.i)};kz.prototype.i=function(){this.Lb=!this.Lb;P(window.document.body,"patent-highlight-disabled",!this.Lb);nr(this,this.Lb?"Turn off highlighting":"Turn on highlighting")};function lz(){}u(lz,kv);Ra(lz);lz.prototype.Jc=function(a){return a.g.Ma("DIV",Wq(this,a).join(" ")+" goog-inline-block","\u00a0")};lz.prototype.Ob=function(a,b){b=lz.na.Ob.call(this,a,b);O(b,"goog-inline-block");return b};lz.prototype.Pa=function(){return"goog-toolbar-separator"};function mz(){}u(mz,dr);Ra(mz);f=mz.prototype;f.Jc=function(a){var b=Wq(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){nz(b,!0);nz(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 mz.na.Ob.call(this,a,b)};f.Pa=function(){return"goog-custom-button"}; function nz(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 oz(){}u(oz,mz);Ra(oz);oz.prototype.Pa=function(){return"goog-toolbar-button"};function pz(){this.g="toolbar"}u(pz,qt);Ra(pz);pz.prototype.nh=function(a){return a.tagName=="HR"?new lv(lz.Hb()):pz.na.nh.call(this,a)};pz.prototype.fg=function(){return"goog-toolbar"};pz.prototype.Sn=function(){return"horizontal"};function qz(a){pz.call(this);this.i=a}u(qz,pz);var rz={};qz.prototype.fg=function(){return this.i||"ocean-chrome-toolbar"};function sz(a){Q.call(this);this.g=[];tz(this,a)}u(sz,Q);f=sz.prototype;f.Pf=null;f.Pj=null;function uz(a,b){a.Pj=b}function tz(a,b){b&&(b.forEach(function(c){vz(this,c,!1)},a),xb(a.g,b))}f.Na=function(a){this.Re(a,this.g.length)};f.Re=function(a,b){a&&(vz(this,a,!1),yb(this.g,b,0,a))};f.Hd=function(){return wb(this.g)};f.Ie=function(a){a!=this.Pf&&(vz(this,this.Pf,!1),this.Pf=a,vz(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(){sz.na.qa.call(this);delete this.g;this.Pf=null};function vz(a,b,c){b&&(typeof a.Pj=="function"?a.Pj(b,c):typeof b.Fl=="function"&&b.Fl(c))};function wz(a,b,c){vt.call(this,b,a||pz.Hb(),c)}u(wz,vt);wz.prototype.oi=function(a){wz.na.oi.call(this,a);this.Yd||At(this)};function xz(a,b,c){ur.call(this,a,b||oz.Hb(),c)}u(xz,ur);hr("goog-toolbar-button",function(){return new xz(null)});function yz(a,b){lv.call(this,a||lz.Hb(),b)}u(yz,lv);hr("goog-toolbar-separator",function(){return new yz});function zz(a){a=a||"viewport-chrome-toolbar";a=rz[a]||(rz[a]=new qz(a));wz.call(this,a);this.ya={};this.l=new og(this)}n(zz,wz);function Az(a,b,c,d){b.Tb(16,!0);if(c){var e=a.ya[c];e||(e=new sz,uz(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 Bz(a,b){a.ya.viewport&&a.ya.viewport.Ie(b)}zz.prototype.qa=function(){wz.prototype.qa.call(this);this.l.dispose();Lb(this.ya,function(a){a.dispose()})};function Cz(){}u(Cz,dr);Ra(Cz);f=Cz.prototype;f.Jc=function(a){var b=Wq(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 Cz.na.Ob.call(this,a,b)};f.ub=function(){return""};f.Pa=function(){return"goog-flat-button"};hr("goog-flat-button",function(){return new ur(null,Cz.Hb())});function Dz(){}u(Dz,mz);Ra(Dz);Dz.prototype.Dc=function(a){return Dz.na.Dc.call(this,a&&a.firstChild)};Dz.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 ov;Dk(d,c);a.He(d)}return Dz.na.Ob.call(this,a,b)};Dz.prototype.zi=function(a,b){return Dz.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)};Dz.prototype.Pa=function(){return"goog-menu-button"};function Ez(){this.g=[]}u(Ez,bv);Ra(Ez);Ez.prototype.Jc=function(a){var b=Ez.na.Jc.call(this,a);O(b,"goog-submenu");Fz(this,a,b);return b};Ez.prototype.Ob=function(a,b){b=Ez.na.Ob.call(this,a,b);O(b,"goog-submenu");Fz(this,a,b);var c=Xe("DIV","goog-menu",b);if(c.length){var d=new ov(a.g);c=c[0];N(c,!1);a.g.g.body.appendChild(c);Dk(d,c);a.He(d,!0)}return b};Ez.prototype.dg=function(a,b){var c=this.Dc(a),d=c&&c.lastChild;Ez.na.dg.call(this,a,b);d&&c.lastChild!=d&&mh(d,"goog-submenu-arrow")&&c.appendChild(d)}; Ez.prototype.ii=function(a){Ez.na.ii.call(this,a);var b=a.Gb(),c=Ye(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Gz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.V();X(a,"haspopup","true")};function Fz(a,b,c){var d=b.g.Ma("SPAN");d.className="goog-submenu-arrow";Gz(b,d);a.Dc(c).appendChild(d)}function Gz(a,b){Hk(a)?(O(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(oh(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function Hz(a,b,c,d){gv.call(this,a,b,c,d||Ez.Hb())}u(Hz,gv);f=Hz.prototype;f.Tg=null;f.Ml=null;f.ml=!1;f.kc=null;f.Ci=!1;f.Ia=function(){Hz.na.Ia.call(this);Z(this).ha(this.getParent(),"hide",this.Oo);this.kc&&Iz(this,this.kc,!0)};f.bc=function(){Z(this).Sa(this.getParent(),"hide",this.Oo);this.kc&&(Iz(this,this.kc,!1),this.Ci||(this.kc.bc(),E(this.kc.V())));Hz.na.bc.call(this)};f.qa=function(){this.kc&&!this.Ci&&this.kc.dispose();this.kc=null;Hz.na.qa.call(this)}; f.Oc=function(a){Hz.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&&zt(a)==this&&(Jz(this,!0),Kz(this))};f.te=function(){var a=this.kc;a&&a.getParent()==this&&(Jz(this,!1),Ek(a,function(b){typeof b.te=="function"&&b.te()}))};function Lz(a){a.Tg&&nj(a.Tg);a.Ml&&nj(a.Ml)}f.wa=function(a,b){(a=Hz.na.wa.call(this,a,b))&&!this.isVisible()&&this.te();return a}; function Kz(a){Ek(a.getParent(),function(b){b!=this&&typeof b.te=="function"&&(b.te(),Lz(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();At(Mz(this));Lz(this)}else if(!Mz(this).Lc(a))if(b==d)this.te();else return!1;a.preventDefault();return!0};f.Du=function(){this.kc.getParent()==this&&(Lz(this),this.yg().Oc(this),Kz(this))};f.Oo=function(a){a.target==this.yg()&&(this.te(),Lz(this))}; f.ye=function(a){this.isEnabled()&&(Lz(this),this.Ml=U(this.Ll,218,this));Hz.na.ye.call(this,a)};f.kf=function(a){Lz(this);if(ar(this,8)||ar(this,16))return Hz.na.kf.call(this,a);this.Ll();return!0}; function Jz(a,b){!b&&Mz(a)&&Mz(a).Od(-1);a.dispatchEvent(Ak(64,b));var c=Mz(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 Qr(a.V(),12,!1);var d=Mz(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 Iz(a,b,c){var d=Z(a);(c?d.ha:d.Sa).call(d,b,"enter",a.Du)}f.Na=function(a){Mz(this).Xa(a,!0)};f.Re=function(a,b){Mz(this).jg(a,b,!0)};f.Hd=function(){return Mz(this).Hd()}; function Mz(a){a.kc?a.Ci&&a.kc.getParent()!=a&&a.kc.ae(a):a.He(new ov(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&&Iz(this,c,!1)),this.kc=a,this.Ci=!b,a&&(a.ae(this),a.wa(!1,!0),pv(a,!1),Et(a,!1),this.Ra&&Iz(this,a,!0)))};f.Rd=function(a){return Mz(this).Rd(a)};hr("goog-submenu",function(){return new Hz(null)});function Nz(a,b,c,d,e){ur.call(this,a,c||Dz.Hb(),d);this.Tb(64,!0);this.o=new hv(null,9);b&&this.He(b);this.Qa=new lj(500);this.Ua=e||mv.Hb()}u(Nz,ur);f=Nz.prototype;f.Ia=function(){Nz.na.Ia.call(this);Oz(this,!0);this.i&&Pz(this,this.i,!0);X(this.ua,"haspopup",!!this.i)};f.bc=function(){Nz.na.bc.call(this);Oz(this,!1);if(this.i){this.Nb(!1);this.i.bc();Pz(this,this.i,!1);var a=this.i.V();a&&E(a)}};f.qa=function(){Nz.na.qa.call(this);this.i&&(this.i.dispose(),delete this.i);delete this.Wa;this.Qa.dispose()}; f.vf=function(a){Nz.na.vf.call(this,a);if(this.isActive()&&(this.Nb(!this.ad(),a),this.i)){a=this.i;var b=this.ad();a.Yd=b}};f.ze=function(a){Nz.na.ze.call(this,a);this.i&&!this.isActive()&&(this.i.Yd=!1)};f.kf=function(){pr(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 Hz||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);Nz.na.ji.call(this,a)}; function Qz(a){a.i||a.He(new ov(a.g,a.Ua));return a.i||null}f.He=function(a){var b=this.i;a!=b&&(b&&(this.Nb(!1),this.Ra&&Pz(this,b,!1),delete this.i),this.Ra&&X(this.ua,"haspopup",!!a),a&&(this.i=a,a.ae(this),a.wa(!1),pv(a,!1),this.Ra&&Pz(this,a,!0)));return b};f.Na=function(a){Qz(this).Xa(a,!0)};f.Re=function(a,b){Qz(this).jg(a,b,!0)};f.wa=function(a,b){(a=Nz.na.wa.call(this,a,b))&&!this.isVisible()&&this.Nb(!1);return a};f.nb=function(a){Nz.na.nb.call(this,a);this.isEnabled()||this.Nb(!1)}; f.Nb=function(a,b){Nz.na.Nb.call(this,a);if(this.i&&br(this,64)==a){if(a)this.i.Ra||this.i.render(),this.ta=Pg(this.V()),this.La=Zg(this.V()),Rz(this),!b||b.keyCode!=40&&b.keyCode!=38?this.i.Od(-1):At(this.i);else{pr(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 Rz(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,Rz(this))}; function Pz(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 Oz(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())&&Sz(this,a)};f.pt=function(a){ar(this,32)&&this.V()&&this.i&&this.i.isVisible()&&a.stopPropagation()};f.Jq=function(){if(!zt(this.i)){var a=this.V();X(a,"activedescendant","");X(a,"owns","")}}; f.Hq=function(a){if(this.ad()&&a.target instanceof gv){a=a.target;var b=a.V();a.isVisible()&&br(a,2)&&b!=null&&Sz(this,b)}};function Sz(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)}hr("goog-menu-button",function(){return new Nz(null)});function Tz(){}u(Tz,Cz);Ra(Tz);Tz.prototype.Jc=function(a){var b=Wq(this,a);b=a.g.Ma("DIV","goog-inline-block "+b.join(" "),[Uz(this,a.vc(),a.g),Vz(this,a.g)]);this.nf(b,a.Xe());return b};Tz.prototype.Dc=function(a){return a&&a.firstChild}; Tz.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 ov;Dk(d,c);a.He(d)}Xe("*",this.Pa()+"-caption",b)[0]||b.appendChild(Uz(this,b.childNodes,a.g));Xe("*",this.Pa()+"-dropdown",b)[0]||b.appendChild(Vz(this,a.g));return Tz.na.Ob.call(this,a,b)};function Uz(a,b,c){return c.Ma("DIV","goog-inline-block "+(a.Pa()+"-caption"),b)}function Vz(a,b){return b.Ma("DIV",{"class":"goog-inline-block "+(a.Pa()+"-dropdown"),"aria-hidden":!0},"\u00a0")} Tz.prototype.Pa=function(){return"goog-flat-menu-button"};hr("goog-flat-menu-button",function(){return new Nz(null,null,Tz.Hb())});function Wz(a){zz.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 cx("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 cx(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 cx("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=hx("/googlebooks/images/kennedy/zoom_tool.png"),this.Vg=new cx(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=hx("/googlebooks/images/kennedy/zoom_out.png"),this.Wg=new cx(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=hx("/googlebooks/images/kennedy/one_up_page_view.png");this.Cg=new cx(d,void 0,void 0,1);this.Cg.jc(2);H(this.Cg,"action",r(this.Qj,this,Dq));this.Xa(this.Cg,!0);Az(this,this.Cg,"viewport",!0);if(c){d=hx("/googlebooks/images/kennedy/two_up_page_view.png");this.Lg=new cx(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,Ar));this.Xa(this.Lg,!0);Az(this,this.Lg,"viewport")}b&&(d=hx("/googlebooks/images/kennedy/thumbnail.png"),this.Jg=new cx(d,void 0,void 0,1),c=1,this.i&&(c=3),this.Jg.jc(c),H(this.Jg,"action",r(this.Qj,this,Jq)),this.Xa(this.Jg,!0),Az(this,this.Jg,"viewport"));this.l.ha(this.N,"viewportmodechange",this.zm);this.zm()}this.i&&(b=hx("/googlebooks/images/kennedy/maximize.png"),this.oa=new cx(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=hx("/googlebooks/images/kennedy/clip.png"),this.j=new cx(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=hx("/googlebooks/images/kennedy/insert_link.png"),this.U=new cx(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=hx("/googlebooks/images/kennedy/menu_down_arrow.png",d),b=Eb(b),this.Ug=b[0],this.Bd=new cx(b),this.Bd.jc(2),this.Xa(this.Bd,!0),this.l.ha(this.Bd,"action",this.pu),Az(this,this.Bd)):(this.Ug=B("SPAN","jfk-button-label",d),this.Bd=new cx(this.Ug),this.Bd.nb(!1),this.Bd.jc(2),this.Xa(this.Bd,!0)),b=hx("/googlebooks/images/kennedy/page_left.png"),this.Zi=new cx(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=hx("/googlebooks/images/kennedy/page_right.png"),this.aj=new cx(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 cx("View sample");er(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 ov,d=new gv("Sample print book"),this.l.ha(d,"action",r(this.Zd,this,b)),c.Xa(d,!0),er(d,"gb-sample-print-book-menuitem"),b=new gv("Sample eBook"),this.l.ha(b,"action",r(this.Zd,this,e)),c.Xa(b,!0),er(b,"gb-sample-ebook-menuitem"),e=new Nz("",c,Tz.Hb()),er(e,"gb-jfk-margin-fix"),er(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=Qy([this.o],this.Aa),e?(this.Ih=new Ly(this.o,b),this.Xa(this.Ih,!0)):(e=hx("/googlebooks/images/kennedy/menu_down_arrow.png", "Add to my library"),e=Eb(e),this.Ih=new cx(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 cx("Write review"),this.Xa(this.Ua,!0),this.l.ha(this.Ua,"action",r(this.Zd,this,e));Xz(this,"appbar-application-grant-link","application-grant");Xz(this,"appbar-content-language-link","content-language")}else if(e=A("appbar-download-pdf-link"))if(e=e.getAttribute("href"))b= new cx("Download PDF"),this.Xa(b,!0),this.l.ha(b,"action",r(this.Zd,this,e));a.wv&&(a=hx("/googlebooks/images/kennedy/settings.png"),O(a[0],"goog-flat-menu-button-img"),e=B("DIV",{"class":"toc-div"}),b=new ov,b.Xa(new kr(e),!0),(c=document.getElementById("ofe-gear-menu-contents"))&&e.appendChild(c.cloneNode(!0)),this.Fa=new Nz(a,b,Tz.Hb()),this.Xa(this.Fa,!0),this.La&&!this.N&&(a=new kz,this.Fa.Re(a,0)))}n(Wz,zz); function Yz(a){var b=A("left-toolbar-buttons"),c=A("right-toolbar-buttons");(new Wz({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 Wz({yb:a.yb,Jl:a.Jl,wv:!0})).render(c)}f=Wz.prototype;f.Gv=function(){var a=this.i;eq(a,!a.df());this.Ga.update()};f.mt=function(){this.oa.Rc(16,this.i.df())};f.Ht=function(){this.Ea(br(this.j,16))}; f.os=function(){if(br(this.U,16)){var a=new Gr(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 Dq&&Bz(this,this.Cg);a instanceof Ar&&Bz(this,this.Lg);a instanceof Jq&&Bz(this,this.Jg);a=a.Gc;this.Wg.nb(a);this.Vg.nb(a)};f.Am=function(a){this.N.mb(a)}; function Xz(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 cx(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);Az(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 vr(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 Zz(a,b){mx.call(this,a);this.o=b}n(Zz,mx); Zz.prototype.render=function(){var a=this.V();O(a,this.className+"-tooltip");O(a,this.className+"-device-and-format");J(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=$z(this);g.appendChild(h);g=d[1];h=aA(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]),av(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 $z(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"), q=a.o.Pi,z=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.")):(q||z)&&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.")): (q||z)&&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."):q?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."):q&&z?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):q?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)):q?(O(h,c),O(k,c),O(l,c),O(m,c)):(z?(O(h,c),O(k,c)):(O(h,e),O(k,e)),O(l,e),O(m,e));return b} function aA(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} Zz.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)};Zz.prototype.i=function(a){of(this.j);typeof a==="string"?this.j.appendChild(lf(a)):this.j.appendChild(a)};function bA(a,b){cx.call(this,b,void 0,3);this.o=a}n(bA,cx);bA.prototype.render=function(a){cx.prototype.render.call(this,a);O(this.V(),"gb-get-book")};bA.prototype.Ia=function(){cx.prototype.Ia.call(this);var a=this.V();this.i=new Zz(a,this.o);this.i.render();a=A("menu_container");(a=$e("about_title",a))&&E(a)}; function cA(){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");Cp(a,9,b,8);N(b,!1);H(document,"mousedown",t(dA,a,b))}}}function dA(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 eA(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 Oq;this.ka=new og(this);var k=this; h(this.i);h(this.l);this.Ge(this.g)}u(eA,Q);eA.prototype.qa=function(){eA.na.qa.call(this);Kf(this.U);Kf(this.O);Kf(this.ka)};eA.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 fA("toggle",this,this.g))}; eA.prototype.oa=function(a){if(a.keyCode==13||a.keyCode==32)this.Ge(!this.g),this.dispatchEvent(new fA("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};eA.prototype.ma=function(a){this.Ge(!this.g);this.dispatchEvent(new fA("action",this,this.g,a))};function fA(a,b){Of.call(this,a,b)}u(fA,Of);function gA(a,b,c,d){if(b.child_node&&b.child_node.length>0){var e=hA(b,!0,c,d),g=B("UL",c+"-list");a.appendChild(e);a.appendChild(g);(new eA(e,g)).Ge(!b.collapsed);v(b.child_node,function(h){gA(g,h,c,d)})}else a.appendChild(hA(b,!1,c,d))}function hA(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} bb("_OC_InitNavbar",function(a){var b=A("navbarContainer");if(b&&a.child_node){var c=B("UL","gb-left-nav-list");v(a.child_node,function(d){gA(c,d,"gb-left-nav",a.highlighted_node_id)});b.appendChild(c)}});function iA(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(iA,Q);iA.prototype.i=function(){jA(this.ua,this.g)};iA.prototype.j=function(){kA(this.ua,this.g)};function kA(a,b){U(t(function(){jA(a,b)}))} function jA(a,b){var c=!1,d;if(a.value){for(var e=d=0,g=!1,h=a.value.split(hw),k=0;k<h.length;k++){var l=h[k];fw.test(l)?(d++,e++):gw.test(l)?g=!0:ew.test(l)?e++:iw.test(l)&&(g=!0)}d=(e==0?g?1:0:d/e>.4?-1:1)==-1}else d=oj();d?(c=!0,J(a,"textAlign","right"),bf(a,{dir:"rtl"})):(J(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 lA(a,b){if(a=A(a))b=b?A(b):null,jA(a,b),new iA(a,b)}bb("_OC_autoDir",lA);function mA(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),J(this.i,"display","block"));nA(this)} function nA(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 oA(a,b){a=A(a);b=A(b);a&&b&&H(a,"submit",t(pA,b))}function pA(a,b){a.value==""&&b.preventDefault()};function qA(a,b,c){if(Id&&!Md)return a;a='url("'+b+'")';Jd&&(a+=" 7 5");return a+(", "+c)};function rA(a){W.call(this);this.N=a;this.i=new og;this.g.ha(a,"viewportmodechange",this.Bm);this.N.Da()&&this.Bm()}n(rA,W);f=rA.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));sA(this,!1)};f.Xs=function(){this.N.mb("next")}; function sA(a,b){a=a.l;if(Id)b=b?"-moz-grabbing":"-moz-grab";else{var c=Jm("/googlebooks/images/");b=b?qA("-moz-grabbing",c+"closedhand.cur","move"):qA("-moz-grab",c+"openhand.cur","default")}J(a,"cursor",b)}f.Nq=function(){this.o=this.N.Da().Cb;sA(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;sA(this,!1)};f.qa=function(){W.prototype.qa.call(this)};function tA(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 uA(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(uA,Uk);uA.prototype.Oa=function(){uA.na.Oa.call(this);J(hl(this.j,"ok"),"fontWeight","bold");J(this.V(),"width","500px")};uA.prototype.La=function(a){a.key=="ok"&&this.Eb(a);return!0}; uA.prototype.qa=function(){kg(this,"dialogselect",this.La,!0,this);uA.na.qa.call(this)};uA.prototype.Eb=function(a){this.kg(a)};function vA(a){Q.call(this);this.Qa=null;this.ua=a;this.g=new og(this);this.g.ha(this.ua,"input",this)}u(vA,Q);vA.prototype.handleEvent=function(a){if(a.type=="input")wA(this),this.dispatchEvent(xA(a));else if(a.type!="keydown"||uh(a)){var b=a.type=="keydown"?this.ua.value:null,c=xA(a);wA(this);this.Qa=setTimeout(function(){this.Qa=null;this.ua.value!=b&&this.dispatchEvent(c)}.bind(this),0)}};function wA(a){a.Qa!=null&&(clearTimeout(a.Qa),a.Qa=null)} function xA(a){a=new Rf(a.Mb);a.type="input";return a}vA.prototype.qa=function(){vA.na.qa.call(this);this.g.dispose();wA(this);delete this.ua};function yA(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 vA(a);H(this.j,"input",this.s,!1,this);zA(this)}u(yA,Q);yA.prototype.s=function(){zA(this)};function zA(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))}yA.prototype.qa=function(){yA.na.qa.call(this);delete this.g;this.j.dispose();this.j=null};function AA(a,b,c,d,e){uA.call(this,a,b,null,!0);this.Ua=c;this.Fb=d;this.Aa=e}n(AA,uA); AA.prototype.Oa=function(){uA.prototype.Oa.call(this);this.o=BA(this,"Name","input");this.Wa=BA(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&&CA(this);Gm.IsZipitFolderCollectionEnabled||(b=this.j,a=hl(b,"ok"),J(a,"fontWeight","bold"),O(a,"gb-button"),O(hl(b,"cancel"),"gb-button"))}; function CA(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&&J(a.o,"background","#f2f2f2")} function BA(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 yA(b,C("span"),500)); a.appendChild(b);return b}AA.prototype.Fa=function(a){this.jd=a;v(this.Dd,function(b){N(b,a)});v(this.Cd,function(b){N(b,!a)})}; AA.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 ux;a.rc=b;a.l=this.Wa.value;a.le=this.jd?1:2;if(this.i){b=this.Ua;var c=new R(b.Ep);S(c,"as_coll",a.getId());Gx(c,a,r(b.s,b))}else b=this.Ua,Gx(b.l,a,r(b.o,b,!0));return!0}; AA.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;uA.prototype.qa.call(this)};function DA(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,EA),this.i&&xb(this.l,mb(this.i.childNodes,EA)));this.o=e;U(r(this.Pq,this))}u(DA,W);f=DA.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 EA(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 AA("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");av(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),tA(!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?(Cp(this.j,9,this.i,8),M(this.i).height>200&&(a=M(this.i).width,L(this.i,a,200),J(this.i,"overflow","auto"),J(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)}; bb("_OC_RunHomepage",function(){var a=A("oc-search-input");A("oc-search-form")&&a&&(lA("oc-search-input"),new xy(a),a.focus(),oA("oc-search-form","oc-search-input"))}); </script><script>_OC_RunHomepage();</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10