You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
39 KiB
77 lines
39 KiB
(function(){'use strict';var g,aa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ba;if("function"==typeof Object.setPrototypeOf)ba=Object.setPrototypeOf;else{var ca;a:{var da={M:!0},ea={};try{ea.__proto__=da;ca=ea.M;break a}catch(a){}ca=!1}ba=ca?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var fa=ba;
|
|
function ha(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(fa)fa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype}var l="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},m="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
|
function ia(a,b){if(b){var c=m;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&l(c,a,{configurable:!0,writable:!0,value:b})}}function ja(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ka(){ka=function(){};m.Symbol||(m.Symbol=la)}function ma(a,b){this.a=a;l(this,"description",{configurable:!0,writable:!0,value:b})}ma.prototype.toString=function(){return this.a};
|
|
var la=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ma("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}();function na(){ka();var a=m.Symbol.iterator;a||(a=m.Symbol.iterator=m.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&l(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return oa(ja(this))}});na=function(){}}function oa(a){na();a={next:a};a[m.Symbol.iterator]=function(){return this};return a}
|
|
function pa(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ja(a)}}function n(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
|
|
ia("WeakMap",function(a){function b(a){this.a=(h+=Math.random()+1).toString();if(a){a=pa(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}function c(){}function d(a){n(a,f)||l(a,f,{value:new c})}function e(a){var b=Object[a];b&&(Object[a]=function(a){if(a instanceof c)return a;d(a);return b(a)})}if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d.delete(b);d.set(c,4);return!d.has(b)&&4==
|
|
d.get(c)}catch(Yc){return!1}}())return a;var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0;b.prototype.set=function(a,b){d(a);if(!n(a,f))throw Error("WeakMap key fail: "+a);a[f][this.a]=b;return this};b.prototype.get=function(a){return n(a,f)?a[f][this.a]:void 0};b.prototype.has=function(a){return n(a,f)&&n(a[f],this.a)};b.prototype.delete=function(a){return n(a,f)&&n(a[f],this.a)?delete a[f][this.a]:!1};return b});
|
|
ia("Map",function(a){function b(){var a={};return a.i=a.next=a.head=a}function c(a,b){var c=a.a;return oa(function(){if(c){for(;c.head!=a.a;)c=c.i;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++h,f.set(b,c)):c="p_"+b;var d=a.b[c];if(d&&n(a.b,c))for(a=0;a<d.length;a++){var e=d[a];if(b!==b&&e.key!==e.key||b===e.key)return{id:c,list:d,index:a,f:e}}return{id:c,list:d,
|
|
index:-1,f:void 0}}function e(a){this.b={};this.a=b();this.size=0;if(a){a=pa(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(pa([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||
|
|
"t"!=e.value[1]||!d.next().done?!1:!0}catch(Zc){return!1}}())return a;na();var f=new WeakMap;e.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.b[c.id]=[]);c.f?c.f.value=b:(c.f={next:this.a,i:this.a.i,head:this.a,key:a,value:b},c.list.push(c.f),this.a.i.next=c.f,this.a.i=c.f,this.size++);return this};e.prototype.delete=function(a){a=d(this,a);return a.f&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.b[a.id],a.f.i.next=a.f.next,a.f.next.i=a.f.i,a.f.head=null,
|
|
this.size--,!0):!1};e.prototype.clear=function(){this.b={};this.a=this.a.i=b();this.size=0};e.prototype.has=function(a){return!!d(this,a).f};e.prototype.get=function(a){return(a=d(this,a).f)&&a.value};e.prototype.entries=function(){return c(this,function(a){return[a.key,a.value]})};e.prototype.keys=function(){return c(this,function(a){return a.key})};e.prototype.values=function(){return c(this,function(a){return a.value})};e.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=
|
|
d.value,a.call(b,d[1],d[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});ia("Array.from",function(a){return a?a:function(a,c,d){c=null!=c?c:function(a){return a};var b=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if("function"==typeof f){a=f.call(a);for(var h=0;!(f=a.next()).done;)b.push(c.call(d,f.value,h++))}else for(f=a.length,h=0;h<f;h++)b.push(c.call(d,a[h],h));return b}});var p=this;function q(a){return void 0!==a}
|
|
function r(a){return"string"==typeof a}function t(a){return"number"==typeof a}function qa(){}
|
|
function ra(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 u(a){return"array"==ra(a)}function sa(a){var b=ra(a);return"array"==b||"object"==b&&"number"==typeof a.length}function v(a){return"function"==ra(a)}function w(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ta(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
function ua(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 x(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?x=ta:x=ua;return x.apply(null,arguments)}
|
|
function va(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 wa=Date.now||function(){return+new Date};function y(a,b){function c(){}c.prototype=b.prototype;a.v=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ba=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var xa;var ya=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(r(a))return r(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},za=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Aa=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,
|
|
b){for(var c=a.length,d=[],e=0,f=r(a)?a.split(""):a,h=0;h<c;h++)if(h in f){var k=f[h];b.call(void 0,k,h,a)&&(d[e++]=k)}return d};function Ba(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};function Ca(a,b,c){for(var d in a)b.call(c,a[d],d,a)}var Da="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ea(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Da.length;f++)c=Da[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Fa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
|
|
function Ga(a,b){if(b)a=a.replace(Ha,"&").replace(Ia,"<").replace(Ja,">").replace(Ka,""").replace(La,"'").replace(Ma,"�");else{if(!Na.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ha,"&"));-1!=a.indexOf("<")&&(a=a.replace(Ia,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ja,">"));-1!=a.indexOf('"')&&(a=a.replace(Ka,"""));-1!=a.indexOf("'")&&(a=a.replace(La,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ma,"�"))}return a}
|
|
var Ha=/&/g,Ia=/</g,Ja=/>/g,Ka=/"/g,La=/'/g,Ma=/\x00/g,Na=/[\x00&<>"']/;function Oa(a,b){return a<b?-1:a>b?1:0};function z(){this.b="";this.c=Pa}z.prototype.G=!0;z.prototype.F=function(){return this.b};z.prototype.K=!0;z.prototype.a=function(){return 1};var Pa={};function Qa(a){var b=new z;b.b=a;return b}Qa("about:blank");var A;a:{var Ra=p.navigator;if(Ra){var Sa=Ra.userAgent;if(Sa){A=Sa;break a}}A=""};function B(){this.b="";this.g=Ta;this.c=null}B.prototype.K=!0;B.prototype.a=function(){return this.c};B.prototype.G=!0;B.prototype.F=function(){return this.b};function C(a){return a instanceof B&&a.constructor===B&&a.g===Ta?a.b:"type_error:SafeHtml"}function Ua(a){if(a instanceof B)return a;var b="object"==typeof a,c=null;b&&a.K&&(c=a.a());a=Ga(b&&a.G?a.F():String(a));return D(a,c)}
|
|
function Va(a){function b(a){u(a)?za(a,b):(a=Ua(a),d+=C(a),a=a.a(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";za(arguments,b);return D(d,c)}var Ta={};function D(a,b){var c=new B;c.b=a;c.c=b;return c}D("<!DOCTYPE html>",0);D("",0);var Wa=D("<br>",0);function E(a){return a=Ga(a,void 0)};var F={},Za={},$a={};function G(){throw Error("Do not instantiate directly");}G.prototype.D=null;G.prototype.toString=function(){return this.a};G.prototype.b=function(){if(this.j===$a)return Ua(this.toString());if(this.j!==F)throw Error("Sanitized content was not of kind TEXT or HTML.");return D(this.toString(),this.D||null)};G.prototype.c=function(){if(this.j!==Za)throw Error("Sanitized content was not of kind URI.");return Qa(this.toString())};function ab(){G.call(this)}y(ab,G);ab.prototype.j=F;function bb(a){bb[" "](a);return a}bb[" "]=qa;function cb(a,b){var c=db;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var eb=-1!=A.indexOf("Opera"),H=-1!=A.indexOf("Trident")||-1!=A.indexOf("MSIE"),fb=-1!=A.indexOf("Edge"),I=-1!=A.indexOf("Gecko")&&!(-1!=A.toLowerCase().indexOf("webkit")&&-1==A.indexOf("Edge"))&&!(-1!=A.indexOf("Trident")||-1!=A.indexOf("MSIE"))&&-1==A.indexOf("Edge"),J=-1!=A.toLowerCase().indexOf("webkit")&&-1==A.indexOf("Edge"),gb=-1!=A.indexOf("Macintosh");function hb(){var a=p.document;return a?a.documentMode:void 0}var ib;
|
|
a:{var jb="",kb=function(){var a=A;if(I)return/rv:([^\);]+)(\)|;)/.exec(a);if(fb)return/Edge\/([\d\.]+)/.exec(a);if(H)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(J)return/WebKit\/(\S+)/.exec(a);if(eb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();kb&&(jb=kb?kb[1]:"");if(H){var lb=hb();if(null!=lb&&lb>parseFloat(jb)){ib=String(lb);break a}}ib=jb}var mb=ib,db={};
|
|
function K(a){return cb(a,function(){for(var b=0,c=Fa(String(mb)).split("."),d=Fa(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==h[0].length&&0==k[0].length)break;b=Oa(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||Oa(0==h[2].length,0==k[2].length)||Oa(h[2],k[2]);h=h[3];k=k[3]}while(0==b)}return 0<=b})}var L;var nb=p.document;
|
|
L=nb&&H?hb()||("CSS1Compat"==nb.compatMode?parseInt(mb,10):5):void 0;function ob(a){if(null!=a)switch(a.D){case 1:return 1;case -1:return-1;case 0:return 0}return null}var pb=function(a){function b(a){this.a=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.D=d);return a}}(ab);function M(a){var b=HTMLElement.call(this)||this;a&&(r(a)&&(a=[a]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:a})));return b}ha(M,HTMLElement);g=M.prototype;g.connectedCallback=function(){qb(this)};g.J=function(){return""};function qb(a){var b=a.J();!a.hasAttribute("ds-is")&&b&&a.setAttribute("ds-is",b)}g.Lb=function(){console.warn(this.tagName,"has not implemented update")};
|
|
g.da=function(a){a=void 0===a?"":a;return document.createRange().createContextualFragment(a||"")};g.xb=function(a,b){a&&b?a.parentNode.replaceChild(document.importNode(b,!0),a):!b&&a?a.parentNode.removeChild(a):!a&&b&&this.appendChild(document.importNode(b,!0))};M.prototype.connectedCallback=M.prototype.connectedCallback;var N=new Map;function O(){return M.call(this)||this}ha(O,M);O.prototype.connectedCallback=function(){var a=this.constructor,b=N.get(a);b?console.error("can't add duplicate element to page: "+b.tagName):N.set(a,this)};O.prototype.disconnectedCallback=function(){var a=this.constructor;N.get(a)===this&&N.delete(a)};O.prototype.disconnectedCallback=O.prototype.disconnectedCallback;O.prototype.connectedCallback=O.prototype.connectedCallback;function P(){this.l=this.l;this.b=this.b}g=P.prototype;g.l=!1;g.R=function(){return this.l};g.ra=P.prototype.R;g.H=function(){this.l||(this.l=!0,this.s())};g.zb=function(a){a=va(rb,a);this.l?q(void 0)?a.call(void 0):a():(this.b||(this.b=[]),this.b.push(q(void 0)?x(a,void 0):a))};g.s=function(){if(this.b)for(;this.b.length;)this.b.shift()()};function rb(a){a&&"function"==typeof a.H&&a.H()};function Q(a,b){this.type=a;this.b=this.target=b;this.U=this.g=!1;this.X=!0}Q.prototype.h=function(){this.g=!0};Q.prototype.c=function(){this.U=!0;this.X=!1};var sb=!H||9<=Number(L),tb=!H||9<=Number(L),ub=H&&!K("9"),vb=function(){if(!p.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{p.addEventListener("test",qa,b),p.removeEventListener("test",qa,b)}catch(c){}return a}();var wb;wb=J?"webkitTransitionEnd":eb?"otransitionend":"transitionend";function R(a,b){Q.call(this,a?a.type:"");this.relatedTarget=this.b=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.B=this.A=0;this.key="";this.m=this.w=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.S=null;this.W=!1;this.pointerId=0;this.pointerType="";this.a=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.b=b;if(b=a.relatedTarget){if(I){a:{try{bb(b.nodeName);
|
|
var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"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.A=J||void 0!==a.offsetX?a.offsetX:a.layerX,this.B=J||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.w=a.keyCode||0;this.key=a.key||"";this.m=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.W=gb?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=r(a.pointerType)?a.pointerType:xb[a.pointerType]||"";this.S=a.state;this.a=a;a.defaultPrevented&&this.c()}}y(R,Q);var yb=[1,4,2],xb={2:"touch",3:"pen",4:"mouse"};
|
|
R.prototype.aa=function(){return(sb?0==this.a.button:"click"==this.type?!0:!!(this.a.button&yb[0]))&&!(J&&gb&&this.ctrlKey)};R.prototype.h=function(){R.v.h.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};R.prototype.c=function(){R.v.c.call(this);var a=this.a;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ub)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};R.prototype.Mb=function(){return this.a};var S="closure_listenable_"+(1E6*Math.random()|0),zb=0;function Ab(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.b=e;this.key=++zb;this.u=this.C=!1}function Bb(a){a.u=!0;a.listener=null;a.a=null;a.src=null;a.b=null};function T(a){this.src=a;this.a={};this.b=0}T.prototype.c=function(){var a=0,b;for(b in this.a)a+=this.a[b].length;return a};T.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.b++);var h=Cb(a,b,d,e);-1<h?(b=a[h],c||(b.C=!1)):(b=new Ab(b,this.src,f,!!d,e),b.C=c,a.push(b));return b};function Db(a,b){var c=b.type;if(c in a.a){var d=a.a[c],e=ya(d,b),f;(f=0<=e)&&Array.prototype.splice.call(d,e,1);f&&(Bb(b),0==a.a[c].length&&(delete a.a[c],a.b--))}}
|
|
function Eb(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=Cb(a,c,d,e));return-1<b?a[b]:null}function Cb(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.u&&f.listener==b&&f.capture==!!c&&f.b==d)return e}return-1};var Fb="closure_lm_"+(1E6*Math.random()|0),Gb={},Hb=0;function Ib(a,b,c,d,e){if(d&&d.once)return Jb(a,b,c,d,e);if(u(b)){for(var f=0;f<b.length;f++)Ib(a,b[f],c,d,e);return null}c=Kb(c);return a&&a[S]?a.o(b,c,w(d)?!!d.capture:!!d,e):Lb(a,b,c,!1,d,e)}
|
|
function Lb(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=w(e)?!!e.capture:!!e,k=Mb(a);k||(a[Fb]=k=new T(a));c=k.add(b,c,d,h,f);if(c.a)return c;d=Nb();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)vb||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ob(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Hb++;return c}
|
|
function Nb(){var a=Pb,b=tb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Jb(a,b,c,d,e){if(u(b)){for(var f=0;f<b.length;f++)Jb(a,b[f],c,d,e);return null}c=Kb(c);return a&&a[S]?a.g.add(String(b),c,!0,w(d)?!!d.capture:!!d,e):Lb(a,b,c,!0,d,e)}
|
|
function Qb(a){if(!t(a)&&a&&!a.u){var b=a.src;if(b&&b[S])Db(b.g,a);else{var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ob(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Hb--;(c=Mb(b))?(Db(c,a),0==c.b&&(c.src=null,b[Fb]=null)):Bb(a)}}}function Ob(a){return a in Gb?Gb[a]:Gb[a]="on"+a}
|
|
function Rb(a,b,c,d){var e=!0;if(a=Mb(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.u&&(f=Sb(f,d),e=e&&!1!==f)}return e}function Sb(a,b){var c=a.listener,d=a.b||a.src;a.C&&Qb(a);return c.call(d,b)}
|
|
function Pb(a,b){if(a.u)return!0;if(!tb){if(!b)a:{b=["window","event"];for(var c=p,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new R(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.b;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.g&&0<=e;e--){b.b=d[e];var f=Rb(d[e],a,!0,b);c=c&&f}for(e=0;!b.g&&e<d.length;e++)b.b=d[e],f=Rb(d[e],a,!1,b),c=
|
|
c&&f}return c}return Sb(a,new R(b,this))}function Mb(a){a=a[Fb];return a instanceof T?a:null}var Tb="__closure_events_fn_"+(1E9*Math.random()>>>0);function Kb(a){if(v(a))return a;a[Tb]||(a[Tb]=function(b){return a.handleEvent(b)});return a[Tb]};function Ub(a,b){if(!v(a))if(a&&"function"==typeof a.handleEvent)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:p.setTimeout(a,b||0)};function Vb(a,b,c){P.call(this);this.B=null!=c?x(a,c):a;this.A=b;this.w=x(this.T,this);this.c=!1;this.g=0;this.h=this.a=null;this.m=[]}y(Vb,P);g=Vb.prototype;g.I=function(a){this.m=arguments;this.c=!1;this.a?this.h=wa()+this.A:this.a=Ub(this.w,this.A)};g.Ta=function(){++this.g};g.Ua=function(){this.g&&(--this.g,!this.g&&this.c&&(this.c=!1,this.B.apply(null,this.m)))};g.s=function(){this.a&&(p.clearTimeout(this.a),this.a=null);this.h=null;this.c=!1;this.m=[];Vb.v.s.call(this)};
|
|
g.T=function(){this.h?(this.a=Ub(this.w,this.h-wa()),this.h=null):(this.a=null,this.g?this.c=!0:(this.c=!1,this.B.apply(null,this.m)))};var Wb=!H||9<=Number(L),Xb=!I&&!H||H&&9<=Number(L)||I&&K("1.9.1"),Yb=H&&!K("9"),Zb=H||eb||J;var $b=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div");a.innerHTML="<div><div></div></div>";var b=a.firstChild.firstChild;a.innerHTML="";return!b.parentElement});function ac(a,b){if($b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function U(a,b){this.x=q(a)?a:0;this.a=q(b)?b:0}g=U.prototype;g.fb=function(){return new U(this.x,this.a)};g.fa=function(a){return a instanceof U&&(this==a?!0:this&&a?this.x==a.x&&this.a==a.a:!1)};g.ceil=function(){this.x=Math.ceil(this.x);this.a=Math.ceil(this.a);return this};g.floor=function(){this.x=Math.floor(this.x);this.a=Math.floor(this.a);return this};g.round=function(){this.x=Math.round(this.x);this.a=Math.round(this.a);return this};
|
|
g.hb=function(a,b){a instanceof U?(this.x+=a.x,this.a+=a.a):(this.x+=Number(a),t(b)&&(this.a+=b));return this};g.gb=function(a,b){b=t(b)?b:a;this.x*=a;this.a*=b;return this};g.Cb=function(a,b){a=a*Math.PI/180;b=b||new U(0,0);var c=this.x,d=this.a,e=Math.cos(a);a=Math.sin(a);this.x=(c-b.x)*e-(d-b.a)*a+b.x;this.a=(c-b.x)*a+(d-b.a)*e+b.a};function V(a,b){this.width=a;this.height=b}g=V.prototype;g.ib=function(){return new V(this.width,this.height)};g.Da=function(){return Math.max(this.width,this.height)};g.Qa=function(){return Math.min(this.width,this.height)};g.yb=function(){return 2*(this.width+this.height)};g.aspectRatio=function(){return this.width/this.height};g.nb=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
g.ja=function(a){return this.width<=a.width&&this.height<=a.height};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function bc(a,b){var c=t(void 0)?void 0:b;a.width*=b;a.height*=c;return a}g.Eb=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return bc(this,a)};
|
|
g.Fb=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return bc(this,a)};function cc(a){return a?new W(X(a)):xa||(xa=new W)}function dc(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=ec(document,"*",a,b);return d||null}
|
|
function fc(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){b=a.getElementsByClassName(c);if(e){a={};for(var f=d=0,h;h=b[f];f++)e==h.nodeName&&(a[d++]=h);a.length=d;return a}return b}b=a.getElementsByTagName(e||"*");if(c){a={};for(f=d=0;h=b[f];f++){e=h.className;var k;if(k="function"==typeof e.split)k=0<=ya(e.split(/\s+/),c);k&&(a[d++]=h)}a.length=d;return a}return b}
|
|
function ec(a,b,c,d){var e=d||a,f=b&&"*"!=b?String(b).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(f||c)?e.querySelector(f+(c?"."+c:"")):fc(a,b,c,d)[0]||null}function gc(a,b){Ca(b,function(b,d){b&&"object"==typeof b&&b.G&&(b=b.F());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:hc.hasOwnProperty(d)?a.setAttribute(hc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
|
|
var hc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function ic(a){a=a.document;a=jc(a)?a.documentElement:a.body;return new V(a.clientWidth,a.clientHeight)}function kc(a){return a.scrollingElement?a.scrollingElement:!J&&jc(a)?a.documentElement:a.body||a.documentElement}
|
|
function lc(a){return a.parentWindow||a.defaultView}function mc(a,b,c,d){function e(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];sa(f)&&!nc(f)?za(oc(f)?Ba(f):f,e):e(f)}}function jc(a){return"CSS1Compat"==a.compatMode}function pc(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Y(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function qc(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}
|
|
function nc(a){return w(a)&&0<a.nodeType}function rc(a){return w(a)&&1==a.nodeType}function sc(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function tc(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return uc(b,a)}function uc(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}
|
|
function X(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function vc(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else pc(a),a.appendChild(X(a).createTextNode(String(b)))}function wc(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||wc(a,b,c,d))return!0;a=a.nextSibling}return!1}
|
|
var xc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},yc={IMG:" ",BR:"\n"};function zc(a){return Ac(a)&&Bc(a)}function Ac(a){return H&&!K("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function Bc(a){a=a.tabIndex;return t(a)&&0<=a&&32768>a}
|
|
function Cc(a){if(Yb&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Dc(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Yb||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
|
|
function Dc(a,b,c){if(!(a.nodeName in xc))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in yc)b.push(yc[a.nodeName]);else for(a=a.firstChild;a;)Dc(a,b,c),a=a.nextSibling}function oc(a){if(a&&"number"==typeof a.length){if(w(a))return"function"==typeof a.item||"string"==typeof a.item;if(v(a))return"function"==typeof a.item}return!1}
|
|
function Ec(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Fc(a,function(a){var b;(b=!e||a.nodeName==e)&&!(b=!c)&&(b=r(a.className))&&(a=a.className.split(/\s+/),b=0<=ya(a,c));return b},!0,d)}function Fc(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}function W(a){this.a=a||p.document||document}g=W.prototype;g.va=cc;g.Gb=function(a){this.a=a};g.sa=function(){return this.a};
|
|
g.O=function(a){return r(a)?this.a.getElementById(a):a};g.Oa=function(a){return r(a)?this.a.getElementById(a):a};g.Y=W.prototype.O;g.$a=function(a,b){return(b||this.a).getElementsByTagName(String(a))};g.P=function(a,b,c){return fc(this.a,a,b,c)};g.xa=function(a,b,c){return ec(this.a,a,b,c)};g.ya=function(a,b){var c=(b=b||this.a)||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):fc(document,"*",a,b)};g.wa=function(a,b){return dc(a,b||this.a)};
|
|
g.Pa=function(a,b){return dc(a,b||this.a)};g.Z=W.prototype.P;g.Ib=gc;g.Sa=function(a){return ic(a||lc(this.a)||window)};g.ta=function(){var a=lc(this.a),b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=ic(a).height,jc(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?b:e:b<e?b:e}else c=0}return c};
|
|
g.N=function(a,b,c){var d=this.a,e=arguments,f=String(e[0]),h=e[1];if(!Wb&&h&&(h.name||h.type)){f=["<",f];h.name&&f.push(' name="',E(h.name),'"');if(h.type){f.push(' type="',E(h.type),'"');var k={};Ea(k,h);delete k.type;h=k}f.push(">");f=f.join("")}f=d.createElement(f);h&&(r(h)?f.className=h:u(h)?f.className=h.join(" "):gc(f,h));2<e.length&&mc(d,f,e,2);return f};g.$=W.prototype.N;g.Za=function(a){return this.a.createTextNode(String(a))};
|
|
g.ea=function(a,b,c){var d=this.a;c=!!c;for(var e=d.createElement("TABLE"),f=e.appendChild(d.createElement("TBODY")),h=0;h<a;h++){for(var k=d.createElement("TR"),Xa=0;Xa<b;Xa++){var Ya=d.createElement("TD");c&&vc(Ya,"\u00a0");k.appendChild(Ya)}f.appendChild(k)}return e};
|
|
g.Db=function(a){var b=this.a;var c=b.createElement("DIV");H?(a=Va(Wa,a),ac(c,C(a)),c.removeChild(c.firstChild)):ac(c,C(a));if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(b=b.createDocumentFragment();c.firstChild;)b.appendChild(c.firstChild);c=b}return c};g.ua=function(){return kc(this.a)};g.la=function(a){a=a||this.a;try{var b=a&&a.activeElement;var c=b&&b.nodeName?b:null}catch(d){c=null}return c};g.Wa=function(a,b){a.appendChild(b)};g.Va=function(a,b){mc(X(a),a,arguments,1)};
|
|
g.Xa=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};g.Bb=pc;g.lb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};
|
|
g.kb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};g.jb=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};g.ab=Y;g.bb=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};g.ka=function(a){var b,c=a.parentNode;if(c&&11!=c.nodeType){if(a.removeNode)return a.removeNode(!1);for(;b=a.firstChild;)c.insertBefore(b,a);return Y(a)}};g.qa=function(a){return Xb&&void 0!=a.children?a.children:Aa(a.childNodes,function(a){return 1==a.nodeType})};
|
|
g.za=function(a){return q(a.firstElementChild)?a.firstElementChild:qc(a.firstChild,!0)};g.Ca=function(a){return q(a.lastElementChild)?a.lastElementChild:qc(a.lastChild,!1)};g.Ea=function(a){return q(a.nextElementSibling)?a.nextElementSibling:qc(a.nextSibling,!0)};g.Ma=function(a){return q(a.previousElementSibling)?a.previousElementSibling:qc(a.previousSibling,!1)};g.Fa=function(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null};
|
|
g.Na=function(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a};g.qb=nc;g.mb=rc;g.sb=function(a){return w(a)&&a.window==a};g.La=function(a){var b;if(Zb&&!(H&&K("9")&&!K("10")&&p.SVGElement&&a instanceof p.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return rc(b)?b:null};g.Ya=sc;
|
|
g.ca=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(H&&!(9<=Number(L))){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,f=b.parentNode;return e==f?uc(a,b):!c&&sc(e,b)?-1*tc(a,b):!d&&sc(f,a)?tc(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=X(a);c=d.createRange();
|
|
c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(p.Range.START_TO_END,a)};g.ga=function(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var f=[],h=arguments[b];h;)f.unshift(h),h=h.parentNode;d.push(f);e=Math.min(e,f.length)}f=null;for(b=0;b<e;b++){h=d[0][b];for(var k=1;k<c;k++)if(h!=d[k][b])return f;f=h}return f};g.Ka=X;g.Aa=function(a){return a.contentDocument||a.contentWindow.document};
|
|
g.Ba=function(a){try{var b;if(!(b=a.contentWindow)){if(a.contentDocument){var c=a.contentDocument;var d=c?lc(c):window}else d=null;b=d}return b}catch(e){}return null};g.Jb=vc;g.Ja=function(a){if("outerHTML"in a)return a.outerHTML;var b=X(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};g.ha=function(a,b){var c=[];return wc(a,b,c,!0)?c[0]:void 0};g.ia=function(a,b){var c=[];wc(a,b,c,!1);return c};g.pb=zc;g.Hb=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))};
|
|
g.ob=function(a){var b;if((b="A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Ac(a)||Bc(a)):zc(a))&&H){var c;!v(a.getBoundingClientRect)||H&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};g.Ra=Cc;g.Ha=function(a){return Cc(a).length};
|
|
g.Ia=function(a,b){b=b||X(a).body;for(var c=[];a&&a!=b;){for(var d=a;d=d.previousSibling;)c.unshift(Cc(d));a=a.parentNode}return c.join("").replace(/^[\s\xa0]+/,"").replace(/ +/g," ").length};
|
|
g.Ga=function(a,b,c){a=[a];for(var d=0,e=null;0<a.length&&d<b;)if(e=a.pop(),!(e.nodeName in xc))if(3==e.nodeType){var f=e.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");d+=f.length}else if(e.nodeName in yc)d+=yc[e.nodeName].length;else for(f=e.childNodes.length-1;0<=f;f--)a.push(e.childNodes[f]);w(c)&&(c.Ab=e?e.nodeValue.length+b-d-1:0,c.node=e);return e};g.rb=oc;g.oa=Ec;g.na=function(a,b,c){return Ec(a,null,b,c)};g.ma=Fc;g.pa=function(a){return a.getContext("2d")};function Gc(a){P.call(this);this.c=a;this.a={}}y(Gc,P);var Hc=[];g=Gc.prototype;g.o=function(a,b,c,d){return Ic(this,a,b,c,d)};g.ub=function(a,b,c,d,e){return Ic(this,a,b,c,d,e)};function Ic(a,b,c,d,e,f){u(c)||(c&&(Hc[0]=c.toString()),c=Hc);for(var h=0;h<c.length;h++){var k=Ib(b,c[h],d||a.handleEvent,e||!1,f||a.c||a);if(!k)break;a.a[k.key]=k}return a}g.eb=function(a,b,c,d){return Jc(this,a,b,c,d)};g.tb=function(a,b,c,d,e){return Jc(this,a,b,c,d,e)};
|
|
function Jc(a,b,c,d,e,f){if(u(c))for(var h=0;h<c.length;h++)Jc(a,b,c[h],d,e,f);else{b=Jb(b,c,d||a.handleEvent,e,f||a.c||a);if(!b)return a;a.a[b.key]=b}return a}g.vb=function(a,b,c,d){b.o(a,c,d,this.c||this);return this};g.wb=function(a,b,c,d,e){b.o(a,c,d,e||this.c||this);return this};g.cb=function(){var a=0,b;for(b in this.a)Object.prototype.hasOwnProperty.call(this.a,b)&&a++;return a};
|
|
g.L=function(a,b,c,d,e){if(u(b))for(var f=0;f<b.length;f++)this.L(a,b[f],c,d,e);else c=c||this.handleEvent,d=w(d)?!!d.capture:!!d,e=e||this.c||this,c=Kb(c),d=!!d,b=a&&a[S]?Eb(a.g,String(b),c,d,e):a?(a=Mb(a))?Eb(a,b,c,d,e):null:null,b&&(Qb(b),delete this.a[b.key])};g.Kb=function(a,b,c,d,e){b.L(a,c,d,e||this.c||this,this);return this};function Kc(a){Ca(a.a,function(a,c){this.a.hasOwnProperty(c)&&Qb(a)},a);a.a={}}g.s=function(){Gc.v.s.call(this);Kc(this)};
|
|
g.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Lc(a){a=(a||Mc).V;a=null!=a&&a.j===F?a:a instanceof B?pb(C(a),a.a()):pb(E(String(String(a))),ob(a));var b=pb("<devsite-tooltip-msg>"+a+"</devsite-tooltip-msg>");a=cc().a.createElement("DIV");b=Nc(b);ac(a,b);1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a}function Nc(a){if(!w(a))return String(a);if(a instanceof G){if(a.j===F)return a.a;if(a.j===$a)return E(a.a)}return"zSoyz"}var Mc={};function Oc(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}H&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
|
|
function Pc(a){var b=X(a),c=new U(0,0);var d=b?X(b):document;d=!H||9<=Number(L)||jc(cc(d).a)?d.documentElement:d.body;if(a==d)return c;a=Oc(a);d=cc(b).a;b=kc(d);d=lc(d);b=H&&K("10")&&d.pageYOffset!=b.scrollTop?new U(b.scrollLeft,b.scrollTop):new U(d.pageXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b.x;c.a=a.top+b.a;return c}
|
|
function Qc(a){var b=Rc;a:{var c=X(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c.display||c.getPropertyValue("display")||"";break a}c=""}c||(c=a.currentStyle?a.currentStyle.display:null);if("none"!=(c||a.style&&a.style.display))return b(a);c=a.style;var d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}
|
|
function Rc(a){var b=a.offsetWidth,c=a.offsetHeight,d=J&&!b&&!c;return q(b)&&!d||!a.getBoundingClientRect?new V(b,c):(a=Oc(a),new V(a.right-a.left,a.bottom-a.top))};var Sc=["dl.google.com"],Tc="abc.xyz admob.com android.com blogger.com blogspot.com chrome.com chromium.org domains.google doubleclick.com feedburner.com g.co ggpht.com gmail.com gmodules.com goo.gl google.com google.org googleapis.com googleapps.com googlecode.com googledrive.com googlemail.com googlesource.com googlesyndication.com googletagmanager.com googleusercontent.com gv.com keyhole.com madewithcode.com panoramio.com urchin.com withgoogle.com youtu.be youtube.com ytimg.com".split(" ");
|
|
function Z(){var a=O.call(this)||this;a.b=new Gc;a.a=null;a.c=null;a.h=new Vb(function(){return Uc(a)},250);return a}ha(Z,O);Z.prototype.J=function(){return"tooltip"};Z.prototype.connectedCallback=function(){qb(this);document.body.hasAttribute("touch")?Y(this):(Vc(this),this.h.I())};Z.prototype.disconnectedCallback=function(){O.prototype.disconnectedCallback.call(this);Kc(this.b)};
|
|
function Vc(a){a.b.o(document.body,"devsite-content-updated",function(){return a.h.I()});a.b.o(document.body,"onpointermove"in window?"pointermove":"mousemove",function(b){for(b=b.target;b&&(!b.hasAttribute||!b.hasAttribute("data-title"));)b=b.parentNode;b?Wc(a,b):Xc(a)});a.b.o(document.body,["devsite-sticky-scroll","devsite-sticky-resize"],function(){return Xc(a)})}
|
|
function Wc(a,b){if(a.a!==b){Xc(a);var c=b.getAttribute("data-title"),d=Lc({V:c});d.style.opacity=0;document.body.appendChild(d);var e=ic(window),f=Qc(b),h=Qc(d),k=Pc(b);c=k.a+f.height;f=k.x+f.width/2-h.width/2;h.width>e.width?f=0:(f=Math.max(f,8),e=e.width-(f+h.width+8),0>e&&(f=f+e-8));d.style.top=c+"px";d.style.left=f+"px";a.a=b;a.c=d;window.requestAnimationFrame(function(){d.style.opacity=1})}}
|
|
function Xc(a){if(a.a){a.a=null;var b=a.c;a.c=null;Jb(b,wb,function(){Y(b);pc(b)});window.setTimeout(function(){Y(b);pc(b)},1E3);b.style.opacity=0}}
|
|
function Uc(a){Array.from(document.querySelectorAll(".devsite-nav-text, .devsite-nav-title, devsite-tabs a[title], .devsite-nav-item a[title]")).forEach(function(a){a.clientWidth<a.scrollWidth?a.setAttribute("data-title",a.getAttribute("title")||a.textContent.trim()):a.removeAttribute("data-title");a.removeAttribute("title")});["title","data-tooltip"].forEach(function(a){Array.from(document.querySelectorAll("["+a+"]")).forEach(function(b){var c=b.getAttribute(a);c&&c.trim()&&(b.setAttribute("data-title",
|
|
c.trim()),b.removeAttribute(a))})});a.hasAttribute("blocked-link")&&Array.from(document.querySelectorAll("a")).forEach(function(a){if(a.hasAttribute("href")){for(var b=(new URL(a.getAttribute("href"),document.location.origin)).hostname.replace("www.",""),d=0;d<Sc.length;d++)if(-1!==b.indexOf(Sc[d]))return;for(d=0;d<Tc.length;d++)if(-1!==b.indexOf(Tc[d])){a.setAttribute("data-title","This link may not be accessible in your region.");break}}})}Z.prototype.disconnectedCallback=Z.prototype.disconnectedCallback;
|
|
Z.prototype.connectedCallback=Z.prototype.connectedCallback;try{window.customElements.define("devsite-tooltip",Z)}catch(a){console.warn("devsite.app.customElement.DevsiteTooltip",a)};}).call(this);
|
|
|