Hidden fields

Search the world's most comprehensive index of full-text books.

My library

PublishersAboutPrivacyTermsHelp

");return(new DOMParser).parseFromString(de(a),"text/html").body.children[0]} function $g(a,b){if(!a)return Od;var c=document.createElement("div").style;ch(a).forEach(function(d){var e=oc&&d in Xg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Lb(e,"--")||Lb(e,"var")||(d=Tg(a,d),d=sg(e,d,b),null!=d&&Ug(c,e,d))});return new Kd(c.cssText||"",Jd)} function dh(a){var b=Array.from(Lg(Ag,a,"getElementsByTagName",["STYLE"])),c=Bb(b,function(h){return sb(Pg(h).cssRules)});c=Zg(c);for(var d=[],e=0;e=a.left&&b.right=a.top&&b.bottom=a.left&&b.x=a.top&&b.ya.right?b.x-a.right:0;a=b.ya.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 jh(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=jh.prototype;f.clone=function(){return new jh(this.left,this.top,this.width,this.height)};function kh(a){return new fh(a.top,a.left+a.width,a.top+a.height,a.left)}function lh(a){return new jh(a.left,a.top,a.right-a.left,a.bottom-a.top)} function mh(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(ca.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function Ch(a){for(var b=new fh(0,Infinity,Infinity,0),c=df(a),d=c.g.body,e=c.g.documentElement,g=tf(c.g);a=Bh(a);)if(!(z&&0==a.clientWidth||oc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=vh(a,"overflow")){var h=Dh(a),k=new A(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= qf(Zf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0b.top&&b.right>b.left?b:null} function Eh(a,b){b=b||tf(document);var c=b||tf(document);var d=Dh(a),e=Dh(c),g=Fh(c);if(c==tf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!Gc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=Gh(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new A(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function Dh(a){var b=ff(a),c=new A(0,0),d=zh(b);if(a==d)return c;a=Ah(a);b=sf(df(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Hh(a,b){a=Ih(a);b=Ih(b);return new A(a.x-b.x,a.y-b.y)}function Jh(a){a=Ah(a);return new A(a.left,a.top)}function Ih(a){if(1==a.nodeType)return Jh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function Kh(a,b,c){var d=Dh(a);b instanceof A&&(c=b.y,b=b.x);wh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function K(a,b,c){if(b instanceof Ke)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Lh(a,b);a.style.height=xh(c,!0)}function xh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Lh(a,b){a.style.width=xh(b,!0)}function L(a){var b=Gh;if("none"!=vh(a,"display"))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 Gh(a){var b=a.offsetWidth,c=a.offsetHeight,d=oc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ah(a),new Ke(a.right-a.left,a.bottom-a.top)):new Ke(b,c)}function Mh(a){var b=Dh(a);a=L(a);return new jh(b.x,b.y,a.width,a.height)}function Nh(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="+100*Number(b)+")")}function M(a,b){a.style.display=b?"":"none"}function Oh(a){return"none"!=a.style.display} function Ph(a){return"rtl"==vh(a,"direction")}var Qh=nc?"MozUserSelect":oc||lc?"WebkitUserSelect":null;function Rh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Qh){if(b=b?"none":"",a.style&&(a.style[Qh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Qh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Sh(a,b){var c=rf(df(ff(a)).g);if(!z||Fc("10")||c)Th(a,b,"border-box");else{var d=a.style;c?(c=Uh(a),a=Fh(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}} function Vh(a){var b=ff(a),c=z&&a.currentStyle;if(c&&rf(df(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Wh(a,c.width,"width","pixelWidth"),a=Wh(a,c.height,"height","pixelHeight"),new Ke(b,a);c=new Ke(a.offsetWidth,a.offsetHeight);b=Uh(a);a=Fh(a);return new Ke(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Xh(a,b){var c=rf(df(ff(a)).g);if(!z||Fc("10")||c)Th(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Uh(a),a=Fh(a),d.pixelWidth=b.width+a.left+c.left+c.right+a.right,d.pixelHeight=b.height+a.top+c.top+c.bottom+a.bottom)}}function Th(a,b,c){a=a.style;nc?a.MozBoxSizing=c:oc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Wh(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b}function Yh(a,b){return(b=uh(a,b))?Wh(a,b,"left","pixelLeft"):0} function Uh(a){if(z){var b=Yh(a,"paddingLeft"),c=Yh(a,"paddingRight"),d=Yh(a,"paddingTop");a=Yh(a,"paddingBottom");return new fh(d,c,a,b)}b=th(a,"paddingLeft");c=th(a,"paddingRight");d=th(a,"paddingTop");a=th(a,"paddingBottom");return new fh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Zh={thin:2,medium:4,thick:6};function $h(a,b){if("none"==uh(a,b+"Style"))return 0;b=uh(a,b+"Width");return b in Zh?Zh[b]:Wh(a,b,"left","pixelLeft")} function Fh(a){if(z&&!Gc(9)){var b=$h(a,"borderLeft"),c=$h(a,"borderRight"),d=$h(a,"borderTop");a=$h(a,"borderBottom");return new fh(d,c,a,b)}b=th(a,"borderLeftWidth");c=th(a,"borderRightWidth");d=th(a,"borderTopWidth");a=th(a,"borderBottomWidth");return new fh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var ai={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0, "* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0, "* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},bi={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0, "* CLASS":!0,"* ID":!0,"* STYLE":!0};var ci="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),di=0;function ei(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+di++}ei.prototype.set=function(a,b){if(Lg(wg,a,"hasAttribute",[this.g])){var c=parseInt(Lg(xg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Ng(a,this.g,c.toString()),this.j.push(a);return this}; ei.prototype.get=function(a){if(Lg(wg,a,"hasAttribute",[this.g]))return a=parseInt(Lg(xg,a,"getAttribute",[this.g])||null,10),this.i[a]};ei.prototype.clear=function(){this.j.forEach(function(a){Lg(zg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var fi=!z||Gc(10),gi=!z||null==document.documentMode;function hi(){};var ii={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var ji={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var ki={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0}; function li(a){a=a||new mi;ni(a);this.i=Yc(a.g);this.N=Yc(a.ua);this.j=Yc(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!Lb(b,"data-"))throw new db('Only "data-" attributes allowed, got: %s.',[b]);if(Lb(b,"data-sanitizer-"))throw new db('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=oi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Yb(b,"-")||ki[b])throw new db("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.o=a.Pa;this.s=null;this.O=a.oa}u(li,hi);function pi(a){return function(b,c){return(b=a(Pb(b),c))&&"about:invalid#zClosurez"!=Ad(b)?Ad(b):null}}function mi(){this.g={};v([ai,bi],function(a){Sc(a).forEach(function(b){this.g[b]=oi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Yc(ii);this.va=Yc(ji);this.na=!1;this.ma=Gd;this.O=this.s=this.o=this.j=Mc;this.Pa=null;this.N=this.oa=!1} function qi(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ri(a,b,c,d){a[c]&&!b[c]&&(a[c]=qi(a[c],d))} function ni(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ri(a.g,a.i,"* USEMAP",si);var b=pi(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ri(this.g,this.i,d,b)},a);var c=pi(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ri(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ri(this.g,this.i,d,t(ti,this.o))},a);ri(a.g,a.i,"A TARGET",t(ui,["_blank","_self"]));ri(a.g,a.i,"* CLASS",t(vi,a.s));ri(a.g,a.i,"* ID",t(wi,a.s));ri(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function xi(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function oi(a){return Pb(a)}function ui(a,b){b=Pb(b);return mb(a,b.toLowerCase())?b:null}function si(a){return(a=Pb(a))&&"#"==a.charAt(0)?a:null}function ti(a,b,c){return a(Pb(b),c)}function vi(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),dh(b),b=b.innerHTML);b=we(b);var c=document.createElement("template");if(gi&&"content"in c)ye(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;ye(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=ci? new WeakMap:new ei;d=b.nextNode();){c:{var e=d;switch(Rg(e)){case 3:e=yi(this,e);break c;case 1:if("TEMPLATE"==Qg(e).toUpperCase())e=null;else{var g=Qg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Vg(e))var h=null;else this.j[g]?h=document.createElement(g):(h=E("SPAN"),this.oa&&Ng(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Mg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var p=e;var w=g;var D=w.name;if(Lb(D,"data-sanitizer-"))w=null;else{var G=Qg(p); w=w.value;var I={tagName:Pb(G).toLowerCase(),attributeName:Pb(D).toLowerCase()},U={Rk:void 0};"style"==I.attributeName&&(U.Rk=Og(p));p=xi(G,D);p in this.i?(D=this.i[p],w=D(w,I,U)):(D=xi(null,D),D in this.i?(D=this.i[D],w=D(w,I,U)):w=null)}null!==w&&Ng(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Rg(e)&&c.set(d,e),d=Sg(d),g=!1,d)h=Rg(d),k=Qg(d).toLowerCase(),l=Sg(d),11!=h||l?"body"==k&&l&&(h=Sg(l))&&!Sg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Rg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else Bf(d)}c.clear&&c.clear()}else a=E("SPAN");0")+1,a.lastIndexOf(""))}else a="";return we(a)};function yi(a,b){var c=b.data;(b=Sg(b))&&"style"==Qg(b).toLowerCase()&&!("STYLE"in a.N)&&"STYLE"in a.j&&(c=Zd(ah(c,a.s,r(function(d,e){return this.ma(d,{Ps:e})},a))));return document.createTextNode(c)};function zi(a){return(new li(new mi)).g(a)};/* SPDX-License-Identifier: Apache-2.0 */ var Ai={};function Bi(){var a="undefined"!==typeof window?window.trustedTypes:void 0;return null!==a&&void 0!==a?a:null}var Ci;function Di(){var a,b;if(void 0===Ci)try{Ci=null!==(b=null===(a=Bi())||void 0===a?void 0:a.createPolicy("google#safe",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}}))&&void 0!==b?b:null}catch(c){Ci=null}return Ci};function Ei(){}function Fi(a){this.g=a}m(Fi,Ei);Fi.prototype.toString=function(){return this.g.toString()};function Gi(a){var b,c=null===(b=Di())||void 0===b?void 0:b.createHTML(a);return new Fi(null!==c&&void 0!==c?c:a,Ai)}function Hi(a){if(a instanceof Fi)return a.g;throw Error("");};function Ii(){}function Ji(a){this.g=a}m(Ji,Ii);Ji.prototype.toString=function(){return this.g.toString()};function Ki(a){var b,c=null===(b=Di())||void 0===b?void 0:b.createScriptURL(a);return new Ji(null!==c&&void 0!==c?c:a,Ai)};function Li(){}function Mi(a){this.g=a}m(Mi,Li);Mi.prototype.toString=function(){return this.g.toString()};function Ni(){}function Oi(a){this.g=a}m(Oi,Ni);Oi.prototype.toString=function(){return this.g};var Pi=new Oi("about:invalid#zTSz",Ai);function Qi(a){if(a instanceof Oi)return a.g;throw Error("");};function Ri(a){return a instanceof Ei?Hi(a):de(a)}function Si(a){if(a instanceof Ii)if(a instanceof Ji)a=a.g;else throw Error("");else a=ud(a);return a}function Ti(a){return a instanceof Ni?Qi(a):Ad(a)};function N(a,b){if(null!==a&&void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeScript.");if("style"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeStyleSheet.");}a.innerHTML=Ri(b)};function Ui(a){var b,c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,d=null===(b=c.querySelector)||void 0===b?void 0:b.call(c,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};function Vi(a){a&&"function"==typeof a.Ha&&a.Ha()};function Wi(){this.Hd=this.Hd;this.Pa=this.Pa}Wi.prototype.Hd=!1;Wi.prototype.Ha=function(){this.Hd||(this.Hd=!0,this.wa())};function Xi(a,b){b=t(Vi,b);a.Hd?b():(a.Pa||(a.Pa=[]),a.Pa.push(b))}Wi.prototype.wa=function(){if(this.Pa)for(;this.Pa.length;)this.Pa.shift()()};function Yi(a){this.id=a}Yi.prototype.toString=function(){return this.id};function Zi(a,b){this.type=a instanceof Yi?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Zi.prototype.stopPropagation=function(){this.g=!0};Zi.prototype.preventDefault=function(){this.defaultPrevented=!0};function $i(a){a.preventDefault()};var aj=function(){if(!q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{q.addEventListener("test",Ma,b),q.removeEventListener("test",Ma,b)}catch(c){}return a}();var bj={Ag:"mousedown",Bg:"mouseup",zh:"mousecancel",zw:"mousemove",Bw:"mouseover",Aw:"mouseout",xw:"mouseenter",yw:"mouseleave"};function cj(a,b){Zi.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.Ql=!1;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.vl(a,b)}u(cj,Zi);var dj={2:"touch",3:"pen",4:"mouse"}; cj.prototype.vl=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)?nc&&(ic(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=oc||void 0!==a.offsetX? a.offsetX:a.layerX,this.offsetY=oc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Ql=qc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType= "string"===typeof a.pointerType?a.pointerType:dj[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&&cj.ta.preventDefault.call(this)};function ej(a){return 0==a.Ob.button&&!(qc&&a.ctrlKey)}cj.prototype.stopPropagation=function(){cj.ta.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};cj.prototype.preventDefault=function(){cj.ta.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var fj="closure_listenable_"+(1E6*Math.random()|0);function gj(a){return!(!a||!a[fj])};var hj=0;function ij(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.nj=e;this.key=++hj;this.Yg=this.Ti=!1}function jj(a){a.Yg=!0;a.listener=null;a.proxy=null;a.src=null;a.nj=null};function kj(a){this.src=a;this.g={};this.i=0}f=kj.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=lj(a,b,d,e);-1>>0);function rj(a){if("function"===typeof a)return a;a[Aj]||(a[Aj]=function(b){return a.handleEvent(b)});return a[Aj]};function Bj(a){Wi.call(this);this.N=a;this.j={}}u(Bj,Wi);var Cj=[];f=Bj.prototype;f.ka=function(a,b,c,d){return Dj(this,a,b,c,d)};function Ej(a,b,c,d,e){Dj(a,b,c,d,!1,e)}function Dj(a,b,c,d,e,g){Array.isArray(c)||(c&&(Cj[0]=c.toString()),c=Cj);for(var h=0;h=a.keyCode)return!1;if(Kj(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!nc;default:return 166>a.keyCode||183=a||96=a||65=a||(oc||lc)&&0==a)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:return nc;default:return!1}}function Mj(a){if(nc)a=Nj(a);else if(qc&&oc)switch(a){case 93:a=91}return a} function Nj(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 Oj(a){if(a.lc&&"function"==typeof a.lc)return a.lc();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Qa(a)){for(var b=[],c=a.length,d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Uj(a,b,c,d){for(var e=c.length;0d)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Qe(b.substr(d,e-d))}var Xj=/[?&]($|#)/;function Q(a,b){this.i=this.O=this.o="";this.ma=null;this.g=this.s="";this.N=!1;var c;a instanceof Q?(this.N=void 0!==b?b:a.N,Yj(this,a.o),this.O=a.O,this.i=a.i,Zj(this,a.ma),ak(this,a.s),bk(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Rj))?(this.N=!!b,Yj(this,c[1]||"",!0),this.O=ck(c[2]||""),this.i=ck(c[3]||"",!0),Zj(this,c[4]),ak(this,c[5]||"",!0),bk(this,c[6]||"",!0),this.g=ck(c[7]||"")):(this.N=!!b,this.j=new dk(null,this.N))} Q.prototype.toString=function(){var a=[],b=this.o;b&&a.push(ek(b,fk,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(ek(b,fk,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ma,null!=c&&a.push(":",String(c));if(c=this.s)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(ek(c,"/"==c.charAt(0)?gk:hk,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",ek(c,ik));return a.join("")}; Q.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Yj(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.i;c?b.i=a.i:c=null!=a.ma;var d=a.s;if(c)Zj(b,a.ma);else if(c=!!a.s){if("/"!=d.charAt(0))if(this.i&&!this.s)d="/"+d;else{var e=b.s.lastIndexOf("/");-1!=e&&(d=b.s.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Yb(e,"./")||Yb(e,"/.")){d=Lb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function ak(a,b,c){a.s=c?ck(b,!0):b}function bk(a,b,c){b instanceof dk?(a.j=b,jk(a.j,a.N)):(c||(b=ek(b,kk)),a.j=new dk(b,a.N))} Q.prototype.getQuery=function(){return this.j.toString()};function R(a,b,c){a.j.set(b,c);return a}function S(a,b){return a.j.get(b)}function lk(a,b){a.j.remove(b)}function ck(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ek(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,mk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function mk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var fk=/[#\/\?@]/g,hk=/[#\?:]/g,gk=/[#\?]/g,kk=/[#\?@]/g,ik=/#/g;function dk(a,b){this.i=this.g=null;this.j=a||null;this.s=!!b}function nk(a){a.g||(a.g=new Map,a.i=0,a.j&&Sj(a.j,function(b,c){a.add(Qe(b),c)}))}function ok(a){var b=Pj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new dk(null,void 0);a=Oj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function Ck(a,b){var c=a;b&&(c=r(a,b));c=Dk(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!y("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(Ek||(Ek=Fk()),Ek(c)):q.setImmediate(c)}var Ek; function Fk(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=E("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(function(l){if(("*"==k||l.origin==k)&&l.data==h)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!bc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){q.setTimeout(e,0)}}var Dk=Nc;function Gk(a){q.setTimeout(function(){throw a;},0)};function Hk(){this.i=this.g=null}Hk.prototype.add=function(a,b){var c=Ik.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Hk.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 Ik=new Ak(function(){return new Jk},function(a){return a.reset()});function Jk(){this.next=this.g=this.He=null}Jk.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Jk.prototype.reset=function(){this.next=this.g=this.He=null};function Kk(a,b){Lk||Mk();Nk||(Lk(),Nk=!0);Ok.add(a,b)}var Lk;function Mk(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);Lk=function(){a.then(Pk)}}else Lk=function(){Ck(Pk)}}var Nk=!1,Ok=new Hk;function Pk(){for(var a;a=Ok.remove();){try{a.He.call(a.g)}catch(b){Gk(b)}Bk(Ik,a)}Nk=!1};function Qk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Rk(a){this.g=0;this.O=void 0;this.s=this.i=this.j=null;this.o=this.N=!1;if(a!=Ma)try{var b=this;a.call(void 0,function(c){Sk(b,2,c)},function(c){Sk(b,3,c)})}catch(c){Sk(this,3,c)}}function Tk(){this.next=this.context=this.i=this.j=this.g=null;this.s=!1}Tk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.s=!1};var Uk=new Ak(function(){return new Tk},function(a){a.reset()});function Vk(a,b,c){var d=Uk.get();d.j=a;d.i=b;d.context=c;return d} function Wk(){var a,b,c=new Rk(function(d,e){a=d;b=e});return new Xk(c,a,b)}Rk.prototype.then=function(a,b,c){return Yk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Rk.prototype.$goog_Thenable=!0;Rk.prototype.cancel=function(a){if(0==this.g){var b=new Zk(a);Kk(function(){$k(this,b)},this)}}; function $k(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.s||(d++,h.g==a&&(e=h),!(e&&1"+a);b=(new DOMParser).parseFromString(Ri(b),"text/html");for(a=b.createDocumentFragment();0

"+Ns(null!=c?c:"")+"
")};function $s(a,b){this.j=a;this.N=!!b;this.s={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}m($s,Gr);f=$s.prototype;f.Hj=function(a){this.i=a};f.setPosition=function(a,b,c,d){null!=a&&(this.Kk=a);null!=b&&(this.Gk=b);"number"===typeof c&&(this.Tn=Math.max(c,15));"number"===typeof d&&(this.Ml=d)};f.Pc=function(a,b,c){a=this.Gk;2==a&&(a=0);at(this,this.Kk,a,2==this.Gk?bt(this.Kk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.Tn,0,c)}; function at(a,b,c,d,e,g){if(a.i){var h=ct(b,c);var k=a.i;var l=a.g,n=a.Ea,p=L(k);a:{p=(bt(b)?p.height/2:p.width/2)-d;var w=Jr(k,h);if(n)n=n.clone(),l&&(l=Ir(l),n.left+=l.x,n.right+=l.x,n.top+=l.y,n.bottom+=l.y);else if(n=Ch(k),!n){k=p;break a}k=kh(Mh(k));bt(b)?k.topn.bottom&&w&1&&(p-=k.bottom-n.bottom):k.leftn.right&&w&4&&(p-=k.right-n.right);k=p}k=bt(b)?new A(a.Ml,k):new A(k,a.Ml);p=bt(b)?6:9;a.Ek&&2==e&&(p=bt(b)?4:1); w=b^3;bt(b)&&"rtl"==a.i.dir&&(w=b);h=Hr(a.i,ct(w,c),a.g,h,k,g,a.wl?p:0,void 0,a.Ea);if(2!=e&&h&496){at(a,b^3,c,d,a.Ek&&0==e?1:2,g);return}!a.N||h&496||(e=parseFloat(a.g.style.left),g=parseFloat(a.g.style.top),isFinite(e)&&0==e%1&&isFinite(g)&&0==g%1||wh(a.g,Math.round(e),Math.round(g)))}dt(a,b,c,d)} function dt(a,b,c,d){var e=a.o;Qc(a.s,function(g){Kb(e,g,!1)},a);x(e,a.s[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=Hh(a.i,a.g),d=et(a.i,b),bt(b)?e.style.top=ft(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=ft(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?bt(b)?"top":"left":bt(b)?"bottom":"right"]=d+"px"}function ft(a,b){return 15>b?15:Ge(a,15,b)}function ct(a,b){switch(a){case 2:return 0==b?1:5;case 1:return 0==b?0:4;case 0:return 0==b?12:13;default:return 0==b?8:9}} function et(a,b){var c=0,d=0;a=L(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 A(c,d)}function bt(a){return 0==a||3==a}f.wl=!1;f.Gk=2;f.Tn=20;f.Kk=3;f.Ea=null;f.Ml=-5;f.Ek=!1;function gt(a){Wi.call(this);this.i=a||df()}m(gt,Wi);gt.prototype.o=function(){Fm(this.ha(),"tooltip");Gm(this.ha(),"live","polite")};function ht(a){gt.call(this,a);this.g=this.i.Ra("DIV",it()+"-contentId");this.j=this.i.Ra("DIV",it()+"-arrow",this.i.Ra("DIV",it()+"-arrowimplbefore"),this.i.Ra("DIV",it()+"-arrowimplafter"));this.s=this.i.Ra("DIV",{"class":it(),role:"tooltip"},this.g,this.j);this.o()}m(ht,gt);function it(){return"jfk-tooltip"}ht.prototype.ha=function(){return this.s};ht.prototype.wa=function(){gt.prototype.wa.call(this);this.s&&F(this.s)};function jt(a){ht.call(this,a)}m(jt,ht);jt.prototype.o=function(){Fm(this.ha(),"tooltip")};function kt(a){return Se(Pb(a.replace(lt,function(b,c){return mt.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var mt=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,lt=/]*)?>/gi;function nt(a){a=a||df();var b=Sa(a.g);ot[b]||(ot[b]=new pt(a))}function qt(a,b){var c=b instanceof be?kt(ce(b)):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof be?a.i=b:(a.setAttribute("data-tooltip",b),a.i=null),a.setAttribute("aria-label",c)):(a.i=null,a.removeAttribute("aria-label"));nt(df(a))}var ot={}; function pt(a){Bj.call(this);this.va=a;this.ua=new mm(this.fw,0,this);Xi(this,this.ua);var b=uf();this.ma="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.ot,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.Ks,!0);this.ka(a,["mouseover","focus","focusin"],this.Rv,!0)}m(pt,Bj);f=pt.prototype;f.wa=function(){rt(this);Bj.prototype.wa.call(this)}; function st(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.Rv=function(a){this.ma&&this.ma.disconnect();st(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&Lf(this.g.g,b);if(this.Ba||!a||c){this.Ca=a;if(a=b&&b.getAttribute&&this.ma)a=b.getAttribute("role")||null,a=mb(Em,a);a&&(this.ma.observe(b,{attributes:!0}),(a=Im(b))&&(b=a));this.s=b}else this.s=null;tt(this)}; f.Ks=function(a){st(this,a);var b=a.target;b=this.g&&Lf(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.s=null,tt(this)};f.ot=function(a){v(a,r(function(b){var c=Im(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.s=c,tt(this))},this))};function tt(a){if(0==a.ua.lb||!a.i||!a.O){rt(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function rt(a){a.oa&&(kl(a.oa),a.oa=0,a.i=null)} f.fw=function(){if(!this.s)ut(this),this.O=this.i=null;else if(!(this.i&&this.g&&Lf(this.g.ha(),this.s))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Wf(this.s,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.i)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.i&&this.i!=a&&(ut(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,vt(this,a))){var c=qe;if(a.getAttribute("data-tooltip-contained"))for(var d=lf("jfk-tooltip-data", a),e=0;e=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.Ca&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}function wt(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.Wp=function(a,b,c,d,e,g){this.oa=0;this.O=g;if(!this.g){this.g=new jt(this.va);ut(this);g=this.g.ha();this.va.g.body.appendChild(g);Xi(this,this.g);this.o=new $s(it(),!0);this.o.wl=!0;this.o.Ek=!0;g=this.o;var h=this.g.ha(),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(wt(c),g,void 0,d);Ib(this.g.ha(),"jfk-tooltip-hide");this.na!=e&&(this.na&&!Nb(Ze(this.na))&&Ib(this.g.ha(),this.na),Nb(Ze(e))||x(this.g.ha(), e),this.na=e);wh(this.g.ha(),0,0);if(b instanceof be)N(this.g.g,b);else for(Bf(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.o.Hj(a);this.o.Pc(null,0)};function ut(a){a.g&&x(a.g.ha(),"jfk-tooltip-hide")};function xt(a){var b="Yf";if(a.Yf&&a.hasOwnProperty(b))return a.Yf;b=new a;return a.Yf=b};function yt(){}u(yt,Vq);Na(yt);f=yt.prototype;f.sg=function(){return"button"};f.ne=function(a,b,c){switch(b){case 8:case 16:Gm(a,"pressed",c);break;default:case 64:case 1:yt.ta.ne.call(this,a,b,c)}};f.Oc=function(a){var b=yt.ta.Oc.call(this,a);this.oc(b,a.sf());var c=a.Ab();c&&this.xc(b,c);cr(a,16)&&this.ne(b,16,dr(a,16));return b};f.Sb=function(a,b){b=yt.ta.Sb.call(this,a,b);var c=this.Ab(b);a.Ca=c;a.na=this.sf(b);cr(a,16)&&this.ne(b,16,dr(a,16));return b};f.Ab=Ma;f.xc=Ma;f.sf=function(a){return a.title}; f.oc=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.nc=function(a,b){var c=pn(a),d=this.Wa()+"-collapse-left",e=this.Wa()+"-collapse-right",g=c?e:d;b&1?ir(a,g):jr(a,g);c=c?d:e;b&2?ir(a,c):jr(a,c)};f.Wa=function(){return"goog-button"};function zt(){}u(zt,yt);Na(zt);f=zt.prototype;f.sg=function(){};f.Oc=function(a){gr(a,!1);a.Of&=-256;a.Zb(32,!1);return a.g.Ra("BUTTON",{"class":Yq(this,a).join(" "),disabled:!a.isEnabled(),title:a.sf()||"",value:a.Ab()||""},a.Ng()||"")};f.Ei=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};f.Sb=function(a,b){gr(a,!1);a.Of&=-256;a.Zb(32,!1);if(b.disabled){var c=this.Kh(1);x(b,c)}return zt.ta.Sb.call(this,a,b)}; f.Fi=function(a){Y(a).ka(a.ha(),"click",a.Qe)};f.fk=Ma;f.Hm=Ma;f.Gm=function(a){return a.isEnabled()};f.mh=Ma;f.Zc=function(a,b,c){zt.ta.Zc.call(this,a,b,c);(a=a.ha())&&1==b&&(a.disabled=c)};f.Ab=function(a){return a.value};f.xc=function(a,b){a&&(a.value=b)};f.ne=Ma;function At(a,b,c){fr.call(this,a,b||zt.Eb(),c)}u(At,fr);f=At.prototype;f.Ab=function(){return this.Ca};f.xc=function(a){this.Ca=a;this.wd().xc(this.ha(),a)};f.sf=function(){return this.na};f.oc=function(a){this.na=a;this.wd().oc(this.ha(),a)};f.nc=function(a){this.wd().nc(this,a)};f.wa=function(){At.ta.wa.call(this);delete this.Ca;delete this.na};f.Ma=function(){At.ta.Ma.call(this);if(cr(this,32)){var a=this.ha();a&&Y(this).ka(a,"keyup",this.fe)}}; f.fe=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Qe(a):32==a.keyCode};Nq("goog-button",function(){return new At(null)});function Z(a,b,c,d){At.call(this,a,Bt.Eb(),b);this.va=c||0;this.wb=d||0;this.Ka=!1}u(Z,At);f=Z.prototype;f.Bb=function(){return this.wb};f.oc=function(a){this.na=a;var b=this.ha();b&&(this.Ka?qt(b,a):a?b.title=a:b.removeAttribute("title"))};f.Ta=function(a){this.isEnabled()!=a&&(Z.ta.Ta.call(this,a),Ct(this))};f.focus=function(){var a=this.ya;try{a.focus()}catch(b){}};f.Ij=function(a){Z.ta.Ij.call(this,a);Dt(this,!1)};f.$e=function(a){Z.ta.$e.call(this,a);this.isEnabled()&&Dt(this,!0)}; f.he=function(a){Z.ta.he.call(this,a);this.isEnabled()&&Dt(this,!0)};function Dt(a,b){a.ha()&&Kb(a.ha(),"jfk-button-clear-outline",b)}function Ct(a){a.ha()&&Et(a.wd(),a)}function Ft(a,b){if("string"===typeof a){var c=a;a=C("IMG");Ae(a,c);K(a,21,21)}x(a,"jfk-button-img");c=[];c.push(a);b&&(a=C("SPAN","jfk-button-label",b),c.push(a));return c} function Bt(){this.na=this.Wa()+"-standard";this.i=this.Wa()+"-action";this.oa=this.Wa()+"-primary";this.o=this.Wa()+"-default";this.N=this.Wa()+"-flat";this.ma=this.Wa()+"-narrow";this.O=this.Wa()+"-mini";this.s=this.Wa()+"-contrast"}u(Bt,yt);Bt.Eb=function(){return xt(Bt)};f=Bt.prototype;f.Hf=function(a,b,c){a&&c.va!=a&&(c.va=a,Ct(c));b&&c.wb!=b&&(c.wb=b,Ct(c))};f.Wa=function(){return"jfk-button"}; f.Oc=function(a){var b=a.g,c=Xs(Zs,{disabled:!a.isEnabled(),checked:dr(a,16),style:a.va,title:a.sf(),lw:a.Ka,value:a.Ab(),width:a.Bb()},void 0,b);b.zm(c,a.Gc());this.Sb(a,c);return c}; f.Sb=function(a,b){Bt.ta.Sb.call(this,a,b);this.j||(this.j=ad(this.na,t(this.Hf,0,null),this.i,t(this.Hf,2,null),this.oa,t(this.Hf,3,null),this.o,t(this.Hf,1,null),this.N,t(this.Hf,4,null),this.O,t(this.Hf,5,null),this.s,t(this.Hf,6,null),this.ma,t(this.Hf,null,1)));for(var c=Db(b),d=0;d=ih(this.Ka,this.O))}if(b){if(this.li(),this.Wb=null,b=this.oa)b.Wb=null}else 3==Mt(this)&&this.Fg();Tt.ta.Tg.call(this,a)};f.ql=function(){this.Wb!=this.ha()&&(this.vi=!1,this.Wb=this.ha())};f.hl=function(){return this.vi?100:Tt.ta.hl.call(this)};function Vt(a,b){a=new Tt(a);a.Wl(Rl(b.innerHTML));a.className="buy-tip-card";a.va=new fh(5,5,5,5);a.Wi=!0;a.ah=500;a.Wh=250};function Wt(a,b){this.Cb=a||200;this.wb=b||108;W.call(this)}u(Wt,W);Wt.prototype.Db=function(){return this.Cb};Wt.prototype.Bb=function(){return this.wb};function Xt(a){Kt.call(this,a,void 0,void 0);this.ko=!1;this.Wi=!0;this.ah=500}m(Xt,Tt);Xt.prototype.Mj=function(a,b){b||(b=new Mr(a,9,!0));Tt.prototype.Mj.call(this,a,b)};Xt.prototype.className="unified-hovercard";var Yt="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Zt(a){var b=void 0===b?window.location.href:b;var c=new Q(b);R(a,"hl","en");(b=S(c,"output"))&&R(a,"output",b);b=S(c,"source");"ge-ipad-app"==b?(R(a,"dapp","2"),lk(a,"output")):"ge-tablet-app"==b?(R(a,"dapp","4"),lk(a,"output")):"ge-ip-app"==b?R(a,"dapp","1"):"ge-android-app"==b&&R(a,"dapp","3");S(c,"authuser")||lk(a,"authuser");Yt.forEach(function(d){var e=S(c,d);e&&R(a,d,e)})};function $t(a,b,c){Wi.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}m($t,Wi);$t.prototype.wa=function(){this.i&&this.i.Ha()};function au(a){return a.i||(a.i=new Bj(a))} $t.prototype.j=function(a){var b=C("DIV"),c=new Q(this.data.Aa.Ug||this.data.Aa.Dp);this.data.Aa.source&&R(c,"source",this.data.Aa.source);var d=this.data.hb();this.data.Aa.$p&&(d+=": "+this.data.Aa.$p);d=C("A",{},d);d.classList.add(this.g+"-title");ze(d,c.toString());b.appendChild(d);a.appendChild(b);bu(this,a);b=C("DIV");if("number"===typeof(this.data.Aa.Gp||0)){d=this.data.Aa.Gp||0;c=Math.floor(d);d=0)|()/ig,eu={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function fu(){this.Aa={}}f=fu.prototype;f.hb=function(){return this.Aa.title};f.Yb=function(){return this.Aa.om};f.Rd=function(){return this.Aa.Rd};f.xl=function(){return this.Aa.xl};f.Zf=function(){return this.Aa.Zf};f.Zh=function(){return this.Aa.Zh};function gu(){this.g=[]}f=gu.prototype;f.getId=function(){return this.lb};f.Zg=function(a){this.lb=a};f.hb=function(){return this.Ec};f.Og=function(){return this.s};function hu(a,b,c){if(iu(a,b)||null==a.ma||!a.j)c&&c(null);else{var d=a.ma.clone();a=r(a.Es,a,b,c||Ma);R(d,"id",b);pl(d,a,"POST")}}function ju(a,b,c){if(iu(a,b)&&null!=a.oa&&a.na){var d=a.oa.clone();a=r(a.Ts,a,b,c||Ma);R(d,"id",b);pl(d,a,"POST")}else c&&c(null)} f.Es=function(a,b,c){var d=null;yl(c.target)&&(d=new fu,d.Aa.om=a,this.g.push(d));b(d)};f.Ts=function(a,b,c){var d=null;yl(c.target)&&(d=iu(this,a),ku(this,d));b(d)};function ku(a,b){qb(a.g,function(c){return c.Yb()==b.Yb()})}function iu(a,b){return kb(a.g,function(c){return c&&c.Yb()==b})};function lu(a){this.Aa={};this.Aa.title=a.title;this.Aa.$p=a.subtitle;this.Aa.Hk=a.authors;this.Aa.Dp=a.preview_url;this.Aa.Ug=a.info_url;this.Aa.Cj=a.pub_date;this.Aa.kp=a.num_pages;this.Aa.lq=a.viewability;this.Aa.Yw=a.subject;this.Aa.cq=a.thumbnail_url;this.Aa.hm=a.snippet;this.Aa.Rw=a.list_price;this.Aa.Pp=a.sale_price;this.Aa.Ww=a.sale_price_better;this.Aa.$u=a.offer_price;this.Aa.Mk=a.buy_url;this.Aa.Hp=a.read_url;this.Aa.tj=a.is_free_ebook||!1;this.Aa.rj=a.in_my_ebooks||!1;this.Aa.Tw=a.my_ebooks_url|| "";this.Aa.Gp=a.rating_score||0;this.Aa.Yu=a.num_reviews||0;this.Aa.Rd=a.is_purchased||!1;this.Aa.Yh=a.is_ebook||!1;this.Aa.bx=a.write_review_url||"";this.Aa.gt=a.add_to_my_ebooks_url||"";this.Aa.wv=a.preview_ebook_url||"";this.Aa.Kv=a.reviews_url||"";this.Aa.Sj=a.view_order_url||"";this.Aa.Iw=a.add_to_my_ebooks_url;this.Aa.Ds=a.add_to_my_ebooks_url_is_on_play||!1;this.Aa.oj=a.has_flowing_text||!1;this.Aa.qj=a.has_scanned_text||!1;var b=op(a.info_url);this.Aa.om=b;this.Aa.Kw=a.canonical_atb_url|| "";this.Aa.xl=a.is_rentable||!1;this.Aa.ag=a.is_pre_order||!1;this.Aa.yp=a.on_sale_date||"";this.Aa.Zf=a.is_pre_ordered||!1;this.Aa.Qw=a.issue_volume_count||0;this.Aa.Zh=a.is_volume_cancelled||!1;this.Aa.Gs=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.Ej=1;break;case 2:this.Aa.Ej=2}this.Aa.Gv=a.rental_end_utc||0}m(lu,fu);function mu(a){this.g=[];this.Zg(a.id);this.o=a.owner_uid;this.Ec=a.title;this.s=a.description;this.va=a.num_volumes;this.ye=a.access||"0";this.Pa=a.can_modify_metadata;this.O=a.predefined;this.na=a.can_remove_volumes;this.j=a.can_add_volumes;this.ua=a.can_only_add_ebooks||!1;this.ma=new Q(a.add_vol_base_url);this.oa=new Q(a.del_vol_base_url);void 0!==a.paused&&(this.i=a.paused,this.N=a.pause_bookshelf_url);a.volumes&&(this.g=ib(a.volumes,function(b){return new lu(b)}))}m(mu,gu);function nu(){W.call(this);this.j=[];this.i=[]}u(nu,W);function ou(a){var b=new Q(uf().location);b=new Q(b);return a===parseInt(S(b,"as_coll"),10)}function pu(a,b,c){qu(a,b.getId())||(a=b.O?a.j:a.i,c?ub(a,void 0,0,b):a.push(b))}function ru(a,b,c){var d=1==b.ye;a=new Q(a);R(a,"cl_title",b.hb());R(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.Og()));pl(a,c,"POST",b)} nu.prototype.N=function(a){a=a.target;if(yl(a)){a=new mu(Al(a));var b=qu(this,a.getId());b.Ec=a.hb();b.s=a.Og();b.ye=a.ye;b=new Zi("update",this);b.shelf=a;this.dispatchEvent(b)}};nu.prototype.o=function(a,b){b=b.target;yl(b)&&(b=new mu(Al(b)),pu(this,b,a),a=new Zi("add",this),a.shelf=b,this.dispatchEvent(a))};function su(a,b){a.s=new Q(b);R(a.s,"jscmd","ClCreate")}function qu(a,b){return kb(tu(a),function(c){return c.getId()==b})}function tu(a){return zb(a.j,a.i)};function uu(a,b){var c=C("A",{},"View order");ze(c,a);c.classList.add(b);return c};function vu(a,b,c){$t.call(this,a,b,c);S(new Q(this.data.Aa.Ug),"dapp")}m(vu,$t); vu.prototype.render=function(a){Bf(a);var b=C("DIV",this.g),c=C("DIV",this.g+"-meta");this.j(c);var d=C("DIV",this.data.Aa.Yh?this.g+"-footer":this.g+"-footer-nonebook"),e=C("DIV",this.g+"-footer-inner");if(this.data.Aa.Yh)if(this.data.Zh()&&ou(1))wu(this,e);else if(this.data.Aa.ag&&!this.data.Rd()||this.data.Zf()){var g=C("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.Aa.yp;e.appendChild(g);this.data.Zf()&&ou(1)&&wu(this,e)}else if(this.data.Rd()&&ou(1))xu(this,e),wu(this, e);else{xu(this,e);g=!this.data.Rd()&&!this.data.Aa.tj;var h=this.data.Aa.tj&&!this.data.Aa.rj;if(g||h){g=C("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.Aa.wv||this.data.Aa.Hp){for(var k=h.search(Vj),l=0,n,p=[];0this.maxWidth&&K(a,this.maxWidth,"")}; vu.prototype.j=function(a){if(!(this.data.Rd()||this.data.Zf()||this.data.Zh())&&this.data.Aa.Sj&&ou(1)){var b=C("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.g+"-error-icon"});b=C("DIV",this.g+"-card-error",b,"Credit card declined:");if(this.data.Aa.Sj){var c=uu(this.data.Aa.Sj,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}$t.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.Yh?(this.data.Aa.tj?this.data.Aa.rj? yu(this,b):du(this,b,"eBook - FREE",this.data.Aa.gt,!this.data.Aa.Ds,void 0,"unified-hovercard-free-btn"):this.data.Zf()?(c=C("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.Zh()&&ou(1)?(c=C("DIV",this.g+"-cancelled"),d=this.data.Aa.Gs,0==d?H(c,"Cancelled - by customer request"):1==d?H(c,"Cancelled - problem with eBook"):2==d?H(c,"Cancelled - price change"):3==d?H(c,"Cancelled - publisher cancellation"):H(c,"Cancelled"),b.appendChild(c)):this.data.Rd()||this.data.Aa.rj?!this.data.Rd()&& this.data.Aa.rj?zu(this,b):this.data.Rd()&&yu(this,b):zu(this,b),ou(7)&&(c=C("SPAN",this.g+"-offline-remove-options"),d=C("SPAN",{id:"unified-hovercard-remove-from-ebooks","class":this.g+"-fake-link"},"Remove from My eBooks"),d.id="hovercard-remove-from-my-ebooks",c.appendChild(d),b.appendChild(c))):(c=this.data.Aa.Dp,Tc(eu,this.data.Aa.lq)&&!Nb(c)?du(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):du(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function wu(a,b){var c=C("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.Aa.Sj;d&&(d=uu(d,""),c.appendChild(d));a.data.Zf()||(d=C("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),x(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)} function zu(a,b){a.data.Aa.ag&&!a.data.Rd()?du(a,b,"Pre-order eBook - "+a.data.Aa.Pp,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.xl()?du(a,b,"EBOOK FROM "+a.data.Aa.$u,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn"):du(a,b,"Buy eBook - "+a.data.Aa.Pp,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn")}function yu(a,b){du(a,b,"Read now",a.data.Aa.Hp,void 0,void 0,"unified-hovercard-read-now")} function xu(a,b){var c=C("DIV",a.g+"-supported-devices"),d=a.g+"-device-type",e=a.g+"-device-supported",g=a.g+"-device-not-supported",h=C("SPAN",d,"Web"),k=C("SPAN",d,"Tablet / iPad"),l=C("SPAN",d,"eReader");d=C("SPAN",d,"Smartphone");var n=C("SPAN","goog-inline-block"),p=C("SPAN","goog-inline-block"),w=C("SPAN","goog-inline-block"),D=C("SPAN","goog-inline-block");a.data.Aa.oj?(x(n,e),x(p,e),x(w,e),x(D,e)):(a.data.Aa.qj?(x(n,e),x(p,e)):(x(n,g),x(p,g)),x(w,g),x(D,g));c.appendChild(n);c.appendChild(h); c.appendChild(p);c.appendChild(k);c.appendChild(w);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function Au(a,b,c){Xt.call(this,a);this.Xb=fm();this.j=this.Ba=this.o=null;this.Rb=b;this.i=null;this.Vb=!!c;this.render(b);Bu(this)}m(Au,Xt);Au.prototype.wa=function(){au(this.i).Ha();F(this.ha())};Au.prototype.ai=function(a,b){Xt.prototype.ai.call(this,a,b);this.isVisible()&&(this.Hl=this.Xb?new fh(0,-2,0,0):new fh(0,0,0,-2),this.isVisible()&&this.ng(),this.o=this.g,Cu(this))}; Au.prototype.render=function(a){this.i&&(this.i.Ha(),this.j=this.Ba=null);this.i=new vu(a,this.className,435,this.Vb);this.i.render(this.ha());Bu(this);this.isVisible()&&Cu(this)}; function Cu(a){var b=C("DIV"),c=C("DIV");var d=Mh(a.o||null);var e=Mh(a.ha());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=nh(e,d);h||(h=new jh(d.left,0,d.width,0));d=a.Xb?e.left+e.width-h.left-(h.width/2+12):h.left-e.left+(h.width/2-12);e={x:0=a?"Expiring soon":48>=a?a+" hours":c+" days"):a="",this.s=C("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.s)):!this.o||this.i.Rd()||this.i.Aa.tj||(this.s=C("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.s));qj(b,"mouseover",this.na.bind(this,b))};Du.prototype.oa=function(){this.dispatchEvent("render");Eu.dispatchEvent("complete");this.s&&Lh(this.s,L(this.j).width)};Du.prototype.na=function(a,b){(new Au(a,this.i)).Ke(b)};function Fu(a,b,c){Du.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}m(Fu,Du);Fu.prototype.Qc=function(a){qj(this,"render",r(this.ua,this));Du.prototype.Qc.call(this,a);a.appendChild(this.N)};Fu.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function Gu(a,b,c){Fu.call(this,a,b,c)}m(Gu,Fu);Gu.prototype.Qc=function(a){Fu.prototype.Qc.call(this,a)};Gu.prototype.ma=function(){var a=this.i,b=E("DIV"),c=C("A",{className:"slider-annotation-title"},yf(a.hb()));ze(c,a.Aa.Ug);b.appendChild(c);if(a=a.Aa.Hk)a=C("DIV","slider-annotation-author",yf(a)),b.appendChild(a);K(b,L(this.j).width+5,"");return b};function Hu(){this.g=Iu;this.kg=5E3}var Ju=0;Hu.prototype.send=function(a,b,c,d){a=a?Yc(a):{};d=d||"_"+(Ju++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(q[e]=Ku(d,b),a.callback=e);b={timeout:this.kg,Js:!0};e=vd.exec(ud(this.g).toString());var g=e[3]||"";e=wd(e[1]+xd("?",e[2]||"",a)+xd("#",g,void 0));b=Ho(e,b);Do(b,null,Lu(d,a,c),void 0);return{lb:d,ao:b}};Hu.prototype.cancel=function(a){a&&(a.ao&&a.ao.cancel(),a.lb&&Mu(a.lb,!1))}; function Lu(a,b,c){return function(){Mu(a,!1);c&&c(b)}}function Ku(a,b){return function(c){Mu(a,!0);b.apply(void 0,arguments)}}function Mu(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=Ma};function Nu(a,b,c){P.call(this);this.ma=a;this.na=c;this.j=b;O(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.N=null;this.i=[];this.s=-1;this.g=0;this.o=this.O=null;this.va={}}u(Nu,P);f=Nu.prototype;f.ik=!0;f.Fk=!1;f.wd=function(){return this.j}; f.handleEvent=function(a){var b=this.ma;if(a.target==this.j)switch(a.type){case "hilite":this.Le(a.Ef);break;case "select":var c=!1;if("number"===typeof a.Ef){a=a.Ef;var d=this.i[Ou(this,a)];c=!!d&&b.yl&&b.yl(d);d&&!c&&this.s!=a&&this.Le(a)}c||this.eg();break;case "canceldismiss":Pu(this);break;case "dismiss":Qu(this)}};f.ji=function(a){this.N!=a&&(this.N=a,this.ma.Lp(this.N,10,r(this.Pu,this)),Pu(this))};f.qd=function(){return this.j.isVisible()}; function Ru(a){for(var b=a.g+a.i.length-1,c=a.s,d=0;d=a.g&&cb||b>=a.i.length?-1:b}f.update=function(a){this.na.update(a)};function Tu(a){var b=0,c=0;Vu(a)&&(b=a.selectionStart,c=-1);return[b,c]}function Vu(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function Wu(a,b,c,d){Wi.call(this);d=d||150;this.j=null!=c?c:!0;this.o=a||",;";this.ua=this.o.charAt(0);a=this.j?"[\\s"+this.o+"]+":"[\\s]+";this.na=new RegExp("^"+a+"|"+a+"$","g");this.oa=new RegExp("\\s*["+this.o+"]$");this.O=b||"";this.va=this.j;this.Ya=0b.g)c--;else{b.Fk&&c==b.g&&b.Le(-1);break}if(b.Le(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.qd()||a.shiftKey)this.g.De();else if(this.update(),this.g.eg()&&this.va)return a.preventDefault(),!0;break;case 13:if(this.g.qd()){if(this.update(),this.g.eg())return a.preventDefault(), a.stopPropagation(),!0}else this.g.De();break;case 27:if(this.g.qd())return this.g.De(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.If)return this.If||(this.i.ka(this.Mb,"keyup",this.rp),this.i.ka(this.Mb,"keypress",this.qp),this.If=!0),!0}return Zu(this,a)};function Zu(a,b){var c=a.j&&b.charCode&&-1!=a.o.indexOf(String.fromCharCode(b.charCode));c&&a.update();return c&&a.g.eg()?(b.preventDefault(),!0):!1}f.Ot=function(){return!1};f.Mm=function(a){Yu(this,a.target||null)}; function Yu(a,b){Gj(a.N);a.g&&Pu(a.g);b!=a.Mb&&(a.Mb=b,a.Ya&&(a.Ya.start(),a.i.ka(a.Ya,"tick",a.Om)),a.El=a.Ab(),a.s.attach(a.Mb),a.i.ka(a.s,"key",a.Nm),a.i.ka(a.Mb,"mousedown",a.vp),z&&a.i.ka(a.Mb,"keypress",a.np))}f.Nq=function(){this.Mb&&(this.i.Xa(this.s,"key",this.Nm),Mq(this.s),this.i.Xa(this.Mb,"keyup",this.Ot),this.i.Xa(this.Mb,"mousedown",this.vp),z&&this.i.Xa(this.Mb,"keypress",this.np),this.If&&$u(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.Om)),this.g&&Qu(this.g))}; f.Om=function(){this.update()};f.kv=function(a){this.Mm(a)};f.Nm=function(a){this.ma=a.keyCode;this.g&&this.Sc(a)};f.qp=function(){this.If&&229!=this.ma&&$u(this)};f.rp=function(a){this.If&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&$u(this)};f.vp=function(){};function $u(a){a.If&&(a.If=!1,a.i.Xa(a.Mb,"keypress",a.qp),a.i.Xa(a.Mb,"keyup",a.rp))}f.np=function(a){Zu(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Ab()!=this.El)){if(a||!this.Sl){a=Tu(this.Mb)[0];var b=this.Ab();a=Uu(this,b)[Su(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.O=this.Mb,this.g.ji(a,this.Ab()))}this.El=this.Ab()}this.Sl=!1};function Su(a,b,c){a=Uu(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;dd;d++)e=2*d,b.nodeValue=c[e],g=Yf(a.g,"B"),g.className=a.Ka,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.Ba=!0}else d&&fv(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,fv(a,b,c),b=d}function gv(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Nb(Ze(c))}));Array.isArray(a)?b=0Xa()-this.va)&&this.dispatchEvent({type:"hilite",Ef:this.i[a].id})};function iv(a,b,c,d){this.ua=a;this.oa=null;this.Ka=c||null;this.Ca="boolean"===typeof b?b:!0;this.Ba=d||0;b=new jv;c=new kv(this.Ka||a,this.Ba);c.ua=!0;d=new Wu(null,null,!1);Nu.call(this,b,c,d);d.g=this;d.Mq(a);this.O=a;this.ik=!1;this.Fk=!0;O(this,"update",r(this.Ja,this))}u(iv,Nu);iv.prototype.eg=function(){this.La=this.ua.value;iv.ta.eg.call(this);return!1}; iv.prototype.Ja=function(a){a.Ef&&(a=this.ua.form,this.oa||(this.oa=C("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.oa)),this.oa.value=this.La,this.Ca&&a.submit())};function jv(){}var Iu=wd(hd(id("//suggestqueries.google.com/complete/search")));jv.prototype.Lp=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 Hu;this.i.send(a,c)};jv.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)}; function kv(a,b){av.call(this);this.Ja=a;this.La=b||0}u(kv,av);kv.prototype.jk=function(){kv.ta.jk.call(this);var a=0,b=B("gbfwa");b||(b=mf("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(jf("div","ac-renderer"),function(c){a&&J(c,"top",a+"px");J(c,"width",L(this.Ja).width-2+"px");J(c,"left",parseInt(c.style.left,10)+this.La+"px")},this)};function lv(a,b,c,d,e){W.call(this);this.O=a;this.N=b;this.ua=e;this.Cb="number"===typeof d?d:this.N?200:80;this.N||x(this.O,"slider-small");this.ma=[];this.j=E("A");this.j.textContent=fm()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Rh(this.j,!0);this.O.appendChild(this.j);this.i=E("div");x(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=E("A");this.o.textContent=fm()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");Rh(this.o,!0);this.O.appendChild(this.o); this.g.ka(this.j,"click",this.Ll.bind(this,-.75));this.g.ka(this.o,"click",this.Ll.bind(this,.75));this.wi();this.g.ka(this.j,"click",this.Ll.bind(this,-.75));this.resize();this.oa=0;this.na=8=a.ma.length&&a.dispatchEvent("render")}f=lv.prototype; f.Ys=function(a){var b=C("DIV",{"class":"goog-inline-block slider-loading"});this.i.appendChild(b);var c=C("DIV",{"class":"goog-inline-block slider-drawable"});M(c,!1);this.i.appendChild(c);this.g.yf(a,"render",this.$s.bind(this,b,c));a.Qc(c)};f.$s=function(a,b){F(a);this.wi();M(b,!0)};function mv(a,b){b=b.map(function(c){return this.N?new Gu(c,this.Cb):new Du(c,this.Cb,this.ua)},a);pv(a,b)}function pv(a,b){tb(a.ma,b);nv(a)} f.Ll=function(a){(fm()?0>a:0=this.i.scrollWidth-L(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.wi()}; function ov(a){var b=a.N?110:50;return Math.ceil(L(a.i).width/b)};function qv(a,b,c){W.call(this);this.i=a;this.source=b?b:"gbs_bookshelf_slider";this.ma=0;this.o=new Ij;this.ua=this.o.Fa();this.oa="";this.va="boolean"===typeof c?!c:!1;qj(this.o,"resize",r(this.Sm,this))}m(qv,W);f=qv.prototype;f.Sm=function(){this.o.Fa().width>this.ua.width?this.Gh():qj(this.o,"resize",r(this.Sm,this))};f.render=function(a){this.N=a;this.j=this.il(a);this.g.ka(this.j,"render",r(this.Gh,this))};f.il=function(){return new lv(this.N,!0,void 0,void 0,this.i.getId())}; f.Gh=function(){this.j.resize();var a=Math.ceil(1.25*ov(this.j))+1,b=this.nf(this.ma,a);b&&(this.ma+=a,pl(b,r(this.ou,this)))};f.Mg=ba(2);f.ou=function(a){a=a.target;if(yl(a)){if((a=(new mu(Al(a))).g)&&a.length){var b=op(a[a.length-1].Aa.Ug);this.oa!=b&&(this.oa=b,pv(this.j,rv(this,a)));(a=Vf(this.ha()))&&Nh(a,1)}else 0==this.j.oa&&this.Kp();this.dispatchEvent("success")}}; function rv(a,b){return a.Sk(b).map(function(c){return this.j.N?new Gu(c,200,this.i.getId()):new Du(c,80,this.i.getId())},a)}f.Kp=function(){};f.ha=function(){return this.N};f.Sk=function(a){return this.source?a.map(function(b){b.Aa.source=this.source;return b},this):a};function sv(a,b,c){this.j=a;this.g=b;this.s=c||!1;a=this.Fa();this.i()?a.height=120:a.height=65;this.mb(a)}m(sv,Tl);sv.prototype.i=function(){var a=B("gb-mobile-menu-pubinfo");return a?0=d||1==Math.abs(c-d)?d="Some pages are omitted from this book preview.":Cv(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 Bv(a){a=a.hb();var b;/[^0-9]/.test(a)||Nb(a)?b=null:b=Mb(a,"B")?Is(a,Ls):Is(a,Ks);return b} function Cv(a,b){a=Bv(a);b=Bv(b);return 0==a+1-(b-1)};function Dv(a,b){W.call(this);this.o=a;this.N=b;this.s=b.j;this.j=b.g;this.i=E("DIV");this.i.className="separator-container";this.o.appendChild(this.i);a=E("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=E("DIV");d.className="separator-background";c.appendChild(d);c=E("TABLE");c.className="separator-inner-table";d.appendChild(c);c.align="center";if(b.i()){var e=B("gb-mobile-menu-pubinfo");if(e){b=hf("IMG",e);if(1==b.length){b= b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);Ef(g,b,0);x(g,"separator-message");x(g,"separator-pubinfo-message")}b=Av(this.s,this.j);e=Sf(e);c=c.insertRow(-1).insertCell(-1);g=E("SPAN");g.className="separator-text";c.appendChild(g);var h=this.N;h.i&&h.s?N(g,zi(e)):N(g,zi(b+""+e));x(c,"separator-message");x(c,"separator-pubinfo-message")}x(a,"separator-pubinfo");x(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),x(a,"separator-message"),a.textContent=Av(this.s,this.j);Rh(this.i, !0);V(this.i)}m(Dv,xm);Dv.prototype.mb=function(a){K(this.i,a)};Dv.prototype.setPosition=function(a){wh(this.i,a)};Dv.prototype.Na=function(){F(this.i)};function Ev(a){var b=this;W.call(this);this.o=a;this.j=a.s;this.mb(Vh(this.j));this.Gb=new A(0,0);this.O=null;this.na=new mm(function(){M(b.O,!1)},600);Xi(this,this.na)}u(Ev,W);f=Ev.prototype;f.mb=function(a){if(!this.i||!Le(this.i,a)){this.i=a;var b=this.o;b.ma=a;Fv(b);this.dispatchEvent("resize")}};f.Xc=function(a){this.wc=a;this.N.Na();var b=this.o,c=this.Fa();b.ma=c;Fv(b);b=this.o;a=new Ke(a.Bb(),a.Db());b.oa=a;b.o=!0;K(b.i,a);T(b.na,0,b);Fv(b);this.dispatchEvent("layoutchange")}; function Gv(a,b){a.N=b}f.fl=function(){return this.N};f.Kb=function(){return this.wc};f.hc=function(){var a=this.wc.Kd();this.oa&&(a=this.oa.dl(a));Wp(this.N,a);this.dispatchEvent("update")};function Hv(a,b){a.oa=b} f.Yc=function(a){var b=this.Gb.x,c=this.Gb.y;"number"===typeof a.x&&(a.x=Ge(a.x,0,Math.max(this.wc.Bb()-this.i.width,0)));"number"===typeof a.y&&(a.y=Ge(a.y,0,Math.max(this.wc.Db()-this.i.height,0)));"number"===typeof a.x&&(b=a.x);"number"===typeof a.y&&(1c.width||Math.abs(b.y-a.y)>c.height?this.Ed(a):(this.s&&(this.s.Ha(),this.s=null),this.s=new tm([b.x,b.y],[a.x,a.y],250+250*Ge(Ie(b,a)/800,0,1),wm),O(this.s,"animate",r(this.Um,this)),O(this.s,"end",r(this.Pq,this)),this.dispatchEvent("movestart"),qj(this,"movestart",r(this.s.Ha,this.s)),this.s.play())};f.Um=function(a){a=a.coords.map(Math.round);this.Yc(new A(a[0],a[1]))};f.Pq=function(a){this.Um(a);this.dispatchEvent("moveend")}; f.Fb=function(){return this.j};f.Je=ba(3);f.Kc=function(){return new A(Math.round(this.Gb.x+this.i.width/2),Math.round(this.Gb.y+this.i.height/2))};f.Oe=function(a){return new A(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.wa=function(){Ev.ta.wa.call(this);this.N.Na()};f.Zk=function(a){null==this.O&&(this.O=a);this.O.style.opacity=0;this.na.start()};f.dt=function(){var a=this;this.na.stop();M(this.O,!0);T(function(){a.O.style.opacity=1})};f.Tm=1;function Kv(a,b){Ev.call(this,b);this.vb=a;this.g.ka(a,"pagechange",this.Od);this.g.ka(this.vb,"searchupdate",this.ol);if(a=B("subscription-bar"))this.g.ka(this,"scrolldown",t(this.Zk,a)),this.g.ka(this,"scrollup",t(this.dt,a))}u(Kv,Ev);f=Kv.prototype;f.Ld=function(){var a=this.wc.Kd(),b=[];this.oa&&(a=this.oa.ki(a)[0]||[]);v(a,function(c){c instanceof dm&&b.push(c.Ga())});return b};f.ih=function(a){this.hg(!1,!1);this.We(this.Ig(a))}; f.Ve=function(a){var b=[];"fixed_width"==this.Kb().Wf()&&b.push(this.Fa().width);this.ee&&(a=Yp(this.ee(),this.Kb().o(),a,b))&&this.ih(a)};f.Ge=function(){this.hg(!0,!1);var a=this.Fa().width;this.We(this.Ig(a))};f.wf=ba(4);f.hg=function(a,b){this.Kg=a;this.aj=b};f.resize=function(){if(this.Kg)this.Ge();else{var a=this.Kb().o();a&&this.ih(a)}};f.We=function(a){var b=this.Kb();this.Xc(a);b&&(a=Cm(new Bm(b,a),this.Kc()),(a=this.Oe(a))&&this.Ed(a))};f.Od=function(){this.Xh||this.Nd(this.vb.Ga())}; f.Nd=function(a){this.wc.zc&&(a=this.wc.zc(a))&&this.Yc(new A(Math.round(a.be()),Math.round(a.od())))};f.ol=function(){Lv&&(this.fl().Na(),this.va&&this.va(),this.hc())};var Lv=!0;function Mv(a,b){this.Ea=a;this.g=b}m(Mv,yp);Mv.prototype.render=function(a){var b=this.g(),c=a.Ga(),d=eb(this.Ea.ee().Jf)/a.Fa().width,e=a.Fa();b.zj=e.width;b.Xg=e.height;e=a.Fa().clone();e.width*=d;e.height*=d;b.yu=e.width;b.vu=e.height;b.setPosition(a.be(),a.od());b.ub(c);b.Qc();return b};function Nv(){};function Ov(a){this.Ea=a}u(Ov,Nv);Ov.prototype.dl=function(a){var b=this.ki(a);a=b[0]||[];b=b[1]||[];b.sort(t(Pv,this.Ea.Kc()));var c=[];tb(c,a,b);return c};function Pv(a,b,c){return ih(kh(Ul(b)),a)-ih(kh(Ul(c)),a)}Ov.prototype.ki=function(a){var b=Iv(this.Ea),c=new jh(b.left-800,b.top-800,b.width+1600,b.height+1600);return yb(a,function(d){d=Ul(d);if(nh(c,d))return nh(b,d)?0:1})};function Qv(a,b){this.Ea=b;this.V=a}m(Qv,Ov);Qv.prototype.dl=function(a){var b=Ov.prototype.dl.call(this,a),c=this.V.Ga();if(c){var d=[],e=this.V.rb();v([1,-1],function(){var g=to(e,c.Qa(),1);g&&d.push(g)});v(a,function(g){g.Ga&&mb(d,g.Ga())&&nb(b,g)})}return b};function Rv(){W.call(this)}u(Rv,W);Rv.prototype.te=function(a){this.i=a;this.s=Sv(a)};Rv.prototype.wa=function(){Rv.ta.wa.call(this);F(this.s)};function Tv(a){W.call(this);this.ma=a;this.O=[]}u(Tv,Rv);f=Tv.prototype;f.te=function(a){Tv.ta.te.call(this,a);this.oh();this.Ga()&&this.g.ka(this.Ga(),"update",this.oh)};f.Ga=function(){return this.i.Ga()};f.nh=function(a,b,c,d){var e=E("div");V(e,!0);this.s.appendChild(e);a=Uv(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.ma&&(J(e,{backgroundColor:this.ma}),Nh(e,.3));this.O.push(new jh(a[0],a[1],a[2],a[3]));return e}; function Vv(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function Uv(a,b,c,d,e){var g=Vv(a);return ib([b,c,d,e],function(h){return Math.round(h*g)})}function Wv(a,b){v(b,function(c){this.nh.apply(this,c)},a)}f.jo=function(a){return this.nh(a.left,a.top,a.width,a.height)};f.vg=function(){Bf(this.s);this.O=[]};f.oh=Ma;function Xv(){Tv.call(this)}m(Xv,Tv);f=Xv.prototype;f.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Op(a))&&(Wv(this,a),this.j=!0)}}; f.nh=function(a,b,c,d){this.o=Tv.prototype.nh.call(this,a,b,c,d);J(this.o,{border:"2px #aaaaff dashed"});this.N=E("IMG");this.o.appendChild(this.N);this.N.src="/googlebooks/images/dialog_close_x.gif";a=Uv(this,a,b,c,d);J(this.N,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});O(this.o,"mouseout",r(this.Qq,this));O(this.o,"mouseover",r(this.Vo,this,!0));qj(this.N,"click",r(this.Na,this));return this.o};f.Na=function(){F(this.o)}; f.Qq=function(a){Lf(this.o,a.target)||this.Vo(!1)};f.Vo=function(a){J(this.N,{display:a?"":"none"})};function Yv(a){Tv.call(this);this.V=a}m(Yv,Tv);Yv.prototype.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Np(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.nh.apply(this,b);J(b,{cursor:"pointer"});this.g.ka(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};Yv.prototype.o=function(a,b){(a=uo(this.V.rb(),a))?this.V.ub(a):cp(this.V,b)};function Zv(a,b){this.s=a;this.g=b}Zv.prototype.Ga=function(){return this.s};Zv.prototype.i=function(){return this.s.xd(this.g)};function $v(a,b,c){Zv.call(this,a,b);this.j=c}m($v,Zv);$v.prototype.i=function(){return this.j.width>this.g.width?this.s.xd(this.j):Zv.prototype.i.call(this)};function aw(a,b,c,d,e){W.call(this);this.$g(a.Ia());this.V=a;this.i=c;this.na=[];this.Vm=d;K(d,c);this.ua=Sv(this);J(this.ua,"backgroundColor","#fff");K(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=Sv(this),K(a,c),this.va=new bw(a),this.va.show();b&&(this.s=b,this.g.ka(b,"update",this.wg),ep(b))}u(aw,W);f=aw.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.s};function cw(a,b){a.na.push(b);b.te(a)}f.wg=Ma;function dw(a){a.dispatchEvent("load");a.Ba&&a.va.kb()} function Sv(a){var b=E("div");V(b,!0);J(b,{position:"absolute",left:0,top:0});a.Vm.appendChild(b);return b}f.Na=function(){v(this.na,function(a){a.Ha()});this.na=null;this.o&&F(this.o)};function ew(a){a.N=Sv(a);K(a.N,a.Fa());J(a.N,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ka(a.N,"mousedown",a.Rq);a.g.ka(a.N,"dragstart",$i)}f.Rq=function(a){a.display=this;fw.dispatchEvent(a)};var fw=new P; function bw(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;2>b;b++){var c=E("div");V(c);J(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}bw.prototype.show=function(a){J(this.g,{display:a?"none":""})};bw.prototype.kb=function(){this.show(!0)};aw.prototype.Zl=function(){gw(this)};function gw(a,b){a.o&&F(a.o);a.o=Sv(a);new hw(a.o,a.Fa(),b)} function hw(a,b,c){this.g=a;J(a,{backgroundColor:"#FFF",textAlign:"center"});K(a,b);N(a,Rl(c||""));V(this.g)};function iw(a,b,c){aw.call(this,a,b.Ga(),b.g,c);this.$g(jw);a=Sv(this);this.ma=new kw(b.g,a);a=Sv(this);this.O=new kw(b.g,a);ew(this);Rh(c,!0);x(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.wg()}m(iw,aw);f=iw.prototype;f.ub=function(a){Hp(a,"output",null);aw.prototype.ub.call(this,a);a.xd()&&this.wg()}; f.wg=function(){var a=this.Ga(),b=this.oa.i();if(b&&!this.j){b=lw(b);qj(this.ma,"load",r(this.Sq,this,a,b,this.Fa().width));mw(this.ma,[b]);var c=Yo(this.V.Xb,a.Qa());c.push(b);mw(this.O,c);this.j=!0;a==this.V.Ga()&&this.dispatchEvent("fetch")}Kp(a,[16,8])&&(a=Me('%s',mp("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),gw(this, a),dw(this))};f.Sq=function(a,b,c){a==this.V.Ga()&&this.dispatchEvent("loaded");this.O.empty();var d=this.V.Xb;a=a.Qa();d.g[a]=d.g[a]||{};d.g[a][c]=b;dw(this)};f.mc=ba(7);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();aw.prototype.Na.call(this)};var jw=new P,lw=Nc;function kw(a,b){P.call(this);this.i=a;this.j=b;this.zf=!1;this.g=E("IMG");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}m(kw,P);kw.prototype.empty=function(){for(var a;a=Hf(this.j);)vp(a)}; function mw(a,b){rp(a.g,r(a.s,a,a.g));for(var c=0;cMath.abs(e[0])&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.O||(this.O=new il(100),this.g.ka(this.O,"tick",this.Wq));this.ma=d;d.x||d.y?this.O.start():this.O.stop()}}};f.Wq=function(){var a=this.ma,b=this.Ea;Jv(b,new A(15*a.x,15*a.y),r(b.Ed,b))}; f.at=function(){yj(this.N);Vi(this.O);this.O=null};function yw(){this.g=!1;var a=C("DIV","entity-page-snackbar"),b=C("SPAN","entity-page-snackbar-text");H(b,"Selection copied to clipboard");a.appendChild(b);Gm(a,"hidden",!0);document.body.appendChild(a);this.s=a}yw.prototype.show=function(){this.g?(this.i(),T(r(this.j,this),500)):this.j();T(r(this.i,this),6E3)};yw.prototype.j=function(){J(this.s,"bottom","0");this.g=!0};yw.prototype.i=function(){J(this.s,"bottom","-48px");this.g=!1};function zw(a){this.i=a;this.s=new yw;this.j=Aw(this)}zw.prototype.ha=function(){return this.j}; function Aw(a){var b=C("DIV");Hb(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("IMG");x(c,"entity-page-action-chip-icon");c.src="https://www.gstatic.com/images/icons/material/system/1x/content_copy_googblue_18dp.png";var d=C("SPAN");x(d,"entity-page-action-chip-label");H(d,"Copy");b.appendChild(c);b.appendChild(d);O(b,"click",r(a.g,a));Fm(b,"button");Rf(b,!0);O(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||a.g.call(a)});return b} zw.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.s.show()};function Bw(a){Or.call(this,a);tn(this);this.Wn=!1;this.g=new Bj;this.i=Cp();x(a,"viewport-selection-popup");Cw&&Cw.Ha();Cw=this}m(Bw,Or);Bw.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function Dw(a,b,c){var d=a.ha(),e=E("div");x(e,"selection-popup-select-container");d.appendChild(e);d=E("div");x(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(yf(b));e.appendChild(E("div"));b=E("input");b.value=c;x(b,"viewport-input");e.appendChild(b);Rh(b,!1);a.i&&(c=(new zw(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",Ew)}function Ew(a){a.stopPropagation()}Bw.prototype.wa=function(){F(this.ha());Or.prototype.wa.call(this);this.g.Ha()};var Cw=null;function Fw(a,b){this.g=a instanceof A?a:new A(a,b)}u(Fw,Gr);Fw.prototype.Pc=function(a,b,c,d){var e=ff(a);var g=e.body;e=e.documentElement;e=new A(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.g.x+e.x;e=this.g.y+e.y;var h=Ir(a);g-=h.x;e-=h.y;Kr(new A(g,e),a,b,c,null,null,d)};function Gw(a,b){Fw.call(this,a,b)}u(Gw,Fw);Gw.prototype.i=0;Gw.prototype.s=function(a){this.i=a};Gw.prototype.Pc=function(a,b,c,d){var e=zh(a);e=Ch(e);var g=tf(df(a).g);g=new A(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=Kr(g,a,h,c,e,10,d);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=Kr(g,a,h,c,e,10,d);0!=(k&496)&&Kr(g,a,b,c,e,this.i,d)}};function Hw(a){Tv.call(this,"#4a95d6");this.j=a}m(Hw,Tv);Hw.prototype.te=function(a){Tv.prototype.te.call(this,a);J(this.s,{cursor:"pointer"});this.g.ka(this.s,"mousedown",Iw)};function Iw(a){a.stopPropagation()} function vw(a,b,c,d){a.vg();ib(b,r(a.jo,a));a.N&&yj(a.N);a.o&&a.o.Ha();b=E("div");document.body.appendChild(b);var e=rw(a.O);if(e){var g=Dh(a.s);b=new Bw(b);if(c&&d){var h=a.Ga(),k=h.xd();if(k){var l=new Q(k);d=[d.left,d.top,d.width,d.height].join();R(l,"ci",d);R(l,"edge",0);l=l.toString();var n=new Q(h.Ac());R(n,"ci",d);R(n,"source","bookclip");n=Me('',n.toString(),l)}d=n;Bf(b.ha());n=b.ha();h=E("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";x(h, "selection-popup-close");n.appendChild(h);b.g.yf(h,"click",r(b.j,b));h=C("DIV",{},"Share this clip");x(h,"selection-popup-title");n.appendChild(h);c&&(Dw(b,"Selection text",c),n=E("DIV"),x(n,"selection-popup-translate-container"),b.ha().appendChild(n),h=new Q("https://translate.google.com/translate_t"),R(h,"text",c),R(h,"sl","auto"),R(h,"tl","auto"),c=E("A"),c.href=h.toString(),c.target="_blank",b.i&&(h=C("IMG"),Hb(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),h.src="https://www.gstatic.com/images/icons/material/system/1x/translate_googblue_18dp.png", c.appendChild(h)),h=C("SPAN"),H(h,"Translate"),x(h,"entity-page-action-chip-label"),c.appendChild(h),h=E("SPAN"),H(h,"\u00bb"),x(h,"selection-popup-translate-arrow"),c.appendChild(h),x(c,"selection-popup-translate-link"),x(c,"entity-page-action-chip"),n.appendChild(c));l&&Dw(b,"Image",l);d&&Dw(b,"Embed",d)}else c=E("DIV"),H(c,"Loading..."),x(c,"selection-popup-loading-msg"),b.ha().appendChild(c);Pr(b);a.o=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=L(b.ha()).width;24>c-g&&(c=g+24);T(t(Jw,b,new Gw(new A(c, e))));a.N=qj(b,"close",r(a.vg,a))}}function Jw(a,b){a.Hd||(a.setPosition(b),a.Da(!0))}Hw.prototype.vg=function(){Tv.prototype.vg.call(this);this.o&&this.o.Ha()};Hw.prototype.wa=function(){Tv.prototype.wa.call(this);this.o&&this.o.Ha();this.N&&yj(this.N)};function Kw(a,b,c){return a.Za().ij()?new nw(a,b,c):new iw(a,b,c)}function Lw(a,b){if(b instanceof iw){cw(b,new ow(a.tb()));cw(b,new Xv);var c=new Hw(a.Fb()),d=new ww(c,a.Ia());cw(b,d);cw(b,c);cw(b,new Yv(a))}};function Mw(a,b,c){W.call(this);this.V=a;this.Ea=b;this.j=E("div");V(this.j,!0);J(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=E("div");V(this.o,!0);J(this.o,{position:"absolute"});this.j.appendChild(this.o);this.N=E("div");V(this.N,!0);this.j.appendChild(this.N);this.O=E("div");V(this.O,!0);this.N.appendChild(this.O);this.kb()}u(Mw,xm);f=Mw.prototype; f.Qc=function(){var a=this.zj-2,b=this.Xg-2,c=this.yu-2,d=this.vu-2;J(this.N,{backgroundColor:"#cccccc",position:"absolute"});wh(this.N,0,0);K(this.N,this.zj,this.Xg);J(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});wh(this.O,1,1);K(this.O,a,b);this.show();var e=this.V;a=Kw(e,new $v(this.Ga(),new Ke(a,b),new Ke(c,d)),this.O);a instanceof iw?Lw(e,a):a instanceof nw&&a instanceof nw&&cw(a,new ow(e.tb()));this.i=a};f.kb=function(){M(this.j,!1)};f.show=function(){M(this.j,!0)}; f.mc=ba(5);f.Na=function(){this.i&&this.i.Na();F(this.j)};f.setPosition=function(a,b){wh(this.j,a,b)};f.od=function(){return yh(this.j).x};f.be=function(){return yh(this.j).y};f.ub=function(a){this.s=a};f.Ga=function(){return this.s};f.Db=function(){return this.Xg};f.Bb=function(){return this.zj};function Nw(a){return a+2}f.Fa=function(){return new Ke(this.zj,this.Xg)};function Ow(a){W.call(this);Bf(a);V(a);this.s=a;this.i=E("div");V(this.i,!0);fm()&&(of(a,{dir:"ltr"}),of(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(Ow,W);function Pw(a,b){Ow.call(this,b);this.Ea=a;this.g.ka(b,"scroll",this.N);J(b,"position","relative");J(this.i,"position","absolute");this.j=E("div");x(this.j,"scroll-background");V(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}m(Pw,Ow);function Fv(a){var b=a.oa;a.ma&&b&&(J(a.i,"left",Math.floor(Math.max(0,a.Ea.o.s.clientWidth-b.width)/2)+"px"),J(a.j,"height",b.height+"px"))}Pw.prototype.na=function(){this.o=!1;this.N()}; Pw.prototype.N=function(){if(!this.o){var a=this.Ea.Gb;if(a){a=a.clone();var b=this.s;b=new A(b.scrollLeft,b.scrollTop);He(a,b)||(this.O=!0,this.Ea.Ed(b),this.O=!1)}}};function Qw(a){var b=a.Fb(),c=new Pw(this,b);Rw(b);Kv.call(this,a,c);Hv(this,new Qv(a,this));Gv(this,Sw(this));var d=a.rb(),e=a.Za().Wf();this.ma=a.Za().O?function(g){return new xv(d,e,g)}:a.Za().na?function(g){return new xv(d,e,g,!0,a.Za().na)}:function(g){return new xv(d,e,g,!0)};b=this.vb.Za();"fixed_height"==b.Wf()?(b=b.ee(),b=b[Math.floor(b.length/2)]+2):b=Tw(b)+2;this.ih(b);this.g.ka(this.vb,"pagesupdate",this.Yt);this.g.ka(this.vb,"pagemodechange",this.Xq);this.g.ka(this,"move",this.hc);this.g.ka(this, "move",this.kw)}u(Qw,Kv);function Rw(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});x(a,"overflow-scrolling");of(a,{dir:"ltr"})}f=Qw.prototype;f.Mc=function(){this.Ve(1)};f.jd=function(){this.Ve(-1)};f.ee=function(){var a=this.vb.Za(),b=sb(a.ee());"fixed_width"==a.Wf()&&(a=this.vb.Za().Pa)&&150a?nb(b,a):nb(b,1500));return new Xp(ib(b,Nw))};f.Ig=function(a){return this.ma(a)}; f.Fa=function(){if(this.j.hasChildNodes()){var a=Vh(this.j.childNodes[0]).width;a=new Ke(a,this.i.height)}else a=this.i;return a};function Sw(a){var b=new Up;Vp(b,dm,new Mv(a,t(Oc,Mw,a.vb,a,a.o.i)));Vp(b,sv,new zv(a.vb,function(c){return new Dv(a.o.i,c)}));return b}f.kw=function(){if(this.Ca){var a=Xl(this.wc,this.Kc().y);a&&a.Ga&&(a=a.Ga(),this.vb.Ga()!=a&&(this.Xh=!0,this.vb.Bd(a.Qa()),this.Xh=!1))}this.Ca=!0}; f.Yt=function(){var a=this.vb.Ga(),b=this.vb.rb(),c=uo(b,a.Qa());if(!c)a:{c=ro(a);b=so(b);for(a=b.length-1;0=ro(c)&&ea.x&&(a.x=0);wh(this.i,a)};f.Qt=function(a){a.preventDefault();a.stopPropagation();this.V.Tb("previous")}; f.Da=function(a){J(this.i,{display:a?"":"none"})};f.Qc=function(){J(this.s,{left:0,top:0});J(this.N,{left:this.j.width+"px",top:0})};f.Ld=function(){return hb([this.ua,this.Ba],function(a){return!!a})};f.Na=function(){this.o.Na();this.O.Na();for(var a;a=this.na.pop();)yj(a);this.i.parentNode&&F(this.i)};function hx(a){return 2*a};function ix(a){this.V=a}m(ix,yp);ix.prototype.render=function(a){var b=new fx(this.V,a.Fa().width);b.setPosition(a.nd());b.Qc();b.Da(!0);return this.g=b};function jx(a,b,c){P.call(this);this.V=a;this.j=b;this.o=L(b).width;this.N=c;this.i=!1;this.g=fm()}m(jx,P);jx.prototype.xf=function(){return this.i};function kx(a,b){if(b!=a.i){a.i=b;var c=a.V.Ia().o.i;M(c,!1);L(c);[t(lx,a.j,a.N,a.o,a.g,b),r(a.s,a),t(M,c,!0)].forEach(T)}}jx.prototype.s=function(){this.dispatchEvent("change")};function lx(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="");M(a,!e)};var mx=null;function nx(a,b){Bj.call(this);this.i=mx;this.V=a;this.g=b;this.V.Za().O||(this.ka(this.V,"pageturn",this.s),this.ka(this.g,"dispose",this.Ha))}m(nx,Bj);nx.prototype.s=function(){var a=this.g.ma.g.Ld()[0]||new qp,b=this.g.ma.g.Ld()[1]||new qp,c=this.O,d=this.o,e=d?ro(d):-1,g=ro(a)||-1,h=ro(b)||-1,k=Math.max(c?ro(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.Tm){if(0l-k&&(n=-1!=h?b:a,p=d);1=ro(e[0]||e[1])&&aemail or IM"));this.ha().appendChild(a);this.s=E("input");K(this.s,"100%","auto");this.ha().appendChild(this.s);this.N&&(a=C("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.ha().appendChild(a),this.Fe=E("input"),K(this.Fe,"100%","auto"),this.ha().appendChild(this.Fe));a=this.V.Ga();b=(new Q(window.location)).g;var c=new Q(a.Ac()); c.g=b;this.s.value=c.toString();T(t(zx,this.s));this.N&&(a=new Q(a.Ac()),R(a,"output","embed"),this.Fe.value=Ax(a.toString()))};yx.prototype.Yl=function(){xx.prototype.Yl.call(this);this.g.ka(this.s,"click",t(zx,this.s));this.N&&this.g.ka(this.Fe,"click",t(zx,this.Fe))};function zx(a){a.select()}function Ax(a){return Me('',a)};function Bx(a,b){W.call(this);this.Ea=a;this.j=b;this.i=E("div");a.o.i.appendChild(this.i);x(this.i,"sitb_result");wh(this.i,b.nd());K(this.i,b.Fa());a=E("div");x(a,"sitb-result-header");this.i.appendChild(a);this.o=E("div");x(this.o,"sitb-result-page-link");b=b.g.g;this.o.textContent=b?"Page "+b:"Page";a.appendChild(this.o);this.s=E("div");x(this.s,"sitb-result-content");this.i.appendChild(this.s);if(b=uo(this.Ea.V.rb(),this.j.g.Qa())){a=this.Ea.V.tb().getQuery();var c=b.ob.snippetSrc;c&&a==Vo(c)? Cx(this,c):(a=b.nf(),"entity_page"==S(a,"source")?R(a,"source","entity_page_gbs_snippet"):R(a,"source","gbs_snippet"),Fp(b,a,r(this.O,this)))}else Dx(this)}m(Bx,xm);Bx.prototype.N=function(a){this.Ea.uf(a.g)};Bx.prototype.O=function(a){(a=a.ob.snippetSrc)?Cx(this,a):Dx(this)};function Cx(a,b){Bf(a.s);var c=E("IMG");c.src=b;Ex(a);b=a.j.Fa().width-25;J(c,{width:b+"px"});a.s.appendChild(c)} function Ex(a){x(a.i,"sitb-result-clickable");x(a.o,"sitb-result-link");var b=Sf(a.o);N(a.o,Kl(b+" »"));Fm(a.i,"link");Rf(a.i,!0);a.g.ka(a.i,"click",r(a.N,a,a.j));a.g.ka(a.i,"keydown",function(c){32!=c.keyCode&&13!=c.keyCode||a.N(a.j)})} function Dx(a){Bf(a.s);var b=E("div");x(b,"sitb-result-snippet");a.s.appendChild(b);J(b,{width:Math.floor(.75*a.j.Fa().width)+"px"});N(b,Rl(a.j.g.i));b=E("div");x(b,"sitb-result-explanatory-link");a.s.appendChild(b);var c=uo(a.Ea.V.rb(),a.j.g.Qa());c&&c.xd()&&!Kp(c,[4,8,16])&&c.s(2)?(Ex(a),N(b,Kl("We couldn't make an image for this result.  ")),a=E("span"),N(a,Kl("Click to view the whole page.")),b.appendChild(a),x(a,"sitb-result-link")):(N(b,Kl("No preview available for this page.  ")), a=E("a"),x(a,"sitb-result-buy-link"),N(a,Kl("Buy this book.")),b.appendChild(a),b=new Q(window.location.href),R(b,"sitesec","buy"),R(b,"source","gbs_snippet"),lk(b,"printsec"),a.href=b.toString())}Bx.prototype.Na=function(){F(this.i);this.Ha()};function Fx(a){this.Ea=a}m(Fx,yp);Fx.prototype.render=function(a){return new Bx(this.Ea,a)};function Gx(a){this.g=a}m(Gx,Tl);function Hx(a,b){tv.call(this,1);this.Jb=a;this.N=b;this.Rj=this.yi=this.marginTop=20;a.yb&&(a.yb.forEach(r(this.s,this)),$l(this))}m(Hx,tv);Hx.prototype.s=function(a){a=new Gx(a);var b=Math.min(this.N-16,600);a.mb(new Ke(b,Math.round(124/600*b+42)));this.Sa(a)};function Ix(a){var b=a.Fb();J(b,"overflow","hidden");var c=new Pw(this,b);Ev.call(this,c);this.V=a;Hv(this,new Ov(this));this.g.ka(this,"move",this.hc);var d=B("subscription-bar");d&&(this.Zk(d),T(function(){M(d,!1)},600));Gv(this,Jx(this));Kx(b)}u(Ix,Ev);function Kx(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});of(a,{dir:"ltr"})}function Jx(a){var b=new Up;Vp(b,Gx,new Fx(a));return b}Ix.prototype.resize=function(){Lx(this)}; function Lx(a){var b=new Hx(a.Jb,a.Fa().width);a.Xc(b);a.hc()}Ix.prototype.uf=function(a,b){return this.Ba(a,b)};function Mx(a){this.g=a||{}}Mx.prototype.lc=function(){return this.g};Mx.prototype.qc=function(a){var b=Uc(Nx,function(c){return c==a});this.g.v=b};Mx.prototype.getQuery=function(){return this.g.q};var Nx={onepage:Qw,twopage:ux,thumbnail:Yw,snippet:Ix};function Ox(a,b){this.g=new ls;O(this.g,"navigate",r(this.o,this));this.V=a;this.i=b}Ox.prototype.o=function(a){Px(this,a.o)};function Px(a,b){if(!(a.s&&""==b||a.j))if((z||oc)&&""==b)window.history.go(-2);else if(b){var c={},d=new dk(b);v(d.ae(),function(e){var g=d.get(e);g in Qx&&(g=Qx[g]);c[e]=g});b=new Mx(c);a.V.qc(Nx[b.g.v]||Qw);kx(a.i,!!b.g.f);void 0!==b.getQuery()&&Uo(a.V.tb(),b.getQuery())}} Ox.prototype.Ta=function(a){this.s=!0;this.g.Ta(a);z&&(a=(new Q(window.location)).g,Px(this,a));this.s=!1};Ox.prototype.update=function(){var a=new Mx;a.qc(this.V.O);a.g.q=this.V.tb().getQuery();a.g.f=this.i.xf();a=ok(a.lc()).toString();this.j=!0;this.g.ji(a);this.j=!1};var Qx={"true":!0,"false":!1};function Rx(){this.i=[]}u(Rx,Vq);Na(Rx);function Sx(a,b){var c=a.i[b];if(!c){switch(b){case 0:c=a.Wa()+"-highlight";break;case 1:c=a.Wa()+"-checkbox";break;case 2:c=a.Wa()+"-content"}a.i[b]=c}return c}f=Rx.prototype;f.sg=function(){return"menuitem"};f.Oc=function(a){var b=a.g.Ra("DIV",Yq(this,a).join(" "),Tx(this,a.Gc(),a.g));Ux(this,a,b,cr(a,8)||cr(a,16));return b};f.Ic=function(a){return a&&a.firstChild}; f.Sb=function(a,b){var c=Hf(b),d=Sx(this,2);c&&Gb(c,d)||b.appendChild(Tx(this,b.childNodes,a.g));Gb(b,"goog-option")&&(a.ii(!0),this.ii(a,b,!0));return Rx.ta.Sb.call(this,a,b)};f.tg=function(a,b){var c=this.Ic(a),d=Vx(this,a)?c.firstChild:null;Rx.ta.tg.call(this,a,b);d&&!Vx(this,a)&&c.insertBefore(d,c.firstChild||null)};function Tx(a,b,c){a=Sx(a,2);return c.Ra("DIV",a,b)}f.Sp=function(a,b,c){a&&b&&Ux(this,a,b,c)};f.ii=function(a,b,c){a&&b&&Ux(this,a,b,c)}; function Vx(a,b){return(b=a.Ic(b))?(b=b.firstChild,a=Sx(a,1),!!b&&Jf(b)&&Gb(b,a)):!1}function Ux(a,b,c,d){ar(a,c,b.rf());br(a,b,c);d!=Vx(a,c)&&(Kb(c,"goog-option",d),c=a.Ic(c),d?(a=Sx(a,1),c.insertBefore(b.g.Ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.Kh=function(a){switch(a){case 2:return Sx(this,0);case 16:case 8:return"goog-option-selected";default:return Rx.ta.Kh.call(this,a)}}; f.hj=function(a){var b=Sx(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Rx.ta.hj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function Wx(a,b,c,d){fr.call(this,a,d||Rx.Eb(),c);this.xc(b)}u(Wx,fr);f=Wx.prototype;f.Ab=function(){var a=this.Kl;return null!=a?a:this.Ng()};f.xc=function(a){this.Kl=a};f.Zb=function(a,b){Wx.ta.Zb.call(this,a,b);switch(a){case 8:dr(this,16)&&!b&&this.Ff(!1);(a=this.ha())&&this.wd().Sp(this,a,b);break;case 16:(a=this.ha())&&this.wd().ii(this,a,b)}};f.Sp=function(a){this.Zb(8,a)};f.ii=function(a){this.Zb(16,a)}; f.Ng=function(){var a=this.Gc();return Array.isArray(a)?(a=ib(a,function(b){return Jf(b)&&(Gb(b,"goog-menuitem-accel")||Gb(b,"goog-menuitem-mnemonic-separator"))?"":Uf(b)}).join(""),Pe(a)):Wx.ta.Ng.call(this)};f.he=function(a){var b=this.getParent();if(b){var c=b.o;b.o=null;if(c&&"number"===typeof a.clientX&&He(c,new A(a.clientX,a.clientY)))return}Wx.ta.he.call(this,a)};f.fe=function(a){return a.keyCode==this.Jl&&this.Qe(a)?!0:Wx.ta.fe.call(this,a)};f.ht=function(){return this.Jl}; Nq("goog-menuitem",function(){return new Wx(null)});Wx.prototype.rf=function(){return cr(this,16)?"menuitemcheckbox":cr(this,8)?"menuitemradio":Wx.ta.rf.call(this)};Wx.prototype.getParent=function(){return fr.prototype.getParent.call(this)};Wx.prototype.Sg=function(){return fr.prototype.Sg.call(this)};function Xx(a,b,c){Wx.call(this,a,b,c);this.ii(!0)}u(Xx,Wx);Nq("goog-checkbox-menuitem",function(){return new Xx(null)});function Yx(a){Xx.call(this,Se(a.hb()),a.getId());this.i=a}m(Yx,Xx);Yx.prototype.Nb=function(a){Xx.prototype.Nb.call(this,a);if(this.i.ye){var b=(a=1==this.i.ye)?"Public bookshelf":"Private bookshelf";a=C("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(fm()?"left":"right")});a=C("DIV","goog-menuitem-accel",a,yf(String(this.i.va)));Ef(this.Ib(),a,1)}};function Zx(a,b,c,d){Mr.call(this,a,b,c||d);(c||d)&&this.s(65|(d?32:132))}u(Zx,Mr);function $x(){}u($x,Vq);Na($x);$x.prototype.Wa=function(){return"goog-menuheader"};function ay(a,b,c){fr.call(this,a,c||$x.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(ay,fr);Nq("goog-menuheader",function(){return new ay(null)});function by(){}u(by,Vq);Na(by);by.prototype.Oc=function(a){return a.g.Ra("DIV",this.Wa())};by.prototype.Sb=function(a,b){b.id&&a.Zg(b.id);if("HR"==b.tagName){var c=b;b=this.Oc(a);Cf(b,c);F(c)}else x(b,this.Wa());return b};by.prototype.tg=function(){};by.prototype.Wa=function(){return"goog-menuseparator"};function cy(a,b){fr.call(this,null,a||by.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(cy,fr);cy.prototype.Ma=function(){cy.ta.Ma.call(this);var a=this.ha();Fm(a,"separator")};Nq("goog-menuseparator",function(){return new cy});function dy(a){this.g=a||"menu"}u(dy,Qq);Na(dy);f=dy.prototype;f.dk=function(a){return"UL"==a.tagName||dy.ta.dk.call(this,a)};f.Mh=function(a){return"HR"==a.tagName?new cy:dy.ta.Mh.call(this,a)};f.Zd=function(a,b){return Lf(a.ha(),b)};f.rg=function(){return"goog-menu"};f.ek=function(a){dy.ta.ek.call(this,a);a=a.ha();Gm(a,"haspopup","true")};function ey(a){cy.call(this,by.Eb(),a)}u(ey,cy);Nq("goog-menuseparator",function(){return new cy});function fy(a,b){tr.call(this,"vertical",b||dy.Eb(),a);Cr(this,!1)}u(fy,tr);f=fy.prototype;f.Dk=!0;f.Zd=function(a){if(this.wd().Zd(this,a))return!0;for(var b=0,c=nn(this);bDate.now()-a.ap);g&&a.lm?a.kb():a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.ha().style.visibility="hidden"),M(a.ha(),!0),b.Pc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Sd(-1),a.Da(!0))}f.kb=function(){this.isVisible()&&(this.Da(!1),this.isVisible()||(this.ap=Date.now()))};f.av=function(){this.kb()};f.pv=function(a){jy(this,a)}; f.qv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||jy(this,a);40==a.keyCode&&yr(this)};function jy(a,b){for(var c=a.i.ae(),d=0;dl.endOffset)l={startOffset:e.startOffset, fh:e.fh,endOffset:l.endOffset,Eh:l.Eh};e=eb(d)}d.push(l);e=l}k.i&&pb(g,h)}}function Ly(a,b){this.startOffset=a;this.fh=void 0;this.endOffset=a;this.Eh=void 0;this.i=!1;this.g=b};function My(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new Jy(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=Fy(a);for(g=0;g=c&&(d.length=c);return d};function Ny(a){var b=Gy(a);a=Oy();Array.prototype.forEach.call(a,function(c){Py(b,c)})}function Oy(){var a=[],b=sb(lf("patent-text")),c=mf("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):tb(b,c.childNodes);return a} function Py(a,b){var c=Uf(b);a=My(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),ie("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=E("span");N(a,re(d));Ff(a,b)}};function Qy(){Wx.call(this,"Turn off highlighting");var a=Wj("dq")||Wj("q");a&&Ny(a);this.Pb=!0}m(Qy,Wx);Qy.prototype.Ma=function(){Wx.prototype.Ma.call(this);Y(this).ka(this,"action",this.i)};Qy.prototype.i=function(){this.Pb=!this.Pb;Kb(window.document.body,"patent-highlight-disabled",!this.Pb);lr(this,this.Pb?"Turn off highlighting":"Turn on highlighting")};function Ry(){}u(Ry,by);Na(Ry);Ry.prototype.Oc=function(a){return a.g.Ra("DIV",Yq(this,a).join(" ")+" goog-inline-block","\u00a0")};Ry.prototype.Sb=function(a,b){b=Ry.ta.Sb.call(this,a,b);x(b,"goog-inline-block");return b};Ry.prototype.Wa=function(){return"goog-toolbar-separator"};function Sy(){}u(Sy,yt);Na(Sy);f=Sy.prototype;f.Oc=function(a){var b=Yq(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),this.Vi(a.Gc(),a.g));this.oc(b,a.sf());return b};f.sg=function(){return"button"};f.Ic=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.Vi=function(a,b){return b.Ra("DIV","goog-inline-block "+(this.Wa()+"-outer-box"),b.Ra("DIV","goog-inline-block "+(this.Wa()+"-inner-box"),a))};f.Ei=function(a){return"DIV"==a.tagName}; f.Sb=function(a,b){Ty(b,!0);Ty(b,!1);a:{var c=a.g.vo(b);var d=this.Wa()+"-outer-box";if(c&&Gb(c,d)&&(c=a.g.vo(c),d=this.Wa()+"-inner-box",c&&Gb(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.Vi(b.childNodes,a.g));Hb(b,["goog-inline-block",this.Wa()]);return Sy.ta.Sb.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function Ty(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var e=c.nodeValue;if(""==Pb(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function Uy(){}u(Uy,Sy);Na(Uy);Uy.prototype.Wa=function(){return"goog-toolbar-button"};function Vy(){this.g="toolbar"}u(Vy,Qq);Na(Vy);Vy.prototype.Mh=function(a){return"HR"==a.tagName?new cy(Ry.Eb()):Vy.ta.Mh.call(this,a)};Vy.prototype.rg=function(){return"goog-toolbar"};Vy.prototype.uo=function(){return"horizontal"};function Wy(a){Vy.call(this);this.i=a}u(Wy,Vy);var Xy={};Wy.prototype.rg=function(){return this.i||"ocean-chrome-toolbar"};function Yy(a){P.call(this);this.g=[];Zy(this,a)}u(Yy,P);f=Yy.prototype;f.fg=null;f.kk=null;function $y(a,b){a.kk=b}function Zy(a,b){b&&(b.forEach(function(c){az(this,c,!1)},a),tb(a.g,b))}f.Sa=function(a){this.jf(a,this.g.length)};f.jf=function(a,b){a&&(az(this,a,!1),ub(this.g,b,0,a))};f.Kd=function(){return sb(this.g)};f.Ue=function(a){a!=this.fg&&(az(this,this.fg,!1),this.fg=a,az(this,a,!0));this.dispatchEvent("select")};f.wa=function(){Yy.ta.wa.call(this);delete this.g;this.fg=null}; function az(a,b,c){b&&("function"==typeof a.kk?a.kk(b,c):"function"==typeof b.Xl&&b.Xl(c))};function bz(a,b,c){tr.call(this,b,a||Vy.Eb(),c)}u(bz,tr);bz.prototype.Ji=function(a){bz.ta.Ji.call(this,a);this.ie||yr(this)};function cz(a,b,c){At.call(this,a,b||Uy.Eb(),c)}u(cz,At);Nq("goog-toolbar-button",function(){return new cz(null)});function dz(a,b){cy.call(this,a||Ry.Eb(),b)}u(dz,cy);Nq("goog-toolbar-separator",function(){return new dz});function ez(a){a=a||"viewport-chrome-toolbar";a=Xy[a]||(Xy[a]=new Wy(a));bz.call(this,a);this.Ba={};this.j=new Bj(this)}m(ez,bz);function fz(a,b,c,d){b.Zb(16,!0);if(c){var e=a.Ba[c];e||(e=new Yy,$y(e,function(g,h){g&&g.Ff(h)}),a.Ba[c]=e);e.Sa(b);b.Of&=-17;O(b,"action",function(g){e.Ue(g.target)});d&&e.Ue(b)}else b.Zc(16,!!d)}function gz(a,b){a.Ba.viewport&&a.Ba.viewport.Ue(b)}ez.prototype.wa=function(){bz.prototype.wa.call(this);this.j.Ha();Qc(this.Ba,function(a){a.Ha()})};function hz(){}u(hz,yt);Na(hz);f=hz.prototype;f.Oc=function(a){var b=Yq(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),a.Gc());this.oc(b,a.sf());return b};f.sg=function(){return"button"};f.Ei=function(a){return"DIV"==a.tagName};f.Sb=function(a,b){x(b,"goog-inline-block");return hz.ta.Sb.call(this,a,b)};f.Ab=function(){return""};f.Wa=function(){return"goog-flat-button"};Nq("goog-flat-button",function(){return new At(null,hz.Eb())});function iz(){}u(iz,Sy);Na(iz);iz.prototype.Ic=function(a){return iz.ta.Ic.call(this,a&&a.firstChild)};iz.prototype.Sb=function(a,b){var c=jf("*","goog-menu",b)[0];if(c){M(c,!1);ff(c).body.appendChild(c);var d=new fy;ln(d,c);a.Te(d)}return iz.ta.Sb.call(this,a,b)};iz.prototype.Vi=function(a,b){return iz.ta.Vi.call(this,[b.Ra("DIV","goog-inline-block "+(this.Wa()+"-caption"),a),b.Ra("DIV","goog-inline-block "+(this.Wa()+"-dropdown"),"\u00a0")],b)};iz.prototype.Wa=function(){return"goog-menu-button"};function jz(){this.i=[]}u(jz,Rx);Na(jz);jz.prototype.Oc=function(a){var b=jz.ta.Oc.call(this,a);x(b,"goog-submenu");kz(this,a,b);return b};jz.prototype.Sb=function(a,b){b=jz.ta.Sb.call(this,a,b);x(b,"goog-submenu");kz(this,a,b);var c=jf("DIV","goog-menu",b);if(c.length){var d=new fy(a.g);c=c[0];M(c,!1);a.g.g.body.appendChild(c);ln(d,c);a.Te(d,!0)}return b};jz.prototype.tg=function(a,b){var c=this.Ic(a),d=c&&c.lastChild;jz.ta.tg.call(this,a,b);d&&c.lastChild!=d&&Gb(d,"goog-submenu-arrow")&&c.appendChild(d)}; jz.prototype.Fi=function(a){jz.ta.Fi.call(this,a);var b=a.Ib(),c=kf(a.g.g,"SPAN","goog-submenu-arrow",b)[0];lz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();Gm(a,"haspopup","true")};function kz(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";lz(b,d);a.Ic(c).appendChild(d)}function lz(a,b){pn(a)?(x(b,"goog-submenu-arrow-rtl"),H(b,"\u25c4")):(Ib(b,"goog-submenu-arrow-rtl"),H(b,"\u25ba"))};function mz(a,b,c,d){Wx.call(this,a,b,c,d||jz.Eb())}u(mz,Wx);f=mz.prototype;f.qh=null;f.fm=null;f.Il=!1;f.tc=null;f.Yi=!1;f.Ma=function(){mz.ta.Ma.call(this);Y(this).ka(this.getParent(),"hide",this.wp);this.tc&&nz(this,this.tc,!0)};f.kc=function(){Y(this).Xa(this.getParent(),"hide",this.wp);this.tc&&(nz(this,this.tc,!1),this.Yi||(this.tc.kc(),F(this.tc.ha())));mz.ta.kc.call(this)};f.wa=function(){this.tc&&!this.Yi&&this.tc.Ha();this.tc=null;mz.ta.wa.call(this)}; f.Wc=function(a){mz.ta.Wc.call(this,a);a||(this.qh&&kl(this.qh),this.qh=T(this.Ee,218,this))};f.dm=function(){var a=this.getParent();a&&xr(a)==this&&(oz(this,!0),pz(this))};f.Ee=function(){var a=this.tc;a&&a.getParent()==this&&(oz(this,!1),mn(a,function(b){"function"==typeof b.Ee&&b.Ee()}))};function qz(a){a.qh&&kl(a.qh);a.fm&&kl(a.fm)}f.Da=function(a,b){(a=mz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Ee();return a}; function pz(a){mn(a.getParent(),function(b){b!=this&&"function"==typeof b.Ee&&(b.Ee(),qz(b))},a)}f.Sc=function(a){var b=a.keyCode,c=pn(this)?37:39,d=pn(this)?39:37;if(!this.Il){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Jl)return!1;this.dm();yr(rz(this));qz(this)}else if(!rz(this).Sc(a))if(b==d)this.Ee();else return!1;a.preventDefault();return!0};f.dv=function(){this.tc.getParent()==this&&(qz(this),this.Sg().Wc(this),pz(this))};f.wp=function(a){a.target==this.Sg()&&(this.Ee(),qz(this))}; f.Ke=function(a){this.isEnabled()&&(qz(this),this.fm=T(this.dm,218,this));mz.ta.Ke.call(this,a)};f.Qe=function(a){qz(this);if(cr(this,8)||cr(this,16))return mz.ta.Qe.call(this,a);this.dm();return!0}; function oz(a,b){!b&&rz(a)&&rz(a).Sd(-1);a.dispatchEvent(hn(64,b));var c=rz(a);b!=a.Il&&Kb(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.$a||c.render(),c.Sd(-1)),c.Da(b),b)){c=new Mr(a.ha(),12,!1);var d=rz(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",M(e,!0));c.Pc(e,8);d.isVisible()||(M(e,!1),e.style.visibility="visible")}a.Il=b}function nz(a,b,c){var d=Y(a);(c?d.ka:d.Xa).call(d,b,"enter",a.dv)}f.Sa=function(a){rz(this).Oa(a,!0)};f.jf=function(a,b){rz(this).Dg(a,b,!0)}; f.Kd=function(){return rz(this).Kd()};function rz(a){a.tc?a.Yi&&a.tc.getParent()!=a&&a.tc.ke(a):a.Te(new fy(a.g),!0);a.tc.ha()||a.tc.Va();return a.tc}f.Te=function(a,b){var c=this.tc;a!=c&&(c&&(this.Ee(),this.$a&&nz(this,c,!1)),this.tc=a,this.Yi=!b,a&&(a.ke(this),a.Da(!1,!0),gy(a,!1),Cr(a,!1),this.$a&&nz(this,a,!0)))};f.Zd=function(a){return rz(this).Zd(a)};Nq("goog-submenu",function(){return new mz(null)});function sz(a,b,c,d,e){At.call(this,a,c||iz.Eb(),d);this.Zb(64,!0);this.o=new Zx(null,9);b&&this.Te(b);this.Ya=new il(500);this.Lb=e||dy.Eb()}u(sz,At);f=sz.prototype;f.Ma=function(){sz.ta.Ma.call(this);tz(this,!0);this.i&&uz(this,this.i,!0);Gm(this.ya,"haspopup",!!this.i)};f.kc=function(){sz.ta.kc.call(this);tz(this,!1);if(this.i){this.Qb(!1);this.i.kc();uz(this,this.i,!1);var a=this.i.ha();a&&F(a)}};f.wa=function(){sz.ta.wa.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.nb;this.Ya.Ha()}; f.$e=function(a){sz.ta.$e.call(this,a);dr(this,4)&&(this.Qb(!this.qd(),a),this.i&&(a=this.qd(),this.i.ie=a))};f.he=function(a){sz.ta.he.call(this,a);this.i&&!dr(this,4)&&(this.i.ie=!1)};f.Qe=function(){nr(this,!1);return!0};f.wt=function(a){this.i&&this.i.isVisible()&&!this.Zd(a.target)&&this.Qb(!1)};f.Zd=function(a){return a&&Lf(this.ha(),a)||this.i&&this.i.Zd(a)||!1}; f.fe=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.i&&this.i.isVisible()){var b=13==a.keyCode||32==a.keyCode,c=this.i.Sc(a);return c&&this.i&&this.i.bc instanceof mz||27!=a.keyCode&&!b?c:(this.Qb(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Qb(!0,a),!0):!1};f.kl=function(){this.Qb(!1)};f.Gi=function(a){this.Qb(!1);sz.ta.Gi.call(this,a)}; function vz(a){a.i||a.Te(new fy(a.g,a.Lb));return a.i||null}f.Te=function(a){var b=this.i;a!=b&&(b&&(this.Qb(!1),this.$a&&uz(this,b,!1),delete this.i),this.$a&&Gm(this.ya,"haspopup",!!a),a&&(this.i=a,a.ke(this),a.Da(!1),gy(a,!1),this.$a&&uz(this,a,!0)));return b};f.Sa=function(a){vz(this).Oa(a,!0)};f.jf=function(a,b){vz(this).Dg(a,b,!0)};f.Da=function(a,b){(a=sz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Qb(!1);return a};f.Ta=function(a){sz.ta.Ta.call(this,a);this.isEnabled()||this.Qb(!1)}; f.Qb=function(a,b){sz.ta.Qb.call(this,a);if(this.i&&dr(this,64)==a){if(a)this.i.$a||this.i.render(),this.Ba=Ch(this.ha()),this.ab=Mh(this.ha()),wz(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Sd(-1):yr(this.i);else{nr(this,!1);this.i.ie=!1;var c=this.ha();c&&(Gm(c,"activedescendant",""),Gm(c,"owns",""));null!=this.va&&(this.va=void 0,(c=this.i.ha())&&K(c,"",""))}this.i.Da(a,!1,b);this.Hd||(b=Y(this),c=a?b.ka:b.Xa,c.call(b,this.g.g,"mousedown",this.wt,!0),c.call(b,this.Ya,"tick",this.ir),a?this.Ya.start(): this.Ya.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function wz(a){if(a.i.$a){var b=a.nb||a.ha(),c=a.o;a.o.g=b;b=a.i.ha();a.i.isVisible()||(b.style.visibility="hidden",M(b,!0));!a.va&&a.o.N&&a.o.j&32&&(a.va=L(b));c.Pc(b,c.i^1,null,a.va);a.i.isVisible()||(M(b,!1),b.style.visibility="visible")}} f.ir=function(){var a=Mh(this.ha()),b=Ch(this.ha());var c=this.ab;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.Ba,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.i.$a&&b&&this.Ba&&b.Bb()h;h++){for(var k=wf(d,"TR"),l=0;2>l;l++)k.appendChild(wf(d,"TD"));g.appendChild(k)}x(e,this.className+"-table-layout");d=e.rows[0].cells;g=Fz(this);d[0].appendChild(g);g=Gz(this);d[1].appendChild(g);g=C("DIV",this.className+"-link"); h=C("A",{target:"_blank"},"Help with devices & formats");k=new Q(window.location.href);l=new Q("/support/bin/answer.py?answer=1062949");k=S(k,"hl")?R(l,"hl",S(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";ze(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);d=this.o;(e=d.Gd)&&!d.ag&&d.nb&&(e=C("P",this.className+"-additional",C("A",{href:e},d.Rb?"Read the book for FREE":"Read the first chapter - FREE!")),c.appendChild(e));if(d.Ka||d.La)if(g=d.Xb,h=d.ab,g||h)e=C("P",this.className+ "-additional",yf("Download ")),g&&(k=C("A",{href:g},"EPUB"),e.appendChild(k)),h&&(g&&e.appendChild(yf(", ")),g=C("A",{href:h},"PDF"),e.appendChild(g)),e.appendChild(yf(" - ")),d=d.Yb(),g=(new Q(window.location.href)).s.split("/"),g=new Q("/"+g[1]),Zt(g),R(g,"output","acs_help"),R(g,"id",d),d=C("A",{href:g.toString()},"read eReader instructions"),e.appendChild(d),c.appendChild(e);e=C("A",{target:"_blank"},"Learn more about books on Google Play");ze(e,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=C("DIV",this.className+"-footer",e);b=C("DIV",b,c,this.j);x(b,this.className+"-device-content");a.appendChild(b)}}; function Fz(a){var b=C("UL",a.className+"-list"),c=C("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=C("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=C("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),n=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), p=a.o.oj,w=a.o.qj,D=a.o.ag;d=new Bj(a);h=C("LI",null,h);D?d.ka(h,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):(p||w)&&d.ka(h,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on the web."));d.ka(h,"mouseout",a.Ba);b.appendChild(h);k=C("LI",null,k);D?d.ka(k,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")): (p||w)&&d.ka(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.ka(k,"mouseout",a.Ba);b.appendChild(k);l=C("LI",null,l);d.ka(l,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p?this.i("This Google eBook includes flowing text, so you can adjust the font to read comfortably on an eReader."):this.i("This Google eBook does not include flowing text, so you cannot adjust the font on an eReader.")}); d.ka(l,"mouseout",a.Ba);b.appendChild(l);n=C("LI",null,n);d.ka(n,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p&&w?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):p?this.i("This Google eBook includes flowing text so you can adjust the font to read comfortably on the small screen of a smartphone."):this.i("This eBook may be hard to read on smartphones like Android and iPhone / iPod touch.")}); d.ka(n,"mouseout",a.Ba);b.appendChild(n);D?(x(h,g),x(k,g),x(l,g),x(n,g)):p?(x(h,c),x(k,c),x(l,c),x(n,c)):(w?(x(h,c),x(k,c)):(x(h,e),x(k,e)),x(l,e),x(n,e));return b} function Gz(a){var b=C("UL",a.className+"-list"),c=C("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=C("A",{},"Flowing text");ze(c,"/support/bin/answer.py?answer=1062949");var h=C("A",{},"Scanned pages");ze(h,"/support/bin/answer.py?answer=1062949");var k=a.o.oj,l=a.o.qj,n=a.o.ag;n?(c=C("LI",g,c),d=C("LI",g,h)):(c=C("LI",k?d:e,c),d=C("LI",l?d:e,h));e=new Bj(a);e.ka(c,"mouseover",function(){n? 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.ka(c,"mouseout",a.Ba);e.ka(d, "mouseover",function(){n?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.ka(d,"mouseout",a.Ba);b.appendChild(c);b.appendChild(d);return b} Ez.prototype.Ba=function(){Bf(this.j);var a=C("A",{target:"_blank"},"Learn more about books on Google Play");ze(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};Ez.prototype.i=function(a){Bf(this.j);"string"===typeof a?this.j.appendChild(yf(a)):this.j.appendChild(a)};function Hz(a,b){Z.call(this,b,void 0,3);this.o=a}m(Hz,Z);Hz.prototype.render=function(a){Z.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};Hz.prototype.Ma=function(){Z.prototype.Ma.call(this);var a=this.ha();this.i=new Ez(a,this.o);this.i.render();a=B("menu_container");(a=mf("about_title",a))&&F(a)}; function Iz(){var a=B("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!Gb(a.parentNode.parentNode,"jfk-button"):1){a=B("gb-buy-options-trigger");var b=B("buy");if(a&&b){Ib(b,"about_content");var c=C("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);x(b,"gb-buy-options-list");x(b,"unified-hovercard");Hr(a,9,b,8);M(b,!1);O(document,"mousedown",t(Jz,a,b))}}}function Jz(a,b,c){a=Lf(a,c.target);c=Lf(b,c.target);var d=Oh(b);a||c||!d?a&&(M(b,!d),d||Nh(b,1)):M(b,!1)};function Kz(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;Fm(l,k.va);x(l,"goog-zippy-header");l&&k.oa.ka(l,"click",k.na);var n=k;l&&(n.O.attach(l),n.ma.ka(n.O,"key",n.ua))}}P.call(this);this.N=e||df();this.i=this.N.ha(a)||null;this.s=this.N.ha(d||null);this.o="function"===typeof b?b:null;this.va=g||"tab";this.j=this.o||!b?null:this.N.ha(b);this.g=1==c;void 0!==c||this.o||(this.s?this.g=Oh(this.s):this.i&&(this.g=Gb(this.i,"goog-zippy-expanded")));this.ma=new Bj(this);this.O=new Iq;this.oa=new Bj(this); var k=this;h(this.i);h(this.s);this.Se(this.g)}u(Kz,P);Kz.prototype.wa=function(){Kz.ta.wa.call(this);Vi(this.ma);Vi(this.O);Vi(this.oa)};Kz.prototype.Se=function(a){this.j?M(this.j,a):a&&this.o&&(this.j=this.o());this.j&&x(this.j,"goog-zippy-content");this.s?(M(this.i,!a),M(this.s,a)):this.i&&(Kb(this.i,"goog-zippy-expanded",a),Kb(this.i,"goog-zippy-collapsed",!a),Gm(this.i,"expanded",a));this.g=a;this.dispatchEvent(new Lz("toggle",this,this.g))}; Kz.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.Se(!this.g),this.dispatchEvent(new Lz("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};Kz.prototype.na=function(a){this.Se(!this.g);this.dispatchEvent(new Lz("action",this,this.g,a))};function Lz(a,b){Zi.call(this,a,b)}u(Lz,Zi);function Mz(a,b,c,d){if(b.child_node&&0"+c.i.Jb.yb.length+"",""+Dq(c.i.Jb)+""))):N(c.j,Kl("Showing "+(c.i.Jb.yb.length+" results in this book for ")+(Dq(c.i.Jb)+"")));kA(c,!0);c=a.Jb;c!=b.Jb&&(b.Jb=c,Lx(b));a=r(a.uf,a);b.Ba=a;b.Yc(new A(0, 0))} fA.prototype.uf=function(a,b){Lv=!0;var c=this.Vc.j;kA(c,!1);c.N=fb(c.i.Jb.yb,a);c.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0),N(c.j,Kl(lA(c,c.N+1,c.i.Jb.yb.length,null)))):pc?N(c.j,Kl(lA(c,""+(c.N+1)+"",""+c.i.Jb.yb.length+"",""+Dq(c.i.Jb)+""))):N(c.j,Kl("Result "+(c.N+1+" of ")+(c.i.Jb.yb.length+" in this book for ")+(Dq(c.i.Jb)+"")));c=this.Vc.V;a=uo(c.rb(),a.Qa());if(!a)return null;var d=c.Ia();d instanceof Qw||d instanceof ux||(this.Vc.s== ux?c.qc(ux):c.qc(Qw));if(b)return c.Bd(b),null;c.Sh(a);return a};fA.prototype.wa=function(){Vi(this.j);W.prototype.wa.call(this)};function mA(a){W.call(this);this.Ja=Cp(a);this.s=pc&&a&&a.enableOgenEligibleMobileViewportSitb;this.na=this.o=null;this.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0)):(this.ma=E("DIV"),this.ua=new wq(this.ma),this.ua.render(nA),this.ua.Da(!0),a=this.ua.ha(),x(a,"search-results-bar"),x(this.ma,"search-results-bar-contents"));this.j=this.s?B("gb-mobile-search-results-summ"):E("SPAN");this.s||this.ma.appendChild(this.j);this.oa=this.s?B("gb-mobile-search-result-links"):E("SPAN"); this.s?(oA(this,B("gb-mobile-search-result-prev"),r(this.lj,this,-1),"Previous"),oA(this,B("gb-mobile-search-result-next"),r(this.lj,this,1),"Next"),H(B("gb-mobile-search-result-viewall"),"View all"),oA(this,B("gb-mobile-search-result-viewall"),r(this.Oo,this),"View all"),H(B("gb-mobile-search-clear"),"Clear search"),oA(this,B("gb-mobile-search-clear"),r(this.nl,this),"Clear search")):(x(this.oa,"search-bar-result-links"),this.ma.appendChild(this.oa),a=E("SPAN"),N(a,Kl("-  ")),x(a,"search-bar-link-spacer"), this.oa.appendChild(a),pA(this,this.oa,"‹ Previous",r(this.lj,this,-1),"Previous"),a=E("SPAN"),N(a,Kl("  ")),x(a,"search-bar-link-spacer"),this.oa.appendChild(a),pA(this,this.oa,"Next ›",r(this.lj,this,1),"Next"),a=E("SPAN"),N(a,Kl("  -  ")),x(a,"search-bar-link-spacer"),this.oa.appendChild(a),pA(this,this.oa,"View all",r(this.Oo,this)));this.O=this.s?B("gb-mobile-search-snippet-links"):E("SPAN");this.s?qA(this):(this.Ja?(this.va=E("DIV"),x(this.va,"search-bar-result-buttons"), this.ma.appendChild(this.va),this.va.appendChild(this.O),Hb(this.O,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),qA(this)):(this.Ba=E("SPAN"),this.Ca=E("SPAN"),this.ma.appendChild(this.O),a=E("SPAN"),N(a,Kl("-  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),this.O.appendChild(yf("Order by: ")),this.O.appendChild(this.Ba),pA(this,this.Ba,"relevance",r(this.mj,this,"r"),"Order by relevance"),a=E("SPAN"),N(a,Kl(" | pages")),this.Ba.appendChild(a), this.O.appendChild(this.Ca),a=E("SPAN"),N(a,Kl("relevance | ")),this.Ca.appendChild(a),pA(this,this.Ca,"pages",r(this.mj,this,"n"),"Order by pages")),x(this.O,"search-bar-snippet-links"));if(!this.s){a=E("SPAN");x(a,"search-bar-close-link-container");this.Ja?this.va.appendChild(a):this.ma.appendChild(a);this.g.ka(a,"click",this.nl);var b=pA(this,a,"Clear search",r(this.nl,this));x(b,"search-bar-close-link");b=E("IMG");b.src="/googlebooks/images/close_x.gif";x(b,"search-bar-close-img"); a.appendChild(b);Rh(this.ma,!0)}}var nA,rA,sA;m(mA,W);function tA(){nA=B("search_bar")}function uA(){rA=B("toolbar_container")} function qA(a){a.o=C("A",{"class":"search-bar-sort-dropdown-link"});Fm(a.o,"button");Rf(a.o,!0);Gm(a.o,"haspopup",!0);a.O.appendChild(a.o);var b=C("SPAN",{"class":"search-bar-sort-dropdown-text"});H(b,"Order by");a.na=C("SPAN",{"class":"search-bar-sort-dropdown-selected"});H(a.na,"relevance");b.appendChild(a.na);a.o.appendChild(b);b=Ft("/googlebooks/images/material/arrow_drop_down_black_20dp.png");x(b[0],"search-bar-sort-dropdown-icon");Gm(b[0],"hidden",!0);a.o.appendChild(b[0]);b=new hy;var c=new Wx("relevance"); c.hi("Order by relevance");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");c=new Wx("pages");c.hi("Order by pages");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");b.lm=!0;b.render(document.body);b.attach(a.o,13,12);a.g.ka(b,"action",a.Ho);a.g.ka(b,"keydown",function(d){32!=d.keyCode&&13!=d.keyCode||r(a.Ho,a)})}function kA(a,b){M(rA,!b);M(a.O,b);M(a.oa,!b&&1=d&&(a.N=0);0>a.N&&(a.N=d-1);a.N!=b&&(a.i.uf(a.i.Jb.yb[a.N])||wA(a,b,c))}f.mj=function(a){var b=this.i.Vc;b&&b.update(a)};f.Oo=function(){hA(this.i)}; f.hu=function(a){var b=this.i.Vc;b&&(a=Se(a),Uo(b.V.tb(),a),b.N.xc(a),b.o&&b.o.update())};f.Ho=function(a){if((a=a.target.Gc())&&this.na)switch(a){case "pages":this.mj("n");H(this.na,"pages");break;case "relevance":this.mj("r"),H(this.na,"relevance")}};function iA(a,b){a.o&&(Kb(a.o,"search-bar-sort-dropdown-disabled",!b),Gm(a.o,"disabled",!b));var c="n"==a.i.im;b&&!c&&H(a.na,"relevance")}function jA(a,b,c){return a.s?b+" results":b+" results for "+c} function lA(a,b,c,d){return a.s?b+" of "+c:"Result "+b+" of "+c+" for "+d};function xA(a,b,c,d){W.call(this);this.V=a;this.N=b;this.o=c;this.O=d;this.g.ka(a.tb(),"change",r(this.update,this,"r",null))}m(xA,W); xA.prototype.update=function(a,b,c){this.i?(this.i.Ha(),this.i=null):(this.V.O&&(this.s=this.V.O),this.j=new mA(this.O));var d=this.V.tb().getQuery();b&&!b.search_query_escaped&&0a.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.s&&H(a.s,String(1==a.o?b:a.i-b))}IA.prototype.wa=function(){IA.ta.wa.call(this);delete this.g;this.j.Ha();this.j=null};function KA(a,b,c,d,e){EA.call(this,a,b,null,!0);this.ab=c;this.Rb=d;this.Ca=e}m(KA,EA); KA.prototype.Va=function(){EA.prototype.Va.call(this);this.o=LA(this,"Name","input");this.nb=LA(this,"Description (optional)","textarea");var a=this.Ib(),b=C("DIV",{"class":"ccd-label"}),c=E("span");c.textContent="Visibility";b.appendChild(c);a.appendChild(b);a=C("SPAN",{className:"ccd-mode-indicator"});c=C("IMG",{src:"/googlebooks/images/sharing_public.gif",style:"vertical-align:-2px;padding:0 2px"});var d=E("span");d.textContent="Public";a.appendChild(c);a.appendChild(d); b.appendChild(a);c=C("SPAN",{className:"ccd-mode-indicator"});d=C("IMG",{src:"/googlebooks/images/sharing_private.gif",style:"vertical-align:-2px;"});var e=E("span");e.textContent="Private";c.appendChild(d);c.appendChild(e);b.appendChild(c);d=C("SPAN",{"class":"ccd-mode-link"});d.textContent="Make public";b.appendChild(d);O(d,"click",r(this.Ka,this,!0));e=C("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);O(e,"click",r(this.Ka,this,!1));this.xe=[a,e];this.we=[c,d];null!= this.Ca&&(of(this.Ca,{"class":"ccd-mode-link"}),b.appendChild(this.Ca));this.Ka(!0);this.na=C("DIV",{"class":"ccd-error"});this.Ib().appendChild(this.na);this.Vb=C("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Ib().appendChild(this.Vb);this.i&&MA(this);jp.IsZipitFolderCollectionEnabled||(b=this.j,a=Pn(b,"ok"),J(a,"fontWeight","bold"),x(a,"gb-button"),x(Pn(b,"cancel"),"gb-button"))}; function MA(a){a.o.value=Se(a.i.hb());a.o.disabled=a.i.O;a.nb.value=Se(a.i.Og());a.Ka(1==a.i.ye);a.o.disabled&&J(a.o,"background","#f2f2f2")}function LA(a,b,c){var d=a.Ib();a=C("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=C("DIV",{"class":"ccd-label"});N(d,zi(b));a.appendChild(d);b=C(c,{"class":"ccd-input"});"input"==c?(of(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(of(b,{rows:6,cols:50}),new IA(b,E("span"),500));a.appendChild(b);return b} KA.prototype.Ka=function(a){this.ve=a;v(this.xe,function(b){M(b,a)});v(this.we,function(b){M(b,!a)})}; KA.prototype.Ua=function(a){var b=this.o.value;if("cancel"==a.key)return!0;if(Nb(b))return this.na.textContent="Please enter a title for this bookshelf.",!1;if(this.Rb&&!this.Rb(b))return this.na.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new gu;a.Ec=b;a.s=this.nb.value;a.ye=this.ve?1:2;if(this.i){b=this.ab;var c=new Q(b.gq);R(c,"as_coll",a.getId());ru(c,a,r(b.N,b))}else b=this.ab,ru(b.s,a,r(b.o,b,!0));return!0}; KA.prototype.wa=function(){delete this.ab;delete this.Ca;delete this.i;delete this.na;delete this.Vb;delete this.o;delete this.nb;delete this.Rb;EA.prototype.wa.call(this)};function NA(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.N=c;this.i=d;this.O&&(this.s=ib(this.O.childNodes,OA),this.i&&tb(this.s,ib(this.i.childNodes,OA)));this.o=e;T(r(this.qr,this))}u(NA,W);f=NA.prototype;f.qr=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.fq);this.N&&this.g.ka(this.N,"click",this.ut);this.g.ka(this.o,"add",this.Cs)}; function OA(a){var b=jf("SPAN","sidebar-collection-title",a)[0];b||(b=jf("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Pb(Oe(Sf(b)));return Pb(a.split("(")[0])}f.ut=function(){var a=new KA("Create new bookshelf","Create bookshelf",this.o,r(this.Ku,this));a.render();a.Da(!0)};f.Ku=function(a){var b=Pb(Oe(a)).toLowerCase();return!jb(this.s,function(c){return c.toLowerCase()==b})}; f.Cs=function(a){a=a.shelf;var b=Pb(Oe(a.hb())),c=1==a.ye;this.s.push(b);var d=new Q("/books");Zt(d);R(d,"as_coll",a.getId());R(d,"source","gbs_lp_bookshelf_list");if(jp.IsBooksUnifiedLeftNavEnabled){a=C("LI",{"class":"left-nav-shelf-item"});var e=C("A",{"class":"sidebar-link"});ze(e,d.toString());d=C("SPAN");x(d,"sidebar-collection-title");N(d,Rl(b+" (0)"));e.appendChild(d);a.appendChild(e);c=B("hidden-my-library-expanded");Cf(a,c);DA(!0,"my-library")}else a=E("DIV"),e=C("A",{"class":"hp-bookshelf-link", style:"line-height:19px"}),ze(e,d.toString()),d=C("SPAN",{"class":"hp-collection-title"}),N(d,Rl(b)),e.appendChild(d),a.appendChild(e),b=c?"Public bookshelf":"Private bookshelf",c=C("IMG",{"class":"hp-bookshelf-access",src:"/googlebooks/images/sharing_"+(c?"public":"private")+".gif",title:b,alt:b,width:14,height:14}),a.appendChild(c),c=C("DIV",{style:"clear:both"}),a.appendChild(c),Df(a,B("csStart"))}; f.fq=function(a){a.preventDefault();a=!Oh(this.i);M(this.i,a);a?(Hr(this.j,9,this.i,8),200