!function(t){var e={};function s(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=e,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(i,r,function(e){return t[e]}.bind(null,r));return i},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/dist/unigraz/",s(s.s=12)}({0:function(t,e,s){"use strict";s.d(e,"a",(function(){return r}));var i=i||{};Object.defineProperty(i,"__esModule",{value:!0}),i.Shadowless=void 0;const r=t=>class extends t{constructor(){super(...arguments),this.slots={},this.willYield=!1}createRenderRoot(){return this}adoptChildren(){Array.from(this.childNodes).forEach(t=>{const e=this.getSlotNameForChild(t),{[e]:s=[]}=this.slots;Object.assign(this.slots,{[e]:[...s,t]})})}getSlotNameForChild(t){return t instanceof Comment&&t.nextSibling instanceof Element?this.getSlotNameForChild(t.nextSibling):"slot"in t?t.slot||"":t instanceof Element&&t.hasAttribute("slot")&&t.getAttribute("slot")||""}isTextNodeEmpty(t){return!t.textContent||!t.textContent.trim()}isSlotEmpty(t){const e=this.slots[t];return!e||e.every(t=>t instanceof Comment||t instanceof Text&&this.isTextNodeEmpty(t))}update(t){!this.hasUpdated&&this.willYield&&this.adoptChildren(),super.update(t)}yield(t,e){return this.slots[t]}};i.Shadowless=r},12:function(t,e,s){"use strict";s.r(e);s(7)},5:function(t,e){!function(){var e={de_DE:{identifier:"de-DE",days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d.%m.%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},en_CA:{identifier:"en-CA",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ordinalSuffixes:["st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}},en_US:{identifier:"en-US",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ordinalSuffixes:["st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%m/%d/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}},es_MX:{identifier:"es-MX",days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom","lun","mar","mié","jue","vie","sáb"],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre"," diciembre"],shortMonths:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},fr_FR:{identifier:"fr-FR",days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},it_IT:{identifier:"it-IT",days:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],shortDays:["dom","lun","mar","mer","gio","ven","sab"],months:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],shortMonths:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},nl_NL:{identifier:"nl-NL",days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},pt_BR:{identifier:"pt-BR",days:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],shortDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},ru_RU:{identifier:"ru-RU",days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],shortDays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],shortMonths:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X",D:"%d.%m.%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},tr_TR:{identifier:"tr-TR",days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],shortDays:["Paz","Pzt","Sal","Çrş","Prş","Cum","Cts"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],shortMonths:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],AM:"ÖÖ",PM:"ÖS",am:"ÖÖ",pm:"ÖS",formats:{c:"%a %d %b %Y %X %Z",D:"%d-%m-%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}},zh_CN:{identifier:"zh-CN",days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],shortDays:["日","一","二","三","四","五","六"],months:["一月份","二月份","三月份","四月份","五月份","六月份","七月份","八月份","九月份","十月份","十一月份","十二月份"],shortMonths:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],AM:"上午",PM:"下午",am:"上午",pm:"下午",formats:{c:"%a %d %b %Y %X %Z",D:"%d/%m/%y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%r",x:"%D"}}},s=e.en_US,i=new function t(i,u,p){var m,v=i||s,f=u||0,b=p||!1,g=0;var y=function(t,e){var s;if(e){if(s=e.getTime(),b){var i=h(e);if(h(e=new Date(s+i+f))!==i){var u=h(e);e=new Date(s+u+f)}}}else{var p=Date.now();p>g?(g=p,m=new Date(g),s=g,b&&(m=new Date(g+h(m)+f))):s=g,e=m}return function t(e,s,i,h){for(var u="",p=null,m=!1,v=e.length,g=!1,y=0;y<v;y++){var $=e.charCodeAt(y);if(!0!==m)37!==$?u+=e[y]:m=!0;else{if(45===$){p="";continue}if(95===$){p=" ";continue}if(48===$){p="0";continue}if(58===$){g&&c("[WARNING] detected use of unsupported %:: or %::: modifiers to strftime"),g=!0;continue}switch($){case 37:u+="%";break;case 65:u+=i.days[s.getDay()];break;case 66:u+=i.months[s.getMonth()];break;case 67:u+=r(Math.floor(s.getFullYear()/100),p);break;case 68:u+=t(i.formats.D,s,i,h);break;case 70:u+=t(i.formats.F,s,i,h);break;case 72:u+=r(s.getHours(),p);break;case 73:u+=r(a(s.getHours()),p);break;case 76:u+=n(Math.floor(h%1e3));break;case 77:u+=r(s.getMinutes(),p);break;case 80:u+=s.getHours()<12?i.am:i.pm;break;case 82:u+=t(i.formats.R,s,i,h);break;case 83:u+=r(s.getSeconds(),p);break;case 84:u+=t(i.formats.T,s,i,h);break;case 85:u+=r(o(s,"sunday"),p);break;case 87:u+=r(o(s,"monday"),p);break;case 88:u+=t(i.formats.X,s,i,h);break;case 89:u+=s.getFullYear();break;case 90:if(b&&0===f)u+="GMT";else{var _=d(s);u+=_||""}break;case 97:u+=i.shortDays[s.getDay()];break;case 98:u+=i.shortMonths[s.getMonth()];break;case 99:u+=t(i.formats.c,s,i,h);break;case 100:u+=r(s.getDate(),p);break;case 101:u+=r(s.getDate(),null==p?" ":p);break;case 104:u+=i.shortMonths[s.getMonth()];break;case 106:var A=new Date(s.getFullYear(),0,1),M=Math.ceil((s.getTime()-A.getTime())/864e5);u+=n(M);break;case 107:u+=r(s.getHours(),null==p?" ":p);break;case 108:u+=r(a(s.getHours()),null==p?" ":p);break;case 109:u+=r(s.getMonth()+1,p);break;case 110:u+="\n";break;case 111:M=s.getDate();i.ordinalSuffixes?u+=String(M)+(i.ordinalSuffixes[M-1]||l(M)):u+=String(M)+l(M);break;case 112:u+=s.getHours()<12?i.AM:i.PM;break;case 114:u+=t(i.formats.r,s,i,h);break;case 115:u+=Math.floor(h/1e3);break;case 116:u+="\t";break;case 117:M=s.getDay();u+=0===M?7:M;break;case 118:u+=t(i.formats.v,s,i,h);break;case 119:u+=s.getDay();break;case 120:u+=t(i.formats.x,s,i,h);break;case 121:u+=(""+s.getFullYear()).slice(2);break;case 122:if(b&&0===f)u+=g?"+00:00":"+0000";else{var S,w=(S=0!==f?f/6e4:-s.getTimezoneOffset())<0?"-":"+",D=g?":":"",E=Math.floor(Math.abs(S/60)),k=Math.abs(S%60);u+=w+r(E)+D+r(k)}break;default:m&&(u+="%"),u+=e[y]}p=null,m=!1}}return u}(t,e,v,s)};return y.localize=function(e){return new t(e||v,f,b)},y.localizeByIdentifier=function(t){var s=e[t];return s?y.localize(s):(c('[WARNING] No locale found with identifier "'+t+'".'),y)},y.timezone=function(e){var s=f,i=b,r=typeof e;"number"!==r&&"string"!==r||(i=!0,"string"===r?s=("-"===e[0]?-1:1)*(60*parseInt(e.slice(1,3),10)+parseInt(e.slice(3,5),10))*60*1e3:"number"===r&&(s=60*e*1e3));return new t(v,s,i)},y.utc=function(){return new t(v,f,!0)},y}(s,0,!1);function r(t,e){return""===e||t>9?t:(null==e&&(e="0"),e+t)}function n(t){return t>99?t:t>9?"0"+t:"00"+t}function a(t){return 0===t?12:t>12?t-12:t}function o(t,e){e=e||"sunday";var s=t.getDay();"monday"===e&&(0===s?s=6:s--);var i=Date.UTC(t.getFullYear(),0,1),r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),n=(Math.floor((r-i)/864e5)+7-s)/7;return Math.floor(n)}function l(t){var e=t%10,s=t%100;if(s>=11&&s<=13||0===e||e>=4)return"th";switch(e){case 1:return"st";case 2:return"nd";case 3:return"rd"}}function h(t){return 6e4*(t.getTimezoneOffset()||0)}function d(t,e){return function(t,e){if(null==e)return null;var s=t.toLocaleString(e,{timeZoneName:"short"}).match(/\s([\w]+)$/);return s&&s[1]}(t,e)||function(t){var e=t.toString().match(/\(([\w\s]+)\)/);return e&&e[1]}(t)}function c(t){"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t)}void 0!==t?t.exports=i:(function(){return this||(0,eval)("this")}()).strftime=i,"function"!=typeof Date.now&&(Date.now=function(){return+new Date})}()},7:function(t,e,s){"use strict";
/**
 * @license
 * Copyright 2019 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */const i=window,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),a=new WeakMap;class o{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&a.set(e,t))}return t}toString(){return this.cssText}}const l=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new o("string"==typeof t?t:t+"",void 0,n))(e)})(t):t
