@vandeurenglenn/lite-elements 0.3.75 → 0.3.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/exports/bundle/banner.js +1 -1
  2. package/exports/bundle/button.css.js +1 -1
  3. package/exports/bundle/button.js +1 -1
  4. package/exports/bundle/card.js +1 -1
  5. package/exports/bundle/code.js +1 -1
  6. package/exports/bundle/{column-C6rmmqj-.js → column-CLFZeRaw.js} +1 -1
  7. package/exports/bundle/{dark-mode-BhSl3mXB.js → dark-mode-m29sAj4H.js} +2 -2
  8. package/exports/bundle/demo-elements.js +1 -1
  9. package/exports/bundle/demo-icons.js +1 -1
  10. package/exports/bundle/demo-shell.js +1 -1
  11. package/exports/bundle/demo.js +1 -1
  12. package/exports/bundle/dialog.js +1 -1
  13. package/exports/bundle/divider.js +1 -1
  14. package/exports/bundle/drawer-button.js +1 -1
  15. package/exports/bundle/drawer-item.js +1 -1
  16. package/exports/bundle/drawer-layout.js +1 -1
  17. package/exports/bundle/drawer.js +1 -1
  18. package/exports/bundle/dropdown-menu.js +1 -1
  19. package/exports/bundle/dropdown.js +1 -1
  20. package/exports/bundle/elements.js +1 -1
  21. package/exports/bundle/elevation.js +1 -1
  22. package/exports/bundle/fab.js +1 -1
  23. package/exports/bundle/icon-button.js +1 -1
  24. package/exports/bundle/icon-set.js +1 -1
  25. package/exports/bundle/icon.js +1 -1
  26. package/exports/bundle/input.js +1 -1
  27. package/exports/bundle/list-item.js +1 -1
  28. package/exports/bundle/menu.js +1 -1
  29. package/exports/bundle/minute-field.js +1 -1
  30. package/exports/bundle/notification.js +1 -1
  31. package/exports/bundle/notifications.js +1 -1
  32. package/exports/bundle/pages.js +1 -1
  33. package/exports/bundle/pane.js +1 -1
  34. package/exports/bundle/prompt.js +1 -1
  35. package/exports/bundle/property-CMTrOHQk.js +23 -0
  36. package/exports/bundle/rail.js +1 -1
  37. package/exports/bundle/root.js +1 -1
  38. package/exports/bundle/{row-ByiB1edM.js → row-DZm4UH0H.js} +1 -1
  39. package/exports/bundle/section.js +1 -1
  40. package/exports/bundle/section2.js +1 -1
  41. package/exports/bundle/select-mixin.js +1 -1
  42. package/exports/bundle/selector-mixin.js +1 -1
  43. package/exports/bundle/selector.js +1 -1
  44. package/exports/bundle/summary-mirror.js +1 -1
  45. package/exports/bundle/summary.js +1 -1
  46. package/exports/bundle/supporting-pane.js +1 -1
  47. package/exports/bundle/tab.js +1 -1
  48. package/exports/bundle/tabs.js +1 -1
  49. package/exports/bundle/text-field.js +1 -1
  50. package/exports/bundle/theme.js +1 -1
  51. package/exports/bundle/time-picker.js +1 -1
  52. package/exports/bundle/toggle-button.js +1 -1
  53. package/exports/bundle/toggle.js +1 -1
  54. package/exports/bundle/top-app-bar.js +1 -1
  55. package/exports/bundle/typography.js +1 -1
  56. package/exports/bundle/upload-file.js +1 -1
  57. package/exports/bundle/upload-image.js +1 -1
  58. package/exports/mixins/select-mixin.d.ts +1 -1
  59. package/exports/select-mixin.js +2 -1
  60. package/package.json +5 -5
  61. package/exports/bundle/property-Cz7Tusq9.js +0 -23
