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.
446 lines
212 KiB
446 lines
212 KiB
5 years ago
|
(function(){'use strict';var k;function aa(c){var d=0;return function(){return d<c.length?{done:!1,value:c[d++]}:{done:!0}}}function m(c){var d="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator];return d?d.call(c):{next:aa(c)}}function ba(c){if(!(c instanceof Array)){c=m(c);for(var d,e=[];!(d=c.next()).done;)e.push(d.value);c=e}return c}var da="function"==typeof Object.create?Object.create:function(c){function d(){}d.prototype=c;return new d},ea;
|
||
|
if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={nc:!0},ia={};try{ia.__proto__=ha;fa=ia.nc;break a}catch(c){}fa=!1}ea=fa?function(c,d){c.__proto__=d;if(c.__proto__!==d)throw new TypeError(c+" is not extensible");return c}:null}var ja=ea;
|
||
|
function p(c,d){c.prototype=da(d.prototype);c.prototype.constructor=c;if(ja)ja(c,d);else for(var e in d)if("prototype"!=e)if(Object.defineProperties){var f=Object.getOwnPropertyDescriptor(d,e);f&&Object.defineProperty(c,e,f)}else c[e]=d[e];c.ia=d.prototype}var r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ka="function"==typeof Object.defineProperties?Object.defineProperty:function(c,d,e){c!=Array.prototype&&c!=Object.prototype&&(c[d]=e.value)};
|
||
|
function la(c,d){if(d){var e=r;c=c.split(".");for(var f=0;f<c.length-1;f++){var g=c[f];g in e||(e[g]={});e=e[g]}c=c[c.length-1];f=e[c];d=d(f);d!=f&&null!=d&&ka(e,c,{configurable:!0,writable:!0,value:d})}}
|
||
|
la("Promise",function(c){function d(c){this.b=0;this.c=void 0;this.a=[];var d=this.f();try{c(d.resolve,d.reject)}catch(q){d.reject(q)}}function e(){this.a=null}function f(c){return c instanceof d?c:new d(function(d){d(c)})}if(c)return c;e.prototype.b=function(c){if(null==this.a){this.a=[];var d=this;this.c(function(){d.g()})}this.a.push(c)};var g=r.setTimeout;e.prototype.c=function(c){g(c,0)};e.prototype.g=function(){for(;this.a&&this.a.length;){var c=this.a;this.a=[];for(var d=0;d<c.length;++d){var e=
|
||
|
c[d];c[d]=null;try{e()}catch(w){this.f(w)}}}this.a=null};e.prototype.f=function(c){this.c(function(){throw c;})};d.prototype.f=function(){function c(c){return function(f){e||(e=!0,c.call(d,f))}}var d=this,e=!1;return{resolve:c(this.v),reject:c(this.g)}};d.prototype.v=function(c){if(c===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(c instanceof d)this.w(c);else{a:switch(typeof c){case "object":var e=null!=c;break a;case "function":e=!0;break a;default:e=!1}e?this.s(c):this.h(c)}};
|
||
|
d.prototype.s=function(c){var d=void 0;try{d=c.then}catch(q){this.g(q);return}"function"==typeof d?this.C(d,c):this.h(c)};d.prototype.g=function(c){this.i(2,c)};d.prototype.h=function(c){this.i(1,c)};d.prototype.i=function(c,d){if(0!=this.b)throw Error("Cannot settle("+c+", "+d+"): Promise already settled in state"+this.b);this.b=c;this.c=d;this.m()};d.prototype.m=function(){if(null!=this.a){for(var c=0;c<this.a.length;++c)h.b(this.a[c]);this.a=null}};var h=new e;d.prototype.w=function(c){var d=this.f();
|
||
|
c.Ja(d.resolve,d.reject)};d.prototype.C=function(c,d){var e=this.f();try{c.call(d,e.resolve,e.reject)}catch(w){e.reject(w)}};d.prototype.then=function(c,e){function f(c,d){return"function"==typeof c?function(d){try{g(c(d))}catch(lc){h(lc)}}:d}var g,h,l=new d(function(c,d){g=c;h=d});this.Ja(f(c,g),f(e,h));return l};d.prototype.catch=function(c){return this.then(void 0,c)};d.prototype.Ja=function(c,d){function e(){switch(f.b){case 1:c(f.c);break;case 2:d(f.c);break;default:throw Error("Unexpected state: "+
|
||
|
f.b);}}var f=this;null==this.a?h.b(e):this.a.push(e)};d.resolve=f;d.reject=function(c){return new d(function(d,e){e(c)})};d.race=function(c){return new d(function(d,e){for(var g=m(c),h=g.next();!h.done;h=g.next())f(h.value).Ja(d,e)})};d.all=function(c){var e=m(c),g=e.next();return g.done?f([]):new d(function(c,d){function h(d){return function(e){l[d]=e;n--;0==n&&c(l)}}var l=[],n=0;do l.push(void 0),n++,f(g.value).Ja(h(l.length-1),d),g=e.next();while(!g.done)})};return d});
|
||
|
function ma(){ma=function(){};r.Symbol||(r.Symbol=na)}function oa(c,d){this.a=c;ka(this,"description",{configurable:!0,writable:!0,value:d})}oa.prototype.toString=function(){return this.a};var na=function(){function c(e){if(this instanceof c)throw new TypeError("Symbol is not a constructor");return new oa("jscomp_symbol_"+(e||"")+"_"+d++,e)}var d=0;return c}();
|
||
|
function pa(){ma();var c=r.Symbol.iterator;c||(c=r.Symbol.iterator=r.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[c]&&ka(Array.prototype,c,{configurable:!0,writable:!0,value:function(){return qa(aa(this))}});pa=function(){}}function qa(c){pa();c={next:c};c[r.Symbol.iterator]=function(){return this};return c}function ra(c){if(!(c instanceof Object))throw new TypeError("Iterator result "+c+" is not an object");}
|
||
|
function sa(){this.i=!1;this.g=null;this.c=void 0;this.a=1;this.h=this.b=0;this.m=this.f=null}function ta(c){if(c.i)throw new TypeError("Generator is already running");c.i=!0}k=sa.prototype;k.Ta=function(c){this.c=c};function ua(c,d){c.f={Ib:d,Pb:!0};c.a=c.b||c.h}k.return=function(c){this.f={return:c};this.a=this.h};k.mg=function(c){this.f={K:c};this.a=this.h};function t(c,d,e){c.a=e;return{value:d}}
|
||
|
k.Fj=function(c,d){c=m(c);var e=c.next();ra(e);if(e.done)this.c=e.value,this.a=d;else return this.g=c,t(this,e.value,d)};k.K=function(c){this.a=c};k.Fh=function(c){this.b=0;this.h=c||0};function va(c,d){c.a=d;c.b=0}function wa(c){c.b=0;var d=c.f.Ib;c.f=null;return d}k.Sd=function(c,d,e){e?this.m[e]=this.f:this.m=[this.f];this.b=c||0;this.h=d||0};
|
||
|
k.og=function(c,d){d=this.m.splice(d||0)[0];(d=this.f=this.f||d)?d.Pb?this.a=this.b||this.h:void 0!=d.K&&this.h<d.K?(this.a=d.K,this.f=null):this.a=this.h:this.a=c};k.ee=function(c){return new xa(c)};function xa(c){this.b=c;this.a=[];for(var d in c)this.a.push(d);this.a.reverse()}xa.prototype.c=function(){for(;0<this.a.length;){var c=this.a.pop();if(c in this.b)return c}return null};function ya(c){this.a=new sa;this.b=c}
|
||
|
function za(c,d){ta(c.a);var e=c.a.g;if(e)return Aa(c,"return"in e?e["return"]:function(c){return{value:c,done:!0}},d,c.a.return);c.a.return(d);return Ba(c)}function Aa(c,d,e,f){try{var g=d.call(c.a.g,e);ra(g);if(!g.done)return c.a.i=!1,g;var h=g.value}catch(l){return c.a.g=null,ua(c.a,l),Ba(c)}c.a.g=null;f.call(c.a,h);return Ba(c)}
|
||
|
function Ba(c){for(;c.a.a;)try{var d=c.b(c.a);if(d)return c.a.i=!1,{value:d.value,done:!1}}catch(e){c.a.c=void 0,ua(c.a,e)}c.a.i=!1;if(c.a.f){d=c.a.f;c.a.f=null;if(d.Pb)throw d.Ib;return{value:d.return,done:!0}}return{value:void 0,done:!0}}
|
||
|
function Ca(c){this.next=function(d){ta(c.a);c.a.g?d=Aa(c,c.a.g.next,d,c.a.Ta):(c.a.Ta(d),d=Ba(c));return d};this.throw=function(d){ta(c.a);c.a.g?d=Aa(c,c.a.g["throw"],d,c.a.Ta):(ua(c.a,d),d=Ba(c));return d};this.return=function(d){return za(c,d)};pa();this[Symbol.iterator]=function(){return this}}
|
||
|
function Da(c){function d(d){return c.next(d)}function e(d){return c.throw(d)}return new Promise(function(f,g){function h(c){c.done?f(c.value):Promise.resolve(c.value).then(d,e).then(h,g)}h(c.next())})}function u(c){return Da(new Ca(new ya(c)))}
|
||
|
function Ea(c,d,e){if(null==c)throw new TypeError("The 'this' value for String.prototype."+e+" must not be null or undefined");if(d instanceof RegExp)throw new TypeError("First argument to String.prototype."+e+" must not be a regular expression");return c+""}la("String.prototype.startsWith",function(c){return c?c:function(c,e){var d=Ea(this,c,"startsWith"),g=d.length,h=c.length;e=Math.max(0,Math.min(e|0,d.length));for(var l=0;l<h&&e<g;)if(d[e++]!=c[l++])return!1;return l>=h}});
|
||
|
la("String.prototype.endsWith",function(c){return c?c:function(c,e){var d=Ea(this,c,"endsWith");void 0===e&&(e=d.length);e=Math.max(0,Math.min(e|0,d.length));for(var g=c.length;0<g&&0<e;)if(d[--e]!=c[--g])return!1;return 0>=g}});la("Array.prototype.find",function(c){return c?c:function(c,e){a:{var d=this;d instanceof String&&(d=String(d));for(var g=d.length,h=0;h<g;h++){var l=d[h];if(c.call(e,l,h,d)){c=l;break a}}c=void 0}return c}});
|
||
|
la("Array.from",function(c){return c?c:function(c,e,f){e=null!=e?e:function(c){return c};var d=[],h="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator];if("function"==typeof h){c=h.call(c);for(var l=0;!(h=c.next()).done;)d.push(e.call(f,h.value,l++))}else for(h=c.length,l=0;l<h;l++)d.push(e.call(f,c[l],l));return d}});la("Object.is",function(c){return c?c:function(c,e){return c===e?0!==c||1/c===1/e:c!==c&&e!==e}});
|
||
|
la("Array.prototype.includes",function(c){return c?c:function(c,e){var d=this;d instanceof String&&(d=String(d));var g=d.length;e=e||0;for(0>e&&(e=Math.max(e+g,0));e<g;e++){var h=d[e];if(h===c||Object.is(h,c))return!0}return!1}});la("String.prototype.includes",function(c){return c?c:function(c,e){return-1!==Ea(this,c,"includes").indexOf(c,e||0)}});function Fa(c,d){return Object.prototype.hasOwnProperty.call(c,d)}
|
||
|
la("WeakMap",function(c){function d(c){this.a=(l+=Math.random()+1).toString();if(c){c=m(c);for(var d;!(d=c.next()).done;)d=d.value,this.set(d[0],d[1])}}function e(){}function f(c){Fa(c,h)||ka(c,h,{value:new e})}function g(c){var d=Object[c];d&&(Object[c]=function(c){if(c instanceof e)return c;f(c);return d(c)})}if(function(){if(!c||!Object.seal)return!1;try{var d=Object.seal({}),e=Object.seal({}),f=new c([[d,2],[e,3]]);if(2!=f.get(d)||3!=f.get(e))return!1;f.delete(d);f.set(e,4);return!f.has(d)&&4==
|
||
|
f.get(e)}catch(F){return!1}}())return c;var h="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var l=0;d.prototype.set=function(c,d){f(c);if(!Fa(c,h))throw Error("WeakMap key fail: "+c);c[h][this.a]=d;return this};d.prototype.get=function(c){return Fa(c,h)?c[h][this.a]:void 0};d.prototype.has=function(c){return Fa(c,h)&&Fa(c[h],this.a)};d.prototype.delete=function(c){return Fa(c,h)&&Fa(c[h],this.a)?delete c[h][this.a]:!1};return d});
|
||
|
la("Map",function(c){function d(){var c={};return c.ha=c.next=c.head=c}function e(c,d){var e=c.a;return qa(function(){if(e){for(;e.head!=c.a;)e=e.ha;for(;e.next!=e.head;)return e=e.next,{done:!1,value:d(e)};e=null}return{done:!0,value:void 0}})}function f(c,d){var e=d&&typeof d;"object"==e||"function"==e?h.has(d)?e=h.get(d):(e=""+ ++l,h.set(d,e)):e="p_"+d;var f=c.b[e];if(f&&Fa(c.b,e))for(c=0;c<f.length;c++){var g=f[c];if(d!==d&&g.key!==g.key||d===g.key)return{id:e,list:f,index:c,M:g}}return{id:e,
|
||
|
list:f,index:-1,M:void 0}}function g(c){this.b={};this.a=d();this.size=0;if(c){c=m(c);for(var e;!(e=c.next()).done;)e=e.value,this.set(e[0],e[1])}}if(function(){if(!c||"function"!=typeof c||!c.prototype.entries||"function"!=typeof Object.seal)return!1;try{var d=Object.seal({x:4}),e=new c(m([[d,"s"]]));if("s"!=e.get(d)||1!=e.size||e.get({x:4})||e.set({x:4},"t")!=e||2!=e.size)return!1;var f=e.entries(),g=f.next();if(g.done||g.value[0]!=d||"s"!=g.value[1])return!1;g=f.next();return g.done||4!=g.value[0].x||
|
||
|
"t"!=g.value[1]||!f.next().done?!1:!0}catch(ca){return!1}}())return c;pa();var h=new WeakMap;g.prototype.set=function(c,d){c=0===c?0:c;var e=f(this,c);e.list||(e.list=this.b[e.id]=[]);e.M?e.M.value=d:(e.M={next:this.a,ha:this.a.ha,head:this.a,key:c,value:d},e.list.push(e.M),this.a.ha.next=e.M,this.a.ha=e.M,this.size++);return this};g.prototype.delete=function(c){c=f(this,c);return c.M&&c.list?(c.list.splice(c.index,1),c.list.length||delete this.b[c.id],c.M.ha.next=c.M.next,c.M.next.ha=c.M.ha,c.M.head=
|
||
|
null,this.size--,!0):!1};g.prototype.clear=function(){this.b={};this.a=this.a.ha=d();this.size=0};g.prototype.has=function(c){return!!f(this,c).M};g.prototype.get=function(c){return(c=f(this,c).M)&&c.value};g.prototype.entries=function(){return e(this,function(c){return[c.key,c.value]})};g.prototype.keys=function(){return e(this,function(c){return c.key})};g.prototype.values=function(){return e(this,function(c){return c.value})};g.prototype.forEach=function(c,d){for(var e=this.entries(),f;!(f=e.next()).done;)f=
|
||
|
f.value,c.call(d,f[1],f[0],this)};g.prototype[Symbol.iterator]=g.prototype.entries;var l=0;return g});
|
||
|
la("Set",function(c){function d(c){this.a=new Map;if(c){c=m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.a.size}if(function(){if(!c||"function"!=typeof c||!c.prototype.entries||"function"!=typeof Object.seal)return!1;try{var d=Object.seal({x:4}),f=new c(m([d]));if(!f.has(d)||1!=f.size||f.add(d)!=f||1!=f.size||f.add({x:4})!=f||2!=f.size)return!1;var g=f.entries(),h=g.next();if(h.done||h.value[0]!=d||h.value[1]!=d)return!1;h=g.next();return h.done||h.value[0]==d||4!=h.value[0].x||
|
||
|
h.value[1]!=h.value[0]?!1:g.next().done}catch(l){return!1}}())return c;pa();d.prototype.add=function(c){c=0===c?0:c;this.a.set(c,c);this.size=this.a.size;return this};d.prototype.delete=function(c){c=this.a.delete(c);this.size=this.a.size;return c};d.prototype.clear=function(){this.a.clear();this.size=0};d.prototype.has=function(c){return this.a.has(c)};d.prototype.entries=function(){return this.a.entries()};d.prototype.values=function(){return this.a.values()};d.prototype.keys=d.prototype.values;
|
||
|
d.prototype[Symbol.iterator]=d.prototype.values;d.prototype.forEach=function(c,d){var e=this;this.a.forEach(function(f){return c.call(d,f,f,e)})};return d});la("Object.entries",function(c){return c?c:function(c){var d=[],f;for(f in c)Fa(c,f)&&d.push([f,c[f]]);return d}});var Ga="function"==typeof Object.assign?Object.assign:function(c,d){for(var e=1;e<arguments.length;e++){var f=arguments[e];if(f)for(var g in f)Fa(f,g)&&(c[g]=f[g])}return c};la("Object.assign",function(c){return c||Ga});var v=this;
|
||
|
function x(c){return void 0!==c}function y(c){return"string"==typeof c}function Ha(c){return"number"==typeof c}function Ia(c){c=c.split(".");for(var d=v,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d}function Ja(){}
|
||
|
function Ka(c){var d=typeof c;if("object"==d)if(c){if(c instanceof Array)return"array";if(c instanceof Object)return d;var e=Object.prototype.toString.call(c);if("[object Window]"==e)return"object";if("[object Array]"==e||"number"==typeof c.length&&"undefined"!=typeof c.splice&&"undefined"!=typeof c.propertyIsEnumerable&&!c.propertyIsEnumerable("splice"))return"array";if("[object Function]"==e||"undefined"!=typeof c.call&&"undefined"!=typeof c.propertyIsEnumerable&&!c.propertyIsEnumerable("call"))return"function"}else return"null";
|
||
|
else if("function"==d&&"undefined"==typeof c.call)return"object";return d}function z(c){return"array"==Ka(c)}function La(c){var d=Ka(c);return"array"==d||"object"==d&&"number"==typeof c.length}function Ma(c){return"function"==Ka(c)}function Na(c){var d=typeof c;return"object"==d&&null!=c||"function"==d}var Oa="closure_uid_"+(1E9*Math.random()>>>0),Pa=0;function Qa(c,d,e){return c.call.apply(c.bind,arguments)}
|
||
|
function Ra(c,d,e){if(!c)throw Error();if(2<arguments.length){var f=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,f);return c.apply(d,e)}}return function(){return c.apply(d,arguments)}}function Sa(c,d,e){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Sa=Qa:Sa=Ra;return Sa.apply(null,arguments)}
|
||
|
function Ta(c,d){var e=Array.prototype.slice.call(arguments,1);return function(){var d=e.slice();d.push.apply(d,arguments);return c.apply(this,d)}}var Ua=Date.now||function(){return+new Date};
|
||
|
function Va(c){if(v.execScript)v.execScript(c,"JavaScript");else if(v.eval){if(null==Wa){try{v.eval("var _evalTest_ = 1;")}catch(f){}if("undefined"!=typeof v._evalTest_){try{delete v._evalTest_}catch(f){}Wa=!0}else Wa=!1}if(Wa)v.eval(c);else{var d=v.document,e=d.createElement("SCRIPT");e.type="text/javascript";e.defer=!1;e.appendChild(d.createTextNode(c));d.head.appendChild(e);d.head.removeChild(e)}}else throw Error("goog.globalEval not available");}var Wa=null;
|
||
|
function Xa(c,d){c=c.split(".");var e=v;c[0]in e||"undefined"==typeof e.execScript||e.execScript("var "+c[0]);for(var f;c.length&&(f=c.shift());)!c.length&&x(d)?e[f]=d:e[f]&&e[f]!==Object.prototype[f]?e=e[f]:e=e[f]={}}function A(c,d){function e(){}e.prototype=d.prototype;c.ia=d.prototype;c.prototype=new e;c.prototype.constructor=c;c.pd=function(c,e,h){for(var f=Array(arguments.length-2),g=2;g<arguments.length;g++)f[g-2]=arguments[g];return d.prototype[e].apply(c,f)}};function Ya(c){if(Error.captureStackTrace)Error.captureStackTrace(this,Ya);else{var d=Error().stack;d&&(this.stack=d)}c&&(this.message=String(c));this.b=!0}A(Ya,Error);Ya.prototype.name="CustomError";var Za;function $a(c,d){for(var e=c.split("%s"),f="",g=e.length-1,h=0;h<g;h++)f+=e[h]+(h<d.length?d[h]:"%s");Ya.call(this,f+e[g]);this.a=c}A($a,Ya);$a.prototype.name="AssertionError";function ab(c){return c[c.length-1]}
|
||
|
var bb=Array.prototype.indexOf?function(c,d){return Array.prototype.indexOf.call(c,d,void 0)}:function(c,d){if(y(c))return y(d)&&1==d.length?c.indexOf(d,0):-1;for(var e=0;e<c.length;e++)if(e in c&&c[e]===d)return e;return-1},C=Array.prototype.forEach?function(c,d,e){Array.prototype.forEach.call(c,d,e)}:function(c,d,e){for(var f=c.length,g=y(c)?c.split(""):c,h=0;h<f;h++)h in g&&d.call(e,g[h],h,c)},cb=Array.prototype.filter?function(c,d){return Array.prototype.filter.call(c,d,void 0)}:function(c,d){for(var e=
|
||
|
c.length,f=[],g=0,h=y(c)?c.split(""):c,l=0;l<e;l++)if(l in h){var n=h[l];d.call(void 0,n,l,c)&&(f[g++]=n)}return f},db=Array.prototype.map?function(c,d,e){return Array.prototype.map.call(c,d,e)}:function(c,d,e){for(var f=c.length,g=Array(f),h=y(c)?c.split(""):c,l=0;l<f;l++)l in h&&(g[l]=d.call(e,h[l],l,c));return g};function eb(c,d){return 0<=bb(c,d)}function fb(c,d){d=bb(c,d);var e;(e=0<=d)&&Array.prototype.splice.call(c,d,1);return e}
|
||
|
function gb(c){return Array.prototype.concat.apply([],arguments)}function hb(c){var d=c.length;if(0<d){for(var e=Array(d),f=0;f<d;f++)e[f]=c[f];return e}return[]}function ib(c,d){for(var e=1;e<arguments.length;e++){var f=arguments[e];if(La(f)){var g=c.length||0,h=f.length||0;c.length=g+h;for(var l=0;l<h;l++)c[g+l]=f[l]}else c.push(f)}}function jb(c,d,e){return 2>=arguments.length?Array.prototype.slice.call(c,d):Array.prototype.slice.call(c,d,e)}
|
||
|
function kb(c,d,e){if(!La(c)||!La(d)||c.length!=d.length)return!1;var f=c.length;e=e||lb;for(var g=0;g<f;g++)if(!e(c[g],d[g]))return!1;return!0}function lb(c,d){return c===d}function mb(c,d){return gb.apply([],db(c,d,void 0))};function nb(c){if(8192>=c.length)return String.fromCharCode.apply(null,c);for(var d="",e=0;e<c.length;e+=8192)d+=String.fromCharCode.apply(null,jb(c,e,e+8192));return d};var ob=String.prototype.trim?function(c){return c.trim()}:function(c){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(c)[1]};
|
||
|
function pb(c,d){if(d)c=c.replace(qb,"&").replace(rb,"<").replace(sb,">").replace(tb,""").replace(ub,"'").replace(vb,"�");else{if(!wb.test(c))return c;-1!=c.indexOf("&")&&(c=c.replace(qb,"&"));-1!=c.indexOf("<")&&(c=c.replace(rb,"<"));-1!=c.indexOf(">")&&(c=c.replace(sb,">"));-1!=c.indexOf('"')&&(c=c.replace(tb,"""));-1!=c.indexOf("'")&&(c=c.replace(ub,"'"));-1!=c.indexOf("\x00")&&(c=c.replace(vb,"�"))}return c}
|
||
|
var qb=/&/g,rb=/</g,sb=/>/g,tb=/"/g,ub=/'/g,vb=/\x00/g,wb=/[\x00&<>"']/;function xb(c){return-1!=yb.toLowerCase().indexOf(c.toLowerCase())}
|
||
|
function zb(c,d){var e=0;c=ob(String(c)).split(".");d=ob(String(d)).split(".");for(var f=Math.max(c.length,d.length),g=0;0==e&&g<f;g++){var h=c[g]||"",l=d[g]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==h[0].length&&0==l[0].length)break;e=Ab(0==h[1].length?0:parseInt(h[1],10),0==l[1].length?0:parseInt(l[1],10))||Ab(0==h[2].length,0==l[2].length)||Ab(h[2],l[2]);h=h[3];l=l[3]}while(0==e)}return e}function Ab(c,d){return c<d?-1:c>d?1:0};function Bb(c){return c=pb(c,void 0)}function Cb(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Ua()).toString(36)}var Db=2147483648*Math.random()|0;function Eb(c){return String(c).replace(/\-([a-z])/g,function(c,e){return e.toUpperCase()})}
|
||
|
function Fb(c){var d=y(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return c.replace(new RegExp("(^"+(d?"|["+d+"]+":"")+")([a-z])","g"),function(c,d,g){return d+g.toUpperCase()})};var yb;a:{var Gb=v.navigator;if(Gb){var Hb=Gb.userAgent;if(Hb){yb=Hb;break a}}yb=""}function D(c){return-1!=yb.indexOf(c)};function Ib(c,d,e){for(var f in c)d.call(e,c[f],f,c)}function Jb(c,d){for(var e in c)if(d.call(void 0,c[e],e,c))return!0;return!1}function Kb(c){var d=[],e=0,f;for(f in c)d[e++]=f;return d}function Lb(c){var d={},e;for(e in c)d[e]=c[e];return d}var Mb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
||
|
function Nb(c,d){for(var e,f,g=1;g<arguments.length;g++){f=arguments[g];for(e in f)c[e]=f[e];for(var h=0;h<Mb.length;h++)e=Mb[h],Object.prototype.hasOwnProperty.call(f,e)&&(c[e]=f[e])}}function Ob(c){var d=arguments.length;if(1==d&&z(arguments[0]))return Ob.apply(null,arguments[0]);for(var e={},f=0;f<d;f++)e[arguments[f]]=!0;return e};function Pb(){return D("Firefox")||D("FxiOS")}function Qb(){return D("Safari")&&!(Rb()||D("Coast")||D("Opera")||D("Edge")||Pb()||D("Silk")||D("Android"))}function Rb(){return(D("Chrome")||D("CriOS"))&&!D("Edge")}function Sb(){return D("Android")&&!(Rb()||Pb()||D("Opera")||D("Silk"))};function Tb(){return D("iPhone")&&!D("iPod")&&!D("iPad")}function Ub(){return Tb()||D("iPad")||D("iPod")};function Vb(c){Vb[" "](c);return c}Vb[" "]=Ja;function Wb(c,d){var e=E.Ec;return Object.prototype.hasOwnProperty.call(e,c)?e[c]:e[c]=d(c)};var E={Va:!1,Ua:!1,rb:!1,vb:!1,Xa:!1,Ya:!1,dc:!1};E.wa=E.Va||E.Ua||E.rb||E.Xa||E.vb||E.Ya;E.Lb=function(){return yb};E.fb=function(){return v.navigator||null};E.Ie=function(){return E.fb()};E.ka=E.wa?E.Ya:D("Opera");E.u=E.wa?E.Va:D("Trident")||D("MSIE");E.na=E.wa?E.Ua:D("Edge");E.Rc=E.na||E.u;E.ba=E.wa?E.rb:D("Gecko")&&!(xb("WebKit")&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge");E.N=E.wa?E.vb||E.Xa:xb("WebKit")&&!D("Edge");E.Cc=function(){return E.N&&D("Mobile")};E.Xc=E.Xa||E.Cc();E.Eb=E.N;
|
||
|
E.tc=function(){var c=E.fb();return c&&c.platform||""};E.Yc=E.tc();E.tb=!1;E.wb=!1;E.sb=!1;E.xb=!1;E.va=!1;E.ma=!1;E.la=!1;E.Wa=!1;E.fc=!1;E.ec=!1;E.W=E.tb||E.wb||E.sb||E.xb||E.va||E.ma||E.la||E.Wa;E.Za=E.W?E.tb:D("Macintosh");E.pa=E.W?E.wb:D("Windows");E.Bc=function(){return D("Linux")||D("CrOS")};E.Wc=E.W?E.sb:E.Bc();E.Fc=function(){var c=E.fb();return!!c&&-1!=(c.appVersion||"").indexOf("X11")};E.Zc=E.W?E.xb:E.Fc();E.ob=E.W?E.va:D("Android");E.Ab=E.W?E.ma:Tb();E.zb=E.W?E.la:D("iPad");
|
||
|
E.Uc=E.W?E.Wa:D("iPod");E.Tc=E.W?E.ma||E.la||E.Wa:Ub();E.Vc=E.W?E.fc:xb("KaiOS");E.Sc=E.W?E.ec:xb("GAFP");E.eb=function(){var c="",d=E.wc();d&&(c=d?d[1]:"");return E.u&&(d=E.Kb(),null!=d&&d>parseFloat(c))?String(d):c};E.wc=function(){var c=E.Lb();if(E.ba)return/rv:([^\);]+)(\)|;)/.exec(c);if(E.na)return/Edge\/([\d\.]+)/.exec(c);if(E.u)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(E.N)return/WebKit\/(\S+)/.exec(c);if(E.ka)return/(?:Version)[ \/]?(\S+)/.exec(c)};
|
||
|
E.Kb=function(){var c=v.document;return c?c.documentMode:void 0};E.VERSION=E.eb();E.compare=function(c,d){return zb(c,d)};E.Ec={};E.$=function(c){return E.dc||Wb(c,function(){return 0<=zb(E.VERSION,c)})};E.Na=E.$;E.Z=function(c){return Number(E.yb)>=c};E.Yf=E.Z;var Xb;var Yb=v.document;Xb=Yb&&E.u?E.Kb()||("CSS1Compat"==Yb.compatMode?parseInt(E.VERSION,10):5):void 0;E.yb=Xb;E.product={};E.product.qb=!1;E.product.ma=!1;E.product.la=!1;E.product.va=!1;E.product.pb=!1;E.product.ub=!1;E.product.oa=E.Va||E.Ua||E.Ya||E.product.qb||E.product.ma||E.product.la||E.product.va||E.product.pb||E.product.ub;E.product.ka=E.ka;E.product.u=E.u;E.product.na=E.na;E.product.hc=E.product.oa?E.product.qb:Pb();E.product.Ac=function(){return Tb()||D("iPod")};E.product.Ab=E.product.oa?E.product.ma:E.product.Ac();E.product.zb=E.product.oa?E.product.la:D("iPad");
|
||
|
E.product.ob=E.product.oa?E.product.va:Sb();E.product.gc=E.product.oa?E.product.pb:Rb();E.product.Dc=function(){return Qb()&&!Ub()};E.product.Eb=E.product.oa?E.product.ub:E.product.Dc();var Zb=null,$b=null,ac=null;function bc(c,d){cc();d=d?ac:Zb;for(var e=[],f=0;f<c.length;f+=3){var g=c[f],h=f+1<c.length,l=h?c[f+1]:0,n=f+2<c.length,q=n?c[f+2]:0,w=g>>2;g=(g&3)<<4|l>>4;l=(l&15)<<2|q>>6;q&=63;n||(q=64,h||(l=64));e.push(d[w],d[g],d[l],d[q])}return e.join("")}function dc(c){var d=c.length,e=0;"="===c[d-2]?e=2:"="===c[d-1]&&(e=1);var f=new Uint8Array(Math.ceil(3*d/4)-e),g=0;ec(c,function(c){f[g++]=c});return f.subarray(0,g)}
|
||
|
function ec(c,d){function e(d){for(;f<c.length;){var e=c.charAt(f++),g=$b[e];if(null!=g)return g;if(!/^[\s\xa0]*$/.test(e))throw Error("Unknown base64 encoding at char: "+e);}return d}cc();for(var f=0;;){var g=e(-1),h=e(0),l=e(64),n=e(64);if(64===n&&-1===g)break;d(g<<2|h>>4);64!=l&&(d(h<<4&240|l>>2),64!=n&&d(l<<6&192|n))}}
|
||
|
function cc(){if(!Zb){Zb={};$b={};ac={};for(var c=0;65>c;c++)Zb[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),$b[Zb[c]]=c,ac[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c),62<=c&&($b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c)]=c)}};var G=0,H=0;function fc(c){var d=c>>>0;c=Math.floor((c-d)/4294967296)>>>0;G=d;H=c}function gc(c){var d=0>c;c=Math.abs(c);var e=c>>>0;c=Math.floor((c-e)/4294967296);c>>>=0;d&&(c=~c>>>0,e=(~e>>>0)+1,4294967295<e&&(e=0,c++,4294967295<c&&(c=0)));G=e;H=c}
|
||
|
function hc(c){var d=0>c?1:0;c=d?-c:c;if(0===c)0<1/c?G=H=0:(H=0,G=2147483648);else if(isNaN(c))H=0,G=2147483647;else if(3.4028234663852886E38<c)H=0,G=(d<<31|2139095040)>>>0;else if(1.1754943508222875E-38>c)c=Math.round(c/Math.pow(2,-149)),H=0,G=(d<<31|c)>>>0;else{var e=Math.floor(Math.log(c)/Math.LN2);c*=Math.pow(2,-e);c=Math.round(8388608*c)&8388607;H=0;G=(d<<31|e+127<<23|c)>>>0}}
|
||
|
function ic(c){var d=c.charCodeAt(4),e=c.charCodeAt(5),f=c.charCodeAt(6),g=c.charCodeAt(7);G=c.charCodeAt(0)+(c.charCodeAt(1)<<8)+(c.charCodeAt(2)<<16)+(c.charCodeAt(3)<<24)>>>0;H=d+(e<<8)+(f<<16)+(g<<24)>>>0}var jc="0123456789abcdef".split("");
|
||
|
function kc(c){function d(c,d){for(var e=0;8>e&&(1!==c||0<d);e++)d=c*g[e]+d,g[e]=d&255,d>>>=8}function e(){for(var c=0;8>c;c++)g[c]=~g[c]&255}var f=!1;"-"===c[0]&&(f=!0,c=c.slice(1));for(var g=[0,0,0,0,0,0,0,0],h=0;h<c.length;h++)d(10,jc.indexOf(c[h]));f&&(e(),d(1,1));return nb(g)};function mc(c,d){this.a=c;this.b=d}function nc(c){return new mc((c.a>>>1|(c.b&1)<<31)>>>0,c.b>>>1>>>0)}function oc(c){return new mc(c.a<<1>>>0,(c.b<<1|c.a>>>31)>>>0)}k=mc.prototype;k.tg=function(){return!!(this.a&1)};k.add=function(c){return new mc((this.a+c.a&4294967295)>>>0>>>0,((this.b+c.b&4294967295)>>>0)+(4294967296<=this.a+c.a?1:0)>>>0)};k.sub=function(c){return new mc((this.a-c.a&4294967295)>>>0>>>0,((this.b-c.b&4294967295)>>>0)-(0>this.a-c.a?1:0)>>>0)};
|
||
|
function pc(c){var d=c&65535,e=c>>>16;c=10*d+65536*(0*d&65535)+65536*(10*e&65535);for(d=0*e+(0*d>>>16)+(10*e>>>16);4294967296<=c;)c-=4294967296,d+=1;return new mc(c>>>0,d>>>0)}
|
||
|
k.toString=function(){for(var c="",d=this;0!=d.a||0!=d.b;){var e=new mc(0,0);d=new mc(d.a,d.b);for(var f=new mc(10,0),g=new mc(1,0);!(f.b&2147483648);)f=oc(f),g=oc(g);for(;0!=g.a||0!=g.b;)0>=(f.b<d.b||f.b==d.b&&f.a<d.a?-1:f.b==d.b&&f.a==d.a?0:1)&&(e=e.add(g),d=d.sub(f)),f=nc(f),g=nc(g);e=[e,d];d=e[0];c=e[1].a+c}""==c&&(c="0");return c};
|
||
|
function qc(c){for(var d=new mc(0,0),e=new mc(0,0),f=0;f<c.length;f++){if("0">c[f]||"9"<c[f])return null;e.a=parseInt(c[f],10);var g=pc(d.a);d=pc(d.b);d.b=d.a;d.a=0;d=g.add(d).add(e)}return d}k.lg=function(){return new mc(this.a,this.b)};function rc(c,d){this.a=c;this.b=d}rc.prototype.add=function(c){return new rc((this.a+c.a&4294967295)>>>0>>>0,((this.b+c.b&4294967295)>>>0)+(4294967296<=this.a+c.a?1:0)>>>0)};
|
||
|
rc.prototype.sub=function(c){return new rc((this.a-c.a&4294967295)>>>0>>>0,((this.b-c.b&4294967295)>>>0)-(0>this.a-c.a?1:0)>>>0)};rc.prototype.c=function(){return new rc(this.a,this.b)};rc.prototype.toString=function(){var c=0!=(this.b&2147483648),d=new mc(this.a,this.b);c&&(d=(new mc(0,0)).sub(d));return(c?"-":"")+d.toString()};function sc(c){var d=0<c.length&&"-"==c[0];d&&(c=c.substring(1));c=qc(c);if(null===c)return null;d&&(c=(new mc(0,0)).sub(c));return new rc(c.a,c.b)};function tc(){this.a=[]}k=tc.prototype;k.length=function(){return this.a.length};function uc(c){var d=c.a;c.a=[];return d}function vc(c,d,e){for(;0<e||127<d;)c.a.push(d&127|128),d=(d>>>7|e<<25)>>>0,e>>>=7;c.a.push(d)}function wc(c,d,e){xc(c,d);xc(c,e)}function I(c,d){for(;127<d;)c.a.push(d&127|128),d>>>=7;c.a.push(d)}function yc(c,d){if(0<=d)I(c,d);else{for(var e=0;9>e;e++)c.a.push(d&127|128),d>>=7;c.a.push(1)}}function zc(c,d){I(c,(d<<1^d>>31)>>>0)}
|
||
|
function Ac(c,d){var e=d;d=0>e;e=2*Math.abs(e);fc(e);e=G;var f=H;d&&(0==e?0==f?f=e=4294967295:(f--,e=4294967295):e--);G=e;H=f;vc(c,G,H)}k.Ej=function(c){this.a.push(c>>>0&255)};k.Dj=function(c){this.a.push(c>>>0&255);this.a.push(c>>>8&255)};function xc(c,d){c.a.push(d>>>0&255);c.a.push(d>>>8&255);c.a.push(d>>>16&255);c.a.push(d>>>24&255)}function Bc(c,d){fc(d);xc(c,G);xc(c,H)}k.Ei=function(c){this.a.push(c>>>0&255)};k.Di=function(c){this.a.push(c>>>0&255);this.a.push(c>>>8&255)};
|
||
|
function Cc(c,d){c.a.push(d>>>0&255);c.a.push(d>>>8&255);c.a.push(d>>>16&255);c.a.push(d>>>24&255)}
|
||
|
function Dc(c,d){var e=d;e=(d=0>e?1:0)?-e:e;if(0===e)H=0<1/e?0:2147483648,G=0;else if(isNaN(e))H=2147483647,G=4294967295;else if(1.7976931348623157E308<e)H=(d<<31|2146435072)>>>0,G=0;else if(2.2250738585072014E-308>e)e/=Math.pow(2,-1074),H=(d<<31|e/4294967296)>>>0,G=e>>>0;else{var f=Math.floor(Math.log(e)/Math.LN2);1024==f&&(f=1023);e*=Math.pow(2,-f);H=(d<<31|f+1023<<20|1048576*e&1048575)>>>0;G=4503599627370496*e>>>0}xc(c,G);xc(c,H)}k.ig=function(c){this.a.push.apply(this.a,c)};
|
||
|
function Ec(c,d){ic(d);xc(c,G);xc(c,H)};function Fc(){this.c=[];this.b=0;this.a=new tc;this.f=[]}function Gc(c,d){var e=uc(c.a);c.c.push(e);c.c.push(d);c.b+=e.length+d.length}function J(c,d){K(c,d,2);d=uc(c.a);c.c.push(d);c.b+=d.length;d.push(c.b);return d}function L(c,d){var e=d.pop();for(e=c.b+c.a.length()-e;127<e;)d.push(e&127|128),e>>>=7,c.b++;d.push(e);c.b++}k=Fc.prototype;k.vg=function(c,d,e){null!=c&&null!=d&&null!=e&&Gc(this,c.subarray(d,e))};k.reset=function(){this.c=[];uc(this.a);this.b=0;this.f=[]};
|
||
|
function Hc(c){for(var d=new Uint8Array(c.b+c.a.length()),e=c.c,f=e.length,g=0,h=0;h<f;h++){var l=e[h];d.set(l,g);g+=l.length}e=uc(c.a);d.set(e,g);c.c=[d];return d}k.We=function(c){return bc(Hc(this),c)};function K(c,d,e){I(c.a,8*d+e)}
|
||
|
k.Bi=function(c,d,e){switch(c){case 1:null!=e&&(K(this,d,1),Dc(this.a,e));break;case 2:null!=e&&(K(this,d,5),c=this.a,hc(e),xc(c,G));break;case 3:null!=e&&null!=e&&(K(this,d,0),c=this.a,gc(e),vc(c,G,H));break;case 4:null!=e&&null!=e&&(K(this,d,0),c=this.a,gc(e),vc(c,G,H));break;case 5:null!=e&&Ic(this,d,e);break;case 6:null!=e&&(K(this,d,1),Bc(this.a,e));break;case 7:null!=e&&(K(this,d,5),xc(this.a,e));break;case 8:Jc(this,d,e);break;case 9:this.o(d,e);break;case 12:this.jb(d,e);break;case 13:null!=
|
||
|
e&&Kc(this,d,e);break;case 14:Lc(this,d,e);break;case 15:null!=e&&(K(this,d,5),Cc(this.a,e));break;case 16:null!=e&&(K(this,d,1),c=this.a,gc(e),wc(c,G,H));break;case 17:null!=e&&null!=e&&(K(this,d,0),zc(this.a,e));break;case 18:null!=e&&null!=e&&(K(this,d,0),Ac(this.a,e));break;case 30:null!=e&&(K(this,d,1),Ec(this.a,e));break;case 31:null!=e&&(K(this,d,0),c=this.a,ic(e),vc(c,G,H))}};function Kc(c,d,e){null!=e&&(K(c,d,0),I(c.a,e))}function Ic(c,d,e){null!=e&&(K(c,d,0),yc(c.a,e))}
|
||
|
k.Cj=function(c,d){null!=d&&null!=d&&(K(this,c,0),Ac(this.a,parseInt(d,10)))};function Jc(c,d,e){null!=e&&(K(c,d,0),c.a.a.push(e?1:0))}function Lc(c,d,e){null!=e&&(K(c,d,0),yc(c.a,e))}
|
||
|
k.o=function(c,d){if(null!=d){c=J(this,c);for(var e=this.a,f=0;f<d.length;f++){var g=d.charCodeAt(f);if(128>g)e.a.push(g);else if(2048>g)e.a.push(g>>6|192),e.a.push(g&63|128);else if(65536>g)if(55296<=g&&56319>=g&&f+1<d.length){var h=d.charCodeAt(f+1);56320<=h&&57343>=h&&(g=1024*(g-55296)+h-56320+65536,e.a.push(g>>18|240),e.a.push(g>>12&63|128),e.a.push(g>>6&63|128),e.a.push(g&63|128),f++)}else e.a.push(g>>12|224),e.a.push(g>>6&63|128),e.a.push(g&63|128)}L(this,c)}};
|
||
|
k.jb=function(c,d){null!=d&&(d=d.constructor===Uint8Array?d:d.constructor===ArrayBuffer?new Uint8Array(d):d.constructor===Array?new Uint8Array(d):d.constructor===String?dc(d):new Uint8Array(0),K(this,c,2),I(this.a,d.length),Gc(this,d))};k.Fi=function(c,d,e){null!=d&&(c=J(this,c),e(d,this),L(this,c))};k.Gi=function(c,d,e){null!=d&&(K(this,1,3),K(this,2,0),yc(this.a,c),c=J(this,3),e(d,this),L(this,c),K(this,1,4))};k.Ci=function(c,d,e){null!=d&&(K(this,c,3),e(d,this),K(this,c,4))};
|
||
|
k.nj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++)Ic(this,c,d[e])};k.oj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&Ic(this,c,parseInt(f,10))}};k.pj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){K(this,c,0);var g=this.a;gc(f);vc(g,G,H)}}};k.qj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=c,g=d[e];null!=g&&(g=sc(g),K(this,f,0),vc(this.a,g.a,g.b))}};k.xj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++)Kc(this,c,d[e])};
|
||
|
k.yj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&Kc(this,c,parseInt(f,10))}};k.zj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){K(this,c,0);var g=this.a;gc(f);vc(g,G,H)}}};k.Aj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=c,g=d[e];null!=g&&(g=qc(g),K(this,f,0),vc(this.a,g.a,g.b))}};k.uj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,0),zc(this.a,f))}};
|
||
|
k.vj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,0),Ac(this.a,f))}};k.wj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,0),Ac(this.a,parseInt(f,10)))}};k.hj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,5),xc(this.a,f))}};k.ij=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,1),Bc(this.a,f))}};
|
||
|
k.jj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=c,g=d[e];null!=g&&(g=qc(g),K(this,f,1),wc(this.a,g.a,g.b))}};k.rj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,5),Cc(this.a,f))}};k.sj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){K(this,c,1);var g=this.a;gc(f);wc(g,G,H)}}};k.tj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=c,g=d[e];null!=g&&(g=sc(g),K(this,f,1),wc(this.a,g.a,g.b))}};
|
||
|
k.lj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){K(this,c,5);var g=this.a;hc(f);xc(g,G)}}};k.fj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,1),Dc(this.a,f))}};k.dj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++)Jc(this,c,d[e])};k.gj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++)Lc(this,c,d[e])};function Mc(c,d,e){if(null!=e)for(var f=0;f<e.length;f++)c.o(d,e[f])}
|
||
|
k.ej=function(c,d){if(null!=d)for(var e=0;e<d.length;e++)this.jb(c,d[e])};function Nc(c,d,e,f){if(null!=e)for(var g=0;g<e.length;g++){var h=J(c,d);f(e[g],c);L(c,h)}}k.mj=function(c,d,e){if(null!=d)for(var f=0;f<d.length;f++)K(this,c,3),e(d[f],this),K(this,c,4)};k.kj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];null!=f&&(K(this,c,1),Ec(this.a,f))}};k.Bj=function(c,d){if(null!=d)for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){K(this,c,0);var g=this.a;ic(f);vc(g,G,H)}}};
|
||
|
k.Pi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)yc(this.a,d[e]);L(this,c)}};k.Qi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)yc(this.a,parseInt(d[e],10));L(this,c)}};k.Ri=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++){var f=this.a;gc(d[e]);vc(f,G,H)}L(this,c)}};k.Si=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++){var f=sc(d[e]);vc(this.a,f.a,f.b)}L(this,c)}};
|
||
|
k.Zi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)I(this.a,d[e]);L(this,c)}};k.$i=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)I(this.a,parseInt(d[e],10));L(this,c)}};k.aj=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++){var f=this.a;gc(d[e]);vc(f,G,H)}L(this,c)}};k.bj=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++){var f=qc(d[e]);vc(this.a,f.a,f.b)}L(this,c)}};
|
||
|
k.Wi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)zc(this.a,d[e]);L(this,c)}};k.Xi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)Ac(this.a,d[e]);L(this,c)}};k.Yi=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)Ac(this.a,parseInt(d[e],10));L(this,c)}};k.Ki=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,4*d.length),c=0;c<d.length;c++)xc(this.a,d[c])};
|
||
|
k.Li=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++)Bc(this.a,d[c])};k.Mi=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++){var e=qc(d[c]);wc(this.a,e.a,e.b)}};k.Ti=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,4*d.length),c=0;c<d.length;c++)Cc(this.a,d[c])};k.Ui=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++){var e=this.a;gc(d[c]);wc(e,G,H)}};
|
||
|
k.Vi=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++){var e=this.a;ic(kc(d[c]));wc(e,G,H)}};k.Oi=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,4*d.length),c=0;c<d.length;c++){var e=this.a;hc(d[c]);xc(e,G)}};k.Ii=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++)Dc(this.a,d[c])};k.Hi=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,d.length),c=0;c<d.length;c++)this.a.a.push(d[c]?1:0)};
|
||
|
k.Ji=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++)yc(this.a,d[e]);L(this,c)}};k.Ni=function(c,d){if(null!=d&&d.length)for(K(this,c,2),I(this.a,8*d.length),c=0;c<d.length;c++)Ec(this.a,d[c])};k.cj=function(c,d){if(null!=d&&d.length){c=J(this,c);for(var e=0;e<d.length;e++){var f=this.a;ic(d[e]);vc(f,G,H)}L(this,c)}};function Oc(c){this.c=c;this.f=null;this.a={};this.b=!0;if(0<this.c.length){for(c=0;c<this.c.length;c++){var d=this.c[c],e=d[0];this.a[e.toString()]=new Pc(e,d[1])}this.b=!0}}Oc.prototype.O=function(){var c;if(!this.b){this.c.length=0;var d=Qc(this);d.sort();for(var e=0;e<d.length;e++){var f=this.a[d[e]];(c=f.a)&&c.O();this.c.push([f.key,f.value])}this.b=!0}return this.c};
|
||
|
function Rc(c,d){for(var e=c.O(),f=[],g=0;g<e.length;g++){var h=c.a[e[g][0].toString()],l=h.a;l?f.push([h.key,(void 0)(d,l)]):f.push([h.key,h.value])}return f}function Sc(c){this.a=0;this.b=c}Sc.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(Sc.prototype[Symbol.iterator]=function(){return this});k=Oc.prototype;k.Id=function(c){c=c.toString();var d=this.a.hasOwnProperty(c);delete this.a[c];this.b=!1;return d};
|
||
|
k.ye=function(){var c=[],d=Qc(this);d.sort();for(var e=0;e<d.length;e++){var f=this.a[d[e]];c.push([f.key,f.value])}return c};k.entries=function(){var c=[],d=Qc(this);d.sort();for(var e=0;e<d.length;e++){var f=this.a[d[e]];c.push([f.key,f.value])}return new Sc(c)};k.keys=function(){var c=[],d=Qc(this);d.sort();for(var e=0;e<d.length;e++)c.push(this.a[d[e]].key);return new Sc(c)};k.values=function(){var c=[],d=Qc(this);d.sort();for(var e=0;e<d.length;e++)c.push(this.a[d[e]].value);return new Sc(c)};
|
||
|
k.forEach=function(c,d){var e=Qc(this);e.sort();for(var f=0;f<e.length;f++){var g=this.a[e[f]];c.call(d,g.value,g.key,this)}};k.set=function(c,d){var e=new Pc(c);e.value=d;this.a[c.toString()]=e;this.b=!1;return this};k.get=function(c){if(c=this.a[c.toString()])return c.value};k.has=function(c){return c.toString()in this.a};function Tc(c,d,e,f){var g=Fc.prototype.o,h=Qc(c);h.sort();for(var l=0;l<h.length;l++){var n=c.a[h[l]];e.f.push(J(e,d));g.call(e,1,n.key);f.call(e,2,n.value);L(e,e.f.pop())}}
|
||
|
function Qc(c){c=c.a;var d=[],e;for(e in c)Object.prototype.hasOwnProperty.call(c,e)&&d.push(e);return d}function Pc(c,d){this.key=c;this.value=d;this.a=void 0};function Uc(){}var Vc="function"==typeof Uint8Array;Uc.prototype.m=function(){return this.h};function Wc(c,d,e){c.a=null;d||(d=[]);c.h=void 0;c.f=-1;c.c=d;a:{if(d=c.c.length){--d;var f=c.c[d];if(!(null===f||"object"!=typeof f||z(f)||Vc&&f instanceof Uint8Array)){c.g=d-c.f;c.b=f;break a}}c.g=Number.MAX_VALUE}c.i={};if(e)for(d=0;d<e.length;d++)f=e[d],f<c.g?(f+=c.f,c.c[f]=c.c[f]||Xc):(Yc(c),c.b[f]=c.b[f]||Xc)}var Xc=[];function Yc(c){var d=c.g+c.f;c.c[d]||(c.b=c.c[d]={})}
|
||
|
function Zc(c,d,e){for(var f=[],g=0;g<c.length;g++)f[g]=d.call(c[g],e,c[g]);return f}function $c(c,d){if(d<c.g){d+=c.f;var e=c.c[d];return e===Xc?c.c[d]=[]:e}if(c.b)return e=c.b[d],e===Xc?c.b[d]=[]:e}function M(c,d,e){c=$c(c,d);return null==c?e:c}function N(c,d){c=$c(c,d);c=null==c?c:!!c;return null==c?!1:c}function ad(c,d,e){c.a||(c.a={});if(d in c.a)return c.a[d];if(!e)return e=$c(c,d),e||(e=[],bd(c,d,e)),c.a[d]=new Oc(e)}function bd(c,d,e){d<c.g?c.c[d+c.f]=e:(Yc(c),c.b[d]=e)}
|
||
|
function O(c,d,e){P(c,d,e,"")}function P(c,d,e,f){e!==f?bd(c,d,e):c.c[d+c.f]=null}function cd(c,d,e,f){c=$c(c,d);void 0!=f?c.splice(f,0,e):c.push(e)}function dd(c,d,e){ed(c,d,e);d=c.a[e];d==Xc&&(d=c.a[e]=[]);return d}function ed(c,d,e){c.a||(c.a={});if(!c.a[e]){for(var f=$c(c,e),g=[],h=0;h<f.length;h++)g[h]=new d(f[h]);c.a[e]=g}}function fd(c,d){var e=[];c.a||(c.a={});e=e||[];for(var f=[],g=0;g<e.length;g++)f[g]=e[g].O();c.a[d]=e;bd(c,d,f)}
|
||
|
function gd(c,d,e,f,g){ed(c,f,d);var h=c.a[d];h||(h=c.a[d]=[]);e=e?e:new f;c=$c(c,d);void 0!=g?(h.splice(g,0,e),c.splice(g,0,e.O())):(h.push(e),c.push(e.O()));return e}function hd(c){if(c.a)for(var d in c.a){var e=c.a[d];if(z(e))for(var f=0;f<e.length;f++)e[f]&&e[f].O();else e&&e.O()}}k=Uc.prototype;k.O=function(){hd(this);return this.c};
|
||
|
k.Oa=Vc?function(){var c=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return bc(this)};try{return JSON.stringify(this.c&&this.O(),id)}finally{Uint8Array.prototype.toJSON=c}}:function(){return JSON.stringify(this.c&&this.O(),id)};function id(c,d){return Ha(d)&&(isNaN(d)||Infinity===d||-Infinity===d)?String(d):d}function jd(c,d){return new c(d?JSON.parse(d):null)}k.toString=function(){hd(this);return this.c.toString()};
|
||
|
k.kg=function(c){if(this.b){this.a||(this.a={});var d=c.c;if(c.f){if(c.a())return this.a[d]||(this.a[d]=db(this.b[d]||[],function(d){return new c.b(d)})),this.a[d]}else if(c.a())return!this.a[d]&&this.b[d]&&(this.a[d]=new c.b(this.b[d])),this.a[d];return this.b[d]}};k.Dh=function(c,d){this.a||(this.a={});Yc(this);var e=c.c;c.f?(d=d||[],c.a()?(this.a[e]=d,this.b[e]=db(d,function(c){return c.O()})):this.b[e]=d):c.a()?(this.a[e]=d,this.b[e]=d?d.O():d):this.b[e]=d;return this};k.Bd=function(){return new this.constructor(kd(this.O()))};
|
||
|
k.jg=function(){return new this.constructor(kd(this.O()))};function kd(c){if(z(c)){for(var d=Array(c.length),e=0;e<c.length;e++){var f=c[e];null!=f&&(d[e]="object"==typeof f?kd(f):f)}return d}if(Vc&&c instanceof Uint8Array)return new Uint8Array(c);d={};for(e in c)f=c[e],null!=f&&(d[e]="object"==typeof f?kd(f):f);return d};function ld(c){Wc(this,c,md)}A(ld,Uc);var md=[22];k=ld.prototype;
|
||
|
k.Mg=function(c){var d,e={ng:null==(d=M(this,1,""))?void 0:d,Pf:null==(d=M(this,2,""))?void 0:d,body:null==(d=M(this,3,""))?void 0:d,sd:null==(d=M(this,4,""))?void 0:d,de:null==(d=M(this,5,""))?void 0:d,be:null==(d=M(this,6,""))?void 0:d,ce:null==(d=M(this,7,""))?void 0:d,wg:null==(d=M(this,8,""))?void 0:d,si:null==(d=M(this,9,""))?void 0:d,Kd:null==(d=N(this,10))?void 0:d,Jd:null==(d=N(this,11))?void 0:d,Eg:null==(d=M(this,12,0))?void 0:d,lang:null==(d=M(this,13,""))?void 0:d,nd:null==(d=M(this,
|
||
|
14,""))?void 0:d,Cg:null==(d=M(this,15,""))?void 0:d,rd:null==(d=M(this,16,""))?void 0:d,qd:null==(d=M(this,17,""))?void 0:d,xg:(d=ad(this,18,void 0))?Rc(d,c):[],ed:(d=ad(this,19,void 0))?Rc(d,c):[],dg:null==(d=N(this,21))?void 0:d,Gc:null==(d=$c(this,22))?void 0:d,fe:null==(d=N(this,23))?void 0:d};c&&(e.aa=this);return e};
|
||
|
k.Lg=function(){var c=new Fc;var d=M(this,1,"");0<d.length&&c.o(1,d);d=M(this,2,"");0<d.length&&c.o(2,d);d=M(this,3,"");0<d.length&&c.o(3,d);d=M(this,4,"");0<d.length&&c.o(4,d);d=M(this,5,"");0<d.length&&c.o(5,d);d=M(this,6,"");0<d.length&&c.o(6,d);d=M(this,7,"");0<d.length&&c.o(7,d);d=M(this,8,"");0<d.length&&c.o(8,d);d=M(this,9,"");0<d.length&&c.o(9,d);(d=N(this,10))&&Jc(c,10,d);(d=N(this,11))&&Jc(c,11,d);d=M(this,12,0);0!==d&&Lc(c,12,d);d=M(this,13,"");0<d.length&&c.o(13,d);d=M(this,14,"");0<d.length&&
|
||
|
c.o(14,d);d=M(this,15,"");0<d.length&&c.o(15,d);d=M(this,16,"");0<d.length&&c.o(16,d);d=M(this,17,"");0<d.length&&c.o(17,d);(d=ad(this,18,!0))&&0<Qc(d).length&&Tc(d,18,c,Fc.prototype.o);(d=ad(this,19,!0))&&0<Qc(d).length&&Tc(d,19,c,Fc.prototype.jb);(d=this.Aa())&&Jc(c,21,d);d=$c(this,22);0<d.length&&Mc(c,22,d);(d=N(this,23))&&Jc(c,23,d);return Hc(c)};k.Vh=function(c){O(this,1,c)};k.Mh=function(c){O(this,2,c)};k.rh=function(c){O(this,3,c)};k.uh=function(c){O(this,4,c)};k.Jh=function(c){O(this,5,c)};
|
||
|
k.Hh=function(c){O(this,6,c)};k.Ih=function(c){O(this,7,c)};k.Wh=function(c){O(this,8,c)};k.oi=function(c){O(this,9,c)};k.yh=function(c){P(this,10,c,!1)};k.xh=function(c){P(this,11,c,!1)};k.ai=function(c){P(this,12,c,0)};k.Th=function(c){O(this,13,c)};k.qh=function(c){O(this,14,c)};k.Zh=function(c){O(this,15,c)};k.th=function(c){O(this,16,c)};k.sh=function(c){O(this,17,c)};k.wd=function(){var c=ad(this,18,void 0);c.a={};c.b=!1};k.vd=function(){var c=ad(this,19,void 0);c.a={};c.b=!1};
|
||
|
k.Aa=function(){return N(this,21)};k.Rh=function(c){P(this,21,c,!1)};k.Jg=function(c,d){cd(this,22,c,d)};k.Kg=function(){bd(this,22,[])};k.Kh=function(c){P(this,23,c,!1)};var nd=!E.u||E.Z(9),od=!E.u||E.Z(9),pd=E.u&&!E.$("9"),qd=function(){if(!v.addEventListener||!Object.defineProperty)return!1;var c=!1,d=Object.defineProperty({},"passive",{get:function(){c=!0}});try{v.addEventListener("test",Ja,d),v.removeEventListener("test",Ja,d)}catch(e){}return c}();function rd(){this.qa=this.qa;this.b=this.b}k=rd.prototype;k.qa=!1;k.yc=function(){return this.qa};k.re=rd.prototype.yc;k.R=function(){this.qa||(this.qa=!0,this.T())};k.dh=function(c){c=Ta(sd,c);this.qa?x(void 0)?c.call(void 0):c():(this.b||(this.b=[]),this.b.push(x(void 0)?Sa(c,void 0):c))};k.T=function(){if(this.b)for(;this.b.length;)this.b.shift()()};function sd(c){c&&"function"==typeof c.R&&c.R()};function td(c){this.id=c}td.prototype.toString=function(){return this.id};function ud(c,d){this.type=c instanceof td?String(c):c;this.a=this.target=d;this.gb=this.b=!1;this.Xb=!0}ud.prototype.stopPropagation=function(){this.b=!0};ud.prototype.preventDefault=function(){this.gb=!0;this.Xb=!1};var vd;vd=E.N?"webkitTransitionEnd":E.ka?"otransitionend":"transitionend";function wd(c,d){ud.call(this,c?c.type:"");this.relatedTarget=this.a=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.g=this.f=0;this.key="";this.c=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.h=null;this.i=!1;this.pointerId=0;this.pointerType="";this.G=null;if(c){var e=this.type=c.type,f=c.changedTouches&&c.changedTouches.length?c.changedTouches[0]:null;this.target=c.target||c.srcElement;this.a=d;if(d=c.relatedTarget){if(E.ba){a:{try{Vb(d.nodeName);
|
||
|
var g=!0;break a}catch(h){}g=!1}g||(d=null)}}else"mouseover"==e?d=c.fromElement:"mouseout"==e&&(d=c.toElement);this.relatedTarget=d;f?(this.clientX=void 0!==f.clientX?f.clientX:f.pageX,this.clientY=void 0!==f.clientY?f.clientY:f.pageY,this.screenX=f.screenX||0,this.screenY=f.screenY||0):(this.f=E.N||void 0!==c.offsetX?c.offsetX:c.layerX,this.g=E.N||void 0!==c.offsetY?c.offsetY:c.layerY,this.clientX=void 0!==c.clientX?c.clientX:c.pageX,this.clientY=void 0!==c.clientY?c.clientY:c.pageY,this.screenX=
|
||
|
c.screenX||0,this.screenY=c.screenY||0);this.button=c.button;this.keyCode=c.keyCode||0;this.key=c.key||"";this.c=c.charCode||("keypress"==e?c.keyCode:0);this.ctrlKey=c.ctrlKey;this.altKey=c.altKey;this.shiftKey=c.shiftKey;this.metaKey=c.metaKey;this.i=E.Za?c.metaKey:c.ctrlKey;this.pointerId=c.pointerId||0;this.pointerType=y(c.pointerType)?c.pointerType:xd[c.pointerType]||"";this.h=c.state;this.G=c;c.defaultPrevented&&this.preventDefault()}}A(wd,ud);var yd=[1,4,2],xd={2:"touch",3:"pen",4:"mouse"};
|
||
|
wd.prototype.m=function(){return(nd?0==this.G.button:"click"==this.type?!0:!!(this.G.button&yd[0]))&&!(E.N&&E.Za&&this.ctrlKey)};wd.prototype.stopPropagation=function(){wd.ia.stopPropagation.call(this);this.G.stopPropagation?this.G.stopPropagation():this.G.cancelBubble=!0};wd.prototype.preventDefault=function(){wd.ia.preventDefault.call(this);var c=this.G;if(c.preventDefault)c.preventDefault();else if(c.returnValue=!1,pd)try{if(c.ctrlKey||112<=c.keyCode&&123>=c.keyCode)c.keyCode=-1}catch(d){}};var zd="closure_listenable_"+(1E6*Math.random()|0);function Ad(c){return!(!c||!c[zd])}var Bd=0;function Cd(c,d,e,f,g){this.listener=c;this.a=null;this.src=d;this.type=e;this.capture=!!f;this.Ma=g;this.key=++Bd;this.sa=this.Ia=!1}function Dd(c){c.sa=!0;c.listener=null;c.a=null;c.src=null;c.Ma=null};function Ed(c){this.src=c;this.a={};this.b=0}Ed.prototype.c=function(){var c=0,d;for(d in this.a)c+=this.a[d].length;return c};Ed.prototype.add=function(c,d,e,f,g){var h=c.toString();c=this.a[h];c||(c=this.a[h]=[],this.b++);var l=Fd(c,d,f,g);-1<l?(d=c[l],e||(d.Ia=!1)):(d=new Cd(d,this.src,h,!!f,g),d.Ia=e,c.push(d));return d};
|
||
|
Ed.prototype.remove=function(c,d,e,f){c=c.toString();if(!(c in this.a))return!1;var g=this.a[c];d=Fd(g,d,e,f);return-1<d?(Dd(g[d]),Array.prototype.splice.call(g,d,1),0==g.length&&(delete this.a[c],this.b--),!0):!1};function Gd(c,d){var e=d.type;e in c.a&&fb(c.a[e],d)&&(Dd(d),0==c.a[e].length&&(delete c.a[e],c.b--))}function Hd(c,d,e,f,g){c=c.a[d.toString()];d=-1;c&&(d=Fd(c,e,f,g));return-1<d?c[d]:null}
|
||
|
function Id(c,d,e){var f=x(d),g=f?d.toString():"",h=x(e);return Jb(c.a,function(c){for(var d=0;d<c.length;++d)if(!(f&&c[d].type!=g||h&&c[d].capture!=e))return!0;return!1})}function Fd(c,d,e,f){for(var g=0;g<c.length;++g){var h=c[g];if(!h.sa&&h.listener==d&&h.capture==!!e&&h.Ma==f)return g}return-1};var Jd="closure_lm_"+(1E6*Math.random()|0),Kd={},Ld=0;function Md(c,d,e,f,g){if(f&&f.once)return Nd(c,d,e,f,g);if(z(d)){for(var h=0;h<d.length;h++)Md(c,d[h],e,f,g);return null}e=Od(e);return Ad(c)?c.j(d,e,Na(f)?!!f.capture:!!f,g):Pd(c,d,e,!1,f,g)}
|
||
|
function Pd(c,d,e,f,g,h){if(!d)throw Error("Invalid event type");var l=Na(g)?!!g.capture:!!g,n=Qd(c);n||(c[Jd]=n=new Ed(c));e=n.add(d,e,f,l,h);if(e.a)return e;f=Rd();e.a=f;f.src=c;f.listener=e;if(c.addEventListener)qd||(g=l),void 0===g&&(g=!1),c.addEventListener(d.toString(),f,g);else if(c.attachEvent)c.attachEvent(Sd(d.toString()),f);else if(c.addListener&&c.removeListener)c.addListener(f);else throw Error("addEventListener and attachEvent are unavailable.");Ld++;return e}
|
||
|
function Rd(){var c=Td,d=od?function(e){return c.call(d.src,d.listener,e)}:function(e){e=c.call(d.src,d.listener,e);if(!e)return e};return d}function Nd(c,d,e,f,g){if(z(d)){for(var h=0;h<d.length;h++)Nd(c,d[h],e,f,g);return null}e=Od(e);return Ad(c)?c.c.add(String(d),e,!0,Na(f)?!!f.capture:!!f,g):Pd(c,d,e,!0,f,g)}function Ud(c,d,e,f,g){if(z(d))for(var h=0;h<d.length;h++)Ud(c,d[h],e,f,g);else f=Na(f)?!!f.capture:!!f,e=Od(e),Ad(c)?c.Ra(d,e,f,g):c&&(c=Qd(c))&&(d=Hd(c,d,e,f,g))&&Vd(d)}
|
||
|
function Vd(c){if(!Ha(c)&&c&&!c.sa){var d=c.src;if(Ad(d))Gd(d.c,c);else{var e=c.type,f=c.a;d.removeEventListener?d.removeEventListener(e,f,c.capture):d.detachEvent?d.detachEvent(Sd(e),f):d.addListener&&d.removeListener&&d.removeListener(f);Ld--;(e=Qd(d))?(Gd(e,c),0==e.b&&(e.src=null,d[Jd]=null)):Dd(c)}}}function Sd(c){return c in Kd?Kd[c]:Kd[c]="on"+c}
|
||
|
function Wd(c,d,e,f){var g=!0;if(c=Qd(c))if(d=c.a[d.toString()])for(d=d.concat(),c=0;c<d.length;c++){var h=d[c];h&&h.capture==e&&!h.sa&&(h=Xd(h,f),g=g&&!1!==h)}return g}function Xd(c,d){var e=c.listener,f=c.Ma||c.src;c.Ia&&Vd(c);return e.call(f,d)}
|
||
|
function Td(c,d){if(c.sa)return!0;if(!od){var e=d||Ia("window.event");d=new wd(e,this);var f=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){a:{var g=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){g=!0}if(g||void 0==e.returnValue)e.returnValue=!0}e=[];for(g=d.a;g;g=g.parentNode)e.push(g);c=c.type;for(g=e.length-1;!d.b&&0<=g;g--){d.a=e[g];var h=Wd(e[g],c,!0,d);f=f&&h}for(g=0;!d.b&&g<e.length;g++)d.a=e[g],h=Wd(e[g],c,!1,d),f=f&&h}return f}return Xd(c,new wd(d,this))}
|
||
|
function Qd(c){c=c[Jd];return c instanceof Ed?c:null}var Yd="__closure_events_fn_"+(1E9*Math.random()>>>0);function Od(c){if(Ma(c))return c;c[Yd]||(c[Yd]=function(d){return c.handleEvent(d)});return c[Yd]};var Zd=new td("devsite-analytics-observation"),$d=new td("devsite-analytics-timing"),ae=new td("devsite-analytics-error"),be=new td("devsite-analytics-pageview"),ce=new td("devsite-analytics-set-dimension");var ee=!E.u||E.Z(9),fe=!E.ba&&!E.u||E.u&&E.Z(9)||E.ba&&E.$("1.9.1"),ge=E.u&&!E.$("9"),he=E.u||E.ka||E.N,ie=E.u;function je(){return null}function ke(c){var d=!1,e;return function(){d||(e=c(),d=!0);return e}};function le(c,d){this.a=c===me&&d||"";this.b=ne}le.prototype.fa=!0;le.prototype.Y=function(){return this.a};le.prototype.toString=function(){return"Const{"+this.a+"}"};var ne={},me={};function oe(){this.a="";this.b=pe}k=oe.prototype;k.fa=!0;k.Y=function(){return this.a};k.ib=!0;k.za=function(){return 1};k.Cd=function(c,d){var e=qe(this);e=re.exec(e);var f=e[3]||"";c=e[1]+se("?",e[2]||"",c)+se("#",f,d);d=new oe;d.a=c;return d};function qe(c){if(c instanceof oe&&c.constructor===oe&&c.b===pe)return c.a;Ka(c);return"type_error:TrustedResourceUrl"}var re=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,pe={};
|
||
|
function se(c,d,e){if(null==e)return d;if(y(e))return e?c+encodeURIComponent(e):"";for(var f in e){var g=e[f];g=z(g)?g:[g];for(var h=0;h<g.length;h++){var l=g[h];null!=l&&(d||(d=c),d+=(d.length>c.length?"&":"")+encodeURIComponent(f)+"="+encodeURIComponent(String(l)))}}return d};function te(){this.a="";this.b=ue}te.prototype.fa=!0;te.prototype.Y=function(){return this.a};te.prototype.ib=!0;te.prototype.za=function(){return 1};function ve(c){if(c instanceof te&&c.constructor===te&&c.b===ue)return c.a;Ka(c);return"type_error:SafeUrl"}var we=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function xe(c){if(c instanceof te)return c;c="object"==typeof c&&c.fa?c.Y():String(c);we.test(c)||(c="about:invalid#zClosurez");return ye(c)}
|
||
|
function ze(c){if(c instanceof te)return c;c="object"==typeof c&&c.fa?c.Y():String(c);we.test(c)||(c="about:invalid#zClosurez");return ye(c)}var ue={};function ye(c){var d=new te;d.a=c;return d}ye("about:blank");function Ae(){this.a="";this.b=Be}Ae.prototype.fa=!0;var Be={};Ae.prototype.Y=function(){return this.a};function Ce(c){if(c instanceof Ae&&c.constructor===Ae&&c.b===Be)return c.a;Ka(c);return"type_error:SafeStyle"}function De(c){var d=new Ae;d.a=c;return d}var Ee=De("");
|
||
|
function Fe(c){if(c instanceof te)return'url("'+ve(c).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(c instanceof le)c=c instanceof le&&c.constructor===le&&c.b===ne?c.a:"type_error:Const";else{c=String(c);var d=c.replace(Ge,"$1").replace(Ge,"$1").replace(He,"url");if(Ie.test(d)){if(d=!Je.test(c)){for(var e=d=!0,f=0;f<c.length;f++){var g=c.charAt(f);"'"==g&&e?d=!d:'"'==g&&d&&(e=!e)}d=d&&e&&Ke(c)}c=d?Le(c):"zClosurez"}else c="zClosurez"}if(/[{;}]/.test(c))throw new $a("Value does not allow [{;}], got: %s.",
|
||
|
[c]);return c}function Ke(c){for(var d=!0,e=/^[-_a-zA-Z0-9]$/,f=0;f<c.length;f++){var g=c.charAt(f);if("]"==g){if(d)return!1;d=!0}else if("["==g){if(!d)return!1;d=!1}else if(!d&&!e.test(g))return!1}return d}var Ie=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,He=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,Ge=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Je=/\/\*/;
|
||
|
function Le(c){return c.replace(He,function(c,e,f,g){var d="";f=f.replace(/^(['"])(.*)\1$/,function(c,e,f){d=e;return f});c=xe(f).Y();return e+d+c+d+g})};function Me(){this.a="";this.b=Ne}Me.prototype.fa=!0;var Ne={};
|
||
|
function Oe(c,d){if(-1!=c.indexOf("<"))throw Error("Selector does not allow '<', got: "+c);var e=c.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(e))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+c);a:{for(var f={"(":")","[":"]"},g=[],h=0;h<e.length;h++){var l=e[h];if(f[l])g.push(f[l]);else{b:{var n=void 0;for(n in f)if(f[n]==l){n=!0;break b}n=!1}if(n&&g.pop()!=l){e=!1;break a}}}e=0==g.length}if(!e)throw Error("() and [] in selector must be balanced, got: "+
|
||
|
c);if(!(d instanceof Ae)){e="";for(var q in d){if(!/^[-_a-zA-Z0-9]+$/.test(q))throw Error("Name allows only [-_a-zA-Z0-9], got: "+q);f=d[q];null!=f&&(f=z(f)?db(f,Fe).join(" "):Fe(f),e+=q+":"+f+";")}d=e?De(e):Ee}c=c+"{"+Ce(d).replace(/</g,"\\3C ")+"}";return Pe(c)}function Qe(c){function d(c){z(c)?C(c,d):e+=Re(c)}var e="";C(arguments,d);return Pe(e)}Me.prototype.Y=function(){return this.a};
|
||
|
function Re(c){if(c instanceof Me&&c.constructor===Me&&c.b===Ne)return c.a;Ka(c);return"type_error:SafeStyleSheet"}function Pe(c){var d=new Me;d.a=c;return d}var Se=Pe("");function Te(){this.a="";this.c=Ue;this.b=null}Te.prototype.ib=!0;Te.prototype.za=function(){return this.b};Te.prototype.fa=!0;Te.prototype.Y=function(){return this.a};function Ve(c){if(c instanceof Te&&c.constructor===Te&&c.c===Ue)return c.a;Ka(c);return"type_error:SafeHtml"}function We(c){if(c instanceof Te)return c;var d="object"==typeof c,e=null;d&&c.ib&&(e=c.za());c=pb(d&&c.fa?c.Y():String(c));return Xe(c,e)}
|
||
|
function Ye(c){function d(c){z(c)?C(c,d):(c=We(c),f+=Ve(c),c=c.za(),0==e?e=c:0!=c&&e!=c&&(e=null))}var e=0,f="";C(arguments,d);return Xe(f,e)}var Ue={};function Xe(c,d){var e=new Te;e.a=c;e.b=d;return e}Xe("<!DOCTYPE html>",0);Xe("",0);var Ze=Xe("<br>",0);var $e=ke(function(){var c=document.createElement("div");c.innerHTML="<div><div></div></div>";var d=c.firstChild.firstChild;c.innerHTML="";return!d.parentElement});function af(c,d){if($e())for(;c.lastChild;)c.removeChild(c.lastChild);c.innerHTML=d}function bf(c,d){d=d instanceof te?d:ze(d);c.href=ve(d)}function cf(c){var d=df().location;c=c instanceof te?c:ze(c);d.assign(ve(c))};function ef(c,d){this.x=x(c)?c:0;this.y=x(d)?d:0}k=ef.prototype;k.zf=function(){return new ef(this.x,this.y)};k.Af=function(c){return c instanceof ef&&(this==c?!0:this&&c?this.x==c.x&&this.y==c.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
|
||
|
k.Cf=function(c,d){c instanceof ef?(this.x+=c.x,this.y+=c.y):(this.x+=Number(c),Ha(d)&&(this.y+=d));return this};k.Bf=function(c,d){d=Ha(d)?d:c;this.x*=c;this.y*=d;return this};k.ih=function(c,d){c=c*Math.PI/180;d=d||new ef(0,0);var e=this.x,f=this.y,g=Math.cos(c);c=Math.sin(c);this.x=(e-d.x)*g-(f-d.y)*c+d.x;this.y=(e-d.x)*c+(f-d.y)*g+d.y};function ff(c,d){this.width=c;this.height=d}k=ff.prototype;k.Ge=function(){return Math.max(this.width,this.height)};k.Xe=function(){return Math.min(this.width,this.height)};k.Fg=function(){return 2*(this.width+this.height)};k.aspectRatio=function(){return this.width/this.height};k.Df=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.$d=function(c){return this.width<=c.width&&this.height<=c.height};
|
||
|
k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function gf(c,d){var e=Ha(void 0)?void 0:d;c.width*=d;c.height*=e;return c}k.kh=function(c){c=this.aspectRatio()<=c.aspectRatio()?c.width/this.width:c.height/this.height;return gf(this,c)};
|
||
|
k.lh=function(c){c=this.aspectRatio()>c.aspectRatio()?c.width/this.width:c.height/this.height;return gf(this,c)};function hf(c){return c?new jf(kf(c)):Za||(Za=new jf)}function lf(c,d){var e=d||document,f=null;e.getElementsByClassName?f=e.getElementsByClassName(c)[0]:f=mf(document,"*",c,d);return f||null}
|
||
|
function nf(c,d,e,f){c=f||c;d=d&&"*"!=d?String(d).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(d||e))return c.querySelectorAll(d+(e?"."+e:""));if(e&&c.getElementsByClassName){c=c.getElementsByClassName(e);if(d){f={};for(var g=0,h=0,l;l=c[h];h++)d==l.nodeName&&(f[g++]=l);f.length=g;return f}return c}c=c.getElementsByTagName(d||"*");if(e){f={};for(h=g=0;l=c[h];h++)d=l.className,"function"==typeof d.split&&eb(d.split(/\s+/),e)&&(f[g++]=l);f.length=g;return f}return c}
|
||
|
function mf(c,d,e,f){var g=f||c,h=d&&"*"!=d?String(d).toUpperCase():"";return g.querySelectorAll&&g.querySelector&&(h||e)?g.querySelector(h+(e?"."+e:"")):nf(c,d,e,f)[0]||null}function of(c,d){Ib(d,function(d,f){d&&"object"==typeof d&&d.fa&&(d=d.Y());"style"==f?c.style.cssText=d:"class"==f?c.className=d:"for"==f?c.htmlFor=d:pf.hasOwnProperty(f)?c.setAttribute(pf[f],d):0==f.lastIndexOf("aria-",0)||0==f.lastIndexOf("data-",0)?c.setAttribute(f,d):c[f]=d})}
|
||
|
var pf={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 qf(c){c=c.document;c=rf(c)?c.documentElement:c.body;return new ff(c.clientWidth,c.clientHeight)}
|
||
|
function sf(c){var d=tf(c);c=uf(c);return E.u&&E.$("10")&&c.pageYOffset!=d.scrollTop?new ef(d.scrollLeft,d.scrollTop):new ef(c.pageXOffset||d.scrollLeft,c.pageYOffset||d.scrollTop)}function tf(c){return c.scrollingElement?c.scrollingElement:!E.N&&rf(c)?c.documentElement:c.body||c.documentElement}function df(c){return c?uf(c):window}function uf(c){return c.parentWindow||c.defaultView}
|
||
|
function vf(c,d,e,f){function g(e){e&&d.appendChild(y(e)?c.createTextNode(e):e)}for(;f<e.length;f++){var h=e[f];La(h)&&!wf(h)?C(xf(h)?hb(h):h,g):g(h)}}function yf(c,d){return c.createElement(String(d))}function rf(c){return"CSS1Compat"==c.compatMode}function zf(c){for(var d;d=c.firstChild;)c.removeChild(d)}function Af(c,d){d.parentNode&&d.parentNode.insertBefore(c,d)}function Bf(c,d){d.parentNode&&d.parentNode.insertBefore(c,d.nextSibling)}
|
||
|
function Cf(c,d,e){c.insertBefore(d,c.childNodes[e]||null)}function Df(c){return c&&c.parentNode?c.parentNode.removeChild(c):null}function Ef(c,d){var e=d.parentNode;e&&e.replaceChild(c,d)}function Ff(c){return x(c.nextElementSibling)?c.nextElementSibling:Gf(c.nextSibling,!0)}function Hf(c){return x(c.previousElementSibling)?c.previousElementSibling:Gf(c.previousSibling,!1)}function Gf(c,d){for(;c&&1!=c.nodeType;)c=d?c.nextSibling:c.previousSibling;return c}
|
||
|
function wf(c){return Na(c)&&0<c.nodeType}function If(c){return Na(c)&&1==c.nodeType}function Jf(c){var d;if(he&&!(E.u&&E.$("9")&&!E.$("10")&&v.SVGElement&&c instanceof v.SVGElement)&&(d=c.parentElement))return d;d=c.parentNode;return If(d)?d:null}function Kf(c,d){if(!c||!d)return!1;if(c.contains&&1==d.nodeType)return c==d||c.contains(d);if("undefined"!=typeof c.compareDocumentPosition)return c==d||!!(c.compareDocumentPosition(d)&16);for(;d&&c!=d;)d=d.parentNode;return d==c}
|
||
|
function Lf(c,d){var e=c.parentNode;if(e==d)return-1;for(;d.parentNode!=e;)d=d.parentNode;return Mf(d,c)}function Mf(c,d){for(;d=d.previousSibling;)if(d==c)return-1;return 1}function kf(c){return 9==c.nodeType?c:c.ownerDocument||c.document}
|
||
|
function Nf(c,d){if("textContent"in c)c.textContent=d;else if(3==c.nodeType)c.data=String(d);else if(c.firstChild&&3==c.firstChild.nodeType){for(;c.lastChild!=c.firstChild;)c.removeChild(c.lastChild);c.firstChild.data=String(d)}else zf(c),c.appendChild(kf(c).createTextNode(String(d)))}function Of(c,d,e,f){if(null!=c)for(c=c.firstChild;c;){if(d(c)&&(e.push(c),f)||Of(c,d,e,f))return!0;c=c.nextSibling}return!1}var Pf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Qf={IMG:" ",BR:"\n"};
|
||
|
function Rf(c){return Sf(c)&&Tf(c)}function Sf(c){return E.u&&!E.$("9")?(c=c.getAttributeNode("tabindex"),null!=c&&c.specified):c.hasAttribute("tabindex")}function Tf(c){c=c.tabIndex;return Ha(c)&&0<=c&&32768>c}function Uf(c){if(ge&&null!==c&&"innerText"in c)c=c.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var d=[];Vf(c,d,!0);c=d.join("")}c=c.replace(/ \xAD /g," ").replace(/\xAD/g,"");c=c.replace(/\u200B/g,"");ge||(c=c.replace(/ +/g," "));" "!=c&&(c=c.replace(/^\s*/,""));return c}
|
||
|
function Vf(c,d,e){if(!(c.nodeName in Pf))if(3==c.nodeType)e?d.push(String(c.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(c.nodeValue);else if(c.nodeName in Qf)d.push(Qf[c.nodeName]);else for(c=c.firstChild;c;)Vf(c,d,e),c=c.nextSibling}function xf(c){if(c&&"number"==typeof c.length){if(Na(c))return"function"==typeof c.item||"string"==typeof c.item;if(Ma(c))return"function"==typeof c.item}return!1}
|
||
|
function Wf(c,d,e,f){if(!d&&!e)return null;var g=d?String(d).toUpperCase():null;return Yf(c,function(c){return(!g||c.nodeName==g)&&(!e||y(c.className)&&eb(c.className.split(/\s+/),e))},!0,f)}function Yf(c,d,e,f){c&&!e&&(c=c.parentNode);for(e=0;c&&(null==f||e<=f);){if(d(c))return c;c=c.parentNode;e++}return null}function jf(c){this.a=c||v.document||document}k=jf.prototype;k.ue=hf;k.zh=function(c){this.a=c};k.uc=function(c){return y(c)?this.a.getElementById(c):c};
|
||
|
k.Ue=function(c){return y(c)?this.a.getElementById(c):c};k.Oc=jf.prototype.uc;k.getElementsByTagName=function(c,d){return(d||this.a).getElementsByTagName(String(c))};k.vc=function(c,d,e){return nf(this.a,c,d,e)};k.we=function(c,d,e){return mf(this.a,c,d,e)};k.xe=function(c,d){var e=(d=d||this.a)||document;return e.querySelectorAll&&e.querySelector?e.querySelectorAll("."+c):nf(document,"*",c,d)};k.ve=function(c,d){return lf(c,d||this.a)};k.Ve=function(c,d){return lf(c,d||this.a)};k.Pc=jf.prototype.vc;
|
||
|
k.hi=of;k.$e=function(c){return qf(c||uf(this.a)||window)};k.se=function(){var c=uf(this.a),d=c.document;var e=0;if(d){e=d.body;var f=d.documentElement;if(f&&e)if(c=qf(c).height,rf(d)&&f.scrollHeight)e=f.scrollHeight!=c?f.scrollHeight:f.offsetHeight;else{d=f.scrollHeight;var g=f.offsetHeight;f.clientHeight!=g&&(d=e.scrollHeight,g=e.offsetHeight);e=d>c?d>g?d:g:d<g?d:g}else e=0}return e};
|
||
|
k.rc=function(c,d,e){var f=this.a,g=arguments,h=String(g[0]),l=g[1];if(!ee&&l&&(l.name||l.type)){h=["<",h];l.name&&h.push(' name="',Bb(l.name),'"');if(l.type){h.push(' type="',Bb(l.type),'"');var n={};Nb(n,l);delete n.type;l=n}h.push(">");h=h.join("")}h=f.createElement(h);l&&(y(l)?h.className=l:z(l)?h.className=l.join(" "):of(h,l));2<g.length&&vf(f,h,g,2);return h};k.Qc=jf.prototype.rc;k.createElement=function(c){return yf(this.a,c)};k.mf=function(c){return this.a.createTextNode(String(c))};
|
||
|
k.Fd=function(c,d,e){var f=this.a;e=!!e;for(var g=yf(f,"TABLE"),h=g.appendChild(yf(f,"TBODY")),l=0;l<c;l++){for(var n=yf(f,"TR"),q=0;q<d;q++){var w=yf(f,"TD");e&&Nf(w,"\u00a0");n.appendChild(w)}h.appendChild(n)}return g};k.jh=function(c){var d=this.a;var e=yf(d,"DIV");ie?(c=Ye(Ze,c),af(e,Ve(c)),e.removeChild(e.firstChild)):af(e,Ve(c));if(1==e.childNodes.length)e=e.removeChild(e.firstChild);else{for(d=d.createDocumentFragment();e.firstChild;)d.appendChild(e.firstChild);e=d}return e};k.te=function(){return tf(this.a)};
|
||
|
k.ge=function(c){c=c||this.a;try{var d=c&&c.activeElement;var e=d&&d.nodeName?d:null}catch(f){e=null}return e};k.appendChild=function(c,d){c.appendChild(d)};k.kf=function(c,d){vf(kf(c),c,arguments,1)};k.lf=function(c){if(1!=c.nodeType)return!1;switch(c.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};
|
||
|
k.fh=zf;k.Xf=Af;k.Wf=Bf;k.Vf=Cf;k.nf=Df;k.pf=Ef;k.ae=function(c){var d,e=c.parentNode;if(e&&11!=e.nodeType){if(c.removeNode)return c.removeNode(!1);for(;d=c.firstChild;)e.insertBefore(d,c);return Df(c)}};k.oe=function(c){return fe&&void 0!=c.children?c.children:cb(c.childNodes,function(c){return 1==c.nodeType})};k.Ae=function(c){return x(c.firstElementChild)?c.firstElementChild:Gf(c.firstChild,!0)};k.Fe=function(c){return x(c.lastElementChild)?c.lastElementChild:Gf(c.lastChild,!1)};k.Je=Ff;k.Se=Hf;
|
||
|
k.Ke=function(c){if(!c)return null;if(c.firstChild)return c.firstChild;for(;c&&!c.nextSibling;)c=c.parentNode;return c?c.nextSibling:null};k.Te=function(c){if(!c)return null;if(!c.previousSibling)return c.parentNode;for(c=c.previousSibling;c&&c.lastChild;)c=c.lastChild;return c};k.bg=wf;k.Zf=If;k.hg=function(c){return Na(c)&&c.window==c};k.Re=Jf;k.contains=Kf;
|
||
|
k.Dd=function(c,d){if(c==d)return 0;if(c.compareDocumentPosition)return c.compareDocumentPosition(d)&2?1:-1;if(E.u&&!E.Z(9)){if(9==c.nodeType)return-1;if(9==d.nodeType)return 1}if("sourceIndex"in c||c.parentNode&&"sourceIndex"in c.parentNode){var e=1==c.nodeType,f=1==d.nodeType;if(e&&f)return c.sourceIndex-d.sourceIndex;var g=c.parentNode,h=d.parentNode;return g==h?Mf(c,d):!e&&Kf(g,d)?-1*Lf(c,d):!f&&Kf(h,c)?Lf(d,c):(e?c.sourceIndex:g.sourceIndex)-(f?d.sourceIndex:h.sourceIndex)}f=kf(c);e=f.createRange();
|
||
|
e.selectNode(c);e.collapse(!0);c=f.createRange();c.selectNode(d);c.collapse(!0);return e.compareBoundaryPoints(v.Range.START_TO_END,c)};k.Xd=function(c){var d,e=arguments.length;if(!e)return null;if(1==e)return arguments[0];var f=[],g=Infinity;for(d=0;d<e;d++){for(var h=[],l=arguments[d];l;)h.unshift(l),l=l.parentNode;f.push(h);g=Math.min(g,h.length)}h=null;for(d=0;d<g;d++){l=f[0][d];for(var n=1;n<e;n++)if(l!=f[n][d])return h;h=l}return h};k.Pe=kf;k.Be=function(c){return c.contentDocument||c.contentWindow.document};
|
||
|
k.Ce=function(c){try{return c.contentWindow||(c.contentDocument?df(c.contentDocument):null)}catch(d){}return null};k.ni=Nf;k.Oe=function(c){if("outerHTML"in c)return c.outerHTML;var d=yf(kf(c),"DIV");d.appendChild(c.cloneNode(!0));return d.innerHTML};k.Yd=function(c,d){var e=[];return Of(c,d,e,!0)?e[0]:void 0};k.Zd=function(c,d){var e=[];Of(c,d,e,!1);return e};k.ag=Rf;k.Gh=function(c,d){d?c.tabIndex=0:(c.tabIndex=-1,c.removeAttribute("tabIndex"))};
|
||
|
k.$f=function(c){var d;if((d="A"==c.tagName&&c.hasAttribute("href")||"INPUT"==c.tagName||"TEXTAREA"==c.tagName||"SELECT"==c.tagName||"BUTTON"==c.tagName?!c.disabled&&(!Sf(c)||Tf(c)):Rf(c))&&E.u){var e;!Ma(c.getBoundingClientRect)||E.u&&null==c.parentElement?e={height:c.offsetHeight,width:c.offsetWidth}:e=c.getBoundingClientRect();c=null!=e&&0<e.height&&0<e.width}else c=d;return c};k.Ye=Uf;k.Me=function(c){return Uf(c).length};
|
||
|
k.Ne=function(c,d){d=d||kf(c).body;for(var e=[];c&&c!=d;){for(var f=c;f=f.previousSibling;)e.unshift(Uf(f));c=c.parentNode}return e.join("").replace(/^[\s\xa0]+/,"").replace(/ +/g," ").length};
|
||
|
k.Le=function(c,d,e){c=[c];for(var f=0,g=null;0<c.length&&f<d;)if(g=c.pop(),!(g.nodeName in Pf))if(3==g.nodeType){var h=g.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");f+=h.length}else if(g.nodeName in Qf)f+=Qf[g.nodeName].length;else for(h=g.childNodes.length-1;0<=h;h--)c.push(g.childNodes[h]);Na(e)&&(e.eh=g?g.nodeValue.length+d-f-1:0,e.node=g);return g};k.cg=xf;k.me=Wf;k.le=function(c,d,e){return Wf(c,null,d,e)};k.ke=Yf;k.ne=function(c){return c.getContext("2d")};var Zf="StopIteration"in v?v.StopIteration:{message:"StopIteration",stack:""};function $f(){}$f.prototype.next=function(){throw Zf;};$f.prototype.a=function(){return this};function ag(c,d){this.b={};this.a=[];this.f=this.c=0;var e=arguments.length;if(1<e){if(e%2)throw Error("Uneven number of arguments");for(var f=0;f<e;f+=2)this.set(arguments[f],arguments[f+1])}else if(c)if(c instanceof ag)for(e=c.ea(),f=0;f<e.length;f++)this.set(e[f],c.get(e[f]));else for(f in c)this.set(f,c[f])}k=ag.prototype;k.V=function(){bg(this);for(var c=[],d=0;d<this.a.length;d++)c.push(this.b[this.a[d]]);return c};k.ea=function(){bg(this);return this.a.concat()};
|
||
|
k.Kf=function(c){for(var d=0;d<this.a.length;d++){var e=this.a[d];if(cg(this.b,e)&&this.b[e]==c)return!0}return!1};k.Lf=function(c,d){if(this===c)return!0;if(this.c!=c.c)return!1;d=d||dg;bg(this);for(var e,f=0;e=this.a[f];f++)if(!d(this.get(e),c.get(e)))return!1;return!0};function dg(c,d){return c===d}k.Mf=function(){return 0==this.c};k.Jf=function(){this.b={};this.f=this.c=this.a.length=0};
|
||
|
k.remove=function(c){return cg(this.b,c)?(delete this.b[c],this.c--,this.f++,this.a.length>2*this.c&&bg(this),!0):!1};function bg(c){if(c.c!=c.a.length){for(var d=0,e=0;d<c.a.length;){var f=c.a[d];cg(c.b,f)&&(c.a[e++]=f);d++}c.a.length=e}if(c.c!=c.a.length){var g={};for(e=d=0;d<c.a.length;)f=c.a[d],cg(g,f)||(c.a[e++]=f,g[f]=1),d++;c.a.length=e}}k.get=function(c,d){return cg(this.b,c)?this.b[c]:d};k.set=function(c,d){cg(this.b,c)||(this.c++,this.a.push(c),this.f++);this.b[c]=d};
|
||
|
k.forEach=function(c,d){for(var e=this.ea(),f=0;f<e.length;f++){var g=e[f],h=this.get(g);c.call(d,h,g,this)}};k.ti=function(){for(var c=new ag,d=0;d<this.a.length;d++){var e=this.a[d];c.set(this.b[e],e)}return c};k.Nf=function(){bg(this);for(var c={},d=0;d<this.a.length;d++){var e=this.a[d];c[e]=this.b[e]}return c};k.Ee=function(){return eg(this,!0)};k.Ze=function(){return eg(this,!1)};
|
||
|
function eg(c,d){bg(c);var e=0,f=c.f,g=new $f;g.next=function(){if(f!=c.f)throw Error("The map has changed since the iterator was created");if(e>=c.a.length)throw Zf;var g=c.a[e++];return d?g:c.b[g]};return g}function cg(c,d){return Object.prototype.hasOwnProperty.call(c,d)};function fg(c){if(c.V&&"function"==typeof c.V)return c.V();if(y(c))return c.split("");if(La(c)){for(var d=[],e=c.length,f=0;f<e;f++)d.push(c[f]);return d}d=[];e=0;for(f in c)d[e++]=c[f];return d}
|
||
|
function gg(c,d,e){if(c.forEach&&"function"==typeof c.forEach)c.forEach(d,e);else if(La(c)||y(c))C(c,d,e);else{if(c.ea&&"function"==typeof c.ea)var f=c.ea();else if(c.V&&"function"==typeof c.V)f=void 0;else if(La(c)||y(c)){f=[];for(var g=c.length,h=0;h<g;h++)f.push(h)}else f=Kb(c);g=fg(c);h=g.length;for(var l=0;l<h;l++)d.call(e,g[l],f&&f[l],c)}};var hg=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function ig(c,d){if(c){c=c.split("&");for(var e=0;e<c.length;e++){var f=c[e].indexOf("="),g=null;if(0<=f){var h=c[e].substring(0,f);g=c[e].substring(f+1)}else h=c[e];d(h,g?decodeURIComponent(g.replace(/\+/g," ")):"")}}};function jg(c,d){this.b=this.m=this.h="";this.f=null;this.i=this.c="";this.g=this.s=!1;if(c instanceof jg){this.g=x(d)?d:c.g;kg(this,c.h);var e=c.m;Q(this);this.m=e;e=c.b;Q(this);this.b=e;lg(this,c.f);e=c.c;Q(this);this.c=e;mg(this,ng(c.a));c=c.i;Q(this);this.i=c}else c&&(e=String(c).match(hg))?(this.g=!!d,kg(this,e[1]||"",!0),c=e[2]||"",Q(this),this.m=og(c),c=e[3]||"",Q(this),this.b=og(c,!0),lg(this,e[4]),c=e[5]||"",Q(this),this.c=og(c,!0),mg(this,e[6]||"",!0),c=e[7]||"",Q(this),this.i=og(c)):(this.g=
|
||
|
!!d,this.a=new pg(null,this.g))}k=jg.prototype;k.toString=function(){var c=[],d=this.h;d&&c.push(qg(d,rg,!0),":");var e=this.b;if(e||"file"==d)c.push("//"),(d=this.m)&&c.push(qg(d,rg,!0),"@"),c.push(encodeURIComponent(String(e)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e=this.f,null!=e&&c.push(":",String(e));if(e=this.c)this.b&&"/"!=e.charAt(0)&&c.push("/"),c.push(qg(e,"/"==e.charAt(0)?sg:tg,!0));(e=this.a.toString())&&c.push("?",e);(e=this.i)&&c.push("#",qg(e,ug));return c.join("")};
|
||
|
k.resolve=function(c){var d=new jg(this),e=!!c.h;e?kg(d,c.h):e=!!c.m;if(e){var f=c.m;Q(d);d.m=f}else e=!!c.b;e?(f=c.b,Q(d),d.b=f):e=null!=c.f;f=c.c;if(e)lg(d,c.f);else if(e=!!c.c){if("/"!=f.charAt(0))if(this.b&&!this.c)f="/"+f;else{var g=d.c.lastIndexOf("/");-1!=g&&(f=d.c.substr(0,g+1)+f)}g=f;if(".."==g||"."==g)f="";else if(-1!=g.indexOf("./")||-1!=g.indexOf("/.")){f=0==g.lastIndexOf("/",0);g=g.split("/");for(var h=[],l=0;l<g.length;){var n=g[l++];"."==n?f&&l==g.length&&h.push(""):".."==n?((1<h.length||
|
||
|
1==h.length&&""!=h[0])&&h.pop(),f&&l==g.length&&h.push("")):(h.push(n),f=!0)}f=h.join("/")}else f=g}e?(Q(d),d.c=f):e=""!==c.a.toString();e?mg(d,ng(c.a)):e=!!c.i;e&&(c=c.i,Q(d),d.i=c);return d};function kg(c,d,e){Q(c);c.h=e?og(d,!0):d;c.h&&(c.h=c.h.replace(/:$/,""))}function lg(c,d){Q(c);if(d){d=Number(d);if(isNaN(d)||0>d)throw Error("Bad port number "+d);c.f=d}else c.f=null}function mg(c,d,e){Q(c);d instanceof pg?(c.a=d,vg(c.a,c.g)):(e||(d=qg(d,wg)),c.a=new pg(d,c.g));return c}
|
||
|
k.gf=function(c,d){return mg(this,c,d)};k.qe=function(){return og(this.a.toString())};function xg(c,d,e){Q(c);c.a.set(d,e)}k.bi=function(c,d){Q(this);z(d)||(d=[String(d)]);yg(this.a,c,d);return this};k.Qe=function(c){return this.a.V(c)};k.Of=function(c){return(!this.b&&!c.b||this.b==c.b)&&(null==this.f&&null==c.f||this.f==c.f)};k.ug=function(){Q(this);xg(this,"zx",Cb());return this};function zg(c,d){Q(c);c.a.remove(d);return c}k.ii=function(c){this.s=c;return this};k.eg=function(){return this.s};
|
||
|
function Q(c){if(c.s)throw Error("Tried to modify a read-only Uri");}k.ff=function(c){this.g=c;this.a&&vg(this.a,c);return this};function Ag(c){return c instanceof jg?new jg(c):new jg(c,void 0)}function og(c,d){return c?d?decodeURI(c.replace(/%25/g,"%2525")):decodeURIComponent(c):""}function qg(c,d,e){return y(c)?(c=encodeURI(c).replace(d,Bg),e&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null}function Bg(c){c=c.charCodeAt(0);return"%"+(c>>4&15).toString(16)+(c&15).toString(16)}
|
||
|
var rg=/[#\/\?@]/g,tg=/[#\?:]/g,sg=/[#\?]/g,wg=/[#\?@]/g,ug=/#/g;function pg(c,d){this.b=this.a=null;this.c=c||null;this.f=!!d}function Cg(c){c.a||(c.a=new ag,c.b=0,c.c&&ig(c.c,function(d,e){c.add(decodeURIComponent(d.replace(/\+/g," ")),e)}))}k=pg.prototype;k.df=function(){Cg(this);return this.b};k.add=function(c,d){Cg(this);this.c=null;c=Dg(this,c);var e=this.a.get(c);e||this.a.set(c,e=[]);e.push(d);this.b+=1;return this};
|
||
|
k.remove=function(c){Cg(this);c=Dg(this,c);return cg(this.a.b,c)?(this.c=null,this.b-=this.a.get(c).length,this.a.remove(c)):!1};k.af=function(){this.a=this.c=null;this.b=0};k.ef=function(){Cg(this);return 0==this.b};function Eg(c,d){Cg(c);d=Dg(c,d);return cg(c.a.b,d)}k.bf=function(c){var d=this.V();return eb(d,c)};k.forEach=function(c,d){Cg(this);this.a.forEach(function(e,f){C(e,function(e){c.call(d,e,f,this)},this)},this)};
|
||
|
k.ea=function(){Cg(this);for(var c=this.a.V(),d=this.a.ea(),e=[],f=0;f<d.length;f++)for(var g=c[f],h=0;h<g.length;h++)e.push(d[f]);return e};k.V=function(c){Cg(this);var d=[];if(y(c))Eg(this,c)&&(d=gb(d,this.a.get(Dg(this,c))));else{c=this.a.V();for(var e=0;e<c.length;e++)d=gb(d,c[e])}return d};k.set=function(c,d){Cg(this);this.c=null;c=Dg(this,c);Eg(this,c)&&(this.b-=this.a.get(c).length);this.a.set(c,[d]);this.b+=1;return this};
|
||
|
k.get=function(c,d){if(!c)return d;c=this.V(c);return 0<c.length?String(c[0]):d};function yg(c,d,e){c.remove(d);0<e.length&&(c.c=null,c.a.set(Dg(c,d),hb(e)),c.b+=e.length)}k.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var c=[],d=this.a.ea(),e=0;e<d.length;e++){var f=d[e],g=encodeURIComponent(String(f));f=this.V(f);for(var h=0;h<f.length;h++){var l=g;""!==f[h]&&(l+="="+encodeURIComponent(String(f[h])));c.push(l)}}return this.c=c.join("&")};
|
||
|
k.Wd=function(c){Cg(this);this.a.forEach(function(d,e){eb(c,e)||this.remove(e)},this);return this};function ng(c){var d=new pg;d.c=c.c;c.a&&(d.a=new ag(c.a),d.b=c.b);return d}function Dg(c,d){d=String(d);c.f&&(d=d.toLowerCase());return d}function vg(c,d){d&&!c.f&&(Cg(c),c.c=null,c.a.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),yg(this,e,c))},c));c.f=d}k.cf=function(c){for(var d=0;d<arguments.length;d++)gg(arguments[d],function(c,d){this.add(d,c)},this)};var Fg={};function Gg(c,d){var e=Fg[c];if(void 0!==e&&(!e.mb||Date.now()<=e.mb+3E5))return e.p;e=new Promise(function(c,e){d.onload=function(){return c(d)};d.onerror=function(c){d.parentNode&&d.parentNode.removeChild(d);e(c)};document.head.appendChild(d)});var f={mb:0,p:e};e.catch(function(){return f.mb=+new Date});Fg[c]=f;return e}function R(){return new URL(document.location.toString())}
|
||
|
function Hg(c,d){var e={path:c};(void 0===d?0:d)?(d=sf(document),e.scrollX=d.x,e.scrollY=d.y,window.history.replaceState(e,document.title,c)):window.history.pushState(e,document.title,c)}function Ig(c){var d=void 0===d?null:d;c=Ag(c);var e=document.createElement("script");e.src=c.toString();d&&(e.type=d);return Gg(c.toString(),e)}
|
||
|
function Jg(c,d){d=void 0===d?{}:d;var e={method:"GET",credentials:"include"},f;for(f in d)"headers"==f?e.headers=d[f]:e[f]=d[f];return window.fetch(c,e).then(function(c){return Kg(c)}).then(function(c){return e.headers&&e.headers.get("X-DevSite-Partial-Request")&&!c.headers.get("X-DevSite-Partial-Response")?Promise.reject(c):Promise.resolve(c)}).then(function(c){return Lg(c)})}
|
||
|
function Mg(c){var d=void 0===d?null:d;var e=void 0===e?"POST":e;"/"==c[0]&&(c=c.substring(1));c=Ng("/_d/"+c);var f=new Headers;f.append("X-Requested-With","XMLHttpRequest");return window.fetch(c.href,{method:e,headers:f,body:d,credentials:"include"}).then(function(c){return Kg(c)}).then(function(c){return Lg(c)}).then(function(c){return Promise.resolve(c.replace(")]}'\n",""))})}function Kg(c){return c.ok?Promise.resolve(c):Promise.reject(c)}
|
||
|
function Lg(c){var d=c.headers.get("Content-Type");return d&&-1!==d.indexOf("application/json")?c.text():Promise.reject(c)}function Og(c){var d=void 0===d?document:d;return d.querySelector('[ds-is="'+c+'"]')}function Pg(c){var d=void 0===d?document:d;return Array.from(d.querySelectorAll('[ds-is="'+c+'"]'))}
|
||
|
function Ng(c){var d=R();c=new URL(c,d.origin);if(c.hostname!==d.hostname)return c;var e=new jg(d.href),f=new jg(c.href);["tenant","hl","authuser","acting_user"].forEach(function(c){var d=e.a.get(c);d&&!f.a.get(c)&&xg(f,c,d)});c.search=f.a.toString();return c}function Qg(c){document.body.dispatchEvent(new CustomEvent("devsite-analytics-error",{detail:{message:c},bubbles:!0}))}
|
||
|
function Rg(c){var d={};c.includes("#")&&(d=c.split("#"),c=d[0]);c=c.replace(/\.html+$/,"").replace(/\.md+$/,"").replace(/index+$/,"");0<d.length&&(c=c.concat("#",d[1]));return"/"===c?"/":c.replace(/\/+$/,"")};var S={ANALYTICS:"analytics",CONTENT:"content",EXPANDABLE_NAV:"expandable-nav",FOOTER_LINKBOXES:"footer-linkboxes",FOOTER_PROMOS:"footer-promos",FOOTER_UTILITY:"footer-utility",HEADER:"header",BOOK_NAV:"book-nav",SEARCH:"search",SITE_MASK:"sitemask",SNACKBAR:"snackbar",SPINNER:"spinner",TABS:"tabs",TOC:"toc"};function Sg(c){Wc(this,c,null)}A(Sg,Uc);Sg.prototype.v=function(c){var d,e={action:null==(d=M(this,1,0))?void 0:d,url:null==(d=M(this,2,""))?void 0:d};c&&(e.aa=this);return e};Sg.prototype.s=function(){var c=new Fc;var d=M(this,1,0);0!==d&&Lc(c,1,d);d=M(this,2,"");0<d.length&&c.o(2,d);return Hc(c)};function Tg(c,d,e){d=void 0===d?[]:d;!(this.a=v.navigator.serviceWorker)||"https:"!==document.location.protocol&&"localhost"!==document.location.hostname||(this.c=d,this.f=c,this.b=null,e&&(this.b=e),Ug(this),Vg(this),Wg(this))}function Ug(c){c.a.addEventListener("message",function(d){a:if(d.isTrusted&&d.origin===document.location.origin){try{var e=jd(Sg,d.data)}catch(f){break a}switch(M(e,1,0)){case 2:Xg(M(e,2,""));break;case 3:c.b&&c.b();break;case 4:Yg(c)}}})}
|
||
|
function Wg(c){var d,e,f,g,h,l,n,q,w;u(function(F){switch(F.a){case 1:return d=R(),e=new jg(d.href),t(F,c.a.getRegistration(),2);case 2:f=F.c;g=e.a.get("skip_sw");h=!(!g||"true"!==g.toLowerCase());if(!h){F.K(3);break}if(!f){F.K(4);break}return t(F,f.unregister(),4);case 4:return F.return();case 3:return l=(new URL("/sw.js",d.origin)).href,n=(new URL("./",d.origin)).href,F.b=6,t(F,c.a.register(l,{scope:n}),8);case 8:(q=F.c)&&Zg(c,q);va(F,0);break;case 6:w=wa(F),Qg("ServiceWorker failed to become ready: "+
|
||
|
w.message),F.a=0}})}function Vg(c){var d,e,f;u(function(g){if(1==g.a)return c.f?t(g,window.caches.open("devsite.pwa_RUNTIME_v2"),2):g.return();if(3!=g.a)return d=g.c,t(g,d.keys(),3);e=g.c;f=[];e.forEach(function(e){0===e.url.indexOf("https://www.gstatic.com/devrel-devsite")&&-1===e.url.indexOf(c.f)&&f.push(d.delete(e))});return t(g,Promise.all(f),0)})}function $g(c,d){return c.hostname===d||"www.gstatic.com"===c.hostname||"gstatic.com"===c.hostname}
|
||
|
function Yg(c){var d,e,f,g,h,l,n,q;u(function(w){if(1==w.a)return t(w,c.a.getRegistration(),2);d=w.c;if(!d||!d.active||!c.c)return w.return();e=R();f=e.origin;g=e.hostname;h=new Set;c.c.forEach(function(c){c=new URL(c,f);h.add(c.href)});l=R();l.searchParams.set("partial","1");h.add(l.href);n=(new URL("/sw.js",e.origin)).href;h.add(n);q=new URL("/_static/offline?partial=1",e.origin);h.add(q.href);Array.from(document.documentElement.querySelectorAll("script[src]")).forEach(function(c){c=new URL(c.src,
|
||
|
f);$g(c,g)&&h.add(c.href)});Array.from(document.documentElement.querySelectorAll("img[src]")).forEach(function(c){c=new URL(c.currentSrc,f);$g(c,g)&&h.add(c.href)});Array.from(document.documentElement.querySelectorAll('link[rel="stylesheet"]')).forEach(function(c){c=new URL(c.href,f);$g(c,g)&&h.add(c.href)});h.forEach(function(d){var e=new Sg;P(e,1,1,0);O(e,2,d);c.sendMessage(e)});c.c=null;w.a=0})}
|
||
|
Tg.prototype.sendMessage=function(c){return this.a.getRegistration().then(function(d){if(!d||!d.active)return Promise.reject();d.active.postMessage(c.Oa());return Promise.resolve()})};function Xg(c){c=new URL(c,document.location.origin);Array.from(document.querySelectorAll('[src*="'+c.pathname+'"]')).forEach(function(c){var d=new URL(c.src);d.searchParams.has("dcb_")||(d.searchParams.set("dcb_",""+Math.random()),c.src=d.href)})}
|
||
|
function Zg(c,d){var e;u(function(f){if(1==f.a)return d.addEventListener("updatefound",function(){c.b&&c.b()}),c.a.controller||d.active?t(f,c.a.ready,3):f.K(2);if(2!=f.a)return Yg(c),f.return();(e=d.installing||d.waiting)&&e.addEventListener("statechange",function(d){switch(d.target.state){case "redundant":c.b&&c.b();break;case "installed":case "active":Yg(c)}});f.a=0})};function ah(){rd.call(this);this.c=new Ed(this);this.H=this;this.i=null}A(ah,rd);ah.prototype[zd]=!0;k=ah.prototype;k.ci=function(c){this.i=c};k.addEventListener=function(c,d,e,f){Md(this,c,d,e,f)};k.removeEventListener=function(c,d,e,f){Ud(this,c,d,e,f)};
|
||
|
function bh(c,d){var e,f=c.i;if(f)for(e=[];f;f=f.i)e.push(f);c=c.H;f=d.type||d;if(y(d))d=new ud(d,c);else if(d instanceof ud)d.target=d.target||c;else{var g=d;d=new ud(f,c);Nb(d,g)}g=!0;if(e)for(var h=e.length-1;!d.b&&0<=h;h--){var l=d.a=e[h];g=ch(l,f,!0,d)&&g}d.b||(l=d.a=c,g=ch(l,f,!0,d)&&g,d.b||(g=ch(l,f,!1,d)&&g));if(e)for(h=0;!d.b&&h<e.length;h++)l=d.a=e[h],g=ch(l,f,!1,d)&&g;return g}
|
||
|
k.T=function(){ah.ia.T.call(this);if(this.c){var c=this.c,d=0,e;for(e in c.a){for(var f=c.a[e],g=0;g<f.length;g++)++d,Dd(f[g]);delete c.a[e];c.b--}}this.i=null};k.j=function(c,d,e,f){return this.c.add(String(c),d,!1,e,f)};k.Ra=function(c,d,e,f){this.c.remove(String(c),d,e,f)};
|
||
|
function ch(c,d,e,f){d=c.c.a[String(d)];if(!d)return!0;d=d.concat();for(var g=!0,h=0;h<d.length;++h){var l=d[h];if(l&&!l.sa&&l.capture==e){var n=l.listener,q=l.Ma||l.src;l.Ia&&Gd(c.c,l);g=!1!==n.call(q,f)&&g}}return g&&0!=f.Xb}k.rf=function(c,d){c=this.c.a[String(c).toString()];var e=[];if(c)for(var f=0;f<c.length;++f){var g=c[f];g.capture==d&&e.push(g)}return e};k.sf=function(c,d){return Id(this.c,x(c)?String(c):void 0,d)};k.li=function(c){this.H=c};k.od=function(){};function dh(c,d){if(!Ma(c))if(c&&"function"==typeof c.handleEvent)c=Sa(c.handleEvent,c);else throw Error("Invalid listener argument");return 2147483647<Number(d)?-1:v.setTimeout(c,d||0)};function eh(c,d,e){rd.call(this);this.s=null!=e?Sa(c,e):c;this.m=d;this.i=Sa(this.Kc,this);this.c=!1;this.f=0;this.g=this.a=null;this.h=[]}A(eh,rd);k=eh.prototype;k.D=function(c){this.h=arguments;this.c=!1;this.a?this.g=Ua()+this.m:this.a=dh(this.i,this.m)};k.hf=function(){++this.f};k.jf=function(){this.f&&(--this.f,!this.f&&this.c&&(this.c=!1,this.s.apply(null,this.h)))};k.T=function(){this.a&&(v.clearTimeout(this.a),this.a=null);this.g=null;this.c=!1;this.h=[];eh.ia.T.call(this)};
|
||
|
k.Kc=function(){this.g?(this.a=dh(this.i,this.g-Ua()),this.g=null):(this.a=null,this.f?this.c=!0:(this.c=!1,this.s.apply(null,this.h)))};function fh(c){ah.call(this);this.f=c||window;this.g=Md(this.f,"resize",this.h,!1,this);this.a=qf(this.f||window)}A(fh,ah);fh.prototype.T=function(){fh.ia.T.call(this);this.g&&(Vd(this.g),this.g=null);this.a=this.f=null};fh.prototype.h=function(){var c=qf(this.f||window),d=this.a;c==d||c&&d&&c.width==d.width&&c.height==d.height||(this.a=c,bh(this,"resize"))};function T(c){rd.call(this);this.c=c;this.a={}}A(T,rd);var gh=[];k=T.prototype;k.j=function(c,d,e,f){return hh(this,c,d,e,f)};k.qg=function(c,d,e,f,g){return hh(this,c,d,e,f,g)};function hh(c,d,e,f,g,h){z(e)||(e&&(gh[0]=e.toString()),e=gh);for(var l=0;l<e.length;l++){var n=Md(d,e[l],f||c.handleEvent,g||!1,h||c.c||c);if(!n)break;c.a[n.key]=n}return c}function ih(c,d,e,f){jh(c,d,e,f,void 0)}k.pg=function(c,d,e,f,g){return jh(this,c,d,e,f,g)};
|
||
|
function jh(c,d,e,f,g,h){if(z(e))for(var l=0;l<e.length;l++)jh(c,d,e[l],f,g,h);else{d=Nd(d,e,f||c.handleEvent,g,h||c.c||c);if(!d)return c;c.a[d.key]=d}return c}k.rg=function(c,d,e,f){d.j(c,e,f,this.c||this);return this};k.sg=function(c,d,e,f,g){d.j(c,e,f,g||this.c||this);return this};k.qf=function(){var c=0,d;for(d in this.a)Object.prototype.hasOwnProperty.call(this.a,d)&&c++;return c};
|
||
|
k.Ra=function(c,d,e,f,g){if(z(d))for(var h=0;h<d.length;h++)this.Ra(c,d[h],e,f,g);else e=e||this.handleEvent,f=Na(f)?!!f.capture:!!f,g=g||this.c||this,e=Od(e),f=!!f,d=Ad(c)?Hd(c.c,String(d),e,f,g):c?(c=Qd(c))?Hd(c,d,e,f,g):null:null,d&&(Vd(d),delete this.a[d.key])};k.ui=function(c,d,e,f,g){d.Ra(c,e,f,g||this.c||this,this);return this};function U(c){Ib(c.a,function(c,e){this.a.hasOwnProperty(e)&&Vd(c)},c);c.a={}}k.T=function(){T.ia.T.call(this);U(this)};
|
||
|
k.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function kh(c,d,e,f){this.top=c;this.right=d;this.bottom=e;this.left=f}k=kh.prototype;k.wf=function(){return this.right-this.left};k.vf=function(){return this.bottom-this.top};k.tf=function(){return new kh(this.top,this.right,this.bottom,this.left)};k.contains=function(c){return this&&c?c instanceof kh?c.left>=this.left&&c.right<=this.right&&c.top>=this.top&&c.bottom<=this.bottom:c.x>=this.left&&c.x<=this.right&&c.y>=this.top&&c.y<=this.bottom:!1};
|
||
|
k.uf=function(c,d,e,f){Na(c)?(this.top-=c.top,this.right+=c.right,this.bottom+=c.bottom,this.left-=c.left):(this.top-=c,this.right+=Number(d),this.bottom+=Number(e),this.left-=Number(f));return this};k.Td=function(c){this.left=Math.min(this.left,c.left);this.top=Math.min(this.top,c.top);this.right=Math.max(this.right,c.right);this.bottom=Math.max(this.bottom,c.bottom)};
|
||
|
k.Ud=function(c){this.top=Math.min(this.top,c.y);this.right=Math.max(this.right,c.x);this.bottom=Math.max(this.bottom,c.y);this.left=Math.min(this.left,c.x)};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
|
||
|
k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};k.yf=function(c,d){c instanceof ef?(this.left+=c.x,this.right+=c.x,this.top+=c.y,this.bottom+=c.y):(this.left+=c,this.right+=c,Ha(d)&&(this.top+=d,this.bottom+=d));return this};k.xf=function(c,d){d=Ha(d)?d:c;this.left*=c;this.right*=c;this.top*=d;this.bottom*=d;return this};function lh(c,d,e){if(y(d))(d=mh(c,d))&&(c.style[d]=e);else for(var f in d){e=c;var g=d[f],h=mh(e,f);h&&(e.style[h]=g)}}var nh={};function mh(c,d){var e=nh[d];if(!e){var f=Eb(d);e=f;void 0===c.style[f]&&(f=(E.N?"Webkit":E.ba?"Moz":E.u?"ms":E.ka?"O":null)+Fb(f),void 0!==c.style[f]&&(e=f));nh[d]=e}return e}function oh(c,d){var e=kf(c);return e.defaultView&&e.defaultView.getComputedStyle&&(c=e.defaultView.getComputedStyle(c,null))?c[d]||c.getPropertyValue(d)||"":""}
|
||
|
function ph(c){try{var d=c.getBoundingClientRect()}catch(e){return{left:0,top:0,right:0,bottom:0}}E.u&&c.ownerDocument.body&&(c=c.ownerDocument,d.left-=c.documentElement.clientLeft+c.body.clientLeft,d.top-=c.documentElement.clientTop+c.body.clientTop);return d}
|
||
|
function qh(c,d){d=d||tf(document);var e=rh(c),f=rh(d);if(E.u&&!E.Z(9)){var g=sh(d,"borderLeft");var h=sh(d,"borderRight");var l=sh(d,"borderTop"),n=sh(d,"borderBottom");h=new kh(l,h,n,g)}else g=oh(d,"borderLeftWidth"),h=oh(d,"borderRightWidth"),l=oh(d,"borderTopWidth"),n=oh(d,"borderBottomWidth"),h=new kh(parseFloat(l),parseFloat(h),parseFloat(n),parseFloat(g));d==tf(document)?(g=e.x-d.scrollLeft,e=e.y-d.scrollTop,E.u&&!E.Z(10)&&(g+=h.left,e+=h.top)):(g=e.x-f.x-h.left,e=e.y-f.y-h.top);c=th(c);f=
|
||
|
d.clientHeight-c.height;h=d.scrollLeft;l=d.scrollTop;h+=g-(d.clientWidth-c.width)/2;return new ef(h,l+(e-f/2))}function rh(c){var d=kf(c),e=new ef(0,0);var f=d?kf(d):document;f=!E.u||E.Z(9)||rf(hf(f).a)?f.documentElement:f.body;if(c==f)return e;c=ph(c);d=sf(hf(d).a);e.x=c.left+d.x;e.y=c.top+d.y;return e}
|
||
|
function uh(c){var d=th;if("none"!=(oh(c,"display")||(c.currentStyle?c.currentStyle.display:null)||c.style&&c.style.display))return d(c);var e=c.style,f=e.display,g=e.visibility,h=e.position;e.visibility="hidden";e.position="absolute";e.display="inline";c=d(c);e.display=f;e.position=h;e.visibility=g;return c}function th(c){var d=c.offsetWidth,e=c.offsetHeight,f=E.N&&!d&&!e;return x(d)&&!f||!c.getBoundingClientRect?new ff(d,e):(c=ph(c),new ff(c.right-c.left,c.bottom-c.top))}
|
||
|
function vh(c){return new ff(c.offsetWidth,c.offsetHeight)}function wh(c,d){if(/^\d+px?$/.test(d))return parseInt(d,10);var e=c.style.left,f=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;c.style.left=d;d=c.style.pixelLeft;c.style.left=e;c.runtimeStyle.left=f;return+d}function xh(c,d){return(d=c.currentStyle?c.currentStyle[d]:null)?wh(c,d):0}
|
||
|
function yh(c,d){if(E.u){var e=xh(c,d+"Left"),f=xh(c,d+"Right"),g=xh(c,d+"Top");c=xh(c,d+"Bottom");return new kh(g,f,c,e)}e=oh(c,d+"Left");f=oh(c,d+"Right");g=oh(c,d+"Top");c=oh(c,d+"Bottom");return new kh(parseFloat(g),parseFloat(f),parseFloat(c),parseFloat(e))}var zh={thin:2,medium:4,thick:6};function sh(c,d){if("none"==(c.currentStyle?c.currentStyle[d+"Style"]:null))return 0;d=c.currentStyle?c.currentStyle[d+"Width"]:null;return d in zh?zh[d]:wh(c,d)};var Ah=[0,25,50,75,100];
|
||
|
function Bh(){var c=this;this.Cb=this.s=this.g=this.c=this.C=this.i=0;this.F=sf(document);this.oc=new fh;this.h=new T;this.w=this.ya=this.xa=this.b=this.f=this.a=null;this.jc=this.X=this.td=this.H=this.Ga=this.kc=this.m=0;this.Bb=!0;this.v=0;this.Db=this.Ea=this.Fa=-1;this.L=this.Fb=0;this.ja=!1;this.lc=new MutationObserver(function(){return Ch(c)});this.mc=new eh(function(){return Dh(c)},20);this.qc=new eh(function(){document.body.dispatchEvent(new CustomEvent("devsite-sticky-scroll",{bubbles:!0,
|
||
|
detail:{x:c.Cb,y:c.s,offset:c.i}}))},16);this.ic=new eh(function(){Eh(c);Fh(c);c.v=Math.max(0,c.F.y)},20)}function Gh(c){Hh(c);Ih(c);Jh(c);Dh(c);Fh(c)}
|
||
|
function Hh(c){c.h.j(window,"scroll",function(){return Fh(c)});c.h.j(window,"resize",function(){return Eh(c)});c.h.j(document.body,"devsite-sticky-freeze",function(){return c.ja=!0});c.h.j(document.body,["devsite-content-updated","devsite-element-visible","devsite-element-hidden","devsite-page-loaded"],function(){return Jh(c)});c.h.j(document.body,"devsite-before-page-change",function(){return Kh(c)})}function Jh(c){window.requestAnimationFrame(function(){return c.ic.D()})}
|
||
|
function Kh(c){var d=c.v+c.m,e=Math.max(c.H+c.Ga,c.m),f=Math.min(100,Math.floor(d/e*100));10>Math.abs(e-d)&&(f=100);d=Ah.find(function(c){return c>=f});document.body.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",action:"pageScrollRaw",label:f+"%"},bubbles:!0}));document.body.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",action:"pageScroll",label:d+"%"},bubbles:!0}));c.v=0}
|
||
|
function Ih(c){var d=Og(S.HEADER);d&&(c.a=d,c.Bb=!c.a.hasAttribute("keep-tabs-visible"),c.lc.observe(d,{attributes:!0,attributeFilter:["top-row--height","bottom-row--height","bottom-tabs--height"]}));if(d=document.querySelector("#gc-wrapper"))c.ya=d;(d=Og(S.BOOK_NAV))?(c.f=d,c.f.setAttribute("fixed","")):c.f=null;c.b=null;d=Pg(S.TOC);d.length&&(d=d.find(function(c){return c.classList.contains("devsite-toc")}))&&!d.hasAttribute("hidden")&&(c.b=d,c.b.setAttribute("fixed",""),c.xa=c.b.querySelector(".devsite-nav-list:first-of-type"));
|
||
|
c.w=null;Array.from(document.querySelectorAll(".devsite-footer")).some(function(d){if(vh(d).height)return c.w=d,!0})}
|
||
|
function Ch(c){var d=c.oc;d.a?(d=d.a,d=new ff(d.width,d.height)):d=null;c.m=d.height;c.a&&(c.C=parseFloat(c.a.getAttribute("top-row--height")||0),c.c=parseFloat(c.a.getAttribute("bottom-row--height")||0),c.g=parseFloat(c.a.getAttribute("bottom-tabs--height")||0));var e=Og(S.CONTENT);e&&(d=vh(e),e=parseFloat(oh(e,"marginLeft")),c.kc=d.width+e,c.Ga=d.height);if(e=document.querySelector(".devsite-main-content"))d=parseFloat(oh(e,"paddingTop")),e=parseFloat(oh(e,"paddingBottom")),c.X=d,c.jc=e;c.ya&&(c.a&&
|
||
|
!c.a.hasAttribute("fixed")&&c.a.setAttribute("fixed",""),d=c.C+c.c,c.H!==d&&(c.H=d,lh(c.ya,"marginTop",d+"px")));c.b&&(c.Fb=c.b.offsetWidth);c.w&&(d=c.w,c.L=(new ef(d.offsetLeft,d.offsetTop)).y)}function Lh(c){var d=c.m,e=c.m,f=c.C+c.c;d=d-f+c.i;e=e-f+c.i;d-=c.X;d-=48;c.L&&(c=c.L-(c.s+c.m),0>c&&(d-=Math.abs(c)));d=Math.max(0,d);e=Math.max(0,e);return{Pa:d,$a:f,Ha:e}}function Eh(c){window.requestAnimationFrame(function(){return c.mc.D()})}
|
||
|
function Dh(c){Ih(c);Ch(c);Fh(c);document.body.dispatchEvent(new CustomEvent("devsite-sticky-resize",{bubbles:!0}))}function Fh(c){c.F=sf(document);window.requestAnimationFrame(function(){Mh(c)})}
|
||
|
function Mh(c){var d=Math.max(0,c.F.y),e=c.s>d,f=Math.abs(c.s-d),g=c.i||0;c.v=Math.max(c.v,d);c.s=d;c.Cb=Math.max(0,c.F.x);if(c.ja)c.ja=!1;else{var h=[],l=!c.Bb&&0!==c.g;e?(e=c.c,e=l?c.g:e-c.g,g=d>e?Math.max(g-f,c.c-c.g):Math.max(0,g-f)):(d=c.c,l&&(d=c.c-c.g),g=Math.min(g+f,d));g=Math.round(Math.max(0,g));f=c.i!==g;c.i=g;var n=Lh(c);c.a&&f&&c.a.setAttribute("offset",g);if(c.f)if(0<n.Ha){var q={};c.Fa!==n.$a&&(q.top=n.$a+"px",c.Fa=n.$a);c.Ea!==n.Ha&&(q.maxHeight=n.Ha+"px",c.Ea=n.Ha);f&&(q.transform=
|
||
|
"translate3d(0, -"+g+"px, 0)");Object.keys(q).length&&h.push(function(){lh(c.f,q);c.f.removeAttribute("visually-hidden")})}else h.push(function(){c.f.setAttribute("visually-hidden","")});c.b&&(24>n.Pa?c.b.setAttribute("visually-hidden",""):c.b.removeAttribute("visually-hidden"),c.Db!==n.Pa&&(h.push(function(){c.b.setAttribute("max-height",n.Pa)}),c.Db=n.Pa),h.push(function(){c.xa&&lh(c.xa,"max-width",c.Fb+"px")}),f&&h.push(function(){c.b.setAttribute("offset",g)}));h.length&&window.requestAnimationFrame(function(){h.forEach(function(d){return d.apply(c)});
|
||
|
c.qc.D()})}}function Nh(c,d,e){c.a&&(c.a.style.opacity=0);window.scrollTo(void 0===d?0:d,void 0===e?0:e);c.a&&window.requestAnimationFrame(function(){c.a.style.opacity=1})}Bh.prototype.R=function(){U(this.h)};function Oh(c){Wc(this,c,null)}A(Oh,Uc);Oh.prototype.v=function(c){var d,e={action:null==(d=M(this,1,0))?void 0:d,name:null==(d=M(this,2,""))?void 0:d,height:null==(d=M(this,3,0))?void 0:d,width:null==(d=M(this,4,0))?void 0:d,title:null==(d=M(this,5,""))?void 0:d,url:null==(d=M(this,6,""))?void 0:d,ah:null==(d=M(this,7,""))?void 0:d,ud:null==(d=M(this,8,""))?void 0:d};c&&(e.aa=this);return e};
|
||
|
Oh.prototype.s=function(){var c=new Fc;var d=M(this,1,0);0!==d&&Lc(c,1,d);d=M(this,2,"");0<d.length&&c.o(2,d);d=M(this,3,0);0!==d&&null!=d&&Ic(c,3,d);d=M(this,4,0);0!==d&&null!=d&&Ic(c,4,d);d=M(this,5,"");0<d.length&&c.o(5,d);d=M(this,6,"");0<d.length&&c.o(6,d);d=M(this,7,"");0<d.length&&c.o(7,d);d=M(this,8,"");0<d.length&&c.o(8,d);return Hc(c)};Oh.prototype.w=function(c){P(this,4,c,0)};function Ph(c,d){O(c,8,d)};function Qh(c){this.c=5;this.f=c;this.a=this.b=5;this.i=0;this.h=this.g=2}k=Qh.prototype;k.bb=0;k.cb=0;k.reset=function(){this.a=this.b=this.c;this.cb=this.bb=0};k.pe=function(){return this.cb};function Rh(c){c.a=Math.min(c.f,2*c.a);c.b=Math.min(c.f,c.a);c.bb++}k.Hd=function(){this.a=Math.max(this.c,this.a/2);this.b=Math.max(this.c,this.a);this.cb++};function Sh(){var c=this;this.f=!1;this.m=-1;this.a="";this.w=0;this.g={};this.c=new T;this.h=new Qh(2E4);this.F=new eh(function(){var d=Math.ceil(document.body.scrollHeight-40),e=new Oh;P(e,1,5,0);c.f&&d!==c.m&&(P(e,3,d,0),c.m=d,Th(c,e))},20);this.C=new fh;this.s=new MutationObserver(function(){return c.ta()});this.v=!1;this.i=this.b=null}
|
||
|
function Uh(c){c.v||(c.v=!0,c.c.j(c.C,"resize",function(){return c.ta()}),c.c.j(window,"message",function(d){a:{d=d.G;try{var e=jd(Oh,d.data)}catch(g){break a}if(e)switch(M(e,1,0)){case 3:window.clearTimeout(c.w);c.a=M(e,2,"");c.i();c.ta();break;case 2:d=M(e,8,"");e=M(e,7,"");var f=c.g[d];f&&(f(e),delete c.g[d])}}}),c.c.j(document.body,"devsite-content-updated",function(){c.ta()}),c.s.observe(document.body,{childList:!0,subtree:!0}))}k=Sh.prototype;k.R=function(){U(this.c);this.s.disconnect()};
|
||
|
k.Ob=function(c){c=void 0===c?!1:c;Uh(this);this.f=c;this.ta()};function Vh(c){if(c.b)return c.b;Uh(c);var d=document.querySelector("meta[name=auto_height][content=true]");d&&(c.f=!0,Df(d));c.b=new Promise(function(d){c.i=d;Wh(c)});return c.b}function Wh(c){var d=c.h.b;window.parent&&!c.a&&2E4!==d&&(d=new Oh,P(d,1,4,0),Th(c,d),d=c.h.b,Rh(c.h),c.w=window.setTimeout(function(){Wh(c)},d))}function Th(c,d){c.a&&O(d,2,c.a);window.parent.postMessage(d.Oa(),"*")}k.ta=function(){this.f&&this.a&&this.F.D()};
|
||
|
k.Ic=function(c,d){c=void 0===c?"":c;d=void 0===d?"":d;var e=new Oh;P(e,1,6,0);c&&O(e,5,c);d&&O(e,6,d);Th(this,e)};k.Jc=function(c,d){c=void 0===c?"":c;d=void 0===d?"":d;var e=new Oh;P(e,1,7,0);c&&O(e,5,c);d&&O(e,6,d);Th(this,e)};k.Nc=function(c){var d="goog_"+Db++;this.g[d]=c;c=new Oh;P(c,1,1,0);Ph(c,d);Th(this,c)};Sh.prototype.initAutoSize=Sh.prototype.Ob;function Xh(){this.a=new Sh}function Yh(c){var d,e;u(function(f){if(1==f.a)return t(f,Vh(c.a),2);d=Ia("window.framebox.q");e=Ia("window.framebox.dq");Xa("window.framebox",c.b.bind(c));Xa("window.framebox.dq.push",c.c.bind(c));d&&d.forEach(function(d){return c.b.apply(c,d)});e&&e.forEach(function(d){return c.c(d)});f.a=0})}Xh.prototype.c=function(c){var d=Array.from(c);c=d.shift();d=d[0]?Array.from(d.shift()):[];d.unshift(c);this.b.apply(this,d)};
|
||
|
Xh.prototype.b=function(){var c=Array.from(arguments);switch(c.shift()){case "initAutoSize":this.a.Ob.apply(this.a,ba(c));break;case "updateSize":this.a.ta.apply(this.a,ba(c));break;case "requestQueryAndFragment":this.a.Nc.apply(this.a,ba(c));break;case "replaceState":this.a.Jc.apply(this.a,ba(c));break;case "pushState":this.a.Ic.apply(this.a,ba(c))}};Xh.prototype.R=function(){this.a.R()};function Zh(c,d){this.h=c;this.a=d;this.g="mark_"+this.a+"_start";this.f="mark_"+this.a+"_end";this.b=this.c=0}Zh.prototype.start=function(){if(!Zh.b||this.c)return this;this.c=window.performance.now();Zh.a&&window.performance.mark(this.g);return this};function $h(c){if(!Zh.b||c.b)return c;c.b=window.performance.now();Zh.a&&(window.performance.mark(c.f),window.performance.measure(c.a,c.g,c.f));return c}
|
||
|
Zh.prototype.send=function(){Zh.b&&document.body.dispatchEvent(new CustomEvent("devsite-analytics-timing",{detail:{category:this.h,variable:this.a,value:this.duration},bubbles:!0}))};r.Object.defineProperties(Zh.prototype,{duration:{configurable:!0,enumerable:!0,get:function(){var c=(this.b||window.performance.now())-this.c;if(Zh.a){var d=window.performance.getEntriesByName(this.a)[0];d&&"measure"!==d.entryType&&(c=d.duration)}return c||-1}}});
|
||
|
r.Object.defineProperties(Zh,{b:{configurable:!0,enumerable:!0,get:function(){return!(!window.performance||!window.performance.now)}},a:{configurable:!0,enumerable:!0,get:function(){return!(!window.performance||!window.performance.mark)}}});var ai=new Map([[".code-sample, .data-sample, .ds-selector-dropdown, .ds-selector-tabs,.kd-tabbed-horz, .kd-tabbed-vert","devsite-selector"],[".devsite-acknowledgement-link","devsite-wall-acknowledgement"],[".devsite-charts-table","devsite-chart"],[".devsite-dialog","devsite-dialog"],[".devsite-filter","devsite-filter"],[".devsite-tracking-question","devsite-tracking-question"],[".expandable","devsite-expandable"],[".google-feedback","devsite-feedback"],[".kd-select","devsite-select"],[".resource-widget",
|
||
|
"devsite-dynamic-content"],["iframe.devsite-embedded-youtube-video","devsite-youtube"],["iframe.framebox,iframe.inherit-locale","devsite-framebox"],["pre","devsite-code"],['[ds-is="content"] h1,[ds-is="content"] :not(.code-sample):not(.data-sample):not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h2,[ds-is="content"] :not(.code-sample):not(.data-sample):not(.devsite-dialog):not(devsite-dialog):not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h3,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h4,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h5,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h6',
|
||
|
"devsite-heading"],[".devsite-apix","devsite-apix"],[".devsite-sort","devsite-sort"],[".devsite-vplus","devsite-vplus"],["#gdf","devsite-forum"]]);function bi(c,d,e,f){e=void 0===e?new Map:e;f=void 0===f?[]:f;this.c=c.toLowerCase().replace("-","_");this.f=d;this.h=f;this.g=e||new Map;this.a=[];this.b={};e&&(this.a=Array.from(e.keys()))}function ci(c){return Promise.all(c.h.map(function(d){return di(c,d)}))}
|
||
|
function ei(c){for(var d=document,e={},f=m(ai.entries()),g=f.next();!g.done;e={Sa:e.Sa},g=f.next()){g=m(g.value);var h=g.next().value;e.Sa=g.next().value;Array.from(d.querySelectorAll(h)).forEach(function(c){return function(d){if(!d.hasAttribute("is-upgraded")){var e=d.parentElement,f=d.nextSibling,g=document.createElement(c.Sa);d.setAttribute("is-upgraded","");g.appendChild(d);e.insertBefore(g,f)}}}(e))}e=c.a.slice().map(function(e){return d.querySelectorAll(e+",[is*="+e+"]").length?di(c,e):Promise.resolve()});
|
||
|
return Promise.all(e)}
|
||
|
function di(c,d){var e,f,g,h;return u(function(l){switch(l.a){case 1:e=c.g.get(d);if(!e)throw Error(d+" is not a white-listed component.");f=c.b[d];if(void 0!==f)return l.return(f);c.b[d]=Promise.resolve();g=c.a.indexOf(d);-1!==g&&c.a.splice(g,1);if(window.customElements.get(d))return l.return(Promise.resolve());h=new Zh("Custom Element "+d,"load");h.start();l.b=2;var n=[];if(e.src){var q=c.f+"/js/"+e.src;c.c&&(q=q.replace(/\.js$/,"__"+c.c+".js"));q=Ig(q);n.push(q)}if(e.style){q=Ag(c.f+"/css/"+e.style);
|
||
|
var w=document.createElement("link");w.setAttribute("rel","stylesheet");w.setAttribute("type","text/css");w.setAttribute("href",q.toString());q=Gg(q.toString(),w);n.push(q)}n=Promise.all(n);return t(l,n,4);case 4:va(l,3);break;case 2:throw wa(l),Error("Failed to load resources for "+d);case 3:if(!e.src){l.K(0);break}$h(h);h.send();l.b=6;return t(l,window.customElements.whenDefined(d),8);case 8:va(l,0);break;case 6:throw wa(l),Error(d+" failed to be defined");}})};function V(c,d,e,f,g,h){var l=this;this.L=c;this.g=d;this.xa=e;this.F=f;this.Ea=g;this.m=this.c=null;this.b=new T;this.H=!1;if(h)try{this.C=new URL(h)}catch(n){console.warn("Invalid script safe domain",h)}this.f=0;this.i=this.a=null;this.w=this.X=!1;this.h=new Zh(R().href,"load");this.s=[];this.Ga=new eh(function(){Hg(R().href,!0)},250);this.v=new eh(function(){return fi(l)},20);this.ya=new MutationObserver(function(){l.v.D()})}k=V.prototype;k.R=function(){U(this.b);this.a&&this.a.R();this.i&&this.i.R()};
|
||
|
function gi(c,d){var e,f,g;return u(function(h){switch(h.a){case 1:"ontouchstart"in window&&document.body.setAttribute("touch","");"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");c.showLoading(150);try{c.m=new Tg(c.g,d,c.appNeedsRefresh.bind(c))}catch(l){}hi(c);c.a=new Bh;e=new bi(c.getLocale(),c.g,c.F,c.Ea);c.c=e;h.b=2;return t(h,ci(e),4);case 4:va(h,3);break;case 2:return f=wa(h),console.warn("Failed to initialize core elements",f),ii(c,"Failed to initialize core elements"),
|
||
|
h.return();case 3:return h.b=5,t(h,ei(e),7);case 7:va(h,6);break;case 5:g=wa(h),console.warn("Failed to upgrade elements",g);case 6:document.documentElement.hasAttribute("cached")?ji(c):(c.v.D(),ki(c),li(c),mi(c),c.hideLoading()),h.a=0}})}
|
||
|
function ni(){var c=oi,d,e;u(function(f){if(1==f.a){if(c.H)return f.return();c.H=!0;c.i=new Xh;d=new bi(c.getLocale(),c.g,c.F);c.c=d;try{c.m=new Tg(c.g)}catch(g){}c.b.j(window,"unload",function(){c.R()});e=function(){return"complete"===document.readyState||"loaded"===document.readyState?Promise.resolve(!0):new Promise(function(d){c.b.j(document,"DOMContentLoaded",d)})}();return t(f,e,2)}if(3!=f.a)return t(f,ei(c.c),3);Yh(c.i);f.a=0})}k.getStaticPath=function(){return this.g};
|
||
|
k.getLocale=function(){return"en"===this.L?"":this.L};k.Aa=function(){return this.ja?this.ja.Aa():this.xa};k.getInsecureHost=function(){if(this.C)return this.C.origin};k.appNeedsRefresh=function(c){this.X=!0;(void 0===c?0:c)&&this.m&&(c=new Sg,P(c,1,3,0),this.m.sendMessage(c))};
|
||
|
function li(c){document.body.hasAttribute("ready")||(Gh(c.a),(new Zh("Application","ready")).send(),window.requestAnimationFrame(function(){var c=new CustomEvent("devsite-page-loaded");document.body.dispatchEvent(c);document.body.setAttribute("ready","");document.body.removeAttribute("pending")}))}
|
||
|
function ji(c){var d,e,f,g,h,l;u(function(n){switch(n.a){case 1:return d=R(),e=new jg(d),xg(e,"partial","1"),d.search=e.a.toString(),t(n,window.caches.open("devsite.pwa_RUNTIME_v2"),2);case 2:f=n.c;if(!f){pi();n.K(0);break}return t(n,f.match(d.href),4);case 4:if(g=n.c){n.K(5);break}return t(n,f.match("/_static/offline?partial=1"),6);case 6:g=n.c;case 5:if(!g){n.K(0);break}return t(n,g.text(),8);case 8:h=n.c;c.h=new Zh(R().href,"load");try{l=jd(ld,h)}catch(q){}l?(qi(c,l),document.documentElement.removeAttribute("cached"),
|
||
|
li(c),mi(c)):pi();n.a=0}})}function mi(c){if(window.history.state&&c.a){var d=window.history.state.scrollX||null,e=window.history.state.scrollY||null;if(null!==d||null!==e){Nh(c.a,d||0,e||0);return}}R().hash&&ri(c,R().hash)}k.showLoading=function(c){var d=this;if(!this.f){var e=document.querySelector("#app-progress");e&&(this.f=window.setTimeout(function(){e.setAttribute("type","indeterminate");d.f=0},void 0===c?0:c))}};
|
||
|
k.hideLoading=function(){window.clearTimeout(this.f);this.f=0;var c=document.querySelector("#app-progress");c&&c.removeAttribute("type")};
|
||
|
function hi(c){c.b.j(document.body,["click","devsite-click"],function(d){c.w=!1;var e=Wf(d.target,"A");if(e&&("devsite-click"!==d.type&&document.body.dispatchEvent(new CustomEvent("devsite-linked-clicked",{detail:{target:e},bubbles:!0})),e.href)){var f=R();Hg(f.href,!0);if(!(d.shiftKey||d.ctrlKey||d.metaKey||d.altKey))if(e.hasAttribute("reload"))d.preventDefault(),c.reload();else{var g=Ng(e.href);f.origin===g.origin&&0!==g.pathname.indexOf("/_ah/")&&0!==g.pathname.indexOf("/_d/signin")&&0!==g.pathname.indexOf("/_d/signout")&&
|
||
|
0!==g.pathname.indexOf("/oauth2authorize")&&(!/\.[0-9a-z]+$/.test(g.pathname)||f.pathname===g.pathname&&f.search===g.search?c.X?c.showLoading(150):(d.preventDefault(),f.pathname===g.pathname&&f.search===g.search?(document.body.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0})),g.hash?ri(c,g.hash,!0):ri(c,"#",!1)):(d=e.getAttribute("href"),d.startsWith("http")||d.startsWith("/")||d.startsWith("#")||(g=c.Aa(),f=f.pathname,e=f.split("/"),e.shift(),["index","index.md","index.html","index.yaml",
|
||
|
"_index.yaml"].includes(e[e.length-1])&&e.pop(),f.endsWith("/")&&e.pop(),g||e.pop(),g=Ng(e.join("/")+"/"+d)),c.fetchPage(g.href))):c.w=!0)}}});c.b.j(document.body,"devsite-sticky-scroll",function(d){c.Ga.D(d)});c.b.j(window,"popstate",function(d){d=d.G;var e=null,f=null;if(d.state){var g=d.state.path;e=d.state.scrollX;f=d.state.scrollY}g=g?new URL(g,document.location.origin):R();c.fetchPage(g.href,!1,e,f)});c.b.j(window,"beforeunload",function(){c.w||(c.showLoading(150),c.a&&Kh(c.a))});c.b.j(window,
|
||
|
"unload",function(){c.R()});c.b.j(document.body,"devsite-load-custom-elements",function(d){si(c,d)});c.ya.observe(document.body,{childList:!0,subtree:!0})}function si(c,d){var e,f,g,h;u(function(l){if(1==l.a){if(!c.c)return l.return();e=d.G;f=e.detail;g=[];if(!f)return l.K(0);f.forEach(function(d){g.push(di(c.c,d))});l.b=3;return t(l,Promise.all(g),5)}if(3!=l.a)return va(l,0);h=wa(l);Qg(h.message);l.a=0})}
|
||
|
function ri(c,d,e){e=void 0===e?!1:e;var f=sf(document).x;d=d.trim();if(0!==d.length&&"#"===d[0]){var g=d.substr(1);if(""===g||"top_of_page"===g||"top"===g)window.scrollTo(f,0);else{f=document.querySelector('[id="'+g+'"],[name="'+g+'"]');if(!f)return;c.a&&(c=c.a,f&&(g=sf(document).x,f=rh(f),window.scrollTo(g,Math.floor(f.y)-(c.C+c.c-c.X))))}e&&(e=R(),e.hash=d,Hg(e.href))}}k.reload=function(){var c=R();return this.fetchPage(c.href)};
|
||
|
k.fetchPage=function(c,d,e,f){d=void 0===d?!0:d;e=void 0===e?null:e;f=void 0===f?null:f;var g=this,h,l,n,q,w,F,ca;return u(function(B){switch(B.a){case 1:ti();g.showLoading(150);document.body.dispatchEvent(new CustomEvent("devsite-before-page-change",{bubbles:!0,cancelable:!1}));h=new URL(c,document.location.origin);if(h.origin!==document.location.origin)return cf(h.href),B.return();l=h.href;n=new jg(h.href);xg(n,"partial","1");h.search=n.a.toString();d&&Hg(l);g.h=new Zh(c,"load");g.h.start();w=new Headers;
|
||
|
w.append("X-DevSite-Partial-Request","1");B.b=2;return t(B,Jg(h.href,{redirect:"manual",headers:w}),4);case 4:q=B.c;va(B,3);break;case 2:return F=wa(B),l===R().href&&(F&&"opaqueredirect"===F.type||200==F.status&&!F.headers.get("X-DevSite-Partial-Response")?df().location.reload():ii(g,"Fetch failed for "+h.href,F)),B.return();case 3:if(l!==R().href)return B.return();if(!q)return ii(g,"No response for "+h.href),B.return();B.b=5;return t(B,Promise.resolve(jd(ld,q)),7);case 7:ca=B.c;va(B,6);break;case 5:return wa(B),
|
||
|
ii(g,"Invalid proto returned for "+h.href),B.return();case 6:return t(B,qi(g,ca),8);case 8:ki(g),g.a&&null!==e||null!==f?Nh(g.a,e||0,f||0):window.requestAnimationFrame(function(){ri(g,R().hash||"#")}),B.a=0}})};function ui(c,d){var e,f;u(function(g){if(1==g.a)return t(g,d.text(),2);if(e=g.c)try{return f=jd(ld,e),qi(c,f,404),g.return()}catch(h){}pi();g.a=0})}function ii(c,d,e){$h(c.h).send();e&&404===e.status?ui(c,e):(c.hideLoading(),pi(),d&&Qg("Fetch Page Failed: "+d))}
|
||
|
function ti(){var c=Og(S.SNACKBAR);c&&"error"===c.getAttribute("type")&&c.removeAttribute("type")}function pi(){var c=Og(S.SNACKBAR);c&&c.setAttribute("type","error")}
|
||
|
function vi(c,d,e){e=void 0===e?200:e;var f,g,h,l,n,q;u(function(w){window.scroll(sf(document).x,0);wi(M(d,13,""));xi(M(d,15,""));yi(d);(f=Og(S.BOOK_NAV))&&(N(d,11)?f.removeAttribute("hidden"):f.setAttribute("hidden",""));g=new Map([[S.HEADER,M(d,2,"")],[S.BOOK_NAV,M(d,4,"")],[S.CONTENT,M(d,3,"")],[S.FOOTER_PROMOS,M(d,7,"")],[S.FOOTER_LINKBOXES,M(d,6,"")],[S.FOOTER_UTILITY,M(d,5,"")],[S.ANALYTICS,M(d,14,"")]]);g.forEach(function(c,d){(d=Og(d))&&d.updateContent&&d.updateContent(c)});if(h=Pg(S.TOC))for(l=
|
||
|
m(h),n=l.next();!n.done;n=l.next())(q=n.value)&&q.updateContent((!!N(d,10)).toString());c.v.D();c.hideLoading();document.body.hasAttribute("ready")&&document.body.dispatchEvent(new CustomEvent("devsite-page-changed",{bubbles:!0,detail:{status:e}}));$h(c.h).send();w.a=0})}function fi(c){return u(function(d){return c.c?t(d,ei(c.c),0):d.K(0)})}function ki(c){c.s=Array.from(document.body.querySelectorAll("a[href]"));zi(c)}
|
||
|
function zi(c,d){d=void 0===d?100:d;var e=c.s.splice(0,d),f=window.performance.now();e.forEach(function(c){bf(c,Ng(c.href).href)});d=30>window.performance.now()-f?1.5*d:.8*d;d=Math.max(1,d);c.s.length&&window.requestAnimationFrame(function(){zi(c,d)})}function qi(c,d,e){c.ja=d;vi(c,d,void 0===e?200:e)}
|
||
|
function xi(c){var d=document.createRange().createContextualFragment(c||"");'link[rel="publisher"] title meta[name="baidu-site-verification"] meta[name="description"] meta[name="robots"] meta[name="theme-color"]'.split(" ").forEach(function(c){var e=document.head.querySelector(c);c=d.querySelector(c);e&&c?Ef(c,e):c?document.head.appendChild(c):e&&Df(e)});Array.from(document.head.querySelectorAll('meta[property^="og:"],meta[name^="twitter:"],script[type="application/ld+json"]')).forEach(function(c){return Df(c)});
|
||
|
Array.from(d.querySelectorAll('meta[property^="og:"],meta[name^="twitter:"],script[type="application/ld+json"]')).forEach(function(c){return document.head.appendChild(c)})}
|
||
|
function yi(c){var d="devsite-book-nav--open pending ready class layout theme type xmlns".split(" "),e=new Set(Array.from(document.body.attributes).map(function(c){return c.nodeName}).filter(function(c){return-1===d.indexOf(c)}));document.body.setAttribute("class",M(c,16,""));document.body.setAttribute("layout",N(c,23)?"full":"docs");document.body.setAttribute("type",Ai(M(c,12,0)));document.body.setAttribute("theme",M(c,9,""));M(c,17,"").split(/\s+/).map(function(c){if(c){var d=c.match(/([^=]+)="(.*?)"/);
|
||
|
return d?[d[1],d[2]]:[c,""]}}).filter(function(c){return c&&-1==d.indexOf(c[0])}).forEach(function(c){document.body.setAttribute.apply(document.body,ba(c));e.delete(c[0])});e.forEach(function(c){document.body.removeAttribute(c)})}
|
||
|
function Ai(c){switch(c){case 1:c="article";break;case 7:c="error";break;case 2:c="landing";break;case 13:c="lcat";break;case 3:c="marketing";break;case 12:c="pricing";break;case 14:c="profile";break;case 4:c="reference";break;case 5:c="search";break;default:c="article"}return c}function wi(c){document.documentElement.setAttribute("lang",void 0===c?"":c)}V.prototype.fetchPage=V.prototype.fetchPage;V.prototype.reload=V.prototype.reload;V.prototype.hideLoading=V.prototype.hideLoading;
|
||
|
V.prototype.showLoading=V.prototype.showLoading;V.prototype.appNeedsRefresh=V.prototype.appNeedsRefresh;V.prototype.getInsecureHost=V.prototype.getInsecureHost;V.prototype.getIsPageDirRoot=V.prototype.Aa;V.prototype.getLocale=V.prototype.getLocale;V.prototype.getStaticPath=V.prototype.getStaticPath;var oi=null;Xa("devsite.two.init",function(c,d,e,f,g,h,l){oi||(oi=new V(c,d,e,f,g,void 0===l?"":l),Xa("devsite.two.app",oi));c=oi;c.Fa||(c.Fa=gi(c,h))});Xa("devsite.two.framebox.init",function(c,d,e,f){oi||(oi=new V(c,d,e,f,void 0,void 0),Xa("devsite.two.app",oi));ni()});var W=new Map([]);W.set("devsite-apix",{src:"devsite_apix_module.js"});W.set("devsite-chart",{src:"devsite_chart_module.js"});W.set("devsite-code",{src:"devsite_code_module.js"});W.set("devsite-cse",{src:"devsite_cse_module.js"});W.set("devsite-debug-info",{src:"devsite_debug_info_module.js"});W.set("devsite-dialog",{src:"devsite_dialog_module.js"});W.set("devsite-dynamic-content",{src:"devsite_dynamic_content_module.js"});W.set("devsite-expandable",{src:"devsite_expandable_module.js"});
|
||
|
W.set("devsite-feedback",{src:"devsite_feedback_module.js"});W.set("devsite-filter",{src:"devsite_filter_module.js"});W.set("devsite-forum",{src:"devsite_forum_module.js"});W.set("devsite-framebox",{src:"devsite_framebox_module.js"});W.set("devsite-gcs",{src:"devsite_gcs_module.js"});W.set("devsite-googler-buttons",{src:"devsite_googler_buttons_module.js"});W.set("devsite-heading",{src:"devsite_heading_module.js"});W.set("devsite-mathjax",{src:"devsite_mathjax_module.js"});W.set("devsite-mdc",{src:"devsite_mdc_module.js"});
|
||
|
W.set("devsite-nav-buttons",{src:"devsite_nav_buttons_module.js"});W.set("devsite-page-rating",{src:"devsite_page_rating_module.js"});W.set("devsite-pagination",{src:"devsite_pagination_module.js"});W.set("devsite-select",{src:"devsite_select_module.js"});W.set("devsite-selector",{src:"devsite_selector_module.js"});W.set("devsite-snackbar",{src:"devsite_snackbar_module.js"});W.set("devsite-sort",{src:"devsite_sort_module.js"});W.set("devsite-spinner",{src:"devsite_spinner_module.js"});
|
||
|
W.set("devsite-support-form",{src:"devsite_support_form_module.js"});W.set("devsite-tooltip",{src:"devsite_tooltip_module.js"});W.set("devsite-tracking-question",{src:"devsite_tracking_question_module.js"});W.set("devsite-version-selector",{src:"devsite_version_selector_module.js"});W.set("devsite-vplus",{src:"devsite_vplus_module.js"});W.set("devsite-wall-acknowledgement",{src:"devsite_wall_acknowledgement_module.js"});W.set("devsite-youtube",{src:"devsite_youtube_module.js"});var X;
|
||
|
X=W.get("devsite-apix")||{};X.style="devsite_apix.css";W.set("devsite-apix",X);X=W.get("devsite-code")||{};X.style="devsite_code.css";W.set("devsite-code",X);X=W.get("devsite-content-footer")||{};X.style="devsite_content_footer.css";W.set("devsite-content-footer",X);X=W.get("devsite-cse")||{};X.style="devsite_cse.css";W.set("devsite-cse",X);X=W.get("devsite-debug-info")||{};X.style="devsite_debug_info.css";W.set("devsite-debug-info",X);X=W.get("devsite-dialog")||{};X.style="devsite_dialog.css";
|
||
|
W.set("devsite-dialog",X);X=W.get("devsite-dynamic-content")||{};X.style="devsite_dynamic_content.css";W.set("devsite-dynamic-content",X);X=W.get("devsite-expandable")||{};X.style="devsite_expandable.css";W.set("devsite-expandable",X);X=W.get("devsite-feedback")||{};X.style="devsite_feedback.css";W.set("devsite-feedback",X);X=W.get("devsite-filter")||{};X.style="devsite_filter.css";W.set("devsite-filter",X);X=W.get("devsite-framebox")||{};X.style="devsite_framebox.css";W.set("devsite-framebox",X);
|
||
|
X=W.get("devsite-googler-buttons")||{};X.style="devsite_googler_buttons.css";W.set("devsite-googler-buttons",X);X=W.get("devsite-heading")||{};X.style="devsite_heading.css";W.set("devsite-heading",X);X=W.get("devsite-mathjax")||{};X.style="devsite_mathjax.css";W.set("devsite-mathjax",X);X=W.get("devsite-nav-buttons")||{};X.style="devsite_nav_buttons.css";W.set("devsite-nav-buttons",X);X=W.get("devsite-page-rating")||{};X.style="devsite_page_rating.css";W.set("devsite-page-rating",X);
|
||
|
X=W.get("devsite-pagination")||{};X.style="devsite_pagination.css";W.set("devsite-pagination",X);X=W.get("devsite-select")||{};X.style="devsite_select.css";W.set("devsite-select",X);X=W.get("devsite-selector")||{};X.style="devsite_selector.css";W.set("devsite-selector",X);X=W.get("devsite-snackbar")||{};X.style="devsite_snackbar.css";W.set("devsite-snackbar",X);X=W.get("devsite-spinner")||{};X.style="devsite_spinner.css";W.set("devsite-spinner",X);X=W.get("devsite-support-form")||{};X.style="devsite_support_form.css";
|
||
|
W.set("devsite-support-form",X);X=W.get("devsite-tooltip")||{};X.style="devsite_tooltip.css";W.set("devsite-tooltip",X);X=W.get("devsite-tracking-question")||{};X.style="devsite_tracking_question.css";W.set("devsite-tracking-question",X);X=W.get("devsite-version-selector")||{};X.style="devsite_version_selector.css";W.set("devsite-version-selector",X);X=W.get("devsite-vplus")||{};X.style="devsite_vplus.css";W.set("devsite-vplus",X);X=W.get("devsite-youtube")||{};X.style="devsite_youtube.css";
|
||
|
W.set("devsite-youtube",X);var Bi="android-samples devsite-analytics devsite-analytics-scope devsite-book-nav devsite-content devsite-expandable-nav devsite-footer-linkboxes devsite-footer-promos devsite-footer-utility devsite-header devsite-progress devsite-search devsite-sitemask devsite-tabs devsite-toc devsite-user".split(" ");Bi.forEach(function(c){return W.set(c,{})});Xa("devsite.two.AUTHORIZED_ELEMENTS",W);Xa("devsite.two.CORE_ELEMENTS",Bi);function Y(c){var d=HTMLElement.call(this)||this;c&&(y(c)&&(c=[c]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:c})));return d}p(Y,HTMLElement);Y.prototype.connectedCallback=function(){Ci(this)};Y.prototype.J=function(){return""};function Ci(c){var d=c.J();!c.hasAttribute("ds-is")&&d&&c.setAttribute("ds-is",d)}Y.prototype.updateContent=function(){console.warn(this.tagName,"has not implemented update")};
|
||
|
function Di(c){c=void 0===c?"":c;return document.createRange().createContextualFragment(c||"")}function Ei(c,d,e){d&&e?d.parentNode.replaceChild(document.importNode(e,!0),d):!e&&d?d.parentNode.removeChild(d):!d&&e&&c.appendChild(document.importNode(e,!0))}Y.prototype.connectedCallback=Y.prototype.connectedCallback;var Fi=!E.product.u&&!Qb();function Gi(c){if(/-[a-z]/.test("value"))return null;if(Fi&&c.dataset){if(Sb()&&!("value"in c.dataset))return null;c=c.dataset.value;return void 0===c?null:c}return c.getAttribute("data-"+"value".replace(/([A-Z])/g,"-$1").toLowerCase())};function Z(){var c=Y.call(this)||this;c.a=void 0;c.b=new T;c.f=new T;c.g=new MutationObserver(function(){return Hi(c)});c.g.observe(c,{childList:!0,characterData:!0});return c}p(Z,Y);k=Z.prototype;k.J=function(){return"analytics"};
|
||
|
k.connectedCallback=function(){var c=this;Ci(this);Ii();Ji(Ki(this));Hi(this);this.b.j(window,"error",function(d){d=d.G.error;var e="Unknown Error";d&&(d.message?e=d.message:d.stack?e=d.stack:e=String(d));c.nb(e)});this.b.j(document.body,Zd,function(d){d=d.G.detail;c.Qa(d.category,d.action,d.label,d.value)});this.b.j(document.body,$d,function(d){d=d.G.detail;c.cc(d.category,d.variable,d.value,d.timingLabel)});this.b.j(document.body,ae,function(d){c.nb(d.G.detail.message)});this.b.j(document.body,
|
||
|
"devsite-linked-clicked",function(d){d=Li(d.G.detail.target);d.ca&&c.Qa(d.ca,d.action,d.label,d.value)});this.b.j(document.body,be,function(d){Mi(c,d.G.detail||null)});this.b.j(document.body,ce,function(d){d=d.G.detail;c.Zb(d.name,d.value,d.gaid)});Ni();Oi(this);"false"!==this.getAttribute("send-page-view")&&Mi(this);this.b.j(document.body,"devsite-page-changed",function(){Ni();Oi(c);Mi(c)})};
|
||
|
k.disconnectedCallback=function(){0==Pg("analytics").length&&(delete window.GoogleAnalyticsObject,delete window.ga,Df(document.querySelector('script[src*="google-analytics.com"]')));Pi(this);U(this.b);U(this.f)};k.updateContent=function(c){var d=this;c&&(zf(this),c=Di(c),Array.from(c.querySelectorAll('script[type="application/json"]')).forEach(function(c){d.appendChild(c)}))};
|
||
|
function Qi(c,d){void 0!=c.a&&(Pi(c),c.a=void 0);void 0!=d&&"ga"in window?(c.a=Array.isArray(d)?d:[d],c.a.filter(function(c){return!("gaid"in c)}).length?(c.a=void 0,console.error("Analytics configuration is missing a 'gaid'")):c.a.forEach(function(c,d){Ri(c,d);window.ga("require","linkid",{Ed:"_gali_"+c.gaid})})):c.a=void 0}function Oi(c){U(c.f);"ga"in window&&(c=c.a||null)&&c.forEach(function(c,e){return window.ga("tracker"+e+".set","page",Rg(document.location.pathname))});Si()}
|
||
|
function Hi(c){var d=c.querySelector("script[analytics]");if(d&&d.textContent){var e=void 0;try{e=JSON.parse(d.textContent)}catch(f){console.error("Analytics configuration is not valid JSON.")}e?Qi(c,e):Qi(c,void 0)}else Qi(c,void 0);(c=c.getAttribute("slo-tracker-id"))&&window.ga&&window.ga("create",c,{name:"slo"})}function Pi(c){"ga"in window&&(window.ga("slo.remove"),(c=c.a||null)&&c.forEach(function(c,e){return window.ga("tracker"+e+".remove")}))}
|
||
|
function Ii(){x(window.ga)||(window.GoogleAnalyticsObject="ga",window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=(new Date).valueOf(),Ig("//www.google-analytics.com/analytics.js"))}
|
||
|
function Si(){Array.from(document.querySelectorAll("iframe.link-analytics")).forEach(function(c){var d=c.getAttribute("data-src"),e=c.getAttribute("src");window.a=window.a||Ia("window.ga");window.a(function(){var c=this;window.a.getAll().forEach(function(f){var g=Ia("window.gaplugins.Linker");window.b=window.b||new g(f);f=window.b.decorate(e||d,null);e!==f&&(e&&c.setAttribute("src",f),d&&c.setAttribute("data-src",f))})}.bind(c))})}
|
||
|
function Ji(c){window.dataLayer=window.dataLayer||[];c.length&&Ti();c.forEach(function(c){window.dataLayer=window.dataLayer||[];var d=document.getElementsByTagName("script")[0],f=document.createElement("script");f.async=!0;f.src="//www.googletagmanager.com/gtm.js?id="+c;d.parentNode.insertBefore(f,d)})}
|
||
|
function Ri(c,d){var e="tracker"+d;window.ga("create",c.gaid,{cookieDomain:window.location.hostname,name:e});(c=c.dimensions)&&Object.entries(c).forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;return window.ga(e+".set",c,d)})}function Ui(c,d,e){var f=Object.assign({},e||{}),g=Object.keys(f);if(0===g.length)return{};(c=c.a||null)&&c.forEach(function(c){if(c.gaid===d&&(c=c.metrics))for(var e in c)if(g.includes(e)){var h=f[e];delete f[e];f[c[e]]=h}});return f}
|
||
|
function Mi(c,d){window.ga(function(){var e=Vi(c);e&&e.forEach(function(e){var f=Ui(c,e.get("trackingId"),d);e.send("pageview",f)});Ki(c).length&&(window.dataLayer||[]).push({"gtm.start":(new Date).getTime(),event:"gtm.js"})})}function Ni(){window.ga("slo.send","pageview")}k.cc=function(c,d,e,f){var g=this;window.ga&&window.ga(function(){Vi(g).forEach(function(g){g.send("timing",{timingCategory:c,timingVar:d,timingValue:e,timingLabel:f})})})};
|
||
|
k.Qa=function(c,d,e,f){var g=[];Vi(this).forEach(function(h){g.push(new Promise(function(g){return h.send("event",{eventCategory:c,eventAction:d,eventLabel:e,eventValue:f,hitCallback:g})}))});Ki(this).length&&g.push(new Promise(function(g){return window.dataLayer.push({event:"GAEvent",eventCategory:c,eventAction:d,eventLabel:e,eventValue:f,eventCallback:g})}));return Promise.all(g)};
|
||
|
k.nb=function(c,d){var e=this;if(window.ga){var f={exDescription:c,exFatal:void 0===d?!1:d};window.ga("slo.send","exception",f);window.ga(function(){Vi(e).forEach(function(c){c.send("exception",f)})})}};k.Zb=function(c,d,e){var f=this.a||null;f&&f.forEach(function(f,h){f.gaid==e&&window.ga("tracker"+h+".set",c,d)})};
|
||
|
function Ti(){var c={};Array.from(document.querySelectorAll("meta[name=gtm_var]")).forEach(function(d){d.dataset.key&&d.dataset.value&&(c[d.dataset.key]=d.dataset.value)});window.dataLayer.push(c)}function Li(c){var d=c.dataset.category||void 0,e=c.dataset.action||"click",f=c.dataset.label||void 0;c=Number(Gi(c))||void 0;return{ca:d,action:e,label:f,value:c}}k.pc=function(c){var d=Li(c);d.ca&&this.Gb(c,d.ca,d.action,d.label,d.value)};
|
||
|
k.Gb=function(c,d,e,f,g){var h=this;this.f.j(c,"click",function(l){function n(){c.dispatchEvent(new CustomEvent("devsite-click",{bubbles:!0}));clearTimeout(q)}l.preventDefault();l.stopPropagation();var q=setTimeout(n,150);h.Qa(d,e,f,g).then(n,n)})};function Ki(c){if((c=c.querySelector("script[gtm]"))&&c.textContent)try{var d=JSON.parse(c.textContent);if(d)return d}catch(e){throw Error("Malformed GTM configuration.");}return[]}
|
||
|
function Vi(c){var d=c.a||null;return window.ga&&d?window.ga.getAll().filter(function(c){return d.filter(function(d){return d.gaid==c.get("trackingId")}).length}):[]}Z.prototype.addClickHandlerToElement=Z.prototype.Gb;Z.prototype.addTrackingToElement=Z.prototype.pc;Z.prototype.setDimension=Z.prototype.Zb;Z.prototype.trackError=Z.prototype.nb;Z.prototype.trackEvent=Z.prototype.Qa;Z.prototype.trackTiming=Z.prototype.cc;Z.InitAnalyticsIframes=Si;Z.prototype.updateContent=Z.prototype.updateContent;
|
||
|
Z.prototype.disconnectedCallback=Z.prototype.disconnectedCallback;Z.prototype.connectedCallback=Z.prototype.connectedCallback;Xa("module$exports$devsite$app$customElement$DevsiteAnalytics.trackerMetadata",[]);try{window.customElements.define("devsite-analytics",Z)}catch(c){console.warn("devsite.app.customElement.DevsiteAnalytics",c)};function Wi(){var c=Y.call(this)||this;c.a=new T;return c}p(Wi,Y);Wi.prototype.J=function(){return"analytics-scope"};Wi.prototype.connectedCallback=function(){var c=this;Ci(this);this.a.j(this,"click",function(){if(!c.querySelector("devsite-analytics-scope")){var d=Xi(c);c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:d,bubbles:!0}))}})};Wi.prototype.disconnectedCallback=function(){U(this.a)};
|
||
|
function Xi(c){for(var d=c,e=[d];d.parentElement;)d=d.parentElement,d.constructor===c.constructor&&e.unshift(d);var f=void 0,g=void 0,h=void 0,l=void 0;e.forEach(function(c){f=c.getAttribute("category")||f;g=c.getAttribute("action")||g;h=c.getAttribute("label")||h;l=c.getAttribute("value")||l});g=g||"click";h=h||void 0;l=Number(l)||void 0;return{category:f,action:g,label:h,value:l}}Wi.prototype.disconnectedCallback=Wi.prototype.disconnectedCallback;Wi.prototype.connectedCallback=Wi.prototype.connectedCallback;try{window.customElements.define("devsite-analytics-scope",Wi)}catch(c){console.warn("devsite.app.customElement.DevsiteAnalytics.Scope",c)};function Yi(){var c=Y.call(this)||this;c.i=null;c.a=null;c.b=null;c.f=new T;c.h=new eh(function(){Zi(c)},15);c.g=new eh(function(){$i()},20);return c}p(Yi,Y);k=Yi.prototype;k.J=function(){return"book-nav"};
|
||
|
k.connectedCallback=function(){var c=this;Ci(this);this.b||(this.b=document.createElement("div"),this.b.classList.add("devsite-book-nav-bg"));Af(this.b,this);this.f.j(document.body,"devsite-sitemask-hidden",function(){c.a&&(aj(c,"_book")?c.removeAttribute("top-level-nav"):c.setAttribute("top-level-nav",""))});this.f.j(document.body,["devsite-page-loaded","devsite-content-updated"],function(){return c.g.D()});$i();bj(this);this.setAttribute("animatable","")};
|
||
|
function $i(){var c=document.querySelector("#devsite-hamburger-menu");c&&c.removeAttribute("visually-hidden")}k.disconnectedCallback=function(){U(this.f);var c=document.querySelector("#devsite-hamburger-menu");c&&c.setAttribute("visually-hidden","");this.b&&Df(this.b);this.removeAttribute("animatable")};
|
||
|
k.attributeChangedCallback=function(c){if("hidden"==c){var d=this.hasAttribute("hidden");this.dispatchEvent(new CustomEvent(d?"devsite-element-hidden":"devsite-element-visible",{bubbles:!0}));var e=document.querySelector(".devsite-main-content");e&&(d?e.removeAttribute("has-book-nav"):e.setAttribute("has-book-nav",""))}if("fixed"==c||"hidden"==c)d=this.hasAttribute(c),this.b&&(d?this.b.setAttribute(c,""):this.b.removeAttribute(c))};
|
||
|
function cj(c){c.f.j(c,"click",function(d){if(!d.gb){var e=d.target;"devsite-close-nav"===e.getAttribute("id")&&(d.preventDefault(),d.stopPropagation(),c.scrollTop=0,c.hasAttribute("top-level-nav")?c.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0})):c.setAttribute("top-level-nav",""));if(e.hasAttribute("menu")){var f=e.getAttribute("menu");f&&aj(c,f)&&(d.preventDefault(),d.stopPropagation(),c.scrollTop=0,c.removeAttribute("top-level-nav"))}e.classList.contains("devsite-nav-toggle")||
|
||
|
e.classList.contains("devsite-nav-title-no-path")||e.parentElement.classList.contains("devsite-nav-title-no-path")||!c.a||(d=c.a.querySelector("[menu=_book]"))&&d.contains(e)&&c.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0}))}})}function aj(c,d){var e=!1;Array.from(c.a.querySelectorAll("[menu]")).forEach(function(c){c.getAttribute("menu")===d?(c.removeAttribute("hidden"),e=!0):c.setAttribute("hidden","")});return e}
|
||
|
function bj(c){cj(c);c.i=c.querySelector(".devsite-book-nav");c.a=c.querySelector(".devsite-mobile-nav-bottom");c.setAttribute("top-level-nav","");c.a&&c.a.querySelector("[menu=_book]")&&c.removeAttribute("top-level-nav");0===c.children.length&&c.setAttribute("hidden","");c.hasAttribute("hidden")||(dj(c),ej(c));c.b&&["hidden","fixed"].forEach(function(d){c.hasAttribute(d)&&c.b.setAttribute(d,"")});!c.hasAttribute("hidden")&&c.a&&c.a.querySelector(".devsite-nav-active")||c.setAttribute("animatable",
|
||
|
"")}function dj(c){Array.from(c.querySelectorAll(".devsite-nav-active")).forEach(function(c){c.classList.remove("devsite-nav-active")});var d=Rg(R().pathname);d='[href="'+Ng(d).href+'"], [href="'+d+'"]';Array.from(c.querySelectorAll(d)).forEach(function(c){c.classList.add("devsite-nav-active")})}
|
||
|
function ej(c){if(c.a){var d=c.a.querySelector(".devsite-nav-active");if(d)for(;d.parentNode&&d.parentNode!=c;)d.hasAttribute("collapsed")&&(d.removeAttribute("animatable"),ih(c.f,d,"devsite-expandable-nav-transition-end",function(){c.h.D();d.setAttribute("animatable","")}),d.removeAttribute("collapsed")),d=d.parentNode}}
|
||
|
function Zi(c,d){d=void 0===d?0:d;if(c.a){var e=c.a.querySelector(".devsite-nav-active");e&&(d=d+1||0,60<=d||(c.hasAttribute("fixed")&&document.body.hasAttribute("ready")?(c.scrollTop=qh(e,c).y,c.setAttribute("animatable","")):window.requestAnimationFrame(function(){Zi(c,d)})))}}k.updateContent=function(c){var d=this;c?(this.removeAttribute("animatable"),c=Di(c),Ei(this,this.querySelector("nav"),c.querySelector("nav"))):zf(this);window.requestAnimationFrame(function(){bj(d)})};
|
||
|
r.Object.defineProperties(Yi,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["hidden","fixed"]}}});Yi.prototype.updateContent=Yi.prototype.updateContent;Yi.prototype.attributeChangedCallback=Yi.prototype.attributeChangedCallback;Yi.prototype.disconnectedCallback=Yi.prototype.disconnectedCallback;Yi.prototype.connectedCallback=Yi.prototype.connectedCallback;try{window.customElements.define("devsite-book-nav",Yi)}catch(c){console.warn("devsite.app.customElement.DevsiteBookNav",c)};function fj(){var c=Y.call(this)||this;c.a=new eh(function(){c.dispatchEvent(new CustomEvent("devsite-content-updated",{bubbles:!0}))},20);c.f=new T;c.b=new T;return c}p(fj,Y);fj.prototype.J=function(){return"content"};fj.prototype.connectedCallback=function(){var c=this;Ci(this);this.f.j(window,"message",function(d){return gj(c,d)});hj(this);ij(this);this.a.D()};fj.prototype.disconnectedCallback=function(){U(this.f);U(this.b)};
|
||
|
function ij(c){Array.from(c.querySelectorAll("table")).forEach(function(c){if(!c.parentNode.classList.contains("devsite-table-wrapper")){var d=document.createElement("div");d.classList.add("devsite-table-wrapper");Af(d,c);d.appendChild(c)}})}
|
||
|
function gj(c,d){var e=R();if(window.devsite.two.app){var f=window.devsite.two.app.getInsecureHost();d=d.G;if(d.origin===e.origin||!f||d.origin===f){try{var g=jd(Oh,d.data)}catch(n){return}f=M(g,1,0);if(4===f){if(e=jj(c,d.source))g="goog_"+Db++,e.setAttribute("name",g),e=new Oh,P(e,1,3,0),O(e,2,g),kj(d.source,e)}else{var h=M(g,2,"");if(h&&(h=c.querySelector("devsite-framebox iframe[name="+h+"]")))switch(f){case 5:var l=sf(document).y;d=M(g,4,0);g=M(g,3,0);e=Jf(h);d&&e.setAttribute("width",d+"px");
|
||
|
g&&e.setAttribute("height",g+"px");window.requestAnimationFrame(function(){window.scrollTo(sf(document).x,l);c.a.D()});break;case 1:e=new Oh;P(e,1,2,0);Ph(e,M(g,8,""));g=R();O(e,7,g.search+g.hash);kj(d.source,e);break;case 6:case 7:d=M(g,5,""),g=new URL(M(g,6,""),e.origin),g=g.search+g.hash,6===f?window.history.pushState({},d,g):window.history.replaceState({},d,g)}}}}}function kj(c,d){c&&c.postMessage(d.Oa(),"*")}
|
||
|
function jj(c,d){var e;Array.from(c.querySelectorAll("devsite-framebox iframe")).forEach(function(c){c.contentWindow===d&&(e=c)});return e}function hj(c){U(c.b);Array.from(c.querySelectorAll("img[src]")).forEach(function(d){d.complete&&0!==d.naturalWidth||c.b.j(d,"load",function(){c.a.D()})})}fj.prototype.updateContent=function(c){var d=this,e=Di(c);[".devsite-article","devsite-content-footer","devsite-gcs"].forEach(function(c){Ei(d,d.querySelector(c),e.querySelector(c))});hj(this);ij(this);this.a.D()};
|
||
|
fj.prototype.updateContent=fj.prototype.updateContent;fj.prototype.disconnectedCallback=fj.prototype.disconnectedCallback;fj.prototype.connectedCallback=fj.prototype.connectedCallback;try{window.customElements.define("devsite-content",fj)}catch(c){console.warn("devsite.app.customElement.DevsiteContent",c)};function lj(c){if(E.ba)c=mj(c);else if(E.Za&&E.N)switch(c){case 93:c=91}return c}function mj(c){switch(c){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return c}};function nj(){var c=Y.call(this)||this;c.h=null;c.a=null;c.b=null;c.m=!1;c.g=new T;c.f=new T;return c}p(nj,Y);nj.prototype.J=function(){return"expandable-nav"};nj.prototype.attributeChangedCallback=function(c){var d=this;"collapsed"==c&&(this.i?oj(this):window.requestAnimationFrame(function(){if(d.a){pj(d);var c=uh(d.a);pj(d,0);qj(d,0,c.height)}}))};
|
||
|
nj.prototype.connectedCallback=function(){Ci(this);this.h=this.querySelector(".devsite-nav-toggle");this.a=this.querySelector("ul");this.b=this.querySelector(".devsite-nav-title");this.h&&this.a&&rj(this);this.setAttribute("connected","");this.setAttribute("animatable","")};function rj(c){c.g.j(c.h,"click",function(d){return sj(c,d)});c.b&&!c.b.hasAttribute("href")&&c.g.j(c.b,["click","keypress"],function(d){return sj(c,d)})}
|
||
|
function sj(c,d){if("keypress"!=d.type||13==d.keyCode){c.i=!c.i;for(var e=d.target;e&&e!=c;){var f=e;f.classList?f=f.classList.contains("devsite-nav-title-no-path"):(f.classList?f=f.classList:(f=f.className,f=y(f)&&f.match(/\S+/g)||[]),f=eb(f,"devsite-nav-title-no-path"));if(f&&("click"==d.type||"touchend"==d.type)){e.blur();break}e=e.parentNode}}}function oj(c){if(c.a){var d=uh(c.a);qj(c,d.height,0)}}
|
||
|
function qj(c,d,e){U(c.f);window.requestAnimationFrame(function(){pj(c,d+"px");c.setAttribute("animating","");window.requestAnimationFrame(function(){pj(c,e+"px");ih(c.f,c.a,vd,function(){c.removeAttribute("animating");pj(c);c.dispatchEvent(new CustomEvent("devsite-expandable-nav-transition-end",{bubbles:!0}))})})})}function pj(c,d){lh(c.a,"height",void 0===d?"":d)}nj.prototype.disconnectedCallback=function(){U(this.g);U(this.f);this.a&&(pj(this),this.removeAttribute("connected"));this.removeAttribute("animatable")};
|
||
|
r.Object.defineProperties(nj.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("collapsed")},set:function(c){c?this.setAttribute("collapsed",""):this.removeAttribute("collapsed")}}});r.Object.defineProperties(nj,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["collapsed"]}}});nj.prototype.disconnectedCallback=nj.prototype.disconnectedCallback;nj.prototype.connectedCallback=nj.prototype.connectedCallback;
|
||
|
nj.prototype.attributeChangedCallback=nj.prototype.attributeChangedCallback;try{window.customElements.define("devsite-expandable-nav",nj)}catch(c){console.warn("devsite.app.customElement.DevsiteExpandableNav",c)};function tj(c){return Y.apply(this,arguments)||this}p(tj,Y);tj.prototype.J=function(){return"footer-linkboxes"};tj.prototype.updateContent=function(c){c=Di(c);Ei(this,this.querySelector("nav"),c.querySelector("nav"))};tj.prototype.updateContent=tj.prototype.updateContent;try{window.customElements.define("devsite-footer-linkboxes",tj)}catch(c){console.warn("devsite.app.customElement.DevsiteFooterLinkboxes",c)};function uj(c){return Y.apply(this,arguments)||this}p(uj,Y);uj.prototype.J=function(){return"footer-promos"};uj.prototype.updateContent=function(c){c=Di(c);Ei(this,this.querySelector("nav"),c.querySelector("nav"))};uj.prototype.updateContent=uj.prototype.updateContent;try{window.customElements.define("devsite-footer-promos",uj)}catch(c){console.warn("devsite.app.customElement.DevsiteFooterPromos",c)};function vj(){this.a=("undefined"==typeof document?null:document)||{cookie:""}}k=vj.prototype;k.If=function(){return navigator.cookieEnabled};
|
||
|
k.set=function(c,d,e,f,g,h){if(/[;=\s]/.test(c))throw Error('Invalid cookie name "'+c+'"');if(/[;\r\n]/.test(d))throw Error('Invalid cookie value "'+d+'"');x(e)||(e=-1);g=g?";domain="+g:"";f=f?";path="+f:"";h=h?";secure":"";e=0>e?"":0==e?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Ua()+1E3*e)).toUTCString();this.a.cookie=c+"="+d+g+f+e+h};
|
||
|
k.get=function(c,d){for(var e=c+"=",f=(this.a.cookie||"").split(";"),g=0,h;g<f.length;g++){h=ob(f[g]);if(0==h.lastIndexOf(e,0))return h.substr(e.length);if(h==c)return""}return d};k.remove=function(c,d,e){var f=x(this.get(c));this.set(c,"",0,d,e);return f};k.ea=function(){return wj(this).keys};k.V=function(){return wj(this).values};k.Hf=function(){return!this.a.cookie};k.Gf=function(){return this.a.cookie?(this.a.cookie||"").split(";").length:0};
|
||
|
k.Ff=function(c){for(var d=wj(this).values,e=0;e<d.length;e++)if(d[e]==c)return!0;return!1};k.Ef=function(){for(var c=wj(this).keys,d=c.length-1;0<=d;d--)this.remove(c[d])};function wj(c){c=(c.a.cookie||"").split(";");for(var d=[],e=[],f,g,h=0;h<c.length;h++)g=ob(c[h]),f=g.indexOf("="),-1==f?(d.push(""),e.push(g)):(d.push(g.substring(0,f)),e.push(g.substring(f+1)));return{keys:d,values:e}}var xj=new vj;function yj(){var c=Y.call(this)||this;c.a=new T;return c}p(yj,Y);yj.prototype.J=function(){return"footer-utility"};yj.prototype.connectedCallback=function(){Ci(this);zj(this)};yj.prototype.disconnectedCallback=function(){U(this.a)};function zj(c){U(c.a);var d=c.querySelector(".devsite-footer-utility-language-select");d&&c.a.j(d,"change",function(c){Aj(c)})}
|
||
|
function Aj(c){var d;u(function(e){switch(e.a){case 1:d=c.target;xj.set("django_language",d.value);if(!window.caches){e.K(2);break}e.b=3;return t(e,window.caches.delete("devsite.pwa_RUNTIME_v2"),5);case 5:va(e,2);break;case 3:wa(e);case 2:cf(zg(new jg(df().location.href),"hl").toString()),e.a=0}})}yj.prototype.updateContent=function(c){c=Di(c);Ei(this,this.querySelector(".devsite-footer-utility"),c.querySelector(".devsite-footer-utility"));zj(this)};yj.prototype.updateContent=yj.prototype.updateContent;
|
||
|
yj.prototype.disconnectedCallback=yj.prototype.disconnectedCallback;yj.prototype.connectedCallback=yj.prototype.connectedCallback;try{window.customElements.define("devsite-footer-utility",yj)}catch(c){console.warn("devsite.app.customElement.DevsiteFooterUtility",c)};E.product.eb=function(){if(E.product.hc)return E.product.ra(/Firefox\/([0-9.]+)/);if(E.product.u||E.product.na||E.product.ka)return E.VERSION;if(E.product.gc)return Ub()?E.product.ra(/CriOS\/([0-9.]+)/):E.product.ra(/Chrome\/([0-9.]+)/);if(E.product.Eb&&!Ub())return E.product.ra(/Version\/([0-9.]+)/);if(E.product.Ab||E.product.zb){var c=E.product.Jb(/Version\/(\S+).*Mobile\/(\S+)/);if(c)return c[1]+"."+c[2]}else if(E.product.ob)return(c=E.product.ra(/Android\s+([0-9.]+)/))?c:E.product.ra(/Version\/([0-9.]+)/);
|
||
|
return""};E.product.ra=function(c){return(c=E.product.Jb(c))?c[1]:""};E.product.Jb=function(c){return c.exec(E.Lb())};E.product.VERSION=E.product.eb();E.product.Na=function(c){return 0<=zb(E.product.VERSION,c)};var Bj=ke(function(){return!E.u||E.product.Na(9)}),Cj=ke(function(){return E.N||E.na||E.ba&&E.product.Na(10)||E.u&&E.product.Na(10)});function Dj(c,d){Bj()&&(d=Cj()?"translate3d("+d+"px,0px,0px)":"translate("+d+"px,0px)",lh(c,Ej(),d))}var Ej=ke(function(){return E.u&&9==E.yb?"-ms-transform":"transform"});function Fj(){var c=Y.call(this)||this;c.f=-1;c.a=new T;c.g=new T;c.b=0;c.h=new MutationObserver(function(){return Gj(c)});c.i=new eh(function(){Gj(c);Hj(c)},15);return c}p(Fj,Y);k=Fj.prototype;k.J=function(){return"header"};k.attributeChangedCallback=function(c){"offset"===c?Ij(this):"search-active"===c&&Jj(this)};k.connectedCallback=function(){Ci(this);Kj(this);Lj(this);Hj(this);Gj(this);this.h.observe(this,{childList:!0,subtree:!0});Ij(this)};k.disconnectedCallback=function(){U(this.a);this.h.disconnect()};
|
||
|
function Kj(c){c.a.j(c,"devsite-search-toggle",function(d){d.G.detail.active?c.setAttribute("search-active",""):c.removeAttribute("search-active")});c.a.j(document.body,"devsite-sitemask-hidden",function(){return document.body.removeAttribute("devsite-book-nav--open")});c.a.j(window,"resize",function(){return Mj(c)});c.a.j(document.body,["devsite-page-loaded","devsite-content-updated"],function(){Mj(c)});c.a.j(c,"click",function(d){d.gb||"devsite-hamburger-menu"!=d.target.getAttribute("id")||(d.preventDefault(),
|
||
|
d.stopPropagation(),document.body.setAttribute("devsite-book-nav--open",""),c.dispatchEvent(new CustomEvent("devsite-sitemask-show",{bubbles:!0})))})}function Mj(c){window.requestAnimationFrame(function(){return c.i.D()})}function Nj(c,d){return(c=c.querySelector(d))?vh(c).height:0}
|
||
|
function Gj(c){c.setAttribute("top-row--height",Nj(c,".devsite-top-logo-row-wrapper-wrapper"));c.setAttribute("bottom-row--height",Nj(c,".devsite-collapsible-section"));c.setAttribute("bottom-tabs--height",Nj(c,".devsite-doc-set-nav-row"));Ij(c)}function Lj(c){if(!c.querySelector("devsite-search-background")&&(c=c.querySelector(".devsite-top-logo-row-middle"))){var d=document.createElement("devsite-search-background");d.style.opacity=1;c.appendChild(d)}}
|
||
|
function Ij(c){var d=parseFloat(c.getAttribute("offset"))||0,e=c.querySelector(".devsite-collapsible-section"),f=parseFloat(c.getAttribute("bottom-row--height")),g=parseFloat(c.getAttribute("bottom-tabs--height"));d!==f||c.hasAttribute("bottom-row--hidden")?d<f-g&&c.hasAttribute("bottom-row--hidden")&&c.removeAttribute("bottom-row--hidden"):c.setAttribute("bottom-row--hidden","");e&&d!==c.f&&(lh(e,"transform","translate3d(0, -"+d+"px, 0)"),Hj(c),c.f=d)}
|
||
|
function Jj(c){var d=c.querySelector(".devsite-top-logo-row-middle"),e=c.querySelector("[ds-is="+S.SEARCH+"]"),f=c.querySelector("devsite-search-background");if(d&&e&&f){U(c.g);c.b&&window.cancelAnimationFrame(c.b);e.removeAttribute("transition");c.removeAttribute("search-expanded");var g=vh(d);d=vh(e);var h=yh(e,"margin"),l=(g.width-h.left)/d.width;g=g.width-(d.width+h.left);var n=(h=c.hasAttribute("search-active"))?g:0,q=h?l:1;lh(f,{opacity:1,width:d.width+"px",height:d.height+"px"});Dj(e,c.hasAttribute("search-active")?
|
||
|
0:-g);ih(c.g,f,vd,function(){var d=c.querySelector("[ds-is="+S.SEARCH+"]"),e=c.querySelector("devsite-search-background");e&&(e.style.opacity=0);d&&(d.removeAttribute("transition"),Dj(d,0),c.hasAttribute("search-active")?c.setAttribute("search-expanded",""):c.removeAttribute("search-expanded"))});c.b=window.requestAnimationFrame(function(){e.setAttribute("transition","");if(Bj()){var c=Cj()?"scale3d("+q+",1,1)":"scale("+q+",1)";lh(f,Ej(),c)}Dj(e,-n)})}}
|
||
|
function Hj(c){c.querySelector(".devsite-product-id-row,.devsite-doc-set-nav-row,.devsite-header-billboard")&&0!=c.getAttribute("bottom-row--height")?c.removeAttribute("no-lower-row"):c.setAttribute("no-lower-row","");c.querySelector(".devsite-header-billboard")?c.setAttribute("billboard",""):c.removeAttribute("billboard")}
|
||
|
function Oj(c,d){for(var e=0;e<d.attributes.length;++e){var f=d.attributes.item(e);c.hasAttribute(f.name)||d.removeAttribute(f.name)}for(e=0;e<c.attributes.length;++e)f=c.attributes.item(e),d.setAttribute(f.name,f.value)}
|
||
|
k.updateContent=function(c){var d=this,e=!1,f=Di(c);[".devsite-header-upper-tabs",".devsite-collapsible-section"].forEach(function(c){d.querySelector(c)&&f.querySelector(c)&&(e=!0,Ei(d,d.querySelector(c),f.querySelector(c)))});c=f.querySelector(".devsite-product-name-wrapper");var g=this.querySelector(".devsite-product-name-wrapper");c&&g&&Ei(this,g,c);c=f.querySelector("[ds-is="+S.SEARCH+"]");g=this.querySelector("[ds-is="+S.SEARCH+"]");c&&g&&Oj(c,g);c=f.querySelector("devsite-user");g=this.querySelector("devsite-user");
|
||
|
c&&g&&Oj(c,g);e||(zf(this),this.appendChild(f));Lj(this);Mj(this)};r.Object.defineProperties(Fj,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["offset","search-active"]}}});Fj.prototype.updateContent=Fj.prototype.updateContent;Fj.prototype.disconnectedCallback=Fj.prototype.disconnectedCallback;Fj.prototype.connectedCallback=Fj.prototype.connectedCallback;Fj.prototype.attributeChangedCallback=Fj.prototype.attributeChangedCallback;try{window.customElements.define("devsite-header",Fj)}catch(c){console.warn("devsite.app.customElement.DevsiteHeader",c)};function Pj(c){return Y.apply(this,arguments)||this}p(Pj,Y);Pj.prototype.J=function(){return"progress"};Pj.prototype.connectedCallback=function(){Ci(this);Qj(this)};Pj.prototype.attributeChangedCallback=function(c,d,e){d!==e&&Qj(this)};
|
||
|
function Qj(c){zf(c);switch(c.getAttribute("type")){case "indeterminate":var d=c.getAttribute("color"),e=document.createElement("div");e.classList.add("devsite-progress--indeterminate");for(var f=1;4>=f;f++){var g=document.createElement("div");g.classList.add("devsite-progress--indeterminate-"+f);!d||1!=f&&3!=f||(g.style.backgroundColor=d);e.appendChild(g)}c.appendChild(e)}}r.Object.defineProperties(Pj,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["color","type"]}}});
|
||
|
Pj.prototype.attributeChangedCallback=Pj.prototype.attributeChangedCallback;Pj.prototype.connectedCallback=Pj.prototype.connectedCallback;try{window.customElements.define("devsite-progress",Pj)}catch(c){console.warn("devsite.app.customElement.DevsiteProgress",c)};function Rj(c){Wc(this,c,null)}A(Rj,Uc);function Sj(c){Wc(this,c,Tj)}A(Sj,Uc);function Uj(c){Wc(this,c,Vj)}A(Uj,Uc);k=Rj.prototype;k.Og=function(c){var d,e={query:null==(d=M(this,1,""))?void 0:d,locale:null==(d=M(this,2,""))?void 0:d,Gg:null==(d=M(this,3,""))?void 0:d,ri:null==(d=M(this,5,0))?void 0:d,Nd:null==(d=N(this,6))?void 0:d,Md:null==(d=N(this,7))?void 0:d,Pd:null==(d=N(this,8))?void 0:d,Od:null==(d=N(this,9))?void 0:d,Vd:null==(d=M(this,10,""))?void 0:d};c&&(e.aa=this);return e};
|
||
|
k.Ng=function(){var c=new Fc;var d=M(this,1,"");0<d.length&&c.o(1,d);d=this.getLocale();0<d.length&&c.o(2,d);d=M(this,3,"");0<d.length&&c.o(3,d);d=M(this,5,0);0!==d&&Lc(c,5,d);(d=N(this,6))&&Jc(c,6,d);(d=N(this,7))&&Jc(c,7,d);(d=N(this,8))&&Jc(c,8,d);(d=N(this,9))&&Jc(c,9,d);d=M(this,10,"");0<d.length&&c.o(10,d);return Hc(c)};k.getLocale=function(){return M(this,2,"")};function Wj(c){var d=window.devsite.two.app.getLocale();O(c,2,d)}k.fi=function(c){O(this,3,c)};k.mi=function(c){P(this,5,c,0)};
|
||
|
k.Eh=function(c){O(this,10,c)};var Tj=[2];k=Sj.prototype;k.Qg=function(c){var d,e={Lc:null==(d=M(this,1,""))?void 0:d,gh:Zc(dd(this,Uj,2),Xj,c)};c&&(e.aa=this);return e};k.Pg=function(){var c=new Fc;var d=M(this,1,"");0<d.length&&c.o(1,d);d=dd(this,Uj,2);0<d.length&&Nc(c,2,d,Yj);return Hc(c)};k.ei=function(c){O(this,1,c)};k.dd=function(c,d){return gd(this,2,c,Uj,d)};k.Ad=function(){fd(this,2)};var Vj=[7,10];
|
||
|
function Xj(c,d){var e,f={title:null==(e=M(d,1,""))?void 0:e,path:null==(e=M(d,2,""))?void 0:e,lb:null==(e=M(d,3,""))?void 0:e,Da:null==(e=M(d,4,""))?void 0:e,ca:null==(e=M(d,5,0))?void 0:e,Gd:null==(e=M(d,6,""))?void 0:e,Gc:null==(e=$c(d,7))?void 0:e,locale:null==(e=M(d,8,""))?void 0:e,Dg:null==(e=M(d,9,""))?void 0:e,Tb:null==(e=$c(d,10))?void 0:e,version:null==(e=M(d,11,""))?void 0:e,platform:null==(e=M(d,12,""))?void 0:e,language:null==(e=M(d,13,""))?void 0:e};c&&(f.aa=d);return f}k=Uj.prototype;
|
||
|
k.Tg=function(){var c=new Fc;Yj(this,c);return Hc(c)};
|
||
|
function Yj(c,d){var e=M(c,1,"");0<e.length&&d.o(1,e);e=M(c,2,"");0<e.length&&d.o(2,e);e=M(c,3,"");0<e.length&&d.o(3,e);e=M(c,4,"");0<e.length&&d.o(4,e);e=M(c,5,0);0!==e&&Lc(d,5,e);e=M(c,6,"");0<e.length&&d.o(6,e);e=$c(c,7);0<e.length&&Mc(d,7,e);e=c.getLocale();0<e.length&&d.o(8,e);e=M(c,9,"");0<e.length&&d.o(9,e);e=$c(c,10);0<e.length&&Mc(d,10,e);e=M(c,11,"");0<e.length&&d.o(11,e);e=M(c,12,"");0<e.length&&d.o(12,e);e=M(c,13,"");0<e.length&&d.o(13,e)}k.Wg=function(c){O(this,1,c)};
|
||
|
k.Vg=function(c){O(this,2,c)};k.ji=function(c){O(this,3,c)};k.gi=function(c){O(this,4,c)};k.vh=function(c){P(this,5,c,0)};k.wh=function(c){O(this,6,c)};k.Rg=function(c,d){cd(this,7,c,d)};k.Sg=function(){bd(this,7,[])};k.getLocale=function(){return M(this,8,"")};k.Ug=function(c){O(this,8,c)};k.$h=function(c){O(this,9,c)};k.bd=function(c,d){cd(this,10,c,d)};k.yd=function(){bd(this,10,[])};k.pi=function(c){O(this,11,c)};k.di=function(c){O(this,12,c)};k.Uh=function(c){O(this,13,c)};function Zj(c){Wc(this,c,null)}A(Zj,Uc);function ak(c){Wc(this,c,null)}A(ak,Uc);function bk(c){Wc(this,c,ck)}A(bk,Uc);function dk(c){Wc(this,c,null)}A(dk,Uc);k=Zj.prototype;k.$g=function(c){var d,e={gg:null==(d=N(this,1))?void 0:d,zg:null==(d=M(this,2,""))?void 0:d,Ld:null==(d=M(this,3,""))?void 0:d};c&&(e.aa=this);return e};k.Zg=function(){var c=new Fc,d;(d=N(this,1))&&Jc(c,1,d);d=M(this,2,"");0<d.length&&c.o(2,d);d=M(this,3,"");0<d.length&&c.o(3,d);return Hc(c)};k.Sh=function(c){P(this,1,c,!1)};
|
||
|
k.Yh=function(c){O(this,2,c)};k.Ah=function(c){O(this,3,c)};k=ak.prototype;k.Ig=function(c){var d,e={hh:null==(d=M(this,1,""))?void 0:d,Sf:null==(d=M(this,2,""))?void 0:d,Rf:null==(d=M(this,3,""))?void 0:d,Tf:null==(d=M(this,4,""))?void 0:d,fd:null==(d=M(this,5,""))?void 0:d,Qd:null==(d=M(this,6,""))?void 0:d,Rd:null==(d=M(this,7,""))?void 0:d};c&&(e.aa=this);return e};
|
||
|
k.Hg=function(){var c=new Fc;var d=M(this,1,"");0<d.length&&c.o(1,d);d=M(this,2,"");0<d.length&&c.o(2,d);d=M(this,3,"");0<d.length&&c.o(3,d);d=M(this,4,"");0<d.length&&c.o(4,d);d=M(this,5,"");0<d.length&&c.o(5,d);d=M(this,6,"");0<d.length&&c.o(6,d);d=M(this,7,"");0<d.length&&c.o(7,d);return Hc(c)};k.ki=function(c){O(this,1,c)};k.Ph=function(c){O(this,2,c)};k.Oh=function(c){O(this,3,c)};k.Qh=function(c){O(this,4,c)};k.mh=function(c){O(this,5,c)};k.Bh=function(c){O(this,6,c)};
|
||
|
k.Ch=function(c){O(this,7,c)};var ck=[2,3];k=bk.prototype;k.Yg=function(c){var d,e={Qf:null==(d=N(this,1))?void 0:d,yg:Zc(dd(this,dk,2),ek,c),bh:Zc(dd(this,dk,3),ek,c)};c&&(e.aa=this);return e};k.Xg=function(){var c=new Fc,d;(d=N(this,1))&&Jc(c,1,d);d=dd(this,dk,2);0<d.length&&Nc(c,2,d,fk);d=dd(this,dk,3);0<d.length&&Nc(c,3,d,fk);return Hc(c)};k.Nh=function(c){P(this,1,c,!1)};k.$c=function(c,d){return gd(this,2,c,dk,d)};k.xd=function(){fd(this,2)};k.cd=function(c,d){return gd(this,3,c,dk,d)};
|
||
|
k.zd=function(){fd(this,3)};function ek(c,d){var e,f={title:null==(e=M(d,1,""))?void 0:e,path:null==(e=M(d,2,""))?void 0:e};c&&(f.aa=d);return f}dk.prototype.s=function(){var c=new Fc;fk(this,c);return Hc(c)};function fk(c,d){var e=M(c,1,"");0<e.length&&d.o(1,e);e=M(c,2,"");0<e.length&&d.o(2,e)}dk.prototype.w=function(c){O(this,1,c)};dk.prototype.v=function(c){O(this,2,c)};var gk={},hk={},ik={},jk={};function kk(){throw Error("Do not instantiate directly");}kk.prototype.Ka=null;kk.prototype.toString=function(){return this.content};kk.prototype.a=function(){if(this.da===jk)return We(this.toString());if(this.da!==gk)throw Error("Sanitized content was not of kind TEXT or HTML.");return Xe(this.toString(),this.Ka||null)};kk.prototype.b=function(){if(this.da!==hk)throw Error("Sanitized content was not of kind URI.");return ye(this.toString())};
|
||
|
function lk(){kk.call(this)}A(lk,kk);lk.prototype.da=gk;function mk(c){if(null!=c)switch(c.Ka){case 1:return 1;case -1:return-1;case 0:return 0}return null}function nk(c){return null!=c&&c.da===gk?c:c instanceof Te?ok(Ve(c),c.za()):ok(Bb(String(String(c))),mk(c))}
|
||
|
var ok=function(c){function d(c){this.content=c}d.prototype=c.prototype;return function(c,f){c=new d(String(c));void 0!==f&&(c.Ka=f);return c}}(lk),pk=function(c){function d(c){this.content=c}d.prototype=c.prototype;return function(c,f){c=String(c);if(!c)return"";c=new d(c);void 0!==f&&(c.Ka=f);return c}}(lk);function qk(){return"\u5c55\u5f00/\u6536\u8d77\u5185\u5bb9".replace(rk,sk)}
|
||
|
function tk(c){return null!=c&&c.da===gk?String(String(c.content).replace(uk,"").replace(vk,"<")).replace(rk,sk):Bb(String(c))}function wk(c){null!=c&&c.da===hk||null!=c&&c.da===ik?c=String(c).replace(xk,yk):c instanceof te?c=String(ve(c)).replace(xk,yk):c instanceof oe?c=String(qe(c)).replace(xk,yk):(c=String(c),c=zk.test(c)?c.replace(xk,yk):"about:invalid#zSoyz");return c}
|
||
|
var Ak={"\x00":"�","\t":"	","\n":" ","\x0B":"","\f":"","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function sk(c){return Ak[c]}
|
||
|
var Bk={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",
|
||
|
")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB",
|
||
|
"\uff3d":"%EF%BC%BD"};function yk(c){return Bk[c]}var rk=/[\x00\x22\x27\x3c\x3e]/g,xk=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,zk=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,uk=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,vk=/</g;function Ck(){return ok('<div class="devsite-popout"><div class="devsite-popout-result devsite-suggest-results-container" devsite-hide role="menu" aria-haspopup="true"></div><div class="devsite-popout-result devsite-history-container" devsite-hide role="menu" aria-haspopup="true"></div></div>')}
|
||
|
function Dk(c){c='<div class="devsite-history-wrapper"><div class="devsite-history-side-column"><div class="devsite-history-icon material-icons"></div></div><div class="devsite-history-main-column"><div class="devsite-history-results">'+nk(c.La)+'</div><div class="devsite-history-footer"><a href="//myaccount.google.com/privacy#accounthistory" class="devsite-history-preferences-link button button-white">';return ok(c+"\u6d4f\u89c8\u8bb0\u5f55\u504f\u597d\u8bbe\u7f6e</a></div></div></div>")}
|
||
|
function Ek(c){z(c.Vb);var d=c.Vb;z(c.Qb);c=c.Qb;var e='<div class="devsite-history-column devsite-nav goog-menu" id="devsite-recent-column"><label>\u6700\u8fd1\u8bbf\u95ee\u8fc7\u7684\u7f51\u9875</label><div>';for(var f=d.length,g=0;g<f;g++){var h=d[g];e+='<div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+tk(g)+'"><a href="'+tk(wk(h.path))+'" class="devsite-result-item-link">'+nk(h.title)+"</a></div>"}e+='</div></div><div class="devsite-history-column devsite-nav" id="devsite-frequent-column"><label>\u6700\u5e38\u8bbf\u95ee\u7684\u7f51\u9875</label><div>';
|
||
|
d=c.length;for(f=0;f<d;f++)g=c[f],e+='<div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+tk(f)+'"><a href="'+tk(wk(g.path))+'" class="devsite-result-item-link">'+nk(g.title)+"</a></div>";c=""+Dk({La:pk(e+"</div></div>")});return ok(c)}function Fk(){var c=""+Dk({La:pk('<div class="devsite-result-label">\u6b64\u5904\u4f1a\u663e\u793a\u60a8\u7ecf\u5e38\u8bbf\u95ee\u7684\u7f51\u9875\u3002</div>')});return ok(c)}
|
||
|
function Gk(){var c=""+Dk({La:pk('<div class="devsite-result-label">\u6b63\u5728\u52a0\u8f7d\u60a8\u7684\u6d4f\u89c8\u8bb0\u5f55\u2026</div>')});return ok(c)}function Hk(){var c=""+Dk({La:pk('<div class="devsite-result-label">Turn on <a href="//myaccount.google.com/privacy#accounthistory">history</a> to see the pages you visit often.</div>')});return ok(c)}
|
||
|
function Ik(c){var d='<button type="submit" class="button button-white devsite-suggest-all-results">';c='See all results for "'+(nk(c.query)+'"');return ok(d+c+"</button>")}
|
||
|
function Jk(c){var d=c.title,e=c.lb,f=c.Da,g=c.kb;return ok('<a class="devsite-result-item-link" href="'+tk(wk(c.link))+'"><span class="devsite-suggestion-fragment">'+nk(d)+"</span>"+(g?'<span class="devsite-suggestion-fragment">'+nk(g)+"</span>":"")+(e?'<span class="devsite-suggestion-fragment">'+nk(e)+"</span>":"")+(f?'<span class="devsite-suggestion-fragment">'+nk(f)+"</span>":"")+"</a>")}
|
||
|
function Kk(c){var d=c.query;c=c.Yb;d='<div class="devsite-suggest-wrapper '+(c?"":"devsite-search-disabled")+'"><div class="devsite-suggest-section"><div class="devsite-result-label">There are no suggestions for your query'+("</div></div>"+(c?'<div class="devsite-suggest-footer">'+Ik({query:d})+"</div>":"")+"</div>");return ok(d)}
|
||
|
function Lk(c){var d=c.query;z(c.Rb);var e=c.Rb;z(c.Sb);var f=c.Sb;z(c.Ub);var g=c.Ub;z(c.Wb);var h=c.Wb;c=c.Yb;var l='<div class="devsite-suggest-wrapper '+(c?"":"devsite-search-disabled")+'"><div class="devsite-suggest-section">';if(0<g.length){l+='<div class="devsite-suggest-header">Suggested searches</div>';for(var n=g.length,q=0;q<n;q++){var w=g[q];l+='<devsite-analytics-scope category="Site-Wide Custom Events" label="Search" action="Query Suggestion Click"><div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+
|
||
|
tk(q)+'">'+Jk({link:w.path,title:w.title})+"</div>"}l+="</devsite-analytics-scope>"}l+=0<g.length&&0<e.length?"<hr>":"";if(0<e.length){l+='<div class="devsite-suggest-header">Pages</div><devsite-analytics-scope category="Site-Wide Custom Events" label="Search" action="Page Suggestion Click">';n=e.length;for(q=0;q<n;q++)w=e[q],l+='<div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+tk(q)+'">'+Jk({link:w.path,title:w.title,Da:w.Da})+"</div>";l+="</devsite-analytics-scope>"}l+=
|
||
|
0<h.length&&0<e.length+g.length?"<hr>":"";if(0<h.length){l+='<div class="devsite-suggest-header">\u53c2\u8003\u9875\u9762</div><devsite-analytics-scope category="Site-Wide Custom Events" label="Search" action="Reference Suggestion Click">';n=h.length;for(q=0;q<n;q++)w=h[q],l+='<div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+tk(q)+'">'+Jk({link:w.path,title:w.title,lb:w.lb,Da:w.Da,kb:w.kb})+"</div>";l+="</devsite-analytics-scope>"}l+=0<f.length&&0<e.length+g.length+h.length?
|
||
|
"<hr>":"";if(0<f.length){l+='<div class="devsite-suggest-header">Products</div><devsite-analytics-scope category="Site-Wide Custom Events" label="Search" action="Product Suggestion Click">';e=f.length;for(g=0;g<e;g++)h=f[g],l+='<div class="devsite-result-item devsite-nav-label" role="menuitem" index=":'+tk(g)+'">'+Jk({link:h.path,title:h.title})+"</div>";l+="</devsite-analytics-scope>"}l+="</div>"+(c?'<div class="devsite-suggest-footer">'+Ik({query:d})+"</div>":"")+"</div>";return ok(l)};function Mk(c){ah.call(this);this.a=c;c=E.u?"focusout":"blur";this.f=Md(this.a,E.u?"focusin":"focus",this,!E.u);this.g=Md(this.a,c,this,!E.u)}A(Mk,ah);Mk.prototype.handleEvent=function(c){var d=new wd(c.G);d.type="focusin"==c.type||"focus"==c.type?"focusin":"focusout";bh(this,d)};Mk.prototype.T=function(){Mk.ia.T.call(this);Vd(this.f);Vd(this.g);delete this.a};function Nk(c,d){d=c(d||Ok,void 0,void 0);c=hf().createElement("DIV");d=Pk(d);af(c,d);1==c.childNodes.length&&(d=c.firstChild,1==d.nodeType&&(c=d));return c}function Pk(c){if(!Na(c))return String(c);if(c instanceof kk){if(c.da===gk)return c.content;if(c.da===jk)return Bb(c.content)}return"zSoyz"}var Ok={};var Qk={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"semicolon",61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",
|
||
|
93:"context",96:"num-0",97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};function Rk(c){ah.call(this);this.g=this.f={};this.h=0;this.C=Ob(Sk);this.ja=Ob(Tk);this.v=!0;this.s=this.w=!1;this.F=!0;this.L=!1;this.m=null;this.a=c;Md(this.a,"keydown",this.hb,void 0,this);E.pa&&Md(this.a,"keypress",this.Nb,void 0,this);Md(this.a,"keyup",this.Mb,void 0,this)}var Uk;A(Rk,ah);function Vk(c){this.a=c||null;this.next=c?null:{}}var Sk=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Tk="color date datetime datetime-local email month number password search tel text time url week".split(" ");
|
||
|
k=Rk.prototype;k.ie=function(){return this.v};k.ph=function(c){this.w=c};k.je=function(){return this.w};k.nh=function(c){this.s=c};k.he=function(){return this.s};k.Xh=function(c){this.F=c};k.He=function(){return this.F};k.oh=function(c){this.L=c};k.Mc=function(c,d){Wk(this.f,Xk(1,arguments),c)};k.vi=function(c){Yk(this.f,Xk(0,arguments))};k.fg=function(c){return Zk(this,this.f,Xk(0,arguments))};
|
||
|
function Xk(c,d){if(y(d[c]))c=db($k(d[c]),function(c){return al(c.key||"",c.keyCode,c.Hc)});else{var e=d,f=c;z(d[c])&&(e=d[c],f=0);for(c=[];f<e.length;f+=2)c.push(al("",e[f],e[f+1]))}return c}k.Lh=function(c){this.C=Ob(c)};k.De=function(){return Kb(this.C)};k.T=function(){Rk.ia.T.call(this);this.f={};Ud(this.a,"keydown",this.hb,!1,this);E.pa&&Ud(this.a,"keypress",this.Nb,!1,this);Ud(this.a,"keyup",this.Mb,!1,this);this.a=null};k.ze=function(c){return"shortcut_"+c};
|
||
|
function $k(c){c=c.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();c=c.split(" ");for(var d=[],e,f=0;e=c[f];f++){var g=e.split("+"),h=null,l=null;e=0;for(var n,q=0;n=g[q];q++){switch(n){case "shift":e|=1;continue;case "ctrl":e|=2;continue;case "alt":e|=4;continue;case "meta":e|=8;continue}g=void 0;h=n;if(!Uk){l={};for(g in Qk)l[Qk[g]]=lj(parseInt(g,10));Uk=l}l=Uk[h];h=n;break}d.push({key:h,keyCode:l,Hc:e})}return d}
|
||
|
k.Mb=function(c){E.ba&&(32==this.m&&32==c.keyCode&&c.preventDefault(),this.m=null);E.pa&&!this.X&&E.pa&&c.ctrlKey&&c.altKey&&this.hb(c)};k.Nb=function(c){32<c.keyCode&&E.pa&&c.ctrlKey&&c.altKey&&(this.X=!0)};function Wk(c,d,e){var f=d.shift();C(f,function(e){if((e=c[e])&&(0==d.length||e.a))throw Error("Keyboard shortcut conflicts with existing shortcut");});d.length?C(f,function(f){f=f.toString();var g=new Vk;f=f in c?c[f]:c[f]=g;Wk(f.next,d.slice(0),e)}):C(f,function(d){c[d]=new Vk(e)})}
|
||
|
function Yk(c,d){var e=d.shift();C(e,function(e){var f=c[e];if(f)if(0==d.length)f.a&&delete c[e];else if(f.next){Yk(f.next,d.slice(0));a:{for(var h in f.next){f=!1;break a}f=!0}f&&delete c[e]}})}function bl(c,d){for(var e=0;e<d.length;e++){var f=c[d[e]];if(f)return f}}function Zk(c,d,e){for(;0<e.length&&d;){var f=e.shift();if((f=bl(d,f))&&(0==e.length&&f.a||Zk(c,f.next,e.slice(0))))return!0}return!1}function al(c,d,e){e=e||0;d=["c_"+d+"_"+e];""!=c&&d.push("n_"+c+"_"+e);return d}
|
||
|
k.hb=function(c){a:{var d=c.keyCode;if(""!=c.key){var e=c.key;if("Control"==e||"Shift"==e||"Meta"==e||"AltGraph"==e){d=!1;break a}}else if(16==d||17==d||18==d){d=!1;break a}e=c.target;var f="TEXTAREA"==e.tagName||"INPUT"==e.tagName||"BUTTON"==e.tagName||"SELECT"==e.tagName,g=!f&&(e.isContentEditable||e.ownerDocument&&"on"==e.ownerDocument.designMode);d=!f&&!g||this.C[d]||this.s?!0:g?!1:this.F&&(c.altKey||c.ctrlKey||c.metaKey)?!0:"INPUT"==e.tagName&&this.ja[e.type]?13==d:"INPUT"==e.tagName||"BUTTON"==
|
||
|
e.tagName?this.L?!0:32!=d:!1}if(d)if("keydown"==c.type&&E.pa&&c.ctrlKey&&c.altKey)this.X=!1;else{d=lj(c.keyCode);e=al(c.key,d,(c.shiftKey?1:0)|(c.ctrlKey?2:0)|(c.altKey?4:0)|(c.metaKey?8:0));f=bl(this.g,e);if(!f||1500<=Ua()-this.h)this.g=this.f,this.h=Ua();(f=bl(this.g,e))&&f.next&&(this.g=f.next,this.h=Ua());f&&(f.next?c.preventDefault():(this.g=this.f,this.h=Ua(),this.v&&c.preventDefault(),this.w&&c.stopPropagation(),e=f.a,f=c.target,g=bh(this,new cl("shortcut",e,f)),(g&=bh(this,new cl("shortcut_"+
|
||
|
e,e,f)))||c.preventDefault(),E.ba&&(this.m=d)))}};function cl(c,d,e){ud.call(this,c,e);this.xc=d}A(cl,ud);var dl={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,
|
||
|
"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,
|
||
|
"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},el={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,"* CLASS":!0,"* ID":!0,"* STYLE":!0};var fl={};
|
||
|
function gl(c){if(E.product.u&&!E.$(9))return[0,0,0,0];var d=fl.hasOwnProperty(c)?fl[c]:null;if(d)return d;65536<Object.keys(fl).length&&(fl={});var e=[0,0,0,0];d=hl(c,/\\[0-9A-Fa-f]{6}\s?/g);d=hl(d,/\\[0-9A-Fa-f]{1,5}\s/g);d=hl(d,/\\./g);d=d.replace(/:not\(([^\)]*)\)/g," $1 ");d=d.replace(/{[^]*/gm,"");d=il(d,e,/(\[[^\]]+\])/g,2);d=il(d,e,/(#[^\#\s\+>~\.\[:]+)/g,1);d=il(d,e,/(\.[^\s\+>~\.\[:]+)/g,2);d=il(d,e,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);d=il(d,e,/(:[\w-]+\([^\)]*\))/gi,
|
||
|
2);d=il(d,e,/(:[^\s\+>~\.\[:]+)/g,2);d=d.replace(/[\*\s\+>~]/g," ");d=d.replace(/[#\.]/g," ");il(d,e,/([^\s\+>~\.\[:]+)/g,3);d=e;return fl[c]=d}function il(c,d,e,f){return c.replace(e,function(c){d[f]+=1;return Array(c.length+1).join(" ")})}function hl(c,d){return c.replace(d,function(c){return Array(c.length+1).join("A")})};var jl={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},kl=/[\n\f\r"'()*<>]/g,ll={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29",
|
||
|
"*":"%2a","<":"%3c",">":"%3e"};function ml(c){return ll[c]}
|
||
|
function nl(c,d,e){d=ob(d);if(""==d)return null;var f=String(d.substr(0,4)).toLowerCase();if(0==("url("<f?-1:"url("==f?0:1)){if(!d.endsWith(")")||1<(d?d.split("(").length-1:0)||1<(d?d.split(")").length-1:0)||!e)c=null;else{a:for(d=d.substring(4,d.length-1),f=0;2>f;f++){var g="\"'".charAt(f);if(d.charAt(0)==g&&d.charAt(d.length-1)==g){d=d.substring(1,d.length-1);break a}}c=e?(c=e(d,c))&&"about:invalid#zClosurez"!=ve(c)?'url("'+ve(c).replace(kl,ml)+'")':null:null}return c}if(0<d.indexOf("(")){if(/"|'/.test(d))return null;
|
||
|
for(c=/([\-\w]+)\(/g;e=c.exec(d);)if(!(e[1]in jl))return null}return d};function ol(c,d){c=v[c];return c&&c.prototype?(d=Object.getOwnPropertyDescriptor(c.prototype,d))&&d.get||null:null}function pl(c,d){return(c=v[c])&&c.prototype&&c.prototype[d]||null}
|
||
|
var ql=ol("Element","attributes")||ol("Node","attributes"),rl=pl("Element","hasAttribute"),sl=pl("Element","getAttribute"),tl=pl("Element","setAttribute"),ul=pl("Element","removeAttribute"),vl=pl("Element","getElementsByTagName"),wl=pl("Element","matches")||pl("Element","msMatchesSelector"),xl=ol("Node","nodeName"),yl=ol("Node","nodeType"),zl=ol("Node","parentNode"),Al=ol("HTMLElement","style")||ol("Element","style"),Bl=ol("HTMLStyleElement","sheet"),Cl=pl("CSSStyleDeclaration","getPropertyValue"),
|
||
|
Dl=pl("CSSStyleDeclaration","setProperty");function El(c,d,e,f){if(c)return c.apply(d);c=d[e];if(!f(c))throw Error("Clobbering detected");return c}function Fl(c,d,e,f){if(c)return c.apply(d,f);if(E.product.u&&10>document.documentMode){if(!d[e].call)throw Error("IE Clobbering detected");}else if("function"!=typeof d[e])throw Error("Clobbering detected");return d[e].apply(d,f)}function Gl(c){return El(ql,c,"attributes",function(c){return c instanceof NamedNodeMap})}
|
||
|
function Hl(c,d,e){try{Fl(tl,c,"setAttribute",[d,e])}catch(f){if(-1==f.message.indexOf("A security problem occurred"))throw f;}}function Il(c){return El(Al,c,"style",function(c){return c instanceof CSSStyleDeclaration})}function Jl(c){return El(Bl,c,"sheet",function(c){return c instanceof CSSStyleSheet})}function Kl(c){return El(xl,c,"nodeName",function(c){return"string"==typeof c})}function Ll(c){return El(yl,c,"nodeType",function(c){return"number"==typeof c})}
|
||
|
function Ml(c){return El(zl,c,"parentNode",function(c){return!(c&&"string"==typeof c.name&&c.name&&"parentnode"==c.name.toLowerCase())})}function Nl(c,d){return Fl(Cl,c,c.getPropertyValue?"getPropertyValue":"getAttribute",[d])||""}function Ol(c,d,e){Fl(Dl,c,c.setProperty?"setProperty":"setAttribute",[d,e])};var Pl=E.u&&10>document.documentMode?null:/\s*([^\s'",]+[^'",]*(('([^'\r\n\f\\]|\\[^])*')|("([^"\r\n\f\\]|\\[^])*")|[^'",])*)/g,Ql={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};
|
||
|
function Rl(c,d,e){var f=[];c=Sl(hb(c.cssRules));C(c,function(c){if(d&&!/[a-zA-Z][\w-:\.]*/.test(d))throw Error("Invalid container id");if(!(d&&E.product.u&&10==document.documentMode&&/\\['"]/.test(c.selectorText))){var g=d?c.selectorText.replace(Pl,"#"+d+" $1"):c.selectorText;f.push(Oe(g,Tl(c.style,e)))}});return Qe(f)}function Sl(c){return cb(c,function(c){return c instanceof CSSStyleRule||c.type==CSSRule.STYLE_RULE})}
|
||
|
function Ul(c,d,e){c=Vl("<style>"+c+"</style>");return null==c?Se:Rl(c.sheet,void 0!=d?d:null,e)}function Vl(c){return E.u&&!E.$(10)||"function"!=typeof v.DOMParser?null:(new DOMParser).parseFromString("<html><head></head><body>"+c+"</body></html>","text/html").body.children[0]}
|
||
|
function Tl(c,d){if(!c)return Ee;var e=document.createElement("div").style,f=Wl(c);C(f,function(f){var g=E.N&&f in Ql?f:f.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=g.lastIndexOf("--",0)&&0!=g.lastIndexOf("var",0)&&(f=Nl(c,f),f=nl(g,f,d),null!=f&&Ol(e,g,f))});return De(e.cssText||"")}
|
||
|
function Xl(c){var d=Array.from(Fl(vl,c,"getElementsByTagName",["STYLE"])),e=mb(d,function(c){return hb(Jl(c).cssRules)});e=Sl(e);e.sort(function(c,d){c=gl(c.selectorText);a:{d=gl(d.selectorText);for(var e=Math.min(c.length,d.length),f=0;f<e;f++){var g=c[f];var h=d[f];g=g>h?1:g<h?-1:0;if(0!=g){c=g;break a}}c=c.length;d=d.length;c=c>d?1:c<d?-1:0}return-c});c=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,null,!1);for(var f;f=c.nextNode();)C(e,function(c){Fl(wl,f,f.matches?"matches":"msMatchesSelector",
|
||
|
[c.selectorText])&&c.style&&Yl(f,c.style)});C(d,Df)}function Yl(c,d){var e=Wl(c.style),f=Wl(d);C(f,function(f){if(!(0<=e.indexOf(f))){var g=Nl(d,f);Ol(c.style,f,g)}})}function Wl(c){La(c)?c=hb(c):(c=Kb(c),fb(c,"cssText"));return c};var Zl="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),$l=0;function am(){this.c=[];this.b=[];this.a="data-elementweakmap-index-"+$l++}am.prototype.set=function(c,d){if(Fl(rl,c,"hasAttribute",[this.a])){var e=parseInt(Fl(sl,c,"getAttribute",[this.a])||null,10);this.b[e]=d}else e=this.b.push(d)-1,Hl(c,this.a,e.toString()),this.c.push(c);return this};
|
||
|
am.prototype.get=function(c){if(Fl(rl,c,"hasAttribute",[this.a]))return c=parseInt(Fl(sl,c,"getAttribute",[this.a])||null,10),this.b[c]};am.prototype.clear=function(){this.c.forEach(function(c){Fl(ul,c,"removeAttribute",[this.a])},this);this.c=[];this.b=[]};var bm=!E.u||E.Z(10);function cm(){}
|
||
|
cm.prototype.h=function(c){if(!bm)return yf(document,"SPAN");var d=yf(document,"SPAN");this.b&&"*"==this.c&&(d.id=this.b);this.i&&(c=Vl("<div>"+c+"</div>"),Xl(c),c=c.innerHTML);var e=document.createElement("template");if("content"in e)e.innerHTML=c,e=e.content;else{var f=document.implementation.createHTMLDocument("x");e=f.body;f.body.innerHTML=c}c=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(e=Zl?new WeakMap:new am;f=c.nextNode();){a:{var g=f;switch(Ll(g)){case 3:g=
|
||
|
dm(this,g);break a;case 1:if("TEMPLATE"==Kl(g).toUpperCase())g=null;else{var h=Kl(g).toUpperCase();if(h in this.f)var l=null;else this.g[h]?l=document.createElement(h):(l=yf(document,"SPAN"),this.s&&Hl(l,"data-sanitizer-original-tag",h.toLowerCase()));if(l){var n=l,q=Gl(g);if(null!=q)for(var w=0;h=q[w];w++)if(h.specified){var F=g;var ca=h;var B=ca.name;if(0==B.lastIndexOf("data-sanitizer-",0))ca=null;else{var Xf=Kl(F);ca=ca.value;var de={tagName:ob(Xf).toLowerCase(),attributeName:ob(B).toLowerCase()},
|
||
|
lc={ab:void 0};"style"==de.attributeName&&(lc.ab=Il(F));F=em(Xf,B);F in this.a?(B=this.a[F],ca=B(ca,de,lc)):(B=em(null,B),B in this.a?(B=this.a[B],ca=B(ca,de,lc)):ca=null)}null===ca||Hl(n,h.name,ca)}g=l}else g=null}break a;default:g=null}}if(g){if(1==Ll(g)&&e.set(f,g),f=Ml(f),h=!1,f)l=Ll(f),n=Kl(f).toLowerCase(),q=Ml(f),11!=l||q?"body"==n&&q&&(l=Ml(q))&&!Ml(l)&&(h=!0):h=!0,l=null,h||!f?l=d:1==Ll(f)&&(l=e.get(f)),l.content&&(l=l.content),l.appendChild(g)}else zf(f)}e.clear&&e.clear();return d};var fm={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var gm={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,
|
||
|
NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};function hm(c){c=c||new im;jm(c);this.a=Lb(c.a);this.f=Lb(c.c);this.g=Lb(c.g);this.s=c.w;C(c.v,function(c){if(0!=c.lastIndexOf("data-",0))throw new $a('Only "data-" attributes allowed, got: %s.',[c]);if(0==c.lastIndexOf("data-sanitizer-",0))throw new $a('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",c]);this.a["* "+c.toUpperCase()]=km},this);this.m=c.i;this.c=c.f;this.b=null;this.i=c.h}A(hm,cm);
|
||
|
function lm(c){return function(d,e){return(d=c(ob(d),e))&&"about:invalid#zClosurez"!=ve(d)?ve(d):null}}function im(){this.a={};C([dl,el],function(c){C(Kb(c),function(c){this.a[c]=km},this)},this);this.b={};this.v=[];this.c=Lb(fm);this.g=Lb(gm);this.w=!1;this.H=xe;this.m=this.s=this.C=this.i=je;this.f=null;this.F=this.h=!1}k=im.prototype;k.hd=function(c){ib(this.v,c);return this};k.jd=function(){delete this.c.FORM;return this};
|
||
|
k.kd=function(){if(this.h)throw Error("Rules from STYLE tags are already being inlined.");delete this.c.STYLE;this.f="*";return this};k.Ai=function(c){if("STYLE"in this.c)throw Error("STYLE tags must first be allowed through allowStyleTag.");if(void 0!=c){if(!/^[a-zA-Z][\w-:\.]*$/.test(c))throw Error("Invalid ID.");this.f=c}else this.f=null;return this};
|
||
|
k.Uf=function(){if(this.m==je)throw Error("Inlining style rules requires allowing STYLE attributes first.");if(!("STYLE"in this.c))throw Error("You have already configured the builder to allow STYLE tags in the output. Inlining style rules would prevent STYLE tags from appearing in the output and conflict with such directive.");this.h=!0;return this};k.gd=function(){this.m=mm;return this};k.md=function(c){C(c,function(c){this.g[c.toUpperCase()]=!0;delete this.c[c.toUpperCase()]},this);return this};
|
||
|
k.ld=function(c){C(c,function(c){y(c)&&(c={tagName:"*",attributeName:c,Ca:null});var d=em(c.tagName,c.attributeName);this.a[d]=c.Ca?c.Ca:km;this.b[d]=!0},this);return this};k.Bg=function(c){this.g={SPAN:!0};C(c,function(c){c=c.toUpperCase();if(gm[c])this.g[c]=!0;else throw Error("Only whitelisted tags can be allowed. See goog.html.sanitizer.TagWhitelist.");},this);return this};
|
||
|
k.Ag=function(c){var d=this.a;this.a={};C(c,function(c){"string"===Ka(c)&&(c={tagName:"*",attributeName:c.toUpperCase(),Ca:null});var e=em(c.tagName,c.attributeName);if(!d[e])throw Error("Only whitelisted attributes can be allowed.");this.a[e]=c.Ca?c.Ca:km},this);return this};k.ad=function(){this.w=!0;return this};k.xi=function(c){this.i=c;return this};k.zi=function(c){this.H=c;return this};k.wi=function(c){this.C=c;return this};k.yi=function(c){this.s=c;return this};
|
||
|
function nm(c,d){return function(e,f,g,h){e=c(e,f,g,h);return null==e?null:d(e,f,g,h)}}function om(c,d,e,f){c[e]&&!d[e]&&(c[e]=nm(c[e],f))}
|
||
|
function jm(c){if(c.F)throw Error("HtmlSanitizer.Builder.build() can only be used once.");om(c.a,c.b,"* USEMAP",pm);var d=lm(c.H);C(["* ACTION","* CITE","* HREF"],function(c){om(this.a,this.b,c,d)},c);var e=lm(c.i);C(["* LONGDESC","* SRC","LINK HREF"],function(c){om(this.a,this.b,c,e)},c);C(["* FOR","* HEADERS","* NAME"],function(c){om(this.a,this.b,c,Ta(qm,this.C))},c);om(c.a,c.b,"A TARGET",Ta(rm,["_blank","_self"]));om(c.a,c.b,"* CLASS",Ta(sm,c.s));om(c.a,c.b,"* ID",Ta(tm,c.s));om(c.a,c.b,"* STYLE",
|
||
|
Ta(c.m,e));c.F=!0}function em(c,d){c||(c="*");return(c+" "+d).toUpperCase()}function mm(c,d,e,f){if(!f.ab)return null;d=Ce(Tl(f.ab,function(d,f){e.sc=f;d=c(d,e);return null==d?null:ye(d)}));return""==d?null:d}function km(c){return ob(c)}function rm(c,d){d=ob(d);return eb(c,d.toLowerCase())?d:null}function pm(c){return(c=ob(c))&&"#"==c.charAt(0)?c:null}function qm(c,d,e){return c(ob(d),e)}
|
||
|
function sm(c,d,e){d=d.split(/(?:\s+)/);for(var f=[],g=0;g<d.length;g++){var h=c(d[g],e);h&&f.push(h)}return 0==f.length?null:f.join(" ")}function tm(c,d,e){return c(ob(d),e)}hm.prototype.v=function(c){this.b=um(this);return cm.prototype.h.call(this,c)};function um(c){var d=!("STYLE"in c.f)&&"STYLE"in c.g;return"*"==c.c&&d?"sanitizer-"+Cb():c.c}
|
||
|
function dm(c,d){var e=d.data;(d=Ml(d))&&"style"==Kl(d).toLowerCase()&&!("STYLE"in c.f)&&"STYLE"in c.g&&(e=Re(Ul(e,c.b,Sa(function(c,d){return this.m(c,{sc:d})},c))));return document.createTextNode(e)};var vm=yf(document,"DIV");vm.id=vm[Oa]||(vm[Oa]=++Pa);var wm={},xm=/[ .()<>{}\[\]\/:,]+/;function ym(){var c=Y.call(this)||this;c.C=!1;c.s={};c.w="/";c.b=new T;c.v=null;c.m=null;c.L=new eh(function(){return zm(c)},60);return c}p(ym,Y);ym.prototype.disconnectedCallback=function(){U(this.b);this.m&&this.m.R();this.v&&this.v.R()};ym.prototype.attributeChangedCallback=function(c,d,e){"project-path"==c&&(this.w=e||"/")};
|
||
|
ym.prototype.connectedCallback=function(){Ci(this);this.g=this.querySelector("form");this.a=this.g.querySelector(".devsite-search-query");this.H=this.g.querySelector(".devsite-search-button[search-open]");this.F=this.querySelector(".devsite-search-button[search-close]");this.i=Nk(Ck);this.h=this.i.querySelector(".devsite-history-container");this.f=this.i.querySelector(".devsite-suggest-results-container");this.g.appendChild(this.i);this.hasAttribute("project-path")&&(this.w=this.getAttribute("project-path"));
|
||
|
Am(this);this.hasAttribute("enable-signin")&&this.hasAttribute("enable-history")&&Bm(this);document.activeElement==this.a&&Cm(this,!0)};
|
||
|
function Am(c){c.a&&(c.b.j(c.a,"keyup",function(d){37<=d.keyCode&&40>=d.keyCode||(27!=d.keyCode?c.a.value.trim()?(c.f.removeAttribute("hidden"),c.h.setAttribute("hidden",""),c.L.D()):(c.h.removeAttribute("hidden"),c.f.setAttribute("hidden",""),zf(c.f)):Cm(c,!1))}),c.b.j(c.a,"keydown",function(d){if(37<=d.keyCode&&40>=d.keyCode)a:{var e=c.f.hasAttribute("hidden")?c.h:c.f,f=e.querySelector(".highlight"),g;e=Array.from(e.querySelectorAll(".devsite-result-item"));var h=[],l=-1;if(f){h=Array.from(f.parentNode.querySelectorAll(".devsite-result-item"));
|
||
|
var n=Ff(f.parentNode.parentNode);var q=Hf(f.parentNode.parentNode);l=e.indexOf(f)}switch(d.keyCode){case 37:if(!n&&!q)break a;f&&(d=f.getAttribute("index"),q?(g=q.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(q.querySelectorAll("[index]")))):n&&((g=n.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(n.querySelectorAll("[index]"))))));break;case 39:if(!n&&!q)break a;f&&(d=f.getAttribute("index"),n?(g=n.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(n.querySelectorAll("[index]")))):q&&
|
||
|
((g=q.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(q.querySelectorAll("[index]"))))));break;case 38:f?(g=e[l-1])||(g=ab(h)):g=ab(e);break;case 40:f?(g=e[l+1])||(g=h[0]):g=e[0]}f&&f.classList.remove("highlight");g&&(g.classList.add("highlight"),g.scrollIntoViewIfNeeded&&g.scrollIntoViewIfNeeded()||g.scrollIntoView())}}),c.b.j(c.a,"keypress",function(d){if(13==d.keyCode||3==d.keyCode){var e=c.i.querySelector(".highlight");e&&(e=e.querySelector(".devsite-result-item-link"))&&(d.preventDefault(),
|
||
|
e.click(),Cm(c,!1))}}),c.m=new Rk(document),c.m.v=!1,c.m.Mc("SLASH",191),c.b.j(c.m,"shortcut",function(d){if("SLASH"==d.xc){var e=document;e.activeElement===e.body&&(d.preventDefault(),c.a.focus())}}),c.b.j(c.a,"input",function(){!c.s["Text Entered Into Search Bar"]&&c.a.value.trim()&&(c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",label:"Search",action:"Text Entered Into Search Bar"},bubbles:!0})),c.s["Text Entered Into Search Bar"]=!0)}),
|
||
|
c.b.j(document.body,"devsite-page-changed",function(){return c.s={}}));c.g&&(c.v=new Mk(c.g),c.b.j(c.v,["focusin","focusout"],function(d){"focusin"===d.type?Cm(c,!0):c.g.contains(d.relatedTarget)||Cm(c,!1)}),c.b.j(c.g,"submit",function(d){Dm(c,d)}),c.b.j(window,"scroll",function(){Cm(c,!1)}));c.i&&c.b.j(c.i,"click",function(d){"A"==d.target.tagName.toUpperCase()&&Cm(c,!1)});c.H&&c.b.j(c.H,"click",function(){return Cm(c,!0)});c.F&&c.b.j(c.F,"click",function(){return Cm(c,!1)})}
|
||
|
function Dm(c,d){var e,f;u(function(g){if(1==g.a){d.preventDefault();d.stopPropagation();if(!c.hasAttribute("enable-search"))return g.K(0);c.s["Full Site Search"]||(c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",label:"Search",action:"Full Site Search"},bubbles:!0})),c.s["Full Site Search"]=!0);e=Ng(c.g.getAttribute("action"));f=new jg(e.href);xg(f,"q",c.a.value);c.w&&xg(f,"p",c.w);e.search=f.a.toString();return window.devsite.two.app?t(g,
|
||
|
window.devsite.two.app.fetchPage(e.href),3):g.K(3)}Cm(c,!1);g.a=0})}function Em(c){return Promise.resolve(jd(bk,c))}function Bm(c){c.h.appendChild(Nk(Gk));Mg("/profile/userhistory").then(Em).then(function(d){return Fm(c,d)}).catch(function(c){console.log("devsite search history failed",c)})}
|
||
|
function Fm(c,d){N(d,1)?dd(d,dk,2).length||dd(d,dk,3).length?(d={Vb:dd(d,dk,3).map(function(c){return ek(!0,c)}),Qb:dd(d,dk,2).map(function(c){return ek(!0,c)})},d=Nk(Ek,d)):d=Nk(Fk):d=Nk(Hk);zf(c.h);c.h.appendChild(d)}
|
||
|
function Cm(c,d){if(c.C!=d){if(c.C=d)c.a.focus(),c.a.value.trim()?(c.f.removeAttribute("hidden"),c.h.setAttribute("hidden",""),c.L.D()):(c.h.removeAttribute("hidden"),c.f.setAttribute("hidden","")),c.setAttribute("search-active","");else{var e=c.i.querySelector(".highlight");e&&e.classList.remove("highlight");c.a.blur();c.removeAttribute("search-active");zf(c.f)}c.hasAttribute("capture")||c.dispatchEvent(new CustomEvent("devsite-search-toggle",{detail:{active:d},bubbles:!0}))}}
|
||
|
function zm(c){if(c.hasAttribute("enable-suggestions")){var d=c.a.value.trim().toLowerCase(),e=new Rj;Wj(e);O(e,1,d);P(e,6,c.hasAttribute("enable-query-completion"),!1);P(e,7,!0,!1);P(e,8,!0,!1);P(e,9,!0,!1);var f=e.Oa();wm[f]?Gm(c,wm[f],e):Jg("/_d/search/suggestions?r="+encodeURIComponent(f)).then(Hm).then(function(c){return wm[f]=c}).then(function(d){return Gm(c,d,e)}).catch(function(c){console.log("devsite search suggestions failed",c)})}}function Hm(c){return Promise.resolve(jd(Sj,c))}
|
||
|
function Gm(c,d,e){var f=c.a.value.trim().toLowerCase();e=M(e,1,"");if(f.startsWith(e)){var g=dd(d,Uj,2).map(function(c){return Xj(!0,c)}),h=g.filter(function(c){return 2===c.ca}),l=g.filter(function(c){return 3===c.ca}),n=g.filter(function(c){return 4===c.ca}).slice(0,5),q=g.filter(function(c){return 1===c.ca});g=h.length+n.length+q.length;n.forEach(function(c){return c.path=Ng("/s/results/?q="+c.title).toString()});l.forEach(function(c){if(c.Tb){a:{var d=c.Tb;for(var e=f.split(xm),g=0;g<e.length;g++)for(var h=
|
||
|
0;h<d.length;h++)if(d[h].includes(e[g])){d=d[h];break a}d=""}c.kb=d}});var w=c.hasAttribute("enable-search");d={query:e,Lc:M(d,1,""),Rb:h,Sb:q,Ub:n,Wb:l,Yb:w};0>=g?d=Nk(Kk,d):(d=Nk(Lk,d),Im(d,e));zf(c.f);c.f.appendChild(d)}}
|
||
|
function Im(c,d){Array.from(c.querySelectorAll(".devsite-suggestion-fragment")).forEach(function(c){var e=Uf(c);e=e.replace(new RegExp("("+d+")","ig"),"<b>$1</b>");var g=new im;g=new hm(g);g.b=um(g);bm?(e=g.h(e),0<Gl(e).length&&(g=yf(document,"SPAN"),g.appendChild(e),e=g),e=(new XMLSerializer).serializeToString(e),e=e.slice(e.indexOf(">")+1,e.lastIndexOf("</"))):e="";e=Xe(e,null);af(c,Ve(e))})}r.Object.defineProperties(ym,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["project-path"]}}});
|
||
|
ym.prototype.connectedCallback=ym.prototype.connectedCallback;ym.prototype.attributeChangedCallback=ym.prototype.attributeChangedCallback;ym.prototype.disconnectedCallback=ym.prototype.disconnectedCallback;try{window.customElements.define("devsite-search",ym)}catch(c){console.warn("devsite.app.customElement.DevsiteSearch",c)};function Jm(){var c=Y.call(this)||this;c.a=new T;return c}p(Jm,Y);k=Jm.prototype;k.J=function(){return"sitemask"};
|
||
|
k.connectedCallback=function(){var c=this;Ci(this);this.a.j(document.body,"devsite-sitemask-show",function(){return c.show()});this.a.j(document.body,"keydown",function(d){"Escape"===d.key&&c.hasAttribute("visible")&&(d.preventDefault(),d.stopPropagation(),c.Ba())});this.a.j(document.body,"devsite-sitemask-hide",function(){return c.Ba()});this.a.j(this,"click",function(){return c.Ba()});this.a.j(window,"resize",function(){return c.Ba()})};
|
||
|
k.attributeChangedCallback=function(c,d,e){"visible"===c&&null==e&&this.dispatchEvent(new CustomEvent("devsite-sitemask-hidden",{bubbles:!0}))};k.disconnectedCallback=function(){U(this.a)};k.show=function(){this.setAttribute("visible",this.getAttribute("visible")||"")};k.Ba=function(){this.removeAttribute("visible")};r.Object.defineProperties(Jm,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["visible"]}}});Jm.prototype.hide=Jm.prototype.Ba;Jm.prototype.show=Jm.prototype.show;
|
||
|
Jm.prototype.disconnectedCallback=Jm.prototype.disconnectedCallback;Jm.prototype.attributeChangedCallback=Jm.prototype.attributeChangedCallback;Jm.prototype.connectedCallback=Jm.prototype.connectedCallback;try{window.customElements.define("devsite-sitemask",Jm)}catch(c){console.warn("devsite.app.customElement.DevsiteSitemask",c)};function Km(){var c=Y.call(this)||this;c.w=!1;c.g=new T;c.b=new T;c.v=new T;c.L=null;c.a=null;c.X=null;c.h=null;c.s=null;c.H=0;c.F=0;c.i=[];c.m=0;c.C=new eh(function(){c.f.reset();Lm(c)},20);c.f=new Qh(5E3);return c}p(Km,Y);Km.prototype.J=function(){return"tabs"};Km.prototype.disconnectedCallback=function(){this.f.reset();U(this.g);U(this.v);U(this.b)};
|
||
|
Km.prototype.connectedCallback=function(){Ci(this);this.w||(Mm(this),this.w=!0);this.setAttribute("connected","");this.a.removeAttribute("hidden");this.F=uh(this.a).width;this.a.setAttribute("hidden","");Nm(this);Lm(this)};
|
||
|
function Nm(c){c.g.j(document.body,"devsite-sticky-resize",function(){return c.C.D()});c.g.j(c,"click",function(d){if(!(d.shiftKey||d.ctrlKey||d.metaKey||d.altKey)){var e=d.target,g=Om(c,e);if(g)if(g===c.a)Pm(c,d);else if(Qm(c),e.classList.contains("devsite-tabs-dropdown-toggle"))d.preventDefault(),d.stopPropagation(),g.hasAttribute("dropdown--open")?Rm(c,0):Sm(c,g);else{var h=g.querySelector(".devsite-tabs-dropdown");h&&h.contains(e)?e.hasAttribute("href")||(d.preventDefault(),d.stopPropagation()):
|
||
|
((d=c.querySelector("[active]"))&&d.removeAttribute("active"),g.setAttribute("active",""),e.hasAttribute("href")&&"#"!==e.getAttribute("href")||c.C.D())}}});if(c.querySelector("tab[dropdown]")||c.querySelector("tab[overflow-tab]")){var d="onpointermove"in window?"pointerleave":"mouseleave";c.g.j(c,"onpointermove"in window?"pointerover":"mouseover",function(d){if(!document.body.hasAttribute("touch")){var e=d.target,g=Om(c,e);g&&(g===c.a||c.a.contains(e)?Pm(c,d):Sm(c,g))}});c.g.j(c,d,function(){document.body.hasAttribute("touch")||
|
||
|
Rm(c)})}}function Rm(c,d){d=void 0===d?300:d;U(c.b);window.clearTimeout(c.m);var e=c.querySelector("tab[dropdown--open]");if(e){var f=e.querySelector(".devsite-tabs-dropdown");f.setAttribute("dropdown-transition","");ih(c.b,f,vd,function(){f.removeAttribute("dropdown-transition");c.removeAttribute("dropdown--open")});c.m=window.setTimeout(function(){e.removeAttribute("dropdown--open")},d)}else c.removeAttribute("dropdown--open");Qm(c)}
|
||
|
function Sm(c,d){Qm(c);if(d.hasAttribute("dropdown")){if(U(c.b),window.clearTimeout(c.m),!d.hasAttribute("dropdown--open")){document.body.hasAttribute("touch")&&ih(c.b,document.body,"click",function(){Rm(c,0)});var e=c.querySelector("tab[dropdown--open]"),f=d.querySelector(".devsite-tabs-dropdown");if(f){lh(f,"left","");var g=qf(window||window),h=Array.from(f.querySelectorAll(".devsite-tabs-dropdown-column"));if(!d.hasAttribute("dropdown-full")&&1<h.length){var l=[];h.forEach(function(c){l.push(c.scrollWidth)});
|
||
|
var n=Math.max.apply(null,l);n*h.length<g.width?h.forEach(function(c){lh(c,"width",n+"px")}):d.setAttribute("dropdown-full","")}h=f.getBoundingClientRect();d.hasAttribute("dropdown-full")?lh(f,"left","-"+h.left+"px"):(g=Math.min(h.left,h.left+h.width-g.width),0<g&&lh(f,"left","-"+g+"px"));e?(e.removeAttribute("dropdown--open"),e.querySelector(".devsite-tabs-dropdown").removeAttribute("dropdown-transition")):(f.setAttribute("dropdown-transition",""),ih(c.b,f,vd,function(){return f.removeAttribute("dropdown-transition")}));
|
||
|
window.requestAnimationFrame(function(){c.setAttribute("dropdown--open","");d.setAttribute("dropdown--open","")})}else e&&e.removeAttribute("dropdown--open")}}else Rm(c,0)}function Om(c,d){for(;d&&d!==c;){if("TAB"===d.tagName.toUpperCase())return d;d=d.parentElement}return null}
|
||
|
function Pm(c,d){d.preventDefault();d.stopPropagation();Rm(c,0);c.hasAttribute("overflow-menu--open")||(document.body.hasAttribute("touch")&&ih(c.b,document.body,"click",function(){Qm(c)}),c.h.removeAttribute("hidden"),c.setAttribute("overflow-menu--open",""))}function Qm(c){c.h.setAttribute("hidden","");c.removeAttribute("overflow-menu--open")}
|
||
|
function Lm(c){window.clearTimeout(c.H);if(!(3>c.i.length)){var d=uh(c).width;if(0===d)d=c.f.b,Rh(c.f),30>c.f.bb&&(c.H=window.setTimeout(function(){Lm(c)},d));else{c.f.reset();Qm(c);U(c.v);c.a.setAttribute("hidden","");var e=c.i.slice(),f=0,g;e.forEach(function(d){d.parentNode!==c.s&&(g?Bf(d,g):Cf(c.s,d,0));g=d;f+=uh(d).width});if(!(f<=d)){var h=c.querySelector("[active]");d-=c.F;c.a.removeAttribute("hidden");h&&(d-=uh(h).width);for(var l=!1;e.length;){var n=e.shift();if(n!==h){var q=uh(n).width;
|
||
|
d>=q&&!l?d-=q:(l=!0,c.h.appendChild(n))}}}}}}
|
||
|
function Mm(c){c.i=Array.from(c.querySelectorAll("tab"));var d=c.querySelector(".devsite-tabs-wrapper");d||(d=c.ownerDocument.createElement("div"),d.classList.add("devsite-tabs-wrapper"),c.appendChild(d),c.i.forEach(function(c){return d.appendChild(c)}));c.s=d;var e=c.ownerDocument.createElement("tab");e.setAttribute("overflow-tab","");var f=c.ownerDocument.createElement("a");f.href="#";f.textContent="\u66f4\u591a";f.classList.add("devsite-icon");f.classList.add("devsite-icon-arrow-drop-down");e.appendChild(f);
|
||
|
c.L=f;c.a=e;f=c.ownerDocument.createElement("div");f.classList.add("devsite-tabs-overflow-menu");f.setAttribute("scrollbars","");f.setAttribute("hidden","");c.h=f;e.appendChild(f);d.appendChild(e);c.appendChild(d)}Km.prototype.connectedCallback=Km.prototype.connectedCallback;Km.prototype.disconnectedCallback=Km.prototype.disconnectedCallback;try{window.customElements.define("devsite-tabs",Km)}catch(c){console.warn("devsite.app.customElement.DevsiteTabs",c)};function Tm(c){z(c.ac);var d=c.ac;c=c.zc;var e='<ul class="devsite-nav-list" scrollbars><li class="devsite-nav-item devsite-nav-heading devsite-toc-toggle"><a href="#top_of_page" class="devsite-nav-title"><span class="devsite-nav-text">\u76ee\u5f55</span></a>';c&&(e=e+'<button type="button" title="'+qk(),e+='" class="devsite-nav-show-all button-transparent material-icons"></button>');e+="</li>";for(var f=d.length,g=0;g<f;g++){var h=d[g];e+='<li class="devsite-nav-item"><a href="#'+tk(h.id)+'" class="devsite-nav-title"><span class="devsite-nav-text">'+
|
||
|
nk(h.text)+"</span></a>";if(h.children.length){e+='<ul class="devsite-nav-list">';h=h.children;for(var l=h.length,n=0;n<l;n++){var q=h[n];e+='<li class="devsite-nav-item"><a href="#'+tk(q.id)+'" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-action="click" data-label="'+(c?"Embedded nav":"Right nav")+'" data-value="'+tk(g)+"."+tk(n)+'"><span class="devsite-nav-text">'+nk(q.text)+"</span></a></li>"}e+="</ul>"}e+="</li>"}c&&(e=e+'<li class="devsite-toc-toggle"><button type="button" class="button-flat devsite-nav-more-items material-icons" title="'+
|
||
|
qk(),e+='" aria-hidden="true"></button></li>');return ok(e+"</ul>")};function Um(){var c=Y.call(this)||this;c.w="Embedded nav";c.v=8;c.i=5;c.C=null;c.F="";c.L=[];c.a=!1;c.H="";c.b=new T;c.f=[];c.m=0;c.g=[];c.s=new eh(function(){return Vm(c)},20);c.h=new eh(function(){if(!c.hasAttribute("hidden")){var d=document.querySelector('[ds-is="content"] .devsite-article-body');d?(c.a?c.classList.add("devsite-toc-embedded"):c.classList.add("devsite-toc"),Wm(c,d),Xm(c)):Ym(c)}},16);return c}p(Um,Y);k=Um.prototype;k.J=function(){return"toc"};
|
||
|
k.connectedCallback=function(){Ci(this);this.a=this.hasAttribute("devsite-toc-embedded");Zm(this);this.h.D()};k.disconnectedCallback=function(){Ym(this);U(this.b)};k.attributeChangedCallback=function(c){switch(c){case "offset":Xm(this);break;case "max-height":c=this.getAttribute("max-height")||0;var d=this.querySelector("ul");d&&lh(d,"max-height",c+"px");break;case "expanded":$m(this,!0)}};k.updateContent=function(c){c=c&&"false"===c.toLowerCase();this.g=[];zf(this);c?Ym(this):(an(this),this.h.D())};
|
||
|
function Zm(c){c.b.j(document.body,"devsite-content-updated",function(){return c.h.D()});c.a||(c.b.j(document.body,"devsite-sticky-scroll",function(d){return bn(c,d)}),c.b.j(document.body,["devsite-content-updated","devsite-element-visible","devsite-element-hidden","devsite-page-loaded"],function(){return c.s.D()}))}
|
||
|
function Ym(c){zf(c);c.dispatchEvent(new CustomEvent("devsite-element-hidden",{bubbles:!0}));c.removeAttribute("visible");window.requestAnimationFrame(function(){c.setAttribute("hidden","")});if(!c.a){var d=document.querySelector(".devsite-main-content");d&&d.removeAttribute("has-toc")}}
|
||
|
function an(c){c.dispatchEvent(new CustomEvent("devsite-element-visible",{bubbles:!0}));c.removeAttribute("hidden");window.requestAnimationFrame(function(){c.setAttribute("visible","")});if(!c.a){var d=document.querySelector(".devsite-main-content");d&&d.setAttribute("has-toc","")}}
|
||
|
function Wm(c,d){var e=[],f=!1;Array.from(d.querySelectorAll("devsite-heading[toc]")).forEach(function(c){c={id:c.id,level:c.getAttribute("level"),text:c.getAttribute("text"),children:[]};"h2"===c.level?(e.push(c),f=!0):f?e[e.length-1].children.push(c):e.push(c)});kb(c.g,e,c.Hb.bind(c))||(e.length?(cn(c,e),c.a||c.s.D(),an(c)):Ym(c),c.g=e)}k.Hb=function(c,d){var e=!0;if(c.children.length||d.children.length)e=kb(c.children,d.children,this.Hb.bind(this));return e&&c.id===d.id&&c.text===d.text};
|
||
|
function Vm(c){var d=document.querySelector('[ds-is="content"] .devsite-article-body');if(d){d=Array.from(d.querySelectorAll("devsite-heading[toc]"));var e=document.querySelector(".devsite-main-content");e&&(e=yh(e,"padding"),c.m=Math.max(0,e.top));c.f=[];d.forEach(function(d){var e=rh(d);c.f.push({heading:d,y:Math.floor(e.y)})});c.f.sort(function(c,d){return c.y-d.y})}}
|
||
|
function cn(c,d){var e=Nk(Tm,{ac:d,zc:c.a});zf(c);e.setAttribute("hidden","");c.appendChild(e);c.a&&c.querySelectorAll(".devsite-nav-item").length>=c.v&&(Array.from(c.querySelectorAll(".devsite-nav-show-all, .devsite-nav-more-items")).forEach(function(d){c.b.j(d,"click",function(){c.hasAttribute("expanded")?c.removeAttribute("expanded"):c.setAttribute("expanded","")})}),c.setAttribute("expandable",""),$m(c,!1));window.setTimeout(function(){e.removeAttribute("hidden")},0)}
|
||
|
function $m(c,d){var e=!c.hasAttribute("expanded"),f=Array.from(c.querySelectorAll(".devsite-nav-item")),g=c.i,h=f.length;e&&(f=f.reverse(),g=0,h=f.length-c.i);40<f.length&&(d=!1);c=0;for(e={};g<h;e={ua:e.ua},g++)e.ua=f[g],window.setTimeout(function(c){return function(){window.requestAnimationFrame(function(){c.ua.hasAttribute("hidden")?c.ua.removeAttribute("hidden"):c.ua.setAttribute("hidden","")})}}(e),c),d&&(c+=16)}
|
||
|
function bn(c,d){var e=d.G.detail.y;d=c.querySelector(".devsite-nav-active");var f=0,g=Og("header");if(g){var h=parseFloat(g.getAttribute("top-row--height"))||0;g=parseFloat(g.getAttribute("bottom-row--height"))||0;f=h+g-c.m}var l;c.f.forEach(function(c){c.y-f<=e&&(l=c.heading)});l?(c=c.querySelector('a[href$="#'+l.id+'"]'),d!=c&&(d&&d.classList.remove("devsite-nav-active"),c&&c.classList.add("devsite-nav-active"))):d&&d.classList.remove("devsite-nav-active")}
|
||
|
function Xm(c){var d=c.getAttribute("offset")||0;(c=c.querySelector("ul"))&&lh(c,"transform","translate3d(0, -"+d+"px, 0)")}r.Object.defineProperties(Um,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["expanded","max-height","offset"]}}});Um.prototype.updateContent=Um.prototype.updateContent;Um.prototype.attributeChangedCallback=Um.prototype.attributeChangedCallback;Um.prototype.disconnectedCallback=Um.prototype.disconnectedCallback;Um.prototype.connectedCallback=Um.prototype.connectedCallback;try{window.customElements.define("devsite-toc",Um)}catch(c){console.warn("devsite.app.customElement.DevsiteToc",c)};var dn="",en="";function fn(){var c=Y.call(this)||this;c.a=new T;c.b=null;return c}p(fn,Y);fn.prototype.J=function(){return"user"};fn.prototype.attributeChangedCallback=function(c,d,e){"dialog--open"===c&&d!==e&&(this.hasAttribute("dialog--open")?gn(this):hn(this))};fn.prototype.connectedCallback=function(){var c=this;Ci(this);this.a.j(document.body,"devsite-page-changed",function(){jn(c);kn(c)});ln(this)};fn.prototype.disconnectedCallback=function(){U(this.a)};
|
||
|
function ln(c){var d,e,f,g,h;u(function(l){switch(l.a){case 1:return l.b=2,t(l,Mg("/profile/ogb"),4);case 4:d=l.c;va(l,3);break;case 2:wa(l),mn();case 3:if(d)try{e=jd(ak,d),nn(c,e)}catch(n){mn()}l.b=5;return t(l,Mg("/profile/user"),7);case 7:f=l.c;va(l,6);break;case 5:g=wa(l),on(c,g);case 6:if(f)try{h=jd(Zj,f),N(h,1)?(c.setAttribute("signed-in",""),document.body.setAttribute("signed-in","")):(c.removeAttribute("signed-in"),document.body.removeAttribute("signed-in"))}catch(n){on(c,n)}window.requestAnimationFrame(function(){kn(c)});
|
||
|
l.a=0}})}function pn(c){c=c.replace(/@import\surl\([^)]+\);?/,"");var d=hf(),e=d.a,f=d.createElement("STYLE");f.type="text/css";d.getElementsByTagName("HEAD")[0].appendChild(f);f.styleSheet?f.styleSheet.cssText=c:f.appendChild(e.createTextNode(c))}
|
||
|
function nn(c,d){pn(M(d,4,""));var e=document.createRange().createContextualFragment(M(d,1,"")),f=document.createElement("div");f.classList.add("ogb-wrapper","ogb-pending");f.appendChild(e);c.appendChild(f);e=f.querySelectorAll("#gb a");1<e.length?f.classList.add("ogb-so"):(f.classList.add("ogb-si"),e[0]&&(e[0].setAttribute("id","devsite-signin-btn"),e[0].classList.add("devsite-top-button","button")));M(d,2,"")&&Va(M(d,2,""));M(d,5,"")&&Va(M(d,5,""));M(d,7,"")&&Va(M(d,7,""));window.requestAnimationFrame(function(){jn(c);
|
||
|
f.classList.remove("ogb-pending")});qn(c)}
|
||
|
function jn(c){var d=R(),e=Ag(d.href);zg(e,"authuser");var f=new URL("/_d/signin",d.origin);f=Ag(f.href);xg(f,"continue",e.toString());dn=f.toString();f=Array.from(c.querySelectorAll(".devsite-user-signin"));f.length&&f.forEach(function(c){bf(c,dn)});f=new URL("/_d/signout",d.origin);var g=Ag(f.href);xg(g,"continue",e.toString());en=g.toString();e=Array.from(c.querySelectorAll(".devsite-user-signout"));e.length&&e.forEach(function(c){bf(c,en)});Array.from(c.querySelectorAll("#gb a")).forEach(function(c){try{var e=new URL(c.href,
|
||
|
document.location.origin)}catch(n){return}e.origin===d.origin&&e.pathname.startsWith("/_ah/logout")&&bf(c,g.toString())});c.dispatchEvent(new CustomEvent("devsite-element-visible",{bubbles:!0}))}function mn(){console.log("fetch one google bar failed")}
|
||
|
function kn(c){var d=c.hasAttribute("signed-in"),e;dn&&c.setAttribute("sign-in-url",dn);en&&c.setAttribute("sign-out-url",en);(e=d?dn:en)?c.setAttribute("url",e):c.removeAttribute("url");c.dispatchEvent(new CustomEvent("devsite-signed-in-state-changed",{detail:{signedIn:d,signInUrl:void 0,signOutUrl:void 0,url:e},bubbles:!0}))}function on(c,d){c.removeAttribute("signed-in");console.log("devsite user failed",d);zf(c)}function qn(c){c.b=c.querySelector(".devsite-user-dialog-toggle");c.b&&hn(c)}
|
||
|
function hn(c){ih(c.a,c.b,"click",function(d){d.preventDefault();d.stopPropagation();c.setAttribute("dialog--open","")})}function gn(c){ih(c.a,document.body,"click",function(){c.removeAttribute("dialog--open")})}r.Object.defineProperties(fn,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["dialog--open"]}}});fn.prototype.disconnectedCallback=fn.prototype.disconnectedCallback;fn.prototype.connectedCallback=fn.prototype.connectedCallback;
|
||
|
fn.prototype.attributeChangedCallback=fn.prototype.attributeChangedCallback;try{window.customElements.define("devsite-user",fn)}catch(c){console.warn("devsite.app.customElement.DevsiteUser",c)};var rn,sn,tn="",un=[],vn=[],wn={filters:"on"},xn={};function yn(c){this.h=c;this.a=1;zn(this,!0)}
|
||
|
yn.prototype.g=function(c){if(1<=c&&c<=this.b){this.a=c;c=(this.a-1)*this.f;for(var d=0,e=0,f=m(this.h),g=f.next();!g.done;g=f.next())g=g.value,g.a&&e<this.f?d<c?(++d,An(g,!1)):(++e,An(g,!0)):An(g,!1);c=m(Array.from(document.getElementsByClassName("page-number-selector")));for(d=c.next();!d.done;d=c.next()){d=d.value;e=m(Array.from(d.getElementsByClassName("page-number-selector-button")));for(f=e.next();!f.done;f=e.next())f.value.removeEventListener("click",Bn);d.textContent="";e=Cn(this.a-1,"chevron_left");
|
||
|
1>=this.a&&e.classList.add("page-number-selector-inactive");d.appendChild(e);for(e=1;e<=this.b;++e){f=e;g=e.toString();var h=document.createElement("button");h.classList.add("page-number-selector-button");h.textContent=g;h.dataset.bc=f;h.addEventListener("click",Bn);f=h;this.a===e&&f.classList.add("page-number-selector-inactive");d.appendChild(f)}e=Cn(this.a+1,"chevron_right");this.a>=this.b&&e.classList.add("page-number-selector-inactive");d.appendChild(e)}}};
|
||
|
function Dn(c){var d=sn;return 0<c?(d.f=c,zn(d),!0):!1}function En(c){var d=tn;return c.h.map(function(c){return Fn(c,d)?1:0}).reduce(function(c,d){return c+d},0)}
|
||
|
function zn(c,d){c.c=En(c);var e=document.getElementsByClassName("sample-control-bar-lower");if(0<c.c){var f=m(Array.from(e));for(e=f.next();!e.done;e=f.next())e.value.classList.remove("no-display")}else for(f=m(Array.from(e)),e=f.next();!e.done;e=f.next())e.value.classList.add("no-display");c.b=Math.ceil(c.c/c.f);c.b=Math.max(1,c.b);Array.prototype.forEach.call(rn,function(d){d.textContent=c.c});d||c.g(1)}
|
||
|
yn.prototype.i=function(){var c=document.getElementsByClassName("sample-grid");return(c=c&&c[0]&&c[0].children)?Array.prototype.filter.call(c,function(c){return c.classList.contains("block-display")}):[]};function Gn(c,d){this.a=c;this.value=c.getElementsByClassName("menu-value")[0].getAttribute("itemvalue").toLowerCase();this.b=d}function Hn(c,d){c=c.a.getElementsByClassName("menu-indicator")[0];d?c.classList.add("yes-visible"):c.classList.remove("yes-visible")}
|
||
|
function In(c){this.c=[];this.a=null;this.b=c}function Jn(c,d){c.c.push(d);d.a.addEventListener("click",function(){Kn(c,d)})}In.prototype.$b=function(){var c=this,d=xn[this.b];d&&this.c.forEach(function(e){e.value.toLowerCase()==d&&Kn(c,e)})};In.prototype.setMenuInitialState=In.prototype.$b;function Kn(c,d){var e=c.a!==d;Ln(c);e&&(c.a=d,Hn(c.a,!0),xn[d.b]=d.value,Mn(),zn(sn))}function Ln(c){c.a&&(Hn(c.a,!1),c.a=null,delete xn[c.b],Mn(),zn(sn))}
|
||
|
function Nn(c,d){this.c=c;this.title=d;this.b={};this.a=!0;On(this)}function On(c){Array.prototype.forEach.call(c.c.getElementsByClassName("googlesamples-filter"),function(d){var e=[];d.textContent.toLowerCase().split(",").forEach(function(c){e.push(c.trim())});c.b[d.getAttribute("filter-name")]=e})}function An(c,d){(c=c.c&&c.c.parentElement)&&(d?c.classList.add("block-display"):c.classList.remove("block-display"))}
|
||
|
function Fn(c,d){c.a=!0;un.forEach(function(d){d.a&&(c.b[d.b]&&0>c.b[d.b].indexOf(d.a.value.toLowerCase())||!c.b[d.b])&&(c.a=!1)});if(!c.a)return!1;c.a=-1<c.title.toLowerCase().indexOf(d.toLowerCase());return c.a}function Cn(c,d){var e=document.createElement("button");e.classList.add("page-number-selector-button");var f=document.createElement("i");f.classList.add("material-icons");f.textContent=d;e.appendChild(f);e.dataset.bc=c;e.addEventListener("click",Bn);return e}
|
||
|
function Bn(c){sn.g.call(sn,parseInt(c.currentTarget.dataset.bc,10))}function Pn(c){return function(){var d=parseInt(c.textContent,10);if(Dn(d))for(var e=m(document.getElementsByClassName("per-page-item")),f=e.next();!f.done;f=e.next())f=f.value,f.textContent===d.toString()?f.classList.add("per-page-selected-item"):f.classList.remove("per-page-selected-item")}}function Qn(c){return new Nn(c,c.getElementsByClassName("sample-title")[0].textContent)}
|
||
|
function Rn(){var c=document.getElementById("search").value.toLowerCase();tn!==c&&(tn=c,zn(sn))}function Sn(){for(var c=m(un),d=c.next();!d.done;d=c.next())Ln(d.value);Mn()}function Mn(){var c="",d=Object.keys(xn);d.forEach(function(e,f){0==f&&(c+="?");c+=encodeURIComponent(e)+"="+encodeURIComponent(xn[e]);f<d.length-1&&(c+="&")});history.replaceState(wn,"",location.pathname+c)}
|
||
|
function Tn(){var c={};window.location.search.substring(1).replace(/\+/g," ").split("&").forEach(function(d){d=d.split("=");1<d.length&&(c[decodeURIComponent(d[0])]=decodeURIComponent(d[1]).toLowerCase())});return c}Xa("gsamples.init",function(){Un()});
|
||
|
function Un(){rn=document.getElementsByClassName("matching-sample-indicator");Array.prototype.forEach.call(document.getElementsByClassName("googlesamples-filter-menu"),function(c){var d=c.getAttribute("filter-name");if(d){var e=new In(d);vn.push(d);c=m(Array.from(c.getElementsByClassName("googlesamples-filter-menu__item")));for(var f=c.next();!f.done;f=c.next())f=f.value,f.querySelector("[nointeraction]")||Jn(e,new Gn(f,d));un.push(e)}});document.getElementById("reset-button").addEventListener("click",
|
||
|
Sn);for(var c=[],d=m(Array.from(document.getElementsByClassName("sample-card"))),e=d.next();!e.done;e=d.next())c.push(Qn(e.value));sn=new yn(c);xn=Tn();c=m(un);for(d=c.next();!d.done;d=c.next())d.value.$b();c=document.getElementById("search");c.addEventListener("change",Rn);c.addEventListener("keyup",Rn);c.addEventListener("paste",Rn);c=!1;d=m(Array.from(document.getElementsByClassName("per-page-item")));for(e=d.next();!e.done;e=d.next())e=e.value,!c&&e.textContent&&(Dn(parseInt(e.textContent,10)),
|
||
|
c=!0),e.addEventListener("click",Pn(e));zn(sn)}
|
||
|
function Vn(){document.getElementById("reset-button").removeEventListener("click",Sn);var c=document.getElementById("search");c.removeEventListener("change",Rn);c.removeEventListener("keyup",Rn);c.removeEventListener("paste",Rn);Array.from(document.querySelectorAll("per-page-item")).forEach(function(c){c.removeEventListener("click",Pn(c))});Array.from(document.querySelectorAll("page-number-selector-button")).forEach(function(c){c.removeEventListener("click",Bn)})}Xa("gsamples.reset",Vn);var Wn=["technology-menu","language-menu"];function Xn(){var c=Y.call(this)||this;c.a=new T;c.b=!1;return c}p(Xn,Y);Xn.prototype.J=function(){return"samples"};Xn.prototype.attributeChangedCallback=function(c,d,e){"menu--open"===c&&d!==e&&this.hasAttribute("menu--open")&&Yn(this)};Xn.prototype.connectedCallback=function(){Ci(this);this.b||(Zn(),$n(this),this.b=!0);Un()};Xn.prototype.disconnectedCallback=function(){U(this.a);Vn()};
|
||
|
function Zn(){"mdl-button mdl-js-button mdl-js-menu mdl-js-ripple-effect mdl-js-textfield mdl-menu mdl-menu__item mdl-textfield mdl-textfield__input mdl-textfield__label".split(" ").forEach(function(c){Array.from(document.querySelectorAll("."+c)).forEach(function(d){d.classList.remove(c)})})}
|
||
|
function $n(c){Wn.forEach(function(d){c.a.j(c.querySelector("#"+d),"click",function(e){e.preventDefault();if(e=c.querySelector('[for="'+d+'"]'))e=e.parentNode,e.hasAttribute("open")?(e.removeAttribute("open"),c.removeAttribute("menu--open")):(e.setAttribute("open",""),c.setAttribute("menu--open",""))})})}
|
||
|
function Yn(c){window.requestAnimationFrame(function(){ih(c.a,document.body,"click",function(){Array.from(document.querySelectorAll(".mdc-menu")).forEach(function(c){c.removeAttribute("open")});c.removeAttribute("menu--open")})})}r.Object.defineProperties(Xn,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["menu--open"]}}});Xn.prototype.disconnectedCallback=Xn.prototype.disconnectedCallback;Xn.prototype.connectedCallback=Xn.prototype.connectedCallback;
|
||
|
Xn.prototype.attributeChangedCallback=Xn.prototype.attributeChangedCallback;try{window.customElements.define("android-samples",Xn)}catch(c){console.warn("devsite.app.customElement.AndroidSamples",c)};}).call(this);
|