!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js")):t(e.lit,e["lit/decorators.js"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,(e,t)=>(()=>{"use strict";var r,o={4870(e,t,r){r.r(t),r.d(t,{CheckboxGroup:()=>o});var o,s=r(2900),n=r(7704),i=r(9609),l=r(4084),c=r(7161),a=r(429),d=r(4973),p=function(e,t,r,o){var s,n=arguments.length,i=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(n<3?s(i):n>3?s(t,r,i):s(t,r))||i);return n>3&&i&&Object.defineProperty(t,r,i),i};!function(e){let t=class extends((0,n.Io)(c.LitElement)){constructor(){super(...arguments),this.label="group",this.alignment="vertical"}static get styles(){return[l.A,d.A]}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown)}switchCheckboxOnArrowPress(e,t=1){const r=super.getAvailableSelectedIndex(e,t);-1!==r&&(this.selected=r)}handleKeyDown(e){const{code:t}=e;switch(t){case s.Uz.ArrowUp:case s.Uz.ArrowLeft:e.stopPropagation(),0===this.selected?this.switchCheckboxOnArrowPress(this.slotted.length-1,-1):this.switchCheckboxOnArrowPress(this.selected-1,-1);break;case s.Uz.ArrowDown:case s.Uz.ArrowRight:e.stopPropagation(),this.selected===this.slotted.length-1?this.switchCheckboxOnArrowPress(0):this.switchCheckboxOnArrowPress(this.selected+1)}}get slotElement(){return this.checkboxSlot}render(){return c.html`
        <div role="group" aria-labelledby="id-group-label">
          <slot name="checkbox"></slot>
        </div>
      `}};p([(0,a.property)({type:String,attribute:"group-label"})],t.prototype,"label",void 0),p([(0,a.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),p([(0,a.query)("slot[name='checkbox']")],t.prototype,"checkboxSlot",void 0),t=p([(0,i.w)("md-checkboxgroup")],t),e.ELEMENT=t}(o||(o={}))},7161(t){t.exports=e},429(e){e.exports=t}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.m=o,r=[],n.O=(e,t,o,s)=>{if(!t){var i=1/0;for(d=0;d<r.length;d++){for(var[t,o,s]=r[d],l=!0,c=0;c<t.length;c++)(!1&s||i>=s)&&Object.keys(n.O).every(e=>n.O[e](t[c]))?t.splice(c--,1):(l=!1,s<i&&(i=s));if(l){r.splice(d--,1);var a=o();void 0!==a&&(e=a)}}return e}s=s||0;for(var d=r.length;d>0&&r[d-1][2]>s;d--)r[d]=r[d-1];r[d]=[t,o,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6834:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,s,[i,l,c]=r,a=0;if(i.some(t=>0!==e[t])){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(c)var d=c(n)}for(t&&t(r);a<i.length;a++)s=i[a],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(d)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var i=n.O(void 0,[9609,4084,2364,9938,5201,2900,608,3203,7162,4973,2942],()=>n(4870));return n.O(i)})());