/**
 * @license
 * Copyright 2017 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */;var h;const d=window,c=d.trustedTypes,u=c?c.emptyScript:"",p=d.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},v=(t,e)=>e!==t&&(e==e||t==t),f={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const i=this._$Ep(s,e);void 0!==i&&(this._$Ev.set(i,s),t.push(i))}),t}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||f}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of e)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Ep(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,s;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{r?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{const s=document.createElement("style"),r=i.litNonce;void 0!==r&&s.setAttribute("nonce",r),s.textContent=e.cssText,t.appendChild(s)})})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;var i;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const n=(void 0!==(null===(i=s.converter)||void 0===i?void 0:i.toAttribute)?s.converter:m).toAttribute(e,s.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var s;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:m;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,s){let i=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,e)=>this[e]=t),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
/**
 * @license
 * Copyright 2017 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */
var g;b.finalized=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==p||p({ReactiveElement:b}),(null!==(h=d.reactiveElementVersions)&&void 0!==h?h:d.reactiveElementVersions=[]).push("1.6.1");const y=window,$=y.trustedTypes,_=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,A=`lit$${(Math.random()+"").slice(9)}$`,M="?"+A,S=`<${M}>`,w=document,D=()=>w.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,C=t=>k(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,x=/-->/g,P=/>/g,H=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),N=/'/g,j=/"/g,O=/^(?:script|style|textarea|title)$/i,R=t=>function(e){for(var s=arguments.length,i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];return{_$litType$:t,strings:e,values:i}},Y=R(1),U=(R(2),Symbol.for("lit-noChange")),z=Symbol.for("lit-nothing"),F=new WeakMap,I=w.createTreeWalker(w,129,null,!1),J=(t,e)=>{const s=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<s;e++){const s=t[e];let o,l,h=-1,d=0;for(;d<s.length&&(a.lastIndex=d,l=a.exec(s),null!==l);)d=a.lastIndex,a===T?"!--"===l[1]?a=x:void 0!==l[1]?a=P:void 0!==l[2]?(O.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=H):void 0!==l[3]&&(a=H):a===H?">"===l[0]?(a=null!=r?r:T,h=-1):void 0===l[1]?h=-2:(h=a.lastIndex-l[2].length,o=l[1],a=void 0===l[3]?H:'"'===l[3]?j:N):a===j||a===N?a=H:a===x||a===P?a=T:(a=H,r=void 0);const c=a===H&&t[e+1].startsWith("/>")?" ":"";n+=a===T?s+S:h>=0?(i.push(o),s.slice(0,h)+"$lit$"+s.slice(h)+A+c):s+A+(-2===h?(i.push(void 0),e):c)}const o=n+(t[s]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==_?_.createHTML(o):o,i]};class L{constructor(t,e){let s,{strings:i,_$litType$:r}=t;this.parts=[];let n=0,a=0;const o=i.length-1,l=this.parts,[h,d]=J(i,r);if(this.el=L.createElement(h,e),I.currentNode=this.el.content,2===r){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=I.nextNode())&&l.length<o;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(A)){const i=d[a++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(A),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?q:"@"===e[1]?K:W})}else l.push({type:6,index:n})}for(const e of t)s.removeAttribute(e)}if(O.test(s.tagName)){const t=s.textContent.split(A),e=t.length-1;if(e>0){s.textContent=$?$.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],D()),I.nextNode(),l.push({type:2,index:++n});s.append(t[e],D())}}}else if(8===s.nodeType)if(s.data===M)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(A,t+1));)l.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,e){const s=w.createElement("template");return s.innerHTML=t,s}}function X(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0;var r,n,a,o;if(e===U)return e;let l=void 0!==i?null===(r=s._$Co)||void 0===r?void 0:r[i]:s._$Cl;const h=E(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,s,i)),void 0!==i?(null!==(a=(o=s)._$Co)&&void 0!==a?a:o._$Co=[])[i]=l:s._$Cl=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,i)),e}class B{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:s},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:w).importNode(s,!0);I.currentNode=r;let n=I.nextNode(),a=0,o=0,l=i[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new Z(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new Q(n,this,t)),this._$AV.push(e),l=i[++o]}a!==(null==l?void 0:l.index)&&(n=I.nextNode(),a++)}return I.currentNode=w,r}v(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class Z{constructor(t,e,s,i){var r;this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=X(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),E(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):C(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==z&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$(w.createTextNode(t)),this._$AH=t}g(t){var e;const{values:s,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=L.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(s);else{const t=new B(r,this),e=t.u(this.options);t.v(s),this.$(e),this._$AH=t}}_$AC(t){let e=F.get(t.strings);return void 0===e&&F.set(t.strings,e=new L(t)),e}T(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new Z(this.k(D()),this.k(D()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class W{constructor(t,e,s,i,r){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;const r=this.strings;let n=!1;if(void 0===r)t=X(this,t,e,0),n=!E(t)||t!==this._$AH&&t!==U,n&&(this._$AH=t);else{const i=t;let a,o;for(t=r[0],a=0;a<r.length-1;a++)o=X(this,i[s+a],e,a),o===U&&(o=this._$AH[a]),n||(n=!E(o)||o!==this._$AH[a]),o===z?t=z:t!==z&&(t+=(null!=o?o:"")+r[a+1]),this._$AH[a]=o}n&&!i&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends W{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}}const G=$?$.emptyScript:"";class q extends W{constructor(){super(...arguments),this.type=4}j(t){t&&t!==z?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class K extends W{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t){var e;if((t=null!==(e=X(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:z)===U)return;const s=this._$AH,i=t===z&&s!==z||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==z&&(s===z||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){X(this,t)}}const tt=y.litHtmlPolyfillSupport;null==tt||tt(L,Z),(null!==(g=y.litHtmlVersions)&&void 0!==g?g:y.litHtmlVersions=[]).push("2.7.4");
/**
 * @license
 * Copyright 2017 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */
