(function(){var GBS_HOST = "https://books.google.com/";var k,m=this;function n(a) {return void 0!==a}function p(a){return"string"==typeof a}var aa=/^[\w+/_-]+[=] {0,2}$/,ba=null;function q(){} function r(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function t(a){return"array"==r(a)}function ca(a){var b=r(a);return"array"==b||"object"==b&&"number"==typeof a.length}function u(a) {return"function"==r(a)}function v(a){var b=typeof a;return"object"==b&&null! =a||"function"==b}function da(a,b,c){return a.call.apply(a.bind,arguments)} function ea(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function w(a,b,c) {Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?w=da:w=ea;return w.apply(null,arguments)} function fa(a,b){var c=Array.prototype.slice.call(arguments,1);return function() {var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}var ha=Date.now||function(){return+new Date};function x(a,b){var c=a.split("."),d=m;c[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&n(b)?d[e]=b:d[e]&&d[e]! ==Object.prototype[e]?d=d[e]:d=d[e]={}} function y(a,b){function c() {}c.prototype=b.prototype;a.va=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ba=function(a,c,f){for(var d=Array(arguments.length2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};function z(a) {if(Error.captureStackTrace)Error.captureStackTrace(this,z);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}y(z,Error);z.prototyp e.name="CustomError";var ia=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(p(a))return p(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c
a.g&&(a.g++,b.next=a.b,a.b=b)};function pa(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1")&&(a=a.replace(va,">"));-1!
=a.indexOf('"')&&(a=a.replace(wa,"""));-1! =a.indexOf("'")&&(a=a.replace(xa,"'"));-1! =a.indexOf("\x00")&&(a=a.replace(ya,""));return a}var ta=/&/g,ua=//g,wa=/"/g,xa=/'/g,ya=/\x00/g,sa=/[\x00&<>"']/;function za(a,b){return ab?1:0} function Aa(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Ba(a){var b=p(void 0)?"undefined".replace(/([-()\[\]{}+? *.$\^|,:#
=eb&&eb>parseFloat(cb)){bb=String(eb);break a}}bb=cb}var fb=bb,Wa={}; function gb(a){return Va(a,function(){for(var b=0,c=qa(String(fb)).split("."),d=qa(String(a)).split("."),e=Math.max(c.length,d.le ngth),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)|| ["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)|| ["","","",""];if(0==g[0].length&&0==h[0].length)break;b=za(0==g[1].length? 0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))|| za(0==g[2].length,0==h[2].length)||za(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})}var hb;var ib=m.document; hb=ib&&C?ab()||("CSS1Compat"==ib.compatMode?parseInt(fb,10):5):void 0;function jb() {};var kb=!C||9<=Number(hb);function lb(){this.ka="";this.b=mb}lb.prototype.Aa=! 0;function nb(a){if(a instanceof lb&&a.constructor===lb&&a.b===mb)return a.ka;r(a);return"type_error:TrustedResourceUrl"}var mb={};function ob(a){var b=new lb;b.ka=a;return b};function pb(a,b){a.src=nb(b);var c;if(null===ba){a: {if((c=m.document.querySelector("script[nonce]"))&&(c=c.nonce|| c.getAttribute("nonce"))&&aa.test(c))break a;c=null}ba=c||""} (c=ba)&&a.setAttribute("nonce",c)};function D(a,b){this.b=n(a)?a:0;this.w=n(b)? b:0}D.prototype.ceil=function() {this.b=Math.ceil(this.b);this.w=Math.ceil(this.w);return this};D.prototype.floor=function() {this.b=Math.floor(this.b);this.w=Math.floor(this.w);return this};D.prototype.round=function() {this.b=Math.round(this.b);this.w=Math.round(this.w);return this};function E(a,b) {this.width=a;this.height=b}E.prototype.aspectRatio=function(){return this.width/this.height};E.prototype.ceil=function() {this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};E.prototype.floor=function() {this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};E.prototype.round=function() {this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function qb(a,b){Ea(b,function(b,d){b&&b.Aa&&(b=b.ka);"style"==d? a.style.cssText=b:"class"==d?a.className=b:"for"==d? a.htmlFor=b:rb.hasOwnProperty(d)? a.setAttribute(rb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)? a.setAttribute(d,b):a[d]=b})}var rb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",framebord er:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",ro wspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; function sb(){var a=window.document;a="CSS1Compat"==a.compatMode? a.documentElement:a.body;return new E(a.clientWidth,a.clientHeight)}function tb(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!kb&&g&&(g.name|| g.type)){f=["<",f];g.name&&f.push(' name="',ra(g.name),'"');if(g.type){f.push(' type="',ra(g.type),'"');var h={};Ga(h,g);delete h.type;g=h}f.push(">");f=f.join("")}f=e.createElement(f);g&&(p(g)? f.className=g:t(g)?f.className=g.join(" "):qb(f,g));2
.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.al tKey=this.ctrlKey=!1;this.pointerId=0;this.pointerType="";this.i=null;if(a){var c=this.type=a.type,d=a.changedTouches? a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.b=b;var e=a.relatedTarget;if(e){if(Za){a:{try{Ua(e.nodeName);var f=!0;break a}catch(g){}f=! 1}f||(e=null)}}else"mouseover"== c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d? (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.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.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.alt Key;this.shiftKey=a.shiftKey;this.metaKey= a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=p(a.pointerType)? a.pointerType:Ab[a.pointerType]||"";this.i=a;a.defaultPrevented&&this.g()}}y(H,G);v ar Ab={2:"touch",3:"pen",4:"mouse"};H.prototype.g=function(){H.va.g.call(this);var a=this.i;if(a.preventDefault)a.preventDefault();else if(a.returnValue=! 1,yb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var I="closure_listenable_"+(1E6*Math.random()|0),Bb=0;function Cb(a,b,c,d,e) {this.listener=a;this.b=null;this.src=b;this.type=c;this.capture=!!d;this. $=e;this.key=++Bb;this.S=this.W=!1}function Db(a){a.S=! 0;a.listener=null;a.b=null;a.src=null;a.$=null};function Eb(a) {this.src=a;this.b={};this.g=0}Eb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.b[f];a||(a=this.b[f]=[],this.g++);var g=Fb(a,b,d,e);-1
0;if(a=Ob(a))if(b=a.b[b.toString()])for(b=b.concat(),a=0;ae.keyCode||void 0! =e.returnValue)){a:{var f=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){f=! 0}if(f||void 0==e.returnValue)e.returnValue=! 0}e=[];for(f=c.b;f;f=f.parentNode)e.push(f);f=a.type;for(var g=e.length-1;0<=g;g--) {c.b=e[g];var h=Ub(e[g],f,!0,c);d=d&&h}for(g=0;g<e.length;g+ +)c.b=e[g],h=Ub(e[g],f,!1,c), d=d&&h}return d}return Vb(a,new H(b,this))}function Ob(a){a=a[Hb];return a instanceof Eb?a:null}var Wb="__closure_events_fn_"+(1E9*Math.random()>>>0);function Mb(a){if(u(a))return a;a[Wb]||(a[Wb]=function(b){return a.handleEvent(b)});return a[Wb]};function J(){this.b=new Eb(this);this.s=this}y(J,jb);J.prototype[I]=! 0;J.prototype.removeEventListener=function(a,b,c,d){Sb(this,a,b,c,d)};function Xb(a,b){var c=a.s,d=b,e=d.type||d;if(p(d))d=new G(d,c);else if(d instanceof G)d.target=d.target||c;else{var f=d;d=new G(e,c);Ga(d,f)}c=d.b=c;Yb(c,e,! 0,d);Yb(c,e,!1,d)} function Yb(a,b,c,d){if(b=a.b.b[String(b)]){b=b.concat();for(var e=! 0,f=0;f
function L(a,b,c){if(0==a.b){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.b=1;a:{var d=c,e=a.R,f=a.V;if(d instanceof K){mc(d,hc(e||q,f|| null,a));var g=!0}else if(ec(d))d.then(e,f,a),g=!0;else{if(v(d))try{var h=d.then;if(u(h)){oc(d,h,e,f,a);g=!0;break a}}catch(l){f.call(a,l);g=!0;break a}g=! 1}}g||(a.u=c,a.b=b,a.i=null,nc(a),3!=b||c instanceof M||pc(a,c))}} function oc(a,b,c,d,e){function f(a){h||(h=!0,d.call(e,a))}function g(a){h||(h=! 0,c.call(e,a))}var h=!1;try{b.call(a,g,f)}catch(l){f(l)}}function nc(a){a.s||(a.s=! 0,Pa(a.v,a))}function kc(a){var b=null;a.g&&(b=a.g,a.g=b.next,b.next=null);a.g|| (a.j=null);return b}K.prototype.v=function(){for(var a;a=kc(this);)lc(this,a,this.b,this.u);this.s=!1}; function lc(a,b,c,d){if(3==c&&b.g&&!b.o)for(;a&&a.o;a=a.i)a.o=! 1;if(b.b)b.b.i=null,qc(b,c,d);else try{b.o?b.j.call(b.i):qc(b,c,d)}catch(e) {rc.call(null,e)}oa(gc,b)}function qc(a,b,c){2==b? a.j.call(a.i,c):a.g&&a.g.call(a.i,c)}function pc(a,b){a.o=!0;Pa(function() {a.o&&rc.call(null,b)})}var rc=Ha;function M(a) {z.call(this,a)}y(M,z);M.prototype.name="cancel";/* Portions of this code are from MochiKit, received by The Closure Authors under the MIT license. All other code is Copyright 2005-2009 The Closure Authors. All Rights Reserved. */ function N(a,b){this.o=[];this.ra=a;this.ma=b||null;this.j=this.b=!1;this.i=void 0;this.R=this.wa=this.u=! 1;this.s=0;this.g=null;this.v=0}N.prototype.cancel=function(a){if(this.b)this.i instanceof N&&this.i.cancel();else{if(this.g){var b=this.g;delete this.g;a? b.cancel(a):(b.v--,0>=b.v&&b.cancel())}this.ra?this.ra.call(this.ma,this):this.R=! 0;this.b||(a=new P(this),sc(this),Q(this,!1,a))}};N.prototype.V=function(a,b) {this.u=!1;Q(this,a,b)};function Q(a,b,c){a.b=!0;a.i=c;a.j=!b;tc(a)} function sc(a){if(a.b){if(!a.R)throw new uc(a);a.R=!1}}function vc(a,b,c,d) {a.o.push([b,c,d]);a.b&&tc(a)}N.prototype.then=function(a,b,c){var d,e,f=new K(function(a,b){d=a;e=b});vc(this,d,function(a){a instanceof P? f.cancel():e(a)});return f.then(a,b,c)};dc(N);function wc(a){return ka(a.o,function(a){return u(a[1])})} function tc(a){if(a.s&&a.b&&wc(a)){var b=a.s,c=xc[b];c&&(m.clearTimeout(c.H),delete xc[b]);a.s=0}a.g&&(a.g.v--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.u;){var e=a.o.shift(),f=e[0],g=e[1];e=e[2];if(f=a.j?g:f)try{var h=f.call(e|| a.ma,b);n(h)&&(a.j=a.j&&(h==b||h instanceof Error),a.i=b=h);if(ec(b)||"function"===typeof m.Promise&&b instanceof m.Promise)d=! 0,a.u=!0}catch(l){b=l,a.j=!0,wc(a)||(c=!0)}}a.i=b;d&&(h=w(a.V,a,!0),d=w(a.V,a,!1),b instanceof N?(vc(b,h,d),b.wa=!0):b.then(h,d));c&&(b=new yc(b), xc[b.H]=b,a.s=b.H)}function uc() {z.call(this)}y(uc,z);uc.prototype.message="Deferred has already fired";uc.prototype.name="AlreadyCalledError";function P() {z.call(this)}y(P,z);P.prototype.message="Deferred was canceled";P.prototype.name="CanceledError";function yc(a) {this.H=m.setTimeout(w(this.g,this),0);this.b=a}yc.prototype.g=function(){delete xc[this.H];throw this.b;};var xc={};function zc(a,b){var c=b||{},d=c.document|| document,e=nb(a),f=F("SCRIPT"),g={ua:f,ha:void 0},h=new N(Ac,g),l=null,O=null! =c.timeout?c.timeout:5E3;0
meout(function(){wb(a)},0)} function Cc(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);z.call(this,c);this.code=a}y(Cc,z);function Ec(a){this.b=a;this.ha=5E3}var Fc=0; Ec.prototype.send=function(a,b,c,d){if(a){var e={};for(f in a)e[f]=a[f];a=e}else a={};d=d||"_"+(Fc+ +).toString(36)+ha().toString(36);e="_callbacks___"+d;b&&(m[e]=Gc(d,b),a.callback=e );b={timeout:this.ha,ya:!0};e=nb(this.b);if(/#/.test(e))throw Error("Found a hash in url ("+e+"), appending not supported.");var f=/\?/.test(e)?"&":"?";for(l in a)for(var g=t(a[l])?a[l]:[a[l]],h=0;h
=c.charAt(0)&&a.push("/"),a.push(W(c,"/"==c.charAt(0)?Xc:Yc,!0)); (c=this.b.toString())&&a.push("?",c);(c=this.o)&&a.push("#",W(c,Zc));return a.join("")}; function Tc(a,b,c){a.j=c?V(b,!0):b;a.j&&(a.j=a.j.replace(/:$/,""))}function Uc(a,b) {if(b){b=Number(b);if(isNaN(b)||0 rel="nofollow">b)throw Error("Bad port number "+b);a.u=b}else a.u=null}function Vc(a,b,c){b instanceof U?(a.b=b,$c(a.b,a.i)):(c|| (b=W(b,ad)),a.b=new U(b,a.i))}function V(a,b){return a?b?decodeURI(a.replace(/ %25/g,"%2525")):decodeURIComponent(a):""}function W(a,b,c){return p(a)? (a=encodeURI(a).replace(b,bd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"% $1")),a):null} function bd(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+ (a&15).toString(16)}var Wc=/[#\/\?@]/g,Yc=/[#\?:]/g,Xc=/[#\?]/g,ad=/[#\? @]/g,Zc=/#/g;function U(a,b){this.g=this.b=null;this.i=a||null;this.j=!!b}function X(a){a.b||(a.b=new Jc,a.g=0,a.i&&Sc(a.i,function(b,c) {a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}k=U.prototype;k.add=function(a,b){X(this);this.i=null;a=Y(this,a);var c=this.b.get(a);c||this.b.set(a,c=[]);c.push(b);this.g+=1;return this}; function cd(a,b){X(a);b=Y(a,b);if(R(a.b.g,b)){a.i=null;a.g-=a.b.get(b).length;var c=a.b,d=b;R(c.g,d)&&(delete c.g[d],c.i--,c.b.length>2*c.i&&Kc(c))}}function dd(a,b) {X(a);b=Y(a,b);return R(a.b.g,b)}k.forEach=function(a,b) {X(this);this.b.forEach(function(c,d){ja(c,function(c) {a.call(b,c,d,this)},this)},this)};k.T=function(){X(this);for(var a=this.b.U(),b=this.b.T(),c=[],d=0;d
5px"});this.b.appendChild(c);d=F("img");d.src="https://books.google.com/googlebooks /images/dialog_close_x.gif";d.width=15;d.height=15;S(d, {cursor:"pointer",position:"absolute",right:"11px",top:"11px"});Lb(d,"click",w(this .close,this));c.appendChild(d);d=F("div"); d.innerHTML=" ";c.appendChild(d);this.j=F("div");this.b.appendChild(this.j);Pc (this.j,600,456);this.i.appendChild(this.b);b(this.j,a);b=sb();a=Math.max(0, (b.height-500)/2);d=document;c=d.scrollingElement?d.scrollingElement: $a||"CSS1Compat"!=d.compatMode?d.body|| d.documentElement:d.documentElement;d=d.parentWindow||d.defaultView;a=Math.floor(a+ (C&&gb("10")&&d.pageYOffset!=c.scrollTop?new D(c.scrollLeft,c.scrollTop):new D(d.pageXOffset||c.scrollLeft,d.pageYOffset||c.scrollTop)).w);b=Math.max(0, (b.width-618)/2);b=Math.floor(b);Nc(this.i,b,a)}id.prototype.close=function() {ja([this.b,this.o,this.g],wb)};function kd(a) {J.call(this);this.url=a;this.o=null;this.j=!0}y(kd,J);kd.prototype.i=function() {if(this.j)this.j=!1;else throw Error();};function Z(a) {kd.call(this,a);a=ob(a.toString());this.R=new Ec(a);this.g=! 0}y(Z,kd);Z.prototype.i=function(a,b){Z.va.i.call(this,a,b);this.g=! 1;this.R.send({},w(this.v,this,a),w(this.u,this,b))};Z.prototype.v=function(a,b) {this.g||(this.o=b,Xb(this,"success"),a&&a(this.o),this.g=! 0)};Z.prototype.u=function(a){this.g||(Xb(this,"error"),a&&a(),this.g=! 0)};Z.prototype.abort=function(){return this.g=!0};function ld(a,b,c){var d=md;t(a)||(a=[a]);this.b=a;this.g=b;b=new T((GBS_HOST||"https://books.google.com/")+"books? jscmd=viewapi");b.b.set("bibkeys",a.join(","));b.b.set("hl",d||"en");b.b.set("sourc e",c||"previewlib");(new Z(b)).i(w(this.i,this))}ld.prototype.i=function(a){for(var b=0;b',a));var b=document;return p(a)?b.getElementById(a):a}var vd=0; })();