-
Notifications
You must be signed in to change notification settings - Fork 0
/
web_code.js
executable file
·414 lines (367 loc) · 117 KB
/
web_code.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
'use strict';var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ca=ba(this);
function da(a,b){if(b)a:{var c=ca;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}function ea(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(n){n.done?d(n.value):Promise.resolve(n.value).then(b,c).then(g,e)}g(a.next())})}
da("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&0<b?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
function fa(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}da("Array.prototype.values",function(a){return a?a:function(){return fa(this,function(b,c){return c})}});/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var k=this||self;function ha(a){return a};function l(a,b,c,d){var e=arguments.length,g=3>e?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d,n;if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var m=a.length-1;0<=m;m--)if(n=a[m])g=(3>e?n(g):3<e?n(b,c,g):n(b,c))||g;return 3<e&&g&&Object.defineProperty(b,c,g),g}function v(a,b){if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(a,b)};/*
Copyright 2017 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
var ja=a=>(b,c)=>{void 0!==c?ia(c,()=>{customElements.define(a,b)}):customElements.define(a,b)};/*
Copyright 2019 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
function ka(){var a={passive:!0};return(b,c)=>{Object.assign("function"===typeof b?b:b[c],a)}};/*
Copyright 2016 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
const la=!!/^\s*class\s*\{\s*\}\s*$/.test(class{}.toString())||HTMLElement.es5Shimmed||void 0===k.Reflect||void 0===k.customElements||k.customElements.polyfillWrapFlushCallback||!1;let ma;var na=()=>{function a(){return c.construct(b,[],this.constructor)}const b=HTMLElement;if(la)return b;if(void 0!==ma)return ma;const c=k.Reflect;a.prototype=b.prototype;a.prototype.constructor=a;a.es5Shimmed=!0;Object.setPrototypeOf(a,b);return ma=a};let oa=!1;/*
Copyright 2019 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
var pa=k.ShadowRoot&&(void 0===k.ShadyCSS||k.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;const qa=Symbol(),ra=new WeakMap;
var sa=class{constructor(a,b){this._$cssResult$=!0;if(qa!==qa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a;this.h=b}get g(){let a=this.i;const b=this.h;if(pa&&void 0===a){const c=void 0!==b&&1===b.length;c&&(a=ra.get(b));void 0===a&&((this.i=a=new CSSStyleSheet).replaceSync(this.cssText),c&&ra.set(b,a))}return a}toString(){return this.cssText}},ta=a=>{var b=[];return function(){const c=1===a.length?a[0]:b.reduce((d,e,g)=>{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[g+1]},a[0]);return new sa(c,a)}()},ua=(a,b)=>{if(pa)a.adoptedStyleSheets=b.map(c=>c instanceof CSSStyleSheet?c:c.g);else for(const c of b){b=document.createElement("style");const d=k.litNonce;void 0!==d&&b.setAttribute("nonce",d);b.textContent=c.cssText;a.appendChild(b)}},va=
pa?a=>a:a=>{if(a instanceof CSSStyleSheet){let b="";for(const c of a.cssRules)b+=c.cssText;a=new sa("string"===typeof b?b:String(b))}return a};const wa=({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.O;a.O=function(){const e=this.localName;if(window.ShadyCSS.nativeShadow)return b.call(this);if(!this.constructor.hasOwnProperty("__scoped")){this.constructor.__scoped=!0;const n=this.constructor.Wa.map(C=>C instanceof CSSStyleSheet?Array.from(C.cssRules).reduce((G,
w)=>G+w.cssText,""):C.cssText);let m,r;null==(m=window.ShadyCSS)||null==(r=m.ScopingShim)||r.prepareAdoptedCssText(n,e);void 0===this.constructor.uc&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}let g;return null!=(g=this.shadowRoot)?g:this.attachShadow(this.constructor.Ub)};var c=a.connectedCallback;a.connectedCallback=function(){c.call(this);this.Z&&window.ShadyCSS.styleElement(this)};var d=a.Pa;a.Pa=function(e){this.Z||window.ShadyCSS.styleElement(this);d.call(this,
e)}}};let xa;null!=(xa=window).reactiveElementPolyfillSupport||(xa.reactiveElementPolyfillSupport=wa);la||oa||(oa=!0,k.HTMLElement=na());const ya=na(),za=Object.is,Aa=Object.defineProperty,Ba=Object.getOwnPropertyDescriptor,Ca=Object.getOwnPropertyNames,Da=Object.getOwnPropertySymbols,Ea=Object.getPrototypeOf,Fa=k.trustedTypes,Ga=Fa?Fa.emptyScript:"",Ha=k.reactiveElementPolyfillSupport;
var Ia={Vb(a,b){switch(b){case Boolean:a=a?Ga:null;break;case Object:case Array:a=null==a?a:JSON.stringify(a)}return a},ab(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}},Ja=(a,b)=>!za(a,b);const Ka={H:!0,type:String,R:Ia,J:!1,Gb:Ja};var La;null==Symbol.metadata&&(Symbol.metadata=Symbol("metadata"));La=Symbol.metadata;var Ma=new WeakMap;
function ia(a,b){a.Ra();let c;(null!=(c=a.fa)?c:a.fa=[]).push(b)}function Na(a,b,c,d){let e;const {get:g,set:n}=null!=(e=Ba(a.prototype,b))?e:{get(){return this[c]},set(m){this[c]=m}};return{get(){return null==g?void 0:g.call(this)},set(m){const r=null==g?void 0:g.call(this);n.call(this,m);Oa(this,b,r,d)},configurable:!0,enumerable:!0}}function Pa(a,b,c=Ka){c.state&&(c.H=!1);a.Ra();a.I.set(b,c);c.td||(c=Na(a,b,Symbol(),c),void 0!==c&&Aa(a.prototype,b,c))}
function Oa(a,b,c,d){if(void 0!==b){null!=d||(d=Qa(a.constructor,b));let e;if((null!=(e=d.Gb)?e:Ja)(a[b],c))a.Oa(b,c,d);else return}!1===a.na&&(a.Sa=a.xc())}function Qa(a,b){let c;return null!=(c=a.I.get(b))?c:Ka}
function Ra(a){if(a.na){if(!a.Z){null!=a.ba||(a.ba=a.O());if(a.ta){for(const [d,e]of a.ta)a[d]=e;a.ta=void 0}var b=a.constructor.I;if(0<b.size)for(const [d,e]of b){b=d;var c=e;!0!==c.Rc||a.ea.has(b)||void 0===a[b]||a.Oa(b,a[b],c)}}b=!1;c=a.ea;try{b=!0;let d;null==(d=a.Qa)||d.forEach(e=>{let g;return null==(g=e.pd)?void 0:g.call(e)});a.update(c)}catch(d){throw b=!1,a.zb(),d;}b&&a.Pa(c)}}
var y=class extends ya{static get observedAttributes(){this.za();return this.sa&&[...this.sa.keys()]}static Ra(){if(!this.hasOwnProperty("I")){var a=Ea(this);a.za();void 0!==a.fa&&(this.fa=[...a.fa]);this.I=new Map(a.I)}}static za(){Sa();if(!this.hasOwnProperty("Za")){this.Za=!0;this.Ra();if(this.hasOwnProperty("Kc")){var a=this.Kc,b=[...Ca(a),...Da(a)];for(const c of b)Pa(this,c,a[c])}a=this[La];if(null!==a&&(a=Ma.get(a),void 0!==a))for(const [c,d]of a)this.I.set(c,d);this.sa=new Map;for(const [c,
d]of this.I)a=c,b=this.yb(a,d),void 0!==b&&this.sa.set(b,a);b=this.pa;a=[];if(Array.isArray(b)){b=new Set(b.flat(Infinity).reverse());for(const c of b)a.unshift(va(c))}else void 0!==b&&a.push(va(b));this.Wa=a}}static yb(a,b){b=b.H;return!1===b?void 0:"string"===typeof b?b:"string"===typeof a?a.toLowerCase():void 0}constructor(){super();this.ta=void 0;this.Z=this.na=!1;this.U=null;this.yc()}yc(){this.Sa=new Promise(b=>this.Cb=b);this.ea=new Map;this.Ac();Oa(this);let a;null==(a=this.constructor.fa)||
a.forEach(b=>b(this))}Ac(){const a=new Map,b=this.constructor.I;for(const c of b.keys())this.hasOwnProperty(c)&&(a.set(c,this[c]),delete this[c]);0<a.size&&(this.ta=a)}O(){let a;const b=null!=(a=this.shadowRoot)?a:this.attachShadow(this.constructor.Ub);ua(b,this.constructor.Wa);return b}connectedCallback(){null!=this.ba||(this.ba=this.O());this.Cb(!0);let a;null==(a=this.Qa)||a.forEach(b=>{let c;return null==(c=b.nd)?void 0:c.call(b)})}Cb(){}disconnectedCallback(){let a;null==(a=this.Qa)||a.forEach(b=>
{let c;return null==(c=b.od)?void 0:c.call(b)})}attributeChangedCallback(a,b,c){this.tc(a,c)}zc(a,b){const c=this.constructor.I.get(a),d=this.constructor.yb(a,c);if(void 0!==d&&!0===c.J){let e;const g=(void 0!==(null==(e=c.R)?void 0:e.Vb)?c.R:Ia).Vb(b,c.type);this.U=a;null==g?this.removeAttribute(d):this.setAttribute(d,g);this.U=null}}tc(a,b){var c=this.constructor;a=c.sa.get(a);if(void 0!==a&&this.U!==a){c=Qa(c,a);let d;const e="function"===typeof c.R?{ab:c.R}:void 0!==(null==(d=c.R)?void 0:d.ab)?
c.R:Ia;this.U=a;this[a]=e.ab(b,c.type);this.U=null}}Oa(a,b,c){this.ea.has(a)||this.ea.set(a,b);if(!0===c.J&&this.U!==a){let d;(null!=(d=this.ua)?d:this.ua=new Set).add(a)}}xc(){const a=this;return ea(function*(){a.na=!0;try{yield a.Sa}catch(c){a.vd||Promise.reject(c)}const b=Ra(a);null!=b&&(yield b);return!a.na}())}Pa(a){let b;null==(b=this.Qa)||b.forEach(c=>{let d;return null==(d=c.qd)?void 0:d.call(c)});this.Z||(this.Z=!0,this.Aa());this.mb(a)}zb(){this.ea=new Map;this.na=!1}get Xb(){return this.Sa}update(){this.ua&&
(this.ua=this.ua.forEach(a=>this.zc(a,this[a])));this.zb()}mb(){}Aa(){}};y.Wa=[];y.Ub={mode:"open"};y.I=new Map;y.Za=new Map;null==Ha||Ha({ReactiveElement:y});let Sa=()=>{let a;(null!=(a=k.reactiveElementVersions)?a:k.reactiveElementVersions=[]).push("2.0.2");Sa=()=>{}};const Ta={H:!0,type:String,R:Ia,J:!1,Gb:Ja};var Ua=(a=Ta,b,c)=>{const d=c.kind,e=c.metadata;let g=Ma.get(e);void 0===g&&Ma.set(e,g=new Map);g.set(c.name,a);if("accessor"===d){const n=c.name;return{set(m){const r=b.get.call(this);b.set.call(this,m);Oa(this,n,r,a)},Ca(m){void 0!==m&&this.Oa(n,void 0,a);return m}}}if("setter"===d){const n=c.name;return function(m){const r=this[n];b.call(this,m);Oa(this,n,r,a)}}throw Error(`Unsupported decorator location: ${d}`);};
function z(a){return(b,c)=>{if("object"===typeof c)b=Ua(a,b,c);else{const d=b.hasOwnProperty(c);Pa(b.constructor,c,d?Object.assign({},a,{Rc:!0}):a);b=d?Object.getOwnPropertyDescriptor(b,c):void 0}return b}};var Va=(a,b,c)=>{c.configurable=!0;c.enumerable=!0;Reflect.ld&&"object"!==typeof b&&Object.defineProperty(a,b,c);return c};function Wa(){return(a,b)=>Va(a,b,{get(){const c=this;return ea(function*(){yield c.Xb;let d,e;return null!=(e=null==(d=c.ba)?void 0:d.querySelector("mwc-ripple"))?e:null}())}})};function A(a){return(b,c)=>Va(b,c,{get(){let d,e;return null!=(e=null==(d=this.ba)?void 0:d.querySelector(a))?e:null}})};function B(){return z(Object.assign({},void 0,{state:!0,H:!1}))};var Xa;var Ya=class{constructor(a){this.g=a}toString(){return this.g+""}};function Za(a){return a instanceof Ya&&a.constructor===Ya?a.g:"type_error:TrustedResourceUrl"}var $a={};function ab(a){if(void 0===Xa){var b=null;var c=k.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:ha,createScript:ha,createScriptURL:ha})}catch(d){k.console&&k.console.error(d.message)}Xa=b}else Xa=b}a=(b=Xa)?b.createScriptURL(a):a;return new Ya(a,$a)};function bb(a){return a instanceof cb&&a.constructor===cb?a.g:"type_error:SafeHtml"}class cb{constructor(a){this.g=a}toString(){return this.g.toString()}};/*
SPDX-License-Identifier: Apache-2.0
*/
var eb=db;function db(a,b,c){if(1!==a.nodeType)return fb;b=b.toLowerCase();if("innerhtml"===b||"innertext"===b||"textcontent"===b||"outerhtml"===b)return()=>gb;const d=hb.get(`${a.tagName} ${b}`);return void 0!==d?d:/^on/.test(b)&&"attribute"===c&&(a=a.tagName.includes("-")?HTMLElement.prototype:a,b in a)?()=>{throw Error("invalid binding");}:fb}
const ib=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,jb=Za(function(a,...b){if(0===b.length)return ab(a[0]);let c=a[0];for(let d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return ab(c)}`about:invalid#zClosurez`),gb=bb(new cb(k.trustedTypes&&k.trustedTypes.emptyHTML||"",{})),fb=a=>a,kb=a=>ib.test(String(a))?a:jb,D=()=>jb,lb=a=>a instanceof Ya?Za(a):jb,hb=new Map([["A href",kb],["AREA href",kb],["BASE href",D],["BUTTON formaction",kb],["EMBED src",D],["FORM action",kb],["FRAME src",
D],["IFRAME src",lb],["IFRAME srcdoc",a=>a instanceof cb?bb(a):gb],["INPUT formaction",kb],["LINK href",lb],["OBJECT codebase",D],["OBJECT data",D],["SCRIPT href",lb],["SCRIPT src",lb],["SCRIPT text",D],["USE href",lb]]);const mb=new Set,nb=new Map,ob=(a,b)=>{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:u=>u,g=u=>void 0!==u&&!mb.has(u),n=u=>{let f=nb.get(u);void 0===f&&nb.set(u,f=[]);return f},m=(u,f)=>{const h=n(u),p=0!==h.length;if(p){const q=document.createElement("style");q.textContent=h.join("\n");f.content.appendChild(q)}mb.add(u);nb.delete(u);window.ShadyCSS.prepareTemplateStyles(f,
u);p&&window.ShadyCSS.nativeShadow&&(u=f.content.querySelector("style"),null!==u&&f.content.appendChild(u))},r=new Map,C=a.createElement;a.createElement=function(u,f){u=C.call(a,u,f);f=null==f?void 0:f.scope;void 0!==f&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(u,f),g(f)&&n(f).push(...Array.from(u.content.querySelectorAll("style")).map(h=>{let p;null==(p=h.parentNode)||p.removeChild(h);return h.textContent})));return u};var G=document.createDocumentFragment(),w=document.createComment("");
b=b.prototype;var I=b.L;b.L=function(u,f=this){const h=e(this.M).parentNode;var p,q=null==(p=this.options)?void 0:p.scope,t;if((h instanceof ShadowRoot||h===(null==(t=this.options)?void 0:t.ud))&&g(q)){p=this.M;t=this.T;G.appendChild(w);this.M=w;this.T=null;I.call(this,u,f);u=(null==u?0:u._$litType$)?this.o.ra.X:document.createElement("template");m(q,u);G.removeChild(w);let x;if(null==(x=window.ShadyCSS)?0:x.nativeShadow)q=u.content.querySelector("style"),null!==q&&G.appendChild(q.cloneNode(!0));
h.insertBefore(G,t);this.M=p;this.T=t}else I.call(this,u,f)};b.xb=function(u){var f,h=null==(f=this.options)?void 0:f.scope;f=r.get(h);void 0===f&&r.set(h,f=new Map);h=f.get(u.s);void 0===h&&f.set(u.s,h=new a(u,this.options));return h}}};let pb;null!=(pb=window).litHtmlPolyfillSupport||(pb.litHtmlPolyfillSupport=ob);let qb="";if(window.Symbol){const a=Symbol();"symbol"!==typeof a&&(qb=Object.keys(a)[0])}const rb=""!==qb;var sb=rb?a=>null!=a&&void 0!==a[qb]:()=>!1;
if(rb&&!window.Symbol.for){const a=new Map;window.Symbol.for=b=>{a.has(b)||a.set(b,Symbol(b));return a.get(b)}};let tb,ub,vb;
const E=(null==(tb=k.ShadyDOM)?0:tb.inUse)&&(!0===(null==(ub=k.ShadyDOM)?void 0:ub.noPatch)||"on-demand"===(null==(vb=k.ShadyDOM)?void 0:vb.noPatch))?k.ShadyDOM.wrap:a=>a,wb=k.trustedTypes,xb=wb?wb.createPolicy("lit-html",{createHTML:a=>a}):void 0,yb=a=>a,zb=()=>yb,F=`lit$${String(Math.random()).slice(9)}$`,Ab="?"+F,Bb=`<${Ab}>`,H=document,Cb=a=>null===a||"object"!=typeof a&&"function"!=typeof a||sb(a),Db=Array.isArray,Eb=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fb=/--\x3e/g,Gb=/>/g,
J=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),Hb=/'/g,Ib=/"/g,Jb=/^(?:script|style|textarea|title)$/i;var K=(a,...b)=>({_$litType$:1,s:a,values:b}),L=Symbol.for?Symbol.for("lit-noChange"):Symbol("lit-noChange"),N=Symbol.for?Symbol.for("lit-nothing"):Symbol("lit-nothing");const Kb=new WeakMap,O=H.createTreeWalker(H,129);
function Lb(a,b){if(!Array.isArray(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==xb?xb.createHTML(b):b}
var Mb=class{constructor({s:a,_$litType$:b},c){this.g=[];let d=0,e=0;const g=a.length-1,n=this.g;var m=a.length-1;const r=[];let C=2===b?"<svg>":"",G,w=Eb;for(let h=0;h<m;h++){const p=a[h];let q=-1,t;var I=0;let x;for(;I<p.length;){w.lastIndex=I;x=w.exec(p);if(null===x)break;I=w.lastIndex;if(w===Eb)"!--"===x[1]?w=Fb:void 0!==x[1]?w=Gb:void 0!==x[2]?(Jb.test(x[2])&&(G=new RegExp(`</${x[2]}`,"g")),w=J):void 0!==x[3]&&(w=J);else if(w===J)if(">"===x[0]){let M;w=null!=(M=G)?M:Eb;q=-1}else void 0===x[1]?
q=-2:(q=w.lastIndex-x[2].length,t=x[1],w=void 0===x[3]?J:'"'===x[3]?Ib:Hb);else w===Ib||w===Hb?w=J:w===Fb||w===Gb?w=Eb:(w=J,G=void 0)}I=w===J&&a[h+1].startsWith("/>")?" ":"";C+=w===Eb?p+Bb:0<=q?(r.push(t),p.slice(0,q)+"$lit$"+p.slice(q))+F+I:p+F+(-2===q?h:I)}a=[Lb(a,C+(a[m]||"<?>")+(2===b?"</svg>":"")),r];const [u,f]=a;this.X=Mb.createElement(u,c);O.currentNode=this.X.content;2===b&&(b=this.X.content.firstChild,b.replaceWith(...b.childNodes));for(;null!==(b=O.nextNode())&&n.length<g;){if(1===b.nodeType){if(b.hasAttributes())for(const h of b.getAttributeNames())h.endsWith("$lit$")?
(a=f[e++],c=b.getAttribute(h).split(F),a=/([.?@])?(.*)/.exec(a),n.push({type:1,index:d,name:a[2],s:c,Ec:"."===a[1]?Nb:"?"===a[1]?Ob:"@"===a[1]?Pb:Qb}),b.removeAttribute(h)):h.startsWith(F)&&(n.push({type:6,index:d}),b.removeAttribute(h));if(Jb.test(b.tagName)&&(c=b.textContent.split(F),a=c.length-1,0<a)){b.textContent=wb?wb.emptyScript:"";for(m=0;m<a;m++)b.append(c[m],H.createComment("")),O.nextNode(),n.push({type:2,index:++d});b.append(c[a],H.createComment(""))}}else if(8===b.nodeType)if(b.data===
Ab)n.push({type:2,index:d});else for(c=-1;-1!==(c=b.data.indexOf(F,c+1));)n.push({type:7,index:d}),c+=F.length-1;d++}}static createElement(a){const b=H.createElement("template");b.innerHTML=a;return b}};
function P(a,b,c=a,d){if(b===L)return b;var e;let g=void 0!==d?null==(e=c.h)?void 0:e[d]:c.C;e=Cb(b)?void 0:b._$litDirective$;let n;if((null==(n=g)?void 0:n.constructor)!==e){let m,r;null==(m=g)||null==(r=m._$notifyDirectiveConnectionChanged)||r.call(m,!1);void 0===e?g=void 0:(g=new e(a),g.vc(a,c,d));if(void 0!==d){let C;(null!=(C=c.h)?C:c.h=[])[d]=g}else c.C=g}void 0!==g&&(b=P(a,g.wc(a,b.values),g,d));return b}
var Tb=class{constructor(a,b){this.h=[];this.j=void 0;this.ra=a;this.g=b}get parentNode(){return this.g.parentNode}get K(){return this.g.K}l(a){var b=this.ra.X.content;const c=this.ra.g;var d;const e=(null!=(d=null==a?void 0:a.kd)?d:H).importNode(b,!0);O.currentNode=e;b=O.nextNode();let g=d=0,n=c[0];for(;void 0!==n;){if(d===n.index){let r;2===n.type?r=new Rb(b,b.nextSibling,this,a):1===n.type?r=new n.Ec(b,n.name,n.s,this,a):6===n.type&&(r=new Sb(b,this,a));this.h.push(r);n=c[++g]}let m;d!==(null==
(m=n)?void 0:m.index)&&(b=O.nextNode(),d++)}O.currentNode=H;return e}i(a){let b=0;for(const c of this.h)void 0!==c&&(void 0!==c.s?(c.L(a,c,b),b+=c.s.length-2):c.L(a[b])),b++}};function Ub(a,b){if(void 0===a.g){a.v=b;let c;null==(c=a.D)||c.call(a,b)}}
var Rb=class{get K(){let a,b;return null!=(b=null==(a=this.g)?void 0:a.K)?b:this.v}constructor(a,b,c,d){this.type=2;this.o=N;this.j=void 0;this.M=a;this.T=b;this.g=c;this.options=d;let e;this.v=null!=(e=null==d?void 0:d.isConnected)?e:!0;this.h=void 0}get parentNode(){let a=E(this.M).parentNode;const b=this.g;let c;void 0!==b&&11===(null==(c=a)?void 0:c.nodeType)&&(a=b.parentNode);return a}L(a,b=this){a=P(this,a,b);Cb(a)?a===N||null==a||""===a?(this.o!==N&&this.i(),this.o=N):a!==this.o&&a!==L&&this.u(a):
void 0!==a._$litType$?this.G(a):void 0!==a.nodeType?this.l(a):Db(a)||"function"===typeof(null==a?void 0:a[Symbol.iterator])?this.F(a):this.u(a)}m(a){return E(E(this.M).parentNode).insertBefore(a,this.T)}l(a){if(this.o!==a){this.i();if(eb!==zb){let b;const c=null==(b=this.M.parentNode)?void 0:b.nodeName;if("STYLE"===c||"SCRIPT"===c)throw Error("Forbidden");}this.o=this.m(a)}}u(a){if(this.o!==N&&Cb(this.o)){var b=E(this.M).nextSibling;void 0===this.h&&(this.h=eb(b,"data","property"));a=this.h(a);b.data=
a}else b=H.createTextNode(""),this.l(b),void 0===this.h&&(this.h=eb(b,"data","property")),a=this.h(a),b.data=a;this.o=a}G(a){const {values:b,_$litType$:c}=a;a="number"===typeof c?this.xb(a):(void 0===c.X&&(c.X=Mb.createElement(Lb(c.Jc,c.Jc[0]),this.options)),c);var d;(null==(d=this.o)?void 0:d.ra)===a?this.o.i(b):(d=new Tb(a,this),a=d.l(this.options),d.i(b),this.l(a),this.o=d)}xb(a){let b=Kb.get(a.s);void 0===b&&Kb.set(a.s,b=new Mb(a));return b}F(a){Db(this.o)||(this.o=[],this.i());const b=this.o;
let c=0,d;for(const e of a)c===b.length?b.push(d=new Rb(this.m(H.createComment("")),this.m(H.createComment("")),this,this.options)):d=b[c],d.L(e),c++;c<b.length&&(this.i(d&&E(d.T).nextSibling,c),b.length=c)}i(a=E(this.M).nextSibling,b){let c;for(null==(c=this.D)||c.call(this,!1,!0,b);a&&a!==this.T;)b=E(a).nextSibling,E(a).remove(),a=b}},Qb=class{get tagName(){return this.element.tagName}get K(){return this.g.K}constructor(a,b,c,d,e){this.type=1;this.o=N;this.j=void 0;this.element=a;this.name=b;this.g=
d;this.options=e;2<c.length||""!==c[0]||""!==c[1]?(this.o=Array(c.length-1).fill(new String),this.s=c):this.o=N;this.W=void 0}L(a,b=this,c,d){const e=this.s;let g=!1;if(void 0===e){if(a=P(this,a,b,0),g=!Cb(a)||a!==this.o&&a!==L)this.o=a}else{const n=a;a=e[0];let m,r;for(m=0;m<e.length-1;m++){r=P(this,n[c+m],b,m);r===L&&(r=this.o[m]);g||(g=!Cb(r)||r!==this.o[m]);if(r===N)a=N;else if(a!==N){let C;a+=(null!=(C=r)?C:"")+e[m+1]}this.o[m]=r}}g&&!d&&this.Ta(a)}Ta(a){if(a===N)E(this.element).removeAttribute(this.name);
else{void 0===this.W&&(this.W=eb(this.element,this.name,"attribute"));let b;a=this.W(null!=(b=a)?b:"");let c;E(this.element).setAttribute(this.name,null!=(c=a)?c:"")}}},Nb=class extends Qb{constructor(){super(...arguments);this.type=3}Ta(a){void 0===this.W&&(this.W=eb(this.element,this.name,"property"));a=this.W(a);this.element[this.name]=a===N?void 0:a}},Ob=class extends Qb{constructor(){super(...arguments);this.type=4}Ta(a){E(this.element).toggleAttribute(this.name,!!a&&a!==N)}},Pb=class extends Qb{constructor(a,
b,c,d,e){super(a,b,c,d,e);this.type=5}L(a,b=this){var c;a=null!=(c=P(this,a,b,0))?c:N;if(a!==L){b=this.o;c=a===N&&b!==N||a.capture!==b.capture||a.once!==b.once||a.passive!==b.passive;var d=a!==N&&(b===N||c);c&&this.element.removeEventListener(this.name,this,b);d&&this.element.addEventListener(this.name,this,a);this.o=a}}handleEvent(a){if("function"===typeof this.o){let b,c;this.o.call(null!=(c=null==(b=this.options)?void 0:b.host)?c:this.element,a)}else this.o.handleEvent(a)}},Sb=class{constructor(a,
b,c){this.element=a;this.type=6;this.j=void 0;this.g=b;this.options=c}get K(){return this.g.K}L(a){P(this,a)}};let Vb;null==(Vb=window.litHtmlPolyfillSupport)||Vb(Mb,Rb);var Wb;let Xb;(null!=(Xb=k.litHtmlVersions)?Xb:k.litHtmlVersions=[]).push("3.1.0");Wb=(a,b,c)=>{var d;const e=null!=(d=null==c?void 0:c.ib)?d:b;d=e._$litPart$;if(void 0===d){let g;d=null!=(g=null==c?void 0:c.ib)?g:null;e._$litPart$=d=new Rb(b.insertBefore(H.createComment(""),d),d,void 0,null!=c?c:{})}d.L(a);return d};var Yb=a=>(...b)=>({_$litDirective$:a,values:b}),Zb=class{get K(){return this.g.K}vc(a,b,c){this.m=a;this.g=b;this.l=c}wc(a,b){return this.update(a,b)}update(a,b){return this.i(...b)}};/*
Copyright 2018 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
var $b=Yb(class extends Zb{constructor(a){super();let b;if(1!==a.type||"class"!==a.name||2<(null==(b=a.s)?void 0:b.length))throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");}i(a){return" "+Object.keys(a).filter(b=>a[b]).join(" ")+" "}update(a,[b]){if(void 0===this.h){this.h=new Set;void 0!==a.s&&(this.j=new Set(a.s.join(" ").split(/\s/).filter(d=>""!==d)));for(const d in b){let e;!b[d]||(null==(e=this.j)?0:e.has(d))||this.h.add(d)}return this.i(b)}a=
a.element.classList;for(var c of this.h)c in b||(a.remove(c),this.h.delete(c));for(const d in b){c=!!b[d];let e;c===this.h.has(d)||null!=(e=this.j)&&e.has(d)||(c?(a.add(d),this.h.add(d)):(a.remove(d),this.h.delete(d)))}return L}});const ac=({LitElement:a})=>{if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){a.uc=!0;a=a.prototype;var b=a.O;a.O=function(){this.Ea.scope=this.localName;return b.call(this)}}};let bc;null!=(bc=window).litElementPolyfillSupport||(bc.litElementPolyfillSupport=ac);var Q=class extends y{constructor(){super(...arguments);this.Ea={host:this};this.v=void 0}O(){const a=super.O();let b;null!=(b=this.Ea).ib||(b.ib=a.firstChild);return a}update(a){const b=this.h();this.Z||(this.Ea.isConnected=this.isConnected);super.update(a);this.v=Wb(b,this.ba,this.Ea)}connectedCallback(){super.connectedCallback();let a;null==(a=this.v)||Ub(a,!0)}disconnectedCallback(){super.disconnectedCallback();let a;null==(a=this.v)||Ub(a,!1)}h(){return L}static za(){cc();return y.za.call(this)}};
Q._$litElement$=!0;Q.Za=!0;let dc;null==(dc=window.litElementPolyfillSupport)||dc({LitElement:Q});let cc=()=>{let a,b;(null!=(b=(a=window).litElementVersions)?b:a.litElementVersions=[]).push("4.0.2");cc=()=>{}};/*
Copyright 2021 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
function ec(a,b,c){const d=a.constructor;if(!c&&(c=Na(d,b,`__${b}`),!c))throw Error("@ariaProperty must be used after a @property decorator");const e=c;let g="";if(!e.set)throw Error(`@ariaProperty requires a setter for ${b}`);if(a.md)return c;a={configurable:!0,enumerable:!0,set(n){if(""===g){const m=Qa(d,b);g="string"===typeof m.H?m.H:b}this.hasAttribute(g)&&this.removeAttribute(g);e.set.call(this,n)}};e.get&&(a.get=function(){return e.get.call(this)});return a}
function fc(a,b,c){if(void 0!==b)return ec(a,b,c);throw Error("@ariaProperty only supports TypeScript Decorators");};/*
Copyright 2018 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
var gc=class extends Q{h(){return K`<span><slot></slot></span>`}};gc.pa=[ta(['/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n:host {\n font-family: var(--mdc-icon-font, "Material Icons");\n font-weight: normal;\n font-style: normal;\n font-size: var(--mdc-icon-size, 24px);\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n /* Support for all WebKit browsers. */\n -webkit-font-smoothing: antialiased;\n /* Support for Safari and Chrome. */\n text-rendering: optimizeLegibility;\n /* Support for Firefox. */\n -moz-osx-font-smoothing: grayscale;\n /* Support for IE. */\n font-feature-settings: "liga";\n}\n\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n'])];
gc=l([ja("mwc-icon")],gc);var hc=Yb(class extends Zb{constructor(a){super();let b;if(1!==a.type||"style"!==a.name||2<(null==(b=a.s)?void 0:b.length))throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");}i(a){return Object.keys(a).reduce((b,c)=>{const d=a[c];if(null==d)return b;c=c.includes("-")?c:c.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase();return b+`${c}:${d};`},"")}update(a,[b]){a=a.element.style;void 0===this.h&&(this.h=new Set);
for(var c of this.h)null==b[c]&&(this.h.delete(c),c.includes("-")?a.removeProperty(c):a[c]=null);for(const d in b)if(c=b[d],null!=c){this.h.add(d);const e="string"===typeof c&&c.endsWith(" !important");d.includes("-")||e?a.setProperty(d,e?c.slice(0,-11):c,e?"important":""):a[d]=c}return L}});/*
Copyright 2018 Google Inc.
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.
*/
function ic(a,b){return(a.matches||a.webkitMatchesSelector||a.msMatchesSelector).call(a,b)};/*
Copyright 2016 Google Inc.
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 jc=class{static get g(){return{}}static get s(){return{}}static get h(){return{}}static get i(){return{}}constructor(a={}){this.g=a}Ca(){}D(){}};var kc={ob:"mdc-ripple-upgraded--background-focused",Ha:"mdc-ripple-upgraded--foreground-activation",Ia:"mdc-ripple-upgraded--foreground-deactivation",tb:"mdc-ripple-upgraded",wb:"mdc-ripple-upgraded--unbounded"},lc={nc:"--mdc-ripple-fg-scale",oc:"--mdc-ripple-fg-size",pc:"--mdc-ripple-fg-translate-end",qc:"--mdc-ripple-fg-translate-start",rc:"--mdc-ripple-left",sc:"--mdc-ripple-top"},mc={Zb:225,cc:150,ec:.6,ic:10,mc:300};const nc=["touchstart","pointerdown","mousedown","keydown"],oc=["touchend","pointerup","mouseup","contextmenu"];let pc=[];function qc(){return{Ua:void 0,Hb:!1,Da:!1,eb:!1,nb:!1,S:!1}}function rc(a){const b=R.g.Ia,c=a.i.Da;!a.i.Hb&&c||!a.v||(sc(a),a.g.B(b),a.m=setTimeout(()=>{a.g.A(b)},mc.cc))}function tc(){for(const a of nc);}
function uc(a){a.h=a.g.ha();var b=Math.max(a.h.height,a.h.width);a.F=a.g.aa()?b:Math.sqrt(Math.pow(a.h.width,2)+Math.pow(a.h.height,2))+R.h.ic;b=Math.floor(b*R.h.ec);a.j=a.g.aa()&&0!==b%2?b-1:b;a.C=`${a.F/a.j}`;b=R.s.rc;const c=R.s.sc,d=R.s.nc;a.g.P(R.s.oc,`${a.j}px`);a.g.P(d,a.C);a.g.aa()&&(a.u={left:Math.round(a.h.width/2-a.j/2),top:Math.round(a.h.height/2-a.j/2)},a.g.P(b,`${a.u.left}px`),a.g.P(c,`${a.u.top}px`))}
function vc(a){const b=R.s;Object.keys(b).forEach(c=>{0===c.indexOf("VAR_")&&a.g.P(b[c],null)})}function wc(){for(const a of nc);}function xc(){for(const a of oc);}
function yc(a,b){if(!a.g.Lb()){var c=a.i;if(!c.Da){var d=a.G;d&&void 0!==b&&d.type!==b.type||(c.Da=!0,c.eb=void 0===b,c.Ua=b,c.nb=c.eb?!1:void 0!==b&&("mousedown"===b.type||"touchstart"===b.type||"pointerdown"===b.type),void 0!==b&&0<pc.length&&pc.some(()=>!0)?zc(a):(void 0!==b&&(pc.push(b.target),Ac(b)),c.S=void 0!==b&&"keydown"===b.type?a.g.fb():!0,c.S&&Bc(a),requestAnimationFrame(()=>{pc=[];c.S||void 0===b||" "!==b.key&&32!==b.keyCode||(c.S=void 0!==b&&"keydown"===b.type?a.g.fb():!0,c.S&&Bc(a));
c.S||(a.i=qc())})))}}}function Cc(a){const b=a.i;if(b.Da){var c=Object.assign({},b);b.eb?(requestAnimationFrame(()=>{Dc(a,c)}),zc(a)):(xc(),requestAnimationFrame(()=>{a.i.Hb=!0;Dc(a,c);zc(a)}))}}function Ec(a){requestAnimationFrame(()=>{a.g.B(R.g.ob)})}function Fc(a){requestAnimationFrame(()=>{a.g.A(R.g.ob)})}function Ac(a){if("keydown"!==a.type)for(const b of oc);}function zc(a){a.G=a.i.Ua;a.i=qc();setTimeout(()=>a.G=void 0,R.h.mc)}
function Bc(a){const b=R.s.qc,c=R.s.pc,d=R.g.Ia,e=R.g.Ha,g=R.h.Zb;uc(a);let n="",m="";if(!a.g.aa()){const {Qc:r,Ic:C}=Gc(a);n=`${r.x}px, ${r.y}px`;m=`${C.x}px, ${C.y}px`}a.g.P(b,n);a.g.P(c,m);clearTimeout(a.l);clearTimeout(a.m);sc(a);a.g.A(d);a.g.ha();a.g.B(e);a.l=setTimeout(()=>{a.da()},g)}
function Gc(a){var b=a.i.Ua;if(a.i.nb){var c=a.g.Db(),d=a.g.ha();if(b){var e=c.x+d.left;c=c.y+d.top;"touchstart"===b.type?(e=b.changedTouches[0].pageX-e,b=b.changedTouches[0].pageY-c):(e=b.pageX-e,b=b.pageY-c);b={x:e,y:b}}else b={x:0,y:0}}else b={x:a.h.width/2,y:a.h.height/2};b={x:b.x-a.j/2,y:b.y-a.j/2};return{Qc:b,Ic:{x:a.h.width/2-a.j/2,y:a.h.height/2-a.j/2}}}function sc(a){a.g.A(R.g.Ha);a.v=!1;a.g.ha()}function Dc(a,{nb:b,S:c}){(b||c)&&rc(a)}
var R=class extends jc{static get g(){return kc}static get s(){return lc}static get h(){return mc}static get i(){return{B:()=>{},Bc:()=>!0,ha:()=>({top:0,right:0,bottom:0,left:0,width:0,height:0}),Cc:()=>!0,Fc:()=>{},Gc:()=>{},Hc:()=>{},Db:()=>({x:0,y:0}),fb:()=>!0,Lb:()=>!0,aa:()=>!0,Lc:()=>{},Mc:()=>{},Nc:()=>{},A:()=>{},P:()=>{}}}constructor(a){super(Object.assign({},R.i,a));this.v=!1;this.m=this.l=0;this.C="0";this.h={width:0,height:0};this.F=this.j=0;this.u={left:0,top:0};this.i=qc();this.da=
()=>{this.v=!0;rc(this)}}Ca(){tc();const a=R.g.tb,b=R.g.wb;requestAnimationFrame(()=>{this.g.B(a);this.g.aa()&&(this.g.B(b),uc(this))})}D(){this.l&&(clearTimeout(this.l),this.l=0,this.g.A(R.g.Ha));this.m&&(clearTimeout(this.m),this.m=0,this.g.A(R.g.Ia));const a=R.g.tb,b=R.g.wb;requestAnimationFrame(()=>{this.g.A(a);this.g.A(b);vc(this)});wc();xc()}};function Hc(a){return{B:b=>{a.classList.add(b)},A:b=>{a.classList.remove(b)},ma:b=>a.classList.contains(b)}}const Ic=()=>{};document.addEventListener("x",Ic,{get passive(){return!1}});document.removeEventListener("x",Ic);var Jc=class extends Q{click(){this.N?(this.N.focus(),this.N.click()):super.click()}Aa(){void 0!==this.g&&this.g.D();this.D&&(this.g=new this.D(this.F()),this.g.Ca())}};function Kc(a,b){a.g?b():a.Xb.then(b)}
var S=class extends Jc{constructor(){super(...arguments);this.ya=this.xa=this.va=this.Ba=this.internalUseStateLayerCustomProperties=this.selected=this.activated=this.disabled=this.unbounded=this.accent=this.primary=!1;this.jb=this.gb=this.kb=this.lb=this.Ya=this.Ja="";this.D=R}get isActive(){return ic(this.parentElement||this,":active")}F(){return{Bc:()=>!0,aa:()=>this.unbounded,fb:()=>this.isActive,Lb:()=>this.disabled,B:a=>{switch(a){case "mdc-ripple-upgraded--background-focused":this.va=!0;break;
case "mdc-ripple-upgraded--foreground-activation":this.xa=!0;break;case "mdc-ripple-upgraded--foreground-deactivation":this.ya=!0}},A:a=>{switch(a){case "mdc-ripple-upgraded--background-focused":this.va=!1;break;case "mdc-ripple-upgraded--foreground-activation":this.xa=!1;break;case "mdc-ripple-upgraded--foreground-deactivation":this.ya=!1}},Cc:()=>!0,Mc:()=>{},Gc:()=>{},Lc:()=>{},Fc:()=>{},Nc:()=>{},Hc:()=>{},P:(a,b)=>{switch(a){case "--mdc-ripple-fg-scale":this.Ja=b;break;case "--mdc-ripple-fg-size":this.Ya=
b;break;case "--mdc-ripple-fg-translate-end":this.kb=b;break;case "--mdc-ripple-fg-translate-start":this.lb=b;break;case "--mdc-ripple-left":this.gb=b;break;case "--mdc-ripple-top":this.jb=b}},ha:()=>(this.parentElement||this).getBoundingClientRect(),Db:()=>({x:window.pageXOffset,y:window.pageYOffset})}}oa(a){Kc(this,()=>{yc(this.g,a)})}wa(){Kc(this,()=>{Cc(this.g)})}ca(){Kc(this,()=>{Ec(this.g)})}Y(){Kc(this,()=>{Fc(this.g)})}Fa(){this.Ba=!0}ka(){this.Ba=!1}update(a){a.has("disabled")&&this.disabled&&
this.ka();super.update(a)}h(){return K`
<div class="mdc-ripple-surface mdc-ripple-upgraded ${$b({"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":this.activated&&(this.primary||!this.accent),"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":this.selected&&(this.primary||!this.accent),"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.Ba,"mdc-ripple-surface--primary":this.primary,
"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.va,"mdc-ripple-upgraded--foreground-activation":this.xa,"mdc-ripple-upgraded--foreground-deactivation":this.ya,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties})}"
style="${hc({"--mdc-ripple-fg-scale":this.Ja,"--mdc-ripple-fg-size":this.Ya,"--mdc-ripple-fg-translate-end":this.kb,"--mdc-ripple-fg-translate-start":this.lb,"--mdc-ripple-left":this.gb,"--mdc-ripple-top":this.jb})}"></div>`}};l([A(".mdc-ripple-surface"),v("design:type",HTMLElement)],S.prototype,"N",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"primary",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"accent",void 0);
l([z({type:Boolean}),v("design:type",Object)],S.prototype,"unbounded",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"disabled",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"activated",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"selected",void 0);l([z({type:Boolean}),v("design:type",Object)],S.prototype,"internalUseStateLayerCustomProperties",void 0);l([B(),v("design:type",Object)],S.prototype,"Ba",void 0);
l([B(),v("design:type",Object)],S.prototype,"va",void 0);l([B(),v("design:type",Object)],S.prototype,"xa",void 0);l([B(),v("design:type",Object)],S.prototype,"ya",void 0);l([B(),v("design:type",Object)],S.prototype,"Ja",void 0);l([B(),v("design:type",Object)],S.prototype,"Ya",void 0);l([B(),v("design:type",Object)],S.prototype,"lb",void 0);l([B(),v("design:type",Object)],S.prototype,"kb",void 0);l([B(),v("design:type",Object)],S.prototype,"gb",void 0);
l([B(),v("design:type",Object)],S.prototype,"jb",void 0);var Lc=class extends S{};Lc.pa=[ta(['/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n.mdc-ripple-surface {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n position: relative;\n outline: none;\n overflow: hidden;\n}\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-ripple-surface::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-ripple-surface::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::before {\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::after {\n top: 0;\n /* @noflip */ /*rtl:ignore*/\n left: 0;\n transform: scale(0);\n transform-origin: center center;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */ /*rtl:ignore*/\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {\n animation: mdc-ripple-fg-opacity-out 150ms;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n top: calc(50% - 100%);\n /* @noflip */ /*rtl:ignore*/\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded],\n.mdc-ripple-upgraded--unbounded {\n overflow: visible;\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,\n.mdc-ripple-upgraded--unbounded::before,\n.mdc-ripple-upgraded--unbounded::after {\n top: calc(50% - 50%);\n /* @noflip */ /*rtl:ignore*/\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */ /*rtl:ignore*/\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-ripple-surface:hover::before, .mdc-ripple-surface.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n /* @noflip */ /*rtl:ignore*/\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n /* @noflip */ /*rtl:ignore*/\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n:host {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n display: block;\n}\n:host .mdc-ripple-surface {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n will-change: unset;\n}\n\n.mdc-ripple-surface--primary::before, .mdc-ripple-surface--primary::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-ripple-surface--primary:hover::before, .mdc-ripple-surface--primary.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface--primary.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface--primary--activated::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-activated-opacity, 0.12);\n}\n.mdc-ripple-surface--primary--activated::before, .mdc-ripple-surface--primary--activated::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-ripple-surface--primary--activated:hover::before, .mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before {\n opacity: 0.16;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.16);\n}\n.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-ripple-surface--primary--selected::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-selected-opacity, 0.08);\n}\n.mdc-ripple-surface--primary--selected::before, .mdc-ripple-surface--primary--selected::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-ripple-surface--primary--selected:hover::before, .mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.12);\n}\n.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.2);\n}\n.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n\n.mdc-ripple-surface--accent::before, .mdc-ripple-surface--accent::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-ripple-surface--accent:hover::before, .mdc-ripple-surface--accent.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface--accent.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface--accent--activated::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-activated-opacity, 0.12);\n}\n.mdc-ripple-surface--accent--activated::before, .mdc-ripple-surface--accent--activated::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-ripple-surface--accent--activated:hover::before, .mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before {\n opacity: 0.16;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.16);\n}\n.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-ripple-surface--accent--selected::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-selected-opacity, 0.08);\n}\n.mdc-ripple-surface--accent--selected::before, .mdc-ripple-surface--accent--selected::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-ripple-surface--accent--selected:hover::before, .mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.12);\n}\n.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.2);\n}\n.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n\n.mdc-ripple-surface--disabled {\n opacity: 0;\n}\n\n.mdc-ripple-surface--internal-use-state-layer-custom-properties::before, .mdc-ripple-surface--internal-use-state-layer-custom-properties::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-hover-state-layer-color, #000);\n}\n.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before, .mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-state-layer-opacity, 0.04);\n}\n.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-state-layer-opacity, 0.12);\n}\n.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-pressed-state-layer-opacity, 0.12);\n}\n.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-pressed-state-layer-opacity, 0.12);\n}\n'])];
Lc=l([ja("mwc-ripple")],Lc);/*
Copyright 2020 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
var Mc=class{constructor(a){this.oa=b=>{a().then(c=>{c&&c.oa(b)})};this.wa=()=>{a().then(b=>{b&&b.wa()})};this.ca=()=>{a().then(b=>{b&&b.ca()})};this.Y=()=>{a().then(b=>{b&&b.Y()})};this.Fa=()=>{a().then(b=>{b&&b.Fa()})};this.ka=()=>{a().then(b=>{b&&b.ka()})}}};function Nc(a){return K`
<mwc-icon class="mdc-button__icon">
${a.icon}
</mwc-icon>`}
var T=class extends Q{constructor(){super(...arguments);this.fullwidth=this.trailingIcon=this.disabled=this.dense=this.outlined=this.unelevated=this.raised=!1;this.label=this.icon="";this.Ka=this.expandContent=!1;this.g=new Mc(()=>{this.Ka=!0;return this.fc})}focus(){const a=this.qb;a&&(this.g.ca(),a.focus())}blur(){const a=this.qb;a&&(this.g.Y(),a.blur())}h(){var a=$b({"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense}),
b=this.ariaHasPopup;const c=this.raised||this.unelevated;return K`
<button
id="button"
class="mdc-button ${a}"
?disabled="${this.disabled}"
aria-label="${this.label||this.icon}"
aria-haspopup="${null!=b?b:N}"
@focus="${this.l}"
@blur="${this.j}"
@mousedown="${this.cb}"
@mouseenter="${this.m}"
@mouseleave="${this.u}"
@touchstart="${this.cb}"
@touchend="${this.i}"
@touchcancel="${this.i}">
${K``}
${this.Ka?K`<mwc-ripple class="ripple" .primary="${!c}" .disabled="${this.disabled}"></mwc-ripple>`:""}
<span class="leading-icon">
<slot name="icon">
${this.icon&&!this.trailingIcon?Nc(this):""}
</slot>
</span>
<span class="mdc-button__label">${this.label}</span>
<span class="slot-container ${$b({flex:this.expandContent})}">
<slot></slot>
</span>
<span class="trailing-icon">
<slot name="trailingIcon">
${this.icon&&this.trailingIcon?Nc(this):""}
</slot>
</span>
</button>`}cb(a){const b=()=>{window.removeEventListener("mouseup",b);this.i()};window.addEventListener("mouseup",b);this.g.oa(a)}i(){this.g.wa()}m(){this.g.Fa()}u(){this.g.ka()}l(){this.g.ca()}j(){this.g.Y()}};l([fc,z({type:String,H:"aria-haspopup"}),v("design:type",String)],T.prototype,"ariaHasPopup",void 0);l([z({type:Boolean,J:!0}),v("design:type",Object)],T.prototype,"raised",void 0);l([z({type:Boolean,J:!0}),v("design:type",Object)],T.prototype,"unelevated",void 0);
l([z({type:Boolean,J:!0}),v("design:type",Object)],T.prototype,"outlined",void 0);l([z({type:Boolean}),v("design:type",Object)],T.prototype,"dense",void 0);l([z({type:Boolean,J:!0}),v("design:type",Object)],T.prototype,"disabled",void 0);l([z({type:Boolean,H:"trailingicon"}),v("design:type",Object)],T.prototype,"trailingIcon",void 0);l([z({type:Boolean,J:!0}),v("design:type",Object)],T.prototype,"fullwidth",void 0);l([z({type:String}),v("design:type",Object)],T.prototype,"icon",void 0);
l([z({type:String}),v("design:type",Object)],T.prototype,"label",void 0);l([z({type:Boolean}),v("design:type",Object)],T.prototype,"expandContent",void 0);l([A("#button"),v("design:type",HTMLElement)],T.prototype,"qb",void 0);l([Wa(),v("design:type",Promise)],T.prototype,"fc",void 0);l([B(),v("design:type",Object)],T.prototype,"Ka",void 0);l([ka(),v("design:type",Function),v("design:paramtypes",[Event]),v("design:returntype")],T.prototype,"cb",null);var Oc=class extends T{};Oc.pa=[ta(['.mdc-button {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-button-font-size, 0.875rem);\n line-height: 2.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-button-line-height, 2.25rem);\n font-weight: 500;\n /* @alternate */\n font-weight: var(--mdc-typography-button-font-weight, 500);\n letter-spacing: 0.0892857143em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-button-letter-spacing, 0.0892857143em);\n text-decoration: none;\n /* @alternate */\n text-decoration: var(--mdc-typography-button-text-decoration, none);\n text-transform: uppercase;\n /* @alternate */\n text-transform: var(--mdc-typography-button-text-transform, uppercase);\n}\n\n.mdc-button {\n /* @alternate */\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: 64px;\n border: none;\n outline: none;\n /* @alternate */\n line-height: inherit;\n user-select: none;\n -webkit-appearance: none;\n overflow: visible;\n vertical-align: middle;\n background: transparent;\n}\n.mdc-button .mdc-elevation-overlay {\n width: 100%;\n height: 100%;\n top: 0;\n /* @noflip */ /*rtl:ignore*/\n left: 0;\n}\n.mdc-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mdc-button:active {\n outline: none;\n}\n.mdc-button:hover {\n cursor: pointer;\n}\n.mdc-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n.mdc-button[hidden] {\n display: none;\n}\n.mdc-button .mdc-button__icon { /* @noflip */ /*rtl:ignore*/\n margin-left: 0;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 8px;\n display: inline-block;\n position: relative;\n vertical-align: top;\n}\n[dir=rtl] .mdc-button .mdc-button__icon, .mdc-button .mdc-button__icon[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */ /*rtl:ignore*/\n margin-left: 8px;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 0;\n /*rtl:end:ignore*/\n}\n\n.mdc-button .mdc-button__progress-indicator {\n font-size: 0;\n position: absolute;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n line-height: initial;\n}\n.mdc-button .mdc-button__label {\n position: relative;\n}\n.mdc-button .mdc-button__focus-ring {\n pointer-events: none;\n border: 2px solid transparent;\n border-radius: 6px;\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(100% + 4px);\n width: calc(100% + 4px);\n display: none;\n}\n@media screen and (forced-colors: active) {\n .mdc-button .mdc-button__focus-ring {\n border-color: CanvasText;\n }\n}\n.mdc-button .mdc-button__focus-ring::after {\n content: "";\n border: 2px solid transparent;\n border-radius: 8px;\n display: block;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(100% + 4px);\n width: calc(100% + 4px);\n}\n@media screen and (forced-colors: active) {\n .mdc-button .mdc-button__focus-ring::after {\n border-color: CanvasText;\n }\n}\n@media screen and (forced-colors: active) {\n .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring, .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring {\n display: block;\n }\n}\n.mdc-button .mdc-button__touch {\n position: absolute;\n top: 50%;\n height: 48px;\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n\n.mdc-button__label + .mdc-button__icon {\n /* @noflip */ /*rtl:ignore*/\n margin-left: 8px;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 0;\n}\n[dir=rtl] .mdc-button__label + .mdc-button__icon, .mdc-button__label + .mdc-button__icon[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */ /*rtl:ignore*/\n margin-left: 0;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 8px;\n /*rtl:end:ignore*/\n}\n\nsvg.mdc-button__icon {\n fill: currentColor;\n}\n\n.mdc-button--touch {\n margin-top: 6px;\n margin-bottom: 6px;\n}\n\n.mdc-button {\n padding: 0 8px 0 8px;\n}\n\n.mdc-button--unelevated {\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n padding: 0 16px 0 16px;\n}\n.mdc-button--unelevated.mdc-button--icon-trailing {\n padding: 0 12px 0 16px;\n}\n.mdc-button--unelevated.mdc-button--icon-leading {\n padding: 0 16px 0 12px;\n}\n\n.mdc-button--raised {\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n padding: 0 16px 0 16px;\n}\n.mdc-button--raised.mdc-button--icon-trailing {\n padding: 0 12px 0 16px;\n}\n.mdc-button--raised.mdc-button--icon-leading {\n padding: 0 16px 0 12px;\n}\n\n.mdc-button--outlined {\n border-style: solid;\n transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-button--outlined .mdc-button__ripple {\n border-style: solid;\n border-color: transparent;\n}\n\n.mdc-button {\n height: 36px;\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button:not(:disabled) {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-button:disabled {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-button .mdc-button__icon {\n font-size: 1.125rem;\n width: 1.125rem;\n height: 1.125rem;\n}\n.mdc-button .mdc-button__ripple {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button--raised,\n.mdc-button--unelevated {\n height: 36px;\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button--raised:not(:disabled),\n.mdc-button--unelevated:not(:disabled) {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-button--raised:disabled,\n.mdc-button--unelevated:disabled {\n background-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:not(:disabled),\n.mdc-button--unelevated:not(:disabled) {\n color: #fff;\n /* @alternate */\n color: var(--mdc-theme-on-primary, #fff);\n}\n.mdc-button--raised:disabled,\n.mdc-button--unelevated:disabled {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-button--raised .mdc-button__icon,\n.mdc-button--unelevated .mdc-button__icon {\n font-size: 1.125rem;\n width: 1.125rem;\n height: 1.125rem;\n}\n.mdc-button--raised .mdc-button__ripple,\n.mdc-button--unelevated .mdc-button__ripple {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button--outlined {\n height: 36px;\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n padding: 0 15px 0 15px;\n border-width: 1px;\n}\n.mdc-button--outlined:not(:disabled) {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-button--outlined:disabled {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-button--outlined .mdc-button__icon {\n font-size: 1.125rem;\n width: 1.125rem;\n height: 1.125rem;\n}\n.mdc-button--outlined .mdc-button__ripple {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button--outlined:not(:disabled) {\n border-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-button--outlined:disabled {\n border-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-button--outlined.mdc-button--icon-trailing {\n padding: 0 11px 0 15px;\n}\n.mdc-button--outlined.mdc-button--icon-leading {\n padding: 0 15px 0 11px;\n}\n.mdc-button--outlined .mdc-button__ripple {\n top: -1px;\n left: -1px;\n bottom: -1px;\n right: -1px;\n border-width: 1px;\n}\n.mdc-button--outlined .mdc-button__touch {\n left: calc(-1 * 1px);\n width: calc(100% + 2 * 1px);\n}\n\n.mdc-button--raised {\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-button--raised:hover, .mdc-button--raised:focus {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:active {\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:disabled {\n box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n}\n\n:host {\n display: inline-flex;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n /**\n * Override vertical-align with shortest value "top". Vertical-align\'s default\n * "baseline" value causes buttons to be misaligned next to each other if one\n * button has an icon and the other does not.\n */\n vertical-align: top;\n}\n\n:host([fullwidth]) {\n width: 100%;\n}\n\n:host([raised]),\n:host([unelevated]) {\n --mdc-ripple-color: #fff;\n --mdc-ripple-focus-opacity: 0.24;\n --mdc-ripple-hover-opacity: 0.08;\n --mdc-ripple-press-opacity: 0.24;\n}\n\n.trailing-icon ::slotted(*),\n.trailing-icon .mdc-button__icon,\n.leading-icon ::slotted(*),\n.leading-icon .mdc-button__icon {\n /* @noflip */ /*rtl:ignore*/\n margin-left: 0;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 8px;\n display: inline-block;\n position: relative;\n vertical-align: top;\n font-size: 1.125rem;\n height: 1.125rem;\n width: 1.125rem;\n}\n[dir=rtl] .trailing-icon ::slotted(*), [dir=rtl] .trailing-icon .mdc-button__icon, [dir=rtl] .leading-icon ::slotted(*), [dir=rtl] .leading-icon .mdc-button__icon, .trailing-icon ::slotted(*[dir=rtl]), .trailing-icon .mdc-button__icon[dir=rtl], .leading-icon ::slotted(*[dir=rtl]), .leading-icon .mdc-button__icon[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */ /*rtl:ignore*/\n margin-left: 8px;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 0;\n /*rtl:end:ignore*/\n}\n\n.trailing-icon ::slotted(*),\n.trailing-icon .mdc-button__icon {\n /* @noflip */ /*rtl:ignore*/\n margin-left: 8px;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 0;\n}\n[dir=rtl] .trailing-icon ::slotted(*), [dir=rtl] .trailing-icon .mdc-button__icon, .trailing-icon ::slotted(*[dir=rtl]), .trailing-icon .mdc-button__icon[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */ /*rtl:ignore*/\n margin-left: 0;\n /* @noflip */ /*rtl:ignore*/\n margin-right: 8px;\n /*rtl:end:ignore*/\n}\n\n.slot-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.slot-container.flex {\n flex: auto;\n}\n\n.mdc-button {\n flex: auto;\n overflow: hidden;\n /* @noflip */ /*rtl:ignore*/\n padding-left: 8px;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-left: var(--mdc-button-horizontal-padding, 8px);\n /* @noflip */ /*rtl:ignore*/\n padding-right: 8px;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-right: var(--mdc-button-horizontal-padding, 8px);\n}\n\n.mdc-button--raised {\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-button-raised-box-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n}\n.mdc-button--raised:focus {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-button-raised-box-shadow-focus, var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12)));\n}\n.mdc-button--raised:hover {\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));\n}\n.mdc-button--raised:active {\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-button-raised-box-shadow-active, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12));\n}\n.mdc-button--raised:disabled {\n box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-button-raised-box-shadow-disabled, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));\n}\n\n.mdc-button--raised,\n.mdc-button--unelevated {\n /* @noflip */ /*rtl:ignore*/\n padding-left: 16px;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-left: var(--mdc-button-horizontal-padding, 16px);\n /* @noflip */ /*rtl:ignore*/\n padding-right: 16px;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-right: var(--mdc-button-horizontal-padding, 16px);\n}\n\n.mdc-button--outlined {\n border-width: 1px;\n /* @alternate */\n border-width: var(--mdc-button-outline-width, 1px);\n /* @noflip */ /*rtl:ignore*/\n padding-left: calc(16px - 1px);\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-left: calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));\n /* @noflip */ /*rtl:ignore*/\n padding-right: calc(16px - 1px);\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n padding-right: calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));\n}\n.mdc-button--outlined:not(:disabled) {\n border-color: rgba(0, 0, 0, 0.12);\n /* @alternate */\n border-color: var(--mdc-button-outline-color, rgba(0, 0, 0, 0.12));\n}\n.mdc-button--outlined .ripple {\n top: calc(-1 * 1px);\n /* @alternate */\n top: calc(-1 * var(--mdc-button-outline-width, 1px));\n /* @noflip */ /*rtl:ignore*/\n left: calc(-1 * 1px);\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n left: calc(-1 * var(--mdc-button-outline-width, 1px));\n /* @noflip */ /*rtl:ignore*/\n right: initial;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n right: initial;\n border-width: 1px;\n /* @alternate */\n border-width: var(--mdc-button-outline-width, 1px);\n border-style: solid;\n border-color: transparent;\n}\n[dir=rtl] .mdc-button--outlined .ripple, .mdc-button--outlined .ripple[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */ /*rtl:ignore*/\n left: initial;\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n left: initial;\n /* @noflip */ /*rtl:ignore*/\n right: calc(-1 * 1px);\n /* @alternate */\n /* @noflip */ /*rtl:ignore*/\n right: calc(-1 * var(--mdc-button-outline-width, 1px));\n /*rtl:end:ignore*/\n}\n\n.mdc-button--dense {\n height: 28px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.mdc-button--dense .mdc-button__touch {\n height: 100%;\n}\n\n:host([disabled]) {\n pointer-events: none;\n}\n:host([disabled]) .mdc-button {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-button-disabled-ink-color, rgba(0, 0, 0, 0.38));\n}\n:host([disabled]) .mdc-button--raised,\n:host([disabled]) .mdc-button--unelevated {\n background-color: rgba(0, 0, 0, 0.12);\n /* @alternate */\n background-color: var(--mdc-button-disabled-fill-color, rgba(0, 0, 0, 0.12));\n}\n:host([disabled]) .mdc-button--outlined {\n border-color: rgba(0, 0, 0, 0.12);\n /* @alternate */\n border-color: var(--mdc-button-disabled-outline-color, rgba(0, 0, 0, 0.12));\n}\n'])];
Oc=l([ja("mwc-button")],Oc);/*
Copyright 2016 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
(()=>{const a=Symbol(),b=Symbol(),c=Symbol(),d=Symbol(),e=Symbol(),g=Symbol(),n=Symbol(),m=Symbol(),r=Symbol(),C=Symbol(),G=Symbol(),w=Symbol(),I=Symbol();class u{constructor(){this[a]=[];this[c]=[];this[b]=new Set}l(){this[r](this[c]);this[a]=null;this[c]=null;this[b]=null}get top(){const f=this[a];return f[f.length-1]||null}push(f){f&&f!==this.top&&(this.remove(f),this[g](f),this[a].push(f))}remove(f){f=this[a].indexOf(f);if(-1===f)return!1;this[a].splice(f,1);if(f===this[a].length)this[g](this.top);
return!0}pop(){const f=this.top;f&&this.remove(f);return f}has(f){return-1!==this[a].indexOf(f)}[g](f){var h=this[b];const p=this[c];if(f){var q=this[C](f);if(q[q.length-1].parentNode!==document.body)throw Error("Non-connected element cannot be a blocking element");this[c]=q;f=this[G](f);if(p.length){h=p.length-1;for(var t=q.length-1;0<h&&0<t&&p[h]===q[t];)h--,t--;if(p[h]!==q[t])this[n](p[h],q[t]);0<h&&this[r](p.slice(0,h));0<t&&this[m](q.slice(0,t),f,null)}else this[m](q,f,h)}else this[r](p),h.clear(),
this[c]=[]}[n](f,h){const p=f[d];this[w](f)&&!f.inert&&(f.inert=!0,p.add(f));p.has(h)&&(h.inert=!1,p.delete(h));h[e]=f[e];h[d]=p;f[e]=void 0;f[d]=void 0}[r](f){for(const h of f){h[e].disconnect();h[e]=void 0;f=h[d];for(const p of f)p.inert=!1;h[d]=void 0}}[m](f,h,p){for(const x of f){f=x.parentNode;var q=f.children,t=new Set;for(let M=0;M<q.length;M++){const W=q[M];W===x||!this[w](W)||h&&h.has(W)||(p&&W.inert?p.add(W):(W.inert=!0,t.add(W)))}x[d]=t;q=new MutationObserver(this[I].bind(this));x[e]=q;
t=f;t.hd&&t.host&&(f=t.host);q.observe(f,{childList:!0})}}[I](f){const h=this[c],p=this[b];for(const x of f){f=x.target.host||x.target;var q=h[(f===document.body?h.length:h.indexOf(f))-1];f=q[d];for(var t=0;t<x.removedNodes.length;t++){const M=x.removedNodes[t];if(M===q){console.info("Detected removal of the top Blocking Element.");this.pop();return}f.has(M)&&(M.inert=!1,f.delete(M))}for(q=0;q<x.addedNodes.length;q++)t=x.addedNodes[q],this[w](t)&&(p&&t.inert?p.add(t):(t.inert=!0,f.add(t)))}}[w](f){return!1===
/^(style|template|script)$/.test(f.localName)}[C](f){const h=[];for(;f&&f!==document.body;)if(f.nodeType===Node.ELEMENT_NODE&&h.push(f),f.assignedSlot){for(;f=f.assignedSlot;)h.push(f);f=h.pop()}else f=f.parentNode||f.host;return h}[G](f){var h=f.shadowRoot;if(!h)return null;f=new Set;let p,q;const t=h.querySelectorAll("slot");if(t.length&&t[0].assignedNodes)for(h=0;h<t.length;h++)for(q=t[h].assignedNodes({flatten:!0}),p=0;p<q.length;p++)q[p].nodeType===Node.ELEMENT_NODE&&f.add(q[p]);return f}}document.Yb=
new u})();var U={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",sb:"mdc-dialog--opening",ub:"mdc-dialog--scrollable",vb:"mdc-dialog-scroll-lock",qa:"mdc-dialog--stacked",dc:"mdc-dialog--fullscreen",Na:"mdc-dialog-scroll-divider-header",Ma:"mdc-dialog-scroll-divider-footer",fd:"mdc-dialog__surface-scrim--shown",ed:"mdc-dialog__surface-scrim--showing",dd:"mdc-dialog__surface-scrim--hiding",jc:"mdc-dialog__scrim--hidden"},Pc={Sc:"data-mdc-dialog-action",Tc:"data-mdc-dialog-button-default",Uc:".mdc-dialog__button",
Vc:"MDCDialog:closed",pb:"close",Wc:"MDCDialog:closing",Xc:".mdc-dialog__container",Yc:".mdc-dialog__content",Zc:"destroy",ad:"data-mdc-dialog-initial-focus",bd:"MDCDialog:opened",cd:"MDCDialog:opening",kc:".mdc-dialog__scrim",lc:"textarea, .mdc-menu .mdc-list-item, .mdc-menu .mdc-deprecated-list-item",gd:".mdc-dialog__surface"},Qc={ac:75,bc:150};/*
Copyright 2020 Google Inc.
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.
*/
function Rc(a,b,c){a.cancel(b);const d=requestAnimationFrame(e=>{a.g.delete(b);c(e)});a.g.set(b,d)}function Sc(a){a.g.forEach((b,c)=>{a.cancel(c)})}var Tc=class{constructor(){this.g=new Map}cancel(a){const b=this.g.get(a);b&&(cancelAnimationFrame(b),this.g.delete(a))}};/*
Copyright 2017 Google Inc.
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.
*/
function Uc(a){Rc(a.m,"poll_scroll_position",()=>{Vc(a);Wc(a)})}function Xc(a){Rc(a.m,"poll_layout_change",()=>{if(a.v){a.g.A(U.qa);const b=a.g.ga();b&&a.g.B(U.qa);b!==a.ga&&(a.ga=b)}a.g.A(U.ub);a.g.Ib()&&(a.g.B(U.ub),a.j&&(Vc(a),Wc(a)))})}function Yc(a){a.h=0;a.g.A(U.sb);a.g.A(U.CLOSING)}function Zc(a,b){cancelAnimationFrame(a.i);a.i=requestAnimationFrame(()=>{a.i=0;clearTimeout(a.h);a.h=setTimeout(b,0)})}function Vc(a){a.g.Kb()?a.g.ma(U.Na)&&a.g.A(U.Na):a.g.B(U.Na)}
function Wc(a){a.g.Jb()?a.g.ma(U.Ma)&&a.g.A(U.Ma):a.g.B(U.Ma)}
var $c=class extends jc{static get g(){return U}static get s(){return Pc}static get h(){return Qc}static get i(){return{Ab:()=>{},B:()=>{},ga:()=>!1,Bb:()=>{},Xa:()=>!1,bb:()=>"",la:()=>null,ma:()=>!1,Ib:()=>!1,Mb:()=>{},Nb:()=>{},Ob:()=>{},Pb:()=>{},Sb:()=>{},Tb:()=>{},A:()=>{},Oc:()=>{},Wb:()=>{},Rb:()=>{},Va:()=>{},Kb:()=>!1,Jb:()=>!1,hb:()=>{},ja:()=>{}}}constructor(a){super(Object.assign({},$c.i,a));this.j=this.l=!1;this.h=this.i=0;this.scrimClickAction=this.escapeKeyAction=Pc.pb;this.v=!0;this.ga=
!1;this.suppressDefaultPressSelector=Pc.lc;this.m=new Tc;this.u=()=>{Uc(this)};this.F=()=>{Xc(this)};this.C=()=>{Xc(this)}}Ca(){this.g.ma(U.qa)&&(this.v=!1);this.j=this.g.ma(U.dc)}D(){this.h&&(clearTimeout(this.h),Yc(this));this.j&&this.g.Va("scroll",this.u);Sc(this.m);this.g.ja("resize",this.F);this.g.ja("orientationchange",this.C)}open(a){this.l=!0;this.g.Pb();this.g.B(U.sb);this.j&&this.g.Rb("scroll",this.u);a&&a.rd&&this.g.B(U.jc);this.g.hb("resize",this.F);this.g.hb("orientationchange",this.C);
Zc(this,()=>{this.g.B(U.OPEN);a&&a.sd||this.g.Ab(U.vb);Xc(this);this.h=setTimeout(()=>{Yc(this);this.g.Wb(this.g.la());this.g.Ob()},Qc.bc)})}close(a=""){this.l&&(this.l=!1,this.g.Nb(a),this.g.B(U.CLOSING),this.g.A(U.OPEN),this.g.Tb(U.vb),this.j&&this.g.Va("scroll",this.u),this.g.ja("resize",this.F),this.g.ja("orientationchange",this.C),cancelAnimationFrame(this.i),this.i=0,clearTimeout(this.h),this.h=setTimeout(()=>{this.g.Sb();Yc(this);this.g.Mb(a)},Qc.ac))}G(a){this.g.Xa(a.target,Pc.kc)&&""!==this.scrimClickAction?
this.close(this.scrimClickAction):(a=this.g.bb(a))&&this.close(a)}Ga(a){const b="Enter"===a.key||13===a.keyCode;b&&!this.g.bb(a)&&(a=a.composedPath?a.composedPath()[0]:a.target,a=this.suppressDefaultPressSelector?!this.g.Xa(a,this.suppressDefaultPressSelector):!0,b&&a&&this.g.Bb())}da(a){"Escape"!==a.key&&27!==a.keyCode||""===this.escapeKeyAction||this.close(this.escapeKeyAction)}};/*
Copyright 2019 Google Inc.
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.
*/
function ad(){return bd(window)?{passive:!0}:!1}function bd(a=window){let b=!1;try{const c={get passive(){b=!0;return!1}},d=()=>{};a.document.addEventListener("test",d,c);a.document.removeEventListener("test",d,c)}catch(c){b=!1}return b};var cd=a=>(b,c)=>{if(!b.constructor.V){b.constructor.V=new Map;const d=b.mb;b.mb=function(e){d.call(this,e);e.forEach((g,n)=>{const m=this.constructor.V.get(n);void 0!==m&&m.call(this,this[n],g)})}}else if(!b.constructor.hasOwnProperty("_observers")){const d=b.constructor.V;b.constructor.V=new Map;d.forEach((e,g)=>b.constructor.V.set(g,e))}b.constructor.V.set(c,a)};/*
Copyright 2016 Google LLC
W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
This work is being provided by the copyright holders under the following
license.
License
By obtaining and/or copying this work, you (the licensee) agree that you have
read, understood, and will comply with the following terms and conditions.
Permission to copy, modify, and distribute this work, with or without
modification, for any purpose and without fee or royalty is hereby granted,
provided that you include the following on ALL copies of the work or portions
thereof, including modifications:
* The full text of this NOTICE in a location viewable to users of the
redistributed or derivative work.
* Any pre-existing intellectual property disclaimers, notices, or terms and
conditions. If none exist, the W3C Software and Document Short Notice
should be included.
* Notice of any changes or modifications, through a copyright statement on the
new code or document such as "This software or document includes material
copied from or derived from [title and URI of the W3C document]. Copyright
(C) [YEAR] W3C (R) (MIT, ERCIM, Keio, Beihang)."
Disclaimers
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADEMARKS OR OTHER RIGHTS.
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
The name and trademarks of copyright holders may NOT be used in advertising or
publicity pertaining to the work without specific, written prior permission.
Title to copyright in this work will at all times remain with copyright holders.
*/
const dd=Array.prototype.slice,ed=Element.prototype.matches||Element.prototype.msMatchesSelector;
class fd{constructor(a,b){this.h=b;this.g=a;this.i=new Set;this.g.hasAttribute("aria-hidden")?this.v=this.g.getAttribute("aria-hidden"):this.v=null;this.g.setAttribute("aria-hidden","true");this.D(this.g);this.m=new MutationObserver(this.F.bind(this));this.m.observe(this.g,{attributes:!0,childList:!0,subtree:!0})}l(){this.m.disconnect();this.g&&(null!==this.v?this.g.setAttribute("aria-hidden",this.v):this.g.removeAttribute("aria-hidden"));this.i.forEach(function(a){this.C(a.node)},this);this.h=this.i=
this.g=this.m=null}get Ga(){return new Set(this.i)}D(a){gd(a,c=>this.da(c));let b=document.activeElement;if(!document.body.contains(a)){let c=a,d=void 0;for(;c;){if(c.nodeType===Node.DOCUMENT_FRAGMENT_NODE){d=c;break}c=c.parentNode}d&&(b=d.activeElement)}a.contains(b)&&(b.blur(),b===document.activeElement&&document.body.focus())}da(a){a.nodeType===Node.ELEMENT_NODE&&(a!==this.g&&a.hasAttribute("inert")&&this.u(a),(ed.call(a,"a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable]")||
a.hasAttribute("tabindex"))&&this.j(a))}j(a){a=this.h.register(a,this);this.i.add(a)}C(a){{var b=this.h;const c=b.h.get(a);c?(c.j(),c.i.delete(this),0===c.i.size&&c.l(),c.u&&b.h.delete(a),a=c):a=null}a&&this.i.delete(a)}G(a){gd(a,b=>this.C(b))}u(a){let b=this.h.g.get(a);b||(hd(this.h,a,!0),b=this.h.g.get(a));b.Ga.forEach(function(c){this.j(c.node)},this)}F(a){a.forEach(function(b){const c=b.target;if("childList"===b.type)dd.call(b.addedNodes).forEach(function(d){this.D(d)},this),dd.call(b.removedNodes).forEach(function(d){this.G(d)},
this);else if("attributes"===b.type)if("tabindex"===b.attributeName)this.j(c);else if(c!==this.g&&"inert"===b.attributeName&&c.hasAttribute("inert")){this.u(c);const d=this.h.g.get(c);this.i.forEach(function(e){c.contains(e.node)&&d.j(e.node)})}},this)}}
function id(a){if(a.node.nodeType===Node.ELEMENT_NODE){var b=a.node;ed.call(b,"a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable]")?-1===b.tabIndex&&a.D||(b.hasAttribute("tabindex")&&(a.h=b.tabIndex),b.setAttribute("tabindex","-1"),b.nodeType===Node.ELEMENT_NODE&&(b.focus=function(){},a.v=!0)):b.hasAttribute("tabindex")&&(a.h=b.tabIndex,b.removeAttribute("tabindex"))}}
class jd{constructor(a,b){this.g=a;this.v=!1;this.i=new Set([b]);this.h=null;this.m=!1;id(this)}l(){this.j();if(this.g&&this.g.nodeType===Node.ELEMENT_NODE){const a=this.g;null!==this.h?a.setAttribute("tabindex",this.h):a.removeAttribute("tabindex");this.v&&delete a.focus}this.i=this.g=null;this.m=!0}get u(){return this.m}j(){if(this.u)throw Error("Trying to access destroyed InertNode");}get D(){return null!==this.h}get node(){this.j();return this.g}}
function hd(a,b,c){if(c){if(!a.g.has(b)&&(c=new fd(b,a),b.setAttribute("inert",""),a.g.set(b,c),!a.i.body.contains(b)))for(a=b.parentNode;a;)11===a.nodeType&&kd(a),a=a.parentNode}else a.g.has(b)&&(a.g.get(b).l(),a.g.delete(b),b.removeAttribute("inert"))}
class ld{constructor(){var a=document;if(!a)throw Error("Missing required argument; InertManager needs to wrap a document.");this.i=a;this.h=new Map;this.g=new Map;this.l=new MutationObserver(this.m.bind(this));kd(a.head||a.body||a.documentElement);"loading"===a.readyState?a.addEventListener("DOMContentLoaded",this.j.bind(this)):this.j()}register(a,b){let c=this.h.get(a);if(void 0!==c){var d=c;d.j();d.i.add(b)}else c=new jd(a,b);this.h.set(a,c);return c}j(){dd.call(this.i.querySelectorAll("[inert]")).forEach(function(a){hd(this,
a,!0)},this);this.l.observe(this.i.body,{attributes:!0,subtree:!0,childList:!0})}m(a){const b=this;a.forEach(function(c){switch(c.type){case "childList":dd.call(c.addedNodes).forEach(function(d){if(d.nodeType===Node.ELEMENT_NODE){var e=dd.call(d.querySelectorAll("[inert]"));ed.call(d,"[inert]")&&e.unshift(d);e.forEach(function(g){hd(this,g,!0)},b)}},b);break;case "attributes":"inert"===c.attributeName&&(c=c.target,hd(b,c,c.hasAttribute("inert")))}},this)}}
function gd(a,b,c){if(a.nodeType==Node.ELEMENT_NODE){b&&b(a);var d=a.shadowRoot;if(d){gd(d,b,d);return}if("content"==a.localName){a=a.getDistributedNodes?a.getDistributedNodes():[];for(d=0;d<a.length;d++)gd(a[d],b,c);return}if("slot"==a.localName){a=a.assignedNodes?a.assignedNodes({flatten:!0}):[];for(d=0;d<a.length;d++)gd(a[d],b,c);return}}for(a=a.firstChild;null!=a;)gd(a,b,c),a=a.nextSibling}
function kd(a){if(!a.querySelector("style#inert-style")){var b=document.createElement("style");b.setAttribute("id","inert-style");b.textContent="\n[inert] {\n pointer-events: none;\n cursor: default;\n}\n\n[inert], [inert] * {\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n}\n";a.appendChild(b)}}const md=new ld;
Element.prototype.hasOwnProperty("inert")||Object.defineProperty(Element.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(a){hd(md,this,a)}});const nd=document.Yb;function od(a,b,c){b=new CustomEvent(b,{detail:c?{action:c}:{}});a.dispatchEvent(b)}function pd(a,b){for(const c of a)if(c instanceof HTMLElement){if(c.hasAttribute(b))return c;if(a=c.querySelector(`[${b}]`))return a}return null}function qd(a){a.i&&a.N.addEventListener("click",a.i);a.l&&a.N.addEventListener("keydown",a.l,ad());a.j&&document.addEventListener("keydown",a.j,ad())}
function rd(a){a.i&&a.N.removeEventListener("click",a.i);a.l&&a.N.removeEventListener("keydown",a.l);a.j&&document.removeEventListener("keydown",a.j)}
var V=class extends Jc{constructor(){super(...arguments);this.stacked=this.hideActions=!1;this.heading="";this.escapeKeyAction=this.scrimClickAction="close";this.open=!1;this.headingAriaLabel="";this.defaultAction="close";this.actionAttribute="dialogAction";this.initialFocusAttribute="dialogInitialFocus";this.m="";this.D=$c;this.j=this.l=this.i=null}set suppressDefaultPressSelector(a){this.g?this.g.suppressDefaultPressSelector=a:this.m=a}get suppressDefaultPressSelector(){return this.g?this.g.suppressDefaultPressSelector:
this.m}get G(){var a=this.Qb.assignedNodes();a=a.filter(b=>b instanceof HTMLElement);return(a=a[0])?a:null}la(){var a=this.querySelector(`[${this.initialFocusAttribute}]`);if(a)return a;a=this.Qb.assignedNodes({flatten:!0});if(a=pd(a,this.initialFocusAttribute))return a;a=this.Pc.assignedNodes({flatten:!0});if(a=pd(a,this.initialFocusAttribute))return a;a=this.Dc.assignedNodes({flatten:!0});return pd(a,this.initialFocusAttribute)}F(){return Object.assign({},Hc(this.N),{Ab:()=>document.body.style.overflow=
"hidden",Tb:()=>document.body.style.overflow="",ga:()=>this.stacked,Bb:()=>{const a=this.G;a&&a.click()},Xa:(a,b)=>a?ic(a,b):!1,bb:a=>{if(!a.target)return"";a:{var b=a.target;a=`[${this.actionAttribute}]`;if(b.closest)a=b.closest(a);else{for(;b;){if(ic(b,a)){a=b;break a}b=b.parentElement}a=null}}return a&&a.getAttribute(this.actionAttribute)},la:()=>this.la(),Ib:()=>{const a=this.ia;return a?a.scrollHeight>a.offsetHeight:!1},Mb:a=>od(this,"closed",a),Nb:a=>{this.C||(this.open=!1);od(this,"closing",
a)},Ob:()=>od(this,"opened"),Pb:()=>{this.open=!0;od(this,"opening")},Oc:()=>{},Sb:()=>{nd.remove(this)},Wb:a=>{this.isConnected&&(nd.push(this),a&&a.focus())},Rb:(a,b)=>{this.ia.addEventListener(a,b)},Va:(a,b)=>{this.ia.removeEventListener(a,b)},Kb:()=>{const a=this.ia;return a?0===a.scrollTop:!1},Jb:()=>{const a=this.ia;return a?Math.ceil(a.scrollHeight-a.scrollTop)===a.clientHeight:!1},hb:(a,b)=>{window.addEventListener(a,b,ad())},ja:(a,b)=>{window.removeEventListener(a,b,ad())}})}h(){const a=
{[U.qa]:this.stacked};let b=K``;this.heading&&(b=K`
<h2 id="title" class="mdc-dialog__title">${this.heading}</h2>`);const c={"mdc-dialog__actions":!this.hideActions},d=!this.heading&&this.headingAriaLabel?this.headingAriaLabel:N;return K`
<div class="mdc-dialog ${$b(a)}"
role="alertdialog"
aria-modal="true"
aria-labelledby=${this.heading?"title":N}
aria-label=${d}
aria-describedby="content">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface">
${b}
<div id="content" class="mdc-dialog__content">
<slot id="contentSlot"></slot>
</div>
<footer
id="actions"
class="${$b(c)}">
<span>
<slot name="secondaryAction"></slot>
</span>
<span>
<slot name="primaryAction"></slot>
</span>
</footer>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>`}Aa(){super.Aa();this.g.v=!0;this.suppressDefaultPressSelector=this.m?this.m:[this.suppressDefaultPressSelector,"mwc-textarea, mwc-menu mwc-list-item, mwc-select mwc-list-item"].join(", ");this.i=this.g.G.bind(this.g);this.l=this.g.Ga.bind(this.g);this.j=this.g.da.bind(this.g)}connectedCallback(){super.connectedCallback();this.open&&this.g&&!this.g.l&&(qd(this),this.g.open())}disconnectedCallback(){super.disconnectedCallback();this.open&&this.g&&(rd(this),this.C=!0,this.g.close(this.u||
this.defaultAction),this.C=!1,this.u=void 0,nd.remove(this))}focus(){const a=this.la();a&&a.focus()}blur(){if(this.shadowRoot){var a=this.shadowRoot.activeElement;a?a instanceof HTMLElement&&a.blur():(a=this.getRootNode(),a=a instanceof Document?a.activeElement:null,a instanceof HTMLElement&&a.blur())}}close(){this.open=!1}};l([A(".mdc-dialog"),v("design:type",HTMLDivElement)],V.prototype,"N",void 0);l([A('slot[name="primaryAction"]'),v("design:type",HTMLElement)],V.prototype,"Qb",void 0);
l([A('slot[name="secondaryAction"]'),v("design:type",HTMLElement)],V.prototype,"Pc",void 0);l([A("#contentSlot"),v("design:type",HTMLElement)],V.prototype,"Dc",void 0);l([A(".mdc-dialog__content"),v("design:type",HTMLDivElement)],V.prototype,"ia",void 0);l([A(".mdc-container"),v("design:type",HTMLDivElement)],V.prototype,"jd",void 0);l([z({type:Boolean}),v("design:type",Object)],V.prototype,"hideActions",void 0);
l([z({type:Boolean}),cd(function(){Xc(this.g)}),v("design:type",Object)],V.prototype,"stacked",void 0);l([z({type:String}),v("design:type",Object)],V.prototype,"heading",void 0);l([z({type:String}),cd(function(a){this.g.scrimClickAction=a}),v("design:type",Object)],V.prototype,"scrimClickAction",void 0);l([z({type:String}),cd(function(a){this.g.escapeKeyAction=a}),v("design:type",Object)],V.prototype,"escapeKeyAction",void 0);
l([z({type:Boolean,J:!0}),cd(function(a){this.g&&this.isConnected&&(a?(qd(this),this.g.open()):(rd(this),this.g.close(this.u||this.defaultAction),this.u=void 0))}),v("design:type",Object)],V.prototype,"open",void 0);l([z(),v("design:type",Object)],V.prototype,"headingAriaLabel",void 0);l([z(),v("design:type",Object)],V.prototype,"defaultAction",void 0);l([z(),v("design:type",Object)],V.prototype,"actionAttribute",void 0);l([z(),v("design:type",Object)],V.prototype,"initialFocusAttribute",void 0);var sd=class extends V{};sd.pa=[ta(['.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}/*# sourceMappingURL=mwc-dialog.css.map */\n'])];
sd=l([ja("mwc-dialog")],sd);var X=class extends Q{constructor(){super(...arguments);this.disabled=!1;this.icon="";this.La=!1;this.g=new Mc(()=>{this.La=!0;return this.hc})}focus(){const a=this.rb;a&&(this.g.ca(),a.focus())}blur(){const a=this.rb;a&&(this.g.Y(),a.blur())}h(){var a=this.ariaHasPopup;return K`<button
class="mdc-icon-button mdc-icon-button--display-flex"
aria-label="${this.ariaLabel||this.icon}"
aria-haspopup="${null!=a?a:N}"
?disabled="${this.disabled}"
@focus="${this.l}"
@blur="${this.j}"
@mousedown="${this.Eb}"
@mouseenter="${this.m}"
@mouseleave="${this.u}"
@touchstart="${this.Fb}"
@touchend="${this.i}"
@touchcancel="${this.i}"
>${this.La?K`
<mwc-ripple
.disabled="${this.disabled}"
unbounded>
</mwc-ripple>`:""}
${this.icon?K`<i class="material-icons">${this.icon}</i>`:""}
<span
><slot></slot
></span>
</button>`}Eb(a){const b=()=>{window.removeEventListener("mouseup",b);this.i()};window.addEventListener("mouseup",b);this.g.oa(a)}Fb(a){this.g.oa(a)}i(){this.g.wa()}m(){this.g.Fa()}u(){this.g.ka()}l(){this.g.ca()}j(){this.g.Y()}};l([z({type:Boolean,J:!0}),v("design:type",Object)],X.prototype,"disabled",void 0);l([z({type:String}),v("design:type",Object)],X.prototype,"icon",void 0);l([fc,z({type:String,H:"aria-label"}),v("design:type",String)],X.prototype,"ariaLabel",void 0);
l([fc,z({type:String,H:"aria-haspopup"}),v("design:type",String)],X.prototype,"ariaHasPopup",void 0);l([A("button"),v("design:type",HTMLElement)],X.prototype,"rb",void 0);l([Wa(),v("design:type",Promise)],X.prototype,"hc",void 0);l([B(),v("design:type",Object)],X.prototype,"La",void 0);l([ka(),v("design:type",Function),v("design:paramtypes",[Event]),v("design:returntype")],X.prototype,"Eb",null);
l([ka(),v("design:type",Function),v("design:paramtypes",[Event]),v("design:returntype")],X.prototype,"Fb",null);var td=class extends X{};td.pa=[ta(['/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n.material-icons {\n font-family: var(--mdc-icon-font, "Material Icons");\n font-weight: normal;\n font-style: normal;\n font-size: var(--mdc-icon-size, 24px);\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n /* Support for all WebKit browsers. */\n -webkit-font-smoothing: antialiased;\n /* Support for Safari and Chrome. */\n text-rendering: optimizeLegibility;\n /* Support for Firefox. */\n -moz-osx-font-smoothing: grayscale;\n /* Support for IE. */\n font-feature-settings: "liga";\n}\n\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n.mdc-icon-button {\n font-size: 24px;\n width: 48px;\n height: 48px;\n padding: 12px;\n}\n.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple {\n width: 40px;\n height: 40px;\n margin-top: 4px;\n margin-bottom: 4px;\n margin-right: 4px;\n margin-left: 4px;\n}\n.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring {\n max-height: 40px;\n max-width: 40px;\n}\n.mdc-icon-button .mdc-icon-button__touch {\n position: absolute;\n top: 50%;\n height: 48px;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n width: 48px;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n}\n.mdc-icon-button:disabled {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38));\n}\n.mdc-icon-button svg,\n.mdc-icon-button img {\n width: 24px;\n height: 24px;\n}\n\n.mdc-icon-button {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n border: none;\n outline: none;\n background-color: transparent;\n fill: currentColor;\n color: inherit;\n text-decoration: none;\n cursor: pointer;\n user-select: none;\n z-index: 0;\n overflow: visible;\n}\n.mdc-icon-button .mdc-icon-button__touch {\n position: absolute;\n top: 50%;\n height: 48px;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n width: 48px;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring, .mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring {\n display: block;\n }\n}\n.mdc-icon-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n.mdc-icon-button[hidden] {\n display: none;\n}\n\n.mdc-icon-button--display-flex {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n}\n\n.mdc-icon-button__focus-ring {\n pointer-events: none;\n border: 2px solid transparent;\n border-radius: 6px;\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: 100%;\n width: 100%;\n display: none;\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button__focus-ring {\n border-color: CanvasText;\n }\n}\n.mdc-icon-button__focus-ring::after {\n content: "";\n border: 2px solid transparent;\n border-radius: 8px;\n display: block;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(100% + 4px);\n width: calc(100% + 4px);\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button__focus-ring::after {\n border-color: CanvasText;\n }\n}\n\n.mdc-icon-button__icon {\n display: inline-block;\n}\n.mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: none;\n}\n\n.mdc-icon-button--on .mdc-icon-button__icon {\n display: none;\n}\n.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: inline-block;\n}\n\n.mdc-icon-button__link {\n height: 100%;\n left: 0;\n outline: none;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.mdc-icon-button {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n border: none;\n outline: none;\n background-color: transparent;\n fill: currentColor;\n color: inherit;\n text-decoration: none;\n cursor: pointer;\n user-select: none;\n z-index: 0;\n overflow: visible;\n}\n.mdc-icon-button .mdc-icon-button__touch {\n position: absolute;\n top: 50%;\n height: 48px;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n width: 48px;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring, .mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring {\n display: block;\n }\n}\n.mdc-icon-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n.mdc-icon-button[hidden] {\n display: none;\n}\n\n.mdc-icon-button--display-flex {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n}\n\n.mdc-icon-button__focus-ring {\n pointer-events: none;\n border: 2px solid transparent;\n border-radius: 6px;\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: 100%;\n width: 100%;\n display: none;\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button__focus-ring {\n border-color: CanvasText;\n }\n}\n.mdc-icon-button__focus-ring::after {\n content: "";\n border: 2px solid transparent;\n border-radius: 8px;\n display: block;\n position: absolute;\n top: 50%;\n /* @noflip */ /*rtl:ignore*/\n left: 50%;\n /* @noflip */ /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(100% + 4px);\n width: calc(100% + 4px);\n}\n@media screen and (forced-colors: active) {\n .mdc-icon-button__focus-ring::after {\n border-color: CanvasText;\n }\n}\n\n.mdc-icon-button__icon {\n display: inline-block;\n}\n.mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: none;\n}\n\n.mdc-icon-button--on .mdc-icon-button__icon {\n display: none;\n}\n.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: inline-block;\n}\n\n.mdc-icon-button__link {\n height: 100%;\n left: 0;\n outline: none;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n:host {\n display: inline-block;\n outline: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n}\n\n.mdc-icon-button i,\n.mdc-icon-button svg,\n.mdc-icon-button img,\n.mdc-icon-button ::slotted(*) {\n display: block;\n}\n\n:host {\n --mdc-ripple-color: currentcolor;\n -webkit-tap-highlight-color: transparent;\n}\n\n:host,\n.mdc-icon-button {\n /**\n * Any vertical-align other than the default of "baseline" will work here (and\n * "top" is the shortest).\n *\n * In general, when an inline-block element has vertical-align: baseline and\n * also a fixed height, extra space may "appear" below it. This is because the\n * baseline it is aligned to is not the very bottom of the line, it\'s the line\n * above the "descenders" (e.g. the tail of a "y" or "j"). This means the\n * container must grow to accomodate both the fixed height inline-element, and\n * the descender height below it.\n *\n * For unknown reasons, in this particular case, this only causes incorrect\n * alignment in IE.\n *\n * IE needs the vertical-align on both the button and the host element.\n */\n vertical-align: top;\n}\n\n.mdc-icon-button {\n width: var(--mdc-icon-button-size, 48px);\n height: var(--mdc-icon-button-size, 48px);\n padding: calc((var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2);\n}\n.mdc-icon-button i,\n.mdc-icon-button svg,\n.mdc-icon-button img,\n.mdc-icon-button ::slotted(*) {\n display: block;\n width: var(--mdc-icon-size, 24px);\n height: var(--mdc-icon-size, 24px);\n}\n'])];
td=l([ja("mwc-icon-button")],td);function ud(){const a=document.getElementById("start-mask");a&&(a.style.opacity="0",a.style.visibility="hidden")}var vd=["loadCallback"],Y=k;vd[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+vd[0]);for(var Z;vd.length&&(Z=vd.shift());)vd.length||void 0===ud?Y[Z]&&Y[Z]!==Object.prototype[Z]?Y=Y[Z]:Y=Y[Z]={}:Y[Z]=ud;