書籍の全文が登録された世界最大級の包括的なインデックスを検索できます。

マイ ライブラリ

出版社Google ブックスについてプライバシー ポリシー利用規約ヘルプ
EPS Plate Complete Set of Machinery

");return(new DOMParser).parseFromString(Xd(a),"text/html").body.children[0]} function Og(a,b){if(!a)return Hd;var c=document.createElement("div").style;Rg(a).forEach(function(d){var e=oc&&d in Lg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Lb(e,"--")||Lb(e,"var")||(d=Hg(a,d),d=gg(e,d,b),null!=d&&Ig(c,e,d))});return new Dd(c.cssText||"",Cd)} function Sg(a){var b=Array.from(zg(og,a,"getElementsByTagName",["STYLE"])),c=Cb(b,function(h){return tb(Dg(h).cssRules)});c=Ng(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 Yg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Yg.prototype;f.clone=function(){return new Yg(this.left,this.top,this.width,this.height)};function Zg(a){return new Ug(a.top,a.left+a.width,a.top+a.height,a.left)}function $g(a){return new Yg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function ah(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 qh(a){for(var b=new Ug(0,Infinity,Infinity,0),c=Ue(a),d=c.g.body,e=c.g.documentElement,g=kf(c.g);a=ph(a);)if(!(z&&0==a.clientWidth||oc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=jh(a,"overflow")){var h=rh(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= gf(Qf(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 sh(a,b){b=b||kf(document);var c=b||kf(document);var d=rh(a),e=rh(c),g=th(c);if(c==kf(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=uh(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 rh(a){var b=We(a),c=new A(0,0),d=nh(b);if(a==d)return c;a=oh(a);b=jf(Ue(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function vh(a,b){a=wh(a);b=wh(b);return new A(a.x-b.x,a.y-b.y)}function xh(a){a=oh(a);return new A(a.left,a.top)}function wh(a){if(1==a.nodeType)return xh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function yh(a,b,c){var d=rh(a);b instanceof A&&(c=b.y,b=b.x);kh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function K(a,b,c){if(b instanceof Be)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");zh(a,b);a.style.height=lh(c,!0)}function lh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function zh(a,b){a.style.width=lh(b,!0)}function L(a){var b=uh;if("none"!=jh(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 uh(a){var b=a.offsetWidth,c=a.offsetHeight,d=oc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=oh(a),new Be(a.right-a.left,a.bottom-a.top)):new Be(b,c)}function Ah(a){var b=rh(a);a=L(a);return new Yg(b.x,b.y,a.width,a.height)}function Bh(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 Ch(a){return"none"!=a.style.display} function Dh(a){return"rtl"==jh(a,"direction")}var Eh=nc?"MozUserSelect":oc||lc?"WebkitUserSelect":null;function Fh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Eh){if(b=b?"none":"",a.style&&(a.style[Eh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Eh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Gh(a,b){var c=hf(Ue(We(a)).g);if(!z||Fc("10")||c)Hh(a,b,"border-box");else{var d=a.style;c?(c=Ih(a),a=th(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 Jh(a){var b=We(a),c=z&&a.currentStyle;if(c&&hf(Ue(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Kh(a,c.width,"width","pixelWidth"),a=Kh(a,c.height,"height","pixelHeight"),new Be(b,a);c=new Be(a.offsetWidth,a.offsetHeight);b=Ih(a);a=th(a);return new Be(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Lh(a,b){var c=hf(Ue(We(a)).g);if(!z||Fc("10")||c)Hh(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Ih(a),a=th(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 Hh(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 Kh(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 Mh(a,b){return(b=ih(a,b))?Kh(a,b,"left","pixelLeft"):0} function Ih(a){if(z){var b=Mh(a,"paddingLeft"),c=Mh(a,"paddingRight"),d=Mh(a,"paddingTop");a=Mh(a,"paddingBottom");return new Ug(d,c,a,b)}b=hh(a,"paddingLeft");c=hh(a,"paddingRight");d=hh(a,"paddingTop");a=hh(a,"paddingBottom");return new Ug(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Nh={thin:2,medium:4,thick:6};function Oh(a,b){if("none"==ih(a,b+"Style"))return 0;b=ih(a,b+"Width");return b in Nh?Nh[b]:Kh(a,b,"left","pixelLeft")} function th(a){if(z&&!Gc(9)){var b=Oh(a,"borderLeft"),c=Oh(a,"borderRight"),d=Oh(a,"borderTop");a=Oh(a,"borderBottom");return new Ug(d,c,a,b)}b=hh(a,"borderLeftWidth");c=hh(a,"borderRightWidth");d=hh(a,"borderTopWidth");a=hh(a,"borderBottomWidth");return new Ug(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Ph={"* 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},Qh={"* 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 Rh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Sh=0;function Th(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Sh++}Th.prototype.set=function(a,b){if(zg(kg,a,"hasAttribute",[this.g])){var c=parseInt(zg(lg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Bg(a,this.g,c.toString()),this.j.push(a);return this}; Th.prototype.get=function(a){if(zg(kg,a,"hasAttribute",[this.g]))return a=parseInt(zg(lg,a,"getAttribute",[this.g])||null,10),this.i[a]};Th.prototype.clear=function(){this.j.forEach(function(a){zg(ng,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Uh=!z||Gc(10),Vh=!z||null==document.documentMode;function Wh(){};var Xh={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 Yh={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 Zh={"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 $h(a){a=a||new ai;bi(a);this.i=Zc(a.g);this.N=Zc(a.ua);this.j=Zc(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!Lb(b,"data-"))throw new eb('Only "data-" attributes allowed, got: %s.',[b]);if(Lb(b,"data-sanitizer-"))throw new eb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=ci},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Yb(b,"-")||Zh[b])throw new eb("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($h,Wh);function di(a){return function(b,c){return(b=a(Ob(b),c))&&"about:invalid#zClosurez"!=ud(b)?ud(b):null}}function ai(){this.g={};v([Ph,Qh],function(a){Tc(a).forEach(function(b){this.g[b]=ci},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Zc(Xh);this.va=Zc(Yh);this.na=!1;this.ma=zd;this.O=this.s=this.o=this.j=Mc;this.Pa=null;this.N=this.oa=!1} function ei(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function fi(a,b,c,d){a[c]&&!b[c]&&(a[c]=ei(a[c],d))} function bi(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");fi(a.g,a.i,"* USEMAP",gi);var b=di(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){fi(this.g,this.i,d,b)},a);var c=di(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){fi(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){fi(this.g,this.i,d,t(hi,this.o))},a);fi(a.g,a.i,"A TARGET",t(ii,["_blank","_self"]));fi(a.g,a.i,"* CLASS",t(ji,a.s));fi(a.g,a.i,"* ID",t(ki,a.s));fi(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function li(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function ci(a){return Ob(a)}function ii(a,b){b=Ob(b);return nb(a,b.toLowerCase())?b:null}function gi(a){return(a=Ob(a))&&"#"==a.charAt(0)?a:null}function hi(a,b,c){return a(Ob(b),c)}function ji(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Sg(b),b=b.innerHTML);b=Zd(b);var c=document.createElement("template");if(Vh&&"content"in c)oe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;oe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Rh? new WeakMap:new Th;d=b.nextNode();){c:{var e=d;switch(Fg(e)){case 3:e=mi(this,e);break c;case 1:if("TEMPLATE"==Eg(e).toUpperCase())e=null;else{var g=Eg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Jg(e))var h=null;else this.j[g]?h=document.createElement(g):(h=F("SPAN"),this.oa&&Bg(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Ag(e);if(null!=l)for(var m=0;g=l[m];m++)if(g.specified){var p=e;var w=g;var D=w.name;if(Lb(D,"data-sanitizer-"))w=null;else{var E=Eg(p); w=w.value;var G={tagName:Ob(E).toLowerCase(),attributeName:Ob(D).toLowerCase()},P={il:void 0};"style"==G.attributeName&&(P.il=Cg(p));p=li(E,D);p in this.i?(D=this.i[p],w=D(w,G,P)):(D=li(null,D),D in this.i?(D=this.i[D],w=D(w,G,P)):w=null)}null!==w&&Bg(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Fg(e)&&c.set(d,e),d=Gg(d),g=!1,d)h=Fg(d),k=Eg(d).toLowerCase(),l=Gg(d),11!=h||l?"body"==k&&l&&(h=Gg(l))&&!Gg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Fg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else sf(d)}c.clear&&c.clear()}else a=F("SPAN");0")+1,a.lastIndexOf(""))}else a="";return Zd(a)};function mi(a,b){var c=b.data;(b=Gg(b))&&"style"==Eg(b).toLowerCase()&&!("STYLE"in a.N)&&"STYLE"in a.j&&(c=Sd(Pg(c,a.s,r(function(d,e){return this.ma(d,{qt:e})},a))));return document.createTextNode(c)};function ni(a){return(new $h(new ai)).g(a)};/* SPDX-License-Identifier: Apache-2.0 */ var oi;try{new URL("s://g"),oi=!0}catch(a){oi=!1}var pi=oi;function qi(a){if(!pi){a:{var b=document.createElement("a");try{b.href=a}catch(c){a=void 0;break a}a=-1!==[":",""].indexOf(b.protocol)?"https:":b.protocol}return a}try{b=new URL(a)}catch(c){return"https:"}return b.protocol}var ri=["data:","http:","https:","mailto:","ftp:"];function si(a){var b;a instanceof sd?b=ud(a):b="javascript:"===qi(a)?"about:invalid":a;return b};var ti={};function ui(){}function vi(a){this.g=a}n(vi,ui);vi.prototype.toString=function(){return this.g};function N(a,b){if(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=Xd(b)} function wi(a,b){var c=xi;if(0===c.length)throw Error("No prefixes are provided");if(c.map(function(d){if(d instanceof vi)d=d.g;else throw Error("");return d}).every(function(d){return 0!=="value".indexOf(d)}))throw Error('Attribute "value" does not match any of the allowed prefixes.');a.setAttribute("value",b)};function yi(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};function zi(a){a&&"function"==typeof a.Ha&&a.Ha()};function Ai(){this.Nd=this.Nd;this.Pa=this.Pa}Ai.prototype.Nd=!1;Ai.prototype.Ha=function(){this.Nd||(this.Nd=!0,this.wa())};function Bi(a,b){b=t(zi,b);a.Nd?b():(a.Pa||(a.Pa=[]),a.Pa.push(b))}Ai.prototype.wa=function(){if(this.Pa)for(;this.Pa.length;)this.Pa.shift()()};function Ci(a){this.id=a}Ci.prototype.toString=function(){return this.id};function Di(a,b){this.type=a instanceof Ci?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Di.prototype.stopPropagation=function(){this.g=!0};Di.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ei(a){a.preventDefault()};var Fi=function(){if(!q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{q.addEventListener("test",function(){},b),q.removeEventListener("test",function(){},b)}catch(c){}return a}();function Gi(a,b){Di.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.im=!1;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.Kl(a,b)}u(Gi,Di);var Hi={2:"touch",3:"pen",4:"mouse"}; Gi.prototype.Kl=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.im=qc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType= "string"===typeof a.pointerType?a.pointerType:Hi[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&&Gi.ta.preventDefault.call(this)};function Ii(a){return 0==a.Ob.button&&!(qc&&a.ctrlKey)}Gi.prototype.stopPropagation=function(){Gi.ta.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};Gi.prototype.preventDefault=function(){Gi.ta.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ji="closure_listenable_"+(1E6*Math.random()|0);function Ki(a){return!(!a||!a[Ji])};var Li=0;function Mi(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Ej=e;this.key=++Li;this.nh=this.kj=!1}function Ni(a){a.nh=!0;a.listener=null;a.proxy=null;a.src=null;a.Ej=null};function Oi(a){this.src=a;this.g={};this.i=0}f=Oi.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=Pi(a,b,d,e);-1>>0);function Vi(a){if("function"===typeof a)return a;a[dj]||(a[dj]=function(b){return a.handleEvent(b)});return a[dj]};function ej(a){Ai.call(this);this.N=a;this.j={}}u(ej,Ai);var fj=[];f=ej.prototype;f.ka=function(a,b,c,d){return gj(this,a,b,c,d)};function hj(a,b,c,d,e){gj(a,b,c,d,!1,e)}function gj(a,b,c,d,e,g){Array.isArray(c)||(c&&(fj[0]=c.toString()),c=fj);for(var h=0;h=a.keyCode)return!1;if(nj(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 pj(a){if(nc)a=qj(a);else if(qc&&oc)switch(a){case 93:a=91}return a} function qj(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 rj(a){if(a.qc&&"function"==typeof a.qc)return a.qc();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(Ra(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.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function xj(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 He(b.slice(d,-1!==e?e:0))}var Aj=/[?&]($|#)/;function R(a,b){this.i=this.O=this.o="";this.ma=null;this.g=this.s="";this.N=!1;var c;a instanceof R?(this.N=void 0!==b?b:a.N,Bj(this,a.o),this.O=a.O,this.i=a.i,Cj(this,a.ma),Dj(this,a.s),Ej(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(uj))?(this.N=!!b,Bj(this,c[1]||"",!0),this.O=Fj(c[2]||""),this.i=Fj(c[3]||"",!0),Cj(this,c[4]),Dj(this,c[5]||"",!0),Ej(this,c[6]||"",!0),this.g=Fj(c[7]||"")):(this.N=!!b,this.j=new Gj(null,this.N))} R.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Hj(b,Ij,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(Hj(b,Ij,!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(Hj(c,"/"==c.charAt(0)?Jj:Kj,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",Hj(c,Lj));return a.join("")}; R.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Bj(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)Cj(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.slice(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 Dj(a,b,c){a.s=c?Fj(b,!0):b}function Ej(a,b,c){b instanceof Gj?(a.j=b,Mj(a.j,a.N)):(c||(b=Hj(b,Nj)),a.j=new Gj(b,a.N))} R.prototype.getQuery=function(){return this.j.toString()};function S(a,b,c){a.j.set(b,c);return a}function T(a,b){return a.j.get(b)}function Oj(a,b){a.j.remove(b)}function Fj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Hj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Pj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Pj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var Ij=/[#\/\?@]/g,Kj=/[#\?:]/g,Jj=/[#\?]/g,Nj=/[#\?@]/g,Lj=/#/g;function Gj(a,b){this.i=this.g=null;this.j=a||null;this.s=!!b}function Qj(a){a.g||(a.g=new Map,a.i=0,a.j&&vj(a.j,function(b,c){a.add(He(b),c)}))}function Rj(a){var b=sj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Gj(null);a=rj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function fk(a,b){var c=a;b&&(c=r(a,b));c=gk(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!y("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(hk||(hk=ik()),hk(c)):q.setImmediate(c)}var hk; function ik(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=F("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 gk=Oc;function jk(a){q.setTimeout(function(){throw a;},0)};function kk(){this.i=this.g=null}kk.prototype.add=function(a,b){var c=lk.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};kk.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 lk=new dk(function(){return new mk},function(a){return a.reset()});function mk(){this.next=this.g=this.Pe=null}mk.prototype.set=function(a,b){this.Pe=a;this.g=b;this.next=null};mk.prototype.reset=function(){this.next=this.g=this.Pe=null};var nk,ok=!1,pk=new kk;function qk(a,b){nk||rk();ok||(nk(),ok=!0);pk.add(a,b)}function rk(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);nk=function(){a.then(sk)}}else nk=function(){fk(sk)}}function sk(){for(var a;a=pk.remove();){try{a.Pe.call(a.g)}catch(b){jk(b)}ek(lk,a)}ok=!1};function tk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function uk(a){this.g=0;this.O=void 0;this.s=this.i=this.j=null;this.o=this.N=!1;if(a!=Nc)try{var b=this;a.call(void 0,function(c){vk(b,2,c)},function(c){vk(b,3,c)})}catch(c){vk(this,3,c)}}function wk(){this.next=this.context=this.i=this.j=this.g=null;this.s=!1}wk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.s=!1};var xk=new dk(function(){return new wk},function(a){a.reset()});function yk(a,b,c){var d=xk.get();d.j=a;d.i=b;d.context=c;return d} function zk(){var a,b,c=new uk(function(d,e){a=d;b=e});return new Ak(c,a,b)}uk.prototype.then=function(a,b,c){return Bk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};uk.prototype.$goog_Thenable=!0;uk.prototype.cancel=function(a){if(0==this.g){var b=new Ck(a);qk(function(){Dk(this,b)},this)}}; function Dk(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+"\x3c/script>"))}function el(a){return a.replace(/&/g,"&").replace(/,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")};function fl(a){var b=document.createElement("template");if(!("content"in b)){b=Zd(""+a);b=(new DOMParser).parseFromString(Xd(b),"text/html");for(a=b.createDocumentFragment();0

"+jt(null!=c?c:"")+"
")};function wt(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"}}n(wt,Ur);f=wt.prototype;f.Wj=function(a){this.i=a};f.setPosition=function(a,b,c,d){null!=a&&(this.jj=a);null!=b&&(this.Wk=b);"number"===typeof c&&(this.lo=Math.max(c,15));"number"===typeof d&&(this.bm=d)};f.Tc=function(a,b,c){a=this.Wk;2==a&&(a=0);xt(this,this.jj,(yt(this.jj),a),2==this.Wk?yt(this.jj)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.lo,0,c)}; function xt(a,b,c,d,e,g){if(a.i){var h=zt(b,c);var k=a.i;var l=a.g,m=a.Ea,p=L(k);a:{p=(yt(b)?p.height/2:p.width/2)-d;var w=Xr(k,h);if(m)m=m.clone(),l&&(l=Wr(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=qh(k),!m){k=p;break a}k=Zg(Ah(k));yt(b)?k.topm.bottom&&w&1&&(p-=k.bottom-m.bottom):k.leftm.right&&w&4&&(p-=k.right-m.right);k=p}k=yt(b)?new A(a.bm,k):new A(k,a.bm);p=yt(b)?6:9;a.Uk&&2==e&&(p=yt(b)?4:1); w=b^3;yt(b)&&"rtl"==a.i.dir&&(w=b);h=Vr(a.i,zt(w,c),a.g,h,k,g,a.Ll?p:0,void 0,a.Ea);if(2!=e&&h&496){xt(a,b^3,c,d,a.Uk&&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||kh(a.g,Math.round(e),Math.round(g)))}At(a,b,c,d)} function At(a,b,c,d){var e=a.o;Rc(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=vh(a.i,a.g),d=Bt(a.i,b),yt(b)?e.style.top=Ct(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Ct(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?yt(b)?"top":"left":yt(b)?"bottom":"right"]=d+"px"}function Ct(a,b){return 15>b?15:xe(a,15,b)}function zt(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 Bt(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 yt(a){return 0==a||3==a}f.Ll=!1;f.Wk=2;f.lo=20;f.jj=3;f.Ea=null;f.bm=-5;f.Uk=!1;function Dt(a){Ai.call(this);this.i=a||Ue()}n(Dt,Ai);Dt.prototype.o=function(){wm(this.ha(),"tooltip");X(this.ha(),"live","polite")};function Et(a){Dt.call(this,a);this.g=this.i.Ra("DIV",Ft()+"-contentId");this.j=this.i.Ra("DIV",Ft()+"-arrow",this.i.Ra("DIV",Ft()+"-arrowimplbefore"),this.i.Ra("DIV",Ft()+"-arrowimplafter"));this.s=this.i.Ra("DIV",{"class":Ft(),role:"tooltip"},this.g,this.j);this.o()}n(Et,Dt);function Ft(){return"jfk-tooltip"}Et.prototype.ha=function(){return this.s};Et.prototype.wa=function(){Dt.prototype.wa.call(this);this.s&&H(this.s)};function Gt(a){Et.call(this,a)}n(Gt,Et);Gt.prototype.o=function(){wm(this.ha(),"tooltip")};function Ht(a){return Je(Ob(a.replace(It,function(b,c){return Jt.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Jt=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,It=/]*)?>/gi;function Kt(a){a=a||Ue();var b=Ta(a.g);Lt[b]||(Lt[b]=new Mt(a))}function Nt(a,b){var c=b instanceof Vd?Ht(Wd(b)):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Vd?a.i=b:(a.setAttribute("data-tooltip",b),a.i=null),a.setAttribute("aria-label",c)):(a.i=null,a.removeAttribute("aria-label"));Kt(Ue(a))}var Lt={}; function Mt(a){ej.call(this);this.va=a;this.ua=new cm(this.Lw,0,this);Bi(this,this.ua);var b=lf();this.ma="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.Qt,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.kt,!0);this.ka(a,["mouseover","focus","focusin"],this.uw,!0)}n(Mt,ej);f=Mt.prototype;f.wa=function(){Ot(this);ej.prototype.wa.call(this)}; function Pt(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.uw=function(a){this.ma&&this.ma.disconnect();Pt(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&Cf(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=nb(vm,a);a&&(this.ma.observe(b,{attributes:!0}),(a=ym(b))&&(b=a));this.s=b}else this.s=null;Qt(this)}; f.kt=function(a){Pt(this,a);var b=a.target;b=this.g&&Cf(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.s=null,Qt(this)};f.Qt=function(a){v(a,r(function(b){var c=ym(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.s=c,Qt(this))},this))};function Qt(a){if(!(a.ua.isActive()&&a.i&&a.O)){Ot(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function Ot(a){a.oa&&(Ok(a.oa),a.oa=0,a.i=null)} f.Lw=function(){if(!this.s)Rt(this),this.O=this.i=null;else if(!(this.i&&this.g&&Cf(this.g.ha(),this.s))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Nf(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&&(Rt(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,!(a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>= a.scrollHeight||this.Ca&&"mouse"==a.getAttribute("data-tooltip-trigger")))){var c=ge;if(a.getAttribute("data-tooltip-contained"))for(var d=af("jfk-tooltip-data",a),e=0;e=Xg(this.Ka,this.O))}if(b){if(this.Ci(),this.Yb=null,b=this.oa)b.Yb=null}else 3==ju(this)&&this.Rg();qu.ta.ih.call(this,a)};f.Hl=function(){this.Yb!=this.ha()&&(this.Ji=!1,this.Yb=this.ha())};f.Al=function(){return this.Ji?100:qu.ta.Al.call(this)};function su(a,b){a=new qu(a);a.rm(Ms(sl(b.innerHTML,{af:"0954fe00-75b6-49fb-8f60-c8631eadc3e0"})));a.className="buy-tip-card";a.va=new Ug(5,5,5,5);a.nj=!0;a.rh=500;a.ki=250};function tu(a,b){this.Db=a||200;this.wb=b||108;W.call(this)}u(tu,W);tu.prototype.Eb=function(){return this.Db};tu.prototype.Cb=function(){return this.wb};function uu(a){hu.call(this,a,void 0,void 0);this.Go=!1;this.nj=!0;this.rh=500}n(uu,qu);uu.prototype.dk=function(a,b){b||(b=new $r(a,9,!0));qu.prototype.dk.call(this,a,b)};uu.prototype.className="unified-hovercard";var vu="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function wu(a){var b=void 0===b?window.location.href:b;var c=new R(b);S(a,"hl","en");(b=T(c,"output"))&&S(a,"output",b);b=T(c,"source");"ge-ipad-app"==b?(S(a,"dapp","2"),Oj(a,"output")):"ge-tablet-app"==b?(S(a,"dapp","4"),Oj(a,"output")):"ge-ip-app"==b?S(a,"dapp","1"):"ge-android-app"==b&&S(a,"dapp","3");T(c,"authuser")||Oj(a,"authuser");vu.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function xu(a,b,c){Ai.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(xu,Ai);xu.prototype.wa=function(){this.i&&this.i.Ha()};function yu(a){return a.i||(a.i=new ej(a))} xu.prototype.j=function(a){var b=C("DIV"),c=new R(this.data.Aa.jh||this.data.Aa.Yp);this.data.Aa.source&&S(c,"source",this.data.Aa.source);var d=this.data.kb();this.data.Aa.wq&&(d+=": "+this.data.Aa.wq);d=C("A",{},d);d.classList.add(this.g+"-title");pe(d,c.toString());b.appendChild(d);a.appendChild(b);zu(this,a);b=C("DIV");if("number"===typeof(this.data.Aa.bq||0)){d=this.data.Aa.bq||0;c=Math.floor(d);d=0)|()/ig,Cu={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function Du(){this.Aa={}}f=Du.prototype;f.kb=function(){return this.Aa.title};f.ac=function(){return this.Aa.Hm};f.Xd=function(){return this.Aa.Xd};f.Ml=function(){return this.Aa.Ml};f.lg=function(){return this.Aa.lg};f.oi=function(){return this.Aa.oi};function Eu(){this.g=[]}f=Eu.prototype;f.getId=function(){return this.Ab};f.oh=function(a){this.Ab=a};f.kb=function(){return this.Jc};f.ah=function(){return this.s};function Fu(a,b,c){Gu(a,b)||null==a.ma||!a.j?c&&c(null):Hu(b,a.ma.clone(),r(a.et,a,b,c||function(){}))}function Iu(a,b,c){Gu(a,b)&&null!=a.oa&&a.na?Hu(b,a.oa.clone(),r(a.ut,a,b,c||function(){})):c&&c(null)}function Hu(a,b,c){S(b,"id",a);Tk(b,c,"POST")}f.et=function(a,b,c){var d=null;al(c.target)&&(d=new Du,d.Aa.Hm=a,this.g.push(d));b(d)}; f.ut=function(a,b,c){var d=null;al(c.target)&&(d=Gu(this,a),Ju(this,d));b(d)};function Ju(a,b){rb(a.g,function(c){return c.ac()==b.ac()})}function Gu(a,b){return lb(a.g,function(c){return c&&c.ac()==b})};function Ku(a){this.Aa={};this.Aa.title=a.title;this.Aa.wq=a.subtitle;this.Aa.Xk=a.authors;this.Aa.Yp=a.preview_url;this.Aa.jh=a.info_url;this.Aa.Rj=a.pub_date;this.Aa.Jp=a.num_pages;this.Aa.Hq=a.viewability;this.Aa.Nx=a.subject;this.Aa.zq=a.thumbnail_url;this.Aa.Am=a.snippet;this.Aa.Cx=a.list_price;this.Aa.lq=a.sale_price;this.Aa.Jx=a.sale_price_better;this.Aa.Dv=a.offer_price;this.Aa.bl=a.buy_url;this.Aa.cq=a.read_url;this.Aa.Jj=a.is_free_ebook||!1;this.Aa.Hj=a.in_my_ebooks||!1;this.Aa.Dx=a.my_ebooks_url|| "";this.Aa.bq=a.rating_score||0;this.Aa.Bv=a.num_reviews||0;this.Aa.Xd=a.is_purchased||!1;this.Aa.ni=a.is_ebook||!1;this.Aa.Rx=a.write_review_url||"";this.Aa.It=a.add_to_my_ebooks_url||"";this.Aa.Yv=a.preview_ebook_url||"";this.Aa.mw=a.reviews_url||"";this.Aa.kk=a.view_order_url||"";this.Aa.tx=a.add_to_my_ebooks_url;this.Aa.dt=a.add_to_my_ebooks_url_is_on_play||!1;this.Aa.Fj=a.has_flowing_text||!1;this.Aa.Gj=a.has_scanned_text||!1;var b=ep(a.info_url);this.Aa.Hm=b;this.Aa.vx=a.canonical_atb_url|| "";this.Aa.Ml=a.is_rentable||!1;this.Aa.ng=a.is_pre_order||!1;this.Aa.Sp=a.on_sale_date||"";this.Aa.lg=a.is_pre_ordered||!1;this.Aa.Bx=a.issue_volume_count||0;this.Aa.oi=a.is_volume_cancelled||!1;this.Aa.gt=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.Tj=1;break;case 2:this.Aa.Tj=2}this.Aa.iw=a.rental_end_utc||0}n(Ku,Du);function Lu(a){this.g=[];this.oh(a.id);this.o=a.owner_uid;this.Jc=a.title;this.s=a.description;this.va=a.num_volumes;this.Ge=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 R(a.add_vol_base_url);this.oa=new R(a.del_vol_base_url);void 0!==a.paused&&(this.i=a.paused,this.N=a.pause_bookshelf_url);a.volumes&&(this.g=jb(a.volumes,function(b){return new Ku(b)}))}n(Lu,Eu);function Mu(){W.call(this);this.j=[];this.i=[]}u(Mu,W);function Nu(a){var b=new R(lf().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function Ou(a,b,c){Pu(a,b.getId())||(a=b.O?a.j:a.i,c?vb(a,void 0,0,b):a.push(b))}function Qu(a,b,c){var d=1==b.Ge;a=new R(a);S(a,"cl_title",b.kb());S(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.ah()));Tk(a,c,"POST",b)} Mu.prototype.N=function(a){a=a.target;if(al(a)){a=new Lu(cl(a));var b=Pu(this,a.getId());b.Jc=a.kb();b.s=a.ah();b.Ge=a.Ge;b=new Di("update",this);b.shelf=a;this.dispatchEvent(b)}};Mu.prototype.o=function(a,b){b=b.target;al(b)&&(b=new Lu(cl(b)),Ou(this,b,a),a=new Di("add",this),a.shelf=b,this.dispatchEvent(a))};function Ru(a,b){a.s=new R(b);S(a.s,"jscmd","ClCreate")}function Pu(a,b){return lb(Su(a),function(c){return c.getId()==b})}function Su(a){return Ab(a.j,a.i)};function Tu(a,b){var c=C("A",{},"View order");pe(c,a);c.classList.add(b);return c};function Uu(a,b,c){xu.call(this,a,b,c);T(new R(this.data.Aa.jh),"dapp")}n(Uu,xu); Uu.prototype.render=function(a){sf(a);var b=C("DIV",this.g),c=C("DIV",this.g+"-meta");this.j(c);var d=C("DIV",this.data.Aa.ni?this.g+"-footer":this.g+"-footer-nonebook"),e=C("DIV",this.g+"-footer-inner");if(this.data.Aa.ni)if(this.data.oi()&&Nu(1))Vu(this,e);else if(this.data.Aa.ng&&!this.data.Xd()||this.data.lg()){var g=C("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.Aa.Sp;e.appendChild(g);this.data.lg()&&Nu(1)&&Vu(this,e)}else if(this.data.Xd()&&Nu(1))Wu(this,e),Vu(this, e);else{Wu(this,e);g=!this.data.Xd()&&!this.data.Aa.Jj;var h=this.data.Aa.Jj&&!this.data.Aa.Hj;if(g||h){g=C("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.Aa.Yv||this.data.Aa.cq){for(var k=h.search(yj),l=0,m,p=[];0this.maxWidth&&K(a,this.maxWidth,"")}; Uu.prototype.j=function(a){if(!(this.data.Xd()||this.data.lg()||this.data.oi())&&this.data.Aa.kk&&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.kk){var c=Tu(this.data.Aa.kk,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}xu.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.ni?(this.data.Aa.Jj?this.data.Aa.Hj? Xu(this,b):Bu(this,b,"Read eBook",this.data.Aa.It,!this.data.Aa.dt,void 0,"unified-hovercard-free-btn"):this.data.lg()?(c=C("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.oi()&&Nu(1)?(c=C("DIV",this.g+"-cancelled"),d=this.data.Aa.gt,0==d?I(c,"Cancelled - by customer request"):1==d?I(c,"Cancelled - problem with eBook"):2==d?I(c,"Cancelled - price change"):3==d?I(c,"Cancelled - publisher cancellation"):I(c,"Cancelled"),b.appendChild(c)):this.data.Xd()||this.data.Aa.Hj?!this.data.Xd()&& this.data.Aa.Hj?Yu(this,b):this.data.Xd()&&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.Yp,Uc(Cu,this.data.Aa.Hq)&&!Nb(c)?Bu(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):Bu(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.kk;d&&(d=Tu(d,""),c.appendChild(d));a.data.lg()||(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.ng&&!a.data.Xd()?Bu(a,b,"Pre-order eBook - "+a.data.Aa.lq,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Ml()?Bu(a,b,"EBOOK FROM "+a.data.Aa.Dv,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn"):Bu(a,b,"Buy eBook - "+a.data.Aa.lq,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn")}function Xu(a,b){Bu(a,b,"Read now",a.data.Aa.cq,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 m=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.Fj?(x(m,e),x(p,e),x(w,e),x(D,e)):(a.data.Aa.Gj?(x(m,e),x(p,e)):(x(m,g),x(p,g)),x(w,g),x(D,g));c.appendChild(m);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){uu.call(this,a);this.Zb=Wl();this.j=this.Ba=this.o=null;this.Tb=b;this.i=null;this.Xb=!!c;this.render(b);$u(this)}n(Zu,uu);Zu.prototype.wa=function(){yu(this.i).Ha();H(this.ha())};Zu.prototype.ti=function(a,b){uu.prototype.ti.call(this,a,b);this.isVisible()&&(this.Wl=this.Zb?new Ug(0,-2,0,0):new Ug(0,0,0,-2),this.isVisible()&&this.Ag(),this.o=this.g,av(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.Xb);this.i.render(this.ha());$u(this);this.isVisible()&&av(this)}; function av(a){var b=C("DIV"),c=C("DIV");var d=Ah(a.o||null);var e=Ah(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=bh(e,d);h||(h=new Yg(d.left,0,d.width,0));d=a.Zb?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.Xd()||this.i.Aa.Jj||(this.s=C("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.s));Ui(b,"mouseover",this.na.bind(this,b))};bv.prototype.oa=function(){this.dispatchEvent("render");cv.dispatchEvent("complete");this.s&&zh(this.s,L(this.j).width)};bv.prototype.na=function(a,b){(new Zu(a,this.i)).Se(b)};function dv(a,b,c){bv.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}n(dv,bv);dv.prototype.Uc=function(a){Ui(this,"render",r(this.ua,this));bv.prototype.Uc.call(this,a);a.appendChild(this.N)};dv.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function ev(a,b,c){dv.call(this,a,b,c)}n(ev,dv);ev.prototype.Uc=function(a){dv.prototype.Uc.call(this,a)};ev.prototype.ma=function(){var a=this.i,b=F("DIV"),c=C("A",{className:"slider-annotation-title"},pf(a.kb()));pe(c,a.Aa.jh);b.appendChild(c);if(a=a.Aa.Xk)a=C("DIV","slider-annotation-author",pf(a)),b.appendChild(a);K(b,L(this.j).width+5,"");return b};function fv(){this.g=gv;this.vg=5E3}var hv=0;fv.prototype.send=function(a,b,c,d){a=a?Zc(a):{};d=d||"_"+(hv++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(q[e]=iv(d,b),a.callback=e);b={timeout:this.vg,jt:!0};e=pd.exec(od(this.g).toString());var g=e[3]||"";e=qd(e[1]+rd("?",e[2]||"",a)+rd("#",g));b=wo(e,b);ro(b,null,jv(d,a,c));return{Ab:d,yo:b}};fv.prototype.cancel=function(a){a&&(a.yo&&a.yo.cancel(),a.Ab&&kv(a.Ab,!1))};function jv(a,b,c){return function(){kv(a,!1);c&&c(b)}} function iv(a,b){return function(c){kv(a,!0);b.apply(void 0,arguments)}}function kv(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=Nc};function lv(a,b,c){Q.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(lv,Q);f=lv.prototype;f.Ak=!0;f.Vk=!1;f.Bd=function(){return this.j}; f.handleEvent=function(a){var b=this.ma;if(a.target==this.j)switch(a.type){case "hilite":this.Te(a.Mf);break;case "select":var c=!1;if("number"===typeof a.Mf){a=a.Mf;var d=this.i[mv(this,a)];c=!!d&&b.Nl&&b.Nl(d);d&&!c&&this.s!=a&&this.Te(a)}c||this.qg();break;case "canceldismiss":nv(this);break;case "dismiss":ov(this)}};f.Ai=function(a){this.N!=a&&(this.N=a,this.ma.hq(this.N,10,r(this.sv,this)),nv(this))};f.xd=function(){return this.j.isVisible()}; function pv(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 rv(a){var b=0,c=0;tv(a)&&(b=a.selectionStart,c=-1);return[b,c]}function tv(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function uv(a,b,c,d){Ai.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.Vk&&c==b.g&&b.Te(-1);break}if(b.Te(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.xd()||a.shiftKey)this.g.Le();else if(this.update(),this.g.qg()&&this.va)return a.preventDefault(),!0;break;case 13:if(this.g.xd()){if(this.update(),this.g.qg())return a.preventDefault(), a.stopPropagation(),!0}else this.g.Le();break;case 27:if(this.g.xd())return this.g.Le(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.Pf)return this.Pf||(this.i.ka(this.Mb,"keyup",this.Op),this.i.ka(this.Mb,"keypress",this.Np),this.Pf=!0),!0}return xv(this,a)};function xv(a,b){var c=a.j&&b.charCode&&-1!=a.o.indexOf(String.fromCharCode(b.charCode));c&&a.update();return c&&a.g.qg()?(b.preventDefault(),!0):!1}f.pu=function(){return!1};f.bn=function(a){wv(this,a.target||null)}; function wv(a,b){jj(a.N);a.g&&nv(a.g);b!=a.Mb&&(a.Mb=b,a.Ya&&(a.Ya.start(),a.i.ka(a.Ya,"tick",a.fn)),a.Tl=a.Bb(),a.s.attach(a.Mb),a.i.ka(a.s,"key",a.en),a.i.ka(a.Mb,"mousedown",a.Pp),z&&a.i.ka(a.Mb,"keypress",a.Mp))}f.mr=function(){this.Mb&&(this.i.Xa(this.s,"key",this.en),Zq(this.s),this.i.Xa(this.Mb,"keyup",this.pu),this.i.Xa(this.Mb,"mousedown",this.Pp),z&&this.i.Xa(this.Mb,"keypress",this.Mp),this.Pf&&yv(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.fn)),this.g&&ov(this.g))}; f.fn=function(){this.update()};f.Mv=function(a){this.bn(a)};f.en=function(a){this.ma=a.keyCode;this.g&&this.Wc(a)};f.Np=function(){this.Pf&&229!=this.ma&&yv(this)};f.Op=function(a){this.Pf&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&yv(this)};f.Pp=function(){};function yv(a){a.Pf&&(a.Pf=!1,a.i.Xa(a.Mb,"keypress",a.Np),a.i.Xa(a.Mb,"keyup",a.Op))}f.Mp=function(a){xv(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Bb()!=this.Tl)){if(a||!this.km){a=rv(this.Mb)[0];var b=this.Bb();a=sv(this,b)[qv(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.O=this.Mb,this.g.Ai(a,this.Bb()))}this.Tl=this.Bb()}this.km=!1};function qv(a,b,c){a=sv(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=Pf(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(Qe(c))}));Array.isArray(a)?b=0Za()-this.va)&&this.dispatchEvent({type:"hilite",Mf: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 uv(null,null,!1);lv.call(this,b,c,d);d.g=this;d.lr(a);this.O=a;this.Ak=!1;this.Vk=!0;O(this,"update",r(this.Ja,this))}u(Hv,lv);Hv.prototype.qg=function(){this.La=this.ua.value;Hv.ta.qg.call(this);return!1}; Hv.prototype.Ja=function(a){a.Mf&&(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 gv=qd(id(jd("//suggestqueries.google.com/complete/search")));Iv.prototype.hq=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 fv;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){zv.call(this);this.Ja=a;this.La=b||0}u(Jv,zv);Jv.prototype.Bk=function(){Jv.ta.Bk.call(this);var a=0,b=B("gbfwa");b||(b=bf("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(Ze("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.Db="number"===typeof d?d:this.N?200:80;this.N||x(this.O,"slider-small");this.ma=[];this.j=F("A");this.j.textContent=Wl()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Fh(this.j,!0);this.O.appendChild(this.j);this.i=F("div");x(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=F("A");this.o.textContent=Wl()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");Fh(this.o,!0);this.O.appendChild(this.o); this.g.ka(this.j,"click",this.am.bind(this,-.75));this.g.ka(this.o,"click",this.am.bind(this,.75));this.Ki();this.g.ka(this.j,"click",this.am.bind(this,-.75));this.resize();this.oa=0;this.na=8=a.ma.length&&a.dispatchEvent("render")}f=Kv.prototype; f.zt=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.Gf(a,"render",this.Bt.bind(this,b,c));a.Uc(c)};f.Bt=function(a,b){H(a);this.Ki();M(b,!0)};function Lv(a,b){b=b.map(function(c){return this.N?new ev(c,this.Db):new bv(c,this.Db,this.ua)},a);Ov(a,b)}function Ov(a,b){ub(a.ma,b);Mv(a)} f.am=function(a){(Wl()?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.Ki()}; 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 lj;this.ua=this.o.Fa();this.oa="";this.va="boolean"===typeof c?!c:!1;Ui(this.o,"resize",r(this.mn,this))}n(Pv,W);f=Pv.prototype;f.mn=function(){this.o.Fa().width>this.ua.width?this.Sh():Ui(this.o,"resize",r(this.mn,this))};f.render=function(a){this.N=a;this.j=this.Bl(a);this.g.ka(this.j,"render",r(this.Sh,this))};f.Bl=function(){return new Kv(this.N,!0,void 0,void 0,this.i.getId())}; f.Sh=function(){this.j.resize();var a=Math.ceil(1.25*Nv(this.j))+1,b=this.xf(this.ma,a);b&&(this.ma+=a,Tk(b,r(this.Qu,this)))};f.Yg=ba(9);f.Qu=function(a){a=a.target;if(al(a)){if((a=(new Lu(cl(a))).g)&&a.length){var b=ep(a[a.length-1].Aa.jh);this.oa!=b&&(this.oa=b,Ov(this.j,Qv(this,a)));(a=Mf(this.ha()))&&Bh(a,1)}else 0==this.j.oa&&this.gq();this.dispatchEvent("success")}}; function Qv(a,b){return a.jl(b).map(function(c){return this.j.N?new ev(c,200,this.i.getId()):new bv(c,80,this.i.getId())},a)}f.gq=function(){};f.ha=function(){return this.N};f.jl=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)}n(Rv,Jl);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.":aw(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 $v(a){a=a.kb();var b;/[^0-9]/.test(a)||Nb(a)?b=null:b=Mb(a,"B")?et(a,ht):et(a,gt);return b} function aw(a,b){a=$v(a);b=$v(b);return 0==a+1-(b-1)};function bw(a,b){W.call(this);this.o=a;this.N=b;this.s=b.j;this.j=b.g;this.i=F("DIV");this.i.className="separator-container";this.o.appendChild(this.i);a=F("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=F("DIV");d.className="separator-background";c.appendChild(d);c=F("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=Ye("IMG",e);if(1==b.length){b= b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);vf(g,b,0);x(g,"separator-message");x(g,"separator-pubinfo-message")}b=Zv(this.s,this.j);e=Jf(e);c=c.insertRow(-1).insertCell(-1);g=F("SPAN");g.className="separator-text";c.appendChild(g);var h=this.N;h.i&&h.s?N(g,ni(e)):N(g,ni(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);Fh(this.i, !0);V(this.i)}n(bw,nm);bw.prototype.mb=function(a){K(this.i,a)};bw.prototype.setPosition=function(a){kh(this.i,a)};bw.prototype.Na=function(){H(this.i)};function cw(a){var b=this;W.call(this);this.o=a;this.j=a.s;this.mb(Jh(this.j));this.Hb=new A(0,0);this.O=null;this.na=new cm(function(){M(b.O,!1)},600);Bi(this,this.na)}u(cw,W);f=cw.prototype;f.mb=function(a){if(!this.i||!Ce(this.i,a)){this.i=a;var b=this.o;b.ma=a;dw(b);this.dispatchEvent("resize")}};f.hd=function(a){this.zc=a;this.N.Na();var b=this.o,c=this.Fa();b.ma=c;dw(b);b=this.o;a=new Be(a.Cb(),a.Eb());b.oa=a;b.o=!0;K(b.i,a);U(b.na,0,b);dw(b);this.dispatchEvent("layoutchange")}; function ew(a,b){a.N=b}f.zl=function(){return this.N};f.Lb=function(){return this.zc};f.mc=function(){var a=this.zc.Qd();this.oa&&(a=this.oa.xl(a));Mp(this.N,a);this.dispatchEvent("update")};function fw(a,b){a.oa=b} f.jd=function(a){var b=this.Hb.x,c=this.Hb.y;"number"===typeof a.x&&(a.x=xe(a.x,0,Math.max(this.zc.Cb()-this.i.width,0)));"number"===typeof a.y&&(a.y=xe(a.y,0,Math.max(this.zc.Eb()-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.Kd(a):(this.s&&(this.s.Ha(),this.s=null),this.s=new jm([b.x,b.y],[a.x,a.y],250+250*xe(ze(b,a)/800,0,1),mm),O(this.s,"animate",r(this.on,this)),O(this.s,"end",r(this.pr,this)),this.dispatchEvent("movestart"),Ui(this,"movestart",r(this.s.Ha,this.s)),this.s.play())};f.on=function(a){a=a.coords.map(Math.round);this.jd(new A(a[0],a[1]))};f.pr=function(a){this.on(a);this.dispatchEvent("moveend")}; f.Gb=function(){return this.j};f.Re=ba(10);f.Pc=function(){return new A(Math.round(this.Hb.x+this.i.width/2),Math.round(this.Hb.y+this.i.height/2))};f.We=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(){cw.ta.wa.call(this);this.N.Na()};f.tl=function(a){null==this.O&&(this.O=a);this.O.style.opacity=0;this.na.start()};f.Ft=function(){var a=this;this.na.stop();M(this.O,!0);U(function(){a.O.style.opacity=1})};f.nn=1;function iw(a,b){cw.call(this,b);this.vb=a;this.g.ka(a,"pagechange",this.Ud);this.g.ka(this.vb,"searchupdate",this.Gl);if(a=B("subscription-bar"))this.g.ka(this,"scrolldown",t(this.tl,a)),this.g.ka(this,"scrollup",t(this.Ft,a))}u(iw,cw);f=iw.prototype;f.Rd=function(){var a=this.zc.Qd(),b=[];this.oa&&(a=this.oa.Bi(a)[0]||[]);v(a,function(c){c instanceof Ul&&b.push(c.Ga())});return b};f.yg=function(a){this.sg(!1,!1);this.jf(this.Ug(a))}; f.hf=function(a){var b=[];"fixed_width"==this.Lb().hg()&&b.push(this.Fa().width);this.le&&(a=Op(this.le(),this.Lb().o(),a,b))&&this.yg(a)};f.Oe=function(){this.sg(!0,!1);var a=this.Fa().width;this.jf(this.Ug(a))};f.Ef=ba(11);f.sg=function(a,b){this.Wg=a;this.tj=b};f.resize=function(){if(this.Wg)this.Oe();else{var a=this.Lb().o();a&&this.yg(a)}};f.jf=function(a){var b=this.Lb();this.hd(a);b&&(a=sm(new rm(b,a),this.Pc()),(a=this.We(a))&&this.Kd(a))};f.Ud=function(){this.li||this.Td(this.vb.Ga())}; f.Td=function(a){this.zc.Dc&&(a=this.zc.Dc(a))&&this.jd(new A(Math.round(a.je()),Math.round(a.wd())))};f.Gl=function(){jw&&(this.zl().Na(),this.va&&this.va(),this.mc())};var jw=!0;function kw(a,b){this.Ea=a;this.g=b}n(kw,op);kw.prototype.render=function(a){var b=this.g(),c=a.Ga(),d=fb(this.Ea.le().Qf)/a.Fa().width,e=a.Fa();b.Oj=e.width;b.mh=e.height;e=a.Fa().clone();e.width*=d;e.height*=d;b.Zu=e.width;b.Wu=e.height;b.setPosition(a.je(),a.wd());b.ub(c);b.Uc();return b};function lw(){};function mw(a){this.Ea=a}u(mw,lw);mw.prototype.xl=function(a){var b=this.Bi(a);a=b[0]||[];b=b[1]||[];b.sort(t(nw,this.Ea.Pc()));var c=[];ub(c,a,b);return c};function nw(a,b,c){return Xg(Zg(Kl(b)),a)-Xg(Zg(Kl(c)),a)}mw.prototype.Bi=function(a){var b=gw(this.Ea),c=new Yg(b.left-800,b.top-800,b.width+1600,b.height+1600);return zb(a,function(d){d=Kl(d);if(bh(c,d))return bh(b,d)?0:1})};function ow(a,b){this.Ea=b;this.V=a}n(ow,mw);ow.prototype.xl=function(a){var b=mw.prototype.xl.call(this,a),c=this.V.Ga();if(c){var d=[],e=this.V.ob();v([1,-1],function(){var g=ho(e,c.Qa(),1);g&&d.push(g)});v(a,function(g){g.Ga&&nb(d,g.Ga())&&ob(b,g)})}return b};function pw(){W.call(this)}u(pw,W);pw.prototype.Be=function(a){this.i=a;this.s=qw(a)};pw.prototype.wa=function(){pw.ta.wa.call(this);H(this.s)};function rw(a){W.call(this);this.ma=a;this.O=[]}u(rw,pw);f=rw.prototype;f.Be=function(a){rw.ta.Be.call(this,a);this.Ch();this.Ga()&&this.g.ka(this.Ga(),"update",this.Ch)};f.Ga=function(){return this.i.Ga()};f.Bh=function(a,b,c,d){var e=F("div");V(e,!0);this.s.appendChild(e);a=sw(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}),Bh(e,.3));this.O.push(new Yg(a[0],a[1],a[2],a[3]));return e}; function tw(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function sw(a,b,c,d,e){var g=tw(a);return jb([b,c,d,e],function(h){return Math.round(h*g)})}function uw(a,b){v(b,function(c){this.Bh.apply(this,c)},a)}f.Fo=function(a){return this.Bh(a.left,a.top,a.width,a.height)};f.Hg=function(){sf(this.s);this.O=[]};f.Ch=function(){};function vw(){rw.call(this)}n(vw,rw);f=vw.prototype;f.Ch=function(){if(!this.j){var a=this.Ga();a&&(a=Ep(a))&&(uw(this,a),this.j=!0)}}; f.Bh=function(a,b,c,d){this.o=rw.prototype.Bh.call(this,a,b,c,d);J(this.o,{border:"2px #aaaaff dashed"});this.N=F("IMG");this.o.appendChild(this.N);this.N.src="/googlebooks/images/dialog_close_x.gif";a=sw(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.qr,this));O(this.o,"mouseover",r(this.vp,this,!0));Ui(this.N,"click",r(this.Na,this));return this.o};f.Na=function(){H(this.o)}; f.qr=function(a){Cf(this.o,a.target)||this.vp(!1)};f.vp=function(a){J(this.N,{display:a?"":"none"})};function ww(a){rw.call(this);this.V=a}n(ww,rw);ww.prototype.Ch=function(){if(!this.j){var a=this.Ga();a&&(a=Dp(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.Bh.apply(this,b);J(b,{cursor:"pointer"});this.g.ka(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};ww.prototype.o=function(a,b){(a=io(this.V.ob(),a))?this.V.ub(a):To(this.V,b)};function xw(a,b){this.s=a;this.g=b}xw.prototype.Ga=function(){return this.s};xw.prototype.i=function(){return this.s.Cd(this.g)};function yw(a,b,c){xw.call(this,a,b);this.j=c}n(yw,xw);yw.prototype.i=function(){return this.j.width>this.g.width?this.s.Cd(this.j):xw.prototype.i.call(this)};function zw(a,b,c,d,e){W.call(this);this.qh(a.Ia());this.V=a;this.i=c;this.na=[];this.qn=d;K(d,c);this.ua=qw(this);J(this.ua,"backgroundColor","#fff");K(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=qw(this),K(a,c),this.va=new Aw(a),this.va.show();b&&(this.s=b,this.g.ka(b,"update",this.Ig),Vo(b))}u(zw,W);f=zw.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.s};function Bw(a,b){a.na.push(b);b.Be(a)}f.Ig=function(){};function Cw(a){a.dispatchEvent("load");a.Ba&&a.va.lb()} function qw(a){var b=F("div");V(b,!0);J(b,{position:"absolute",left:0,top:0});a.qn.appendChild(b);return b}f.Na=function(){v(this.na,function(a){a.Ha()});this.na=null;this.o&&H(this.o)};function Dw(a){a.N=qw(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.rr);a.g.ka(a.N,"dragstart",Ei)}f.rr=function(a){a.display=this;Ew.dispatchEvent(a)};var Ew=new Q; 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=F("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.lb=function(){this.show(!0)};zw.prototype.um=function(){Fw(this)};function Fw(a,b){a.o&&H(a.o);a.o=qw(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,sl(c||""));V(this.g)};function Hw(a,b,c){zw.call(this,a,b.Ga(),b.g,c);this.qh(Iw);a=qw(this);this.ma=new Jw(b.g,a);a=qw(this);this.O=new Jw(b.g,a);Dw(this);Fh(c,!0);x(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.Ig()}n(Hw,zw);f=Hw.prototype;f.ub=function(a){xp(a,"output",null);zw.prototype.ub.call(this,a);a.Cd()&&this.Ig()}; f.Ig=function(){var a=this.Ga(),b=this.oa.i();if(b&&!this.j){b=Kw(b);Ui(this.ma,"load",r(this.sr,this,a,b,this.Fa().width));Lw(this.ma,[b]);var c=Oo(this.V.Zb,a.Qa());c.push(b);Lw(this.O,c);this.j=!0;a==this.V.Ga()&&this.dispatchEvent("fetch")}Ap(a,[16,8])&&(a=De('%s',cp("/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.sr=function(a,b,c){a==this.V.Ga()&&this.dispatchEvent("loaded");this.O.empty();var d=this.V.Zb;a=a.Qa();d.g[a]=d.g[a]||{};d.g[a][c]=b;Cw(this)};f.tc=ba(14);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();zw.prototype.Na.call(this)};var Iw=new Q,Kw=Oc;function Jw(a,b){Q.call(this);this.i=a;this.j=b;this.Hf=!1;this.g=F("IMG");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}n(Jw,Q);Jw.prototype.empty=function(){for(var a;a=yf(this.j);)lp(a)}; function Lw(a,b){hp(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 Mk(100),this.g.ka(this.O,"tick",this.wr));this.ma=d;d.x||d.y?this.O.start():this.O.stop()}}};f.wr=function(){var a=this.ma,b=this.Ea;hw(b,new A(15*a.x,15*a.y),r(b.Kd,b))}; f.Ct=function(){bj(this.N);zi(this.O);this.O=null};function Xw(){this.o="Selection copied to clipboard";this.g=!1;var a=C("DIV","entity-page-snackbar"),b=C("SPAN","entity-page-snackbar-text");I(b,this.o);a.appendChild(b);X(a,"hidden",!0);document.body.appendChild(a);this.s=a}Xw.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(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");I(d,"Copy");b.appendChild(c);b.appendChild(d);O(b,"click",r(a.g,a));wm(b,"button");If(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 $w(a){bs.call(this,a);jn(this);this.qo=!1;this.g=new ej;this.i=sp();x(a,"viewport-selection-popup");ax&&ax.Ha();ax=this}n($w,bs);$w.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function bx(a,b,c){var d=a.ha(),e=F("div");x(e,"selection-popup-select-container");d.appendChild(e);d=F("div");x(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(pf(b));e.appendChild(F("div"));b=F("input");b.value=c;x(b,"viewport-input");e.appendChild(b);Fh(b,!1);a.i&&(c=(new Yw(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",cx)}function cx(a){a.stopPropagation()}$w.prototype.wa=function(){H(this.ha());bs.prototype.wa.call(this);this.g.Ha()};var ax=null;function dx(a,b){this.g=a instanceof A?a:new A(a,b)}u(dx,Ur);dx.prototype.Tc=function(a,b,c,d){var e=We(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=Wr(a);g-=h.x;e-=h.y;Yr(new A(g,e),a,b,c,null,null,d)};function ex(a,b){dx.call(this,a,b)}u(ex,dx);ex.prototype.i=0;ex.prototype.s=function(a){this.i=a};ex.prototype.Tc=function(a,b,c,d){var e=nh(a);e=qh(e);var g=kf(Ue(a).g);g=new A(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=Yr(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=Yr(g,a,h,c,e,10,d);0!=(k&496)&&Yr(g,a,b,c,e,this.i,d)}};function fx(a){rw.call(this,"#4a95d6");this.j=a}n(fx,rw);fx.prototype.Be=function(a){rw.prototype.Be.call(this,a);J(this.s,{cursor:"pointer"});this.g.ka(this.s,"mousedown",gx)};function gx(a){a.stopPropagation()} function Uw(a,b,c,d){a.Hg();jb(b,r(a.Fo,a));a.N&&bj(a.N);a.o&&a.o.Ha();b=F("div");document.body.appendChild(b);var e=Qw(a.O);if(e){var g=rh(a.s);b=new $w(b);if(c&&d){var h=a.Ga(),k=h.Cd();if(k){var l=new R(k);d=[d.left,d.top,d.width,d.height].join();S(l,"ci",d);S(l,"edge",0);l=l.toString();var m=new R(h.Ec());S(m,"ci",d);S(m,"source","bookclip");m=De('',m.toString(),l)}d=m;sf(b.ha());m=b.ha();h=F("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";x(h, "selection-popup-close");m.appendChild(h);b.g.Gf(h,"click",r(b.j,b));h=C("DIV",{},"Share this clip");x(h,"selection-popup-title");m.appendChild(h);c&&(bx(b,"Selection text",c),m=F("DIV"),x(m,"selection-popup-translate-container"),b.ha().appendChild(m),h=new R("https://translate.google.com/translate_t"),S(h,"text",c),S(h,"sl","auto"),S(h,"tl","auto"),c=F("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"),I(h,"Translate"),x(h,"entity-page-action-chip-label"),c.appendChild(h),h=F("SPAN"),I(h,"\u00bb"),x(h,"selection-popup-translate-arrow"),c.appendChild(h),x(c,"selection-popup-translate-link"),x(c,"entity-page-action-chip"),m.appendChild(c));l&&bx(b,"Image",l);d&&bx(b,"Embed",d)}else c=F("DIV"),I(c,"Loading..."),x(c,"selection-popup-loading-msg"),b.ha().appendChild(c);cs(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);U(t(hx,b,new ex(new A(c, e))));a.N=Ui(b,"close",r(a.Hg,a))}}function hx(a,b){a.Nd||(a.setPosition(b),a.Da(!0))}fx.prototype.Hg=function(){rw.prototype.Hg.call(this);this.o&&this.o.Ha()};fx.prototype.wa=function(){rw.prototype.wa.call(this);this.o&&this.o.Ha();this.N&&bj(this.N)};function ix(a,b,c){return a.Za().zj()?new Mw(a,b,c):new Hw(a,b,c)}function jx(a,b){if(b instanceof Hw){Bw(b,new Nw(a.tb()));Bw(b,new vw);var c=new fx(a.Gb()),d=new Vw(c,a.Ia());Bw(b,d);Bw(b,c);Bw(b,new ww(a))}};function kx(a,b,c){W.call(this);this.V=a;this.Ea=b;this.j=F("div");V(this.j,!0);J(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=F("div");V(this.o,!0);J(this.o,{position:"absolute"});this.j.appendChild(this.o);this.N=F("div");V(this.N,!0);this.j.appendChild(this.N);this.O=F("div");V(this.O,!0);this.N.appendChild(this.O);this.lb()}u(kx,nm);f=kx.prototype; f.Uc=function(){var a=this.Oj-2,b=this.mh-2,c=this.Zu-2,d=this.Wu-2;J(this.N,{backgroundColor:"#cccccc",position:"absolute"});kh(this.N,0,0);K(this.N,this.Oj,this.mh);J(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});kh(this.O,1,1);K(this.O,a,b);this.show();var e=this.V;a=ix(e,new yw(this.Ga(),new Be(a,b),new Be(c,d)),this.O);a instanceof Hw?jx(e,a):a instanceof Mw&&a instanceof Mw&&Bw(a,new Nw(e.tb()));this.i=a};f.lb=function(){M(this.j,!1)};f.show=function(){M(this.j,!0)}; f.tc=ba(12);f.Na=function(){this.i&&this.i.Na();H(this.j)};f.setPosition=function(a,b){kh(this.j,a,b)};f.wd=function(){return mh(this.j).x};f.je=function(){return mh(this.j).y};f.ub=function(a){this.s=a};f.Ga=function(){return this.s};f.Eb=function(){return this.mh};f.Cb=function(){return this.Oj};function lx(a){return a+2}f.Fa=function(){return new Be(this.Oj,this.mh)};function mx(a){W.call(this);sf(a);V(a);this.s=a;this.i=F("div");V(this.i,!0);Wl()&&(ef(a,{dir:"ltr"}),ef(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(mx,W);function nx(a,b){mx.call(this,b);this.Ea=a;this.g.ka(b,"scroll",this.N);J(b,"position","relative");J(this.i,"position","absolute");this.j=F("div");x(this.j,"scroll-background");V(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}n(nx,mx);function dw(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"))}nx.prototype.na=function(){this.o=!1;this.N()}; nx.prototype.N=function(){if(!this.o){var a=this.Ea.Hb;if(a){a=a.clone();var b=this.s;b=new A(b.scrollLeft,b.scrollTop);ye(a,b)||(this.O=!0,this.Ea.Kd(b),this.O=!1)}}};function ox(a){var b=a.Gb(),c=new nx(this,b);px(b);iw.call(this,a,c);fw(this,new ow(a,this));ew(this,qx(this));var d=a.ob(),e=a.Za().hg();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.hg()?(b=b.le(),b=b[Math.floor(b.length/2)]+2):b=rx(b)+2;this.yg(b);this.g.ka(this.vb,"pagesupdate",this.zu);this.g.ka(this.vb,"pagemodechange",this.xr);this.g.ka(this,"move",this.mc);this.g.ka(this, "move",this.Qw)}u(ox,iw);function px(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});x(a,"overflow-scrolling");ef(a,{dir:"ltr"})}f=ox.prototype;f.Qc=function(){this.hf(1)};f.od=function(){this.hf(-1)};f.le=function(){var a=this.vb.Za(),b=tb(a.le());"fixed_width"==a.hg()&&(a=this.vb.Za().Pa)&&150a?ob(b,a):ob(b,1500));return new Np(jb(b,lx))};f.Ug=function(a){return this.ma(a)}; f.Fa=function(){if(this.j.hasChildNodes()){var a=Jh(this.j.childNodes[0]).width;a=new Be(a,this.i.height)}else a=this.i;return a};function qx(a){var b=new Kp;Lp(b,Ul,new kw(a,t(Pc,kx,a.vb,a,a.o.i)));Lp(b,Rv,new Yv(a.vb,function(c){return new bw(a.o.i,c)}));return b}f.Qw=function(){if(this.Ca){var a=Nl(this.zc,this.Pc().y);a&&a.Ga&&(a=a.Ga(),this.vb.Ga()!=a&&(this.li=!0,this.vb.Gd(a.Qa()),this.li=!1))}this.Ca=!0}; f.zu=function(){var a=this.vb.Ga(),b=this.vb.ob(),c=io(b,a.Qa());if(!c)a:{c=fo(a);b=go(b);for(a=b.length-1;0=fo(c)&&ea.x&&(a.x=0);kh(this.i,a)};f.ru=function(a){a.preventDefault();a.stopPropagation();this.V.Vb("previous")}; f.Da=function(a){J(this.i,{display:a?"":"none"})};f.Uc=function(){J(this.s,{left:0,top:0});J(this.N,{left:this.j.width+"px",top:0})};f.Rd=function(){return ib([this.ua,this.Ba],function(a){return!!a})};f.Na=function(){this.o.Na();this.O.Na();for(var a;a=this.na.pop();)bj(a);this.i.parentNode&&H(this.i)};function Gx(a){return 2*a};function Hx(a){this.V=a}n(Hx,op);Hx.prototype.render=function(a){var b=new Ex(this.V,a.Fa().width);b.setPosition(a.vd());b.Uc();b.Da(!0);return this.g=b};function Ix(a,b,c){Q.call(this);this.V=a;this.j=b;this.o=L(b).width;this.N=c;this.i=!1;this.g=Wl()}n(Ix,Q);Ix.prototype.Ff=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(U)}}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){ej.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))}n(Mx,ej);Mx.prototype.s=function(){var a=this.g.ma.g.Rd()[0]||new gp,b=this.g.ma.g.Rd()[1]||new gp,c=this.O,d=this.o,e=d?fo(d):-1,g=fo(a)||-1,h=fo(b)||-1,k=Math.max(c?fo(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.nn){if(0l-k&&(m=-1!=h?b:a,p=d);1=fo(e[0]||e[1])&&aemail or IM"));this.ha().appendChild(a);this.s=F("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.Ne=F("input"),K(this.Ne,"100%","auto"),this.ha().appendChild(this.Ne));a=this.V.Ga();b=(new R(window.location)).g;var c=new R(a.Ec()); c.g=b;this.s.value=c.toString();U(t(Yx,this.s));this.N&&(a=new R(a.Ec()),S(a,"output","embed"),this.Ne.value=Zx(a.toString()))};Xx.prototype.tm=function(){Wx.prototype.tm.call(this);this.g.ka(this.s,"click",t(Yx,this.s));this.N&&this.g.ka(this.Ne,"click",t(Yx,this.Ne))};function Yx(a){a.select()}function Zx(a){return De('',a)};function $x(a,b){W.call(this);this.Ea=a;this.j=b;this.i=F("div");a.o.i.appendChild(this.i);x(this.i,"sitb_result");pc?(J(this.i,"width",b.Fa().width+"px"),J(this.i,"min-height",b.Fa().height+"px")):(kh(this.i,b.vd()),K(this.i,b.Fa()));a=F("div");x(a,"sitb-result-header");this.i.appendChild(a);this.o=F("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=F("div");x(this.s,"sitb-result-content");this.i.appendChild(this.s);if(b=io(this.Ea.V.ob(), this.j.g.Qa())){a=this.Ea.V.tb().getQuery();var c=b.nb.snippetSrc;c&&a==Lo(c)?ay(this,c):(a=b.xf(),"entity_page"==T(a,"source")?S(a,"source","entity_page_gbs_snippet"):S(a,"source","gbs_snippet"),vp(b,a,r(this.O,this)))}else by(this)}n($x,nm);$x.prototype.N=function(a){this.Ea.Cf(a.g)};$x.prototype.O=function(a){(a=a.nb.snippetSrc)?ay(this,a):by(this)};function ay(a,b){sf(a.s);var c=F("IMG");c.src=b;cy(a);b=a.j.Fa().width-25;J(c,{width:b+"px"});a.s.appendChild(c)} function cy(a){x(a.i,"sitb-result-clickable");x(a.o,"sitb-result-link");var b=Jf(a.o);N(a.o,rl(b+" »"));wm(a.i,"link");If(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 by(a){sf(a.s);var b=F("div");x(b,"sitb-result-snippet");a.s.appendChild(b);pc||J(b,{width:Math.floor(.75*a.j.Fa().width)+"px"});N(b,ql.g(a.j.g.i));b=F("div");x(b,"sitb-result-explanatory-link");a.s.appendChild(b);var c=io(a.Ea.V.ob(),a.j.g.Qa());c&&c.Cd()&&!Ap(c,[4,8,16])&&c.s(2)?(cy(a),N(b,rl((pc?"No image for result.":"We couldn't make an image for this result.")+"  ")),a=F("span"),N(a,rl(pc?"Click to view":"Click to view the whole page.")),b.appendChild(a),x(a,"sitb-result-link")): (N(b,rl("No preview available for this page.  ")),pc||(a=F("a"),x(a,"sitb-result-buy-link"),N(a,rl("Buy this book.")),b.appendChild(a),b=new R(window.location.href),S(b,"sitesec","buy"),S(b,"source","gbs_snippet"),Oj(b,"printsec"),a.href=b.toString()))}$x.prototype.Na=function(){H(this.i);this.Ha()};function dy(a){this.Ea=a}n(dy,op);dy.prototype.render=function(a){return new $x(this.Ea,a)};function ey(a){this.g=a}n(ey,Jl);function fy(a,b){Sv.call(this,1);this.Pb=a;this.N=b;this.jk=this.Mi=this.marginTop=20;a.yb&&(a.yb.forEach(r(this.s,this)),Ql(this))}n(fy,Sv);fy.prototype.s=function(a){a=new ey(a);var b=Math.min(this.N-16,600);a.mb(new Be(b,Math.round(124/600*b+42)));this.Sa(a)};function gy(a){var b=a.Gb();J(b,"overflow","hidden");var c=new nx(this,b);cw.call(this,c);this.V=a;pc||fw(this,new mw(this));this.g.ka(this,"move",this.mc);var d=B("subscription-bar");d&&(this.tl(d),U(function(){M(d,!1)},600));ew(this,hy(this));iy(b)}u(gy,cw);function iy(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});ef(a,{dir:"ltr"})}function hy(a){var b=new Kp;Lp(b,ey,new dy(a));return b}gy.prototype.resize=function(){jy(this)}; function jy(a){var b=new fy(a.Pb,a.Fa().width);a.hd(b);a.mc()}gy.prototype.Cf=function(a,b){return this.Ba(a,b)};function ky(a){this.g=a||{}}ky.prototype.qc=function(){return this.g};ky.prototype.lc=function(a){var b=Vc(ly,function(c){return c==a});this.g.v=b};ky.prototype.getQuery=function(){return this.g.q};var ly={onepage:ox,twopage:Tx,thumbnail:wx,snippet:gy};function my(a,b){this.g=new Cs;O(this.g,"navigate",r(this.o,this));this.V=a;this.i=b}my.prototype.o=function(a){ny(this,a.o)};function ny(a,b){if(!(a.s&&""==b||a.j))if((z||oc)&&""==b)window.history.go(-2);else if(b){var c={},d=new Gj(b);v(d.ie(),function(e){var g=d.get(e);g in oy&&(g=oy[g]);c[e]=g});b=new ky(c);a.V.lc(ly[b.g.v]||ox);Jx(a.i,!!b.g.f);void 0!==b.getQuery()&&Ko(a.V.tb(),b.getQuery())}} my.prototype.Ta=function(a){this.s=!0;this.g.Ta(a);z&&(a=(new R(window.location)).g,ny(this,a));this.s=!1};my.prototype.update=function(){var a=new ky;a.lc(this.V.O);a.g.q=this.V.tb().getQuery();a.g.f=this.i.Ff();a=Rj(a.qc()).toString();this.j=!0;this.g.Ai(a);this.j=!1};var oy={"true":!0,"false":!1};function py(){this.g=[]}u(py,ir);Oa(py);function qy(a,b){var c=a.g[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.g[b]=c}return c}f=py.prototype;f.Eg=function(){return"menuitem"};f.Sc=function(a){var b=a.g.Ra("DIV",lr(this,a).join(" "),ry(this,a.Lc(),a.g));sy(this,a,b,qr(a,8)||qr(a,16));return b};f.Nc=function(a){return a&&a.firstChild}; f.Ub=function(a,b){var c=yf(b),d=qy(this,2);c&&Gb(c,d)||b.appendChild(ry(this,b.childNodes,a.g));Gb(b,"goog-option")&&(a.zi(!0),this.zi(a,b,!0));return py.ta.Ub.call(this,a,b)};f.Fg=function(a,b){var c=this.Nc(a),d=ty(this,a)?c.firstChild:null;py.ta.Fg.call(this,a,b);d&&!ty(this,a)&&c.insertBefore(d,c.firstChild||null)};function ry(a,b,c){a=qy(a,2);return c.Ra("DIV",a,b)}f.oq=function(a,b,c){a&&b&&sy(this,a,b,c)};f.zi=function(a,b,c){a&&b&&sy(this,a,b,c)}; function ty(a,b){return(b=a.Nc(b))?(b=b.firstChild,a=qy(a,1),!!b&&Af(b)&&Gb(b,a)):!1}function sy(a,b,c,d){or(a,c,b.zf());pr(a,b,c);d!=ty(a,c)&&(Kb(c,"goog-option",d),c=a.Nc(c),d?(a=qy(a,1),c.insertBefore(b.g.Ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.Wh=function(a){switch(a){case 2:return qy(this,0);case 16:case 8:return"goog-option-selected";default:return py.ta.Wh.call(this,a)}}; f.yj=function(a){var b=qy(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return py.ta.yj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function uy(a,b,c,d){tr.call(this,a,d||py.Fb(),c);this.Bc(b)}u(uy,tr);f=uy.prototype;f.Bb=function(){var a=this.Zl;return null!=a?a:this.Zg()};f.Bc=function(a){this.Zl=a};f.bc=function(a,b){uy.ta.bc.call(this,a,b);switch(a){case 8:rr(this,16)&&!b&&this.Nf(!1);(a=this.ha())&&this.Bd().oq(this,a,b);break;case 16:(a=this.ha())&&this.Bd().zi(this,a,b)}};f.oq=function(a){this.bc(8,a)};f.zi=function(a){this.bc(16,a)}; f.Zg=function(){var a=this.Lc();return Array.isArray(a)?(a=jb(a,function(b){return Af(b)&&(Gb(b,"goog-menuitem-accel")||Gb(b,"goog-menuitem-mnemonic-separator"))?"":Lf(b)}).join(""),Ge(a)):uy.ta.Zg.call(this)};f.oe=function(a){var b=this.getParent();if(b){var c=b.o;b.o=null;if(c&&"number"===typeof a.clientX&&ye(c,new A(a.clientX,a.clientY)))return}uy.ta.oe.call(this,a)};f.ne=function(a){return a.keyCode==this.Yl&&this.Ye(a)?!0:uy.ta.ne.call(this,a)};f.Jt=function(){return this.Yl}; ar("goog-menuitem",function(){return new uy(null)});uy.prototype.zf=function(){return qr(this,16)?"menuitemcheckbox":qr(this,8)?"menuitemradio":uy.ta.zf.call(this)};uy.prototype.getParent=function(){return tr.prototype.getParent.call(this)};uy.prototype.hh=function(){return tr.prototype.hh.call(this)};function vy(a,b,c){uy.call(this,a,b,c);this.zi(!0)}u(vy,uy);ar("goog-checkbox-menuitem",function(){return new vy(null)});function wy(a){vy.call(this,Je(a.kb()),a.getId());this.i=a}n(wy,vy);wy.prototype.Nb=function(a){vy.prototype.Nb.call(this,a);if(this.i.Ge){var b=(a=1==this.i.Ge)?"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:"+(Wl()?"left":"right")});a=C("DIV","goog-menuitem-accel",a,pf(String(this.i.va)));vf(this.Jb(),a,1)}};function xy(a,b,c,d){$r.call(this,a,b,c||d);(c||d)&&this.s(65|(d?32:132))}u(xy,$r);function yy(){}u(yy,ir);Oa(yy);yy.prototype.Wa=function(){return"goog-menuheader"};function zy(a,b,c){tr.call(this,a,c||yy.Fb(),b);this.bc(1,!1);this.bc(2,!1);this.bc(4,!1);this.bc(32,!1);this.ae=1}u(zy,tr);ar("goog-menuheader",function(){return new zy(null)});function Ay(){}u(Ay,ir);Oa(Ay);Ay.prototype.Sc=function(a){return a.g.Ra("DIV",this.Wa())};Ay.prototype.Ub=function(a,b){b.id&&a.oh(b.id);if("HR"==b.tagName){var c=b;b=this.Sc(a);tf(b,c);H(c)}else x(b,this.Wa());return b};Ay.prototype.Fg=function(){};Ay.prototype.Wa=function(){return"goog-menuseparator"};function By(a,b){tr.call(this,null,a||Ay.Fb(),b);this.bc(1,!1);this.bc(2,!1);this.bc(4,!1);this.bc(32,!1);this.ae=1}u(By,tr);By.prototype.Ma=function(){By.ta.Ma.call(this);var a=this.ha();wm(a,"separator")};ar("goog-menuseparator",function(){return new By});function Cy(a){this.g=a||"menu"}u(Cy,dr);Oa(Cy);f=Cy.prototype;f.wk=function(a){return"UL"==a.tagName||Cy.ta.wk.call(this,a)};f.Yh=function(a){return"HR"==a.tagName?new By:Cy.ta.Yh.call(this,a)};f.fe=function(a,b){return Cf(a.ha(),b)};f.Dg=function(){return"goog-menu"};f.xk=function(a){Cy.ta.xk.call(this,a);a=a.ha();X(a,"haspopup","true")};function Dy(a){By.call(this,Ay.Fb(),a)}u(Dy,By);ar("goog-menuseparator",function(){return new By});function Ey(a,b){Hr.call(this,"vertical",b||Cy.Fb(),a);Qr(this,!1)}u(Ey,Hr);f=Ey.prototype;f.Tk=!0;f.fe=function(a){if(this.Bd().fe(this,a))return!0;for(var b=0,c=cn(this);bDate.now()-a.Bp);g&&a.Fm?a.lb():a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.ha().style.visibility="hidden"),M(a.ha(),!0),b.Tc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Yd(-1),a.Da(!0))}f.lb=function(){this.isVisible()&&(this.Da(!1),this.isVisible()||(this.Bp=Date.now()))};f.Ev=function(){this.lb()};f.Rv=function(a){Iy(this,a)}; f.Sv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Iy(this,a);40==a.keyCode&&Mr(this)};function Iy(a,b){for(var c=a.i.ie(),d=0;dl.endOffset)l={startOffset:e.startOffset, uh:e.uh,endOffset:l.endOffset,Qh:l.Qh};e=fb(d)}d.push(l);e=l}k.i&&qb(g,h)}}function jz(a,b){this.startOffset=a;this.uh=void 0;this.endOffset=a;this.Qh=void 0;this.i=!1;this.g=b};function kz(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new hz(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=dz(a);for(g=0;g=c&&(d.length=c);return d};function lz(a){var b=ez(a);a=mz();Array.prototype.forEach.call(a,function(c){nz(b,c)})}function mz(){var a=[],b=tb(af("patent-text")),c=bf("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):ub(b,c.childNodes);return a} function nz(a,b){var c=Lf(b);a=kz(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),ae("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=F("span");N(a,he(d));wf(a,b)}};function oz(){uy.call(this,"Turn off highlighting");var a=zj("dq")||zj("q");a&&lz(a);this.Qb=!0}n(oz,uy);oz.prototype.Ma=function(){uy.prototype.Ma.call(this);Z(this).ka(this,"action",this.i)};oz.prototype.i=function(){this.Qb=!this.Qb;Kb(window.document.body,"patent-highlight-disabled",!this.Qb);zr(this,this.Qb?"Turn off highlighting":"Turn on highlighting")};function pz(){}u(pz,Ay);Oa(pz);pz.prototype.Sc=function(a){return a.g.Ra("DIV",lr(this,a).join(" ")+" goog-inline-block","\u00a0")};pz.prototype.Ub=function(a,b){b=pz.ta.Ub.call(this,a,b);x(b,"goog-inline-block");return b};pz.prototype.Wa=function(){return"goog-toolbar-separator"};function qz(){}u(qz,Ut);Oa(qz);f=qz.prototype;f.Sc=function(a){var b=lr(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),this.mj(a.Lc(),a.g));this.vc(b,a.Af());return b};f.Eg=function(){return"button"};f.Nc=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.mj=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.Si=function(a){return"DIV"==a.tagName}; f.Ub=function(a,b){rz(b,!0);rz(b,!1);a:{var c=a.g.No(b);var d=this.Wa()+"-outer-box";if(c&&Gb(c,d)&&(c=a.g.No(c),d=this.Wa()+"-inner-box",c&&Gb(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.mj(b.childNodes,a.g));Hb(b,["goog-inline-block",this.Wa()]);return qz.ta.Ub.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function rz(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(""==Ob(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function sz(){}u(sz,qz);Oa(sz);sz.prototype.Wa=function(){return"goog-toolbar-button"};function tz(){this.g="toolbar"}u(tz,dr);Oa(tz);tz.prototype.Yh=function(a){return"HR"==a.tagName?new By(pz.Fb()):tz.ta.Yh.call(this,a)};tz.prototype.Dg=function(){return"goog-toolbar"};tz.prototype.Mo=function(){return"horizontal"};function uz(a){tz.call(this);this.i=a}u(uz,tz);var vz={};uz.prototype.Dg=function(){return this.i||"ocean-chrome-toolbar"};function wz(a){Q.call(this);this.g=[];xz(this,a)}u(wz,Q);f=wz.prototype;f.rg=null;f.Ck=null;function yz(a,b){a.Ck=b}function xz(a,b){b&&(b.forEach(function(c){zz(this,c,!1)},a),ub(a.g,b))}f.Sa=function(a){this.uf(a,this.g.length)};f.uf=function(a,b){a&&(zz(this,a,!1),vb(this.g,b,0,a))};f.Qd=function(){return tb(this.g)};f.ff=function(a){a!=this.rg&&(zz(this,this.rg,!1),this.rg=a,zz(this,a,!0));this.dispatchEvent("select")};f.wa=function(){wz.ta.wa.call(this);delete this.g;this.rg=null}; function zz(a,b,c){b&&("function"==typeof a.Ck?a.Ck(b,c):"function"==typeof b.sm&&b.sm(c))};function Az(a,b,c){Hr.call(this,b,a||tz.Fb(),c)}u(Az,Hr);Az.prototype.Xi=function(a){Az.ta.Xi.call(this,a);this.qe||Mr(this)};function Bz(a,b,c){Wt.call(this,a,b||sz.Fb(),c)}u(Bz,Wt);ar("goog-toolbar-button",function(){return new Bz(null)});function Cz(a,b){By.call(this,a||pz.Fb(),b)}u(Cz,By);ar("goog-toolbar-separator",function(){return new Cz});function Dz(a){a=a||"viewport-chrome-toolbar";a=vz[a]||(vz[a]=new uz(a));Az.call(this,a);this.Ba={};this.j=new ej(this)}n(Dz,Az);function Ez(a,b,c,d){b.bc(16,!0);if(c){var e=a.Ba[c];e||(e=new wz,yz(e,function(g,h){g&&g.Nf(h)}),a.Ba[c]=e);e.Sa(b);b.Wf&=-17;O(b,"action",function(g){e.ff(g.target)});d&&e.ff(b)}else b.kd(16,!!d)}function Fz(a,b){a.Ba.viewport&&a.Ba.viewport.ff(b)}Dz.prototype.wa=function(){Az.prototype.wa.call(this);this.j.Ha();Rc(this.Ba,function(a){a.Ha()})};function Gz(){}u(Gz,Ut);Oa(Gz);f=Gz.prototype;f.Sc=function(a){var b=lr(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),a.Lc());this.vc(b,a.Af());return b};f.Eg=function(){return"button"};f.Si=function(a){return"DIV"==a.tagName};f.Ub=function(a,b){x(b,"goog-inline-block");return Gz.ta.Ub.call(this,a,b)};f.Bb=function(){return""};f.Wa=function(){return"goog-flat-button"};ar("goog-flat-button",function(){return new Wt(null,Gz.Fb())});function Hz(){}u(Hz,qz);Oa(Hz);Hz.prototype.Nc=function(a){return Hz.ta.Nc.call(this,a&&a.firstChild)};Hz.prototype.Ub=function(a,b){var c=Ze("*","goog-menu",b)[0];if(c){M(c,!1);We(c).body.appendChild(c);var d=new Ey;an(d,c);a.ef(d)}return Hz.ta.Ub.call(this,a,b)};Hz.prototype.mj=function(a,b){return Hz.ta.mj.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.g=[]}u(Iz,py);Oa(Iz);Iz.prototype.Sc=function(a){var b=Iz.ta.Sc.call(this,a);x(b,"goog-submenu");Jz(this,a,b);return b};Iz.prototype.Ub=function(a,b){b=Iz.ta.Ub.call(this,a,b);x(b,"goog-submenu");Jz(this,a,b);var c=Ze("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);an(d,c);a.ef(d,!0)}return b};Iz.prototype.Fg=function(a,b){var c=this.Nc(a),d=c&&c.lastChild;Iz.ta.Fg.call(this,a,b);d&&c.lastChild!=d&&Gb(d,"goog-submenu-arrow")&&c.appendChild(d)}; Iz.prototype.Ti=function(a){Iz.ta.Ti.call(this,a);var b=a.Jb(),c=$e(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Kz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();X(a,"haspopup","true")};function Jz(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";Kz(b,d);a.Nc(c).appendChild(d)}function Kz(a,b){en(a)?(x(b,"goog-submenu-arrow-rtl"),I(b,"\u25c4")):(Ib(b,"goog-submenu-arrow-rtl"),I(b,"\u25ba"))};function Lz(a,b,c,d){uy.call(this,a,b,c,d||Iz.Fb())}u(Lz,uy);f=Lz.prototype;f.Dh=null;f.zm=null;f.Xl=!1;f.wc=null;f.qj=!1;f.Ma=function(){Lz.ta.Ma.call(this);Z(this).ka(this.getParent(),"hide",this.Qp);this.wc&&Mz(this,this.wc,!0)};f.oc=function(){Z(this).Xa(this.getParent(),"hide",this.Qp);this.wc&&(Mz(this,this.wc,!1),this.qj||(this.wc.oc(),H(this.wc.ha())));Lz.ta.oc.call(this)};f.wa=function(){this.wc&&!this.qj&&this.wc.Ha();this.wc=null;Lz.ta.wa.call(this)}; f.ad=function(a){Lz.ta.ad.call(this,a);a||(this.Dh&&Ok(this.Dh),this.Dh=U(this.Me,218,this))};f.ym=function(){var a=this.getParent();a&&Lr(a)==this&&(Nz(this,!0),Oz(this))};f.Me=function(){var a=this.wc;a&&a.getParent()==this&&(Nz(this,!1),bn(a,function(b){"function"==typeof b.Me&&b.Me()}))};function Pz(a){a.Dh&&Ok(a.Dh);a.zm&&Ok(a.zm)}f.Da=function(a,b){(a=Lz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Me();return a}; function Oz(a){bn(a.getParent(),function(b){b!=this&&"function"==typeof b.Me&&(b.Me(),Pz(b))},a)}f.Wc=function(a){var b=a.keyCode,c=en(this)?37:39,d=en(this)?39:37;if(!this.Xl){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Yl)return!1;this.ym();Mr(Qz(this));Pz(this)}else if(!Qz(this).Wc(a))if(b==d)this.Me();else return!1;a.preventDefault();return!0};f.Gv=function(){this.wc.getParent()==this&&(Pz(this),this.hh().ad(this),Oz(this))};f.Qp=function(a){a.target==this.hh()&&(this.Me(),Pz(this))}; f.Se=function(a){this.isEnabled()&&(Pz(this),this.zm=U(this.ym,218,this));Lz.ta.Se.call(this,a)};f.Ye=function(a){Pz(this);if(qr(this,8)||qr(this,16))return Lz.ta.Ye.call(this,a);this.ym();return!0}; function Nz(a,b){!b&&Qz(a)&&Qz(a).Yd(-1);a.dispatchEvent(Ym(64,b));var c=Qz(a);b!=a.Xl&&Kb(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.ab||c.render(),c.Yd(-1)),c.Da(b),b)){c=new $r(a.ha(),12,!1);var d=Qz(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",M(e,!0));c.Tc(e,8);d.isVisible()||(M(e,!1),e.style.visibility="visible")}a.Xl=b}function Mz(a,b,c){var d=Z(a);(c?d.ka:d.Xa).call(d,b,"enter",a.Gv)}f.Sa=function(a){Qz(this).Oa(a,!0)};f.uf=function(a,b){Qz(this).Pg(a,b,!0)}; f.Qd=function(){return Qz(this).Qd()};function Qz(a){a.wc?a.qj&&a.wc.getParent()!=a&&a.wc.te(a):a.ef(new Ey(a.g),!0);a.wc.ha()||a.wc.Va();return a.wc}f.ef=function(a,b){var c=this.wc;a!=c&&(c&&(this.Me(),this.ab&&Mz(this,c,!1)),this.wc=a,this.qj=!b,a&&(a.te(this),a.Da(!1,!0),Fy(a,!1),Qr(a,!1),this.ab&&Mz(this,a,!0)))};f.fe=function(a){return Qz(this).fe(a)};ar("goog-submenu",function(){return new Lz(null)});function Rz(a,b,c,d,e){Wt.call(this,a,c||Hz.Fb(),d);this.bc(64,!0);this.o=new xy(null,9);b&&this.ef(b);this.Ya=new Mk(500);this.rb=e||Cy.Fb()}u(Rz,Wt);f=Rz.prototype;f.Ma=function(){Rz.ta.Ma.call(this);Sz(this,!0);this.i&&Tz(this,this.i,!0);X(this.ya,"haspopup",!!this.i)};f.oc=function(){Rz.ta.oc.call(this);Sz(this,!1);if(this.i){this.Rb(!1);this.i.oc();Tz(this,this.i,!1);var a=this.i.ha();a&&H(a)}};f.wa=function(){Rz.ta.wa.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.hb;this.Ya.Ha()}; f.mf=function(a){Rz.ta.mf.call(this,a);this.isActive()&&(this.Rb(!this.xd(),a),this.i&&(a=this.xd(),this.i.qe=a))};f.oe=function(a){Rz.ta.oe.call(this,a);this.i&&!this.isActive()&&(this.i.qe=!1)};f.Ye=function(){Br(this,!1);return!0};f.Xt=function(a){this.i&&this.i.isVisible()&&!this.fe(a.target)&&this.Rb(!1)};f.fe=function(a){return a&&Cf(this.ha(),a)||this.i&&this.i.fe(a)||!1}; f.ne=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.Wc(a);return c&&this.i&&this.i.kc instanceof Lz||27!=a.keyCode&&!b?c:(this.Rb(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Rb(!0,a),!0):!1};f.Dl=function(){this.Rb(!1)};f.Ui=function(a){this.Rb(!1);Rz.ta.Ui.call(this,a)}; function Uz(a){a.i||a.ef(new Ey(a.g,a.rb));return a.i||null}f.ef=function(a){var b=this.i;a!=b&&(b&&(this.Rb(!1),this.ab&&Tz(this,b,!1),delete this.i),this.ab&&X(this.ya,"haspopup",!!a),a&&(this.i=a,a.te(this),a.Da(!1),Fy(a,!1),this.ab&&Tz(this,a,!0)));return b};f.Sa=function(a){Uz(this).Oa(a,!0)};f.uf=function(a,b){Uz(this).Pg(a,b,!0)};f.Da=function(a,b){(a=Rz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Rb(!1);return a};f.Ta=function(a){Rz.ta.Ta.call(this,a);this.isEnabled()||this.Rb(!1)}; f.Rb=function(a,b){Rz.ta.Rb.call(this,a);if(this.i&&rr(this,64)==a){if(a)this.i.ab||this.i.render(),this.Ba=qh(this.ha()),this.Ua=Ah(this.ha()),Vz(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Yd(-1):Mr(this.i);else{Br(this,!1);this.i.qe=!1;var c=this.ha();c&&(X(c,"activedescendant",""),X(c,"owns",""));null!=this.va&&(this.va=void 0,(c=this.i.ha())&&K(c,"",""))}this.i.Da(a,!1,b);this.Nd||(b=Z(this),c=a?b.ka:b.Xa,c.call(b,this.g.g,"mousedown",this.Xt,!0),c.call(b,this.Ya,"tick",this.Hr),a?this.Ya.start(): this.Ya.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function Vz(a){if(a.i.ab){var b=a.hb||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.Tc(b,c.i^1,null,a.va);a.i.isVisible()||(M(b,!1),b.style.visibility="visible")}} f.Hr=function(){var a=Ah(this.ha()),b=qh(this.ha());var c=this.Ua;(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.ab&&b&&this.Ba&&b.Cb()h;h++){for(var k=nf(d,"TR"),l=0;2>l;l++)k.appendChild(nf(d,"TD"));g.appendChild(k)}x(e,this.className+"-table-layout");d=e.rows[0].cells;g=dA(this);d[0].appendChild(g);g=eA(this);d[1].appendChild(g);g=C("DIV",this.className+"-link"); h=C("A",{target:"_blank"},"Help with devices & formats");k=new R(window.location.href);l=new R("/support/bin/answer.py?answer=1062949");k=T(k,"hl")?S(l,"hl",T(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";pe(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.o;if((d=e.Md)&&!e.ng&&e.rb){var m;e.Tb&&tm.lx&&(m="Read the book");m=C("P",this.className+"-additional",C("A",{href:d},m));c.appendChild(m)}if(e.Ka||e.La)if(d=e.Zb,g=e.hb,d||g)m=C("P",this.className+"-additional", pf("Download ")),d&&(h=C("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(pf(", ")),d=C("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(pf(" - ")),e=e.ac(),d=(new R(window.location.href)).s.split("/"),d=new R("/"+d[1]),wu(d),S(d,"output","acs_help"),S(d,"id",e),e=C("A",{href:d.toString()},"read eReader instructions"),m.appendChild(e),c.appendChild(m);m=C("A",{target:"_blank"},"Learn more about books on Google Play");pe(m,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=C("DIV",this.className+"-footer",m);b=C("DIV",b,c,this.j);x(b,this.className+"-device-content");a.appendChild(b)}}; function dA(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"),m=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), p=a.o.Fj,w=a.o.Gj,D=a.o.ng;d=new ej(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);m=C("LI",null,m);d.ka(m,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p&&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(m,"mouseout",a.Ba);b.appendChild(m);D?(x(h,g),x(k,g),x(l,g),x(m,g)):p?(x(h,c),x(k,c),x(l,c),x(m,c)):(w?(x(h,c),x(k,c)):(x(h,e),x(k,e)),x(l,e),x(m,e));return b} function eA(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");pe(c,"/support/bin/answer.py?answer=1062949");var h=C("A",{},"Scanned pages");pe(h,"/support/bin/answer.py?answer=1062949");var k=a.o.Fj,l=a.o.Gj,m=a.o.ng;m?(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 ej(a);e.ka(c,"mouseover",function(){m? this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):k?this.i("This eBook includes flowing text, so you can adjust the font size and style to read comfortably on any device."):this.i("This book does not include flowing text, so you cannot adjust the font. Instead, you see images of pages, with a fixed layout. This is good for larger screens, but not always ideal for eReaders and smartphones.")});e.ka(c,"mouseout",a.Ba);e.ka(d, "mouseover",function(){m?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):l?this.i("This eBook includes scanned pages, so pages appear as they would in a printed book."):this.i("This eBook does not include scanned pages, which retain the format of a printed book. Instead, the text can be adjusted and it flows to fit any screen.")});e.ka(d,"mouseout",a.Ba);b.appendChild(c);b.appendChild(d);return b} cA.prototype.Ba=function(){sf(this.j);var a=C("A",{target:"_blank"},"Learn more about books on Google Play");pe(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};cA.prototype.i=function(a){sf(this.j);"string"===typeof a?this.j.appendChild(pf(a)):this.j.appendChild(a)};function fA(a,b){Yt.call(this,b,void 0,3);this.o=a}n(fA,Yt);fA.prototype.render=function(a){Yt.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};fA.prototype.Ma=function(){Yt.prototype.Ma.call(this);var a=this.ha();this.i=new cA(a,this.o);this.i.render();a=B("menu_container");(a=bf("about_title",a))&&H(a)}; function gA(){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");Vr(a,9,b,8);M(b,!1);O(document,"mousedown",t(hA,a,b))}}}function hA(a,b,c){a=Cf(a,c.target);c=Cf(b,c.target);var d=Ch(b);a||c||!d?a&&(M(b,!d),d||Bh(b,1)):M(b,!1)};function iA(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;wm(l,k.va);x(l,"goog-zippy-header");l&&k.oa.ka(l,"click",k.na);var m=k;l&&(m.O.attach(l),m.ma.ka(m.O,"key",m.ua))}}Q.call(this);this.N=e||Ue();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=Ch(this.s):this.i&&(this.g=Gb(this.i,"goog-zippy-expanded")));this.ma=new ej(this);this.O=new Vq;this.oa=new ej(this); var k=this;h(this.i);h(this.s);this.df(this.g)}u(iA,Q);iA.prototype.wa=function(){iA.ta.wa.call(this);zi(this.ma);zi(this.O);zi(this.oa)};iA.prototype.df=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),X(this.i,"expanded",a));this.g=a;this.dispatchEvent(new jA("toggle",this,this.g))}; iA.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.df(!this.g),this.dispatchEvent(new jA("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};iA.prototype.na=function(a){this.df(!this.g);this.dispatchEvent(new jA("action",this,this.g,a))};function jA(a,b){Di.call(this,a,b)}u(jA,Di);function kA(a,b,c,d){if(b.child_node&&0"+(c.i.Pb.yb.length+" results in this book for ")+(Qq(c.i.Pb)+"")));IA(c,!0);c=a.Pb;c!=b.Pb&&(b.Pb=c,jy(b));a=r(a.Cf,a);b.Ba=a;b.jd(new A(0,0))} EA.prototype.Cf=function(a,b){jw=!0;var c=this.Zc.j;IA(c,!1);c.ma=gb(c.i.Pb.yb,a);c.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0),N(c.j,rl(c.ma+1+" of "+c.i.Pb.yb.length)),Am(c.j,"Result "+(c.ma+1)+" of "+c.i.Pb.yb.length)):N(c.j,rl("Result "+(c.ma+1+" of ")+(c.i.Pb.yb.length+" in this book for ")+(Qq(c.i.Pb)+"")));c=this.Zc.V;a=io(c.ob(),a.Qa());if(!a)return null;var d=c.Ia();d instanceof ox||d instanceof Tx||(this.Zc.s==Tx?c.lc(Tx):c.lc(ox));if(b)return c.Gd(b), null;c.fi(a);return a};EA.prototype.wa=function(){zi(this.j);W.prototype.wa.call(this)};function JA(a){W.call(this);this.Ja=sp(a);this.s=pc&&a&&a.isOgenEligibleMobileViewport;this.na=this.o=null;this.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0)):(this.oa=F("DIV"),this.ua=new Jq(this.oa),this.ua.render(KA),this.ua.Da(!0),a=this.ua.ha(),x(a,"search-results-bar"),x(this.oa,"search-results-bar-contents"));this.j=this.s?B("gb-mobile-search-results-summ"):F("SPAN");this.s||this.oa.appendChild(this.j);this.N=this.s?B("gb-mobile-search-result-links"):F("SPAN");this.s?(LA(this, B("gb-mobile-search-result-prev"),r(this.Cj,this,-1),"Previous result"),LA(this,B("gb-mobile-search-result-next"),r(this.Cj,this,1),"Next result"),I(B("gb-mobile-search-result-viewall"),"View all"),LA(this,B("gb-mobile-search-result-viewall"),r(this.ip,this),"View all"),LA(this,B("gb-mobile-search-close"),r(this.Fl,this),"Close search")):(x(this.N,"search-bar-result-links"),this.oa.appendChild(this.N),a=F("SPAN"),N(a,rl("-  ")),x(a,"search-bar-link-spacer"),this.N.appendChild(a),MA(this, this.N,"\u2039 Previous",r(this.Cj,this,-1),"Previous"),a=F("SPAN"),N(a,rl("  ")),x(a,"search-bar-link-spacer"),this.N.appendChild(a),MA(this,this.N,"Next \u203a",r(this.Cj,this,1),"Next"),a=F("SPAN"),N(a,rl("  -  ")),x(a,"search-bar-link-spacer"),this.N.appendChild(a),MA(this,this.N,"View all",r(this.ip,this)));this.O=this.s?B("gb-mobile-search-snippet-links"):F("SPAN");this.s?NA(this):(this.Ja?(this.va=F("DIV"),x(this.va,"search-bar-result-buttons"),this.oa.appendChild(this.va), this.va.appendChild(this.O),Hb(this.O,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),NA(this)):(this.Ba=F("SPAN"),this.Ca=F("SPAN"),this.oa.appendChild(this.O),a=F("SPAN"),N(a,rl("-  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),this.O.appendChild(pf("Order by: ")),this.O.appendChild(this.Ba),MA(this,this.Ba,"relevance",r(this.Dj,this,"r"),"Order by relevance"),a=F("SPAN"),N(a,rl(" | pages")),this.Ba.appendChild(a),this.O.appendChild(this.Ca), a=F("SPAN"),N(a,rl("relevance | ")),this.Ca.appendChild(a),MA(this,this.Ca,"pages",r(this.Dj,this,"n"),"Order by pages")),x(this.O,"search-bar-snippet-links"));if(!this.s){a=F("SPAN");x(a,"search-bar-close-link-container");this.Ja?this.va.appendChild(a):this.oa.appendChild(a);this.g.ka(a,"click",this.Fl);var b=MA(this,a,"Clear search",r(this.Fl,this));x(b,"search-bar-close-link");b=F("IMG");b.src="/googlebooks/images/close_x.gif";x(b,"search-bar-close-img");a.appendChild(b);Fh(this.oa, !0)}}var KA,OA,PA;n(JA,W);function QA(){OA=B("toolbar_container")} function NA(a){a.o=C("A",{"class":"search-bar-sort-dropdown-link"});wm(a.o,"button");If(a.o,!0);X(a.o,"haspopup",!0);a.O.appendChild(a.o);var b=C("SPAN",{"class":"search-bar-sort-dropdown-text"});I(b,"Order by");a.na=C("SPAN",{"class":"search-bar-sort-dropdown-selected"});I(a.na,"relevance");Am(a.o,"Order by relevance");b.appendChild(a.na);a.o.appendChild(b);b=cu("/googlebooks/images/material/arrow_drop_down_black_20dp.png");x(b[0],"search-bar-sort-dropdown-icon");X(b[0],"hidden",!0);a.o.appendChild(b[0]); b=new Gy;var c=new uy("relevance");c.yi("Order by relevance");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");var d=new uy("pages");d.yi("Order by pages");b.Oa(d,!0);x(d.ha(),"search-bar-sort-dropdown-item");b.Fm=!0;b.render(document.body);b.attach(a.o,13,12);a.g.ka(b,"action",a.Zo);a.g.ka(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||r(a.Zo,a)});a.s&&a.g.ka(b,"beforeshow",function(){var e=a.o.offsetWidth-32;zh(c.ha(),e);zh(d.ha(),e)})} function IA(a,b){M(OA,!b);M(a.O,b);a.s?(M(a.N,!b),b=!b&&1==a.i.Pb.yb.length,Kb(a.N,"mobile-search-button-disabled",b),X(a.N,"disabled",b)):M(a.N,!b&&1=d&&(a.ma=0);0>a.ma&&(a.ma=d-1);a.ma!=b&&(a.i.Cf(a.i.Pb.yb[a.ma])||SA(a,b,c))}f.Dj=function(a){var b=this.i.Zc;b&&b.update(a)};f.ip=function(){GA(this.i)}; f.Ju=function(a){var b=this.i.Zc;b&&(a=Je(a),Ko(b.V.tb(),a),b.N.Bc(a),b.o&&b.o.update())};f.Zo=function(a){if((a=a.target.Lc())&&this.na)switch(a){case "pages":this.Dj("n");I(this.na,"pages");Am(this.o,"Order by pages");break;case "relevance":this.Dj("r"),I(this.na,"relevance"),Am(this.o,"Order by relevance")}};function HA(a,b){a.o&&(Kb(a.o,"search-bar-sort-dropdown-disabled",!b),X(a.o,"disabled",!b));var c="n"==a.i.Bm;b&&!c&&I(a.na,"relevance")};function TA(a,b,c,d){W.call(this);this.V=a;this.N=b;this.o=c;this.O=d;this.ma=pc&&d&&d.isOgenEligibleMobileViewport;this.g.ka(a.tb(),"change",r(this.update,this,"r",null))}n(TA,W); TA.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 JA(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&&I(a.s,String(1==a.o?b:a.i-b))}dB.prototype.wa=function(){dB.ta.wa.call(this);delete this.g;this.j.Ha();this.j=null};function fB(a,b,c,d,e){$A.call(this,a,b,null,!0);this.hb=c;this.Tb=d;this.Ca=e}n(fB,$A); fB.prototype.Va=function(){$A.prototype.Va.call(this);this.o=gB(this,"Name","input");this.rb=gB(this,"Description (optional)","textarea");var a=this.Jb(),b=C("DIV",{"class":"ccd-label"}),c=F("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=F("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=F("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.Fe=[a,e];this.Ee=[c,d];null!= this.Ca&&(ef(this.Ca,{"class":"ccd-mode-link"}),b.appendChild(this.Ca));this.Ka(!0);this.na=C("DIV",{"class":"ccd-error"});this.Jb().appendChild(this.na);this.Xb=C("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Jb().appendChild(this.Xb);this.i&&hB(this);$o.IsZipitFolderCollectionEnabled||(b=this.j,a=Fn(b,"ok"),J(a,"fontWeight","bold"),x(a,"gb-button"),x(Fn(b,"cancel"),"gb-button"))}; function hB(a){a.o.value=Je(a.i.kb());a.o.disabled=a.i.O;a.rb.value=Je(a.i.ah());a.Ka(1==a.i.Ge);a.o.disabled&&J(a.o,"background","#f2f2f2")}function gB(a,b,c){var d=a.Jb();a=C("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=C("DIV",{"class":"ccd-label"});N(d,ni(b));a.appendChild(d);b=C(c,{"class":"ccd-input"});"input"==c?(ef(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(ef(b,{rows:6,cols:50}),new dB(b,F("span"),500));a.appendChild(b);return b} fB.prototype.Ka=function(a){this.De=a;v(this.Fe,function(b){M(b,a)});v(this.Ee,function(b){M(b,!a)})}; fB.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.Tb&&!this.Tb(b))return this.na.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new Eu;a.Jc=b;a.s=this.rb.value;a.Ge=this.De?1:2;if(this.i){b=this.hb;var c=new R(b.Cq);S(c,"as_coll",a.getId());Qu(c,a,r(b.N,b))}else b=this.hb,Qu(b.s,a,r(b.o,b,!0));return!0}; fB.prototype.wa=function(){delete this.hb;delete this.Ca;delete this.i;delete this.na;delete this.Xb;delete this.o;delete this.rb;delete this.Tb;$A.prototype.wa.call(this)};function iB(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.N=c;this.i=d;this.O&&(this.s=jb(this.O.childNodes,jB),this.i&&ub(this.s,jb(this.i.childNodes,jB)));this.o=e;U(r(this.Or,this))}u(iB,W);f=iB.prototype;f.Or=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.Bq);this.N&&this.g.ka(this.N,"click",this.Vt);this.g.ka(this.o,"add",this.ct)}; function jB(a){var b=Ze("SPAN","sidebar-collection-title",a)[0];b||(b=Ze("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Ob(Fe(Jf(b)));return Ob(a.split("(")[0])}f.Vt=function(){var a=new fB("Create new bookshelf","Create bookshelf",this.o,r(this.nv,this));a.render();a.Da(!0)};f.nv=function(a){var b=Ob(Fe(a)).toLowerCase();return!kb(this.s,function(c){return c.toLowerCase()==b})}; f.ct=function(a){a=a.shelf;var b=Ob(Fe(a.kb())),c=1==a.Ge;this.s.push(b);var d=new R("/books");wu(d);S(d,"as_coll",a.getId());S(d,"source","gbs_lp_bookshelf_list");if($o.IsBooksUnifiedLeftNavEnabled){a=C("LI",{"class":"left-nav-shelf-item"});var e=C("A",{"class":"sidebar-link"});pe(e,d.toString());d=C("SPAN");x(d,"sidebar-collection-title");N(d,sl(b+" (0)",{af:"038e33c2-d414-44e2-bbe6-927f8ace3e86"}));e.appendChild(d);a.appendChild(e);c=B("hidden-my-library-expanded");tf(a,c);ZA(!0,"my-library")}else a= F("DIV"),e=C("A",{"class":"hp-bookshelf-link",style:"line-height:19px"}),pe(e,d.toString()),d=C("SPAN",{"class":"hp-collection-title"}),N(d,sl(b,{af:"0b6daedb-ff6d-4634-9ac2-c45d944e2b5e"})),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),uf(a,B("csStart"))}; f.Bq=function(a){a.preventDefault();a=!Ch(this.i);M(this.i,a);a?(Vr(this.j,9,this.i,8),200 EPS Plate Complete Set of Machinery