import*as e from"lit";import*as t from"lit/directives/class-map.js";import*as r from"lit/decorators.js";var o,s,a={2927(t,r,o){var s,a;t.exports=(s={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},a={},o.d(a,s),a)},4955(e,r,o){var s,a;e.exports=(s={classMap:()=>t.classMap},a={},o.d(a,s),a)},5730(e,t,r){r.d(t,{T:()=>o});var o,s=r(7704),a=r(9609),i=r(4084),l=r(2927),d=r(8899),p=r(4955),n=r(9431),m=function(e,t,r,o){var s,a=arguments.length,i=a<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=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};!function(e){let t=class extends((0,s.yC)(l.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.extended=!1,this.editable=!1}static get styles(){return[i.A,n.A]}get draggableItemClassMap(){return{extended:this.extended,default:!this.extended,disabled:this.disabled}}render(){return l.html`
        <div
          class="md-draggable-item ${(0,p.classMap)(this.draggableItemClassMap)}"
          part="draggable-item"
          aria-disabled=${this.disabled}
        >
          ${this.extended&&this.editable?l.html` <md-icon name="dragger-vertical-bold" size="16" iconSet="momentumDesign"></md-icon> `:l.nothing}
          <slot></slot>
          ${this.extended?l.html` <slot name="extended"></slot> `:l.nothing}
        </div>
      `}};m([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),m([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"extended",void 0),m([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"editable",void 0),t=m([(0,a.w)("md-draggable-item")],t),e.ELEMENT=t}(o||(o={}))},8899(e,t,o){var s,a;e.exports=(s={property:()=>r.property},a={},o.d(a,s),a)}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e](r,r.exports,l),r.exports}l.m=a,o=[],l.O=(e,t,r,s)=>{if(!t){var a=1/0;for(n=0;n<o.length;n++){for(var[t,r,s]=o[n],i=!0,d=0;d<t.length;d++)(!1&s||a>=s)&&Object.keys(l.O).every(e=>l.O[e](t[d]))?t.splice(d--,1):(i=!1,s<a&&(a=s));if(i){o.splice(n--,1);var p=r();void 0!==p&&(e=p)}}return e}s=s||0;for(var n=o.length;n>0&&o[n-1][2]>s;n--)o[n]=o[n-1];o[n]=[t,r,s]},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{l as __webpack_require__};s={502:0,1745:0,4928:0,5369:0,7219:0,8442:0},l.C=e=>{var t,r,{__webpack_esm_ids__:o,__webpack_esm_modules__:a,__webpack_esm_runtime__:i}=e,d=0;for(t in a)l.o(a,t)&&(l.m[t]=a[t]);for(i&&i(l);d<o.length;d++)r=o[d],l.o(s,r)&&s[r]&&s[r][0](),s[o[d]]=0;l.O()},l.O.j=e=>0===s[e];import*as d from"../9609.js";l.C(d);import*as p from"../4084.js";l.C(p);import*as n from"../2364.js";l.C(n);import*as m from"../9938.js";l.C(m);import*as c from"../4781.js";l.C(c);import*as f from"../5201.js";l.C(f);import*as g from"../5584.js";l.C(g);import*as h from"../8227.js";l.C(h);import*as v from"../7704.js";l.C(v);import*as b from"../5757.js";l.C(b);import*as y from"../9431.js";l.C(y);var j=l.O(void 0,[9609,4084,2364,9938,4781,5201,5584,8227,7704,5757,9431],()=>l(5730));const u=(j=l.O(j)).T;export{u as DraggableItem};