@@ -1,4 +1,4 @@
1
- import{_ as t,a as o}from"./tslib.es6-B87RQr7F.js";import"./icon-button.js";import{s as e,x as i}from"./dark-mode-BhSl3mXB.js";import{e as s}from"./custom-element-B_TPyPQO.js";import"./it-Dft_Rjy-.js";import"./button.js";import"./elevation.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,r,a=[s("custom-banner")],l=[],m=e;return class extends m{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,n={value:r},a,{kind:"class",name:r.name,metadata:e},null,l),r=n.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),o(r,l)}render(){return i`
1
+ import{_ as t,a as o}from"./tslib.es6-B87RQr7F.js";import"./icon-button.js";import{s as e,x as i}from"./dark-mode-m29sAj4H.js";import{e as s}from"./custom-element-B_TPyPQO.js";import"./it-Dft_Rjy-.js";import"./button.js";import"./elevation.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,r,a=[s("custom-banner")],l=[],m=e;return class extends m{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,n={value:r},a,{kind:"class",name:r.name,metadata:e},null,l),r=n.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),o(r,l)}render(){return i`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{i as e}from"./dark-mode-BhSl3mXB.js";var o=e`
1
+ import{i as e}from"./dark-mode-m29sAj4H.js";var o=e`
2
2
  :host {
3
3
  --custom-button-border-radius: var(--md-sys-shape-corner-large);
4
4
  color: var(--custom-button-color, --md-sys-color-on-background);
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-BhSl3mXB.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import c from"./button.css.js";let r=(()=>{let r,i,n,h,b,m,u=[l("custom-button")],g=[],d=s,p=[],_=[],y=[],f=[],v=[],L=[],I=[],j=[];return class extends d{static{i=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[a({attribute:"has-icon",reflect:!0})],h=[a({attribute:"type",reflect:!0})],b=[a({attribute:!0})],m=[a({attribute:"has-label",reflect:!0})],t(this,null,n,{kind:"accessor",name:"hasIcon",static:!1,private:!1,access:{has:t=>"hasIcon"in t,get:t=>t.hasIcon,set:(t,e)=>{t.hasIcon=e}},metadata:e},p,_),t(this,null,h,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},y,f),t(this,null,b,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:t=>"label"in t,get:t=>t.label,set:(t,e)=>{t.label=e}},metadata:e},v,L),t(this,null,m,{kind:"accessor",name:"hasLabel",static:!1,private:!1,access:{has:t=>"hasLabel"in t,get:t=>t.hasLabel,set:(t,e)=>{t.hasLabel=e}},metadata:e},I,j),t(null,r={value:i},u,{kind:"class",name:i.name,metadata:e},null,g),i=r.value,e&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,p,void 0);get hasIcon(){return this.#t}set hasIcon(t){this.#t=t}#e=(e(this,_),e(this,y,"text"));get type(){return this.#e}set type(t){this.#e=t}#s=(e(this,f),e(this,v,void 0));get label(){return this.#s}set label(t){this.#s=t}#a=(e(this,L),e(this,I,void 0));get hasLabel(){return this.#a}set hasLabel(t){this.#a=t}static styles=[c];firstRender(){const t=Array.from(this.shadowRoot.querySelectorAll("slot"));for(const e of t)e.addEventListener("slotchange",(()=>this.#o(e)));if(t?.length>0)for(const e of t)this.#o(e)}onChange(t,e){"label"===t&&(this.hasLabel=!!e)}#o=(e(this,j),t=>{"icon"===t.getAttribute("name")&&(this.hasIcon=0!==Array.from(t?.assignedNodes()||[]).length)});render(){return o`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-m29sAj4H.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import c from"./button.css.js";let r=(()=>{let r,i,n,h,b,m,u=[l("custom-button")],g=[],d=s,p=[],_=[],y=[],f=[],v=[],L=[],I=[],j=[];return class extends d{static{i=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[a({attribute:"has-icon",reflect:!0})],h=[a({attribute:"type",reflect:!0})],b=[a({attribute:!0})],m=[a({attribute:"has-label",reflect:!0})],t(this,null,n,{kind:"accessor",name:"hasIcon",static:!1,private:!1,access:{has:t=>"hasIcon"in t,get:t=>t.hasIcon,set:(t,e)=>{t.hasIcon=e}},metadata:e},p,_),t(this,null,h,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},y,f),t(this,null,b,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:t=>"label"in t,get:t=>t.label,set:(t,e)=>{t.label=e}},metadata:e},v,L),t(this,null,m,{kind:"accessor",name:"hasLabel",static:!1,private:!1,access:{has:t=>"hasLabel"in t,get:t=>t.hasLabel,set:(t,e)=>{t.hasLabel=e}},metadata:e},I,j),t(null,r={value:i},u,{kind:"class",name:i.name,metadata:e},null,g),i=r.value,e&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,p,void 0);get hasIcon(){return this.#t}set hasIcon(t){this.#t=t}#e=(e(this,_),e(this,y,"text"));get type(){return this.#e}set type(t){this.#e=t}#s=(e(this,f),e(this,v,void 0));get label(){return this.#s}set label(t){this.#s=t}#a=(e(this,L),e(this,I,void 0));get hasLabel(){return this.#a}set hasLabel(t){this.#a=t}static styles=[c];firstRender(){const t=Array.from(this.shadowRoot.querySelectorAll("slot"));for(const e of t)e.addEventListener("slotchange",(()=>this.#o(e)));if(t?.length>0)for(const e of t)this.#o(e)}onChange(t,e){"label"===t&&(this.hasLabel=!!e)}#o=(e(this,j),t=>{"icon"===t.getAttribute("name")&&(this.hasIcon=0!==Array.from(t?.assignedNodes()||[]).length)});render(){return o`
2
2
  <button label=${this.label}>
3
3
  <custom-elevation></custom-elevation>
4
4
  <slot name="icon"></slot>
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,x as s}from"./dark-mode-BhSl3mXB.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./divider.js";import"./elevation.js";import"./button.css.js";let i=(()=>{let i,l,r=[a("custom-card")],n=[],d=o;return class extends d{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,i={value:l},r,{kind:"class",name:l.name,metadata:t},null,n),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}dividerType;type="elevated";elevationLevel=0;static properties={hasDivider:{type:Boolean},elevationLevel:{type:Number}};renderDivider(){const e=this.shadowRoot.querySelector('slot[name="actions"]');return 0!==Array.from(e?.assignedNodes()||[]).length?s`<custom-divider
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,x as s}from"./dark-mode-m29sAj4H.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./divider.js";import"./elevation.js";import"./button.css.js";let i=(()=>{let i,l,r=[a("custom-card")],n=[],d=o;return class extends d{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,i={value:l},r,{kind:"class",name:l.name,metadata:t},null,n),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}dividerType;type="elevated";elevationLevel=0;static properties={hasDivider:{type:Boolean},elevationLevel:{type:Number}};renderDivider(){const e=this.shadowRoot.querySelector('slot[name="actions"]');return 0!==Array.from(e?.assignedNodes()||[]).length?s`<custom-divider
2
2
  ?inset=${"inset"===this.dividerType}
3
3
  ?middle-inset=${"inset"===this.dividerType}
4
4
  ></custom-divider>`:""}render(){return s`
@@ -1,4 +1,4 @@
1
- import{_ as e,a}from"./tslib.es6-B87RQr7F.js";import{s as t,r as o,i as r,x as s}from"./dark-mode-BhSl3mXB.js";import{e as c}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,l,d,n=[c("demo-code")],m=[],u=t,g=[],p=[];return class extends u{static{l=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;d=[o({type:String})],e(this,null,d,{kind:"accessor",name:"code",static:!1,private:!1,access:{has:e=>"code"in e,get:e=>e.code,set:(e,a)=>{e.code=a}},metadata:a},g,p),e(null,i={value:l},n,{kind:"class",name:l.name,metadata:a},null,m),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a})}#e=a(this,g,void 0);get code(){return this.#e}set code(e){this.#e=e}static styles=[r`
1
+ import{_ as e,a}from"./tslib.es6-B87RQr7F.js";import{s as t,r as o,i as r,x as s}from"./dark-mode-m29sAj4H.js";import{e as c}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,l,d,n=[c("demo-code")],m=[],u=t,g=[],p=[];return class extends u{static{l=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;d=[o({type:String})],e(this,null,d,{kind:"accessor",name:"code",static:!1,private:!1,access:{has:e=>"code"in e,get:e=>e.code,set:(e,a)=>{e.code=a}},metadata:a},g,p),e(null,i={value:l},n,{kind:"class",name:l.name,metadata:a},null,m),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a})}#e=a(this,g,void 0);get code(){return this.#e}set code(e){this.#e=e}static styles=[r`
2
2
  :host {
3
3
  display: flex;
4
4
 
@@ -1 +1 @@
1
- import{F as e}from"./row-ByiB1edM.js";customElements.define("flex-column",class FlexColumn extends e{constructor(){super(),this.direction="column"}});
1
+ import{F as e}from"./row-DZm4UH0H.js";customElements.define("flex-column",class FlexColumn extends e{constructor(){super(),this.direction="column"}});
@@ -3,9 +3,9 @@
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t=globalThis,e=t.trustedTypes,i=e?e.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",o=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+o,l=`<${h}>`,a=document,c=()=>a.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,p="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,_=/>/g,A=RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),m=/'/g,g=/"/g,f=/^(?:script|style|textarea|title)$/i,v=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),y=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),x=new WeakMap,C=a.createTreeWalker(a,129);function w(t,e){if(!d(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(e):e}const T=(t,e)=>{const i=t.length-1,h=[];let a,c=2===e?"<svg>":3===e?"<math>":"",u=b;for(let e=0;e<i;e++){const i=t[e];let d,p,v=-1,y=0;for(;y<i.length&&(u.lastIndex=y,p=u.exec(i),null!==p);)y=u.lastIndex,u===b?"!--"===p[1]?u=$:void 0!==p[1]?u=_:void 0!==p[2]?(f.test(p[2])&&(a=RegExp("</"+p[2],"g")),u=A):void 0!==p[3]&&(u=A):u===A?">"===p[0]?(u=a??b,v=-1):void 0===p[1]?v=-2:(v=u.lastIndex-p[2].length,d=p[1],u=void 0===p[3]?A:'"'===p[3]?g:m):u===g||u===m?u=A:u===$||u===_?u=b:(u=A,a=void 0);const S=u===A&&t[e+1].startsWith("/>")?" ":"";c+=u===b?i+l:v>=0?(h.push(d),i.slice(0,v)+r+i.slice(v)+o+S):i+o+(-2===v?e:S)}return[w(t,c+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),h]};class N{constructor({strings:t,_$litType$:i},l){let a;this.parts=[];let u=0,d=0;const p=t.length-1,b=this.parts,[$,_]=T(t,i);if(this.el=N.createElement($,l),C.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(a=C.nextNode())&&b.length<p;){if(1===a.nodeType){if(a.hasAttributes())for(const t of a.getAttributeNames())if(t.endsWith(r)){const e=_[d++],i=a.getAttribute(t).split(o),r=/([.?@])?(.*)/.exec(e);b.push({type:1,index:u,name:r[2],strings:i,ctor:"."===r[1]?H:"?"===r[1]?I:"@"===r[1]?L:k}),a.removeAttribute(t)}else t.startsWith(o)&&(b.push({type:6,index:u}),a.removeAttribute(t));if(f.test(a.tagName)){const t=a.textContent.split(o),i=t.length-1;if(i>0){a.textContent=e?e.emptyScript:"";for(let e=0;e<i;e++)a.append(t[e],c()),C.nextNode(),b.push({type:2,index:++u});a.append(t[i],c())}}}else if(8===a.nodeType)if(a.data===h)b.push({type:2,index:u});else{let t=-1;for(;-1!==(t=a.data.indexOf(o,t+1));)b.push({type:7,index:u}),t+=o.length-1}u++}}static createElement(t,e){const i=a.createElement("template");return i.innerHTML=t,i}}function E(t,e,i=t,r){if(e===y)return e;let o=void 0!==r?i._$Co?.[r]:i._$Cl;const h=u(e)?void 0:e._$litDirective$;return o?.constructor!==h&&(o?._$AO?.(!1),void 0===h?o=void 0:(o=new h(t),o._$AT(t,i,r)),void 0!==r?(i._$Co??=[])[r]=o:i._$Cl=o),void 0!==o&&(e=E(t,o._$AS(t,e.values),o,r)),e}class M{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){const{el:{content:e},parts:i}=this._$AD,r=(t?.creationScope??a).importNode(e,!0);C.currentNode=r;let o=C.nextNode(),h=0,l=0,c=i[0];for(;void 0!==c;){if(h===c.index){let e;2===c.type?e=new R(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new z(o,this,t)),this._$AV.push(e),c=i[++l]}h!==c?.index&&(o=C.nextNode(),h++)}return C.currentNode=a,r}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==y&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>d(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(a.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=N.createElement(w(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new M(r,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=x.get(t.strings);return void 0===e&&x.set(t.strings,e=new N(t)),e}k(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new R(this.O(c()),this.O(c()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}_$AI(t,e=this,i,r){const o=this.strings;let h=!1;if(void 0===o)t=E(this,t,e,0),h=!u(t)||t!==this._$AH&&t!==y,h&&(this._$AH=t);else{const r=t;let l,a;for(t=o[0],l=0;l<o.length-1;l++)a=E(this,r[i+l],e,l),a===y&&(a=this._$AH[l]),h||=!u(a)||a!==this._$AH[l],a===S?t=S:t!==S&&(t+=(a??"")+o[l+1]),this._$AH[l]=a}h&&!r&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class L extends k{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??S)===y)return;const i=this._$AH,r=t===S&&i!==S||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==S&&(i===S||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const O=t.litHtmlPolyfillSupport;O?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const U=(t,e,i)=>{const r=i?.renderBefore??e;let o=r._$litPart$;if(void 0===o){const t=i?.renderBefore??null;r._$litPart$=o=new R(e.insertBefore(c(),t),t,void 0,i??{})}return o._$AI(t),o
6
+ const t=globalThis,e=t.trustedTypes,i=e?e.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",o=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+o,l=`<${h}>`,a=document,c=()=>a.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,p="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,_=/>/g,A=RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),m=/'/g,g=/"/g,f=/^(?:script|style|textarea|title)$/i,v=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),y=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),x=new WeakMap,C=a.createTreeWalker(a,129);function w(t,e){if(!d(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(e):e}const T=(t,e)=>{const i=t.length-1,h=[];let a,c=2===e?"<svg>":3===e?"<math>":"",u=b;for(let e=0;e<i;e++){const i=t[e];let d,p,v=-1,y=0;for(;y<i.length&&(u.lastIndex=y,p=u.exec(i),null!==p);)y=u.lastIndex,u===b?"!--"===p[1]?u=$:void 0!==p[1]?u=_:void 0!==p[2]?(f.test(p[2])&&(a=RegExp("</"+p[2],"g")),u=A):void 0!==p[3]&&(u=A):u===A?">"===p[0]?(u=a??b,v=-1):void 0===p[1]?v=-2:(v=u.lastIndex-p[2].length,d=p[1],u=void 0===p[3]?A:'"'===p[3]?g:m):u===g||u===m?u=A:u===$||u===_?u=b:(u=A,a=void 0);const S=u===A&&t[e+1].startsWith("/>")?" ":"";c+=u===b?i+l:v>=0?(h.push(d),i.slice(0,v)+r+i.slice(v)+o+S):i+o+(-2===v?e:S)}return[w(t,c+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),h]};class N{constructor({strings:t,_$litType$:i},l){let a;this.parts=[];let u=0,d=0;const p=t.length-1,b=this.parts,[$,_]=T(t,i);if(this.el=N.createElement($,l),C.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(a=C.nextNode())&&b.length<p;){if(1===a.nodeType){if(a.hasAttributes())for(const t of a.getAttributeNames())if(t.endsWith(r)){const e=_[d++],i=a.getAttribute(t).split(o),r=/([.?@])?(.*)/.exec(e);b.push({type:1,index:u,name:r[2],strings:i,ctor:"."===r[1]?H:"?"===r[1]?I:"@"===r[1]?L:k}),a.removeAttribute(t)}else t.startsWith(o)&&(b.push({type:6,index:u}),a.removeAttribute(t));if(f.test(a.tagName)){const t=a.textContent.split(o),i=t.length-1;if(i>0){a.textContent=e?e.emptyScript:"";for(let e=0;e<i;e++)a.append(t[e],c()),C.nextNode(),b.push({type:2,index:++u});a.append(t[i],c())}}}else if(8===a.nodeType)if(a.data===h)b.push({type:2,index:u});else{let t=-1;for(;-1!==(t=a.data.indexOf(o,t+1));)b.push({type:7,index:u}),t+=o.length-1}u++}}static createElement(t,e){const i=a.createElement("template");return i.innerHTML=t,i}}function E(t,e,i=t,r){if(e===y)return e;let o=void 0!==r?i._$Co?.[r]:i._$Cl;const h=u(e)?void 0:e._$litDirective$;return o?.constructor!==h&&(o?._$AO?.(!1),void 0===h?o=void 0:(o=new h(t),o._$AT(t,i,r)),void 0!==r?(i._$Co??=[])[r]=o:i._$Cl=o),void 0!==o&&(e=E(t,o._$AS(t,e.values),o,r)),e}class M{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){const{el:{content:e},parts:i}=this._$AD,r=(t?.creationScope??a).importNode(e,!0);C.currentNode=r;let o=C.nextNode(),h=0,l=0,c=i[0];for(;void 0!==c;){if(h===c.index){let e;2===c.type?e=new R(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new z(o,this,t)),this._$AV.push(e),c=i[++l]}h!==c?.index&&(o=C.nextNode(),h++)}return C.currentNode=a,r}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==y&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>d(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(a.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=N.createElement(w(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new M(r,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=x.get(t.strings);return void 0===e&&x.set(t.strings,e=new N(t)),e}k(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new R(this.O(c()),this.O(c()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}_$AI(t,e=this,i,r){const o=this.strings;let h=!1;if(void 0===o)t=E(this,t,e,0),h=!u(t)||t!==this._$AH&&t!==y,h&&(this._$AH=t);else{const r=t;let l,a;for(t=o[0],l=0;l<o.length-1;l++)a=E(this,r[i+l],e,l),a===y&&(a=this._$AH[l]),h||=!u(a)||a!==this._$AH[l],a===S?t=S:t!==S&&(t+=(a??"")+o[l+1]),this._$AH[l]=a}h&&!r&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class L extends k{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??S)===y)return;const i=this._$AH,r=t===S&&i!==S||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==S&&(i===S||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const O=t.litHtmlPolyfillSupport;O?.(N,R),(t.litHtmlVersions??=[]).push("3.3.0");const U=(t,e,i)=>{const r=i?.renderBefore??e;let o=r._$litPart$;if(void 0===o){const t=i?.renderBefore??null;r._$litPart$=o=new R(e.insertBefore(c(),t),t,void 0,i??{})}return o._$AI(t),o
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2019 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */},B=globalThis,P=B.ShadowRoot&&(void 0===B.ShadyCSS||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),V=new WeakMap;class n{constructor(t,e,i){if(this._$cssResult$=!0,i!==W)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(P&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=V.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&V.set(e,t))}return t}toString(){return this.cssText}}const j=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new n(i,t,W)},D=(t,e)=>{if(P)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=B.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}},q=P?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new n("string"==typeof t?t:t+"",void 0,W))(e)})(t):t;Symbol.metadata??=Symbol("metadata");let J=class s extends HTMLElement{static get observedAttributes(){return this[Symbol.metadata]?.observedAttributes?.values()??[]}attributeChangedCallback(t,e,i){this[t]===i&&e===i||(this[t]=i,this.attributeChangeTimeout&&clearTimeout(this.attributeChangeTimeout),this.attributeChangeTimeout=setTimeout((()=>{this.requestRender()}),this.renderedOnce?150:0))}constructor(){super(),this.renderedOnce=!1,this.listeners=[],this.rendered=new Promise((t=>{this.renderResolve=t})),this.attachShadow({mode:"open"});const t=customElements.get(this.localName);this.shadowRoot.adoptedStyleSheets=t.styles?t.styles.map((t=>t.styleSheet??t)):[],this.beforeRender?.(),this.requestRender()}connectedCallback(){this.renderedOnce=!0,this.renderResolve(!0),this.firstRender?.()}disconnectedCallback(){for(const[t,e]of this.listeners)this.removeEventListener(t,e)}render(){return v`<slot></slot>`}requestRender(){U(this.render(),this.shadowRoot)}addListener(t,e){this.listeners.push([t,e]),this.addEventListener(t,e)}};class LittlePubSub{subscribers={};verbose;constructor(t){this.verbose=t}_handleContext(t,e){return void 0===e&&(e=t),e}hasSubscribers(t){return!!this.subscribers[t]}getValue(t){if(this.subscribers[t])return this.subscribers[t].value}subscribe(t,e,i){this.hasSubscribers(t)||(this.subscribers[t]={handlers:[],value:void 0});const r=this._handleContext(e,i?.context),o=e.bind(r);this.subscribers[t].handlers.push(o),void 0!==this.subscribers[t].value&&o(this.subscribers[t].value,void 0)}unsubscribe(t,e,i){if(i||(i={keepValue:!1}),!this.hasSubscribers(t))return;const r=this._handleContext(e,i.context),o=this.subscribers[t].handlers.indexOf(e.bind(r));this.subscribers[t].handlers.splice(o),0!==this.subscribers[t].handlers.length||i.keepValue||delete this.subscribers[t]}publish(t,e,i){this.hasSubscribers(t)||(this.subscribers[t]={handlers:[]});const r=this.subscribers[t]?.value;if(this.verbose||i||r!==e){this.subscribers[t].value=e;for(const i of this.subscribers[t].handlers)i(e,r)}}publishVerbose(t,e){this.publish(t,e,!0)}once(t,e){return new Promise((i=>{const r=o=>{i(o),this.unsubscribe(t,r,e)};this.subscribe(t,r,e)}))}}const Z=(t,e)=>{let i=t;return e===Boolean?i=Boolean("true"===t):e===Number?i=Number(t):e===Uint8Array?i=new Uint8Array(t.split(",")):e!==Array&&e!==Object&&e!==WeakMap&&e!==Map&&e!==Uint8Array||(i=JSON.parse(t),e===Map&&(i=new Map(t)),e===WeakMap&&(i=new WeakMap(t))),i};globalThis.pubsub=globalThis.pubsub||new LittlePubSub;const F={type:String,reflect:!1,renders:!0,batchDelay:50,temporaryRender:10},G=t=>{t={...F,...t};let e=0;return function(i,{kind:r,name:o,addInitializer:h,access:l,metadata:a}){const{type:c,reflect:u,renders:d,batches:p,batchDelay:b,consumer:$,provider:_,temporaryRender:A}=t,m=t.attribute??u,g=String(o),f=m&&"string"==typeof m?m:g,v=c===Boolean,y=$||"boolean"==typeof t.consumes?f:t.consumes,S=_||"boolean"==typeof t.provides?f:t.provides;if(t.provider&&console.warn(`${g}: 'options.provider' is deprecated, use options.provides instead`),t.consumer&&console.warn(`${g}: 'options.consumer' is deprecated, use options.consumes instead`),h((function(){"accessor"!==r&&console.warn(`${this.localName}: @property(${t}) ${g} ${r} is not supported`),m&&(a||(a={}),a.observedAttributes||(a.observedAttributes=new Map),a.observedAttributes.set(g,f)),y&&pubsub.subscribe(y,(async t=>{this[o]=t}))})),"accessor"===r)return{get(){return x.call(this)},set(t){return C.call(this,t)},init(t){return this.hasAttribute(f)&&(t=v?this.hasAttribute(f):Z(this.getAttribute(f),c)),void 0===t||y||C.call(this,t),this[o]}};function x(){return m?v?this.hasAttribute(f):Z(this.getAttribute(f),c):this[`__lite_${g}`]?this[`__lite_${g}`]:this[`_lite_${g}`]}async function C(t){if(S&&pubsub.publish(S,t),this[`_lite_${g}`]!==t){this.beforeChange&&await this.beforeChange(o,t),this.willChange&&(this[`__lite_${g}`]=await this.willChange(o,t)),m?v?t||this[`__lite_${g}`]?this.setAttribute(f,""):this.removeAttribute(f):t||this[`__lite_${g}`]?this.setAttribute(f,((t,e)=>{let i=e;if(t===Boolean||t===Number||t===Uint8Array)return e.toString();if(t===Array||t===Object||t===WeakMap||t===Map||t===Uint8Array){let r;t!==Map&&t!==WeakMap||(r=Object(e).entries()),i=JSON.stringify(r)}return i})(c,this[`__lite_${g}`]??t)):this.removeAttribute(f):this[`_lite_${g}`]=t;const i=()=>{e=0,d&&this.requestRender?.(),this.onChange?.(o,this[`__lite_${g}`]??t)};p&&(e!==A||this.renderedOnce)?(this[`_${g}_timeout`]&&clearTimeout(this[`_${g}_timeout`]),this[`_${g}_timeout`]=setTimeout(i,b)):i()}}}};globalThis.pubsub=globalThis.pubsub||new LittlePubSub;export{U as B,S as E,LittlePubSub as L,D as S,y as T,q as c,j as i,G as r,J as s,v as x};
11
+ */},B=globalThis,P=B.ShadowRoot&&(void 0===B.ShadyCSS||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),V=new WeakMap;class n{constructor(t,e,i){if(this._$cssResult$=!0,i!==W)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(P&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=V.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&V.set(e,t))}return t}toString(){return this.cssText}}const j=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new n(i,t,W)},D=(t,e)=>{if(P)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=B.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}},q=P?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new n("string"==typeof t?t:t+"",void 0,W))(e)})(t):t;Symbol.metadata??=Symbol("metadata");let J=class s extends HTMLElement{static get observedAttributes(){return this[Symbol.metadata]?.observedAttributes?.values()??[]}attributeChangedCallback(t,e,i){this[t]===i&&e===i||(this[t]=i,this.attributeChangeTimeout&&clearTimeout(this.attributeChangeTimeout),this.attributeChangeTimeout=setTimeout((()=>{this.requestRender()}),this.renderedOnce?150:0))}constructor(){super(),this.renderedOnce=!1,this.listeners=[],this.rendered=new Promise((t=>{this.renderResolve=t})),this.attachShadow({mode:"open"});const t=customElements.get(this.localName);this.shadowRoot.adoptedStyleSheets=t.styles?t.styles.map((t=>t.styleSheet??t)):[]}connectedCallback(){this.beforeRender?.(),this.requestRender(),this.renderedOnce=!0,this.renderResolve(!0),this.firstRender?.()}disconnectedCallback(){for(const[t,e]of this.listeners)this.removeEventListener(t,e)}render(){return v`<slot></slot>`}requestRender(){U(this.render(),this.shadowRoot)}addListener(t,e){this.listeners.push([t,e]),this.addEventListener(t,e)}};class LittlePubSub{subscribers={};verbose;constructor(t){this.verbose=t}_handleContext(t,e){return void 0===e&&(e=t),e}hasSubscribers(t){return!!this.subscribers[t]}getValue(t){if(this.subscribers[t])return this.subscribers[t].value}subscribe(t,e,i){this.hasSubscribers(t)||(this.subscribers[t]={handlers:[],value:void 0});const r=this._handleContext(e,i?.context),o=e.bind(r);this.subscribers[t].handlers.push(o),void 0!==this.subscribers[t].value&&o(this.subscribers[t].value,void 0)}unsubscribe(t,e,i){if(i||(i={keepValue:!1}),!this.hasSubscribers(t))return;const r=this._handleContext(e,i.context),o=this.subscribers[t].handlers.indexOf(e.bind(r));this.subscribers[t].handlers.splice(o),0!==this.subscribers[t].handlers.length||i.keepValue||delete this.subscribers[t]}publish(t,e,i){this.hasSubscribers(t)||(this.subscribers[t]={handlers:[]});const r=this.subscribers[t]?.value;if(this.verbose||i||r!==e){this.subscribers[t].value=e;for(const i of this.subscribers[t].handlers)i(e,r)}}publishVerbose(t,e){this.publish(t,e,!0)}once(t,e){return new Promise((i=>{const r=o=>{i(o),this.unsubscribe(t,r,e)};this.subscribe(t,r,e)}))}}const Z=(t,e)=>{let i=t;return e===Boolean?i=Boolean("true"===t):e===Number?i=Number(t):e===Uint8Array?i=new Uint8Array(t.split(",")):e!==Array&&e!==Object&&e!==WeakMap&&e!==Map&&e!==Uint8Array||(i=JSON.parse(t),e===Map&&(i=new Map(t)),e===WeakMap&&(i=new WeakMap(t))),i};globalThis.pubsub=globalThis.pubsub||new LittlePubSub;const F={type:String,reflect:!1,renders:!0,batchDelay:50,temporaryRender:10},G=t=>{t={...F,...t};let e=0;return function(i,{kind:r,name:o,addInitializer:h,access:l,metadata:a}){const{type:c,reflect:u,renders:d,batches:p,batchDelay:b,consumer:$,provider:_,temporaryRender:A}=t,m=t.attribute??u,g=String(o),f=m&&"string"==typeof m?m:g,v=c===Boolean,y=$||"boolean"==typeof t.consumes?f:t.consumes,S=_||"boolean"==typeof t.provides?f:t.provides;if(t.provider&&console.warn(`${g}: 'options.provider' is deprecated, use options.provides instead`),t.consumer&&console.warn(`${g}: 'options.consumer' is deprecated, use options.consumes instead`),h((function(){"accessor"!==r&&console.warn(`${this.localName}: @property(${t}) ${g} ${r} is not supported`),m&&(a||(a={}),a.observedAttributes||(a.observedAttributes=new Map),a.observedAttributes.set(g,f)),y&&pubsub.subscribe(y,(async t=>{this[o]=t}))})),"accessor"===r)return{get(){return x.call(this)},set(t){return C.call(this,t)},init(t){return this.hasAttribute(f)&&(t=v?this.hasAttribute(f):Z(this.getAttribute(f),c)),void 0===t||y||C.call(this,t),this[o]}};function x(){return m?v?this.hasAttribute(f):Z(this.getAttribute(f),c):this[`__lite_${g}`]?this[`__lite_${g}`]:this[`_lite_${g}`]}async function C(t){if(S&&pubsub.publish(S,t),this[`_lite_${g}`]!==t){this.beforeChange&&await this.beforeChange(o,t),this.willChange&&(this[`__lite_${g}`]=await this.willChange(o,t)),m?v?t||this[`__lite_${g}`]?this.setAttribute(f,""):this.removeAttribute(f):t||this[`__lite_${g}`]?this.setAttribute(f,((t,e)=>{let i=e;if(t===Boolean||t===Number||t===Uint8Array)return e.toString();if(t===Array||t===Object||t===WeakMap||t===Map||t===Uint8Array){let r;t!==Map&&t!==WeakMap||(r=Object(e).entries()),i=JSON.stringify(r)}return i})(c,this[`__lite_${g}`]??t)):this.removeAttribute(f):this[`_lite_${g}`]=t;const i=()=>{e=0,d&&this.requestRender?.(),this.onChange?.(o,this[`__lite_${g}`]??t)};p&&(e!==A||this.renderedOnce)?(this[`_${g}_timeout`]&&clearTimeout(this[`_${g}_timeout`]),this[`_${g}_timeout`]=setTimeout(i,b)):i()}}}};globalThis.pubsub=globalThis.pubsub||new LittlePubSub;export{U as B,S as E,LittlePubSub as L,D as S,y as T,q as c,j as i,G as r,J as s,v as x};
@@ -1 +1 @@
1
- export{DemoIcons}from"./demo-icons.js";export{DemoSection}from"./section.js";import"./tslib.es6-B87RQr7F.js";import"./dark-mode-BhSl3mXB.js";import"./custom-element-B_TPyPQO.js";import"./icon-set.js";import"./section2.js";import"./scroll-mixin.js";import"./elevation.js";import"./code.js";
1
+ export{DemoIcons}from"./demo-icons.js";export{DemoSection}from"./section.js";import"./tslib.es6-B87RQr7F.js";import"./dark-mode-m29sAj4H.js";import"./custom-element-B_TPyPQO.js";import"./icon-set.js";import"./section2.js";import"./scroll-mixin.js";import"./elevation.js";import"./code.js";
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,i as v,x as a}from"./dark-mode-BhSl3mXB.js";import{e as m}from"./custom-element-B_TPyPQO.js";import"./icon-set.js";let h=(()=>{let h,n,o=[m("demo-icons")],w=[],i=s;return class extends i{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,h={value:n},o,{kind:"class",name:n.name,metadata:e},null,w),n=h.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[v`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,i as v,x as a}from"./dark-mode-m29sAj4H.js";import{e as m}from"./custom-element-B_TPyPQO.js";import"./icon-set.js";let h=(()=>{let h,n,o=[m("demo-icons")],w=[],i=s;return class extends i{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,h={value:n},o,{kind:"class",name:n.name,metadata:e},null,w),n=h.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[v`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as i}from"./dark-mode-BhSl3mXB.js";import{t as m}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./demo-icons.js";import"./section.js";import"./card.js";import"./theme.js";import"./divider.js";import"./button.js";import"./banner.js";import"./selector.js";import"./pages.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./section2.js";import"./drawer-layout.js";import"./top-app-bar.js";import"./icon.js";import"./typography.js";import"./pane.js";import"./supporting-pane.js";import"./tabs.js";import"./root.js";import"./dialog.js";import"./icon-set.js";import"./list-item.js";import"./menu.js";import"./icon-button.js";import"./dropdown-menu.js";import"./dropdown.js";import"./toggle.js";import"./toggle-button.js";import"./time-picker.js";import"./notification.js";import"./notifications.js";import"./code.js";import"./elevation.js";import"./button.css.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-C6rmmqj-.js";import"./row-ByiB1edM.js";import"./tab.js";import"./input.js";import"./property-Cz7Tusq9.js";let c=(()=>{let c,u,n,r,l=[a("demo-shell")],p=[],d=o,g=[],b=[],y=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[m("custom-selector")],r=[m("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},g,b),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},y,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,g,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,b),e(this,y,void 0));get pages(){return this.#e}set pages(t){this.#e=t}connectedCallback(){this.selector.addEventListener("selected",(async({detail:t})=>{document.dispatchEvent(new CustomEvent("custom-scroll",{detail:{scrolling:!1}})),this.pages.select(t),localStorage.setItem("last-selected",t)}));const t=localStorage.getItem("last-selected");t&&(customElements.get("custom-serlector")?this.selector.select(t):(this.selector.select(t),this.pages.select(t)))}static styles=[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as i}from"./dark-mode-m29sAj4H.js";import{t as m}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./demo-icons.js";import"./section.js";import"./card.js";import"./theme.js";import"./divider.js";import"./button.js";import"./banner.js";import"./selector.js";import"./pages.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./section2.js";import"./drawer-layout.js";import"./top-app-bar.js";import"./icon.js";import"./typography.js";import"./pane.js";import"./supporting-pane.js";import"./tabs.js";import"./root.js";import"./dialog.js";import"./icon-set.js";import"./list-item.js";import"./menu.js";import"./icon-button.js";import"./dropdown-menu.js";import"./dropdown.js";import"./toggle.js";import"./toggle-button.js";import"./time-picker.js";import"./notification.js";import"./notifications.js";import"./code.js";import"./elevation.js";import"./button.css.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-CLFZeRaw.js";import"./row-DZm4UH0H.js";import"./tab.js";import"./input.js";import"./property-CMTrOHQk.js";let c=(()=>{let c,u,n,r,l=[a("demo-shell")],p=[],d=o,g=[],b=[],y=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[m("custom-selector")],r=[m("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},g,b),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},y,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,g,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,b),e(this,y,void 0));get pages(){return this.#e}set pages(t){this.#e=t}connectedCallback(){this.selector.addEventListener("selected",(async({detail:t})=>{document.dispatchEvent(new CustomEvent("custom-scroll",{detail:{scrolling:!1}})),this.pages.select(t),localStorage.setItem("last-selected",t)}));const t=localStorage.getItem("last-selected");t&&(customElements.get("custom-serlector")?this.selector.select(t):(this.selector.select(t),this.pages.select(t)))}static styles=[s`
2
2
  custom-drawer-layout {
3
3
  height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as i}from"./dark-mode-BhSl3mXB.js";import{t as m}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";let c=(()=>{let c,u,n,r,l=[a("demo-shell")],p=[],d=o,b=[],y=[],g=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[m("custom-selector")],r=[m("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},b,y),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},g,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,b,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,y),e(this,g,void 0));get pages(){return this.#e}set pages(t){this.#e=t}static styles=[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as i}from"./dark-mode-m29sAj4H.js";import{t as m}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";let c=(()=>{let c,u,n,r,l=[a("demo-shell")],p=[],d=o,b=[],y=[],g=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[m("custom-selector")],r=[m("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},b,y),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},g,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,b,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,y),e(this,g,void 0));get pages(){return this.#e}set pages(t){this.#e=t}static styles=[s`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as o,i as a,x as r}from"./dark-mode-BhSl3mXB.js";import{e as n}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./icon.js";let i=(()=>{let i,l,c,h,m,d,p,u=[n("custom-dialog")],g=[],f=s,y=[],v=[],b=[],x=[],_=[],w=[],H=[],k=[],A=[],j=[];return class extends f{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,reflect:!0})],m=[o({type:Boolean,reflect:!0,attribute:"has-actions"})],d=[o({type:Boolean,reflect:!0,attribute:"has-header"})],p=[o({type:Boolean,reflect:!0,attribute:"has-hero"})],e(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},y,v),e(this,null,h,{kind:"accessor",name:"fullscreen",static:!1,private:!1,access:{has:e=>"fullscreen"in e,get:e=>e.fullscreen,set:(e,t)=>{e.fullscreen=t}},metadata:t},b,x),e(this,null,m,{kind:"accessor",name:"hasActions",static:!1,private:!1,access:{has:e=>"hasActions"in e,get:e=>e.hasActions,set:(e,t)=>{e.hasActions=t}},metadata:t},_,w),e(this,null,d,{kind:"accessor",name:"hasHeader",static:!1,private:!1,access:{has:e=>"hasHeader"in e,get:e=>e.hasHeader,set:(e,t)=>{e.hasHeader=t}},metadata:t},H,k),e(this,null,p,{kind:"accessor",name:"hasHero",static:!1,private:!1,access:{has:e=>"hasHero"in e,get:e=>e.hasHero,set:(e,t)=>{e.hasHero=t}},metadata:t},A,j),e(null,i={value:l},u,{kind:"class",name:l.name,metadata:t},null,g),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,y,void 0);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,v),t(this,b,void 0));get fullscreen(){return this.#t}set fullscreen(e){this.#t=e}#s=(t(this,x),t(this,_,void 0));get hasActions(){return this.#s}set hasActions(e){this.#s=e}#o=(t(this,w),t(this,H,void 0));get hasHeader(){return this.#o}set hasHeader(e){this.#o=e}#a=(t(this,k),t(this,A,void 0));get hasHero(){return this.#a}set hasHero(e){this.#a=e}constructor(){super(),t(this,j),this._close=this._close.bind(this)}connectedCallback(){const e=this.shadowRoot.querySelector('slot[name="actions"]');this.hasActions=0!==Array.from(e?.assignedNodes()||[]).length;let t=this.shadowRoot.querySelector('slot[name="header"]');const s=["title","header-start","header-end"];let o=0;for(;0===Array.from(t.assignedElements()).length&&o<s.length;)t=this.shadowRoot.querySelector(`slot[name="${s[o]}"]`),o+=1;this.hasHeader=0!==t.assignedElements().length;const a=this.shadowRoot.querySelector('slot[name="hero-icon"]');this.hashero=0!==Array.from(a?.assignedNodes()||[]).length}onChange(e,t){"open"===e&&(this.open?this.querySelector('[slot="actions"]')?.addEventListener("click",this._close):this.querySelector('[slot="actions"]')?.removeEventListener("click",this._close))}_close(e){const t=e.composedPath()[0];this.dispatchEvent(new CustomEvent("close",{detail:t.getAttribute("action")||"close"})),this.open=!1}static styles=[a`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as o,i as a,x as r}from"./dark-mode-m29sAj4H.js";import{e as n}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./icon.js";let i=(()=>{let i,l,c,h,m,d,p,u=[n("custom-dialog")],g=[],f=s,y=[],v=[],b=[],x=[],_=[],w=[],H=[],k=[],A=[],j=[];return class extends f{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,reflect:!0})],m=[o({type:Boolean,reflect:!0,attribute:"has-actions"})],d=[o({type:Boolean,reflect:!0,attribute:"has-header"})],p=[o({type:Boolean,reflect:!0,attribute:"has-hero"})],e(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},y,v),e(this,null,h,{kind:"accessor",name:"fullscreen",static:!1,private:!1,access:{has:e=>"fullscreen"in e,get:e=>e.fullscreen,set:(e,t)=>{e.fullscreen=t}},metadata:t},b,x),e(this,null,m,{kind:"accessor",name:"hasActions",static:!1,private:!1,access:{has:e=>"hasActions"in e,get:e=>e.hasActions,set:(e,t)=>{e.hasActions=t}},metadata:t},_,w),e(this,null,d,{kind:"accessor",name:"hasHeader",static:!1,private:!1,access:{has:e=>"hasHeader"in e,get:e=>e.hasHeader,set:(e,t)=>{e.hasHeader=t}},metadata:t},H,k),e(this,null,p,{kind:"accessor",name:"hasHero",static:!1,private:!1,access:{has:e=>"hasHero"in e,get:e=>e.hasHero,set:(e,t)=>{e.hasHero=t}},metadata:t},A,j),e(null,i={value:l},u,{kind:"class",name:l.name,metadata:t},null,g),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,y,void 0);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,v),t(this,b,void 0));get fullscreen(){return this.#t}set fullscreen(e){this.#t=e}#s=(t(this,x),t(this,_,void 0));get hasActions(){return this.#s}set hasActions(e){this.#s=e}#o=(t(this,w),t(this,H,void 0));get hasHeader(){return this.#o}set hasHeader(e){this.#o=e}#a=(t(this,k),t(this,A,void 0));get hasHero(){return this.#a}set hasHero(e){this.#a=e}constructor(){super(),t(this,j),this._close=this._close.bind(this)}connectedCallback(){const e=this.shadowRoot.querySelector('slot[name="actions"]');this.hasActions=0!==Array.from(e?.assignedNodes()||[]).length;let t=this.shadowRoot.querySelector('slot[name="header"]');const s=["title","header-start","header-end"];let o=0;for(;0===Array.from(t.assignedElements()).length&&o<s.length;)t=this.shadowRoot.querySelector(`slot[name="${s[o]}"]`),o+=1;this.hasHeader=0!==t.assignedElements().length;const a=this.shadowRoot.querySelector('slot[name="hero-icon"]');this.hashero=0!==Array.from(a?.assignedNodes()||[]).length}onChange(e,t){"open"===e&&(this.open?this.querySelector('[slot="actions"]')?.addEventListener("click",this._close):this.querySelector('[slot="actions"]')?.removeEventListener("click",this._close))}_close(e){const t=e.composedPath()[0];this.dispatchEvent(new CustomEvent("close",{detail:t.getAttribute("action")||"close"})),this.open=!1}static styles=[a`
2
2
  :host {
3
3
  position: absolute;
4
4
  inset: 0;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as i,x as a}from"./dark-mode-BhSl3mXB.js";import{e as o}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./elevation.js";import"./button.css.js";let r=(()=>{let r,s,l=[o("custom-divider")],n=[],m=i;return class extends m{static{s=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,r={value:s},l,{kind:"class",name:s.name,metadata:e},null,n),s=r.value,e&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static properties={inset:{type:Boolean,reflect:!0,attribute:"inset"},middleInset:{type:Boolean,reflect:!0,attribute:"middle-inset"}};render(){return a`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as i,x as a}from"./dark-mode-m29sAj4H.js";import{e as o}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./elevation.js";import"./button.css.js";let r=(()=>{let r,s,l=[o("custom-divider")],n=[],m=i;return class extends m{static{s=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,r={value:s},l,{kind:"class",name:s.name,metadata:e},null,n),s=r.value,e&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static properties={inset:{type:Boolean,reflect:!0,attribute:"inset"},middleInset:{type:Boolean,reflect:!0,attribute:"middle-inset"}};render(){return a`
2
2
  <style>
3
3
  :host {
4
4
  display: block;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as o,x as i}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./icon-button.js";import"./button.js";import"./elevation.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,c,l,d,m,p=[r("custom-drawer-button")],u=[],b=s,h=[],_=[],g=[],w=[],v=[],y=[];return class extends b{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;l=[a({type:Boolean,reflect:!0})],d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],m=[a()],e(this,null,l,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:t},h,_),e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:t},g,w),e(this,null,m,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:t},v,y),e(null,n={value:c},p,{kind:"class",name:c.name,metadata:t},null,u),c=n.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,h,!1);get mobile(){return this.#e}set mobile(e){this.#e=e}#t=(t(this,_),t(this,g,void 0));get drawerOpen(){return this.#t}set drawerOpen(e){this.#t=e}#s=(t(this,w),t(this,v,void 0));get id(){return this.#s}set id(e){this.#s=e}openPane(){document.dispatchEvent(new CustomEvent("custom-pane-open",{detail:this.id}))}static styles=[o`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as o,x as i}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./icon-button.js";import"./button.js";import"./elevation.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,c,l,d,m,p=[r("custom-drawer-button")],u=[],b=s,h=[],_=[],g=[],w=[],v=[],y=[];return class extends b{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;l=[a({type:Boolean,reflect:!0})],d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],m=[a()],e(this,null,l,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:t},h,_),e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:t},g,w),e(this,null,m,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:t},v,y),e(null,n={value:c},p,{kind:"class",name:c.name,metadata:t},null,u),c=n.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,h,!1);get mobile(){return this.#e}set mobile(e){this.#e=e}#t=(t(this,_),t(this,g,void 0));get drawerOpen(){return this.#t}set drawerOpen(e){this.#t=e}#s=(t(this,w),t(this,v,void 0));get id(){return this.#s}set id(e){this.#s=e}openPane(){document.dispatchEvent(new CustomEvent("custom-pane-open",{detail:this.id}))}static styles=[o`
2
2
  :host {
3
3
  display: block;
4
4
  opacity: 1;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,i as a,x as n}from"./dark-mode-BhSl3mXB.js";import{e as s}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,i,l=[s("custom-drawer-item")],m=[],d=o;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,r={value:i},l,{kind:"class",name:i.name,metadata:t},null,m),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,i as a,x as n}from"./dark-mode-m29sAj4H.js";import{e as s}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,i,l=[s("custom-drawer-item")],m=[],d=o;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,r={value:i},l,{kind:"class",name:i.name,metadata:t},null,m),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  padding-left: 16px;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as r,r as a,x as s}from"./dark-mode-BhSl3mXB.js";import{e as o}from"./custom-element-B_TPyPQO.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./top-app-bar.js";import"./column-C6rmmqj-.js";import"./elevation.js";import"./button.js";import"./button.css.js";import"./pane.js";import"./icon-button.js";import"./icon.js";import"./it-Dft_Rjy-.js";import"./row-ByiB1edM.js";let i=(()=>{let i,n,d,c,l,m,p,h,w,u=[o("custom-drawer-layout")],g=[],b=r,_=[],y=[],T=[],k=[],f=[],v=[],O=[],j=[],D=[],x=[],I=[],B=[],C=[],$=[];return class extends b{static{n=this}static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],c=[a({type:Boolean,reflect:!0,attribute:"keep-closed"})],l=[a({type:Boolean,reflect:!0})],m=[a({type:String})],p=[a({type:String})],h=[a({type:String})],w=[a({attribute:"mobile-trigger"})],e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:r},_,y),e(this,null,c,{kind:"accessor",name:"keepClosed",static:!1,private:!1,access:{has:e=>"keepClosed"in e,get:e=>e.keepClosed,set:(e,t)=>{e.keepClosed=t}},metadata:r},T,k),e(this,null,l,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:r},f,v),e(this,null,m,{kind:"accessor",name:"drawerType",static:!1,private:!1,access:{has:e=>"drawerType"in e,get:e=>e.drawerType,set:(e,t)=>{e.drawerType=t}},metadata:r},O,j),e(this,null,p,{kind:"accessor",name:"appBarType",static:!1,private:!1,access:{has:e=>"appBarType"in e,get:e=>e.appBarType,set:(e,t)=>{e.appBarType=t}},metadata:r},D,x),e(this,null,h,{kind:"accessor",name:"mainDrawerId",static:!1,private:!1,access:{has:e=>"mainDrawerId"in e,get:e=>e.mainDrawerId,set:(e,t)=>{e.mainDrawerId=t}},metadata:r},I,B),e(this,null,w,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:r},C,$),e(null,i={value:n},u,{kind:"class",name:n.name,metadata:r},null,g),n=i.value,r&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r}),t(n,g)}#e=t(this,_,!1);get drawerOpen(){return this.#e}set drawerOpen(e){this.#e=e}#t=(t(this,y),t(this,T,!1));get keepClosed(){return this.#t}set keepClosed(e){this.#t=e}#r=(t(this,k),t(this,f,!1));get narrow(){return this.#r}set narrow(e){this.#r=e}#a=(t(this,v),t(this,O,"modal"));get drawerType(){return this.#a}set drawerType(e){this.#a=e}#s=(t(this,j),t(this,D,"center-aligned"));get appBarType(){return this.#s}set appBarType(e){this.#s=e}#o=(t(this,x),t(this,I,crypto.randomUUID()));get mainDrawerId(){return this.#o}set mainDrawerId(e){this.#o=e}#i=(t(this,B),t(this,C,"(max-width: 860px)"));get mobileTrigger(){return this.#i}set mobileTrigger(e){this.#i=e}onChange(e,t){if("mobileTrigger"===e){const e=matchMedia(t);this._onnarrow({detail:e.matches})}}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:e})=>{this.mainDrawerId===e&&(this.drawerOpen=!1)})),document.addEventListener("custom-pane-open",(({detail:e})=>{this.mainDrawerId!==e||this.keepClosed||(this.drawerOpen=!0)})),document.addEventListener("custom-theme-narrow",this._onnarrow.bind(this))}_onnarrow({detail:e}){if(this.narrow=e,this.keepClosed)return this.drawerOpen=!1;this.drawerOpen=!e}_click=(t(this,$),()=>{this.narrow&&(this.drawerOpen=!this.drawerOpen)});render(){return s`<style>
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as r,r as a,x as s}from"./dark-mode-m29sAj4H.js";import{e as o}from"./custom-element-B_TPyPQO.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./top-app-bar.js";import"./column-CLFZeRaw.js";import"./elevation.js";import"./button.js";import"./button.css.js";import"./pane.js";import"./icon-button.js";import"./icon.js";import"./it-Dft_Rjy-.js";import"./row-DZm4UH0H.js";let i=(()=>{let i,n,d,c,l,m,p,h,w,u=[o("custom-drawer-layout")],g=[],b=r,_=[],y=[],T=[],k=[],f=[],v=[],O=[],j=[],D=[],x=[],I=[],B=[],C=[],$=[];return class extends b{static{n=this}static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],c=[a({type:Boolean,reflect:!0,attribute:"keep-closed"})],l=[a({type:Boolean,reflect:!0})],m=[a({type:String})],p=[a({type:String})],h=[a({type:String})],w=[a({attribute:"mobile-trigger"})],e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:r},_,y),e(this,null,c,{kind:"accessor",name:"keepClosed",static:!1,private:!1,access:{has:e=>"keepClosed"in e,get:e=>e.keepClosed,set:(e,t)=>{e.keepClosed=t}},metadata:r},T,k),e(this,null,l,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:r},f,v),e(this,null,m,{kind:"accessor",name:"drawerType",static:!1,private:!1,access:{has:e=>"drawerType"in e,get:e=>e.drawerType,set:(e,t)=>{e.drawerType=t}},metadata:r},O,j),e(this,null,p,{kind:"accessor",name:"appBarType",static:!1,private:!1,access:{has:e=>"appBarType"in e,get:e=>e.appBarType,set:(e,t)=>{e.appBarType=t}},metadata:r},D,x),e(this,null,h,{kind:"accessor",name:"mainDrawerId",static:!1,private:!1,access:{has:e=>"mainDrawerId"in e,get:e=>e.mainDrawerId,set:(e,t)=>{e.mainDrawerId=t}},metadata:r},I,B),e(this,null,w,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:r},C,$),e(null,i={value:n},u,{kind:"class",name:n.name,metadata:r},null,g),n=i.value,r&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r}),t(n,g)}#e=t(this,_,!1);get drawerOpen(){return this.#e}set drawerOpen(e){this.#e=e}#t=(t(this,y),t(this,T,!1));get keepClosed(){return this.#t}set keepClosed(e){this.#t=e}#r=(t(this,k),t(this,f,!1));get narrow(){return this.#r}set narrow(e){this.#r=e}#a=(t(this,v),t(this,O,"modal"));get drawerType(){return this.#a}set drawerType(e){this.#a=e}#s=(t(this,j),t(this,D,"center-aligned"));get appBarType(){return this.#s}set appBarType(e){this.#s=e}#o=(t(this,x),t(this,I,crypto.randomUUID()));get mainDrawerId(){return this.#o}set mainDrawerId(e){this.#o=e}#i=(t(this,B),t(this,C,"(max-width: 860px)"));get mobileTrigger(){return this.#i}set mobileTrigger(e){this.#i=e}onChange(e,t){if("mobileTrigger"===e){const e=matchMedia(t);this._onnarrow({detail:e.matches})}}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:e})=>{this.mainDrawerId===e&&(this.drawerOpen=!1)})),document.addEventListener("custom-pane-open",(({detail:e})=>{this.mainDrawerId!==e||this.keepClosed||(this.drawerOpen=!0)})),document.addEventListener("custom-theme-narrow",this._onnarrow.bind(this))}_onnarrow({detail:e}){if(this.narrow=e,this.keepClosed)return this.drawerOpen=!1;this.drawerOpen=!e}_click=(t(this,$),()=>{this.narrow&&(this.drawerOpen=!this.drawerOpen)});render(){return s`<style>
2
2
  :host {
3
3
  --custom-drawer-width: 320px;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as s,s as a,r as o,x as i}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./button.js";import"./pane.js";import"./button.css.js";import"./icon-button.js";import"./icon.js";var n=s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as s,s as a,r as o,x as i}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./button.js";import"./pane.js";import"./button.css.js";import"./icon-button.js";import"./icon.js";var n=s`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as o,i as c,x as i}from"./dark-mode-BhSl3mXB.js";import{t as r}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./dropdown.js";import"./menu.js";import"./icon.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let n=(()=>{let n,l,m,d,h,p,u,_,g,v,b=[a("custom-dropdown-menu")],k=[],w=s,O=[],f=[],y=[],S=[],C=[],j=[],x=[],$=[],B=[],E=[],q=[],P=[],z=[],A=[],D=[],F=[];return class extends w{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(w[Symbol.metadata]??null):void 0;m=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,attribute:"close-on-select"})],p=[o({type:Boolean,attribute:"close-on-click"})],u=[o({type:Boolean,reflect:!0})],_=[o({type:String})],g=[r("custom-menu")],v=[r("custom-dropdown")],t(this,null,m,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},O,f),t(this,null,d,{kind:"accessor",name:"bottom",static:!1,private:!1,access:{has:t=>"bottom"in t,get:t=>t.bottom,set:(t,e)=>{t.bottom=e}},metadata:e},y,S),t(this,null,h,{kind:"accessor",name:"closeOnSelect",static:!1,private:!1,access:{has:t=>"closeOnSelect"in t,get:t=>t.closeOnSelect,set:(t,e)=>{t.closeOnSelect=e}},metadata:e},C,j),t(this,null,p,{kind:"accessor",name:"closeOnClick",static:!1,private:!1,access:{has:t=>"closeOnClick"in t,get:t=>t.closeOnClick,set:(t,e)=>{t.closeOnClick=e}},metadata:e},x,$),t(this,null,u,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},B,E),t(this,null,_,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},q,P),t(this,null,g,{kind:"accessor",name:"_menu",static:!1,private:!1,access:{has:t=>"_menu"in t,get:t=>t._menu,set:(t,e)=>{t._menu=e}},metadata:e},z,A),t(this,null,v,{kind:"accessor",name:"_dropdown",static:!1,private:!1,access:{has:t=>"_dropdown"in t,get:t=>t._dropdown,set:(t,e)=>{t._dropdown=e}},metadata:e},D,F),t(null,n={value:l},b,{kind:"class",name:l.name,metadata:e},null,k),l=n.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,O,void 0);get right(){return this.#t}set right(t){this.#t=t}#e=(e(this,f),e(this,y,void 0));get bottom(){return this.#e}set bottom(t){this.#e=t}#s=(e(this,S),e(this,C,!0));get closeOnSelect(){return this.#s}set closeOnSelect(t){this.#s=t}#o=(e(this,j),e(this,x,!0));get closeOnClick(){return this.#o}set closeOnClick(t){this.#o=t}#c=(e(this,$),e(this,B,void 0));get open(){return this.#c}set open(t){this.#c=t}#i=(e(this,E),e(this,q,"more_vert"));get icon(){return this.#i}set icon(t){this.#i=t}#r=(e(this,P),e(this,z,void 0));get _menu(){return this.#r}set _menu(t){this.#r=t}#a=(e(this,A),e(this,D,void 0));get _dropdown(){return this.#a}set _dropdown(t){this.#a=t}_onselected=(e(this,F),({detail:t})=>{this.dispatchEvent(new CustomEvent("selected",{detail:t})),this.closeOnSelect&&(this.open=!1,this._menu.selected=void 0)});_scrimClick=()=>{this.closeOnClick&&(this.open=!1)};static styles=[c`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as o,i as c,x as i}from"./dark-mode-m29sAj4H.js";import{t as r}from"./query-DCTzLeFk.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./dropdown.js";import"./menu.js";import"./icon.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let n=(()=>{let n,l,m,d,h,p,u,_,g,v,b=[a("custom-dropdown-menu")],k=[],w=s,O=[],f=[],y=[],S=[],C=[],j=[],x=[],$=[],B=[],E=[],q=[],P=[],z=[],A=[],D=[],F=[];return class extends w{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(w[Symbol.metadata]??null):void 0;m=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,attribute:"close-on-select"})],p=[o({type:Boolean,attribute:"close-on-click"})],u=[o({type:Boolean,reflect:!0})],_=[o({type:String})],g=[r("custom-menu")],v=[r("custom-dropdown")],t(this,null,m,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},O,f),t(this,null,d,{kind:"accessor",name:"bottom",static:!1,private:!1,access:{has:t=>"bottom"in t,get:t=>t.bottom,set:(t,e)=>{t.bottom=e}},metadata:e},y,S),t(this,null,h,{kind:"accessor",name:"closeOnSelect",static:!1,private:!1,access:{has:t=>"closeOnSelect"in t,get:t=>t.closeOnSelect,set:(t,e)=>{t.closeOnSelect=e}},metadata:e},C,j),t(this,null,p,{kind:"accessor",name:"closeOnClick",static:!1,private:!1,access:{has:t=>"closeOnClick"in t,get:t=>t.closeOnClick,set:(t,e)=>{t.closeOnClick=e}},metadata:e},x,$),t(this,null,u,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},B,E),t(this,null,_,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},q,P),t(this,null,g,{kind:"accessor",name:"_menu",static:!1,private:!1,access:{has:t=>"_menu"in t,get:t=>t._menu,set:(t,e)=>{t._menu=e}},metadata:e},z,A),t(this,null,v,{kind:"accessor",name:"_dropdown",static:!1,private:!1,access:{has:t=>"_dropdown"in t,get:t=>t._dropdown,set:(t,e)=>{t._dropdown=e}},metadata:e},D,F),t(null,n={value:l},b,{kind:"class",name:l.name,metadata:e},null,k),l=n.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,O,void 0);get right(){return this.#t}set right(t){this.#t=t}#e=(e(this,f),e(this,y,void 0));get bottom(){return this.#e}set bottom(t){this.#e=t}#s=(e(this,S),e(this,C,!0));get closeOnSelect(){return this.#s}set closeOnSelect(t){this.#s=t}#o=(e(this,j),e(this,x,!0));get closeOnClick(){return this.#o}set closeOnClick(t){this.#o=t}#c=(e(this,$),e(this,B,void 0));get open(){return this.#c}set open(t){this.#c=t}#i=(e(this,E),e(this,q,"more_vert"));get icon(){return this.#i}set icon(t){this.#i=t}#r=(e(this,P),e(this,z,void 0));get _menu(){return this.#r}set _menu(t){this.#r=t}#a=(e(this,A),e(this,D,void 0));get _dropdown(){return this.#a}set _dropdown(t){this.#a=t}_onselected=(e(this,F),({detail:t})=>{this.dispatchEvent(new CustomEvent("selected",{detail:t})),this.closeOnSelect&&(this.open=!1,this._menu.selected=void 0)});_scrimClick=()=>{this.closeOnClick&&(this.open=!1)};static styles=[c`
