@umbraco-ui/uui 0.2.1 → 0.2.2

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.
package/dist/uui.min.js CHANGED
@@ -2,25 +2,25 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const pt=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Xt=new Map;class Zt{constructor(e,r){if(this._$cssResult$=!0,r!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let e=Xt.get(this.cssText);return pt&&e===void 0&&(Xt.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const Pe=t=>new Zt(typeof t=="string"?t:t+"",vt),d=(t,...e)=>{const r=t.length===1?t[0]:e.reduce((o,i,s)=>o+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new Zt(r,vt)},Or=(t,e)=>{pt?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{const o=document.createElement("style"),i=window.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})},Qt=pt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const o of e.cssRules)r+=o.cssText;return Pe(r)})(t):t;/**
5
+ */const gt=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),ei=new Map;class ti{constructor(e,r){if(this._$cssResult$=!0,r!==_t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let e=ei.get(this.cssText);return gt&&e===void 0&&(ei.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const Pe=t=>new ti(typeof t=="string"?t:t+"",_t),d=(t,...e)=>{const r=t.length===1?t[0]:e.reduce((o,i,s)=>o+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new ti(r,_t)},Lr=(t,e)=>{gt?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{const o=document.createElement("style"),i=window.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})},ii=gt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const o of e.cssRules)r+=o.cssText;return Pe(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */var bt;const Jt=window.trustedTypes,zr=Jt?Jt.emptyScript:"",ei=window.reactiveElementPolyfillSupport,ft={toAttribute(t,e){switch(e){case Boolean:t=t?zr:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ti=(t,e)=>e!==t&&(e==e||t==t),mt={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:ti};class ae extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var r;(r=this.l)!==null&&r!==void 0||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((r,o)=>{const i=this._$Eh(o,r);i!==void 0&&(this._$Eu.set(i,o),e.push(i))}),e}static createProperty(e,r=mt){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(e,r),!r.noAccessor&&!this.prototype.hasOwnProperty(e)){const o=typeof e=="symbol"?Symbol():"__"+e,i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){return{get(){return this[r]},set(i){const s=this[e];this[r]=i,this.requestUpdate(e,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||mt}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const r=this.properties,o=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of o)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const o=new Set(e.flat(1/0).reverse());for(const i of o)r.unshift(Qt(i))}else e!==void 0&&r.push(Qt(e));return r}static _$Eh(e,r){const o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Em(),this.requestUpdate(),(e=this.constructor.l)===null||e===void 0||e.forEach(r=>r(this))}addController(e){var r,o;((r=this._$Eg)!==null&&r!==void 0?r:this._$Eg=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)===null||o===void 0||o.call(e))}removeController(e){var r;(r=this._$Eg)===null||r===void 0||r.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((e,r)=>{this.hasOwnProperty(r)&&(this._$Et.set(r,this[r]),delete this[r])})}createRenderRoot(){var e;const r=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Or(r,this.constructor.elementStyles),r}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$Eg)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostConnected)===null||o===void 0?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$Eg)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostDisconnected)===null||o===void 0?void 0:o.call(r)})}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ES(e,r,o=mt){var i,s;const a=this.constructor._$Eh(e,o);if(a!==void 0&&o.reflect===!0){const v=((s=(i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==null&&s!==void 0?s:ft.toAttribute)(r,o.type);this._$Ei=e,v==null?this.removeAttribute(a):this.setAttribute(a,v),this._$Ei=null}}_$AK(e,r){var o,i,s;const a=this.constructor,v=a._$Eu.get(e);if(v!==void 0&&this._$Ei!==v){const b=a.getPropertyOptions(v),p=b.converter,$=(s=(i=(o=p)===null||o===void 0?void 0:o.fromAttribute)!==null&&i!==void 0?i:typeof p=="function"?p:null)!==null&&s!==void 0?s:ft.fromAttribute;this._$Ei=v,this[v]=$(r,b.type),this._$Ei=null}}requestUpdate(e,r,o){let i=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||ti)(this[e],r)?(this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Ei!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,o))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((i,s)=>this[s]=i),this._$Et=void 0);let r=!1;const o=this._$AL;try{r=this.shouldUpdate(o),r?(this.willUpdate(o),(e=this._$Eg)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdate)===null||s===void 0?void 0:s.call(i)}),this.update(o)):this._$EU()}catch(i){throw r=!1,this._$EU(),i}r&&this._$AE(o)}willUpdate(e){}_$AE(e){var r;(r=this._$Eg)===null||r===void 0||r.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((r,o)=>this._$ES(o,this[o],r)),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}ae.finalized=!0,ae.elementProperties=new Map,ae.elementStyles=[],ae.shadowRootOptions={mode:"open"},ei?.({ReactiveElement:ae}),((bt=globalThis.reactiveElementVersions)!==null&&bt!==void 0?bt:globalThis.reactiveElementVersions=[]).push("1.3.1");/**
9
+ */var yt;const ri=window.trustedTypes,Tr=ri?ri.emptyScript:"",oi=window.reactiveElementPolyfillSupport,Ut={toAttribute(t,e){switch(e){case Boolean:t=t?Tr:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ni=(t,e)=>e!==t&&(e==e||t==t),wt={attribute:!0,type:String,converter:Ut,reflect:!1,hasChanged:ni};class ae extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var r;(r=this.l)!==null&&r!==void 0||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((r,o)=>{const i=this._$Eh(o,r);i!==void 0&&(this._$Eu.set(i,o),e.push(i))}),e}static createProperty(e,r=wt){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(e,r),!r.noAccessor&&!this.prototype.hasOwnProperty(e)){const o=typeof e=="symbol"?Symbol():"__"+e,i=this.getPropertyDescriptor(e,o,r);i!==void 0&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){return{get(){return this[r]},set(i){const s=this[e];this[r]=i,this.requestUpdate(e,s,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||wt}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const r=this.properties,o=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of o)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const o=new Set(e.flat(1/0).reverse());for(const i of o)r.unshift(ii(i))}else e!==void 0&&r.push(ii(e));return r}static _$Eh(e,r){const o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Em(),this.requestUpdate(),(e=this.constructor.l)===null||e===void 0||e.forEach(r=>r(this))}addController(e){var r,o;((r=this._$Eg)!==null&&r!==void 0?r:this._$Eg=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)===null||o===void 0||o.call(e))}removeController(e){var r;(r=this._$Eg)===null||r===void 0||r.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((e,r)=>{this.hasOwnProperty(r)&&(this._$Et.set(r,this[r]),delete this[r])})}createRenderRoot(){var e;const r=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Lr(r,this.constructor.elementStyles),r}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$Eg)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostConnected)===null||o===void 0?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$Eg)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostDisconnected)===null||o===void 0?void 0:o.call(r)})}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ES(e,r,o=wt){var i,s;const a=this.constructor._$Eh(e,o);if(a!==void 0&&o.reflect===!0){const v=((s=(i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==null&&s!==void 0?s:Ut.toAttribute)(r,o.type);this._$Ei=e,v==null?this.removeAttribute(a):this.setAttribute(a,v),this._$Ei=null}}_$AK(e,r){var o,i,s;const a=this.constructor,v=a._$Eu.get(e);if(v!==void 0&&this._$Ei!==v){const b=a.getPropertyOptions(v),p=b.converter,I=(s=(i=(o=p)===null||o===void 0?void 0:o.fromAttribute)!==null&&i!==void 0?i:typeof p=="function"?p:null)!==null&&s!==void 0?s:Ut.fromAttribute;this._$Ei=v,this[v]=I(r,b.type),this._$Ei=null}}requestUpdate(e,r,o){let i=!0;e!==void 0&&(((o=o||this.constructor.getPropertyOptions(e)).hasChanged||ni)(this[e],r)?(this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Ei!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,o))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((i,s)=>this[s]=i),this._$Et=void 0);let r=!1;const o=this._$AL;try{r=this.shouldUpdate(o),r?(this.willUpdate(o),(e=this._$Eg)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdate)===null||s===void 0?void 0:s.call(i)}),this.update(o)):this._$EU()}catch(i){throw r=!1,this._$EU(),i}r&&this._$AE(o)}willUpdate(e){}_$AE(e){var r;(r=this._$Eg)===null||r===void 0||r.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((r,o)=>this._$ES(o,this[o],r)),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}ae.finalized=!0,ae.elementProperties=new Map,ae.elementStyles=[],ae.shadowRootOptions={mode:"open"},oi?.({ReactiveElement:ae}),((yt=globalThis.reactiveElementVersions)!==null&&yt!==void 0?yt:globalThis.reactiveElementVersions=[]).push("1.3.1");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */var gt;const le=globalThis.trustedTypes,ii=le?le.createPolicy("lit-html",{createHTML:t=>t}):void 0,B=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+B,Sr=`<${_t}>`,ue=document,ke=(t="")=>ue.createComment(t),Oe=t=>t===null||typeof t!="object"&&typeof t!="function",ri=Array.isArray,oi=t=>{var e;return ri(t)||typeof((e=t)===null||e===void 0?void 0:e[Symbol.iterator])=="function"},ze=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ni=/-->/g,si=/>/g,G=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,ai=/'/g,li=/"/g,ui=/^(?:script|style|textarea|title)$/i,ci=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),u=ci(1),m=ci(2),H=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),di=new WeakMap,Ar=(t,e,r)=>{var o,i;const s=(o=r?.renderBefore)!==null&&o!==void 0?o:e;let a=s._$litPart$;if(a===void 0){const v=(i=r?.renderBefore)!==null&&i!==void 0?i:null;s._$litPart$=a=new de(e.insertBefore(ke(),v),v,void 0,r??{})}return a._$AI(t),a},ce=ue.createTreeWalker(ue,129,null,!1),hi=(t,e)=>{const r=t.length-1,o=[];let i,s=e===2?"<svg>":"",a=ze;for(let b=0;b<r;b++){const p=t[b];let $,_,f=-1,y=0;for(;y<p.length&&(a.lastIndex=y,_=a.exec(p),_!==null);)y=a.lastIndex,a===ze?_[1]==="!--"?a=ni:_[1]!==void 0?a=si:_[2]!==void 0?(ui.test(_[2])&&(i=RegExp("</"+_[2],"g")),a=G):_[3]!==void 0&&(a=G):a===G?_[0]===">"?(a=i??ze,f=-1):_[1]===void 0?f=-2:(f=a.lastIndex-_[2].length,$=_[1],a=_[3]===void 0?G:_[3]==='"'?li:ai):a===li||a===ai?a=G:a===ni||a===si?a=ze:(a=G,i=void 0);const w=a===G&&t[b+1].startsWith("/>")?" ":"";s+=a===ze?p+Sr:f>=0?(o.push($),p.slice(0,f)+"$lit$"+p.slice(f)+B+w):p+B+(f===-2?(o.push(void 0),b):w)}const v=s+(t[r]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[ii!==void 0?ii.createHTML(v):v,o]};class Se{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let s=0,a=0;const v=e.length-1,b=this.parts,[p,$]=hi(e,r);if(this.el=Se.createElement(p,o),ce.currentNode=this.el.content,r===2){const _=this.el.content,f=_.firstChild;f.remove(),_.append(...f.childNodes)}for(;(i=ce.nextNode())!==null&&b.length<v;){if(i.nodeType===1){if(i.hasAttributes()){const _=[];for(const f of i.getAttributeNames())if(f.endsWith("$lit$")||f.startsWith(B)){const y=$[a++];if(_.push(f),y!==void 0){const w=i.getAttribute(y.toLowerCase()+"$lit$").split(B),E=/([.?@])?(.*)/.exec(y);b.push({type:1,index:s,name:E[2],strings:w,ctor:E[1]==="."?vi:E[1]==="?"?bi:E[1]==="@"?fi:Ae})}else b.push({type:6,index:s})}for(const f of _)i.removeAttribute(f)}if(ui.test(i.tagName)){const _=i.textContent.split(B),f=_.length-1;if(f>0){i.textContent=le?le.emptyScript:"";for(let y=0;y<f;y++)i.append(_[y],ke()),ce.nextNode(),b.push({type:2,index:++s});i.append(_[f],ke())}}}else if(i.nodeType===8)if(i.data===_t)b.push({type:2,index:s});else{let _=-1;for(;(_=i.data.indexOf(B,_+1))!==-1;)b.push({type:7,index:s}),_+=B.length-1}s++}}static createElement(e,r){const o=ue.createElement("template");return o.innerHTML=e,o}}function q(t,e,r=t,o){var i,s,a,v;if(e===H)return e;let b=o!==void 0?(i=r._$Cl)===null||i===void 0?void 0:i[o]:r._$Cu;const p=Oe(e)?void 0:e._$litDirective$;return b?.constructor!==p&&((s=b?._$AO)===null||s===void 0||s.call(b,!1),p===void 0?b=void 0:(b=new p(t),b._$AT(t,r,o)),o!==void 0?((a=(v=r)._$Cl)!==null&&a!==void 0?a:v._$Cl=[])[o]=b:r._$Cu=b),b!==void 0&&(e=q(t,b._$AS(t,e.values),b,o)),e}class pi{constructor(e,r){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var r;const{el:{content:o},parts:i}=this._$AD,s=((r=e?.creationScope)!==null&&r!==void 0?r:ue).importNode(o,!0);ce.currentNode=s;let a=ce.nextNode(),v=0,b=0,p=i[0];for(;p!==void 0;){if(v===p.index){let $;p.type===2?$=new de(a,a.nextSibling,this,e):p.type===1?$=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&($=new mi(a,this,e)),this.v.push($),p=i[++b]}v!==p?.index&&(a=ce.nextNode(),v++)}return s}m(e){let r=0;for(const o of this.v)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}}class de{constructor(e,r,o,i){var s;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cg=(s=i?.isConnected)===null||s===void 0||s}get _$AU(){var e,r;return(r=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&r!==void 0?r:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=q(this,e,r),Oe(e)?e===I||e==null||e===""?(this._$AH!==I&&this._$AR(),this._$AH=I):e!==this._$AH&&e!==H&&this.$(e):e._$litType$!==void 0?this.T(e):e.nodeType!==void 0?this.k(e):oi(e)?this.S(e):this.$(e)}M(e,r=this._$AB){return this._$AA.parentNode.insertBefore(e,r)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==I&&Oe(this._$AH)?this._$AA.nextSibling.data=e:this.k(ue.createTextNode(e)),this._$AH=e}T(e){var r;const{values:o,_$litType$:i}=e,s=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Se.createElement(i.h,this.options)),i);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===s)this._$AH.m(o);else{const a=new pi(s,this),v=a.p(this.options);a.m(o),this.k(v),this._$AH=a}}_$AC(e){let r=di.get(e.strings);return r===void 0&&di.set(e.strings,r=new Se(e)),r}S(e){ri(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,i=0;for(const s of e)i===r.length?r.push(o=new de(this.M(ke()),this.M(ke()),this,this.options)):o=r[i],o._$AI(s),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cg=e,(r=this._$AP)===null||r===void 0||r.call(this,e))}}class Ae{constructor(e,r,o,i,s){this.type=1,this._$AH=I,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,r=this,o,i){const s=this.strings;let a=!1;if(s===void 0)e=q(this,e,r,0),a=!Oe(e)||e!==this._$AH&&e!==H,a&&(this._$AH=e);else{const v=e;let b,p;for(e=s[0],b=0;b<s.length-1;b++)p=q(this,v[o+b],r,b),p===H&&(p=this._$AH[b]),a||(a=!Oe(p)||p!==this._$AH[b]),p===I?e=I:e!==I&&(e+=(p??"")+s[b+1]),this._$AH[b]=p}a&&!i&&this.C(e)}C(e){e===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class vi extends Ae{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===I?void 0:e}}const Dr=le?le.emptyScript:"";class bi extends Ae{constructor(){super(...arguments),this.type=4}C(e){e&&e!==I?this.element.setAttribute(this.name,Dr):this.element.removeAttribute(this.name)}}class fi extends Ae{constructor(e,r,o,i,s){super(e,r,o,i,s),this.type=5}_$AI(e,r=this){var o;if((e=(o=q(this,e,r,0))!==null&&o!==void 0?o:I)===H)return;const i=this._$AH,s=e===I&&i!==I||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==I&&(i===I||s);s&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,o;typeof this._$AH=="function"?this._$AH.call((o=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}}class mi{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){q(this,e)}}const Lr={L:"$lit$",P:B,V:_t,I:1,N:hi,R:pi,j:oi,D:q,H:de,F:Ae,O:bi,W:fi,B:vi,Z:mi},gi=window.litHtmlPolyfillSupport;gi?.(Se,de),((gt=globalThis.litHtmlVersions)!==null&&gt!==void 0?gt:globalThis.litHtmlVersions=[]).push("2.2.2");/**
13
+ */var Et;const le=globalThis.trustedTypes,si=le?le.createPolicy("lit-html",{createHTML:t=>t}):void 0,B=`lit$${(Math.random()+"").slice(9)}$`,$t="?"+B,Nr=`<${$t}>`,ue=document,ke=(t="")=>ue.createComment(t),Oe=t=>t===null||typeof t!="object"&&typeof t!="function",ai=Array.isArray,li=t=>{var e;return ai(t)||typeof((e=t)===null||e===void 0?void 0:e[Symbol.iterator])=="function"},ze=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ui=/-->/g,ci=/>/g,G=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,di=/'/g,hi=/"/g,pi=/^(?:script|style|textarea|title)$/i,vi=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),u=vi(1),m=vi(2),H=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),bi=new WeakMap,Br=(t,e,r)=>{var o,i;const s=(o=r?.renderBefore)!==null&&o!==void 0?o:e;let a=s._$litPart$;if(a===void 0){const v=(i=r?.renderBefore)!==null&&i!==void 0?i:null;s._$litPart$=a=new de(e.insertBefore(ke(),v),v,void 0,r??{})}return a._$AI(t),a},ce=ue.createTreeWalker(ue,129,null,!1),fi=(t,e)=>{const r=t.length-1,o=[];let i,s=e===2?"<svg>":"",a=ze;for(let b=0;b<r;b++){const p=t[b];let I,_,f=-1,y=0;for(;y<p.length&&(a.lastIndex=y,_=a.exec(p),_!==null);)y=a.lastIndex,a===ze?_[1]==="!--"?a=ui:_[1]!==void 0?a=ci:_[2]!==void 0?(pi.test(_[2])&&(i=RegExp("</"+_[2],"g")),a=G):_[3]!==void 0&&(a=G):a===G?_[0]===">"?(a=i??ze,f=-1):_[1]===void 0?f=-2:(f=a.lastIndex-_[2].length,I=_[1],a=_[3]===void 0?G:_[3]==='"'?hi:di):a===hi||a===di?a=G:a===ui||a===ci?a=ze:(a=G,i=void 0);const w=a===G&&t[b+1].startsWith("/>")?" ":"";s+=a===ze?p+Nr:f>=0?(o.push(I),p.slice(0,f)+"$lit$"+p.slice(f)+B+w):p+B+(f===-2?(o.push(void 0),b):w)}const v=s+(t[r]||"<?>")+(e===2?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[si!==void 0?si.createHTML(v):v,o]};class Se{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let s=0,a=0;const v=e.length-1,b=this.parts,[p,I]=fi(e,r);if(this.el=Se.createElement(p,o),ce.currentNode=this.el.content,r===2){const _=this.el.content,f=_.firstChild;f.remove(),_.append(...f.childNodes)}for(;(i=ce.nextNode())!==null&&b.length<v;){if(i.nodeType===1){if(i.hasAttributes()){const _=[];for(const f of i.getAttributeNames())if(f.endsWith("$lit$")||f.startsWith(B)){const y=I[a++];if(_.push(f),y!==void 0){const w=i.getAttribute(y.toLowerCase()+"$lit$").split(B),$=/([.?@])?(.*)/.exec(y);b.push({type:1,index:s,name:$[2],strings:w,ctor:$[1]==="."?gi:$[1]==="?"?_i:$[1]==="@"?yi:Ae})}else b.push({type:6,index:s})}for(const f of _)i.removeAttribute(f)}if(pi.test(i.tagName)){const _=i.textContent.split(B),f=_.length-1;if(f>0){i.textContent=le?le.emptyScript:"";for(let y=0;y<f;y++)i.append(_[y],ke()),ce.nextNode(),b.push({type:2,index:++s});i.append(_[f],ke())}}}else if(i.nodeType===8)if(i.data===$t)b.push({type:2,index:s});else{let _=-1;for(;(_=i.data.indexOf(B,_+1))!==-1;)b.push({type:7,index:s}),_+=B.length-1}s++}}static createElement(e,r){const o=ue.createElement("template");return o.innerHTML=e,o}}function q(t,e,r=t,o){var i,s,a,v;if(e===H)return e;let b=o!==void 0?(i=r._$Cl)===null||i===void 0?void 0:i[o]:r._$Cu;const p=Oe(e)?void 0:e._$litDirective$;return b?.constructor!==p&&((s=b?._$AO)===null||s===void 0||s.call(b,!1),p===void 0?b=void 0:(b=new p(t),b._$AT(t,r,o)),o!==void 0?((a=(v=r)._$Cl)!==null&&a!==void 0?a:v._$Cl=[])[o]=b:r._$Cu=b),b!==void 0&&(e=q(t,b._$AS(t,e.values),b,o)),e}class mi{constructor(e,r){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var r;const{el:{content:o},parts:i}=this._$AD,s=((r=e?.creationScope)!==null&&r!==void 0?r:ue).importNode(o,!0);ce.currentNode=s;let a=ce.nextNode(),v=0,b=0,p=i[0];for(;p!==void 0;){if(v===p.index){let I;p.type===2?I=new de(a,a.nextSibling,this,e):p.type===1?I=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(I=new Ui(a,this,e)),this.v.push(I),p=i[++b]}v!==p?.index&&(a=ce.nextNode(),v++)}return s}m(e){let r=0;for(const o of this.v)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}}class de{constructor(e,r,o,i){var s;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cg=(s=i?.isConnected)===null||s===void 0||s}get _$AU(){var e,r;return(r=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&r!==void 0?r:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=q(this,e,r),Oe(e)?e===E||e==null||e===""?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==H&&this.$(e):e._$litType$!==void 0?this.T(e):e.nodeType!==void 0?this.k(e):li(e)?this.S(e):this.$(e)}M(e,r=this._$AB){return this._$AA.parentNode.insertBefore(e,r)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==E&&Oe(this._$AH)?this._$AA.nextSibling.data=e:this.k(ue.createTextNode(e)),this._$AH=e}T(e){var r;const{values:o,_$litType$:i}=e,s=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Se.createElement(i.h,this.options)),i);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===s)this._$AH.m(o);else{const a=new mi(s,this),v=a.p(this.options);a.m(o),this.k(v),this._$AH=a}}_$AC(e){let r=bi.get(e.strings);return r===void 0&&bi.set(e.strings,r=new Se(e)),r}S(e){ai(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,i=0;for(const s of e)i===r.length?r.push(o=new de(this.M(ke()),this.M(ke()),this,this.options)):o=r[i],o._$AI(s),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cg=e,(r=this._$AP)===null||r===void 0||r.call(this,e))}}class Ae{constructor(e,r,o,i,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,r=this,o,i){const s=this.strings;let a=!1;if(s===void 0)e=q(this,e,r,0),a=!Oe(e)||e!==this._$AH&&e!==H,a&&(this._$AH=e);else{const v=e;let b,p;for(e=s[0],b=0;b<s.length-1;b++)p=q(this,v[o+b],r,b),p===H&&(p=this._$AH[b]),a||(a=!Oe(p)||p!==this._$AH[b]),p===E?e=E:e!==E&&(e+=(p??"")+s[b+1]),this._$AH[b]=p}a&&!i&&this.C(e)}C(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class gi extends Ae{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===E?void 0:e}}const Hr=le?le.emptyScript:"";class _i extends Ae{constructor(){super(...arguments),this.type=4}C(e){e&&e!==E?this.element.setAttribute(this.name,Hr):this.element.removeAttribute(this.name)}}class yi extends Ae{constructor(e,r,o,i,s){super(e,r,o,i,s),this.type=5}_$AI(e,r=this){var o;if((e=(o=q(this,e,r,0))!==null&&o!==void 0?o:E)===H)return;const i=this._$AH,s=e===E&&i!==E||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==E&&(i===E||s);s&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,o;typeof this._$AH=="function"?this._$AH.call((o=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}}class Ui{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){q(this,e)}}const jr={L:"$lit$",P:B,V:$t,I:1,N:fi,R:mi,j:li,D:q,H:de,F:Ae,O:_i,W:yi,B:gi,Z:Ui},wi=window.litHtmlPolyfillSupport;wi?.(Se,de),((Et=globalThis.litHtmlVersions)!==null&&Et!==void 0?Et:globalThis.litHtmlVersions=[]).push("2.2.2");/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */var yt,Ut;class h extends ae{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,r;const o=super.createRenderRoot();return(e=(r=this.renderOptions).renderBefore)!==null&&e!==void 0||(r.renderBefore=o.firstChild),o}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Ar(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!1)}render(){return H}}h.finalized=!0,h._$litElement$=!0,(yt=globalThis.litElementHydrateSupport)===null||yt===void 0||yt.call(globalThis,{LitElement:h});const _i=globalThis.litElementPolyfillSupport;_i?.({LitElement:h}),((Ut=globalThis.litElementVersions)!==null&&Ut!==void 0?Ut:globalThis.litElementVersions=[]).push("3.2.0");var Tr=Object.defineProperty,Nr=Object.getOwnPropertyDescriptor,Br=(t,e,r,o)=>{for(var i=o>1?void 0:o?Nr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Tr(e,r,i),i};n.UUIButtonGroupElement=class extends h{render(){return u`<slot></slot>`}},n.UUIButtonGroupElement.styles=[d`:host{display:inline-flex;align-items:stretch}::slotted(*){--uui-button-border-radius:0;flex-grow:1}::slotted(:not(:first-child)){--uui-button-merge-border-left:1}::slotted(:first-child){--uui-button-border-radius:var(--uui-border-radius,3px) 0 0 var(--uui-border-radius,3px)}::slotted(:last-child){--uui-button-border-radius:0 var(--uui-border-radius,3px) var(--uui-border-radius,3px) 0}::slotted(uui-dropdown){--uui-dropdown-toggle-slot-button-border-radius:0}::slotted(uui-dropdown:not(:first-child)){--uui-dropdown-toggle-slot-button-merge-border-left:1}::slotted(uui-dropdown:first-child){--uui-dropdown-toggle-slot-button-border-radius:var(
17
+ */var It,xt;class h extends ae{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,r;const o=super.createRenderRoot();return(e=(r=this.renderOptions).renderBefore)!==null&&e!==void 0||(r.renderBefore=o.firstChild),o}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Br(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!1)}render(){return H}}h.finalized=!0,h._$litElement$=!0,(It=globalThis.litElementHydrateSupport)===null||It===void 0||It.call(globalThis,{LitElement:h});const Ei=globalThis.litElementPolyfillSupport;Ei?.({LitElement:h}),((xt=globalThis.litElementVersions)!==null&&xt!==void 0?xt:globalThis.litElementVersions=[]).push("3.2.0");var Mr=Object.defineProperty,Rr=Object.getOwnPropertyDescriptor,Fr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Rr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Mr(e,r,i),i};n.UUIButtonGroupElement=class extends h{render(){return u`<slot></slot>`}},n.UUIButtonGroupElement.styles=[d`:host{display:inline-flex;align-items:stretch}::slotted(*){--uui-button-border-radius:0;flex-grow:1}::slotted(:not(:first-child)){--uui-button-merge-border-left:1}::slotted(:first-child){--uui-button-border-radius:var(--uui-border-radius,3px) 0 0 var(--uui-border-radius,3px)}::slotted(:last-child){--uui-button-border-radius:0 var(--uui-border-radius,3px) var(--uui-border-radius,3px) 0}::slotted(uui-dropdown){--uui-dropdown-toggle-slot-button-border-radius:0}::slotted(uui-dropdown:not(:first-child)){--uui-dropdown-toggle-slot-button-merge-border-left:1}::slotted(uui-dropdown:first-child){--uui-dropdown-toggle-slot-button-border-radius:var(
18
18
  --uui-border-radius,3px
19
- ) 0 0 var(--uui-border-radius,3px)}::slotted(uui-dropdown:last-child){--uui-dropdown-toggle-slot-button-border-radius:0 var(--uui-border-radius,3px) var(--uui-border-radius,3px) 0}::slotted(:hover){z-index:1}`],n.UUIButtonGroupElement=Br([c("uui-button-group")],n.UUIButtonGroupElement);var Hr=Object.defineProperty,jr=Object.getOwnPropertyDescriptor,Mr=(t,e,r,o)=>{for(var i=o>1?void 0:o?jr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Hr(e,r,i),i};n.UUIActionBarElement=class extends n.UUIButtonGroupElement{},n.UUIActionBarElement.styles=[...n.UUIButtonGroupElement.styles,d`::slotted(*){--uui-button-padding-left-factor:0.5;--uui-button-padding-right-factor:0.5}::slotted(uui-button:first-child){--uui-button-border-radius:50px 0 0 50px;--uui-button-padding-left-factor:2}::slotted(uui-button:last-child){--uui-button-border-radius:0 50px 50px 0;--uui-button-padding-right-factor:2}::slotted(uui-button:first-child:last-child){--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:2;--uui-button-padding-right-factor:2}::slotted([look=outline]),::slotted([look=placeholder]){--uui-button-padding-left-factor:1;--uui-button-padding-right-factor:1}::slotted(uui-button[look=outline]:first-child),::slotted(uui-button[look=placeholder]:first-child){--uui-button-border-radius:50px 0 0 50px;--uui-button-padding-left-factor:1.5}::slotted(uui-button[look=outline]:last-child),::slotted(uui-button[look=placeholder]:last-child){--uui-button-border-radius:0 50px 50px 0;--uui-button-padding-right-factor:1.5}::slotted(uui-button[look=outline]:first-child:last-child),::slotted(uui-button[look=placeholder]:first-child:last-child){--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:1.5;--uui-button-padding-right-factor:1.5}`],n.UUIActionBarElement=Mr([c("uui-action-bar")],n.UUIActionBarElement);/**
19
+ ) 0 0 var(--uui-border-radius,3px)}::slotted(uui-dropdown:last-child){--uui-dropdown-toggle-slot-button-border-radius:0 var(--uui-border-radius,3px) var(--uui-border-radius,3px) 0}::slotted(:hover){z-index:1}`],n.UUIButtonGroupElement=Fr([c("uui-button-group")],n.UUIButtonGroupElement);var Vr=Object.defineProperty,Gr=Object.getOwnPropertyDescriptor,qr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Gr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Vr(e,r,i),i};n.UUIActionBarElement=class extends n.UUIButtonGroupElement{},n.UUIActionBarElement.styles=[...n.UUIButtonGroupElement.styles,d`::slotted(*){--uui-button-padding-left-factor:0.5;--uui-button-padding-right-factor:0.5}::slotted(uui-button:first-child){--uui-button-border-radius:50px 0 0 50px;--uui-button-padding-left-factor:2}::slotted(uui-button:last-child){--uui-button-border-radius:0 50px 50px 0;--uui-button-padding-right-factor:2}::slotted(uui-button:first-child:last-child){--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:2;--uui-button-padding-right-factor:2}::slotted([look=outline]),::slotted([look=placeholder]){--uui-button-padding-left-factor:1;--uui-button-padding-right-factor:1}::slotted(uui-button[look=outline]:first-child),::slotted(uui-button[look=placeholder]:first-child){--uui-button-border-radius:50px 0 0 50px;--uui-button-padding-left-factor:1.5}::slotted(uui-button[look=outline]:last-child),::slotted(uui-button[look=placeholder]:last-child){--uui-button-border-radius:0 50px 50px 0;--uui-button-padding-right-factor:1.5}::slotted(uui-button[look=outline]:first-child:last-child),::slotted(uui-button[look=placeholder]:first-child:last-child){--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:1.5;--uui-button-padding-right-factor:1.5}`],n.UUIActionBarElement=qr([c("uui-action-bar")],n.UUIActionBarElement);/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */const Rr=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function l(t){return(e,r)=>r!==void 0?((o,i,s)=>{i.constructor.createProperty(s,o)})(t,e,r):Rr(t,e)}/**
23
+ */const Wr=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(r){r.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function l(t){return(e,r)=>r!==void 0?((o,i,s)=>{i.constructor.createProperty(s,o)})(t,e,r):Wr(t,e)}/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
@@ -28,19 +28,19 @@
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */const wt=({finisher:t,descriptor:e})=>(r,o)=>{var i;if(o===void 0){const s=(i=r.originalKey)!==null&&i!==void 0?i:r.key,a=e!=null?{kind:"method",placement:"prototype",key:s,descriptor:e(r.key)}:{...r,key:s};return t!=null&&(a.finisher=function(v){t(v,s)}),a}{const s=r.constructor;e!==void 0&&Object.defineProperty(r,o,e(o)),t?.(s,o)}};/**
31
+ */const Ct=({finisher:t,descriptor:e})=>(r,o)=>{var i;if(o===void 0){const s=(i=r.originalKey)!==null&&i!==void 0?i:r.key,a=e!=null?{kind:"method",placement:"prototype",key:s,descriptor:e(r.key)}:{...r,key:s};return t!=null&&(a.finisher=function(v){t(v,s)}),a}{const s=r.constructor;e!==void 0&&Object.defineProperty(r,o,e(o)),t?.(s,o)}};/**
32
32
  * @license
33
33
  * Copyright 2017 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
35
- */function C(t,e){return wt({descriptor:r=>{const o={get(){var i,s;return(s=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(t))!==null&&s!==void 0?s:null},enumerable:!0,configurable:!0};if(e){const i=typeof r=="symbol"?Symbol():"__"+r;o.get=function(){var s,a;return this[i]===void 0&&(this[i]=(a=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(t))!==null&&a!==void 0?a:null),this[i]}}return o}})}/**
35
+ */function C(t,e){return Ct({descriptor:r=>{const o={get(){var i,s;return(s=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(t))!==null&&s!==void 0?s:null},enumerable:!0,configurable:!0};if(e){const i=typeof r=="symbol"?Symbol():"__"+r;o.get=function(){var s,a;return this[i]===void 0&&(this[i]=(a=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(t))!==null&&a!==void 0?a:null),this[i]}}return o}})}/**
36
36
  * @license
37
37
  * Copyright 2017 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */function Fr(t){return wt({descriptor:e=>({get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelectorAll(t))!==null&&o!==void 0?o:[]},enumerable:!0,configurable:!0})})}/**
39
+ */function Kr(t){return Ct({descriptor:e=>({get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelectorAll(t))!==null&&o!==void 0?o:[]},enumerable:!0,configurable:!0})})}/**
40
40
  * @license
41
41
  * Copyright 2021 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var Et;const Vr=((Et=window.HTMLSlotElement)===null||Et===void 0?void 0:Et.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(r=>r.nodeType===Node.ELEMENT_NODE);function W(t){const{slot:e,selector:r}=t??{};return wt({descriptor:o=>({get(){var i;const s="slot"+(e?`[name=${e}]`:":not([name])"),a=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(s),v=a!=null?Vr(a,t):[];return r?v.filter(b=>b.matches(r)):v},enumerable:!0,configurable:!0})})}var Gr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Fe=(t,e,r,o)=>{for(var i=o>1?void 0:o?qr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Gr(e,r,i),i};n.UUIAvatarGroupElement=class extends h{constructor(){super(...arguments);this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(t){t.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((t,e)=>{t.style.display=e<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return u`<slot @slotchange="${this._onSlotChange}"></slot>${this._isLimitExceeded()?u`<small id="overflow-indication">+${this._avatarArray.length-this.limit}</small>`:""}`}},n.UUIAvatarGroupElement.styles=[d`:host{display:inline-flex;align-items:center;padding-left:3px;padding-right:3px}::slotted(uui-avatar){margin-left:-.2em;margin-right:-.2em;border:.1em solid var(--uui-avatar-border-color)}#overflow-indication{margin-left:6px}`],Fe([W({selector:"uui-avatar, [uui-avatar]",flatten:!0})],n.UUIAvatarGroupElement.prototype,"_avatarNodes",2),Fe([g()],n.UUIAvatarGroupElement.prototype,"_avatarArray",2),Fe([l({type:Number,attribute:!0})],n.UUIAvatarGroupElement.prototype,"limit",2),n.UUIAvatarGroupElement=Fe([c("uui-avatar-group")],n.UUIAvatarGroupElement);var Wr=Object.defineProperty,Kr=Object.getOwnPropertyDescriptor,he=(t,e,r,o)=>{for(var i=o>1?void 0:o?Kr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Wr(e,r,i),i};n.UUIAvatarElement=class extends h{constructor(){super(...arguments);this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(t){const e=this._name;this._name=t,this.initials=this.createInitials(this._name),this.requestUpdate("title",e)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(t){let e="";if(t){const r=t.match(/(\w+)/g)||[];e=r[0].substring(0,1),r.length>1&&(e+=r[r.length-1].substring(0,1))}return e.toUpperCase()}renderImage(){return u`<img src="${this.imgSrc}" srcset="${this.imgSrcset}" alt="${this.initials}" title="${this.name}">`}render(){return u`${this.imgSrc?this.renderImage():""} ${this.imgSrc?"":this.initials}<slot></slot>`}},n.UUIAvatarElement.styles=[d`:host{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;overflow:hidden;border-radius:50%;font-weight:700;-webkit-font-smoothing:subpixel-antialiased;width:calc(2em + 4px);height:calc(2em + 4px);user-select:none;aspect-ratio:1;background-color:var(--uui-color-spanish-pink,#f5c1bc);color:var(--uui-color-space-cadet,#1b264f)}:host([overflow]){overflow:unset}img{object-fit:cover;height:100%;width:100%;overflow:hidden;border-radius:50%}`],he([l({type:Boolean,attribute:!0,reflect:!0})],n.UUIAvatarElement.prototype,"overflow",2),he([l({type:String,attribute:"img-src"})],n.UUIAvatarElement.prototype,"imgSrc",2),he([l({type:String,attribute:"img-srcset"})],n.UUIAvatarElement.prototype,"imgSrcset",2),he([l({type:String,reflect:!0})],n.UUIAvatarElement.prototype,"name",1),he([g()],n.UUIAvatarElement.prototype,"initials",2),n.UUIAvatarElement=he([c("uui-avatar")],n.UUIAvatarElement);var Yr=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,It=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Yr(e,r,i),i};n.UUIBadgeElement=class extends h{constructor(){super(...arguments);this.look="danger",this.attention=!1}render(){return u`<slot></slot>`}},n.UUIBadgeElement.styles=[d`:host{position:var(--uui-badge-position,absolute);display:flex;justify-content:center;align-items:center;padding:var(--uui-size-1,3px) var(--uui-size-2,6px);inset:var(--uui-badge-inset,-8px -8px auto auto);text-align:center;font-size:var(--uui-badge-font-size,var(--uui-type-small-size,12px));font-weight:900;line-height:1;margin-right:0;min-width:var(--uui-size-8,24px);min-height:var(--uui-size-8,24px);box-sizing:border-box;border-width:var(--uui-badge-border-width,1px);border-style:solid;border-color:var(--uui-badge-border-color,var(--uui-interface-surface,#fefefe));border-radius:var(--uui-size-4,12px);background-color:var(--uui-badge-background-color,var(--uui-interface-surface,#fefefe));color:var(--uui-badge-contrast,var(--uui-interface-contrast,#060606))}::slotted(uui-icon){margin-left:-.2em;margin-right:-.2em}@keyframes --uui-badge-bounce{0%{transform:translateY(0)}20%{transform:translateY(-6px)}40%{transform:translateY(0)}55%{transform:translateY(-3px)}70%{transform:translateY(0)}100%{transform:translateY(0)}}:host([attention]){animation-duration:1.4s;animation-iteration-count:infinite;animation-name:--uui-badge-bounce;animation-timing-function:ease}@media (prefers-reduced-motion){:host([attention]){animation:none}}:host([look=primary]){background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-primary-border-style,solid));border-color:var(--uui-look-primary-border,#1b264f)}:host([look=secondary]){background-color:var(--uui-look-secondary-surface,#e2dad4);color:var(--uui-look-secondary-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-secondary-border-style,solid));border-color:var(--uui-look-secondary-border,#e2dad4)}:host([look=outline]){background-color:var(--uui-look-outline-surface,transparent);color:var(--uui-look-outline-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-outline-border-style,solid));border-color:var(--uui-look-outline-border,#1b264f)}:host([look=placeholder]){background-color:var(--uui-look-placeholder-surface,transparent);color:var(--uui-look-placeholder-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-placeholder-border-style,dashed));border-color:var(--uui-look-placeholder-border,#1b264f)}:host([look=positive]){background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-positive-border-style,solid));border-color:var(--uui-look-positive-border,#25aa60)}:host([look=warning]){background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606);border-style:var(--uui-badge-border-style,var(--uui-look-warning-border-style,solid));border-color:var(--uui-look-warning-border,#fad634)}:host([look=danger]){background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-danger-border-style,solid));border-color:var(--uui-look-danger-border,#d42054)}`],It([l({type:String,reflect:!0})],n.UUIBadgeElement.prototype,"look",2),It([l({type:Boolean,reflect:!0})],n.UUIBadgeElement.prototype,"attention",2),n.UUIBadgeElement=It([c("uui-badge")],n.UUIBadgeElement);var Zr=Object.defineProperty,Qr=Object.getOwnPropertyDescriptor,Jr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Qr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Zr(e,r,i),i};const Ve=t=>{class e extends t{constructor(){super(...arguments);this.active=!1}}return Jr([l({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var eo=Object.defineProperty,to=Object.getOwnPropertyDescriptor,yi=(t,e,r,o)=>{for(var i=o>1?void 0:o?to(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&eo(e,r,i),i};const De=(t,e)=>{class r extends e{constructor(){super(...arguments);this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return u`${this._labelSlotHasContent===!1?u`<span class="label">${this.label}</span>`:""}<slot class="label" style="${this._labelSlotHasContent?"":"visibility: hidden"}" name="${t||""}" @slotchange="${this.labelSlotChanged}"></slot>`}}return yi([l({type:String})],r.prototype,"label",2),yi([g()],r.prototype,"_labelSlotHasContent",2),r};var io=Object.defineProperty,Ui=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,wi=(t,e,r)=>e in t?io(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ei=(t,e)=>{for(var r in e||(e={}))ro.call(e,r)&&wi(t,r,e[r]);if(Ui)for(var r of Ui(e))oo.call(e,r)&&wi(t,r,e[r]);return t};const no={composed:!0};class so extends Event{constructor(e,r={}){super(e,Ei(Ei({},no),r));this.detail=r.detail||{}}}var ao=Object.defineProperty,Ii=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,$i=(t,e,r)=>e in t?ao(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,xi=(t,e)=>{for(var r in e||(e={}))lo.call(e,r)&&$i(t,r,e[r]);if(Ii)for(var r of Ii(e))uo.call(e,r)&&$i(t,r,e[r]);return t};class pe extends so{constructor(e,r={}){super(e,xi(xi({},{bubbles:!0}),r))}}pe.SELECTED="selected",pe.UNSELECTED="unselected";var co=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,Ci=(t,e,r,o)=>{for(var i=o>1?void 0:o?ho(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&co(e,r,i),i};const Le=t=>{class e extends t{constructor(...o){super(...o);this._selectable=!1,this.unselectable=!0,this.selected=!1,this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}handleSelectKeydown(o){o.key!==" "&&o.key!=="Enter"||(o.preventDefault(),this._handleClick())}_select(){!this.selectable||(this.selected=!0,this.dispatchEvent(new pe(pe.SELECTED)))}_unselect(){!this.unselectable||(this.selected=!1,this.dispatchEvent(new pe(pe.UNSELECTED)))}_handleClick(){this.unselectable===!1?this._select():this.selected?this._unselect():this._select()}}return Ci([l({type:Boolean,reflect:!0})],e.prototype,"selectable",1),Ci([l({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var po=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,bo=(t,e,r,o)=>{for(var i=o>1?void 0:o?vo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&po(e,r,i),i};const Ge=t=>{class e extends t{constructor(){super(...arguments);this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return bo([l({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var fo=Object.defineProperty,Pi=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,ki=(t,e,r)=>e in t?fo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oi=(t,e)=>{for(var r in e||(e={}))mo.call(e,r)&&ki(t,r,e[r]);if(Pi)for(var r of Pi(e))go.call(e,r)&&ki(t,r,e[r]);return t};const _o={composed:!0};class zi extends Event{constructor(e,r={}){super(e,Oi(Oi({},_o),r));this.detail=r.detail||{}}}var yo=Object.defineProperty,Si=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,Ai=(t,e,r)=>e in t?yo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Di=(t,e)=>{for(var r in e||(e={}))Uo.call(e,r)&&Ai(t,r,e[r]);if(Si)for(var r of Si(e))wo.call(e,r)&&Ai(t,r,e[r]);return t};class ve extends zi{constructor(e,r={}){super(e,Di(Di({},{bubbles:!0}),r))}}ve.VALID="valid",ve.INVALID="invalid";var Eo=Object.defineProperty,Li=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,Ti=(t,e,r)=>e in t?Eo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ni=(t,e)=>{for(var r in e||(e={}))Io.call(e,r)&&Ti(t,r,e[r]);if(Li)for(var r of Li(e))$o.call(e,r)&&Ti(t,r,e[r]);return t};class Bi extends zi{constructor(e,r={}){super(e,Ni(Ni({},{bubbles:!0}),r))}}Bi.SELECTED="selected",Bi.UNSELECTED="unselected";var xo=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,K=(t,e,r,o)=>{for(var i=o>1?void 0:o?Co(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&xo(e,r,i),i};const j=t=>{class e extends t{constructor(...o){super(...o);this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const a={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(a),a}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new ve(ve.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new ve(ve.VALID)))}updated(o){super.updated(o),this._runValidators()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,K([l({type:String})],e.prototype,"name",2),K([l()],e.prototype,"value",1),K([l({type:Boolean,reflect:!0})],e.prototype,"pristine",2),K([l({type:Boolean,reflect:!0})],e.prototype,"required",2),K([l({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),K([l({type:Boolean,reflect:!0})],e.prototype,"error",2),K([l({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};var Po=Object.defineProperty,Hi=Object.getOwnPropertySymbols,ko=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,ji=(t,e,r)=>e in t?Po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mi=(t,e)=>{for(var r in e||(e={}))ko.call(e,r)&&ji(t,r,e[r]);if(Hi)for(var r of Hi(e))Oo.call(e,r)&&ji(t,r,e[r]);return t};const zo={composed:!0};class x extends Event{constructor(e,r={}){super(e,Mi(Mi({},zo),r));this.detail=r.detail||{}}}var So=Object.defineProperty,Ri=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Do=Object.prototype.propertyIsEnumerable,Fi=(t,e,r)=>e in t?So(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Vi=(t,e)=>{for(var r in e||(e={}))Ao.call(e,r)&&Fi(t,r,e[r]);if(Ri)for(var r of Ri(e))Do.call(e,r)&&Fi(t,r,e[r]);return t};class be extends x{constructor(e,r={}){super(e,Vi(Vi({},{bubbles:!0}),r))}}be.VALID="valid",be.INVALID="invalid";var Lo=Object.defineProperty,Gi=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,qi=(t,e,r)=>e in t?Lo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Wi=(t,e)=>{for(var r in e||(e={}))To.call(e,r)&&qi(t,r,e[r]);if(Gi)for(var r of Gi(e))No.call(e,r)&&qi(t,r,e[r]);return t};class fe extends x{constructor(e,r={}){super(e,Wi(Wi({},{bubbles:!0}),r))}}fe.SELECTED="selected",fe.UNSELECTED="unselected";class qe extends x{}qe.CHANGE="change";var Bo=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor,We=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ho(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Bo(e,r,i),i};class D extends j(De("",h)){constructor(e="checkbox"){super();this.labelPosition="right",this._checked=!1,this.disabled=!1,this._value===""&&(this._value="on"),this.inputRole=e}get value(){return this._value}set value(e){const r=this._value;this._value=e,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",r)}get checked(){return this._checked}set checked(e){const r=this._checked;this._checked=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",r)}getFormElement(){return this._input}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(e){var r;super.firstUpdated(e);const o=(r=this.shadowRoot)==null?void 0:r.querySelector("label");let i=!1;this._input.addEventListener("blur",()=>{i===!1&&this.style.setProperty("--uui-show-focus-outline","1"),i=!1}),o.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),i=!0}),o.addEventListener("mouseup",()=>{i=!1})}focus(){this._input.focus()}click(){this._input.click()}_onInputChange(){this.pristine=!1,this.checked=this._input.checked,this.dispatchEvent(new qe(qe.CHANGE))}render(){return u`<label><input id="input" type="checkbox" @change="${this._onInputChange}" .disabled="${this.disabled}" .checked="${this.checked}" aria-checked="${this.checked?"true":"false"}" aria-label="${this.label}" role="${this.inputRole}"> ${this.renderCheckbox()} ${this.renderLabel()}</label>`}}D.styles=[d`:host{display:inline-block}label{cursor:pointer;user-select:none;display:flex;flex-wrap:nowrap;align-items:center;justify-items:center;gap:var(--uui-size-3,9px)}input{position:absolute;height:0;width:0;margin-top:-4px}:host([label-position=left]) label{flex-direction:row-reverse}:host([label-position=top]) label{gap:var(--uui-size-half-base-unit);flex-direction:column-reverse}:host([label-position=bottom]) label{gap:var(--uui-size-half-base-unit);flex-direction:column}:host([disabled]) .label{opacity:.5}`],We([l({type:String,attribute:"label-position",reflect:!0})],D.prototype,"labelPosition",2),We([l({type:Boolean})],D.prototype,"checked",1),We([l({type:Boolean,reflect:!0})],D.prototype,"disabled",2),We([C("#input")],D.prototype,"_input",2);var jo=`.uui-text {
43
+ */var Pt;const Yr=((Pt=window.HTMLSlotElement)===null||Pt===void 0?void 0:Pt.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(r=>r.nodeType===Node.ELEMENT_NODE);function W(t){const{slot:e,selector:r}=t??{};return Ct({descriptor:o=>({get(){var i;const s="slot"+(e?`[name=${e}]`:":not([name])"),a=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(s),v=a!=null?Yr(a,t):[];return r?v.filter(b=>b.matches(r)):v},enumerable:!0,configurable:!0})})}var Xr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,Ve=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xr(e,r,i),i};n.UUIAvatarGroupElement=class extends h{constructor(){super(...arguments);this._avatarArray=[],this.limit=0}firstUpdated(){this._setAvatarArray()}_onSlotChange(){this._setAvatarArray(),this._updateAvatarVisibility()}_setAvatarArray(){this._avatarArray=this._avatarNodes?this._avatarNodes:[]}updated(t){t.has("limit")&&this._updateAvatarVisibility()}_updateAvatarVisibility(){this._avatarArray.forEach((t,e)=>{t.style.display=e<this.limit||this.limit===0?"":"none"})}_isLimitExceeded(){return this.limit!==0&&this._avatarArray.length>this.limit}render(){return u`<slot @slotchange="${this._onSlotChange}"></slot>${this._isLimitExceeded()?u`<small id="overflow-indication">+${this._avatarArray.length-this.limit}</small>`:""}`}},n.UUIAvatarGroupElement.styles=[d`:host{display:inline-flex;align-items:center;padding-left:3px;padding-right:3px}::slotted(uui-avatar){margin-left:-.2em;margin-right:-.2em;border:.1em solid var(--uui-avatar-border-color)}#overflow-indication{margin-left:6px}`],Ve([W({selector:"uui-avatar, [uui-avatar]",flatten:!0})],n.UUIAvatarGroupElement.prototype,"_avatarNodes",2),Ve([g()],n.UUIAvatarGroupElement.prototype,"_avatarArray",2),Ve([l({type:Number,attribute:!0})],n.UUIAvatarGroupElement.prototype,"limit",2),n.UUIAvatarGroupElement=Ve([c("uui-avatar-group")],n.UUIAvatarGroupElement);var Qr=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,he=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jr(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Qr(e,r,i),i};n.UUIAvatarElement=class extends h{constructor(){super(...arguments);this.overflow=!0,this.imgSrc="",this.imgSrcset="",this._name="",this.initials=""}get name(){return this._name}set name(t){const e=this._name;this._name=t,this.initials=this.createInitials(this._name),this.requestUpdate("title",e)}connectedCallback(){super.connectedCallback(),this.name||console.warn(this.tagName+" needs a `name`",this)}createInitials(t){let e="";if(t){const r=t.match(/(\w+)/g)||[];e=r[0].substring(0,1),r.length>1&&(e+=r[r.length-1].substring(0,1))}return e.toUpperCase()}renderImage(){return u`<img src="${this.imgSrc}" srcset="${this.imgSrcset}" alt="${this.initials}" title="${this.name}">`}render(){return u`${this.imgSrc?this.renderImage():""} ${this.imgSrc?"":this.initials}<slot></slot>`}},n.UUIAvatarElement.styles=[d`:host{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;overflow:hidden;border-radius:50%;font-weight:700;-webkit-font-smoothing:subpixel-antialiased;width:calc(2em + 4px);height:calc(2em + 4px);user-select:none;aspect-ratio:1;background-color:var(--uui-color-spanish-pink,#f5c1bc);color:var(--uui-color-space-cadet,#1b264f)}:host([overflow]){overflow:unset}img{object-fit:cover;height:100%;width:100%;overflow:hidden;border-radius:50%}`],he([l({type:Boolean,attribute:!0,reflect:!0})],n.UUIAvatarElement.prototype,"overflow",2),he([l({type:String,attribute:"img-src"})],n.UUIAvatarElement.prototype,"imgSrc",2),he([l({type:String,attribute:"img-srcset"})],n.UUIAvatarElement.prototype,"imgSrcset",2),he([l({type:String,reflect:!0})],n.UUIAvatarElement.prototype,"name",1),he([g()],n.UUIAvatarElement.prototype,"initials",2),n.UUIAvatarElement=he([c("uui-avatar")],n.UUIAvatarElement);var eo=Object.defineProperty,to=Object.getOwnPropertyDescriptor,kt=(t,e,r,o)=>{for(var i=o>1?void 0:o?to(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&eo(e,r,i),i};n.UUIBadgeElement=class extends h{constructor(){super(...arguments);this.look="danger",this.attention=!1}render(){return u`<slot></slot>`}},n.UUIBadgeElement.styles=[d`:host{position:var(--uui-badge-position,absolute);display:flex;justify-content:center;align-items:center;padding:var(--uui-size-1,3px) var(--uui-size-2,6px);inset:var(--uui-badge-inset,-8px -8px auto auto);text-align:center;font-size:var(--uui-badge-font-size,var(--uui-type-small-size,12px));font-weight:900;line-height:1;margin-right:0;min-width:var(--uui-size-8,24px);min-height:var(--uui-size-8,24px);box-sizing:border-box;border-width:var(--uui-badge-border-width,1px);border-style:solid;border-color:var(--uui-badge-border-color,var(--uui-interface-surface,#fefefe));border-radius:var(--uui-size-4,12px);background-color:var(--uui-badge-background-color,var(--uui-interface-surface,#fefefe));color:var(--uui-badge-contrast,var(--uui-interface-contrast,#060606))}::slotted(uui-icon){margin-left:-.2em;margin-right:-.2em}@keyframes --uui-badge-bounce{0%{transform:translateY(0)}20%{transform:translateY(-6px)}40%{transform:translateY(0)}55%{transform:translateY(-3px)}70%{transform:translateY(0)}100%{transform:translateY(0)}}:host([attention]){animation-duration:1.4s;animation-iteration-count:infinite;animation-name:--uui-badge-bounce;animation-timing-function:ease}@media (prefers-reduced-motion){:host([attention]){animation:none}}:host([look=primary]){background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-primary-border-style,solid));border-color:var(--uui-look-primary-border,#1b264f)}:host([look=secondary]){background-color:var(--uui-look-secondary-surface,#e2dad4);color:var(--uui-look-secondary-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-secondary-border-style,solid));border-color:var(--uui-look-secondary-border,#e2dad4)}:host([look=outline]){background-color:var(--uui-look-outline-surface,transparent);color:var(--uui-look-outline-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-outline-border-style,solid));border-color:var(--uui-look-outline-border,#1b264f)}:host([look=placeholder]){background-color:var(--uui-look-placeholder-surface,transparent);color:var(--uui-look-placeholder-contrast,#1b264f);border-style:var(--uui-badge-border-style,var(--uui-look-placeholder-border-style,dashed));border-color:var(--uui-look-placeholder-border,#1b264f)}:host([look=positive]){background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-positive-border-style,solid));border-color:var(--uui-look-positive-border,#25aa60)}:host([look=warning]){background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606);border-style:var(--uui-badge-border-style,var(--uui-look-warning-border-style,solid));border-color:var(--uui-look-warning-border,#fad634)}:host([look=danger]){background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe);border-style:var(--uui-badge-border-style,var(--uui-look-danger-border-style,solid));border-color:var(--uui-look-danger-border,#d42054)}`],kt([l({type:String,reflect:!0})],n.UUIBadgeElement.prototype,"look",2),kt([l({type:Boolean,reflect:!0})],n.UUIBadgeElement.prototype,"attention",2),n.UUIBadgeElement=kt([c("uui-badge")],n.UUIBadgeElement);var io=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,oo=(t,e,r,o)=>{for(var i=o>1?void 0:o?ro(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&io(e,r,i),i};const Ge=t=>{class e extends t{constructor(){super(...arguments);this.active=!1}}return oo([l({type:Boolean,reflect:!0})],e.prototype,"active",2),e};var no=Object.defineProperty,so=Object.getOwnPropertyDescriptor,$i=(t,e,r,o)=>{for(var i=o>1?void 0:o?so(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&no(e,r,i),i};const De=(t,e)=>{class r extends e{constructor(){super(...arguments);this._labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}labelSlotChanged(i){this._labelSlotHasContent=i.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return u`${this._labelSlotHasContent===!1?u`<span class="label">${this.label}</span>`:""}<slot class="label" style="${this._labelSlotHasContent?"":"visibility: hidden"}" name="${t||""}" @slotchange="${this.labelSlotChanged}"></slot>`}}return $i([l({type:String})],r.prototype,"label",2),$i([g()],r.prototype,"_labelSlotHasContent",2),r};var ao=Object.defineProperty,Ii=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,xi=(t,e,r)=>e in t?ao(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ci=(t,e)=>{for(var r in e||(e={}))lo.call(e,r)&&xi(t,r,e[r]);if(Ii)for(var r of Ii(e))uo.call(e,r)&&xi(t,r,e[r]);return t};const co={composed:!0};class ho extends Event{constructor(e,r={}){super(e,Ci(Ci({},co),r));this.detail=r.detail||{}}}var po=Object.defineProperty,Pi=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,ki=(t,e,r)=>e in t?po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oi=(t,e)=>{for(var r in e||(e={}))vo.call(e,r)&&ki(t,r,e[r]);if(Pi)for(var r of Pi(e))bo.call(e,r)&&ki(t,r,e[r]);return t};class pe extends ho{constructor(e,r={}){super(e,Oi(Oi({},{bubbles:!0}),r))}}pe.SELECTED="selected",pe.UNSELECTED="unselected";var fo=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,zi=(t,e,r,o)=>{for(var i=o>1?void 0:o?mo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&fo(e,r,i),i};const Le=t=>{class e extends t{constructor(...o){super(...o);this._selectable=!1,this.unselectable=!0,this.selected=!1,this.selectableTarget=this,this.addEventListener("click",this._handleClick),this.addEventListener("keydown",this.handleSelectKeydown)}get selectable(){return this._selectable}set selectable(o){const i=this._selectable;this._selectable=o,this.setAttribute("tabindex",`${o?"0":"-1"}`),this.requestUpdate("selected",i)}handleSelectKeydown(o){if(o.composedPath().indexOf(this.selectableTarget)!==-1){if(o.key!==" "&&o.key!=="Enter")return;o.preventDefault(),this._toggleSelect()}}_select(){!this.selectable||(this.selected=!0,this.dispatchEvent(new pe(pe.SELECTED)))}_unselect(){!this.unselectable||(this.selected=!1,this.dispatchEvent(new pe(pe.UNSELECTED)))}_handleClick(o){o.composedPath().indexOf(this.selectableTarget)!==-1&&this._toggleSelect()}_toggleSelect(){this.unselectable===!1?this._select():this.selected?this._unselect():this._select()}}return zi([l({type:Boolean,reflect:!0})],e.prototype,"selectable",1),zi([l({type:Boolean,reflect:!0})],e.prototype,"selected",2),e};var go=Object.defineProperty,_o=Object.getOwnPropertyDescriptor,yo=(t,e,r,o)=>{for(var i=o>1?void 0:o?_o(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&go(e,r,i),i};const qe=t=>{class e extends t{constructor(){super(...arguments);this._selectOnly=!1}get selectOnly(){return this._selectOnly}set selectOnly(o){const i=this._selectOnly;this._selectOnly=o,this.requestUpdate("selectOnly",i)}}return yo([l({type:Boolean,reflect:!0,attribute:"select-only"})],e.prototype,"selectOnly",1),e};var Uo=Object.defineProperty,Si=Object.getOwnPropertySymbols,wo=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Ai=(t,e,r)=>e in t?Uo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Di=(t,e)=>{for(var r in e||(e={}))wo.call(e,r)&&Ai(t,r,e[r]);if(Si)for(var r of Si(e))Eo.call(e,r)&&Ai(t,r,e[r]);return t};const $o={composed:!0};class Li extends Event{constructor(e,r={}){super(e,Di(Di({},$o),r));this.detail=r.detail||{}}}var Io=Object.defineProperty,Ti=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable,Ni=(t,e,r)=>e in t?Io(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Bi=(t,e)=>{for(var r in e||(e={}))xo.call(e,r)&&Ni(t,r,e[r]);if(Ti)for(var r of Ti(e))Co.call(e,r)&&Ni(t,r,e[r]);return t};class ve extends Li{constructor(e,r={}){super(e,Bi(Bi({},{bubbles:!0}),r))}}ve.VALID="valid",ve.INVALID="invalid";var Po=Object.defineProperty,Hi=Object.getOwnPropertySymbols,ko=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,ji=(t,e,r)=>e in t?Po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mi=(t,e)=>{for(var r in e||(e={}))ko.call(e,r)&&ji(t,r,e[r]);if(Hi)for(var r of Hi(e))Oo.call(e,r)&&ji(t,r,e[r]);return t};class Ri extends Li{constructor(e,r={}){super(e,Mi(Mi({},{bubbles:!0}),r))}}Ri.SELECTED="selected",Ri.UNSELECTED="unselected";var zo=Object.defineProperty,So=Object.getOwnPropertyDescriptor,K=(t,e,r,o)=>{for(var i=o>1?void 0:o?So(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&zo(e,r,i),i};const j=t=>{class e extends t{constructor(...o){super(...o);this.name="",this._validityState={},this.pristine=!0,this.required=!1,this.requiredMessage="This field is required",this.error=!1,this.errorMessage="This field is invalid",this._value="",this._form=null,this._validators=[],this._formCtrlElements=[],this._onFormSubmit=()=>{this.pristine=!1},this._internals=this.attachInternals(),this.addValidator("valueMissing",()=>this.requiredMessage,()=>this.hasAttribute("required")&&this.hasValue()===!1),this.addValidator("customError",()=>this.errorMessage,()=>this.error),this.addEventListener("blur",()=>{this.pristine=!1})}get value(){return this._value}set value(o){const i=this._value;this._value=o,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",i)}hasValue(){return this.value!==""}disconnectedCallback(){super.disconnectedCallback(),this._removeFormListeners()}_removeFormListeners(){this._form&&this._form.removeEventListener("submit",this._onFormSubmit)}addValidator(o,i,s){const a={flagKey:o,getMessageMethod:i,checkMethod:s};return this._validators.push(a),a}removeValidator(o){const i=this._validators.indexOf(o);i!==-1&&this._validators.splice(i,1)}addFormControlElement(o){this._formCtrlElements.push(o)}setCustomValidity(o){this._customValidityObject&&this.removeValidator(this._customValidityObject),o!=null&&o!==""&&(this._customValidityObject=this.addValidator("customError",()=>o,()=>!0)),this._runValidators()}_runValidators(){this._validityState={},this._formCtrlElements.forEach(i=>{for(const s in i.validity)s!=="valid"&&i.validity[s]&&(this._validityState[s]=!0,this._internals.setValidity(this._validityState,i.validationMessage,i))}),this._validators.forEach(i=>{i.checkMethod()&&(this._validityState[i.flagKey]=!0,this._internals.setValidity(this._validityState,i.getMessageMethod(),this.getFormElement()))});const o=Object.values(this._validityState).includes(!0);this._validityState.valid=!o,o?this.dispatchEvent(new ve(ve.INVALID)):(this._internals.setValidity({}),this.dispatchEvent(new ve(ve.VALID)))}updated(o){super.updated(o),this._runValidators()}formAssociatedCallback(){this._removeFormListeners(),this._form=this._internals.form,this._form&&(this._form.hasAttribute("submit-invalid")&&(this.pristine=!1),this._form.addEventListener("submit",this._onFormSubmit))}formResetCallback(){this.pristine=!0,this.value=this.getAttribute("value")||""}checkValidity(){var o;for(const i in this._formCtrlElements)if(this._formCtrlElements[i].checkValidity()===!1)return!1;return(o=this._internals)==null?void 0:o.checkValidity()}get validity(){return this._validityState}get validationMessage(){var o;return(o=this._internals)==null?void 0:o.validationMessage}}return e.formAssociated=!0,K([l({type:String})],e.prototype,"name",2),K([l()],e.prototype,"value",1),K([l({type:Boolean,reflect:!0})],e.prototype,"pristine",2),K([l({type:Boolean,reflect:!0})],e.prototype,"required",2),K([l({type:String,attribute:"required-message"})],e.prototype,"requiredMessage",2),K([l({type:Boolean,reflect:!0})],e.prototype,"error",2),K([l({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2),e};var Ao=Object.defineProperty,Fi=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,Lo=Object.prototype.propertyIsEnumerable,Vi=(t,e,r)=>e in t?Ao(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Gi=(t,e)=>{for(var r in e||(e={}))Do.call(e,r)&&Vi(t,r,e[r]);if(Fi)for(var r of Fi(e))Lo.call(e,r)&&Vi(t,r,e[r]);return t};const To={composed:!0};class x extends Event{constructor(e,r={}){super(e,Gi(Gi({},To),r));this.detail=r.detail||{}}}var No=Object.defineProperty,qi=Object.getOwnPropertySymbols,Bo=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable,Wi=(t,e,r)=>e in t?No(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ki=(t,e)=>{for(var r in e||(e={}))Bo.call(e,r)&&Wi(t,r,e[r]);if(qi)for(var r of qi(e))Ho.call(e,r)&&Wi(t,r,e[r]);return t};class be extends x{constructor(e,r={}){super(e,Ki(Ki({},{bubbles:!0}),r))}}be.VALID="valid",be.INVALID="invalid";var jo=Object.defineProperty,Yi=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable,Xi=(t,e,r)=>e in t?jo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Zi=(t,e)=>{for(var r in e||(e={}))Mo.call(e,r)&&Xi(t,r,e[r]);if(Yi)for(var r of Yi(e))Ro.call(e,r)&&Xi(t,r,e[r]);return t};class fe extends x{constructor(e,r={}){super(e,Zi(Zi({},{bubbles:!0}),r))}}fe.SELECTED="selected",fe.UNSELECTED="unselected";class We extends x{}We.CHANGE="change";var Fo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Ke=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Fo(e,r,i),i};class D extends j(De("",h)){constructor(e="checkbox"){super();this.labelPosition="right",this._checked=!1,this.disabled=!1,this._value===""&&(this._value="on"),this.inputRole=e}get value(){return this._value}set value(e){const r=this._value;this._value=e,"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",r)}get checked(){return this._checked}set checked(e){const r=this._checked;this._checked=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",r)}getFormElement(){return this._input}hasValue(){return this.checked}formResetCallback(){super.formResetCallback(),this.checked=this.hasAttribute("checked")}firstUpdated(e){var r;super.firstUpdated(e);const o=(r=this.shadowRoot)==null?void 0:r.querySelector("label");let i=!1;this._input.addEventListener("blur",()=>{i===!1&&this.style.setProperty("--uui-show-focus-outline","1"),i=!1}),o.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0"),i=!0}),o.addEventListener("mouseup",()=>{i=!1})}focus(){this._input.focus()}click(){this._input.click()}_onInputChange(){this.pristine=!1,this.checked=this._input.checked,this.dispatchEvent(new We(We.CHANGE))}render(){return u`<label><input id="input" type="checkbox" @change="${this._onInputChange}" .disabled="${this.disabled}" .checked="${this.checked}" aria-checked="${this.checked?"true":"false"}" aria-label="${this.label}" role="${this.inputRole}"> ${this.renderCheckbox()} ${this.renderLabel()}</label>`}}D.styles=[d`:host{display:inline-block}label{cursor:pointer;user-select:none;display:flex;flex-wrap:nowrap;align-items:center;justify-items:center;gap:var(--uui-size-3,9px)}input{position:absolute;height:0;width:0;margin-top:-4px}:host([label-position=left]) label{flex-direction:row-reverse}:host([label-position=top]) label{gap:var(--uui-size-half-base-unit);flex-direction:column-reverse}:host([label-position=bottom]) label{gap:var(--uui-size-half-base-unit);flex-direction:column}:host([disabled]) .label{opacity:.5}`],Ke([l({type:String,attribute:"label-position",reflect:!0})],D.prototype,"labelPosition",2),Ke([l({type:Boolean})],D.prototype,"checked",1),Ke([l({type:Boolean,reflect:!0})],D.prototype,"disabled",2),Ke([C("#input")],D.prototype,"_input",2);var Go=`.uui-text {
44
44
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
45
45
  font-size: 15px;
46
46
  line-height: calc(var(--uui-size-2,6px) * 4);
@@ -204,31 +204,35 @@
204
204
  margin-top: var(--uui-size-layout-1,24px);
205
205
  margin-bottom: var(--uui-size-layout-1,24px);
206
206
  }
207
- `;const Ke=Pe(jo);var Mo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,Ye=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ro(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Mo(e,r,i),i};n.UUIBoxElement=class extends h{constructor(){super(...arguments);this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._headerSlotHasContent=!1,this._headerSlotChanged=t=>{this._headerSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeader(){return u`<div id="header" class="uui-text" style="${this._headerSlotHasContent||this._headlineSlotHasContent||this.headline!==null?"":"display: none"}"><h5 id="headline" style="${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h5><slot name="header" @slotchange="${this._headerSlotChanged}"></slot></div>`}render(){return u`${this.renderHeader()}<slot></slot>`}},n.UUIBoxElement.styles=[Ke,d`:host{display:block;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe)}#header{display:block;border-bottom:1px solid var(--uui-interface-border,#c4c4c4);padding:var(--uui-size-space-4,12px) var(--uui-size-space-5,18px)}slot:not([name]){display:block;padding:var(--uui-box-default-padding,var(--uui-size-space-5,18px))}`],Ye([l({type:String})],n.UUIBoxElement.prototype,"headline",2),Ye([g()],n.UUIBoxElement.prototype,"_headlineSlotHasContent",2),Ye([g()],n.UUIBoxElement.prototype,"_headerSlotHasContent",2),n.UUIBoxElement=Ye([c("uui-box")],n.UUIBoxElement);var Fo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,$t=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Fo(e,r,i),i};n.UUIBreadcrumbItemElement=class extends h{constructor(){super(...arguments);this.href="#",this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){return u`<a id="link" href="${this.href}"><slot></slot></a><span part="separator"></span>`}renderCurrent(){return u`<span id="last-item"><slot></slot></span>`}render(){return u`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}},n.UUIBreadcrumbItemElement.styles=[d`:host{font-size:var(--uui-type-small-size,12px);color:currentColor}a,a:visited{color:currentColor}a:hover{color:var(--uui-interface-contrast-hover,#1b264f)}a:focus{color:var(--uui-interface-contrast-focus,#060606)}[part=separator]::after{content:'/';speak:never;position:relative;top:1px;margin:-3px 1px 0;color:var(--uui-interface-border,#c4c4c4)}#last-item,#link{padding:0 4px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#link{cursor:pointer}`],$t([l()],n.UUIBreadcrumbItemElement.prototype,"href",2),$t([l({type:Boolean,attribute:"last-item"})],n.UUIBreadcrumbItemElement.prototype,"lastItem",2),n.UUIBreadcrumbItemElement=$t([c("uui-breadcrumb-item")],n.UUIBreadcrumbItemElement);var Go=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,Ki=(t,e,r,o)=>{for(var i=o>1?void 0:o?qo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Go(e,r,i),i};n.UUIBreadcrumbsElement=class extends h{elementIsBreadcrumbItem(t){return t instanceof n.UUIBreadcrumbItemElement}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const t=this.slotNodes[this.slotNodes.length-1];t.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(t)&&(t.lastItem=!0)}}render(){return u`<ol id="breadcrumbs-list"><slot @slotchange="${this.handleSlotChange}"></slot></ol>`}},n.UUIBreadcrumbsElement.styles=[d`:host{display:flex}#breadcrumbs-list{display:flex;list-style-type:decimal;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0;padding-inline-start:0}`],Ki([W({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],n.UUIBreadcrumbsElement.prototype,"slotNodes",2),n.UUIBreadcrumbsElement=Ki([c("uui-breadcrumbs")],n.UUIBreadcrumbsElement);const Wo=d`@keyframes uui-blink{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}`,Ko=Pe("uui-blink 0.9s infinite both"),Yo=d`@keyframes pulse{0%{-webkit-transform:translate(-50%,-50%) scale(.2);transform:translate(-50%,-50%) scale(.2);opacity:.9}80%{-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);opacity:0}100%{-webkit-transform:translate(-50%,-50%) scale(2.2);transform:translate(-50%,-50%) scale(2.2);opacity:0}}`;Pe("pulse 0.8s ease-in-out infinite both");const Xe=d`@keyframes uui-horizontal-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(1px)}30%,50%,70%{transform:translateX(-2px)}40%,60%{transform:translateX(2px)}}`,Ze=Pe("uui-horizontal-shake 600ms ease backwards");/**
207
+ `;const Ye=Pe(Go);var qo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,Xe=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&qo(e,r,i),i};n.UUIBoxElement=class extends h{constructor(){super(...arguments);this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._headerSlotHasContent=!1,this._headerSlotChanged=t=>{this._headerSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeader(){return u`<div id="header" class="uui-text" style="${this._headerSlotHasContent||this._headlineSlotHasContent||this.headline!==null?"":"display: none"}"><h5 id="headline" style="${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h5><slot name="header" @slotchange="${this._headerSlotChanged}"></slot></div>`}render(){return u`${this.renderHeader()}<slot></slot>`}},n.UUIBoxElement.styles=[Ye,d`:host{display:block;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe)}#header{display:block;border-bottom:1px solid var(--uui-interface-border,#c4c4c4);padding:var(--uui-size-space-4,12px) var(--uui-size-space-5,18px)}slot:not([name]){display:block;padding:var(--uui-box-default-padding,var(--uui-size-space-5,18px))}`],Xe([l({type:String})],n.UUIBoxElement.prototype,"headline",2),Xe([g()],n.UUIBoxElement.prototype,"_headlineSlotHasContent",2),Xe([g()],n.UUIBoxElement.prototype,"_headerSlotHasContent",2),n.UUIBoxElement=Xe([c("uui-box")],n.UUIBoxElement);var Ko=Object.defineProperty,Yo=Object.getOwnPropertyDescriptor,Ot=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ko(e,r,i),i};n.UUIBreadcrumbItemElement=class extends h{constructor(){super(...arguments);this.href="#",this.lastItem=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}renderLinkAndSeparator(){return u`<a id="link" href="${this.href}"><slot></slot></a><span part="separator"></span>`}renderCurrent(){return u`<span id="last-item"><slot></slot></span>`}render(){return u`${this.lastItem?this.renderCurrent():this.renderLinkAndSeparator()}`}},n.UUIBreadcrumbItemElement.styles=[d`:host{font-size:var(--uui-type-small-size,12px);color:currentColor}a,a:visited{color:currentColor}a:hover{color:var(--uui-interface-contrast-hover,#1b264f)}a:focus{color:var(--uui-interface-contrast-focus,#060606)}[part=separator]::after{content:'/';speak:never;position:relative;top:1px;margin:-3px 1px 0;color:var(--uui-interface-border,#c4c4c4)}#last-item,#link{padding:0 4px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#link{cursor:pointer}`],Ot([l()],n.UUIBreadcrumbItemElement.prototype,"href",2),Ot([l({type:Boolean,attribute:"last-item"})],n.UUIBreadcrumbItemElement.prototype,"lastItem",2),n.UUIBreadcrumbItemElement=Ot([c("uui-breadcrumb-item")],n.UUIBreadcrumbItemElement);var Xo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,Qi=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xo(e,r,i),i};n.UUIBreadcrumbsElement=class extends h{elementIsBreadcrumbItem(t){return t instanceof n.UUIBreadcrumbItemElement}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label","breadcrumb"),this.setAttribute("role","navigation")}handleSlotChange(){if(this.slotNodes.length>0){const t=this.slotNodes[this.slotNodes.length-1];t.setAttribute("aria-current","page"),this.elementIsBreadcrumbItem(t)&&(t.lastItem=!0)}}render(){return u`<ol id="breadcrumbs-list"><slot @slotchange="${this.handleSlotChange}"></slot></ol>`}},n.UUIBreadcrumbsElement.styles=[d`:host{display:flex}#breadcrumbs-list{display:flex;list-style-type:decimal;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0;padding-inline-start:0}`],Qi([W({flatten:!0,selector:"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]"})],n.UUIBreadcrumbsElement.prototype,"slotNodes",2),n.UUIBreadcrumbsElement=Qi([c("uui-breadcrumbs")],n.UUIBreadcrumbsElement);const Qo=d`@keyframes uui-blink{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}`,Jo=Pe("uui-blink 0.9s infinite both"),en=d`@keyframes pulse{0%{-webkit-transform:translate(-50%,-50%) scale(.2);transform:translate(-50%,-50%) scale(.2);opacity:.9}80%{-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);opacity:0}100%{-webkit-transform:translate(-50%,-50%) scale(2.2);transform:translate(-50%,-50%) scale(2.2);opacity:0}}`;Pe("pulse 0.8s ease-in-out infinite both");const Ze=d`@keyframes uui-horizontal-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(1px)}30%,50%,70%{transform:translateX(-2px)}40%,60%{transform:translateX(2px)}}`,Qe=Pe("uui-horizontal-shake 600ms ease backwards");/**
208
208
  * @license
209
209
  * Copyright 2017 Google LLC
210
210
  * SPDX-License-Identifier: BSD-3-Clause
211
- */const xt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ct=t=>(...e)=>({_$litDirective$:t,values:e});class Pt{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
211
+ */const Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},et=t=>(...e)=>({_$litDirective$:t,values:e});class tt{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
212
212
  * @license
213
213
  * Copyright 2018 Google LLC
214
214
  * SPDX-License-Identifier: BSD-3-Clause
215
- */const Qe=Ct(class extends Pt{constructor(t){var e;if(super(t),t.type!==xt.ATTRIBUTE||t.name!=="style"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const o=t[r];return o==null?e:e+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:r}=t.element;if(this.ct===void 0){this.ct=new Set;for(const o in e)this.ct.add(o);return this.render(e)}this.ct.forEach(o=>{e[o]==null&&(this.ct.delete(o),o.includes("-")?r.removeProperty(o):r[o]="")});for(const o in e){const i=e[o];i!=null&&(this.ct.add(o),o.includes("-")?r.setProperty(o,i):r[o]=i)}return H}});class Je extends x{}Je.CLICK="click";var Xo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,et=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zo(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xo(e,r,i),i};n.UUIButtonInlineCreateElement=class extends h{constructor(){super(...arguments);this._position=0,this.vertical=!1}_onMouseMove(t){this._position=this.vertical?t.offsetY:t.offsetX}_handleClick(t){t.preventDefault(),t.stopImmediatePropagation(),this.dispatchEvent(new Je(Je.CLICK))}render(){return u`<button id="button-wrapper" @mousemove="${this._onMouseMove}" @click="${this._handleClick}" aria-label="${this.label?this.label:"create new element"}"><div id="plus" style="${Qe({left:this.vertical?"":this._position+"px",top:this.vertical?this._position+"px":""})}"><svg id="plus-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg></div></button>`}},n.UUIButtonInlineCreateElement.styles=[Wo,d`:host{display:flex;position:relative;z-index:1}:host(:not([vertical])){height:20px;width:100%;margin:-8px 0}:host([vertical]){height:100%;width:20px;margin:0 -8px}#button-wrapper{display:flex;justify-content:center;align-items:center;position:absolute;z-index:1;outline:0;transition:opacity .24s;display:inline-flex;width:100%;border:none;height:100%;padding:0;text-decoration:none;background:0 0;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;opacity:0}:host(:focus) #button-wrapper,:host(:focus-within) #button-wrapper,:host(:hover) #button-wrapper{opacity:1}#button-wrapper:before{content:'';position:absolute;right:0;left:0;height:2px;background-color:var(--uui-interface-select,#3544b1);border-top:1px solid var(--uui-interface-surface,#fefefe);border-bottom:1px solid var(--uui-interface-surface,#fefefe);border-radius:2px;pointer-events:none;animation:${Ko}}:host(:not([vertical])) #button-wrapper:before{top:50%;transform:translateY(-50%)}:host([vertical]) #button-wrapper:before{height:100%;width:2px;left:50%;transform:translateX(-50%)}:host(:not([vertical]):not(:hover)) #plus:not(:focus){left:calc(50% - 2px)!important}:host([vertical]:not(:hover)) #plus:not(:focus){top:calc(50% - 2px)!important}#plus{position:absolute;display:flex;justify-content:center;align-items:center;pointer-events:none;box-sizing:border-box;width:28px;height:28px;border-radius:3em;font-size:14px;border:2px solid var(--uui-interface-select,#3544b1);color:var(--uui-interface-select,#3544b1);background-color:var(--uui-interface-surface,#fefefe);box-shadow:0 0 0 2px var(--uui-interface-surface,#fefefe);opacity:0;transform:scale(0);transition:transform 240ms ease-in,opacity 240ms,left .1s linear 150ms,top .1s linear 150ms}:host(:focus) #plus,:host(:focus-within) #plus,:host(:hover) #plus{opacity:1;transform:scale(1);transition:transform 240ms cubic-bezier(.175,.885,.32,1.275),opacity 80ms}:host(:not([vertical])) #plus{margin-left:-21px}:host([vertical]) #plus{left:-4px;margin-top:-21px}#button-wrapper:focus #plus{border:2px solid #6ab4f0}#plus-icon{width:50%;fill:currentColor}#button-wrapper:active #plus{transform:scale(1.1)}`],et([g()],n.UUIButtonInlineCreateElement.prototype,"_position",2),et([l({type:String})],n.UUIButtonInlineCreateElement.prototype,"label",2),et([l({type:Boolean,reflect:!0})],n.UUIButtonInlineCreateElement.prototype,"vertical",2),n.UUIButtonInlineCreateElement=et([c("uui-button-inline-create")],n.UUIButtonInlineCreateElement);class Qo{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const U=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},kt="",Ot=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/></svg>`,Jo=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,en=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,tn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,Yi=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,rn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,on=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,nn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,Xi=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/></svg>`;var sn=Object.defineProperty,an=Object.getOwnPropertyDescriptor,Y=(t,e,r,o)=>{for(var i=o>1?void 0:o?an(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&sn(e,r,i),i};n.UUIButtonElement=class extends j(De("",h)){constructor(){super();this.type="button",this.disabled=!1,this.look=kt,this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}_onHostClick(t){var e;if(this.disabled){t.preventDefault(),t.stopImmediatePropagation();return}if((e=this._internals)!=null&&e.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}}updated(t){super.updated(t),t.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let t=u``;switch(this.state){case"waiting":U(this,"uui-loader-circle"),t=u`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":U(this,"uui-icon"),t=u`<uui-icon name="check" .fallback="${Ot.strings[0]}"></uui-icon>`;break;case"failed":U(this,"uui-icon"),t=u`<uui-icon name="wrong" .fallback="${Xi.strings[0]}"></uui-icon>`;break;default:return""}return u`<div id="state">${t}</div>`}render(){return u`<button id="button" ?disabled="${this.disabled}" aria-label="${this.label}">${this.renderState()} ${this.renderLabel()}<slot name="extra"></slot></button>`}},n.UUIButtonElement.styles=[Xe,d`:host{position:relative;display:inline-flex;margin-left:calc(var(--uui-button-merge-border-left,0) * -1px);--uui-button-padding-left-factor:3;--uui-button-padding-right-factor:3;--uui-button-padding-top-factor:1;--uui-button-padding-bottom-factor:1;height:var(--uui-button-height,auto);max-height:100%;text-align:center;font-weight:var(--uui-button-font-weight,var(--uui-interface-font-weight,400))}:host([compact]){--uui-button-padding-left-factor:1;--uui-button-padding-right-factor:1}.label{display:block;transition:opacity 120ms}:host([state]:not([state=''])) .label{opacity:0}#state{position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;opacity:0;animation-name:fadeIn;animation-delay:40ms;animation-duration:360ms;animation-fill-mode:forwards}button{height:100%;width:100%;padding:calc(calc(8 / 15 * 1em) * var(--uui-button-padding-top-factor)) calc(var(--uui-size-2,6px) * var(--uui-button-padding-right-factor)) calc(calc(8 / 15 * 1em) * var(--uui-button-padding-bottom-factor)) calc(var(--uui-size-2,6px) * var(--uui-button-padding-left-factor));text-align:inherit;vertical-align:middle;box-shadow:none;border-width:var(--uui-button-border-width,1px);border-style:solid;border-color:var(--uui-button-border-color,var(--uui-interface-surface,#fefefe));border-radius:var(--uui-button-border-radius,var(--uui-border-radius,3px));cursor:pointer;font-size:var(--uui-button-font-size,inherit);font-family:inherit;font-weight:inherit;background-color:var(--uui-button-background-color,var(--uui-interface-surface,#fefefe));color:var(--uui-button-contrast,var(--uui-interface-contrast,#060606));transition:background-color 80ms,border-color 80ms,color 80ms}button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-interface-surface-hover,#fafafa));border-color:var(--uui-button-border-color-hover,var(--uui-interface-surface-hover,#fafafa));color:var(--uui-button-contrast-hover,var(--uui-interface-contrast-hover,#1b264f))}button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-button-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-button-contrast-disabled,var(--uui-interface-contrast-disabled,#73716e));cursor:default}button[disabled]:active{animation:${Ze}}#icon-check,#icon-wrong{fill:currentColor;display:grid;place-items:center;width:1.5em}#loader{font-size:1.5em}:host([look]:not([look=''])) #loader{color:inherit}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}:host([look=primary]){font-weight:var(--uui-look-primary-font-weight,700)}:host([look=primary]) button{background-color:var(--uui-button-background-color,var(--uui-look-primary-surface,#1b264f));color:var(--uui-look-primary-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-primary-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-primary-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-primary-border,#1b264f))}:host([look=primary]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-primary-surface-hover,#3544b1));color:var(--uui-look-primary-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-primary-border-hover,#3544b1))}:host([look=primary]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-primary-surface-disabled,#737882));color:var(--uui-look-primary-contrast-disabled,#e4e4e4);border-color:var(--uui-button-border-color-disabled,var(--uui-look-primary-border-disabled,#737882))}:host([look=secondary]){font-weight:var(--uui-look-secondary-font-weight,500)}:host([look=secondary]) button{background-color:var(--uui-button-background-color,var(--uui-look-secondary-surface,#e2dad4));color:var(--uui-look-secondary-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-secondary-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-secondary-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-secondary-border,#e2dad4))}:host([look=secondary]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-secondary-surface-hover,#f3efed));color:var(--uui-look-secondary-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-secondary-border-hover,#f3efed))}:host([look=secondary]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-secondary-surface-disabled,#cfcfcf));color:var(--uui-look-secondary-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-secondary-border-disabled,#cfcfcf))}:host([look=outline]) button{font-weight:var(--uui-look-outline-font-weight,700)}:host([look=outline]) button{background-color:var(--uui-button-background-color,var(--uui-look-outline-surface,transparent));color:var(--uui-look-outline-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-outline-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-outline-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-outline-border,#1b264f))}:host([look=outline]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-outline-surface-hover,transparent));color:var(--uui-look-outline-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-outline-border-hover,#3544b1))}:host([look=outline]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-outline-surface-disabled,transparent));color:var(--uui-look-outline-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-outline-border-disabled,#6a759a))}:host([look=placeholder]){font-weight:var(--uui-look-placeholder-font-weight,400)}:host([look=placeholder]) button{background-color:var(--uui-button-background-color,var(--uui-look-placeholder-surface,transparent));color:var(--uui-look-placeholder-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-placeholder-border-style,dashed));border-radius:var(--uui-button-border-radius,var(--uui-look-placeholder-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-placeholder-border,#1b264f))}:host([look=placeholder]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-placeholder-surface-hover,transparent));color:var(--uui-look-placeholder-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-placeholder-border-hover,#3544b1))}:host([look=placeholder]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-placeholder-surface-disabled,transparent));color:var(--uui-look-placeholder-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-placeholder-border-disabled,#6a759a))}:host([look=positive]){font-weight:var(--uui-look-positive-font-weight,700)}:host([look=positive]) button{background-color:var(--uui-button-background-color,var(--uui-look-positive-surface,#25aa60));color:var(--uui-look-positive-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-positive-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-positive-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-positive-border,#25aa60))}:host([look=positive]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-positive-surface-hover,#2bc570));color:var(--uui-look-positive-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-positive-border-hover,#2bc570))}:host([look=positive]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-positive-surface-disabled,#597566));color:var(--uui-look-positive-contrast-disabled,#fefefe);border-color:var(--uui-button-border-color-disabled,var(--uui-look-positive-border-disabled,#597566))}:host([look=warning]){font-weight:var(--uui-look-warning-font-weight,700)}:host([look=warning]) button{background-color:var(--uui-button-background-color,var(--uui-look-warning-surface,#fad634));color:var(--uui-look-warning-contrast,#060606);border-style:var(--uui-button-border-style,var(--uui-look-warning-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-warning-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-warning-border,#fad634))}:host([look=warning]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-warning-surface-hover,#fbe065));color:var(--uui-look-warning-contrast-hover,#060606);border-color:var(--uui-button-border-color-hover,var(--uui-look-warning-border-hover,#fbe065))}:host([look=warning]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-warning-surface-disabled,#a6a085));color:var(--uui-look-warning-contrast-disabled,#060606);border-color:var(--uui-button-border-color-disabled,var(--uui-look-warning-border-disabled,#a6a085))}:host([look=danger]){font-weight:var(--uui-look-danger-font-weight,700)}:host([look=danger]) button{background-color:var(--uui-button-background-color,var(--uui-look-danger-surface,#d42054));color:var(--uui-look-danger-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-danger-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-danger-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-danger-border,#d42054))}:host([look=danger]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-danger-surface-hover,#e23c6b));color:var(--uui-look-danger-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-danger-border-hover,#e23c6b))}:host([look=danger]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-danger-surface-disabled,#856b72));color:var(--uui-look-danger-contrast-disabled,#fefefe);border-color:var(--uui-button-border-color-disabled,var(--uui-look-danger-border-disabled,#856b72))}`],Y([l({type:String,reflect:!0})],n.UUIButtonElement.prototype,"type",2),Y([l({type:Boolean,reflect:!0})],n.UUIButtonElement.prototype,"disabled",2),Y([l({reflect:!0})],n.UUIButtonElement.prototype,"look",2),Y([l({type:Boolean,reflect:!0})],n.UUIButtonElement.prototype,"compact",2),Y([l({type:String,reflect:!0})],n.UUIButtonElement.prototype,"state",2),Y([C("#button")],n.UUIButtonElement.prototype,"_button",2),n.UUIButtonElement=Y([c("uui-button")],n.UUIButtonElement);class me extends x{}me.OPEN="open";var ln=Object.defineProperty,un=Object.getOwnPropertyDescriptor,zt=(t,e,r,o)=>{for(var i=o>1?void 0:o?un(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ln(e,r,i),i};n.UUICardElement=class extends Ge(Le(h)){constructor(){super(...arguments);this.disabled=!1,this.error=!1}handleOpenClick(t){this.disabled||(t.stopPropagation(),this.dispatchEvent(new me(me.OPEN)))}handleOpenKeydown(t){this.disabled||t.key==="Enter"&&(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new me(me.OPEN)))}},n.UUICardElement.styles=[d`:host{position:relative;display:flex;width:100%;justify-content:center;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));border-radius:var(--uui-border-radius,3px);min-height:var(--uui-layout-medium);background-color:var(--uui-interface-surface,#fefefe);--uui-card-border-width:3px;transition:box-shadow .1s ease-out}:host(*) *{outline-color:var(--uui-interface-outline,#3879ff);outline-offset:4px}:host(:focus){outline-color:var(--uui-interface-outline,#3879ff);outline-width:var(--uui-card-border-width);outline-style:solid;outline-offset:var(--uui-card-border-width)}:host([error]){border:var(--uui-card-border-width) solid var(--uui-look-danger-border,#d42054)}:host([selectable]){cursor:pointer}:host([disabled]){background:var(--uui-interface-surface-disabled,#e4e4e4);color:var(--uui-interface-contrast-disabled,#73716e)}:host([selectable])::after{content:'';position:absolute;pointer-events:none;inset:calc(var(--uui-card-border-width) * -1);width:calc(100% + var(--uui-card-border-width) * 2);height:calc(100% + var(--uui-card-border-width) * 2);box-sizing:border-box;border:var(--uui-card-border-width) solid var(--uui-interface-select,#3544b1);border-radius:calc(var(--uui-border-radius,3px) + var(--uui-card-border-width));transition:opacity .1s ease-out;opacity:0}:host([selectable]:hover)::after{opacity:.33}:host([selectable][selected]:hover)::after{opacity:.66}:host([selectable][selected])::after{opacity:1}:host([selectable]:not([selected]):hover) #select-border::after{animation:not-selected--hover 1.2s infinite}@keyframes not-selected--hover{0%,100%{opacity:.66}50%{opacity:1}}:host([selectable][selected]:hover) #select-border::after{animation:selected--hover 1.4s infinite}@keyframes selected--hover{0%,100%{opacity:1}50%{opacity:.66}}:host([selectable]) #open-part:hover+#select-border::after{animation:none}:host([error])::after{inset:calc(var(--uui-card-border-width) * -2);width:calc(100% + calc(var(--uui-card-border-width) * 4));height:calc(100% + calc(var(--uui-card-border-width) * 4))}:host([select-only]) *,:host([select-only]) ::slotted(*){pointer-events:none}`],zt([l({type:Boolean,reflect:!0,attribute:"disabled"})],n.UUICardElement.prototype,"disabled",2),zt([l({type:Boolean,reflect:!0})],n.UUICardElement.prototype,"error",2),n.UUICardElement=zt([c("uui-card")],n.UUICardElement);var cn=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,St=(t,e,r,o)=>{for(var i=o>1?void 0:o?dn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&cn(e,r,i),i};n.UUICardContentNodeElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return U(this,"uui-icon"),u`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return u`<div id="open-part" tabindex="${this.disabled?I:0}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span id="icon"><slot name="icon" @slotchange="${this._onSlotIconChange}"></slot>${this._iconSlotHasContent===!1?this._renderFallbackIcon():""} </span><span id="name">${this.name}</span></div><div id="select-border"></div><slot></slot><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardContentNodeElement.styles=[...n.UUICardElement.styles,d`:host{min-width:250px;flex-direction:column;justify-content:space-between;padding:var(--uui-size-3,9px) var(--uui-size-4,12px)}slot[name=tag]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}slot:not([name]){display:block;margin:var(--uui-size-1,3px);margin-top:var(--uui-size-3,9px)}slot:not([name])::slotted(*){font-size:var(--uui-type-small-size,12px);line-height:calc(2 * var(--uui-size-3,9px))}#icon{font-size:1.2em;margin-right:var(--uui-size-1,3px)}#open-part{display:flex;position:relative;font-weight:700;align-items:center;cursor:pointer}:host([disabled]) #open-part{pointer-events:none}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}#name{margin-top:4px}`],St([l({type:String})],n.UUICardContentNodeElement.prototype,"name",2),St([g()],n.UUICardContentNodeElement.prototype,"_iconSlotHasContent",2),n.UUICardContentNodeElement=St([c("uui-card-content-node")],n.UUICardContentNodeElement);var hn=Object.defineProperty,pn=Object.getOwnPropertyDescriptor,tt=(t,e,r,o)=>{for(var i=o>1?void 0:o?pn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&hn(e,r,i),i};n.UUICardMediaElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-folder"),U(this,"uui-symbol-file")}queryPreviews(t){this.hasPreview=t.path[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!1?this.fileExt===""?u`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:u`<uui-symbol-file id="file-symbol" type="${this.fileExt}"></uui-symbol-file>`:""}render(){return u`${this.renderMedia()}<slot @slotchange="${this.queryPreviews}"></slot><button id="open-part" tabindex="${this.disabled?I:"0"}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span>${this.name}</span></button><div id="select-border"></div><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardMediaElement.styles=[...n.UUICardElement.styles,d`#file-symbol,#folder-symbol{align-self:center;margin:var(--uui-size-14,42px);width:80%}slot[name=tag]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}slot:not([name])::slotted(*){align-self:center;border-radius:var(--uui-border-radius,3px);object-fit:cover;width:100%;height:100%}#open-part{position:absolute;bottom:0;width:100%;background-color:var(--uui-color-white,#fefefe);color:var(--uui-color-black,#060606);border:none;cursor:pointer;border-top:1px solid rgba(0,0,0,.04);border-radius:0 0 var(--uui-border-radius,3px) var(--uui-border-radius,3px);display:flex;justify-content:flex-start;align-items:center;font-family:inherit;font-size:var(--uui-type-small-size,12px);box-sizing:border-box;padding:var(--uui-size-2,6px) var(--uui-size-4,12px)}:host([disabled]) #open-part{pointer-events:none}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}:host([image]:not([image=''])) #open-part{transition:opacity .5s .5s;opacity:0}:host([image]:not([image='']):hover,[image]:not([image='']):focus,[image]:not([image='']):focus-within,[selected][image]:not([image='']),[error][image]:not([image=''])) #open-part{opacity:1;transition-duration:120ms;transition-delay:0s}`],tt([l({type:String})],n.UUICardMediaElement.prototype,"name",2),tt([l({type:String,attribute:"file-ext"})],n.UUICardMediaElement.prototype,"fileExt",2),tt([g()],n.UUICardMediaElement.prototype,"hasPreview",2),n.UUICardMediaElement=tt([c("uui-card-media")],n.UUICardMediaElement);var vn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,Zi=(t,e,r,o)=>{for(var i=o>1?void 0:o?bn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&vn(e,r,i),i};n.UUICardUserElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name=""}connectedCallback(){super.connectedCallback(),U(this,"uui-avatar")}render(){return u`<uui-avatar id="avatar" name="${this.name}" size="m"></uui-avatar><div id="open-part" tabindex="${this.disabled?I:"0"}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span>${this.name}</span></div><slot></slot><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardUserElement.styles=[...n.UUICardElement.styles,d`:host{min-width:250px;flex-direction:column;justify-content:space-between;padding:var(--uui-size-3,9px);align-items:center}slot:not([name])::slotted(*){font-size:var(--uui-type-small-size,12px);line-height:var(--uui-size-6,18px)}::slotted(*){text-align:center}slot[name=tag]{position:absolute;top:6px;right:6px;display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}#avatar{margin:var(--uui-size-3,9px)}slot[name=icon]::slotted(*){font-size:1.2em}#open-part{display:flex;position:relative;font-weight:700;align-items:center;cursor:pointer;margin:0 0 3px 0}:host([disabled]) #open-part{pointer-events:none}#open-part>span{vertical-align:center;margin-top:3px}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}`],Zi([l({type:String})],n.UUICardUserElement.prototype,"name",2),n.UUICardUserElement=Zi([c("uui-card-user")],n.UUICardUserElement);var fn=Object.defineProperty,mn=Object.getOwnPropertyDescriptor,Qi=(t,e,r,o)=>{for(var i=o>1?void 0:o?mn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&fn(e,r,i),i};n.UUICaretElement=class extends h{constructor(){super();this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return u`<svg viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUICaretElement.styles=[d`:host{display:inline-block;width:12px;vertical-align:middle}svg{fill:currentColor;transform-origin:50% 50%;transition:transform 280ms cubic-bezier(.17,-.88,.82,1.84)}:host([open]) svg{transform:rotate(180deg)}`],Qi([l({type:Boolean,reflect:!0})],n.UUICaretElement.prototype,"open",2),n.UUICaretElement=Qi([c("uui-caret")],n.UUICaretElement);var gn=Object.defineProperty,_n=Object.getOwnPropertyDescriptor,yn=(t,e,r,o)=>{for(var i=o>1?void 0:o?_n(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&gn(e,r,i),i};n.UUICheckboxElement=class extends D{renderCheckbox(){return u`<div id="ticker"><div id="icon-check">${Ot}</div></div>`}},n.UUICheckboxElement.formAssociated=!0,n.UUICheckboxElement.styles=[...D.styles,Xe,d`:host{--uui-checkbox-size:18px}#ticker{position:relative;grid-area:'input';display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--uui-checkbox-size);height:var(--uui-checkbox-size);border-radius:var(--uui-checkbox-border-radius,var(--uui-border-radius,3px));color:var(--uui-toggle-color,var(--uui-interface-chosen-contrast,#fefefe));background-color:var(--uui-toggle-background-color,var(--uui-interface-surface,#fefefe));border:1px solid var(--uui-checkbox-border-color,var(--uui-interface-border,#c4c4c4));font-size:calc(var(--uui-checkbox-size) * .7)}label:hover input:not([disabled])+#ticker{border-color:var(--uui-checkbox-border-color-hover,var(--uui-interface-border-hover,#b3b3b3));background-color:var(--uui-checkbox-background-color-hover,var(--uui-interface-surface-hover,#fafafa))}label:focus #ticker{border-color:var(--uui-checkbox-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));background-color:var(--uui-checkbox-background-color-focus,var(--uui-interface-surface-alt-focus,#d8d7d9))}input:checked+#ticker{border-color:var(--uui-interface-chosen,#1b264f)}label:hover input:checked:not([disabled])+#ticker{border-color:var(--uui-interface-chosen-hover,#26356e)}label:focus input:checked+#ticker{border-color:var(--uui-interface-chosen-focus,#1b264f)}#icon-check{position:absolute;vertical-align:middle;width:1em;height:1em;line-height:0;transition:fill 120ms,opacity 120ms;fill:var(--uui-interface-chosen-contrast,#fefefe);opacity:0}#ticker::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:calc(var(--uui-checkbox-border-radius,var(--uui-border-radius,3px)) * .5);background-color:var(--uui-interface-chosen,#1b264f);transition:transform 120ms ease,opacity 120ms,background-color 120ms;transform:scale(0);opacity:0}label:hover input:checked:not([disabled])+#ticker::before{background-color:var(--uui-interface-chosen-hover,#26356e)}input:checked+#ticker::before{transform:scale(1);opacity:1}input:checked+#ticker #icon-check{opacity:1}label:focus input:checked+#ticker{background-color:var(--uui-interface-chosen-focus,#1b264f)}input:focus+#ticker{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:not([disabled])) label:active input:checked+#ticker::before{transform:scale(.9)}:host(:not([pristine]):invalid) #ticker,:host(:not([pristine]):invalid) label:focus input:checked+#ticker,:host(:not([pristine]):invalid) label:hover #ticker,:host(:not([pristine]):invalid) label:hover input:checked:not([disabled])+#ticker,:host(:not([pristine])[internals-invalid]) #ticker,:host(:not([pristine])[internals-invalid]) label:focus input:checked+#ticker,:host(:not([pristine])[internals-invalid]) label:hover #ticker,:host(:not([pristine])[internals-invalid]) label:hover input:checked:not([disabled])+#ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([disabled]) #ticker{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) input:checked+#ticker{background-color:var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]) #ticker:after{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #ticker #icon-check{fill:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) label:active #ticker{animation:${Ze}}:host([disabled]) input:checked+#ticker #icon-check{fill:var(--uui-interface-chosen-contrast-disabled,#e4e4e4)}`],n.UUICheckboxElement=yn([c("uui-checkbox")],n.UUICheckboxElement);var Un=Object.defineProperty,Ji=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,er=(t,e,r)=>e in t?Un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,tr=(t,e)=>{for(var r in e||(e={}))wn.call(e,r)&&er(t,r,e[r]);if(Ji)for(var r of Ji(e))En.call(e,r)&&er(t,r,e[r]);return t};class X extends x{constructor(e,r={}){super(e,tr(tr({},{bubbles:!0}),r))}}X.CHANGE="change";var In=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,Z=(t,e,r,o)=>{for(var i=o>1?void 0:o?$n(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&In(e,r,i),i};n.UUIComboboxListElement=class extends h{constructor(){super(...arguments);this.displayValue="",this._value="",this._onSlotChange=()=>{this._activeElement=void 0;for(let t=0;t<this._activeOptions.length;t++)t===0?this._activeElement=this._activeOptions[t]:this._activeOptions[t].active=!1;this._updateSelection()},this._onSelected=t=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t.composedPath()[0],this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new X(X.CHANGE))},this._onUnselected=t=>{const e=t.composedPath()[0];this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this.value="",this.displayValue="",this.dispatchEvent(new X(X.CHANGE)))},this._moveIndex=t=>{const e=Math.min(Math.max(this._getActiveIndex()+t,0),this._options.length-1);this._goToIndex(e)},this._onKeyDown=t=>{var e;if(!(this._options.length<=0))switch(t.key){case"ArrowUp":t.preventDefault(),t.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":t.preventDefault(),t.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{t.preventDefault(),this._goToIndex(0);break}case"Enter":{t.preventDefault(),(e=this._activeElement)==null||e.click();break}case"End":{t.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(t){if(this._value===t)return;const e=this._value;this._value=t,this._updateSelection(),this.requestUpdate("value",e)}get for(){return this._for}set for(t){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=t,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(fe.SELECTED,this._onSelected),this.addEventListener(fe.UNSELECTED,this._onUnselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(fe.SELECTED,this._onSelected),this.removeEventListener(fe.UNSELECTED,this._onUnselected)}_updateSelection(){this.displayValue="";for(const t of this._options)t.value===this._value?(this.displayValue=t.displayValue||"",t.selected=!0):t.selected=!1}_getActiveIndex(){return this._activeElement?this._options.indexOf(this._activeElement):-1}_goToIndex(t){t=Math.min(Math.max(t,0),this._options.length-1),this._activeElement=this._options[t],this._activeElement&&this._activeElement.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return u`<slot @slotchange="${this._onSlotChange}"></slot>`}},n.UUIComboboxListElement.styles=[d`:host{display:flex;flex-direction:column;box-sizing:border-box}`],Z([l({type:String})],n.UUIComboboxListElement.prototype,"value",1),Z([l({type:String})],n.UUIComboboxListElement.prototype,"displayValue",2),Z([l({attribute:!1})],n.UUIComboboxListElement.prototype,"for",1),Z([W({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],n.UUIComboboxListElement.prototype,"_options",2),Z([W({flatten:!0,selector:"uui-combobox-list-option[active]"})],n.UUIComboboxListElement.prototype,"_activeOptions",2),Z([g()],n.UUIComboboxListElement.prototype,"_value",2),n.UUIComboboxListElement=Z([c("uui-combobox-list")],n.UUIComboboxListElement);var xn=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,ge=(t,e,r,o)=>{for(var i=o>1?void 0:o?Cn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&xn(e,r,i),i};n.UUIComboboxListOptionElement=class extends Le(Ve(h)){constructor(){super();this._disabled=!1,this._displayValue="",this.selectable=!0,this.unselectable=!1}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get displayValue(){var t;return this._displayValue?this._displayValue:((t=this.textContent)==null?void 0:t.trim())||""}set displayValue(t){const e=this._displayValue;this._displayValue=t,this.requestUpdate("displayValue",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.selectable=!this._disabled,this.requestUpdate("disabled",e)}render(){return u`<slot></slot>`}},n.UUIComboboxListOptionElement.styles=[d`:host{position:relative;cursor:pointer;margin:0 6px;border-radius:var(--uui-border-radius,3px);outline:2px solid transparent;outline-offset:-2px}:host(:first-child){margin-top:6px}:host(:last-child){margin-bottom:6px}:host([selected]):host([active])::after{display:block;content:'';position:absolute;inset:0;outline:#fff solid 2px;outline-offset:-4px}:host::before{display:block;content:'';opacity:0;position:absolute;inset:0;background-color:var(--uui-interface-select,#3544b1)}:host(:hover)::before{opacity:.15;border-radius:var(--uui-border-radius,3px)}:host([disabled]){cursor:auto;color:var(--uui-interface-surface-contrast-disabled);background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]:hover){background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([active]){outline-color:var(--uui-interface-outline,#3879ff)}:host([selected]){color:var(--uui-interface-select-contrast,#fefefe);background-color:var(--uui-interface-select,#3544b1)}:host([selected]:hover){color:var(--uui-interface-select-contrast-hover,#fefefe);background-color:var(--uui-interface-select-hover,#4656c8)}:host([selected][disabled]){color:var(--uui-interface-select-contrast-disabled,#e4e4e4);background-color:var(--uui-interface-select-disabled,#575757)}`],ge([g()],n.UUIComboboxListOptionElement.prototype,"_disabled",2),ge([g()],n.UUIComboboxListOptionElement.prototype,"_displayValue",2),ge([l({type:String})],n.UUIComboboxListOptionElement.prototype,"value",1),ge([l({type:String,attribute:"display-value"})],n.UUIComboboxListOptionElement.prototype,"displayValue",1),ge([l({type:Boolean,reflect:!0})],n.UUIComboboxListOptionElement.prototype,"disabled",1),n.UUIComboboxListOptionElement=ge([c("uui-combobox-list-option")],n.UUIComboboxListOptionElement);class A extends x{}A.SEARCH="search",A.CHANGE="change";var Pn=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,Q=(t,e,r,o)=>{for(var i=o>1?void 0:o?kn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Pn(e,r,i),i};n.UUIComboboxElement=class extends j(h){constructor(){super(...arguments);this.open=!1,this._displayValue="",this._search="",this._onMouseDown=()=>requestAnimationFrame(()=>this._input.focus()),this._onBlur=()=>requestAnimationFrame(()=>{document.activeElement!==this&&this._close()}),this._onInput=t=>{t.preventDefault(),t.stopImmediatePropagation(),this.search=t.target.value,this.dispatchEvent(new A(A.SEARCH)),this._open()},this._onChange=t=>{var e,r;t.stopImmediatePropagation(),this.value=((e=this._comboboxList)==null?void 0:e.value)||"",this._displayValue=((r=this._comboboxList)==null?void 0:r.displayValue)||"",this.search=this.value?this.search:"",this._close(),this.dispatchEvent(new A(A.CHANGE))},this._open=()=>{this.open||(this.open=!0)},this._close=()=>{var t;!this.open||(this.open=!1,this._displayValue=((t=this._comboboxList)==null?void 0:t.displayValue)||"",this._input.value=this._displayValue,this.search="",this.dispatchEvent(new A(A.SEARCH)))},this._onKeyDown=t=>{this.open===!1&&t.key==="Enter"&&(t.preventDefault(),t.stopImmediatePropagation()),(t.key==="ArrowUp"||t.key==="ArrowDown")&&this._open(),(t.key==="Escape"||t.key==="Enter")&&this._close()},this._clear=t=>{t.key&&t.key!=="Enter"||(t.preventDefault(),t.stopImmediatePropagation(),this._displayValue="",this._input.value=this._displayValue,this.search="",this.value="",this._comboboxList.value=this.value,this.dispatchEvent(new A(A.CHANGE)))},this._renderInput=()=>u`<uui-input slot="trigger" id="combobox-input" label="combobox-input" type="text" .value="${this._displayValue}" .placeholder="${this._displayValue}" autocomplete="off" @click="${this._open}" @input="${this._onInput}" @keydown="${this._onKeyDown}"><slot name="input-prepend" slot="prepend"></slot>${this._renderClearButton()} ${this._renderCaret()}<slot name="input-append" slot="append"></slot></uui-input>`,this._renderCaret=()=>u`<svg id="caret" slot="append" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`,this._renderClearButton=()=>u`<uui-button id="clear-button" class="${this.value||this.search?"--show":""}" @click="${this._clear}" @keydown="${this._clear}" label="clear" slot="append" compact="compact" style="height:100%;--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0"><uui-icon name="remove" .fallback="${Yi.strings[0]}"></uui-icon></uui-button>`,this._renderDropdown=()=>u`<div id="dropdown" slot="popover"><uui-scroll-container id="scroll-container"><slot></slot></uui-scroll-container></div>`}get value(){return this._value}set value(t){super.value=t,typeof t=="string"&&this._updateValue(t)}get search(){return this._search}set search(t){if(this.search===t)return;const e=this._search;this._search=t,this.requestUpdate("search",e)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",this._onBlur),this.addEventListener("mousedown",this._onMouseDown),U(this,"uui-icon"),U(this,"uui-input"),U(this,"uui-button"),U(this,"uui-combobox-list"),U(this,"uui-scroll-container")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this._onBlur),this.removeEventListener("mousedown",this._onMouseDown)}async firstUpdated(){var t;const e=(t=this._comboboxListElements)==null?void 0:t[0];e&&(this._comboboxList=e,this._comboboxList.for=this,this._comboboxList.addEventListener(X.CHANGE,this._onChange),typeof this.value=="string"&&(await this.updateComplete,this._updateValue(this.value)))}_updateValue(t){var e;this._comboboxList&&(this._comboboxList.value=t,this._displayValue=((e=this._comboboxList)==null?void 0:e.displayValue)||"")}getFormElement(){return this._input}render(){return u`<uui-popover .open="${this.open}" .margin="${-1}" @close="${()=>this._close()}">${this._renderInput()} ${this._renderDropdown()}</uui-popover>`}},n.UUIComboboxElement.styles=[d`:host{position:relative;display:inline-block}#combobox-input{width:100%;border-radius:var(--uui-size-1,3px)}#scroll-container{max-height:var(--uui-combobox-popover-max-height,500px);overflow-y:auto}#dropdown{overflow:hidden;z-index:-1;background-color:var(--uui-combobox-popover-background-color,#fff);border:1px solid var(--uui-interface-border,#c4c4c4);border-radius:var(--uui-border-radius,3px);width:100%;height:100%;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-3,0 10px 20px rgba(0,0,0,.19) ,0 6px 6px rgba(0,0,0,.23))}#clear-button{pointer-events:none;opacity:0;transition:opacity 120ms}#clear-button.--show{pointer-events:auto;opacity:1}#caret{margin-right:var(--uui-size-3,9px);display:flex;width:1.15em;flex-shrink:0;margin-top:-1px}`],Q([l({type:String})],n.UUIComboboxElement.prototype,"search",1),Q([l({type:Boolean})],n.UUIComboboxElement.prototype,"open",2),Q([C("#combobox-input")],n.UUIComboboxElement.prototype,"_input",2),Q([W({flatten:!0,selector:"uui-combobox-list"})],n.UUIComboboxElement.prototype,"_comboboxListElements",2),Q([g()],n.UUIComboboxElement.prototype,"_displayValue",2),Q([g()],n.UUIComboboxElement.prototype,"_search",2),n.UUIComboboxElement=Q([c("uui-combobox")],n.UUIComboboxElement);var On=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,At=(t,e,r,o)=>{for(var i=o>1?void 0:o?zn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&On(e,r,i),i};n.UUIDialogLayoutElement=class extends h{constructor(){super(...arguments);this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return u`<h3 style="${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h3>`}renderContent(){return u`<slot></slot>`}renderActions(){return u`<slot id="actions" name="actions"></slot>`}render(){return u`${this.renderHeadline()} ${this.renderContent()} ${this.renderActions()}`}},n.UUIDialogLayoutElement.styles=[d`:host{display:block;padding:var(--uui-size-10,30px) var(--uui-size-14,42px)}#actions{margin-top:var(--uui-size-8,24px);display:flex;justify-content:end;gap:var(--uui-size-4,12px)}`],At([l({type:String})],n.UUIDialogLayoutElement.prototype,"headline",2),At([g()],n.UUIDialogLayoutElement.prototype,"_headlineSlotHasContent",2),n.UUIDialogLayoutElement=At([c("uui-dialog-layout")],n.UUIDialogLayoutElement);var Sn=Object.defineProperty,An=Object.getOwnPropertyDescriptor,Dn=(t,e,r,o)=>{for(var i=o>1?void 0:o?An(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Sn(e,r,i),i};n.UUIDialogElement=class extends h{render(){return u`<slot></slot>`}},n.UUIDialogElement.styles=[d`:host{position:relative;display:block;max-width:400px;background-color:var(--uui-dialog-background-color,var(--uui-interface-surface,#fefefe));box-shadow:var(--uui-shadow-depth-5,0 19px 38px rgba(0,0,0,.3) ,0 15px 12px rgba(0,0,0,.22));border-radius:var(--uui-dialog-border-radius,calc(var(--uui-border-radius,3px) * 2))}`],n.UUIDialogElement=Dn([c("uui-dialog")],n.UUIDialogElement);class Te extends x{}Te.FILE_CHANGE="file-change";var Ln=Object.defineProperty,Tn=Object.getOwnPropertyDescriptor,Ne=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ln(e,r,i),i};n.UUIFileDropzoneElement=class extends De("",h){constructor(){super();this.accept="",this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}browse(){this._input.click()}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-file-dropzone")}_checkIsItDirectory(t){return t.type?!1:t.webkitGetAsEntry().isDirectory}async _getAllFileEntries(t){const e=[],r=[];for(let o=0;o<t.length;o++)r.push(t[o].webkitGetAsEntry());if(this.accept){const o=[],i=[];for(this.accept.split(",").forEach(s=>{s.includes("*")?i.push(s.split("*")[0].trim().toLowerCase()):o.push(s.trim().toLowerCase())});r.length>0;){const s=r.shift();s.isFile&&await this._isAccepted(o,i,s)?e.push(s):s.isDirectory&&(e.push(s),r.push(...await this._readAllDirectoryEntries(s.createReader())))}}else for(;r.length>0;){const o=r.shift();o.isFile?e.push(o):o.isDirectory&&(e.push(o),r.push(...await this._readAllDirectoryEntries(o.createReader())))}return e}async _readAllDirectoryEntries(t){const e=[];let r=await this._readEntriesPromise(t);for(;r.length>0;)e.push(...r),r=await this._readEntriesPromise(t);return e}async _readEntriesPromise(t){try{return await new Promise((e,r)=>{t.readEntries(e,r)})}catch(e){console.log(e)}}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}async _isAccepted(t,e,r){const o=await this._getFile(r),i=o.type.toLowerCase(),s="."+o.name.split(".")[1].toLowerCase();return!!(t.includes(s)||t.includes(i)||e.some(a=>i.startsWith(a)))}async _onDrop(t){var e;t.preventDefault(),this._dropzone.classList.remove("hover");const r=(e=t.dataTransfer)==null?void 0:e.items;if(r){let o=await this._getAllFileEntries(r);this.multiple===!1&&o.length>0&&(o=[o[0]]),this.dispatchEvent(new Te(Te.FILE_CHANGE,{detail:{files:o}}))}}_onDragOver(t){t.preventDefault()}_onDragEnter(t){this._dropzone.classList.add("hover"),t.preventDefault()}_onDragLeave(t){this._dropzone.classList.remove("hover"),t.preventDefault()}_onFileInputChange(){const t=this._input.files?Array.from(this._input.files):[];this.dispatchEvent(new Te(Te.FILE_CHANGE,{detail:{files:t}}))}render(){return u`<div id="dropzone"><uui-symbol-file-dropzone id="symbol"></uui-symbol-file-dropzone>${this.renderLabel()} <input @click="${t=>t.stopImmediatePropagation()}" id="input" type="file" accept="${this.accept}" ?multiple="${this.multiple}" @change="${this._onFileInputChange}" aria-label="${this.label}"></div>`}},n.UUIFileDropzoneElement.styles=[d`#dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-sizing:border-box;width:100%;height:100%;padding:var(--uui-size-4,12px);border:3px solid transparent;margin:-3px;backdrop-filter:blur(2px)}#dropzone.hover{border-color:var(--uui-color-primary,#3544b1)}#dropzone.hover::before{content:'';position:absolute;inset:0;opacity:.2;border-color:var(--uui-color-primary,#3544b1);background-color:var(--uui-color-primary,#3544b1)}#symbol{color:var(--uui-color-primary,#3544b1);max-width:100%;max-height:100%}#input{position:absolute;width:0;height:0;opacity:0;display:none}`],Ne([C("#input")],n.UUIFileDropzoneElement.prototype,"_input",2),Ne([C("#dropzone")],n.UUIFileDropzoneElement.prototype,"_dropzone",2),Ne([l({type:String})],n.UUIFileDropzoneElement.prototype,"accept",2),Ne([l({type:Boolean})],n.UUIFileDropzoneElement.prototype,"multiple",2),n.UUIFileDropzoneElement=Ne([c("uui-file-dropzone")],n.UUIFileDropzoneElement);class Nn{static humanFileSize(e,r=!1,o=1){const i=r?1e3:1024;if(Math.abs(e)<i)return e+" B";const s=r?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let a=-1;const v=10**o;do e/=i,++a;while(Math.round(Math.abs(e)*v)/v>=i&&a<s.length-1);return e.toFixed(o)+" "+s[a]}}var Bn=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,L=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Bn(e,r,i),i};n.UUIFilePreviewElement=class extends h{constructor(){super(...arguments);this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(t){const e=this._file;t instanceof File&&(this._name=t.name.split(".")[0],this._extension=t.name.split(".")[1],this._isDirectory=!1,this._size=t.size,this._isFileAnImage(t)&&(this._isImage=!0,this._getThumbnail(t).then(r=>{this._src=r})),this.requestUpdate("file",e))}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-file-thumbnail"),U(this,"uui-symbol-folder"),U(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?u`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?u`<uui-symbol-file-thumbnail .src="${this._src}" .alt="${this._name}" id="file-symbol"></uui-symbol-file-thumbnail>`:u`<uui-symbol-file id="file-symbol" .type="${this._extension}"></uui-symbol-file>`}_renderLongName(){const e=this._name.substring(0,this._name.length-6),r=this._name.substring(this._name.length-6,this._name.length);return u`<span id="file-name" class="${this._url?"has-source":""}" @click="${()=>this._url?this._openSource():""}" @keydown="${()=>""}"><span id="file-name-start">${e}</span> <span id="file-name-end">${r}</span></span>`}_isFileAnImage(t){return t?t.type.split("/")[0]==="image":!1}async _getThumbnail(t){return await new Promise(e=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>{e(r.result)}})}render(){return u`<slot id="actions" name="actions"></slot>${this._fileTypeTemplate()}<div id="file-info">${this._renderLongName()} <span id="file-size">${this._size&&!this._isDirectory?u`${Nn.humanFileSize(this._size,!0)}`:""}</span></div>`}},n.UUIFilePreviewElement.styles=[d`:host{position:relative;display:grid;grid-template-rows:100px 50px;width:150px;height:150px;box-sizing:border-box;aspect-ratio:1}:host(:hover) slot[name=actions]::slotted(*){opacity:1}slot[name=actions]::slotted(*){position:absolute;top:8px;right:8px;max-width:100%;height:32px;font-size:13px;opacity:0;z-index:1;transition:opacity 150ms}#file-symbol{aspect-ratio:1/1;margin:auto;max-width:100%;max-height:100%}#file-info{min-width:0;display:flex;text-align:center;flex-direction:column;font-size:1rem}#file-name{display:flex;justify-content:center}#file-name-start{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#file-name-end{white-space:nowrap}#file-size{opacity:.6}.has-source:hover{text-decoration:underline;cursor:pointer}`],L([g()],n.UUIFilePreviewElement.prototype,"_name",2),L([g()],n.UUIFilePreviewElement.prototype,"_url",2),L([g()],n.UUIFilePreviewElement.prototype,"_extension",2),L([g()],n.UUIFilePreviewElement.prototype,"_src",2),L([g()],n.UUIFilePreviewElement.prototype,"_size",2),L([g()],n.UUIFilePreviewElement.prototype,"_isDirectory",2),L([g()],n.UUIFilePreviewElement.prototype,"_file",2),L([g()],n.UUIFilePreviewElement.prototype,"_isImage",2),L([l({attribute:!1})],n.UUIFilePreviewElement.prototype,"file",1),n.UUIFilePreviewElement=L([c("uui-file-preview")],n.UUIFilePreviewElement);var jn=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,it=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&jn(e,r,i),i};n.UUIFormLayoutItemElement=class extends h{constructor(){super(...arguments);this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=t=>{this._labelSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=t=>{this._descriptionSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),U(this,"uui-form-validation-message")}render(){return u`<div id="label" style="${this._labelSlotHasContent?"":"display: none"}"><slot name="label" @slotchange="${this._labelSlotChanged}"></slot></div><div id="description" style="${this._descriptionSlotHasContent||this.description!==null?"":"display: none"}">${this.description}<slot name="description" @slotchange="${this._descriptionSlotChanged}"></slot></div><uui-form-validation-message><slot></slot><slot name="message" slot="message"></slot></uui-form-validation-message>`}},n.UUIFormLayoutItemElement.styles=[d`:host{position:relative;display:block;margin-top:var(--uui-size-space-5,18px);margin-bottom:var(--uui-size-space-5,18px)}#label{margin-top:-5px;margin-bottom:5px}#description{color:var(--uui-interface-contrast-disabled,#73716e);font-size:var(--uui-type-small-size,12px)}#label+#description{margin-top:-8px;min-height:8px}`],it([l({type:String})],n.UUIFormLayoutItemElement.prototype,"description",2),it([g()],n.UUIFormLayoutItemElement.prototype,"_labelSlotHasContent",2),it([g()],n.UUIFormLayoutItemElement.prototype,"_descriptionSlotHasContent",2),n.UUIFormLayoutItemElement=it([c("uui-form-layout-item")],n.UUIFormLayoutItemElement);/**
215
+ */const it=et(class extends tt{constructor(t){var e;if(super(t),t.type!==Je.ATTRIBUTE||t.name!=="style"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const o=t[r];return o==null?e:e+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:r}=t.element;if(this.ct===void 0){this.ct=new Set;for(const o in e)this.ct.add(o);return this.render(e)}this.ct.forEach(o=>{e[o]==null&&(this.ct.delete(o),o.includes("-")?r.removeProperty(o):r[o]="")});for(const o in e){const i=e[o];i!=null&&(this.ct.add(o),o.includes("-")?r.setProperty(o,i):r[o]=i)}return H}});class rt extends x{}rt.CLICK="click";var tn=Object.defineProperty,rn=Object.getOwnPropertyDescriptor,ot=(t,e,r,o)=>{for(var i=o>1?void 0:o?rn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&tn(e,r,i),i};n.UUIButtonInlineCreateElement=class extends h{constructor(){super(...arguments);this._position=0,this.vertical=!1}_onMouseMove(t){this._position=this.vertical?t.offsetY:t.offsetX}_handleClick(t){t.preventDefault(),t.stopImmediatePropagation(),this.dispatchEvent(new rt(rt.CLICK))}render(){return u`<button id="button-wrapper" @mousemove="${this._onMouseMove}" @click="${this._handleClick}" aria-label="${this.label?this.label:"create new element"}"><div id="plus" style="${it({left:this.vertical?"":this._position+"px",top:this.vertical?this._position+"px":""})}"><svg id="plus-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg></div></button>`}},n.UUIButtonInlineCreateElement.styles=[Qo,d`:host{display:flex;position:relative;z-index:1}:host(:not([vertical])){height:20px;width:100%;margin:-8px 0}:host([vertical]){height:100%;width:20px;margin:0 -8px}#button-wrapper{display:flex;justify-content:center;align-items:center;position:absolute;z-index:1;outline:0;transition:opacity .24s;display:inline-flex;width:100%;border:none;height:100%;padding:0;text-decoration:none;background:0 0;color:currentColor;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;opacity:0}:host(:focus) #button-wrapper,:host(:focus-within) #button-wrapper,:host(:hover) #button-wrapper{opacity:1}#button-wrapper:before{content:'';position:absolute;right:0;left:0;height:2px;background-color:var(--uui-interface-select,#3544b1);border-top:1px solid var(--uui-interface-surface,#fefefe);border-bottom:1px solid var(--uui-interface-surface,#fefefe);border-radius:2px;pointer-events:none;animation:${Jo}}:host(:not([vertical])) #button-wrapper:before{top:50%;transform:translateY(-50%)}:host([vertical]) #button-wrapper:before{height:100%;width:2px;left:50%;transform:translateX(-50%)}:host(:not([vertical]):not(:hover)) #plus:not(:focus){left:calc(50% - 2px)!important}:host([vertical]:not(:hover)) #plus:not(:focus){top:calc(50% - 2px)!important}#plus{position:absolute;display:flex;justify-content:center;align-items:center;pointer-events:none;box-sizing:border-box;width:28px;height:28px;border-radius:3em;font-size:14px;border:2px solid var(--uui-interface-select,#3544b1);color:var(--uui-interface-select,#3544b1);background-color:var(--uui-interface-surface,#fefefe);box-shadow:0 0 0 2px var(--uui-interface-surface,#fefefe);opacity:0;transform:scale(0);transition:transform 240ms ease-in,opacity 240ms,left .1s linear 150ms,top .1s linear 150ms}:host(:focus) #plus,:host(:focus-within) #plus,:host(:hover) #plus{opacity:1;transform:scale(1);transition:transform 240ms cubic-bezier(.175,.885,.32,1.275),opacity 80ms}:host(:not([vertical])) #plus{margin-left:-21px}:host([vertical]) #plus{left:-4px;margin-top:-21px}#button-wrapper:focus #plus{border:2px solid #6ab4f0}#plus-icon{width:50%;fill:currentColor}#button-wrapper:active #plus{transform:scale(1.1)}`],ot([g()],n.UUIButtonInlineCreateElement.prototype,"_position",2),ot([l({type:String})],n.UUIButtonInlineCreateElement.prototype,"label",2),ot([l({type:Boolean,reflect:!0})],n.UUIButtonInlineCreateElement.prototype,"vertical",2),n.UUIButtonInlineCreateElement=ot([c("uui-button-inline-create")],n.UUIButtonInlineCreateElement);class on{constructor(e,r){this._callback=e,this._timerId=null,this._remaining=null,this._onComplete=()=>{this._remaining=null,this._callback()},this.setDuration(r)}setDuration(e){this._duration=e,this._timerId!==null&&this.restart()}start(){this._timerId===null&&this.resume()}restart(){this._remaining=this._duration,this.resume()}pause(){this._timerId!==null&&(window.clearTimeout(this._timerId),this._timerId=null,this._remaining!==null&&(this._remaining-=Date.now()-this._startTime))}resume(){this._timerId!==null&&window.clearTimeout(this._timerId),this._remaining===null&&(this._remaining=this._duration),this._startTime=Date.now(),this._timerId=window.setTimeout(this._onComplete,this._remaining)}destroy(){this.pause()}}const U=(t,e,r=`This element has to be present for ${t.nodeName} to work appropriate.`)=>{customElements.get(e)||console.warn(`%c ${t.nodeName} requires ${e} element to be registered!`,"font-weight: bold;",r,t)},zt="",St=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/></svg>`,nn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,sn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,an=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,Ji=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,ln=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,un=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,cn=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,er=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/></svg>`;var dn=Object.defineProperty,hn=Object.getOwnPropertyDescriptor,Y=(t,e,r,o)=>{for(var i=o>1?void 0:o?hn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&dn(e,r,i),i};n.UUIButtonElement=class extends j(De("",h)){constructor(){super();this.type="button",this.disabled=!1,this.look=zt,this.compact=!1,this.state=void 0,this.addEventListener("click",this._onHostClick)}getFormElement(){return this._button}_onHostClick(t){var e;if(this.disabled){t.preventDefault(),t.stopImmediatePropagation();return}if((e=this._internals)!=null&&e.form)switch(this.type){case"reset":this._internals.form.reset();break;case"button":break;default:this._internals.form.requestSubmit?this._internals.form.requestSubmit():this._internals.form.dispatchEvent(new SubmitEvent("submit"));break}}updated(t){super.updated(t),t.has("state")&&(clearTimeout(this._resetStateTimeout),(this.state==="success"||this.state==="failed")&&(this._resetStateTimeout=setTimeout(()=>this.state=void 0,2e3)))}renderState(){let t=u``;switch(this.state){case"waiting":U(this,"uui-loader-circle"),t=u`<uui-loader-circle id="loader"></uui-loader-circle>`;break;case"success":U(this,"uui-icon"),t=u`<uui-icon name="check" .fallback="${St.strings[0]}"></uui-icon>`;break;case"failed":U(this,"uui-icon"),t=u`<uui-icon name="wrong" .fallback="${er.strings[0]}"></uui-icon>`;break;default:return""}return u`<div id="state">${t}</div>`}render(){return u`<button id="button" ?disabled="${this.disabled}" aria-label="${this.label}">${this.renderState()} ${this.renderLabel()}<slot name="extra"></slot></button>`}},n.UUIButtonElement.styles=[Ze,d`:host{position:relative;display:inline-flex;margin-left:calc(var(--uui-button-merge-border-left,0) * -1px);--uui-button-padding-left-factor:3;--uui-button-padding-right-factor:3;--uui-button-padding-top-factor:1;--uui-button-padding-bottom-factor:1;height:var(--uui-button-height,auto);max-height:100%;text-align:center;font-weight:var(--uui-button-font-weight,var(--uui-interface-font-weight,400))}:host([compact]){--uui-button-padding-left-factor:1;--uui-button-padding-right-factor:1}.label{display:block;transition:opacity 120ms}:host([state]:not([state=''])) .label{opacity:0}#state{position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;opacity:0;animation-name:fadeIn;animation-delay:40ms;animation-duration:360ms;animation-fill-mode:forwards}button{height:100%;width:100%;padding:calc(calc(8 / 15 * 1em) * var(--uui-button-padding-top-factor)) calc(var(--uui-size-2,6px) * var(--uui-button-padding-right-factor)) calc(calc(8 / 15 * 1em) * var(--uui-button-padding-bottom-factor)) calc(var(--uui-size-2,6px) * var(--uui-button-padding-left-factor));text-align:inherit;vertical-align:middle;box-shadow:none;border-width:var(--uui-button-border-width,1px);border-style:solid;border-color:var(--uui-button-border-color,var(--uui-interface-surface,#fefefe));border-radius:var(--uui-button-border-radius,var(--uui-border-radius,3px));cursor:pointer;font-size:var(--uui-button-font-size,inherit);font-family:inherit;font-weight:inherit;background-color:var(--uui-button-background-color,var(--uui-interface-surface,#fefefe));color:var(--uui-button-contrast,var(--uui-interface-contrast,#060606));transition:background-color 80ms,border-color 80ms,color 80ms}button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-interface-surface-hover,#fafafa));border-color:var(--uui-button-border-color-hover,var(--uui-interface-surface-hover,#fafafa));color:var(--uui-button-contrast-hover,var(--uui-interface-contrast-hover,#1b264f))}button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-button-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-button-contrast-disabled,var(--uui-interface-contrast-disabled,#73716e));cursor:default}button[disabled]:active{animation:${Qe}}#icon-check,#icon-wrong{fill:currentColor;display:grid;place-items:center;width:1.5em}#loader{font-size:1.5em}:host([look]:not([look=''])) #loader{color:inherit}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}:host([look=primary]){font-weight:var(--uui-look-primary-font-weight,700)}:host([look=primary]) button{background-color:var(--uui-button-background-color,var(--uui-look-primary-surface,#1b264f));color:var(--uui-look-primary-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-primary-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-primary-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-primary-border,#1b264f))}:host([look=primary]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-primary-surface-hover,#3544b1));color:var(--uui-look-primary-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-primary-border-hover,#3544b1))}:host([look=primary]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-primary-surface-disabled,#737882));color:var(--uui-look-primary-contrast-disabled,#e4e4e4);border-color:var(--uui-button-border-color-disabled,var(--uui-look-primary-border-disabled,#737882))}:host([look=secondary]){font-weight:var(--uui-look-secondary-font-weight,500)}:host([look=secondary]) button{background-color:var(--uui-button-background-color,var(--uui-look-secondary-surface,#e2dad4));color:var(--uui-look-secondary-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-secondary-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-secondary-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-secondary-border,#e2dad4))}:host([look=secondary]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-secondary-surface-hover,#f3efed));color:var(--uui-look-secondary-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-secondary-border-hover,#f3efed))}:host([look=secondary]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-secondary-surface-disabled,#cfcfcf));color:var(--uui-look-secondary-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-secondary-border-disabled,#cfcfcf))}:host([look=outline]) button{font-weight:var(--uui-look-outline-font-weight,700)}:host([look=outline]) button{background-color:var(--uui-button-background-color,var(--uui-look-outline-surface,transparent));color:var(--uui-look-outline-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-outline-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-outline-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-outline-border,#1b264f))}:host([look=outline]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-outline-surface-hover,transparent));color:var(--uui-look-outline-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-outline-border-hover,#3544b1))}:host([look=outline]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-outline-surface-disabled,transparent));color:var(--uui-look-outline-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-outline-border-disabled,#6a759a))}:host([look=placeholder]){font-weight:var(--uui-look-placeholder-font-weight,400)}:host([look=placeholder]) button{background-color:var(--uui-button-background-color,var(--uui-look-placeholder-surface,transparent));color:var(--uui-look-placeholder-contrast,#1b264f);border-style:var(--uui-button-border-style,var(--uui-look-placeholder-border-style,dashed));border-radius:var(--uui-button-border-radius,var(--uui-look-placeholder-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-placeholder-border,#1b264f))}:host([look=placeholder]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-placeholder-surface-hover,transparent));color:var(--uui-look-placeholder-contrast-hover,#3544b1);border-color:var(--uui-button-border-color-hover,var(--uui-look-placeholder-border-hover,#3544b1))}:host([look=placeholder]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-placeholder-surface-disabled,transparent));color:var(--uui-look-placeholder-contrast-disabled,#6a759a);border-color:var(--uui-button-border-color-disabled,var(--uui-look-placeholder-border-disabled,#6a759a))}:host([look=positive]){font-weight:var(--uui-look-positive-font-weight,700)}:host([look=positive]) button{background-color:var(--uui-button-background-color,var(--uui-look-positive-surface,#25aa60));color:var(--uui-look-positive-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-positive-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-positive-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-positive-border,#25aa60))}:host([look=positive]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-positive-surface-hover,#2bc570));color:var(--uui-look-positive-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-positive-border-hover,#2bc570))}:host([look=positive]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-positive-surface-disabled,#597566));color:var(--uui-look-positive-contrast-disabled,#fefefe);border-color:var(--uui-button-border-color-disabled,var(--uui-look-positive-border-disabled,#597566))}:host([look=warning]){font-weight:var(--uui-look-warning-font-weight,700)}:host([look=warning]) button{background-color:var(--uui-button-background-color,var(--uui-look-warning-surface,#fad634));color:var(--uui-look-warning-contrast,#060606);border-style:var(--uui-button-border-style,var(--uui-look-warning-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-warning-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-warning-border,#fad634))}:host([look=warning]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-warning-surface-hover,#fbe065));color:var(--uui-look-warning-contrast-hover,#060606);border-color:var(--uui-button-border-color-hover,var(--uui-look-warning-border-hover,#fbe065))}:host([look=warning]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-warning-surface-disabled,#a6a085));color:var(--uui-look-warning-contrast-disabled,#060606);border-color:var(--uui-button-border-color-disabled,var(--uui-look-warning-border-disabled,#a6a085))}:host([look=danger]){font-weight:var(--uui-look-danger-font-weight,700)}:host([look=danger]) button{background-color:var(--uui-button-background-color,var(--uui-look-danger-surface,#d42054));color:var(--uui-look-danger-contrast,#fefefe);border-style:var(--uui-button-border-style,var(--uui-look-danger-border-style,solid));border-radius:var(--uui-button-border-radius,var(--uui-look-danger-border-radius,var(--uui-border-radius,3px)));border-color:var(--uui-button-border-color,var(--uui-look-danger-border,#d42054))}:host([look=danger]) button:hover{background-color:var(--uui-button-background-color-hover,var(--uui-look-danger-surface-hover,#e23c6b));color:var(--uui-look-danger-contrast-hover,#fefefe);border-color:var(--uui-button-border-color-hover,var(--uui-look-danger-border-hover,#e23c6b))}:host([look=danger]) button[disabled]{background-color:var(--uui-button-background-color-disabled,var(--uui-look-danger-surface-disabled,#856b72));color:var(--uui-look-danger-contrast-disabled,#fefefe);border-color:var(--uui-button-border-color-disabled,var(--uui-look-danger-border-disabled,#856b72))}`],Y([l({type:String,reflect:!0})],n.UUIButtonElement.prototype,"type",2),Y([l({type:Boolean,reflect:!0})],n.UUIButtonElement.prototype,"disabled",2),Y([l({reflect:!0})],n.UUIButtonElement.prototype,"look",2),Y([l({type:Boolean,reflect:!0})],n.UUIButtonElement.prototype,"compact",2),Y([l({type:String,reflect:!0})],n.UUIButtonElement.prototype,"state",2),Y([C("#button")],n.UUIButtonElement.prototype,"_button",2),n.UUIButtonElement=Y([c("uui-button")],n.UUIButtonElement);class me extends x{}me.OPEN="open";var pn=Object.defineProperty,vn=Object.getOwnPropertyDescriptor,At=(t,e,r,o)=>{for(var i=o>1?void 0:o?vn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&pn(e,r,i),i};n.UUICardElement=class extends qe(Le(h)){constructor(){super(...arguments);this.disabled=!1,this.error=!1}handleOpenClick(t){this.disabled||(t.stopPropagation(),this.dispatchEvent(new me(me.OPEN)))}handleOpenKeydown(t){this.disabled||t.key==="Enter"&&(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new me(me.OPEN)))}},n.UUICardElement.styles=[d`:host{position:relative;display:flex;width:100%;justify-content:center;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));border-radius:var(--uui-border-radius,3px);min-height:var(--uui-layout-medium);background-color:var(--uui-interface-surface,#fefefe);--uui-card-border-width:3px;transition:box-shadow .1s ease-out}:host(*) *{outline-color:var(--uui-interface-outline,#3879ff);outline-offset:4px}:host(:focus){outline-color:var(--uui-interface-outline,#3879ff);outline-width:var(--uui-card-border-width);outline-style:solid;outline-offset:var(--uui-card-border-width)}:host([error])::before{content:'';position:absolute;pointer-events:none;inset:0;width:100%;height:100%;z-index:1;box-sizing:border-box;border:var(--uui-card-border-width) solid var(--uui-look-danger-border,#d42054);border-radius:var(--uui-border-radius,3px)}:host([selectable]){cursor:pointer}:host([disabled]){background:var(--uui-interface-surface-disabled,#e4e4e4);color:var(--uui-interface-contrast-disabled,#73716e)}:host([selectable])::after{content:'';position:absolute;pointer-events:none;inset:calc(var(--uui-card-border-width) * -1);width:calc(100% + calc(var(--uui-card-border-width) * 2));height:calc(100% + calc(var(--uui-card-border-width) * 2));box-sizing:border-box;border:var(--uui-card-border-width) solid var(--uui-interface-select,#3544b1);border-radius:calc(var(--uui-border-radius,3px) + var(--uui-card-border-width));transition:opacity .1s ease-out;opacity:0}:host([selectable]:hover)::after{opacity:.33}:host([selectable][selected]:hover)::after{opacity:.66}:host([selectable][selected])::after{opacity:1}:host([select-only]) *,:host([select-only]) ::slotted(*){pointer-events:none}`],At([l({type:Boolean,reflect:!0,attribute:"disabled"})],n.UUICardElement.prototype,"disabled",2),At([l({type:Boolean,reflect:!0})],n.UUICardElement.prototype,"error",2),n.UUICardElement=At([c("uui-card")],n.UUICardElement);var bn=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,Dt=(t,e,r,o)=>{for(var i=o>1?void 0:o?fn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&bn(e,r,i),i};n.UUICardContentNodeElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}_renderFallbackIcon(){return U(this,"uui-icon"),u`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return u`<div id="open-part" tabindex="${this.disabled?E:0}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span id="icon"><slot name="icon" @slotchange="${this._onSlotIconChange}"></slot>${this._iconSlotHasContent===!1?this._renderFallbackIcon():""} </span><span id="name">${this.name}</span></div><div id="select-border"></div><slot></slot><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardContentNodeElement.styles=[...n.UUICardElement.styles,d`:host{min-width:250px;flex-direction:column;justify-content:space-between;padding:var(--uui-size-3,9px) var(--uui-size-4,12px)}slot[name=tag]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}slot:not([name]){display:block;margin:var(--uui-size-1,3px);margin-top:var(--uui-size-3,9px)}slot:not([name])::slotted(*){font-size:var(--uui-type-small-size,12px);line-height:calc(2 * var(--uui-size-3,9px))}#icon{font-size:1.2em;margin-right:var(--uui-size-1,3px)}#open-part{display:flex;position:relative;font-weight:700;align-items:center;cursor:pointer}:host([disabled]) #open-part{pointer-events:none}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}#name{margin-top:4px}`],Dt([l({type:String})],n.UUICardContentNodeElement.prototype,"name",2),Dt([g()],n.UUICardContentNodeElement.prototype,"_iconSlotHasContent",2),n.UUICardContentNodeElement=Dt([c("uui-card-content-node")],n.UUICardContentNodeElement);var mn=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,nt=(t,e,r,o)=>{for(var i=o>1?void 0:o?gn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&mn(e,r,i),i};n.UUICardMediaElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name="",this.fileExt="",this.hasPreview=!1}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-folder"),U(this,"uui-symbol-file")}queryPreviews(t){this.hasPreview=t.path[0].assignedElements({flatten:!0}).length>0}renderMedia(){return this.hasPreview===!1?this.fileExt===""?u`<uui-symbol-folder id="folder-symbol"></uui-symbol-folder>`:u`<uui-symbol-file id="file-symbol" type="${this.fileExt}"></uui-symbol-file>`:""}render(){return u`${this.renderMedia()}<slot @slotchange="${this.queryPreviews}"></slot><button id="open-part" tabindex="${this.disabled?E:"0"}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span>${this.name}</span></button><div id="select-border"></div><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardMediaElement.styles=[...n.UUICardElement.styles,d`#file-symbol,#folder-symbol{align-self:center;margin:var(--uui-size-14,42px);width:80%}slot[name=tag]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}slot:not([name])::slotted(*){align-self:center;border-radius:var(--uui-border-radius,3px);object-fit:cover;width:100%;height:100%}#open-part{position:absolute;bottom:0;width:100%;background-color:var(--uui-color-white,#fefefe);color:var(--uui-color-black,#060606);border:none;cursor:pointer;border-top:1px solid rgba(0,0,0,.04);border-radius:0 0 var(--uui-border-radius,3px) var(--uui-border-radius,3px);display:flex;justify-content:flex-start;align-items:center;font-family:inherit;font-size:var(--uui-type-small-size,12px);box-sizing:border-box;padding:var(--uui-size-2,6px) var(--uui-size-4,12px)}:host([disabled]) #open-part{pointer-events:none;background:var(--uui-interface-surface-disabled,#e4e4e4);color:var(--uui-interface-contrast-disabled,#73716e)}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}:host([image]:not([image=''])) #open-part{transition:opacity .5s .5s;opacity:0}:host([image]:not([image='']):hover,[image]:not([image='']):focus,[image]:not([image='']):focus-within,[selected][image]:not([image='']),[error][image]:not([image=''])) #open-part{opacity:1;transition-duration:120ms;transition-delay:0s}`],nt([l({type:String})],n.UUICardMediaElement.prototype,"name",2),nt([l({type:String,attribute:"file-ext"})],n.UUICardMediaElement.prototype,"fileExt",2),nt([g()],n.UUICardMediaElement.prototype,"hasPreview",2),n.UUICardMediaElement=nt([c("uui-card-media")],n.UUICardMediaElement);var _n=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,tr=(t,e,r,o)=>{for(var i=o>1?void 0:o?yn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&_n(e,r,i),i};n.UUICardUserElement=class extends n.UUICardElement{constructor(){super(...arguments);this.name=""}connectedCallback(){super.connectedCallback(),U(this,"uui-avatar")}render(){return u`<uui-avatar id="avatar" name="${this.name}" size="m"></uui-avatar><div id="open-part" tabindex="${this.disabled?E:"0"}" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}"><span>${this.name}</span></div><slot></slot><slot name="tag"></slot><slot name="actions"></slot>`}},n.UUICardUserElement.styles=[...n.UUICardElement.styles,d`:host{min-width:250px;flex-direction:column;justify-content:space-between;padding:var(--uui-size-3,9px);align-items:center}slot:not([name])::slotted(*){font-size:var(--uui-type-small-size,12px);line-height:var(--uui-size-6,18px)}::slotted(*){text-align:center}slot[name=tag]{position:absolute;top:6px;right:6px;display:flex;justify-content:right}slot[name=actions]{position:absolute;top:var(--uui-size-4,12px);right:var(--uui-size-4,12px);display:flex;justify-content:right;opacity:0;transition:opacity 120ms}:host(:focus) slot[name=actions],:host(:focus-within) slot[name=actions],:host(:hover) slot[name=actions]{opacity:1}#avatar{margin:var(--uui-size-3,9px)}slot[name=icon]::slotted(*){font-size:1.2em}#open-part{display:flex;position:relative;font-weight:700;align-items:center;cursor:pointer;margin:0 0 3px 0}:host([disabled]) #open-part{pointer-events:none}#open-part>span{vertical-align:center;margin-top:3px}#open-part:hover{text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}`],tr([l({type:String})],n.UUICardUserElement.prototype,"name",2),n.UUICardUserElement=tr([c("uui-card-user")],n.UUICardUserElement);var Un=Object.defineProperty,wn=Object.getOwnPropertyDescriptor,ir=(t,e,r,o)=>{for(var i=o>1?void 0:o?wn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Un(e,r,i),i};n.UUICaretElement=class extends h{constructor(){super();this.open=!1,console.error("\xB4uui-caret\xB4 is deprecated, please use \xB4uui-symbol-expand\xB4 or \xB4uui-symbol-sort\xB4")}render(){return u`<svg viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUICaretElement.styles=[d`:host{display:inline-block;width:12px;vertical-align:middle}svg{fill:currentColor;transform-origin:50% 50%;transition:transform 280ms cubic-bezier(.17,-.88,.82,1.84)}:host([open]) svg{transform:rotate(180deg)}`],ir([l({type:Boolean,reflect:!0})],n.UUICaretElement.prototype,"open",2),n.UUICaretElement=ir([c("uui-caret")],n.UUICaretElement);var En=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,In=(t,e,r,o)=>{for(var i=o>1?void 0:o?$n(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&En(e,r,i),i};n.UUICheckboxElement=class extends D{renderCheckbox(){return u`<div id="ticker"><div id="icon-check">${St}</div></div>`}},n.UUICheckboxElement.formAssociated=!0,n.UUICheckboxElement.styles=[...D.styles,Ze,d`:host{--uui-checkbox-size:18px}#ticker{position:relative;grid-area:'input';display:flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box;width:var(--uui-checkbox-size);height:var(--uui-checkbox-size);border-radius:var(--uui-checkbox-border-radius,var(--uui-border-radius,3px));color:var(--uui-toggle-color,var(--uui-interface-chosen-contrast,#fefefe));background-color:var(--uui-toggle-background-color,var(--uui-interface-surface,#fefefe));border:1px solid var(--uui-checkbox-border-color,var(--uui-interface-border,#c4c4c4));font-size:calc(var(--uui-checkbox-size) * .7)}label:hover input:not([disabled])+#ticker{border-color:var(--uui-checkbox-border-color-hover,var(--uui-interface-border-hover,#b3b3b3));background-color:var(--uui-checkbox-background-color-hover,var(--uui-interface-surface-hover,#fafafa))}label:focus #ticker{border-color:var(--uui-checkbox-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));background-color:var(--uui-checkbox-background-color-focus,var(--uui-interface-surface-alt-focus,#d8d7d9))}input:checked+#ticker{border-color:var(--uui-interface-chosen,#1b264f)}label:hover input:checked:not([disabled])+#ticker{border-color:var(--uui-interface-chosen-hover,#26356e)}label:focus input:checked+#ticker{border-color:var(--uui-interface-chosen-focus,#1b264f)}#icon-check{position:absolute;vertical-align:middle;width:1em;height:1em;line-height:0;transition:fill 120ms,opacity 120ms;fill:var(--uui-interface-chosen-contrast,#fefefe);opacity:0}#ticker::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:calc(var(--uui-checkbox-border-radius,var(--uui-border-radius,3px)) * .5);background-color:var(--uui-interface-chosen,#1b264f);transition:transform 120ms ease,opacity 120ms,background-color 120ms;transform:scale(0);opacity:0}label:hover input:checked:not([disabled])+#ticker::before{background-color:var(--uui-interface-chosen-hover,#26356e)}input:checked+#ticker::before{transform:scale(1);opacity:1}input:checked+#ticker #icon-check{opacity:1}label:focus input:checked+#ticker{background-color:var(--uui-interface-chosen-focus,#1b264f)}input:focus+#ticker{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:not([disabled])) label:active input:checked+#ticker::before{transform:scale(.9)}:host(:not([pristine]):invalid) #ticker,:host(:not([pristine]):invalid) label:focus input:checked+#ticker,:host(:not([pristine]):invalid) label:hover #ticker,:host(:not([pristine]):invalid) label:hover input:checked:not([disabled])+#ticker,:host(:not([pristine])[internals-invalid]) #ticker,:host(:not([pristine])[internals-invalid]) label:focus input:checked+#ticker,:host(:not([pristine])[internals-invalid]) label:hover #ticker,:host(:not([pristine])[internals-invalid]) label:hover input:checked:not([disabled])+#ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([disabled]) #ticker{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) input:checked+#ticker{background-color:var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]) #ticker:after{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #ticker #icon-check{fill:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) label:active #ticker{animation:${Qe}}:host([disabled]) input:checked+#ticker #icon-check{fill:var(--uui-interface-chosen-contrast-disabled,#e4e4e4)}`],n.UUICheckboxElement=In([c("uui-checkbox")],n.UUICheckboxElement);var xn=Object.defineProperty,rr=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,or=(t,e,r)=>e in t?xn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,nr=(t,e)=>{for(var r in e||(e={}))Cn.call(e,r)&&or(t,r,e[r]);if(rr)for(var r of rr(e))Pn.call(e,r)&&or(t,r,e[r]);return t};class X extends x{constructor(e,r={}){super(e,nr(nr({},{bubbles:!0}),r))}}X.CHANGE="change";var kn=Object.defineProperty,On=Object.getOwnPropertyDescriptor,Z=(t,e,r,o)=>{for(var i=o>1?void 0:o?On(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&kn(e,r,i),i};n.UUIComboboxListElement=class extends h{constructor(){super(...arguments);this.displayValue="",this._value="",this._onSlotChange=()=>{this._activeElement=void 0;for(let t=0;t<this._activeOptions.length;t++)t===0?this._activeElement=this._activeOptions[t]:this._activeOptions[t].active=!1;this._updateSelection()},this._onSelected=t=>{this._selectedElement&&(this._selectedElement.selected=!1,this._selectedElement.active=!1,this._selectedElement=void 0),this._selectedElement=t.composedPath()[0],this._activeElement=this._selectedElement,this.value=this._selectedElement.value||"",this.displayValue=this._selectedElement.displayValue||"",this.dispatchEvent(new X(X.CHANGE))},this._onUnselected=t=>{const e=t.composedPath()[0];this._activeElement===e&&(this._activeElement=void 0),this._selectedElement===e&&(this.value="",this.displayValue="",this.dispatchEvent(new X(X.CHANGE)))},this._moveIndex=t=>{const e=Math.min(Math.max(this._getActiveIndex()+t,0),this._options.length-1);this._goToIndex(e)},this._onKeyDown=t=>{var e;if(!(this._options.length<=0))switch(t.key){case"ArrowUp":t.preventDefault(),t.ctrlKey?this._moveIndex(-10):this._moveIndex(-1);break;case"ArrowDown":t.preventDefault(),t.ctrlKey?this._moveIndex(10):this._moveIndex(1);break;case"Home":{t.preventDefault(),this._goToIndex(0);break}case"Enter":{t.preventDefault(),(e=this._activeElement)==null||e.click();break}case"End":{t.preventDefault(),this._goToIndex(this._options.length-1);break}}}}get value(){return this._value}set value(t){if(this._value===t)return;const e=this._value;this._value=t,this._updateSelection(),this.requestUpdate("value",e)}get for(){return this._for}set for(t){this._for&&this._for.removeEventListener("keydown",this._onKeyDown),this._for=t,this._for&&this._for.addEventListener("keydown",this._onKeyDown)}get _activeElement(){return this.__activeElement}set _activeElement(t){this.__activeElement&&(this.__activeElement.active=!1),t&&(t.active=!0,this.__activeElement=t)}connectedCallback(){super.connectedCallback(),this._for||(this._for=this),this.addEventListener(fe.SELECTED,this._onSelected),this.addEventListener(fe.UNSELECTED,this._onUnselected)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this._onKeyDown),this.removeEventListener(fe.SELECTED,this._onSelected),this.removeEventListener(fe.UNSELECTED,this._onUnselected)}_updateSelection(){this.displayValue="";for(const t of this._options)t.value===this._value?(this.displayValue=t.displayValue||"",t.selected=!0):t.selected=!1}_getActiveIndex(){return this._activeElement?this._options.indexOf(this._activeElement):-1}_goToIndex(t){t=Math.min(Math.max(t,0),this._options.length-1),this._activeElement=this._options[t],this._activeElement&&this._activeElement.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}render(){return u`<slot @slotchange="${this._onSlotChange}"></slot>`}},n.UUIComboboxListElement.styles=[d`:host{display:flex;flex-direction:column;box-sizing:border-box}`],Z([l({type:String})],n.UUIComboboxListElement.prototype,"value",1),Z([l({type:String})],n.UUIComboboxListElement.prototype,"displayValue",2),Z([l({attribute:!1})],n.UUIComboboxListElement.prototype,"for",1),Z([W({flatten:!0,selector:"uui-combobox-list-option:not([disabled])"})],n.UUIComboboxListElement.prototype,"_options",2),Z([W({flatten:!0,selector:"uui-combobox-list-option[active]"})],n.UUIComboboxListElement.prototype,"_activeOptions",2),Z([g()],n.UUIComboboxListElement.prototype,"_value",2),n.UUIComboboxListElement=Z([c("uui-combobox-list")],n.UUIComboboxListElement);var zn=Object.defineProperty,Sn=Object.getOwnPropertyDescriptor,ge=(t,e,r,o)=>{for(var i=o>1?void 0:o?Sn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&zn(e,r,i),i};n.UUIComboboxListOptionElement=class extends Le(Ge(h)){constructor(){super();this._disabled=!1,this._displayValue="",this.selectable=!0,this.unselectable=!1}get value(){var t;return this._value?this._value:((t=this.textContent)==null?void 0:t.trim())||""}set value(t){const e=this._value;this._value=t,this.requestUpdate("value",e)}get displayValue(){var t;return this._displayValue?this._displayValue:((t=this.textContent)==null?void 0:t.trim())||""}set displayValue(t){const e=this._displayValue;this._displayValue=t,this.requestUpdate("displayValue",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.selectable=!this._disabled,this.requestUpdate("disabled",e)}render(){return u`<slot></slot>`}},n.UUIComboboxListOptionElement.styles=[d`:host{position:relative;cursor:pointer;margin:0 6px;border-radius:var(--uui-border-radius,3px);outline:2px solid transparent;outline-offset:-2px}:host(:first-child){margin-top:6px}:host(:last-child){margin-bottom:6px}:host([selected]):host([active])::after{display:block;content:'';position:absolute;inset:0;outline:#fff solid 2px;outline-offset:-4px}:host::before{display:block;content:'';opacity:0;position:absolute;inset:0;background-color:var(--uui-interface-select,#3544b1)}:host(:hover)::before{opacity:.15;border-radius:var(--uui-border-radius,3px)}:host([disabled]){cursor:auto;color:var(--uui-interface-surface-contrast-disabled);background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]:hover){background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([active]){outline-color:var(--uui-interface-outline,#3879ff)}:host([selected]){color:var(--uui-interface-select-contrast,#fefefe);background-color:var(--uui-interface-select,#3544b1)}:host([selected]:hover){color:var(--uui-interface-select-contrast-hover,#fefefe);background-color:var(--uui-interface-select-hover,#4656c8)}:host([selected][disabled]){color:var(--uui-interface-select-contrast-disabled,#e4e4e4);background-color:var(--uui-interface-select-disabled,#575757)}`],ge([g()],n.UUIComboboxListOptionElement.prototype,"_disabled",2),ge([g()],n.UUIComboboxListOptionElement.prototype,"_displayValue",2),ge([l({type:String})],n.UUIComboboxListOptionElement.prototype,"value",1),ge([l({type:String,attribute:"display-value"})],n.UUIComboboxListOptionElement.prototype,"displayValue",1),ge([l({type:Boolean,reflect:!0})],n.UUIComboboxListOptionElement.prototype,"disabled",1),n.UUIComboboxListOptionElement=ge([c("uui-combobox-list-option")],n.UUIComboboxListOptionElement);class A extends x{}A.SEARCH="search",A.CHANGE="change";var An=Object.defineProperty,Dn=Object.getOwnPropertyDescriptor,Q=(t,e,r,o)=>{for(var i=o>1?void 0:o?Dn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&An(e,r,i),i};n.UUIComboboxElement=class extends j(h){constructor(){super(...arguments);this.open=!1,this._displayValue="",this._search="",this._onMouseDown=()=>requestAnimationFrame(()=>this._input.focus()),this._onBlur=()=>requestAnimationFrame(()=>{document.activeElement!==this&&this._close()}),this._onInput=t=>{t.preventDefault(),t.stopImmediatePropagation(),this.search=t.target.value,this.dispatchEvent(new A(A.SEARCH)),this._open()},this._onChange=t=>{var e,r;t.stopImmediatePropagation(),this.value=((e=this._comboboxList)==null?void 0:e.value)||"",this._displayValue=((r=this._comboboxList)==null?void 0:r.displayValue)||"",this.search=this.value?this.search:"",this._close(),this.dispatchEvent(new A(A.CHANGE))},this._open=()=>{this.open||(this.open=!0)},this._close=()=>{var t;!this.open||(this.open=!1,this._displayValue=((t=this._comboboxList)==null?void 0:t.displayValue)||"",this._input.value=this._displayValue,this.search="",this.dispatchEvent(new A(A.SEARCH)))},this._onKeyDown=t=>{this.open===!1&&t.key==="Enter"&&(t.preventDefault(),t.stopImmediatePropagation()),(t.key==="ArrowUp"||t.key==="ArrowDown")&&this._open(),(t.key==="Escape"||t.key==="Enter")&&this._close()},this._clear=t=>{t.key&&t.key!=="Enter"||(t.preventDefault(),t.stopImmediatePropagation(),this._displayValue="",this._input.value=this._displayValue,this.search="",this.value="",this._comboboxList.value=this.value,this.dispatchEvent(new A(A.CHANGE)))},this._renderInput=()=>u`<uui-input slot="trigger" id="combobox-input" label="combobox-input" type="text" .value="${this._displayValue}" .placeholder="${this._displayValue}" autocomplete="off" @click="${this._open}" @input="${this._onInput}" @keydown="${this._onKeyDown}"><slot name="input-prepend" slot="prepend"></slot>${this._renderClearButton()} ${this._renderCaret()}<slot name="input-append" slot="append"></slot></uui-input>`,this._renderCaret=()=>u`<svg id="caret" slot="append" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`,this._renderClearButton=()=>u`<uui-button id="clear-button" class="${this.value||this.search?"--show":""}" @click="${this._clear}" @keydown="${this._clear}" label="clear" slot="append" compact="compact" style="height:100%;--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0"><uui-icon name="remove" .fallback="${Ji.strings[0]}"></uui-icon></uui-button>`,this._renderDropdown=()=>u`<div id="dropdown" slot="popover"><uui-scroll-container id="scroll-container"><slot></slot></uui-scroll-container></div>`}get value(){return this._value}set value(t){super.value=t,typeof t=="string"&&this._updateValue(t)}get search(){return this._search}set search(t){if(this.search===t)return;const e=this._search;this._search=t,this.requestUpdate("search",e)}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",this._onBlur),this.addEventListener("mousedown",this._onMouseDown),U(this,"uui-icon"),U(this,"uui-input"),U(this,"uui-button"),U(this,"uui-combobox-list"),U(this,"uui-scroll-container")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this._onBlur),this.removeEventListener("mousedown",this._onMouseDown)}async firstUpdated(){var t;const e=(t=this._comboboxListElements)==null?void 0:t[0];e&&(this._comboboxList=e,this._comboboxList.for=this,this._comboboxList.addEventListener(X.CHANGE,this._onChange),typeof this.value=="string"&&(await this.updateComplete,this._updateValue(this.value)))}_updateValue(t){var e;this._comboboxList&&(this._comboboxList.value=t,this._displayValue=((e=this._comboboxList)==null?void 0:e.displayValue)||"")}getFormElement(){return this._input}render(){return u`<uui-popover .open="${this.open}" .margin="${-1}" @close="${()=>this._close()}">${this._renderInput()} ${this._renderDropdown()}</uui-popover>`}},n.UUIComboboxElement.styles=[d`:host{position:relative;display:inline-block}#combobox-input{width:100%;border-radius:var(--uui-size-1,3px)}#scroll-container{max-height:var(--uui-combobox-popover-max-height,500px);overflow-y:auto}#dropdown{overflow:hidden;z-index:-1;background-color:var(--uui-combobox-popover-background-color,#fff);border:1px solid var(--uui-interface-border,#c4c4c4);border-radius:var(--uui-border-radius,3px);width:100%;height:100%;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-3,0 10px 20px rgba(0,0,0,.19) ,0 6px 6px rgba(0,0,0,.23))}#clear-button{pointer-events:none;opacity:0;transition:opacity 120ms}#clear-button.--show{pointer-events:auto;opacity:1}#caret{margin-right:var(--uui-size-3,9px);display:flex;width:1.15em;flex-shrink:0;margin-top:-1px}`],Q([l({type:String})],n.UUIComboboxElement.prototype,"search",1),Q([l({type:Boolean})],n.UUIComboboxElement.prototype,"open",2),Q([C("#combobox-input")],n.UUIComboboxElement.prototype,"_input",2),Q([W({flatten:!0,selector:"uui-combobox-list"})],n.UUIComboboxElement.prototype,"_comboboxListElements",2),Q([g()],n.UUIComboboxElement.prototype,"_displayValue",2),Q([g()],n.UUIComboboxElement.prototype,"_search",2),n.UUIComboboxElement=Q([c("uui-combobox")],n.UUIComboboxElement);var Ln=Object.defineProperty,Tn=Object.getOwnPropertyDescriptor,Lt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ln(e,r,i),i};n.UUIDialogLayoutElement=class extends h{constructor(){super(...arguments);this.headline=null,this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}renderHeadline(){return u`<h3 style="${this._headlineSlotHasContent||this.headline!==null?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h3>`}renderContent(){return u`<slot></slot>`}renderActions(){return u`<slot id="actions" name="actions"></slot>`}render(){return u`${this.renderHeadline()} ${this.renderContent()} ${this.renderActions()}`}},n.UUIDialogLayoutElement.styles=[d`:host{display:block;padding:var(--uui-size-10,30px) var(--uui-size-14,42px)}#actions{margin-top:var(--uui-size-8,24px);display:flex;justify-content:end;gap:var(--uui-size-4,12px)}`],Lt([l({type:String})],n.UUIDialogLayoutElement.prototype,"headline",2),Lt([g()],n.UUIDialogLayoutElement.prototype,"_headlineSlotHasContent",2),n.UUIDialogLayoutElement=Lt([c("uui-dialog-layout")],n.UUIDialogLayoutElement);var Nn=Object.defineProperty,Bn=Object.getOwnPropertyDescriptor,Hn=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Nn(e,r,i),i};n.UUIDialogElement=class extends h{render(){return u`<slot></slot>`}},n.UUIDialogElement.styles=[d`:host{position:relative;display:block;max-width:400px;background-color:var(--uui-dialog-background-color,var(--uui-interface-surface,#fefefe));box-shadow:var(--uui-shadow-depth-5,0 19px 38px rgba(0,0,0,.3) ,0 15px 12px rgba(0,0,0,.22));border-radius:var(--uui-dialog-border-radius,calc(var(--uui-border-radius,3px) * 2))}`],n.UUIDialogElement=Hn([c("uui-dialog")],n.UUIDialogElement);class Te extends x{}Te.FILE_CHANGE="file-change";var jn=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,Ne=(t,e,r,o)=>{for(var i=o>1?void 0:o?Mn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&jn(e,r,i),i};n.UUIFileDropzoneElement=class extends De("",h){constructor(){super();this.accept="",this.multiple=!1,this.addEventListener("dragenter",this._onDragEnter,!1),this.addEventListener("dragleave",this._onDragLeave,!1),this.addEventListener("dragover",this._onDragOver,!1),this.addEventListener("drop",this._onDrop,!1)}browse(){this._input.click()}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-file-dropzone")}_checkIsItDirectory(t){return t.type?!1:t.webkitGetAsEntry().isDirectory}async _getAllFileEntries(t){const e=[],r=[];for(let o=0;o<t.length;o++)r.push(t[o].webkitGetAsEntry());if(this.accept){const o=[],i=[];for(this.accept.split(",").forEach(s=>{s.includes("*")?i.push(s.split("*")[0].trim().toLowerCase()):o.push(s.trim().toLowerCase())});r.length>0;){const s=r.shift();s.isFile&&await this._isAccepted(o,i,s)?e.push(s):s.isDirectory&&(e.push(s),r.push(...await this._readAllDirectoryEntries(s.createReader())))}}else for(;r.length>0;){const o=r.shift();o.isFile?e.push(o):o.isDirectory&&(e.push(o),r.push(...await this._readAllDirectoryEntries(o.createReader())))}return e}async _readAllDirectoryEntries(t){const e=[];let r=await this._readEntriesPromise(t);for(;r.length>0;)e.push(...r),r=await this._readEntriesPromise(t);return e}async _readEntriesPromise(t){try{return await new Promise((e,r)=>{t.readEntries(e,r)})}catch(e){console.log(e)}}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}async _isAccepted(t,e,r){const o=await this._getFile(r),i=o.type.toLowerCase(),s="."+o.name.split(".")[1].toLowerCase();return!!(t.includes(s)||t.includes(i)||e.some(a=>i.startsWith(a)))}async _onDrop(t){var e;t.preventDefault(),this._dropzone.classList.remove("hover");const r=(e=t.dataTransfer)==null?void 0:e.items;if(r){let o=await this._getAllFileEntries(r);this.multiple===!1&&o.length>0&&(o=[o[0]]),this.dispatchEvent(new Te(Te.FILE_CHANGE,{detail:{files:o}}))}}_onDragOver(t){t.preventDefault()}_onDragEnter(t){this._dropzone.classList.add("hover"),t.preventDefault()}_onDragLeave(t){this._dropzone.classList.remove("hover"),t.preventDefault()}_onFileInputChange(){const t=this._input.files?Array.from(this._input.files):[];this.dispatchEvent(new Te(Te.FILE_CHANGE,{detail:{files:t}}))}render(){return u`<div id="dropzone"><uui-symbol-file-dropzone id="symbol"></uui-symbol-file-dropzone>${this.renderLabel()} <input @click="${t=>t.stopImmediatePropagation()}" id="input" type="file" accept="${this.accept}" ?multiple="${this.multiple}" @change="${this._onFileInputChange}" aria-label="${this.label}"></div>`}},n.UUIFileDropzoneElement.styles=[d`#dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-sizing:border-box;width:100%;height:100%;padding:var(--uui-size-4,12px);border:3px solid transparent;margin:-3px;backdrop-filter:blur(2px)}#dropzone.hover{border-color:var(--uui-color-primary,#3544b1)}#dropzone.hover::before{content:'';position:absolute;inset:0;opacity:.2;border-color:var(--uui-color-primary,#3544b1);background-color:var(--uui-color-primary,#3544b1)}#symbol{color:var(--uui-color-primary,#3544b1);max-width:100%;max-height:100%}#input{position:absolute;width:0;height:0;opacity:0;display:none}`],Ne([C("#input")],n.UUIFileDropzoneElement.prototype,"_input",2),Ne([C("#dropzone")],n.UUIFileDropzoneElement.prototype,"_dropzone",2),Ne([l({type:String})],n.UUIFileDropzoneElement.prototype,"accept",2),Ne([l({type:Boolean})],n.UUIFileDropzoneElement.prototype,"multiple",2),n.UUIFileDropzoneElement=Ne([c("uui-file-dropzone")],n.UUIFileDropzoneElement);class Rn{static humanFileSize(e,r=!1,o=1){const i=r?1e3:1024;if(Math.abs(e)<i)return e+" B";const s=r?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let a=-1;const v=10**o;do e/=i,++a;while(Math.round(Math.abs(e)*v)/v>=i&&a<s.length-1);return e.toFixed(o)+" "+s[a]}}var Fn=Object.defineProperty,Vn=Object.getOwnPropertyDescriptor,L=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Fn(e,r,i),i};n.UUIFilePreviewElement=class extends h{constructor(){super(...arguments);this._name="",this._url="",this._extension="",this._src="",this._size=0,this._isDirectory=!1}get file(){return this._file}set file(t){const e=this._file;t instanceof File&&(this._name=t.name.split(".")[0],this._extension=t.name.split(".")[1],this._isDirectory=!1,this._size=t.size,this._isFileAnImage(t)&&(this._isImage=!0,this._getThumbnail(t).then(r=>{this._src=r})),this.requestUpdate("file",e))}connectedCallback(){super.connectedCallback(),U(this,"uui-symbol-file-thumbnail"),U(this,"uui-symbol-folder"),U(this,"uui-symbol-file")}_openSource(){window.open(this._url,"_blank")}_fileTypeTemplate(){return this._isDirectory?u`<uui-symbol-folder id="file-symbol"></uui-symbol-folder>`:this._isImage?u`<uui-symbol-file-thumbnail .src="${this._src}" .alt="${this._name}" id="file-symbol"></uui-symbol-file-thumbnail>`:u`<uui-symbol-file id="file-symbol" .type="${this._extension}"></uui-symbol-file>`}_renderLongName(){const e=this._name.substring(0,this._name.length-6),r=this._name.substring(this._name.length-6,this._name.length);return u`<span id="file-name" class="${this._url?"has-source":""}" @click="${()=>this._url?this._openSource():""}" @keydown="${()=>""}"><span id="file-name-start">${e}</span> <span id="file-name-end">${r}</span></span>`}_isFileAnImage(t){return t?t.type.split("/")[0]==="image":!1}async _getThumbnail(t){return await new Promise(e=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>{e(r.result)}})}render(){return u`<slot id="actions" name="actions"></slot>${this._fileTypeTemplate()}<div id="file-info">${this._renderLongName()} <span id="file-size">${this._size&&!this._isDirectory?u`${Rn.humanFileSize(this._size,!0)}`:""}</span></div>`}},n.UUIFilePreviewElement.styles=[d`:host{position:relative;display:grid;grid-template-rows:100px 50px;width:150px;height:150px;box-sizing:border-box;aspect-ratio:1}:host(:hover) slot[name=actions]::slotted(*){opacity:1}slot[name=actions]::slotted(*){position:absolute;top:8px;right:8px;max-width:100%;height:32px;font-size:13px;opacity:0;z-index:1;transition:opacity 150ms}#file-symbol{aspect-ratio:1/1;margin:auto;max-width:100%;max-height:100%}#file-info{min-width:0;display:flex;text-align:center;flex-direction:column;font-size:1rem}#file-name{display:flex;justify-content:center}#file-name-start{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#file-name-end{white-space:nowrap}#file-size{opacity:.6}.has-source:hover{text-decoration:underline;cursor:pointer}`],L([g()],n.UUIFilePreviewElement.prototype,"_name",2),L([g()],n.UUIFilePreviewElement.prototype,"_url",2),L([g()],n.UUIFilePreviewElement.prototype,"_extension",2),L([g()],n.UUIFilePreviewElement.prototype,"_src",2),L([g()],n.UUIFilePreviewElement.prototype,"_size",2),L([g()],n.UUIFilePreviewElement.prototype,"_isDirectory",2),L([g()],n.UUIFilePreviewElement.prototype,"_file",2),L([g()],n.UUIFilePreviewElement.prototype,"_isImage",2),L([l({attribute:!1})],n.UUIFilePreviewElement.prototype,"file",1),n.UUIFilePreviewElement=L([c("uui-file-preview")],n.UUIFilePreviewElement);var Gn=Object.defineProperty,qn=Object.getOwnPropertyDescriptor,st=(t,e,r,o)=>{for(var i=o>1?void 0:o?qn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Gn(e,r,i),i};n.UUIFormLayoutItemElement=class extends h{constructor(){super(...arguments);this.description=null,this._labelSlotHasContent=!1,this._labelSlotChanged=t=>{this._labelSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0},this._descriptionSlotHasContent=!1,this._descriptionSlotChanged=t=>{this._descriptionSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}connectedCallback(){super.connectedCallback(),U(this,"uui-form-validation-message")}render(){return u`<div id="label" style="${this._labelSlotHasContent?"":"display: none"}"><slot name="label" @slotchange="${this._labelSlotChanged}"></slot></div><div id="description" style="${this._descriptionSlotHasContent||this.description!==null?"":"display: none"}">${this.description}<slot name="description" @slotchange="${this._descriptionSlotChanged}"></slot></div><uui-form-validation-message><slot></slot><slot name="message" slot="message"></slot></uui-form-validation-message>`}},n.UUIFormLayoutItemElement.styles=[d`:host{position:relative;display:block;margin-top:var(--uui-size-space-5,18px);margin-bottom:var(--uui-size-space-5,18px)}#label{margin-top:-5px;margin-bottom:5px}#description{color:var(--uui-interface-contrast-disabled,#73716e);font-size:var(--uui-type-small-size,12px)}#label+#description{margin-top:-8px;min-height:8px}`],st([l({type:String})],n.UUIFormLayoutItemElement.prototype,"description",2),st([g()],n.UUIFormLayoutItemElement.prototype,"_labelSlotHasContent",2),st([g()],n.UUIFormLayoutItemElement.prototype,"_descriptionSlotHasContent",2),n.UUIFormLayoutItemElement=st([c("uui-form-layout-item")],n.UUIFormLayoutItemElement);/**
216
216
  * @license
217
217
  * Copyright 2020 Google LLC
218
218
  * SPDX-License-Identifier: BSD-3-Clause
219
- */const{H:Rn}=Lr,ir=()=>document.createComment(""),Be=(t,e,r)=>{var o;const i=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(r===void 0){const a=i.insertBefore(ir(),s),v=i.insertBefore(ir(),s);r=new Rn(a,v,t,t.options)}else{const a=r._$AB.nextSibling,v=r._$AM,b=v!==t;if(b){let p;(o=r._$AQ)===null||o===void 0||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(p=t._$AU)!==v._$AU&&r._$AP(p)}if(a!==s||b){let p=r._$AA;for(;p!==a;){const $=p.nextSibling;i.insertBefore(p,s),p=$}}}return r},J=(t,e,r=t)=>(t._$AI(e,r),t),Fn={},Vn=(t,e=Fn)=>t._$AH=e,Gn=t=>t._$AH,Dt=t=>{var e;(e=t._$AP)===null||e===void 0||e.call(t,!1,!0);let r=t._$AA;const o=t._$AB.nextSibling;for(;r!==o;){const i=r.nextSibling;r.remove(),r=i}};/**
219
+ */const{H:Wn}=jr,Kn=t=>t.strings===void 0,sr=()=>document.createComment(""),Be=(t,e,r)=>{var o;const i=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(r===void 0){const a=i.insertBefore(sr(),s),v=i.insertBefore(sr(),s);r=new Wn(a,v,t,t.options)}else{const a=r._$AB.nextSibling,v=r._$AM,b=v!==t;if(b){let p;(o=r._$AQ)===null||o===void 0||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(p=t._$AU)!==v._$AU&&r._$AP(p)}if(a!==s||b){let p=r._$AA;for(;p!==a;){const I=p.nextSibling;i.insertBefore(p,s),p=I}}}return r},J=(t,e,r=t)=>(t._$AI(e,r),t),Yn={},Xn=(t,e=Yn)=>t._$AH=e,Zn=t=>t._$AH,Tt=t=>{var e;(e=t._$AP)===null||e===void 0||e.call(t,!1,!0);let r=t._$AA;const o=t._$AB.nextSibling;for(;r!==o;){const i=r.nextSibling;r.remove(),r=i}};/**
220
220
  * @license
221
221
  * Copyright 2017 Google LLC
222
222
  * SPDX-License-Identifier: BSD-3-Clause
223
- */const rr=(t,e,r)=>{const o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},or=Ct(class extends Pt{constructor(t){if(super(t),t.type!==xt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);const i=[],s=[];let a=0;for(const v of t)i[a]=o?o(v,a):a,s[a]=r(v,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){var i;const s=Gn(t),{values:a,keys:v}=this.dt(e,r,o);if(!Array.isArray(s))return this.ut=v,a;const b=(i=this.ut)!==null&&i!==void 0?i:this.ut=[],p=[];let $,_,f=0,y=s.length-1,w=0,E=a.length-1;for(;f<=y&&w<=E;)if(s[f]===null)f++;else if(s[y]===null)y--;else if(b[f]===v[w])p[w]=J(s[f],a[w]),f++,w++;else if(b[y]===v[E])p[E]=J(s[y],a[E]),y--,E--;else if(b[f]===v[E])p[E]=J(s[f],a[E]),Be(t,p[E+1],s[f]),f++,E--;else if(b[y]===v[w])p[w]=J(s[y],a[w]),Be(t,s[f],s[y]),y--,w++;else if($===void 0&&($=rr(v,w,E),_=rr(b,f,y)),$.has(b[f]))if($.has(b[y])){const z=_.get(v[w]),re=z!==void 0?s[z]:null;if(re===null){const $e=Be(t,s[f]);J($e,a[w]),p[w]=$e}else p[w]=J(re,a[w]),Be(t,s[f],re),s[z]=null;w++}else Dt(s[y]),y--;else Dt(s[f]),f++;for(;w<=E;){const z=Be(t,p[E+1]);J(z,a[w]),p[w++]=z}for(;f<=y;){const z=s[f++];z!==null&&Dt(z)}return this.ut=v,Vn(t,p),H}});var qn=Object.defineProperty,Wn=Object.getOwnPropertyDescriptor,nr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&qn(e,r,i),i};n.UUIFormValidationMessageElement=class extends h{constructor(){super();this._for=null,this._messages=new Map,this._onControlInvalid=t=>{const e=t.target;e.pristine===!1?this._messages.set(e,e.validationMessage):this._messages.delete(e),this.requestUpdate()},this._onControlValid=t=>{this._messages.delete(t.target),this.requestUpdate()},this.for===null&&(this.for=this)}get for(){return this._for}set for(t){let e=null;if(typeof t=="string"){const i=this.getRootNode();e=i?.getElementById(t)}const r=e||this,o=this._for;o!==r&&(o!==null&&(o.removeEventListener(be.INVALID,this._onControlInvalid),o.removeEventListener(be.VALID,this._onControlValid)),this._for=r,this._for.addEventListener(be.INVALID,this._onControlInvalid),this._for.addEventListener(be.VALID,this._onControlValid))}render(){return u`<slot></slot><div id="messages">${or(this._messages,t=>u`<div>${t[1]}</div>`)}<slot name="message"></slot></div>`}},n.UUIFormValidationMessageElement.styles=[d`#messages{color:var(--uui-look-danger-surface,#d42054)}`],nr([l({reflect:!1,attribute:!0})],n.UUIFormValidationMessageElement.prototype,"for",1),n.UUIFormValidationMessageElement=nr([c("uui-form-validation-message")],n.UUIFormValidationMessageElement);var Kn=Object.defineProperty,Yn=Object.getOwnPropertyDescriptor,Xn=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Kn(e,r,i),i};n.UUIFormElement=class extends h{constructor(){super(...arguments);this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(t){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const e=t.target.assignedNodes({flatten:!0}).filter(r=>r instanceof HTMLFormElement);this._formElement=e.length>0?e[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(t){if(t.target===null)return;const e=t.target;if(!e.checkValidity()){e.setAttribute("submit-invalid","");return}e.removeAttribute("submit-invalid")}_onReset(t){t.target!==null&&t.target.removeAttribute("submit-invalid")}render(){return u`<slot @slotchange="${this._onSlotChanged}"></slot>`}},n.UUIFormElement=Xn([c("uui-form")],n.UUIFormElement);/**
223
+ */const ar=(t,e,r)=>{const o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},lr=et(class extends tt{constructor(t){if(super(t),t.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);const i=[],s=[];let a=0;for(const v of t)i[a]=o?o(v,a):a,s[a]=r(v,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){var i;const s=Zn(t),{values:a,keys:v}=this.dt(e,r,o);if(!Array.isArray(s))return this.ut=v,a;const b=(i=this.ut)!==null&&i!==void 0?i:this.ut=[],p=[];let I,_,f=0,y=s.length-1,w=0,$=a.length-1;for(;f<=y&&w<=$;)if(s[f]===null)f++;else if(s[y]===null)y--;else if(b[f]===v[w])p[w]=J(s[f],a[w]),f++,w++;else if(b[y]===v[$])p[$]=J(s[y],a[$]),y--,$--;else if(b[f]===v[$])p[$]=J(s[f],a[$]),Be(t,p[$+1],s[f]),f++,$--;else if(b[y]===v[w])p[w]=J(s[y],a[w]),Be(t,s[f],s[y]),y--,w++;else if(I===void 0&&(I=ar(v,w,$),_=ar(b,f,y)),I.has(b[f]))if(I.has(b[y])){const z=_.get(v[w]),re=z!==void 0?s[z]:null;if(re===null){const Ie=Be(t,s[f]);J(Ie,a[w]),p[w]=Ie}else p[w]=J(re,a[w]),Be(t,s[f],re),s[z]=null;w++}else Tt(s[y]),y--;else Tt(s[f]),f++;for(;w<=$;){const z=Be(t,p[$+1]);J(z,a[w]),p[w++]=z}for(;f<=y;){const z=s[f++];z!==null&&Tt(z)}return this.ut=v,Xn(t,p),H}});var Qn=Object.defineProperty,Jn=Object.getOwnPropertyDescriptor,ur=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jn(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Qn(e,r,i),i};n.UUIFormValidationMessageElement=class extends h{constructor(){super();this._for=null,this._messages=new Map,this._onControlInvalid=t=>{const e=t.target;e.pristine===!1?this._messages.set(e,e.validationMessage):this._messages.delete(e),this.requestUpdate()},this._onControlValid=t=>{this._messages.delete(t.target),this.requestUpdate()},this.for===null&&(this.for=this)}get for(){return this._for}set for(t){let e=null;if(typeof t=="string"){const i=this.getRootNode();e=i?.getElementById(t)}const r=e||this,o=this._for;o!==r&&(o!==null&&(o.removeEventListener(be.INVALID,this._onControlInvalid),o.removeEventListener(be.VALID,this._onControlValid)),this._for=r,this._for.addEventListener(be.INVALID,this._onControlInvalid),this._for.addEventListener(be.VALID,this._onControlValid))}render(){return u`<slot></slot><div id="messages">${lr(this._messages,t=>u`<div>${t[1]}</div>`)}<slot name="message"></slot></div>`}},n.UUIFormValidationMessageElement.styles=[d`#messages{color:var(--uui-look-danger-surface,#d42054)}`],ur([l({reflect:!1,attribute:!0})],n.UUIFormValidationMessageElement.prototype,"for",1),n.UUIFormValidationMessageElement=ur([c("uui-form-validation-message")],n.UUIFormValidationMessageElement);var es=Object.defineProperty,ts=Object.getOwnPropertyDescriptor,is=(t,e,r,o)=>{for(var i=o>1?void 0:o?ts(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&es(e,r,i),i};n.UUIFormElement=class extends h{constructor(){super(...arguments);this._formElement=null}getFormElement(){return this._formElement}_onSlotChanged(t){this._formElement&&(this._formElement.removeEventListener("submit",this._onSubmit),this._formElement.removeEventListener("reset",this._onReset));const e=t.target.assignedNodes({flatten:!0}).filter(r=>r instanceof HTMLFormElement);this._formElement=e.length>0?e[0]:null,this._formElement&&(this._formElement.setAttribute("novalidate",""),this._formElement.addEventListener("submit",this._onSubmit),this._formElement.addEventListener("reset",this._onReset))}_onSubmit(t){if(t.target===null)return;const e=t.target;if(!e.checkValidity()){e.setAttribute("submit-invalid","");return}e.removeAttribute("submit-invalid")}_onReset(t){t.target!==null&&t.target.removeAttribute("submit-invalid")}render(){return u`<slot @slotchange="${this._onSlotChanged}"></slot>`}},n.UUIFormElement=is([c("uui-form")],n.UUIFormElement);/**
224
224
  * @license
225
225
  * Copyright 2017 Google LLC
226
226
  * SPDX-License-Identifier: BSD-3-Clause
227
- */class Lt extends Pt{constructor(e){if(super(e),this.it=I,e.type!==xt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===I||e==null)return this.ft=void 0,this.it=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this.ft;this.it=e;const r=[e];return r.raw=r,this.ft={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Lt.directiveName="unsafeHTML",Lt.resultType=1;const Tt=Ct(Lt);var Zn=Object.defineProperty,sr=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,ar=(t,e,r)=>e in t?Zn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,lr=(t,e)=>{for(var r in e||(e={}))Qn.call(e,r)&&ar(t,r,e[r]);if(sr)for(var r of sr(e))Jn.call(e,r)&&ar(t,r,e[r]);return t};class _e extends x{constructor(e,r={}){super(e,lr(lr({},{bubbles:!0}),r));this.icon=null}acceptRequest(e){this.icon=e,this.stopImmediatePropagation()}}_e.ICON_REQUEST="icon_request";var es=Object.defineProperty,ts=Object.getOwnPropertyDescriptor,ye=(t,e,r,o)=>{for(var i=o>1?void 0:o?ts(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&es(e,r,i),i};n.UUIIconElement=class extends h{constructor(){super(...arguments);this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(t){this._name=t,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const t=new _e(_e.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(t),t.icon!==null?(this._retrievedNameIcon=!0,t.icon.then(e=>{this._useFallback=!1,this._nameSvg=e})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon()}render(){return this._useFallback===!0?this.fallback===null?u`<slot name="fallback"></slot>`:Tt(this.fallback):this._nameSvg!==null?Tt(this._nameSvg):this.svg!==null?Tt(this.svg):u`<slot></slot>`}},n.UUIIconElement.styles=[d`:host{display:inline-block;vertical-align:bottom;width:1.15em;height:1.15em}::slotted(svg),:host svg{fill:var(--uui-icon-color,currentColor)}`],ye([g()],n.UUIIconElement.prototype,"_nameSvg",2),ye([l()],n.UUIIconElement.prototype,"name",1),ye([l({attribute:!1})],n.UUIIconElement.prototype,"svg",2),ye([l({attribute:!1})],n.UUIIconElement.prototype,"fallback",2),ye([g()],n.UUIIconElement.prototype,"_useFallback",2),n.UUIIconElement=ye([c("uui-icon")],n.UUIIconElement);class Nt{constructor(e){this.promise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),e&&this.resolve(e)}set svg(e){this.resolve(e)}}class Bt{constructor(){this.icons={},this._onIconRequest=e=>{const r=this.getIcon(e.detail.iconName);r!==null&&e.acceptRequest(r)}}attach(e){e.addEventListener(_e.ICON_REQUEST,this._onIconRequest)}detach(e){e.removeEventListener(_e.ICON_REQUEST,this._onIconRequest)}defineIcon(e,r){if(this.icons[e]){this.icons[e].svg=r;return}this.icons[e]=new Nt(r)}getIcon(e){return!!this.icons[e]||this.acceptIcon(e)?this.icons[e].promise:null}provideIcon(e){return this.icons[e]=new Nt}acceptIcon(e){return!1}getIconNames(){return Object.keys(this.icons)}}var is=Object.defineProperty,rs=Object.getOwnPropertyDescriptor,ur=(t,e,r,o)=>{for(var i=o>1?void 0:o?rs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&is(e,r,i),i};n.UUIIconRegistryElement=class extends h{constructor(){super();this._icons={},this._registry=new Bt,this._registry.attach(this)}get icons(){return this._icons}set icons(t){this._icons=t,this._registry&&Object.entries(this._icons).forEach(([e,r])=>this._registry.defineIcon(e,r))}get registry(){return this._registry}set registry(t){this.registry&&this.registry.detach(this),t.attach(this),this._registry=t}render(){return u`<slot></slot>`}},ur([l({attribute:!1})],n.UUIIconRegistryElement.prototype,"_icons",2),n.UUIIconRegistryElement=ur([c("uui-icon-registry")],n.UUIIconRegistryElement);const os=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg>`,ns=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.399 66.934L36.38 444.893h438.036L255.399 66.934zm22.094 331.988h-46.29v-44.743h46.29v44.743zm-11.458-63.166h-23.068l-12.849-106.419v-57.846h48.458v57.846l-12.541 106.419z"/></svg>`,ss=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M127.286 449.816c-21.564.006-43.317-8.494-59.885-25.062-16.578-16.575-25.083-38.336-25.079-59.897-.029-20.296 7.623-40.755 23.034-56.14l3.539-3.539 212.559-212.57c20.227-20.255 47.082-30.304 73.852-30.267 28.454-.012 57.219 11.208 79.179 33.159 21.937 21.949 33.153 50.698 33.147 79.151.028 26.779-10.016 53.627-30.268 73.865l-178.45 178.453-13.28 13.277-26.56-26.559 191.738-191.733c12.842-12.871 19.229-29.708 19.259-47.303-.004-18.645-7.323-37.759-22.152-52.592-14.834-14.838-33.958-22.152-52.613-22.165-17.588.034-34.423 6.418-47.284 19.266L95.447 331.734l-3.536 3.537c-8.011 8.031-11.994 18.482-12.029 29.585.014 11.761 4.614 23.877 14.079 33.345 9.455 9.446 21.562 14.043 33.326 14.056 11.102-.034 21.551-4.014 29.587-12.026l150.412-150.404 12.596-12.595c3.018-3.04 4.521-6.906 4.549-11.331 0-4.666-1.817-9.57-5.722-13.476-3.914-3.916-8.819-5.726-13.48-5.739-4.425.038-8.283 1.542-11.328 4.564L155.27 349.882l-26.561-26.56L267.33 184.703c10.408-10.44 24.289-15.604 37.897-15.57 14.468-.012 29.01 5.704 40.049 16.739 11.007 11.025 16.72 25.554 16.72 40.029.029 13.599-5.129 27.479-15.559 37.89l-12.601 12.595-150.41 150.41c-15.365 15.377-35.768 23.025-56.022 23.021l-.118-.001z"/></svg>`,as=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M342.391 352.428h-44.879v44.865h44.879v-44.865zm-63.234-120.071h-44.849v44.853h44.849v-44.853zm63.234 60.034h-44.879v44.859h44.879v-44.859zm63.174-60.034h-44.854v44.853h44.854v-44.853zm-126.408 60.034h-44.849v44.859h44.849v-44.859zm63.234-60.034h-44.879v44.853h44.879v-44.853zm63.174 60.034h-44.854v44.859h44.854v-44.859zm-252.803 60.037h-44.856v44.865h44.856v-44.865zm0-60.037h-44.856v44.859h44.856v-44.859zM394.024 74.208v19.691c7.737 6.847 12.642 16.825 12.642 27.969 0 20.634-16.732 37.367-37.369 37.367-20.642 0-37.367-16.733-37.367-37.367 0-11.147 4.903-21.124 12.643-27.969V74.208H169.97v19.691c7.739 6.847 12.643 16.825 12.643 27.969 0 20.634-16.732 37.367-37.369 37.367-20.64 0-37.367-16.733-37.367-37.367 0-11.147 4.904-21.124 12.642-27.969V74.208h-83.27v397.644h436.668V74.208h-79.893zm40.011 357.759H77.131V183.544h356.904v248.423zm-218.047-199.61h-44.881v44.853h44.881v-44.853zm0 120.071h-44.881v44.865h44.881v-44.865zm63.169 0h-44.849v44.865h44.849v-44.865zm-63.169-60.037h-44.881v44.859h44.881v-44.859zM145.245 143.64c10.273 0 18.603-8.326 18.603-18.599V58.035c0-10.267-8.329-18.6-18.603-18.6-10.274 0-18.602 8.333-18.602 18.6v67.006c0 10.272 8.328 18.599 18.602 18.599zm224.054 0c10.272 0 18.601-8.326 18.601-18.599V58.035c0-10.267-8.328-18.6-18.601-18.6-10.274 0-18.604 8.333-18.604 18.6v67.006c0 10.272 8.329 18.599 18.604 18.599z"/></svg>`,ls=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/></svg>`,us=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M380.295 95.092h-68.479a54.17 54.17 0 00.097-3.321c0-30.805-24.948-55.743-55.722-55.743-30.803 0-55.756 24.938-55.756 55.743 0 1.112.065 2.208.098 3.321h-68.446v57.766h248.208V95.092zm-124.104 21.76c-13.865-.033-25.049-11.232-25.079-25.081.03-13.862 11.214-25.081 25.079-25.1 13.834.019 25.083 11.237 25.083 25.1 0 13.848-11.249 25.047-25.083 25.081zm149.053 13.787v48.676H107.172v-48.676H79.537v345.078h353.307V130.639h-27.6z"/></svg>`,cs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M38.299 255.395l137.255-137.248 46.782 46.789-90.458 90.459 90.458 90.46-46.782 46.792L38.299 255.395zm248.467 90.46l90.466-90.46-72.028-72.026-18.431-18.433 46.788-46.791 18.436 18.438L470.81 255.395 333.561 392.647l-46.795-46.792z"/></svg>`,ds=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M460.5 78.244l-26.472-26.473c-16.867-16.868-44.216-16.865-61.083.003l-61.466 61.468-29.702-29.699-58.764 58.763 24.501 24.499L79.748 334.573C68.761 345.557 62.6 359.972 61.767 374.81l-9.766 9.764c-20.867 20.881-20.863 54.838.002 75.704 10.106 10.108 23.548 15.679 37.85 15.679 14.297 0 27.733-5.568 37.847-15.67l9.758-9.765c15.211-.821 29.394-7.139 40.248-17.99l167.771-167.767 24.493 24.495 58.765-58.764-29.698-29.699 61.465-61.466c16.87-16.869 16.87-44.218-.002-61.087zM150.574 405.398a23.298 23.298 0 01-16.532 6.846c-3.501 0-7.007-.782-10.231-2.343v.007l-23.242 23.236a15.092 15.092 0 01-10.716 4.439 15.1 15.1 0 01-10.715-4.439c-5.919-5.922-5.919-15.516-.002-21.436l23.233-23.238.008-.004c-4.226-8.725-2.741-19.518 4.503-26.761l167.769-167.768 43.695 43.693-167.77 167.768z"></path></svg>`,hs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M243.47 64.86l-7.335-7.333H36.725V474.23h298.07V156.187l-7.332-7.335L243.47 64.86zm66.287 384.329H61.761V82.566h141.615c37.203 0 19.276 88.18 19.276 88.18s86-20.9 87.104 18.53v259.913zm157.051-330.866l-81.266-81.268H258.938l25.043 25.038h71.481c.063 0 .12.01.185.01-.006.286-.023.547-.023.837 11.174 0 16.69 9.045 19.118 20.95 4.358 22.959-2.312 55.826-2.312 55.826s.137-.031.341-.082c-.114.602-.181.933-.181.933s67.129-16.325 75.793 10.732c.077.294.161.585.225.887.083.302.14.612.207.921.154.928.26 1.889.287 2.904v228.807h-87.998l.002 25.037h113.037V125.66l-7.335-7.337z"/></svg>`,ps=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,vs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg>`,bs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.3,297.9v92.3H103.9v-92.3H73.2v122.9H439V297.9H408.3z M374.2,189.1h-77.7V90.8h-82.8v98.3h-77.6l119,144.2L374.2,189.1L374.2,189.1z"/></svg>`,fs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M412.656 38.477l-49.973 49.975 58.761 58.76 49.976-49.98-58.764-58.755zM177.421 338.155l-15.932-15.935 190.923-190.928-16.286-16.283L85.215 365.922l.186.185-47.919 106.778 106.309-48.383.182.182.482-.482.006-.003 250.424-250.432-26.537-26.537-190.927 190.925zm-39.26 59.052l-46.369 21.102 20.9-46.572 23.388-23.387 3.367 22.301 22.097 3.164-23.383 23.392z"/></svg>`,ms=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.908 86.358c-55.975-26.379-122.761-2.379-149.132 53.615-1.831 3.885-3.421 8.767-4.813 14.428-1.391-5.661-2.984-10.543-4.814-14.428-26.373-55.994-93.143-79.994-149.135-53.615-55.959 26.371-79.969 93.122-53.597 149.113 26.369 55.989 207.502 216.478 207.502 216.478s.018-.203.042-.515l.043.515S436.139 291.46 462.506 235.471c26.373-55.991 2.397-122.742-53.598-149.113z"/></svg>`,gs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.211 169.501v-.316H52.564v.328c-7.956 1.548-13.959 8.547-13.959 16.955 0 0 5.683 86.463 6.726 117.611 1.045 31.147 3.844 114.728 3.844 114.728 0 9.544 1.973 17.281 11.514 17.281h388.458c9.543 0 11.514-7.737 11.514-17.281 0 0 2.804-83.58 3.845-114.728 1.044-31.147 6.727-117.611 6.727-117.611-.002-8.433-6.036-15.442-14.022-16.967zm0-42.313c0-8.98-7.277-16.256-16.258-16.256H235.305c-6.43-.161-11.384-11.842-11.384-16.311l.003-1.902c0-9.546-7.737-17.28-17.28-17.28H97.168c-9.544 0-17.281 7.734-17.281 17.28l.004 1.902c0 4.5-5.021 16.322-11.517 16.322h.155c-8.844.157-15.965 7.364-15.965 16.244v11.223h404.647v-11.222z"/></svg>`,_s=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z"/></svg>`,ys=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 38.7C136 38.7 38.7 136 38.7 256S136 473.3 256 473.3 473.3 376 473.3 256 376 38.7 256 38.7zm18.1 326h-36.2V237.9h36.2v126.8zM256 192.6c-15 0-27.2-12.2-27.2-27.2s12.2-27.2 27.2-27.2 27.2 12.2 27.2 27.2-12.2 27.2-27.2 27.2z"/></svg>`,Us=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M270.508 338.006c-27.316.03-54.696-10.671-75.323-31.318l-3.266-3.266 46.784-46.799 3.271 3.267c8.054 8.036 18.233 11.915 28.533 11.942 10.79-.043 21.088-3.93 29.123-11.942l76.701-76.701c8.024-8.05 11.909-18.306 11.945-28.895-.036-10.495-3.915-20.722-11.936-28.769l-3.268-3.266c-8.049-8.025-18.283-11.903-28.827-11.943-10.55.04-20.785 3.918-28.835 11.943l-31.537 31.543c-12.916 12.922-33.867 12.922-46.788 0-12.924-12.919-12.924-33.867-.005-46.789l31.542-31.544c20.794-20.821 48.361-31.36 75.623-31.327 27.256-.034 54.82 10.505 75.618 31.327l3.266 3.263a106.693 106.693 0 0131.319 75.561c.038 27.25-10.474 54.848-31.325 75.684l-76.704 76.7c-20.915 20.941-48.588 31.328-75.743 31.328l-.168.001zM163.966 468.393c-27.308.027-54.694-10.67-75.322-31.324l-3.264-3.26c-20.875-20.854-31.364-48.479-31.326-75.725-.033-27.27 10.556-54.782 31.326-75.518l76.704-76.707c20.794-20.821 48.361-31.366 75.623-31.327a106.798 106.798 0 0161.267 19.273 33.045 33.045 0 018.42 6.119l5.931 5.93 3.266 3.263h-.001l.001.003-46.781 46.798-.005-.006-3.266-3.266c-8.052-8.024-18.285-11.903-28.832-11.943-10.545.04-20.781 3.918-28.832 11.943l-76.711 76.712c-8.021 8.048-11.901 18.261-11.935 28.726.038 10.627 3.922 20.886 11.938 28.932l3.269 3.26c8.055 8.038 18.235 11.913 28.531 11.941 10.794-.043 21.092-3.928 29.13-11.941l33.051-33.051c12.923-12.915 33.872-12.915 46.788.006 12.921 12.917 12.921 33.863 0 46.787l-33.053 33.051c-20.914 20.938-48.592 31.324-75.745 31.324h-.172z"/></svg>`,ws=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,Es=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M289.335 420.379V90.8h83.103v329.579h-83.103zm-152.737-.002V90.804h83.101v329.573h-83.101z"/></svg>`,Is=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,$s=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M397.727 256.048l-286.7 166.932V89.114z"/></svg>`,xs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,Cs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M470.704 407.906l-2.691-2.689.006-.002-107.514-107.523c14.938-25.733 23.616-55.565 23.82-87.451.626-97.615-77.99-177.243-175.599-177.857l-1.168-.002c-97.06.005-176.067 78.392-176.692 175.598-.618 97.609 77.999 177.236 175.597 177.859.389.002.766.004 1.155.004 32.442 0 62.846-8.79 88.998-24.075L404.035 469.2l.01-.01 2.686 2.686c8.125 8.124 21.293 8.117 29.414 0l34.56-34.554c8.115-8.117 8.121-21.293-.001-29.416zm-263.956-67.135c-72.589-.466-131.271-59.907-130.812-132.502C76.4 136.14 135.45 77.457 207.561 77.453l.88.002c35.167.22 68.144 14.124 92.851 39.148 24.705 25.025 38.188 58.178 37.962 93.352-.222 35.015-14.027 67.893-38.867 92.564-24.834 24.67-57.78 38.252-92.768 38.252h-.871z"/></svg>`,Ps=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,ks=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M469.92 279.717v-48.898l-6.906-2.256-52.35-17.091-13.971-33.728 26.852-56.814-34.586-34.581-6.477 3.288-49.1 24.937-33.721-13.971-21.198-59.171h-48.899l-2.253 6.912-17.091 52.352-33.712 13.966-56.833-26.849-34.573 34.58 3.287 6.474 24.933 49.116-13.96 33.707-59.182 21.189v48.909l6.914 2.253 52.352 17.094 13.966 33.718-26.845 56.82 34.567 34.587 6.484-3.294 49.103-24.931 33.719 13.968 21.188 59.165h48.902l2.26-6.908 17.094-52.35 33.721-13.967 56.818 26.855 34.584-34.59-3.286-6.48-24.937-49.094 13.969-33.726 59.167-21.191zM255.054 324.78c-37.819 0-68.478-30.657-68.478-68.479 0-37.819 30.659-68.481 68.478-68.481 37.819 0 68.475 30.662 68.475 68.481 0 37.822-30.656 68.479-68.475 68.479z"/></svg>`,Os=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M88.871 297.086v-83.1h332.084v83.1H88.871z"/></svg>`,zs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M203.447 202.931l-54.568-54.566c27.503-27.173 65.183-43.913 106.927-43.913 42.13.014 79.972 16.983 107.622 44.577 27.594 27.648 44.561 65.492 44.578 107.629h66.177c-.024-120.624-97.761-218.361-218.376-218.386-59.897 0-114.277 24.203-153.724 63.295l-50.36-50.36.003 151.725h151.721zM363.991 363.67c-27.605 27.918-65.809 45.184-108.183 45.176-42.139-.008-79.978-16.981-107.623-44.574-27.601-27.645-44.565-65.482-44.582-107.614H37.436c.017 120.614 97.751 218.347 218.373 218.374 60.54-.008 115.433-24.73 154.979-64.562l48.997 49V311.423H311.742l52.249 52.247z"/></svg>`,Ss=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,As=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,Ds=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M306.997 124.391c8.992 0 16.277-7.286 16.277-16.276V57.184c.002-8.989-7.285-16.276-16.277-16.276-8.983 0-16.271 7.287-16.273 16.276v50.932c0 8.989 7.29 16.278 16.273 16.275zm80.752 23.244l36.015-36.017c6.356-6.357 6.353-16.662 0-23.015-6.357-6.356-16.662-6.356-23.019 0l-36.013 36.014c-6.356 6.356-6.358 16.661 0 23.018 6.354 6.356 16.661 6.353 23.017 0zm-161.066 2.552c6.354 6.353 16.663 6.353 23.018 0 6.353-6.356 6.353-16.662 0-23.018l-36.018-36.018c-6.355-6.353-16.661-6.353-23.015 0-6.359 6.356-6.359 16.662 0 23.018l36.015 36.018zm159.5 113.463c-6.356-6.357-16.663-6.357-23.02 0-6.354 6.355-6.354 16.661 0 23.018l36.015 36.014c6.356 6.356 16.663 6.356 23.018 0 6.358-6.356 6.358-16.658 0-23.015l-36.013-36.017zm-70.019-131.061L37.625 411.125l58.761 58.76 278.541-278.533-58.763-58.763zm-65.195 99.172l67.606-67.608 24.787 24.788-67.606 67.608-24.787-24.788zm205.2-41.684h-50.934c-8.99 0-16.275 7.289-16.275 16.275-.004 8.985 7.285 16.275 16.275 16.275h50.934c8.988 0 16.273-7.29 16.273-16.275 0-8.99-7.285-16.275-16.273-16.275z"></path></svg>`,Ls=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/></svg>`;class cr extends Bt{constructor(){super();this.defineIcon("add",os.strings[0]),this.defineIcon("alert",ns.strings[0]),this.defineIcon("attachment",ss.strings[0]),this.defineIcon("calendar",as.strings[0]),this.defineIcon("check",ls.strings[0]),this.defineIcon("clipboard",us.strings[0]),this.defineIcon("code",cs.strings[0]),this.defineIcon("colorpicker",ds.strings[0]),this.defineIcon("copy",hs.strings[0]),this.defineIcon("delete",ps.strings[0]),this.defineIcon("document",vs.strings[0]),this.defineIcon("download",bs.strings[0]),this.defineIcon("edit",fs.strings[0]),this.defineIcon("favorite",ms.strings[0]),this.defineIcon("folder",gs.strings[0]),this.defineIcon("forbidden",_s.strings[0]),this.defineIcon("info",ys.strings[0]),this.defineIcon("link",Us.strings[0]),this.defineIcon("lock",ws.strings[0]),this.defineIcon("pause",Es.strings[0]),this.defineIcon("picture",Is.strings[0]),this.defineIcon("play",$s.strings[0]),this.defineIcon("remove",xs.strings[0]),this.defineIcon("search",Cs.strings[0]),this.defineIcon("see",Ps.strings[0]),this.defineIcon("settings",ks.strings[0]),this.defineIcon("subtract",Os.strings[0]),this.defineIcon("sync",zs.strings[0]),this.defineIcon("unlock",Ss.strings[0]),this.defineIcon("unsee",As.strings[0]),this.defineIcon("wand",Ds.strings[0]),this.defineIcon("wrong",Ls.strings[0])}}var Ts=Object.defineProperty,Ns=Object.getOwnPropertyDescriptor,Bs=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ns(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ts(e,r,i),i};n.UUIIconRegistryEssentialElement=class extends n.UUIIconRegistryElement{constructor(){super();this.registry=new cr}},n.UUIIconRegistryEssentialElement=Bs([c("uui-icon-registry-essential")],n.UUIIconRegistryEssentialElement);/**
227
+ */class Nt extends tt{constructor(e){if(super(e),this.it=E,e.type!==Je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===E||e==null)return this.ft=void 0,this.it=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this.ft;this.it=e;const r=[e];return r.raw=r,this.ft={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Nt.directiveName="unsafeHTML",Nt.resultType=1;const Bt=et(Nt);var rs=Object.defineProperty,cr=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,ns=Object.prototype.propertyIsEnumerable,dr=(t,e,r)=>e in t?rs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,hr=(t,e)=>{for(var r in e||(e={}))os.call(e,r)&&dr(t,r,e[r]);if(cr)for(var r of cr(e))ns.call(e,r)&&dr(t,r,e[r]);return t};class _e extends x{constructor(e,r={}){super(e,hr(hr({},{bubbles:!0}),r));this.icon=null}acceptRequest(e){this.icon=e,this.stopImmediatePropagation()}}_e.ICON_REQUEST="icon_request";var ss=Object.defineProperty,as=Object.getOwnPropertyDescriptor,ye=(t,e,r,o)=>{for(var i=o>1?void 0:o?as(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ss(e,r,i),i};n.UUIIconElement=class extends h{constructor(){super(...arguments);this._name=null,this._retrievedNameIcon=!1,this._nameSvg=null,this.svg=null,this.fallback=null,this._useFallback=!1}get name(){return this._name}set name(t){this._name=t,this.shadowRoot&&this.requestIcon()}requestIcon(){if(this._name!==""&&this._name!==null){const t=new _e(_e.ICON_REQUEST,{detail:{iconName:this._name}});this.dispatchEvent(t),t.icon!==null?(this._retrievedNameIcon=!0,t.icon.then(e=>{this._useFallback=!1,this._nameSvg=e})):(this._retrievedNameIcon=!1,this._useFallback=!0)}}connectedCallback(){super.connectedCallback(),this._retrievedNameIcon===!1&&this.requestIcon()}disconnectedCallback(){this._retrievedNameIcon=!1}firstUpdated(){this._retrievedNameIcon===!1&&this.requestIcon()}render(){return this._useFallback===!0?this.fallback===null?u`<slot name="fallback"></slot>`:Bt(this.fallback):this._nameSvg!==null?Bt(this._nameSvg):this.svg!==null?Bt(this.svg):u`<slot></slot>`}},n.UUIIconElement.styles=[d`:host{display:inline-block;vertical-align:bottom;width:1.15em;height:1.15em}::slotted(svg),:host svg{fill:var(--uui-icon-color,currentColor)}`],ye([g()],n.UUIIconElement.prototype,"_nameSvg",2),ye([l()],n.UUIIconElement.prototype,"name",1),ye([l({attribute:!1})],n.UUIIconElement.prototype,"svg",2),ye([l({attribute:!1})],n.UUIIconElement.prototype,"fallback",2),ye([g()],n.UUIIconElement.prototype,"_useFallback",2),n.UUIIconElement=ye([c("uui-icon")],n.UUIIconElement);class Ht{constructor(e){this.promise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),e&&this.resolve(e)}set svg(e){this.resolve(e)}}class jt{constructor(){this.icons={},this._onIconRequest=e=>{const r=this.getIcon(e.detail.iconName);r!==null&&e.acceptRequest(r)}}attach(e){e.addEventListener(_e.ICON_REQUEST,this._onIconRequest)}detach(e){e.removeEventListener(_e.ICON_REQUEST,this._onIconRequest)}defineIcon(e,r){if(this.icons[e]){this.icons[e].svg=r;return}this.icons[e]=new Ht(r)}getIcon(e){return!!this.icons[e]||this.acceptIcon(e)?this.icons[e].promise:null}provideIcon(e){return this.icons[e]=new Ht}acceptIcon(e){return!1}getIconNames(){return Object.keys(this.icons)}}var ls=Object.defineProperty,us=Object.getOwnPropertyDescriptor,pr=(t,e,r,o)=>{for(var i=o>1?void 0:o?us(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ls(e,r,i),i};n.UUIIconRegistryElement=class extends h{constructor(){super();this._icons={},this._registry=new jt,this._registry.attach(this)}get icons(){return this._icons}set icons(t){this._icons=t,this._registry&&Object.entries(this._icons).forEach(([e,r])=>this._registry.defineIcon(e,r))}get registry(){return this._registry}set registry(t){this.registry&&this.registry.detach(this),t.attach(this),this._registry=t}render(){return u`<slot></slot>`}},pr([l({attribute:!1})],n.UUIIconRegistryElement.prototype,"_icons",2),n.UUIIconRegistryElement=pr([c("uui-icon-registry")],n.UUIIconRegistryElement);const cs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z"/></svg>`,ds=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M255.399 66.934L36.38 444.893h438.036L255.399 66.934zm22.094 331.988h-46.29v-44.743h46.29v44.743zm-11.458-63.166h-23.068l-12.849-106.419v-57.846h48.458v57.846l-12.541 106.419z"/></svg>`,hs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M127.286 449.816c-21.564.006-43.317-8.494-59.885-25.062-16.578-16.575-25.083-38.336-25.079-59.897-.029-20.296 7.623-40.755 23.034-56.14l3.539-3.539 212.559-212.57c20.227-20.255 47.082-30.304 73.852-30.267 28.454-.012 57.219 11.208 79.179 33.159 21.937 21.949 33.153 50.698 33.147 79.151.028 26.779-10.016 53.627-30.268 73.865l-178.45 178.453-13.28 13.277-26.56-26.559 191.738-191.733c12.842-12.871 19.229-29.708 19.259-47.303-.004-18.645-7.323-37.759-22.152-52.592-14.834-14.838-33.958-22.152-52.613-22.165-17.588.034-34.423 6.418-47.284 19.266L95.447 331.734l-3.536 3.537c-8.011 8.031-11.994 18.482-12.029 29.585.014 11.761 4.614 23.877 14.079 33.345 9.455 9.446 21.562 14.043 33.326 14.056 11.102-.034 21.551-4.014 29.587-12.026l150.412-150.404 12.596-12.595c3.018-3.04 4.521-6.906 4.549-11.331 0-4.666-1.817-9.57-5.722-13.476-3.914-3.916-8.819-5.726-13.48-5.739-4.425.038-8.283 1.542-11.328 4.564L155.27 349.882l-26.561-26.56L267.33 184.703c10.408-10.44 24.289-15.604 37.897-15.57 14.468-.012 29.01 5.704 40.049 16.739 11.007 11.025 16.72 25.554 16.72 40.029.029 13.599-5.129 27.479-15.559 37.89l-12.601 12.595-150.41 150.41c-15.365 15.377-35.768 23.025-56.022 23.021l-.118-.001z"/></svg>`,ps=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M342.391 352.428h-44.879v44.865h44.879v-44.865zm-63.234-120.071h-44.849v44.853h44.849v-44.853zm63.234 60.034h-44.879v44.859h44.879v-44.859zm63.174-60.034h-44.854v44.853h44.854v-44.853zm-126.408 60.034h-44.849v44.859h44.849v-44.859zm63.234-60.034h-44.879v44.853h44.879v-44.853zm63.174 60.034h-44.854v44.859h44.854v-44.859zm-252.803 60.037h-44.856v44.865h44.856v-44.865zm0-60.037h-44.856v44.859h44.856v-44.859zM394.024 74.208v19.691c7.737 6.847 12.642 16.825 12.642 27.969 0 20.634-16.732 37.367-37.369 37.367-20.642 0-37.367-16.733-37.367-37.367 0-11.147 4.903-21.124 12.643-27.969V74.208H169.97v19.691c7.739 6.847 12.643 16.825 12.643 27.969 0 20.634-16.732 37.367-37.369 37.367-20.64 0-37.367-16.733-37.367-37.367 0-11.147 4.904-21.124 12.642-27.969V74.208h-83.27v397.644h436.668V74.208h-79.893zm40.011 357.759H77.131V183.544h356.904v248.423zm-218.047-199.61h-44.881v44.853h44.881v-44.853zm0 120.071h-44.881v44.865h44.881v-44.865zm63.169 0h-44.849v44.865h44.849v-44.865zm-63.169-60.037h-44.881v44.859h44.881v-44.859zM145.245 143.64c10.273 0 18.603-8.326 18.603-18.599V58.035c0-10.267-8.329-18.6-18.603-18.6-10.274 0-18.602 8.333-18.602 18.6v67.006c0 10.272 8.328 18.599 18.602 18.599zm224.054 0c10.272 0 18.601-8.326 18.601-18.599V58.035c0-10.267-8.328-18.6-18.601-18.6-10.274 0-18.604 8.333-18.604 18.6v67.006c0 10.272 8.329 18.599 18.604 18.599z"/></svg>`,vs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/></svg>`,bs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M380.295 95.092h-68.479a54.17 54.17 0 00.097-3.321c0-30.805-24.948-55.743-55.722-55.743-30.803 0-55.756 24.938-55.756 55.743 0 1.112.065 2.208.098 3.321h-68.446v57.766h248.208V95.092zm-124.104 21.76c-13.865-.033-25.049-11.232-25.079-25.081.03-13.862 11.214-25.081 25.079-25.1 13.834.019 25.083 11.237 25.083 25.1 0 13.848-11.249 25.047-25.083 25.081zm149.053 13.787v48.676H107.172v-48.676H79.537v345.078h353.307V130.639h-27.6z"/></svg>`,fs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M38.299 255.395l137.255-137.248 46.782 46.789-90.458 90.459 90.458 90.46-46.782 46.792L38.299 255.395zm248.467 90.46l90.466-90.46-72.028-72.026-18.431-18.433 46.788-46.791 18.436 18.438L470.81 255.395 333.561 392.647l-46.795-46.792z"/></svg>`,ms=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M460.5 78.244l-26.472-26.473c-16.867-16.868-44.216-16.865-61.083.003l-61.466 61.468-29.702-29.699-58.764 58.763 24.501 24.499L79.748 334.573C68.761 345.557 62.6 359.972 61.767 374.81l-9.766 9.764c-20.867 20.881-20.863 54.838.002 75.704 10.106 10.108 23.548 15.679 37.85 15.679 14.297 0 27.733-5.568 37.847-15.67l9.758-9.765c15.211-.821 29.394-7.139 40.248-17.99l167.771-167.767 24.493 24.495 58.765-58.764-29.698-29.699 61.465-61.466c16.87-16.869 16.87-44.218-.002-61.087zM150.574 405.398a23.298 23.298 0 01-16.532 6.846c-3.501 0-7.007-.782-10.231-2.343v.007l-23.242 23.236a15.092 15.092 0 01-10.716 4.439 15.1 15.1 0 01-10.715-4.439c-5.919-5.922-5.919-15.516-.002-21.436l23.233-23.238.008-.004c-4.226-8.725-2.741-19.518 4.503-26.761l167.769-167.768 43.695 43.693-167.77 167.768z"></path></svg>`,gs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M243.47 64.86l-7.335-7.333H36.725V474.23h298.07V156.187l-7.332-7.335L243.47 64.86zm66.287 384.329H61.761V82.566h141.615c37.203 0 19.276 88.18 19.276 88.18s86-20.9 87.104 18.53v259.913zm157.051-330.866l-81.266-81.268H258.938l25.043 25.038h71.481c.063 0 .12.01.185.01-.006.286-.023.547-.023.837 11.174 0 16.69 9.045 19.118 20.95 4.358 22.959-2.312 55.826-2.312 55.826s.137-.031.341-.082c-.114.602-.181.933-.181.933s67.129-16.325 75.793 10.732c.077.294.161.585.225.887.083.302.14.612.207.921.154.928.26 1.889.287 2.904v228.807h-87.998l.002 25.037h113.037V125.66l-7.335-7.337z"/></svg>`,_s=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M122.844 475.519h263.145V195.703H122.844v279.816zm181.281-223.79c0-8.498 6.891-15.386 15.395-15.386 8.494 0 15.385 6.888 15.385 15.386v162.128c0 8.496-6.891 15.394-15.385 15.394-8.504 0-15.395-6.897-15.395-15.394V251.729zm-65.101.003c0-8.496 6.892-15.392 15.39-15.392 8.496 0 15.392 6.896 15.392 15.392v162.125c0 8.496-6.896 15.391-15.392 15.391-8.498 0-15.39-6.895-15.39-15.391V251.732zm-65.098 0c0-8.501 6.895-15.392 15.389-15.392 8.498 0 15.391 6.891 15.391 15.392v162.127c0 8.498-6.893 15.389-15.391 15.389-8.494 0-15.389-6.891-15.389-15.389V251.732zM399.02 90.23h-57.209v-9.36c-.004-24.942-20.209-45.145-45.148-45.152h-84.498c-24.941.007-45.145 20.209-45.153 45.152v9.36h-57.2c-11.744 0-21.273 9.526-21.273 21.275v56.348h331.756v-56.348c-.002-11.748-9.527-21.275-21.275-21.275zm-87.989 0H197.785l-.004-9.36c.023-7.938 6.445-14.359 14.383-14.372h84.498c7.929.013 14.359 6.433 14.369 14.372v9.36z"/></svg>`,ys=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg>`,Us=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.3,297.9v92.3H103.9v-92.3H73.2v122.9H439V297.9H408.3z M374.2,189.1h-77.7V90.8h-82.8v98.3h-77.6l119,144.2L374.2,189.1L374.2,189.1z"/></svg>`,ws=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M412.656 38.477l-49.973 49.975 58.761 58.76 49.976-49.98-58.764-58.755zM177.421 338.155l-15.932-15.935 190.923-190.928-16.286-16.283L85.215 365.922l.186.185-47.919 106.778 106.309-48.383.182.182.482-.482.006-.003 250.424-250.432-26.537-26.537-190.927 190.925zm-39.26 59.052l-46.369 21.102 20.9-46.572 23.388-23.387 3.367 22.301 22.097 3.164-23.383 23.392z"/></svg>`,Es=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M408.908 86.358c-55.975-26.379-122.761-2.379-149.132 53.615-1.831 3.885-3.421 8.767-4.813 14.428-1.391-5.661-2.984-10.543-4.814-14.428-26.373-55.994-93.143-79.994-149.135-53.615-55.959 26.371-79.969 93.122-53.597 149.113 26.369 55.989 207.502 216.478 207.502 216.478s.018-.203.042-.515l.043.515S436.139 291.46 462.506 235.471c26.373-55.991 2.397-122.742-53.598-149.113z"/></svg>`,$s=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.211 169.501v-.316H52.564v.328c-7.956 1.548-13.959 8.547-13.959 16.955 0 0 5.683 86.463 6.726 117.611 1.045 31.147 3.844 114.728 3.844 114.728 0 9.544 1.973 17.281 11.514 17.281h388.458c9.543 0 11.514-7.737 11.514-17.281 0 0 2.804-83.58 3.845-114.728 1.044-31.147 6.727-117.611 6.727-117.611-.002-8.433-6.036-15.442-14.022-16.967zm0-42.313c0-8.98-7.277-16.256-16.258-16.256H235.305c-6.43-.161-11.384-11.842-11.384-16.311l.003-1.902c0-9.546-7.737-17.28-17.28-17.28H97.168c-9.544 0-17.281 7.734-17.281 17.28l.004 1.902c0 4.5-5.021 16.322-11.517 16.322h.155c-8.844.157-15.965 7.364-15.965 16.244v11.223h404.647v-11.222z"/></svg>`,Is=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z"/></svg>`,xs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 38.7C136 38.7 38.7 136 38.7 256S136 473.3 256 473.3 473.3 376 473.3 256 376 38.7 256 38.7zm18.1 326h-36.2V237.9h36.2v126.8zM256 192.6c-15 0-27.2-12.2-27.2-27.2s12.2-27.2 27.2-27.2 27.2 12.2 27.2 27.2-12.2 27.2-27.2 27.2z"/></svg>`,Cs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M270.508 338.006c-27.316.03-54.696-10.671-75.323-31.318l-3.266-3.266 46.784-46.799 3.271 3.267c8.054 8.036 18.233 11.915 28.533 11.942 10.79-.043 21.088-3.93 29.123-11.942l76.701-76.701c8.024-8.05 11.909-18.306 11.945-28.895-.036-10.495-3.915-20.722-11.936-28.769l-3.268-3.266c-8.049-8.025-18.283-11.903-28.827-11.943-10.55.04-20.785 3.918-28.835 11.943l-31.537 31.543c-12.916 12.922-33.867 12.922-46.788 0-12.924-12.919-12.924-33.867-.005-46.789l31.542-31.544c20.794-20.821 48.361-31.36 75.623-31.327 27.256-.034 54.82 10.505 75.618 31.327l3.266 3.263a106.693 106.693 0 0131.319 75.561c.038 27.25-10.474 54.848-31.325 75.684l-76.704 76.7c-20.915 20.941-48.588 31.328-75.743 31.328l-.168.001zM163.966 468.393c-27.308.027-54.694-10.67-75.322-31.324l-3.264-3.26c-20.875-20.854-31.364-48.479-31.326-75.725-.033-27.27 10.556-54.782 31.326-75.518l76.704-76.707c20.794-20.821 48.361-31.366 75.623-31.327a106.798 106.798 0 0161.267 19.273 33.045 33.045 0 018.42 6.119l5.931 5.93 3.266 3.263h-.001l.001.003-46.781 46.798-.005-.006-3.266-3.266c-8.052-8.024-18.285-11.903-28.832-11.943-10.545.04-20.781 3.918-28.832 11.943l-76.711 76.712c-8.021 8.048-11.901 18.261-11.935 28.726.038 10.627 3.922 20.886 11.938 28.932l3.269 3.26c8.055 8.038 18.235 11.913 28.531 11.941 10.794-.043 21.092-3.928 29.13-11.941l33.051-33.051c12.923-12.915 33.872-12.915 46.788.006 12.921 12.917 12.921 33.863 0 46.787l-33.053 33.051c-20.914 20.938-48.592 31.324-75.745 31.324h-.172z"/></svg>`,Ps=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"/></svg>`,ks=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M289.335 420.379V90.8h83.103v329.579h-83.103zm-152.737-.002V90.804h83.101v329.573h-83.101z"/></svg>`,Os=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M451.056 72.576H60.944c-10.72 0-19.424 8.688-19.424 19.424v328c0 10.72 8.688 19.424 19.424 19.424h390.128c10.72 0 19.424-8.688 19.424-19.424V92c-.016-10.72-8.72-19.424-19.44-19.424zm-19.408 328H80.352V111.424h351.28v289.152zm-309.424-34.48h267.568c6.112 0 11.472-4.096 13.056-10a13.513 13.513 0 00-6.224-15.232l-111.488-65.36a13.514 13.514 0 00-15.68 1.424l-27.264 23.504-52.736-45.328c-2.944-2.528-6.816-3.616-10.656-3.152a13.58 13.58 0 00-9.424 5.888l-58.4 87.168a13.519 13.519 0 00-.688 13.92 13.518 13.518 0 0011.936 7.168zm197.968-167.84a41.056 41.056 0 1182.112 0 41.056 41.056 0 11-82.112 0z"/></svg>`,zs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M397.727 256.048l-286.7 166.932V89.114z"/></svg>`,Ss=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M401.431 167.814l-58.757-58.76-88.029 88.026-88.028-88.026-58.76 58.76 88.026 88.027-88.026 88.024 58.76 58.768 88.028-88.031 88.029 88.031 58.757-58.768-88.027-88.024z"/></svg>`,As=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M470.704 407.906l-2.691-2.689.006-.002-107.514-107.523c14.938-25.733 23.616-55.565 23.82-87.451.626-97.615-77.99-177.243-175.599-177.857l-1.168-.002c-97.06.005-176.067 78.392-176.692 175.598-.618 97.609 77.999 177.236 175.597 177.859.389.002.766.004 1.155.004 32.442 0 62.846-8.79 88.998-24.075L404.035 469.2l.01-.01 2.686 2.686c8.125 8.124 21.293 8.117 29.414 0l34.56-34.554c8.115-8.117 8.121-21.293-.001-29.416zm-263.956-67.135c-72.589-.466-131.271-59.907-130.812-132.502C76.4 136.14 135.45 77.457 207.561 77.453l.88.002c35.167.22 68.144 14.124 92.851 39.148 24.705 25.025 38.188 58.178 37.962 93.352-.222 35.015-14.027 67.893-38.867 92.564-24.834 24.67-57.78 38.252-92.768 38.252h-.871z"/></svg>`,Ds=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M254.867 214.401c-22.305 0-40.45 18.143-40.45 40.439 0 22.316 18.145 40.474 40.45 40.474 22.319 0 40.474-18.157 40.474-40.474 0-22.296-18.155-40.439-40.474-40.439zm0-74.942c-107.278 0-215.312 116.648-215.312 116.648s108.034 116.646 215.312 116.646c107.294 0 215.329-116.646 215.329-116.646S362.161 139.459 254.867 139.459zm0 197.952c-45.586 0-82.546-36.925-82.546-82.57 0-45.587 36.96-82.535 82.546-82.535 45.612 0 82.571 36.948 82.571 82.535 0 45.645-36.959 82.57-82.571 82.57z"/></svg>`,Ls=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M469.92 279.717v-48.898l-6.906-2.256-52.35-17.091-13.971-33.728 26.852-56.814-34.586-34.581-6.477 3.288-49.1 24.937-33.721-13.971-21.198-59.171h-48.899l-2.253 6.912-17.091 52.352-33.712 13.966-56.833-26.849-34.573 34.58 3.287 6.474 24.933 49.116-13.96 33.707-59.182 21.189v48.909l6.914 2.253 52.352 17.094 13.966 33.718-26.845 56.82 34.567 34.587 6.484-3.294 49.103-24.931 33.719 13.968 21.188 59.165h48.902l2.26-6.908 17.094-52.35 33.721-13.967 56.818 26.855 34.584-34.59-3.286-6.48-24.937-49.094 13.969-33.726 59.167-21.191zM255.054 324.78c-37.819 0-68.478-30.657-68.478-68.479 0-37.819 30.659-68.481 68.478-68.481 37.819 0 68.475 30.662 68.475 68.481 0 37.822-30.656 68.479-68.475 68.479z"/></svg>`,Ts=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M88.871 297.086v-83.1h332.084v83.1H88.871z"/></svg>`,Ns=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M203.447 202.931l-54.568-54.566c27.503-27.173 65.183-43.913 106.927-43.913 42.13.014 79.972 16.983 107.622 44.577 27.594 27.648 44.561 65.492 44.578 107.629h66.177c-.024-120.624-97.761-218.361-218.376-218.386-59.897 0-114.277 24.203-153.724 63.295l-50.36-50.36.003 151.725h151.721zM363.991 363.67c-27.605 27.918-65.809 45.184-108.183 45.176-42.139-.008-79.978-16.981-107.623-44.574-27.601-27.645-44.565-65.482-44.582-107.614H37.436c.017 120.614 97.751 218.347 218.373 218.374 60.54-.008 115.433-24.73 154.979-64.562l48.997 49V311.423H311.742l52.249 52.247z"/></svg>`,Bs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"/></svg>`,Hs=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve"><path d="M88.89 398.032 396.834 90.09l23.476 23.476-307.942 307.942zM388.5 187.9l-52.4 52.4c.8 4.7 1.3 9.6 1.3 14.6 0 45.6-37 82.6-82.6 82.6-5 0-9.9-.5-14.6-1.3l-30.4 30.4c14.8 4 29.9 6.3 45 6.3 107.3 0 215.3-116.6 215.3-116.6s-33.4-36.4-81.6-68.4zM174 271.6c-1.1-5.4-1.7-11-1.7-16.7 0-45.6 37-82.5 82.5-82.5 5.7 0 11.3.6 16.7 1.7l28.3-28.3c-14.8-4-29.9-6.3-45-6.3-107.3 0-215.3 116.6-215.3 116.6s33.5 36.2 81.7 68.2l52.8-52.7z"/></svg>`,js=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M306.997 124.391c8.992 0 16.277-7.286 16.277-16.276V57.184c.002-8.989-7.285-16.276-16.277-16.276-8.983 0-16.271 7.287-16.273 16.276v50.932c0 8.989 7.29 16.278 16.273 16.275zm80.752 23.244l36.015-36.017c6.356-6.357 6.353-16.662 0-23.015-6.357-6.356-16.662-6.356-23.019 0l-36.013 36.014c-6.356 6.356-6.358 16.661 0 23.018 6.354 6.356 16.661 6.353 23.017 0zm-161.066 2.552c6.354 6.353 16.663 6.353 23.018 0 6.353-6.356 6.353-16.662 0-23.018l-36.018-36.018c-6.355-6.353-16.661-6.353-23.015 0-6.359 6.356-6.359 16.662 0 23.018l36.015 36.018zm159.5 113.463c-6.356-6.357-16.663-6.357-23.02 0-6.354 6.355-6.354 16.661 0 23.018l36.015 36.014c6.356 6.356 16.663 6.356 23.018 0 6.358-6.356 6.358-16.658 0-23.015l-36.013-36.017zm-70.019-131.061L37.625 411.125l58.761 58.76 278.541-278.533-58.763-58.763zm-65.195 99.172l67.606-67.608 24.787 24.788-67.606 67.608-24.787-24.788zm205.2-41.684h-50.934c-8.99 0-16.275 7.289-16.275 16.275-.004 8.985 7.285 16.275 16.275 16.275h50.934c8.988 0 16.273-7.29 16.273-16.275 0-8.99-7.285-16.275-16.273-16.275z"></path></svg>`,Ms=m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M422.952 371.305L307.064 255.418l115.884-115.887-51.722-51.723L255.34 203.693 139.457 87.812l-51.726 51.719 115.885 115.885L87.731 371.305l51.726 51.721L255.344 307.14l115.884 115.882z"/></svg>`;class vr extends jt{constructor(){super();this.defineIcon("add",cs.strings[0]),this.defineIcon("alert",ds.strings[0]),this.defineIcon("attachment",hs.strings[0]),this.defineIcon("calendar",ps.strings[0]),this.defineIcon("check",vs.strings[0]),this.defineIcon("clipboard",bs.strings[0]),this.defineIcon("code",fs.strings[0]),this.defineIcon("colorpicker",ms.strings[0]),this.defineIcon("copy",gs.strings[0]),this.defineIcon("delete",_s.strings[0]),this.defineIcon("document",ys.strings[0]),this.defineIcon("download",Us.strings[0]),this.defineIcon("edit",ws.strings[0]),this.defineIcon("favorite",Es.strings[0]),this.defineIcon("folder",$s.strings[0]),this.defineIcon("forbidden",Is.strings[0]),this.defineIcon("info",xs.strings[0]),this.defineIcon("link",Cs.strings[0]),this.defineIcon("lock",Ps.strings[0]),this.defineIcon("pause",ks.strings[0]),this.defineIcon("picture",Os.strings[0]),this.defineIcon("play",zs.strings[0]),this.defineIcon("remove",Ss.strings[0]),this.defineIcon("search",As.strings[0]),this.defineIcon("see",Ds.strings[0]),this.defineIcon("settings",Ls.strings[0]),this.defineIcon("subtract",Ts.strings[0]),this.defineIcon("sync",Ns.strings[0]),this.defineIcon("unlock",Bs.strings[0]),this.defineIcon("unsee",Hs.strings[0]),this.defineIcon("wand",js.strings[0]),this.defineIcon("wrong",Ms.strings[0])}}var Rs=Object.defineProperty,Fs=Object.getOwnPropertyDescriptor,Vs=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Rs(e,r,i),i};n.UUIIconRegistryEssentialElement=class extends n.UUIIconRegistryElement{constructor(){super();this.registry=new vr}},n.UUIIconRegistryEssentialElement=Vs([c("uui-icon-registry-essential")],n.UUIIconRegistryEssentialElement);/**
228
228
  * @license
229
229
  * Copyright 2018 Google LLC
230
230
  * SPDX-License-Identifier: BSD-3-Clause
231
- */const rt=t=>t??I;class ee extends x{}ee.CHANGE="change",ee.INPUT="input";var Hs=Object.defineProperty,js=Object.getOwnPropertyDescriptor,S=(t,e,r,o)=>{for(var i=o>1?void 0:o?js(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Hs(e,r,i),i};n.UUIInputElement=class extends j(h){constructor(){super();this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}get type(){return this._type}set type(t){this._type=t}firstUpdated(t){super.firstUpdated(t),this.addFormControlElement(this._input)}focus(){this._input.focus()}getFormElement(){return this._input}onInput(t){this.value=t.target.value,this.dispatchEvent(new ee(ee.INPUT))}onChange(){this.pristine=!1,this.dispatchEvent(new ee(ee.CHANGE))}renderPrepend(){return u`<slot name="prepend"></slot>`}renderAppend(){return u`<slot name="append"></slot>`}render(){return u`${this.renderPrepend()} <input id="input" .type="${this.type}" .value="${this.value}" .name="${this.name}" autocomplete="${rt(this.autocomplete)}" placeholder="${this.placeholder}" aria-label="${this.label}" .disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" @input="${this.onInput}" @change="${this.onChange}"> ${this.renderAppend()}`}},n.UUIInputElement.formAssociated=!0,n.UUIInputElement.styles=[d`:host{position:relative;display:inline-flex;align-items:center;height:var(--uui-size-11,33px);text-align:left;box-sizing:border-box;background-color:var(--uui-input-background-color,var(--uui-interface-surface,#fefefe));border:var(--uui-input-border-width,1px) solid var(--uui-input-border-color,var(--uui-interface-border,#c4c4c4))}:host(:hover){border-color:var(--uui-input-border-color-hover,var(--uui-interface-border-hover,#b3b3b3))}:host(:focus-within){border-color:var(--uui-input-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:focus){border-color:var(--uui-input-border-color-focus,var(--uui-interface-border-focus,#b3b3b3))}:host([disabled]){background-color:var(--uui-input-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-input-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-interface-contrast-disabled,#73716e)}:host([readonly]){border-color:var(--uui-input-border-color-readonly,var(--uui-interface-border-readonly,#dedede))}:host(:not([pristine]):invalid),:host(:not([pristine])[internals-invalid]){border-color:var(--uui-look-danger-border,#d42054)}input{font-family:inherit;padding:var(--uui-size-1,3px) var(--uui-size-space-3,9px);font-size:inherit;color:inherit;border-radius:0;box-sizing:border-box;border:none;background:0 0;width:100%;text-align:inherit;outline:0}input::placeholder{transition:opacity 120ms}:host(:not([readonly])) input:focus::placeholder{opacity:0}input[type=color]{width:30px;padding:0;border:none}::slotted(uui-input){height:100%;--uui-input-border-width:0}`],S([l({type:Number})],n.UUIInputElement.prototype,"minlength",2),S([l({type:String,attribute:"minlength-message"})],n.UUIInputElement.prototype,"minlengthMessage",2),S([l({type:Number})],n.UUIInputElement.prototype,"maxlength",2),S([l({type:String,attribute:"maxlength-message"})],n.UUIInputElement.prototype,"maxlengthMessage",2),S([l({type:Boolean,reflect:!0})],n.UUIInputElement.prototype,"disabled",2),S([l({type:Boolean,reflect:!0})],n.UUIInputElement.prototype,"readonly",2),S([l({type:String})],n.UUIInputElement.prototype,"label",2),S([l()],n.UUIInputElement.prototype,"placeholder",2),S([l()],n.UUIInputElement.prototype,"autocomplete",2),S([l({type:String})],n.UUIInputElement.prototype,"type",1),S([C("#input")],n.UUIInputElement.prototype,"_input",2),n.UUIInputElement=S([c("uui-input")],n.UUIInputElement);var Ms=Object.defineProperty,Rs=Object.getOwnPropertyDescriptor,Ue=(t,e,r,o)=>{for(var i=o>1?void 0:o?Rs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ms(e,r,i),i};n.UUIInputFileElement=class extends j(h){constructor(){super();this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=t=>{let e=[];for(const r of t)this.multiple?e.push(r):e=[r];this._files=e},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return this._value}set value(t){if(super.value=t,t instanceof FormData){const e=this.multiple?t.getAll(this.name):[t.get(this.name)];this._updateFileWrappers(e);return}if(t instanceof File){this._updateFileWrappers([t]);return}}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-file-dropzone"),U(this,"uui-button"),U(this,"uui-action-bar"),U(this,"uui-file-preview")}getFormElement(){return this._dropZone}_handleClick(t){t.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(t){const r=t.detail.files.filter(i=>i instanceof File||i.isFile);if(!this.multiple){const i=r[0],a=i instanceof File?i:await this._getFile(i);if(this.value instanceof File){this.value=a;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,a),this._updateFileWrappers([a]);return}}let o=this.value;if(r.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const i of r){const s=i instanceof File;o.append(this.name,s?i:await this._getFile(i))}this.value=o}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}_removeFile(t){const e=this._files[t];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(i=>i!==e);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const i of o)this.value.append(this.name,i)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(t){t?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(t,e){return u`<uui-file-preview .file="${t}"><uui-action-bar slot="actions"><uui-button @click="${()=>this._removeFile(e)}" look="danger" label="${`Delete ${t.name}`}"><uui-icon name="delete" .fallback="${Jo.strings[0]}"></uui-icon></uui-button></uui-action-bar></uui-file-preview>`}_renderFiles(){return u`${or(this._files,t=>t.name+t.size,(t,e)=>this._renderFileItem(t,e))}`}render(){return u`<uui-file-dropzone id="dropzone" ?multiple="${this.multiple}" .accept="${this.accept}" @file-change="${this._handleFilesChange}" label="Drop files here"></uui-file-dropzone><div id="files">${this._renderFiles()}<uui-button @click="${this._handleClick}" id="add-button" look="placeholder" label="Add"></uui-button></div>`}},n.UUIInputFileElement.styles=[d`:host{width:100%;height:100%;position:relative;display:flex;box-sizing:border-box;border:1px solid var(--uui-interface-border,#c4c4c4)}#input{position:absolute;width:0;height:0;opacity:0;display:none}#files{display:grid;box-sizing:border-box;justify-items:center;width:100%;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:min-content;gap:16px;padding:16px;overflow:auto;max-height:100%}#dropzone{display:none;position:absolute;inset:0;z-index:10;justify-content:center;align-items:center}#add-button{width:150px;height:150px;display:flex;padding:16px;box-sizing:border-box;justify-content:center;align-items:center}`],Ue([C("#dropzone")],n.UUIInputFileElement.prototype,"_dropzone",2),Ue([C("#dropzone")],n.UUIInputFileElement.prototype,"_dropZone",2),Ue([l({type:String})],n.UUIInputFileElement.prototype,"accept",2),Ue([l({type:Boolean})],n.UUIInputFileElement.prototype,"multiple",2),Ue([g()],n.UUIInputFileElement.prototype,"_files",2),n.UUIInputFileElement=Ue([c("uui-input-file")],n.UUIInputFileElement);var Fs=Object.defineProperty,Vs=Object.getOwnPropertyDescriptor,dr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Vs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Fs(e,r,i),i};n.UUIInputLockElement=class extends n.UUIInputElement{constructor(){super();this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked}renderIcon(){return this.locked===!0?u`<uui-icon name="lock" .fallback="${en.strings[0]}"></uui-icon>`:u`<uui-icon name="unlock" .fallback="${on.strings[0]}"></uui-icon>`}renderPrepend(){return u`<uui-button .disabled="${this.disabled}" @click="${this._onLockToggle}" compact="compact" id="lock" label="${this.locked?"Unlock input":"Lock input"}">${this.renderIcon()}</uui-button>`}},n.UUIInputLockElement.styles=[...n.UUIInputElement.styles,d`#lock{height:100%;--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0;--uui-button-padding-left-factor:0.75;--uui-button-padding-right-factor:0.75;font-size:12px}:host([locked]) #input{cursor:not-allowed;opacity:.5}`],dr([l({type:Boolean,reflect:!0})],n.UUIInputLockElement.prototype,"locked",2),n.UUIInputLockElement=dr([c("uui-input-lock")],n.UUIInputLockElement);var Gs=Object.defineProperty,qs=Object.getOwnPropertyDescriptor,Ht=(t,e,r,o)=>{for(var i=o>1?void 0:o?qs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Gs(e,r,i),i};n.UUIInputPasswordElement=class extends n.UUIInputElement{constructor(){super(...arguments);this.passwordType="password"}get type(){return this.passwordType}set type(t){}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-button")}renderIcon(){return this.passwordType==="password"?u`<uui-icon name="see" .fallback="${rn.strings[0]}"></uui-icon>`:u`<uui-icon name="unsee" .fallback="${nn.strings[0]}"></uui-icon>`}renderAppend(){return u`<uui-button .disabled="${this.disabled}" @click="${this._onPasswordToggle}" style="--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0" compact="compact" label="${this.passwordType==="password"?"Show password":"Hide password"}" id="eye">${this.renderIcon()}</uui-button>`}},n.UUIInputPasswordElement.styles=[...n.UUIInputElement.styles,d`#eye{height:100%;margin-left:-6px}#clear:hover{color:#000}`],Ht([g()],n.UUIInputPasswordElement.prototype,"passwordType",2),Ht([l()],n.UUIInputPasswordElement.prototype,"type",1),n.UUIInputPasswordElement=Ht([c("uui-input-password")],n.UUIInputPasswordElement);var Ws=Object.defineProperty,Ks=Object.getOwnPropertyDescriptor,Ys=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ks(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ws(e,r,i),i};n.UUIKeyboardShortcutElement=class extends h{render(){return u`<slot></slot>`}},n.UUIKeyboardShortcutElement.styles=[d`:host{display:inline-block;font-family:inherit;font-size:var(--uui-size-4,12px)}::slotted(:first-child)uui-key{margin-left:0}::slotted(:last-child)uui-key{margin-right:0}`],n.UUIKeyboardShortcutElement=Ys([c("uui-keyboard-shortcut")],n.UUIKeyboardShortcutElement);var Xs=Object.defineProperty,Zs=Object.getOwnPropertyDescriptor,Qs=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xs(e,r,i),i};n.UUIKeyElement=class extends h{render(){return u`<slot></slot>`}},n.UUIKeyElement.styles=[d`:host{background:var(--uui-interface-surface,#fff);border:1px solid var(--uui-interface-border,#d8d7d9);font-family:inherit;font-size:var(--uui-type-small-size,12px);border-radius:5px;margin:0 5px;padding:5px 7px;box-sizing:border-box;user-select:none;text-transform:lowercase}`],n.UUIKeyElement=Qs([c("uui-key")],n.UUIKeyElement);var Js=Object.defineProperty,ea=Object.getOwnPropertyDescriptor,ot=(t,e,r,o)=>{for(var i=o>1?void 0:o?ea(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Js(e,r,i),i};n.UUILabelElement=class extends h{constructor(){super();this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const t=this.getForElement();t&&(t.focus(),t.click())}getForElement(){if(typeof this.for=="string"){const t=this.getRootNode();return t?.getElementById(this.for)||null}return this.for||null}render(){return u`<slot></slot>${this.required?u`<div id="required">*</div>`:""}`}},n.UUILabelElement.styles=[d`:host{font-weight:700}:host([for]){cursor:pointer}:host([disabled]){cursor:default}#required{display:inline;color:var(--uui-look-danger-surface,#d42054);font-weight:900}`],ot([l({type:Boolean,reflect:!0})],n.UUILabelElement.prototype,"disabled",2),ot([l({reflect:!0,attribute:!0})],n.UUILabelElement.prototype,"for",2),ot([l({type:Boolean,reflect:!0})],n.UUILabelElement.prototype,"required",2),n.UUILabelElement=ot([c("uui-label")],n.UUILabelElement);var ta=Object.defineProperty,ia=Object.getOwnPropertyDescriptor,jt=(t,e,r,o)=>{for(var i=o>1?void 0:o?ia(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ta(e,r,i),i};const ra=(t,e,r)=>Math.min(Math.max(t,e),r);n.UUILoaderBarElement=class extends h{constructor(){super(...arguments);this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=ra(t,0,100),this.requestUpdate("progress",e)}get animationDuration(){return this._animationDuration}set animationDuration(t){const e=this._animationDuration;this._animationDuration=t>=0?t:1,this.requestUpdate("animationDuration",e)}render(){return u`${this.progress?u`<div id="bar" style="max-width:${this.progress.toString()}"></div>`:""}<div id="bar-anim" class="${this.progress?"":"animate"}" style="animation-duration:${this.animationDuration}"></div><div id="bar-background"></div>`}},n.UUILoaderBarElement.styles=[d`:host{position:relative;display:block;width:100%;height:4px;overflow:hidden;color:var(--uui-color-primary,#3544b1)}#bar,#bar-anim,#bar-background{position:absolute;inset:0;height:100%}#bar,#bar-background{background:currentColor}#bar{transition:max-width 120ms ease}#bar-background{opacity:.3}#bar-anim{transform:scaleX(.4);animation:bar-loading 1s infinite linear;background:linear-gradient(-90deg,#fff 0,#fff 25%,transparent 100%)}#bar-anim.animate{background:linear-gradient(-90deg,currentColor 0,currentColor 25%,transparent 100%)}@keyframes bar-loading{0%{transform-origin:-175% 0}100%{transform-origin:175% 0}}`],jt([l({type:Number})],n.UUILoaderBarElement.prototype,"progress",1),jt([l({type:Number})],n.UUILoaderBarElement.prototype,"animationDuration",1),n.UUILoaderBarElement=jt([c("uui-loader-bar")],n.UUILoaderBarElement);var oa=Object.defineProperty,na=Object.getOwnPropertyDescriptor,Mt=(t,e,r,o)=>{for(var i=o>1?void 0:o?na(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&oa(e,r,i),i};n.UUILoaderCircleElement=class extends h{constructor(){super(...arguments);this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const t=this.clientHeight>=30;this._isLarge!=t&&(this._isLarge=t,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?u`<span id="progress-display">${this.progress}</span>`:""}render(){return u`<svg id="spinner" class="${this.progress?"":"animate"}" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle id="bg" cx="50%" cy="50%" r="16"/><g><circle id="circle" cx="50%" cy="50%" r="16" style="${Qe(this._circleStyle())}"/></g></svg> ${this.renderProgress()}`}},n.UUILoaderCircleElement.styles=[d`:host{vertical-align:middle;line-height:0;overflow:hidden;display:inline-flex;justify-content:center;align-items:center;position:relative;width:1em;height:1em;color:var(--uui-color-primary,#3544b1)}#spinner{width:100%;height:100%}#spinner g{transform-origin:50% 50%;animation:18s linear infinite spinner-animation}#spinner.animate g{animation:.8s linear infinite spinner-animation}@keyframes spinner-animation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}#spinner.animate #circle{animation:1.4s ease-in infinite circle-animation}@keyframes circle-animation{0%{stroke-dashoffset:-55}38%{stroke-dashoffset:-88}100%{stroke-dashoffset:-55}}svg circle{fill:transparent;stroke:currentColor;stroke-width:6px}#bg{opacity:.5}#circle{stroke-linecap:round;stroke-dasharray:0 0;transform-origin:50% 50%;transform:rotate(-90deg);transition:stroke-dasharray 120ms ease}#progress-display{position:absolute;left:0;top:50%;right:0;stroke:currentColor;transform:translateY(-50%);font-size:.3em;font-weight:700;text-align:center;padding-top:.09em}`],Mt([l({type:Number})],n.UUILoaderCircleElement.prototype,"progress",2),Mt([l({type:Boolean,reflect:!0,attribute:"show-progress"})],n.UUILoaderCircleElement.prototype,"showProgress",2),n.UUILoaderCircleElement=Mt([c("uui-loader-circle")],n.UUILoaderCircleElement);var sa=Object.defineProperty,aa=Object.getOwnPropertyDescriptor,la=(t,e,r,o)=>{for(var i=o>1?void 0:o?aa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&sa(e,r,i),i};n.UUILoaderElement=class extends h{render(){return u`<div></div><div></div><div></div>`}},n.UUILoaderElement.styles=[d`:host{color:var(--uui-color-primary,#3544b1)}div{display:inline-block;width:var(--uui-size-2,6px);height:var(--uui-size-2,6px);border:2px solid currentColor;border-radius:100%;animation:loaderAnimation 1.4s infinite}div:nth-child(1n){animation-delay:0s}div:nth-child(2n){animation-delay:.15s}div:nth-child(3n){animation-delay:.3s}@keyframes loaderAnimation{0%{transform:scale(.5);background-color:currentColor}50%{transform:scale(1);background-color:transparent}100%{transform:scale(.5);background-color:currentColor}}`],n.UUILoaderElement=la([c("uui-loader")],n.UUILoaderElement);class M extends x{}M.SHOW_CHILDREN="show-children",M.HIDE_CHILDREN="hide-children",M.CLICK_LABEL="click-label";var ua=Object.defineProperty,ca=Object.getOwnPropertyDescriptor,F=(t,e,r,o)=>{for(var i=o>1?void 0:o?ca(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ua(e,r,i),i};n.UUIMenuItemElement=class extends Ge(Le(Ve(De("label",h)))){constructor(){super(...arguments);this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.iconSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),U(this,"uui-symbol-expand"),U(this,"uui-loader-bar")}iconSlotChanged(t){this.iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}onCaretClicked(){this.showChildren=!this.showChildren;const t=this.showChildren?M.SHOW_CHILDREN:M.HIDE_CHILDREN,e=new M(t);this.dispatchEvent(e)}onLabelClicked(){const t=new M(M.CLICK_LABEL);this.dispatchEvent(t)}_renderLabelInside(){return u`<slot name="icon" id="icon" style="${this.iconSlotHasContent?"":"display: none;"}" @slotchange="${this.iconSlotChanged}"></slot>${this.renderLabel()}<slot name="badge" id="badge"></slot>`}_renderLabelAsAnchor(){return this.disabled?u`<span id="label-button">${this._renderLabelInside()}</span>`:u`<a id="label-button" href="${rt(this.href)}" target="${rt(this.target||void 0)}" rel="${rt(this.target==="_blank"?"noopener":void 0)}" @click="${this.onLabelClicked}" ?disabled="${this.disabled}" aria-label="${this.label}">${this._renderLabelInside()}</a>`}_renderLabelAsButton(){return u`<button id="label-button" @click="${this.onLabelClicked}" ?disabled="${this.disabled}" aria-label="${this.label}">${this._renderLabelInside()}</button>`}render(){return u`<div id="menu-item" aria-label="menuitem" role="menuitem">${this.hasChildren?u`<button id="caret-button" @click="${this.onCaretClicked}"><uui-symbol-expand ?open="${this.showChildren}"></uui-symbol-expand></button>`:""} ${this.href?this._renderLabelAsAnchor():this._renderLabelAsButton()}<div id="label-button-background"></div>${this.selectOnly===!1?u`<slot id="actions-container" name="actions"></slot>`:""} ${this.loading?u`<uui-loader-bar id="loader"></uui-loader-bar>`:""}</div>${this.showChildren?u`<slot></slot>`:""}`}},n.UUIMenuItemElement.styles=[d`:host{display:block;--uui-menu-item-child-indent:calc(var(--uui-menu-item-indent, 0) + 1);user-select:none}#menu-item{position:relative;padding-left:calc(var(--uui-menu-item-indent,0) * var(--uui-size-4,12px));display:grid;grid-template-columns:var(--uui-size-8,24px) 1fr;grid-template-rows:1fr;white-space:nowrap}button{display:inline-flex;align-items:center;font-family:inherit;font-size:inherit;padding:0;text-align:left;border:none;color:inherit;background-color:transparent;cursor:pointer;min-height:var(--uui-size-12,36px);z-index:1}#label-button{flex-grow:1;grid-column-start:2;white-space:nowrap;overflow:hidden;display:inline-flex;align-items:center;text-decoration:none;color:currentColor;min-height:var(--uui-size-12,36px);z-index:1}#label-button .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}span#label-button{pointer-events:none}#caret-button+#label-button{padding-left:0}#caret-button{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#label-button-background{position:absolute;top:0;left:0;right:0;bottom:0}#caret-button:hover~#label-button-background,#label-button:hover+#label-button-background{background-color:var(--uui-interface-surface-hover,#fafafa)}#actions-container{opacity:0;transition:opacity 120ms;grid-column-start:3}:host(:not([disabled])) #menu-item:focus #actions-container,:host(:not([disabled])) #menu-item:focus-within #actions-container,:host(:not([disabled])) #menu-item:hover #actions-container{opacity:1}#loader{position:absolute;width:100%;bottom:0}#icon{display:inline-flex;font-size:16px;margin-right:var(--uui-size-2,6px)}#badge{font-size:12px;--uui-badge-position:relative;--uui-badge-position:auto;display:block;margin-left:6px}:host([disabled]){color:var(--uui-interface-surface-contrast-disabled)}:host([disabled]) #label-button-background{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([active]){color:var(--uui-interface-active-contrast,#162335)}:host([active]) #label-button:hover{color:var(--uui-interface-active-contrast-hover,#1b264f)}:host([active]) #label-button-background{background-color:var(--uui-interface-active,#f5c1bc)}:host([active]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-active-hover,#f5c1bc)}:host([active][disabled]) #label-button{color:var(--uui-interface-active-contrast-disabled,#363636);background-color:var(--uui-interface-active-disabled,#dbd4d4)}:host([selected]){color:var(--uui-interface-select-contrast,#fefefe)}:host([selected]) #label-button:hover{color:var(--uui-interface-select-contrast-hover,#fefefe)}:host([selected]) #label-button-background{background-color:var(--uui-interface-select,#3544b1)}:host([selected]) #caret-button:hover~#label-button-background,:host([selected]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-select-hover,#4656c8)}:host([selected][disabled]) #label-button{color:var(--uui-interface-select-contrast-disabled,#e4e4e4);background-color:var(--uui-interface-select-disabled,#575757)}slot:not([name]){position:relative;display:block;width:100%}slot:not([name]){--uui-menu-item-indent:var(--uui-menu-item-child-indent)}slot[name=actions]{display:flex;align-items:center;--uui-button-height:calc(var(--uui-size-base-unit) * 4);margin-right:var(--uui-size-base-unit)}`],F([l({type:Boolean,reflect:!0})],n.UUIMenuItemElement.prototype,"disabled",2),F([l({type:Boolean,reflect:!0,attribute:"show-children"})],n.UUIMenuItemElement.prototype,"showChildren",2),F([l({type:Boolean,attribute:"has-children"})],n.UUIMenuItemElement.prototype,"hasChildren",2),F([l({type:Boolean,attribute:"loading"})],n.UUIMenuItemElement.prototype,"loading",2),F([l({type:String})],n.UUIMenuItemElement.prototype,"href",2),F([l({type:String})],n.UUIMenuItemElement.prototype,"target",2),F([g()],n.UUIMenuItemElement.prototype,"iconSlotHasContent",2),n.UUIMenuItemElement=F([c("uui-menu-item")],n.UUIMenuItemElement);class V extends x{}V.CHANGE="change";var da=Object.defineProperty,ha=Object.getOwnPropertyDescriptor,R=(t,e,r,o)=>{for(var i=o>1?void 0:o?ha(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&da(e,r,i),i};const pa=45,Rt=(t,e,r)=>Math.min(Math.max(t,e),r),va=(t,e)=>Array.from({length:e-t+1},(r,o)=>t+o);n.UUIPaginationElement=class extends h{constructor(){super(...arguments);this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this.total=1,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),U(this,"uui-button"),U(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(t){(t.has("current")||t.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const t=this.offsetWidth,e=Array.from(this._navButtons).reduce((i,s)=>i+s.getBoundingClientRect().width,0),o=(t-e)/pa/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(t){const e=t<this._range?1:t<this.total-this._range?t-this._range:this.total-this._range*2,r=t<=this._range?this._range*2+1:t<this.total-this._range?t+this._range:this.total;return va(Rt(e,1,this.total),Rt(r,1,this.total))}get current(){return this._current}set current(t){const e=this._current;this._current=Rt(t,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",e)}goToNextPage(){this.current++,this.dispatchEvent(new V(V.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new V(V.CHANGE))}goToPage(t){this.current=t,this.dispatchEvent(new V(V.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const t=this.renderRoot.querySelector(".active");t&&t.focus()})}renderFirst(){return u`<uui-button compact="compact" look="outline" class="nav" role="listitem" label="Go to first page" ?disabled="${this._current===1}" @click="${()=>this.goToPage(1)}">First</uui-button>`}renderPrevious(){return u`<uui-button compact="compact" look="outline" class="nav" role="listitem" label="Go to previous page" ?disabled="${this._current===1}" @click="${this.goToPreviousPage}">Previous</uui-button>`}renderNext(){return u`<uui-button compact="compact" look="outline" role="listitem" class="nav" label="Go to next page" ?disabled="${this._current===this.total}" @click="${this.goToNextPage}">Next</uui-button>`}renderLast(){return u`<uui-button compact="compact" look="outline" role="listitem" class="nav" label="Go to last page" ?disabled="${this.total===this._current}" @click="${()=>this.goToPage(this.total)}">Last</uui-button>`}renderDots(){return u`<uui-button compact="compact" look="outline" tabindex="-1" class="dots" label="More pages">...</uui-button>`}renderPage(t){return u`<uui-button compact="compact" look="outline" role="listitem" label="Go to page ${t}" class="${"page"+(t===this._current?" active":"")}" tabindex="${t===this._current?"-1":""}" @click="${()=>{t!==this._current&&(this.goToPage(t),this.focusActivePage())}}">${t}</uui-button>`}renderNavigationLeft(){return u`${this.renderFirst()} ${this.renderPrevious()} ${this._visiblePages.includes(1)?"":this.renderDots()}`}renderNavigationRight(){return u`${this._visiblePages.includes(this.total)?"":this.renderDots()} ${this.renderNext()} ${this.renderLast()}`}render(){return u`<uui-button-group role="list" id="pages">${this.renderNavigationLeft()} ${this._visiblePages.map(t=>this.renderPage(t))} ${this.renderNavigationRight()}</uui-button-group>`}},n.UUIPaginationElement.styles=[d`uui-button-group{width:100%}uui-button{--uui-button-border-color:var(--uui-interface-border,#c4c4c4);--uui-button-border-color-disabled:var(--uui-interface-border,#c4c4c4)}.page{min-width:36px;max-width:72px}.page.active{--uui-button-background-color:var(--uui-interface-active,#f5c1bc)}.nav{min-width:72px}.dots{pointer-events:none}.active{pointer-events:none}`],R([Fr("uui-button.nav")],n.UUIPaginationElement.prototype,"_navButtons",2),R([C("#pages")],n.UUIPaginationElement.prototype,"_pagesGroup",2),R([l()],n.UUIPaginationElement.prototype,"label",2),R([l({reflect:!0,attribute:"aria-label"})],n.UUIPaginationElement.prototype,"ariaLabel",2),R([l({type:Number})],n.UUIPaginationElement.prototype,"total",2),R([g()],n.UUIPaginationElement.prototype,"_range",2),R([g()],n.UUIPaginationElement.prototype,"_visiblePages",2),R([l({type:Number})],n.UUIPaginationElement.prototype,"current",1),n.UUIPaginationElement=R([c("uui-pagination")],n.UUIPaginationElement);class Ft extends x{}Ft.CLOSE="close";var ba=Object.defineProperty,fa=Object.getOwnPropertyDescriptor,He=(t,e,r,o)=>{for(var i=o>1?void 0:o?fa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ba(e,r,i),i};function nt(t,e,r){return t<e?e:t>r?r:t}n.UUIPopoverElement=class extends h{constructor(){super(...arguments);this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=t=>{this._trigger=t.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=t=>{t.forEach(e=>{e.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onDocumentClick=t=>{t.composedPath().includes(this)||this._forceClosePopover()}}get placement(){return this._placement}set placement(t){const e=this._placement;this._placement=t||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",e)}get open(){return this._open}set open(t){const e=this._open;this._open=t,t?this._openPopover():this._closePopover(),this.requestUpdate("open",e)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),this._currentPlacement=null}_forceClosePopover(){this.open=!1,this.dispatchEvent(new Ft(Ft.CLOSE))}_getScrollParents(){const t=this.shadowRoot.host;let e=getComputedStyle(t);if(e.position==="fixed")return;const r=e.position==="absolute",o=/(auto|scroll)/;let i=t;for(;i=i.parentElement;)if(e=getComputedStyle(i),!(r&&e.position==="static")&&(o.test(e.overflow+e.overflowY+e.overflowX)&&this._scrollParents.push(i),e.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const t={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,t),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(t=>{t.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(t=>{t.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){var t,e;if(!this.shadowRoot)return;const r=this.containerElement;if(!r)return;const o=(t=this.containerElement)==null?void 0:t.getBoundingClientRect(),i=(e=this._trigger)==null?void 0:e.getBoundingClientRect();if(i!=null&&o!=null){const s=this._scrollParents.map(N=>N.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,o,s));let a=this._currentPlacement.indexOf("top")!==-1,v=this._currentPlacement.indexOf("bottom")!==-1,b=this._currentPlacement.indexOf("left")!==-1,p=this._currentPlacement.indexOf("right")!==-1;const $=this._currentPlacement.indexOf("-start")!==-1,_=this._currentPlacement.indexOf("-end")!==-1;let f=.5,y=.5,w=.5,E=.5,z=0,re=0;if(this.placement==="auto"){const N=this._scrollParents[0],Re=N.clientWidth,se=N.clientHeight,xe=i.x-o.width,Ce=Re-(i.x+i.width)-o.width,Yt=i.y-o.height,ct=se-(i.y+i.height)-o.height;let dt=.5,ht=.5;const nu=Math.max(xe,Ce);let kr=Math.max(Yt,ct);ct>Yt&&ct>this.margin&&(kr+=9999),nu>kr?(xe>Ce?(dt=0,b=!0):(dt=1,p=!0),z=this.margin):(Yt>ct?(ht=0,a=!0):(ht=1,v=!0),re=this.margin),f=dt,y=ht,w=1-dt,E=1-ht}else a&&(E=1,y=0),v&&(E=0,y=1),(a||v)&&(re=this.margin,$&&(w=0,f=0),_&&(w=1,f=1)),b&&(w=1,f=0),p&&(w=0,f=1),(b||p)&&(z=this.margin,$&&(E=0,y=0),_&&(E=1,y=1));const $e=-o.width*w+i.width*f-z*(w*2-1),Kt=-o.height*E+i.height*y-re*(E*2-1);let oe=$e,ne=Kt;a||v?(this._scrollParents.forEach((N,Re)=>{const se=N===document.body?0:s[Re].x,xe=-i.x+se,Ce=N.clientWidth-i.x-i.width+$e+se-(o.width-i.width)*(1-f);oe=nt(oe,xe,Ce)}),oe=nt(oe,-o.width,i.width)):(b||p)&&(this._scrollParents.forEach((N,Re)=>{const se=N===document.body?0:s[Re].y,xe=-i.y+se,Ce=N.clientHeight-i.y-i.height+Kt+se-(o.height-i.height)*(1-y);ne=nt(ne,xe,Ce)}),ne=nt(ne,-o.height,i.height)),(this._positionX!==oe||this._positionY!==ne)&&(this._positionX=oe,this._positionY=ne,$e===oe&&Kt===ne&&this._stopScrollListener(),r.style.left=`${this._positionX}px`,r.style.top=`${this._positionY}px`)}}_managePlacementFlip(t,e,r){const i=t.split("-"),s=i[0],a=i[1]||null;let v;return this._scrollParents.some((b,p)=>{const $=b===document.body?0:r[p].x,_=b===document.body?0:r[p].y;return s==="top"&&e.y-2<=_?(v="bottom",!0):s==="bottom"&&e.y+e.height+2>=b.clientHeight+_?(v="top",!0):s==="left"&&e.x-2<=$?(v="right",!0):s==="right"&&e.x+e.width+2>=b.clientWidth+$?(v="left",!0):!1}),v?(this._startScrollListener(),v+(a?`-${a}`:"")):t}render(){return u`<slot id="trigger" name="trigger" @slotchange="${this._onTriggerSlotChanged}"></slot><div id="container">${this._open?u`<slot name="popover"></slot>`:""}</div>`}},n.UUIPopoverElement.styles=[d`:host{position:relative;display:inline-block;width:100%}#container{position:absolute;width:100%;z-index:1}slot[name=popover]{display:block}#trigger{position:relative;width:100%}`],He([C("#container")],n.UUIPopoverElement.prototype,"containerElement",2),He([l({type:Number})],n.UUIPopoverElement.prototype,"margin",2),He([l({type:String,reflect:!0})],n.UUIPopoverElement.prototype,"placement",1),He([l({type:Boolean,reflect:!0})],n.UUIPopoverElement.prototype,"open",1),n.UUIPopoverElement=He([c("uui-popover")],n.UUIPopoverElement);var ma=Object.defineProperty,ga=Object.getOwnPropertyDescriptor,hr=(t,e,r,o)=>{for(var i=o>1?void 0:o?ga(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ma(e,r,i),i};const _a=(t,e,r)=>Math.min(Math.max(t,e),r);n.UUIProgressBarElement=class extends h{constructor(){super(...arguments);this._progress=0}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=_a(t,0,100),this.requestUpdate("progress",e)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return u`<div id="bar" style="${Qe(this._getProgressStyle())}"></div>`}},n.UUIProgressBarElement.styles=[d`:host{width:100%;height:4px;position:relative;overflow:hidden;background:var(--uui-interface-surface-alt,#d8d7d9);border-radius:100px;display:inline-block}#bar{transition:width 250ms ease;background:var(--uui-look-positive-surface,#25aa60);height:100%;width:0%}`],hr([l({type:Number})],n.UUIProgressBarElement.prototype,"progress",1),n.UUIProgressBarElement=hr([c("uui-progress-bar")],n.UUIProgressBarElement);class we extends x{}we.CHANGE="change";var ya=Object.defineProperty,Ua=Object.getOwnPropertyDescriptor,te=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ua(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ya(e,r,i),i};n.UUIRadioElement=class extends h{constructor(){super();this.name="",this.value="",this.label="",this._checked=!1,this._disabled=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","1")})}get checked(){return this._checked}set checked(t){const e=this._checked;this._checked=t,t===!0?(this.setAttribute("aria-checked",""),this.disabled||this.setAttribute("tabindex","0")):(this.setAttribute("tabindex","-1"),this.removeAttribute("aria-checked")),this.requestUpdate("checked",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,t&&(this.setAttribute("aria-hidden","true"),this.setAttribute("tabindex","-1")),this.requestUpdate("disabled",e)}focus(){this.inputElement.focus()}click(){this.inputElement.click()}_onChange(){const t=this.inputElement.checked;this.checked=t,t&&this.focus(),this.dispatchEvent(new we(we.CHANGE))}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.setAttribute("tabindex","0")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this.hasAttribute("aria-checked")||this.removeAttribute("aria-checked")}render(){return u`<label><input id="input" type="radio" name="${this.name}" value="${this.value}" .checked="${this.checked}" .disabled="${this.disabled}" @change="${this._onChange}"><div id="button"></div><div id="label">${this.label?u`<span>${this.label}</span>`:u`<slot></slot>`}</div></label>`}},n.UUIRadioElement.styles=[Xe,d`:host{display:block;box-sizing:border-box;font-family:inherit;color:currentColor;--uui-radio-button-size:var(--uui-size-6,18px);margin:var(--uui-size-2,6px) 0}label{display:block;box-sizing:border-box;display:flex;align-items:center;cursor:pointer;line-height:18px}#input{width:0;height:0;opacity:0;margin:0}.label{margin-top:2px}#button{box-sizing:border-box;display:inline-block;width:var(--uui-radio-button-size,18px);height:var(--uui-radio-button-size,18px);background-color:var(--uui-interface-surface,#fefefe);border:1px solid var(--uui-interface-border,#c4c4c4);border-radius:100%;margin-right:calc(var(--uui-size-2,6px) * 2);position:relative}#button::after{content:'';width:calc(var(--uui-radio-button-size)/ 2);height:calc(var(--uui-radio-button-size)/ 2);background-color:var(--uui-interface-chosen,#1b264f);border-radius:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);transition:all .15s ease-in-out}:host(:hover) #button{border:1px solid var(--uui-interface-border-hover,#b3b3b3)}:host(:focus){outline:0}:host(:focus) #button{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}input:checked~#button::after{transform:translate(-50%,-50%) scale(1)}input:checked~#button{border:1px solid var(--uui-interface-chosen,#1b264f)}input:checked:hover~#button{border:1px solid var(--uui-interface-chosen-hover,#26356e)}input:checked:hover~#button::after{background-color:var(--uui-interface-chosen-hover,#26356e)}:host([disabled]) label{cursor:default;opacity:.5}:host([disabled]) .label{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) input~#button{border:1px solid var(--uui-interface-border-disabled,#bdbdbd)}:host([disabled]) input:checked~#button{border:1px solid var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]) input:checked~#button::after{background-color:var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]:active) #button{animation:${Ze}}@media (prefers-reduced-motion){:host([disabled]:active) #button{animation:none}#button::after{transition:none}}`],te([C("#input")],n.UUIRadioElement.prototype,"inputElement",2),te([l({type:String})],n.UUIRadioElement.prototype,"name",2),te([l({type:String})],n.UUIRadioElement.prototype,"value",2),te([l({type:String})],n.UUIRadioElement.prototype,"label",2),te([l({type:Boolean,reflect:!0})],n.UUIRadioElement.prototype,"checked",1),te([l({type:Boolean,reflect:!0})],n.UUIRadioElement.prototype,"disabled",1),n.UUIRadioElement=te([c("uui-radio")],n.UUIRadioElement);class st extends x{}st.CHANGE="change";var wa=Object.defineProperty,Ea=Object.getOwnPropertyDescriptor,pr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ea(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&wa(e,r,i),i};const Ia="ArrowLeft",$a="ArrowUp",xa="ArrowRight",Ca="ArrowDown",Pa=" ";n.UUIRadioGroupElement=class extends j(h){constructor(){super();this.disabled=!1,this._selected=null,this._onChildBlur=()=>{this.pristine=!1},this._handleSelectOnClick=t=>{t.target.checked===!0&&(this.value=t.target.value,this._fireChangeEvent())},this.addEventListener("keydown",this._onKeydown)}get value(){return this._value}set value(t){super.value=t,(t===null||t==="")&&this._makeFirstEnabledFocusable(),this._radioElements.forEach((e,r)=>{e.value===t?(e.checked=!0,this._selected=r):e.checked=!1})}focus(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.focus():(e=this._findNextEnabledElement())==null||e.focus()}click(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.click():(e=this._findNextEnabledElement())==null||e.click()}getFormElement(){if(this._radioElements&&this._selected)return this._radioElements[this._selected]}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}_setNameOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.name=t)}_setDisableOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.disabled=t)}_handleSlotChange(t){var e;if((e=this._radioElements)==null||e.forEach(r=>{r.removeEventListener(we.CHANGE,this._handleSelectOnClick),r.removeEventListener("blur",this._onChildBlur)}),this._selected=null,this._radioElements=t.target.assignedElements({flatten:!0}).filter(r=>r instanceof n.UUIRadioElement),this._radioElements.length>0){this._radioElements.forEach(o=>{o.addEventListener(we.CHANGE,this._handleSelectOnClick),o.addEventListener("blur",this._onChildBlur)});const r=this._radioElements.filter(o=>o.checked===!0);r.length>1&&(this._radioElements.forEach(o=>{o.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),r.length===1?(this.value=r[0].value,this._selected=this._radioElements.indexOf(r[0]),r[0].disabled===!1?(this._radioElements.forEach(o=>{o.makeUnfocusable()}),r[0].makeFocusable()):this._makeFirstEnabledFocusable(),this._setNameOnRadios(this.name),this.disabled&&this._setDisableOnRadios(!0)):this._makeFirstEnabledFocusable()}}_makeFirstEnabledFocusable(){var t,e;this._selected=null,(t=this._radioElements)==null||t.forEach(r=>{r.makeUnfocusable()}),(e=this._findNextEnabledElement())==null||e.makeFocusable()}_findNextEnabledElement(t=1){if(!this._radioElements)return null;const e=this._selected||0,r=this._radioElements.length;let o=this._selected===null?0:1;for(;o<r;){let i=(e+o*t)%r;if(i<0&&(i+=r),this._radioElements[i].disabled===!1)return this._radioElements[i];o++}return null}_selectPreviousElement(){var t,e;this.value=((t=this._findNextEnabledElement(-1))==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_selectNextElement(){var t,e;this.value=((t=this._findNextEnabledElement())==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_onKeydown(t){var e;switch(t.key){case Ia:case $a:{t.preventDefault(),this._selectPreviousElement();break}case xa:case Ca:{t.preventDefault(),this._selectNextElement();break}case Pa:this._selected===null&&(this.value=(e=this._findNextEnabledElement())==null?void 0:e.value,this._fireChangeEvent())}}_fireChangeEvent(){this.pristine=!1,this.dispatchEvent(new st(st.CHANGE))}updated(t){super.updated(t),t.has("disabled")&&this._setDisableOnRadios(t.get("disabled")),t.has("name")&&this._setNameOnRadios(t.get("name"))}render(){return u`<slot @slotchange="${this._handleSlotChange}"></slot>`}},n.UUIRadioGroupElement.formAssociated=!0,n.UUIRadioGroupElement.styles=[d`:host{display:inline-block;padding-right:3px;border:1px solid transparent;border-radius:var(--uui-border-radius,3px)}:host(:not([pristine]):invalid),:host(:not([pristine])[internals-invalid]){border:1px solid var(--uui-look-danger-border,#d42054)}`],pr([l({type:Boolean,reflect:!0})],n.UUIRadioGroupElement.prototype,"disabled",2),n.UUIRadioGroupElement=pr([c("uui-radio-group")],n.UUIRadioGroupElement);var ka=Object.defineProperty,Oa=Object.getOwnPropertyDescriptor,za=(t,e,r,o)=>{for(var i=o>1?void 0:o?Oa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ka(e,r,i),i};n.UUIRefListElement=class extends h{render(){return u`<slot></slot>`}},n.UUIRefListElement.styles=[d`:host{display:block}::slotted(:not(:first-child)){margin-top:1px}::slotted(:not(:first-child))::before{content:'';position:absolute;top:-1px;width:100%;border-top:1px solid #d3d3d3}`],n.UUIRefListElement=za([c("uui-ref-list")],n.UUIRefListElement);class Ee extends x{}Ee.OPEN="open";var Sa=Object.defineProperty,Aa=Object.getOwnPropertyDescriptor,Vt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Aa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Sa(e,r,i),i};n.UUIRefElement=class extends Ge(Le(h)){constructor(){super(...arguments);this.disabled=!1,this.error=!1}handleOpenClick(t){t.stopPropagation(),this.dispatchEvent(new Ee(Ee.OPEN))}handleOpenKeydown(t){t.key!==" "&&t.key!=="Enter"||(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Ee(Ee.OPEN)))}},n.UUIRefElement.styles=[d`:host{position:relative;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe);--uui-card-before-opacity:0;transition:--uui-card-before-opacity 120ms}:host(:focus){outline-color:#6ab4f0}:host([error]){border:2px solid var(--uui-look-danger-border,#d42054);box-shadow:0 0 4px 0 var(--uui-look-danger-border,#d42054),inset 0 0 2px 0 var(--uui-look-danger-border,#d42054)}:host([border]){border:1px solid var(--uui-interface-border,#c4c4c4)}:host([selectable]){cursor:pointer}:host([selectable]) #select-border{position:absolute;z-index:2;top:-2px;left:-2px;right:-2px;bottom:-2px;pointer-events:none;opacity:0;transition:opacity 120ms}:host([selectable]) #select-border::after{content:'';position:absolute;width:100%;height:100%;box-sizing:border-box;border:2px solid var(--uui-interface-select,#3544b1);border-radius:calc(var(--uui-border-radius,3px) + 2px);box-shadow:0 0 4px 0 var(--uui-interface-select,#3544b1),inset 0 0 2px 0 var(--uui-interface-select,#3544b1)}:host([selected]) #select-border{opacity:1}:host([selectable]:not([selected]):hover) #select-border{opacity:.33}:host([selectable][selected]:hover) #select-border{opacity:.8}:host([selectable]:not([selected])) #open-part:hover+#select-border{opacity:0}:host([selectable][selected]) #open-part:hover+#select-border{opacity:1}:host([selectable]:not([selected]):hover) #select-border::after{animation:not-selected--hover 1.2s infinite}@keyframes not-selected--hover{0%,100%{opacity:.66}50%{opacity:1}}:host([selectable][selected]:hover) #select-border::after{animation:selected--hover 1.4s infinite}@keyframes selected--hover{0%,100%{opacity:1}50%{opacity:.66}}:host([selectable]) #open-part:hover+#select-border::after{animation:none}:host([select-only]) *,:host([select-only]) ::slotted(*){pointer-events:none}button{font-size:inherit;font-family:inherit;border:0;padding:0;background-color:transparent;text-align:left}slot[name=actions]{display:flex;align-items:center;--uui-button-height:calc(var(--uui-size-2,6px) * 4);margin-right:var(--uui-size-2,6px)}#actions-container{opacity:0;transition:opacity 120ms}:host(:hover) #actions-container{opacity:1}:host([border]:not([disabled]):hover){border-color:var(--uui-interface-border-hover,#b3b3b3)}:host([disabled]) #open-part{cursor:default}:host([border][disabled]){border-color:var(--uui-interface-border-disabled,#bdbdbd)}slot[name=tag]{flex-grow:1;display:flex;justify-content:flex-end;align-items:center}`],Vt([l({type:Boolean,reflect:!0})],n.UUIRefElement.prototype,"disabled",2),Vt([l({type:Boolean,reflect:!0})],n.UUIRefElement.prototype,"error",2),n.UUIRefElement=Vt([c("uui-ref")],n.UUIRefElement);var Da=Object.defineProperty,La=Object.getOwnPropertyDescriptor,at=(t,e,r,o)=>{for(var i=o>1?void 0:o?La(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Da(e,r,i),i};n.UUIRefNodeElement=class extends n.UUIRefElement{constructor(){super(...arguments);this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),U(this,"uui-icon")}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}renderDetail(){return u`<small id="detail">${this.detail}<slot name="detail"></slot></small>`}_renderFallbackIcon(){return u`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return u`<button type="button" id="open-part" tabindex="0" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}" ?disabled="${this.disabled}"><span id="icon"><slot name="icon" @slotchange="${this._onSlotIconChange}"></slot>${this._iconSlotHasContent===!1?this._renderFallbackIcon():""}</span><div id="info"><div id="name">${this.name}</div>${this.renderDetail()}</div></button><div id="select-border"></div><slot></slot><slot name="tag"></slot><slot name="actions" id="actions-container"></slot>`}},n.UUIRefNodeElement.styles=[...n.UUIRefElement.styles,d`:host{min-width:250px;padding:calc(var(--uui-size-2,6px) + 1px)}#open-part{align-self:stretch;display:flex;position:relative;align-items:center;cursor:pointer}#icon{font-size:1.2em;margin-left:var(--uui-size-2,6px);margin-right:var(--uui-size-1,3px)}#info{display:flex;flex-direction:column;align-items:start;justify-content:center;height:100%;padding-left:var(--uui-size-2,6px)}#name{font-weight:700}#detail{font-size:var(--uui-type-small-size,12px)}:host(:not([disabled])) #open-part:hover #icon{color:var(--uui-interface-contrast-hover,#1b264f)}:host(:not([disabled])) #open-part:hover #name{font-weight:700;text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}:host(:not([disabled])) #open-part:hover #detail{color:var(--uui-interface-contrast-hover,#1b264f)}:host([disabled]) #icon{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) #name{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) #detail{color:var(--uui-interface-contrast-disabled,#73716e)}`],at([l({type:String})],n.UUIRefNodeElement.prototype,"name",2),at([l({type:String})],n.UUIRefNodeElement.prototype,"detail",2),at([g()],n.UUIRefNodeElement.prototype,"_iconSlotHasContent",2),n.UUIRefNodeElement=at([c("uui-ref-node")],n.UUIRefNodeElement);var Ta=Object.defineProperty,Na=Object.getOwnPropertyDescriptor,vr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Na(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ta(e,r,i),i};n.UUIRefNodeDataTypeElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeDataTypeElement.styles=[...n.UUIRefNodeElement.styles],vr([l({type:String})],n.UUIRefNodeDataTypeElement.prototype,"alias",2),n.UUIRefNodeDataTypeElement=vr([c("uui-ref-node-data-type")],n.UUIRefNodeDataTypeElement);var Ba=Object.defineProperty,Ha=Object.getOwnPropertyDescriptor,br=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ha(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ba(e,r,i),i};n.UUIRefNodeDocumentTypeElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeDocumentTypeElement.styles=[...n.UUIRefNodeElement.styles],br([l({type:String})],n.UUIRefNodeDocumentTypeElement.prototype,"alias",2),n.UUIRefNodeDocumentTypeElement=br([c("uui-ref-node-document-type")],n.UUIRefNodeDocumentTypeElement);var ja=Object.defineProperty,Ma=Object.getOwnPropertyDescriptor,Ra=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ma(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ja(e,r,i),i};n.UUIRefNodeFormElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}},n.UUIRefNodeFormElement.styles=[...n.UUIRefNodeElement.styles],n.UUIRefNodeFormElement=Ra([c("uui-ref-node-form")],n.UUIRefNodeFormElement);var Fa=Object.defineProperty,Va=Object.getOwnPropertyDescriptor,fr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Va(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Fa(e,r,i),i};n.UUIRefNodeMemberElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeMemberElement.styles=[...n.UUIRefNodeElement.styles],fr([l({type:String,attribute:"group-name"})],n.UUIRefNodeMemberElement.prototype,"groupName",2),n.UUIRefNodeMemberElement=fr([c("uui-ref-node-member")],n.UUIRefNodeMemberElement);var Ga=Object.defineProperty,qa=Object.getOwnPropertyDescriptor,Gt=(t,e,r,o)=>{for(var i=o>1?void 0:o?qa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ga(e,r,i),i};n.UUIRefNodePackageElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.version!==""&&t.push(this.version),this.author!==""&&t.push(this.author),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodePackageElement.styles=[...n.UUIRefNodeElement.styles],Gt([l({type:String})],n.UUIRefNodePackageElement.prototype,"version",2),Gt([l({type:String})],n.UUIRefNodePackageElement.prototype,"author",2),n.UUIRefNodePackageElement=Gt([c("uui-ref-node-package")],n.UUIRefNodePackageElement);var Wa=Object.defineProperty,Ka=Object.getOwnPropertyDescriptor,mr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ka(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Wa(e,r,i),i};n.UUIRefNodeUserElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeUserElement.styles=[...n.UUIRefNodeElement.styles],mr([l({type:String,attribute:"group-name"})],n.UUIRefNodeUserElement.prototype,"groupName",2),n.UUIRefNodeUserElement=mr([c("uui-ref-node-user")],n.UUIRefNodeUserElement);var Ya=Object.defineProperty,Xa=Object.getOwnPropertyDescriptor,Za=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ya(e,r,i),i};n.UUIScrollContainerElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){return u`<slot></slot>`}},n.UUIScrollContainerElement.styles=[d`:host{display:block;scrollbar-width:thin;scrollbar-color:var(--uui-interface-contrast-disabled,#73716e) var(--uui-interface-background-alt);overflow-y:scroll}:host::-webkit-scrollbar{width:6px;height:6px}:host::-webkit-scrollbar-track{background:var(--uui-interface-background-alt);border-radius:3px}:host::-webkit-scrollbar-thumb{background-color:var(--uui-interface-contrast-disabled,#73716e);border-radius:3px}`],n.UUIScrollContainerElement=Za([c("uui-scroll-container")],n.UUIScrollContainerElement);class lt extends x{}lt.CHANGE="change";var Qa=Object.defineProperty,Ja=Object.getOwnPropertyDescriptor,T=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ja(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Qa(e,r,i),i};n.UUISelectElement=class extends j(h){constructor(){super();this.placeholder="",this.disabled=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}focus(){this._input.focus()}click(){this._input.click()}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(t=>t.group).map(t=>t.group))))}willUpdate(t){if(t.has("options")){this._extractGroups(),this._values=this.options.map(r=>r.value);const e=this.options.find(r=>r.selected);this.value=e?e.value:""}t.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),t.has("disabledGroups")&&this._createDisabledGroups()}setValue(t){const e=t.target;t.target&&(this.value=e.value),this.dispatchEvent(new lt(lt.CHANGE,{bubbles:!0,composed:!1}))}getFormElement(){return this._input}_renderOption(t,e,r,o){return u`<option value="${e}" ?selected="${r}" ?disabled="${o}">${t}</option>`}_renderGrouped(){return this._groups.length===0?u``:u`${this._groups.map(t=>u`<optgroup label="${t}" ?disabled="${this._disabledGroups.some(e=>e.toLowerCase()===t.toLowerCase())}">${this.options.map(e=>e.group===t?this._renderOption(e.name,e.value,e.selected,e.disabled):"")}</optgroup>`)}`}render(){return u`<select id="native" aria-label="${this.label}" @change="${this.setValue}" ?disabled="${this.disabled}" .name="${this.name}" .value="${this.value}"><option disabled="disabled" selected="selected" value="" hidden>${this.placeholder}</option>${this._renderGrouped()} ${this.options.filter(t=>!t.group).map(t=>this._renderOption(t.name,t.value,t.selected,t.disabled))}</select>`}},n.UUISelectElement.styles=[d`:host{position:relative;font-family:inherit}#native{display:inline-block;font-family:inherit;font-size:var(--uui-select-font-size,var(--uui-size-5,15px));height:var(--uui-select-height,var(--uui-size-11,33px));width:100%;padding:var(--uui-select-padding-y,var(--uui-size-1,3px)) var(--uui-select-padding-x,var(--uui-size-2,6px));color:currentColor;border-radius:0;box-sizing:border-box;background-color:transparent;border:1px solid var(--uui-select-border-color,var(--uui-interface-border,#c4c4c4));transition:all 150ms ease}#native:focus{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}#native[disabled]{cursor:not-allowed;background-color:var(--uui-select-disabled-background-color,var(--uui-interface-surface-disabled,#e4e4e4))}#native:hover{border:1px solid var(--uui-select-border-color-hover,var(--uui-interface-border-hover,#b3b3b3))}option:checked{background:var(--uui-select-selected-option-background-color,var(--uui-interface-active,#f5c1bc))}#native:focus{outline-color:var(--uui-select-outline-color,var(--uui-color-malibu,#3879ff))}#caret{position:absolute;right:12px;top:50%;transform:translateY(-50%)}:host([error]) #native{border:1px solid var(--uui-look-danger-border,#d42054)}:host([error]) #native[disabled]{border:1px solid var(--uui-look-danger-border,#d42054)}`],T([l({type:String})],n.UUISelectElement.prototype,"label",2),T([l()],n.UUISelectElement.prototype,"placeholder",2),T([l({type:Boolean,reflect:!0})],n.UUISelectElement.prototype,"disabled",2),T([l({type:Boolean,reflect:!0})],n.UUISelectElement.prototype,"error",2),T([l({type:Array,attribute:!1})],n.UUISelectElement.prototype,"options",2),T([g()],n.UUISelectElement.prototype,"_groups",2),T([l()],n.UUISelectElement.prototype,"disabledGroups",2),T([g()],n.UUISelectElement.prototype,"_disabledGroups",2),T([C("#native")],n.UUISelectElement.prototype,"_input",2),n.UUISelectElement=T([c("uui-select")],n.UUISelectElement);const el=d`
231
+ */const at=t=>t??E;class ee extends x{}ee.CHANGE="change",ee.INPUT="input";var Gs=Object.defineProperty,qs=Object.getOwnPropertyDescriptor,S=(t,e,r,o)=>{for(var i=o>1?void 0:o?qs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Gs(e,r,i),i};n.UUIInputElement=class extends j(h){constructor(){super();this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.disabled=!1,this.readonly=!1,this.placeholder="",this._type="text",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}get type(){return this._type}set type(t){this._type=t}firstUpdated(t){super.firstUpdated(t),this.addFormControlElement(this._input)}focus(){this._input.focus()}getFormElement(){return this._input}onInput(t){this.value=t.target.value,this.dispatchEvent(new ee(ee.INPUT))}onChange(){this.pristine=!1,this.dispatchEvent(new ee(ee.CHANGE))}renderPrepend(){return u`<slot name="prepend"></slot>`}renderAppend(){return u`<slot name="append"></slot>`}render(){return u`${this.renderPrepend()} <input id="input" .type="${this.type}" .value="${this.value}" .name="${this.name}" autocomplete="${at(this.autocomplete)}" placeholder="${this.placeholder}" aria-label="${this.label}" .disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" @input="${this.onInput}" @change="${this.onChange}"> ${this.renderAppend()}`}},n.UUIInputElement.formAssociated=!0,n.UUIInputElement.styles=[d`:host{position:relative;display:inline-flex;align-items:center;height:var(--uui-size-11,33px);text-align:left;box-sizing:border-box;background-color:var(--uui-input-background-color,var(--uui-interface-surface,#fefefe));border:var(--uui-input-border-width,1px) solid var(--uui-input-border-color,var(--uui-interface-border,#c4c4c4))}:host(:hover){border-color:var(--uui-input-border-color-hover,var(--uui-interface-border-hover,#b3b3b3))}:host(:focus-within){border-color:var(--uui-input-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:focus){border-color:var(--uui-input-border-color-focus,var(--uui-interface-border-focus,#b3b3b3))}:host([disabled]){background-color:var(--uui-input-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-input-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-interface-contrast-disabled,#73716e)}:host([readonly]){border-color:var(--uui-input-border-color-readonly,var(--uui-interface-border-readonly,#dedede))}:host(:not([pristine]):invalid),:host(:not([pristine])[internals-invalid]){border-color:var(--uui-look-danger-border,#d42054)}input{font-family:inherit;padding:var(--uui-size-1,3px) var(--uui-size-space-3,9px);font-size:inherit;color:inherit;border-radius:0;box-sizing:border-box;border:none;background:0 0;width:100%;text-align:inherit;outline:0}input::placeholder{transition:opacity 120ms}:host(:not([readonly])) input:focus::placeholder{opacity:0}input[type=color]{width:30px;padding:0;border:none}::slotted(uui-input){height:100%;--uui-input-border-width:0}`],S([l({type:Number})],n.UUIInputElement.prototype,"minlength",2),S([l({type:String,attribute:"minlength-message"})],n.UUIInputElement.prototype,"minlengthMessage",2),S([l({type:Number})],n.UUIInputElement.prototype,"maxlength",2),S([l({type:String,attribute:"maxlength-message"})],n.UUIInputElement.prototype,"maxlengthMessage",2),S([l({type:Boolean,reflect:!0})],n.UUIInputElement.prototype,"disabled",2),S([l({type:Boolean,reflect:!0})],n.UUIInputElement.prototype,"readonly",2),S([l({type:String})],n.UUIInputElement.prototype,"label",2),S([l()],n.UUIInputElement.prototype,"placeholder",2),S([l()],n.UUIInputElement.prototype,"autocomplete",2),S([l({type:String})],n.UUIInputElement.prototype,"type",1),S([C("#input")],n.UUIInputElement.prototype,"_input",2),n.UUIInputElement=S([c("uui-input")],n.UUIInputElement);var Ws=Object.defineProperty,Ks=Object.getOwnPropertyDescriptor,Ue=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ks(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ws(e,r,i),i};n.UUIInputFileElement=class extends j(h){constructor(){super();this.accept="",this.multiple=!1,this._files=[],this._updateFileWrappers=t=>{let e=[];for(const r of t)this.multiple?e.push(r):e=[r];this._files=e},this.addEventListener("dragenter",()=>this._setShowDropzone(!0)),this.addEventListener("dragleave",()=>this._setShowDropzone(!1)),this.addEventListener("drop",()=>this._setShowDropzone(!1))}get value(){return this._value}set value(t){if(super.value=t,t instanceof FormData){const e=this.multiple?t.getAll(this.name):[t.get(this.name)];this._updateFileWrappers(e);return}if(t instanceof File){this._updateFileWrappers([t]);return}}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-file-dropzone"),U(this,"uui-button"),U(this,"uui-action-bar"),U(this,"uui-file-preview")}getFormElement(){return this._dropZone}_handleClick(t){t.stopImmediatePropagation(),this._dropzone.browse()}async _handleFilesChange(t){const r=t.detail.files.filter(i=>i instanceof File||i.isFile);if(!this.multiple){const i=r[0],a=i instanceof File?i:await this._getFile(i);if(this.value instanceof File){this.value=a;return}if(this.value instanceof FormData){this.value.delete(this.name),this.value.append(this.name,a),this._updateFileWrappers([a]);return}}let o=this.value;if(r.length>0&&!(this.value instanceof FormData)&&(o=new FormData),o instanceof FormData)for(const i of r){const s=i instanceof File;o.append(this.name,s?i:await this._getFile(i))}this.value=o}async _getFile(t){return await new Promise((e,r)=>t.file(e,r))}_removeFile(t){const e=this._files[t];if(this.value instanceof FormData){const o=this.value.getAll(this.name).filter(i=>i!==e);if(o.length===0)this.value="";else{this.value.delete(this.name);for(const i of o)this.value.append(this.name,i)}this._updateFileWrappers(o)}this.value instanceof File&&(this.value="",this._updateFileWrappers([]))}_setShowDropzone(t){t?this._dropZone.style.display="flex":this._dropZone.style.display="none"}_renderFileItem(t,e){return u`<uui-file-preview .file="${t}"><uui-action-bar slot="actions"><uui-button @click="${()=>this._removeFile(e)}" look="danger" label="${`Delete ${t.name}`}"><uui-icon name="delete" .fallback="${nn.strings[0]}"></uui-icon></uui-button></uui-action-bar></uui-file-preview>`}_renderFiles(){return u`${lr(this._files,t=>t.name+t.size,(t,e)=>this._renderFileItem(t,e))}`}render(){return u`<uui-file-dropzone id="dropzone" ?multiple="${this.multiple}" .accept="${this.accept}" @file-change="${this._handleFilesChange}" label="Drop files here"></uui-file-dropzone><div id="files">${this._renderFiles()}<uui-button @click="${this._handleClick}" id="add-button" look="placeholder" label="Add"></uui-button></div>`}},n.UUIInputFileElement.styles=[d`:host{width:100%;height:100%;position:relative;display:flex;box-sizing:border-box;border:1px solid var(--uui-interface-border,#c4c4c4)}#input{position:absolute;width:0;height:0;opacity:0;display:none}#files{display:grid;box-sizing:border-box;justify-items:center;width:100%;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:min-content;gap:16px;padding:16px;overflow:auto;max-height:100%}#dropzone{display:none;position:absolute;inset:0;z-index:10;justify-content:center;align-items:center}#add-button{width:150px;height:150px;display:flex;padding:16px;box-sizing:border-box;justify-content:center;align-items:center}`],Ue([C("#dropzone")],n.UUIInputFileElement.prototype,"_dropzone",2),Ue([C("#dropzone")],n.UUIInputFileElement.prototype,"_dropZone",2),Ue([l({type:String})],n.UUIInputFileElement.prototype,"accept",2),Ue([l({type:Boolean})],n.UUIInputFileElement.prototype,"multiple",2),Ue([g()],n.UUIInputFileElement.prototype,"_files",2),n.UUIInputFileElement=Ue([c("uui-input-file")],n.UUIInputFileElement);var Ys=Object.defineProperty,Xs=Object.getOwnPropertyDescriptor,br=(t,e,r,o)=>{for(var i=o>1?void 0:o?Xs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ys(e,r,i),i};n.UUIInputLockElement=class extends n.UUIInputElement{constructor(){super();this.locked=!0,this.readonly=!0}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-button")}_onLockToggle(){this.readonly=this.locked=!this.locked}renderIcon(){return this.locked===!0?u`<uui-icon name="lock" .fallback="${sn.strings[0]}"></uui-icon>`:u`<uui-icon name="unlock" .fallback="${un.strings[0]}"></uui-icon>`}renderPrepend(){return u`<uui-button .disabled="${this.disabled}" @click="${this._onLockToggle}" compact="compact" id="lock" label="${this.locked?"Unlock input":"Lock input"}">${this.renderIcon()}</uui-button>`}},n.UUIInputLockElement.styles=[...n.UUIInputElement.styles,d`#lock{height:100%;--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0;--uui-button-padding-left-factor:0.75;--uui-button-padding-right-factor:0.75;font-size:12px}:host([locked]) #input{cursor:not-allowed;opacity:.5}`],br([l({type:Boolean,reflect:!0})],n.UUIInputLockElement.prototype,"locked",2),n.UUIInputLockElement=br([c("uui-input-lock")],n.UUIInputLockElement);var Zs=Object.defineProperty,Qs=Object.getOwnPropertyDescriptor,Mt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Qs(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Zs(e,r,i),i};n.UUIInputPasswordElement=class extends n.UUIInputElement{constructor(){super(...arguments);this.passwordType="password"}get type(){return this.passwordType}set type(t){}_onPasswordToggle(){this.passwordType==="password"?this.passwordType="text":this.passwordType="password"}connectedCallback(){super.connectedCallback(),U(this,"uui-icon"),U(this,"uui-button")}renderIcon(){return this.passwordType==="password"?u`<uui-icon name="see" .fallback="${ln.strings[0]}"></uui-icon>`:u`<uui-icon name="unsee" .fallback="${cn.strings[0]}"></uui-icon>`}renderAppend(){return u`<uui-button .disabled="${this.disabled}" @click="${this._onPasswordToggle}" style="--uui-button-padding-top-factor:0;--uui-button-padding-bottom-factor:0" compact="compact" label="${this.passwordType==="password"?"Show password":"Hide password"}" id="eye">${this.renderIcon()}</uui-button>`}},n.UUIInputPasswordElement.styles=[...n.UUIInputElement.styles,d`#eye{height:100%;margin-left:-6px}#clear:hover{color:#000}`],Mt([g()],n.UUIInputPasswordElement.prototype,"passwordType",2),Mt([l()],n.UUIInputPasswordElement.prototype,"type",1),n.UUIInputPasswordElement=Mt([c("uui-input-password")],n.UUIInputPasswordElement);var Js=Object.defineProperty,ea=Object.getOwnPropertyDescriptor,ta=(t,e,r,o)=>{for(var i=o>1?void 0:o?ea(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Js(e,r,i),i};n.UUIKeyboardShortcutElement=class extends h{render(){return u`<slot></slot>`}},n.UUIKeyboardShortcutElement.styles=[d`:host{display:inline-block;font-family:inherit;font-size:var(--uui-size-4,12px)}::slotted(:first-child)uui-key{margin-left:0}::slotted(:last-child)uui-key{margin-right:0}`],n.UUIKeyboardShortcutElement=ta([c("uui-keyboard-shortcut")],n.UUIKeyboardShortcutElement);var ia=Object.defineProperty,ra=Object.getOwnPropertyDescriptor,oa=(t,e,r,o)=>{for(var i=o>1?void 0:o?ra(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ia(e,r,i),i};n.UUIKeyElement=class extends h{render(){return u`<slot></slot>`}},n.UUIKeyElement.styles=[d`:host{background:var(--uui-interface-surface,#fff);border:1px solid var(--uui-interface-border,#d8d7d9);font-family:inherit;font-size:var(--uui-type-small-size,12px);border-radius:5px;margin:0 5px;padding:5px 7px;box-sizing:border-box;user-select:none;text-transform:lowercase}`],n.UUIKeyElement=oa([c("uui-key")],n.UUIKeyElement);var na=Object.defineProperty,sa=Object.getOwnPropertyDescriptor,lt=(t,e,r,o)=>{for(var i=o>1?void 0:o?sa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&na(e,r,i),i};n.UUILabelElement=class extends h{constructor(){super();this.disabled=!1,this.for=null,this.required=!1,this.addEventListener("click",this._onClick)}_onClick(){if(this.disabled)return;const t=this.getForElement();t&&(t.focus(),t.click())}getForElement(){if(typeof this.for=="string"){const t=this.getRootNode();return t?.getElementById(this.for)||null}return this.for||null}render(){return u`<slot></slot>${this.required?u`<div id="required">*</div>`:""}`}},n.UUILabelElement.styles=[d`:host{font-weight:700}:host([for]){cursor:pointer}:host([disabled]){cursor:default}#required{display:inline;color:var(--uui-look-danger-surface,#d42054);font-weight:900}`],lt([l({type:Boolean,reflect:!0})],n.UUILabelElement.prototype,"disabled",2),lt([l({reflect:!0,attribute:!0})],n.UUILabelElement.prototype,"for",2),lt([l({type:Boolean,reflect:!0})],n.UUILabelElement.prototype,"required",2),n.UUILabelElement=lt([c("uui-label")],n.UUILabelElement);var aa=Object.defineProperty,la=Object.getOwnPropertyDescriptor,Rt=(t,e,r,o)=>{for(var i=o>1?void 0:o?la(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&aa(e,r,i),i};const ua=(t,e,r)=>Math.min(Math.max(t,e),r);n.UUILoaderBarElement=class extends h{constructor(){super(...arguments);this._progress=0,this._animationDuration=1}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=ua(t,0,100),this.requestUpdate("progress",e)}get animationDuration(){return this._animationDuration}set animationDuration(t){const e=this._animationDuration;this._animationDuration=t>=0?t:1,this.requestUpdate("animationDuration",e)}render(){return u`${this.progress?u`<div id="bar" style="max-width:${this.progress.toString()}"></div>`:""}<div id="bar-anim" class="${this.progress?"":"animate"}" style="animation-duration:${this.animationDuration}"></div><div id="bar-background"></div>`}},n.UUILoaderBarElement.styles=[d`:host{position:relative;display:block;width:100%;height:4px;overflow:hidden;color:var(--uui-color-primary,#3544b1)}#bar,#bar-anim,#bar-background{position:absolute;inset:0;height:100%}#bar,#bar-background{background:currentColor}#bar{transition:max-width 120ms ease}#bar-background{opacity:.3}#bar-anim{transform:scaleX(.4);animation:bar-loading 1s infinite linear;background:linear-gradient(-90deg,#fff 0,#fff 25%,transparent 100%)}#bar-anim.animate{background:linear-gradient(-90deg,currentColor 0,currentColor 25%,transparent 100%)}@keyframes bar-loading{0%{transform-origin:-175% 0}100%{transform-origin:175% 0}}`],Rt([l({type:Number})],n.UUILoaderBarElement.prototype,"progress",1),Rt([l({type:Number})],n.UUILoaderBarElement.prototype,"animationDuration",1),n.UUILoaderBarElement=Rt([c("uui-loader-bar")],n.UUILoaderBarElement);var ca=Object.defineProperty,da=Object.getOwnPropertyDescriptor,Ft=(t,e,r,o)=>{for(var i=o>1?void 0:o?da(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ca(e,r,i),i};n.UUILoaderCircleElement=class extends h{constructor(){super(...arguments);this.progress=0,this.showProgress=!1,this._resizeObserver=new ResizeObserver(()=>this.onResize()),this._isLarge=!1}_circleStyle(){return this.progress?{strokeDasharray:`${this.progress} 100`}:{strokeDasharray:"100 100"}}firstUpdated(){this._resizeObserver.observe(this)}disconnectedCallback(){this._resizeObserver.disconnect()}onResize(){const t=this.clientHeight>=30;this._isLarge!=t&&(this._isLarge=t,this.requestUpdate())}renderProgress(){return this._isLarge&&this.progress&&this.showProgress?u`<span id="progress-display">${this.progress}</span>`:""}render(){return u`<svg id="spinner" class="${this.progress?"":"animate"}" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle id="bg" cx="50%" cy="50%" r="16"/><g><circle id="circle" cx="50%" cy="50%" r="16" style="${it(this._circleStyle())}"/></g></svg> ${this.renderProgress()}`}},n.UUILoaderCircleElement.styles=[d`:host{vertical-align:middle;line-height:0;overflow:hidden;display:inline-flex;justify-content:center;align-items:center;position:relative;width:1em;height:1em;color:var(--uui-color-primary,#3544b1)}#spinner{width:100%;height:100%}#spinner g{transform-origin:50% 50%;animation:18s linear infinite spinner-animation}#spinner.animate g{animation:.8s linear infinite spinner-animation}@keyframes spinner-animation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}#spinner.animate #circle{animation:1.4s ease-in infinite circle-animation}@keyframes circle-animation{0%{stroke-dashoffset:-55}38%{stroke-dashoffset:-88}100%{stroke-dashoffset:-55}}svg circle{fill:transparent;stroke:currentColor;stroke-width:6px}#bg{opacity:.5}#circle{stroke-linecap:round;stroke-dasharray:0 0;transform-origin:50% 50%;transform:rotate(-90deg);transition:stroke-dasharray 120ms ease}#progress-display{position:absolute;left:0;top:50%;right:0;stroke:currentColor;transform:translateY(-50%);font-size:.3em;font-weight:700;text-align:center;padding-top:.09em}`],Ft([l({type:Number})],n.UUILoaderCircleElement.prototype,"progress",2),Ft([l({type:Boolean,reflect:!0,attribute:"show-progress"})],n.UUILoaderCircleElement.prototype,"showProgress",2),n.UUILoaderCircleElement=Ft([c("uui-loader-circle")],n.UUILoaderCircleElement);var ha=Object.defineProperty,pa=Object.getOwnPropertyDescriptor,va=(t,e,r,o)=>{for(var i=o>1?void 0:o?pa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ha(e,r,i),i};n.UUILoaderElement=class extends h{render(){return u`<div></div><div></div><div></div>`}},n.UUILoaderElement.styles=[d`:host{color:var(--uui-color-primary,#3544b1)}div{display:inline-block;width:var(--uui-size-2,6px);height:var(--uui-size-2,6px);border:2px solid currentColor;border-radius:100%;animation:loaderAnimation 1.4s infinite}div:nth-child(1n){animation-delay:0s}div:nth-child(2n){animation-delay:.15s}div:nth-child(3n){animation-delay:.3s}@keyframes loaderAnimation{0%{transform:scale(.5);background-color:currentColor}50%{transform:scale(1);background-color:transparent}100%{transform:scale(.5);background-color:currentColor}}`],n.UUILoaderElement=va([c("uui-loader")],n.UUILoaderElement);/**
232
+ * @license
233
+ * Copyright 2017 Google LLC
234
+ * SPDX-License-Identifier: BSD-3-Clause
235
+ */const He=(t,e)=>{var r,o;const i=t._$AN;if(i===void 0)return!1;for(const s of i)(o=(r=s)._$AO)===null||o===void 0||o.call(r,e,!1),He(s,e);return!0},ut=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},fr=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),ma(e)}};function ba(t){this._$AN!==void 0?(ut(this),this._$AM=t,fr(this)):this._$AM=t}function fa(t,e=!1,r=0){const o=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)He(o[s],!1),ut(o[s]);else o!=null&&(He(o,!1),ut(o));else He(this,t)}const ma=t=>{var e,r,o,i;t.type==Je.CHILD&&((e=(o=t)._$AP)!==null&&e!==void 0||(o._$AP=fa),(r=(i=t)._$AQ)!==null&&r!==void 0||(i._$AQ=ba))};class ga extends tt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),fr(this),this.isConnected=e._$AU}_$AO(e,r=!0){var o,i;e!==this.isConnected&&(this.isConnected=e,e?(o=this.reconnected)===null||o===void 0||o.call(this):(i=this.disconnected)===null||i===void 0||i.call(this)),r&&(He(this,e),ut(this))}setValue(e){if(Kn(this._$Ct))this._$Ct._$AI(e,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}const Vt=new WeakMap,Gt=et(class extends ga{render(t){return E}update(t,[e]){var r;const o=e!==this.U;return o&&this.U!==void 0&&this.ot(void 0),(o||this.rt!==this.lt)&&(this.U=e,this.ht=(r=t.options)===null||r===void 0?void 0:r.host,this.ot(this.lt=t.element)),E}ot(t){var e;if(typeof this.U=="function"){const r=(e=this.ht)!==null&&e!==void 0?e:globalThis;let o=Vt.get(r);o===void 0&&(o=new WeakMap,Vt.set(r,o)),o.get(this.U)!==void 0&&this.U.call(this.ht,void 0),o.set(this.U,t),t!==void 0&&this.U.call(this.ht,t)}else this.U.value=t}get rt(){var t,e,r;return typeof this.U=="function"?(e=Vt.get((t=this.ht)!==null&&t!==void 0?t:globalThis))===null||e===void 0?void 0:e.get(this.U):(r=this.U)===null||r===void 0?void 0:r.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});class M extends x{}M.SHOW_CHILDREN="show-children",M.HIDE_CHILDREN="hide-children",M.CLICK_LABEL="click-label";var _a=Object.defineProperty,ya=Object.getOwnPropertyDescriptor,F=(t,e,r,o)=>{for(var i=o>1?void 0:o?ya(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&_a(e,r,i),i};n.UUIMenuItemElement=class extends qe(Le(Ge(De("label",h)))){constructor(){super(...arguments);this.disabled=!1,this.showChildren=!1,this.hasChildren=!1,this.loading=!1,this.iconSlotHasContent=!1}labelButtonChanged(t){this.selectableTarget=t||this}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","menu"),U(this,"uui-symbol-expand"),U(this,"uui-loader-bar")}iconSlotChanged(t){this.iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}onCaretClicked(){this.showChildren=!this.showChildren;const t=this.showChildren?M.SHOW_CHILDREN:M.HIDE_CHILDREN,e=new M(t);this.dispatchEvent(e)}onLabelClicked(){const t=new M(M.CLICK_LABEL);this.dispatchEvent(t)}_renderLabelInside(){return u`<slot name="icon" id="icon" style="${this.iconSlotHasContent?"":"display: none;"}" @slotchange="${this.iconSlotChanged}"></slot>${this.renderLabel()}<slot name="badge" id="badge"></slot>`}_renderLabelAsAnchor(){return this.disabled?u`<span id="label-button" ${Gt(this.labelButtonChanged)}>${this._renderLabelInside()}</span>`:u`<a id="label-button" ${Gt(this.labelButtonChanged)} href="${at(this.href)}" target="${at(this.target||void 0)}" rel="${at(this.target==="_blank"?"noopener":void 0)}" @click="${this.onLabelClicked}" ?disabled="${this.disabled}" aria-label="${this.label}">${this._renderLabelInside()}</a>`}_renderLabelAsButton(){return u`<button id="label-button" ${Gt(this.labelButtonChanged)} @click="${this.onLabelClicked}" ?disabled="${this.disabled}" aria-label="${this.label}">${this._renderLabelInside()}</button>`}render(){return u`<div id="menu-item" aria-label="menuitem" role="menuitem">${this.hasChildren?u`<button id="caret-button" @click="${this.onCaretClicked}"><uui-symbol-expand ?open="${this.showChildren}"></uui-symbol-expand></button>`:""} ${this.href?this._renderLabelAsAnchor():this._renderLabelAsButton()}<div id="label-button-background"></div>${this.selectOnly===!1?u`<slot id="actions-container" name="actions"></slot>`:""} ${this.loading?u`<uui-loader-bar id="loader"></uui-loader-bar>`:""}</div>${this.showChildren?u`<slot></slot>`:""}`}},n.UUIMenuItemElement.styles=[d`:host{display:block;--uui-menu-item-child-indent:calc(var(--uui-menu-item-indent, 0) + 1);user-select:none}#menu-item{position:relative;padding-left:calc(var(--uui-menu-item-indent,0) * var(--uui-size-4,12px));display:grid;grid-template-columns:var(--uui-size-8,24px) 1fr;grid-template-rows:1fr;white-space:nowrap}button{display:inline-flex;align-items:center;font-family:inherit;font-size:inherit;padding:0;text-align:left;border:none;color:inherit;background-color:transparent;cursor:pointer;min-height:var(--uui-size-12,36px);z-index:1}#label-button{flex-grow:1;grid-column-start:2;white-space:nowrap;overflow:hidden;display:inline-flex;align-items:center;text-decoration:none;color:currentColor;min-height:var(--uui-size-12,36px);z-index:1}#label-button .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}span#label-button{pointer-events:none}#caret-button+#label-button{padding-left:0}#caret-button{width:100%;height:100%;display:flex;align-items:center;justify-content:center}#label-button-background{position:absolute;top:0;left:0;right:0;bottom:0}#caret-button:hover~#label-button-background,#label-button:hover+#label-button-background{background-color:var(--uui-interface-surface-hover,#fafafa)}#actions-container{opacity:0;transition:opacity 120ms;grid-column-start:3}:host(:not([disabled])) #menu-item:focus #actions-container,:host(:not([disabled])) #menu-item:focus-within #actions-container,:host(:not([disabled])) #menu-item:hover #actions-container{opacity:1}#loader{position:absolute;width:100%;bottom:0}#icon{display:inline-flex;font-size:16px;margin-right:var(--uui-size-2,6px)}#badge{font-size:12px;--uui-badge-position:relative;--uui-badge-position:auto;display:block;margin-left:6px}:host([disabled]){color:var(--uui-interface-surface-contrast-disabled)}:host([disabled]) #label-button-background{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([active]){color:var(--uui-interface-active-contrast,#162335)}:host([active]) #label-button:hover{color:var(--uui-interface-active-contrast-hover,#1b264f)}:host([active]) #label-button-background{background-color:var(--uui-interface-active,#f5c1bc)}:host([active]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-active-hover,#f5c1bc)}:host([active][disabled]) #label-button{color:var(--uui-interface-active-contrast-disabled,#363636);background-color:var(--uui-interface-active-disabled,#dbd4d4)}:host([selected]){color:var(--uui-interface-select-contrast,#fefefe)}:host([selected]) #label-button:hover{color:var(--uui-interface-select-contrast-hover,#fefefe)}:host([selected]) #label-button-background{background-color:var(--uui-interface-select,#3544b1)}:host([selected]) #caret-button:hover~#label-button-background,:host([selected]) #label-button:hover+#label-button-background{background-color:var(--uui-interface-select-hover,#4656c8)}:host([selected][disabled]) #label-button{color:var(--uui-interface-select-contrast-disabled,#e4e4e4);background-color:var(--uui-interface-select-disabled,#575757)}slot:not([name]){position:relative;display:block;width:100%}slot:not([name]){--uui-menu-item-indent:var(--uui-menu-item-child-indent)}slot[name=actions]{display:flex;align-items:center;--uui-button-height:calc(var(--uui-size-base-unit) * 4);margin-right:var(--uui-size-base-unit)}`],F([l({type:Boolean,reflect:!0})],n.UUIMenuItemElement.prototype,"disabled",2),F([l({type:Boolean,reflect:!0,attribute:"show-children"})],n.UUIMenuItemElement.prototype,"showChildren",2),F([l({type:Boolean,attribute:"has-children"})],n.UUIMenuItemElement.prototype,"hasChildren",2),F([l({type:Boolean,attribute:"loading"})],n.UUIMenuItemElement.prototype,"loading",2),F([l({type:String})],n.UUIMenuItemElement.prototype,"href",2),F([l({type:String})],n.UUIMenuItemElement.prototype,"target",2),F([g()],n.UUIMenuItemElement.prototype,"iconSlotHasContent",2),n.UUIMenuItemElement=F([c("uui-menu-item")],n.UUIMenuItemElement);class V extends x{}V.CHANGE="change";var Ua=Object.defineProperty,wa=Object.getOwnPropertyDescriptor,R=(t,e,r,o)=>{for(var i=o>1?void 0:o?wa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ua(e,r,i),i};const Ea=45,qt=(t,e,r)=>Math.min(Math.max(t,e),r),$a=(t,e)=>Array.from({length:e-t+1},(r,o)=>t+o);n.UUIPaginationElement=class extends h{constructor(){super(...arguments);this._observer=new ResizeObserver(this._calculateRange.bind(this)),this.label="",this.ariaLabel="",this.total=1,this._range=0,this._visiblePages=[],this._current=1}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","navigation"),this._visiblePages=this._generateVisiblePages(this.current),U(this,"uui-button"),U(this,"uui-button-group")}disconnectedCallback(){this._observer.disconnect()}firstUpdated(){this._observer.observe(this._pagesGroup),this.updateLabel(),this._calculateRange()}willUpdate(t){(t.has("current")||t.has("label"))&&this.updateLabel()}updateLabel(){this.ariaLabel=`${this.label||"Pagination navigation"}. Current page: ${this.current}.`}_calculateRange(){const t=this.offsetWidth,e=Array.from(this._navButtons).reduce((i,s)=>i+s.getBoundingClientRect().width,0),o=(t-e)/Ea/2;this._range=Math.max(1,Math.floor(o)),this._visiblePages=this._generateVisiblePages(this.current)}_generateVisiblePages(t){const e=t<this._range?1:t<this.total-this._range?t-this._range:this.total-this._range*2,r=t<=this._range?this._range*2+1:t<this.total-this._range?t+this._range:this.total;return $a(qt(e,1,this.total),qt(r,1,this.total))}get current(){return this._current}set current(t){const e=this._current;this._current=qt(t,1,this.total),this._visiblePages=this._generateVisiblePages(this._current),this.requestUpdate("current",e)}goToNextPage(){this.current++,this.dispatchEvent(new V(V.CHANGE))}goToPreviousPage(){this.current--,this.dispatchEvent(new V(V.CHANGE))}goToPage(t){this.current=t,this.dispatchEvent(new V(V.CHANGE))}focusActivePage(){requestAnimationFrame(()=>{const t=this.renderRoot.querySelector(".active");t&&t.focus()})}renderFirst(){return u`<uui-button compact="compact" look="outline" class="nav" role="listitem" label="Go to first page" ?disabled="${this._current===1}" @click="${()=>this.goToPage(1)}">First</uui-button>`}renderPrevious(){return u`<uui-button compact="compact" look="outline" class="nav" role="listitem" label="Go to previous page" ?disabled="${this._current===1}" @click="${this.goToPreviousPage}">Previous</uui-button>`}renderNext(){return u`<uui-button compact="compact" look="outline" role="listitem" class="nav" label="Go to next page" ?disabled="${this._current===this.total}" @click="${this.goToNextPage}">Next</uui-button>`}renderLast(){return u`<uui-button compact="compact" look="outline" role="listitem" class="nav" label="Go to last page" ?disabled="${this.total===this._current}" @click="${()=>this.goToPage(this.total)}">Last</uui-button>`}renderDots(){return u`<uui-button compact="compact" look="outline" tabindex="-1" class="dots" label="More pages">...</uui-button>`}renderPage(t){return u`<uui-button compact="compact" look="outline" role="listitem" label="Go to page ${t}" class="${"page"+(t===this._current?" active":"")}" tabindex="${t===this._current?"-1":""}" @click="${()=>{t!==this._current&&(this.goToPage(t),this.focusActivePage())}}">${t}</uui-button>`}renderNavigationLeft(){return u`${this.renderFirst()} ${this.renderPrevious()} ${this._visiblePages.includes(1)?"":this.renderDots()}`}renderNavigationRight(){return u`${this._visiblePages.includes(this.total)?"":this.renderDots()} ${this.renderNext()} ${this.renderLast()}`}render(){return u`<uui-button-group role="list" id="pages">${this.renderNavigationLeft()} ${this._visiblePages.map(t=>this.renderPage(t))} ${this.renderNavigationRight()}</uui-button-group>`}},n.UUIPaginationElement.styles=[d`uui-button-group{width:100%}uui-button{--uui-button-border-color:var(--uui-interface-border,#c4c4c4);--uui-button-border-color-disabled:var(--uui-interface-border,#c4c4c4)}.page{min-width:36px;max-width:72px}.page.active{--uui-button-background-color:var(--uui-interface-active,#f5c1bc)}.nav{min-width:72px}.dots{pointer-events:none}.active{pointer-events:none}`],R([Kr("uui-button.nav")],n.UUIPaginationElement.prototype,"_navButtons",2),R([C("#pages")],n.UUIPaginationElement.prototype,"_pagesGroup",2),R([l()],n.UUIPaginationElement.prototype,"label",2),R([l({reflect:!0,attribute:"aria-label"})],n.UUIPaginationElement.prototype,"ariaLabel",2),R([l({type:Number})],n.UUIPaginationElement.prototype,"total",2),R([g()],n.UUIPaginationElement.prototype,"_range",2),R([g()],n.UUIPaginationElement.prototype,"_visiblePages",2),R([l({type:Number})],n.UUIPaginationElement.prototype,"current",1),n.UUIPaginationElement=R([c("uui-pagination")],n.UUIPaginationElement);class Wt extends x{}Wt.CLOSE="close";var Ia=Object.defineProperty,xa=Object.getOwnPropertyDescriptor,je=(t,e,r,o)=>{for(var i=o>1?void 0:o?xa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ia(e,r,i),i};function ct(t,e,r){return t<e?e:t>r?r:t}n.UUIPopoverElement=class extends h{constructor(){super(...arguments);this.scrollEventHandler=this._updatePlacement.bind(this),this._open=!1,this._placement="bottom-start",this._currentPlacement=null,this._scrollParents=[],this.margin=0,this._onTriggerSlotChanged=t=>{this._trigger=t.target.assignedElements({flatten:!0})[0]},this._intersectionCallback=t=>{t.forEach(e=>{e.isIntersecting===!1&&(this._startScrollListener(),this._updatePlacement())})},this._onDocumentClick=t=>{t.composedPath().includes(this)||this._forceClosePopover()}}get placement(){return this._placement}set placement(t){const e=this._placement;this._placement=t||"bottom-start",this._currentPlacement=null,this._updatePlacement(),this.requestUpdate("placement",e)}get open(){return this._open}set open(t){const e=this._open;this._open=t,t?this._openPopover():this._closePopover(),this.requestUpdate("open",e)}connectedCallback(){super.connectedCallback(),this._getScrollParents()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this._onDocumentClick),document.removeEventListener("scroll",this.scrollEventHandler),this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),this._scrollParents=[]}_openPopover(){this.containerElement&&(this.containerElement.style.opacity="0",document.addEventListener("mousedown",this._onDocumentClick),this._currentPlacement=null,requestAnimationFrame(()=>{this._updatePlacement(),this._createIntersectionObserver(),this.containerElement.style.opacity="1"}))}_closePopover(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),delete this.intersectionObserver),document.removeEventListener("mousedown",this._onDocumentClick),this._currentPlacement=null}_forceClosePopover(){this.open=!1,this.dispatchEvent(new Wt(Wt.CLOSE))}_getScrollParents(){const t=this.shadowRoot.host;let e=getComputedStyle(t);if(e.position==="fixed")return;const r=e.position==="absolute",o=/(auto|scroll)/;let i=t;for(;i=i.parentElement;)if(e=getComputedStyle(i),!(r&&e.position==="static")&&(o.test(e.overflow+e.overflowY+e.overflowX)&&this._scrollParents.push(i),e.position==="fixed"))return;this._scrollParents.push(document.body)}_createIntersectionObserver(){if(this.intersectionObserver)return;const t={root:null,rootMargin:"0px",threshold:1};this.intersectionObserver=new IntersectionObserver(this._intersectionCallback,t),this.intersectionObserver.observe(this.containerElement)}_startScrollListener(){this._scrollParents.forEach(t=>{t.addEventListener("scroll",this.scrollEventHandler)}),document.addEventListener("scroll",this.scrollEventHandler)}_stopScrollListener(){this._scrollParents.forEach(t=>{t.removeEventListener("scroll",this.scrollEventHandler)}),document.removeEventListener("scroll",this.scrollEventHandler)}_updatePlacement(){var t,e;if(!this.shadowRoot)return;const r=this.containerElement;if(!r)return;const o=(t=this.containerElement)==null?void 0:t.getBoundingClientRect(),i=(e=this._trigger)==null?void 0:e.getBoundingClientRect();if(i!=null&&o!=null){const s=this._scrollParents.map(N=>N.getBoundingClientRect());this._currentPlacement=this._currentPlacement||this._placement,this._placement!=="auto"&&(this._currentPlacement=this._managePlacementFlip(this._currentPlacement,o,s));let a=this._currentPlacement.indexOf("top")!==-1,v=this._currentPlacement.indexOf("bottom")!==-1,b=this._currentPlacement.indexOf("left")!==-1,p=this._currentPlacement.indexOf("right")!==-1;const I=this._currentPlacement.indexOf("-start")!==-1,_=this._currentPlacement.indexOf("-end")!==-1;let f=.5,y=.5,w=.5,$=.5,z=0,re=0;if(this.placement==="auto"){const N=this._scrollParents[0],Fe=N.clientWidth,se=N.clientHeight,xe=i.x-o.width,Ce=Fe-(i.x+i.width)-o.width,Jt=i.y-o.height,bt=se-(i.y+i.height)-o.height;let ft=.5,mt=.5;const bu=Math.max(xe,Ce);let Dr=Math.max(Jt,bt);bt>Jt&&bt>this.margin&&(Dr+=9999),bu>Dr?(xe>Ce?(ft=0,b=!0):(ft=1,p=!0),z=this.margin):(Jt>bt?(mt=0,a=!0):(mt=1,v=!0),re=this.margin),f=ft,y=mt,w=1-ft,$=1-mt}else a&&($=1,y=0),v&&($=0,y=1),(a||v)&&(re=this.margin,I&&(w=0,f=0),_&&(w=1,f=1)),b&&(w=1,f=0),p&&(w=0,f=1),(b||p)&&(z=this.margin,I&&($=0,y=0),_&&($=1,y=1));const Ie=-o.width*w+i.width*f-z*(w*2-1),Qt=-o.height*$+i.height*y-re*($*2-1);let oe=Ie,ne=Qt;a||v?(this._scrollParents.forEach((N,Fe)=>{const se=N===document.body?0:s[Fe].x,xe=-i.x+se,Ce=N.clientWidth-i.x-i.width+Ie+se-(o.width-i.width)*(1-f);oe=ct(oe,xe,Ce)}),oe=ct(oe,-o.width,i.width)):(b||p)&&(this._scrollParents.forEach((N,Fe)=>{const se=N===document.body?0:s[Fe].y,xe=-i.y+se,Ce=N.clientHeight-i.y-i.height+Qt+se-(o.height-i.height)*(1-y);ne=ct(ne,xe,Ce)}),ne=ct(ne,-o.height,i.height)),(this._positionX!==oe||this._positionY!==ne)&&(this._positionX=oe,this._positionY=ne,Ie===oe&&Qt===ne&&this._stopScrollListener(),r.style.left=`${this._positionX}px`,r.style.top=`${this._positionY}px`)}}_managePlacementFlip(t,e,r){const i=t.split("-"),s=i[0],a=i[1]||null;let v;return this._scrollParents.some((b,p)=>{const I=b===document.body?0:r[p].x,_=b===document.body?0:r[p].y;return s==="top"&&e.y-2<=_?(v="bottom",!0):s==="bottom"&&e.y+e.height+2>=b.clientHeight+_?(v="top",!0):s==="left"&&e.x-2<=I?(v="right",!0):s==="right"&&e.x+e.width+2>=b.clientWidth+I?(v="left",!0):!1}),v?(this._startScrollListener(),v+(a?`-${a}`:"")):t}render(){return u`<slot id="trigger" name="trigger" @slotchange="${this._onTriggerSlotChanged}"></slot><div id="container">${this._open?u`<slot name="popover"></slot>`:""}</div>`}},n.UUIPopoverElement.styles=[d`:host{position:relative;display:inline-block;width:100%}#container{position:absolute;width:100%;z-index:1}slot[name=popover]{display:block}#trigger{position:relative;width:100%}`],je([C("#container")],n.UUIPopoverElement.prototype,"containerElement",2),je([l({type:Number})],n.UUIPopoverElement.prototype,"margin",2),je([l({type:String,reflect:!0})],n.UUIPopoverElement.prototype,"placement",1),je([l({type:Boolean,reflect:!0})],n.UUIPopoverElement.prototype,"open",1),n.UUIPopoverElement=je([c("uui-popover")],n.UUIPopoverElement);var Ca=Object.defineProperty,Pa=Object.getOwnPropertyDescriptor,mr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Pa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ca(e,r,i),i};const ka=(t,e,r)=>Math.min(Math.max(t,e),r);n.UUIProgressBarElement=class extends h{constructor(){super(...arguments);this._progress=0}get progress(){return this._progress}set progress(t){const e=this._progress;this._progress=ka(t,0,100),this.requestUpdate("progress",e)}_getProgressStyle(){return{width:`${this._progress}%`}}render(){return u`<div id="bar" style="${it(this._getProgressStyle())}"></div>`}},n.UUIProgressBarElement.styles=[d`:host{width:100%;height:4px;position:relative;overflow:hidden;background:var(--uui-interface-surface-alt,#d8d7d9);border-radius:100px;display:inline-block}#bar{transition:width 250ms ease;background:var(--uui-look-positive-surface,#25aa60);height:100%;width:0%}`],mr([l({type:Number})],n.UUIProgressBarElement.prototype,"progress",1),n.UUIProgressBarElement=mr([c("uui-progress-bar")],n.UUIProgressBarElement);class we extends x{}we.CHANGE="change";var Oa=Object.defineProperty,za=Object.getOwnPropertyDescriptor,te=(t,e,r,o)=>{for(var i=o>1?void 0:o?za(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Oa(e,r,i),i};n.UUIRadioElement=class extends h{constructor(){super();this.name="",this.value="",this.label="",this._checked=!1,this._disabled=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","1")})}get checked(){return this._checked}set checked(t){const e=this._checked;this._checked=t,t===!0?(this.setAttribute("aria-checked",""),this.disabled||this.setAttribute("tabindex","0")):(this.setAttribute("tabindex","-1"),this.removeAttribute("aria-checked")),this.requestUpdate("checked",e)}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,t&&(this.setAttribute("aria-hidden","true"),this.setAttribute("tabindex","-1")),this.requestUpdate("disabled",e)}focus(){this.inputElement.focus()}click(){this.inputElement.click()}_onChange(){const t=this.inputElement.checked;this.checked=t,t&&this.focus(),this.dispatchEvent(new we(we.CHANGE))}uncheck(){this.checked=!1}check(){this.checked=!0}makeFocusable(){this.disabled||this.setAttribute("tabindex","0")}makeUnfocusable(){this.disabled||this.setAttribute("tabindex","-1")}connectedCallback(){super.connectedCallback(),this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),this.hasAttribute("aria-checked")||this.removeAttribute("aria-checked")}render(){return u`<label><input id="input" type="radio" name="${this.name}" value="${this.value}" .checked="${this.checked}" .disabled="${this.disabled}" @change="${this._onChange}"><div id="button"></div><div id="label">${this.label?u`<span>${this.label}</span>`:u`<slot></slot>`}</div></label>`}},n.UUIRadioElement.styles=[Ze,d`:host{display:block;box-sizing:border-box;font-family:inherit;color:currentColor;--uui-radio-button-size:var(--uui-size-6,18px);margin:var(--uui-size-2,6px) 0}label{display:block;box-sizing:border-box;display:flex;align-items:center;cursor:pointer;line-height:18px}#input{width:0;height:0;opacity:0;margin:0}.label{margin-top:2px}#button{box-sizing:border-box;display:inline-block;width:var(--uui-radio-button-size,18px);height:var(--uui-radio-button-size,18px);background-color:var(--uui-interface-surface,#fefefe);border:1px solid var(--uui-interface-border,#c4c4c4);border-radius:100%;margin-right:calc(var(--uui-size-2,6px) * 2);position:relative}#button::after{content:'';width:calc(var(--uui-radio-button-size)/ 2);height:calc(var(--uui-radio-button-size)/ 2);background-color:var(--uui-interface-chosen,#1b264f);border-radius:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);transition:all .15s ease-in-out}:host(:hover) #button{border:1px solid var(--uui-interface-border-hover,#b3b3b3)}:host(:focus){outline:0}:host(:focus) #button{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}input:checked~#button::after{transform:translate(-50%,-50%) scale(1)}input:checked~#button{border:1px solid var(--uui-interface-chosen,#1b264f)}input:checked:hover~#button{border:1px solid var(--uui-interface-chosen-hover,#26356e)}input:checked:hover~#button::after{background-color:var(--uui-interface-chosen-hover,#26356e)}:host([disabled]) label{cursor:default;opacity:.5}:host([disabled]) .label{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) input~#button{border:1px solid var(--uui-interface-border-disabled,#bdbdbd)}:host([disabled]) input:checked~#button{border:1px solid var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]) input:checked~#button::after{background-color:var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]:active) #button{animation:${Qe}}@media (prefers-reduced-motion){:host([disabled]:active) #button{animation:none}#button::after{transition:none}}`],te([C("#input")],n.UUIRadioElement.prototype,"inputElement",2),te([l({type:String})],n.UUIRadioElement.prototype,"name",2),te([l({type:String})],n.UUIRadioElement.prototype,"value",2),te([l({type:String})],n.UUIRadioElement.prototype,"label",2),te([l({type:Boolean,reflect:!0})],n.UUIRadioElement.prototype,"checked",1),te([l({type:Boolean,reflect:!0})],n.UUIRadioElement.prototype,"disabled",1),n.UUIRadioElement=te([c("uui-radio")],n.UUIRadioElement);class dt extends x{}dt.CHANGE="change";var Sa=Object.defineProperty,Aa=Object.getOwnPropertyDescriptor,gr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Aa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Sa(e,r,i),i};const Da="ArrowLeft",La="ArrowUp",Ta="ArrowRight",Na="ArrowDown",Ba=" ";n.UUIRadioGroupElement=class extends j(h){constructor(){super();this.disabled=!1,this._selected=null,this._onChildBlur=()=>{this.pristine=!1},this._handleSelectOnClick=t=>{t.target.checked===!0&&(this.value=t.target.value,this._fireChangeEvent())},this.addEventListener("keydown",this._onKeydown)}get value(){return this._value}set value(t){super.value=t,(t===null||t==="")&&this._makeFirstEnabledFocusable(),this._radioElements.forEach((e,r)=>{e.value===t?(e.checked=!0,this._selected=r):e.checked=!1})}focus(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.focus():(e=this._findNextEnabledElement())==null||e.focus()}click(){var t,e;this._selected!==null?(t=this._radioElements[this._selected])==null||t.click():(e=this._findNextEnabledElement())==null||e.click()}getFormElement(){if(this._radioElements&&this._selected)return this._radioElements[this._selected]}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","radiogroup")}_setNameOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.name=t)}_setDisableOnRadios(t){var e;(e=this._radioElements)==null||e.forEach(r=>r.disabled=t)}_handleSlotChange(t){var e;if((e=this._radioElements)==null||e.forEach(r=>{r.removeEventListener(we.CHANGE,this._handleSelectOnClick),r.removeEventListener("blur",this._onChildBlur)}),this._selected=null,this._radioElements=t.target.assignedElements({flatten:!0}).filter(r=>r instanceof n.UUIRadioElement),this._radioElements.length>0){this._radioElements.forEach(o=>{o.addEventListener(we.CHANGE,this._handleSelectOnClick),o.addEventListener("blur",this._onChildBlur)});const r=this._radioElements.filter(o=>o.checked===!0);r.length>1&&(this._radioElements.forEach(o=>{o.checked=!1}),this.value="",console.error("There can only be one checked radio among the <"+this.nodeName+"> children",this)),r.length===1?(this.value=r[0].value,this._selected=this._radioElements.indexOf(r[0]),r[0].disabled===!1?(this._radioElements.forEach(o=>{o.makeUnfocusable()}),r[0].makeFocusable()):this._makeFirstEnabledFocusable(),this._setNameOnRadios(this.name),this.disabled&&this._setDisableOnRadios(!0)):this._makeFirstEnabledFocusable()}}_makeFirstEnabledFocusable(){var t,e;this._selected=null,(t=this._radioElements)==null||t.forEach(r=>{r.makeUnfocusable()}),(e=this._findNextEnabledElement())==null||e.makeFocusable()}_findNextEnabledElement(t=1){if(!this._radioElements)return null;const e=this._selected||0,r=this._radioElements.length;let o=this._selected===null?0:1;for(;o<r;){let i=(e+o*t)%r;if(i<0&&(i+=r),this._radioElements[i].disabled===!1)return this._radioElements[i];o++}return null}_selectPreviousElement(){var t,e;this.value=((t=this._findNextEnabledElement(-1))==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_selectNextElement(){var t,e;this.value=((t=this._findNextEnabledElement())==null?void 0:t.value)||"",(e=this._radioElements[this._selected||0])==null||e.focus(),this._fireChangeEvent()}_onKeydown(t){var e;switch(t.key){case Da:case La:{t.preventDefault(),this._selectPreviousElement();break}case Ta:case Na:{t.preventDefault(),this._selectNextElement();break}case Ba:this._selected===null&&(this.value=(e=this._findNextEnabledElement())==null?void 0:e.value,this._fireChangeEvent())}}_fireChangeEvent(){this.pristine=!1,this.dispatchEvent(new dt(dt.CHANGE))}updated(t){super.updated(t),t.has("disabled")&&this._setDisableOnRadios(t.get("disabled")),t.has("name")&&this._setNameOnRadios(t.get("name"))}render(){return u`<slot @slotchange="${this._handleSlotChange}"></slot>`}},n.UUIRadioGroupElement.formAssociated=!0,n.UUIRadioGroupElement.styles=[d`:host{display:inline-block;padding-right:3px;border:1px solid transparent;border-radius:var(--uui-border-radius,3px)}:host(:not([pristine]):invalid),:host(:not([pristine])[internals-invalid]){border:1px solid var(--uui-look-danger-border,#d42054)}`],gr([l({type:Boolean,reflect:!0})],n.UUIRadioGroupElement.prototype,"disabled",2),n.UUIRadioGroupElement=gr([c("uui-radio-group")],n.UUIRadioGroupElement);var Ha=Object.defineProperty,ja=Object.getOwnPropertyDescriptor,Ma=(t,e,r,o)=>{for(var i=o>1?void 0:o?ja(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ha(e,r,i),i};n.UUIRefListElement=class extends h{render(){return u`<slot></slot>`}},n.UUIRefListElement.styles=[d`:host{display:block}::slotted(:not(:first-child)){margin-top:1px}::slotted(:not(:first-child))::before{content:'';position:absolute;top:-1px;width:100%;border-top:1px solid #d3d3d3}`],n.UUIRefListElement=Ma([c("uui-ref-list")],n.UUIRefListElement);class Ee extends x{}Ee.OPEN="open";var Ra=Object.defineProperty,Fa=Object.getOwnPropertyDescriptor,Kt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ra(e,r,i),i};n.UUIRefElement=class extends qe(Le(h)){constructor(){super(...arguments);this.disabled=!1,this.error=!1}handleOpenClick(t){t.stopPropagation(),this.dispatchEvent(new Ee(Ee.OPEN))}handleOpenKeydown(t){t.key!==" "&&t.key!=="Enter"||(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new Ee(Ee.OPEN)))}},n.UUIRefElement.styles=[d`:host{position:relative;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe);--uui-card-before-opacity:0;transition:--uui-card-before-opacity 120ms}:host(:focus){outline-color:#6ab4f0}:host([error]){border:2px solid var(--uui-look-danger-border,#d42054);box-shadow:0 0 4px 0 var(--uui-look-danger-border,#d42054),inset 0 0 2px 0 var(--uui-look-danger-border,#d42054)}:host([border]){border:1px solid var(--uui-interface-border,#c4c4c4)}:host([selectable]){cursor:pointer}:host([selectable]) #select-border{position:absolute;z-index:2;top:-2px;left:-2px;right:-2px;bottom:-2px;pointer-events:none;opacity:0;transition:opacity 120ms}:host([selectable]) #select-border::after{content:'';position:absolute;width:100%;height:100%;box-sizing:border-box;border:2px solid var(--uui-interface-select,#3544b1);border-radius:calc(var(--uui-border-radius,3px) + 2px);box-shadow:0 0 4px 0 var(--uui-interface-select,#3544b1),inset 0 0 2px 0 var(--uui-interface-select,#3544b1)}:host([selected]) #select-border{opacity:1}:host([selectable]:not([selected]):hover) #select-border{opacity:.33}:host([selectable][selected]:hover) #select-border{opacity:.8}:host([selectable]:not([selected])) #open-part:hover+#select-border{opacity:0}:host([selectable][selected]) #open-part:hover+#select-border{opacity:1}:host([selectable]:not([selected]):hover) #select-border::after{animation:not-selected--hover 1.2s infinite}@keyframes not-selected--hover{0%,100%{opacity:.66}50%{opacity:1}}:host([selectable][selected]:hover) #select-border::after{animation:selected--hover 1.4s infinite}@keyframes selected--hover{0%,100%{opacity:1}50%{opacity:.66}}:host([selectable]) #open-part:hover+#select-border::after{animation:none}:host([select-only]) *,:host([select-only]) ::slotted(*){pointer-events:none}button{font-size:inherit;font-family:inherit;border:0;padding:0;background-color:transparent;text-align:left}slot[name=actions]{display:flex;align-items:center;--uui-button-height:calc(var(--uui-size-2,6px) * 4);margin-right:var(--uui-size-2,6px)}#actions-container{opacity:0;transition:opacity 120ms}:host(:hover) #actions-container{opacity:1}:host([border]:not([disabled]):hover){border-color:var(--uui-interface-border-hover,#b3b3b3)}:host([disabled]) #open-part{cursor:default}:host([border][disabled]){border-color:var(--uui-interface-border-disabled,#bdbdbd)}slot[name=tag]{flex-grow:1;display:flex;justify-content:flex-end;align-items:center}`],Kt([l({type:Boolean,reflect:!0})],n.UUIRefElement.prototype,"disabled",2),Kt([l({type:Boolean,reflect:!0})],n.UUIRefElement.prototype,"error",2),n.UUIRefElement=Kt([c("uui-ref")],n.UUIRefElement);var Va=Object.defineProperty,Ga=Object.getOwnPropertyDescriptor,ht=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ga(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Va(e,r,i),i};n.UUIRefNodeElement=class extends n.UUIRefElement{constructor(){super(...arguments);this.name="",this.detail="",this._iconSlotHasContent=!1,this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"></path></svg>'}connectedCallback(){super.connectedCallback(),U(this,"uui-icon")}_onSlotIconChange(t){this._iconSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}renderDetail(){return u`<small id="detail">${this.detail}<slot name="detail"></slot></small>`}_renderFallbackIcon(){return u`<uui-icon .svg="${this.fallbackIcon}"></uui-icon>`}render(){return u`<button type="button" id="open-part" tabindex="0" @click="${this.handleOpenClick}" @keydown="${this.handleOpenKeydown}" ?disabled="${this.disabled}"><span id="icon"><slot name="icon" @slotchange="${this._onSlotIconChange}"></slot>${this._iconSlotHasContent===!1?this._renderFallbackIcon():""}</span><div id="info"><div id="name">${this.name}</div>${this.renderDetail()}</div></button><div id="select-border"></div><slot></slot><slot name="tag"></slot><slot name="actions" id="actions-container"></slot>`}},n.UUIRefNodeElement.styles=[...n.UUIRefElement.styles,d`:host{min-width:250px;padding:calc(var(--uui-size-2,6px) + 1px)}#open-part{align-self:stretch;display:flex;position:relative;align-items:center;cursor:pointer}#icon{font-size:1.2em;margin-left:var(--uui-size-2,6px);margin-right:var(--uui-size-1,3px)}#info{display:flex;flex-direction:column;align-items:start;justify-content:center;height:100%;padding-left:var(--uui-size-2,6px)}#name{font-weight:700}#detail{font-size:var(--uui-type-small-size,12px)}:host(:not([disabled])) #open-part:hover #icon{color:var(--uui-interface-contrast-hover,#1b264f)}:host(:not([disabled])) #open-part:hover #name{font-weight:700;text-decoration:underline;color:var(--uui-interface-contrast-hover,#1b264f)}:host(:not([disabled])) #open-part:hover #detail{color:var(--uui-interface-contrast-hover,#1b264f)}:host([disabled]) #icon{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) #name{color:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) #detail{color:var(--uui-interface-contrast-disabled,#73716e)}`],ht([l({type:String})],n.UUIRefNodeElement.prototype,"name",2),ht([l({type:String})],n.UUIRefNodeElement.prototype,"detail",2),ht([g()],n.UUIRefNodeElement.prototype,"_iconSlotHasContent",2),n.UUIRefNodeElement=ht([c("uui-ref-node")],n.UUIRefNodeElement);var qa=Object.defineProperty,Wa=Object.getOwnPropertyDescriptor,_r=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wa(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&qa(e,r,i),i};n.UUIRefNodeDataTypeElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M142.212 397.267l106.052-48.024L398.479 199.03l-26.405-26.442-90.519 90.517-15.843-15.891 90.484-90.486-16.204-16.217-150.246 150.243-47.534 106.513zm74.904-100.739l23.285-23.283 3.353 22.221 22.008 3.124-23.283 23.313-46.176 20.991 20.813-46.366zm257.6-173.71L416.188 64.3l-49.755 49.785 58.504 58.503 49.779-49.77zM357.357 300.227h82.826v116.445H68.929V300.227h88.719v-30.648H38.288v177.733h432.537V269.578H357.357v30.649z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeDataTypeElement.styles=[...n.UUIRefNodeElement.styles],_r([l({type:String})],n.UUIRefNodeDataTypeElement.prototype,"alias",2),n.UUIRefNodeDataTypeElement=_r([c("uui-ref-node-data-type")],n.UUIRefNodeDataTypeElement);var Ka=Object.defineProperty,Ya=Object.getOwnPropertyDescriptor,yr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ya(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ka(e,r,i),i};n.UUIRefNodeDocumentTypeElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M49.035 60.434h413.93v33.592H49.035zm0 82.005h86.578v86.577H49.035zm163.677 0h86.576v86.577h-86.576zm163.676 0h86.576v86.577h-86.576zM49.035 282.984h413.93v33.593H49.035zm0 82.006h86.578v86.576H49.035zm163.677 0h86.576v86.576h-86.576zm163.676 0h86.576v86.576h-86.576z"></path></svg>',this.alias=""}renderDetail(){const t=[];return this.alias!==""&&t.push(this.alias),this.detail!==""&&t.push(this.detail),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeDocumentTypeElement.styles=[...n.UUIRefNodeElement.styles],yr([l({type:String})],n.UUIRefNodeDocumentTypeElement.prototype,"alias",2),n.UUIRefNodeDocumentTypeElement=yr([c("uui-ref-node-document-type")],n.UUIRefNodeDocumentTypeElement);var Xa=Object.defineProperty,Za=Object.getOwnPropertyDescriptor,Qa=(t,e,r,o)=>{for(var i=o>1?void 0:o?Za(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xa(e,r,i),i};n.UUIRefNodeFormElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.72 215.28H67.28c-11.04 0-20-8.96-20-20V64.896c0-11.04 8.96-20 20-20h377.44c11.04 0 20 8.96 20 20V195.28c0 11.056-8.96 20-20 20zm-357.44-40h337.44V84.896H87.28v90.384zm185.504 215.696c0-6.848.704-13.504 1.936-20H87.28v-90.384h337.44v12.496a108.098 108.098 0 0140 31.36v-63.856c0-11.04-8.96-20-20-20H67.28c-11.04 0-20 8.96-20 20v130.384c0 11.04 8.96 20 20 20h207.44c-1.232-6.496-1.936-13.152-1.936-20zm107.552-76.128c-41.968 0-76.112 34.16-76.112 76.128s34.144 76.128 76.112 76.128 76.128-34.16 76.128-76.128-34.144-76.128-76.128-76.128zm46.016 80.464a7.293 7.293 0 01-7.296 7.296h-27.072v27.088a7.293 7.293 0 01-7.296 7.296H376a7.293 7.293 0 01-7.296-7.296v-27.088h-27.072a7.293 7.293 0 01-7.296-7.296v-8.672a7.293 7.293 0 017.296-7.296h27.072v-27.088A7.293 7.293 0 01376 344.96h8.688a7.293 7.293 0 017.296 7.296v27.088h27.072a7.293 7.293 0 017.296 7.296v8.672z"></path></svg>'}},n.UUIRefNodeFormElement.styles=[...n.UUIRefNodeElement.styles],n.UUIRefNodeFormElement=Qa([c("uui-ref-node-form")],n.UUIRefNodeFormElement);var Ja=Object.defineProperty,el=Object.getOwnPropertyDescriptor,Ur=(t,e,r,o)=>{for(var i=o>1?void 0:o?el(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ja(e,r,i),i};n.UUIRefNodeMemberElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeMemberElement.styles=[...n.UUIRefNodeElement.styles],Ur([l({type:String,attribute:"group-name"})],n.UUIRefNodeMemberElement.prototype,"groupName",2),n.UUIRefNodeMemberElement=Ur([c("uui-ref-node-member")],n.UUIRefNodeMemberElement);var tl=Object.defineProperty,il=Object.getOwnPropertyDescriptor,Yt=(t,e,r,o)=>{for(var i=o>1?void 0:o?il(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&tl(e,r,i),i};n.UUIRefNodePackageElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M161.08 106.29l-70.073 40.452 165.498 95.545 70.076-40.453L161.08 106.29zm259.851 41.077L255.435 51.815l-63.578 36.709 165.499 95.542 63.575-36.699zm-150.11 122.19V459.43l164.966-95.238V174.32l-164.966 95.237zM75.082 364.191l164.959 95.234V268.32L75.082 173.09v191.101z"></path></svg>',this.version="",this.author=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.version!==""&&t.push(this.version),this.author!==""&&t.push(this.author),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodePackageElement.styles=[...n.UUIRefNodeElement.styles],Yt([l({type:String})],n.UUIRefNodePackageElement.prototype,"version",2),Yt([l({type:String})],n.UUIRefNodePackageElement.prototype,"author",2),n.UUIRefNodePackageElement=Yt([c("uui-ref-node-package")],n.UUIRefNodePackageElement);var rl=Object.defineProperty,ol=Object.getOwnPropertyDescriptor,wr=(t,e,r,o)=>{for(var i=o>1?void 0:o?ol(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&rl(e,r,i),i};n.UUIRefNodeUserElement=class extends n.UUIRefNodeElement{constructor(){super(...arguments);this.fallbackIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M331.135 98.375c3.677 14.798 4.045 16.031 3.702 31.225-.138 5.855-3.5 32.936-2.586 41.242.751 6.851 2.46 7.395 5.162 13.041 4.705 9.824 3.13 23.376 1.325 33.282-.988 5.42-3.076 13.136-6.248 17.561-3.497 4.876-10.498 4.913-13.592 10.602-4.459 8.195-1.941 19.692-4.752 28.54-3.193 10.033-11.325 10.738-11.938 23.867 3.986.562 7.962 1.134 11.938 1.703 3.99 8.484 11.297 25.552 18.759 30.688 6.25 1.705 12.505 3.411 18.752 5.113 21.907 8.982 46.251 19.732 68.204 28.987 19.991 8.434 43.927 11.439 51.151 32.396 0 14.229 1.343 47.849.976 66.497H36.514c-.367-18.648.974-52.268.974-66.497 7.226-20.957 31.16-23.963 51.151-32.396 21.953-9.255 46.297-20.005 68.201-28.987 6.25-1.702 12.506-3.408 18.754-5.113 7.461-5.136 14.77-22.203 18.76-30.688l8.877-2.158c-2.017-11.206-8.954-12.078-11.845-20.01a91882.59 91882.59 0 00-3.408-35.806c.055.563-8.163-1.497-9.238-2.171-11.58-7.256-11.816-36.723-12.931-48.978-.508-5.603 7.283-10.193 5.118-20.465-12.69-60.138 5.486-88.282 34.229-97.614 19.95-8.083 57.198-23.074 91.941-1.703l8.621 7.991 13.952 2.405c7 4.041 11.465 17.446 11.465 17.446z"></path></svg>',this.groupName=""}renderDetail(){const t=[];return this.detail!==""&&t.push(this.detail),this.groupName!==""&&t.push(this.groupName),u`<small id="detail">${t.join(" | ")}<slot name="detail"></slot></small>`}},n.UUIRefNodeUserElement.styles=[...n.UUIRefNodeElement.styles],wr([l({type:String,attribute:"group-name"})],n.UUIRefNodeUserElement.prototype,"groupName",2),n.UUIRefNodeUserElement=wr([c("uui-ref-node-user")],n.UUIRefNodeUserElement);var nl=Object.defineProperty,sl=Object.getOwnPropertyDescriptor,al=(t,e,r,o)=>{for(var i=o>1?void 0:o?sl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&nl(e,r,i),i};n.UUIScrollContainerElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){return u`<slot></slot>`}},n.UUIScrollContainerElement.styles=[d`:host{display:block;scrollbar-width:thin;scrollbar-color:var(--uui-interface-contrast-disabled,#73716e) var(--uui-interface-background-alt);overflow-y:scroll}:host::-webkit-scrollbar{width:6px;height:6px}:host::-webkit-scrollbar-track{background:var(--uui-interface-background-alt);border-radius:3px}:host::-webkit-scrollbar-thumb{background-color:var(--uui-interface-contrast-disabled,#73716e);border-radius:3px}`],n.UUIScrollContainerElement=al([c("uui-scroll-container")],n.UUIScrollContainerElement);class pt extends x{}pt.CHANGE="change";var ll=Object.defineProperty,ul=Object.getOwnPropertyDescriptor,T=(t,e,r,o)=>{for(var i=o>1?void 0:o?ul(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ll(e,r,i),i};n.UUISelectElement=class extends j(h){constructor(){super();this.placeholder="",this.disabled=!1,this.error=!1,this.options=[],this._groups=[],this.disabledGroups="",this._disabledGroups=[],this._values=[],this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}focus(){this._input.focus()}click(){this._input.click()}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}_createDisabledGroups(){this.disabledGroups.length!==0&&(this._disabledGroups=this.disabledGroups.split(","))}_extractGroups(){this.options.length!==0&&(this._groups=Array.from(new Set(this.options.filter(t=>t.group).map(t=>t.group))))}willUpdate(t){if(t.has("options")){this._extractGroups(),this._values=this.options.map(r=>r.value);const e=this.options.find(r=>r.selected);this.value=e?e.value:""}t.has("value")&&(this.value=this._values.includes(this.value)?this.value:""),t.has("disabledGroups")&&this._createDisabledGroups()}setValue(t){const e=t.target;t.target&&(this.value=e.value),this.dispatchEvent(new pt(pt.CHANGE,{bubbles:!0,composed:!1}))}getFormElement(){return this._input}_renderOption(t,e,r,o){return u`<option value="${e}" ?selected="${r}" ?disabled="${o}">${t}</option>`}_renderGrouped(){return this._groups.length===0?u``:u`${this._groups.map(t=>u`<optgroup label="${t}" ?disabled="${this._disabledGroups.some(e=>e.toLowerCase()===t.toLowerCase())}">${this.options.map(e=>e.group===t?this._renderOption(e.name,e.value,e.selected,e.disabled):"")}</optgroup>`)}`}render(){return u`<select id="native" aria-label="${this.label}" @change="${this.setValue}" ?disabled="${this.disabled}" .name="${this.name}" .value="${this.value}"><option disabled="disabled" selected="selected" value="" hidden>${this.placeholder}</option>${this._renderGrouped()} ${this.options.filter(t=>!t.group).map(t=>this._renderOption(t.name,t.value,t.selected,t.disabled))}</select>`}},n.UUISelectElement.styles=[d`:host{position:relative;font-family:inherit}#native{display:inline-block;font-family:inherit;font-size:var(--uui-select-font-size,var(--uui-size-5,15px));height:var(--uui-select-height,var(--uui-size-11,33px));width:100%;padding:var(--uui-select-padding-y,var(--uui-size-1,3px)) var(--uui-select-padding-x,var(--uui-size-2,6px));color:currentColor;border-radius:0;box-sizing:border-box;background-color:transparent;border:1px solid var(--uui-select-border-color,var(--uui-interface-border,#c4c4c4));transition:all 150ms ease}#native:focus{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}#native[disabled]{cursor:not-allowed;background-color:var(--uui-select-disabled-background-color,var(--uui-interface-surface-disabled,#e4e4e4))}#native:hover{border:1px solid var(--uui-select-border-color-hover,var(--uui-interface-border-hover,#b3b3b3))}option:checked{background:var(--uui-select-selected-option-background-color,var(--uui-interface-active,#f5c1bc))}#native:focus{outline-color:var(--uui-select-outline-color,var(--uui-color-malibu,#3879ff))}#caret{position:absolute;right:12px;top:50%;transform:translateY(-50%)}:host([error]) #native{border:1px solid var(--uui-look-danger-border,#d42054)}:host([error]) #native[disabled]{border:1px solid var(--uui-look-danger-border,#d42054)}`],T([l({type:String})],n.UUISelectElement.prototype,"label",2),T([l()],n.UUISelectElement.prototype,"placeholder",2),T([l({type:Boolean,reflect:!0})],n.UUISelectElement.prototype,"disabled",2),T([l({type:Boolean,reflect:!0})],n.UUISelectElement.prototype,"error",2),T([l({type:Array,attribute:!1})],n.UUISelectElement.prototype,"options",2),T([g()],n.UUISelectElement.prototype,"_groups",2),T([l()],n.UUISelectElement.prototype,"disabledGroups",2),T([g()],n.UUISelectElement.prototype,"_disabledGroups",2),T([C("#native")],n.UUISelectElement.prototype,"_input",2),n.UUISelectElement=T([c("uui-select")],n.UUISelectElement);const cl=d`
232
236
  input[type='range'] {
233
237
  left: 0;
234
238
  position: absolute;
@@ -335,15 +339,15 @@
335
339
  input[type='range']:focus::-ms-fill-upper {
336
340
  background: transparent;
337
341
  }
338
- `;class ie extends x{}ie.INPUT="input",ie.CHANGE="change";var tl=Object.defineProperty,il=Object.getOwnPropertyDescriptor,k=(t,e,r,o)=>{for(var i=o>1?void 0:o?il(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&tl(e,r,i),i};const je=12,gr=24,rl=(t,e)=>m`
339
- ${t.map(r=>{if(e>=gr){const o=Math.round(je+e*t.indexOf(r));return m`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return m``})}
340
- `,ol=(t,e,r)=>r?u``:u`<div id="step-values">
342
+ `;class ie extends x{}ie.INPUT="input",ie.CHANGE="change";var dl=Object.defineProperty,hl=Object.getOwnPropertyDescriptor,k=(t,e,r,o)=>{for(var i=o>1?void 0:o?hl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&dl(e,r,i),i};const Me=12,Er=24,pl=(t,e)=>m`
343
+ ${t.map(r=>{if(e>=Er){const o=Math.round(Me+e*t.indexOf(r));return m`<circle class="track-step" cx="${o}" cy="50%" r="4.5" />`}return m``})}
344
+ `,vl=(t,e,r)=>r?u``:u`<div id="step-values">
341
345
  ${t.map(o=>u` <span
342
346
  ><span>
343
- ${t.length<=20&&e>=gr?o.toFixed(0):I}
347
+ ${t.length<=20&&e>=Er?o.toFixed(0):E}
344
348
  </span></span
345
349
  >`)}
346
- </div>`,nl=(t,e,r)=>Array.from({length:(e-t)/r+1},(o,i)=>t+i*r);n.UUISliderElement=class extends j(h){constructor(){super();this.hideStepValues=!1,this.min=0,this.max=100,this.step=1,this.disabled=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}get value(){return this._value}set value(t){if(t instanceof File)return;const e=this._value;let r=t?parseFloat(t):0;r=Math.min(Math.max(r,this.min),this.max),this.step>0&&(r=Math.round(r/this.step)*this.step),this._value=r.toString(),this._calculateSliderPosition(),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",e)}focus(){this._input.focus()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(t){super.updated(t),(t.get("max")||t.get("min")||t.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=nl(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-je*2)/(this._steps.length-1)}_calculateSliderPosition(){const t=(parseFloat(this._value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(t*1e5)/1e3}%`}_onInput(){this.value=this._input.value,this.dispatchEvent(new ie(ie.INPUT))}_onChange(){this.pristine=!1,this.dispatchEvent(new ie(ie.CHANGE))}render(){return u`
350
+ </div>`,bl=(t,e,r)=>Array.from({length:(e-t)/r+1},(o,i)=>t+i*r);n.UUISliderElement=class extends j(h){constructor(){super();this.hideStepValues=!1,this.min=0,this.max=100,this.step=1,this.disabled=!1,this._stepWidth=0,this.onWindowResize=()=>{this._stepWidth=this._calculateStepWidth()},this._steps=[],this._sliderPosition="0%",this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")})}get value(){return this._value}set value(t){if(t instanceof File)return;const e=this._value;let r=t?parseFloat(t):0;r=Math.min(Math.max(r,this.min),this.max),this.step>0&&(r=Math.round(r/this.step)*this.step),this._value=r.toString(),this._calculateSliderPosition(),"ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype&&this._internals.setFormValue(this._value),this.requestUpdate("value",e)}focus(){this._input.focus()}getFormElement(){return this._input}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.onWindowResize),this.label||console.warn(this.tagName+" needs a `label`",this)}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResize),super.disconnectedCallback()}firstUpdated(){this._calculateSliderPosition(),this._updateSteps()}updated(t){super.updated(t),(t.get("max")||t.get("min")||t.get("step"))&&(this.value=this.value,this._updateSteps())}_updateSteps(){this._steps=bl(this.min,this.max,this.step),this._stepWidth=this._calculateStepWidth()}_calculateStepWidth(){return(this._track.getBoundingClientRect().width-Me*2)/(this._steps.length-1)}_calculateSliderPosition(){const t=(parseFloat(this._value||"0")-this.min)/(this.max-this.min);this._sliderPosition=`${Math.floor(t*1e5)/1e3}%`}_onInput(){this.value=this._input.value,this.dispatchEvent(new ie(ie.INPUT))}_onChange(){this.pristine=!1,this.dispatchEvent(new ie(ie.CHANGE))}render(){return u`
347
351
  <input
348
352
  id="input"
349
353
  type="range"
@@ -358,17 +362,17 @@
358
362
  <div id="track" aria-hidden="true">
359
363
  <svg height="100%" width="100%">
360
364
  <rect x="9" y="9" height="3" rx="2" />
361
- ${rl(this._steps,this._stepWidth)}
365
+ ${pl(this._steps,this._stepWidth)}
362
366
  </svg>
363
367
 
364
368
  <div id="track-inner" aria-hidden="true">
365
- <div id="thumb" style=${Qe({left:this._sliderPosition})}>
369
+ <div id="thumb" style=${it({left:this._sliderPosition})}>
366
370
  <div id="thumb-label">${this.value}</div>
367
371
  </div>
368
372
  </div>
369
373
  </div>
370
- ${ol(this._steps,this._stepWidth,this.hideStepValues)}
371
- `}},n.UUISliderElement.formAssociated=!0,n.UUISliderElement.styles=[Yo,el,d`
374
+ ${vl(this._steps,this._stepWidth,this.hideStepValues)}
375
+ `}},n.UUISliderElement.formAssociated=!0,n.UUISliderElement.styles=[en,cl,d`
372
376
  :host {
373
377
  display: inline-block;
374
378
  width: 100%;
@@ -417,8 +421,8 @@
417
421
 
418
422
  #track-inner {
419
423
  position: absolute;
420
- left: ${je}px; /* Match TRACK_MARGIN */
421
- right: ${je}px; /* Match TRACK_MARGIN */
424
+ left: ${Me}px; /* Match TRACK_MARGIN */
425
+ right: ${Me}px; /* Match TRACK_MARGIN */
422
426
  }
423
427
 
424
428
  #thumb {
@@ -477,7 +481,7 @@
477
481
  }
478
482
 
479
483
  #step-values {
480
- margin: 0 ${je}px; /* Match TRACK_MARGIN */
484
+ margin: 0 ${Me}px; /* Match TRACK_MARGIN */
481
485
  margin-top: 6px;
482
486
  display: flex;
483
487
  align-items: flex-end;
@@ -508,6 +512,6 @@
508
512
  :host(:not([pristine]):invalid) #thumb:after {
509
513
  background-color: var(--uui-look-danger-surface,#d42054);
510
514
  }
511
- `],k([l({type:Boolean,attribute:"hide-step-values"})],n.UUISliderElement.prototype,"hideStepValues",2),k([l({type:Number})],n.UUISliderElement.prototype,"min",2),k([l({type:Number})],n.UUISliderElement.prototype,"max",2),k([l({type:Number})],n.UUISliderElement.prototype,"step",2),k([l({type:String})],n.UUISliderElement.prototype,"value",1),k([l({type:Boolean,reflect:!0})],n.UUISliderElement.prototype,"disabled",2),k([l({type:String})],n.UUISliderElement.prototype,"label",2),k([C("#input")],n.UUISliderElement.prototype,"_input",2),k([C("#track")],n.UUISliderElement.prototype,"_track",2),k([g()],n.UUISliderElement.prototype,"_stepWidth",2),k([g()],n.UUISliderElement.prototype,"_steps",2),k([g()],n.UUISliderElement.prototype,"_sliderPosition",2),n.UUISliderElement=k([c("uui-slider")],n.UUISliderElement);var sl=Object.defineProperty,al=Object.getOwnPropertyDescriptor,_r=(t,e,r,o)=>{for(var i=o>1?void 0:o?al(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&sl(e,r,i),i};n.UUISymbolExpandElement=class extends h{constructor(){super(...arguments);this.open=!1}render(){return u`<svg viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUISymbolExpandElement.styles=[d`:host{display:inline-block;width:12px;vertical-align:middle}svg{fill:currentColor;transform:rotate(-90deg);transform-origin:50% 50%;transition:transform 120ms ease-in-out}:host([open]) svg{transform:rotate(0)}`],_r([l({type:Boolean,reflect:!0})],n.UUISymbolExpandElement.prototype,"open",2),n.UUISymbolExpandElement=_r([c("uui-symbol-expand")],n.UUISymbolExpandElement);var ll=Object.defineProperty,ul=Object.getOwnPropertyDescriptor,yr=(t,e,r,o)=>{for(var i=o>1?void 0:o?ul(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ll(e,r,i),i};n.UUISymbolFileElement=class extends h{constructor(){super(...arguments);this.type=""}render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="100%" id="icon"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg> ${this.type?u`<span id="file-type">${this.type.toUpperCase()}</span>`:""}`}},n.UUISymbolFileElement.styles=[d`:host{position:relative;display:block}#file-type{position:absolute;bottom:24%;left:25.5%;margin-left:calc(var(--uui-size-3,9px) * -1);padding:0 var(--uui-size-3,9px);font-weight:700;color:var(--uui-color-gunmetal,#162335);background-color:var(--uui-color-spanish-pink,#f5c1bc);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#icon{fill:var(--uui-interface-border,#c4c4c4)}`],yr([l({type:String})],n.UUISymbolFileElement.prototype,"type",2),n.UUISymbolFileElement=yr([c("uui-symbol-file")],n.UUISymbolFileElement);var cl=Object.defineProperty,dl=Object.getOwnPropertyDescriptor,Ur=(t,e,r,o)=>{for(var i=o>1?void 0:o?dl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&cl(e,r,i),i};n.UUISymbolFileDropzoneElement=class extends h{constructor(){super(...arguments);this.error=!1}render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="upload-icon"><path d="${this.error?"M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z":"M206.491 364.184h99.013V223.676h92.922L255.997 51.111 113.575 223.676h92.916zM85.043 398.311h341.912v62.578H85.043z"}"/></svg>`}},n.UUISymbolFileDropzoneElement.styles=[d`:host{display:flex;flex-direction:column;align-items:center;justify-content:center}#upload-icon{fill:var(--uui-color-primary,#3544b1);width:100px;transition:fill .3s ease;position:relative;z-index:2}:host([error]) #upload-icon{fill:var(--uui-color-danger,#d42054)}`],Ur([l({type:Boolean,reflect:!0})],n.UUISymbolFileDropzoneElement.prototype,"error",2),n.UUISymbolFileDropzoneElement=Ur([c("uui-symbol-file-dropzone")],n.UUISymbolFileDropzoneElement);var hl=Object.defineProperty,pl=Object.getOwnPropertyDescriptor,qt=(t,e,r,o)=>{for(var i=o>1?void 0:o?pl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&hl(e,r,i),i};n.UUISymbolFileThumbnailElement=class extends h{constructor(){super(...arguments);this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),U(this,"uui-icon")}render(){return this.src?u`<img src="${this.src}" alt="${this.alt}">`:u`<uui-icon name="picture" .fallback="${tn.strings[0]}"></uui-icon>`}},n.UUISymbolFileThumbnailElement.styles=[d`:host{display:block;width:100%;height:100%}img{object-fit:contain;height:100%;width:100%}uui-icon{width:100%;height:100%;max-width:100%;display:flex;max-height:100%;justify-content:center;color:var(--uui-color-white,#fefefe);background:var(--uui-color-white-dimmed,#e4e4e4)}`],qt([l({type:String})],n.UUISymbolFileThumbnailElement.prototype,"src",2),qt([l({type:String})],n.UUISymbolFileThumbnailElement.prototype,"alt",2),n.UUISymbolFileThumbnailElement=qt([c("uui-symbol-file-thumbnail")],n.UUISymbolFileThumbnailElement);var vl=Object.defineProperty,bl=Object.getOwnPropertyDescriptor,fl=(t,e,r,o)=>{for(var i=o>1?void 0:o?bl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&vl(e,r,i),i};n.UUISymbolFolderElement=class extends h{render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="100%" id="icon"><path d="M450.962 169.833v-19.248c0-23.398-19.035-42.436-42.434-42.436H257.306c-5.885-16.926-21.99-29.1-40.885-29.1h-89.758c-20.545 0-37.795 14.391-42.191 33.623-13.891 7.016-23.486 21.45-23.486 37.912V169.897c-7.148 7.774-11.443 18.122-11.443 29.287v.956l.062.953c.045.704 4.639 70.713 5.469 95.492l3.137 93.62c.033 6.024.682 14.788 5.271 23.301 6.564 12.175 19.002 19.442 33.273 19.442h318.49c14.273 0 26.713-7.268 33.275-19.445 4.588-8.512 5.236-17.275 5.271-23.298l3.135-93.62c.832-24.782 5.424-94.788 5.471-95.492l.061-.953v-.956c0-11.203-4.314-21.574-11.496-29.351zM90.093 150.585c0-7.281 5.84-13.189 13.09-13.318h-.125c5.324 0 9.441-9.694 9.441-13.382l-.006-1.562c0-7.824 6.344-14.168 14.17-14.168h89.758c7.826 0 14.166 6.344 14.166 14.168v1.562c0 3.663 4.062 13.239 9.332 13.37h168.609c7.363 0 13.328 5.969 13.328 13.33v9.201H90.093v-9.201zm337.744 145.028c-.854 25.538-3.15 94.062-3.15 94.062 0 7.825-1.617 14.171-9.441 14.171H96.755c-7.822 0-9.439-6.346-9.439-14.171l-3.152-94.062c-.855-25.538-5.516-96.428-5.516-96.428 0-6.893 4.926-12.631 11.445-13.9l331.764-.009c6.547 1.251 11.494 6.998 11.494 13.909 0 .001-4.657 70.89-5.514 96.428z"/></svg>`}},n.UUISymbolFolderElement.styles=[d`:host{display:block;box-sizing:border-box;position:relative;max-width:100px}#icon{fill:var(--uui-interface-border,#d3d3d3)}`],n.UUISymbolFolderElement=fl([c("uui-symbol-folder")],n.UUISymbolFolderElement);var ml=Object.defineProperty,gl=Object.getOwnPropertyDescriptor,wr=(t,e,r,o)=>{for(var i=o>1?void 0:o?gl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ml(e,r,i),i};n.UUISymbolLockElement=class extends h{constructor(){super(...arguments);this.open=!1}render(){return m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">${this.open===!0?m`<path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"></path>`:m`<path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"></path>`}</svg>`}},n.UUISymbolLockElement.styles=[d`:host{display:inline-block;vertical-align:middle;width:1em}svg{fill:currentColor}`],wr([l({type:Boolean,reflect:!0})],n.UUISymbolLockElement.prototype,"open",2),n.UUISymbolLockElement=wr([c("uui-symbol-lock")],n.UUISymbolLockElement);var _l=Object.defineProperty,yl=Object.getOwnPropertyDescriptor,Ul=(t,e,r,o)=>{for(var i=o>1?void 0:o?yl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&_l(e,r,i),i};n.UUISymbolMoreElement=class extends h{render(){return u`•••`}},n.UUISymbolMoreElement.styles=[d`:host{display:inline-block;font-size:.8em;vertical-align:top;margin-top:.27em;line-height:1em;user-select:none}`],n.UUISymbolMoreElement=Ul([c("uui-symbol-more")],n.UUISymbolMoreElement);var wl=Object.defineProperty,El=Object.getOwnPropertyDescriptor,Er=(t,e,r,o)=>{for(var i=o>1?void 0:o?El(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&wl(e,r,i),i};n.UUISymbolSortElement=class extends Ve(h){constructor(){super(...arguments);this.descending=!1}render(){return u`<svg id="up" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg> <svg id="down" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUISymbolSortElement.styles=[d`:host{position:relative;display:inline-block;width:.8em;height:1em;vertical-align:middle;pointer-events:none}svg{position:absolute;left:0;top:50%;width:.8em;fill:currentColor;transform-origin:50% 50%;transition:transform 120ms ease-in-out,opacity 120ms,margin-top 240ms;opacity:0;margin-top:-.5em}#up{transform:rotate(180deg);margin-top:-.7em}#down{margin-top:-.3em}:host([active]) #up{margin-top:calc(-.5em - (.2em * var(--uui-symbol-sort-hover,0)))}:host([active]) #down{margin-top:calc(-.5em + (.2em * var(--uui-symbol-sort-hover,0)))}:host(:hover){--uui-symbol-sort-hover:1}:host(:not([active])) #down,:host(:not([active])) #up{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}:host([active]:not([descending])) #down{opacity:1}:host([active]:not([descending])) #up{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}:host([active][descending]) #up{opacity:1}:host([active][descending]) #down{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}`],Er([l({type:Boolean,reflect:!0})],n.UUISymbolSortElement.prototype,"descending",2),n.UUISymbolSortElement=Er([c("uui-symbol-sort")],n.UUISymbolSortElement);var Il=Object.defineProperty,$l=Object.getOwnPropertyDescriptor,xl=(t,e,r,o)=>{for(var i=o>1?void 0:o?$l(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Il(e,r,i),i};n.UUITableElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return u`<slot></slot>`}},n.UUITableElement.styles=[d`:host{display:table;width:100%;border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe);cursor:default}`],n.UUITableElement=xl([c("uui-table")],n.UUITableElement);var Cl=Object.defineProperty,Pl=Object.getOwnPropertyDescriptor,ut=(t,e,r,o)=>{for(var i=o>1?void 0:o?Pl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Cl(e,r,i),i};n.UUITableCellElement=class extends h{constructor(){super(...arguments);this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(t){super.updated(t),t.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return u`<slot @slotchange="${this._detectOverflow}"></slot>`}},n.UUITableCellElement.styles=[d`:host{display:table-cell;height:var(--uui-size-12,36px);padding:var(--uui-table-cell-padding,var(--uui-size-4,12px) var(--uui-size-5,15px));border-top:1px solid var(--uui-interface-border,#c4c4c4);vertical-align:middle}:host([clip-text]){max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}:host([disable-child-interaction]) ::slotted(*){pointer-events:none}:host([disable-child-interaction])::after{content:'';position:absolute;inset:0}`],ut([l({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],n.UUITableCellElement.prototype,"disableChildInteraction",2),ut([l({type:Boolean,reflect:!0,attribute:"no-padding"})],n.UUITableCellElement.prototype,"noPadding",2),ut([l({type:Boolean,reflect:!0,attribute:"clip-text"})],n.UUITableCellElement.prototype,"clipText",2),n.UUITableCellElement=ut([c("uui-table-cell")],n.UUITableCellElement);var kl=Object.defineProperty,Ol=Object.getOwnPropertyDescriptor,zl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ol(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&kl(e,r,i),i};n.UUITableColumnElement=class extends h{},n.UUITableColumnElement.styles=[d`:host{display:table-column}`],n.UUITableColumnElement=zl([c("uui-table-column")],n.UUITableColumnElement);var Sl=Object.defineProperty,Al=Object.getOwnPropertyDescriptor,Dl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Al(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Sl(e,r,i),i};n.UUITableHeadCellElement=class extends n.UUITableCellElement{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}},n.UUITableHeadCellElement.styles=[...n.UUITableCellElement.styles,d`:host{border-top:none}`],n.UUITableHeadCellElement=Dl([c("uui-table-head-cell")],n.UUITableHeadCellElement);var Ll=Object.defineProperty,Tl=Object.getOwnPropertyDescriptor,Nl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Tl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ll(e,r,i),i};n.UUITableHeadElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return u`<slot></slot>`}},n.UUITableHeadElement.styles=[d`:host{display:table-header-group;font-weight:700}`],n.UUITableHeadElement=Nl([c("uui-table-head")],n.UUITableHeadElement);var Bl=Object.defineProperty,Hl=Object.getOwnPropertyDescriptor,Ir=(t,e,r,o)=>{for(var i=o>1?void 0:o?Hl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Bl(e,r,i),i};n.UUITableRowElement=class extends Ge(Le(h)){connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(t){t.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(t=>{this.elementIsTableCell(t)&&(t.disableChildInteraction=this.selectOnly)})}elementIsTableCell(t){return t instanceof n.UUITableCellElement}render(){return u`<slot @slotchanged="${this.updateChildSelectOnly}"></slot>`}},n.UUITableRowElement.styles=[d`:host{display:table-row;position:relative}:host([selectable]){cursor:pointer}:host([selected]){outline:2px solid var(--uui-interface-select,#3544b1);outline-offset:-3px}`],Ir([W({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],n.UUITableRowElement.prototype,"slotCellNodes",2),n.UUITableRowElement=Ir([c("uui-table-row")],n.UUITableRowElement);var jl=Object.defineProperty,Ml=Object.getOwnPropertyDescriptor,$r=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ml(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&jl(e,r,i),i};n.UUITabElement=class extends Ve(De("",h)){constructor(){super();this.disabled=!1,this.addEventListener("click",this.onHostClick)}onHostClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}render(){return u`<button type="button" ?disabled="${this.disabled}" role="tab">${this.renderLabel()}</button>`}},n.UUITabElement.styles=[d`:host{color:var(--uui-tab-text,var(--uui-interface-contrast,#060606));font-family:inherit}button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--uui-size-2,6px) var(--uui-size-4,12px);border:none;box-sizing:border-box;min-height:32px;font-size:inherit;height:100%;min-width:75px;background:0 0;color:inherit;cursor:pointer;font-family:inherit}:host(:not([active]):not([disabled])) button:hover{color:var(--uui-tab-text-hover,var(--uui-look-primary-surface-hover,#fff))}:host(:not([active]):not([disabled])) button:active{box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}:host([active]) button{color:var(--uui-tab-text-active,var(--uui-look-primary-surface-hover,#fff));cursor:default}:host([disabled]) button{color:var(--uui-interface-contrast-disabled,#73716e);cursor:default}button::before{content:'';position:absolute;height:0;width:calc(100% - 16px);left:auto;right:auto;background-color:var(--uui-interface-active,#f5c1bc);bottom:0;border-radius:3px 3px 0 0;opacity:0;transition:opacity ease-in 120ms,height ease-in 120ms}button:hover::before{background-color:var(--uui-interface-active-hover,#f5c1bc)}:host([active]) button::before{opacity:1;height:4px;transition:opacity 120ms,height ease-out 120ms}:host([disabled]) button::before{background-color:var(--uui-interface-active-disabled,#dbd4d4)}::slotted(uui-icon){margin-bottom:var(--uui-size-2,6px)}`],$r([l({type:Boolean,reflect:!0})],n.UUITabElement.prototype,"disabled",2),n.UUITabElement=$r([c("uui-tab")],n.UUITabElement);var Rl=Object.defineProperty,Fl=Object.getOwnPropertyDescriptor,xr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Rl(e,r,i),i};n.UUITabGroupElement=class extends h{constructor(){super(...arguments);this.tabElements=[],this.onTabActive=t=>{const e=t.currentTarget;this.elementIsTabLike(e)&&(e.active=!0),this.tabElements.filter(o=>o!==e).forEach(o=>{this.elementIsTabLike(o)&&(o.active=!1)})}}setTabArray(){this.tabElements=this.slotNodes?this.slotNodes:[]}onSlotChange(){this.tabElements.forEach(t=>{t.removeEventListener("click",this.onTabActive)}),this.setTabArray(),this.tabElements.forEach(t=>{t.addEventListener("click",this.onTabActive)})}elementIsTabLike(t){return t instanceof n.UUITabElement||"active"in t}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","tablist")}render(){return u`<slot @slotchange="${this.onSlotChange}"></slot>`}},n.UUITabGroupElement.styles=[d`:host{display:flex;flex-wrap:wrap;color:var(--uui-tab-text);background:var(--uui-tab-background,none);height:100%;min-height:48px}::slotted(:not(:last-of-type)){border-right:1px solid var(--uui-tab-divider,none)}`],xr([W({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],n.UUITabGroupElement.prototype,"slotNodes",2),n.UUITabGroupElement=xr([c("uui-tab-group")],n.UUITabGroupElement);class Vl extends x{}class Gl extends x{}var ql=Object.defineProperty,Wl=Object.getOwnPropertyDescriptor,Cr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Wl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ql(e,r,i),i};n.UUITagElement=class extends h{constructor(){super(...arguments);this.look=kt}render(){return u`<slot></slot>`}},n.UUITagElement.styles=[d`:host{display:inline-block;font-size:var(--uui-tag-font-size,var(--uui-type-small-size,12px));font-weight:700;line-height:1;padding:var(--uui-size-space-1,3px) calc(var(--uui-size-space-1,3px) + .5em);border-radius:100px;background-color:var(--uui-interface-surface-alt,#d8d7d9);color:var(--uui-interface-contrast,#060606);user-select:none}slot{display:flex;align-items:center;justify-content:center;margin:2px}:host([look=primary]){background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe)}:host([look=secondary]){background-color:var(--uui-look-secondary-surface,#e2dad4);color:var(--uui-look-secondary-contrast,#1b264f)}:host([look=outline]){background-color:var(--uui-look-outline-surface,transparent);color:var(--uui-look-outline-contrast,#1b264f);border:1px solid var(--uui-look-outline-border,#1b264f)}:host([look=placeholder]){background-color:var(--uui-look-placeholder-surface,transparent);color:var(--uui-look-placeholder-contrast,#1b264f);border:1px dashed var(--uui-look-placeholder-border,#1b264f)}:host([look=positive]){background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe)}:host([look=warning]){background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606)}:host([look=danger]){background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe)}`],Cr([l({reflect:!0})],n.UUITagElement.prototype,"look",2),n.UUITagElement=Cr([c("uui-tag")],n.UUITagElement);class Me extends x{}Me.CHANGE="change",Me.INPUT="input";var Kl=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,O=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Kl(e,r,i),i};n.UUITextareaElement=class extends j(h){constructor(){super();this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}focus(){var t;(t=this._textarea)==null||t.focus()}getFormElement(){return this._textarea}onInput(t){this.value=t.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(){this.pristine=!1,this.dispatchEvent(new Me(Me.CHANGE))}autoUpdateHeight(){const t=this.shadowRoot.host,e=this._textarea,r=t.scrollTop,o=getComputedStyle(t).height;t.style.display="block",t.style.height=o,e.style.height="auto",e.scrollHeight>e.clientHeight&&(e.style.height=e.scrollHeight+"px"),t.style.removeProperty("display"),t.style.removeProperty("height"),t.scrollTop=r}render(){return u`<textarea id="textarea" .value="${this.value}" .name="${this.name}" placeholder="${this.placeholder}" aria-label="${this.label}" .disabled="${this.disabled}" ?readonly="${this.readonly}" @input="${this.onInput}" @change="${this.onChange}">
512
- </textarea>`}},n.UUITextareaElement.formAssociated=!0,n.UUITextareaElement.styles=[d`:host{position:relative}:host([error]) textarea{border:1px solid var(--uui-look-danger-border,#d42054)!important}:host([error]) textarea[disabled]{border:1px solid var(--uui-look-danger-border,#d42054)!important}:host([auto-height]) textarea{resize:none}.label{display:inline-block;margin-bottom:var(--uui-size-1,3px);font-weight:700}textarea[readonly]{border-color:var(--uui-input-border-color-readonly,var(--uui-interface-border-readonly,#dedede))}textarea[disabled]{cursor:not-allowed;background-color:var(--uui-textarea-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-textarea-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-interface-contrast-disabled,#73716e)}textarea{font-family:inherit;box-sizing:border-box;min-width:100%;max-width:100%;font-size:var(--uui-size-5,15px);padding:var(--uui-size-2,6px);border:1px solid var(--uui-textarea-border-color,var(--uui-interface-border,#c4c4c4));border-radius:0;outline:0;min-height:var(--uui-textarea-min-height);max-height:var(--uui-textarea-max-height)}:host(:focus) textarea,:host(:hover) textarea:not([readonly]):not([disabled]) :host(:focus-within) textarea{border-color:var(--uui-textarea-border-color,var(--uui-interface-border-focus,#b3b3b3))}textarea::placeholder{transition:opacity 120ms}:host(:not([readonly])) textarea:focus::placeholder{opacity:0}textarea:focus{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}`],O([l()],n.UUITextareaElement.prototype,"placeholder",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"disabled",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"readonly",2),O([l({type:String})],n.UUITextareaElement.prototype,"name",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"error",2),O([l({type:Number})],n.UUITextareaElement.prototype,"minlength",2),O([l({type:String,attribute:"minlength-message"})],n.UUITextareaElement.prototype,"minlengthMessage",2),O([l({type:Number})],n.UUITextareaElement.prototype,"maxlength",2),O([l({type:String,attribute:"maxlength-message"})],n.UUITextareaElement.prototype,"maxlengthMessage",2),O([C("#textarea")],n.UUITextareaElement.prototype,"_textarea",2),O([l({type:Boolean,attribute:"auto-height",reflect:!0})],n.UUITextareaElement.prototype,"autoHeight",2),O([l({type:String})],n.UUITextareaElement.prototype,"label",2),n.UUITextareaElement=O([c("uui-textarea")],n.UUITextareaElement);class P extends x{}P.OPENING="opening",P.OPENED="opened",P.CLOSING="closing",P.CLOSED="closed";var Xl=Object.defineProperty,Zl=Object.getOwnPropertyDescriptor,Ie=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xl(e,r,i),i};n.UUIToastNotificationElement=class extends h{constructor(){super();this.look=kt,this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._animate=!1,this._open=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",t=>{t.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,t!==null?(this._timer===null?this._timer=new Qo(this._onOpenTimerComplete,t):this._timer.setDuration(t),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):((e=this._timer)==null||e.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(t){t===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),U(this,"uui-button"),U(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new P(P.OPENING)),this._animationTimeout=window.setTimeout(()=>{var t;this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&((t=this._timer)==null||t.start()),this.dispatchEvent(new P(P.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){var t;if(this._open===!1)return;const e=new P(P.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,(t=this._timer)==null||t.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new P(P.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return u`<div id="toast" class="${this._animate?"animate":""}"><div><div id="close"><uui-button .label="${"close"}" .look="${this.look}" @click="${()=>this.open=!1}"><uui-icon name="remove" .fallback="${Yi.strings[0]}"></uui-icon></uui-button></div><slot></slot></div></div>`}},n.UUIToastNotificationElement.styles=[Ke,d`:host{--uui-toast-notification-margin:var(--uui-size-space-2,6px);position:relative;display:block;width:100%;max-width:400px;margin:0 var(--uui-toast-notification-margin);box-sizing:border-box;height:0;pointer-events:none;transition:height var(--uui-toast-notification-animation-duration,480ms) ease-in-out}:host([is-open]){pointer-events:all;transition-timing-function:cubic-bezier(.19,1,.22,1)}#toast{position:relative;display:block;padding:calc(var(--uui-toast-notification-margin) * .5) 0;width:100%;max-width:400px}#toast.animate{position:absolute}#toast>div{position:relative;display:block;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));background-color:var(--uui-interface-surface,#fefefe);padding:var(--uui-size-layout-1,24px);padding-right:var(--uui-size-layout-1,24px);padding-left:var(--uui-size-layout-3,42px);border-radius:calc(var(--uui-border-radius,3px) * 2);opacity:0;transition:opacity var(--uui-toast-notification-animation-duration,480ms)}:host([is-open]) #toast>div{opacity:1}#close{float:right;margin-top:-6px;margin-left:var(--uui-size-space-1,3px);margin-bottom:-4px}#close>uui-button{--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:1.5;--uui-button-padding-right-factor:1.5}:host([look=primary]) #toast>div{background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe)}:host([look=positive]) #toast>div{background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe)}:host([look=warning]) #toast>div{background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606);border-color:var(--uui-look-warning-border,#fad634)}:host([look=danger]) #toast>div{background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe);border-color:var(--uui-look-danger-border,#d42054)}`],Ie([l({reflect:!0})],n.UUIToastNotificationElement.prototype,"look",2),Ie([l({type:Number})],n.UUIToastNotificationElement.prototype,"autoClose",1),Ie([C("#toast")],n.UUIToastNotificationElement.prototype,"_toastEl",2),Ie([g()],n.UUIToastNotificationElement.prototype,"_animate",2),Ie([l({type:Boolean,reflect:!0})],n.UUIToastNotificationElement.prototype,"open",1),n.UUIToastNotificationElement=Ie([c("uui-toast-notification")],n.UUIToastNotificationElement);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,Pr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ql(e,r,i),i};n.UUIToastNotificationContainerElement=class extends h{constructor(){super(...arguments);this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{var t;this._autoClosePause=!0,(t=this._toasts)==null||t.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{var t;this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,(t=this._toasts)==null||t.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=t=>{this.removeToast(t.target)},this._toasts=[],this.onSlotChanged=t=>{const e=[...this._toasts];this._toasts=t.target.assignedElements({flatten:!0}).filter(i=>i.nodeName==="UUI-TOAST-NOTIFICATION"),e.filter(i=>this._toasts.indexOf(i)===-1).forEach(i=>{i.removeEventListener(P.CLOSED,this.onToastClosed),i.removeEventListener("mouseenter",this.pauseAutoClose),i.removeEventListener("mouseleave",this.resumeAutoClose),i.removeEventListener("focus",this.pauseAutoClose),i.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(i=>e.indexOf(i)===-1).forEach(i=>{i.addEventListener(P.CLOSED,this.onToastClosed),i.addEventListener("mouseenter",this.pauseAutoClose),i.addEventListener("mouseleave",this.resumeAutoClose),i.addEventListener("focus",this.pauseAutoClose),i.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(i.autoClose=this._autoClose),this._autoClosePause===!0&&i.pauseAutoClose(),i.open=!0})}}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,(e=this._toasts)==null||e.forEach(r=>r.autoClose=t)}removeToast(t){if(!t)t=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(t)===-1){console.warn("Toast-notification",t,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(t)}closeToast(t){let e=t;e||(e=this._toasts[this._toasts.length-1]),e.open=!1}render(){return u`<slot @slotchange="${this.onSlotChanged}"></slot>`}},n.UUIToastNotificationContainerElement.styles=[d`:host{position:absolute;overflow:hidden;max-width:100%;height:100%;pointer-events:none;box-sizing:border-box}slot{display:flex;flex-direction:column;align-items:end;height:100%;box-sizing:border-box;padding-top:var(--uui-size-space-1,3px);padding-bottom:var(--uui-size-space-1,3px)}:host([bottom-up]) slot{justify-content:end}:host([left-align]) slot{align-items:start}`],Pr([l({type:Number,reflect:!0,attribute:"auto-close"})],n.UUIToastNotificationContainerElement.prototype,"_autoClose",2),n.UUIToastNotificationContainerElement=Pr([c("uui-toast-notification-container")],n.UUIToastNotificationContainerElement);var eu=Object.defineProperty,tu=Object.getOwnPropertyDescriptor,Wt=(t,e,r,o)=>{for(var i=o>1?void 0:o?tu(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&eu(e,r,i),i};n.UUIToastNotificationLayoutElement=class extends h{constructor(){super(...arguments);this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}render(){return u`<div id="message" class="uui-text"><h5 style="${this._headlineSlotHasContent||this.headline&&this.headline!==""?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h5><slot></slot><slot id="actions" name="actions"></slot></div>`}},n.UUIToastNotificationLayoutElement.styles=[Ke,d`#message{margin-bottom:calc(var(--uui-size-space-1,3px) * -1)}#message::after{content:'';display:block;clear:both}#actions{display:block;float:right;margin-top:var(--uui-size-space-4,12px);margin-bottom:calc(var(--uui-size-space-2,6px) * -1)}`],Wt([l({type:String})],n.UUIToastNotificationLayoutElement.prototype,"headline",2),Wt([g()],n.UUIToastNotificationLayoutElement.prototype,"_headlineSlotHasContent",2),n.UUIToastNotificationLayoutElement=Wt([c("uui-toast-notification-layout")],n.UUIToastNotificationLayoutElement);var iu=Object.defineProperty,ru=Object.getOwnPropertyDescriptor,ou=(t,e,r,o)=>{for(var i=o>1?void 0:o?ru(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&iu(e,r,i),i};n.UUIToggleElement=class extends D{constructor(){super("switch")}renderCheckbox(){return u`<div id="slider"><div id="icon-check">${Ot}</div><div id="icon-wrong">${Xi}</div></div>`}},n.UUIToggleElement.formAssociated=!0,n.UUIToggleElement.styles=[...D.styles,Xe,d`:host{--uui-toggle-size:18px;--uui-toggle-switch-width:calc(2 * var(--uui-toggle-size))}#slider{position:relative;grid-area:'input';display:flex;align-items:center;width:var(--uui-toggle-switch-width);height:var(--uui-toggle-size);border-radius:100px;background-color:var(--uui-toggle-background-color,var(--uui-interface-surface-alt,#d8d7d9));border:1px solid var(--uui-toggle-border-color,var(--uui-interface-border,#c4c4c4));font-size:calc(var(--uui-toggle-size) * .6)}label:hover input:not([disabled])~#slider{border-color:var(--uui-toggle-border-color-hover,var(--uui-interface-border-hover,#b3b3b3));background-color:var(--uui-toggle-background-color-hover,var(--uui-interface-surface-alt-hover,#c8c8c8))}label:focus #slider{border-color:var(--uui-toggle-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));background-color:var(--uui-toggle-background-color-focus,var(--uui-interface-surface-alt-focus,#d8d7d9))}input:checked~#slider{background-color:var(--uui-interface-select,#3544b1)}label:hover input:checked:not([disabled])~#slider{background-color:var(--uui-interface-select-hover,#4656c8)}label:focus input:checked~#slider{background-color:var(--uui-interface-select-focus,#3544b1)}#icon-check,#icon-wrong{position:absolute;vertical-align:middle;width:1em;height:1em;line-height:0;transition:fill 120ms}#icon-check{margin-left:-.5em;left:calc(var(--uui-toggle-size) * .5);fill:var(--uui-interface-contrast,#060606)}#icon-wrong{margin-right:-.5em;right:calc(var(--uui-toggle-size) * .5);fill:var(--uui-interface-contrast,#060606)}input:checked~#slider #icon-check{fill:var(--uui-interface-select-contrast,#fefefe)}#slider::after{content:'';position:absolute;top:2px;left:2px;width:calc(var(--uui-toggle-size) - 4px);height:calc(var(--uui-toggle-size) - 4px);border-radius:100px;background-color:var(--uui-interface-select-contrast,#fefefe);transition:width 120ms ease,left 120ms ease,transform 120ms ease,background-color 120ms}input:checked~#slider::after{left:calc(100% - 2px);transform:translateX(-100%)}input:focus~#slider{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:not([disabled])) label:active #slider::after{width:calc(1.06 * var(--uui-toggle-size))}:host([disabled]) #slider{background-color:var(--uui-interface-surface-alt-disabled,#ccc)}:host([disabled]) input:checked~#slider{background-color:var(--uui-interface-select-disabled,#575757)}:host([disabled]) #slider::after{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #slider #icon-wrong{fill:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) label:active #slider{animation:${Ze}}:host([disabled]) input:checked #slider #icon-check{fill:var(--uui-interface-select-contrast-disabled,#e4e4e4)}:host(:not([pristine]):invalid) #slider,:host(:not([pristine]):invalid) label:hover #slider,:host(:not([pristine])[internals-invalid]) #slider,:host(:not([pristine])[internals-invalid]) label:hover #slider{border:1px solid var(--uui-look-danger-border,#d42054)}`],n.UUIToggleElement=ou([c("uui-toggle")],n.UUIToggleElement),n.UUIBooleanInputElement=D,n.UUIBooleanInputEvent=qe,n.UUIButtonInlineCreateEvent=Je,n.UUICardEvent=me,n.UUIComboboxEvent=A,n.UUIComboboxListEvent=X,n.UUIIconHost=Nt,n.UUIIconRegistry=Bt,n.UUIIconRegistryEssential=cr,n.UUIIconRequestEvent=_e,n.UUIInputEvent=ee,n.UUIMenuItemEvent=M,n.UUIPaginationEvent=V,n.UUIRadioEvent=we,n.UUIRadioGroupEvent=st,n.UUIRefEvent=Ee,n.UUISelectEvent=lt,n.UUISliderEvent=ie,n.UUITabEvent=Vl,n.UUITabGroupEvent=Gl,n.UUITextStyles=Ke,n.UUITextareaEvent=Me,n.UUIToastNotificationEvent=P,Object.defineProperty(n,"__esModule",{value:!0})});
515
+ `],k([l({type:Boolean,attribute:"hide-step-values"})],n.UUISliderElement.prototype,"hideStepValues",2),k([l({type:Number})],n.UUISliderElement.prototype,"min",2),k([l({type:Number})],n.UUISliderElement.prototype,"max",2),k([l({type:Number})],n.UUISliderElement.prototype,"step",2),k([l({type:String})],n.UUISliderElement.prototype,"value",1),k([l({type:Boolean,reflect:!0})],n.UUISliderElement.prototype,"disabled",2),k([l({type:String})],n.UUISliderElement.prototype,"label",2),k([C("#input")],n.UUISliderElement.prototype,"_input",2),k([C("#track")],n.UUISliderElement.prototype,"_track",2),k([g()],n.UUISliderElement.prototype,"_stepWidth",2),k([g()],n.UUISliderElement.prototype,"_steps",2),k([g()],n.UUISliderElement.prototype,"_sliderPosition",2),n.UUISliderElement=k([c("uui-slider")],n.UUISliderElement);var fl=Object.defineProperty,ml=Object.getOwnPropertyDescriptor,$r=(t,e,r,o)=>{for(var i=o>1?void 0:o?ml(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&fl(e,r,i),i};n.UUISymbolExpandElement=class extends h{constructor(){super(...arguments);this.open=!1}render(){return u`<svg viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUISymbolExpandElement.styles=[d`:host{display:inline-block;width:12px;vertical-align:middle}svg{fill:currentColor;transform:rotate(-90deg);transform-origin:50% 50%;transition:transform 120ms ease-in-out}:host([open]) svg{transform:rotate(0)}`],$r([l({type:Boolean,reflect:!0})],n.UUISymbolExpandElement.prototype,"open",2),n.UUISymbolExpandElement=$r([c("uui-symbol-expand")],n.UUISymbolExpandElement);var gl=Object.defineProperty,_l=Object.getOwnPropertyDescriptor,Ir=(t,e,r,o)=>{for(var i=o>1?void 0:o?_l(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&gl(e,r,i),i};n.UUISymbolFileElement=class extends h{constructor(){super(...arguments);this.type=""}render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="100%" id="icon"><path d="M396.441 138.878l-83.997-83.993-7.331-7.333H105.702v416.701h298.071V146.214l-7.332-7.336zM130.74 439.217V72.591h141.613c37.201 0 19.274 88.18 19.274 88.18s86-20.901 87.104 18.534v259.912H130.74z"/></svg> ${this.type?u`<span id="file-type">${this.type.toUpperCase()}</span>`:""}`}},n.UUISymbolFileElement.styles=[d`:host{position:relative;display:block}#file-type{position:absolute;bottom:24%;left:25.5%;margin-left:calc(var(--uui-size-3,9px) * -1);padding:0 var(--uui-size-3,9px);font-weight:700;color:var(--uui-color-gunmetal,#162335);background-color:var(--uui-color-spanish-pink,#f5c1bc);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#icon{fill:var(--uui-interface-border,#c4c4c4)}`],Ir([l({type:String})],n.UUISymbolFileElement.prototype,"type",2),n.UUISymbolFileElement=Ir([c("uui-symbol-file")],n.UUISymbolFileElement);var yl=Object.defineProperty,Ul=Object.getOwnPropertyDescriptor,xr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ul(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&yl(e,r,i),i};n.UUISymbolFileDropzoneElement=class extends h{constructor(){super(...arguments);this.error=!1}render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="upload-icon"><path d="${this.error?"M254.501 38.16c-120.308 0-217.838 97.53-217.838 217.838 0 120.31 97.53 217.838 217.838 217.838 120.31 0 217.838-97.528 217.838-217.838 0-120.308-97.528-217.838-217.838-217.838zm151.667 217.838c0 29.861-8.711 57.708-23.671 81.209L173.293 128.002c23.499-14.961 51.345-23.67 81.208-23.67 83.629.001 151.667 68.037 151.667 151.666zm-303.332 0c0-29.859 8.71-57.707 23.67-81.204l209.201 209.201c-23.498 14.96-51.346 23.671-81.206 23.671-83.632 0-151.665-68.04-151.665-151.668z":"M206.491 364.184h99.013V223.676h92.922L255.997 51.111 113.575 223.676h92.916zM85.043 398.311h341.912v62.578H85.043z"}"/></svg>`}},n.UUISymbolFileDropzoneElement.styles=[d`:host{display:flex;flex-direction:column;align-items:center;justify-content:center}#upload-icon{fill:var(--uui-color-primary,#3544b1);width:100px;transition:fill .3s ease;position:relative;z-index:2}:host([error]) #upload-icon{fill:var(--uui-color-danger,#d42054)}`],xr([l({type:Boolean,reflect:!0})],n.UUISymbolFileDropzoneElement.prototype,"error",2),n.UUISymbolFileDropzoneElement=xr([c("uui-symbol-file-dropzone")],n.UUISymbolFileDropzoneElement);var wl=Object.defineProperty,El=Object.getOwnPropertyDescriptor,Xt=(t,e,r,o)=>{for(var i=o>1?void 0:o?El(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&wl(e,r,i),i};n.UUISymbolFileThumbnailElement=class extends h{constructor(){super(...arguments);this.src="",this.alt=""}connectedCallback(){super.connectedCallback(),U(this,"uui-icon")}render(){return this.src?u`<img src="${this.src}" alt="${this.alt}">`:u`<uui-icon name="picture" .fallback="${an.strings[0]}"></uui-icon>`}},n.UUISymbolFileThumbnailElement.styles=[d`:host{display:block;width:100%;height:100%}img{object-fit:contain;height:100%;width:100%}uui-icon{width:100%;height:100%;max-width:100%;display:flex;max-height:100%;justify-content:center;color:var(--uui-color-white,#fefefe);background:var(--uui-color-white-dimmed,#e4e4e4)}`],Xt([l({type:String})],n.UUISymbolFileThumbnailElement.prototype,"src",2),Xt([l({type:String})],n.UUISymbolFileThumbnailElement.prototype,"alt",2),n.UUISymbolFileThumbnailElement=Xt([c("uui-symbol-file-thumbnail")],n.UUISymbolFileThumbnailElement);var $l=Object.defineProperty,Il=Object.getOwnPropertyDescriptor,xl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Il(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&$l(e,r,i),i};n.UUISymbolFolderElement=class extends h{render(){return u`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="100%" id="icon"><path d="M450.962 169.833v-19.248c0-23.398-19.035-42.436-42.434-42.436H257.306c-5.885-16.926-21.99-29.1-40.885-29.1h-89.758c-20.545 0-37.795 14.391-42.191 33.623-13.891 7.016-23.486 21.45-23.486 37.912V169.897c-7.148 7.774-11.443 18.122-11.443 29.287v.956l.062.953c.045.704 4.639 70.713 5.469 95.492l3.137 93.62c.033 6.024.682 14.788 5.271 23.301 6.564 12.175 19.002 19.442 33.273 19.442h318.49c14.273 0 26.713-7.268 33.275-19.445 4.588-8.512 5.236-17.275 5.271-23.298l3.135-93.62c.832-24.782 5.424-94.788 5.471-95.492l.061-.953v-.956c0-11.203-4.314-21.574-11.496-29.351zM90.093 150.585c0-7.281 5.84-13.189 13.09-13.318h-.125c5.324 0 9.441-9.694 9.441-13.382l-.006-1.562c0-7.824 6.344-14.168 14.17-14.168h89.758c7.826 0 14.166 6.344 14.166 14.168v1.562c0 3.663 4.062 13.239 9.332 13.37h168.609c7.363 0 13.328 5.969 13.328 13.33v9.201H90.093v-9.201zm337.744 145.028c-.854 25.538-3.15 94.062-3.15 94.062 0 7.825-1.617 14.171-9.441 14.171H96.755c-7.822 0-9.439-6.346-9.439-14.171l-3.152-94.062c-.855-25.538-5.516-96.428-5.516-96.428 0-6.893 4.926-12.631 11.445-13.9l331.764-.009c6.547 1.251 11.494 6.998 11.494 13.909 0 .001-4.657 70.89-5.514 96.428z"/></svg>`}},n.UUISymbolFolderElement.styles=[d`:host{display:block;box-sizing:border-box;position:relative;max-width:100px}#icon{fill:var(--uui-interface-border,#d3d3d3)}`],n.UUISymbolFolderElement=xl([c("uui-symbol-folder")],n.UUISymbolFolderElement);var Cl=Object.defineProperty,Pl=Object.getOwnPropertyDescriptor,Cr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Pl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Cl(e,r,i),i};n.UUISymbolLockElement=class extends h{constructor(){super(...arguments);this.open=!1}render(){return m`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">${this.open===!0?m`<path d="M457.915 242.222H269.053l-.004-78.416c0-33.277-12.63-63.824-33.538-86.175-20.82-22.357-50.579-36.756-83.391-36.731-32.814-.024-62.57 14.375-83.391 36.731-20.915 22.351-33.541 52.897-33.547 86.175v103.859H96.19v-13.476l-35.656-35.656H96.19v-54.728c0-17.765 6.717-33.406 17.084-44.502 10.463-11.09 23.927-17.37 38.845-17.394 14.916.024 28.375 6.304 38.837 17.394 10.375 11.096 17.092 26.738 17.087 44.502v78.416h-26.189c-9.159 0-16.582 7.426-16.582 16.585v194.53c0 9.158 7.423 16.583 16.582 16.583h276.06c9.164 0 16.587-7.425 16.587-16.583v-194.53c.001-9.159-7.422-16.584-16.586-16.584z"></path>`:m`<path d="M404.84 246.573h-22.084l-.002-73.603c0-36.675-13.921-70.311-36.917-94.892-22.91-24.584-55.547-40.367-91.539-40.336-36.003-.031-68.643 15.752-91.55 40.336-23.001 24.582-36.918 58.217-36.925 94.892v73.603h-22.082c-9.16 0-16.585 7.421-16.585 16.583v194.531c0 9.158 7.425 16.585 16.585 16.585H404.84c9.162 0 16.586-7.427 16.586-16.585V263.156c0-9.161-7.424-16.583-16.586-16.583zm-218.013-73.602c0-21.167 8.012-39.893 20.468-53.219 12.552-13.316 28.896-20.982 47.003-21.007 18.095.025 34.438 7.685 46.987 21.007 12.455 13.326 20.467 32.052 20.467 53.219v73.603H186.827v-73.603z"></path>`}</svg>`}},n.UUISymbolLockElement.styles=[d`:host{display:inline-block;vertical-align:middle;width:1em}svg{fill:currentColor}`],Cr([l({type:Boolean,reflect:!0})],n.UUISymbolLockElement.prototype,"open",2),n.UUISymbolLockElement=Cr([c("uui-symbol-lock")],n.UUISymbolLockElement);var kl=Object.defineProperty,Ol=Object.getOwnPropertyDescriptor,zl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ol(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&kl(e,r,i),i};n.UUISymbolMoreElement=class extends h{render(){return u`•••`}},n.UUISymbolMoreElement.styles=[d`:host{display:inline-block;font-size:.8em;vertical-align:top;margin-top:.27em;line-height:1em;user-select:none}`],n.UUISymbolMoreElement=zl([c("uui-symbol-more")],n.UUISymbolMoreElement);var Sl=Object.defineProperty,Al=Object.getOwnPropertyDescriptor,Pr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Al(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Sl(e,r,i),i};n.UUISymbolSortElement=class extends Ge(h){constructor(){super(...arguments);this.descending=!1}render(){return u`<svg id="up" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg> <svg id="down" viewBox="0 0 512 512"><path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path></svg>`}},n.UUISymbolSortElement.styles=[d`:host{position:relative;display:inline-block;width:.8em;height:1em;vertical-align:middle;pointer-events:none}svg{position:absolute;left:0;top:50%;width:.8em;fill:currentColor;transform-origin:50% 50%;transition:transform 120ms ease-in-out,opacity 120ms,margin-top 240ms;opacity:0;margin-top:-.5em}#up{transform:rotate(180deg);margin-top:-.7em}#down{margin-top:-.3em}:host([active]) #up{margin-top:calc(-.5em - (.2em * var(--uui-symbol-sort-hover,0)))}:host([active]) #down{margin-top:calc(-.5em + (.2em * var(--uui-symbol-sort-hover,0)))}:host(:hover){--uui-symbol-sort-hover:1}:host(:not([active])) #down,:host(:not([active])) #up{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}:host([active]:not([descending])) #down{opacity:1}:host([active]:not([descending])) #up{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}:host([active][descending]) #up{opacity:1}:host([active][descending]) #down{opacity:calc(.25 * var(--uui-symbol-sort-hover,0))}`],Pr([l({type:Boolean,reflect:!0})],n.UUISymbolSortElement.prototype,"descending",2),n.UUISymbolSortElement=Pr([c("uui-symbol-sort")],n.UUISymbolSortElement);var Dl=Object.defineProperty,Ll=Object.getOwnPropertyDescriptor,Tl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Ll(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Dl(e,r,i),i};n.UUITableElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}render(){return u`<slot></slot>`}},n.UUITableElement.styles=[d`:host{display:table;width:100%;border-radius:var(--uui-border-radius,3px);background-color:var(--uui-interface-surface,#fefefe);cursor:default}`],n.UUITableElement=Tl([c("uui-table")],n.UUITableElement);var Nl=Object.defineProperty,Bl=Object.getOwnPropertyDescriptor,vt=(t,e,r,o)=>{for(var i=o>1?void 0:o?Bl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Nl(e,r,i),i};n.UUITableCellElement=class extends h{constructor(){super(...arguments);this.disableChildInteraction=!1,this.noPadding=!1,this.clipText=!1,this._observer=new ResizeObserver(()=>{this._detectOverflow()})}_detectOverflow(){this.scrollWidth>this.clientWidth?this.setAttribute("title",this.innerText):this.removeAttribute("title")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}disconnectedCallback(){super.disconnectedCallback(),this._observer.disconnect()}updated(t){super.updated(t),t.has("clipText")&&(this.clipText?(this._detectOverflow(),this._observer.observe(this)):this._observer.disconnect())}render(){return u`<slot @slotchange="${this._detectOverflow}"></slot>`}},n.UUITableCellElement.styles=[d`:host{display:table-cell;height:var(--uui-size-12,36px);padding:var(--uui-table-cell-padding,var(--uui-size-4,12px) var(--uui-size-5,15px));border-top:1px solid var(--uui-interface-border,#c4c4c4);vertical-align:middle}:host([clip-text]){max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}:host([disable-child-interaction]) ::slotted(*){pointer-events:none}:host([disable-child-interaction])::after{content:'';position:absolute;inset:0}`],vt([l({type:Boolean,reflect:!0,attribute:"disable-child-interaction"})],n.UUITableCellElement.prototype,"disableChildInteraction",2),vt([l({type:Boolean,reflect:!0,attribute:"no-padding"})],n.UUITableCellElement.prototype,"noPadding",2),vt([l({type:Boolean,reflect:!0,attribute:"clip-text"})],n.UUITableCellElement.prototype,"clipText",2),n.UUITableCellElement=vt([c("uui-table-cell")],n.UUITableCellElement);var Hl=Object.defineProperty,jl=Object.getOwnPropertyDescriptor,Ml=(t,e,r,o)=>{for(var i=o>1?void 0:o?jl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Hl(e,r,i),i};n.UUITableColumnElement=class extends h{},n.UUITableColumnElement.styles=[d`:host{display:table-column}`],n.UUITableColumnElement=Ml([c("uui-table-column")],n.UUITableColumnElement);var Rl=Object.defineProperty,Fl=Object.getOwnPropertyDescriptor,Vl=(t,e,r,o)=>{for(var i=o>1?void 0:o?Fl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Rl(e,r,i),i};n.UUITableHeadCellElement=class extends n.UUITableCellElement{connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}},n.UUITableHeadCellElement.styles=[...n.UUITableCellElement.styles,d`:host{border-top:none}`],n.UUITableHeadCellElement=Vl([c("uui-table-head-cell")],n.UUITableHeadCellElement);var Gl=Object.defineProperty,ql=Object.getOwnPropertyDescriptor,Wl=(t,e,r,o)=>{for(var i=o>1?void 0:o?ql(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Gl(e,r,i),i};n.UUITableHeadElement=class extends h{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return u`<slot></slot>`}},n.UUITableHeadElement.styles=[d`:host{display:table-header-group;font-weight:700}`],n.UUITableHeadElement=Wl([c("uui-table-head")],n.UUITableHeadElement);var Kl=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,kr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Yl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Kl(e,r,i),i};n.UUITableRowElement=class extends qe(Le(h)){connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}updated(t){t.has("selectOnly")&&this.updateChildSelectOnly()}updateChildSelectOnly(){this.slotCellNodes&&this.slotCellNodes.forEach(t=>{this.elementIsTableCell(t)&&(t.disableChildInteraction=this.selectOnly)})}elementIsTableCell(t){return t instanceof n.UUITableCellElement}render(){return u`<slot @slotchanged="${this.updateChildSelectOnly}"></slot>`}},n.UUITableRowElement.styles=[d`:host{display:table-row;position:relative}:host([selectable]){cursor:pointer}:host([selected]){outline:2px solid var(--uui-interface-select,#3544b1);outline-offset:-3px}`],kr([W({flatten:!0,selector:"uui-table-cell, [uui-table-cell], [role=cell]"})],n.UUITableRowElement.prototype,"slotCellNodes",2),n.UUITableRowElement=kr([c("uui-table-row")],n.UUITableRowElement);var Xl=Object.defineProperty,Zl=Object.getOwnPropertyDescriptor,Or=(t,e,r,o)=>{for(var i=o>1?void 0:o?Zl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Xl(e,r,i),i};n.UUITabElement=class extends Ge(De("",h)){constructor(){super();this.disabled=!1,this.addEventListener("click",this.onHostClick)}onHostClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}render(){return u`<button type="button" ?disabled="${this.disabled}" role="tab">${this.renderLabel()}</button>`}},n.UUITabElement.styles=[d`:host{color:var(--uui-tab-text,var(--uui-interface-contrast,#060606));font-family:inherit}button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--uui-size-2,6px) var(--uui-size-4,12px);border:none;box-sizing:border-box;min-height:32px;font-size:inherit;height:100%;min-width:75px;background:0 0;color:inherit;cursor:pointer;font-family:inherit}:host(:not([active]):not([disabled])) button:hover{color:var(--uui-tab-text-hover,var(--uui-look-primary-surface-hover,#fff))}:host(:not([active]):not([disabled])) button:active{box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}:host([active]) button{color:var(--uui-tab-text-active,var(--uui-look-primary-surface-hover,#fff));cursor:default}:host([disabled]) button{color:var(--uui-interface-contrast-disabled,#73716e);cursor:default}button::before{content:'';position:absolute;height:0;width:calc(100% - 16px);left:auto;right:auto;background-color:var(--uui-interface-active,#f5c1bc);bottom:0;border-radius:3px 3px 0 0;opacity:0;transition:opacity ease-in 120ms,height ease-in 120ms}button:hover::before{background-color:var(--uui-interface-active-hover,#f5c1bc)}:host([active]) button::before{opacity:1;height:4px;transition:opacity 120ms,height ease-out 120ms}:host([disabled]) button::before{background-color:var(--uui-interface-active-disabled,#dbd4d4)}::slotted(uui-icon){margin-bottom:var(--uui-size-2,6px)}`],Or([l({type:Boolean,reflect:!0})],n.UUITabElement.prototype,"disabled",2),n.UUITabElement=Or([c("uui-tab")],n.UUITabElement);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,zr=(t,e,r,o)=>{for(var i=o>1?void 0:o?Jl(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&Ql(e,r,i),i};n.UUITabGroupElement=class extends h{constructor(){super(...arguments);this.tabElements=[],this.onTabActive=t=>{const e=t.currentTarget;this.elementIsTabLike(e)&&(e.active=!0),this.tabElements.filter(o=>o!==e).forEach(o=>{this.elementIsTabLike(o)&&(o.active=!1)})}}setTabArray(){this.tabElements=this.slotNodes?this.slotNodes:[]}onSlotChange(){this.tabElements.forEach(t=>{t.removeEventListener("click",this.onTabActive)}),this.setTabArray(),this.tabElements.forEach(t=>{t.addEventListener("click",this.onTabActive)})}elementIsTabLike(t){return t instanceof n.UUITabElement||"active"in t}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","tablist")}render(){return u`<slot @slotchange="${this.onSlotChange}"></slot>`}},n.UUITabGroupElement.styles=[d`:host{display:flex;flex-wrap:wrap;color:var(--uui-tab-text);background:var(--uui-tab-background,none);height:100%;min-height:48px}::slotted(:not(:last-of-type)){border-right:1px solid var(--uui-tab-divider,none)}`],zr([W({flatten:!0,selector:"uui-tab, [uui-tab], [role=tab]"})],n.UUITabGroupElement.prototype,"slotNodes",2),n.UUITabGroupElement=zr([c("uui-tab-group")],n.UUITabGroupElement);class eu extends x{}class tu extends x{}var iu=Object.defineProperty,ru=Object.getOwnPropertyDescriptor,Sr=(t,e,r,o)=>{for(var i=o>1?void 0:o?ru(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&iu(e,r,i),i};n.UUITagElement=class extends h{constructor(){super(...arguments);this.look=zt}render(){return u`<slot></slot>`}},n.UUITagElement.styles=[d`:host{display:inline-block;font-size:var(--uui-tag-font-size,var(--uui-type-small-size,12px));font-weight:700;line-height:1;padding:var(--uui-size-space-1,3px) calc(var(--uui-size-space-1,3px) + .5em);border-radius:100px;background-color:var(--uui-interface-surface-alt,#d8d7d9);color:var(--uui-interface-contrast,#060606);user-select:none}slot{display:flex;align-items:center;justify-content:center;margin:2px}:host([look=primary]){background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe)}:host([look=secondary]){background-color:var(--uui-look-secondary-surface,#e2dad4);color:var(--uui-look-secondary-contrast,#1b264f)}:host([look=outline]){background-color:var(--uui-look-outline-surface,transparent);color:var(--uui-look-outline-contrast,#1b264f);border:1px solid var(--uui-look-outline-border,#1b264f)}:host([look=placeholder]){background-color:var(--uui-look-placeholder-surface,transparent);color:var(--uui-look-placeholder-contrast,#1b264f);border:1px dashed var(--uui-look-placeholder-border,#1b264f)}:host([look=positive]){background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe)}:host([look=warning]){background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606)}:host([look=danger]){background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe)}`],Sr([l({reflect:!0})],n.UUITagElement.prototype,"look",2),n.UUITagElement=Sr([c("uui-tag")],n.UUITagElement);class Re extends x{}Re.CHANGE="change",Re.INPUT="input";var ou=Object.defineProperty,nu=Object.getOwnPropertyDescriptor,O=(t,e,r,o)=>{for(var i=o>1?void 0:o?nu(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&ou(e,r,i),i};n.UUITextareaElement=class extends j(h){constructor(){super();this.placeholder="",this.disabled=!1,this.readonly=!1,this.name="",this.error=!1,this.minlengthMessage="This field need more characters",this.maxlengthMessage="This field exceeds the allowed amount of characters",this.autoHeight=!1,this.addEventListener("mousedown",()=>{this.style.setProperty("--uui-show-focus-outline","0")}),this.addEventListener("blur",()=>{this.style.setProperty("--uui-show-focus-outline","")}),this.addValidator("tooShort",()=>this.minlengthMessage,()=>!!this.minlength&&this._value.length<this.minlength),this.addValidator("tooLong",()=>this.maxlengthMessage,()=>!!this.maxlength&&this._value.length>this.maxlength)}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`",this)}focus(){var t;(t=this._textarea)==null||t.focus()}getFormElement(){return this._textarea}onInput(t){this.value=t.target.value,this.autoHeight&&this.autoUpdateHeight()}onChange(){this.pristine=!1,this.dispatchEvent(new Re(Re.CHANGE))}autoUpdateHeight(){const t=this.shadowRoot.host,e=this._textarea,r=t.scrollTop,o=getComputedStyle(t).height;t.style.display="block",t.style.height=o,e.style.height="auto",e.scrollHeight>e.clientHeight&&(e.style.height=e.scrollHeight+"px"),t.style.removeProperty("display"),t.style.removeProperty("height"),t.scrollTop=r}render(){return u`<textarea id="textarea" .value="${this.value}" .name="${this.name}" placeholder="${this.placeholder}" aria-label="${this.label}" .disabled="${this.disabled}" ?readonly="${this.readonly}" @input="${this.onInput}" @change="${this.onChange}">
516
+ </textarea>`}},n.UUITextareaElement.formAssociated=!0,n.UUITextareaElement.styles=[d`:host{position:relative}:host([error]) textarea{border:1px solid var(--uui-look-danger-border,#d42054)!important}:host([error]) textarea[disabled]{border:1px solid var(--uui-look-danger-border,#d42054)!important}:host([auto-height]) textarea{resize:none}.label{display:inline-block;margin-bottom:var(--uui-size-1,3px);font-weight:700}textarea[readonly]{border-color:var(--uui-input-border-color-readonly,var(--uui-interface-border-readonly,#dedede))}textarea[disabled]{cursor:not-allowed;background-color:var(--uui-textarea-background-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));border-color:var(--uui-textarea-border-color-disabled,var(--uui-interface-surface-disabled,#e4e4e4));color:var(--uui-interface-contrast-disabled,#73716e)}textarea{font-family:inherit;box-sizing:border-box;min-width:100%;max-width:100%;font-size:var(--uui-size-5,15px);padding:var(--uui-size-2,6px);border:1px solid var(--uui-textarea-border-color,var(--uui-interface-border,#c4c4c4));border-radius:0;outline:0;min-height:var(--uui-textarea-min-height);max-height:var(--uui-textarea-max-height)}:host(:focus) textarea,:host(:hover) textarea:not([readonly]):not([disabled]) :host(:focus-within) textarea{border-color:var(--uui-textarea-border-color,var(--uui-interface-border-focus,#b3b3b3))}textarea::placeholder{transition:opacity 120ms}:host(:not([readonly])) textarea:focus::placeholder{opacity:0}textarea:focus{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}`],O([l()],n.UUITextareaElement.prototype,"placeholder",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"disabled",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"readonly",2),O([l({type:String})],n.UUITextareaElement.prototype,"name",2),O([l({type:Boolean,reflect:!0})],n.UUITextareaElement.prototype,"error",2),O([l({type:Number})],n.UUITextareaElement.prototype,"minlength",2),O([l({type:String,attribute:"minlength-message"})],n.UUITextareaElement.prototype,"minlengthMessage",2),O([l({type:Number})],n.UUITextareaElement.prototype,"maxlength",2),O([l({type:String,attribute:"maxlength-message"})],n.UUITextareaElement.prototype,"maxlengthMessage",2),O([C("#textarea")],n.UUITextareaElement.prototype,"_textarea",2),O([l({type:Boolean,attribute:"auto-height",reflect:!0})],n.UUITextareaElement.prototype,"autoHeight",2),O([l({type:String})],n.UUITextareaElement.prototype,"label",2),n.UUITextareaElement=O([c("uui-textarea")],n.UUITextareaElement);class P extends x{}P.OPENING="opening",P.OPENED="opened",P.CLOSING="closing",P.CLOSED="closed";var su=Object.defineProperty,au=Object.getOwnPropertyDescriptor,$e=(t,e,r,o)=>{for(var i=o>1?void 0:o?au(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&su(e,r,i),i};n.UUIToastNotificationElement=class extends h{constructor(){super();this.look=zt,this._autoClose=null,this._onOpenTimerComplete=()=>{this._open&&(this.open=!1)},this._timer=null,this._pauseTimer=!1,this.isOpen=!1,this._animate=!1,this._open=!1,this._requestAnimationUpdate=0,this.addEventListener("keyup",t=>{t.key==="Escape"&&(this.open=!1)})}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,t!==null?(this._timer===null?this._timer=new on(this._onOpenTimerComplete,t):this._timer.setDuration(t),this._pauseTimer===!1&&this.isOpen===!0&&this._animate===!1&&this._timer.start()):((e=this._timer)==null||e.destroy(),this._timer=null)}pauseAutoClose(){this._pauseTimer=!0,this._timer!==null&&this._timer.pause()}resumeAutoClose(){this._pauseTimer=!1,this._timer!==null&&this.isOpen===!0&&this._animate===!1&&this._timer.restart()}get open(){return this._open}set open(t){t===!0?this._makeOpen():this._makeClose()}connectedCallback(){super.connectedCallback(),U(this,"uui-button"),U(this,"uui-icon")}_getAnimationDuration(){return parseInt(getComputedStyle(this).getPropertyValue("--uui-toast-notification-animation-duration"),10)||480}_makeOpen(){this._open!==!0&&(this._open=!0,this.updateComplete.then(()=>{this._open===!0&&(cancelAnimationFrame(this._requestAnimationUpdate),this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!0,this.setAttribute("is-open",""),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,this.dispatchEvent(new P(P.OPENING)),this._animationTimeout=window.setTimeout(()=>{var t;this.isOpen===!0&&(this.style.height="auto",this._animate=!1,this._pauseTimer===!1&&((t=this._timer)==null||t.start()),this.dispatchEvent(new P(P.OPENED)))},this._getAnimationDuration())}))}))}_makeClose(){var t;if(this._open===!1)return;const e=new P(P.CLOSING,{cancelable:!0});this.dispatchEvent(e),e.defaultPrevented!==!0&&(this._open=!1,(t=this._timer)==null||t.pause(),cancelAnimationFrame(this._requestAnimationUpdate),this.isOpen===!0&&(this._requestAnimationUpdate=requestAnimationFrame(()=>{clearTimeout(this._animationTimeout),this.isOpen=!1,this.removeAttribute("is-open"),this.style.height=this._toastEl.getBoundingClientRect().height+"px",this._animate=!0,requestAnimationFrame(()=>{this.style.height="0"}),this._animationTimeout=window.setTimeout(()=>{this.isOpen===!1&&(this._animate=!1,this.dispatchEvent(new P(P.CLOSED)),this.parentNode&&this.parentNode.removeChild(this))},this._getAnimationDuration())})))}render(){return u`<div id="toast" class="${this._animate?"animate":""}"><div><div id="close"><uui-button .label="${"close"}" .look="${this.look}" @click="${()=>this.open=!1}"><uui-icon name="remove" .fallback="${Ji.strings[0]}"></uui-icon></uui-button></div><slot></slot></div></div>`}},n.UUIToastNotificationElement.styles=[Ye,d`:host{--uui-toast-notification-margin:var(--uui-size-space-2,6px);position:relative;display:block;width:100%;max-width:400px;margin:0 var(--uui-toast-notification-margin);box-sizing:border-box;height:0;pointer-events:none;transition:height var(--uui-toast-notification-animation-duration,480ms) ease-in-out}:host([is-open]){pointer-events:all;transition-timing-function:cubic-bezier(.19,1,.22,1)}#toast{position:relative;display:block;padding:calc(var(--uui-toast-notification-margin) * .5) 0;width:100%;max-width:400px}#toast.animate{position:absolute}#toast>div{position:relative;display:block;box-sizing:border-box;box-shadow:var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,.12) ,0 1px 2px rgba(0,0,0,.24));background-color:var(--uui-interface-surface,#fefefe);padding:var(--uui-size-layout-1,24px);padding-right:var(--uui-size-layout-1,24px);padding-left:var(--uui-size-layout-3,42px);border-radius:calc(var(--uui-border-radius,3px) * 2);opacity:0;transition:opacity var(--uui-toast-notification-animation-duration,480ms)}:host([is-open]) #toast>div{opacity:1}#close{float:right;margin-top:-6px;margin-left:var(--uui-size-space-1,3px);margin-bottom:-4px}#close>uui-button{--uui-button-border-radius:50px 50px 50px 50px;--uui-button-padding-left-factor:1.5;--uui-button-padding-right-factor:1.5}:host([look=primary]) #toast>div{background-color:var(--uui-look-primary-surface,#1b264f);color:var(--uui-look-primary-contrast,#fefefe)}:host([look=positive]) #toast>div{background-color:var(--uui-look-positive-surface,#25aa60);color:var(--uui-look-positive-contrast,#fefefe)}:host([look=warning]) #toast>div{background-color:var(--uui-look-warning-surface,#fad634);color:var(--uui-look-warning-contrast,#060606);border-color:var(--uui-look-warning-border,#fad634)}:host([look=danger]) #toast>div{background-color:var(--uui-look-danger-surface,#d42054);color:var(--uui-look-danger-contrast,#fefefe);border-color:var(--uui-look-danger-border,#d42054)}`],$e([l({reflect:!0})],n.UUIToastNotificationElement.prototype,"look",2),$e([l({type:Number})],n.UUIToastNotificationElement.prototype,"autoClose",1),$e([C("#toast")],n.UUIToastNotificationElement.prototype,"_toastEl",2),$e([g()],n.UUIToastNotificationElement.prototype,"_animate",2),$e([l({type:Boolean,reflect:!0})],n.UUIToastNotificationElement.prototype,"open",1),n.UUIToastNotificationElement=$e([c("uui-toast-notification")],n.UUIToastNotificationElement);var lu=Object.defineProperty,uu=Object.getOwnPropertyDescriptor,Ar=(t,e,r,o)=>{for(var i=o>1?void 0:o?uu(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&lu(e,r,i),i};n.UUIToastNotificationContainerElement=class extends h{constructor(){super(...arguments);this._autoClose=null,this._autoClosePause=!1,this.pauseAutoClose=()=>{var t;this._autoClosePause=!0,(t=this._toasts)==null||t.forEach(e=>e.pauseAutoClose())},this.resumeAutoClose=()=>{var t;this.matches(":focus-within:not(:focus)")===!1&&(this._autoClosePause=!1,(t=this._toasts)==null||t.forEach(e=>e.resumeAutoClose()))},this.onToastClosed=t=>{this.removeToast(t.target)},this._toasts=[],this.onSlotChanged=t=>{const e=[...this._toasts];this._toasts=t.target.assignedElements({flatten:!0}).filter(i=>i.nodeName==="UUI-TOAST-NOTIFICATION"),e.filter(i=>this._toasts.indexOf(i)===-1).forEach(i=>{i.removeEventListener(P.CLOSED,this.onToastClosed),i.removeEventListener("mouseenter",this.pauseAutoClose),i.removeEventListener("mouseleave",this.resumeAutoClose),i.removeEventListener("focus",this.pauseAutoClose),i.removeEventListener("blur",this.resumeAutoClose)}),this._toasts.filter(i=>e.indexOf(i)===-1).forEach(i=>{i.addEventListener(P.CLOSED,this.onToastClosed),i.addEventListener("mouseenter",this.pauseAutoClose),i.addEventListener("mouseleave",this.resumeAutoClose),i.addEventListener("focus",this.pauseAutoClose),i.addEventListener("blur",this.resumeAutoClose),this._autoClose&&(i.autoClose=this._autoClose),this._autoClosePause===!0&&i.pauseAutoClose(),i.open=!0})}}get autoClose(){return this._autoClose}set autoClose(t){var e;this._autoClose=t,(e=this._toasts)==null||e.forEach(r=>r.autoClose=t)}removeToast(t){if(!t)t=this._toasts[this._toasts.length-1];else if(this._toasts.indexOf(t)===-1){console.warn("Toast-notification",t,"could not be removed as it is not a child of this toast-notification-container",this);return}this.removeChild(t)}closeToast(t){let e=t;e||(e=this._toasts[this._toasts.length-1]),e.open=!1}render(){return u`<slot @slotchange="${this.onSlotChanged}"></slot>`}},n.UUIToastNotificationContainerElement.styles=[d`:host{position:absolute;overflow:hidden;max-width:100%;height:100%;pointer-events:none;box-sizing:border-box}slot{display:flex;flex-direction:column;align-items:end;height:100%;box-sizing:border-box;padding-top:var(--uui-size-space-1,3px);padding-bottom:var(--uui-size-space-1,3px)}:host([bottom-up]) slot{justify-content:end}:host([left-align]) slot{align-items:start}`],Ar([l({type:Number,reflect:!0,attribute:"auto-close"})],n.UUIToastNotificationContainerElement.prototype,"_autoClose",2),n.UUIToastNotificationContainerElement=Ar([c("uui-toast-notification-container")],n.UUIToastNotificationContainerElement);var cu=Object.defineProperty,du=Object.getOwnPropertyDescriptor,Zt=(t,e,r,o)=>{for(var i=o>1?void 0:o?du(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&cu(e,r,i),i};n.UUIToastNotificationLayoutElement=class extends h{constructor(){super(...arguments);this.headline="",this._headlineSlotHasContent=!1,this._headlineSlotChanged=t=>{this._headlineSlotHasContent=t.target.assignedNodes({flatten:!0}).length>0}}render(){return u`<div id="message" class="uui-text"><h5 style="${this._headlineSlotHasContent||this.headline&&this.headline!==""?"":"display: none"}">${this.headline}<slot name="headline" @slotchange="${this._headlineSlotChanged}"></slot></h5><slot></slot><slot id="actions" name="actions"></slot></div>`}},n.UUIToastNotificationLayoutElement.styles=[Ye,d`#message{margin-bottom:calc(var(--uui-size-space-1,3px) * -1)}#message::after{content:'';display:block;clear:both}#actions{display:block;float:right;margin-top:var(--uui-size-space-4,12px);margin-bottom:calc(var(--uui-size-space-2,6px) * -1)}`],Zt([l({type:String})],n.UUIToastNotificationLayoutElement.prototype,"headline",2),Zt([g()],n.UUIToastNotificationLayoutElement.prototype,"_headlineSlotHasContent",2),n.UUIToastNotificationLayoutElement=Zt([c("uui-toast-notification-layout")],n.UUIToastNotificationLayoutElement);var hu=Object.defineProperty,pu=Object.getOwnPropertyDescriptor,vu=(t,e,r,o)=>{for(var i=o>1?void 0:o?pu(e,r):e,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&hu(e,r,i),i};n.UUIToggleElement=class extends D{constructor(){super("switch")}renderCheckbox(){return u`<div id="slider"><div id="icon-check">${St}</div><div id="icon-wrong">${er}</div></div>`}},n.UUIToggleElement.formAssociated=!0,n.UUIToggleElement.styles=[...D.styles,Ze,d`:host{--uui-toggle-size:18px;--uui-toggle-switch-width:calc(2 * var(--uui-toggle-size))}#slider{position:relative;grid-area:'input';display:flex;align-items:center;width:var(--uui-toggle-switch-width);height:var(--uui-toggle-size);border-radius:100px;background-color:var(--uui-toggle-background-color,var(--uui-interface-surface-alt,#d8d7d9));border:1px solid var(--uui-toggle-border-color,var(--uui-interface-border,#c4c4c4));font-size:calc(var(--uui-toggle-size) * .6)}label:hover input:not([disabled])~#slider{border-color:var(--uui-toggle-border-color-hover,var(--uui-interface-border-hover,#b3b3b3));background-color:var(--uui-toggle-background-color-hover,var(--uui-interface-surface-alt-hover,#c8c8c8))}label:focus #slider{border-color:var(--uui-toggle-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));background-color:var(--uui-toggle-background-color-focus,var(--uui-interface-surface-alt-focus,#d8d7d9))}input:checked~#slider{background-color:var(--uui-interface-select,#3544b1)}label:hover input:checked:not([disabled])~#slider{background-color:var(--uui-interface-select-hover,#4656c8)}label:focus input:checked~#slider{background-color:var(--uui-interface-select-focus,#3544b1)}#icon-check,#icon-wrong{position:absolute;vertical-align:middle;width:1em;height:1em;line-height:0;transition:fill 120ms}#icon-check{margin-left:-.5em;left:calc(var(--uui-toggle-size) * .5);fill:var(--uui-interface-contrast,#060606)}#icon-wrong{margin-right:-.5em;right:calc(var(--uui-toggle-size) * .5);fill:var(--uui-interface-contrast,#060606)}input:checked~#slider #icon-check{fill:var(--uui-interface-select-contrast,#fefefe)}#slider::after{content:'';position:absolute;top:2px;left:2px;width:calc(var(--uui-toggle-size) - 4px);height:calc(var(--uui-toggle-size) - 4px);border-radius:100px;background-color:var(--uui-interface-select-contrast,#fefefe);transition:width 120ms ease,left 120ms ease,transform 120ms ease,background-color 120ms}input:checked~#slider::after{left:calc(100% - 2px);transform:translateX(-100%)}input:focus~#slider{outline:calc(2px * var(--uui-show-focus-outline,1)) solid var(--uui-interface-outline,#3879ff)}:host(:not([disabled])) label:active #slider::after{width:calc(1.06 * var(--uui-toggle-size))}:host([disabled]) #slider{background-color:var(--uui-interface-surface-alt-disabled,#ccc)}:host([disabled]) input:checked~#slider{background-color:var(--uui-interface-select-disabled,#575757)}:host([disabled]) #slider::after{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #slider #icon-wrong{fill:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) label:active #slider{animation:${Qe}}:host([disabled]) input:checked #slider #icon-check{fill:var(--uui-interface-select-contrast-disabled,#e4e4e4)}:host(:not([pristine]):invalid) #slider,:host(:not([pristine]):invalid) label:hover #slider,:host(:not([pristine])[internals-invalid]) #slider,:host(:not([pristine])[internals-invalid]) label:hover #slider{border:1px solid var(--uui-look-danger-border,#d42054)}`],n.UUIToggleElement=vu([c("uui-toggle")],n.UUIToggleElement),n.UUIBooleanInputElement=D,n.UUIBooleanInputEvent=We,n.UUIButtonInlineCreateEvent=rt,n.UUICardEvent=me,n.UUIComboboxEvent=A,n.UUIComboboxListEvent=X,n.UUIIconHost=Ht,n.UUIIconRegistry=jt,n.UUIIconRegistryEssential=vr,n.UUIIconRequestEvent=_e,n.UUIInputEvent=ee,n.UUIMenuItemEvent=M,n.UUIPaginationEvent=V,n.UUIRadioEvent=we,n.UUIRadioGroupEvent=dt,n.UUIRefEvent=Ee,n.UUISelectEvent=pt,n.UUISliderEvent=ie,n.UUITabEvent=eu,n.UUITabGroupEvent=tu,n.UUITextStyles=Ye,n.UUITextareaEvent=Re,n.UUIToastNotificationEvent=P,Object.defineProperty(n,"__esModule",{value:!0})});
513
517
  //# sourceMappingURL=uui.min.js.map