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.
 
 
 
 

67 lines
34 KiB

(function(){'use strict';var f;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function ca(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}var da="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},l;
if("function"==typeof Object.setPrototypeOf)l=Object.setPrototypeOf;else{var m;a:{var ea={A:!0},fa={};try{fa.__proto__=ea;m=fa.A;break a}catch(a){}m=!1}l=m?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ha=l;
function ia(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(ha)ha(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.j=b.prototype}var ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ka="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
function la(a,b){if(b){var c=ka;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})}}
la("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}});la("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});var n=this;function p(a){return void 0!==a}
function q(a){return"string"==typeof a}function r(a){return"number"==typeof a}function t(){}
function u(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 v(a){return"array"==u(a)}function ma(a){var b=u(a);return"array"==b||"object"==b&&"number"==typeof a.length}function w(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 x(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?x=na:x=oa;return x.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 qa(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.T=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 ra;var sa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(q(a))return q(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},ta=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=q(a)?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},ua=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=q(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 va(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 wa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function xa(a,b){if(b)a=a.replace(ya,"&amp;").replace(za,"&lt;").replace(Aa,"&gt;").replace(Ba,"&quot;").replace(Ca,"&#39;").replace(Da,"&#0;");else{if(!Ea.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ya,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(za,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Aa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ba,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ca,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Da,"&#0;"))}return a}
var ya=/&/g,za=/</g,Aa=/>/g,Ba=/"/g,Ca=/'/g,Da=/\x00/g,Ea=/[\x00&<>"']/;function Fa(a,b){return a<b?-1:a>b?1:0};var y;a:{var Ga=n.navigator;if(Ga){var Ha=Ga.userAgent;if(Ha){y=Ha;break a}}y=""};function Ia(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ja(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var Ka="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function La(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<Ka.length;g++)c=Ka[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function Ma(a){return a=xa(a,void 0)};function Na(a){Na[" "](a);return a}Na[" "]=t;function Oa(a,b){var c=Pa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Qa=-1!=y.indexOf("Opera"),z=-1!=y.indexOf("Trident")||-1!=y.indexOf("MSIE"),Ra=-1!=y.indexOf("Edge"),A=-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"),B=-1!=y.toLowerCase().indexOf("webkit")&&-1==y.indexOf("Edge"),Sa=-1!=y.indexOf("Macintosh");function Ta(){var a=n.document;return a?a.documentMode:void 0}var Ua;
a:{var Va="",Wa=function(){var a=y;if(A)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ra)return/Edge\/([\d\.]+)/.exec(a);if(z)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(B)return/WebKit\/(\S+)/.exec(a);if(Qa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Wa&&(Va=Wa?Wa[1]:"");if(z){var Xa=Ta();if(null!=Xa&&Xa>parseFloat(Va)){Ua=String(Xa);break a}}Ua=Va}var Ya=Ua,Pa={};
function C(a){return Oa(a,function(){for(var b=0,c=wa(String(Ya)).split("."),d=wa(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=Fa(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||Fa(0==h[2].length,0==k[2].length)||Fa(h[2],k[2]);h=h[3];k=k[3]}while(0==b)}return 0<=b})}var D;var Za=n.document;
D=Za&&z?Ta()||("CSS1Compat"==Za.compatMode?parseInt(Ya,10):5):void 0;function E(){this.b="";this.c=$a}E.prototype.s=!0;E.prototype.o=function(){return this.b};E.prototype.w=!0;E.prototype.a=function(){return 1};var $a={};function ab(a){var b=new E;b.b=a;return b}ab("about:blank");function F(){this.b="";this.f=bb;this.c=null}F.prototype.w=!0;F.prototype.a=function(){return this.c};F.prototype.s=!0;F.prototype.o=function(){return this.b};function cb(a){return a instanceof F&&a.constructor===F&&a.f===bb?a.b:"type_error:SafeHtml"}function db(a){if(a instanceof F)return a;var b="object"==typeof a,c=null;b&&a.w&&(c=a.a());a=xa(b&&a.s?a.o():String(a));return G(a,c)}
function eb(a){function b(a){v(a)?ta(a,b):(a=db(a),d+=cb(a),a=a.a(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";ta(arguments,b);return G(d,c)}var bb={};function G(a,b){var c=new F;c.b=a;c.c=b;return c}G("<!DOCTYPE html>",0);G("",0);var fb=G("<br>",0);var gb={},hb={},ib={};function H(){throw Error("Do not instantiate directly");}H.prototype.c=null;H.prototype.toString=function(){return this.b};H.prototype.f=function(){if(this.a===ib)return db(this.toString());if(this.a!==gb)throw Error("Sanitized content was not of kind TEXT or HTML.");return G(this.toString(),this.c||null)};H.prototype.i=function(){if(this.a!==hb)throw Error("Sanitized content was not of kind URI.");return ab(this.toString())};function jb(){H.call(this)}qa(jb,H);
jb.prototype.a=gb;var kb=function(a){function b(a){this.b=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.c=d);return a}}(jb),lb={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"};function mb(a){return lb[a]}var nb=/[\x00\x22\x27\x3c\x3e]/g;function ob(){var a='<button role="button" class="devsite-heading-link button-flat material-icons" title="'+"Copy link to this section".replace(nb,mb);return kb(a+'"></button>')}function pb(){var a='<a href="#top_of_page" class="devsite-back-to-top-link material-icons" title="'+"\u8fd4\u56de\u9875\u9996".replace(nb,mb);return kb(a+'"></a>')};var qb=!z||9<=Number(D),rb=!A&&!z||z&&9<=Number(D)||A&&C("1.9.1"),sb=z&&!C("9"),tb=z||Qa||B;var ub=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 vb(a,b){if(ub())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function I(a,b){this.a=p(a)?a:0;this.b=p(b)?b:0}f=I.prototype;f.Za=function(){return new I(this.a,this.b)};f.X=function(a){return a instanceof I&&(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.ab=function(a,b){a instanceof I?(this.a+=a.a,this.b+=a.b):(this.a+=Number(a),r(b)&&(this.b+=b));return this};f.$a=function(a,b){b=r(b)?b:a;this.a*=a;this.b*=b;return this};f.xb=function(a,b){a=a*Math.PI/180;b=b||new I(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 wb(a,b){this.width=a;this.height=b}f=wb.prototype;f.bb=function(){return new wb(this.width,this.height)};f.wa=function(){return Math.max(this.width,this.height)};f.Ja=function(){return Math.min(this.width,this.height)};f.tb=function(){return 2*(this.width+this.height)};f.aspectRatio=function(){return this.width/this.height};f.ib=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
f.aa=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 xb(a,b){var c=r(void 0)?void 0:b;a.width*=b;a.height*=c;return a}f.zb=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return xb(this,a)};
f.Ab=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return xb(this,a)};function yb(a){return a?new J(K(a)):ra||(ra=new J)}function zb(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=Ab(document,"*",a,b);return d||null}
function Bb(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<=sa(e.split(/\s+/),c);k&&(a[d++]=h)}a.length=d;return a}return b}
function Ab(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:"")):Bb(a,b,c,d)[0]||null}function Cb(a,b){Ia(b,function(b,d){b&&"object"==typeof b&&b.s&&(b=b.o());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Db.hasOwnProperty(d)?a.setAttribute(Db[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
var Db={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 Eb(a){a=a.document;a=L(a)?a.documentElement:a.body;return new wb(a.clientWidth,a.clientHeight)}function Hb(a){return a.scrollingElement?a.scrollingElement:!B&&L(a)?a.documentElement:a.body||a.documentElement}
function M(a){return a.parentWindow||a.defaultView}function Ib(a,b,c,d){function e(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var g=c[d];ma(g)&&!Jb(g)?ta(Kb(g)?va(g):g,e):e(g)}}function L(a){return"CSS1Compat"==a.compatMode}function Lb(a){for(var b;b=a.firstChild;)a.removeChild(b)}function N(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function O(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}
function Jb(a){return w(a)&&0<a.nodeType}function Mb(a){return w(a)&&1==a.nodeType}function Nb(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 Ob(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return Pb(b,a)}function Pb(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1}
function K(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Qb(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 Lb(a),a.appendChild(K(a).createTextNode(String(b)))}function Rb(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Rb(a,b,c,d))return!0;a=a.nextSibling}return!1}
var Sb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},P={IMG:" ",BR:"\n"};function Tb(a){return Ub(a)&&Vb(a)}function Ub(a){return z&&!C("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function Vb(a){a=a.tabIndex;return r(a)&&0<=a&&32768>a}
function Wb(a){if(sb&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Xb(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");sb||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
function Xb(a,b,c){if(!(a.nodeName in Sb))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 P)b.push(P[a.nodeName]);else for(a=a.firstChild;a;)Xb(a,b,c),a=a.nextSibling}function Kb(a){if(a&&"number"==typeof a.length){if(w(a))return"function"==typeof a.item||"string"==typeof a.item;if("function"==u(a))return"function"==typeof a.item}return!1}
function Yb(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Zb(a,function(a){var b;(b=!e||a.nodeName==e)&&!(b=!c)&&(b=q(a.className))&&(a=a.className.split(/\s+/),b=0<=sa(a,c));return b},!0,d)}function Zb(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 J(a){this.a=a||n.document||document}f=J.prototype;f.na=yb;f.Bb=function(a){this.a=a};f.ja=function(){return this.a};
f.C=function(a){return q(a)?this.a.getElementById(a):a};f.Ha=function(a){return q(a)?this.a.getElementById(a):a};f.O=J.prototype.C;f.Qa=function(a,b){return(b||this.a).getElementsByTagName(String(a))};f.D=function(a,b,c){return Bb(this.a,a,b,c)};f.pa=function(a,b,c){return Ab(this.a,a,b,c)};f.qa=function(a,b){var c=(b=b||this.a)||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Bb(document,"*",a,b)};f.oa=function(a,b){return zb(a,b||this.a)};
f.Ia=function(a,b){return zb(a,b||this.a)};f.P=J.prototype.D;f.Db=Cb;f.La=function(a){return Eb(a||M(this.a)||window)};f.ka=function(){var a=M(this.a),b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=Eb(a).height,L(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.B=function(a,b,c){var d=this.a,e=arguments,g=String(e[0]),h=e[1];if(!qb&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',Ma(h.name),'"');if(h.type){g.push(' type="',Ma(h.type),'"');var k={};La(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=d.createElement(g);h&&(q(h)?g.className=h:v(h)?g.className=h.join(" "):Cb(g,h));2<e.length&&Ib(d,g,e,2);return g};f.R=J.prototype.B;f.Pa=function(a){return this.a.createTextNode(String(a))};
f.W=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"),Fb=0;Fb<b;Fb++){var Gb=d.createElement("TD");c&&Qb(Gb,"\u00a0");k.appendChild(Gb)}g.appendChild(k)}return e};
f.yb=function(a){var b=this.a;var c=b.createElement("DIV");z?(a=eb(fb,a),vb(c,cb(a)),c.removeChild(c.firstChild)):vb(c,cb(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};f.gb=function(){return L(this.a)};f.ma=function(){return Hb(this.a)};
f.la=function(){var a=this.a,b=Hb(a);a=M(a);return z&&C("10")&&a.pageYOffset!=b.scrollTop?new I(b.scrollLeft,b.scrollTop):new I(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};f.ca=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.Na=function(a,b){a.appendChild(b)};f.Ma=function(a,b){Ib(K(a),a,arguments,1)};f.Oa=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.wb=Lb;f.fb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};f.eb=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};f.cb=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};f.Ra=N;f.Sa=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};f.ba=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 N(a)}};
f.ha=function(a){return rb&&void 0!=a.children?a.children:ua(a.childNodes,function(a){return 1==a.nodeType})};f.ra=function(a){return p(a.firstElementChild)?a.firstElementChild:O(a.firstChild,!0)};f.ua=function(a){return p(a.lastElementChild)?a.lastElementChild:O(a.lastChild,!1)};f.xa=function(a){return p(a.nextElementSibling)?a.nextElementSibling:O(a.nextSibling,!0)};f.Fa=function(a){return p(a.previousElementSibling)?a.previousElementSibling:O(a.previousSibling,!1)};
f.ya=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.Ga=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.lb=Jb;f.hb=Mb;f.nb=function(a){return w(a)&&a.window==a};f.Ea=function(a){var b;if(tb&&!(z&&C("9")&&!C("10")&&n.SVGElement&&a instanceof n.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Mb(b)?b:null};
f.contains=Nb;
f.U=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(z&&!(9<=Number(D))){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?Pb(a,b):!c&&Nb(e,b)?-1*Ob(a,b):!d&&Nb(g,a)?Ob(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}d=K(a);c=d.createRange();
c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(n.Range.START_TO_END,a)};f.Y=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.Da=K;f.sa=function(a){return a.contentDocument||a.contentWindow.document};
f.ta=function(a){try{var b;if(!(b=a.contentWindow)){if(a.contentDocument){var c=a.contentDocument;var d=c?M(c):window}else d=null;b=d}return b}catch(e){}return null};f.Eb=Qb;f.Ca=function(a){if("outerHTML"in a)return a.outerHTML;var b=K(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};f.Z=function(a,b){var c=[];return Rb(a,b,c,!0)?c[0]:void 0};f.$=function(a,b){var c=[];Rb(a,b,c,!1);return c};f.kb=Tb;f.Cb=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))};
f.jb=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&&(!Ub(a)||Vb(a)):Tb(a))&&z){var c;"function"!=u(a.getBoundingClientRect)||z&&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.Ka=Wb;f.Aa=function(a){return Wb(a).length};
f.Ba=function(a,b){b=b||K(a).body;for(var c=[];a&&a!=b;){for(var d=a;d=d.previousSibling;)c.unshift(Wb(d));a=a.parentNode}return c.join("").replace(/^[\s\xa0]+/,"").replace(/ +/g," ").length};
f.za=function(a,b,c){a=[a];for(var d=0,e=null;0<a.length&&d<b;)if(e=a.pop(),!(e.nodeName in Sb))if(3==e.nodeType){var g=e.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");d+=g.length}else if(e.nodeName in P)d+=P[e.nodeName].length;else for(g=e.childNodes.length-1;0<=g;g--)a.push(e.childNodes[g]);w(c)&&(c.vb=e?e.nodeValue.length+b-d-1:0,c.node=e);return e};f.mb=Kb;f.fa=Yb;f.ea=function(a,b,c){return Yb(a,null,b,c)};f.da=Zb;f.ga=function(a){return a.getContext("2d")};function $b(){var a=void 0===a?document:a;return a.querySelector('[ds-is="snackbar"]')};function Q(a){var b=HTMLElement.call(this)||this;a&&(q(a)&&(a=[a]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:a})));return b}ia(Q,HTMLElement);f=Q.prototype;f.connectedCallback=function(){ac(this)};f.v=function(){return""};function ac(a){var b=a.v();!a.hasAttribute("ds-is")&&b&&a.setAttribute("ds-is",b)}f.Gb=function(){console.warn(this.tagName,"has not implemented update")};
f.V=function(a){a=void 0===a?"":a;return document.createRange().createContextualFragment(a||"")};f.sb=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))};Q.prototype.connectedCallback=Q.prototype.connectedCallback;function bc(a,b){window.getSelection().removeAllRanges();var c=document.createElement("pre");c.style.position="absolute";c.style.top="-99999px";c.style.left="-99999px";Array.from(b.childNodes).forEach(function(a){a.classList&&a.classList.contains("no-select")||c.appendChild(a.cloneNode(!0))});a.appendChild(c);return c}
function cc(a,b){a=bc(a,b);b=!1;window.getSelection().selectAllChildren(a);window.getSelection().toString()&&document.queryCommandSupported("copy")&&(document.execCommand("copy"),b=!0);window.getSelection().removeAllRanges();N(a);return b}function dc(a,b){var c=document.createElement("pre");b.forEach(function(a){c.appendChild(a.cloneNode(!0))});b=$b();cc(a,c)&&b&&b.setAttribute("type","copied-to-clipboard");N(c)};function R(){this.g=this.g;this.b=this.b}f=R.prototype;f.g=!1;f.G=function(){return this.g};f.ia=R.prototype.G;f.u=function(){this.g||(this.g=!0,this.m())};f.ub=function(a){a=pa(ec,a);this.g?p(void 0)?a.call(void 0):a():(this.b||(this.b=[]),this.b.push(p(void 0)?x(a,void 0):a))};f.m=function(){if(this.b)for(;this.b.length;)this.b.shift()()};function ec(a){a&&"function"==typeof a.u&&a.u()};var fc=!z||9<=Number(D),gc=!z||9<=Number(D),hc=z&&!C("9"),ic=function(){if(!n.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{n.addEventListener("test",t,b),n.removeEventListener("test",t,b)}catch(c){}return a}();function S(a,b){this.type=a;this.b=this.target=b;this.L=this.f=!1;this.N=!0}S.prototype.i=function(){this.f=!0};S.prototype.c=function(){this.L=!0;this.N=!1};function T(a,b){S.call(this,a?a.type:"");this.relatedTarget=this.b=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.J=this.I=0;this.key="";this.F=this.H=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.K=null;this.M=!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(A){a:{try{Na(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.I=B||void 0!==a.offsetX?a.offsetX:a.layerX,this.J=B||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.H=a.keyCode||0;this.key=a.key||"";this.F=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.M=Sa?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=q(a.pointerType)?a.pointerType:jc[a.pointerType]||"";this.K=a.state;this.a=a;a.defaultPrevented&&this.c()}}qa(T,S);var kc=[1,4,2],jc={2:"touch",3:"pen",4:"mouse"};
T.prototype.S=function(){return(fc?0==this.a.button:"click"==this.type?!0:!!(this.a.button&kc[0]))&&!(B&&Sa&&this.ctrlKey)};T.prototype.i=function(){T.j.i.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};T.prototype.c=function(){T.j.c.call(this);var a=this.a;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,hc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};T.prototype.Hb=function(){return this.a};var U="closure_listenable_"+(1E6*Math.random()|0),lc=0;function mc(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=++lc;this.h=this.l=!1}function V(a){a.h=!0;a.listener=null;a.a=null;a.src=null;a.b=null};function nc(a){this.src=a;this.a={};this.b=0}f=nc.prototype;f.Va=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=oc(a,b,d,e);-1<h?(b=a[h],c||(b.l=!1)):(b=new mc(b,this.src,g,!!d,e),b.l=c,a.push(b));return b};
f.Xa=function(a,b,c,d){a=a.toString();if(!(a in this.a))return!1;var e=this.a[a];b=oc(e,b,c,d);return-1<b?(V(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.a[a],this.b--),!0):!1};f.Ya=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,V(d[e]);delete this.a[c];this.b--}return b};f.va=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.Wa=function(a,b){var c=p(a),d=c?a.toString():"",e=p(b);return Ja(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 oc(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.h&&g.listener==b&&g.capture==!!c&&g.b==d)return e}return-1};var pc="closure_lm_"+(1E6*Math.random()|0),qc={},rc=0;function sc(a,b,c,d,e){if(d&&d.once)return tc(a,b,c,d,e);if(v(b)){for(var g=0;g<b.length;g++)sc(a,b[g],c,d,e);return null}c=uc(c);return a&&a[U]?W(a,b,c,w(d)?!!d.capture:!!d,e):vc(a,b,c,!1,d,e)}
function vc(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=w(e)?!!e.capture:!!e,k=X(a);k||(a[pc]=k=new nc(a));c=k.add(b,c,d,h,g);if(c.a)return c;d=wc();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)ic||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(xc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");rc++;return c}
function wc(){var a=yc,b=gc?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 tc(a,b,c,d,e){if(v(b)){for(var g=0;g<b.length;g++)tc(a,b[g],c,d,e);return null}c=uc(c);return a&&a[U]?a.i(b,c,w(d)?!!d.capture:!!d,e):vc(a,b,c,!0,d,e)}
function zc(a){if(!r(a)&&a&&!a.h){var b=a.src;if(b&&b[U])b.a(a);else{var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(xc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);rc--;if(c=X(b)){d=a.type;if(d in c.a){var e=c.a[d],g=sa(e,a),h;(h=0<=g)&&Array.prototype.splice.call(e,g,1);h&&(V(a),0==c.a[d].length&&(delete c.a[d],c.b--))}0==c.b&&(c.src=null,b[pc]=null)}else V(a)}}}function xc(a){return a in qc?qc[a]:qc[a]="on"+a}
function Ac(a,b,c,d){var e=!0;if(a=X(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.h&&(g=Bc(g,d),e=e&&!1!==g)}return e}function Bc(a,b){var c=a.listener,d=a.b||a.src;a.l&&zc(a);return c.call(d,b)}
function yc(a,b){if(a.h)return!0;if(!gc){if(!b)a:{b=["window","event"];for(var c=n,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new T(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=Ac(d[e],a,!0,b);c=c&&g}for(e=0;!b.f&&e<d.length;e++)b.b=d[e],g=Ac(d[e],a,!1,b),c=
c&&g}return c}return Bc(a,new T(b,this))}function X(a){a=a[pc];return a instanceof nc?a:null}var Cc="__closure_events_fn_"+(1E9*Math.random()>>>0);function uc(a){if("function"==u(a))return a;a[Cc]||(a[Cc]=function(b){return a.handleEvent(b)});return a[Cc]};function Y(a){R.call(this);this.c=a;this.a={}}qa(Y,R);var Dc=[];function Ec(a,b,c){W(a,b,"click",c,void 0)}f=Y.prototype;f.pb=function(a,b,c,d,e){return W(this,a,b,c,d,e)};function W(a,b,c,d,e,g){v(c)||(c&&(Dc[0]=c.toString()),c=Dc);for(var h=0;h<c.length;h++){var k=sc(b,c[h],d||a.handleEvent,e||!1,g||a.c||a);if(!k)break;a.a[k.key]=k}return a}f.Ua=function(a,b,c,d){return Fc(this,a,b,c,d)};f.ob=function(a,b,c,d,e){return Fc(this,a,b,c,d,e)};
function Fc(a,b,c,d,e,g){if(v(c))for(var h=0;h<c.length;h++)Fc(a,b,c[h],d,e,g);else{b=tc(b,c,d||a.handleEvent,e,g||a.c||a);if(!b)return a;a.a[b.key]=b}return a}f.qb=function(a,b,c,d){W(b,a,c,d,this.c||this);return this};f.rb=function(a,b,c,d,e){W(b,a,c,d,e||this.c||this);return this};f.Ta=function(){var a=0,b;for(b in this.a)Object.prototype.hasOwnProperty.call(this.a,b)&&a++;return a};
function Gc(a,b,c,d,e,g){if(v(c))for(var h=0;h<c.length;h++)Gc(a,b,c[h],d,e,g);else d=d||a.handleEvent,e=w(e)?!!e.capture:!!e,g=g||a.c||a,d=uc(d),e=!!e,b&&b[U]?c=b.f(c,d,e,g):b?(b=X(b))?(c=b.a[c.toString()],b=-1,c&&(b=oc(c,d,e,g)),c=-1<b?c[b]:null):c=null:c=null,c&&(zc(c),delete a.a[c.key])}f.Fb=function(a,b,c,d,e){Gc(b,a,c,d,e||this.c||this,this);return this};function Hc(a){Ia(a.a,function(a,c){this.a.hasOwnProperty(c)&&zc(a)},a);a.a={}}f.m=function(){Y.j.m.call(this);Hc(this)};
f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Ic(a){var b=a(Jc,void 0,void 0);a=yb().a.createElement("DIV");b=Kc(b);vb(a,b);1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a}function Kc(a){if(!w(a))return String(a);if(a instanceof H){if(a.a===gb)return a.b;if(a.a===ib)return Ma(a.b)}return"zSoyz"}var Jc={};var Lc=!!document.queryCommandSupported("copy");function Z(){var a=Q.call(this,["devsite-snackbar"])||this;a.b=new Y;a.c=!1;a.a=null;return a}ia(Z,Q);function Mc(){return"devsite-heading"}Z.prototype.v=function(){return"heading"};Z.prototype.connectedCallback=function(){var a=this;ac(this);this.c||(window.requestAnimationFrame(function(){Nc(a);Oc(a);a.dispatchEvent(new CustomEvent("devsite-content-updated",{bubbles:!0}))}),this.c=!0)};Z.prototype.disconnectedCallback=function(){Hc(this.b)};
function Oc(a){if(a.a){if(a.id&&a.hasAttribute("link")){var b=a.querySelector(".devsite-heading-link");b||(b=Ic(ob),Ec(a.b,b,function(){var b=new URL(document.location.toString());b.hash=a.id;var d=document.createElement("div");d.innerText=b.href;dc(a,[d]);N(d)}),a.a.appendChild(b))}"landing"!==document.body.getAttribute("type")&&"h2"===a.getAttribute("level")&&(b=Ic(pb),a.a.appendChild(b),a.setAttribute("back-to-top",""))}}
function Nc(a){a.a=a.querySelector("h1, h2, h3, h4, h5, h6");if(a.a){var b=a.a.tagName.toLowerCase(),c=Pc(a.a);a.hasAttribute("text")||(c||N(a),a.setAttribute("text",c));if(!a.id){var d=a.a.id||a.a.getAttribute("name");d?(a.id=d,a.a.removeAttribute("id"),a.a.removeAttribute("name")):a.id=Qc((void 0===c?"":c).toLowerCase().trim().replace(/\s+/g,"-").replace(/[!@#\$%\^&\*\(\)\{\}<>\?\\\/'"]+/g,"").trim()||"heading")}a.hasAttribute("level")||a.setAttribute("level",b);a.hasAttribute("link")||(c=Yb(a,
"th"),"h1"==b||c||!Lc||a.a.classList.contains("no-link")||a.setAttribute("link",""));a.hasAttribute("toc")||"h2"!==b&&"h3"!==b||a.a.classList.contains("hide-from-toc")||"contents"===a.id||"table-of-contents"===a.id||a.setAttribute("toc","");b=Array.from(a.a.classList).filter(function(a){return"no-link"!==a&&"hide-from-toc"!==a});a.classList.add.apply(a.classList,b instanceof Array?b:ca(ba(b)));a.a.classList.remove.apply(a.a.classList,b instanceof Array?b:ca(ba(b)))}}
function Pc(a){return Array.from(a.childNodes).filter(function(a){return a.textContent&&(3===a.nodeType||1===a.nodeType&&!a.classList.contains("material-icons")&&null!==a.offsetParent)}).map(function(a){return a.textContent.trim()}).join("")}function Qc(a){for(var b=a,c=1;document.getElementById(b);)b=a+"_"+c++;return b}Z.prototype.disconnectedCallback=Z.prototype.disconnectedCallback;Z.prototype.connectedCallback=Z.prototype.connectedCallback;Z.getTagName=Mc;try{window.customElements.define(Mc(),Z)}catch(a){console.warn("devsite.app.customElement.DevsiteHeading",a)};}).call(this);