2
2
  :host {
3
3
  position: relative;
4
4
  display: block;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as o,x as n}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,c,m,l=[r("custom-dropdown")],p=[],d=s,u=[],f=[];return class extends d{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;m=[a({type:Boolean,reflect:!0})],e(this,null,m,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},u,f),e(null,i={value:c},l,{kind:"class",name:c.name,metadata:t},null,p),c=i.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,u,void 0);get open(){return this.#e}set open(e){this.#e=e}static styles=[o`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as o,x as n}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,c,m,l=[r("custom-dropdown")],p=[],d=s,u=[],f=[];return class extends d{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;m=[a({type:Boolean,reflect:!0})],e(this,null,m,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},u,f),e(null,i={value:c},l,{kind:"class",name:c.name,metadata:t},null,p),c=i.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,u,void 0);get open(){return this.#e}set open(e){this.#e=e}static styles=[o`
2
2
  :host {
3
3
  position: absolute;
4
4
  pointer-events: none;
@@ -1 +1 @@
1
- export{CustomCard}from"./card.js";export{CustomTheme}from"./theme.js";export{CustomDivider}from"./divider.js";export{CustomButton}from"./button.js";export{CustomBanner}from"./banner.js";export{CustomSelector}from"./selector.js";export{CustomPages}from"./pages.js";export{CustomDrawer}from"./drawer.js";export{CustomDrawerButton}from"./drawer-button.js";export{CustomDrawerItem}from"./drawer-item.js";export{CustomSection}from"./section2.js";export{CustomDrawerLayout}from"./drawer-layout.js";export{CustomTopAppBar}from"./top-app-bar.js";export{CustomIcon}from"./icon.js";export{CustomTypography}from"./typography.js";export{CustomPane}from"./pane.js";export{CustomSupportingPane}from"./supporting-pane.js";export{CustomTabs}from"./tabs.js";export{CustomRoot}from"./root.js";export{CustomDialog}from"./dialog.js";export{CustomIconSet}from"./icon-set.js";export{CustomListItem}from"./list-item.js";export{CustomMenu}from"./menu.js";export{CustomIconButton}from"./icon-button.js";export{CustomDropdownMenu}from"./dropdown-menu.js";export{CustomDropdown}from"./dropdown.js";export{CustomToggle}from"./toggle.js";export{CustomToggleButton}from"./toggle-button.js";export{CustomTimePicker}from"./time-picker.js";export{CustomNotification}from"./notification.js";export{CustomNotifications}from"./notifications.js";import"./tslib.es6-B87RQr7F.js";import"./dark-mode-BhSl3mXB.js";import"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./button.css.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-C6rmmqj-.js";import"./row-ByiB1edM.js";import"./query-DCTzLeFk.js";import"./tab.js";import"./input.js";import"./property-Cz7Tusq9.js";
1
+ export{CustomCard}from"./card.js";export{CustomTheme}from"./theme.js";export{CustomDivider}from"./divider.js";export{CustomButton}from"./button.js";export{CustomBanner}from"./banner.js";export{CustomSelector}from"./selector.js";export{CustomPages}from"./pages.js";export{CustomDrawer}from"./drawer.js";export{CustomDrawerButton}from"./drawer-button.js";export{CustomDrawerItem}from"./drawer-item.js";export{CustomSection}from"./section2.js";export{CustomDrawerLayout}from"./drawer-layout.js";export{CustomTopAppBar}from"./top-app-bar.js";export{CustomIcon}from"./icon.js";export{CustomTypography}from"./typography.js";export{CustomPane}from"./pane.js";export{CustomSupportingPane}from"./supporting-pane.js";export{CustomTabs}from"./tabs.js";export{CustomRoot}from"./root.js";export{CustomDialog}from"./dialog.js";export{CustomIconSet}from"./icon-set.js";export{CustomListItem}from"./list-item.js";export{CustomMenu}from"./menu.js";export{CustomIconButton}from"./icon-button.js";export{CustomDropdownMenu}from"./dropdown-menu.js";export{CustomDropdown}from"./dropdown.js";export{CustomToggle}from"./toggle.js";export{CustomToggleButton}from"./toggle-button.js";export{CustomTimePicker}from"./time-picker.js";export{CustomNotification}from"./notification.js";export{CustomNotifications}from"./notifications.js";import"./tslib.es6-B87RQr7F.js";import"./dark-mode-m29sAj4H.js";import"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./button.css.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-CLFZeRaw.js";import"./row-DZm4UH0H.js";import"./query-DCTzLeFk.js";import"./tab.js";import"./input.js";import"./property-CMTrOHQk.js";
@@ -1,4 +1,4 @@
1
- import{_ as e,a}from"./tslib.es6-B87RQr7F.js";import{s as l,r as t,x as o}from"./dark-mode-BhSl3mXB.js";import{e as s}from"./custom-element-B_TPyPQO.js";
1
+ import{_ as e,a}from"./tslib.es6-B87RQr7F.js";import{s as l,r as t,x as o}from"./dark-mode-m29sAj4H.js";import{e as s}from"./custom-element-B_TPyPQO.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2022 Google LLC
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,r as s,i as a,x as r}from"./dark-mode-BhSl3mXB.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./elevation.js";let n=(()=>{let n,i,c,d=[l("custom-fab")],y=[],m=o,p=[],v=[];return class extends m{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;c=[s({attribute:"type",reflect:!0})],e(this,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},p,v),e(null,n={value:i},d,{kind:"class",name:i.name,metadata:t},null,y),i=n.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"normal");get type(){return this.#e}set type(e){this.#e=e}static styles=[a`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,r as s,i as a,x as r}from"./dark-mode-m29sAj4H.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./elevation.js";let n=(()=>{let n,i,c,d=[l("custom-fab")],y=[],m=o,p=[],v=[];return class extends m{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;c=[s({attribute:"type",reflect:!0})],e(this,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},p,v),e(null,n={value:i},d,{kind:"class",name:i.name,metadata:t},null,y),i=n.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"normal");get type(){return this.#e}set type(e){this.#e=e}static styles=[a`
2
2
  :host {
3
3
  color: var(--custom-fab-color, --md-sys-color-on-background);
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as o}from"./tslib.es6-B87RQr7F.js";import{r as s,i as e,x as a}from"./dark-mode-BhSl3mXB.js";import{e as c}from"./custom-element-B_TPyPQO.js";import{CustomButton as r}from"./button.js";import"./icon.js";import"./elevation.js";import"./button.css.js";let n=(()=>{let n,i,l,m=[c("custom-icon-button")],u=[],d=r,y=[],p=[];return class extends d{static{i=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;l=[s({type:String})],t(this,null,l,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,o)=>{t.icon=o}},metadata:o},y,p),t(null,n={value:i},m,{kind:"class",name:i.name,metadata:o},null,u),i=n.value,o&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}#t=o(this,y,void 0);get icon(){return this.#t}set icon(t){this.#t=t}static styles=[...r.styles,e`
1
+ import{_ as t,a as o}from"./tslib.es6-B87RQr7F.js";import{r as s,i as e,x as a}from"./dark-mode-m29sAj4H.js";import{e as c}from"./custom-element-B_TPyPQO.js";import{CustomButton as r}from"./button.js";import"./icon.js";import"./elevation.js";import"./button.css.js";let n=(()=>{let n,i,l,m=[c("custom-icon-button")],u=[],d=r,y=[],p=[];return class extends d{static{i=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;l=[s({type:String})],t(this,null,l,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,o)=>{t.icon=o}},metadata:o},y,p),t(null,n={value:i},m,{kind:"class",name:i.name,metadata:o},null,u),i=n.value,o&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}#t=o(this,y,void 0);get icon(){return this.#t}set icon(t){this.#t=t}static styles=[...r.styles,e`
2
2
  :host {
3
3
  --custom-button-border-radius: var(--md-sys-shape-corner-medium);
4
4
  width: 40px;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{L as s,s as a,i as o}from"./dark-mode-BhSl3mXB.js";import{e as n}from"./custom-element-B_TPyPQO.js";globalThis.pubsub=globalThis.pubsub||new s(!0);let l=(()=>{let s,l,c=[n("custom-icon-set")],i=[],m=a;return class extends m{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,s={value:l},c,{kind:"class",name:l.name,metadata:t},null,i),l=s.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[o`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{L as s,s as a,i as o}from"./dark-mode-m29sAj4H.js";import{e as n}from"./custom-element-B_TPyPQO.js";globalThis.pubsub=globalThis.pubsub||new s(!0);let l=(()=>{let s,l,c=[n("custom-icon-set")],i=[],m=a;return class extends m{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,s={value:l},c,{kind:"class",name:l.name,metadata:t},null,i),l=s.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[o`
2
2
  :host {
3
3
  display: none;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as s,a as t}from"./tslib.es6-B87RQr7F.js";import{L as e,s as o,r as i,i as a,x as c}from"./dark-mode-BhSl3mXB.js";import{e as n}from"./custom-element-B_TPyPQO.js";globalThis.pubsub=globalThis.pubsub||new e(!0);let r=(()=>{let e,r,h,m,l,u,_=[n("custom-icon")],g=[],d=o,b=[],p=[],v=[],f=[],N=[],y=[],k=[],j=[];return class extends d{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;h=[i()],m=[i({type:String})],l=[i()],u=[i()],s(this,null,h,{kind:"accessor",name:"host",static:!1,private:!1,access:{has:s=>"host"in s,get:s=>s.host,set:(s,t)=>{s.host=t}},metadata:t},b,p),s(this,null,m,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:s=>"icon"in s,get:s=>s.icon,set:(s,t)=>{s.icon=t}},metadata:t},v,f),s(this,null,l,{kind:"accessor",name:"setName",static:!1,private:!1,access:{has:s=>"setName"in s,get:s=>s.setName,set:(s,t)=>{s.setName=t}},metadata:t},N,y),s(this,null,u,{kind:"accessor",name:"_icon",static:!1,private:!1,access:{has:s=>"_icon"in s,get:s=>s._icon,set:(s,t)=>{s._icon=t}},metadata:t},k,j),s(null,e={value:r},_,{kind:"class",name:r.name,metadata:t},null,g),r=e.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#s=t(this,b,void 0);get host(){return this.#s}set host(s){this.#s=s}#t=(t(this,p),t(this,v,void 0));get icon(){return this.#t}set icon(s){this.#t=s}#e=(t(this,f),t(this,N,void 0));get setName(){return this.#e}set setName(s){this.#e=s}#o=(t(this,y),t(this,k,void 0));get _icon(){return this.#o}set _icon(s){this.#o=s}onChange(s,t){"setName"===s&&(this.host=globalThis.pubsub.subscribers[`custom-icon-set-${t}-connected`]?.value,this.host||globalThis.pubsub.subscribe(`custom-icon-set-${t}-connected`,(s=>{s&&(this.host=s)}))),"icon"!==s&&"host"!==s||this.host&&this.icon&&(this._icon=this.host.getIcon(this.icon))}static styles=[a`
1
+ import{_ as s,a as t}from"./tslib.es6-B87RQr7F.js";import{L as e,s as o,r as i,i as a,x as c}from"./dark-mode-m29sAj4H.js";import{e as n}from"./custom-element-B_TPyPQO.js";globalThis.pubsub=globalThis.pubsub||new e(!0);let r=(()=>{let e,r,h,m,l,u,_=[n("custom-icon")],g=[],d=o,b=[],p=[],v=[],f=[],N=[],y=[],k=[],j=[];return class extends d{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;h=[i()],m=[i({type:String})],l=[i()],u=[i()],s(this,null,h,{kind:"accessor",name:"host",static:!1,private:!1,access:{has:s=>"host"in s,get:s=>s.host,set:(s,t)=>{s.host=t}},metadata:t},b,p),s(this,null,m,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:s=>"icon"in s,get:s=>s.icon,set:(s,t)=>{s.icon=t}},metadata:t},v,f),s(this,null,l,{kind:"accessor",name:"setName",static:!1,private:!1,access:{has:s=>"setName"in s,get:s=>s.setName,set:(s,t)=>{s.setName=t}},metadata:t},N,y),s(this,null,u,{kind:"accessor",name:"_icon",static:!1,private:!1,access:{has:s=>"_icon"in s,get:s=>s._icon,set:(s,t)=>{s._icon=t}},metadata:t},k,j),s(null,e={value:r},_,{kind:"class",name:r.name,metadata:t},null,g),r=e.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#s=t(this,b,void 0);get host(){return this.#s}set host(s){this.#s=s}#t=(t(this,p),t(this,v,void 0));get icon(){return this.#t}set icon(s){this.#t=s}#e=(t(this,f),t(this,N,void 0));get setName(){return this.#e}set setName(s){this.#e=s}#o=(t(this,y),t(this,k,void 0));get _icon(){return this.#o}set _icon(s){this.#o=s}onChange(s,t){"setName"===s&&(this.host=globalThis.pubsub.subscribers[`custom-icon-set-${t}-connected`]?.value,this.host||globalThis.pubsub.subscribe(`custom-icon-set-${t}-connected`,(s=>{s&&(this.host=s)}))),"icon"!==s&&"host"!==s||this.host&&this.icon&&(this._icon=this.host.getIcon(this.icon))}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  height: var(--custom-icon-size, 24px);
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as m}from"./dark-mode-BhSl3mXB.js";import{e as s}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,o,r=[s("custom-time-picker-input")],n=[],c=a;return class extends c{static{o=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;t(null,i={value:o},r,{kind:"class",name:o.name,metadata:e},null,n),o=i.value,e&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as m}from"./dark-mode-m29sAj4H.js";import{e as s}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,o,r=[s("custom-time-picker-input")],n=[],c=a;return class extends c{static{o=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;t(null,i={value:o},r,{kind:"class",name:o.name,metadata:e},null,n),o=i.value,e&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as n,x as r}from"./dark-mode-BhSl3mXB.js";import{t as o}from"./query-DCTzLeFk.js";import{e as i}from"./custom-element-B_TPyPQO.js";const c=t=>function(e,{kind:s,name:a,access:n,addInitializer:r}){let o;return"accessor"!==s&&r((function(){console.warn(`${this.localName}: @assignedElementsfalse ${String(a)} ${s} is not supported`)})),o=()=>document.querySelector(`slot[name="${t}"]`),{get:()=>o().assignedElements()}};let l=(()=>{let l,h,d,p,m,g,u,S,_=[i("custom-list-item")],v=[],y=s,f=[],b=[],x=[],E=[],k=[],I=[],j=[],w=[],$=[],B=[],C=[],q=[];return class extends y{static{h=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;d=[a({type:String,reflect:!0})],p=[a({type:Boolean,reflect:!0})],m=[a({type:Boolean,reflect:!0,attribute:"has-start"})],g=[a({type:Boolean,reflect:!0,attribute:"non-interactive"})],u=[c("start")],S=[o('slot[name="start"]')],t(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},f,b),t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},x,E),t(this,null,m,{kind:"accessor",name:"hasStart",static:!1,private:!1,access:{has:t=>"hasStart"in t,get:t=>t.hasStart,set:(t,e)=>{t.hasStart=e}},metadata:e},k,I),t(this,null,g,{kind:"accessor",name:"nonInteractive",static:!1,private:!1,access:{has:t=>"nonInteractive"in t,get:t=>t.nonInteractive,set:(t,e)=>{t.nonInteractive=e}},metadata:e},j,w),t(this,null,u,{kind:"accessor",name:"assignedStartElements",static:!1,private:!1,access:{has:t=>"assignedStartElements"in t,get:t=>t.assignedStartElements,set:(t,e)=>{t.assignedStartElements=e}},metadata:e},$,B),t(this,null,S,{kind:"accessor",name:"startSlot",static:!1,private:!1,access:{has:t=>"startSlot"in t,get:t=>t.startSlot,set:(t,e)=>{t.startSlot=e}},metadata:e},C,q),t(null,l={value:h},_,{kind:"class",name:h.name,metadata:e},null,v),h=l.value,e&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,f,"one-line");get type(){return this.#t}set type(t){this.#t=t}#e=(e(this,b),e(this,x,void 0));get open(){return this.#e}set open(t){this.#e=t}#s=(e(this,E),e(this,k,void 0));get hasStart(){return this.#s}set hasStart(t){this.#s=t}#a=(e(this,I),e(this,j,void 0));get nonInteractive(){return this.#a}set nonInteractive(t){this.#a=t}#n=(e(this,w),e(this,$,void 0));get assignedStartElements(){return this.#n}set assignedStartElements(t){this.#n=t}#r=(e(this,B),e(this,C,void 0));get startSlot(){return this.#r}set startSlot(t){this.#r=t}#o=(e(this,q),()=>{this.hasStart=!0});connectedCallback(){this.startSlot.addEventListener("slotchange",this.#o)}static styles=[n`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as n,x as r}from"./dark-mode-m29sAj4H.js";import{t as o}from"./query-DCTzLeFk.js";import{e as i}from"./custom-element-B_TPyPQO.js";const c=t=>function(e,{kind:s,name:a,access:n,addInitializer:r}){let o;return"accessor"!==s&&r((function(){console.warn(`${this.localName}: @assignedElementsfalse ${String(a)} ${s} is not supported`)})),o=()=>document.querySelector(`slot[name="${t}"]`),{get:()=>o().assignedElements()}};let l=(()=>{let l,h,d,p,m,g,u,S,_=[i("custom-list-item")],v=[],y=s,f=[],b=[],x=[],E=[],k=[],I=[],j=[],w=[],$=[],B=[],C=[],q=[];return class extends y{static{h=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;d=[a({type:String,reflect:!0})],p=[a({type:Boolean,reflect:!0})],m=[a({type:Boolean,reflect:!0,attribute:"has-start"})],g=[a({type:Boolean,reflect:!0,attribute:"non-interactive"})],u=[c("start")],S=[o('slot[name="start"]')],t(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},f,b),t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},x,E),t(this,null,m,{kind:"accessor",name:"hasStart",static:!1,private:!1,access:{has:t=>"hasStart"in t,get:t=>t.hasStart,set:(t,e)=>{t.hasStart=e}},metadata:e},k,I),t(this,null,g,{kind:"accessor",name:"nonInteractive",static:!1,private:!1,access:{has:t=>"nonInteractive"in t,get:t=>t.nonInteractive,set:(t,e)=>{t.nonInteractive=e}},metadata:e},j,w),t(this,null,u,{kind:"accessor",name:"assignedStartElements",static:!1,private:!1,access:{has:t=>"assignedStartElements"in t,get:t=>t.assignedStartElements,set:(t,e)=>{t.assignedStartElements=e}},metadata:e},$,B),t(this,null,S,{kind:"accessor",name:"startSlot",static:!1,private:!1,access:{has:t=>"startSlot"in t,get:t=>t.startSlot,set:(t,e)=>{t.startSlot=e}},metadata:e},C,q),t(null,l={value:h},_,{kind:"class",name:h.name,metadata:e},null,v),h=l.value,e&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,f,"one-line");get type(){return this.#t}set type(t){this.#t=t}#e=(e(this,b),e(this,x,void 0));get open(){return this.#e}set open(t){this.#e=t}#s=(e(this,E),e(this,k,void 0));get hasStart(){return this.#s}set hasStart(t){this.#s=t}#a=(e(this,I),e(this,j,void 0));get nonInteractive(){return this.#a}set nonInteractive(t){this.#a=t}#n=(e(this,w),e(this,$,void 0));get assignedStartElements(){return this.#n}set assignedStartElements(t){this.#n=t}#r=(e(this,B),e(this,C,void 0));get startSlot(){return this.#r}set startSlot(t){this.#r=t}#o=(e(this,q),()=>{this.hasStart=!0});connectedCallback(){this.startSlot.addEventListener("slotchange",this.#o)}static styles=[n`
2
2
  * {
3
3
  pointer-events: none;
4
4
  user-select: none;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,i as l,x as o}from"./dark-mode-BhSl3mXB.js";import{e as c}from"./custom-element-B_TPyPQO.js";import"./dropdown.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,i,a=[c("custom-menu")],n=[],d=s;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,r={value:i},a,{kind:"class",name:i.name,metadata:t},null,n),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}get selector(){return this.shadowRoot.querySelector("custom-selector")}set selected(e){this.selector.selected=e}get selected(){return this.selector.selected}select(e){this.selector.select(e)}#e=({detail:e})=>{this.dispatchEvent(new CustomEvent("selected",{detail:e}))};connectedCallback(){this.selector.addEventListener("selected",this.#e)}disconnectedCallback(){this.selector.removeEventListener("selected",this.#e)}static styles=[l`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,i as l,x as o}from"./dark-mode-m29sAj4H.js";import{e as c}from"./custom-element-B_TPyPQO.js";import"./dropdown.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,i,a=[c("custom-menu")],n=[],d=s;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,r={value:i},a,{kind:"class",name:i.name,metadata:t},null,n),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}get selector(){return this.shadowRoot.querySelector("custom-selector")}set selected(e){this.selector.selected=e}get selected(){return this.selector.selected}select(e){this.selector.select(e)}#e=({detail:e})=>{this.dispatchEvent(new CustomEvent("selected",{detail:e}))};connectedCallback(){this.selector.addEventListener("selected",this.#e)}disconnectedCallback(){this.selector.removeEventListener("selected",this.#e)}static styles=[l`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as s}from"./dark-mode-BhSl3mXB.js";import{e as m}from"./custom-element-B_TPyPQO.js";let o=(()=>{let o,r,i=[m("custom-time-picker-minute-field")],n=[],c=a;return class extends c{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;t(null,o={value:r},i,{kind:"class",name:r.name,metadata:e},null,n),r=o.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as s}from"./dark-mode-m29sAj4H.js";import{e as m}from"./custom-element-B_TPyPQO.js";let o=(()=>{let o,r,i=[m("custom-time-picker-minute-field")],n=[],c=a;return class extends c{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;t(null,o={value:r},i,{kind:"class",name:r.name,metadata:e},null,n),r=o.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as s,t as a,n as i}from"./property-Cz7Tusq9.js";import{i as o,x as r}from"./dark-mode-BhSl3mXB.js";import"./icon.js";import"./column-C6rmmqj-.js";import"./row-ByiB1edM.js";import"./custom-element-B_TPyPQO.js";let c=(()=>{let c,m,l,n,g,p,h=[a("custom-notification")],d=[],u=s,_=[],x=[],b=[],f=[],y=[],v=[],k=[],j=[];return class extends u{static{m=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[i()],n=[i()],g=[i()],p=[i()],e(this,null,l,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,t)=>{e.title=t}},metadata:t},_,x),e(this,null,n,{kind:"accessor",name:"message",static:!1,private:!1,access:{has:e=>"message"in e,get:e=>e.message,set:(e,t)=>{e.message=t}},metadata:t},b,f),e(this,null,g,{kind:"accessor",name:"image",static:!1,private:!1,access:{has:e=>"image"in e,get:e=>e.image,set:(e,t)=>{e.image=t}},metadata:t},y,v),e(this,null,p,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},k,j),e(null,c={value:m},h,{kind:"class",name:m.name,metadata:t},null,d),m=c.value,t&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,_,void 0);get title(){return this.#e}set title(e){this.#e=e}#t=(t(this,x),t(this,b,void 0));get message(){return this.#t}set message(e){this.#t=e}#s=(t(this,f),t(this,y,void 0));get image(){return this.#s}set image(e){this.#s=e}#a=(t(this,v),t(this,k,void 0));get type(){return this.#a}set type(e){this.#a=e}#i=(t(this,j),()=>{this.parentElement.removeChild(this)});static styles=o`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as s,t as a,n as i}from"./property-CMTrOHQk.js";import{i as o,x as r}from"./dark-mode-m29sAj4H.js";import"./icon.js";import"./column-CLFZeRaw.js";import"./row-DZm4UH0H.js";import"./custom-element-B_TPyPQO.js";let c=(()=>{let c,m,l,n,g,p,h=[a("custom-notification")],d=[],u=s,_=[],x=[],b=[],f=[],y=[],v=[],k=[],j=[];return class extends u{static{m=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[i()],n=[i()],g=[i()],p=[i()],e(this,null,l,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:e=>"title"in e,get:e=>e.title,set:(e,t)=>{e.title=t}},metadata:t},_,x),e(this,null,n,{kind:"accessor",name:"message",static:!1,private:!1,access:{has:e=>"message"in e,get:e=>e.message,set:(e,t)=>{e.message=t}},metadata:t},b,f),e(this,null,g,{kind:"accessor",name:"image",static:!1,private:!1,access:{has:e=>"image"in e,get:e=>e.image,set:(e,t)=>{e.image=t}},metadata:t},y,v),e(this,null,p,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},k,j),e(null,c={value:m},h,{kind:"class",name:m.name,metadata:t},null,d),m=c.value,t&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,_,void 0);get title(){return this.#e}set title(e){this.#e=e}#t=(t(this,x),t(this,b,void 0));get message(){return this.#t}set message(e){this.#t=e}#s=(t(this,f),t(this,y,void 0));get image(){return this.#s}set image(e){this.#s=e}#a=(t(this,v),t(this,k,void 0));get type(){return this.#a}set type(e){this.#a=e}#i=(t(this,j),()=>{this.parentElement.removeChild(this)});static styles=o`
2
2
  :host {
3
3
  display: flex;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,r as i,i as s,x as n}from"./dark-mode-BhSl3mXB.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./notification.js";import"./icon.js";import"./pane.js";import"./row-ByiB1edM.js";import"./property-Cz7Tusq9.js";import"./column-C6rmmqj-.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";let r=(()=>{let r,c,l,p=[a("custom-notifications")],m=[],u=o,h=[],d=[];return class extends u{static{c=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[i({type:Boolean,reflect:!0})],t(this,null,l,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},h,d),t(null,r={value:c},p,{kind:"class",name:c.name,metadata:e},null,m),c=r.value,e&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,h,void 0);get open(){return this.#t}set open(t){this.#t=t}get _list(){return this.shadowRoot.querySelector(".list")}createNotification({title:t,message:e,image:o},i=3e3){const s=document.createElement("custom-notification");s.title=t,s.message=e,s.image=o,i&&setTimeout((()=>{this.removeChild(s);const i=document.createElement("custom-notification");i.image=o,i.title=t,i.message=e,this._list.appendChild(i)}),i),this.appendChild(s)}_onclick(){const t=Array.from(this._list.querySelectorAll("custom-notification"));for(const e of t)this._list.removeChild(e);this.open=!1}static styles=[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,r as i,i as s,x as n}from"./dark-mode-m29sAj4H.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./notification.js";import"./icon.js";import"./pane.js";import"./row-DZm4UH0H.js";import"./property-CMTrOHQk.js";import"./column-CLFZeRaw.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";let r=(()=>{let r,c,l,p=[a("custom-notifications")],m=[],u=o,h=[],d=[];return class extends u{static{c=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[i({type:Boolean,reflect:!0})],t(this,null,l,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},h,d),t(null,r={value:c},p,{kind:"class",name:c.name,metadata:e},null,m),c=r.value,e&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,h,void 0);get open(){return this.#t}set open(t){this.#t=t}get _list(){return this.shadowRoot.querySelector(".list")}createNotification({title:t,message:e,image:o},i=3e3){const s=document.createElement("custom-notification");s.title=t,s.message=e,s.image=o,i&&setTimeout((()=>{this.removeChild(s);const i=document.createElement("custom-notification");i.image=o,i.title=t,i.message=e,this._list.appendChild(i)}),i),this.appendChild(s)}_onclick(){const t=Array.from(this._list.querySelectorAll("custom-notification"));for(const e of t)this._list.removeChild(e);this.open=!1}static styles=[s`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{i as e,x as t}from"./dark-mode-BhSl3mXB.js";import{SelectBase as s}from"./select-mixin.js";class CustomPages extends s{async connectedCallback(){super.connectedCallback&&await super.connectedCallback(),this.slotchange=this.slotchange.bind(this),this.shadowRoot.querySelector("slot").addEventListener("slotchange",this.slotchange),this.slotchange(),this.selected=this.defaultSelected}isEvenNumber(e){return Boolean(e%2==0)}slotchange(){let e=0;for(const t of this.slotted.assignedNodes())t&&1===t.nodeType&&(t.style.zIndex=99-e,this.isEvenNumber(e++)?t.classList.add("animate-down"):t.classList.add("animate-up"),this.dispatchEvent(new CustomEvent("child-change",{detail:t})))}static styles=[e`
1
+ import{i as e,x as t}from"./dark-mode-m29sAj4H.js";import{SelectBase as s}from"./select-mixin.js";class CustomPages extends s{async connectedCallback(){super.connectedCallback&&await super.connectedCallback(),this.slotchange=this.slotchange.bind(this),this.shadowRoot.querySelector("slot").addEventListener("slotchange",this.slotchange),this.slotchange(),this.selected=this.defaultSelected}isEvenNumber(e){return Boolean(e%2==0)}slotchange(){let e=0;for(const t of this.slotted.assignedNodes())t&&1===t.nodeType&&(t.style.zIndex=99-e,this.isEvenNumber(e++)?t.classList.add("animate-down"):t.classList.add("animate-up"),this.dispatchEvent(new CustomEvent("child-change",{detail:t})))}static styles=[e`
2
2
  :host {
3
3
  flex: 1;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as s,s as o,r as a,x as i}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./icon-button.js";import"./icon.js";import"./button.js";import"./button.css.js";var n=s`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as s,s as o,r as a,x as i}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./icon-button.js";import"./icon.js";import"./button.js";import"./button.css.js";var n=s`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,r as s,i as a,x as r}from"./dark-mode-BhSl3mXB.js";globalThis.customPrompt=t=>{const e=document.createElement("custom-prompt");return e.promptTitle=t,document.body.appendChild(e),new Promise((t=>{e.addEventListener("close",(({detail:o})=>{e.remove(),t(o)}))}))};let i=(()=>{let i,l=o,c=[],n=[];return class CustomPrompt extends l{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;i=[s({type:String})],t(this,null,i,{kind:"accessor",name:"promptTitle",static:!1,private:!1,access:{has:t=>"promptTitle"in t,get:t=>t.promptTitle,set:(t,e)=>{t.promptTitle=e}},metadata:e},c,n),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,c,"Prompt Title");get promptTitle(){return this.#t}set promptTitle(t){this.#t=t}constructor(t){super(),this.setAttribute("prompt-title",t)}cancel=(e(this,n),()=>this.dispatchEvent(new CustomEvent("close",{detail:void 0})));ok=()=>this.dispatchEvent(new CustomEvent("close",{detail:this.shadowRoot.querySelector("input").value}));static styles=[a`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as o,r as s,i as a,x as r}from"./dark-mode-m29sAj4H.js";globalThis.customPrompt=t=>{const e=document.createElement("custom-prompt");return e.promptTitle=t,document.body.appendChild(e),new Promise((t=>{e.addEventListener("close",(({detail:o})=>{e.remove(),t(o)}))}))};let i=(()=>{let i,l=o,c=[],n=[];return class CustomPrompt extends l{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;i=[s({type:String})],t(this,null,i,{kind:"accessor",name:"promptTitle",static:!1,private:!1,access:{has:t=>"promptTitle"in t,get:t=>t.promptTitle,set:(t,e)=>{t.promptTitle=e}},metadata:e},c,n),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,c,"Prompt Title");get promptTitle(){return this.#t}set promptTitle(t){this.#t=t}constructor(t){super(),this.setAttribute("prompt-title",t)}cancel=(e(this,n),()=>this.dispatchEvent(new CustomEvent("close",{detail:void 0})));ok=()=>this.dispatchEvent(new CustomEvent("close",{detail:this.shadowRoot.querySelector("input").value}));static styles=[a`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -0,0 +1,23 @@
1
+ import{c as t,S as e,B as s,T as r}from"./dark-mode-m29sAj4H.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */const{is:o,defineProperty:n,getOwnPropertyDescriptor:a,getOwnPropertyNames:h,getOwnPropertySymbols:c,getPrototypeOf:d}=Object,l=globalThis,p=l.trustedTypes,u=p?p.emptyScript:"",f=l.reactiveElementPolyfillSupport,E=(t,e)=>t,_={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}},$=(t,e)=>!o(t,e),m={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:$};Symbol.metadata??=Symbol("metadata"),l.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);void 0!==r&&n(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:o}=a(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:r,set(e){const n=r?.call(this);o?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??m}static _$Ei(){if(this.hasOwnProperty(E("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(E("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(E("properties"))){const t=this.properties,e=[...h(t),...c(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const s=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)s.unshift(t(e))}else void 0!==e&&s.push(t(e));return s}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return e(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(void 0!==r&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,r=s._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=s.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:_;this._$Em=r,this[r]=o.fromAttribute(e,t.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const r=this.constructor,o=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??$)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:o},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==o||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===r&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,r=this[e];!0!==t||this._$AL.has(e)||void 0===r||this.C(e,void 0,s,r)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[E("elementProperties")]=new Map,y[E("finalized")]=new Map,f?.({ReactiveElement:y}),(l.reactiveElementVersions??=[]).push("2.1.0");
7
+ /**
8
+ * @license
9
+ * Copyright 2017 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
12
+ const b=globalThis;class i extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=s(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return r}}i._$litElement$=!0,i.finalized=!0,b.litElementHydrateSupport?.({LitElement:i});const g=b.litElementPolyfillSupport;g?.({LitElement:i}),(b.litElementVersions??=[]).push("4.2.0");
13
+ /**
14
+ * @license
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
18
+ const P=t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)}
19
+ /**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */,v={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:$},w=(t=v,e,s)=>{const{kind:r,metadata:o}=s;let n=globalThis.litPropertyMetadata.get(o);if(void 0===n&&globalThis.litPropertyMetadata.set(o,n=new Map),"setter"===r&&((t=Object.create(t)).wrapped=!0),n.set(s.name,t),"accessor"===r){const{name:r}=s;return{set(s){const o=e.get.call(this);e.set.call(this,s),this.requestUpdate(r,o,t)},init(e){return void 0!==e&&this.C(r,void 0,t,e),e}}}if("setter"===r){const{name:r}=s;return function(s){const o=this[r];e.call(this,s),this.requestUpdate(r,o,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(e,s)=>"object"==typeof s?w(t,e,s):((t,e,s)=>{const r=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),r?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}export{i,U as n,P as t};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as o,x as a}from"./dark-mode-BhSl3mXB.js";import{e as i}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";import"./icon.js";let l=(()=>{let l,r,n,c,m,p,h=[i("custom-rail")],d=[],y=s,g=[],u=[],b=[],f=[],_=[],v=[],x=[],j=[];return class extends y{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;n=[o({type:Boolean,reflect:!0})],c=[o({type:Boolean,reflect:!0})],m=[o({type:String,reflect:!0})],p=[o({type:Boolean})],t(this,null,n,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},g,u),t(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:s},b,f),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:s},_,v),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:s},x,j),t(null,l={value:r},h,{kind:"class",name:r.name,metadata:s},null,d),r=l.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(r,d)}#t=e(this,g,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,u),e(this,b,!1));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,f),e(this,_,void 0));get type(){return this.#s}set type(t){this.#s=t}#o=(e(this,v),e(this,x,!1));get right(){return this.#o}set right(t){this.#o=t}render(){return a`<style>
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as o,x as a}from"./dark-mode-m29sAj4H.js";import{e as i}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";import"./icon.js";let l=(()=>{let l,r,n,c,m,p,h=[i("custom-rail")],d=[],y=s,g=[],u=[],b=[],f=[],_=[],v=[],x=[],j=[];return class extends y{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;n=[o({type:Boolean,reflect:!0})],c=[o({type:Boolean,reflect:!0})],m=[o({type:String,reflect:!0})],p=[o({type:Boolean})],t(this,null,n,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},g,u),t(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:s},b,f),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:s},_,v),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:s},x,j),t(null,l={value:r},h,{kind:"class",name:r.name,metadata:s},null,d),r=l.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(r,d)}#t=e(this,g,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,u),e(this,b,!1));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,f),e(this,_,void 0));get type(){return this.#s}set type(t){this.#s=t}#o=(e(this,v),e(this,x,!1));get right(){return this.#o}set right(t){this.#o=t}render(){return a`<style>
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as s,x as o}from"./dark-mode-BhSl3mXB.js";import{e as m}from"./custom-element-B_TPyPQO.js";import"./theme.js";let l=(()=>{let l,r,n=[m("custom-root")],c=[],i=a;return class extends i{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,l={value:r},n,{kind:"class",name:r.name,metadata:e},null,c),r=l.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as s,x as o}from"./dark-mode-m29sAj4H.js";import{e as m}from"./custom-element-B_TPyPQO.js";import"./theme.js";let l=(()=>{let l,r,n=[m("custom-root")],c=[],i=a;return class extends i{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,l={value:r},n,{kind:"class",name:r.name,metadata:e},null,c),r=l.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[s`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{s as t,r as e,x as s}from"./dark-mode-BhSl3mXB.js";var i=function(t,e,s,i,a,n){function r(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var c,o=i.kind,d="getter"===o?"get":"setter"===o?"set":"value",h=!e&&t?i.static?t:t.prototype:null,g=e||(h?Object.getOwnPropertyDescriptor(h,i.name):{}),l=!1,m=s.length-1;m>=0;m--){var u={};for(var p in i)u[p]="access"===p?{}:i[p];for(var p in i.access)u.access[p]=i.access[p];u.addInitializer=function(t){if(l)throw new TypeError("Cannot add initializers after decoration has completed");n.push(r(t||null))};var _=(0,s[m])("accessor"===o?{get:g.get,set:g.set}:g[d],u);if("accessor"===o){if(void 0===_)continue;if(null===_||"object"!=typeof _)throw new TypeError("Object expected");(c=r(_.get))&&(g.get=c),(c=r(_.set))&&(g.set=c),(c=r(_.init))&&a.unshift(c)}else(c=r(_))&&("field"===o?a.unshift(c):g[d]=c)}h&&Object.defineProperty(h,i.name,g),l=!0},a=function(t,e,s){for(var i=arguments.length>2,a=0;a<e.length;a++)s=i?e[a].call(t,s):e[a].call(t);return i?s:void 0};let n=(()=>{let n,r,c,o,d,h,g,l,m,u,p=t,_=[],f=[],y=[],x=[],v=[],w=[],b=[],S=[],j=[],C=[],W=[],z=[],k=[],I=[],$=[],O=[],E=[],F=[],P=[],T=[];return class FlexDisplay extends p{static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;n=[e({type:String})],r=[e({type:String})],c=[e({type:String})],o=[e({type:String})],d=[e({type:String,reflect:!0})],h=[e({type:Boolean,reflect:!0})],g=[e({type:Boolean,reflect:!0,attribute:"center-center"})],l=[e({type:String})],m=[e({type:String})],u=[e({type:String})],i(this,null,n,{kind:"accessor",name:"padding",static:!1,private:!1,access:{has:t=>"padding"in t,get:t=>t.padding,set:(t,e)=>{t.padding=e}},metadata:t},_,f),i(this,null,r,{kind:"accessor",name:"minWidth",static:!1,private:!1,access:{has:t=>"minWidth"in t,get:t=>t.minWidth,set:(t,e)=>{t.minWidth=e}},metadata:t},y,x),i(this,null,c,{kind:"accessor",name:"maxWidth",static:!1,private:!1,access:{has:t=>"maxWidth"in t,get:t=>t.maxWidth,set:(t,e)=>{t.maxWidth=e}},metadata:t},v,w),i(this,null,o,{kind:"accessor",name:"width",static:!1,private:!1,access:{has:t=>"width"in t,get:t=>t.width,set:(t,e)=>{t.width=e}},metadata:t},b,S),i(this,null,d,{kind:"accessor",name:"direction",static:!1,private:!1,access:{has:t=>"direction"in t,get:t=>t.direction,set:(t,e)=>{t.direction=e}},metadata:t},j,C),i(this,null,h,{kind:"accessor",name:"center",static:!1,private:!1,access:{has:t=>"center"in t,get:t=>t.center,set:(t,e)=>{t.center=e}},metadata:t},W,z),i(this,null,g,{kind:"accessor",name:"centerCenter",static:!1,private:!1,access:{has:t=>"centerCenter"in t,get:t=>t.centerCenter,set:(t,e)=>{t.centerCenter=e}},metadata:t},k,I),i(this,null,l,{kind:"accessor",name:"justifyContent",static:!1,private:!1,access:{has:t=>"justifyContent"in t,get:t=>t.justifyContent,set:(t,e)=>{t.justifyContent=e}},metadata:t},$,O),i(this,null,m,{kind:"accessor",name:"alignItems",static:!1,private:!1,access:{has:t=>"alignItems"in t,get:t=>t.alignItems,set:(t,e)=>{t.alignItems=e}},metadata:t},E,F),i(this,null,u,{kind:"accessor",name:"boxSizing",static:!1,private:!1,access:{has:t=>"boxSizing"in t,get:t=>t.boxSizing,set:(t,e)=>{t.boxSizing=e}},metadata:t},P,T),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#t=a(this,_,"0");get padding(){return this.#t}set padding(t){this.#t=t}#e=(a(this,f),a(this,y,"auto"));get minWidth(){return this.#e}set minWidth(t){this.#e=t}#s=(a(this,x),a(this,v,"auto"));get maxWidth(){return this.#s}set maxWidth(t){this.#s=t}#i=(a(this,w),a(this,b,"100%"));get width(){return this.#i}set width(t){this.#i=t}#a=(a(this,S),a(this,j,"row"));get direction(){return this.#a}set direction(t){this.#a=t}#n=(a(this,C),a(this,W,void 0));get center(){return this.#n}set center(t){this.#n=t}#r=(a(this,z),a(this,k,void 0));get centerCenter(){return this.#r}set centerCenter(t){this.#r=t}#c=(a(this,I),a(this,$,"flex-start"));get justifyContent(){return this.#c}set justifyContent(t){this.#c=t}#o=(a(this,O),a(this,E,"flex-start"));get alignItems(){return this.#o}set alignItems(t){this.#o=t}#d=(a(this,F),a(this,P,"border-box"));get boxSizing(){return this.#d}set boxSizing(t){this.#d=t}render(){return s`
1
+ import{s as t,r as e,x as s}from"./dark-mode-m29sAj4H.js";var i=function(t,e,s,i,a,n){function r(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var c,o=i.kind,d="getter"===o?"get":"setter"===o?"set":"value",h=!e&&t?i.static?t:t.prototype:null,g=e||(h?Object.getOwnPropertyDescriptor(h,i.name):{}),l=!1,m=s.length-1;m>=0;m--){var u={};for(var p in i)u[p]="access"===p?{}:i[p];for(var p in i.access)u.access[p]=i.access[p];u.addInitializer=function(t){if(l)throw new TypeError("Cannot add initializers after decoration has completed");n.push(r(t||null))};var _=(0,s[m])("accessor"===o?{get:g.get,set:g.set}:g[d],u);if("accessor"===o){if(void 0===_)continue;if(null===_||"object"!=typeof _)throw new TypeError("Object expected");(c=r(_.get))&&(g.get=c),(c=r(_.set))&&(g.set=c),(c=r(_.init))&&a.unshift(c)}else(c=r(_))&&("field"===o?a.unshift(c):g[d]=c)}h&&Object.defineProperty(h,i.name,g),l=!0},a=function(t,e,s){for(var i=arguments.length>2,a=0;a<e.length;a++)s=i?e[a].call(t,s):e[a].call(t);return i?s:void 0};let n=(()=>{let n,r,c,o,d,h,g,l,m,u,p=t,_=[],f=[],y=[],x=[],v=[],w=[],b=[],S=[],j=[],C=[],W=[],z=[],k=[],I=[],$=[],O=[],E=[],F=[],P=[],T=[];return class FlexDisplay extends p{static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;n=[e({type:String})],r=[e({type:String})],c=[e({type:String})],o=[e({type:String})],d=[e({type:String,reflect:!0})],h=[e({type:Boolean,reflect:!0})],g=[e({type:Boolean,reflect:!0,attribute:"center-center"})],l=[e({type:String})],m=[e({type:String})],u=[e({type:String})],i(this,null,n,{kind:"accessor",name:"padding",static:!1,private:!1,access:{has:t=>"padding"in t,get:t=>t.padding,set:(t,e)=>{t.padding=e}},metadata:t},_,f),i(this,null,r,{kind:"accessor",name:"minWidth",static:!1,private:!1,access:{has:t=>"minWidth"in t,get:t=>t.minWidth,set:(t,e)=>{t.minWidth=e}},metadata:t},y,x),i(this,null,c,{kind:"accessor",name:"maxWidth",static:!1,private:!1,access:{has:t=>"maxWidth"in t,get:t=>t.maxWidth,set:(t,e)=>{t.maxWidth=e}},metadata:t},v,w),i(this,null,o,{kind:"accessor",name:"width",static:!1,private:!1,access:{has:t=>"width"in t,get:t=>t.width,set:(t,e)=>{t.width=e}},metadata:t},b,S),i(this,null,d,{kind:"accessor",name:"direction",static:!1,private:!1,access:{has:t=>"direction"in t,get:t=>t.direction,set:(t,e)=>{t.direction=e}},metadata:t},j,C),i(this,null,h,{kind:"accessor",name:"center",static:!1,private:!1,access:{has:t=>"center"in t,get:t=>t.center,set:(t,e)=>{t.center=e}},metadata:t},W,z),i(this,null,g,{kind:"accessor",name:"centerCenter",static:!1,private:!1,access:{has:t=>"centerCenter"in t,get:t=>t.centerCenter,set:(t,e)=>{t.centerCenter=e}},metadata:t},k,I),i(this,null,l,{kind:"accessor",name:"justifyContent",static:!1,private:!1,access:{has:t=>"justifyContent"in t,get:t=>t.justifyContent,set:(t,e)=>{t.justifyContent=e}},metadata:t},$,O),i(this,null,m,{kind:"accessor",name:"alignItems",static:!1,private:!1,access:{has:t=>"alignItems"in t,get:t=>t.alignItems,set:(t,e)=>{t.alignItems=e}},metadata:t},E,F),i(this,null,u,{kind:"accessor",name:"boxSizing",static:!1,private:!1,access:{has:t=>"boxSizing"in t,get:t=>t.boxSizing,set:(t,e)=>{t.boxSizing=e}},metadata:t},P,T),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#t=a(this,_,"0");get padding(){return this.#t}set padding(t){this.#t=t}#e=(a(this,f),a(this,y,"auto"));get minWidth(){return this.#e}set minWidth(t){this.#e=t}#s=(a(this,x),a(this,v,"auto"));get maxWidth(){return this.#s}set maxWidth(t){this.#s=t}#i=(a(this,w),a(this,b,"100%"));get width(){return this.#i}set width(t){this.#i=t}#a=(a(this,S),a(this,j,"row"));get direction(){return this.#a}set direction(t){this.#a=t}#n=(a(this,C),a(this,W,void 0));get center(){return this.#n}set center(t){this.#n=t}#r=(a(this,z),a(this,k,void 0));get centerCenter(){return this.#r}set centerCenter(t){this.#r=t}#c=(a(this,I),a(this,$,"flex-start"));get justifyContent(){return this.#c}set justifyContent(t){this.#c=t}#o=(a(this,O),a(this,E,"flex-start"));get alignItems(){return this.#o}set alignItems(t){this.#o=t}#d=(a(this,F),a(this,P,"border-box"));get boxSizing(){return this.#d}set boxSizing(t){this.#d=t}render(){return s`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as a}from"./dark-mode-BhSl3mXB.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./section2.js";import"./code.js";import"./scroll-mixin.js";import"./elevation.js";let c=(()=>{let c,n,r=[l("demo-section")],i=[],m=o;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,c={value:n},r,{kind:"class",name:n.name,metadata:t},null,i),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}async connectedCallback(){const e=this.shadowRoot.querySelector("slot").assignedElements();for(const o of e){const e=document.createElement("demo-code");e.code=await(t=o.outerHTML,t.replace(/(\ <\/(?=[^<\/]*$))/g,"<")),o.after(e)}var t}static styles=[s`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s as o,i as s,x as a}from"./dark-mode-m29sAj4H.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./section2.js";import"./code.js";import"./scroll-mixin.js";import"./elevation.js";let c=(()=>{let c,n,r=[l("demo-section")],i=[],m=o;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,c={value:n},r,{kind:"class",name:n.name,metadata:t},null,i),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}async connectedCallback(){const e=this.shadowRoot.querySelector("slot").assignedElements();for(const o of e){const e=document.createElement("demo-code");e.code=await(t=o.outerHTML,t.replace(/(\ <\/(?=[^<\/]*$))/g,"<")),o.after(e)}var t}static styles=[s`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o,s as l}from"./dark-mode-BhSl3mXB.js";import{e as n}from"./custom-element-B_TPyPQO.js";import{ScrollMixin as s}from"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,i,m=[n("custom-section")],c=[],u=s(l);return class extends u{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,r={value:i},m,{kind:"class",name:i.name,metadata:t},null,c),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o,s as l}from"./dark-mode-m29sAj4H.js";import{e as n}from"./custom-element-B_TPyPQO.js";import{ScrollMixin as s}from"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,i,m=[n("custom-section")],c=[],u=s(l);return class extends u{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,r={value:i},m,{kind:"class",name:i.name,metadata:t},null,c),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{s as e}from"./dark-mode-BhSl3mXB.js";class SelectBase extends e{#e;currentSelected;beforeRender(){this.selected=this.defaultSelected}get multi(){return this.hasAttribute("multi")}set multi(e){e?this.setAttribute("multi",""):this.removeAttribute("multi")}get defaultSelected(){return this.getAttribute("default-selected")||0}set selected(e){this.#e=e,this.#t()}get selected(){return this.#e}get slotted(){return this.shadowRoot?this.shadowRoot.querySelector("slot"):this}get#s(){const e="assignedNodes"in this.slotted?this.slotted.assignedNodes():this.children,t=[];for(var s=0;s<e.length;s++){const d=e[s];1===d.nodeType&&t.push(d)}return t}get attrForSelected(){return this.getAttribute("attr-for-selected")||"name"}set attrForSelected(e){this.setAttribute("attr-for-selected",e)}attributeChangedCallback(e,t,s){t!==s&&(isNaN(s)||(s=Number(s)),this[e]=s)}select(e){e&&(this.selected=e),this.multi&&this.#t()}next(){const e=this.getIndexFor(this.currentSelected);-1!==e&&e>=0&&this.#s.length>e&&e+1<=this.#s.length-1&&(this.selected=this.#s[e+1])}previous(){const e=this.getIndexFor(this.currentSelected);-1!==e&&e>=0&&this.#s.length>e&&e-1>=0&&(this.selected=this.#s[e-1])}getIndexFor(e){return this.#s.indexOf(e||this.selected)}#d(e,t){e.classList.add("custom-selected"),t&&t!==e&&t.classList.remove("custom-selected"),this.currentSelected=e}#i(e){for(const t of this.#s)e.includes(t.getAttribute(this.attrForSelected))?t.classList.add("custom-selected"):t.classList.remove("custom-selected")}#r(e){for(const t of this.#s)if(t.getAttribute(this.attrForSelected)===e)return this.#d(t,this.currentSelected)}#t(){if(void 0===this.selected)return void(this.currentSelected&&this.currentSelected.classList.remove("custom-selected"));const e=typeof this.selected;if(Array.isArray(this.selected))return this.#i(this.selected);if("object"===e)return this.#d(this.selected,this.currentSelected);if("string"===e)return this.#r(this.selected);const t=this.#s[this.selected];t&&this.#d(t,this.currentSelected)}}function t(e){return SelectBase}export{SelectBase,t as SelectMixin};
1
+ import{s as e}from"./dark-mode-m29sAj4H.js";class SelectBase extends e{#e;currentSelected;firstRender(){super.firstRender?.(),this.selected=this.defaultSelected}get multi(){return this.hasAttribute("multi")}set multi(e){e?this.setAttribute("multi",""):this.removeAttribute("multi")}get defaultSelected(){return this.getAttribute("default-selected")||0}set selected(e){this.#e=e,this.#t()}get selected(){return this.#e}get slotted(){return this.shadowRoot?this.shadowRoot.querySelector("slot"):this}get#s(){const e="assignedNodes"in this.slotted?this.slotted.assignedNodes():this.children,t=[];for(var s=0;s<e.length;s++){const d=e[s];1===d.nodeType&&t.push(d)}return t}get attrForSelected(){return this.getAttribute("attr-for-selected")||"name"}set attrForSelected(e){this.setAttribute("attr-for-selected",e)}attributeChangedCallback(e,t,s){t!==s&&(isNaN(s)||(s=Number(s)),this[e]=s)}select(e){e&&(this.selected=e),this.multi&&this.#t()}next(){const e=this.getIndexFor(this.currentSelected);-1!==e&&e>=0&&this.#s.length>e&&e+1<=this.#s.length-1&&(this.selected=this.#s[e+1])}previous(){const e=this.getIndexFor(this.currentSelected);-1!==e&&e>=0&&this.#s.length>e&&e-1>=0&&(this.selected=this.#s[e-1])}getIndexFor(e){return this.#s.indexOf(e||this.selected)}#d(e,t){e.classList.add("custom-selected"),t&&t!==e&&t.classList.remove("custom-selected"),this.currentSelected=e}#i(e){for(const t of this.#s)e.includes(t.getAttribute(this.attrForSelected))?t.classList.add("custom-selected"):t.classList.remove("custom-selected")}#r(e){for(const t of this.#s)if(t.getAttribute(this.attrForSelected)===e)return this.#d(t,this.currentSelected)}#t(){if(void 0===this.selected)return void(this.currentSelected&&this.currentSelected.classList.remove("custom-selected"));const e=typeof this.selected;if(Array.isArray(this.selected))return this.#i(this.selected);if("object"===e)return this.#d(this.selected,this.currentSelected);if("string"===e)return this.#r(this.selected);const t=this.#s[this.selected];t&&this.#d(t,this.currentSelected)}}function t(e){return SelectBase}export{SelectBase,t as SelectMixin};
@@ -1 +1 @@
1
- import{SelectBase as e}from"./select-mixin.js";import"./dark-mode-BhSl3mXB.js";class SelectorBase extends e{constructor(){super()}firstRender(){super.firstRender?.(),this.slotted.addEventListener("click",this.#e.bind(this))}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.slotted.removeEventListener("click",this.#e.bind(this))}#e(e){const t=e.composedPath()[0];if(t.localName===this.localName)return;const s=t.getAttribute(this.attrForSelected)||t;if(this.multi){const e=Array.isArray(this.selected)?this.selected:[],t=e.indexOf(s);-1===t?e.push(s):e.splice(t,1),this.selected=e}else this.selected=s;this.dispatchEvent(new CustomEvent("selected",{detail:s}))}}function t(e){return SelectorBase}export{SelectorBase,t as SelectorMixin};
1
+ import{SelectBase as e}from"./select-mixin.js";import"./dark-mode-m29sAj4H.js";class SelectorBase extends e{constructor(){super()}firstRender(){super.firstRender?.(),this.slotted.addEventListener("click",this.#e.bind(this))}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.slotted.removeEventListener("click",this.#e.bind(this))}#e(e){const t=e.composedPath()[0];if(t.localName===this.localName)return;const s=t.getAttribute(this.attrForSelected)||t;if(this.multi){const e=Array.isArray(this.selected)?this.selected:[],t=e.indexOf(s);-1===t?e.push(s):e.splice(t,1),this.selected=e}else this.selected=s;this.dispatchEvent(new CustomEvent("selected",{detail:s}))}}function t(e){return SelectorBase}export{SelectorBase,t as SelectorMixin};
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o}from"./dark-mode-BhSl3mXB.js";import{e as l}from"./custom-element-B_TPyPQO.js";import{SelectorBase as s}from"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,n,c=[l("custom-selector")],i=[],m=s;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:n},c,{kind:"class",name:n.name,metadata:t},null,i),n=r.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o}from"./dark-mode-m29sAj4H.js";import{e as l}from"./custom-element-B_TPyPQO.js";import{SelectorBase as s}from"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,n,c=[l("custom-selector")],i=[],m=s;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:n},c,{kind:"class",name:n.name,metadata:t},null,i),n=r.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,x as i}from"./dark-mode-BhSl3mXB.js";import{e as a}from"./custom-element-B_TPyPQO.js";let l=(()=>{let l,o,m=[a("custom-summary-mirror")],r=[],h=s;return class extends h{static{o=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;t(null,l={value:o},m,{kind:"class",name:o.name,metadata:s},null,r),o=l.value,s&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(o,r)}connectedCallback(){const t=window.matchMedia("(min-width: 1200px)");this._matches(t),this._matches=this._matches.bind(this),t.onchange=this._matches}_matches({matches:t}){const e=this.querySelector('[slot="left"]'),s=this.querySelector('[slot="right"]');t?s.hasAttribute("switched")&&(e.removeAttribute("switched"),e.setAttribute("slot","right"),s.setAttribute("slot","left")):(e.setAttribute("switched",""),e.setAttribute("slot","right"),s.setAttribute("slot","left"))}get template(){return i`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,x as i}from"./dark-mode-m29sAj4H.js";import{e as a}from"./custom-element-B_TPyPQO.js";let l=(()=>{let l,o,m=[a("custom-summary-mirror")],r=[],h=s;return class extends h{static{o=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;t(null,l={value:o},m,{kind:"class",name:o.name,metadata:s},null,r),o=l.value,s&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(o,r)}connectedCallback(){const t=window.matchMedia("(min-width: 1200px)");this._matches(t),this._matches=this._matches.bind(this),t.onchange=this._matches}_matches({matches:t}){const e=this.querySelector('[slot="left"]'),s=this.querySelector('[slot="right"]');t?s.hasAttribute("switched")&&(e.removeAttribute("switched"),e.setAttribute("slot","right"),s.setAttribute("slot","left")):(e.setAttribute("switched",""),e.setAttribute("slot","right"),s.setAttribute("slot","left"))}get template(){return i`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as o}from"./dark-mode-BhSl3mXB.js";import{e as s}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,m,n=[s("custom-summary")],d=[],r=a;return class extends r{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(r[Symbol.metadata]??null):void 0;t(null,i={value:m},n,{kind:"class",name:m.name,metadata:e},null,d),m=i.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as l,x as o}from"./dark-mode-m29sAj4H.js";import{e as s}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,m,n=[s("custom-summary")],d=[],r=a;return class extends r{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(r[Symbol.metadata]??null):void 0;t(null,i={value:m},n,{kind:"class",name:m.name,metadata:e},null,d),m=i.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-BhSl3mXB.js";import{t as i}from"./query-DCTzLeFk.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,c,p,l,d,u,h,m=[r("custom-supporting-pane")],g=[],v=s,_=[],f=[],b=[],y=[],j=[],w=[],x=[],k=[],S=[],C=[];return class extends v{static{c=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;p=[a({type:Boolean,reflect:!0})],l=[a({type:String,reflect:!0})],d=[a({type:Boolean,reflect:!0})],u=[a({type:String})],h=[i(".support")],t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},_,f),t(this,null,l,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:t=>"variant"in t,get:t=>t.variant,set:(t,e)=>{t.variant=e}},metadata:s},b,y),t(this,null,d,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:t=>"left"in t,get:t=>t.left,set:(t,e)=>{t.left=e}},metadata:s},j,w),t(this,null,u,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:s},x,k),t(this,null,h,{kind:"accessor",name:"supporting",static:!1,private:!1,access:{has:t=>"supporting"in t,get:t=>t.supporting,set:(t,e)=>{t.supporting=e}},metadata:s},S,C),t(null,n={value:c},m,{kind:"class",name:c.name,metadata:s},null,g),c=n.value,s&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(c,g)}#t=e(this,_,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,f),e(this,b,"expanded"));get variant(){return this.#e}set variant(t){this.#e=t}#s=(e(this,y),e(this,j,!1));get left(){return this.#s}set left(t){this.#s=t}#a=(e(this,w),e(this,x,void 0));get id(){return this.#a}set id(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get supporting(){return this.#o}set supporting(t){this.#o=t}onPaneClose({detail:t}){this.id===t&&(this.open=!1)}connectedCallback(){document.addEventListener("custom-pane-close",this.onPaneClose.bind(this)),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}render(){return o`<style>
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-m29sAj4H.js";import{t as i}from"./query-DCTzLeFk.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./button.css.js";import"./icon.js";let n=(()=>{let n,c,p,l,d,u,h,m=[r("custom-supporting-pane")],g=[],v=s,_=[],f=[],b=[],y=[],j=[],w=[],x=[],k=[],S=[],C=[];return class extends v{static{c=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;p=[a({type:Boolean,reflect:!0})],l=[a({type:String,reflect:!0})],d=[a({type:Boolean,reflect:!0})],u=[a({type:String})],h=[i(".support")],t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},_,f),t(this,null,l,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:t=>"variant"in t,get:t=>t.variant,set:(t,e)=>{t.variant=e}},metadata:s},b,y),t(this,null,d,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:t=>"left"in t,get:t=>t.left,set:(t,e)=>{t.left=e}},metadata:s},j,w),t(this,null,u,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:s},x,k),t(this,null,h,{kind:"accessor",name:"supporting",static:!1,private:!1,access:{has:t=>"supporting"in t,get:t=>t.supporting,set:(t,e)=>{t.supporting=e}},metadata:s},S,C),t(null,n={value:c},m,{kind:"class",name:c.name,metadata:s},null,g),c=n.value,s&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(c,g)}#t=e(this,_,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,f),e(this,b,"expanded"));get variant(){return this.#e}set variant(t){this.#e=t}#s=(e(this,y),e(this,j,!1));get left(){return this.#s}set left(t){this.#s=t}#a=(e(this,w),e(this,x,void 0));get id(){return this.#a}set id(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get supporting(){return this.#o}set supporting(t){this.#o=t}onPaneClose({detail:t}){this.id===t&&(this.open=!1)}connectedCallback(){document.addEventListener("custom-pane-close",this.onPaneClose.bind(this)),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}render(){return o`<style>
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,x as o}from"./dark-mode-BhSl3mXB.js";import{e as n}from"./custom-element-B_TPyPQO.js";let s=(()=>{let s,r,l=[n("custom-tab")],i=[],m=a;return class extends m{static{r=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,s={value:r},l,{kind:"class",name:r.name,metadata:a},null,i),r=s.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(r,i)}render(){return o`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,x as o}from"./dark-mode-m29sAj4H.js";import{e as n}from"./custom-element-B_TPyPQO.js";let s=(()=>{let s,r,l=[n("custom-tab")],i=[],m=a;return class extends m{static{r=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,s={value:r},l,{kind:"class",name:r.name,metadata:a},null,i),r=s.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(r,i)}render(){return o`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as r,a as o}from"./tslib.es6-B87RQr7F.js";import{x as t}from"./dark-mode-BhSl3mXB.js";import{e}from"./custom-element-B_TPyPQO.js";import{SelectorBase as a}from"./selector-mixin.js";import"./tab.js";import"./select-mixin.js";let s=(()=>{let s,l,c=[e("custom-tabs")],d=[],m=a;return class extends m{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;r(null,s={value:l},c,{kind:"class",name:l.name,metadata:t},null,d),l=s.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),o(l,d)}render(){return t`
1
+ import{_ as r,a as o}from"./tslib.es6-B87RQr7F.js";import{x as t}from"./dark-mode-m29sAj4H.js";import{e}from"./custom-element-B_TPyPQO.js";import{SelectorBase as a}from"./selector-mixin.js";import"./tab.js";import"./select-mixin.js";let s=(()=>{let s,l,c=[e("custom-tabs")],d=[],m=a;return class extends m{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;r(null,s={value:l},c,{kind:"class",name:l.name,metadata:t},null,d),l=s.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),o(l,d)}render(){return t`
2
2
  <style>
3
3
  :host {
4
4
  --custom-tabs-background: var(---md-sys-color-surface);
@@ -1,4 +1,4 @@
1
- import{_ as a,a as t}from"./tslib.es6-B87RQr7F.js";import{s as e,r as n,i as s,x as i}from"./dark-mode-BhSl3mXB.js";import{t as o}from"./query-DCTzLeFk.js";import{e as l}from"./custom-element-B_TPyPQO.js";let c=(()=>{let c,r,g,h,d,I,m=[l("text-field")],S=[],_=e,u=[],b=[],p=[],v=[],L=[],f=[],y=[],T=[];return class extends _{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(_[Symbol.metadata]??null):void 0;g=[o('slot[name="leading-icon"]')],h=[o('slot[name="trailing-icon"]')],d=[n({type:Boolean,reflect:!0,attribute:"has-leading-icon"})],I=[n({type:Boolean,reflect:!0,attribute:"has-trailing-icon"})],a(this,null,g,{kind:"accessor",name:"leadingIconSlot",static:!1,private:!1,access:{has:a=>"leadingIconSlot"in a,get:a=>a.leadingIconSlot,set:(a,t)=>{a.leadingIconSlot=t}},metadata:t},u,b),a(this,null,h,{kind:"accessor",name:"trailingIconSlot",static:!1,private:!1,access:{has:a=>"trailingIconSlot"in a,get:a=>a.trailingIconSlot,set:(a,t)=>{a.trailingIconSlot=t}},metadata:t},p,v),a(this,null,d,{kind:"accessor",name:"hasLeadingIcon",static:!1,private:!1,access:{has:a=>"hasLeadingIcon"in a,get:a=>a.hasLeadingIcon,set:(a,t)=>{a.hasLeadingIcon=t}},metadata:t},L,f),a(this,null,I,{kind:"accessor",name:"hasTrailingIcon",static:!1,private:!1,access:{has:a=>"hasTrailingIcon"in a,get:a=>a.hasTrailingIcon,set:(a,t)=>{a.hasTrailingIcon=t}},metadata:t},y,T),a(null,c={value:r},m,{kind:"class",name:r.name,metadata:t},null,S),r=c.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#a=t(this,u,void 0);get leadingIconSlot(){return this.#a}set leadingIconSlot(a){this.#a=a}#t=(t(this,b),t(this,p,void 0));get trailingIconSlot(){return this.#t}set trailingIconSlot(a){this.#t=a}#e=(t(this,v),t(this,L,void 0));get hasLeadingIcon(){return this.#e}set hasLeadingIcon(a){this.#e=a}#n=(t(this,f),t(this,y,void 0));get hasTrailingIcon(){return this.#n}set hasTrailingIcon(a){this.#n=a}#s=(t(this,T),()=>{this.leadingIconSlot.assignedElements.length>0?this.hasLeadingIcon=!0:this.hasLeadingIcon=!1});#i=()=>{this.trailingIconSlot.assignedElements.length>0?this.hasTrailingIcon=!0:this.hasTrailingIcon=!1};connectedCallback(){this.leadingIconSlot.addEventListener("slotchange",this.#s),this.trailingIconSlot.addEventListener("slotchange",this.#i)}static styles=[s`
1
+ import{_ as a,a as t}from"./tslib.es6-B87RQr7F.js";import{s as e,r as n,i as s,x as i}from"./dark-mode-m29sAj4H.js";import{t as o}from"./query-DCTzLeFk.js";import{e as l}from"./custom-element-B_TPyPQO.js";let c=(()=>{let c,r,g,h,d,I,m=[l("text-field")],S=[],_=e,u=[],b=[],p=[],v=[],L=[],f=[],y=[],T=[];return class extends _{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(_[Symbol.metadata]??null):void 0;g=[o('slot[name="leading-icon"]')],h=[o('slot[name="trailing-icon"]')],d=[n({type:Boolean,reflect:!0,attribute:"has-leading-icon"})],I=[n({type:Boolean,reflect:!0,attribute:"has-trailing-icon"})],a(this,null,g,{kind:"accessor",name:"leadingIconSlot",static:!1,private:!1,access:{has:a=>"leadingIconSlot"in a,get:a=>a.leadingIconSlot,set:(a,t)=>{a.leadingIconSlot=t}},metadata:t},u,b),a(this,null,h,{kind:"accessor",name:"trailingIconSlot",static:!1,private:!1,access:{has:a=>"trailingIconSlot"in a,get:a=>a.trailingIconSlot,set:(a,t)=>{a.trailingIconSlot=t}},metadata:t},p,v),a(this,null,d,{kind:"accessor",name:"hasLeadingIcon",static:!1,private:!1,access:{has:a=>"hasLeadingIcon"in a,get:a=>a.hasLeadingIcon,set:(a,t)=>{a.hasLeadingIcon=t}},metadata:t},L,f),a(this,null,I,{kind:"accessor",name:"hasTrailingIcon",static:!1,private:!1,access:{has:a=>"hasTrailingIcon"in a,get:a=>a.hasTrailingIcon,set:(a,t)=>{a.hasTrailingIcon=t}},metadata:t},y,T),a(null,c={value:r},m,{kind:"class",name:r.name,metadata:t},null,S),r=c.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#a=t(this,u,void 0);get leadingIconSlot(){return this.#a}set leadingIconSlot(a){this.#a=a}#t=(t(this,b),t(this,p,void 0));get trailingIconSlot(){return this.#t}set trailingIconSlot(a){this.#t=a}#e=(t(this,v),t(this,L,void 0));get hasLeadingIcon(){return this.#e}set hasLeadingIcon(a){this.#e=a}#n=(t(this,f),t(this,y,void 0));get hasTrailingIcon(){return this.#n}set hasTrailingIcon(a){this.#n=a}#s=(t(this,T),()=>{this.leadingIconSlot.assignedElements.length>0?this.hasLeadingIcon=!0:this.hasLeadingIcon=!1});#i=()=>{this.trailingIconSlot.assignedElements.length>0?this.hasTrailingIcon=!0:this.hasTrailingIcon=!1};connectedCallback(){this.leadingIconSlot.addEventListener("slotchange",this.#s),this.trailingIconSlot.addEventListener("slotchange",this.#i)}static styles=[s`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1 +1 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a}from"./dark-mode-BhSl3mXB.js";import{e as o}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,r,n,l,c,m,d=[o("custom-theme")],g=[],h=s,u=[],b=[],y=[],p=[],f=[],_=[],w=[],k=[];return class extends h{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;n=[a({type:Boolean,attribute:"load-font"})],l=[a({type:Boolean,attribute:"load-symbols"})],c=[a({type:String,attribute:"mobile-trigger"})],m=[a({type:Boolean})],e(this,null,n,{kind:"accessor",name:"loadFont",static:!1,private:!1,access:{has:e=>"loadFont"in e,get:e=>e.loadFont,set:(e,t)=>{e.loadFont=t}},metadata:s},u,b),e(this,null,l,{kind:"accessor",name:"loadSymbols",static:!1,private:!1,access:{has:e=>"loadSymbols"in e,get:e=>e.loadSymbols,set:(e,t)=>{e.loadSymbols=t}},metadata:s},y,p),e(this,null,c,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:s},f,_),e(this,null,m,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:s},w,k),e(null,i={value:r},d,{kind:"class",name:r.name,metadata:s},null,g),r=i.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),t(r,g)}#e;#t=t(this,u,!0);get loadFont(){return this.#t}set loadFont(e){this.#t=e}#s=(t(this,b),t(this,y,!0));get loadSymbols(){return this.#s}set loadSymbols(e){this.#s=e}#a=(t(this,p),t(this,f,"(max-width: 860px)"));get mobileTrigger(){return this.#a}set mobileTrigger(e){this.#a=e}#o=(t(this,_),t(this,w,void 0));get narrow(){return this.#o}set narrow(e){this.#o=e}#i(e,t,s){let a=document.createElement("link");if(a.rel=t,a.href=e,s)for(const e of s)a.setAttribute(e,"");document.head.appendChild(a)}#r(){let e="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0&display=swap";return globalThis.symbols&&(e+=`&text=${globalThis.symbols}`),e}onChange(e,t){"mobileTrigger"===e&&this.#n()}#n(){this.#e=matchMedia(this.mobileTrigger),this.#e.onchange=this.#l,this.#l({matches:this.#e.matches})}connectedCallback(){this.load("./themes/default/theme.css");const e=document.createElement("style");e.innerHTML="\n html, body {\n inset: 0;\n position: absolute;\n margin: 0;\n background: var(--md-sys-color-background);\n color: var(--md-sys-color-on-background);\n overflow: hidden;\n }",document.head.appendChild(e),(this.loadFont||this.loadSymbols)&&this.#i("https://fonts.googleapis.com","preconnect"),this.#i("https://fonts.gstatic.com","preconnect",["crossorigin"]),this.loadFont&&this.#i("https://fonts.googleapis.com/css2?family=Roboto&display=swap","stylesheet"),this.loadSymbols&&this.#i(this.#r(),"stylesheet")}#l({matches:e}){this.narrow=e,document.dispatchEvent(new CustomEvent("custom-theme-narrow",{detail:this.narrow}))}set language(e){this.setAttribute("language",e)}get language(){return this.getAttribute("language")||"css"}async load(e){if("js"===this.language){const t=await import(e);for(const[e,s]of Object.entries(t)){const t=`--${e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}`;document.body.style.setProperty(t,s)}}else if("css"===this.language){const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}}constructor(){super(...arguments),t(this,k)}},r})();export{i as CustomTheme};
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a}from"./dark-mode-m29sAj4H.js";import{e as o}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,r,n,l,c,m,d=[o("custom-theme")],g=[],h=s,u=[],b=[],y=[],p=[],f=[],_=[],w=[],k=[];return class extends h{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;n=[a({type:Boolean,attribute:"load-font"})],l=[a({type:Boolean,attribute:"load-symbols"})],c=[a({type:String,attribute:"mobile-trigger"})],m=[a({type:Boolean})],e(this,null,n,{kind:"accessor",name:"loadFont",static:!1,private:!1,access:{has:e=>"loadFont"in e,get:e=>e.loadFont,set:(e,t)=>{e.loadFont=t}},metadata:s},u,b),e(this,null,l,{kind:"accessor",name:"loadSymbols",static:!1,private:!1,access:{has:e=>"loadSymbols"in e,get:e=>e.loadSymbols,set:(e,t)=>{e.loadSymbols=t}},metadata:s},y,p),e(this,null,c,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:s},f,_),e(this,null,m,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:s},w,k),e(null,i={value:r},d,{kind:"class",name:r.name,metadata:s},null,g),r=i.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),t(r,g)}#e;#t=t(this,u,!0);get loadFont(){return this.#t}set loadFont(e){this.#t=e}#s=(t(this,b),t(this,y,!0));get loadSymbols(){return this.#s}set loadSymbols(e){this.#s=e}#a=(t(this,p),t(this,f,"(max-width: 860px)"));get mobileTrigger(){return this.#a}set mobileTrigger(e){this.#a=e}#o=(t(this,_),t(this,w,void 0));get narrow(){return this.#o}set narrow(e){this.#o=e}#i(e,t,s){let a=document.createElement("link");if(a.rel=t,a.href=e,s)for(const e of s)a.setAttribute(e,"");document.head.appendChild(a)}#r(){let e="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0&display=swap";return globalThis.symbols&&(e+=`&text=${globalThis.symbols}`),e}onChange(e,t){"mobileTrigger"===e&&this.#n()}#n(){this.#e=matchMedia(this.mobileTrigger),this.#e.onchange=this.#l,this.#l({matches:this.#e.matches})}connectedCallback(){this.load("./themes/default/theme.css");const e=document.createElement("style");e.innerHTML="\n html, body {\n inset: 0;\n position: absolute;\n margin: 0;\n background: var(--md-sys-color-background);\n color: var(--md-sys-color-on-background);\n overflow: hidden;\n }",document.head.appendChild(e),(this.loadFont||this.loadSymbols)&&this.#i("https://fonts.googleapis.com","preconnect"),this.#i("https://fonts.gstatic.com","preconnect",["crossorigin"]),this.loadFont&&this.#i("https://fonts.googleapis.com/css2?family=Roboto&display=swap","stylesheet"),this.loadSymbols&&this.#i(this.#r(),"stylesheet")}#l({matches:e}){this.narrow=e,document.dispatchEvent(new CustomEvent("custom-theme-narrow",{detail:this.narrow}))}set language(e){this.setAttribute("language",e)}get language(){return this.getAttribute("language")||"css"}async load(e){if("js"===this.language){const t=await import(e);for(const[e,s]of Object.entries(t)){const t=`--${e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}`;document.body.style.setProperty(t,s)}}else if("css"===this.language){const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}}constructor(){super(...arguments),t(this,k)}},r})();export{i as CustomTheme};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as s,x as i}from"./dark-mode-BhSl3mXB.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./input.js";let c=(()=>{let c,m,n=[l("custom-time-picker")],p=[],o=a;return class extends o{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(o[Symbol.metadata]??null):void 0;t(null,c={value:m},n,{kind:"class",name:m.name,metadata:e},null,p),m=c.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as a,i as s,x as i}from"./dark-mode-m29sAj4H.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./input.js";let c=(()=>{let c,m,n=[l("custom-time-picker")],p=[],o=a;return class extends o{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(o[Symbol.metadata]??null):void 0;t(null,c={value:m},n,{kind:"class",name:m.name,metadata:e},null,p),m=c.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[s`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-BhSl3mXB.js";import{e as c}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./toggle.js";import"./elevation.js";import"./button.css.js";let i=(()=>{let i,r,l,n,g=[c("custom-toggle-button")],m=[],u=s,v=[],d=[],h=[],_=[];return class extends u{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[a({type:Number})],n=[a({type:Array})],t(this,null,l,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:s},v,d),t(this,null,n,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:s},h,_),t(null,i={value:r},g,{kind:"class",name:r.name,metadata:s},null,m),r=i.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(r,m)}#t=e(this,v,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,d),e(this,h,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}get _toggle(){return this.shadowRoot.querySelector("custom-toggle")}_click=(e(this,_),()=>{this._toggle.next()});connectedCallback(){this.addEventListener("click",this._click)}disconnectedCallback(){this.removeEventListener("click",this._click)}_onactive=t=>{this.dispatchEvent(new CustomEvent("active",{detail:t.detail}))};render(){return o` <custom-button>
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,x as o}from"./dark-mode-m29sAj4H.js";import{e as c}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./toggle.js";import"./elevation.js";import"./button.css.js";let i=(()=>{let i,r,l,n,g=[c("custom-toggle-button")],m=[],u=s,v=[],d=[],h=[],_=[];return class extends u{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[a({type:Number})],n=[a({type:Array})],t(this,null,l,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:s},v,d),t(this,null,n,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:s},h,_),t(null,i={value:r},g,{kind:"class",name:r.name,metadata:s},null,m),r=i.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(r,m)}#t=e(this,v,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,d),e(this,h,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}get _toggle(){return this.shadowRoot.querySelector("custom-toggle")}_click=(e(this,_),()=>{this._toggle.next()});connectedCallback(){this.addEventListener("click",this._click)}disconnectedCallback(){this.removeEventListener("click",this._click)}_onactive=t=>{this.dispatchEvent(new CustomEvent("active",{detail:t.detail}))};render(){return o` <custom-button>
2
2
  <custom-toggle slot="icon" .active=${this.active} @active=${this._onactive} .togglers=${this.togglers}>
3
3
  </custom-toggle>
4
4
  </custom-button>`}},r})();export{i as CustomToggleButton};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i,x as c}from"./dark-mode-BhSl3mXB.js";import{e as o}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,n,g,l,h,v=[o("custom-toggle")],m=[],d=s,u=[],_=[],p=[],y=[],b=[],f=[];return class extends d{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;g=[a({type:Number})],l=[a({type:Array})],h=[a()],t(this,null,g,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:e},u,_),t(this,null,l,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:e},p,y),t(this,null,h,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},b,f),t(null,r={value:n},v,{kind:"class",name:n.name,metadata:e},null,m),n=r.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,u,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,_),e(this,p,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}#s=(e(this,y),e(this,b,void 0));get icon(){return this.#s}set icon(t){this.#s=t}restartOnEnd=(e(this,f),!0);onChange(t,e){"active"===t&&this.dispatchEvent(new CustomEvent("active",{detail:this.active})),("active"===t&&this.togglers||"togglers"===t&&void 0!==this.active)&&(this.icon=this.togglers[this.active])}async next(){this.active<this.togglers.length-1?this.active+=1:this.restartOnEnd&&(this.active=0)}previous(){0!==this.active&&(this.active-=1)}static styles=[i`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i,x as c}from"./dark-mode-m29sAj4H.js";import{e as o}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,n,g,l,h,v=[o("custom-toggle")],m=[],d=s,u=[],_=[],p=[],y=[],b=[],f=[];return class extends d{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;g=[a({type:Number})],l=[a({type:Array})],h=[a()],t(this,null,g,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:e},u,_),t(this,null,l,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:e},p,y),t(this,null,h,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},b,f),t(null,r={value:n},v,{kind:"class",name:n.name,metadata:e},null,m),n=r.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,u,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,_),e(this,p,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}#s=(e(this,y),e(this,b,void 0));get icon(){return this.#s}set icon(t){this.#s=t}restartOnEnd=(e(this,f),!0);onChange(t,e){"active"===t&&this.dispatchEvent(new CustomEvent("active",{detail:this.active})),("active"===t&&this.togglers||"togglers"===t&&void 0!==this.active)&&(this.icon=this.togglers[this.active])}async next(){this.active<this.togglers.length-1?this.active+=1:this.restartOnEnd&&(this.active=0)}previous(){0!==this.active&&(this.active-=1)}static styles=[i`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as s,s as o,r as a,x as l}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./it-Dft_Rjy-.js";import"./row-ByiB1edM.js";var i=s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as s,s as o,r as a,x as l}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./it-Dft_Rjy-.js";import"./row-DZm4UH0H.js";var i=s`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as l,x as y}from"./dark-mode-BhSl3mXB.js";import{e as i}from"./custom-element-B_TPyPQO.js";let m=(()=>{let m,r,o,n,d=[i("custom-typography")],c=[],f=s,p=[],g=[],h=[],v=[];return class extends f{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;o=[a({type:String,reflect:!0})],n=[a({type:String,reflect:!0})],e(this,null,o,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},p,g),e(this,null,n,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:e=>"size"in e,get:e=>e.size,set:(e,t)=>{e.size=t}},metadata:t},h,v),e(null,m={value:r},d,{kind:"class",name:r.name,metadata:t},null,c),r=m.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"title");get type(){return this.#e}set type(e){this.#e=e}#t=(t(this,g),t(this,h,"large"));get size(){return this.#t}set size(e){this.#t=e}static styles=[l`
1
+ import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{s,r as a,i as l,x as y}from"./dark-mode-m29sAj4H.js";import{e as i}from"./custom-element-B_TPyPQO.js";let m=(()=>{let m,r,o,n,d=[i("custom-typography")],c=[],f=s,p=[],g=[],h=[],v=[];return class extends f{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;o=[a({type:String,reflect:!0})],n=[a({type:String,reflect:!0})],e(this,null,o,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},p,g),e(this,null,n,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:e=>"size"in e,get:e=>e.size,set:(e,t)=>{e.size=t}},metadata:t},h,v),e(null,m={value:r},d,{kind:"class",name:r.name,metadata:t},null,c),r=m.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"title");get type(){return this.#e}set type(e){this.#e=e}#t=(t(this,g),t(this,h,"large"));get size(){return this.#t}set size(e){this.#t=e}static styles=[l`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as l,r as a,i as s,x as i}from"./dark-mode-BhSl3mXB.js";import{e as r}from"./custom-element-B_TPyPQO.js";let m=(()=>{let m,o,u,n=[r("custom-upload-file")],c=[],p=l,d=[],y=[];return class extends p{static{o=this}static{const l="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;u=[a({type:Boolean})],t(this,null,u,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:t=>"multiple"in t,get:t=>t.multiple,set:(t,e)=>{t.multiple=e}},metadata:l},d,y),t(null,m={value:o},n,{kind:"class",name:o.name,metadata:l},null,c),o=m.value,l&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:l}),e(o,c)}#t=e(this,d,void 0);get multiple(){return this.#t}set multiple(t){this.#t=t}static get styles(){return[s`
1
+ import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{s as l,r as a,i as s,x as i}from"./dark-mode-m29sAj4H.js";import{e as r}from"./custom-element-B_TPyPQO.js";let m=(()=>{let m,o,u,n=[r("custom-upload-file")],c=[],p=l,d=[],y=[];return class extends p{static{o=this}static{const l="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;u=[a({type:Boolean})],t(this,null,u,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:t=>"multiple"in t,get:t=>t.multiple,set:(t,e)=>{t.multiple=e}},metadata:l},d,y),t(null,m={value:o},n,{kind:"class",name:o.name,metadata:l},null,c),o=m.value,l&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:l}),e(o,c)}#t=e(this,d,void 0);get multiple(){return this.#t}set multiple(t){this.#t=t}static get styles(){return[s`
2
2
  :host {
3
3
  display: flex;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{b as e,_ as t,a as r}from"./tslib.es6-B87RQr7F.js";import{x as o,i as a,T as n,E as l,B as s,r as d,s as c}from"./dark-mode-BhSl3mXB.js";import{t as u}from"./query-DCTzLeFk.js";import{e as p}from"./custom-element-B_TPyPQO.js";import{n as h,r as v,t as m}from"./property-Cz7Tusq9.js";import{DeviceApi as f}from"./device.js";import"./dialog.js";import"./icon.js";import"./tabs.js";import"./tab.js";import"./selector.js";import"./pages.js";import{FileReaderMixin as b}from"./file-reader-mixin.js";import"./elevation.js";import"./selector-mixin.js";import"./select-mixin.js";
1
+ import{b as e,_ as t,a as r}from"./tslib.es6-B87RQr7F.js";import{x as o,i as a,T as n,E as l,B as s,r as d,s as c}from"./dark-mode-m29sAj4H.js";import{t as u}from"./query-DCTzLeFk.js";import{e as p}from"./custom-element-B_TPyPQO.js";import{n as h,i as v,t as m}from"./property-CMTrOHQk.js";import{DeviceApi as f}from"./device.js";import"./dialog.js";import"./icon.js";import"./tabs.js";import"./tab.js";import"./selector.js";import"./pages.js";import{FileReaderMixin as b}from"./file-reader-mixin.js";import"./elevation.js";import"./selector-mixin.js";import"./select-mixin.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -2,7 +2,7 @@ import { LiteElement } from '@vandeurenglenn/lite';
2
2
  export declare class SelectBase extends LiteElement {
3
3
  #private;
4
4
  currentSelected: HTMLElement;
5
- beforeRender(): void;
5
+ firstRender(): void;
6
6
  get multi(): boolean;
7
7
  set multi(value: boolean);
8
8
  get defaultSelected(): string | 0;
@@ -3,7 +3,8 @@ import { LiteElement } from '@vandeurenglenn/lite';
3
3
  class SelectBase extends LiteElement {
4
4
  #selected;
5
5
  currentSelected;
6
- beforeRender() {
6
+ firstRender() {
7
+ super.firstRender?.();
7
8
  this.selected = this.defaultSelected;
8
9
  }
9
10
  get multi() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vandeurenglenn/lite-elements",
3
- "version": "0.3.75",
3
+ "version": "0.3.77",
4
4
  "description": "set of lite elements following Material Design 3 spec",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "@material/web": "^2.3.0",
24
24
  "@vandeurenglenn/custom-shared-styles": "^0.0.21",
25
25
  "@vandeurenglenn/flex-elements": "^1.3.2",
26
- "@vandeurenglenn/lite": "^0.2.64",
26
+ "@vandeurenglenn/lite": "^0.2.65",
27
27
  "custom-element-decorator": "^0.6.0"
28
28
  },
29
29
  "devDependencies": {
@@ -33,14 +33,14 @@
33
33
  "@rollup/plugin-terser": "^0.4.4",
34
34
  "@rollup/plugin-typescript": "^12.1.2",
35
35
  "@types/html": "^1.0.4",
36
- "@types/node": "^22.14.1",
36
+ "@types/node": "^22.15.3",
37
37
  "@web/rollup-plugin-html": "^2.3.0",
38
38
  "chrome-launcher": "^1.1.2",
39
39
  "globby": "^14.1.0",
40
- "lighthouse": "^12.5.1",
40
+ "lighthouse": "^12.6.0",
41
41
  "material-symbols": "^0.31.2",
42
42
  "rimraf": "^6.0.1",
43
- "rollup": "^4.40.0",
43
+ "rollup": "^4.40.1",
44
44
  "rollup-plugin-auto-exports": "^1.0.8",
45
45
  "rollup-plugin-material-symbols": "^2.1.6",
46
46
  "tslib": "^2.8.1",
@@ -1,23 +0,0 @@
1
- import{c as t,S as e,B as s,T as i}from"./dark-mode-BhSl3mXB.js";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */const{is:o,defineProperty:n,getOwnPropertyDescriptor:a,getOwnPropertyNames:h,getOwnPropertySymbols:c,getPrototypeOf:l}=Object,d=globalThis,p=d.trustedTypes,u=p?p.emptyScript:"",f=d.reactiveElementPolyfillSupport,E=(t,e)=>t,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}},_=(t,e)=>!o(t,e),$={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&n(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=a(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);o.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$}static _$Ei(){if(this.hasOwnProperty(E("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(E("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(E("properties"))){const t=this.properties,e=[...h(t),...c(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const s=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)s.unshift(t(e))}else void 0!==e&&s.push(t(e));return s}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return e(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:m).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=o.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??_)(this[t],e))return;this.P(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t)!0!==s.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],s)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[E("elementProperties")]=new Map,b[E("finalized")]=new Map,f?.({ReactiveElement:b}),(d.reactiveElementVersions??=[]).push("2.0.4");
7
- /**
8
- * @license
9
- * Copyright 2017 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */
12
- let y=class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=s(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return i}};y._$litElement$=!0,y.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:y});const g=globalThis.litElementPolyfillSupport;g?.({LitElement:y}),(globalThis.litElementVersions??=[]).push("4.1.1");
13
- /**
14
- * @license
15
- * Copyright 2017 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
- const P=t=>(e,s)=>{void 0!==s?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)}
19
- /**
20
- * @license
21
- * Copyright 2017 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */,v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:_},U=(t=v,e,s)=>{const{kind:i,metadata:o}=s;let n=globalThis.litPropertyMetadata.get(o);if(void 0===n&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const o=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,o,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=s;return function(s){const o=this[i];e.call(this,s),this.requestUpdate(i,o,t)}}throw Error("Unsupported decorator location: "+i)};function w(t){return(e,s)=>"object"==typeof s?U(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}export{w as n,y as r,P as t};