“,null);return(new DOMParser).parseFromString($d(a),”text/html”).body.children[0]} function Rg(a,b){if(!a)return Kd;var c=document.createElement(“div”).style;Ug(a).forEach(function(d){var e=oc&&d in Og?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,””);Lb(e,”–“)||Lb(e,”var”)||(d=Kg(a,d),d=jg(e,d,b),null!=d&&Lg(c,e,d))});return new Gd(c.cssText||””,Fd)} function Vg(a){var b=Array.from(Cg(rg,a,”getElementsByTagName”,[“STYLE”])),c=Bb(b,function(h){return sb(Gg(h).cssRules)});c=Qg(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 ah(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=ah.prototype;f.clone=function(){return new ah(this.left,this.top,this.width,this.height)};function bh(a){return new Xg(a.top,a.left+a.width,a.top+a.height,a.left)}function ch(a){return new ah(a.left,a.top,a.right-a.left,a.bottom-a.top)} function dh(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 th(a){for(var b=new Xg(0,Infinity,Infinity,0),c=Xe(a),d=c.g.body,e=c.g.documentElement,g=nf(c.g);a=sh(a);)if(!(z&&0==a.clientWidth||oc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&”visible”!=mh(a,”overflow”)){var h=uh(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= kf(Tf(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 vh(a,b){b=b||nf(document);var c=b||nf(document);var d=uh(a),e=uh(c),g=wh(c);if(c==nf(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=xh(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 uh(a){var b=Ze(a),c=new A(0,0),d=qh(b);if(a==d)return…