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

"+Ms(null!=c?c:"")+"
")};function Zs(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(Zs,Gr);f=Zs.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);$s(this,this.Kk,a,2==this.Gk?at(this.Kk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.Tn,0,c)}; function $s(a,b,c,d,e,g){if(a.i){var h=bt(b,c);var k=a.i;var l=a.g,n=a.Ea,p=L(k);a:{p=(at(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));at(b)?k.topn.bottom&&w&1&&(p-=k.bottom-n.bottom):k.leftn.right&&w&4&&(p-=k.right-n.right);k=p}k=at(b)?new A(a.Ml,k):new A(k,a.Ml);p=at(b)?6:9;a.Ek&&2==e&&(p=at(b)?4:1); w=b^3;at(b)&&"rtl"==a.i.dir&&(w=b);h=Hr(a.i,bt(w,c),a.g,h,k,g,a.wl?p:0,void 0,a.Ea);if(2!=e&&h&496){$s(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)))}ct(a,b,c,d)} function ct(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=dt(a.i,b),at(b)?e.style.top=et(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=et(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?at(b)?"top":"left":at(b)?"bottom":"right"]=d+"px"}function et(a,b){return 15>b?15:Ge(a,15,b)}function bt(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 dt(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 at(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 ft(a){Wi.call(this);this.i=a||df()}m(ft,Wi);ft.prototype.o=function(){Fm(this.ha(),"tooltip");Gm(this.ha(),"live","polite")};function gt(a){ft.call(this,a);this.g=this.i.Ra("DIV",ht()+"-contentId");this.j=this.i.Ra("DIV",ht()+"-arrow",this.i.Ra("DIV",ht()+"-arrowimplbefore"),this.i.Ra("DIV",ht()+"-arrowimplafter"));this.s=this.i.Ra("DIV",{"class":ht(),role:"tooltip"},this.g,this.j);this.o()}m(gt,ft);function ht(){return"jfk-tooltip"}gt.prototype.ha=function(){return this.s};gt.prototype.wa=function(){ft.prototype.wa.call(this);this.s&&F(this.s)};function it(a){gt.call(this,a)}m(it,gt);it.prototype.o=function(){Fm(this.ha(),"tooltip")};function jt(a){return Se(Pb(a.replace(kt,function(b,c){return lt.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var lt=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,kt=/]*)?>/gi;function mt(a){a=a||df();var b=Sa(a.g);nt[b]||(nt[b]=new ot(a))}function pt(a,b){var c=b instanceof be?jt(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"));mt(df(a))}var nt={}; function ot(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(ot,Bj);f=ot.prototype;f.wa=function(){qt(this);Bj.prototype.wa.call(this)}; function rt(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();rt(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;st(this)}; f.Ks=function(a){rt(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,st(this)};f.ot=function(a){v(a,r(function(b){var c=Im(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.s=c,st(this))},this))};function st(a){if(0==a.ua.lb||!a.i||!a.O){qt(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function qt(a){a.oa&&(kl(a.oa),a.oa=0,a.i=null)} f.fw=function(){if(!this.s)tt(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&&(tt(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,ut(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 vt(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 it(this.va);tt(this);g=this.g.ha();this.va.g.body.appendChild(g);Xi(this,this.g);this.o=new Zs(ht(),!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(vt(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 tt(a){a.g&&x(a.g.ha(),"jfk-tooltip-hide")};function wt(a){var b="Yf";if(a.Yf&&a.hasOwnProperty(b))return a.Yf;b=new a;return a.Yf=b};function xt(){}u(xt,Vq);Na(xt);f=xt.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:xt.ta.ne.call(this,a,b,c)}};f.Oc=function(a){var b=xt.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=xt.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 yt(){}u(yt,xt);Na(yt);f=yt.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 yt.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){yt.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 zt(a,b,c){fr.call(this,a,b||yt.Eb(),c)}u(zt,fr);f=zt.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(){zt.ta.wa.call(this);delete this.Ca;delete this.na};f.Ma=function(){zt.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 zt(null)});function Z(a,b,c,d){zt.call(this,a,At.Eb(),b);this.va=c||0;this.wb=d||0;this.Ka=!1}u(Z,zt);f=Z.prototype;f.Bb=function(){return this.wb};f.oc=function(a){this.na=a;var b=this.ha();b&&(this.Ka?pt(b,a):a?b.title=a:b.removeAttribute("title"))};f.Ta=function(a){this.isEnabled()!=a&&(Z.ta.Ta.call(this,a),Bt(this))};f.focus=function(){var a=this.ya;try{a.focus()}catch(b){}};f.Ij=function(a){Z.ta.Ij.call(this,a);Ct(this,!1)};f.$e=function(a){Z.ta.$e.call(this,a);this.isEnabled()&&Ct(this,!0)}; f.he=function(a){Z.ta.he.call(this,a);this.isEnabled()&&Ct(this,!0)};function Ct(a,b){a.ha()&&Kb(a.ha(),"jfk-button-clear-outline",b)}function Bt(a){a.ha()&&Dt(a.wd(),a)}function Et(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 At(){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(At,xt);At.Eb=function(){return wt(At)};f=At.prototype;f.Hf=function(a,b,c){a&&c.va!=a&&(c.va=a,Bt(c));b&&c.wb!=b&&(c.wb=b,Bt(c))};f.Wa=function(){return"jfk-button"}; f.Oc=function(a){var b=a.g,c=Ws(Ys,{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){At.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==Lt(this)&&this.Fg();St.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:St.ta.hl.call(this)};function Ut(a,b){a=new St(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 Vt(a,b){this.Cb=a||200;this.wb=b||108;W.call(this)}u(Vt,W);Vt.prototype.Db=function(){return this.Cb};Vt.prototype.Bb=function(){return this.wb};function Wt(a){Jt.call(this,a,void 0,void 0);this.ko=!1;this.Wi=!0;this.ah=500}m(Wt,St);Wt.prototype.Mj=function(a,b){b||(b=new Mr(a,9,!0));St.prototype.Mj.call(this,a,b)};Wt.prototype.className="unified-hovercard";var Xt="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Yt(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");Xt.forEach(function(d){var e=S(c,d);e&&R(a,d,e)})};function Zt(a,b,c){Wi.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}m(Zt,Wi);Zt.prototype.wa=function(){this.i&&this.i.Ha()};function $t(a){return a.i||(a.i=new Bj(a))} Zt.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);au(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,du={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function eu(){this.Aa={}}f=eu.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 fu(){this.g=[]}f=fu.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 gu(a,b,c){if(hu(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 iu(a,b,c){if(hu(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 eu,d.Aa.om=a,this.g.push(d));b(d)};f.Ts=function(a,b,c){var d=null;yl(c.target)&&(d=hu(this,a),ju(this,d));b(d)};function ju(a,b){qb(a.g,function(c){return c.Yb()==b.Yb()})}function hu(a,b){return kb(a.g,function(c){return c&&c.Yb()==b})};function ku(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.ax=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(ku,eu);function lu(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 ku(b)}))}m(lu,fu);function mu(){W.call(this);this.j=[];this.i=[]}u(mu,W);function nu(a){var b=new Q(uf().location);b=new Q(b);return a===parseInt(S(b,"as_coll"),10)}function ou(a,b,c){pu(a,b.getId())||(a=b.O?a.j:a.i,c?ub(a,void 0,0,b):a.push(b))}function qu(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)} mu.prototype.N=function(a){a=a.target;if(yl(a)){a=new lu(Al(a));var b=pu(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)}};mu.prototype.o=function(a,b){b=b.target;yl(b)&&(b=new lu(Al(b)),ou(this,b,a),a=new Zi("add",this),a.shelf=b,this.dispatchEvent(a))};function ru(a,b){a.s=new Q(b);R(a.s,"jscmd","ClCreate")}function pu(a,b){return kb(su(a),function(c){return c.getId()==b})}function su(a){return zb(a.j,a.i)};function tu(a,b){var c=C("A",{},"View order");ze(c,a);c.classList.add(b);return c};function uu(a,b,c){Zt.call(this,a,b,c);S(new Q(this.data.Aa.Ug),"dapp")}m(uu,Zt); uu.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()&&nu(1))vu(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()&&nu(1)&&vu(this,e)}else if(this.data.Rd()&&nu(1))wu(this,e),vu(this, e);else{wu(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,"")}; uu.prototype.j=function(a){if(!(this.data.Rd()||this.data.Zf()||this.data.Zh())&&this.data.Aa.Sj&&nu(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=tu(this.data.Aa.Sj,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}Zt.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.Yh?(this.data.Aa.tj?this.data.Aa.rj? xu(this,b):cu(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()&&nu(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?yu(this,b):this.data.Rd()&&xu(this,b):yu(this,b),nu(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(du,this.data.Aa.lq)&&!Nb(c)?cu(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):cu(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function vu(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=tu(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 yu(a,b){a.data.Aa.ag&&!a.data.Rd()?cu(a,b,"Pre-order eBook - "+a.data.Aa.Pp,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.xl()?cu(a,b,"EBOOK FROM "+a.data.Aa.$u,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn"):cu(a,b,"Buy eBook - "+a.data.Aa.Pp,a.data.Aa.Mk,void 0,void 0,"unified-hovercard-buy-btn")}function xu(a,b){cu(a,b,"Read now",a.data.Aa.Hp,void 0,void 0,"unified-hovercard-read-now")} function wu(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 zu(a,b,c){Wt.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);Au(this)}m(zu,Wt);zu.prototype.wa=function(){$t(this.i).Ha();F(this.ha())};zu.prototype.ai=function(a,b){Wt.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,Bu(this))}; zu.prototype.render=function(a){this.i&&(this.i.Ha(),this.j=this.Ba=null);this.i=new uu(a,this.className,435,this.Vb);this.i.render(this.ha());Au(this);this.isVisible()&&Bu(this)}; function Bu(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))};Cu.prototype.oa=function(){this.dispatchEvent("render");Du.dispatchEvent("complete");this.s&&Lh(this.s,L(this.j).width)};Cu.prototype.na=function(a,b){(new zu(a,this.i)).Ke(b)};function Eu(a,b,c){Cu.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}m(Eu,Cu);Eu.prototype.Qc=function(a){qj(this,"render",r(this.ua,this));Cu.prototype.Qc.call(this,a);a.appendChild(this.N)};Eu.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function Fu(a,b,c){Eu.call(this,a,b,c)}m(Fu,Eu);Fu.prototype.Qc=function(a){Eu.prototype.Qc.call(this,a)};Fu.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 Gu(){this.g=Hu;this.kg=5E3}var Iu=0;Gu.prototype.send=function(a,b,c,d){a=a?Yc(a):{};d=d||"_"+(Iu++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(q[e]=Ju(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,Ku(d,a,c),void 0);return{lb:d,ao:b}};Gu.prototype.cancel=function(a){a&&(a.ao&&a.ao.cancel(),a.lb&&Lu(a.lb,!1))}; function Ku(a,b,c){return function(){Lu(a,!1);c&&c(b)}}function Ju(a,b){return function(c){Lu(a,!0);b.apply(void 0,arguments)}}function Lu(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 Mu(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(Mu,P);f=Mu.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[Nu(this,a)];c=!!d&&b.yl&&b.yl(d);d&&!c&&this.s!=a&&this.Le(a)}c||this.eg();break;case "canceldismiss":Ou(this);break;case "dismiss":Pu(this)}};f.ji=function(a){this.N!=a&&(this.N=a,this.ma.Lp(this.N,10,r(this.Pu,this)),Ou(this))};f.qd=function(){return this.j.isVisible()}; function Qu(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 Su(a){var b=0,c=0;Uu(a)&&(b=a.selectionStart,c=-1);return[b,c]}function Uu(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function Vu(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 Yu(this,a)};function Yu(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){Xu(this,a.target||null)}; function Xu(a,b){Gj(a.N);a.g&&Ou(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&&Zu(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.Om)),this.g&&Pu(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&&Zu(this)};f.rp=function(a){this.If&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&Zu(this)};f.vp=function(){};function Zu(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){Yu(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Ab()!=this.El)){if(a||!this.Sl){a=Su(this.Mb)[0];var b=this.Ab();a=Tu(this,b)[Ru(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 Ru(a,b,c){a=Tu(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&&ev(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,ev(a,b,c),b=d}function fv(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 hv(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 iv;c=new jv(this.Ka||a,this.Ba);c.ua=!0;d=new Vu(null,null,!1);Mu.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(hv,Mu);hv.prototype.eg=function(){this.La=this.ua.value;hv.ta.eg.call(this);return!1}; hv.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 iv(){}var Hu=wd(hd(id("//suggestqueries.google.com/complete/search")));iv.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 Gu;this.i.send(a,c)};iv.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)}; function jv(a,b){$u.call(this);this.Ja=a;this.La=b||0}u(jv,$u);jv.prototype.jk=function(){jv.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 kv(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=kv.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 lv(a,b){b=b.map(function(c){return this.N?new Fu(c,this.Cb):new Cu(c,this.Cb,this.ua)},a);ov(a,b)}function ov(a,b){tb(a.ma,b);mv(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 nv(a){var b=a.N?110:50;return Math.ceil(L(a.i).width/b)};function pv(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(pv,W);f=pv.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 kv(this.N,!0,void 0,void 0,this.i.getId())}; f.Gh=function(){this.j.resize();var a=Math.ceil(1.25*nv(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 lu(Al(a))).g)&&a.length){var b=op(a[a.length-1].Aa.Ug);this.oa!=b&&(this.oa=b,ov(this.j,qv(this,a)));(a=Vf(this.ha()))&&Nh(a,1)}else 0==this.j.oa&&this.Kp();this.dispatchEvent("success")}}; function qv(a,b){return a.Sk(b).map(function(c){return this.j.N?new Fu(c,200,this.i.getId()):new Cu(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 rv(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(rv,Tl);rv.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.":Bv(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 Av(a){a=a.hb();var b;/[^0-9]/.test(a)||Nb(a)?b=null:b=Mb(a,"B")?Hs(a,Ks):Hs(a,Js);return b} function Bv(a,b){a=Av(a);b=Av(b);return 0==a+1-(b-1)};function Cv(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=zv(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=zv(this.s,this.j);Rh(this.i, !0);V(this.i)}m(Cv,xm);Cv.prototype.mb=function(a){K(this.i,a)};Cv.prototype.setPosition=function(a){wh(this.i,a)};Cv.prototype.Na=function(){F(this.i)};function Dv(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(Dv,W);f=Dv.prototype;f.mb=function(a){if(!this.i||!Le(this.i,a)){this.i=a;var b=this.o;b.ma=a;Ev(b);this.dispatchEvent("resize")}};f.Xc=function(a){this.wc=a;this.N.Na();var b=this.o,c=this.Fa();b.ma=c;Ev(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);Ev(b);this.dispatchEvent("layoutchange")}; function Fv(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 Gv(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(){Dv.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 Jv(a,b){Dv.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(Jv,Dv);f=Jv.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(){Kv&&(this.fl().Na(),this.va&&this.va(),this.hc())};var Kv=!0;function Lv(a,b){this.Ea=a;this.g=b}m(Lv,yp);Lv.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 Mv(){};function Nv(a){this.Ea=a}u(Nv,Mv);Nv.prototype.dl=function(a){var b=this.ki(a);a=b[0]||[];b=b[1]||[];b.sort(t(Ov,this.Ea.Kc()));var c=[];tb(c,a,b);return c};function Ov(a,b,c){return ih(kh(Ul(b)),a)-ih(kh(Ul(c)),a)}Nv.prototype.ki=function(a){var b=Hv(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 Pv(a,b){this.Ea=b;this.V=a}m(Pv,Nv);Pv.prototype.dl=function(a){var b=Nv.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 Qv(){W.call(this)}u(Qv,W);Qv.prototype.te=function(a){this.i=a;this.s=Rv(a)};Qv.prototype.wa=function(){Qv.ta.wa.call(this);F(this.s)};function Sv(a){W.call(this);this.ma=a;this.O=[]}u(Sv,Qv);f=Sv.prototype;f.te=function(a){Sv.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=Tv(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 Uv(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function Tv(a,b,c,d,e){var g=Uv(a);return ib([b,c,d,e],function(h){return Math.round(h*g)})}function Vv(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 Wv(){Sv.call(this)}m(Wv,Sv);f=Wv.prototype;f.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Op(a))&&(Vv(this,a),this.j=!0)}}; f.nh=function(a,b,c,d){this.o=Sv.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=Tv(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 Xv(a){Sv.call(this);this.V=a}m(Xv,Sv);Xv.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)}};Xv.prototype.o=function(a,b){(a=uo(this.V.rb(),a))?this.V.ub(a):cp(this.V,b)};function Yv(a,b){this.s=a;this.g=b}Yv.prototype.Ga=function(){return this.s};Yv.prototype.i=function(){return this.s.xd(this.g)};function Zv(a,b,c){Yv.call(this,a,b);this.j=c}m(Zv,Yv);Zv.prototype.i=function(){return this.j.width>this.g.width?this.s.xd(this.j):Yv.prototype.i.call(this)};function $v(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=Rv(this);J(this.ua,"backgroundColor","#fff");K(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=Rv(this),K(a,c),this.va=new aw(a),this.va.show();b&&(this.s=b,this.g.ka(b,"update",this.wg),ep(b))}u($v,W);f=$v.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.s};function bw(a,b){a.na.push(b);b.te(a)}f.wg=Ma;function cw(a){a.dispatchEvent("load");a.Ba&&a.va.kb()} function Rv(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 dw(a){a.N=Rv(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;ew.dispatchEvent(a)};var ew=new P; function aw(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}}aw.prototype.show=function(a){J(this.g,{display:a?"none":""})};aw.prototype.kb=function(){this.show(!0)};$v.prototype.Zl=function(){fw(this)};function fw(a,b){a.o&&F(a.o);a.o=Rv(a);new gw(a.o,a.Fa(),b)} function gw(a,b,c){this.g=a;J(a,{backgroundColor:"#FFF",textAlign:"center"});K(a,b);N(a,Rl(c||""));V(this.g)};function hw(a,b,c){$v.call(this,a,b.Ga(),b.g,c);this.$g(iw);a=Rv(this);this.ma=new jw(b.g,a);a=Rv(this);this.O=new jw(b.g,a);dw(this);Rh(c,!0);x(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.wg()}m(hw,$v);f=hw.prototype;f.ub=function(a){Hp(a,"output",null);$v.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=kw(b);qj(this.ma,"load",r(this.Sq,this,a,b,this.Fa().width));lw(this.ma,[b]);var c=Yo(this.V.Xb,a.Qa());c.push(b);lw(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."),fw(this, a),cw(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;cw(this)};f.mc=ba(7);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();$v.prototype.Na.call(this)};var iw=new P,kw=Nc;function jw(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(jw,P);jw.prototype.empty=function(){for(var a;a=Hf(this.j);)vp(a)}; function lw(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;Iv(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 xw(){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}xw.prototype.show=function(){this.g?(this.i(),T(r(this.j,this),500)):this.j();T(r(this.i,this),6E3)};xw.prototype.j=function(){J(this.s,"bottom","0");this.g=!0};xw.prototype.i=function(){J(this.s,"bottom","-48px");this.g=!1};function yw(a){this.i=a;this.s=new xw;this.j=zw(this)}yw.prototype.ha=function(){return this.j}; function zw(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} yw.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.s.show()};function Aw(a){Or.call(this,a);tn(this);this.Wn=!1;this.g=new Bj;this.i=Cp();x(a,"viewport-selection-popup");Bw&&Bw.Ha();Bw=this}m(Aw,Or);Aw.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function Cw(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 yw(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",Dw)}function Dw(a){a.stopPropagation()}Aw.prototype.wa=function(){F(this.ha());Or.prototype.wa.call(this);this.g.Ha()};var Bw=null;function Ew(a,b){this.g=a instanceof A?a:new A(a,b)}u(Ew,Gr);Ew.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 Fw(a,b){Ew.call(this,a,b)}u(Fw,Ew);Fw.prototype.i=0;Fw.prototype.s=function(a){this.i=a};Fw.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 Gw(a){Sv.call(this,"#4a95d6");this.j=a}m(Gw,Sv);Gw.prototype.te=function(a){Sv.prototype.te.call(this,a);J(this.s,{cursor:"pointer"});this.g.ka(this.s,"mousedown",Hw)};function Hw(a){a.stopPropagation()} function uw(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=qw(a.O);if(e){var g=Dh(a.s);b=new Aw(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&&(Cw(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&&Cw(b,"Image",l);d&&Cw(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(Iw,b,new Fw(new A(c, e))));a.N=qj(b,"close",r(a.vg,a))}}function Iw(a,b){a.Hd||(a.setPosition(b),a.Da(!0))}Gw.prototype.vg=function(){Sv.prototype.vg.call(this);this.o&&this.o.Ha()};Gw.prototype.wa=function(){Sv.prototype.wa.call(this);this.o&&this.o.Ha();this.N&&yj(this.N)};function Jw(a,b,c){return a.Za().ij()?new mw(a,b,c):new hw(a,b,c)}function Kw(a,b){if(b instanceof hw){bw(b,new nw(a.tb()));bw(b,new Wv);var c=new Gw(a.Fb()),d=new vw(c,a.Ia());bw(b,d);bw(b,c);bw(b,new Xv(a))}};function Lw(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(Lw,xm);f=Lw.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=Jw(e,new Zv(this.Ga(),new Ke(a,b),new Ke(c,d)),this.O);a instanceof hw?Kw(e,a):a instanceof mw&&a instanceof mw&&bw(a,new nw(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 Mw(a){return a+2}f.Fa=function(){return new Ke(this.zj,this.Xg)};function Nw(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(Nw,W);function Ow(a,b){Nw.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(Ow,Nw);function Ev(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"))}Ow.prototype.na=function(){this.o=!1;this.N()}; Ow.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 Pw(a){var b=a.Fb(),c=new Ow(this,b);Qw(b);Jv.call(this,a,c);Gv(this,new Pv(a,this));Fv(this,Rw(this));var d=a.rb(),e=a.Za().Wf();this.ma=a.Za().O?function(g){return new wv(d,e,g)}:a.Za().na?function(g){return new wv(d,e,g,!0,a.Za().na)}:function(g){return new wv(d,e,g,!0)};b=this.vb.Za();"fixed_height"==b.Wf()?(b=b.ee(),b=b[Math.floor(b.length/2)]+2):b=Sw(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(Pw,Jv);function Qw(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});x(a,"overflow-scrolling");of(a,{dir:"ltr"})}f=Pw.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,Mw))};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 Rw(a){var b=new Up;Vp(b,dm,new Lv(a,t(Oc,Lw,a.vb,a,a.o.i)));Vp(b,rv,new yv(a.vb,function(c){return new Cv(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 gx(a){return 2*a};function hx(a){this.V=a}m(hx,yp);hx.prototype.render=function(a){var b=new ex(this.V,a.Fa().width);b.setPosition(a.nd());b.Qc();b.Da(!0);return this.g=b};function ix(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(ix,P);ix.prototype.xf=function(){return this.i};function jx(a,b){if(b!=a.i){a.i=b;var c=a.V.Ia().o.i;M(c,!1);L(c);[t(kx,a.j,a.N,a.o,a.g,b),r(a.s,a),t(M,c,!0)].forEach(T)}}ix.prototype.s=function(){this.dispatchEvent("change")};function kx(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 lx=null;function mx(a,b){Bj.call(this);this.i=lx;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(mx,Bj);mx.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(yx,this.s));this.N&&(a=new Q(a.Ac()),R(a,"output","embed"),this.Fe.value=zx(a.toString()))};xx.prototype.Yl=function(){wx.prototype.Yl.call(this);this.g.ka(this.s,"click",t(yx,this.s));this.N&&this.g.ka(this.Fe,"click",t(yx,this.Fe))};function yx(a){a.select()}function zx(a){return Me('',a)};function Ax(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)? Bx(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 Cx(this)}m(Ax,xm);Ax.prototype.N=function(a){this.Ea.uf(a.g)};Ax.prototype.O=function(a){(a=a.ob.snippetSrc)?Bx(this,a):Cx(this)};function Bx(a,b){Bf(a.s);var c=E("IMG");c.src=b;Dx(a);b=a.j.Fa().width-25;J(c,{width:b+"px"});a.s.appendChild(c)} function Dx(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 Cx(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)?(Dx(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())}Ax.prototype.Na=function(){F(this.i);this.Ha()};function Ex(a){this.Ea=a}m(Ex,yp);Ex.prototype.render=function(a){return new Ax(this.Ea,a)};function Fx(a){this.g=a}m(Fx,Tl);function Gx(a,b){sv.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(Gx,sv);Gx.prototype.s=function(a){a=new Fx(a);var b=Math.min(this.N-16,600);a.mb(new Ke(b,Math.round(124/600*b+42)));this.Sa(a)};function Hx(a){var b=a.Fb();J(b,"overflow","hidden");var c=new Ow(this,b);Dv.call(this,c);this.V=a;Gv(this,new Nv(this));this.g.ka(this,"move",this.hc);var d=B("subscription-bar");d&&(this.Zk(d),T(function(){M(d,!1)},600));Fv(this,Ix(this));Jx(b)}u(Hx,Dv);function Jx(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});of(a,{dir:"ltr"})}function Ix(a){var b=new Up;Vp(b,Fx,new Ex(a));return b}Hx.prototype.resize=function(){Kx(this)}; function Kx(a){var b=new Gx(a.Jb,a.Fa().width);a.Xc(b);a.hc()}Hx.prototype.uf=function(a,b){return this.Ba(a,b)};function Lx(a){this.g=a||{}}Lx.prototype.lc=function(){return this.g};Lx.prototype.qc=function(a){var b=Uc(Mx,function(c){return c==a});this.g.v=b};Lx.prototype.getQuery=function(){return this.g.q};var Mx={onepage:Pw,twopage:tx,thumbnail:Xw,snippet:Hx};function Nx(a,b){this.g=new ks;O(this.g,"navigate",r(this.o,this));this.V=a;this.i=b}Nx.prototype.o=function(a){Ox(this,a.o)};function Ox(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 Px&&(g=Px[g]);c[e]=g});b=new Lx(c);a.V.qc(Mx[b.g.v]||Pw);jx(a.i,!!b.g.f);void 0!==b.getQuery()&&Uo(a.V.tb(),b.getQuery())}} Nx.prototype.Ta=function(a){this.s=!0;this.g.Ta(a);z&&(a=(new Q(window.location)).g,Ox(this,a));this.s=!1};Nx.prototype.update=function(){var a=new Lx;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 Px={"true":!0,"false":!1};function Qx(){this.i=[]}u(Qx,Vq);Na(Qx);function Rx(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=Qx.prototype;f.sg=function(){return"menuitem"};f.Oc=function(a){var b=a.g.Ra("DIV",Yq(this,a).join(" "),Sx(this,a.Gc(),a.g));Tx(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=Rx(this,2);c&&Gb(c,d)||b.appendChild(Sx(this,b.childNodes,a.g));Gb(b,"goog-option")&&(a.ii(!0),this.ii(a,b,!0));return Qx.ta.Sb.call(this,a,b)};f.tg=function(a,b){var c=this.Ic(a),d=Ux(this,a)?c.firstChild:null;Qx.ta.tg.call(this,a,b);d&&!Ux(this,a)&&c.insertBefore(d,c.firstChild||null)};function Sx(a,b,c){a=Rx(a,2);return c.Ra("DIV",a,b)}f.Sp=function(a,b,c){a&&b&&Tx(this,a,b,c)};f.ii=function(a,b,c){a&&b&&Tx(this,a,b,c)}; function Ux(a,b){return(b=a.Ic(b))?(b=b.firstChild,a=Rx(a,1),!!b&&Jf(b)&&Gb(b,a)):!1}function Tx(a,b,c,d){ar(a,c,b.rf());br(a,b,c);d!=Ux(a,c)&&(Kb(c,"goog-option",d),c=a.Ic(c),d?(a=Rx(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 Rx(this,0);case 16:case 8:return"goog-option-selected";default:return Qx.ta.Kh.call(this,a)}}; f.hj=function(a){var b=Rx(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Qx.ta.hj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function Vx(a,b,c,d){fr.call(this,a,d||Qx.Eb(),c);this.xc(b)}u(Vx,fr);f=Vx.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){Vx.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)):Vx.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}Vx.ta.he.call(this,a)};f.fe=function(a){return a.keyCode==this.Jl&&this.Qe(a)?!0:Vx.ta.fe.call(this,a)};f.ht=function(){return this.Jl}; Nq("goog-menuitem",function(){return new Vx(null)});Vx.prototype.rf=function(){return cr(this,16)?"menuitemcheckbox":cr(this,8)?"menuitemradio":Vx.ta.rf.call(this)};Vx.prototype.getParent=function(){return fr.prototype.getParent.call(this)};Vx.prototype.Sg=function(){return fr.prototype.Sg.call(this)};function Wx(a,b,c){Vx.call(this,a,b,c);this.ii(!0)}u(Wx,Vx);Nq("goog-checkbox-menuitem",function(){return new Wx(null)});function Xx(a){Wx.call(this,Se(a.hb()),a.getId());this.i=a}m(Xx,Wx);Xx.prototype.Nb=function(a){Wx.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 Yx(a,b,c,d){Mr.call(this,a,b,c||d);(c||d)&&this.s(65|(d?32:132))}u(Yx,Mr);function Zx(){}u(Zx,Vq);Na(Zx);Zx.prototype.Wa=function(){return"goog-menuheader"};function $x(a,b,c){fr.call(this,a,c||Zx.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u($x,fr);Nq("goog-menuheader",function(){return new $x(null)});function ay(){}u(ay,Vq);Na(ay);ay.prototype.Oc=function(a){return a.g.Ra("DIV",this.Wa())};ay.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};ay.prototype.tg=function(){};ay.prototype.Wa=function(){return"goog-menuseparator"};function by(a,b){fr.call(this,null,a||ay.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(by,fr);by.prototype.Ma=function(){by.ta.Ma.call(this);var a=this.ha();Fm(a,"separator")};Nq("goog-menuseparator",function(){return new by});function cy(a){this.g=a||"menu"}u(cy,Qq);Na(cy);f=cy.prototype;f.dk=function(a){return"UL"==a.tagName||cy.ta.dk.call(this,a)};f.Mh=function(a){return"HR"==a.tagName?new by:cy.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){cy.ta.ek.call(this,a);a=a.ha();Gm(a,"haspopup","true")};function dy(a){by.call(this,ay.Eb(),a)}u(dy,by);Nq("goog-menuseparator",function(){return new by});function ey(a,b){tr.call(this,"vertical",b||cy.Eb(),a);Cr(this,!1)}u(ey,tr);f=ey.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){iy(this,a)}; f.qv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||iy(this,a);40==a.keyCode&&yr(this)};function iy(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 Ky(a,b){this.startOffset=a;this.fh=void 0;this.endOffset=a;this.Eh=void 0;this.i=!1;this.g=b};function Ly(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new Iy(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=Ey(a);for(g=0;g=c&&(d.length=c);return d};function My(a){var b=Fy(a);a=Ny();Array.prototype.forEach.call(a,function(c){Oy(b,c)})}function Ny(){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 Oy(a,b){var c=Uf(b);a=Ly(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 Py(){Vx.call(this,"Turn off highlighting");var a=Wj("dq")||Wj("q");a&&My(a);this.Pb=!0}m(Py,Vx);Py.prototype.Ma=function(){Vx.prototype.Ma.call(this);Y(this).ka(this,"action",this.i)};Py.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 Qy(){}u(Qy,ay);Na(Qy);Qy.prototype.Oc=function(a){return a.g.Ra("DIV",Yq(this,a).join(" ")+" goog-inline-block","\u00a0")};Qy.prototype.Sb=function(a,b){b=Qy.ta.Sb.call(this,a,b);x(b,"goog-inline-block");return b};Qy.prototype.Wa=function(){return"goog-toolbar-separator"};function Ry(){}u(Ry,xt);Na(Ry);f=Ry.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){Sy(b,!0);Sy(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 Ry.ta.Sb.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function Sy(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 Ty(){}u(Ty,Ry);Na(Ty);Ty.prototype.Wa=function(){return"goog-toolbar-button"};function Uy(){this.g="toolbar"}u(Uy,Qq);Na(Uy);Uy.prototype.Mh=function(a){return"HR"==a.tagName?new by(Qy.Eb()):Uy.ta.Mh.call(this,a)};Uy.prototype.rg=function(){return"goog-toolbar"};Uy.prototype.uo=function(){return"horizontal"};function Vy(a){Uy.call(this);this.i=a}u(Vy,Uy);var Wy={};Vy.prototype.rg=function(){return this.i||"ocean-chrome-toolbar"};function Xy(a){P.call(this);this.g=[];Yy(this,a)}u(Xy,P);f=Xy.prototype;f.fg=null;f.kk=null;function Zy(a,b){a.kk=b}function Yy(a,b){b&&(b.forEach(function(c){$y(this,c,!1)},a),tb(a.g,b))}f.Sa=function(a){this.jf(a,this.g.length)};f.jf=function(a,b){a&&($y(this,a,!1),ub(this.g,b,0,a))};f.Kd=function(){return sb(this.g)};f.Ue=function(a){a!=this.fg&&($y(this,this.fg,!1),this.fg=a,$y(this,a,!0));this.dispatchEvent("select")};f.wa=function(){Xy.ta.wa.call(this);delete this.g;this.fg=null}; function $y(a,b,c){b&&("function"==typeof a.kk?a.kk(b,c):"function"==typeof b.Xl&&b.Xl(c))};function az(a,b,c){tr.call(this,b,a||Uy.Eb(),c)}u(az,tr);az.prototype.Ji=function(a){az.ta.Ji.call(this,a);this.ie||yr(this)};function bz(a,b,c){zt.call(this,a,b||Ty.Eb(),c)}u(bz,zt);Nq("goog-toolbar-button",function(){return new bz(null)});function cz(a,b){by.call(this,a||Qy.Eb(),b)}u(cz,by);Nq("goog-toolbar-separator",function(){return new cz});function dz(a){a=a||"viewport-chrome-toolbar";a=Wy[a]||(Wy[a]=new Vy(a));az.call(this,a);this.Ba={};this.j=new Bj(this)}m(dz,az);function ez(a,b,c,d){b.Zb(16,!0);if(c){var e=a.Ba[c];e||(e=new Xy,Zy(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 fz(a,b){a.Ba.viewport&&a.Ba.viewport.Ue(b)}dz.prototype.wa=function(){az.prototype.wa.call(this);this.j.Ha();Qc(this.Ba,function(a){a.Ha()})};function gz(){}u(gz,xt);Na(gz);f=gz.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 gz.ta.Sb.call(this,a,b)};f.Ab=function(){return""};f.Wa=function(){return"goog-flat-button"};Nq("goog-flat-button",function(){return new zt(null,gz.Eb())});function hz(){}u(hz,Ry);Na(hz);hz.prototype.Ic=function(a){return hz.ta.Ic.call(this,a&&a.firstChild)};hz.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 ey;ln(d,c);a.Te(d)}return hz.ta.Sb.call(this,a,b)};hz.prototype.Vi=function(a,b){return hz.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)};hz.prototype.Wa=function(){return"goog-menu-button"};function iz(){this.i=[]}u(iz,Qx);Na(iz);iz.prototype.Oc=function(a){var b=iz.ta.Oc.call(this,a);x(b,"goog-submenu");jz(this,a,b);return b};iz.prototype.Sb=function(a,b){b=iz.ta.Sb.call(this,a,b);x(b,"goog-submenu");jz(this,a,b);var c=jf("DIV","goog-menu",b);if(c.length){var d=new ey(a.g);c=c[0];M(c,!1);a.g.g.body.appendChild(c);ln(d,c);a.Te(d,!0)}return b};iz.prototype.tg=function(a,b){var c=this.Ic(a),d=c&&c.lastChild;iz.ta.tg.call(this,a,b);d&&c.lastChild!=d&&Gb(d,"goog-submenu-arrow")&&c.appendChild(d)}; iz.prototype.Fi=function(a){iz.ta.Fi.call(this,a);var b=a.Ib(),c=kf(a.g.g,"SPAN","goog-submenu-arrow",b)[0];kz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();Gm(a,"haspopup","true")};function jz(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";kz(b,d);a.Ic(c).appendChild(d)}function kz(a,b){pn(a)?(x(b,"goog-submenu-arrow-rtl"),H(b,"\u25c4")):(Ib(b,"goog-submenu-arrow-rtl"),H(b,"\u25ba"))};function lz(a,b,c,d){Vx.call(this,a,b,c,d||iz.Eb())}u(lz,Vx);f=lz.prototype;f.qh=null;f.fm=null;f.Il=!1;f.tc=null;f.Yi=!1;f.Ma=function(){lz.ta.Ma.call(this);Y(this).ka(this.getParent(),"hide",this.wp);this.tc&&mz(this,this.tc,!0)};f.kc=function(){Y(this).Xa(this.getParent(),"hide",this.wp);this.tc&&(mz(this,this.tc,!1),this.Yi||(this.tc.kc(),F(this.tc.ha())));lz.ta.kc.call(this)};f.wa=function(){this.tc&&!this.Yi&&this.tc.Ha();this.tc=null;lz.ta.wa.call(this)}; f.Wc=function(a){lz.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&&(nz(this,!0),oz(this))};f.Ee=function(){var a=this.tc;a&&a.getParent()==this&&(nz(this,!1),mn(a,function(b){"function"==typeof b.Ee&&b.Ee()}))};function pz(a){a.qh&&kl(a.qh);a.fm&&kl(a.fm)}f.Da=function(a,b){(a=lz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Ee();return a}; function oz(a){mn(a.getParent(),function(b){b!=this&&"function"==typeof b.Ee&&(b.Ee(),pz(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(qz(this));pz(this)}else if(!qz(this).Sc(a))if(b==d)this.Ee();else return!1;a.preventDefault();return!0};f.dv=function(){this.tc.getParent()==this&&(pz(this),this.Sg().Wc(this),oz(this))};f.wp=function(a){a.target==this.Sg()&&(this.Ee(),pz(this))}; f.Ke=function(a){this.isEnabled()&&(pz(this),this.fm=T(this.dm,218,this));lz.ta.Ke.call(this,a)};f.Qe=function(a){pz(this);if(cr(this,8)||cr(this,16))return lz.ta.Qe.call(this,a);this.dm();return!0}; function nz(a,b){!b&&qz(a)&&qz(a).Sd(-1);a.dispatchEvent(hn(64,b));var c=qz(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=qz(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 mz(a,b,c){var d=Y(a);(c?d.ka:d.Xa).call(d,b,"enter",a.dv)}f.Sa=function(a){qz(this).Oa(a,!0)};f.jf=function(a,b){qz(this).Dg(a,b,!0)}; f.Kd=function(){return qz(this).Kd()};function qz(a){a.tc?a.Yi&&a.tc.getParent()!=a&&a.tc.ke(a):a.Te(new ey(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&&mz(this,c,!1)),this.tc=a,this.Yi=!b,a&&(a.ke(this),a.Da(!1,!0),fy(a,!1),Cr(a,!1),this.$a&&mz(this,a,!0)))};f.Zd=function(a){return qz(this).Zd(a)};Nq("goog-submenu",function(){return new lz(null)});function rz(a,b,c,d,e){zt.call(this,a,c||hz.Eb(),d);this.Zb(64,!0);this.o=new Yx(null,9);b&&this.Te(b);this.Ya=new il(500);this.Lb=e||cy.Eb()}u(rz,zt);f=rz.prototype;f.Ma=function(){rz.ta.Ma.call(this);sz(this,!0);this.i&&tz(this,this.i,!0);Gm(this.ya,"haspopup",!!this.i)};f.kc=function(){rz.ta.kc.call(this);sz(this,!1);if(this.i){this.Qb(!1);this.i.kc();tz(this,this.i,!1);var a=this.i.ha();a&&F(a)}};f.wa=function(){rz.ta.wa.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.nb;this.Ya.Ha()}; f.$e=function(a){rz.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){rz.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 lz||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);rz.ta.Gi.call(this,a)}; function uz(a){a.i||a.Te(new ey(a.g,a.Lb));return a.i||null}f.Te=function(a){var b=this.i;a!=b&&(b&&(this.Qb(!1),this.$a&&tz(this,b,!1),delete this.i),this.$a&&Gm(this.ya,"haspopup",!!a),a&&(this.i=a,a.ke(this),a.Da(!1),fy(a,!1),this.$a&&tz(this,a,!0)));return b};f.Sa=function(a){uz(this).Oa(a,!0)};f.jf=function(a,b){uz(this).Dg(a,b,!0)};f.Da=function(a,b){(a=rz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Qb(!1);return a};f.Ta=function(a){rz.ta.Ta.call(this,a);this.isEnabled()||this.Qb(!1)}; f.Qb=function(a,b){rz.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()),vz(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 vz(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=Ez(this);d[0].appendChild(g);g=Fz(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]),Yt(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 Ez(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 Fz(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} Dz.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)};Dz.prototype.i=function(a){Bf(this.j);"string"===typeof a?this.j.appendChild(yf(a)):this.j.appendChild(a)};function Gz(a,b){Z.call(this,b,void 0,3);this.o=a}m(Gz,Z);Gz.prototype.render=function(a){Z.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};Gz.prototype.Ma=function(){Z.prototype.Ma.call(this);var a=this.ha();this.i=new Dz(a,this.o);this.i.render();a=B("menu_container");(a=mf("about_title",a))&&F(a)}; function Hz(){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(Iz,a,b))}}}function Iz(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 Jz(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(Jz,P);Jz.prototype.wa=function(){Jz.ta.wa.call(this);Vi(this.ma);Vi(this.O);Vi(this.oa)};Jz.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 Kz("toggle",this,this.g))}; Jz.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.Se(!this.g),this.dispatchEvent(new Kz("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};Jz.prototype.na=function(a){this.Se(!this.g);this.dispatchEvent(new Kz("action",this,this.g,a))};function Kz(a,b){Zi.call(this,a,b)}u(Kz,Zi);function Lz(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)+"")));jA(c,!0);c=a.Jb;c!=b.Jb&&(b.Jb=c,Kx(b));a=r(a.uf,a);b.Ba=a;b.Yc(new A(0, 0))} eA.prototype.uf=function(a,b){Kv=!0;var c=this.Vc.j;jA(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(kA(c,c.N+1,c.i.Jb.yb.length,null)))):pc?N(c.j,Kl(kA(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 Pw||d instanceof tx||(this.Vc.s== tx?c.qc(tx):c.qc(Pw));if(b)return c.Bd(b),null;c.Sh(a);return a};eA.prototype.wa=function(){Vi(this.j);W.prototype.wa.call(this)};function lA(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(mA),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?(nA(this,B("gb-mobile-search-result-prev"),r(this.lj,this,-1),"Previous"),nA(this,B("gb-mobile-search-result-next"),r(this.lj,this,1),"Next"),H(B("gb-mobile-search-result-viewall"),"View all"),nA(this,B("gb-mobile-search-result-viewall"),r(this.Oo,this),"View all"),H(B("gb-mobile-search-clear"),"Clear search"),nA(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),oA(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),oA(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),oA(this,this.oa,"View all",r(this.Oo,this)));this.O=this.s?B("gb-mobile-search-snippet-links"):E("SPAN");this.s?pA(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"]),pA(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),oA(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),oA(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=oA(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 mA,qA,rA;m(lA,W);function sA(){mA=B("search_bar")}function tA(){qA=B("toolbar_container")} function pA(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=Et("/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 gy;var c=new Vx("relevance"); c.hi("Order by relevance");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");c=new Vx("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 jA(a,b){M(qA,!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])||vA(a,b,c))}f.mj=function(a){var b=this.i.Vc;b&&b.update(a)};f.Oo=function(){gA(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 hA(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 iA(a,b,c){return a.s?b+" results":b+" results for "+c} function kA(a,b,c,d){return a.s?b+" of "+c:"Result "+b+" of "+c+" for "+d};function wA(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(wA,W); wA.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 lA(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))}HA.prototype.wa=function(){HA.ta.wa.call(this);delete this.g;this.j.Ha();this.j=null};function JA(a,b,c,d,e){DA.call(this,a,b,null,!0);this.ab=c;this.Rb=d;this.Ca=e}m(JA,DA); JA.prototype.Va=function(){DA.prototype.Va.call(this);this.o=KA(this,"Name","input");this.nb=KA(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&&LA(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 LA(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 KA(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 HA(b,E("span"),500));a.appendChild(b);return b} JA.prototype.Ka=function(a){this.ve=a;v(this.xe,function(b){M(b,a)});v(this.we,function(b){M(b,!a)})}; JA.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 fu;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());qu(c,a,r(b.N,b))}else b=this.ab,qu(b.s,a,r(b.o,b,!0));return!0}; JA.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;DA.prototype.wa.call(this)};function MA(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,NA),this.i&&tb(this.s,ib(this.i.childNodes,NA)));this.o=e;T(r(this.qr,this))}u(MA,W);f=MA.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 NA(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 JA("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");Yt(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);CA(!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