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.
70 lines
36 KiB
70 lines
36 KiB
(function(){'use strict';var f,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={H:!0},ea={};try{ea.__proto__=da;ca=ea.H;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.o=b.prototype}var ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
|
|
function ka(a,b){if(b){var c=ia;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&&ja(c,a,{configurable:!0,writable:!0,value:b})}}
|
|
ka("Array.from",function(a){return a?a:function(a,c,d){c=null!=c?c:function(a){return a};var b=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if("function"==typeof g){a=g.call(a);for(var h=0;!(g=a.next()).done;)b.push(c.call(d,g.value,h++))}else for(g=a.length,h=0;h<g;h++)b.push(c.call(d,a[h],h));return b}});ka("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});var l=this;function m(a){return void 0!==a}
|
|
function n(a){return"string"==typeof a}function p(a){return"number"==typeof a}function q(){}
|
|
function la(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 r(a){return"array"==la(a)}function ma(a){var b=la(a);return"array"==b||"object"==b&&"number"==typeof a.length}function t(a){return"function"==la(a)}function u(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function na(a,b,c){return a.call.apply(a.bind,arguments)}
|
|
function oa(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 v(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v=na:v=oa;return v.apply(null,arguments)}
|
|
function pa(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)}}function w(a,b){function c(){}c.prototype=b.prototype;a.o=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.X=function(a,c,g){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 qa;var x=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(n(a))return n(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},ra=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=n(a)?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},sa=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,g=n(a)?a.split(""):a,h=0;h<c;h++)if(h in g){var k=g[h];b.call(void 0,k,h,a)&&(d[e++]=k)}return d};function ta(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[]};var ua=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
|
|
function va(a,b){if(b)a=a.replace(wa,"&").replace(xa,"<").replace(ya,">").replace(za,""").replace(Aa,"'").replace(Ba,"�");else{if(!Ca.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(wa,"&"));-1!=a.indexOf("<")&&(a=a.replace(xa,"<"));-1!=a.indexOf(">")&&(a=a.replace(ya,">"));-1!=a.indexOf('"')&&(a=a.replace(za,"""));-1!=a.indexOf("'")&&(a=a.replace(Aa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ba,"�"))}return a}
|
|
var wa=/&/g,xa=/</g,ya=/>/g,za=/"/g,Aa=/'/g,Ba=/\x00/g,Ca=/[\x00&<>"']/;function Da(a,b){return a<b?-1:a>b?1:0};var y;a:{var Ea=l.navigator;if(Ea){var Fa=Ea.userAgent;if(Fa){y=Fa;break a}}y=""};function Ga(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ha(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var Ia="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ja(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 g=0;g<Ia.length;g++)c=Ia[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function z(a){return a=va(a,void 0)};function Ka(a){Ka[" "](a);return a}Ka[" "]=q;function La(a,b){var c=Ma;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Na=-1!=y.indexOf("Opera"),A=-1!=y.indexOf("Trident")||-1!=y.indexOf("MSIE"),Oa=-1!=y.indexOf("Edge"),B=-1!=y.indexOf("Gecko")&&!(-1!=y.toLowerCase().indexOf("webkit")&&-1==y.indexOf("Edge"))&&!(-1!=y.indexOf("Trident")||-1!=y.indexOf("MSIE"))&&-1==y.indexOf("Edge"),C=-1!=y.toLowerCase().indexOf("webkit")&&-1==y.indexOf("Edge"),Pa=-1!=y.indexOf("Macintosh");function Qa(){var a=l.document;return a?a.documentMode:void 0}var Ra;
|
|
a:{var Sa="",Ta=function(){var a=y;if(B)return/rv:([^\);]+)(\)|;)/.exec(a);if(Oa)return/Edge\/([\d\.]+)/.exec(a);if(A)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(C)return/WebKit\/(\S+)/.exec(a);if(Na)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ta&&(Sa=Ta?Ta[1]:"");if(A){var Ua=Qa();if(null!=Ua&&Ua>parseFloat(Sa)){Ra=String(Ua);break a}}Ra=Sa}var Va=Ra,Ma={};
|
|
function D(a){return La(a,function(){for(var b=0,c=ua(String(Va)).split("."),d=ua(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g<e;g++){var h=c[g]||"",k=d[g]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==h[0].length&&0==k[0].length)break;b=Da(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||Da(0==h[2].length,0==k[2].length)||Da(h[2],k[2]);h=h[3];k=k[3]}while(0==b)}return 0<=b})}var E;var Wa=l.document;
|
|
E=Wa&&A?Qa()||("CSS1Compat"==Wa.compatMode?parseInt(Va,10):5):void 0;var Xa=!A||9<=Number(E),Ya=!A||9<=Number(E),Za=A&&!D("9"),$a=function(){if(!l.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{l.addEventListener("test",q,b),l.removeEventListener("test",q,b)}catch(c){}return a}();function F(){this.h=this.h;this.b=this.b}f=F.prototype;f.h=!1;f.L=function(){return this.h};f.ma=F.prototype.L;f.B=function(){this.h||(this.h=!0,this.u())};f.zb=function(a){a=pa(ab,a);this.h?m(void 0)?a.call(void 0):a():(this.b||(this.b=[]),this.b.push(m(void 0)?v(a,void 0):a))};f.u=function(){if(this.b)for(;this.b.length;)this.b.shift()()};function ab(a){a&&"function"==typeof a.B&&a.B()};function G(a,b){this.type=a;this.b=this.target=b;this.P=this.f=!1;this.S=!0}G.prototype.i=function(){this.f=!0};G.prototype.c=function(){this.P=!0;this.S=!1};function H(a,b){G.call(this,a?a.type:"");this.relatedTarget=this.b=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.N=this.M=0;this.key="";this.D=this.G=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.O=null;this.R=!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(B){a:{try{Ka(b.nodeName);
|
|
var e=!0;break a}catch(g){}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.M=C||void 0!==a.offsetX?a.offsetX:a.layerX,this.N=C||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.G=a.keyCode||0;this.key=a.key||"";this.D=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.R=Pa?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=n(a.pointerType)?a.pointerType:bb[a.pointerType]||"";this.O=a.state;this.a=a;a.defaultPrevented&&this.c()}}w(H,G);var cb=[1,4,2],bb={2:"touch",3:"pen",4:"mouse"};
|
|
H.prototype.W=function(){return(Xa?0==this.a.button:"click"==this.type?!0:!!(this.a.button&cb[0]))&&!(C&&Pa&&this.ctrlKey)};H.prototype.i=function(){H.o.i.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};H.prototype.c=function(){H.o.c.call(this);var a=this.a;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Za)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};H.prototype.Tb=function(){return this.a};var I="closure_listenable_"+(1E6*Math.random()|0),db=0;function eb(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=++db;this.m=this.s=!1}function J(a){a.m=!0;a.listener=null;a.a=null;a.src=null;a.b=null};function fb(a){this.src=a;this.a={};this.b=0}f=fb.prototype;f.$a=function(){var a=0,b;for(b in this.a)a+=this.a[b].length;return a};f.add=function(a,b,c,d,e){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var h=gb(a,b,d,e);-1<h?(b=a[h],c||(b.s=!1)):(b=new eb(b,this.src,g,!!d,e),b.s=c,a.push(b));return b};
|
|
f.bb=function(a,b,c,d){a=a.toString();if(!(a in this.a))return!1;var e=this.a[a];b=gb(e,b,c,d);return-1<b?(J(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.a[a],this.b--),!0):!1};f.cb=function(a){a=a&&a.toString();var b=0,c;for(c in this.a)if(!a||c==a){for(var d=this.a[c],e=0;e<d.length;e++)++b,J(d[e]);delete this.a[c];this.b--}return b};f.Aa=function(a,b){a=this.a[a.toString()];var c=[];if(a)for(var d=0;d<a.length;++d){var e=a[d];e.capture==b&&c.push(e)}return c};
|
|
f.ab=function(a,b){var c=m(a),d=c?a.toString():"",e=m(b);return Ha(this.a,function(a){for(var g=0;g<a.length;++g)if(!(c&&a[g].type!=d||e&&a[g].capture!=b))return!0;return!1})};function gb(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.m&&g.listener==b&&g.capture==!!c&&g.b==d)return e}return-1};var hb="closure_lm_"+(1E6*Math.random()|0),ib={},jb=0;function kb(a,b,c,d,e){if(d&&d.once)return lb(a,b,c,d,e);if(r(b)){for(var g=0;g<b.length;g++)kb(a,b[g],c,d,e);return null}c=mb(c);return a&&a[I]?K(a,b,c,u(d)?!!d.capture:!!d,e):nb(a,b,c,!1,d,e)}
|
|
function nb(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=u(e)?!!e.capture:!!e,k=L(a);k||(a[hb]=k=new fb(a));c=k.add(b,c,d,h,g);if(c.a)return c;d=ob();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)$a||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(pb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");jb++;return c}
|
|
function ob(){var a=qb,b=Ya?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 lb(a,b,c,d,e){if(r(b)){for(var g=0;g<b.length;g++)lb(a,b[g],c,d,e);return null}c=mb(c);return a&&a[I]?a.G(b,c,u(d)?!!d.capture:!!d,e):nb(a,b,c,!0,d,e)}
|
|
function rb(a){if(!p(a)&&a&&!a.m){var b=a.src;if(b&&b[I])b.a(a);else{var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(pb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);jb--;if(c=L(b)){d=a.type;if(d in c.a){var e=c.a[d],g=x(e,a),h;(h=0<=g)&&Array.prototype.splice.call(e,g,1);h&&(J(a),0==c.a[d].length&&(delete c.a[d],c.b--))}0==c.b&&(c.src=null,b[hb]=null)}else J(a)}}}function pb(a){return a in ib?ib[a]:ib[a]="on"+a}
|
|
function sb(a,b,c,d){var e=!0;if(a=L(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.m&&(g=tb(g,d),e=e&&!1!==g)}return e}function tb(a,b){var c=a.listener,d=a.b||a.src;a.s&&rb(a);return c.call(d,b)}
|
|
function qb(a,b){if(a.m)return!0;if(!Ya){if(!b)a:{b=["window","event"];for(var c=l,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new H(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.f&&0<=e;e--){b.b=d[e];var g=sb(d[e],a,!0,b);c=c&&g}for(e=0;!b.f&&e<d.length;e++)b.b=d[e],g=sb(d[e],a,!1,b),c=
|
|
c&&g}return c}return tb(a,new H(b,this))}function L(a){a=a[hb];return a instanceof fb?a:null}var ub="__closure_events_fn_"+(1E9*Math.random()>>>0);function mb(a){if(t(a))return a;a[ub]||(a[ub]=function(b){return a.handleEvent(b)});return a[ub]};function M(){this.b="";this.c=vb}M.prototype.w=!0;M.prototype.v=function(){return this.b};M.prototype.F=!0;M.prototype.a=function(){return 1};var vb={};function wb(a){var b=new M;b.b=a;return b}wb("about:blank");function N(){this.b="";this.f=xb;this.c=null}N.prototype.F=!0;N.prototype.a=function(){return this.c};N.prototype.w=!0;N.prototype.v=function(){return this.b};function yb(a){return a instanceof N&&a.constructor===N&&a.f===xb?a.b:"type_error:SafeHtml"}function zb(a){if(a instanceof N)return a;var b="object"==typeof a,c=null;b&&a.F&&(c=a.a());a=va(b&&a.w?a.v():String(a));return O(a,c)}
|
|
function Ab(a){function b(a){r(a)?ra(a,b):(a=zb(a),d+=yb(a),a=a.a(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";ra(arguments,b);return O(d,c)}var xb={};function O(a,b){var c=new N;c.b=a;c.c=b;return c}O("<!DOCTYPE html>",0);O("",0);var Bb=O("<br>",0);var P={},Cb={},Db={};function Q(){throw Error("Do not instantiate directly");}Q.prototype.a=null;Q.prototype.toString=function(){return this.l};function Eb(a){if(a.g===Db)return zb(a.toString());if(a.g!==P)throw Error("Sanitized content was not of kind TEXT or HTML.");return O(a.toString(),a.a||null)}Q.prototype.b=function(){if(this.g!==Cb)throw Error("Sanitized content was not of kind URI.");return wb(this.toString())};function R(a,b){this.l=String(a);this.a=null!=b?b:null}w(R,Q);R.prototype.g=Db;
|
|
function Fb(){Q.call(this)}w(Fb,Q);Fb.prototype.g=P;function S(a){return new R(a,void 0)}var Gb=function(a){function b(a){this.l=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.a=d);return a}}(Fb);function Hb(a){null!=a&&a.g===P?(a=String(a.l).replace(Ib,"").replace(Jb,"<"),a=String(a).replace(Kb,Lb)):a=z(String(a));return a}
|
|
var Mb={"\x00":"�","\t":"	","\n":" ","\x0B":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function Lb(a){return Mb[a]}var Kb=/[\x00\x22\x27\x3c\x3e]/g,Ib=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Jb=/</g;function Nb(){return S("\u6587\u6863\u6839\u672c\u6ca1\u6cd5\u7528")}function Ob(){return S("\u6587\u6863\u6c34\u5e73\u5f88\u5dee")}function Pb(){return S("\u6587\u6863\u6c34\u5e73\u4e00\u822c")}function Qb(){return S("\u6587\u6863\u4e0d\u9519")}function Rb(){return S("\u6587\u6863\u5199\u5f97\u5f88\u597d")}function Sb(a){return S("\u60a8\u7ed9\u51fa\u7684\u8bc4\u5206\u4e3a\u201c"+(""+a.A+"\u201d"))}function Tb(a){return S(""+a.A)};var Ub=!A||9<=Number(E),Vb=!B&&!A||A&&9<=Number(E)||B&&D("1.9.1"),Yb=A&&!D("9"),Zb=A||Na||C;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 T(a,b){if($b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function U(a,b){this.a=m(a)?a:0;this.b=m(b)?b:0}f=U.prototype;f.eb=function(){return new U(this.a,this.b)};f.aa=function(a){return a instanceof U&&(this==a?!0:this&&a?this.a==a.a&&this.b==a.b:!1)};f.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);return this};f.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);return this};f.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);return this};
|
|
f.gb=function(a,b){a instanceof U?(this.a+=a.a,this.b+=a.b):(this.a+=Number(a),p(b)&&(this.b+=b));return this};f.fb=function(a,b){b=p(b)?b:a;this.a*=a;this.b*=b;return this};f.Jb=function(a,b){a=a*Math.PI/180;b=b||new U(0,0);var c=this.a,d=this.b,e=Math.cos(a);a=Math.sin(a);this.a=(c-b.a)*e-(d-b.b)*a+b.a;this.b=(c-b.a)*a+(d-b.b)*e+b.b};function ac(a,b){this.width=a;this.height=b}f=ac.prototype;f.hb=function(){return new ac(this.width,this.height)};f.Ba=function(){return Math.max(this.width,this.height)};f.Oa=function(){return Math.min(this.width,this.height)};f.yb=function(){return 2*(this.width+this.height)};f.aspectRatio=function(){return this.width/this.height};f.nb=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
f.ea=function(a){return this.width<=a.width&&this.height<=a.height};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function bc(a,b){var c=p(void 0)?void 0:b;a.width*=b;a.height*=c;return a}f.Kb=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return bc(this,a)};
|
|
f.Lb=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 V(W(a)):qa||(qa=new V)}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 g=d=0,h;h=b[g];g++)e==h.nodeName&&(a[d++]=h);a.length=d;return a}return b}b=a.getElementsByTagName(e||"*");if(c){a={};for(g=d=0;h=b[g];g++){e=h.className;var k;if(k="function"==typeof e.split)k=0<=x(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,g=b&&"*"!=b?String(b).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(g||c)?e.querySelector(g+(c?"."+c:"")):fc(a,b,c,d)[0]||null}function gc(a,b){Ga(b,function(b,d){b&&"object"==typeof b&&b.w&&(b=b.v());"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 ac(a.clientWidth,a.clientHeight)}function kc(a){return a.scrollingElement?a.scrollingElement:!C&&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(n(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];ma(g)&&!nc(g)?ra(oc(g)?ta(g):g,e):e(g)}}function jc(a){return"CSS1Compat"==a.compatMode}function pc(a){for(var b;b=a.firstChild;)a.removeChild(b)}function qc(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function rc(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}
|
|
function nc(a){return u(a)&&0<a.nodeType}function sc(a){return u(a)&&1==a.nodeType}function tc(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 uc(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return vc(b,a)}function vc(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}
|
|
function W(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function wc(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(W(a).createTextNode(String(b)))}function xc(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||xc(a,b,c,d))return!0;a=a.nextSibling}return!1}
|
|
var yc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},zc={IMG:" ",BR:"\n"};function Ac(a){return Bc(a)&&Cc(a)}function Bc(a){return A&&!D("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function Cc(a){a=a.tabIndex;return p(a)&&0<=a&&32768>a}
|
|
function Dc(a){if(Yb&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ec(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 Ec(a,b,c){if(!(a.nodeName in yc))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 zc)b.push(zc[a.nodeName]);else for(a=a.firstChild;a;)Ec(a,b,c),a=a.nextSibling}function oc(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==typeof a.item||"string"==typeof a.item;if(t(a))return"function"==typeof a.item}return!1}
|
|
function Fc(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Gc(a,function(a){var b;(b=!e||a.nodeName==e)&&!(b=!c)&&(b=n(a.className))&&(a=a.className.split(/\s+/),b=0<=x(a,c));return b},!0,d)}function Gc(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 V(a){this.a=a||l.document||document}f=V.prototype;f.sa=cc;f.Mb=function(a){this.a=a};f.na=function(){return this.a};
|
|
f.J=function(a){return n(a)?this.a.getElementById(a):a};f.Ma=function(a){return n(a)?this.a.getElementById(a):a};f.T=V.prototype.J;f.Va=function(a,b){return(b||this.a).getElementsByTagName(String(a))};f.K=function(a,b,c){return fc(this.a,a,b,c)};f.ua=function(a,b,c){return ec(this.a,a,b,c)};f.va=function(a,b){var c=(b=b||this.a)||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):fc(document,"*",a,b)};f.ta=function(a,b){return dc(a,b||this.a)};
|
|
f.Na=function(a,b){return dc(a,b||this.a)};f.U=V.prototype.K;f.Ob=gc;f.Qa=function(a){return ic(a||lc(this.a)||window)};f.oa=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};
|
|
f.I=function(a,b,c){var d=this.a,e=arguments,g=String(e[0]),h=e[1];if(!Ub&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',z(h.name),'"');if(h.type){g.push(' type="',z(h.type),'"');var k={};Ja(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=d.createElement(g);h&&(n(h)?g.className=h:r(h)?g.className=h.join(" "):gc(g,h));2<e.length&&mc(d,g,e,2);return g};f.V=V.prototype.I;f.Ua=function(a){return this.a.createTextNode(String(a))};
|
|
f.$=function(a,b,c){var d=this.a;c=!!c;for(var e=d.createElement("TABLE"),g=e.appendChild(d.createElement("TBODY")),h=0;h<a;h++){for(var k=d.createElement("TR"),Wb=0;Wb<b;Wb++){var Xb=d.createElement("TD");c&&wc(Xb,"\u00a0");k.appendChild(Xb)}g.appendChild(k)}return e};f.lb=function(){return jc(this.a)};f.qa=function(){return kc(this.a)};
|
|
f.pa=function(){var a=this.a,b=kc(a);a=lc(a);return A&&D("10")&&a.pageYOffset!=b.scrollTop?new U(b.scrollLeft,b.scrollTop):new U(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};f.ga=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};f.Sa=function(a,b){a.appendChild(b)};f.Ra=function(a,b){mc(W(a),a,arguments,1)};f.Ta=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};
|
|
f.Bb=pc;f.kb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};f.jb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};f.ib=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};f.Wa=qc;f.Xa=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};f.fa=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 qc(a)}};
|
|
f.la=function(a){return Vb&&void 0!=a.children?a.children:sa(a.childNodes,function(a){return 1==a.nodeType})};f.wa=function(a){return m(a.firstElementChild)?a.firstElementChild:rc(a.firstChild,!0)};f.za=function(a){return m(a.lastElementChild)?a.lastElementChild:rc(a.lastChild,!1)};f.Ca=function(a){return m(a.nextElementSibling)?a.nextElementSibling:rc(a.nextSibling,!0)};f.Ka=function(a){return m(a.previousElementSibling)?a.previousElementSibling:rc(a.previousSibling,!1)};
|
|
f.Da=function(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null};f.La=function(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a};f.qb=nc;f.mb=sc;f.sb=function(a){return u(a)&&a.window==a};f.Ja=function(a){var b;if(Zb&&!(A&&D("9")&&!D("10")&&l.SVGElement&&a instanceof l.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return sc(b)?b:null};
|
|
f.contains=tc;
|
|
f.Y=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(A&&!(9<=Number(E))){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,g=b.parentNode;return e==g?vc(a,b):!c&&tc(e,b)?-1*uc(a,b):!d&&tc(g,a)?uc(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}d=W(a);c=d.createRange();
|
|
c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(l.Range.START_TO_END,a)};f.ba=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 g=[],h=arguments[b];h;)g.unshift(h),h=h.parentNode;d.push(g);e=Math.min(e,g.length)}g=null;for(b=0;b<e;b++){h=d[0][b];for(var k=1;k<c;k++)if(h!=d[k][b])return g;g=h}return g};f.Ia=W;f.xa=function(a){return a.contentDocument||a.contentWindow.document};
|
|
f.ya=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};f.Pb=wc;f.Ha=function(a){if("outerHTML"in a)return a.outerHTML;var b=W(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};f.ca=function(a,b){var c=[];return xc(a,b,c,!0)?c[0]:void 0};f.da=function(a,b){var c=[];xc(a,b,c,!1);return c};f.pb=Ac;f.Nb=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))};
|
|
f.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&&(!Bc(a)||Cc(a)):Ac(a))&&A){var c;!t(a.getBoundingClientRect)||A&&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};f.Pa=Dc;f.Fa=function(a){return Dc(a).length};
|
|
f.Ga=function(a,b){b=b||W(a).body;for(var c=[];a&&a!=b;){for(var d=a;d=d.previousSibling;)c.unshift(Dc(d));a=a.parentNode}return c.join("").replace(/^[\s\xa0]+/,"").replace(/ +/g," ").length};
|
|
f.Ea=function(a,b,c){a=[a];for(var d=0,e=null;0<a.length&&d<b;)if(e=a.pop(),!(e.nodeName in yc))if(3==e.nodeType){var g=e.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");d+=g.length}else if(e.nodeName in zc)d+=zc[e.nodeName].length;else for(g=e.childNodes.length-1;0<=g;g--)a.push(e.childNodes[g]);u(c)&&(c.Ab=e?e.nodeValue.length+b-d-1:0,c.node=e);return e};f.rb=oc;f.ja=Fc;f.ia=function(a,b,c){return Fc(a,null,b,c)};f.ha=Gc;f.ka=function(a){return a.getContext("2d")};function X(a){var b=HTMLElement.call(this)||this;a&&(n(a)&&(a=[a]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:a})));return b}ha(X,HTMLElement);f=X.prototype;f.connectedCallback=function(){var a=this.C();!this.hasAttribute("ds-is")&&a&&this.setAttribute("ds-is",a)};f.C=function(){return""};f.Sb=function(){console.warn(this.tagName,"has not implemented update")};
|
|
f.Z=function(a){a=void 0===a?"":a;return document.createRange().createContextualFragment(a||"")};f.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))};X.prototype.connectedCallback=X.prototype.connectedCallback;function Hc(a){if(a.classList)return a.classList;a=a.className;return n(a)&&a.match(/\S+/g)||[]}function Ic(a){return a.classList?a.classList.contains("devsite-rating-star-full"):0<=x(Hc(a),"devsite-rating-star-full")}function Jc(a){a.classList?a.classList.remove("devsite-rating-star-full"):Ic(a)&&(a.className=sa(Hc(a),function(a){return"devsite-rating-star-full"!=a}).join(" "))};function Kc(a){F.call(this);this.c=a;this.a={}}w(Kc,F);var Lc=[];function Mc(a,b,c,d){K(a,b,c,d,void 0)}f=Kc.prototype;f.ub=function(a,b,c,d,e){return K(this,a,b,c,d,e)};function K(a,b,c,d,e,g){r(c)||(c&&(Lc[0]=c.toString()),c=Lc);for(var h=0;h<c.length;h++){var k=kb(b,c[h],d||a.handleEvent,e||!1,g||a.c||a);if(!k)break;a.a[k.key]=k}return a}f.Za=function(a,b,c,d){return Nc(this,a,b,c,d)};f.tb=function(a,b,c,d,e){return Nc(this,a,b,c,d,e)};
|
|
function Nc(a,b,c,d,e,g){if(r(c))for(var h=0;h<c.length;h++)Nc(a,b,c[h],d,e,g);else{b=lb(b,c,d||a.handleEvent,e,g||a.c||a);if(!b)return a;a.a[b.key]=b}return a}f.vb=function(a,b,c,d){K(b,a,c,d,this.c||this);return this};f.wb=function(a,b,c,d,e){K(b,a,c,d,e||this.c||this);return this};f.Ya=function(){var a=0,b;for(b in this.a)Object.prototype.hasOwnProperty.call(this.a,b)&&a++;return a};
|
|
function Oc(a,b,c,d,e,g){if(r(c))for(var h=0;h<c.length;h++)Oc(a,b,c[h],d,e,g);else d=d||a.handleEvent,e=u(e)?!!e.capture:!!e,g=g||a.c||a,d=mb(d),e=!!e,b&&b[I]?c=b.D(c,d,e,g):b?(b=L(b))?(c=b.a[c.toString()],b=-1,c&&(b=gb(c,d,e,g)),c=-1<b?c[b]:null):c=null:c=null,c&&(rb(c),delete a.a[c.key])}f.Rb=function(a,b,c,d,e){Oc(b,a,c,d,e||this.c||this,this);return this};function Pc(a){Ga(a.a,function(a,c){this.a.hasOwnProperty(c)&&rb(a)},a);a.a={}}f.u=function(){Kc.o.u.call(this);Pc(this)};
|
|
f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Qc(a,b){b=(b||cc()).a.createElement("DIV");a=Rc(a);T(b,a);return 1==b.childNodes.length&&(a=b.firstChild,1==a.nodeType)?a:b}function Rc(a){if(!u(a))return String(a);if(a instanceof Q){if(a.g===P)return a.l;if(a.g===Db)return z(a.l)}return"zSoyz"}var Sc={};function Tc(){this.a=cc();this.b=null}f=Tc.prototype;f.Eb=function(a,b){var c=this.a||cc();a=a(b||Sc,void 0,{});Rc(a);a=Eb(a);b=c.a;c=b.createElement("DIV");A?(a=Ab(Bb,a),T(c,yb(a)),c.removeChild(c.firstChild)):T(c,yb(a));if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}this.j(c);return c};f.Db=function(a,b){var c=this.a;a=Qc(a(b||Sc,void 0,{}),c);this.j(a);return a};
|
|
f.Fb=function(a,b,c){T(a,Rc(b(c||Sc,void 0,{})));this.j(a)};f.Cb=function(a,b){a=a(b||{},void 0,{});this.j();return String(a)};function Y(a,b,c){b=b(c||{},void 0,{});a.j();return String(b)}f.Ib=function(a,b){return Uc(this,a,b)};function Uc(a,b,c){b=b(c||{},void 0,{});a.j();return b}f.Gb=function(a,b){return Eb(Uc(this,a,b))};f.Hb=function(a,b){return Uc(this,a,b).Qb()};f.ra=function(){return this.a};f.j=q;function Z(){var a=X.call(this)||this;a.a=new Tc;a.b=new Kc;a.c=0;var b=[Y(a.a,Nb),Y(a.a,Ob),Y(a.a,Pb),Y(a.a,Qb),Y(a.a,Rb)];a.i=b;a.f=[];return a}ha(Z,X);Z.prototype.C=function(){return"page-rating"};
|
|
Z.prototype.connectedCallback=function(){var a=this.getAttribute("position")||"";var b=this.i;var c="";a=a instanceof R?a.toString():a;(t(a)&&t("footer")?a.g!=="footer".g?0:a.toString()==="footer".toString():"footer"==a)&&(c+='<div class="devsite-rating-caption">Was this page helpful?</div>');c+='<div class="devsite-rating-stars">';a=Math.max(0,Math.ceil(b.length));for(var d=0;d<a;d++){var e=d;c+='<div class="devsite-rating-star devsite-rating-star-outline gc-analytics-event material-icons" data-rating-val="'+
|
|
Hb(e+1)+'" role="button" data-title="'+Hb(b[e])+'" aria-label="';e="Site content star ratings, rating "+(Hb(e+1)+" out of 5");c+=String(e).replace(Kb,Lb);c+='"></div>'}b=Gb(c+'</div><div class="devsite-rating-internal"><span class="devsite-rating-stats"></span></div>');b=Qc(b,void 0);this.f=Array.from(b.querySelectorAll(".devsite-rating-star"));this.hasAttribute("selected-rating")||this.setAttribute("selected-rating","0");this.hasAttribute("hover-rating-star")||this.setAttribute("hover-rating-star",
|
|
"0");this.appendChild(b);Vc(this)};
|
|
function Vc(a){Mc(a.b,a,"click",function(b){if(b.target.classList.contains("devsite-rating-star")){b=Number(b.target.getAttribute("data-rating-val"));if(b!=a.c){Wc("selected-rating",b);var c={nonInteraction:!0,page:(new URL(document.location.toString())).pathname,referrer:(new URL(document.location.toString())).pathname,ratings_value:b,ratings_count:1};a.dispatchEvent(new CustomEvent("devsite-analytics-pageview",{detail:c,bubbles:!0}))}3>=b&&(b=document.querySelector('[ds-is="feedback"]'))&&b.dispatchEvent(new Event("click"))}});
|
|
Mc(a.b,a,"onpointerover"in window?"pointerover":"mouseover",function(a){a.target.classList.contains("devsite-rating-star")&&(a=Number(a.target.getAttribute("data-rating-val")),Wc("hover-rating-star",a))});Mc(a.b,a,"onpointerout"in window?"pointerout":"mouseout",function(b){b.target.classList.contains("devsite-rating-star")&&Wc("hover-rating-star",a.c)})}
|
|
Z.prototype.attributeChangedCallback=function(a,b,c){if("selected-rating"===a&&null!=b){var d=this.c=Number(c)||0;b=Number(b)||0;var e=d-1,g=b-1;0<b&&5>=b&&this.f[g].setAttribute("data-title",Y(this.a,Tb,{A:this.i[g]}));0<d&&5>=d&&this.f[e].setAttribute("data-title",Y(this.a,Sb,{A:this.i[e]}))}"hover-rating-star"===a&&Xc(this,Number(c)||0)};Z.prototype.disconnectedCallback=function(){Pc(this.b)};
|
|
function Wc(a,b){Array.from(document.getElementsByTagName("devsite-page-rating")).forEach(function(c){return c.setAttribute(a,b)})}function Xc(a,b){a.f.forEach(function(a){Number(a.getAttribute("data-rating-val"))<=b?a.classList?a.classList.add("devsite-rating-star-full"):Ic(a)||(a.className+=0<a.className.length?" devsite-rating-star-full":"devsite-rating-star-full"):Jc(a)})}ia.Object.defineProperties(Z,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["selected-rating","hover-rating-star"]}}});
|
|
Z.prototype.disconnectedCallback=Z.prototype.disconnectedCallback;Z.prototype.attributeChangedCallback=Z.prototype.attributeChangedCallback;Z.prototype.connectedCallback=Z.prototype.connectedCallback;try{window.customElements.define("devsite-page-rating",Z)}catch(a){console.warn("devsite.app.customElement.DevsitePageRating",a)};}).call(this);
|
|
|