");return null==a||null==a.sheet?ge:$g(a.sheet,void 0!=b?b:null,c)}function dh(a){a=me(""+a+"");return(new DOMParser).parseFromString(ke(a),"text/html").body.children[0]}
function bh(a,b){if(!a)return Vd;var c=document.createElement("div").style;eh(a).forEach(function(d){var e=Bc&&d in Zg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Qb(e,"--")||Qb(e,"var")||(d=Vg(a,d),d=og(e,d,b),null!=d&&Wg(c,e,d))});return new Rd(c.cssText||"",Qd)}
function fh(a){var b=Array.from(Ng(Cg,a,"getElementsByTagName",["STYLE"])),c=Db(b,function(h){return ub(Rg(h).cssRules)});c=ah(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 kh(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 lh(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=lh.prototype;f.clone=function(){return new lh(this.left,this.top,this.width,this.height)};function mh(a){return new hh(a.top,a.left+a.width,a.top+a.height,a.left)}function nh(a){return new lh(a.left,a.top,a.right-a.left,a.bottom-a.top)}
function oh(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 ph(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 lh(c,e,d-c,a-e)}return null}
function qh(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 rh(a,b){if(!a||!b)return null;a=new lh(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.getSize=function(){return new Oe(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 K(a,b,c){if("string"===typeof b)(b=sh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=sh(c,d);g&&(c.style[g]=e)}}var th={};function sh(a,b){var c=th[b];if(!c){var d=ef(b);c=d;void 0===a.style[d]&&(d=(Bc?"Webkit":Ac?"Moz":A?"ms":null)+ff(d),void 0!==a.style[d]&&(c=d));th[b]=c}return c}function uh(a,b){var c=a.style[ef(b)];return"undefined"!==typeof c?c:a.style[sh(a,b)]||""}
function vh(a,b){var c=jf(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function wh(a,b){return a.currentStyle?a.currentStyle[b]:null}function xh(a,b){return vh(a,b)||wh(a,b)||a.style&&a.style[b]}function yh(a,b,c){if(b instanceof B){var d=b.x;b=b.y}else d=b,b=c;a.style.left=zh(d,!1);a.style.top=zh(b,!1)}function Ah(a){return new B(a.offsetLeft,a.offsetTop)}
function Bh(a){a=a?jf(a):document;return!A||Tc(9)||wf(gf(a).g)?a.documentElement:a.body}function Ch(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}
function Dh(a){if(A&&!Tc(8))return a.offsetParent;var b=jf(a),c=xh(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=xh(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 Eh(a){for(var b=new hh(0,Infinity,Infinity,0),c=gf(a),d=c.g.body,e=c.g.documentElement,g=yf(c.g);a=Dh(a);)if(!(A&&0==a.clientWidth||Bc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=xh(a,"overflow")){var h=Fh(a),k=new B(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=
vf(dg(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 Gh(a,b){b=b||yf(document);var c=b||yf(document);var d=Fh(a),e=Fh(c),g=Hh(c);if(c==yf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;A&&!Tc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=Ih(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 B(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}
function Fh(a){var b=jf(a),c=new B(0,0),d=Bh(b);if(a==d)return c;a=Ch(a);b=xf(gf(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Jh(a,b){a=Kh(a);b=Kh(b);return new B(a.x-b.x,a.y-b.y)}function Lh(a){a=Ch(a);return new B(a.left,a.top)}function Kh(a){if(1==a.nodeType)return Lh(a);a=a.changedTouches?a.changedTouches[0]:a;return new B(a.clientX,a.clientY)}function Mh(a,b,c){var d=Fh(a);b instanceof B&&(c=b.y,b=b.x);yh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))}
function L(a,b,c){if(b instanceof Oe)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Nh(a,b);a.style.height=zh(c,!0)}function zh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Nh(a,b){a.style.width=zh(b,!0)}function M(a){var b=Ih;if("none"!=xh(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 Ih(a){var b=a.offsetWidth,c=a.offsetHeight,d=Bc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ch(a),new Oe(a.right-a.left,a.bottom-a.top)):new Oe(b,c)}function Oh(a){var b=Fh(a);a=M(a);return new lh(b.x,b.y,a.width,a.height)}function Ph(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 N(a,b){a.style.display=b?"":"none"}function Qh(a){return"none"!=a.style.display}
function Rh(a){return"rtl"==xh(a,"direction")}var Sh=Ac?"MozUserSelect":Bc||yc?"WebkitUserSelect":null;function Th(a,b,c){c=c?null:a.getElementsByTagName("*");if(Sh){if(b=b?"none":"",a.style&&(a.style[Sh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Sh]=b)}}else if(A&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}function Uh(a,b){Vh(a,b,"border-box")}
function Wh(a){var b=jf(a),c=A&&a.currentStyle;if(c&&wf(gf(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Xh(a,c.width,"width","pixelWidth"),a=Xh(a,c.height,"height","pixelHeight"),new Oe(b,a);c=new Oe(a.offsetWidth,a.offsetHeight);if(A){b=Yh(a,"paddingLeft");var d=Yh(a,"paddingRight"),e=Yh(a,"paddingTop"),g=Yh(a,"paddingBottom");b=new hh(e,d,g,b)}else b=vh(a,"paddingLeft"),d=vh(a,"paddingRight"),e=vh(a,"paddingTop"),g=vh(a,"paddingBottom"),b=new hh(parseFloat(e),parseFloat(d),parseFloat(g),
parseFloat(b));a=Hh(a);return new Oe(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}function Vh(a,b,c){a=a.style;Ac?a.MozBoxSizing=c:Bc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"}function Xh(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=wh(a,b))?Xh(a,b,"left","pixelLeft"):0}var Zh={thin:2,medium:4,thick:6};function $h(a,b){if("none"==wh(a,b+"Style"))return 0;b=wh(a,b+"Width");return b in Zh?Zh[b]:Xh(a,b,"left","pixelLeft")}
function Hh(a){if(A&&!Tc(9)){var b=$h(a,"borderLeft"),c=$h(a,"borderRight"),d=$h(a,"borderTop");a=$h(a,"borderBottom");return new hh(d,c,a,b)}b=vh(a,"borderLeftWidth");c=vh(a,"borderRightWidth");d=vh(a,"borderTopWidth");a=vh(a,"borderBottomWidth");return new hh(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(Ng(yg,a,"hasAttribute",[this.g])){var c=parseInt(Ng(zg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Pg(a,this.g,c.toString()),this.j.push(a);return this};
ei.prototype.get=function(a){if(Ng(yg,a,"hasAttribute",[this.g]))return a=parseInt(Ng(zg,a,"getAttribute",[this.g])||null,10),this.i[a]};ei.prototype.clear=function(){this.j.forEach(function(a){Ng(Bg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var fi=!A||Tc(10),gi=!A||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=ld(a.g);this.s=ld(a.qa);this.j=ld(a.ta);this.ma=a.na;a.Ba.forEach(function(b){if(!Qb(b,"data-"))throw new eb('Only "data-" attributes allowed, got: %s.',[b]);if(Qb(b,"data-sanitizer-"))throw new eb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=oi},this);a.Aa.forEach(function(b){b=b.toUpperCase();if(!cc(b,"-")||ki[b])throw new eb("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]=
!0},this);this.V=a.j;this.o=a.Ja;this.l=null;this.O=a.ma}u(li,hi);function pi(a){return function(b,c){return(b=a(Tb(b),c))&&"about:invalid#zClosurez"!=Gd(b)?Gd(b):null}}function mi(){this.g={};v([ai,bi],function(a){fd(a).forEach(function(b){this.g[b]=oi},this)},this);this.i={};this.Ba=[];this.Aa=[];this.qa=ld(ii);this.ta=ld(ji);this.na=!1;this.V=Jd;this.O=this.l=this.o=this.j=Zc;this.Ja=null;this.s=this.ma=!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.s)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ri(a.g,a.i,"* USEMAP",si);var b=pi(a.V);["* 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.l));ri(a.g,a.i,"* ID",t(wi,a.l));ri(a.g,
a.i,"* STYLE",t(a.O,c));a.s=!0}function xi(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function oi(a){return Tb(a)}function ui(a,b){b=Tb(b);return ob(a,b.toLowerCase())?b:null}function si(a){return(a=Tb(a))&&"#"==a.charAt(0)?a:null}function ti(a,b,c){return a(Tb(b),c)}function vi(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),fh(b),b=b.innerHTML);b=me(b);var c=document.createElement("template");if(gi&&"content"in c)Ce(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;Ce(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(Tg(e)){case 3:e=yi(this,e);break c;case 1:if("TEMPLATE"==Sg(e).toUpperCase())e=null;else{var g=Sg(e).toUpperCase();if(g in this.s||"http://www.w3.org/1999/xhtml"!=Xg(e))var h=null;else this.j[g]?h=document.createElement(g):(h=G("SPAN"),this.ma&&Pg(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Og(e);if(null!=l)for(var m=0;g=l[m];m++)if(g.specified){var r=e;var y=g;var D=y.name;if(Qb(D,"data-sanitizer-"))y=null;else{var E=Sg(r);
y=y.value;var H={tagName:Tb(E).toLowerCase(),attributeName:Tb(D).toLowerCase()},Q={Ok:void 0};"style"==H.attributeName&&(Q.Ok=Qg(r));r=xi(E,D);r in this.i?(D=this.i[r],y=D(y,H,Q)):(D=xi(null,D),D in this.i?(D=this.i[D],y=D(y,H,Q)):y=null)}null!==y&&Pg(k,g.name,y)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Tg(e)&&c.set(d,e),d=Ug(d),g=!1,d)h=Tg(d),k=Sg(d).toLowerCase(),l=Ug(d),11!=h||l?"body"==k&&l&&(h=Ug(l))&&!Ug(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Tg(d)&&(h=c.get(d)),h.content&&(h=h.content),
h.appendChild(e)}else Gf(d)}c.clear&&c.clear()}else a=G("SPAN");0")+1,a.lastIndexOf(""))}else a="";return me(a)};function yi(a,b){var c=b.data;(b=Ug(b))&&"style"==Sg(b).toLowerCase()&&!("STYLE"in a.s)&&"STYLE"in a.j&&(c=fe(ch(c,a.l,q(function(d,e){return this.V(d,{Os:e})},a))));return document.createTextNode(c)};function zi(a){return(new li(new mi)).g(a)};function Ai(a){a&&"function"==typeof a.Ea&&a.Ea()};function Bi(){this.Id=this.Id;this.Ja=this.Ja}Bi.prototype.Id=!1;Bi.prototype.Ea=function(){this.Id||(this.Id=!0,this.ua())};function Ci(a,b){b=t(Ai,b);a.Id?b():(a.Ja||(a.Ja=[]),a.Ja.push(b))}Bi.prototype.ua=function(){if(this.Ja)for(;this.Ja.length;)this.Ja.shift()()};function Di(a){this.id=a}Di.prototype.toString=function(){return this.id};function Ei(a,b){this.type=a instanceof Di?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Ei.prototype.stopPropagation=function(){this.g=!0};Ei.prototype.preventDefault=function(){this.defaultPrevented=!0};function Fi(a){a.preventDefault()};var Gi=function(){if(!p.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};p.addEventListener("test",c,b);p.removeEventListener("test",c,b)}catch(d){}return a}();function Hi(a,b){Ei.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.Ml=!1;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.ol(a,b)}u(Hi,Ei);var Ii={2:"touch",3:"pen",4:"mouse"};
Hi.prototype.ol=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)?Ac&&(vc(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=Bc||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=Bc||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.Ml=Dc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
"string"===typeof a.pointerType?a.pointerType:Ii[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&&Hi.oa.preventDefault.call(this)};function Ji(a){return 0==a.Ob.button&&!(Dc&&a.ctrlKey)}Hi.prototype.stopPropagation=function(){Hi.oa.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};Hi.prototype.preventDefault=function(){Hi.oa.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ki="closure_listenable_"+(1E6*Math.random()|0);function Li(a){return!(!a||!a[Ki])};var Mi=0;function Ni(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.kj=e;this.key=++Mi;this.Wg=this.Ri=!1}function Oi(a){a.Wg=!0;a.listener=null;a.proxy=null;a.src=null;a.kj=null};function Pi(a){this.src=a;this.g={};this.i=0}f=Pi.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=Qi(a,b,d,e);-1>>0);function Wi(a){if("function"===typeof a)return a;a[ej]||(a[ej]=function(b){return a.handleEvent(b)});return a[ej]};function fj(a){Bi.call(this);this.s=a;this.j={}}u(fj,Bi);var gj=[];f=fj.prototype;f.ka=function(a,b,c,d){return hj(this,a,b,c,d)};function ij(a,b,c,d,e){hj(a,b,c,d,!1,e)}function hj(a,b,c,d,e,g){Array.isArray(c)||(c&&(gj[0]=c.toString()),c=gj);for(var h=0;h=a.keyCode)return!1;if(Hj(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!Ac;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(Bc||yc)&&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 Ac;default:return!1}}function Jj(a){if(Ac)a=Kj(a);else if(Dc&&Bc)switch(a){case 93:a=91}return a}
function Kj(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 Lj(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(Sa(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 Rj(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 Ue(b.slice(d,-1!==e?e:0))}var Uj=/[?&]($|#)/;function S(a,b){this.g=this.O=this.o="";this.V=null;this.i=this.l="";this.s=!1;var c;a instanceof S?(this.s=void 0!==b?b:a.s,Vj(this,a.o),this.O=a.O,this.g=a.g,Wj(this,a.V),Xj(this,a.l),Yj(this,a.j.clone()),Zj(this,a.i)):a&&(c=String(a).match(Oj))?(this.s=!!b,Vj(this,c[1]||"",!0),this.O=ak(c[2]||""),this.g=ak(c[3]||"",!0),Wj(this,c[4]),Xj(this,c[5]||"",!0),Yj(this,c[6]||"",!0),Zj(this,c[7]||"",!0)):(this.s=!!b,this.j=new bk(null,this.s))}
S.prototype.toString=function(){var a=[],b=this.o;b&&a.push(ck(b,dk,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(ck(b,dk,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.V,null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(ck(c,"/"==c.charAt(0)?ek:fk,!0));(c=this.j.toString())&&a.push("?",c);(c=this.i)&&a.push("#",ck(c,gk));return a.join("")};
S.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Vj(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.g;c?b.g=a.g:c=null!=a.V;var d=a.l;if(c)Wj(b,a.V);else if(c=!!a.l){if("/"!=d.charAt(0))if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");-1!=e&&(d=b.l.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(cc(e,"./")||cc(e,"/.")){d=Qb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.V=b}else a.V=null}function Xj(a,b,c){a.l=c?ak(b,!0):b}function Yj(a,b,c){b instanceof bk?(a.j=b,hk(a.j,a.s)):(c||(b=ck(b,ik)),a.j=new bk(b,a.s))}
S.prototype.getQuery=function(){return this.j.toString()};function T(a,b,c){a.j.set(b,c);return a}function U(a,b){return a.j.get(b)}function Zj(a,b,c){a.i=c?ak(b):b;return a}function V(a,b){a.j.remove(b);return a}function ak(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ck(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,jk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function jk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var dk=/[#\/\?@]/g,fk=/[#\?:]/g,ek=/[#\?]/g,ik=/[#\?@]/g,gk=/#/g;function bk(a,b){this.i=this.g=null;this.j=a||null;this.l=!!b}function kk(a){a.g||(a.g=new Map,a.i=0,a.j&&Pj(a.j,function(b,c){a.add(Ue(b),c)}))}
function lk(a){var b=Mj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new bk(null);a=Lj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function yk(a,b){var c=a;b&&(c=q(a,b));c=zk(c);"function"!==typeof p.setImmediate||p.Window&&p.Window.prototype&&(jc()||!z("Edge"))&&p.Window.prototype.setImmediate==p.setImmediate?(Ak||(Ak=Bk()),Ak(c)):p.setImmediate(c)}var Ak;
function Bk(){var a=p.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=G("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=q(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&&!lc()){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){p.setTimeout(e,0)}}var zk=ad;function Ck(a){p.setTimeout(function(){throw a;},0)};function Dk(){this.i=this.g=null}Dk.prototype.add=function(a,b){var c=Ek.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Dk.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 Ek=new wk(function(){return new Fk},function(a){return a.reset()});function Fk(){this.next=this.g=this.He=null}Fk.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Fk.prototype.reset=function(){this.next=this.g=this.He=null};var Gk,Hk=!1,Ik=new Dk;function Jk(a,b){Gk||Kk();Hk||(Gk(),Hk=!0);Ik.add(a,b)}function Kk(){if(p.Promise&&p.Promise.resolve){var a=p.Promise.resolve(void 0);Gk=function(){a.then(Lk)}}else Gk=function(){yk(Lk)}}function Lk(){for(var a;a=Ik.remove();){try{a.He.call(a.g)}catch(b){Ck(b)}xk(Ek,a)}Hk=!1};function Mk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Nk(a){this.g=0;this.O=void 0;this.l=this.i=this.j=null;this.o=this.s=!1;if(a!=$c)try{var b=this;a.call(void 0,function(c){Ok(b,2,c)},function(c){Ok(b,3,c)})}catch(c){Ok(this,3,c)}}function Pk(){this.next=this.context=this.i=this.j=this.g=null;this.l=!1}Pk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.l=!1};var Qk=new wk(function(){return new Pk},function(a){a.reset()});function Rk(a,b,c){var d=Qk.get();d.j=a;d.i=b;d.context=c;return d}
function Sk(){var a,b,c=new Nk(function(d,e){a=d;b=e});return new Tk(c,a,b)}Nk.prototype.then=function(a,b,c){return Uk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Nk.prototype.$goog_Thenable=!0;Nk.prototype.cancel=function(a){if(0==this.g){var b=new Vk(a);Jk(function(){Wk(this,b)},this)}};
function Wk(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.l||(d++,h.g==a&&(e=h),!(e&&1")+1,a.lastIndexOf(""));return me(a)};
function Ll(a,b){b=xl(b);b=document.createTreeWalker(b,5,function(h){return Ml(a,h)},!1);for(var c=b.nextNode(),d=document.createDocumentFragment(),e=d;null!==c;){var g=void 0;if(3===c.nodeType)g=document.createTextNode(c.data);else if(zl(c))g=Nl(a,c);else throw Error("");e.appendChild(g);if(c=b.firstChild())e=g;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}return d}
function Nl(a,b){var c=yl(b),d=document.createElement(c);b=b.attributes;for(var e=la(b),g=e.next();!g.done;g=e.next()){var h=g.value;g=h.name;h=h.value;var k=Cl(a.j,g,c),l;a:{if(l=k.conditions){l=la(l);for(var m=l.next();!m.done;m=l.next()){var r=la(m.value);m=r.next().value;r=r.next().value;var y=void 0;if((m=null==(y=b.getNamedItem(m))?void 0:y.value)&&!r.has(m)){l=!1;break a}}}l=!0}if(l)switch(k.vc){case 1:Ol(d,g,h);break;case 2:k=nj(h);k=void 0!==k&&-1!==oj.indexOf(k.toLowerCase())?h:"about:invalid#zClosurez";
k!==h&&Pl(a);Ol(d,g,k);break;case 3:Ol(d,g,h.toLowerCase());break;case 4:Ol(d,g,h);break;case 0:Pl(a)}else Pl(a)}return d}function Ml(a,b){if(3===b.nodeType)return 1;if(!zl(b))return 2;b=yl(b);if(null===b)return Pl(a),2;var c=a.j;if("FORM"!==b&&(c.j.has(b)||c.g.has(b)))return 1;Pl(a);return 2}function Pl(a){0===a.i.length&&a.i.push("")}function Ol(a,b,c){a.setAttribute(b,c)}var Ql=lj(function(){return new Jl(Gl)});function Rl(a){return Kl(Ql,a)}var Sl=lj(function(){return new Jl(Hl)}),Tl=lj(function(){return new Jl(Il)});function Ul(a){var b={nonce:Fe()};b=void 0===b?{}:b;a=(a instanceof yd&&a.constructor===yd?a.g:"type_error:SafeScript").toString();var c="