Files
2026-01-30 23:31:00 -06:00

3 lines
18 KiB
JavaScript

/*! For license information please see 2474.117709c26e57fee1.js.LICENSE.txt */
"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([["2474"],{65703:function(t,e,i){i.d(e,{K:function(){return b}});i(71695),i(81804),i(22139),i(47021);var r=i(9065),a=(i(16060),i(78611)),n=i(91532),o=i(57243),c=i(50778),s=i(35359);let d,l,p,h,m,g,u,f,v,_,y=t=>t;class b extends o.oi{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new n.A((()=>(this.shouldRenderRipple=!0,this.ripple))),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:t=>{const e=t.type;this.onDown("mousedown"===e?"mouseup":"touchend",t)}}]}get text(){const t=this.textContent;return t?t.trim():""}render(){const t=this.renderText(),e=this.graphic?this.renderGraphic():(0,o.dy)(d||(d=y``)),i=this.hasMeta?this.renderMeta():(0,o.dy)(l||(l=y``));return(0,o.dy)(p||(p=y` ${0} ${0} ${0} ${0}`),this.renderRipple(),e,t,i)}renderRipple(){return this.shouldRenderRipple?(0,o.dy)(h||(h=y` <mwc-ripple .activated="${0}"> </mwc-ripple>`),this.activated):this.activated?(0,o.dy)(m||(m=y`<div class="fake-activated-ripple"></div>`)):""}renderGraphic(){const t={multi:this.multipleGraphics};return(0,o.dy)(g||(g=y` <span class="mdc-deprecated-list-item__graphic material-icons ${0}"> <slot name="graphic"></slot> </span>`),(0,s.$)(t))}renderMeta(){return(0,o.dy)(u||(u=y` <span class="mdc-deprecated-list-item__meta material-icons"> <slot name="meta"></slot> </span>`))}renderText(){const t=this.twoline?this.renderTwoline():this.renderSingleLine();return(0,o.dy)(f||(f=y` <span class="mdc-deprecated-list-item__text"> ${0} </span>`),t)}renderSingleLine(){return(0,o.dy)(v||(v=y`<slot></slot>`))}renderTwoline(){return(0,o.dy)(_||(_=y` <span class="mdc-deprecated-list-item__primary-text"> <slot></slot> </span> <span class="mdc-deprecated-list-item__secondary-text"> <slot name="secondary"></slot> </span> `))}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(t,e){const i=()=>{window.removeEventListener(t,i),this.rippleHandlers.endPress()};window.addEventListener(t,i),this.rippleHandlers.startPress(e)}fireRequestSelected(t,e){if(this.noninteractive)return;const i=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:e,selected:t}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const t of this.listeners)for(const e of t.eventNames)t.target.addEventListener(e,t.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const t of this.listeners)for(const e of t.eventNames)t.target.removeEventListener(e,t.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const t=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(t)}}(0,r.gn)([(0,c.IO)("slot")],b.prototype,"slotElement",void 0),(0,r.gn)([(0,c.GC)("mwc-ripple")],b.prototype,"ripple",void 0),(0,r.gn)([(0,c.Cb)({type:String})],b.prototype,"value",void 0),(0,r.gn)([(0,c.Cb)({type:String,reflect:!0})],b.prototype,"group",void 0),(0,r.gn)([(0,c.Cb)({type:Number,reflect:!0})],b.prototype,"tabindex",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean,reflect:!0}),(0,a.P)((function(t){t?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")}))],b.prototype,"disabled",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean,reflect:!0})],b.prototype,"twoline",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean,reflect:!0})],b.prototype,"activated",void 0),(0,r.gn)([(0,c.Cb)({type:String,reflect:!0})],b.prototype,"graphic",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"multipleGraphics",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"hasMeta",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean,reflect:!0}),(0,a.P)((function(t){t?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")}))],b.prototype,"noninteractive",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean,reflect:!0}),(0,a.P)((function(t){const e=this.getAttribute("role"),i="gridcell"===e||"option"===e||"row"===e||"tab"===e;i&&t?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged?this._firstChanged=!1:this._skipPropRequest||this.fireRequestSelected(t,"property")}))],b.prototype,"selected",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"shouldRenderRipple",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"_managingList",void 0)},46289:function(t,e,i){i.d(e,{W:function(){return a}});let r;const a=(0,i(57243).iv)(r||(r=(t=>t)`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding,16px);padding-right:var(--mdc-list-side-padding,16px);outline:0;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}:host:focus{outline:0}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary,#6200ee);--mdc-ripple-color:var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary,#6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:.12;opacity:var(--mdc-ripple-activated-opacity, .12);background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size,24px);height:var(--mdc-list-item-meta-size,24px);margin-left:auto;margin-right:0;color:rgba(0,0,0,.38);color:var(--mdc-theme-text-hint-on-background,rgba(0,0,0,.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size,24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px)!important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit)}.mdc-deprecated-list-item__meta[dir=rtl],[dir=rtl] .mdc-deprecated-list-item__meta{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface,#000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0,0,0,.38);color:var(--mdc-theme-text-icon-on-background,rgba(0,0,0,.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size,40px);height:var(--mdc-list-item-graphic-size,40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size,40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px)!important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin,16px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic{margin-left:var(--mdc-list-item-graphic-margin,16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size,24px);height:var(--mdc-list-item-graphic-size,24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin,32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size,24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px)!important}:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl],[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic{margin-left:var(--mdc-list-item-graphic-margin,32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=large]:not([twoLine])),:host([graphic=medium]:not([twoLine])){height:72px}:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size,56px);height:var(--mdc-list-item-graphic-size,56px)}:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size,56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px)!important}:host([graphic=large]){padding-left:0px}`))},17743:function(t,e,i){var r=i(13053);t.exports=function(t,e,i){for(var a=0,n=arguments.length>2?i:r(e),o=new t(n);n>a;)o[a]=e[a++];return o}},37595:function(t,e,i){var r=i(31269),a=i(72878),n=i(25091),o=i(12360),c=i(70273),s=i(13053),d=i(72309),l=i(17743),p=Array,h=a([].push);t.exports=function(t,e,i,a){for(var m,g,u,f=o(t),v=n(f),_=r(e,i),y=d(null),b=s(v),x=0;b>x;x++)u=v[x],(g=c(_(u,x,f)))in y?h(y[g],u):y[g]=[u];if(a&&(m=a(f))!==p)for(g in y)y[g]=l(m,y[g]);return y}},63434:function(t,e,i){var r=i(40810),a=i(12360),n=i(13053),o=i(88045),c=i(35709);r({target:"Array",proto:!0},{at:function(t){var e=a(this),i=n(e),r=o(t),c=r>=0?r:i+r;return c<0||c>=i?void 0:e[c]}}),c("at")},96829:function(t,e,i){var r=i(40810),a=i(72878),n=i(95011),o=i(88045),c=i(72616),s=i(29660),d=a("".charAt);r({target:"String",proto:!0,forced:s((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var e=c(n(this)),i=e.length,r=o(t),a=r>=0?r:i+r;return a<0||a>=i?void 0:d(e,a)}})},22139:function(t,e,i){var r=i(40810),a=i(37595),n=i(35709);r({target:"Array",proto:!0},{group:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("group")},74760:function(t,e,i){i.d(e,{D:function(){return o}});i(95078),i(23669),i(69235),i(12385),i(19134),i(5740),i(11740),i(44495),i(97003),i(32114);var r=i(76808),a=i(53907),n=i(18112);function o(t,e){var i;const o=()=>(0,a.L)(null==e?void 0:e.in,NaN),u=null!==(i=null==e?void 0:e.additionalDigits)&&void 0!==i?i:2,f=function(t){const e={},i=t.split(c.dateTimeDelimiter);let r;if(i.length>2)return e;/:/.test(i[0])?r=i[0]:(e.date=i[0],r=i[1],c.timeZoneDelimiter.test(e.date)&&(e.date=t.split(c.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length)));if(r){const t=c.timezone.exec(r);t?(e.time=r.replace(t[1],""),e.timezone=t[1]):e.time=r}return e}(t);let v;if(f.date){const t=function(t,e){const i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(i);if(!r)return{year:NaN,restDateString:""};const a=r[1]?parseInt(r[1]):null,n=r[2]?parseInt(r[2]):null;return{year:null===n?a:100*n,restDateString:t.slice((r[1]||r[2]).length)}}(f.date,u);v=function(t,e){if(null===e)return new Date(NaN);const i=t.match(s);if(!i)return new Date(NaN);const r=!!i[4],a=p(i[1]),n=p(i[2])-1,o=p(i[3]),c=p(i[4]),d=p(i[5])-1;if(r)return function(t,e,i){return e>=1&&e<=53&&i>=0&&i<=6}(0,c,d)?function(t,e,i){const r=new Date(0);r.setUTCFullYear(t,0,4);const a=r.getUTCDay()||7,n=7*(e-1)+i+1-a;return r.setUTCDate(r.getUTCDate()+n),r}(e,c,d):new Date(NaN);{const t=new Date(0);return function(t,e,i){return e>=0&&e<=11&&i>=1&&i<=(m[e]||(g(t)?29:28))}(e,n,o)&&function(t,e){return e>=1&&e<=(g(t)?366:365)}(e,a)?(t.setUTCFullYear(e,n,Math.max(a,o)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!v||isNaN(+v))return o();const _=+v;let y,b=0;if(f.time&&(b=function(t){const e=t.match(d);if(!e)return NaN;const i=h(e[1]),a=h(e[2]),n=h(e[3]);if(!function(t,e,i){if(24===t)return 0===e&&0===i;return i>=0&&i<60&&e>=0&&e<60&&t>=0&&t<25}(i,a,n))return NaN;return i*r.vh+a*r.yJ+1e3*n}(f.time),isNaN(b)))return o();if(!f.timezone){const t=new Date(_+b),i=(0,n.Q)(0,null==e?void 0:e.in);return i.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),i.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),i}return y=function(t){if("Z"===t)return 0;const e=t.match(l);if(!e)return 0;const i="+"===e[1]?-1:1,a=parseInt(e[2]),n=e[3]&&parseInt(e[3])||0;if(!function(t,e){return e>=0&&e<=59}(0,n))return NaN;return i*(a*r.vh+n*r.yJ)}(f.timezone),isNaN(y)?o():(0,n.Q)(_+b+y,null==e?void 0:e.in)}const c={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(t){return t?parseInt(t):1}function h(t){return t&&parseFloat(t.replace(",","."))||0}const m=[31,null,31,30,31,30,31,31,30,31,30,31];function g(t){return t%400==0||t%4==0&&t%100!=0}}}]);
//# sourceMappingURL=2474.117709c26e57fee1.js.map