(function(){'use strict';var f,aa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ba;if("function"==typeof Object.setPrototypeOf)ba=Object.setPrototypeOf;else{var ca;a:{var da={I:!0},ea={};try{ea.__proto__=da;ca=ea.I;break a}catch(a){}ca=!1}ba=ca?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var fa=ba; function ha(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(fa)fa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype}var ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)}; function ka(a,b){if(b){var c=ia;a=a.split(".");for(var d=0;d=g}});ka("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});ka("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==la(this,a,"includes").indexOf(a,c||0)}});var l=this;function m(a){return void 0!==a} function n(a){return"string"==typeof a}function p(a){return"number"==typeof a}function ma(){} function q(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function r(a){return"array"==q(a)}function t(a){var b=q(a);return"array"==b||"object"==b&&"number"==typeof a.length}function u(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function na(a,b,c){return a.call.apply(a.bind,arguments)} function oa(a,b,c){if(!a)throw Error();if(2a.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(h)))}}return b};var Ca=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]}; function Da(a,b){if(b)a=a.replace(Ea,"&").replace(Fa,"<").replace(Ga,">").replace(Ha,""").replace(Ia,"'").replace(Ja,"�");else{if(!Ka.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ea,"&"));-1!=a.indexOf("<")&&(a=a.replace(Fa,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ga,">"));-1!=a.indexOf('"')&&(a=a.replace(Ha,"""));-1!=a.indexOf("'")&&(a=a.replace(Ia,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ja,"�"))}return a} var Ea=/&/g,Fa=//g,Ha=/"/g,Ia=/'/g,Ja=/\x00/g,Ka=/[\x00&<>"']/;function La(a,b){return ab?1:0};function z(){this.a="";this.b=Ma}z.prototype.u=!0;z.prototype.m=function(){return this.a};z.prototype.C=!0;z.prototype.j=function(){return 1};var Ma={};function Na(a){var b=new z;b.a=a;return b}Na("about:blank");var A;a:{var Oa=l.navigator;if(Oa){var Pa=Oa.userAgent;if(Pa){A=Pa;break a}}A=""};function B(){this.a="";this.c=Qa;this.b=null}B.prototype.C=!0;B.prototype.j=function(){return this.b};B.prototype.u=!0;B.prototype.m=function(){return this.a};function C(a){return a instanceof B&&a.constructor===B&&a.c===Qa?a.a:"type_error:SafeHtml"}function Ra(a){if(a instanceof B)return a;var b="object"==typeof a,c=null;b&&a.C&&(c=a.j());a=Da(b&&a.u?a.m():String(a));return D(a,c)} function Sa(a){function b(a){r(a)?x(a,b):(a=Ra(a),d+=C(a),a=a.j(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";x(arguments,b);return D(d,c)}var Qa={};function D(a,b){var c=new B;c.a=a;c.b=b;return c}D("",0);D("",0);var Ta=D("
",0);function E(a){return a=Da(a,void 0)};var F="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""};function G(){}G.prototype.next=function(){throw F;};G.prototype.i=function(){return this};function Ua(a){if(a instanceof G)return a;if("function"==typeof a.i)return a.i(!1);if(t(a)){var b=0,c=new G;c.next=function(){for(;;){if(b>=a.length)throw F;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");} function Va(a,b){if(t(a))try{x(a,b,void 0)}catch(c){if(c!==F)throw c;}else{a=Ua(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==F)throw c;}}}function Wa(a){if(t(a))return ta(a);a=Ua(a);var b=[];Va(a,function(a){b.push(a)});return b};var H={},Xa={},Ya={},Za={};function I(){throw Error("Do not instantiate directly");}I.prototype.A=null;I.prototype.toString=function(){return this.o};I.prototype.a=function(){if(this.f===Za)return Ra(this.toString());if(this.f!==H)throw Error("Sanitized content was not of kind TEXT or HTML.");return D(this.toString(),this.A||null)};I.prototype.b=function(){if(this.f!==Xa)throw Error("Sanitized content was not of kind URI.");return Na(this.toString())};function $a(){I.call(this)}w($a,I); $a.prototype.f=H;function ab(a){ab[" "](a);return a}ab[" "]=ma;function bb(a,b){var c=cb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var db=-1!=A.indexOf("Opera"),J=-1!=A.indexOf("Trident")||-1!=A.indexOf("MSIE"),eb=-1!=A.indexOf("Edge"),fb=-1!=A.indexOf("Gecko")&&!(-1!=A.toLowerCase().indexOf("webkit")&&-1==A.indexOf("Edge"))&&!(-1!=A.indexOf("Trident")||-1!=A.indexOf("MSIE"))&&-1==A.indexOf("Edge"),K=-1!=A.toLowerCase().indexOf("webkit")&&-1==A.indexOf("Edge"),gb=-1!=A.indexOf("Macintosh");function hb(){var a=l.document;return a?a.documentMode:void 0}var ib; a:{var jb="",kb=function(){var a=A;if(fb)return/rv:([^\);]+)(\)|;)/.exec(a);if(eb)return/Edge\/([\d\.]+)/.exec(a);if(J)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(K)return/WebKit\/(\S+)/.exec(a);if(db)return/(?:Version)[ \/]?(\S+)/.exec(a)}();kb&&(jb=kb?kb[1]:"");if(J){var lb=hb();if(null!=lb&&lb>parseFloat(jb)){ib=String(lb);break a}}ib=jb}var mb=ib,cb={}; function L(a){return bb(a,function(){for(var b=0,c=Ca(String(mb)).split("."),d=Ca(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function ub(a){return zb[a]} var Ab={"\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 xb(a){return Ab[a]}var tb=/[\x00\x22\x27\x3c\x3e]/g,wb=/[\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,yb=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,rb=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,sb=/
Loading
')} function Cb(){return N('
A new version is available
')} function Db(){return N('
Something went wrong. Please try again.
')}function Eb(){return N('
Copied to clipboard
')} function Fb(a){a=a||{};a=a.J;a='
We serve cookies on this site to analyse traffic, remember your preferences, and optimise your experience.'+('
');return N(a+'More details
')} function Gb(){return N('
Unsupported file type.
')} function Hb(a){var b=a.message,c=a.link,d=a.T;a='
'+pb(b)+'
');a=d?a+pb(d):a+"OK";return N(a+"
")} function Ib(a){var b=a.X;a='
'+pb(a.message)+"
";b&&(a+='');return N(a+"
")};function O(a){var b=HTMLElement.call(this)||this;a&&(n(a)&&(a=[a]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:a})));return b}ha(O,HTMLElement);f=O.prototype;f.connectedCallback=function(){Jb(this)};f.F=function(){return""};function Jb(a){var b=a.F();!a.hasAttribute("ds-is")&&b&&a.setAttribute("ds-is",b)}f.Tb=function(){console.warn(this.tagName,"has not implemented update")}; f.fa=function(a){a=void 0===a?"":a;return document.createRange().createContextualFragment(a||"")};f.Fb=function(a,b){a&&b?a.parentNode.replaceChild(document.importNode(b,!0),a):!b&&a?a.parentNode.removeChild(a):!a&&b&&this.appendChild(document.importNode(b,!0))};O.prototype.connectedCallback=O.prototype.connectedCallback;var Kb=!J||9<=Number(M),Lb=!fb&&!J||J&&9<=Number(M)||fb&&L("1.9.1"),Mb=J&&!L("9"),Nb=J||db||K;var Ob=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div");a.innerHTML="
";var b=a.firstChild.firstChild;a.innerHTML="";return!b.parentElement});function Pb(a,b){if(Ob())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function P(a,b){this.a=m(a)?a:0;this.b=m(b)?b:0}f=P.prototype;f.kb=function(){return new P(this.a,this.b)};f.ha=function(a){return a instanceof P&&(this==a?!0:this&&a?this.a==a.a&&this.b==a.b:!1)};f.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);return this};f.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);return this};f.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);return this}; f.mb=function(a,b){a instanceof P?(this.a+=a.a,this.b+=a.b):(this.a+=Number(a),p(b)&&(this.b+=b));return this};f.lb=function(a,b){b=p(b)?b:a;this.a*=a;this.b*=b;return this};f.Kb=function(a,b){a=a*Math.PI/180;b=b||new P(0,0);var c=this.a,d=this.b,e=Math.cos(a);a=Math.sin(a);this.a=(c-b.a)*e-(d-b.b)*a+b.a;this.b=(c-b.a)*a+(d-b.b)*e+b.b};function Qb(a,b){this.width=a;this.height=b}f=Qb.prototype;f.nb=function(){return new Qb(this.width,this.height)};f.Ha=function(){return Math.max(this.width,this.height)};f.Ua=function(){return Math.min(this.width,this.height)};f.Gb=function(){return 2*(this.width+this.height)};f.aspectRatio=function(){return this.width/this.height};f.vb=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; f.la=function(a){return this.width<=a.width&&this.height<=a.height};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Rb(a,b){var c=p(void 0)?void 0:b;a.width*=b;a.height*=c;return a}f.Mb=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return Rb(this,a)}; f.Nb=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return Rb(this,a)};function Sb(a){return a?new Q(R(a)):qa||(qa=new Q)}function Tb(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=Ub(document,"*",a,b);return d||null} function Vb(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){b=a.getElementsByClassName(c);if(e){a={};for(var g=d=0,h;h=b[g];g++)e==h.nodeName&&(a[d++]=h);a.length=d;return a}return b}b=a.getElementsByTagName(e||"*");if(c){a={};for(g=d=0;h=b[g];g++){e=h.className;var k;if(k="function"==typeof e.split)k=0<=ra(e.split(/\s+/),c);k&&(a[d++]=h)}a.length=d;return a}return b} function Ub(a,b,c,d){var e=d||a,g=b&&"*"!=b?String(b).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(g||c)?e.querySelector(g+(c?"."+c:"")):Vb(a,b,c,d)[0]||null}function Wb(a,b){ua(b,function(b,d){b&&"object"==typeof b&&b.u&&(b=b.m());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Xb.hasOwnProperty(d)?a.setAttribute(Xb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})} var Xb={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 Yb(a){a=a.document;a=Zb(a)?a.documentElement:a.body;return new Qb(a.clientWidth,a.clientHeight)}function $b(a){return a.scrollingElement?a.scrollingElement:!K&&Zb(a)?a.documentElement:a.body||a.documentElement} function ac(a){return a.parentWindow||a.defaultView}function bc(a,b,c,d){function e(c){c&&b.appendChild(n(c)?a.createTextNode(c):c)}for(;da} function uc(a){if(Mb&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];vc(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Mb||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a} function vc(a,b,c){if(!(a.nodeName in pc))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in qc)b.push(qc[a.nodeName]);else for(a=a.firstChild;a;)vc(a,b,c),a=a.nextSibling}function dc(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==typeof a.item||"string"==typeof a.item;if("function"==q(a))return"function"==typeof a.item}return!1} function wc(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return xc(a,function(a){var b;(b=!e||a.nodeName==e)&&!(b=!c)&&(b=n(a.className))&&(a=a.className.split(/\s+/),b=0<=ra(a,c));return b},!0,d)}function xc(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}function Q(a){this.a=a||l.document||document}f=Q.prototype;f.ya=Sb;f.Ob=function(a){this.a=a};f.ua=function(){return this.a}; f.M=function(a){return n(a)?this.a.getElementById(a):a};f.Sa=function(a){return n(a)?this.a.getElementById(a):a};f.$=Q.prototype.M;f.ab=function(a,b){return(b||this.a).getElementsByTagName(String(a))};f.N=function(a,b,c){return Vb(this.a,a,b,c)};f.Aa=function(a,b,c){return Ub(this.a,a,b,c)};f.Ba=function(a,b){var c=(b=b||this.a)||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Vb(document,"*",a,b)};f.za=function(a,b){return Tb(a,b||this.a)}; f.Ta=function(a,b){return Tb(a,b||this.a)};f.aa=Q.prototype.N;f.Qb=Wb;f.Wa=function(a){return Yb(a||ac(this.a)||window)};f.va=function(){var a=ac(this.a),b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=Yb(a).height,Zb(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?b:e:b");g=g.join("")}g=d.createElement(g);h&&(n(h)?g.className=h:r(h)?g.className=h.join(" "):Wb(g,h));2=a.keyCode)a.keyCode=-1}catch(b){}};var Ic="closure_listenable_"+(1E6*Math.random()|0),Jc=0;function Kc(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.b=e;this.key=++Jc;this.l=this.w=!1}function Lc(a){a.l=!0;a.listener=null;a.a=null;a.src=null;a.b=null};function Mc(a){this.src=a;this.a={};this.b=0}f=Mc.prototype;f.gb=function(){var a=0,b;for(b in this.a)a+=this.a[b].length;return a};f.add=function(a,b,c,d,e){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var h=Nc(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.b;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.h&&0<=e;e--){b.b=d[e];var g=Zc(d[e],a,!0,b);c=c&&g}for(e=0;!b.h&&e>>0);function Sc(a){if("function"==q(a))return a;a[ad]||(a[ad]=function(b){return a.handleEvent(b)});return a[ad]};function V(a){yc.call(this);this.c=a;this.a={}}w(V,yc);var bd=[];function cd(a,b,c){U(a,b,"click",c,void 0)}f=V.prototype;f.Cb=function(a,b,c,d,e){return U(this,a,b,c,d,e)};function U(a,b,c,d,e,g){r(c)||(c&&(bd[0]=c.toString()),c=bd);for(var h=0;h=c.length)throw F;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!n(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};f.O=function(){this.a.clear()};f.key=function(a){return this.a.key(a)};function ld(){var a=null;try{a=window.localStorage||null}catch(b){}this.a=a}w(ld,kd);function X(){var a=O.call(this)||this;a.h=-1;a.s=new V(a);a.b=new ld;a.a=[];return a}ha(X,O);f=X.prototype;f.F=function(){return"snackbar"};f.connectedCallback=function(){Jb(this);U(this.s,document.body,"devsite-show-custom-snackbar-msg",this.P,void 0)};f.disconnectedCallback=function(){fd(this.s)}; f.P=function(a){var b=this;this.setAttribute("type","custom");a=a.a.detail;var c=!!a.showClose,d=W(Ib,{message:a.msg,X:c});c&&T(d.querySelector(".devsite-snackbar-action"),"click",function(){Y(b,d)});Z(this,d,!c)}; f.attributeChangedCallback=function(a,b,c){if("type"==a){switch(b){case "loading":Y(this,this.querySelector('*[type^="loading"]'));break;case "refresh":Y(this,this.querySelector('*[type^="refresh"]'));break;case "error":Y(this,this.querySelector('*[type^="error"]'));break;case "copied-to-clipboard":Y(this,this.querySelector('*[type^="copied-to-clipboard"]'));break;case "cookie-notification":md(this);break;case "support-attachment-error":nd(this);break;case "custom":nd(this)}null!=b&&b.startsWith("notification-")&& od(this);c&&(c.includes(",")&&(this.a=c.split(","),c=this.a.shift()),pd(this,c))}};function pd(a,b){switch(b){case "loading":if(!a.querySelector('*[type^="loading"]')){var c=W(Bb);Z(a,c)}break;case "refresh":qd(a);break;case "error":rd(a);break;case "copied-to-clipboard":c=W(Eb);Z(a,c,!0);break;case "cookie-notification":sd(a);break;case "support-attachment-error":td(a)}b.startsWith("notification-")&&ud(a,b)}f.ob=function(){Y(this,this.querySelector('*[type^="custom"]'))}; function Z(a,b,c){c=void 0===c?!1:c;a.appendChild(b);window.requestAnimationFrame(function(){vd(a,b,c)})}function vd(a,b,c){c=void 0===c?!1:c;window.clearTimeout(a.h);a.c?Y(a,a.c,b,c):(a.c=b,window.requestAnimationFrame(function(){b.setAttribute("show","")}),c&&(a.h=window.setTimeout(function(){a.removeAttribute("type");Y(a,b)},5E3)))}function qd(a){var b=W(Cb);Rc(b.querySelector(".devsite-snackbar-action"),"click",function(){window.location.reload()});Z(a,b)} function rd(a){var b=W(Db);Rc(b.querySelector(".devsite-snackbar-action"),"click",function(){window.location.reload()});Z(a,b)}function Y(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;b&&(T(b,Fc,function(){hc(b);a.c=null;if(c)vd(a,c,d);else{var e=a.a.length?a.a.shift():null;null!==e&&pd(a,e)}}),b.removeAttribute("show"))} function sd(a){if(a.b.get("devsite-eu-cookie")){var b=a.a.length?a.a.shift():null;null!==b&&pd(a,b)}else a.hasAttribute("data-cookie-policy")?(b=a.getAttribute("data-cookie-policy"),b=W(Fb,{J:b})):b=W(Fb),T(b.querySelector(".devsite-snackbar-action"),"click",function(){a.b.set("devsite-eu-cookie","1");md(a)}),Z(a,b)}function md(a){Y(a,a.querySelector('*[type^="cookie-notification"]'))}function td(a){var b=W(Gb);Z(a,b);T(b.querySelector(".devsite-snackbar-action"),"click",function(){nd(a)})} function nd(a){Y(a,a.querySelector('*[type^="support-attachment-error"]'))} function ud(a,b){var c=a.getAttribute(b+"-message"),d=a.getAttribute(b+"-link"),e=a.getAttribute(b+"-link-txt"),g=a.hasAttribute(b+"-store-key");if(c&&d){var h="devsite-notification"+d;if(!g||!a.b.get(h)){b=W(Hb,{Y:b,message:c,link:d,T:e});Z(a,b);var k=new V(b);cd(k,b,function(b){b.stopPropagation();if(b.target.classList.contains("devsite-snackbar-link")||b.target.classList.contains("devsite-snackbar-action"))g&&a.b.set(h,"1"),od(a),fd(k)})}}} function od(a){Y(a,a.querySelector('*[type^="notification"]'))}ia.Object.defineProperties(X,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["type"]}}});X.prototype.attributeChangedCallback=X.prototype.attributeChangedCallback;X.prototype.disconnectedCallback=X.prototype.disconnectedCallback;X.prototype.connectedCallback=X.prototype.connectedCallback;try{window.customElements.define("devsite-snackbar",X)}catch(a){console.warn("devsite.app.customElement.DevsiteSnackBar",a)};}).call(this);