vaScript
Copyright (c) 2009 Kazuhiko Arase
URL: http://www.d-project.com/
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
The word "QR Code" is registered trademark of
DENSO WAVE INCORPORATED
http://www.denso-wave.com/qrcode/faqpatent-e.html
*/
/*
Copyright (c) 2014, John MacFarlane
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright 2020 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright 2017 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
/*
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
*/
/*
The bulk of this code derives from https://github.com/dmoscrop/fold-case
But in addition to case-folding, we also normalize whitespace.
fold-case is Copyright Mathias Bynens
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
var $o,ap,dp,gp,hp,ip,fp,op,rp,pp,sp,wp,yp,Gp,Jp,Lp,Op,Qp,Vp,Yp,aq,eq,hq,kq,lq,pq,rq,vq,wq,yq,zq,Gq,Jq,Kq,Iq,Nq,Oq,Pq,Qq,Rq,Sq,Tq,Uq,Vq,Zq,Yq,Xq,Wq,$q,ar,br,cr,er,hr,kr,mr,vr,Br,Er,Gr,Lr,Mr,Nr,Rr,Sr,Vr,Wr,Xr,Yr,bs,$r,as,ds,es,fs,gs,js,hs,ks,ms,rs,ss,vs,us,ws,xs,zs,Ds,Es,Gs,Is,Ls,Ms,Ns,Os,Ts,Ps,Vs,Xs,ct,dt,et,ft,gt,ht,nt,ot,pt,qt,rt,wt,vt,ut,zt,At,Bt,Ct,Dt,Ft,Ht,Jt,Lt,Nt,Pt,Rt,Tt,Vt,Xt,Yt,cu,gu,fu,du,iu,ju,lu,nu,pu,su,tu,uu,vu,yu,zu,Bu,Cu,Du,Hu,Gu,Eu,Ju,Mu,Ou;$o=function(a){return a&&a.Zd?a.qd():a};
ap=function(a,b){return b};dp=function(a,b,c){if(Object.hasOwnProperty.call(bp,a)&&(a=bp[a],Object.hasOwnProperty.call(a,b)&&(a=a[b],a instanceof Array))){let e=null,f=!1;for(let g=0,h=a.length;g: <${e} ${f}="${g}">: ${l}`,h);return n===Fp?zp:n},Me:void 0,If:void 0,Jf:void 0};return d};
Jp=function(a,b,c=a,d){if(b===_ds.Hp)return b;var e;let f=void 0!==d?null==(e=c.g)?void 0:e[d]:c.ya;e=Ip(b)?void 0:b._$litDirective$;let g;if((null==(g=f)?void 0:g.constructor)!==e){let h,k;null==(h=f)||null==(k=h._$notifyDirectiveConnectionChanged)||k.call(h,!1);void 0===e?f=void 0:(f=new e(a),f.wt(a,c,d));if(void 0!==d){let l;(null!=(l=c.g)?l:c.g=[])[d]=f}else c.ya=f}void 0!==f&&(b=Jp(a,f.mH(a,b.values),f,d));return b};
Lp=function(){var a=window;if(a.document&&"function"===typeof a.document.createElement&&"transform"in Kp){a=a.document.createElement("div");const {ux:b,Ew:c}=Kp.transform;return b in a.style?b:c}return"transform"};Op=function(a){const b=a.key;return Mp.has(b)?b:(a=Np.get(a.keyCode))?a:"Unknown"};Qp=function(a){return _ds.Pp({Ql:(b,c)=>{Object.assign(b.prototype[c],a)}})};_ds.J=function(a){return(b,c)=>{void 0!==c?(Rp(b.constructor,c,a),b=void 0):b=Sp(a,b);return b}};
_ds.Up=function(a){const {slot:b,Xm:c}=null!=a?a:{};return _ds.Pp({hg:()=>({get(){var d=`slot${b?`[name=${b}]`:":not([name])"}`;let e;const f=null==(e=this.zd)?void 0:e.querySelector(d);d=null!=f?Tp(f,a):[];return c?d.filter(g=>g.matches(c)):d},enumerable:!0,configurable:!0})})};Vp=function(){return _ds.Pp({hg:()=>({async get(){await this.ub;let a;return null==(a=this.zd)?void 0:a.querySelector("mwc-ripple")},enumerable:!0,configurable:!0})})};
_ds.Wp=function(a){return _ds.Pp({hg:()=>({get(){let b,c;return null!=(c=null==(b=this.zd)?void 0:b.querySelector(a))?c:null},enumerable:!0,configurable:!0})})};_ds.L=function(){return _ds.J(Object.assign({},void 0,{state:!0}))};_ds.Zp=function(a,b,c){(b=b(c||Xp,void 0))&&b.h&&a?b.h(a):(b=Yp(b),_ds.Qi(a,b))};_ds.$p=function(a,b){const c=_ds.wj();if((a=a(b||Xp,void 0))&&a.g)return a.g();a=Yp(a);return _ds.Mj(c.h,a)};
_ds.M=function(a,b,c,d){a=a(b||Xp,c);d=d||_ds.wj();a&&a.g?d=a.g():(d=d.createElement("DIV"),a=Yp(a),_ds.Qi(d,a));1==d.childNodes.length&&(a=d.firstChild,1==a.nodeType&&(d=a));return d};Yp=function(a){return _ds.yb(a)?a.OC&&(a=a.OC(),a instanceof _ds.bi)?a:_ds.ci("zSoyz"):_ds.ci(String(a))};
aq=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}function b(q){for(var w=g,A=0;64>A;A+=4)w[A/4]=q[A]<<24|q[A+1]<<16|q[A+2]<<8|q[A+3];for(A=16;80>A;A++)q=w[A-3]^w[A-8]^w[A-14]^w[A-16],w[A]=(q<<1|q>>>31)&4294967295;q=e[0];var z=e[1],F=e[2],D=e[3],R=e[4];for(A=0;80>A;A++){if(40>A)if(20>A){var K=D^z&(F^D);var da=1518500249}else K=z^F^D,da=1859775393;else 60>A?(K=z&F|D&(z|F),da=2400959708):(K=z^F^D,da=3395469782);K=((q<<5|q>>>27)&4294967295)+
K+R+da+w[A]&4294967295;R=D;D=F;F=(z<<30|z>>>2)&4294967295;z=q;q=K}e[0]=e[0]+q&4294967295;e[1]=e[1]+z&4294967295;e[2]=e[2]+F&4294967295;e[3]=e[3]+D&4294967295;e[4]=e[4]+R&4294967295}function c(q,w){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var A=[],z=0,F=q.length;zl?c(h,56-l):c(h,64-(l-56));for(var A=63;56<=A;A--)f[A]=w&255,w>>>=8;b(f);for(A=w=0;5>A;A++)for(var z=24;0<=z;z-=8)q[w++]=e[A]>>z&255;return q}for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,digestString:function(){for(var q=d(),w="",A=0;Ac.toUpperCase())};pq=function(a){return a?a.replace(mq,"\\\\").replace(nq,"\\,").replace(oq,"\\="):a};rq=function(a){return a&&-1!==a.indexOf("-")?a.toLowerCase().replace(qq,(b,c)=>c?c.toUpperCase():""):a};
_ds.tq=function(){const a=_ds.sq();return a.length?`[${a.join(", ")}]`:""};_ds.sq=function(){var a,b=null!=(a=uq.get("FACET_EXPERIMENT_IDS_DEVSITE"))?a:"",c;a=null!=(c=uq.get("FACET_EXPERIMENT_IDS_BOQ"))?c:"";b=vq(b);c=vq(a);b=new Set([...b,...c]);return Array.from(b).sort()};vq=function(a){if(!a.length)return[];a=JSON.parse(a);if(a.some(b=>"number"!==typeof b))throw Error("Can not covert string list to number array!");return a};
_ds.xq=function(){const a=window.history&&window.history.state&&window.history.state.previousPath?window.history.state.previousPath:document.referrer;let b;a&&(b=wq(a));return b?b:""};wq=function(a){a=new URL(a);a=`${a.origin}${a.pathname}`;"/"===a.slice(-1)&&(a=a.slice(0,-1));return a?a:""};yq=function(a){let b;try{b=new URL(a)}catch(c){return!1}return!!b};
zq=function(a){var b={},c;b.protocol=null==(c=b.protocol)?void 0:c.toLowerCase();if("http"===b.protocol||"https"===b.protocol)"http"===b.protocol&&(b.Lx=!0),delete b.protocol;if(a&&(new RegExp(/^[a-z]{1}[a-z0-9+.-]*:/i)).test(a))return c=a.toLowerCase(),c.startsWith("http")&&c.startsWith("https")===!!b.Lx?b=a.replace(new RegExp(/^https?/i),`http${b.Lx?"":"s"}`):b=b.lK?yq(a)?a:"":a,b;c=(b.protocol||(b.Lx?"http":"https"))+":";a.startsWith(":")&&(a=a.substring(1));c.toLowerCase().startsWith("http")&&
!a.startsWith("//")&&(a=a.startsWith("/")?"/"+a:"//"+a);a=c+a;return b.lK?yq(a)?a:"":a};_ds.Aq=function(a){return a?["youtube","youtu.be","yt.be","ytimg.com"].some(b=>{try{let c=(new URL(zq(a))).hostname;c.startsWith("www.")&&(c=c.substring(4));return c.startsWith(b)}catch(c){return!1}}):!1};
_ds.Bq=function(a){var b=_ds.Aq(a);if(11!==a.length||a.includes("/"))if(b)try{var c=new URL(zq(a))}catch(d){return console.error(d),""}else return"";else return a;a=c.searchParams.get("v");b=c.pathname.match(new RegExp(/(?:embed|v)?\/(.{11})(?:[/?]|$)/));c=c.hash;return a?a:b&&b[1]?b[1]:c&&(c=c.match(/[^\/]+$/))&&11===c[0].length?c[0]:""};
_ds.Fq=function(a){if(!Cq.includes(a))throw Error(`Unexpected utm parameter: ${a}`);var b=Dq[a];if(!(a=(new _ds.Ek(window.location.href)).g.get(b.queryKey,"")))if(a="",void 0!==Eq.get("__utmz")){b=b.cookieKey;var c=`${Eq.get("__utmz")}`.split("|");for(const d of c)c=d.split("="),2===c.length&&c[0]&&c[0].includes(b)&&(a=c[1]);a||(a="02")}else a="01";return a};Gq=function(){};Jq=function(){var a={timeout:5E3};return null!=Hq?Hq:Hq=Iq(a)};
Kq=function(){return new Promise((a,b)=>{window.gapi.load("client",{callback:a,onerror:b})})};Iq=async function(a={}){let b=window.gapi;if(b&&b.client&&b.client.load)return b;await Lq(_ds.ge(_ds.td(_ds.Ch("https://apis.google.com/js/api.js"))),a);b=window.gapi;if(!b)throw Error("Could not load gapi.client.");b.client&&b.client.load||await Kq();return b};
Nq=function(a,b=0){const c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now(){Mq.delete(a)});Mq.set(a,b);return b}return Promise.resolve()};Oq=function(a,b){let c;return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.discoveryDocs,hostedDomain:b.dB,fetchBasicProfile:null!=(c=b.fetchBasicProfile)?c:!0})};
Pq=function(a){return Object.assign({},{Ib:{},XX:{},keys:[],Jm:{},ob:{},Nb:{},Zz:!1},a)};Qq=function(a,b){return N(b,a)};Rq=function(a,b,c){b[a]=c};Sq=function(){return{}};Tq=function(a,b){return b[a]};Uq=function(a,b,c){b.o[a]=c};Vq=function(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a};
Zq=function(a,b,c,d,e){e=d(e);const f=Wq(a,e);var g=f.keys||[];const h=f.Ib||{},k=f.ob||{},l=f.Jm||{};for(const n of g)if(g=b(n,a),null!=g){if(h.hasOwnProperty(n)){if(f.Zz&&0===g.length)continue;g=Xq(g,b,c,d,!0,!0,h[n])}else if(k.hasOwnProperty(n))g=Xq(g,b,c,d,!1,!0,k[n]);else if(l.hasOwnProperty(n)){const q=l[n];g=q.xm?g.map(w=>Yq(w,q,b,c,d)):Yq(g,q,b,c,d)}else if(Array.isArray(g)){if(f.Zz&&0===g.length)continue;g=Xq(g,b,c,d,!0,!1)}c(n,e,g)}return e};
Yq=function(a,b,c,d,e){const f={};for(const g of Object.keys(a)){const h=a[g];null!=h&&(f[g]=Xq(h,c,d,e,b.Dm,b.Am,b.rf))}return f};Xq=function(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");if(null==a)return a;let h;e&&f?h=a.map(k=>Zq(k,b,c,d,g)):e&&!f?h=a.map(k=>k):h=!e&&f?Zq(a,b,c,d,g):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return h};
Wq=function(a,b){if(b instanceof O)a=Pq(b.Ha());else if(a instanceof O)a=Pq(a.Ha());else throw Error("Cannot find ClassMetadata.");return a};$q=function(a){if(null!=a.Oa){const b={};for(const c in a.Oa)void 0!==a.Oa[c]&&(b[c]=a.Oa[c]);a.Oa=b}};ar=function(a,b,c={}){for(const [d,e]of Object.entries(b)){b=d;const f=e;b in a&&(c[f]=a[b])}return c};br=function(a=""){switch(a){case "DEV":return 0;case "TEST":return 3;case "STAGE":return 1;default:return 2}};
cr=function(a=window.location.hostname,b,c){if(0===c||3===c){if(1===_ds.vg(b,24))return!0;if(2===_ds.vg(b,24))return!1}return a.endsWith(".google.com")&&(a.startsWith("accessibility.")||a.startsWith("cloud.")||a.startsWith("developers.")||a.startsWith("firebase.")||a.startsWith("codelabs.")||a.startsWith("knowledge.workspace.")||a.startsWith("workspace."))};
er=async function(){var a=window.location.hostname;const b=await _ds.t(),c=br(b.getEnv());var d=_ds.u(b.getConfig(),14);var e=b.getConfig();if(_ds.u(e,23))e=_ds.u(e,23);else{var f;e=null!=(f=dr.get(c))?f:`${dr.get(2)}`}return{apiKey:d,serviceEndpoint:e,useFirstPartyAuth:cr(a,b.getConfig(),c)}};hr=async function(){const a=(await _ds.t()).getEnv();return"PROD"===a||"STAGE"===a?fr:gr};kr=function(a){void 0!==this.hf?(ir(this),this.Dc=a,jr(this)):this.Dc=a};
mr=function(a,b=!1,c=0){const d=this.Ab,e=this.hf;if(void 0!==e&&0!==e.size)if(b)if(Array.isArray(d))for(a=c;ad[1]===a.hostname);if(b&&b[0].endsWith("_CHINA")){let d;a.hostname=null!=(d=_ds.qr.get(b[0].replace("_CHINA","")))?d:a.hostname}let c;b=null==(c=a.searchParams.get("tenant"))?void 0:c.toLowerCase();(null==b?0:b.endsWith("_china"))&&a.searchParams.set("tenant",b.replace("_china",""));return a};
_ds.Fr=async function(a){let b=new URL(a,document.location.origin);if(b.hostname.endsWith(".googlers.com")||"localhost"===b.hostname){var c=await _ds.t(),d=b.searchParams.get("tenant");if(d)if(d=d.toUpperCase(),_ds.qr.has(d))b.hostname=_ds.qr.get(d);else throw Error(`Invalid url: ${a}`);else if(a=_ds.qr.get(`${_ds.rr.get(`${c.getTenantId()}`)}`))b.hostname=a;b.protocol="https:";b.port=""}else if(b.hostname.endsWith(".corp.google.com"))if(d=null==(c=b.hostname.toUpperCase().split(".")[0])?void 0:c.replace("-",
"_"))if(_ds.qr.has(d))b.hostname=_ds.qr.get(d);else throw Error(`Invalid url: ${a}`);else throw Error(`Invalid url: ${a}`);b=await Er(b);b.search="";b.hash="";return b.href.endsWith("/")?b.href.slice(0,-1):b.href};Gr=function(a,b){return a.val>b.val?1:b.val>a.val?-1:0};_ds.Jr=function(a){return Hr[a]+" ("+Ir[a]+")"};Lr=function(a){const b=Object.values(Kr);return[...a].sort((c,d)=>b.indexOf(c)-b.indexOf(d))};Mr=function(a){const b=Object.values(Kr);return Array.from(new Set([...a].filter(c=>b.includes(c))))};
Nr=function(a,b={}){const c=d=>{"string"===typeof d&&(d=JSON.parse(d.replace(/'/g,'"')));for(let [e,f]of Object.entries(d)){let g=e,h=f;const k=g,l=k.replace(/-|_/g,"");"object"!==typeof h&&(d[g]=h={price:[{val:h,currency:"usd"}]});l!==k&&delete Object.assign(d,{[l]:h})[k];for(const n of d[l].price)"string"===typeof n.val&&(n.val=Number(n.val.replace(/,/g,"")))}return d};return Object.assign({},c(b),c(a))};_ds.Or=function(a){return Array.from(a.keys())};
_ds.Pr=function(a,b){if(!b)return a;const c=Object.assign({},a);c.metadata=Object.assign({},a.metadata,b.metadata);delete b.metadata;return Object.assign({},c,b)};Rr=function(a){a=Qr(a).toLowerCase();a=a.replace(/[^a-z0-9\s-_/\\]/g,"");return a=_ds.dj(a)};Sr=function(a){a=a.replace(/(^\w+:|^)\/\//,"");if("/"===a.charAt(0)||"#"===a.charAt(0))a=`${"cloud.google.com"}${a}`;a=a.split("#")[0];return a=a.split("?")[0]};
Vr=function(a,b,c){const d=a.constructor;if(!c&&(c=Tr(b,`__${b}`),!c))throw Error("@ariaProperty must be used after a @property decorator");const e=c;let f="";if(!e.set)throw Error(`@ariaProperty requires a setter for ${b}`);if(a.ZX)return c;a={configurable:!0,enumerable:!0,set(g){if(""===f){const h=d.Rg.get(b)||Ur;f="string"===typeof h.Da?h.Da:b}this.hasAttribute(f)&&this.removeAttribute(f);e.set.call(this,g)}};e.get&&(a.get=function(){return e.get.call(this)});return a};
Wr=function(a,b,c){if(void 0!==b)return Vr(a,b,c);throw Error("@ariaProperty only supports TypeScript Decorators");};Xr=function(a){return{ib:b=>{a.classList.add(b)},Ra:b=>{a.classList.remove(b)},Yb:b=>a.classList.contains(b)}};Yr=function(a,b){const c=new Map;for(let d=0;d{d.sort((e,f)=>e.index-f.index)});return c};
bs=function(a,b){var c=a.qw;const d=a.kc,e=a.Kf,f=a.Rl,g=a.qx;a=a.wm;clearTimeout(b.Gz);b.Gz=setTimeout(()=>{b.Lf=""},Zr.wG);b.Lf+=c;c=1===b.Lf.length?$r(e,f,a,b):as(e,a,b);-1===c||g||d(c);return c};
$r=function(a,b,c,d){var e=d.Lf[0];a=a.get(e);if(!a)return-1;if(e===d.Pz&&a[d.Ue].index===b){d.Ue=(d.Ue+1)%a.length;var f=a[d.Ue].index;if(!c(f))return f}d.Pz=e;e=-1;for(f=0;fb&&!c(a[f].index)){e=f;break}return-1!==e?(d.Ue=e,a[d.Ue].index):-1};
as=function(a,b,c){a=a.get(c.Lf[0]);if(!a)return-1;var d=a[c.Ue];if(0===d.text.lastIndexOf(c.Lf,0)&&!b(d.index))return d.index;d=(c.Ue+1)%a.length;let e=-1;for(;d!==c.Ue;){var f=a[d];const g=0===f.text.lastIndexOf(c.Lf,0);f=!b(f.index);if(g&&f){e=d;break}d=(d+1)%a.length}return-1!==e?(c.Ue=e,a[c.Ue].index):-1};
ds=function(a,b){const c=a.event,d=a.kK,e=a.Rl,f=a.kc,g=a.Kf;a=a.wm;const h="ArrowLeft"===Op(c),k="ArrowUp"===Op(c),l="ArrowRight"===Op(c),n="ArrowDown"===Op(c),q="Home"===Op(c),w="End"===Op(c),A="Enter"===Op(c),z="Spacebar"===Op(c);c.altKey||c.ctrlKey||c.metaKey||h||k||l||n||q||w||A||(z||1!==c.key.length?z&&(d&&cs(c),d&&0{a(c)},50)}};gs=function(){const a=this.ea;this.ra=new Promise(b=>this.ea=b);a()};js=function(a){return a.definition.replace(/%{(.*?)}%/g,b=>{b=b.substring(2,b.length-2);b=hs(_ds.is(b,a.variables));if(!isNaN(Number(b))){let c;if(null==(c=a.Yv)?0:c.decimalPlaces)b=String(Number(Number(b).toFixed(a.Yv.decimalPlaces)));let d;return((null==(d=a.Yv)?void 0:d.yI)||"##").replace(/##/g,b)}return b})};
_ds.is=function(a,b={}){for(const c of Object.keys(b)){const d=b[c];Array.isArray(d)?a=a.replace(new RegExp(`${c}\\[(\\d+)\\]`,"gi"),(...e)=>String(d[Number(e[1])])):d&&(a=a.replaceAll(c,d))}return a};
hs=function(a){if(ks(a)){var b=["*","/","+","-"];const c=a.replace(/\s/g,"").match(/[*/+-]|[+-]?((\d+\.?\d*)|(\.\d+))/g)||[];if(c.length){a={"*":(d,e)=>d*e,"/":(d,e)=>d/e,"+":(d,e)=>d+e,"-":(d,e)=>d-e};for(const d of b)for(;-1]+).*?>/);if(c&&ls.includes(c[1]))b.tag=c[1];else return{content:a};if(a=(new RegExp(`<${b.tag}[\\s]*([^>]*)>(.*?)<\\/${b.tag}>`,"g")).exec(a))a[1]&&(b.attributes=a[1]),a[2]&&(b.content=a[2]);return b};
_ds.os=function(a,b={}){function c(e,f){if(f)return(e=(new RegExp(`(?:${e})=[\`'"]+([^\\s\`'"]*)`,"g")).exec(f))&&e[1]||void 0}var d=a.replace(/[\n|\s]+/g," ");a=[];for(const e of d.split(ns))if(e)switch(d=ms(e),d.content&&"string"===typeof d.content&&null!=d.content.match(ns)&&(d.content=_ds.os(d.content)),d.tag){case "br":a.push((0,_ds.P)` `);break;case "a":const f=c("href|hrf",d.attributes),g=c("class|className",d.attributes),h=c("target",d.attributes);a.push((0,_ds.P)`
${d.content}
`);break;case "ul":a.push((0,_ds.P)`
${d.content}
`);break;case "li":a.push((0,_ds.P)`
${d.content}
`);break;case "sup":a.push((0,_ds.P)`${d.content}`);break;case "i":a.push((0,_ds.P)`${d.content}`);break;case "em":a.push((0,_ds.P)`${d.content}`);break;case "b":a.push((0,_ds.P)`${d.content}`);break;case "strong":a.push((0,_ds.P)`${d.content}`);break;default:a.push((0,_ds.P)`${d.content}`)}return(0,_ds.P)`${a.map(e=>e)}`};
rs=function(a){const b=a.split("/");return{TY:b[1],name:b[3],fY:a}};ss=function(a){return new Promise(b=>{const c=async()=>{await a()?b():setTimeout(c,40)};c()})};_ds.ts=function(a,b={}){const c=".oOo".repeat(14);console.log(c);console.log(" ");console.log(`%cPrinting details for ${a}:`,"color: green; font-size: 18px; font-weight: 600;");for(const d of Object.entries(b))console.log("-",d[0],":",d[1]);console.log(" ");console.log(c)};
vs=function(a){a=Object.assign({},a);for(const b of Object.keys(a)){const c=a[b],d=us(b,!0);c&&"object"===typeof c&&!Array.isArray(c)&&(a[b]=vs(c));d!==b&&delete Object.assign(a,{[d]:a[b]})[b]}return a};us=function(a,b=!0){b&&(a=a.replaceAll("-","_"));return a.replace(/ |,|&|\/|\(|\)|:/g,"_").replace(/____|___|__/g,"_").toLowerCase()};ws=function(a){return`${us(a[0])}-${us(a[1])}.json`};
xs=function(a){const b=null==a?void 0:a.h;let c=!0;if(!b)return{valid:c,errors:["No validation map found."]};const d=[],e=[];for(var f of Object.keys(b))b[f].test()?a[f]=a[f]:d.push(f);for(const g of d)a=b[g],f=!1,null!=a.required&&("function"===typeof a.required?f=a.required([...d]):f=a.required),f&&(c=!1),(f||a.OY)&&e.push("function"===typeof a.error?a.error():a.error);return{valid:c,errors:e}};
zs=function({EI:a={},GC:b}){if(a.global&&1===Object.keys(a).length){for(const c of ys())a[c]=a.global;delete a.global}if(b&&("string"===typeof b&&(b=JSON.parse(b)),!a&&b.global&&1===Object.keys(b).length)){for(const c of ys())b[c]=b.global;delete b.global}return Nr(a,b)};_ds.As=function(){var a=Element;return b=>b instanceof a};_ds.Bs=function(a,b,c){return a?b():null==c?void 0:c()};Ds=function(a){return Cs.some(b=>b.test(a))};Es=function(a){let b;return null==(b=a.formContent)?void 0:b.locale};
Gs=function(a,b){var c=Es(a);c=(c&&Fs.includes(c)?Es(a):"en").replaceAll("-","_").toLowerCase();let d;a=(null==(d=a.initializationData)?0:d.useNightlyRelease)?"nightly":"live";let e;return(null==b?0:null==(e=b.getEnableAlohaBinarySplit)?0:e.call(b))?(0,_ds.he)`https://www.gstatic.com/uservoice/feedback/client/web/${a}/main_light_binary.js`:(0,_ds.he)`https://www.gstatic.com/uservoice/feedback/client/web/${a}/main_binary__${c}.js`};
Is=function(a,b,c,d){if(Hs)return Hs;const e=Gs(a,d);return Hs=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise((f,g)=>{const h=_ds.Lj("SCRIPT");_ds.Pd(h,e);h.onload=()=>{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g("feedbackV2GlobalObject not found on window.")};h.onerror=()=>{g(`Feedback binary script tag failed to load: ${e.toString()}`)};c.body.appendChild(h)})};
Ls=function(a,b,c,d){if(Js)return Js;const e=Gs(a,d);return Js=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise((f,g)=>{const h=_ds.Lj("SCRIPT");_ds.Pd(h,e);h.onload=()=>{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g("feedbackV2GlobalObject not found on window.")};h.onerror=()=>{g(`Feedback binary script tag failed to load: ${e.toString()}`)};c.body.appendChild(h)})};
Ms=async function(a,b,c,d){const e=Date.now();a=await (await Is(a,c,d,b)).initializeFeedbackClientAsync(a,e,b);a.initiateAloha();return a};Ns=async function(a,b,c,d){const e=Date.now();a=await (await Ls(a,c,d.document,b)).initializeFeedbackClientAsync(a,e,b,d);a.initiateAloha();return a};
Os=async function(a,b,c){const d=c||_ds.p;let e;if(null==b?0:null==(e=b.getEnableAlohaBinarySplit)?0:e.call(b)){if(d.isFormOpened)throw a=Error("Form is either loading or already opened"),a.name="DuplicateFormError",a;d.isFormOpened=!0;a.callbacks=a.callbacks||{};const f=a.callbacks.onClose||(()=>{});a.callbacks.onClose=g=>{d.isFormOpened=!1;f(g)};try{return Ns(a,b,d,d)}catch(g){throw d.isFormOpened=!1,g;}}else{if(d.isFormOpened)throw a=Error("Form is either loading or already opened"),a.name="DuplicateFormError",
a;d.isFormOpened=!0;a.callbacks=a.callbacks||{};const f=a.callbacks.onClose||(()=>{});a.callbacks.onClose=g=>{d.isFormOpened=!1;f(g)};try{return Ms(a,b,d,d.document)}catch(g){throw d.isFormOpened=!1,g;}}};
Ts=async function(a,b){return new Promise(c=>{const d=Ps(null!=b?b:"")+"/aloha_form_properties?productId="+a;_ds.bq(d,e=>{e=e.target;var f=null;try{f=_ds.ad(Qs,JSON.stringify(_ds.Rs(e,")]}'\n")))}catch(g){e=new Qs,f=Ss(),f=_ds.Mc(f,7,!0),f=_ds.Mc(f,10,!0),f=_ds.Mc(f,12,!0),f=_ds.Mc(f,13,!1),f=_ds.Mc(f,14,!0),f=_ds.Mc(f,15,!0),f=_ds.Mc(f,20,!1),f=_ds.gg(e,1,f)}c(f)},"GET","",{},2E3,!0)})};Ps=function(a){return Ds(a)?a:"https://www.google.com/tools/feedback"};
Vs=function(a){var b=a.target;if(b&&1===b.nodeType){const d=_ds.mk(b,e=>e instanceof Element?e.hasAttribute("data-modal-dialog-id"):!1,!0,5);if(null!==d&&d instanceof Element){var c;const e=(null==(c=d.getAttribute("data-modal-dialog-id"))?void 0:c.trim())||"";e&&(c=document.getElementById(e))&&c instanceof _ds.Us&&(c.xa=d,c.open=!0,c.ya(a,d))}if(b.classList.contains("devsite-dialog-close")||_ds.nk(b,null,"devsite-dialog-close",5))if(b=_ds.mk(b,e=>{a:{if(e)for(e=e.constructor;e&&e!==HTMLElement&&
e!==Node;){if(e===_ds.Us){e=!0;break a}e=Object.getPrototypeOf(e)}e=!1}return e}))b.open=!1,b.ya(a)}};Xs=function(a,b=640){_ds.Ws(a,{target:"_blank",left:(window.screen.availWidth-b)/2,top:(window.screen.availHeight-480)/2,width:b,height:480})};_ds.Ys=function(a,b){b=encodeURIComponent(b);a=encodeURIComponent(a);Xs(`https://twitter.com/intent/tweet?text=${b}&url=${a}`)};_ds.Zs=function(a,b,c){"/"!==a.slice(-1)&&(a=`${a}/`);c=encodeURIComponent(c);a=encodeURIComponent(a);b=encodeURIComponent(b);Xs(`https://www.linkedin.com/shareArticle?mini=true&url=${a}&title=${b}&summary=${c}`)};
_ds.$s=function(a){a=encodeURIComponent(a);Xs(`https://www.facebook.com/sharer/sharer.php?u=${a}`,555)};_ds.bt=function(a,b){b=_ds.at.get(b);if(!a||!b)return"";let c;b=(null==(c=(a.startsWith(b.domainPrefix)?new URL(`https://${a}`):new URL(a,`https://${b.domainPrefix}`)).pathname.match(b.regex))?void 0:c.pop())||"";if(a!==b&&""===b)throw Error();return b};
ct=function(a){this.mode=4;this.data=a;this.g=[];a=0;for(var b=this.data.length;a>>18,c[1]=128|(d&258048)>>>12,c[2]=128|(d&4032)>>>6,c[3]=128|d&63):2048>>12,c[1]=128|(d&4032)>>>6,c[2]=128|d&63):128>>6,c[1]=128|d&63):c[0]=d;this.g.push(c)}this.g=Array.prototype.concat.apply([],this.g);this.g.length!=this.data.length&&(this.g.unshift(191),this.g.unshift(187),this.g.unshift(239))};
dt=function(a,b){this.Ck=a;this.m=b;this.g=null;this.Pb=0;this.h=null;this.j=[]};et=function(a,b){if(void 0==a.length)throw Error(a.length+"/"+b);for(var c=0;c
kt.length)throw Error("Too long data");b=this.j=new dt(c,this.g.Au);c=new ct(a);b.j.push(c);b.h=null;b=this.j;for(e=d=c=0;8>e;e++){lt(b,!0,e);f=b;g=f.Pb;for(var h=0,k=0;k=w;w++)if(!(0>k+w||g<=k+w))for(var A=-1;1>=A;A++)0>l+A||g<=l+A||(0!=w||0!=A)&&q==mt(f,k+w,l+A)&&n++;5f)c=f,d=e}lt(b,!1,d);this.v.title=a;this.h.draw(this.j);this.jq()}};
ot=function(a,b){var c;let d;null==(c=_ds.Gj())||null==(d=c.getSelection())||d.removeAllRanges();c=document.createElement("pre");_ds.Jd([_ds.Jl],c,"is-upgraded","");c.style.position="absolute";c.style.top="-99999px";c.style.left="-99999px";c.classList.add("clear-for-copy");b=Array.from(b.childNodes);for(const e of b)e instanceof Element&&e.classList.contains("no-select")||c.appendChild(e.cloneNode(!0));a.appendChild(c);return c};
pt=function(a){let b,c;null==(b=_ds.Gj())||null==(c=b.getSelection())||c.selectAllChildren(a);let d,e,f;return null!=(f=null==(d=_ds.Gj())?void 0:null==(e=d.getSelection())?void 0:e.toString())?f:""};qt=function(a){let b,c;null==(b=_ds.Gj())||null==(c=b.getSelection())||c.removeAllRanges();_ds.Qj(a)};rt=function(a){a=ot(document.body,a);const b=pt(a);qt(a);return b};
_ds.st=function(a,b){const c=document.createElement("pre");_ds.Jd([_ds.Jl],c,"is-upgraded","");for(const d of b)c.appendChild(d.cloneNode(!0));a=ot(a,c);b=!1;pt(a)&&document.queryCommandSupported("copy")&&(document.execCommand("copy"),b=!0);qt(a);b&&(a=document.querySelector("devsite-snackbar"))&&a.setAttribute("type","copied-to-clipboard");_ds.Qj(c)};
wt=function(a){var b=tt.hasOwnProperty(a)?tt[a]:null;if(b)return b;65536~\\.\\[:]+)","g"),1);b=vt(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),2);b=vt(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,
3);b=vt(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=vt(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");vt(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return tt[a]=b};vt=function(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})};ut=function(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};zt=function(a){return xt[a]};
At=function(a,b){a=_ds.p[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null};Bt=function(a,b){return(a=_ds.p[a])&&a.prototype&&a.prototype[b]||null};Ct=function(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a};
Dt=function(a,b,c,d){if(a)return a.apply(b,d);if(_ds.jf&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)};Ft=function(a){return Ct(Et,a,"attributes",function(b){return b instanceof NamedNodeMap})};Ht=function(a,b,c){try{Dt(Gt,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}};
Jt=function(a){return Ct(It,a,"style",function(b){return b instanceof CSSStyleDeclaration})};Lt=function(a){return Ct(Kt,a,"sheet",function(b){return b instanceof CSSStyleSheet})};Nt=function(a){return Ct(Mt,a,"nodeName",function(b){return"string"==typeof b})};Pt=function(a){return Ct(Ot,a,"nodeType",function(b){return"number"==typeof b})};Rt=function(a){return Ct(Qt,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})};
Tt=function(a,b){return Dt(St,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""};Vt=function(a,b,c){Dt(Ut,a,a.setProperty?"setProperty":"setAttribute",[b,c])};Xt=function(a){return Ct(Wt,a,"namespaceURI",function(b){return"string"==typeof b})};Yt=function(a=window){return(a=a.WIZ_global_data)&&"w2btAe"in a?a.w2btAe:null};
cu=function(a){let b=a.g?a.g.getResponseHeader("Content-Type"):null;if(!b)return null;b=b.toLowerCase();return b.startsWith("application/json")?b.startsWith("application/json+protobuf")?new Zt:new $t:b.startsWith("application/x-protobuf")?(a=a.g?a.g.getResponseHeader("Content-Transfer-Encoding"):null)?"base64"==a.toLowerCase()?new au:null:new bu:null};
gu=async function(){var a=await _ds.t();const b=du(a.getEnv());a=a.getConfig();var c=_ds.u(a,25),d=_ds.u(a,26);let e;var f=null!=(e=eu.get(b))?e:"namespaces/prod";return{apiKey:c,serviceEndpoint:d,namespace:f,locale:"en",useFirstPartyAuth:fu(_ds.B().hostname,a,b)}};
fu=function(a=window.location.hostname,b,c){if(0===c||3===c){if(1===_ds.vg(b,24))return!0;if(2===_ds.vg(b,24))return!1}return a.endsWith(".google.com")&&(a.startsWith("accessibility.")||a.startsWith("cloud.")||a.startsWith("developers.")||a.startsWith("firebase.")||a.startsWith("codelabs.")||a.startsWith("knowledge.workspace.")||a.startsWith("workspace."))};du=function(a=""){switch(a){case "DEV":return 0;case "TEST":return 3;case "STAGE":return 1;default:return 2}};
iu=function(a){if(55296<=a&&57343>=a||1114111>>10&1023|55296),a=56320|a&1023);return b+=String.fromCharCode(a)};ju=function(a,b){return ab;b++){var d=String.fromCharCode(b);c.push(d)}for(b=0;bh)f+=c[h];else{if(192===(h&224)&&g+3h?f+"\ufffd\ufffd":f+String.fromCharCode(h);g+=3;continue}}if(224===(h&240)&&g+6h||55296<=h&&57343>=h?f+"\ufffd\ufffd\ufffd":f+String.fromCharCode(h);g+=6;continue}}if(240===(h&248)&&g+9h||1114111>10),56320+(h&1023)));g+=9;continue}}f+="\ufffd"}}return f})};
su=function(a){return a.slice(1,a.length-1).trim().replace(qu,function(b){return ru[b]||" "})};tu=function(a){return 32===a||9===a};uu=function(a,b){return b{b.addEventListener("load",()=>{e()});b.addEventListener("error",g=>{b.parentNode&&b.parentNode.removeChild(b);f(g)});document.head.appendChild(b)});const d={rejectAt:0,p:c};c.catch(()=>{d.rejectAt=+new Date});Iu.set(a.toString(),d);return c};_ds.Ku=function*(a,b){if(void 0!==a){let c=0;for(const d of a)yield b(d,c++)}};
_ds.Lu=function*(a,b){const c=void 0===b?0:a;null!=b||(b=a);for(a=c;a{if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var c,d,e=(null==(c=window.ShadyDOM)?0:c.inUse)&&!0===(null==(d=window.ShadyDOM)?void 0:d.noPatch)?window.ShadyDOM.wrap:A=>A,f=A=>void 0!==A&&!Wu.has(A),g=A=>{let z=Xu.get(A);void 0===z&&Xu.set(A,z=[]);return z},h=(A,z)=>{const F=g(A),D=0!==F.length;if(D){const R=document.createElement("style");R.textContent=F.join("\n");z.content.appendChild(R)}Wu.add(A);Xu.delete(A);window.ShadyCSS.prepareTemplateStyles(z,
A);D&&window.ShadyCSS.nativeShadow&&(A=z.content.querySelector("style"),null!==A&&z.content.appendChild(A))},k=new Map,l=a.createElement;a.createElement=function(A,z){A=l.call(a,A,z);z=null==z?void 0:z.scope;void 0!==z&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(A,z),f(z)&&g(z).push(...Array.from(A.content.querySelectorAll("style")).map(F=>{let D;null==(D=F.parentNode)||D.removeChild(F);return F.textContent})));return A};var n=document.createDocumentFragment(),q=document.createComment("");
b=b.prototype;var w=b.Td;b.Td=function(A,z=this){const F=e(this.Bd).parentNode;var D,R=null==(D=this.options)?void 0:D.scope,K;if((F instanceof ShadowRoot||F===(null==(K=this.options)?void 0:K.JY))&&f(R)){D=this.Bd;K=this.Tf;n.appendChild(q);this.Bd=q;this.Tf=null;w.call(this,A,z);A=(null==A?0:A._$litType$)?this.Ab.Jo.el:document.createElement("template");h(R,A);n.removeChild(q);let da;if(null==(da=window.ShadyCSS)?0:da.nativeShadow)R=A.content.querySelector("style"),null!==R&&n.appendChild(R.cloneNode(!0));
F.insertBefore(n,K);this.Bd=D;this.Tf=K}else w.call(this,A,z)};b.Zy=function(A){var z,F=null==(z=this.options)?void 0:z.scope;z=k.get(F);void 0===z&&k.set(F,z=new Map);F=z.get(A.strings);void 0===F&&z.set(A.strings,F=new a(A,this.options));return F}}},Zu;null!=(Zu=window).litHtmlPolyfillSupport||(Zu.litHtmlPolyfillSupport=Yu);var $u="";if(window.Symbol){const a=Symbol();"symbol"!==typeof a&&($u=Object.keys(a)[0])}var av=""!==$u,bv=av?a=>null!=a&&void 0!==a[$u]:()=>!1;
if(av&&!window.Symbol.for){const a=new Map;window.Symbol.for=b=>{a.has(b)||a.set(b,Symbol(b));return a.get(b)}};var cv=({ReactiveElement:a})=>{if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){a=a.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(a);var b=a.cb;a.cb=function(){const e=this.localName;if(window.ShadyCSS.nativeShadow)return b.call(this);if(!this.constructor.hasOwnProperty("__scoped")){this.constructor.__scoped=!0;const g=this.constructor.Lu.map(l=>l instanceof CSSStyleSheet?Array.from(l.cssRules).reduce((n,
q)=>n+q.cssText,""):l.cssText);let h,k;null==(h=window.ShadyCSS)||null==(k=h.ScopingShim)||k.prepareAdoptedCssText(g,e);void 0===this.constructor.lH&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}let f;return null!=(f=this.shadowRoot)?f:this.attachShadow(this.constructor.ix)};var c=a.connectedCallback;a.connectedCallback=function(){c.call(this);this.Yh&&window.ShadyCSS.styleElement(this)};var d=a.vt;a.vt=function(e){this.Yh||window.ShadyCSS.styleElement(this);d.call(this,
e)}}},dv;null!=(dv=window).reactiveElementPolyfillSupport||(dv.reactiveElementPolyfillSupport=cv);var ev=({LitElement:a})=>{if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){a.lH=!0;a=a.prototype;var b=a.cb;a.cb=function(){this.Gq.scope=this.localName;return b.call(this)}}},fv;null!=(fv=window).litElementPolyfillSupport||(fv.litElementPolyfillSupport=ev);var gv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,hv={CONSTANT:{ri(a){return a instanceof _ds.sd},Ni:_ds.td},JAVASCRIPT:{ri(a){return a instanceof _ds.Dh},Ni:function(a){return a instanceof _ds.Dh&&a.constructor===_ds.Dh?a.g:"type_error:SafeScript"}},HTML:{ri(a){return a instanceof _ds.bi},Ni:a=>_ds.Hd(a)},RESOURCE_URL:{ri(a){return a instanceof _ds.Eh},Ni:function(a){return _ds.Nd(a)}},STRING:{ri(a){return a instanceof Object},Ni:$o},STYLE:{ri(a){return a instanceof _ds.Sh},Ni:function(a){return _ds.Th(a)}},
URL:{ri(a){return a instanceof _ds.qd},Ni:function(a){return _ds.rd(a)}}},iv={CONSTANT:ap,JAVASCRIPT:ap,HTML:a=>{var b={};a instanceof _ds.bi?b=a:(a=a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),b.FY&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 ")),b.EY&&(a=a.replace(/(\r\n|\n|\r)/g," ")),b.HY&&(a=a.replace(/(\t+)/g,'$1')),b=_ds.$d(a));return _ds.Hd(b)},RESOURCE_URL:ap,STRING:String,STYLE:ap,URL:(a,
b)=>{a=gv.test(a)?a:void 0;return void 0===a?b:a}};var jv={allowedIdentifierPrefixes:[""],reportHandler:function(){},safeTypesBridge:(a,b,c)=>{var d=hv[b];return d.ri(a)&&(d=d.Ni(a,c),d!==c)?d:(0,iv[b])(String($o(a)),c)}};var cp={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1,"aria-selected":1,
"aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1,id:10,ismap:1,itemid:1,itemprop:1,itemref:1,itemscope:1,
itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,poster:3,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:11,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,valign:1,value:1,width:1,wrap:1},bp={a:{href:[{pb:3}]},area:{href:[{pb:3}]},audio:{src:[{pb:3}]},button:{formaction:[{pb:3}],
formmethod:[{pb:1}]},form:{action:[{pb:3}],method:[{pb:1}]},iframe:{srcdoc:[{pb:2}]},img:{src:[{pb:3}]},input:{accept:[{pb:1}],formaction:[{pb:3}],formmethod:[{pb:1}],pattern:[{pb:1}],readonly:[{pb:1}],src:[{pb:3}]},link:{href:[{pb:3,Jc:"rel",Mc:"alternate"},{pb:3,Jc:"rel",Mc:"author"},{pb:3,Jc:"rel",Mc:"bookmark"},{pb:3,Jc:"rel",Mc:"canonical"},{pb:3,Jc:"rel",Mc:"cite"},{pb:3,Jc:"rel",Mc:"help"},{pb:3,Jc:"rel",Mc:"icon"},{pb:3,Jc:"rel",Mc:"license"},{pb:3,Jc:"rel",Mc:"next"},{pb:3,Jc:"rel",Mc:"prefetch"},
{pb:3,Jc:"rel",Mc:"dns-prefetch"},{pb:3,Jc:"rel",Mc:"prerender"},{pb:3,Jc:"rel",Mc:"preconnect"},{pb:3,Jc:"rel",Mc:"preload"},{pb:3,Jc:"rel",Mc:"prev"},{pb:3,Jc:"rel",Mc:"search"},{pb:3,Jc:"rel",Mc:"subresource"}]},script:{defer:[{pb:1}]},source:{src:[{pb:3}]},textarea:{readonly:[{pb:1}]},video:{src:[{pb:3}]}},tp={a:1,abbr:1,address:1,applet:4,area:5,article:1,aside:1,audio:1,b:1,base:4,bdi:1,bdo:1,blockquote:1,body:1,br:5,button:1,canvas:1,caption:1,center:1,cite:1,code:1,col:5,colgroup:1,command:1,
data:1,datalist:1,dd:1,del:1,details:1,dfn:1,dialog:1,div:1,dl:1,dt:1,em:1,embed:4,fieldset:1,figcaption:1,figure:1,font:1,footer:1,form:1,frame:1,frameset:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,head:1,header:1,hr:5,html:1,i:1,iframe:1,img:5,input:5,ins:1,kbd:1,label:1,legend:1,lh:1,li:1,link:5,main:1,map:1,mark:1,math:4,menu:1,meta:4,meter:1,nav:1,noscript:1,object:4,ol:1,optgroup:1,option:1,output:1,p:1,param:5,picture:1,pre:1,progress:1,q:1,rb:1,rp:1,rt:1,rtc:1,ruby:1,s:1,samp:1,script:3,section:1,select:1,
slot:1,small:1,source:5,span:1,strong:1,style:2,sub:1,summary:1,sup:1,svg:4,table:1,tbody:1,td:1,template:4,textarea:6,tfoot:1,th:1,thead:1,time:1,title:6,tr:1,track:5,u:1,ul:1,"var":1,video:1,wbr:5},Dp=[{auto:!0,ltr:!0,rtl:!0},{async:!0},{eager:!0,lazy:!0},{_self:!0,_blank:!0}],Cp={"*":{async:1,dir:0,loading:2,target:3}};var lp="aLink accessKey allowFullscreen bgColor cellPadding cellSpacing codeBase codeType contentEditable crossOrigin dateTime dirName formAction formEnctype formMethod formNoValidate formTarget frameBorder innerHTML innerText inputMode isMap longDesc marginHeight marginWidth maxLength mediaGroup minLength noHref noResize noShade noValidate noWrap nodeValue outerHTML outerText readOnly tabIndex textContent trueSpeed useMap vAlign vLink valueAsDate valueAsNumber valueType".split(" "),kp={accept_charset:"acceptCharset",
"char":"ch",charoff:"chOff",checked:"defaultChecked","class":"className","for":"htmlFor",http_equiv:"httpEquiv",muted:"defaultMuted",selected:"defaultSelected",value:"defaultValue"},jp=null,ep=null;var mp={},np=RegExp("^(?!(?:annotation-xml|color-profile|font-face|font-face(?:-(?:src|uri|format|name))?|missing-glyph)$)[a-z][a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*-[\\-a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*$");var up={text:1},qp={audio:{currentTime:1,srcObject:1},video:{currentTime:1,srcObject:1}};var Ep=/(?!,)([^\t\n\f\r ]+)(?:[\t\n\f\r ]+([.0-9+\-]+[a-z]?))?/gi,vp=/[\t\n\f\r ]+/,xp=/[\t\n\f\r ,]+/g,kv=(a,b,c)=>c,Fp={},{rE:Ap,qE:Bp,sE:zp}=function(){var a=(()=>{const d={createHTML:()=>"zClosurez",createScript:()=>" /*zClosurez*/ ",createScriptURL:()=>"about:invalid#zClosurez"};return"undefined"!==typeof trustedTypes?trustedTypes.createPolicy("polymer_resin",d):d})();const b=a.createHTML(""),c=a.createScript("");a=a.createScriptURL("");return{rE:b,qE:c,sE:a}}();/*
Copyright 2019 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
var lv=function(){function a(k){const l=k.localName;if(!k.getAttribute("is")&&2===op(l,k.constructor)){let n;return null!=(n=h)?n:h=document.createElement("polyresinuncustomized")}(k=g[l])||(k=g[l]=document.createElement(l));return k}let b=jv.reportHandler||void 0;const c=jv.safeTypesBridge||kv;let d=/^$/;const e=jv.allowedIdentifierPrefixes;if(e)for(const k of e)d=new RegExp(d.source+"|^"+_ds.mj(k));b&&b(!1,"initResin",null);const f=Gp(d,c,b),g={};let h=null;return function(k,l,n){var q=k.nodeType;
if(q!==Node.ELEMENT_NODE){if(q===Node.TEXT_NODE){l=k.parentElement;n=!l;if(l&&l.nodeType===Node.ELEMENT_NODE){q=l.localName;var w=op(q,l.constructor);switch(w){case 0:case 1:l=sp(q,l);n=1===l||6===l;break;case 3:case 2:n=!0;break;default:_ds.Md(w,"got an unknown element classification")}}if(n)return D=>""+c(D,"STRING",D)}return D=>{if(!D&&D!==document.all)return D;b&&b(!0,`Failed to sanitize ${k.parentElement&&k.parentElement.nodeName} #text node to value ${D}`,k.parentElement);return Ap}}const A=
k.localName;q=a(k);let z=null;switch(n){case "attribute":if(hp(l)in q)break;return D=>D;case "property":if(l in q){z=rp(q,l);break}if((w=ip(l))&&w in q)break;return D=>D;default:_ds.Md(n,"got an unknown resin type, expected either 'property' or 'attribute'")}const F="attribute"===n?l.toLowerCase():gp(l);z||(z=dp(A,F,D=>{const R=k.getAttribute(D);return!R||/[\[\{]/.test(D)?null:R}));return D=>{var R=Fp;let K=null;if(!D&&D!==document.all)return D;if(null!=z){const da=f[z],la=da.Jf;K=da.If;la&&(R=c(D,
la,Fp));R===Fp&&(da.Me?(R=String(c(D,"STRING",D)),R=da.Me(A,F,R)):da.Le&&(R=da.Le(A,F,D,k)),R===K&&(R=Fp))}R===Fp&&(R=K||Ap,b&&b(!0,`Failed to sanitize attribute of <${A}>: <${A} ${F}="${D}">`,k));return R}}}();var mv,nv,ov,pv,qv,rv,sv,tv,uv,vv,wv,xv,yv,Ip,zv,Av,Bv,Cv,Dv,Ev,Fv,Gv,Hv,Iv,Jv,Kv,Rv,Sv,Pv,Ov,Lv,Mv,Nv,Qv,Tv,Uv,Wv;pv=(null==(mv=_ds.p.ShadyDOM)?0:mv.inUse)&&(!0===(null==(nv=_ds.p.ShadyDOM)?void 0:nv.noPatch)||"on-demand"===(null==(ov=_ds.p.ShadyDOM)?void 0:ov.noPatch))?_ds.p.ShadyDOM.wrap:a=>a;qv=_ds.p.trustedTypes;rv=qv?qv.createPolicy("lit-html",{createHTML:a=>a}):void 0;sv=a=>a;tv=()=>sv;uv=new Map;vv=`lit$${String(Math.random()).slice(9)}$`;wv="?"+vv;xv=`<${wv}>`;yv=document;
Ip=a=>null===a||"object"!=typeof a&&"function"!=typeof a||bv(a);zv=Array.isArray;Av=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;Bv=/--\x3e/g;Cv=/>/g;Dv=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g");Ev=/'/g;Fv=/"/g;Gv=/^(?:script|style|textarea|title)$/i;_ds.P=(a,...b)=>({_$litType$:1,strings:a,values:b});Hv=(a,...b)=>({_$litType$:2,strings:a,values:b});_ds.Hp=Symbol.for?Symbol.for("lit-noChange"):Symbol("lit-noChange");
_ds.ps=Symbol.for?Symbol.for("lit-nothing"):Symbol("lit-nothing");Iv=new WeakMap;Jv=yv.createTreeWalker(yv,129);
Kv=class{constructor({strings:a,_$litType$:b},c){this.qq=[];let d=0,e=0;const f=a.length-1,g=this.qq;var h=a.length-1,k=[];let l=2===b?"":"");if(!Array.isArray(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");a=[void 0!==rv?rv.createHTML(h):h,k];const [A,z]=a;this.el=Kv.createElement(A,c);Jv.currentNode=
this.el.content;2===b&&(b=this.el.content.firstChild,b.replaceWith(...b.childNodes));for(;null!==(b=Jv.nextNode())&&g.length{var d;const e=null!=(d=null==c?void 0:c.Fq)?d:b;d=e._$litPart$;if(void 0===d){let f;d=null!=(f=null==c?void 0:c.Fq)?f:null;e._$litPart$=d=new Pv(b.insertBefore(yv.createComment(""),d),d,void 0,null!=c?c:{})}d.Td(a);return d};var Xv,Yv,Zv,$v,bw,cw;Xv=_ds.p.ShadowRoot&&(void 0===_ds.p.ShadyCSS||_ds.p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Yv=Symbol();Zv=new WeakMap;
$v=class{constructor(a,b){this._$cssResult$=!0;if(Yv!==Yv)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a;this.h=b}get g(){let a=this.j;const b=this.h;if(Xv&&void 0===a){const c=void 0!==b&&1===b.length;c&&(a=Zv.get(b));void 0===a&&((this.j=a=new CSSStyleSheet).replaceSync(this.cssText),c&&Zv.set(b,a))}return a}toString(){return this.cssText}};
_ds.aw=a=>{var b=[];return function(){const c=1===a.length?a[0]:b.reduce((d,e,f)=>{if(!0===e._$cssResult$)e=e.cssText;else if("number"!==typeof e)throw Error("Value passed to 'css' function must be a 'css' function result: "+`${e}. Use 'unsafeCSS' to pass non-literal values, but take care `+"to ensure page security.");return d+e+a[f+1]},a[0]);return new $v(c,a)}()};
bw=(a,b)=>{if(Xv)a.adoptedStyleSheets=b.map(c=>c instanceof CSSStyleSheet?c:c.g);else for(const c of b){b=document.createElement("style");const d=_ds.p.litNonce;void 0!==d&&b.setAttribute("nonce",d);b.textContent=c.cssText;a.appendChild(b)}};cw=Xv?a=>a:a=>{if(a instanceof CSSStyleSheet){let b="";for(const c of a.cssRules)b+=c.cssText;a=new $v("string"===typeof b?b:String(b))}return a};var dw,ew,fw,gw,hw,iw,Ur,Tr,Rp,mw;_ds.wh();dw=_ds.uh();ew=_ds.p.trustedTypes;fw=ew?ew.emptyScript:"";gw=_ds.p.reactiveElementPolyfillSupport;hw={KC(a,b){switch(b){case Boolean:a=a?fw:null;break;case Object:case Array:a=null==a?a:JSON.stringify(a)}return a},Wu(a,b){let c=a;switch(b){case Boolean:c=null!==a;break;case Number:c=null===a?null:Number(a);break;case Object:case Array:try{c=JSON.parse(a)}catch(d){c=null}}return c}};iw=(a,b)=>b!==a&&(b===b||a===a);Ur={Da:!0,type:String,xj:hw,Ma:!1,JJ:iw};
Tr=function(a,b,c){return{get(){return this[b]},set(d){const e=this[a];this[b]=d;_ds.jw(this,a,e,c)},configurable:!0,enumerable:!0}};Rp=function(a,b,c=Ur){c.state&&(c.Da=!1);a.Xb();a.Rg.set(b,c);c.AY||a.prototype.hasOwnProperty(b)||(c=Tr(b,Symbol(),c),void 0!==c&&Object.defineProperty(a.prototype,b,c))};
_ds.jw=function(a,b,c,d){let e=!0;void 0!==b&&(d=d||a.constructor.Rg.get(b)||Ur,(d.JJ||iw)(a[b],c)?(a.Io.has(b)||a.Io.set(b,c),!0===d.Ma&&a.ij!==b&&(void 0===a.rl&&(a.rl=new Map),a.rl.set(b,d))):e=!1);!a.Cm&&e&&(a.zt=a.nH())};_ds.kw=function(a){if(a.Cm){a.Ko&&(a.Ko=a.Ko.forEach((d,e)=>a[e]=d));var b=!1,c=a.Io;try{if(b=a.zC(c)){a.Ir();let d;null==(d=a.jl)||d.forEach(e=>{let f;return null==(f=e.mY)?void 0:f.call(e)});a.update(c)}else a.xt()}catch(d){throw b=!1,a.xt(),d;}b&&a.vt(c)}};
mw=class extends dw{static get observedAttributes(){this.Xb();const a=[];for(const [b,c]of this.Rg){const d=b,e=this.ez(d,c);void 0!==e&&(this.fz.set(e,d),a.push(e))}return a}static Xb(){lw();if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var a=Object.getPrototypeOf(this);a.Xb();void 0!==a.Bt&&(this.Bt=[...a.Bt]);this.Rg=new Map(a.Rg);this.fz=new Map;if(this.hasOwnProperty("properties")){a=this.properties;const c=[...Object.getOwnPropertyNames(a),...Object.getOwnPropertySymbols(a)];
for(var b of c)Rp(this,b,a[b])}a=this.styles;b=[];if(Array.isArray(a)){a=new Set(a.flat(Infinity).reverse());for(const c of a)b.unshift(cw(c))}else void 0!==a&&b.push(cw(a));this.Lu=b;return!0}static ez(a,b){b=b.Da;return!1===b?void 0:"string"===typeof b?b:"string"===typeof a?a.toLowerCase():void 0}constructor(){super();this.Ko=new Map;this.Yh=this.Cm=!1;this.ij=null;this.sH()}sH(){this.zt=new Promise(b=>this.aA=b);this.Io=new Map;this.pH();_ds.jw(this);let a;null==(a=this.constructor.Bt)||a.forEach(b=>
b(this))}pH(){const a=this.constructor.Rg;for(const b of a.keys())this.hasOwnProperty(b)&&(this.Ko.set(b,this[b]),delete this[b])}cb(){let a;const b=null!=(a=this.shadowRoot)?a:this.attachShadow(this.constructor.ix);bw(b,this.constructor.Lu);return b}connectedCallback(){void 0===this.zd&&(this.zd=this.cb());this.aA(!0);let a;null==(a=this.jl)||a.forEach(b=>{let c;return null==(c=b.cB)?void 0:c.call(b)})}aA(){}disconnectedCallback(){let a;null==(a=this.jl)||a.forEach(b=>{let c;return null==(c=b.PJ)?
void 0:c.call(b)})}attributeChangedCallback(a,b,c){this.kH(a,c)}oH(a,b,c=Ur){const d=this.constructor.ez(a,c);if(void 0!==d&&!0===c.Ma){let e;const f=(void 0!==(null==(e=c.xj)?void 0:e.KC)?c.xj:hw).KC(b,c.type);this.ij=a;null==f?this.removeAttribute(d):this.setAttribute(d,f);this.ij=null}}kH(a,b){var c=this.constructor;a=c.fz.get(a);if(void 0!==a&&this.ij!==a){c=c.Rg.get(a)||Ur;let d;const e="function"===typeof c.xj?{Wu:c.xj}:void 0!==(null==(d=c.xj)?void 0:d.Wu)?c.xj:hw;this.ij=a;this[a]=e.Wu(b,
c.type);this.ij=null}}async nH(){this.Cm=!0;try{await this.zt}catch(b){this.VY||Promise.reject(b)}const a=_ds.kw(this);null!=a&&await a;return!this.Cm}Ir(){}vt(a){let b;null==(b=this.jl)||b.forEach(c=>{let d;return null==(d=c.nY)?void 0:d.call(c)});this.Yh||(this.Yh=!0,this.eb(a));this.updated(a)}xt(){this.Io=new Map;this.Cm=!1}get ub(){return this.Uh()}Uh(){return this.zt}zC(){return!0}update(){this.rl&&(this.rl=this.rl.forEach((a,b)=>this.oH(b,this[b],a)));this.xt()}updated(){}eb(){}};
mw.finalized=!0;mw.Rg=new Map;mw.Lu=[];mw.ix={mode:"open"};null==gw||gw({ReactiveElement:mw});var lw=()=>{let a;(null!=(a=_ds.p.reactiveElementVersions)?a:_ds.p.reactiveElementVersions=[]).push("2.0.0-pre.0");lw=()=>{}};_ds.ow=class extends mw{constructor(){super(...arguments);this.Gq={host:this};this.Ba=void 0}cb(){const a=super.cb();let b;null!=(b=this.Gq).Fq||(b.Fq=a.firstChild);return a}update(a){const b=this.render();this.Yh||(this.Gq.isConnected=this.isConnected);super.update(a);this.Ba=_ds.Vv(b,this.zd,this.Gq)}connectedCallback(){super.connectedCallback();let a;null==(a=this.Ba)||Sv(a,!0)}disconnectedCallback(){super.disconnectedCallback();let a;null==(a=this.Ba)||Sv(a,!1)}render(){return _ds.Hp}static Xb(){nw();
return mw.Xb.call(this)}};_ds.ow.finalized=!0;_ds.ow._$litElement$=!0;var pw;null==(pw=window.litElementPolyfillSupport)||pw({LitElement:_ds.ow});var nw=()=>{let a,b;(null!=(b=(a=window).litElementVersions)?b:a.litElementVersions=[]).push("4.0.0-pre.0");nw=()=>{}};_ds.qw=function(a){a=new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:Array.isArray(a)?a:[a]});document.body.dispatchEvent(a)};_ds.rw=function(a,b,c,d=a){b instanceof _ds.oi&&(b=b.toString());a.m(d,b,c)};_ds.sw=class extends _ds.ow{constructor(a=null){super();this.m=()=>{};a&&a.length&&_ds.qw(a)}Za(a){this.dispatchEvent(_ds.pd(a))}};var tw=_ds.aw(['.mdc-tooltip__surface,.mdc-tooltip__surface .mdc-tooltip__title{font-family:Roboto,sans-serif;text-decoration:inherit;text-transform:inherit}.mdc-tooltip__surface,.mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl],.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl],[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip__caret-surface-bottom{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mdc-tooltip__caret-surface-bottom,.mdc-tooltip__caret-surface-top,.mdc-tooltip__surface{border-radius:4px;border-radius:var(--mdc-shape-small,4px)}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break,normal);overflow-wrap:anywhere;font-family:var(--mdc-typography-caption-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size,.75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing,.0333333333em);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:var(--mdc-typography-caption-text-transform,inherit);line-height:16px;padding:10px 20px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{-webkit-transition:opacity .15s cubic-bezier(0,0,.2,1),-webkit-transform .15s cubic-bezier(0,0,.2,1);transition:opacity .15s cubic-bezier(0,0,.2,1),transform .15s cubic-bezier(0,0,.2,1),-webkit-transform .15s cubic-bezier(0,0,.2,1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{-webkit-transition:opacity 75ms cubic-bezier(.4,0,1,1);transition:opacity 75ms cubic-bezier(.4,0,1,1)}::slotted(.mdc-tooltip__title){color:var(--tenant-primary-text-color-1)}::slotted(.mdc-tooltip__content){color:var(--tenant-primary-text-color-1)}::slotted(.mdc-tooltip__content-link){color:var(--devsite-link-color)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface{background-color:var(--tenant-background-1)}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--hide,.mdc-tooltip--showing,.mdc-tooltip--shown{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.mdc-tooltip--hide.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--shown.mdc-tooltip--rich{display:inline-block;left:-400px;position:absolute}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay,.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__surface:before{width:100%;height:100%;top:0;left:0}.mdc-tooltip__surface:before{position:absolute;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--rich .mdc-tooltip__surface{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;border-radius:10px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;line-height:20px;min-height:24px;min-width:40px;max-width:400px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}.mdc-tooltip__surface .mdc-tooltip__title{display:block;font-family:var(--mdc-typography-subtitle2-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size,.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height,1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight,500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing,.0071428571em);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-transform:var(--mdc-typography-subtitle2-text-transform,inherit);margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__title:before{display:inline-block;width:0;height:18px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size,.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height,1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing,.0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);max-width:calc(100% - 16px);margin:8px;text-align:left}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions{z-index:1;width:100%}.mdc-tooltip__surface-animation{opacity:0;-webkit-transform:scale(.8);transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{-webkit-transform:scale(1);transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{-webkit-transform:scale(1);transform:scale(1)}.mdc-tooltip__caret-surface-bottom,.mdc-tooltip__caret-surface-top{position:absolute;height:24px;width:24px;-webkit-transform:rotate(35deg) skewY(20deg) scaleX(.9396926208);transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-bottom{outline:transparent solid 1px;z-index:-1}@media screen and (forced-colors:active){.mdc-tooltip__surface:before{border-color:CanvasText}.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}']);_ds.uw=a=>(...b)=>({_$litDirective$:a,values:b});_ds.vw=class{get Sd(){return this.Dc.Sd}wt(a,b,c){this.j=a;this.Dc=b;this.xa=c}mH(a,b){return this.update(a,b)}update(a,b){return this.render(...b)}};_ds.ww=_ds.uw(class extends _ds.vw{constructor(a){super();let b;if(1!==a.type||"class"!==a.name||2<(null==(b=a.strings)?void 0:b.length))throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");}render(a){return" "+Object.keys(a).filter(b=>a[b]).join(" ")+" "}update(a,[b]){if(void 0===this.g){this.g=new Set;void 0!==a.strings&&(this.h=new Set(a.strings.join(" ").split(/\s/).filter(d=>""!==d)));for(const d in b){let e;!b[d]||(null==(e=this.h)?
0:e.has(d))||this.g.add(d)}return this.render(b)}a=a.element.classList;for(var c of this.g)c in b||(a.remove(c),this.g.delete(c));for(const d in b){c=!!b[d];let e;c===this.g.has(d)||null!=(e=this.h)&&e.has(d)||(c?(a.add(d),this.g.add(d)):(a.remove(d),this.g.delete(d)))}return _ds.Hp}});var xw=class{static get g(){return{}}static get strings(){return{}}static get j(){return{}}static get h(){return{}}constructor(a={}){this.g=a}init(){}destroy(){}};var yw=function(a,b){var c={};let d;"function"===typeof CustomEvent?d=new CustomEvent(b,{bubbles:!1,detail:c}):(d=document.createEvent("CustomEvent"),d.initCustomEvent(b,!1,!1,c));a.root.dispatchEvent(d)},zw=class{constructor(a,b,...c){this.root=a;this.j(...c);this.h=void 0===b?this.ra():b;this.h.init();this.Ca()}j(){}ra(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");}Ca(){}destroy(){this.h.destroy()}listen(a,b,c){this.root.addEventListener(a,
b,c)}};var Aw=function(a){a.g.forEach((b,c)=>{a.cancel(c)})},Bw=class{constructor(){this.g=new Map}request(a,b){this.cancel(a);const c=requestAnimationFrame(d=>{this.g.delete(a);b(d)});this.g.set(a,c)}cancel(a){const b=this.g.get(a);b&&(cancelAnimationFrame(b),this.g.delete(a))}};var Kp={animation:{Ew:"-webkit-animation",ux:"animation"},transform:{Ew:"-webkit-transform",ux:"transform"},transition:{Ew:"-webkit-transition",ux:"transition"}};var Mp=new Set;Mp.add("Backspace");Mp.add("Enter");Mp.add("Spacebar");Mp.add("PageUp");Mp.add("PageDown");Mp.add("End");Mp.add("Home");Mp.add("ArrowLeft");Mp.add("ArrowUp");Mp.add("ArrowRight");Mp.add("ArrowDown");Mp.add("Delete");Mp.add("Escape");Mp.add("Tab");var Np=new Map;Np.set(8,"Backspace");Np.set(13,"Enter");Np.set(32,"Spacebar");Np.set(33,"PageUp");Np.set(34,"PageDown");Np.set(35,"End");Np.set(36,"Home");Np.set(37,"ArrowLeft");Np.set(38,"ArrowUp");Np.set(39,"ArrowRight");Np.set(40,"ArrowDown");
Np.set(46,"Delete");Np.set(27,"Escape");Np.set(9,"Tab");var Cw=new Set;Cw.add("PageUp");Cw.add("PageDown");Cw.add("End");Cw.add("Home");Cw.add("ArrowLeft");Cw.add("ArrowUp");Cw.add("ArrowRight");Cw.add("ArrowDown");var Dw="undefined"!==typeof window,Fw=function(a){Ew(a);a.ra=setTimeout(()=>{a.Zb()},600)},Iw=function(a){a.Ya.request("poll_anchor",()=>{const b=a.g.ev();if(b&&a.j){var c=a.g.Vh();0>b.top+b.height||b.bottom-b.height>=c||b.top===a.j.top&&b.left===a.j.left&&b.height===a.j.height&&b.width===a.j.width||(a.j=b,a.xa=a.g.pv(),a.h?Gw(a):Hw(a))}})},Jw=function(a){a.ra&&(clearTimeout(a.ra),a.ra=null)},Kw=function(a){a.m?a.show():(Jw(a),a.v=setTimeout(()=>{a.show()},500))},Lw=function(a){a.v=setTimeout(()=>
{a.show()},500);a.g.fh("contextmenu",a.Ea)},Mw=function(a,b){return a.g.Tp(b)&&a.g.Cr(b)},Nw=function(a,b){return a.g.Tp(b)&&(a.g.Cr(b)||a.g.yz(b))},Ew=function(a){a.v&&(clearTimeout(a.v),a.v=null)},Ow=function(a,b){Mw(a,b.relatedTarget)||(a.v=setTimeout(()=>{a.show()},500))},Pw=function(a){Ew(a);a.ra=setTimeout(()=>{a.Zb()},600)},Qw=function(a){a=a.g.Yd();return 24z.size&&(A=!a.g.ym(),0>c.left?(z=8+d,A=A?3:1):(z=a.g.Sg()-(e.width+8+d),A=A?1:3),0>c.top?(c=8+d,e=2):(c=a.g.Vh()-(e.height+8+d),e=1),
e=Rw(A,e),z=new Map([[e,{Ri:z,Si:c}]]));var {position:F,Ri:D,Si:R}=Sw(z);if(b=Tw(a,F,{Hz:b,IX:d})){a.g.fu();a.g.qk(b.Qd,b.Be);a.g.qk(b.Pd,b.Ae);a.g.qk("transform",`rotate(${b.rotation}deg) skewY(${b.Od}deg) scaleX(${Math.cos(Math.PI/180*b.Od)})`);a.g.qk("transform-origin",`${b.Pd} ${b.Qd}`);for(K of b.Vd)a.g.qk(K,"0");var K={bc:b.bc,Jb:b.Jb}}else K={bc:0,Jb:0};var {bc:da,Jb:la}=K;K={bc:da,Jb:la,top:R,left:D}}else K={position:0,top:0,left:0}}else K=Uw(a,a.j);const {top:pa,bc:ba,left:xa,Jb:Pa}=K;K=
Dw?Lp():"transform";a.g.hx(`${K}-origin`,`${Pa} ${ba}`);var qb;let wb;K=xa-(null!=(wb=null==(qb=a.xa)?void 0:qb.left)?wb:0);let Za,Db;qb=pa-(null!=(Db=null==(Za=a.xa)?void 0:Za.top)?Db:0);a.g.nh("top",`${qb}px`);a.g.nh("left",`${K}px`)},Hw=function(a){const {top:b,bc:c,left:d,Jb:e}=Uw(a,a.j),f=Dw?Lp():"transform";a.g.hx(`${f}-origin`,`${e} ${c}`);a.g.nh("top",`${b}px`);a.g.nh("left",`${d}px`)},Vw=function(a){a.g.Ra("mdc-tooltip--showing-transition");a.g.Ra("mdc-tooltip--hide-transition")},Uw=function(a,
b){if(!b)return{top:0,left:0};const c=a.g.Yd();var d=b.bottom+4;const e=b.top-(4+c.height),f=Ww(a,...[e,d]);d=f.has(d)?{distance:d,bc:"top"}:f.has(e)?{distance:e,bc:"bottom"}:{distance:d,bc:"top"};a=Xw(a,b,c.width);return{top:d.distance,bc:d.bc,left:a.distance,Jb:a.Jb}},Xw=function(a,b,c){var d=!a.g.ym();let e,f,g;if(a.h){var h=d?b.left-c:b.right;e=d?b.right:b.left-c;g=d?"right":"left";d=d?"left":"right"}else h=d?b.left:b.right-c,e=d?b.right-c:b.left,f=b.left+(b.width-c)/2,g=d?"left":"right",d=d?
"right":"left";const k=[h,f,e],l=a.h?Yw(a,h,e):Yw(a,...k);return(h=(a.h?[{distance:e,Jb:d},{distance:h,Jb:g}]:[{distance:f,Jb:"center"},{distance:h,Jb:g},{distance:e,Jb:d}]).find(({distance:n})=>l.has(n)))?h:0>b.left?{distance:8,Jb:"left"}:{distance:a.g.Sg()-(c+8),Jb:"right"}},Yw=function(a,...b){const c=new Set,d=new Set;for(const e of b)e+a.g.Yd().width<=a.g.Sg()-8&&8<=e?c.add(e):e+a.g.Yd().width<=a.g.Sg()&&0<=e&&d.add(e);return c.size?c:d},Ww=function(a,...b){const c=new Set,d=new Set;for(const e of b)e+
a.g.Yd().height+8<=a.g.Vh()&&8<=e?c.add(e):e+a.g.Yd().height<=a.g.Vh()&&0<=e&&d.add(e);return c.size?c:d},Sw=function(a){if(a.has(0)){var b=a.get(0);return{position:0,Ri:b.Ri,Si:b.Si}}b=[1,2,3,4,5,6,7,8,9,10,11,12].find(d=>a.has(d));const c=a.get(b);return{position:b,Ri:c.Ri,Si:c.Si}},Rw=function(a,b){switch(b){case 1:if(1===a)return 1;if(2===a)return 2;if(3===a)return 3;break;case 2:if(1===a)return 10;if(2===a)return 11;if(3===a)return 12;break;case 3:if(4===a)return 4;if(5===a)return 7;break;case 4:if(4===
a)return 5;if(5===a)return 8;break;case 5:if(4===a)return 6;if(5===a)return 9}throw Error(`MDCTooltipFoundation: Invalid caret position of ${a}, ${b}`);},Tw=function(a,b,c){const d=!a.g.ym(),e=a.g.Fp("width");a=a.g.Fp("height");if(e&&a&&c){var f=`calc((${e} - ${c.Hz}px) / 2)`;c=`calc((${a} - ${c.Hz}px) / 2)`;var g=`calc(${e} - ${"24px"})`,h=`calc(${a} - ${"24px"})`,k=["border-bottom-right-radius","border-top-left-radius"],l=["border-bottom-left-radius","border-top-right-radius"];switch(b){case 11:return{Qd:"top",
Pd:"left",Be:"0",Ae:f,rotation:-35,Od:-20,Jb:f,bc:"0",Vd:k};case 12:return{Qd:"top",Pd:d?"right":"left",Be:"0",Ae:"24px",rotation:d?35:-35,Od:d?20:-20,Jb:d?g:"24px",bc:"0",Vd:d?l:k};case 10:return{Qd:"top",Pd:d?"left":"right",Be:"0",Ae:"24px",rotation:d?-35:35,Od:d?-20:20,Jb:d?"24px":g,bc:"0",Vd:d?k:l};case 7:return{Qd:"top",Pd:d?"left":"right",Be:"24px",Ae:"0",rotation:d?55:-55,Od:d?-20:20,Jb:d?"0":e,bc:"24px",Vd:d?k:l};case 8:return{Qd:"top",Pd:d?"left":"right",Be:c,Ae:"0",rotation:d?55:-55,Od:d?
-20:20,Jb:d?"0":e,bc:c,Vd:d?k:l};case 9:return{Qd:"bottom",Pd:d?"left":"right",Be:"24px",Ae:"0",rotation:d?-55:55,Od:d?20:-20,Jb:d?"0":e,bc:h,Vd:d?l:k};case 4:return{Qd:"top",Pd:d?"right":"left",Be:"24px",Ae:"0",rotation:d?-55:55,Od:d?20:-20,Jb:d?e:"0",bc:"24px",Vd:d?l:k};case 5:return{Qd:"top",Pd:d?"right":"left",Be:c,Ae:"0",rotation:d?-55:55,Od:d?20:-20,Jb:d?e:"0",bc:c,Vd:d?l:k};case 6:return{Qd:"bottom",Pd:d?"right":"left",Be:"24px",Ae:"0",rotation:d?55:-55,Od:d?-20:20,Jb:d?e:"0",bc:h,Vd:d?k:l};
case 2:return{Qd:"bottom",Pd:"left",Be:"0",Ae:f,rotation:35,Od:20,Jb:f,bc:a,Vd:l};case 3:return{Qd:"bottom",Pd:d?"right":"left",Be:"0",Ae:"24px",rotation:d?-35:35,Od:d?-20:20,Jb:d?g:"24px",bc:a,Vd:d?k:l};default:case 1:return{Qd:"bottom",Pd:d?"left":"right",Be:"0",Ae:"24px",rotation:d?35:-35,Od:d?20:-20,Jb:d?"24px":g,bc:a,Vd:d?l:k}}}},Zw=class extends xw{static get h(){return{getAttribute:()=>null,setAttribute:()=>{},removeAttribute:()=>{},ib:()=>{},Yb:()=>!1,Ra:()=>{},Fp:()=>"",nh:()=>{},hx:()=>
{},Sg:()=>0,Vh:()=>0,Yd:()=>({width:0,height:0}),ev:()=>({top:0,right:0,bottom:0,left:0,width:0,height:0}),pv:()=>({top:0,right:0,bottom:0,left:0,width:0,height:0}),bv:()=>null,Yw:()=>null,ym:()=>!1,yz:()=>!1,Cr:()=>!1,eA:()=>{},Ei:()=>{},sf:()=>{},dC:()=>{},Fu:()=>{},Ow:()=>{},Ml:()=>{},fh:()=>{},Ie:()=>{},CB:()=>{},EB:()=>{},yA:()=>({top:0,right:0,bottom:0,left:0,width:0,height:0}),qk:()=>{},fu:()=>{},Ep:()=>null,Tp:()=>!1}}constructor(a){super(Object.assign({},Zw.h,a));this.m=!1;this.v=this.ra=
this.ea=this.xa=this.j=null;this.qb=[];this.jb=[];this.Ya=new Bw;this.ya=b=>{this.h&&(null===b.relatedTarget||Mw(this,b.relatedTarget))||this.Zb()};this.Ba=b=>{this.h&&this.oa&&Nw(this,b.target)||this.Zb()};this.Ca=b=>{if("Escape"===Op(b)){const c=this.g.Ep();let d=!1;this.g.Tp(c)&&(d=this.g.Cr(c));d&&this.g.eA();this.Zb();b.stopPropagation()}};this.La=()=>{this.show()};this.Ka=()=>{Fw(this)};this.Ga=b=>{Nw(this,b.relatedTarget)||null===b.relatedTarget&&this.Fa||this.Zb()};this.Qa=()=>{this.oa||this.Zb()};
this.Na=()=>{Iw(this)}}init(){this.h=this.g.Yb("mdc-tooltip--rich");this.oa="true"===this.g.getAttribute("data-mdc-tooltip-persistent");this.Fa=!!this.g.bv("aria-expanded")&&"dialog"===this.g.bv("aria-haspopup");this.Eb=this.h&&"true"===this.g.getAttribute("data-mdc-tooltip-has-caret")}isPersistent(){return this.oa}Ea(a){a.preventDefault()}show(){Jw(this);Ew(this);if(!this.m){this.m=!0;this.g.removeAttribute("aria-hidden");this.h&&(this.Fa&&this.g.Yw("aria-expanded","true"),this.g.Ei("focusout",this.Ga));
this.oa||(this.g.Ei("mouseenter",this.La),this.g.Ei("mouseleave",this.Ka));this.g.Ra("mdc-tooltip--hide");this.g.ib("mdc-tooltip--showing");Qw(this)&&!this.h&&this.g.ib("mdc-tooltip--multiline");this.j=this.g.ev();this.xa=this.g.pv();this.h?Gw(this):Hw(this);this.g.dC("blur",this.ya);this.g.Ow("click",this.Ba);this.g.Ow("keydown",this.Ca);this.g.fh("scroll",this.Qa);this.g.fh("resize",this.Na);for(const a of this.qb)a();this.ea=requestAnimationFrame(()=>{Vw(this);this.g.ib("mdc-tooltip--shown");this.g.ib("mdc-tooltip--showing-transition")})}}Zb(){Jw(this);
Ew(this);if(this.m){this.ea&&cancelAnimationFrame(this.ea);this.m=!1;this.g.setAttribute("aria-hidden","true");this.g.sf("focusout",this.Ga);this.h&&this.Fa&&this.g.Yw("aria-expanded","false");this.oa||(this.g.sf("mouseenter",this.La),this.g.sf("mouseleave",this.Ka));Vw(this);this.g.ib("mdc-tooltip--hide");this.g.ib("mdc-tooltip--hide-transition");this.g.Ra("mdc-tooltip--shown");this.g.Fu("blur",this.ya);this.g.Ml("click",this.Ba);this.g.Ml("keydown",this.Ca);this.g.Ie("scroll",this.Qa);this.g.Ie("resize",
this.Na);this.g.Ie("contextmenu",this.Ea);for(const a of this.jb)a()}}destroy(){this.ea&&(cancelAnimationFrame(this.ea),this.ea=null);Jw(this);Ew(this);this.g.Ra("mdc-tooltip--shown");this.g.Ra("mdc-tooltip--showing-transition");this.g.Ra("mdc-tooltip--showing");this.g.Ra("mdc-tooltip--hide");this.g.Ra("mdc-tooltip--hide-transition");this.h&&this.g.sf("focusout",this.Ga);this.oa||(this.g.sf("mouseenter",this.La),this.g.sf("mouseleave",this.Ka));this.g.Fu("blur",this.ya);this.g.Ml("click",this.Ba);
this.g.Ml("keydown",this.Ca);this.g.Ie("scroll",this.Qa);this.g.Ie("resize",this.Na);for(const a of this.jb)a();Aw(this.Ya)}};var $w=[(0,_ds.r)`aria-`],ax=class extends zw{j(){var a=this.root.getAttribute("id");if(!a)throw Error("MDCTooltip: Tooltip component must have an id.");a=document.querySelector(`[data-tooltip-id="${a}"]`)||document.querySelector(`[aria-describedby="${a}"]`);if(!a)throw Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id].");this.g=a}Ca(){this.Ea=this.h.h;this.Fa=this.h.isPersistent();this.xa=()=>{Kw(this.h)};this.v=a=>{Ow(this.h,a)};
this.ea=()=>{Pw(this.h)};this.oa=()=>{var a=this.h;const b=a.g.Yb("mdc-tooltip--hide");a.g.Ra("mdc-tooltip--showing");a.g.Ra("mdc-tooltip--showing-transition");a.g.Ra("mdc-tooltip--hide");a.g.Ra("mdc-tooltip--hide-transition");b&&null===a.v?a.g.CB():b||a.g.EB()};this.m=()=>{var a=this.h;a.m?a.Zb():a.show()};this.Ba=()=>{Lw(this.h)};this.ya=()=>{var a=this.h;Ew(a);a.m||a.g.Ie("contextmenu",a.Ea)};this.Ea&&this.Fa?this.g.addEventListener("click",this.m):(this.g.addEventListener("mouseenter",this.xa),
this.g.addEventListener("focus",this.v),this.g.addEventListener("mouseleave",this.ea),this.g.addEventListener("touchstart",this.Ba),this.g.addEventListener("touchend",this.ya));this.listen("transitionend",this.oa)}destroy(){this.g&&(this.Ea&&this.Fa?this.g.removeEventListener("click",this.m):(this.g.removeEventListener("mouseenter",this.xa),this.g.removeEventListener("focus",this.v),this.g.removeEventListener("mouseleave",this.ea),this.g.removeEventListener("touchstart",this.Ba),this.g.removeEventListener("touchend",
this.ya)));this.root.removeEventListener("transitionend",this.oa,void 0);super.destroy()}Zb(){this.h.Zb()}ra(){return new Zw({getAttribute:a=>this.root.getAttribute(a),setAttribute:(a,b)=>{_ds.Jd($w,this.root,a,b)},removeAttribute:a=>{this.root.removeAttribute(a)},ib:a=>{this.root.classList.add(a)},Yb:a=>this.root.classList.contains(a),Ra:a=>{this.root.classList.remove(a)},Fp:a=>window.getComputedStyle(this.root).getPropertyValue(a),nh:(a,b)=>{this.root.style.setProperty(a,b)},hx:(a,b)=>{let c;null==
(c=this.root.querySelector(".mdc-tooltip__surface-animation"))||c.style.setProperty(a,b)},Sg:()=>window.innerWidth,Vh:()=>window.innerHeight,Yd:()=>({width:this.root.offsetWidth,height:this.root.offsetHeight}),ev:()=>this.g?this.g.getBoundingClientRect():null,pv:()=>{let a,b;return null!=(b=null==(a=this.root.parentElement)?void 0:a.getBoundingClientRect())?b:null},bv:a=>this.g?this.g.getAttribute(a):null,Yw:(a,b)=>{this.g&&_ds.Jd($w,this.g,a,b)},ym:()=>"rtl"===getComputedStyle(this.root).direction,
yz:a=>{let b;return!(null==(b=this.g)||!b.contains(a))},Cr:a=>this.root.contains(a),eA:()=>{let a;null==(a=this.g)||a.focus()},Ei:(a,b)=>{this.root instanceof HTMLElement&&this.root.addEventListener(a,b)},sf:(a,b)=>{this.root instanceof HTMLElement&&this.root.removeEventListener(a,b)},dC:(a,b)=>{let c;null==(c=this.g)||c.addEventListener(a,b)},Fu:(a,b)=>{let c;null==(c=this.g)||c.removeEventListener(a,b)},Ow:(a,b)=>{document.body.addEventListener(a,b)},Ml:(a,b)=>{document.body.removeEventListener(a,
b)},fh:(a,b)=>{window.addEventListener(a,b)},Ie:(a,b)=>{window.removeEventListener(a,b)},CB:()=>{yw(this,"MDCTooltip:hidden")},EB:()=>{yw(this,"MDCTooltip:shown")},yA:()=>{const a=this.root.querySelector(".mdc-tooltip__caret-surface-top");return a?a.getBoundingClientRect():null},qk:(a,b)=>{const c=this.root.querySelector(".mdc-tooltip__caret-surface-top"),d=this.root.querySelector(".mdc-tooltip__caret-surface-bottom");c&&d&&(c.style.setProperty(a,b),d.style.setProperty(a,b))},fu:()=>{const a=this.root.querySelector(".mdc-tooltip__caret-surface-top"),
b=this.root.querySelector(".mdc-tooltip__caret-surface-bottom");a&&b&&(a.removeAttribute("style"),b.removeAttribute("style"))},Ep:()=>document.activeElement,Tp:a=>a instanceof Element})}};var dx=({Ki:a,Lj:b,isPersistent:c,Yl:d})=>(0,_ds.P)`
Would you like to receive emails regarding new features, events, badges, content, and research opportunities?
';
e='By creating a Developer Profile, you agree to the Content Policy. Google\'s Terms of Service and Privacy Policy apply to your use of this service. The name on your Google Account and the interests you selected will be used in your Google Developer Profile. Your name may appear where you contribute and can be changed at any time.');q+=e;q=q+'
'+
(TH()+"
");q=q+'Your Google Developer Profile has been created
")},YH=function(a){const b=a.url,c=a.Cf;a=a.type;let d=""+UH();switch(_ds.yb(a)?a.toString():a){case "view-rated-pages":d=d+'View your saved and rated pages on your Google Developer Profile.
',c='Note: The code examples available for this method do not represent all supported programming languages (see the client libraries page for a list of supported languages).'),a+=c,a+="
");a+='
';c=b.length;
for(let e=0;e
"+_ds.T(f.lang)+"
";if(f.pB){const g=f.pB,h=g.length;for(let k=0;k",d='Uses the ')+_ds.T(d.name)+".",a+=d,a+="")}}a+='
';
d?k?(d='You\'ve unlocked a new milestone: '+_ds.T(d)+"!",a+=d):g?(d='You earned the '+_ds.T(d)+" badge!",a+=d):(d='You\'re on your way to get the '+_ds.T(d)+" badge!",a+=d):a=k?a+"Congratulations! You've unlocked a new milestone!":g?a+"Congratulations! You earned a new badge!":a+"You're on your way to get a new badge!";a+="
";q?a+='
Claim your badge on Google Developer Profile.':
w?a+='
Sign in to claim your badge.':z?a+='
Create a profile to claim your badge.':K?(a+='
',k='This account is not eligible for Developer Profiles. Learn more'),a+=k):(a+='
',a=k?a+"The milestone has been added to your profile.":g?a+"The badge has been added to your profile.":
a+"You can track the progress of this badge on your profile.");a=a+'
'+(c?'':"")+(h?'
'+_ds.T(h)+"+
":"")+"
");da&&(a+='
One last thing, would you like to receive emails from Google Developer Profile about developer events, new features and content?
',
b='By creating a Developer Profile, you agree to the Content Policy. Google\'s Terms of Service and Privacy Policy apply to your use of this service. The name on your Google Account and the interests you selected will be used in your Google Developer Profile. Your name may appear where you contribute and can be changed at any time.'),a+=b,a+="
`;_ds.v([_ds.J({type:Boolean}),_ds.x("design:type",Object)],_ds.tS.prototype,"addItemDisabled",void 0);_ds.v([_ds.J({type:String}),_ds.x("design:type",Object)],_ds.tS.prototype,"addItemDisabledTooltipText",void 0);_ds.v([_ds.J({type:String}),_ds.x("design:type",Object)],_ds.tS.prototype,"addItemText",void 0);_ds.v([_ds.J({type:Boolean}),_ds.x("design:type",Object)],_ds.tS.prototype,"addingItem",void 0);
_ds.v([_ds.J({type:Boolean,Ma:!0}),_ds.x("design:type",Object)],_ds.tS.prototype,"checkboxes",void 0);_ds.v([_ds.J({type:String,Da:"close-dropdown-aria-label"}),_ds.x("design:type",Object)],_ds.tS.prototype,"closeAriaLabel",void 0);_ds.v([_ds.J({type:Boolean,Da:!0}),_ds.x("design:type",Object)],_ds.tS.prototype,"ellipsis",void 0);_ds.v([_ds.J({type:Boolean}),_ds.x("design:type",Object)],_ds.tS.prototype,"fetchingItems",void 0);
_ds.v([_ds.J({type:Array}),_ds.x("design:type",Array)],_ds.tS.prototype,"listItems",void 0);_ds.v([_ds.J({type:String,Da:"open-dropdown-aria-label"}),_ds.x("design:type",Object)],_ds.tS.prototype,"openAriaLabel",void 0);_ds.v([_ds.J({type:String}),_ds.x("design:type",Object)],_ds.tS.prototype,"submitItemText",void 0);_ds.v([_ds.J({type:Boolean,Ma:!0}),_ds.x("design:type",Object)],_ds.tS.prototype,"writable",void 0);
_ds.v([_ds.Wp(".toggle-button"),_ds.x("design:type",HTMLButtonElement)],_ds.tS.prototype,"Nc",void 0);var xS,wS,Cca;_ds.vS=function(){const a=document.createElement("devsite-dialog");a.classList.add("devsite-fast-track-creator-dialog");const b=new _ds.uS;a.appendChild(b);document.body.appendChild(a);a.open=!0;a.addEventListener("devsite-dialog-hide",()=>{b.g.g(null);_ds.Qj(a)});b.g.promise.finally(()=>{a.open=!1});return b.g.promise};xS=function(a,b,c){wS(a,"There was an error while creating the profile.");b&&console.error(b,c);_ds.t().then(d=>{d.hideLoading()})};
wS=function(a,b=""){a.dispatchEvent(new CustomEvent("devsite-show-custom-snackbar-msg",{detail:{msg:b,showClose:!0},bubbles:!0}))};
Cca=async function(a){a.yh=!0;var b=a.querySelector(".devsite-fast-track-profile-newsletter-input");b=!(!b||!b.checked);const c=a.querySelector(".devsite-fast-track-profile-title-input");var d,e;const f=null!=(e=null==(d=_ds.vI.find(h=>h.id===(null==c?void 0:c.value.trim())))?void 0:d.id)?e:"";if(d=await _ds.uI.getName()){e=new _ds.uG;var g=null;try{g=await _ds.tG(e,d,b,!1,f)}catch(h){xS(a,h.message,h);a.g.h(h);a.yh=!1;return}a.yh=!1;wS(a,"Your profile was created.");a.g.g(g)}else b=Error("Could not compute name for new profile."),
xS(a,b.message,b),a.g.h(b)};
_ds.uS=class extends _ds.sw{constructor(){super(["devsite-dialog","devsite-mwc","devsite-spinner"]);this.reloadPage=!1;this.OE=!0;this.xb=this.yh=!1;this.profile=null;this.Fd="";this.g=new _ds.Nm}cb(){return this}async connectedCallback(){super.connectedCallback();this.Fd=(await _ds.xr()).toString()}Je(){this.g.g(null)}render(){const a=(new _ds.eS("By creating a Developer\n Profile, you agree to the {START_A_CONTENT_POLICY}Content Policy{END_A}.\n Google's {START_A_TERMS}Terms of Service{END_A} and {START_A_PRIVACY}\n Privacy Policy{END_A} apply to your use of this service. The name on your\n Google Account and the interests you selected will be used in your Google\n Developer Profile. Your name may appear where you contribute and can be\n changed at any time.")).format({START_A_CONTENT_POLICY:``,START_A_TERMS:'',
START_A_PRIVACY:'',END_A:""});return(0,_ds.P)`
${"Tell us about you and select your communication preference."}
${_ds.vI.map(b=>(0,_ds.P)`
`)}
${"Select the title or role that's the closest fit."}
${"Would you like to receive emails regarding new features, events, badges,\n content, and research opportunities?"}
`};
_ds.yV=class extends zT{constructor(){super(["devsite-recommended-content"]);this.messages=[];this.Fa=new Dfa;this.bk=[];this.Kn=this.Ug=this.Oh=this.Hg=this.oi=this.jd=!1;this.h=new _ds.iK;this.j=new _ds.iK;this.v=0;vT(this,()=>{this.bk.length=0;this.reset();this.g()})}cb(){return this}connectedCallback(){super.connectedCallback();this.g()}async g(){super.g();this.active?(await Tfa(this),await Ufa(this),this.Tb=!1,this.jd=this.Hg&&this.Oh):this.Tb=!0}async createProfile(){let a=null;try{a=await _ds.vS()}catch(b){}this.Oh=
!!a}async signIn(){this.Tb=!0;await (await _ds.t()).signIn()}reset(){this.messages.length=0;this.Kn=this.Ug=!1;if(this.active){let a;null==(a=this.h.value)||a.focus()}_ds.jw(this)}async oa(a,b){a.preventDefault();a.stopPropagation();if(!b){var c;b=(null==(c=this.h.value)?void 0:c.value)||""}if(b=b.trim()){a=Date.now();this.Ug=!1;this.oi=!0;this.jd=!1;this.h.value.value="";c=[...this.messages];b={text:b,entityType:1,messageType:1};this.messages.push(b);await _ds.kw(this);this.j.value.scrollTop=this.j.value.scrollHeight;
var d=await vV(this),e=(await _ds.t()).getTenantId();try{const f=await d.j({url:_ds.sr(_ds.B().pathname,`${e}`).toString(),input:b,history:c});this.messages.push(f);this.Za({category:"Developer Concierge",action:"Submitted Chatbot Request - Success",label:`${Date.now()-a}`});this.jd=!0}catch(f){this.Ug=!0,"The caller does not have permission"===f.message?(this.Kn=!0,this.jd=!1):this.jd=!0,this.Za({category:"Developer Concierge",action:"Submitted Chatbot Request - Error",label:f.message})}this.oi=
!1;await _ds.kw(this);this.h.value.focus()}else null==(d=this.h.value)||d.focus()}async Ca(a){a.preventDefault();a.stopPropagation();if(this.Hg&&this.Oh){this.oi=!0;this.Ug=this.jd=!1;this.bk=[];a=await vV(this);var b=(await _ds.t()).getTenantId();try{const c=await Qfa(a,{url:_ds.sr(_ds.B().pathname,`${b}`).toString(),intent:1});for(const d of _ds.fg(c,Lfa,1))if(void 0!==_ds.ag(d,lV,_ds.dg(d,mV,2))){let e;const f=null==(e=_ds.eg(d,lV,_ds.dg(d,mV,2)))?void 0:_ds.u(e,1);f&&this.bk.push(f)}this.jd=!0}catch(c){this.Ug=
!0,"The caller does not have permission"===c.message?(this.Kn=!0,this.jd=!1):this.jd=!0}this.oi=!1}}La(){let a;const b=(null==(a=this.h.value)?void 0:a.value)||"";5<=b.length-this.v&&(this.v=5*Math.floor(b.length/5),this.Za({category:"Developer Concierge",action:"Typing in Chatbot",label:`${this.v}`}))}Ga(a){if(a.target instanceof Element){var b;(a=null==(b=a.target.closest("a"))?void 0:b.getAttribute("href"))&&this.Za({category:"Developer Concierge",action:"Click Suggested Recommendation",label:a})}}async updated(a){super.updated(a);
if(a=this.j.value){const b=[...a.querySelectorAll(".devsite-concierge-panel-chat-from-user")].pop();b&&(a.scrollTop=b.offsetTop)}}render(){return this.active?(0,_ds.P)`
${yT(this,"Ask about this page")}
${(0,_ds.P)`
${"Chat"}
petsDogfood
restart_alt
${Wfa(this)}
${!this.Tb&&this.Hg&&this.Oh?(0,_ds.P)`
${"Results may give inaccurate or inappropriate information. Do not use generated code in production (go/code-ai-policy) and report any issues. Do not input user data / PII."}
`:(0,_ds.P)``}
`}
${this.Tb?(0,_ds.P)`
${xT(3)}
`:(0,_ds.P)`
${"Recommendations"}
`}
`:(0,_ds.P)``}};_ds.yV.getTagName=_ds.uV;_ds.v([_ds.L(),_ds.x("design:type",Array)],_ds.yV.prototype,"bk",void 0);_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"jd",void 0);_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"oi",void 0);_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"Hg",void 0);_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"Oh",void 0);_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"Ug",void 0);
_ds.v([_ds.L(),_ds.x("design:type",Object)],_ds.yV.prototype,"Kn",void 0);_ds.zV=class extends _ds.zg{constructor(a){super(a)}getTitle(){return _ds.u(this,1)}setProjectId(a){return _ds.ng(this,2,a)}};var AV;AV=class extends _ds.zg{constructor(a){super(a)}};_ds.BV=_ds.bd(AV);AV.wb=[1];var Iu=new Map;var Xfa,Yfa,Zfa,$fa,DV,GV,aga,EV,HV,IV,JV,KV,cga,dga,ega,fga,gga;
_ds.CV={"profile.name":{backendFieldName:"profile.name",profileFieldName:"name",label:"Name",inputType:"text",required:!0,private:!1},"profile.title":{backendFieldName:"profile.title",profileFieldName:"title",label:"I am a...",inputType:"select",required:!1,private:!1,selectOptions:_ds.vI},"profile.organization":{backendFieldName:"profile.organization",profileFieldName:"organization",label:"At...",helpText:"Name of your community, employer, or school.",inputType:"text",required:!1,private:!1},"profile.pronoun":{backendFieldName:"profile.pronoun",
profileFieldName:"pronoun",label:"Pronoun",inputType:"select",required:!1,private:!1,selectOptions:_ds.wI},"profile.location":{backendFieldName:"profile.location",profileFieldName:"location",label:"City/Town",inputType:"location",icon:"location",required:!1,private:!1},"profile.experience_level":{backendFieldName:"profile.experience_level",profileFieldName:"experienceLevel",label:"Experience",inputType:"select",required:!1,private:!1,selectOptions:[{id:"EXPERIENCE_LEVEL_UNSPECIFIED",val:""},{id:"EXPERIENCE_LEVEL_EARLY_CAREER",
val:"Early Career (0 - 5 years)"},{id:"EXPERIENCE_LEVEL_MID_CAREER",val:"Mid level (6 - 10 years)"},{id:"EXPERIENCE_LEVEL_ESTABLISHED",val:"Established (11+ years)"}]},"profile.gender":{backendFieldName:"profile.gender",profileFieldName:"gender",label:"Gender",inputType:"select",required:!1,private:!0,selectOptions:[{id:"GENDER_UNSPECIFIED",val:""},{id:"DECLINE_TO_PROVIDE",val:"Decline to specify"},{id:"MALE",val:"Male"},{id:"FEMALE",val:"Female"},{id:"NON_BINARY",val:"Non-Binary"}]},"profile.bio":{backendFieldName:"profile.bio",
profileFieldName:"bio",label:"Bio",inputType:"textArea",maxLength:750,required:!1,private:!1},"profile.github_id":{backendFieldName:"profile.github_id",profileFieldName:"githubId",label:"github.com",inputType:"text",filter:a=>_ds.bt(a.trim(),"github"),icon:"github",required:!1,private:!1},"profile.gitlab_id":{backendFieldName:"profile.gitlab_id",profileFieldName:"gitlabId",label:"gitlab.com",inputType:"text",filter:a=>_ds.bt(a.trim(),"gitlab"),icon:"gitlab",required:!1,private:!1},"profile.linkedin_id":{backendFieldName:"profile.linkedin_id",
profileFieldName:"linkedinId",label:"linkedin.com",inputType:"text",filter:a=>_ds.bt(a.trim(),"linkedin"),icon:"linkedin",required:!1,private:!1},"profile.stackoverflow_id":{backendFieldName:"profile.stackoverflow_id",profileFieldName:"stackoverflowId",label:"stackoverflow.com",inputType:"text",filter:a=>_ds.bt(a.trim(),"stackoverflow"),icon:"stackoverflow",required:!1,private:!1},"profile.twitter_id":{backendFieldName:"profile.twitter_id",profileFieldName:"twitterId",label:"twitter.com",inputType:"text",
filter:a=>_ds.bt(a.trim(),"twitter"),icon:"twitter",required:!1,private:!1}};
Xfa=function(a){if(a.requiredFields||a.optionalFields){a.g=[];var b;if(null==(b=a.requiredFields)?0:b.trim()){b=a.requiredFields.split(",");for(const d of b)(b=_ds.CV[d.trim()])?(b.required=!0,a.g.push(b)):console.warn("Could not find field definition for mandtory field",d)}var c;if(null!=(c=a.optionalFields)&&c.trim()){c=a.optionalFields.split(",");for(const d of c)(c=_ds.CV[d.trim()])?(c.required=!1,a.g.push(c)):console.warn("Could not find field definition for optional field",d)}}else a.g=Object.values(_ds.CV)};
Yfa=async function(a){const b=await _ds.t();b.showLoading();a.xb=await b.isSignedIn();a.xb&&(a.profile=await (new _ds.uG).Wa());a.Fs=!1;b.hideLoading()};
Zfa=async function(a){if(!window.google||!window.google.maps){var b=await _ds.t();const d=_ds.u(b.getConfig(),15);let e=(0,_ds.he)`https://maps.googleapis.com/maps/api/js?v=quarterly&key=${d}&libraries=places`;b.getLocale()&&(e=(0,_ds.he)`https://maps.googleapis.com/maps/api/js?v=quarterly&key=${d}&libraries=places&language=${b.getLocale().replace("_","-")}`);try{b=e;var c=document.createElement("script");_ds.Pd(c,b);await Ju(b,c)}catch(f){}}if(!window.google||!window.google.maps)for(const d of a.g)"location"===
d.inputType&&({Bi:c}=DV(a,d),c&&(c.disabled=!0))};
$fa=async function(a){if(window.google&&window.google.maps)for(const b of a.g){if("location"!==b.inputType)continue;const {Bi:c}=DV(a,b);let d,e;const f=null==(d=c)?void 0:null==(e=d.shadowRoot)?void 0:e.querySelector("input");if(!f||!c)continue;const g=new google.maps.places.Autocomplete(f,{types:["(cities)"]});g.set("fields",["address_components","formatted_address","geometry"]);g.addListener("place_changed",()=>{var h,k=null==(h=g)?void 0:h.getPlace();f.value=(null==k?void 0:k.formatted_address)||
"";var l;let n;h=null==k?void 0:null==(l=k.geometry)?void 0:null==(n=l.location)?void 0:n.lat().toString();c.setAttribute("lat",h||"");let q,w;l=null==k?void 0:null==(q=k.geometry)?void 0:null==(w=q.location)?void 0:w.lng().toString();c.setAttribute("lon",l||"");var A;let z;k=null==k?void 0:null==(A=k.address_components)?void 0:null==(z=A.find(F=>F.types.includes("country")))?void 0:z.short_name;c.setAttribute("country",k||"");A=new CustomEvent("change");f.dispatchEvent(A)})}};
_ds.FV=function(a){let b=!0;for(const c of a.g)b=EV(a,c)&&b;return b};DV=function(a,b){a=a.querySelector(`.devsite-edit-profile-${b.profileFieldName}`);b=null==a?void 0:a.querySelector("devsite-mwc");let c;const d=null==b?void 0:null==(c=b.value)?void 0:c.trim();return{gB:a,Bi:b,value:d}};GV=function(a,b=""){a.dispatchEvent(new CustomEvent("devsite-show-custom-snackbar-msg",{detail:{msg:b,showClose:!0},bubbles:!0}))};
aga=function(a,b,c){GV(a,"There was an error updating your changes.");b&&console.error(b,c);_ds.t().then(d=>{d.hideLoading()})};
EV=function(a,b){const {gB:c,Bi:d,value:e}=DV(a,b);if(!d)return!1;null==c||c.removeAttribute("incorrect");null==c||c.removeAttribute("missing");null==d||d.removeAttribute("invalid");if(b.required&&!e||"select"===b.inputType&&b.required&&(null==e?0:e.includes("UNSPECIFIED")))return null==c||c.setAttribute("missing",""),d.setAttribute("invalid",""),!1;if(b.filter)try{var f=b.filter(e||"");const g=null==c?void 0:c.querySelector("devsite-mwc");g&&(g.value=f)}catch(g){return null==c||c.setAttribute("incorrect",
""),d.setAttribute("invalid",""),!1}if(b.regex&&(null==e||!e.match(b.regex)))return null==c||c.setAttribute("incorrect",""),d.setAttribute("invalid",""),!1;if("location"===b.inputType){a=d.getAttribute("lat");b=d.getAttribute("lon");f=d.getAttribute("country");if(e&&!(a&&b&&f))return null==c||c.setAttribute("missing",""),d.setAttribute("invalid",""),!1;if(f&&xI.includes(f||""))return null==c||c.setAttribute("incorrect",""),d.setAttribute("invalid",""),!1}return!0};
HV=async function(a,b,c=!0){if(0!==b.length){var d={},e=!1;for(var f of b){var {Bi:g}=DV(a,f);if(g){g.disabled=!0;{g=d;var h=f;const {Bi:k,value:l}=DV(a,h);if(k&&void 0!==l&&l!==a.profile[h.profileFieldName]){if("location"===h.inputType){const n={latitude:Number.parseFloat(k.getAttribute("lat")||""),longitude:Number.parseFloat(k.getAttribute("lon")||""),country:k.getAttribute("country")||"",displayLocation:l};g[h.profileFieldName]=n}else g[`${h.profileFieldName}`]=l;g=!0}else g=!1}e=g||e}}if(e){e=
await _ds.t();e.showLoading();f=new _ds.uG;try{a.profile=await f.Oi({profile:d});c&&GV(a,"Changes saved.");const k=Object.keys(d);for(const l of k)a.Za({category:"profile: my profile",action:"update setting",label:l})}catch(k){aga(a,k.message,k)}for(const k of b)({Bi:b}=DV(a,k)),b&&(b.disabled=!1);e.hideLoading()}}};_ds.bga=async function(a){const b=_ds.FV(a);b&&await HV(a,a.g,!1);return b};
IV=async function(a,b){if(a.autoUpdate){var {gB:c}=DV(a,b);(null==c?0:c.hasAttribute("missing"))||(null==c?0:c.hasAttribute("incorrect"))||await HV(a,[b])}};JV=function(a){return(0,_ds.P)`
lock
Private
`};KV=function(a){a=(new _ds.eS("{ATTRIBUTE_DISPLAY_NAME} is required.")).format({ATTRIBUTE_DISPLAY_NAME:a});return(0,_ds.P)`
{const {Bi:d}=DV(a,b);d&&(d.setAttribute("lat",""),d.setAttribute("lon",""),d.setAttribute("country",""))}}"
@change="${()=>{EV(a,b);IV(a,b)}}"
name="devsite-profile-${b.profileFieldName}"
staticpath="${a.staticPath}"
icon="${_ds.bK(b.icon)}"
?required=${b.required}>
${JV(b)}
${"Google Developer Profile is not available in this location."}
${"Please select a City/Town from the list."}