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

My library

PublishersAboutPrivacyTermsHelp
");return null==a||null==a.sheet?$d:Yg(a.sheet,void 0!=b?b:null,c)}function bh(a){if(z&&!Fc(10)||"function"!=typeof q.DOMParser)return null;a=we(""+a+"");return(new DOMParser).parseFromString(de(a),"text/html").body.children[0]} function $g(a,b){if(!a)return Od;var c=document.createElement("div").style;ch(a).forEach(function(d){var e=oc&&d in Xg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Lb(e,"--")||Lb(e,"var")||(d=Tg(a,d),d=sg(e,d,b),null!=d&&Ug(c,e,d))});return new Kd(c.cssText||"",Jd)} function dh(a){var b=Array.from(Lg(Ag,a,"getElementsByTagName",["STYLE"])),c=Bb(b,function(h){return sb(Pg(h).cssRules)});c=Zg(c);for(var d=[],e=0;e=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}function ih(a,b){var c=b.xa.right?b.x-a.right:0;a=b.ya.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function jh(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=jh.prototype;f.clone=function(){return new jh(this.left,this.top,this.width,this.height)};function kh(a){return new fh(a.top,a.left+a.width,a.top+a.height,a.left)}function lh(a){return new jh(a.left,a.top,a.right-a.left,a.bottom-a.top)} function mh(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1}function nh(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new jh(c,e,d-c,a-e)}return null} function oh(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}function ph(a,b){if(!a||!b)return null;a=new jh(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.Fa=function(){return new Ke(this.width,this.height)}; f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function I(a,b,c){if("string"===typeof b)(b=qh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=qh(c,d);g&&(c.style[g]=e)}}var rh={};function qh(a,b){var c=rh[b];if(!c){var d=af(b);c=d;void 0===a.style[d]&&(d=(oc?"Webkit":nc?"Moz":z?"ms":null)+bf(d),void 0!==a.style[d]&&(c=d));rh[b]=c}return c}function sh(a,b){var c=a.style[af(b)];return"undefined"!==typeof c?c:a.style[qh(a,b)]||""} function th(a,b){var c=ff(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function uh(a,b){return a.currentStyle?a.currentStyle[b]:null}function vh(a,b){return th(a,b)||uh(a,b)||a.style&&a.style[b]}function wh(a,b,c){if(b instanceof A){var d=b.x;b=b.y}else d=b,b=c;a.style.left=xh(d,!1);a.style.top=xh(b,!1)}function yh(a){return new A(a.offsetLeft,a.offsetTop)} function zh(a){a=a?ff(a):document;return!z||Gc(9)||rf(df(a).g)?a.documentElement:a.body}function Ah(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}} function Bh(a){if(z&&!Gc(8))return a.offsetParent;var b=ff(a),c=vh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=vh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function Ch(a){for(var b=new fh(0,Infinity,Infinity,0),c=df(a),d=c.g.body,e=c.g.documentElement,g=tf(c.g);a=Bh(a);)if(!(z&&0==a.clientWidth||oc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=vh(a,"overflow")){var h=Dh(a),k=new A(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c= qf(Zf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null} function Eh(a,b){b=b||tf(document);var c=b||tf(document);var d=Dh(a),e=Dh(c),g=Fh(c);if(c==tf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!Gc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=Gh(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new A(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function Dh(a){var b=ff(a),c=new A(0,0),d=zh(b);if(a==d)return c;a=Ah(a);b=sf(df(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Hh(a,b){a=Ih(a);b=Ih(b);return new A(a.x-b.x,a.y-b.y)}function Jh(a){a=Ah(a);return new A(a.left,a.top)}function Ih(a){if(1==a.nodeType)return Jh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function Kh(a,b,c){var d=Dh(a);b instanceof A&&(c=b.y,b=b.x);wh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function K(a,b,c){if(b instanceof Ke)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Lh(a,b);a.style.height=xh(c,!0)}function xh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Lh(a,b){a.style.width=xh(b,!0)}function L(a){var b=Gh;if("none"!=vh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a} function Gh(a){var b=a.offsetWidth,c=a.offsetHeight,d=oc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ah(a),new Ke(a.right-a.left,a.bottom-a.top)):new Ke(b,c)}function Mh(a){var b=Dh(a);a=L(a);return new jh(b.x,b.y,a.width,a.height)}function Nh(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function M(a,b){a.style.display=b?"":"none"}function Oh(a){return"none"!=a.style.display} function Ph(a){return"rtl"==vh(a,"direction")}var Qh=nc?"MozUserSelect":oc||lc?"WebkitUserSelect":null;function Rh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Qh){if(b=b?"none":"",a.style&&(a.style[Qh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Qh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Sh(a,b){var c=rf(df(ff(a)).g);if(!z||Fc("10")||c)Th(a,b,"border-box");else{var d=a.style;c?(c=Uh(a),a=Fh(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}} function Vh(a){var b=ff(a),c=z&&a.currentStyle;if(c&&rf(df(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Wh(a,c.width,"width","pixelWidth"),a=Wh(a,c.height,"height","pixelHeight"),new Ke(b,a);c=new Ke(a.offsetWidth,a.offsetHeight);b=Uh(a);a=Fh(a);return new Ke(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Xh(a,b){var c=rf(df(ff(a)).g);if(!z||Fc("10")||c)Th(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Uh(a),a=Fh(a),d.pixelWidth=b.width+a.left+c.left+c.right+a.right,d.pixelHeight=b.height+a.top+c.top+c.bottom+a.bottom)}}function Th(a,b,c){a=a.style;nc?a.MozBoxSizing=c:oc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Wh(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b}function Yh(a,b){return(b=uh(a,b))?Wh(a,b,"left","pixelLeft"):0} function Uh(a){if(z){var b=Yh(a,"paddingLeft"),c=Yh(a,"paddingRight"),d=Yh(a,"paddingTop");a=Yh(a,"paddingBottom");return new fh(d,c,a,b)}b=th(a,"paddingLeft");c=th(a,"paddingRight");d=th(a,"paddingTop");a=th(a,"paddingBottom");return new fh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Zh={thin:2,medium:4,thick:6};function $h(a,b){if("none"==uh(a,b+"Style"))return 0;b=uh(a,b+"Width");return b in Zh?Zh[b]:Wh(a,b,"left","pixelLeft")} function Fh(a){if(z&&!Gc(9)){var b=$h(a,"borderLeft"),c=$h(a,"borderRight"),d=$h(a,"borderTop");a=$h(a,"borderBottom");return new fh(d,c,a,b)}b=th(a,"borderLeftWidth");c=th(a,"borderRightWidth");d=th(a,"borderTopWidth");a=th(a,"borderBottomWidth");return new fh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var ai={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0, "* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0, "* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},bi={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0, "* CLASS":!0,"* ID":!0,"* STYLE":!0};var ci="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),di=0;function ei(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+di++}ei.prototype.set=function(a,b){if(Lg(wg,a,"hasAttribute",[this.g])){var c=parseInt(Lg(xg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Ng(a,this.g,c.toString()),this.j.push(a);return this}; ei.prototype.get=function(a){if(Lg(wg,a,"hasAttribute",[this.g]))return a=parseInt(Lg(xg,a,"getAttribute",[this.g])||null,10),this.i[a]};ei.prototype.clear=function(){this.j.forEach(function(a){Lg(zg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var fi=!z||Gc(10),gi=!z||null==document.documentMode;function hi(){};var ii={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var ji={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var ki={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0}; function li(a){a=a||new mi;ni(a);this.i=Yc(a.g);this.N=Yc(a.ua);this.j=Yc(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!Lb(b,"data-"))throw new db('Only "data-" attributes allowed, got: %s.',[b]);if(Lb(b,"data-sanitizer-"))throw new db('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=oi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Yb(b,"-")||ki[b])throw new db("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.o=a.Pa;this.s=null;this.O=a.oa}u(li,hi);function pi(a){return function(b,c){return(b=a(Pb(b),c))&&"about:invalid#zClosurez"!=Ad(b)?Ad(b):null}}function mi(){this.g={};v([ai,bi],function(a){Sc(a).forEach(function(b){this.g[b]=oi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Yc(ii);this.va=Yc(ji);this.na=!1;this.ma=Gd;this.O=this.s=this.o=this.j=Mc;this.Pa=null;this.N=this.oa=!1} function qi(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ri(a,b,c,d){a[c]&&!b[c]&&(a[c]=qi(a[c],d))} function ni(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ri(a.g,a.i,"* USEMAP",si);var b=pi(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ri(this.g,this.i,d,b)},a);var c=pi(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ri(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ri(this.g,this.i,d,t(ti,this.o))},a);ri(a.g,a.i,"A TARGET",t(ui,["_blank","_self"]));ri(a.g,a.i,"* CLASS",t(vi,a.s));ri(a.g,a.i,"* ID",t(wi,a.s));ri(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function xi(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function oi(a){return Pb(a)}function ui(a,b){b=Pb(b);return mb(a,b.toLowerCase())?b:null}function si(a){return(a=Pb(a))&&"#"==a.charAt(0)?a:null}function ti(a,b,c){return a(Pb(b),c)}function vi(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),dh(b),b=b.innerHTML);b=we(b);var c=document.createElement("template");if(gi&&"content"in c)ye(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;ye(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=ci? new WeakMap:new ei;d=b.nextNode();){c:{var e=d;switch(Rg(e)){case 3:e=yi(this,e);break c;case 1:if("TEMPLATE"==Qg(e).toUpperCase())e=null;else{var g=Qg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Vg(e))var h=null;else this.j[g]?h=document.createElement(g):(h=E("SPAN"),this.oa&&Ng(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Mg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var p=e;var w=g;var D=w.name;if(Lb(D,"data-sanitizer-"))w=null;else{var G=Qg(p); w=w.value;var J={tagName:Pb(G).toLowerCase(),attributeName:Pb(D).toLowerCase()},U={Rk:void 0};"style"==J.attributeName&&(U.Rk=Og(p));p=xi(G,D);p in this.i?(D=this.i[p],w=D(w,J,U)):(D=xi(null,D),D in this.i?(D=this.i[D],w=D(w,J,U)):w=null)}null!==w&&Ng(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Rg(e)&&c.set(d,e),d=Sg(d),g=!1,d)h=Rg(d),k=Qg(d).toLowerCase(),l=Sg(d),11!=h||l?"body"==k&&l&&(h=Sg(l))&&!Sg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Rg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else Bf(d)}c.clear&&c.clear()}else a=E("SPAN");0")+1,a.lastIndexOf(">>0);function rj(a){if("function"===typeof a)return a;a[Aj]||(a[Aj]=function(b){return a.handleEvent(b)});return a[Aj]};function Bj(a){Wi.call(this);this.N=a;this.j={}}u(Bj,Wi);var Cj=[];f=Bj.prototype;f.ka=function(a,b,c,d){return Dj(this,a,b,c,d)};function Ej(a,b,c,d,e){Dj(a,b,c,d,!1,e)}function Dj(a,b,c,d,e,g){Array.isArray(c)||(c&&(Cj[0]=c.toString()),c=Cj);for(var h=0;h=a.keyCode)return!1;if(Kj(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!nc;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(oc||lc)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return nc;default:return!1}}function Mj(a){if(nc)a=Nj(a);else if(qc&&oc)switch(a){case 93:a=91}return a} function Nj(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Oj(a){if(a.lc&&"function"==typeof a.lc)return a.lc();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Qa(a)){for(var b=[],c=a.length,d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Uj(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bd)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Qe(b.substr(d,e-d))}var Xj=/[?&]($|#)/;function Q(a,b){this.i=this.O=this.o="";this.ma=null;this.g=this.s="";this.N=!1;var c;a instanceof Q?(this.N=void 0!==b?b:a.N,Yj(this,a.o),this.O=a.O,this.i=a.i,Zj(this,a.ma),ak(this,a.s),bk(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Rj))?(this.N=!!b,Yj(this,c[1]||"",!0),this.O=ck(c[2]||""),this.i=ck(c[3]||"",!0),Zj(this,c[4]),ak(this,c[5]||"",!0),bk(this,c[6]||"",!0),this.g=ck(c[7]||"")):(this.N=!!b,this.j=new dk(null,this.N))} Q.prototype.toString=function(){var a=[],b=this.o;b&&a.push(ek(b,fk,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(ek(b,fk,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ma,null!=c&&a.push(":",String(c));if(c=this.s)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(ek(c,"/"==c.charAt(0)?gk:hk,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",ek(c,ik));return a.join("")}; Q.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Yj(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.i;c?b.i=a.i:c=null!=a.ma;var d=a.s;if(c)Zj(b,a.ma);else if(c=!!a.s){if("/"!=d.charAt(0))if(this.i&&!this.s)d="/"+d;else{var e=b.s.lastIndexOf("/");-1!=e&&(d=b.s.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Yb(e,"./")||Yb(e,"/.")){d=Lb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function ak(a,b,c){a.s=c?ck(b,!0):b}function bk(a,b,c){b instanceof dk?(a.j=b,jk(a.j,a.N)):(c||(b=ek(b,kk)),a.j=new dk(b,a.N))} Q.prototype.getQuery=function(){return this.j.toString()};function R(a,b,c){a.j.set(b,c);return a}function S(a,b){return a.j.get(b)}function lk(a,b){a.j.remove(b)}function ck(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ek(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,mk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function mk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var fk=/[#\/\?@]/g,hk=/[#\?:]/g,gk=/[#\?]/g,kk=/[#\?@]/g,ik=/#/g;function dk(a,b){this.i=this.g=null;this.j=a||null;this.s=!!b}function nk(a){a.g||(a.g=new Map,a.i=0,a.j&&Sj(a.j,function(b,c){a.add(Qe(b),c)}))}function ok(a){var b=Pj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new dk(null,void 0);a=Oj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function Ck(a,b){var c=a;b&&(c=r(a,b));c=Dk(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!y("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(Ek||(Ek=Fk()),Ek(c)):q.setImmediate(c)}var Ek; function Fk(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=E("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(function(l){if(("*"==k||l.origin==k)&&l.data==h)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!bc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){q.setTimeout(e,0)}}var Dk=Nc;function Gk(a){q.setTimeout(function(){throw a;},0)};function Hk(){this.i=this.g=null}Hk.prototype.add=function(a,b){var c=Ik.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Hk.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.i=null),a.next=null);return a};var Ik=new Ak(function(){return new Jk},function(a){return a.reset()});function Jk(){this.next=this.g=this.He=null}Jk.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Jk.prototype.reset=function(){this.next=this.g=this.He=null};function Kk(a,b){Lk||Mk();Nk||(Lk(),Nk=!0);Ok.add(a,b)}var Lk;function Mk(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);Lk=function(){a.then(Pk)}}else Lk=function(){Ck(Pk)}}var Nk=!1,Ok=new Hk;function Pk(){for(var a;a=Ok.remove();){try{a.He.call(a.g)}catch(b){Gk(b)}Bk(Ik,a)}Nk=!1};function Qk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Rk(a){this.g=0;this.O=void 0;this.s=this.i=this.j=null;this.o=this.N=!1;if(a!=Ma)try{var b=this;a.call(void 0,function(c){Sk(b,2,c)},function(c){Sk(b,3,c)})}catch(c){Sk(this,3,c)}}function Tk(){this.next=this.context=this.i=this.j=this.g=null;this.s=!1}Tk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.s=!1};var Uk=new Ak(function(){return new Tk},function(a){a.reset()});function Vk(a,b,c){var d=Uk.get();d.j=a;d.i=b;d.context=c;return d} function Wk(){var a,b,c=new Rk(function(d,e){a=d;b=e});return new Xk(c,a,b)}Rk.prototype.then=function(a,b,c){return Yk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Rk.prototype.$goog_Thenable=!0;Rk.prototype.cancel=function(a){if(0==this.g){var b=new Zk(a);Kk(function(){$k(this,b)},this)}}; function $k(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.s||(d++,h.g==a&&(e=h),!(e&&1"+a);b=(new DOMParser).parseFromString(Ri(b),"text/html");for(a=b.createDocumentFragment();0