var et,st;class it extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{var i,r;const n=null!==(i=null==s?void 0:s.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==s?void 0:s.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new Z(e.insertBefore(D(),t),t,void 0,null!=s?s:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return U}}it.finalized=!0,it._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:it});const rt=globalThis.litElementPolyfillSupport;null==rt||rt({LitElement:it});(null!==(st=globalThis.litElementVersions)&&void 0!==st?st:globalThis.litElementVersions=[]).push("3.3.2");var nt=s(0),at=s(5),ot=s.n(at);class lt extends(Object(nt.a)(it)){static get properties(){return{theme:{type:String},strftimeLocales:{type:Object},strftimeLocale:{type:String},strftimeFormat:{type:String},website:{type:String},date:{type:String},translation:{type:Object},webservice:{type:String},updateInterval:{type:Number},timeout:{attribute:!1},data:{attribute:!1}}}constructor(){super(),this.willYield=!0,this.theme=null,this.strftimeLocales={"de-AT":{identifier:"de-AT",days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Jänner","Feber","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],AM:"AM",PM:"PM",am:"am",pm:"pm",formats:{c:"%a %d %b %Y %X %Z",D:"%d.%m.%Y",F:"%Y-%m-%d",R:"%H:%M",r:"%I:%M:%S %p",T:"%H:%M:%S",v:"%e-%b-%Y",X:"%T",x:"%D"}}},this.strftimeLocale="de-AT",this.strftimeFormat="%d.%m.%Y",this.website=null,this.date=null,this.translation={clear:"Sonnig","mainly-clear":"Heiter","slightly-cloudy":"Leicht bewölkt","partly-cloudy":"Wolkig",cloudy:"Bedeckt","mainly-cloudy":"Stark bewölkt",rain:"Regen",sleet:"Niederschlag",snow:"Schnee",night:"Nacht",thunderstorm:"Gewitter"},this.webservice=null,this.updateInterval=900,this.timeout=void 0,this.data={date:null,website:null,temp:null,icon:null}}connectedCallback(){super.connectedCallback(),this.updateData()}attributeChangedCallback(t,e,s){switch(super.attributeChangedCallback(t,e,s),t){case"webservice":this.updateData();break;case"updateInterval":this.scheduleUpdateData()}}scheduleUpdateData(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.updateData()},1e3*this.updateInterval)}updateData(){this.scheduleUpdateData(),fetch(this.webservice).then(t=>{if(!t.ok)throw new Error("invalid response");t.json().then(t=>{this.data=t})}).catch(t=>{console.error(t)})}renderDate(){let t=ot.a.localize(this.strftimeLocales[this.strftimeLocale]),e=new Date(this.date?this.date:this.data.date);return isNaN(e)?null:t(this.strftimeFormat,e)}renderLabel(){return this.translation[this.data.icon]}renderIcon(){let t=null;switch(this.data.icon){case"clear":case"mainly-clear":t="wi-day-sunny";break;case"slightly-cloudy":t="wi-day-sunny-overcast";break;case"partly-cloudy":case"mainly-cloudy":t="wi-day-cloudy";break;case"cloudy":t="wi-cloudy";break;case"rain":t="wi-rain";break;case"sleet":t="wi-sleet";break;case"snow":t="wi-day-snow";break;case"night":t="wi-night-clear";break;case"thunderstorm":t="wi-day-lightning";break;default:t="wi-na"}return t?Y`<i class="${t}" title="${this.renderLabel()}" aria-hidden="true"></i>`:null}render2018(){return Y`
            <div class="date">
                <span id="jsonp_date">${this.renderDate()}</span><span id="jsonp_separator">, </span><span id="jsonp_temperature"><a href="${this.website?this.website:this.data.website}">Graz, ${this.data.temp} <span class="unit">°C</span> ${this.renderIcon()}<span class="sr-only">, ${this.renderLabel()}</span></a></span>
            </div>
        `}render2022(){return Y`
            <div class="footer_weather row">
                <div class="col-lg-6 col-md-6 col-sm-8 col-8">
                    ${this.yield("content")}
                    <span id="jsonp_date">${this.renderDate()}</span><span id="jsonp_separator">,</span><br>
                    <span id="jsonp_temperature">
                        <a href="${this.website?this.website:this.data.website}">Graz, ${this.data.temp}\t<span class="unit">°C</span></a>
                    </span>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-4 col-4 bt_weathericon">
                    ${this.renderIcon()}
                </div>
            </div>
        `}render(){return Y`
            ${"2018"===this.theme?this.render2018():""}
            ${"2022"===this.theme?this.render2022():""}
        `}}customElements.define("ug-weatherstation",lt)}});