{"version":3,"file":"uui.min.js","sources":["../../../node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/lit-html/lit-html.js","../../../node_modules/lit-element/lit-element.js","../../../node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/@lit/reactive-element/decorators/query-all.js","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","../../uui-css/lib/index.js","../../uui-base/lib/index.js","../../uui-base/lib/registration/index.js","../../uui-button-group/lib/index.js","../../uui-action-bar/lib/index.js","../../uui-avatar-group/lib/index.js","../../uui-avatar/lib/index.js","../../uui-badge/lib/index.js","../../uui-base/lib/mixins/index.js","../../uui-base/lib/events/index.js","../../uui-boolean-input/lib/index.js","../../../node_modules/lit-html/static.js","../../uui-box/lib/index.js","../../uui-breadcrumbs/lib/index.js","../../uui-base/lib/animations/index.js","../../../node_modules/lit-html/directive.js","../../../node_modules/lit-html/directives/style-map.js","../../../node_modules/lit-html/directives/if-defined.js","../../uui-button-inline-create/lib/index.js","../../uui-base/lib/utils/index.js","../../uui-icon-registry-essential/lib/svgs/index.js","../../uui-button/lib/index.js","../../uui-card/lib/index.js","../../uui-card-block-type/lib/index.js","../../uui-card-content-node/lib/index.js","../../uui-card-media/lib/index.js","../../uui-card-user/lib/index.js","../../uui-caret/lib/index.js","../../uui-checkbox/lib/index.js","../../../node_modules/lit-html/directives/class-map.js","../../uui-color-area/lib/index.js","../../../node_modules/lit-html/directive-helpers.js","../../../node_modules/lit-html/directives/live.js","../../uui-color-picker/lib/index.js","../../uui-color-slider/lib/index.js","../../uui-color-swatch/lib/index.js","../../uui-color-swatches/lib/index.js","../../uui-combobox-list/lib/index.js","../../uui-combobox/lib/index.js","../../uui-dialog-layout/lib/index.js","../../uui-dialog/lib/index.js","../../uui-file-dropzone/lib/index.js","../../uui-file-preview/lib/index.js","../../uui-form-layout-item/lib/index.js","../../../node_modules/lit-html/directives/repeat.js","../../uui-form-validation-message/lib/index.js","../../uui-form/lib/index.js","../../../node_modules/lit-html/directives/unsafe-html.js","../../uui-icon/lib/index.js","../../uui-icon-registry/lib/index.js","../../uui-icon-registry-essential/lib/index.js","../../uui-input-file/lib/index.js","../../uui-input/lib/index.js","../../uui-input-lock/lib/index.js","../../uui-input-password/lib/index.js","../../uui-keyboard-shortcut/lib/index.js","../../uui-label/lib/index.js","../../uui-loader-bar/lib/index.js","../../uui-loader-circle/lib/index.js","../../uui-loader/lib/index.js","../../../node_modules/lit-html/async-directive.js","../../../node_modules/lit-html/directives/ref.js","../../uui-menu-item/lib/index.js","../../uui-modal/lib/index.js","../../uui-pagination/lib/index.js","../../uui-popover/lib/index.js","../../uui-popover-container/lib/index.js","../../uui-progress-bar/lib/index.js","../../uui-radio/lib/index.js","../../uui-range-slider/lib/index.js","../../uui-ref-list/lib/index.js","../../uui-ref/lib/index.js","../../uui-ref-node/lib/index.js","../../uui-ref-node-data-type/lib/index.js","../../uui-ref-node-document-type/lib/index.js","../../uui-ref-node-form/lib/index.js","../../uui-ref-node-member/lib/index.js","../../uui-ref-node-package/lib/index.js","../../uui-ref-node-user/lib/index.js","../../uui-scroll-container/lib/index.js","../../uui-select/lib/index.js","../../uui-slider/lib/index.js","../../uui-symbol-expand/lib/index.js","../../uui-symbol-file-dropzone/lib/index.js","../../uui-symbol-file-thumbnail/lib/index.js","../../uui-symbol-file/lib/index.js","../../uui-symbol-folder/lib/index.js","../../uui-symbol-lock/lib/index.js","../../uui-symbol-more/lib/index.js","../../uui-symbol-sort/lib/index.js","../../uui-table/lib/index.js","../../uui-tabs/lib/index.js","../../uui-tag/lib/index.js","../../uui-textarea/lib/index.js","../../uui-toast-notification/lib/index.js","../../uui-toast-notification-container/lib/index.js","../../uui-toast-notification-layout/lib/index.js","../../uui-toggle/lib/index.js","../../uui-visually-hidden/lib/index.js"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=window,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),n=new WeakMap;class o{constructor(t,e,n){if(this._$cssResult$=!0,n!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new o(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[n+1]),t[0]);return new o(n,t,s)},S=(s,n)=>{e?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement(\"style\"),o=t.litNonce;void 0!==o&&n.setAttribute(\"nonce\",o),n.textContent=e.cssText,s.appendChild(n)}))},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{o as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as i}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var s;const e=window,r=e.trustedTypes,h=r?r.emptyScript:\"\",o=e.reactiveElementPolyfillSupport,n={toAttribute(t,i){switch(i){case Boolean:t=t?h:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},a=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:n,reflect:!1,hasChanged:a},d=\"finalized\";class u extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e))})),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=\"symbol\"==typeof t?Symbol():\"__\"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty(d))return!1;this[d]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty(\"properties\")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(t(i))}else void 0!==i&&s.push(t(i));return s}static _$Ep(t,i){const s=i.attribute;return!1===s?void 0:\"string\"==typeof s?s:\"string\"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,s){this._$AK(t,s)}_$EO(t,i,s=l){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:\"open\"},null==o||o({ReactiveElement:u}),(null!==(s=e.reactiveElementVersions)&&void 0!==s?s:e.reactiveElementVersions=[]).push(\"1.6.3\");export{u as ReactiveElement,n as defaultConverter,a as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar t;const i=window,s=i.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,o=\"$lit$\",n=`lit$${(Math.random()+\"\").slice(9)}$`,l=\"?\"+n,h=`<${l}>`,r=document,u=()=>r.createComment(\"\"),d=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,c=Array.isArray,v=t=>c(t)||\"function\"==typeof(null==t?void 0:t[Symbol.iterator]),a=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${a}(?:([^\\\\s\"'>=/]+)(${a}*=${a}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=w(1),b=w(2),T=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),E=new WeakMap,C=r.createTreeWalker(r,129,null,!1);function P(t,i){if(!Array.isArray(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?\"<svg>\":\"\",u=f;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f?\"!--\"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(l=RegExp(\"</\"+c[2],\"g\")),u=p):void 0!==c[3]&&(u=p):u===p?\">\"===c[0]?(u=null!=l?l:f,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p:'\"'===c[3]?$:g):u===$||u===g?u=p:u===_||u===m?u=f:(u=p,l=void 0);const w=u===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";r+=u===f?s+h:v>=0?(e.push(d),s.slice(0,v)+o+s.slice(v)+n+w):s+n+(-2===v?(e.push(void 0),i):w)}return[P(t,r+(t[s]||\"<?>\")+(2===i?\"</svg>\":\"\")),e]};class N{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V(t,i);if(this.el=N.createElement(a,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(h=C.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o)||i.startsWith(n)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o).split(n),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:\".\"===i[1]?H:\"?\"===i[1]?L:\"@\"===i[1]?z:k})}else v.push({type:6,index:r})}for(const i of t)h.removeAttribute(i)}if(y.test(h.tagName)){const t=h.textContent.split(n),i=t.length-1;if(i>0){h.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)h.append(t[s],u()),C.nextNode(),v.push({type:2,index:++r});h.append(t[i],u())}}}else if(8===h.nodeType)if(h.data===l)v.push({type:2,index:r});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)v.push({type:7,index:r}),t+=n.length-1}r++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S(t,r._$AS(t,i.values),r,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z(n,this,t)),this._$AV.push(i),u=e[++h]}l!==(null==u?void 0:u.index)&&(n=C.nextNode(),l++)}return C.currentNode=r,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{constructor(t,i,s,e){var o;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&d(this._$AH)?this._$AA.nextSibling.data=t:this.$(r.createTextNode(t)),this._$AH=t}g(t){var i;const{values:s,_$litType$:e}=t,o=\"number\"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N.createElement(P(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else{const t=new M(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new N(t)),i}T(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R(this.k(u()),this.k(u()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class k{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:\"\")+o[l+1]),this._$AH[l]=h}n&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const I=s?s.emptyScript:\"\";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class z extends k{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===T)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;\"function\"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const j={O:o,P:n,A:l,C:1,M:V,L:M,R:v,D:S,I:R,V:k,H:L,N:z,U:H,F:Z},B=i.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t=i.litHtmlVersions)&&void 0!==t?t:i.litHtmlVersions=[]).push(\"2.8.0\");const D=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R(i.insertBefore(u(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l};export{j as _$LH,x as html,T as noChange,A as nothing,D as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as i}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var l,o;const r=t;class s extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return i}}s.finalized=!0,s._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:s});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:s});const h={_$AK:(t,e,i)=>{t._$AK(e,i)},_$AL:t=>t._$AL};(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push(\"3.3.3\");export{s as LitElement,r as UpdatingElement,h as _$LE};\n//# sourceMappingURL=lit-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst i=(i,e)=>\"method\"===e.kind&&e.descriptor&&!(\"value\"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i)}}:{kind:\"field\",key:Symbol(),placement:\"own\",descriptor:{},originalKey:e.key,initializer(){\"function\"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,i)}},e=(i,e,n)=>{e.constructor.createProperty(n,i)};function n(n){return(t,o)=>void 0!==o?e(n,t,o):i(n,t)}export{n as property};\n//# sourceMappingURL=property.js.map\n","import{property as r}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function t(t){return r({...t,state:!0})}export{t as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,o)=>{Object.defineProperty(t,o,e)},t=(e,t)=>({kind:\"method\",placement:\"prototype\",key:t.key,descriptor:e}),o=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:\"method\",placement:\"prototype\",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n)}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n)}};export{o as decorateProperty,e as legacyPrototypeMethod,t as standardPrototypeMethod};\n//# sourceMappingURL=base.js.map\n","import{decorateProperty as o}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function i(i,n){return o({descriptor:o=>{const t={get(){var o,n;return null!==(n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(n){const n=\"symbol\"==typeof o?Symbol():\"__\"+o;t.get=function(){var o,t;return void 0===this[n]&&(this[n]=null!==(t=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==t?t:null),this[n]}}return t}})}export{i as query};\n//# sourceMappingURL=query.js.map\n","import{decorateProperty as r}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e){return r({descriptor:r=>({get(){var r,o;return null!==(o=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}export{e as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import{decorateProperty as o}from\"./base.js\";\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var n;const e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(o,n)=>o.assignedElements(n):(o,n)=>o.assignedNodes(n).filter((o=>o.nodeType===Node.ELEMENT_NODE));function l(n){const{slot:l,selector:t}=null!=n?n:{};return o({descriptor:o=>({get(){var o;const r=\"slot\"+(l?`[name=${l}]`:\":not([name])\"),i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(r),s=null!=i?e(i,n):[];return t?s.filter((o=>o.matches(t))):s},enumerable:!0,configurable:!0})})}export{l as queryAssignedElements};\n//# sourceMappingURL=query-assigned-elements.js.map\n","import { unsafeCSS } from 'lit';\n\nvar css = \".uui-text {\\n  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;\\n  font-size: 15px;\\n  line-height: calc(var(--uui-size-2,6px) * 4);\\n  -webkit-font-smoothing: antialiased;\\n}\\n\\n.uui-text h1,\\n.uui-text .uui-h1 {\\n  font-size: var(--uui-type-h1-size,60px);\\n  line-height: var(--uui-size-layout-4,66px);\\n  font-weight: 300;\\n  margin-left: -5px;\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n.uui-text p + h1,\\n.uui-text p + .uui-h1 {\\n  margin-top: var(--uui-size-layout-4,66px);\\n}\\n.uui-text h1.--no-top-margin,\\n.uui-text h1:first-child,\\n.uui-text .uui-h1.--no-top-margin,\\n.uui-text .uui-h1:first-child {\\n  margin-top: 0;\\n}\\n\\n.uui-text h2,\\n.uui-text .uui-h2 {\\n  font-size: var(--uui-type-h2-size,42px);\\n  line-height: var(--uui-size-layout-3,42px);\\n  font-weight: 300;\\n  margin-left: -3px;\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n.uui-text p + h2,\\n.uui-text p + .uui-h2 {\\n  margin-top: var(--uui-size-layout-3,42px);\\n}\\n.uui-text h2.--no-top-margin,\\n.uui-text h2:first-child,\\n.uui-text .uui-h2.--no-top-margin,\\n.uui-text .uui-h2:first-child {\\n  margin-top: 0;\\n}\\n\\n.uui-text h3,\\n.uui-text .uui-h3 {\\n  font-size: var(--uui-type-h3-size,30px);\\n  line-height: var(--uui-size-large);\\n  font-weight: 300;\\n  margin-left: -2px;\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n.uui-text h3.--no-top-margin,\\n.uui-text h3:first-child,\\n.uui-text .uui-h3.--no-top-margin,\\n.uui-text .uui-h3:first-child {\\n  margin-top: 0;\\n}\\n\\n.uui-text h4,\\n.uui-text .uui-h4 {\\n  font-size: var(--uui-type-h4-size,21px);\\n  line-height: 21px;\\n  font-weight: 400;\\n  margin-left: -1px;\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n.uui-text h4.--no-top-margin,\\n.uui-text h4:first-child,\\n.uui-text .uui-h4.--no-top-margin,\\n.uui-text .uui-h4:first-child {\\n  margin-top: 0;\\n}\\n\\n.uui-text h5,\\n.uui-text .uui-h5 {\\n  font-size: var(--uui-type-h5-size,15px);\\n  line-height: inherit;\\n  font-weight: 700;\\n  margin-left: 0;\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: 0;\\n}\\n\\n.uui-text h5.--no-top-margin,\\n.uui-text h5:first-child,\\n.uui-text .uui-h5.--no-top-margin,\\n.uui-text .uui-h5:first-child {\\n  margin-top: 0;\\n}\\n\\n.uui-text p {\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n.uui-text p.uui-lead {\\n  font-size: var(--uui-size-6,18px);\\n}\\n\\n.uui-text a {\\n  color: var(--uui-color-interactive,#1b264f);\\n}\\n\\n.uui-text a:link,\\n.uui-text a:active {\\n  color: var(--uui-color-interactive,#1b264f);\\n}\\n.uui-text a:hover {\\n  color: var(--uui-color-interactive-emphasis,#3544b1);\\n}\\n\\n.uui-text small {\\n  display: inline-block;\\n  font-size: var(--uui-type-small-size,12px);\\n  line-height: calc(var(--uui-size-2,6px) * 3);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n\\n.uui-text blockquote {\\n  float: right;\\n  font-size: 15px;\\n  font-weight: 700;\\n  font-style: italic;\\n  margin-top: 0;\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n  margin-right: -0.035em;\\n  max-width: 16em;\\n  quotes: '“' '”' '‘' '’';\\n  line-height: inherit;\\n}\\n\\n.uui-text blockquote:before {\\n  content: open-quote;\\n  margin-left: -0.4em;\\n  margin-right: 0.08em;\\n  vertical-align: bottom;\\n  font-weight: 400;\\n  font-size: 2em;\\n}\\n\\n.uui-text blockquote:after {\\n  content: close-quote;\\n  margin-left: 0.04em;\\n  margin-right: -0.4em;\\n  vertical-align: bottom;\\n  font-weight: 400;\\n  font-size: 2em;\\n  margin-bottom: -2px;\\n  display: inline-block;\\n}\\n\\n.uui-text ul {\\n  list-style-type: square;\\n  padding-left: var(--uui-size-layout-1,24px);\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n\\n.uui-text ol {\\n  padding-left: var(--uui-size-layout-1,24px);\\n  margin-top: var(--uui-size-layout-1,24px);\\n  margin-bottom: var(--uui-size-layout-1,24px);\\n}\\n\";\n\nconst UUITextStyles = unsafeCSS(css);\n\nexport { UUITextStyles };\n","import { css, unsafeCSS, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nconst UUIBlinkKeyframes = css`\n  @keyframes uui-blink {\n    0%,\n    100% {\n      opacity: 0.5;\n    }\n    50% {\n      opacity: 1;\n    }\n  }\n`;\nconst UUIBlinkAnimationValue = unsafeCSS(\"uui-blink 0.9s infinite both\");\n\nconst UUIHorizontalPulseKeyframes = css`\n  @keyframes pulse {\n    0% {\n      -webkit-transform: translate(-50%, -50%) scale(0.2);\n      transform: translate(-50%, -50%) scale(0.2);\n      opacity: 0.9;\n    }\n    80% {\n      -webkit-transform: translate(-50%, -50%) scale(1.2);\n      transform: translate(-50%, -50%) scale(1.2);\n      opacity: 0;\n    }\n    100% {\n      -webkit-transform: translate(-50%, -50%) scale(2.2);\n      transform: translate(-50%, -50%) scale(2.2);\n      opacity: 0;\n    }\n  }\n`;\nconst UUIHorizontalPulseAnimationValue = unsafeCSS(\n  \"pulse 0.8s ease-in-out infinite both\"\n);\n\nconst UUIHorizontalShakeKeyframes = css`\n  @keyframes uui-horizontal-shake {\n    10%,\n    90% {\n      transform: translateX(-1px);\n    }\n\n    20%,\n    80% {\n      transform: translateX(1px);\n    }\n\n    30%,\n    50%,\n    70% {\n      transform: translateX(-2px);\n    }\n\n    40%,\n    60% {\n      transform: translateX(2px);\n    }\n  }\n`;\nconst UUIHorizontalShakeAnimationValue = unsafeCSS(\n  \"uui-horizontal-shake 600ms ease backwards\"\n);\n\nclass UUIEvent extends Event {\n  constructor(evName, eventInit = {}) {\n    super(evName, { ...eventInit });\n    this.detail = eventInit.detail || {};\n  }\n}\n\nclass UUIFormControlEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIFormControlEvent.VALID = \"valid\";\nUUIFormControlEvent.INVALID = \"invalid\";\n\nclass UUISelectableEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, cancelable: true },\n      ...eventInit\n    });\n  }\n}\nUUISelectableEvent.SELECTED = \"selected\";\nUUISelectableEvent.DESELECTED = \"deselected\";\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$5 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$5(target, key, result);\n  return result;\n};\nconst ActiveMixin = (superClass) => {\n  class ActiveMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this.active = false;\n    }\n  }\n  __decorateClass$5([\n    property({ type: Boolean, reflect: true })\n  ], ActiveMixinClass.prototype, \"active\", 2);\n  return ActiveMixinClass;\n};\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$4 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$4(target, key, result);\n  return result;\n};\nconst LabelMixin = (labelSlotName, superClass) => {\n  class LabelMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this._labelSlotHasContent = false;\n    }\n    connectedCallback() {\n      super.connectedCallback();\n      if (!this.label) {\n        console.warn(this.tagName + \" needs a `label`\", this);\n      }\n    }\n    labelSlotChanged(e) {\n      this._labelSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    }\n    /**\n     * Call in the mixed element to render the label template. It contains a slot. This is optional.\n     * @method renderLabel\n     * @returns {TemplateResult}\n     */\n    renderLabel() {\n      return html`\n        ${this._labelSlotHasContent === false ? html`<span class=\"label\">${this.label}</span>` : \"\"}\n        <slot\n          class=\"label\"\n          style=${this._labelSlotHasContent ? \"\" : \"visibility: hidden\"}\n          name=${labelSlotName ? labelSlotName : \"\"}\n          @slotchange=${this.labelSlotChanged}></slot>\n      `;\n    }\n  }\n  __decorateClass$4([\n    property({ type: String })\n  ], LabelMixinClass.prototype, \"label\", 2);\n  __decorateClass$4([\n    state()\n  ], LabelMixinClass.prototype, \"_labelSlotHasContent\", 2);\n  return LabelMixinClass;\n};\n\nvar __defProp$3 = Object.defineProperty;\nvar __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$3 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$3(target, key, result);\n  return result;\n};\nconst SelectableMixin = (superClass) => {\n  class SelectableMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      this._selectable = false;\n      this.deselectable = true;\n      this.selected = false;\n      this.selectableTarget = this;\n      this.handleSelectKeydown = (e) => {\n        if (this.selectableTarget === this) {\n          if (e.key !== \" \" && e.key !== \"Enter\")\n            return;\n          this._toggleSelect();\n        }\n      };\n      this.addEventListener(\"click\", this._handleClick);\n      this.addEventListener(\"keydown\", this.handleSelectKeydown);\n    }\n    get selectable() {\n      return this._selectable;\n    }\n    set selectable(newVal) {\n      const oldVal = this._selectable;\n      this._selectable = newVal;\n      if (!this.selectableTarget) {\n        this.setAttribute(\"tabindex\", `${newVal ? \"0\" : \"-1\"}`);\n      }\n      this.requestUpdate(\"selectable\", oldVal);\n    }\n    _select() {\n      if (!this.selectable)\n        return;\n      const selectEvent = new UUISelectableEvent(UUISelectableEvent.SELECTED);\n      this.dispatchEvent(selectEvent);\n      if (selectEvent.defaultPrevented)\n        return;\n      this.selected = true;\n    }\n    _deselect() {\n      if (!this.deselectable)\n        return;\n      const selectEvent = new UUISelectableEvent(UUISelectableEvent.DESELECTED);\n      this.dispatchEvent(selectEvent);\n      if (selectEvent.defaultPrevented)\n        return;\n      this.selected = false;\n    }\n    _handleClick(e) {\n      if (e.composedPath().indexOf(this.selectableTarget) !== -1) {\n        this._toggleSelect();\n      }\n    }\n    _toggleSelect() {\n      if (!this.selectable)\n        return;\n      if (this.deselectable === false) {\n        this._select();\n      } else {\n        this.selected ? this._deselect() : this._select();\n      }\n    }\n  }\n  __decorateClass$3([\n    property({ type: Boolean, reflect: true })\n  ], SelectableMixinClass.prototype, \"selectable\", 1);\n  __decorateClass$3([\n    property({ type: Boolean, reflect: true })\n  ], SelectableMixinClass.prototype, \"selected\", 2);\n  return SelectableMixinClass;\n};\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$2 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$2(target, key, result);\n  return result;\n};\nconst SelectOnlyMixin = (superClass) => {\n  class SelectOnlyMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this._selectOnly = false;\n    }\n    get selectOnly() {\n      return this._selectOnly;\n    }\n    set selectOnly(newVal) {\n      const oldVal = this._selectOnly;\n      this._selectOnly = newVal;\n      this.requestUpdate(\"selectOnly\", oldVal);\n    }\n  }\n  __decorateClass$2([\n    property({ type: Boolean, reflect: true, attribute: \"select-only\" })\n  ], SelectOnlyMixinClass.prototype, \"selectOnly\", 1);\n  return SelectOnlyMixinClass;\n};\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nconst FormControlMixin = (superClass) => {\n  class FormControlMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      this.name = \"\";\n      // Validation\n      this._validityState = {};\n      this.pristine = true;\n      this.required = false;\n      this.requiredMessage = \"This field is required\";\n      this.error = false;\n      this.errorMessage = \"This field is invalid\";\n      this._value = \"\";\n      this._form = null;\n      this._validators = [];\n      this._formCtrlElements = [];\n      this._onFormSubmit = () => {\n        this.pristine = false;\n      };\n      this._internals = this.attachInternals();\n      this.addValidator(\n        \"valueMissing\",\n        () => this.requiredMessage,\n        () => this.hasAttribute(\"required\") && this.hasValue() === false\n      );\n      this.addValidator(\n        \"customError\",\n        () => this.errorMessage,\n        () => this.error\n      );\n      this.addEventListener(\"blur\", () => {\n        this.pristine = false;\n      });\n    }\n    // Do not 'reflect' as the attribute is used as fallback.\n    get value() {\n      return this._value;\n    }\n    set value(newValue) {\n      const oldValue = this._value;\n      this._value = newValue;\n      if (\"ElementInternals\" in window && //@ts-ignore\n      \"setFormValue\" in window.ElementInternals.prototype) {\n        this._internals.setFormValue(this._value);\n      }\n      this.requestUpdate(\"value\", oldValue);\n    }\n    /**\n     * Determn wether this FormControl has a value.\n     * @method hasValue\n     * @returns {boolean}\n     */\n    hasValue() {\n      return this.value !== \"\";\n    }\n    disconnectedCallback() {\n      super.disconnectedCallback();\n      this._removeFormListeners();\n    }\n    _removeFormListeners() {\n      if (this._form) {\n        this._form.removeEventListener(\"submit\", this._onFormSubmit);\n      }\n    }\n    /**\n     * Add validator, to validate this Form Control.\n     * See https://developer.mozilla.org/en-US/docs/Web/API/ValidityState for available Validator FlagTypes.\n     *\n     * @example\n     * this.addValidator(\n     *  'tooLong',\n     *  () => 'This input contains too many characters',\n     *  () => this._value.length > 10\n     * );\n     * @method hasValue\n     * @param {FlagTypes} flagKey the type of validation.\n     * @param {method} getMessageMethod method to retrieve relevant message. Is executed every time the validator is re-executed.\n     * @param {method} checkMethod method to determine if this validator should invalidate this form control. Return true if this should prevent submission.\n     */\n    addValidator(flagKey, getMessageMethod, checkMethod) {\n      const obj = {\n        flagKey,\n        getMessageMethod,\n        checkMethod\n      };\n      this._validators.push(obj);\n      return obj;\n    }\n    removeValidator(validator) {\n      const index = this._validators.indexOf(validator);\n      if (index !== -1) {\n        this._validators.splice(index, 1);\n      }\n    }\n    /**\n     * @method addFormControlElement\n     * @description Important notice if adding a native form control then ensure that its value and thereby validity is updated when value is changed from the outside.\n     * @param element {NativeFormControlElement} - element to validate and include as part of this form association.\n     */\n    addFormControlElement(element) {\n      this._formCtrlElements.push(element);\n    }\n    /**\n     * @method setCustomValidity\n     * @description Set custom validity state, set to empty string to remove the custom message.\n     * @param message {string} - The message to be shown\n     * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity|HTMLObjectElement:setCustomValidity}\n     */\n    setCustomValidity(message) {\n      if (this._customValidityObject) {\n        this.removeValidator(this._customValidityObject);\n      }\n      if (message != null && message !== \"\") {\n        this._customValidityObject = this.addValidator(\n          \"customError\",\n          () => message,\n          () => true\n        );\n      }\n      this._runValidators();\n    }\n    _runValidators() {\n      this._validityState = {};\n      this._formCtrlElements.forEach((formCtrlEl) => {\n        for (const key in formCtrlEl.validity) {\n          if (key !== \"valid\" && formCtrlEl.validity[key]) {\n            this._validityState[key] = true;\n            this._internals.setValidity(\n              this._validityState,\n              formCtrlEl.validationMessage,\n              formCtrlEl\n            );\n          }\n        }\n      });\n      this._validators.forEach((validator) => {\n        if (validator.checkMethod()) {\n          this._validityState[validator.flagKey] = true;\n          this._internals.setValidity(\n            this._validityState,\n            validator.getMessageMethod(),\n            this.getFormElement()\n          );\n        }\n      });\n      const hasError = Object.values(this._validityState).includes(true);\n      this._validityState.valid = !hasError;\n      if (hasError) {\n        this.dispatchEvent(\n          new UUIFormControlEvent(UUIFormControlEvent.INVALID)\n        );\n      } else {\n        this._internals.setValidity({});\n        this.dispatchEvent(new UUIFormControlEvent(UUIFormControlEvent.VALID));\n      }\n    }\n    updated(changedProperties) {\n      super.updated(changedProperties);\n      this._runValidators();\n    }\n    submit() {\n      this._form?.requestSubmit();\n    }\n    formAssociatedCallback() {\n      this._removeFormListeners();\n      this._form = this._internals.form;\n      if (this._form) {\n        if (this._form.hasAttribute(\"submit-invalid\")) {\n          this.pristine = false;\n        }\n        this._form.addEventListener(\"submit\", this._onFormSubmit);\n      }\n    }\n    formResetCallback() {\n      this.pristine = true;\n      this.value = this.getAttribute(\"value\") || \"\";\n    }\n    checkValidity() {\n      for (const key in this._formCtrlElements) {\n        if (this._formCtrlElements[key].checkValidity() === false) {\n          return false;\n        }\n      }\n      return this._internals?.checkValidity();\n    }\n    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity\n    get validity() {\n      return this._validityState;\n    }\n    get validationMessage() {\n      return this._internals?.validationMessage;\n    }\n  }\n  /**\n   * This is a static class field indicating that the element is can be used inside a native form and participate in its events.\n   * It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\n   * Read more about form controls here https://web.dev/more-capable-form-controls/\n   * @type {boolean}\n   */\n  FormControlMixinClass.formAssociated = true;\n  __decorateClass$1([\n    property({ type: String })\n  ], FormControlMixinClass.prototype, \"name\", 2);\n  __decorateClass$1([\n    property()\n  ], FormControlMixinClass.prototype, \"value\", 1);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"pristine\", 2);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"required\", 2);\n  __decorateClass$1([\n    property({ type: String, attribute: \"required-message\" })\n  ], FormControlMixinClass.prototype, \"requiredMessage\", 2);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"error\", 2);\n  __decorateClass$1([\n    property({ type: String, attribute: \"error-message\" })\n  ], FormControlMixinClass.prototype, \"errorMessage\", 2);\n  return FormControlMixinClass;\n};\n\nclass Timer {\n  constructor(_callback, duration) {\n    this._callback = _callback;\n    this._timerId = null;\n    this._remaining = null;\n    this._onComplete = () => {\n      this._remaining = null;\n      this._callback();\n    };\n    this.setDuration(duration);\n  }\n  setDuration(duration) {\n    this._duration = duration;\n    if (this._timerId !== null) {\n      this.restart();\n    }\n  }\n  /** starts the timer */\n  start() {\n    if (this._timerId === null) {\n      this.resume();\n    }\n  }\n  /** restarts the timer by setting remaining time to duration. */\n  restart() {\n    this._remaining = this._duration;\n    this.resume();\n  }\n  pause() {\n    if (this._timerId !== null) {\n      window.clearTimeout(this._timerId);\n      this._timerId = null;\n      if (this._remaining !== null) {\n        this._remaining -= Date.now() - this._startTime;\n      }\n    }\n  }\n  resume() {\n    if (this._timerId !== null) {\n      window.clearTimeout(this._timerId);\n    }\n    if (this._remaining === null) {\n      this._remaining = this._duration;\n    }\n    this._startTime = Date.now();\n    this._timerId = window.setTimeout(this._onComplete, this._remaining);\n  }\n  destroy() {\n    this.pause();\n  }\n}\n\nconst demandCustomElement = (requester, elementName, message = `This element has to be present for ${requester.nodeName} to work appropriate.`) => {\n  if (!customElements.get(elementName)) {\n    console.warn(\n      `%c ${requester.nodeName} requires ${elementName} element to be registered!`,\n      \"font-weight: bold;\",\n      message,\n      requester\n    );\n  }\n};\n\nconst drag = (container, options) => {\n  function move(event) {\n    const dims = container.getBoundingClientRect();\n    const defaultView = container.ownerDocument.defaultView;\n    const offsetX = dims.left + defaultView.scrollX;\n    const offsetY = dims.top + defaultView.scrollY;\n    let pointerEvent;\n    if (event instanceof TouchEvent) {\n      pointerEvent = event.touches[0];\n    } else {\n      pointerEvent = event;\n    }\n    const x = pointerEvent.pageX - offsetX;\n    const y = pointerEvent.pageY - offsetY;\n    if (options?.onMove) {\n      options.onMove(x, y);\n    }\n  }\n  function stop() {\n    document.removeEventListener(\"pointermove\", move);\n    document.removeEventListener(\"pointerup\", stop);\n    if (options?.onStop) {\n      options.onStop();\n    }\n  }\n  document.addEventListener(\"pointermove\", move, { passive: true });\n  document.addEventListener(\"pointerup\", stop);\n  if (options?.initialEvent) {\n    move(options.initialEvent);\n  }\n};\n\nconst clamp = (value, min, max) => {\n  return Math.min(Math.max(value, min), max);\n};\nconst reverseNumberInRange = (num, min, max) => {\n  return max + min - num;\n};\nconst toHex = (value) => {\n  const hex = Math.round(value).toString(16);\n  return hex.length === 1 ? `0${hex}` : hex;\n};\n\nconst findAncestorByAttributeValue = (startNode, attributeName, attributeValue) => {\n  let currentNode = startNode;\n  while (currentNode !== null) {\n    const elementHasAttribute = currentNode instanceof HTMLElement && currentNode.hasAttribute(attributeName) && currentNode.getAttribute(attributeName) === attributeValue;\n    const elementContainsAttribute = currentNode.querySelector(`[${attributeName}=\"${attributeValue}\"]`) !== null;\n    if (elementHasAttribute) {\n      return currentNode;\n    } else if (elementContainsAttribute) {\n      return currentNode.querySelector(\n        `[${attributeName}=\"${attributeValue}\"]`\n      );\n    }\n    currentNode = currentNode.parentElement || currentNode.parentNode || currentNode.host || null;\n  }\n  return null;\n};\n\nfunction slotHasContent(target) {\n  return target ? target.assignedNodes({ flatten: true }).length > 0 : false;\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n  __accessCheck(obj, member, \"write to private field\");\n  setter ? setter.call(obj, value) : member.set(obj, value);\n  return value;\n};\nconst PopoverTargetMixin = (superClass) => {\n  var _popoverIsOpen, _popoverListener;\n  class PopoverTargetMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      __privateAdd(this, _popoverIsOpen, false);\n      this._togglePopover = () => {\n        if (!this.popoverContainerElement)\n          return;\n        const popoverContainerElement = findAncestorByAttributeValue(\n          this,\n          \"id\",\n          this.popoverContainerElement\n        );\n        if (!popoverContainerElement)\n          return;\n        __privateGet(this, _popoverIsOpen) ? (\n          // @ts-ignore - This is part of the new popover API, but typescript doesn't recognize it yet.\n          popoverContainerElement.hidePopover()\n        ) : (\n          // @ts-ignore - This is part of the new popover API, but typescript doesn't recognize it yet.\n          popoverContainerElement.showPopover()\n        );\n      };\n      __privateAdd(this, _popoverListener, (event) => {\n        requestAnimationFrame(() => {\n          __privateSet(this, _popoverIsOpen, event.detail.newState === \"open\");\n        });\n      });\n      this.addEventListener(\"uui-popover-before-toggle\", __privateGet(this, _popoverListener));\n    }\n  }\n  _popoverIsOpen = new WeakMap();\n  _popoverListener = new WeakMap();\n  __decorateClass([\n    property({ type: String, attribute: \"popovertarget\" })\n  ], PopoverTargetMixinClass.prototype, \"popoverContainerElement\", 2);\n  return PopoverTargetMixinClass;\n};\n\nfunction defineElement(name, options) {\n  return (constructor) => {\n    const isValidElementName = name.indexOf(\"-\") > 0;\n    if (isValidElementName === false) {\n      console.error(\n        `${name} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`\n      );\n      return;\n    }\n    const existingElement = window.customElements.get(name);\n    if (!existingElement) {\n      window.customElements.define(name, constructor, options);\n    }\n  };\n}\n\nconst UUIInterfaceLookValues = [\n  \"default\",\n  \"primary\",\n  \"secondary\",\n  \"outline\",\n  \"placeholder\"\n];\n\nconst UUIInterfaceColorValues = [\n  \"default\",\n  \"positive\",\n  \"warning\",\n  \"danger\"\n];\n\nconst UUIInterfaceHeadingValues = [\n  \"h1\",\n  \"h2\",\n  \"h3\",\n  \"h4\",\n  \"h5\",\n  \"h6\"\n];\n\nexport { ActiveMixin, FormControlMixin, LabelMixin, PopoverTargetMixin, SelectOnlyMixin, SelectableMixin, Timer, UUIBlinkAnimationValue, UUIBlinkKeyframes, UUIEvent, UUIFormControlEvent, UUIHorizontalPulseAnimationValue, UUIHorizontalPulseKeyframes, UUIHorizontalShakeAnimationValue, UUIHorizontalShakeKeyframes, UUIInterfaceColorValues, UUIInterfaceHeadingValues, UUIInterfaceLookValues, UUISelectableEvent, clamp, defineElement, demandCustomElement, drag, findAncestorByAttributeValue, reverseNumberInRange, slotHasContent, toHex };\n","function defineElement(name, options) {\n  return (constructor) => {\n    const isValidElementName = name.indexOf(\"-\") > 0;\n    if (isValidElementName === false) {\n      console.error(\n        `${name} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`\n      );\n      return;\n    }\n    const existingElement = window.customElements.get(name);\n    if (!existingElement) {\n      window.customElements.define(name, constructor, options);\n    }\n  };\n}\n\nexport { defineElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIButtonGroupElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIButtonGroupElement.styles = [\n  css`\n      :host {\n        display: inline-flex;\n        align-items: stretch;\n      }\n\n      ::slotted(*) {\n        --uui-button-border-radius: 0;\n        flex-grow: 1;\n      }\n\n      ::slotted([look='outline']:not(:first-child)) {\n        --uui-button-merge-border-left: 1;\n      }\n      ::slotted([look='placeholder']:not(:first-child)) {\n        --uui-button-merge-border-left: 1;\n      }\n\n      ::slotted(*:first-child) {\n        --uui-button-border-radius: var(--uui-border-radius,3px) 0 0\n          var(--uui-border-radius,3px);\n      }\n      ::slotted(*:last-child) {\n        --uui-button-border-radius: 0 var(--uui-border-radius,3px)\n          var(--uui-border-radius,3px) 0;\n      }\n\n      ::slotted(*:hover) {\n        z-index: 1;\n      }\n    `\n];\nUUIButtonGroupElement = __decorateClass([\n  defineElement(\"uui-button-group\")\n], UUIButtonGroupElement);\n\nexport { UUIButtonGroupElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUIButtonGroupElement } from '@umbraco-ui/uui-button-group/lib';\nimport { css } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIActionBarElement = class extends UUIButtonGroupElement {\n};\nUUIActionBarElement.styles = [\n  ...UUIButtonGroupElement.styles,\n  css`\n      ::slotted(*) {\n        --uui-button-padding-left-factor: 0.5;\n        --uui-button-padding-right-factor: 0.5;\n      }\n\n      ::slotted(uui-button:first-child) {\n        --uui-button-border-radius: 50px 0 0 50px;\n        --uui-button-padding-left-factor: 2;\n      }\n      ::slotted(uui-button:last-child) {\n        --uui-button-border-radius: 0 50px 50px 0;\n        --uui-button-padding-right-factor: 2;\n      }\n      ::slotted(uui-button:first-child:last-child) {\n        --uui-button-border-radius: 50px 50px 50px 50px;\n        --uui-button-padding-left-factor: 2;\n        --uui-button-padding-right-factor: 2;\n      }\n\n      ::slotted([look='outline']),\n      ::slotted([look='placeholder']) {\n        --uui-button-padding-left-factor: 1;\n        --uui-button-padding-right-factor: 1;\n      }\n\n      ::slotted(uui-button[look='outline']:first-child),\n      ::slotted(uui-button[look='placeholder']:first-child) {\n        --uui-button-border-radius: 50px 0 0 50px;\n        --uui-button-padding-left-factor: 1.5;\n      }\n      ::slotted(uui-button[look='outline']:last-child),\n      ::slotted(uui-button[look='placeholder']:last-child) {\n        --uui-button-border-radius: 0 50px 50px 0;\n        --uui-button-padding-right-factor: 1.5;\n      }\n      ::slotted(uui-button[look='outline']:first-child:last-child),\n      ::slotted(uui-button[look='placeholder']:first-child:last-child) {\n        --uui-button-border-radius: 50px 50px 50px 50px;\n        --uui-button-padding-left-factor: 1.5;\n        --uui-button-padding-right-factor: 1.5;\n      }\n    `\n];\nUUIActionBarElement = __decorateClass([\n  defineElement(\"uui-action-bar\")\n], UUIActionBarElement);\n\nexport { UUIActionBarElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { queryAssignedElements, state, property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIAvatarGroupElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._avatarArray = [];\n    this.limit = 0;\n  }\n  firstUpdated() {\n    this._setAvatarArray();\n  }\n  _onSlotChange() {\n    this._setAvatarArray();\n    this._updateAvatarVisibility();\n  }\n  _setAvatarArray() {\n    this._avatarArray = this._avatarNodes ? this._avatarNodes : [];\n  }\n  updated(changedProperties) {\n    if (changedProperties.has(\"limit\")) {\n      this._updateAvatarVisibility();\n    }\n  }\n  _updateAvatarVisibility() {\n    this._avatarArray.forEach((avatar, index) => {\n      avatar.style.display = index < this.limit || this.limit === 0 ? \"\" : \"none\";\n    });\n  }\n  _isLimitExceeded() {\n    return this.limit !== 0 && this._avatarArray.length > this.limit;\n  }\n  render() {\n    return html`\n      <slot @slotchange=${this._onSlotChange}></slot>\n      ${this._isLimitExceeded() ? (\n      //prettier-ignore\n      html`<small id=\"overflow-indication\">+${this._avatarArray.length - this.limit}</small>`\n    ) : \"\"}\n    `;\n  }\n};\nUUIAvatarGroupElement.styles = [\n  css`\n      :host {\n        display: inline-flex;\n        align-items: center;\n        padding-left: 3px;\n        padding-right: 3px;\n      }\n\n      ::slotted(uui-avatar) {\n        margin-left: -0.2em;\n        margin-right: -0.2em;\n        border: 0.1em solid var(--uui-avatar-border-color);\n      }\n\n      #overflow-indication {\n        margin-left: 6px;\n      }\n    `\n];\n__decorateClass([\n  queryAssignedElements({\n    selector: \"uui-avatar, [uui-avatar]\",\n    flatten: true\n  })\n], UUIAvatarGroupElement.prototype, \"_avatarNodes\", 2);\n__decorateClass([\n  state()\n], UUIAvatarGroupElement.prototype, \"_avatarArray\", 2);\n__decorateClass([\n  property({ type: Number, attribute: true })\n], UUIAvatarGroupElement.prototype, \"limit\", 2);\nUUIAvatarGroupElement = __decorateClass([\n  defineElement(\"uui-avatar-group\")\n], UUIAvatarGroupElement);\n\nexport { UUIAvatarGroupElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIAvatarElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.overflow = true;\n    this.imgSrc = \"\";\n    this.imgSrcset = \"\";\n    this._name = \"\";\n    this.initials = \"\";\n  }\n  get name() {\n    return this._name;\n  }\n  set name(newVal) {\n    const oldValue = this._name;\n    this._name = newVal;\n    this.initials = this.createInitials(this._name);\n    this.requestUpdate(\"title\", oldValue);\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.name) {\n      console.warn(this.tagName + \" needs a `name`\", this);\n    }\n  }\n  createInitials(name) {\n    let initials = \"\";\n    if (!name) {\n      return initials;\n    }\n    const words = name.match(/(\\w+)/g);\n    if (!words?.length) {\n      return initials;\n    }\n    initials = words[0].substring(0, 1);\n    if (words.length > 1) {\n      initials += words[words.length - 1].substring(0, 1);\n    }\n    return initials.toUpperCase();\n  }\n  renderImage() {\n    return html` <img\n      src=\"${this.imgSrc}\"\n      srcset=\"${this.imgSrcset}\"\n      alt=\"${this.initials}\"\n      title=\"${this.name}\" />`;\n  }\n  render() {\n    return html`\n      ${this.imgSrc ? this.renderImage() : \"\"}\n      ${!this.imgSrc ? this.initials : \"\"}\n      <slot></slot>\n    `;\n  }\n};\nUUIAvatarElement.styles = [\n  css`\n      :host {\n        display: inline-flex;\n        align-items: center;\n        justify-content: center;\n        flex-shrink: 0;\n        position: relative;\n        overflow: hidden;\n        border-radius: 50%;\n        font-weight: 700;\n        -webkit-font-smoothing: subpixel-antialiased;\n        width: calc(2em + 4px);\n        height: calc(2em + 4px);\n        user-select: none;\n        /* box-sizing: border-box; */\n        aspect-ratio: 1;\n        background-color: var(--uui-palette-spanish-pink,#f5c1bc);\n        color: var(--uui-palette-space-cadet,#1b264f);\n      }\n\n      :host([overflow]) {\n        overflow: unset;\n      }\n\n      img {\n        object-fit: cover;\n        height: 100%;\n        width: 100%;\n        overflow: hidden;\n        border-radius: 50%;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, attribute: true, reflect: true })\n], UUIAvatarElement.prototype, \"overflow\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"img-src\" })\n], UUIAvatarElement.prototype, \"imgSrc\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"img-srcset\" })\n], UUIAvatarElement.prototype, \"imgSrcset\", 2);\n__decorateClass([\n  property({ type: String, reflect: true })\n], UUIAvatarElement.prototype, \"name\", 1);\n__decorateClass([\n  state()\n], UUIAvatarElement.prototype, \"initials\", 2);\nUUIAvatarElement = __decorateClass([\n  defineElement(\"uui-avatar\")\n], UUIAvatarElement);\n\nexport { UUIAvatarElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIBadgeElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.color = \"default\";\n    this.look = \"primary\";\n    this.attention = false;\n  }\n  render() {\n    return html` <slot></slot> `;\n  }\n};\nUUIBadgeElement.styles = [\n  css`\n      :host {\n        position: var(--uui-badge-position, absolute);\n        display: flex;\n        justify-content: center;\n        align-items: center;\n\n        padding: var(--uui-size-1,3px) var(--uui-size-2,6px);\n        inset: var(--uui-badge-inset, -8px -8px auto auto);\n\n        text-align: center;\n        font-size: var(--uui-badge-font-size, var(--uui-type-small-size,12px));\n        font-weight: 900;\n        line-height: 1;\n\n        margin-right: 0;\n\n        min-width: var(--uui-size-8,24px);\n        min-height: var(--uui-size-8,24px);\n        box-sizing: border-box;\n\n        border-radius: var(--uui-size-4,12px);\n        border: 1px solid transparent;\n      }\n\n      :host {\n        --color: var(--uui-color-default,#1b264f);\n        --color-standalone: var(--uui-color-default-standalone,rgb(28, 35, 59));\n        --color-contrast: var(--uui-color-default-contrast,#fff);\n      }\n      :host([color='positive']) {\n        --color: var(--uui-color-positive,#0b8152);\n        --color-standalone: var(--uui-color-positive-standalone,rgb(10, 115, 73));\n        --color-contrast: var(--uui-color-positive-contrast,#fff);\n      }\n      :host([color='warning']) {\n        --color: var(--uui-color-warning,#fbd142);\n        --color-standalone: var(--uui-color-warning-standalone,#a17700);\n        --color-contrast: var(--uui-color-warning-contrast,#000);\n      }\n      :host([color='danger']) {\n        --color: var(--uui-color-danger,#d42054);\n        --color-standalone: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n        --color-contrast: var(--uui-color-danger-contrast,white);\n      }\n\n      :host {\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--color-standalone);\n        border-color: transparent;\n      }\n      :host([look='primary']) {\n        background-color: var(--color);\n        color: var(--color-contrast);\n        border-color: transparent;\n      }\n      :host([look='secondary']) {\n        background-color: var(--uui-color-surface-alt,#f3f3f5);\n        color: var(--color-standalone);\n        border-color: transparent;\n      }\n      :host([look='outline']) {\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--color-standalone);\n        border-color: var(--color-standalone);\n      }\n      :host([look='placeholder']) {\n        border-style: dashed;\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--color-standalone);\n        border-color: var(--uui-color-border-standalone,#c2c2c2);\n      }\n\n      /** TODO: we didn't want to target elements by name, but what else can we do? */\n      ::slotted(uui-icon) {\n        margin-left: -0.2em;\n        margin-right: -0.2em;\n      }\n\n      @keyframes --uui-badge-bounce {\n        0% {\n          transform: translateY(0);\n        }\n        20% {\n          transform: translateY(-6px);\n        }\n        40% {\n          transform: translateY(0);\n        }\n        55% {\n          transform: translateY(-3px);\n        }\n        70% {\n          transform: translateY(0);\n        }\n        100% {\n          transform: translateY(0);\n        }\n      }\n      :host([attention]) {\n        animation-duration: 1.4s;\n        animation-iteration-count: infinite;\n        animation-name: --uui-badge-bounce;\n        animation-timing-function: ease;\n      }\n      @media (prefers-reduced-motion) {\n        :host([attention]) {\n          animation: none;\n        }\n      }\n    `\n];\n__decorateClass([\n  property({ reflect: true })\n], UUIBadgeElement.prototype, \"color\", 2);\n__decorateClass([\n  property({ reflect: true })\n], UUIBadgeElement.prototype, \"look\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIBadgeElement.prototype, \"attention\", 2);\nUUIBadgeElement = __decorateClass([\n  defineElement(\"uui-badge\")\n], UUIBadgeElement);\n\nexport { UUIBadgeElement };\n","import { property, state } from 'lit/decorators.js';\nimport { html } from 'lit';\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$5 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$5(target, key, result);\n  return result;\n};\nconst ActiveMixin = (superClass) => {\n  class ActiveMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this.active = false;\n    }\n  }\n  __decorateClass$5([\n    property({ type: Boolean, reflect: true })\n  ], ActiveMixinClass.prototype, \"active\", 2);\n  return ActiveMixinClass;\n};\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$4 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$4(target, key, result);\n  return result;\n};\nconst LabelMixin = (labelSlotName, superClass) => {\n  class LabelMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this._labelSlotHasContent = false;\n    }\n    connectedCallback() {\n      super.connectedCallback();\n      if (!this.label) {\n        console.warn(this.tagName + \" needs a `label`\", this);\n      }\n    }\n    labelSlotChanged(e) {\n      this._labelSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    }\n    /**\n     * Call in the mixed element to render the label template. It contains a slot. This is optional.\n     * @method renderLabel\n     * @returns {TemplateResult}\n     */\n    renderLabel() {\n      return html`\n        ${this._labelSlotHasContent === false ? html`<span class=\"label\">${this.label}</span>` : \"\"}\n        <slot\n          class=\"label\"\n          style=${this._labelSlotHasContent ? \"\" : \"visibility: hidden\"}\n          name=${labelSlotName ? labelSlotName : \"\"}\n          @slotchange=${this.labelSlotChanged}></slot>\n      `;\n    }\n  }\n  __decorateClass$4([\n    property({ type: String })\n  ], LabelMixinClass.prototype, \"label\", 2);\n  __decorateClass$4([\n    state()\n  ], LabelMixinClass.prototype, \"_labelSlotHasContent\", 2);\n  return LabelMixinClass;\n};\n\nlet UUIEvent$1 = class UUIEvent extends Event {\n  constructor(evName, eventInit = {}) {\n    super(evName, { ...eventInit });\n    this.detail = eventInit.detail || {};\n  }\n};\n\nlet UUISelectableEvent$1 = class UUISelectableEvent extends UUIEvent$1 {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, cancelable: true },\n      ...eventInit\n    });\n  }\n};\nUUISelectableEvent$1.SELECTED = \"selected\";\nUUISelectableEvent$1.DESELECTED = \"deselected\";\n\nvar __defProp$3 = Object.defineProperty;\nvar __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$3 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$3(target, key, result);\n  return result;\n};\nconst SelectableMixin = (superClass) => {\n  class SelectableMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      this._selectable = false;\n      this.deselectable = true;\n      this.selected = false;\n      this.selectableTarget = this;\n      this.handleSelectKeydown = (e) => {\n        if (this.selectableTarget === this) {\n          if (e.key !== \" \" && e.key !== \"Enter\")\n            return;\n          this._toggleSelect();\n        }\n      };\n      this.addEventListener(\"click\", this._handleClick);\n      this.addEventListener(\"keydown\", this.handleSelectKeydown);\n    }\n    get selectable() {\n      return this._selectable;\n    }\n    set selectable(newVal) {\n      const oldVal = this._selectable;\n      this._selectable = newVal;\n      if (!this.selectableTarget) {\n        this.setAttribute(\"tabindex\", `${newVal ? \"0\" : \"-1\"}`);\n      }\n      this.requestUpdate(\"selectable\", oldVal);\n    }\n    _select() {\n      if (!this.selectable)\n        return;\n      const selectEvent = new UUISelectableEvent$1(UUISelectableEvent$1.SELECTED);\n      this.dispatchEvent(selectEvent);\n      if (selectEvent.defaultPrevented)\n        return;\n      this.selected = true;\n    }\n    _deselect() {\n      if (!this.deselectable)\n        return;\n      const selectEvent = new UUISelectableEvent$1(UUISelectableEvent$1.DESELECTED);\n      this.dispatchEvent(selectEvent);\n      if (selectEvent.defaultPrevented)\n        return;\n      this.selected = false;\n    }\n    _handleClick(e) {\n      if (e.composedPath().indexOf(this.selectableTarget) !== -1) {\n        this._toggleSelect();\n      }\n    }\n    _toggleSelect() {\n      if (!this.selectable)\n        return;\n      if (this.deselectable === false) {\n        this._select();\n      } else {\n        this.selected ? this._deselect() : this._select();\n      }\n    }\n  }\n  __decorateClass$3([\n    property({ type: Boolean, reflect: true })\n  ], SelectableMixinClass.prototype, \"selectable\", 1);\n  __decorateClass$3([\n    property({ type: Boolean, reflect: true })\n  ], SelectableMixinClass.prototype, \"selected\", 2);\n  return SelectableMixinClass;\n};\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$2 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$2(target, key, result);\n  return result;\n};\nconst SelectOnlyMixin = (superClass) => {\n  class SelectOnlyMixinClass extends superClass {\n    constructor() {\n      super(...arguments);\n      this._selectOnly = false;\n    }\n    get selectOnly() {\n      return this._selectOnly;\n    }\n    set selectOnly(newVal) {\n      const oldVal = this._selectOnly;\n      this._selectOnly = newVal;\n      this.requestUpdate(\"selectOnly\", oldVal);\n    }\n  }\n  __decorateClass$2([\n    property({ type: Boolean, reflect: true, attribute: \"select-only\" })\n  ], SelectOnlyMixinClass.prototype, \"selectOnly\", 1);\n  return SelectOnlyMixinClass;\n};\n\nclass UUIEvent extends Event {\n  constructor(evName, eventInit = {}) {\n    super(evName, { ...eventInit });\n    this.detail = eventInit.detail || {};\n  }\n}\nclass UUIFormControlEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIFormControlEvent.VALID = \"valid\";\nUUIFormControlEvent.INVALID = \"invalid\";\nclass UUISelectableEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, cancelable: true },\n      ...eventInit\n    });\n  }\n}\nUUISelectableEvent.SELECTED = \"selected\";\nUUISelectableEvent.DESELECTED = \"deselected\";\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nconst FormControlMixin = (superClass) => {\n  class FormControlMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      this.name = \"\";\n      // Validation\n      this._validityState = {};\n      this.pristine = true;\n      this.required = false;\n      this.requiredMessage = \"This field is required\";\n      this.error = false;\n      this.errorMessage = \"This field is invalid\";\n      this._value = \"\";\n      this._form = null;\n      this._validators = [];\n      this._formCtrlElements = [];\n      this._onFormSubmit = () => {\n        this.pristine = false;\n      };\n      this._internals = this.attachInternals();\n      this.addValidator(\n        \"valueMissing\",\n        () => this.requiredMessage,\n        () => this.hasAttribute(\"required\") && this.hasValue() === false\n      );\n      this.addValidator(\n        \"customError\",\n        () => this.errorMessage,\n        () => this.error\n      );\n      this.addEventListener(\"blur\", () => {\n        this.pristine = false;\n      });\n    }\n    // Do not 'reflect' as the attribute is used as fallback.\n    get value() {\n      return this._value;\n    }\n    set value(newValue) {\n      const oldValue = this._value;\n      this._value = newValue;\n      if (\"ElementInternals\" in window && //@ts-ignore\n      \"setFormValue\" in window.ElementInternals.prototype) {\n        this._internals.setFormValue(this._value);\n      }\n      this.requestUpdate(\"value\", oldValue);\n    }\n    /**\n     * Determn wether this FormControl has a value.\n     * @method hasValue\n     * @returns {boolean}\n     */\n    hasValue() {\n      return this.value !== \"\";\n    }\n    disconnectedCallback() {\n      super.disconnectedCallback();\n      this._removeFormListeners();\n    }\n    _removeFormListeners() {\n      if (this._form) {\n        this._form.removeEventListener(\"submit\", this._onFormSubmit);\n      }\n    }\n    /**\n     * Add validator, to validate this Form Control.\n     * See https://developer.mozilla.org/en-US/docs/Web/API/ValidityState for available Validator FlagTypes.\n     *\n     * @example\n     * this.addValidator(\n     *  'tooLong',\n     *  () => 'This input contains too many characters',\n     *  () => this._value.length > 10\n     * );\n     * @method hasValue\n     * @param {FlagTypes} flagKey the type of validation.\n     * @param {method} getMessageMethod method to retrieve relevant message. Is executed every time the validator is re-executed.\n     * @param {method} checkMethod method to determine if this validator should invalidate this form control. Return true if this should prevent submission.\n     */\n    addValidator(flagKey, getMessageMethod, checkMethod) {\n      const obj = {\n        flagKey,\n        getMessageMethod,\n        checkMethod\n      };\n      this._validators.push(obj);\n      return obj;\n    }\n    removeValidator(validator) {\n      const index = this._validators.indexOf(validator);\n      if (index !== -1) {\n        this._validators.splice(index, 1);\n      }\n    }\n    /**\n     * @method addFormControlElement\n     * @description Important notice if adding a native form control then ensure that its value and thereby validity is updated when value is changed from the outside.\n     * @param element {NativeFormControlElement} - element to validate and include as part of this form association.\n     */\n    addFormControlElement(element) {\n      this._formCtrlElements.push(element);\n    }\n    /**\n     * @method setCustomValidity\n     * @description Set custom validity state, set to empty string to remove the custom message.\n     * @param message {string} - The message to be shown\n     * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity|HTMLObjectElement:setCustomValidity}\n     */\n    setCustomValidity(message) {\n      if (this._customValidityObject) {\n        this.removeValidator(this._customValidityObject);\n      }\n      if (message != null && message !== \"\") {\n        this._customValidityObject = this.addValidator(\n          \"customError\",\n          () => message,\n          () => true\n        );\n      }\n      this._runValidators();\n    }\n    _runValidators() {\n      this._validityState = {};\n      this._formCtrlElements.forEach((formCtrlEl) => {\n        for (const key in formCtrlEl.validity) {\n          if (key !== \"valid\" && formCtrlEl.validity[key]) {\n            this._validityState[key] = true;\n            this._internals.setValidity(\n              this._validityState,\n              formCtrlEl.validationMessage,\n              formCtrlEl\n            );\n          }\n        }\n      });\n      this._validators.forEach((validator) => {\n        if (validator.checkMethod()) {\n          this._validityState[validator.flagKey] = true;\n          this._internals.setValidity(\n            this._validityState,\n            validator.getMessageMethod(),\n            this.getFormElement()\n          );\n        }\n      });\n      const hasError = Object.values(this._validityState).includes(true);\n      this._validityState.valid = !hasError;\n      if (hasError) {\n        this.dispatchEvent(\n          new UUIFormControlEvent(UUIFormControlEvent.INVALID)\n        );\n      } else {\n        this._internals.setValidity({});\n        this.dispatchEvent(new UUIFormControlEvent(UUIFormControlEvent.VALID));\n      }\n    }\n    updated(changedProperties) {\n      super.updated(changedProperties);\n      this._runValidators();\n    }\n    submit() {\n      this._form?.requestSubmit();\n    }\n    formAssociatedCallback() {\n      this._removeFormListeners();\n      this._form = this._internals.form;\n      if (this._form) {\n        if (this._form.hasAttribute(\"submit-invalid\")) {\n          this.pristine = false;\n        }\n        this._form.addEventListener(\"submit\", this._onFormSubmit);\n      }\n    }\n    formResetCallback() {\n      this.pristine = true;\n      this.value = this.getAttribute(\"value\") || \"\";\n    }\n    checkValidity() {\n      for (const key in this._formCtrlElements) {\n        if (this._formCtrlElements[key].checkValidity() === false) {\n          return false;\n        }\n      }\n      return this._internals?.checkValidity();\n    }\n    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity\n    get validity() {\n      return this._validityState;\n    }\n    get validationMessage() {\n      return this._internals?.validationMessage;\n    }\n  }\n  /**\n   * This is a static class field indicating that the element is can be used inside a native form and participate in its events.\n   * It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.\n   * Read more about form controls here https://web.dev/more-capable-form-controls/\n   * @type {boolean}\n   */\n  FormControlMixinClass.formAssociated = true;\n  __decorateClass$1([\n    property({ type: String })\n  ], FormControlMixinClass.prototype, \"name\", 2);\n  __decorateClass$1([\n    property()\n  ], FormControlMixinClass.prototype, \"value\", 1);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"pristine\", 2);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"required\", 2);\n  __decorateClass$1([\n    property({ type: String, attribute: \"required-message\" })\n  ], FormControlMixinClass.prototype, \"requiredMessage\", 2);\n  __decorateClass$1([\n    property({ type: Boolean, reflect: true })\n  ], FormControlMixinClass.prototype, \"error\", 2);\n  __decorateClass$1([\n    property({ type: String, attribute: \"error-message\" })\n  ], FormControlMixinClass.prototype, \"errorMessage\", 2);\n  return FormControlMixinClass;\n};\n\nconst findAncestorByAttributeValue = (startNode, attributeName, attributeValue) => {\n  let currentNode = startNode;\n  while (currentNode !== null) {\n    const elementHasAttribute = currentNode instanceof HTMLElement && currentNode.hasAttribute(attributeName) && currentNode.getAttribute(attributeName) === attributeValue;\n    const elementContainsAttribute = currentNode.querySelector(`[${attributeName}=\"${attributeValue}\"]`) !== null;\n    if (elementHasAttribute) {\n      return currentNode;\n    } else if (elementContainsAttribute) {\n      return currentNode.querySelector(\n        `[${attributeName}=\"${attributeValue}\"]`\n      );\n    }\n    currentNode = currentNode.parentElement || currentNode.parentNode || currentNode.host || null;\n  }\n  return null;\n};\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n  __accessCheck(obj, member, \"write to private field\");\n  setter ? setter.call(obj, value) : member.set(obj, value);\n  return value;\n};\nconst PopoverTargetMixin = (superClass) => {\n  var _popoverIsOpen, _popoverListener;\n  class PopoverTargetMixinClass extends superClass {\n    constructor(...args) {\n      super(...args);\n      __privateAdd(this, _popoverIsOpen, false);\n      this._togglePopover = () => {\n        if (!this.popoverContainerElement)\n          return;\n        const popoverContainerElement = findAncestorByAttributeValue(\n          this,\n          \"id\",\n          this.popoverContainerElement\n        );\n        if (!popoverContainerElement)\n          return;\n        __privateGet(this, _popoverIsOpen) ? (\n          // @ts-ignore - This is part of the new popover API, but typescript doesn't recognize it yet.\n          popoverContainerElement.hidePopover()\n        ) : (\n          // @ts-ignore - This is part of the new popover API, but typescript doesn't recognize it yet.\n          popoverContainerElement.showPopover()\n        );\n      };\n      __privateAdd(this, _popoverListener, (event) => {\n        requestAnimationFrame(() => {\n          __privateSet(this, _popoverIsOpen, event.detail.newState === \"open\");\n        });\n      });\n      this.addEventListener(\"uui-popover-before-toggle\", __privateGet(this, _popoverListener));\n    }\n  }\n  _popoverIsOpen = new WeakMap();\n  _popoverListener = new WeakMap();\n  __decorateClass([\n    property({ type: String, attribute: \"popovertarget\" })\n  ], PopoverTargetMixinClass.prototype, \"popoverContainerElement\", 2);\n  return PopoverTargetMixinClass;\n};\n\nexport { ActiveMixin, FormControlMixin, LabelMixin, PopoverTargetMixin, SelectOnlyMixin, SelectableMixin };\n","class UUIEvent extends Event {\n  constructor(evName, eventInit = {}) {\n    super(evName, { ...eventInit });\n    this.detail = eventInit.detail || {};\n  }\n}\n\nclass UUIFormControlEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIFormControlEvent.VALID = \"valid\";\nUUIFormControlEvent.INVALID = \"invalid\";\n\nclass UUISelectableEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, cancelable: true },\n      ...eventInit\n    });\n  }\n}\nUUISelectableEvent.SELECTED = \"selected\";\nUUISelectableEvent.DESELECTED = \"deselected\";\n\nexport { UUIEvent, UUIFormControlEvent, UUISelectableEvent };\n","import { FormControlMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { LitElement, html, css } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIBooleanInputEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIBooleanInputEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nclass UUIBooleanInputElement extends FormControlMixin(\n  LabelMixin(\"\", LitElement)\n) {\n  constructor(inputRole = \"checkbox\") {\n    super();\n    this.labelPosition = \"right\";\n    this._checked = false;\n    this.disabled = false;\n    if (this._value === \"\") {\n      this._value = \"on\";\n    }\n    this.inputRole = inputRole;\n    this.addEventListener(\"keypress\", this._onKeypress);\n  }\n  /** intentional overwrite of FormControlMixins value getter and setter method. */\n  get value() {\n    return this._value;\n  }\n  set value(newVal) {\n    const oldValue = this._value;\n    this._value = newVal;\n    if (\"ElementInternals\" in window && //@ts-ignore\n    \"setFormValue\" in window.ElementInternals.prototype) {\n      this._internals.setFormValue(\n        this._checked && this.name !== \"\" ? this._value : null\n      );\n    }\n    this.requestUpdate(\"value\", oldValue);\n  }\n  // Do not 'reflect' as the attribute is used as fallback.\n  get checked() {\n    return this._checked;\n  }\n  set checked(newVal) {\n    const oldValue = this._checked;\n    this._checked = newVal;\n    this._internals.setFormValue(\n      this._checked && this.name !== \"\" ? this._value ? this._value : \"on\" : null\n    );\n    this.requestUpdate(\"checked\", oldValue);\n  }\n  getFormElement() {\n    return this._input;\n  }\n  _onKeypress(e) {\n    if (e.key == \"Enter\") {\n      this.submit();\n    }\n  }\n  hasValue() {\n    return this.checked;\n  }\n  formResetCallback() {\n    super.formResetCallback();\n    this.checked = this.hasAttribute(\"checked\");\n  }\n  firstUpdated(_changedProperties) {\n    super.firstUpdated(_changedProperties);\n    const labelEl = this.shadowRoot?.querySelector(\"label\");\n    let hadMouseDown = false;\n    this._input.addEventListener(\"blur\", () => {\n      if (hadMouseDown === false) {\n        this.style.setProperty(\"--uui-show-focus-outline\", \"1\");\n      }\n      hadMouseDown = false;\n    });\n    labelEl.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n      hadMouseDown = true;\n    });\n    labelEl.addEventListener(\"mouseup\", () => {\n      hadMouseDown = false;\n    });\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the input\n   */\n  focus() {\n    this._input.focus();\n  }\n  click() {\n    this._input.click();\n  }\n  _onInputChange(e) {\n    e.stopPropagation();\n    this.pristine = false;\n    this.checked = this._input.checked;\n    this.dispatchEvent(new UUIBooleanInputEvent(UUIBooleanInputEvent.CHANGE));\n  }\n  render() {\n    return html`\n      <label>\n        <input\n          id=\"input\"\n          type=\"checkbox\"\n          @change=\"${this._onInputChange}\"\n          .disabled=${this.disabled}\n          .checked=${this.checked}\n          aria-checked=\"${this.checked ? \"true\" : \"false\"}\"\n          aria-label=${this.label}\n          role=\"${this.inputRole}\" />\n        ${this.renderCheckbox()} ${this.renderLabel()}\n      </label>\n    `;\n  }\n}\nUUIBooleanInputElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n      }\n\n      label {\n        cursor: pointer;\n        user-select: none;\n\n        display: flex;\n        flex-wrap: nowrap;\n        align-items: center;\n        justify-items: center;\n        gap: var(--uui-size-3,9px);\n      }\n\n      input {\n        position: absolute;\n        height: 0px;\n        width: 0px;\n        margin-top: -4px;\n      }\n\n      :host([label-position='left']) label {\n        flex-direction: row-reverse;\n      }\n\n      :host([label-position='top']) label {\n        gap: var(--uui-size-half-base-unit);\n        flex-direction: column-reverse;\n      }\n\n      :host([label-position='bottom']) label {\n        gap: var(--uui-size-half-base-unit);\n        flex-direction: column;\n      }\n\n      :host([disabled]) .label {\n        opacity: 0.5;\n      }\n    `\n];\n__decorateClass([\n  property({ type: String, attribute: \"label-position\", reflect: true })\n], UUIBooleanInputElement.prototype, \"labelPosition\", 2);\n__decorateClass([\n  property({ type: Boolean })\n], UUIBooleanInputElement.prototype, \"checked\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIBooleanInputElement.prototype, \"disabled\", 2);\n__decorateClass([\n  query(\"#input\")\n], UUIBooleanInputElement.prototype, \"_input\", 2);\n\nexport { UUIBooleanInputElement, UUIBooleanInputEvent };\n","import{html as t,svg as r}from\"./lit-html.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const e=Symbol.for(\"\"),l=t=>{if((null==t?void 0:t.r)===e)return null==t?void 0:t._$litStatic$},o=t=>({_$litStatic$:t,r:e}),i=(t,...r)=>({_$litStatic$:r.reduce(((r,e,l)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\\n            take care to ensure page security.`)})(e)+t[l+1]),t[0]),r:e}),s=new Map,a=t=>(r,...e)=>{const o=e.length;let i,a;const n=[],u=[];let c,$=0,f=!1;for(;$<o;){for(c=r[$];$<o&&void 0!==(a=e[$],i=l(a));)c+=i+r[++$],f=!0;$!==o&&u.push(a),n.push(c),$++}if($===o&&n.push(r[o]),f){const t=n.join(\"$$lit$$\");void 0===(r=s.get(t))&&(n.raw=n,s.set(t,r=n)),e=u}return t(r,...e)},n=a(t),u=a(r);export{n as html,i as literal,u as svg,o as unsafeStatic,a as withStatic};\n//# sourceMappingURL=static.js.map\n","import { css, LitElement } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property, state } from 'lit/decorators.js';\nimport { UUITextStyles } from '@umbraco-ui/uui-css/lib';\nimport { html, unsafeStatic } from 'lit/static-html.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nfunction slotHasContent(target) {\n  return target ? target.assignedNodes({ flatten: true }).length > 0 : false;\n}\nlet UUIBoxElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.headline = null;\n    this._headlineVariantTag = \"h5\";\n    this._headlineSlotHasContent = false;\n    this._headlineSlotChanged = (e) => {\n      this._headlineSlotHasContent = slotHasContent(e.target);\n    };\n    this._headerSlotHasContent = false;\n    this._headerSlotChanged = (e) => {\n      this._headerSlotHasContent = slotHasContent(e.target);\n    };\n    this._headerActionsSlotHasContent = false;\n    this._headerActionsSlotChanged = (e) => {\n      this._headerActionsSlotHasContent = slotHasContent(e.target);\n    };\n  }\n  set headlineVariant(value) {\n    this._headlineVariantTag = value;\n  }\n  get headlineVariant() {\n    return this._headlineVariantTag;\n  }\n  /**\n   * Renders a header with the `header`-slot, `header-actions`-slot, headline and `headline`-slot within\n   * @returns {TemplateResult}\n   * @protected\n   * @method\n   */\n  renderHeader() {\n    return html`<div\n      id=\"header\"\n      class=\"uui-text\"\n      style=${this._headerSlotHasContent || this._headlineSlotHasContent || this._headerActionsSlotHasContent || this.headline !== null ? \"\" : \"display: none\"}>\n      <${unsafeStatic(this._headlineVariantTag)}\n        id=\"headline\"\n        class=\"uui-h5\"\n        style=${this._headlineSlotHasContent || this.headline !== null ? \"\" : \"display: none\"}>\n        ${this.headline}\n        <slot name=\"headline\" @slotchange=${this._headlineSlotChanged}></slot>\n      </${unsafeStatic(this._headlineVariantTag)}>\n      <slot name=\"header\" @slotchange=${this._headerSlotChanged}></slot>\n      <slot name=\"header-actions\" @slotchange=${this._headerActionsSlotChanged}></slot>\n    </div>`;\n  }\n  render() {\n    return html`\n      ${this.renderHeader()}\n      <slot></slot>\n    `;\n  }\n};\nUUIBoxElement.styles = [\n  UUITextStyles,\n  css`\n      :host {\n        display: block;\n        box-shadow: var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,0.12) , 0 1px 2px rgba(0,0,0,0.24));\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-surface,#fff);\n      }\n\n      #header {\n        display: flex;\n        column-gap: var(--uui-size-space-5,18px);\n        border-bottom: 1px solid var(--uui-color-divider-standalone,#e9e9eb);\n        padding: var(\n          --uui-box-header-padding,\n          var(--uui-size-space-4,12px) var(--uui-size-space-5,18px)\n        );\n      }\n\n      slot:not([name]) {\n        display: block;\n        padding: var(--uui-box-default-padding, var(--uui-size-space-5,18px));\n      }\n\n      slot[name='header-actions'] {\n        display: block;\n        margin-left: auto;\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIBoxElement.prototype, \"headline\", 2);\n__decorateClass([\n  property({ attribute: \"headline-variant\" })\n], UUIBoxElement.prototype, \"headlineVariant\", 1);\n__decorateClass([\n  state()\n], UUIBoxElement.prototype, \"_headlineVariantTag\", 2);\n__decorateClass([\n  state()\n], UUIBoxElement.prototype, \"_headlineSlotHasContent\", 2);\n__decorateClass([\n  state()\n], UUIBoxElement.prototype, \"_headerSlotHasContent\", 2);\n__decorateClass([\n  state()\n], UUIBoxElement.prototype, \"_headerActionsSlotHasContent\", 2);\nUUIBoxElement = __decorateClass([\n  defineElement(\"uui-box\")\n], UUIBoxElement);\n\nexport { UUIBoxElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nlet UUIBreadcrumbItemElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.href = \"#\";\n    this.lastItem = false;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"listitem\");\n  }\n  renderLinkAndSeparator() {\n    return html`<a id=\"link\" href=${this.href}><slot></slot></a\n      ><span part=\"separator\"></span>`;\n  }\n  renderCurrent() {\n    return html`<span id=\"last-item\"><slot></slot></span>`;\n  }\n  render() {\n    return html`${this.lastItem ? this.renderCurrent() : this.renderLinkAndSeparator()}`;\n  }\n};\nUUIBreadcrumbItemElement.styles = [\n  css`\n      :host {\n        font-size: var(--uui-type-small-size,12px);\n        color: currentColor;\n      }\n\n      a,\n      a:visited {\n        color: currentColor;\n      }\n      a:hover {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n      a:focus {\n        color: var(--uui-color-focus,#3879ff);\n      }\n\n      [part='separator']::after {\n        content: '/';\n        speak: never;\n        position: relative;\n        top: 1px;\n        margin: -3px 1px 0;\n        color: var(--uui-color-border,#d8d7d9);\n      }\n\n      #link,\n      #last-item {\n        padding: 0 4px;\n        max-width: 150px;\n        white-space: nowrap;\n        overflow: hidden;\n        text-overflow: ellipsis;\n      }\n\n      #link {\n        cursor: pointer;\n      }\n    `\n];\n__decorateClass$1([\n  property()\n], UUIBreadcrumbItemElement.prototype, \"href\", 2);\n__decorateClass$1([\n  property({ type: Boolean, attribute: \"last-item\" })\n], UUIBreadcrumbItemElement.prototype, \"lastItem\", 2);\nUUIBreadcrumbItemElement = __decorateClass$1([\n  defineElement(\"uui-breadcrumb-item\")\n], UUIBreadcrumbItemElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIBreadcrumbsElement = class extends LitElement {\n  elementIsBreadcrumbItem(el) {\n    return el instanceof UUIBreadcrumbItemElement;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"aria-label\", \"breadcrumb\");\n    this.setAttribute(\"role\", \"navigation\");\n  }\n  handleSlotChange() {\n    if (this.slotNodes.length > 0) {\n      const lastItem = this.slotNodes[this.slotNodes.length - 1];\n      lastItem.setAttribute(\"aria-current\", \"page\");\n      if (this.elementIsBreadcrumbItem(lastItem)) {\n        lastItem.lastItem = true;\n      }\n    }\n  }\n  render() {\n    return html`<ol id=\"breadcrumbs-list\">\n      <slot @slotchange=${this.handleSlotChange}></slot>\n    </ol>`;\n  }\n};\nUUIBreadcrumbsElement.styles = [\n  css`\n      :host {\n        display: flex;\n      }\n\n      #breadcrumbs-list {\n        display: flex;\n        list-style-type: decimal;\n        margin-block-start: 0em;\n        margin-block-end: 0em;\n        margin-inline-start: 0px;\n        margin-inline-end: 0px;\n        padding-inline-start: 0px;\n      }\n    `\n];\n__decorateClass([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-breadcrumb-item, [uui-breadcrumb-item], [role=listitem]\"\n  })\n], UUIBreadcrumbsElement.prototype, \"slotNodes\", 2);\nUUIBreadcrumbsElement = __decorateClass([\n  defineElement(\"uui-breadcrumbs\")\n], UUIBreadcrumbsElement);\n\nexport { UUIBreadcrumbItemElement, UUIBreadcrumbsElement };\n","import { css, unsafeCSS } from 'lit';\n\nconst UUIBlinkKeyframes = css`\n  @keyframes uui-blink {\n    0%,\n    100% {\n      opacity: 0.5;\n    }\n    50% {\n      opacity: 1;\n    }\n  }\n`;\nconst UUIBlinkAnimationValue = unsafeCSS(\"uui-blink 0.9s infinite both\");\n\nconst UUIHorizontalPulseKeyframes = css`\n  @keyframes pulse {\n    0% {\n      -webkit-transform: translate(-50%, -50%) scale(0.2);\n      transform: translate(-50%, -50%) scale(0.2);\n      opacity: 0.9;\n    }\n    80% {\n      -webkit-transform: translate(-50%, -50%) scale(1.2);\n      transform: translate(-50%, -50%) scale(1.2);\n      opacity: 0;\n    }\n    100% {\n      -webkit-transform: translate(-50%, -50%) scale(2.2);\n      transform: translate(-50%, -50%) scale(2.2);\n      opacity: 0;\n    }\n  }\n`;\nconst UUIHorizontalPulseAnimationValue = unsafeCSS(\n  \"pulse 0.8s ease-in-out infinite both\"\n);\n\nconst UUIHorizontalShakeKeyframes = css`\n  @keyframes uui-horizontal-shake {\n    10%,\n    90% {\n      transform: translateX(-1px);\n    }\n\n    20%,\n    80% {\n      transform: translateX(1px);\n    }\n\n    30%,\n    50%,\n    70% {\n      transform: translateX(-2px);\n    }\n\n    40%,\n    60% {\n      transform: translateX(2px);\n    }\n  }\n`;\nconst UUIHorizontalShakeAnimationValue = unsafeCSS(\n  \"uui-horizontal-shake 600ms ease backwards\"\n);\n\nexport { UUIBlinkAnimationValue, UUIBlinkKeyframes, UUIHorizontalPulseAnimationValue, UUIHorizontalPulseKeyframes, UUIHorizontalShakeAnimationValue, UUIHorizontalShakeKeyframes };\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import{noChange as t}from\"../lit-html.js\";import{directive as e,Directive as r,PartType as s}from\"../directive.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const i=\"important\",n=\" !\"+i,o=e(class extends r{constructor(t){var e;if(super(t),t.type!==s.ATTRIBUTE||\"style\"!==t.name||(null===(e=t.strings)||void 0===e?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 s=t[r];return null==s?e:e+`${r=r.includes(\"-\")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,\"-$&\").toLowerCase()}:${s};`}),\"\")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ht){this.ht=new Set;for(const t in r)this.ht.add(t);return this.render(r)}this.ht.forEach((t=>{null==r[t]&&(this.ht.delete(t),t.includes(\"-\")?s.removeProperty(t):s[t]=\"\")}));for(const t in r){const e=r[t];if(null!=e){this.ht.add(t);const r=\"string\"==typeof e&&e.endsWith(n);t.includes(\"-\")||r?s.setProperty(t,r?e.slice(0,-11):e,r?i:\"\"):s[t]=e}}return t}});export{o as styleMap};\n//# sourceMappingURL=style-map.js.map\n","import{nothing as t}from\"../lit-html.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const l=l=>null!=l?l:t;export{l as ifDefined};\n//# sourceMappingURL=if-defined.js.map\n","import { UUIBlinkKeyframes, UUIBlinkAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { state, property } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIButtonInlineCreateEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, composed: true },\n      ...eventInit\n    });\n  }\n}\nUUIButtonInlineCreateEvent.CLICK = \"click\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _renderContent, renderContent_fn, _renderLink, renderLink_fn, _renderButton, renderButton_fn;\nlet UUIButtonInlineCreateElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _renderContent);\n    __privateAdd(this, _renderLink);\n    __privateAdd(this, _renderButton);\n    this._position = 0;\n    this.vertical = false;\n  }\n  _onMouseMove(e) {\n    this._position = (this.vertical ? e.offsetY : e.offsetX) - 5;\n  }\n  _handleClick(e) {\n    e.preventDefault();\n    e.stopImmediatePropagation();\n    e.target?.blur?.();\n    this.dispatchEvent(\n      new UUIButtonInlineCreateEvent(UUIButtonInlineCreateEvent.CLICK)\n    );\n  }\n  render() {\n    return this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this);\n  }\n};\n_renderContent = new WeakSet();\nrenderContent_fn = function() {\n  return html`\n      <div\n        id=\"plus\"\n        style=${styleMap({\n    left: this.vertical ? \"\" : this._position + \"px\",\n    top: this.vertical ? this._position + \"px\" : \"\"\n  })}>\n        <svg\n          id=\"plus-icon\"\n          xmlns=\"http://www.w3.org/2000/svg\"\n          viewBox=\"0 0 512 512\">\n          <path\n            d=\"M420.592 214.291H296.104V89.804h-83.102v124.487H88.518v83.104h124.484v124.488h83.102V297.395h124.488z\" />\n        </svg>\n      </div>\n    `;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`<a\n      id=\"button-wrapper\"\n      @mousemove=${this._onMouseMove}\n      href=${ifDefined(this.href)}\n      target=${ifDefined(this.target || void 0)}\n      rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}\n      aria-label=${this.label ? this.label : \"create new element\"}>\n      ${__privateMethod(this, _renderContent, renderContent_fn).call(this)}\n    </a>`;\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`\n      <button\n        id=\"button-wrapper\"\n        @mousemove=${this._onMouseMove}\n        @click=${this._handleClick}\n        aria-label=${this.label ? this.label : \"create new element\"}>\n        ${__privateMethod(this, _renderContent, renderContent_fn).call(this)}\n      </button>\n    `;\n};\nUUIButtonInlineCreateElement.styles = [\n  UUIBlinkKeyframes,\n  css`\n      :host {\n        display: flex;\n        position: relative;\n        z-index: 1;\n      }\n\n      :host(:not([vertical])) {\n        height: 20px;\n        width: 100%;\n        margin: -10px 0;\n      }\n\n      :host([vertical]) {\n        height: 100%;\n        width: 20px;\n        margin: 0 -10px;\n      }\n\n      #button-wrapper {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n\n        position: absolute;\n        z-index: 1;\n        outline: 0;\n        transition: opacity 0.24s;\n        display: inline-flex;\n        width: 100%;\n        border: none;\n        height: 100%;\n        padding: 0;\n\n        text-decoration: none;\n        background: transparent;\n        color: currentColor;\n\n        cursor: pointer;\n        -webkit-appearance: none;\n        -moz-appearance: none;\n\n        opacity: 0;\n      }\n\n      :host(:focus) #button-wrapper,\n      :host(:focus-within) #button-wrapper,\n      :host(:hover) #button-wrapper {\n        opacity: 1;\n      }\n\n      :host(:focus) #button-wrapper:before,\n      :host(:focus-within) #button-wrapper:before,\n      :host(:hover) #button-wrapper:before {\n        animation: ${UUIBlinkAnimationValue};\n        background-color: var(--uui-color-interactive-emphasis,#3544b1);\n        border-color: var(--uui-color-surface,#fff) !important;\n      }\n\n      #button-wrapper:before {\n        content: '';\n        position: absolute;\n        right: 0;\n        left: 0;\n        height: 2px;\n        background-color: transparent;\n        border-top: 1px solid transparent;\n        border-bottom: 1px solid transparent;\n        border-radius: 2px;\n        pointer-events: none;\n        transition:\n          background-color 720ms ease-out,\n          border-color 240ms;\n      }\n\n      :host(:not([vertical])) #button-wrapper:before {\n        top: 50%;\n        transform: translateY(-50%);\n      }\n\n      :host([vertical]) #button-wrapper:before {\n        height: 100%;\n        width: 2px;\n        left: 50%;\n        transform: translateX(-50%);\n        border-top: none;\n        border-bottom: none;\n        border-left: 1px solid transparent;\n        border-right: 1px solid transparent;\n      }\n\n      :host(:not([vertical]):not(:hover)) #plus:not(:focus) {\n        left: calc(50% - 2px) !important;\n      }\n\n      :host([vertical]:not(:hover)) #plus:not(:focus) {\n        top: calc(50% - 2px) !important;\n      }\n\n      #plus {\n        position: absolute;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        pointer-events: none;\n        box-sizing: border-box;\n        width: 28px;\n        height: 28px;\n        border-radius: 3em;\n        font-size: 14px;\n        border: 2px solid var(--uui-color-interactive-emphasis,#3544b1);\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n        background-color: var(--uui-color-surface,#fff);\n\n        opacity: 0;\n        transform: scale(0);\n        transition:\n          transform 240ms ease-in,\n          opacity 240ms,\n          left 100ms linear 150ms,\n          top 100ms linear 150ms;\n      }\n      :host(:focus) #plus,\n      :host(:focus-within) #plus,\n      :host(:hover) #plus {\n        opacity: 1;\n        transform: scale(1);\n        transition:\n          transform 240ms cubic-bezier(0.175, 0.885, 0.32, 1.275),\n          opacity 80ms,\n          box-shadow 240ms cubic-bezier(0.175, 0.885, 0.32, 1.275);\n        box-shadow: 0 0 0 2px var(--uui-color-surface,#fff);\n      }\n\n      :host(:not([vertical])) #plus {\n        margin-left: -18px;\n      }\n\n      :host([vertical]) #plus {\n        left: -4px;\n        margin-top: -18px;\n      }\n\n      #button-wrapper:focus #plus {\n        /* TODO: implement focus outline system */\n        border: 2px solid var(--uui-color-focus,#3879ff);\n        color: var(--uui-color-focus,#3879ff);\n      }\n\n      #plus-icon {\n        width: 50%;\n        fill: currentColor;\n      }\n\n      #button-wrapper:active #plus {\n        transform: scale(1.1);\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIButtonInlineCreateElement.prototype, \"_position\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIButtonInlineCreateElement.prototype, \"label\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIButtonInlineCreateElement.prototype, \"vertical\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIButtonInlineCreateElement.prototype, \"href\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIButtonInlineCreateElement.prototype, \"target\", 2);\nUUIButtonInlineCreateElement = __decorateClass([\n  defineElement(\"uui-button-inline-create\")\n], UUIButtonInlineCreateElement);\n\nexport { UUIButtonInlineCreateElement, UUIButtonInlineCreateEvent };\n","class Timer {\n  constructor(_callback, duration) {\n    this._callback = _callback;\n    this._timerId = null;\n    this._remaining = null;\n    this._onComplete = () => {\n      this._remaining = null;\n      this._callback();\n    };\n    this.setDuration(duration);\n  }\n  setDuration(duration) {\n    this._duration = duration;\n    if (this._timerId !== null) {\n      this.restart();\n    }\n  }\n  /** starts the timer */\n  start() {\n    if (this._timerId === null) {\n      this.resume();\n    }\n  }\n  /** restarts the timer by setting remaining time to duration. */\n  restart() {\n    this._remaining = this._duration;\n    this.resume();\n  }\n  pause() {\n    if (this._timerId !== null) {\n      window.clearTimeout(this._timerId);\n      this._timerId = null;\n      if (this._remaining !== null) {\n        this._remaining -= Date.now() - this._startTime;\n      }\n    }\n  }\n  resume() {\n    if (this._timerId !== null) {\n      window.clearTimeout(this._timerId);\n    }\n    if (this._remaining === null) {\n      this._remaining = this._duration;\n    }\n    this._startTime = Date.now();\n    this._timerId = window.setTimeout(this._onComplete, this._remaining);\n  }\n  destroy() {\n    this.pause();\n  }\n}\n\nconst demandCustomElement = (requester, elementName, message = `This element has to be present for ${requester.nodeName} to work appropriate.`) => {\n  if (!customElements.get(elementName)) {\n    console.warn(\n      `%c ${requester.nodeName} requires ${elementName} element to be registered!`,\n      \"font-weight: bold;\",\n      message,\n      requester\n    );\n  }\n};\n\nconst drag = (container, options) => {\n  function move(event) {\n    const dims = container.getBoundingClientRect();\n    const defaultView = container.ownerDocument.defaultView;\n    const offsetX = dims.left + defaultView.scrollX;\n    const offsetY = dims.top + defaultView.scrollY;\n    let pointerEvent;\n    if (event instanceof TouchEvent) {\n      pointerEvent = event.touches[0];\n    } else {\n      pointerEvent = event;\n    }\n    const x = pointerEvent.pageX - offsetX;\n    const y = pointerEvent.pageY - offsetY;\n    if (options?.onMove) {\n      options.onMove(x, y);\n    }\n  }\n  function stop() {\n    document.removeEventListener(\"pointermove\", move);\n    document.removeEventListener(\"pointerup\", stop);\n    if (options?.onStop) {\n      options.onStop();\n    }\n  }\n  document.addEventListener(\"pointermove\", move, { passive: true });\n  document.addEventListener(\"pointerup\", stop);\n  if (options?.initialEvent) {\n    move(options.initialEvent);\n  }\n};\n\nconst clamp = (value, min, max) => {\n  return Math.min(Math.max(value, min), max);\n};\nconst reverseNumberInRange = (num, min, max) => {\n  return max + min - num;\n};\nconst toHex = (value) => {\n  const hex = Math.round(value).toString(16);\n  return hex.length === 1 ? `0${hex}` : hex;\n};\n\nconst findAncestorByAttributeValue = (startNode, attributeName, attributeValue) => {\n  let currentNode = startNode;\n  while (currentNode !== null) {\n    const elementHasAttribute = currentNode instanceof HTMLElement && currentNode.hasAttribute(attributeName) && currentNode.getAttribute(attributeName) === attributeValue;\n    const elementContainsAttribute = currentNode.querySelector(`[${attributeName}=\"${attributeValue}\"]`) !== null;\n    if (elementHasAttribute) {\n      return currentNode;\n    } else if (elementContainsAttribute) {\n      return currentNode.querySelector(\n        `[${attributeName}=\"${attributeValue}\"]`\n      );\n    }\n    currentNode = currentNode.parentElement || currentNode.parentNode || currentNode.host || null;\n  }\n  return null;\n};\n\nfunction slotHasContent(target) {\n  return target ? target.assignedNodes({ flatten: true }).length > 0 : false;\n}\n\nexport { Timer, clamp, demandCustomElement, drag, findAncestorByAttributeValue, reverseNumberInRange, slotHasContent, toHex };\n","import { svg } from 'lit';\n\nconst iconAdd = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\"/><path d=\"M12 5v14\"/></svg>`;\n\nconst iconAlert = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\" /><path d=\"M12 9v4\" /><path d=\"M12 17h.01\" /></svg>`;\n\nconst iconAttachment = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48\" /></svg>`;\n\nconst iconCalendar = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" ry=\"2\" /><line x1=\"16\" x2=\"16\" y1=\"2\" y2=\"6\" /><line x1=\"8\" x2=\"8\" y1=\"2\" y2=\"6\" /><line x1=\"3\" x2=\"21\" y1=\"10\" y2=\"10\" /><path d=\"M8 14h.01\" /><path d=\"M12 14h.01\" /><path d=\"M16 14h.01\" /><path d=\"M8 18h.01\" /><path d=\"M12 18h.01\" /><path d=\"M16 18h.01\" /></svg>`;\n\nconst iconCheck = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\" /></svg>`;\n\nconst iconClipboard = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\" /><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\" /></svg>`;\n\nconst iconCode = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"16 18 22 12 16 6\" /><polyline points=\"8 6 2 12 8 18\" /></svg>`;\n\nconst iconColorPicker = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m2 22 1-1h3l9-9\" /><path d=\"M3 21v-3l9-9\" /><path d=\"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z\" /></svg>`;\n\nconst iconCopy = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z\" /><path d=\"M3 7.6v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8\" /><path d=\"M15 2v5h5\" /></svg>`;\n\nconst iconDelete = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 6h18\" /><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\" /><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\" /><line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\" /><line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\" /></svg>`;\n\nconst iconDocument = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z\" /><polyline points=\"14 2 14 8 20 8\" /></svg>`;\n\nconst iconDownload = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" /><polyline points=\"7 10 12 15 17 10\" /><line x1=\"12\" x2=\"12\" y1=\"15\" y2=\"3\" /></svg>`;\n\nconst iconEdit = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z\" /><path d=\"m15 5 4 4\" /></svg>`;\n\nconst iconFavorite = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z\" /></svg>`;\n\nconst iconFolder = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\" /><path d=\"M2 10h20\" /></svg>`;\n\nconst iconForbidden = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2\" /><path d=\"m15 9-6 6\" /><path d=\"m9 9 6 6\" /></svg>`;\n\nconst iconInfo = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M12 16v-4\" /><path d=\"M12 8h.01\" /></svg>`;\n\nconst iconLink = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" /><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" /></svg>`;\n\nconst iconLock = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 10 0v4\" /></svg>`;\n\nconst iconPause = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"4\" height=\"16\" x=\"6\" y=\"4\" /><rect width=\"4\" height=\"16\" x=\"14\" y=\"4\" /></svg>`;\n\nconst iconPicture = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\" /></svg>`;\n\nconst iconPlay = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"5 3 19 12 5 21 5 3\" /></svg>`;\n\nconst iconRemove = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6 6 18\" /><path d=\"m6 6 12 12\" /></svg>`;\n\nconst iconSearch = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\" /><path d=\"m21 21-4.3-4.3\" /></svg>`;\n\nconst iconSee = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" /></svg>`;\n\nconst iconSettings = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" /></svg>`;\n\nconst iconSubtract = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\" /></svg>`;\n\nconst iconSync = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" /><path d=\"M8 16H3v5\" /></svg>`;\n\nconst iconUnlock = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 9.9-1\" /></svg>`;\n\nconst iconUnsee = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.88 9.88a3 3 0 1 0 4.24 4.24\" /><path d=\"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68\" /><path d=\"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61\" /><line x1=\"2\" x2=\"22\" y1=\"2\" y2=\"22\" /></svg>`;\n\nconst iconWand = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 4V2\" /><path d=\"M15 16v-2\" /><path d=\"M8 9h2\" /><path d=\"M20 9h2\" /><path d=\"M17.8 11.8 19 13\" /><path d=\"M15 9h0\" /><path d=\"M17.8 6.2 19 5\" /><path d=\"m3 21 9-9\" /><path d=\"M12.2 6.2 11 5\" /></svg>`;\n\nconst iconWrong = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"m15 9-6 6\" /><path d=\"m9 9 6 6\" /></svg>`;\n\nexport { iconAdd, iconAlert, iconAttachment, iconCalendar, iconCheck, iconClipboard, iconCode, iconColorPicker, iconCopy, iconDelete, iconDocument, iconDownload, iconEdit, iconFavorite, iconFolder, iconForbidden, iconInfo, iconLink, iconLock, iconPause, iconPicture, iconPlay, iconRemove, iconSearch, iconSee, iconSettings, iconSubtract, iconSync, iconUnlock, iconUnsee, iconWand, iconWrong };\n","import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { FormControlMixin, LabelMixin, PopoverTargetMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { iconWrong, iconCheck } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { LitElement, nothing, html, css } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIButtonElement = class extends FormControlMixin(\n  LabelMixin(\"\", PopoverTargetMixin(LitElement))\n) {\n  constructor() {\n    super();\n    this.type = \"button\";\n    this.disabled = false;\n    this.look = \"default\";\n    this.color = \"default\";\n    this.compact = false;\n    this.state = void 0;\n    this.addEventListener(\"click\", this._onHostClick);\n  }\n  getFormElement() {\n    return this._button;\n  }\n  _onHostClick(e) {\n    if (this.disabled) {\n      e.preventDefault();\n      e.stopImmediatePropagation();\n      return;\n    }\n    if (this._internals?.form) {\n      switch (this.type) {\n        case \"reset\":\n          this._internals.form.reset();\n          break;\n        case \"button\":\n          break;\n        default:\n          if (this._internals.form.requestSubmit) {\n            this._internals.form.requestSubmit();\n          } else {\n            this._internals.form.dispatchEvent(new SubmitEvent(\"submit\"));\n          }\n          break;\n      }\n    }\n    this._togglePopover();\n  }\n  // Reset the state after 2sec if it is 'success' or 'failed'.\n  updated(changedProperties) {\n    super.updated(changedProperties);\n    if (changedProperties.has(\"state\")) {\n      clearTimeout(this._resetStateTimeout);\n      if (this.state === \"success\" || this.state === \"failed\") {\n        this._resetStateTimeout = setTimeout(\n          () => this.state = void 0,\n          2e3\n        );\n      }\n    }\n  }\n  renderState() {\n    let element;\n    switch (this.state) {\n      case \"waiting\":\n        demandCustomElement(this, \"uui-loader-circle\");\n        element = html`<uui-loader-circle id=\"loader\"></uui-loader-circle>`;\n        break;\n      case \"success\":\n        demandCustomElement(this, \"uui-icon\");\n        element = html`<uui-icon\n          name=\"check\"\n          .fallback=${iconCheck.strings[0]}></uui-icon>`;\n        break;\n      case \"failed\":\n        demandCustomElement(this, \"uui-icon\");\n        element = html`<uui-icon\n          name=\"wrong\"\n          .fallback=${iconWrong.strings[0]}></uui-icon>`;\n        break;\n      default:\n        return nothing;\n    }\n    return html`<div id=\"state\">${element}</div>`;\n  }\n  render() {\n    return this.href ? html`\n          <a\n            id=\"button\"\n            aria-label=${ifDefined(this.label)}\n            href=${ifDefined(!this.disabled ? this.href : void 0)}\n            target=${ifDefined(this.target || void 0)}\n            rel=${ifDefined(\n      this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n    )}>\n            ${this.renderState()} ${this.renderLabel()}\n            <slot name=\"extra\"></slot>\n          </a>\n        ` : html`\n          <button\n            id=\"button\"\n            ?disabled=${this.disabled}\n            aria-label=${ifDefined(this.label)}>\n            ${this.renderState()} ${this.renderLabel()}\n            <slot name=\"extra\"></slot>\n          </button>\n        `;\n  }\n};\nUUIButtonElement.styles = [\n  UUIHorizontalShakeKeyframes,\n  css`\n      :host {\n        position: relative;\n        display: inline-flex;\n        margin-left: calc(var(--uui-button-merge-border-left, 0) * -1px);\n        --uui-button-padding-left-factor: 3;\n        --uui-button-padding-right-factor: 3;\n        --uui-button-padding-top-factor: 1;\n        --uui-button-padding-bottom-factor: 1;\n\n        min-height: var(--uui-button-height, var(--uui-size-11,33px));\n        max-height: 100%;\n        cursor: pointer;\n\n        text-align: center;\n        font-size: var(--uui-button-font-size, inherit);\n        font-weight: var(--uui-button-font-weight, 500);\n        transition:\n          background-color 80ms,\n          border-color 80ms,\n          color 80ms;\n      }\n\n      :host([compact]) {\n        --uui-button-padding-left-factor: 1;\n        --uui-button-padding-right-factor: 1;\n        --uui-button-padding-top-factor: 0;\n        --uui-button-padding-bottom-factor: 0;\n      }\n\n      .label {\n        line-height: normal; /** needed to reset 'a > span' */\n        display: block;\n        transition: opacity 120ms;\n      }\n      :host([state]:not([state=''])) .label {\n        opacity: 0;\n      }\n\n      #state {\n        position: absolute;\n        opacity: 0;\n        animation-name: fadeIn;\n        animation-delay: 40ms;\n        animation-duration: 360ms;\n        animation-fill-mode: forwards;\n        display: flex;\n        justify-content: center;\n        width: 100%;\n        height: 100%;\n        align-items: center;\n      }\n\n      #button {\n        width: 100%;\n        background-color: transparent;\n        color: inherit;\n        font-size: inherit;\n        border-radius: inherit;\n        font-family: inherit;\n        font-weight: inherit;\n        text-align: inherit;\n        border: none;\n        cursor: inherit;\n\n        display: inline-flex;\n        align-items: center;\n        justify-content: var(--uui-button-content-align, center);\n\n        /* for anchor tag: */\n        text-decoration: none;\n        color: currentColor;\n        line-height: inherit;\n\n        border-width: var(--uui-button-border-width, 1px);\n        border-style: solid;\n        border-radius: var(\n          --uui-button-border-radius,\n          var(--uui-border-radius,3px)\n        );\n        cursor: pointer;\n\n        padding: calc(var(--uui-size-2,6px) * var(--uui-button-padding-top-factor))\n          calc(var(--uui-size-2,6px) * var(--uui-button-padding-right-factor))\n          calc(var(--uui-size-2,6px) * var(--uui-button-padding-bottom-factor))\n          calc(var(--uui-size-2,6px) * var(--uui-button-padding-left-factor));\n\n        box-shadow: none;\n      }\n      button[disabled]:active,\n      a:not([href]):active {\n        animation: ${UUIHorizontalShakeAnimationValue};\n      }\n      #icon-check,\n      #icon-wrong {\n        display: grid;\n        place-items: center;\n        width: 1.5em;\n      }\n\n      #loader {\n        font-size: 1.5em;\n      }\n      :host([look]:not([look=''])) #loader {\n        color: inherit;\n      }\n\n      /* ANIMATIONS */\n      @keyframes fadeIn {\n        0% {\n          opacity: 0;\n        }\n        100% {\n          opacity: 1;\n        }\n      }\n\n      @keyframes fadeOut {\n        0% {\n          opacity: 1;\n        }\n        100% {\n          opacity: 0;\n        }\n      }\n\n      /* edge case for default color */\n      :host(:not([color]):not([look='primary'])),\n      :host([color='']:not([look='primary'])),\n      :host([color='default']:not([look='primary'])) {\n        --uui-button-contrast-hover: var(--uui-color-default-emphasis,#3544b1);\n      }\n\n      :host([color='warning'][look='outline']) #button,\n      :host([color='warning'][look='placeholder']) #button {\n        --uui-button-contrast-hover: var(--color-standalone);\n      }\n\n      /** Button color attribute: */\n      #button {\n        --color: var(--uui-color-default,#1b264f);\n        --color-standalone: var(--uui-color-default-standalone,rgb(28, 35, 59));\n        --color-emphasis: var(--uui-color-default-emphasis,#3544b1);\n        --color-contrast: var(--uui-color-default-contrast,#fff);\n      }\n      :host([color='positive']) #button {\n        --color: var(--uui-color-positive,#0b8152);\n        --color-standalone: var(--uui-color-positive-standalone,rgb(10, 115, 73));\n        --color-emphasis: var(--uui-color-positive-emphasis,rgb(13, 155, 98));\n        --color-contrast: var(--uui-color-positive-contrast,#fff);\n      }\n      :host([color='warning']) #button {\n        --color: var(--uui-color-warning,#fbd142);\n        --color-standalone: var(--uui-color-warning-standalone,#a17700);\n        --color-emphasis: var(--uui-color-warning-emphasis,rgb(251, 224, 101));\n        --color-contrast: var(--uui-color-warning-contrast,#000);\n      }\n      :host([color='danger']) #button {\n        --color: var(--uui-color-danger,#d42054);\n        --color-standalone: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n        --color-emphasis: var(--uui-color-danger-emphasis,rgb(226, 60, 107));\n        --color-contrast: var(--uui-color-danger-contrast,white);\n      }\n      :host([disabled]) #button {\n        --color: var(--uui-color-disabled,#f3f3f5);\n        --color-standalone: var(--uui-color-disabled-contrast,#c4c4c4);\n        --color-emphasis: var(--uui-color-disabled,#f3f3f5);\n        --color-contrast: var(--uui-color-disabled-contrast,#c4c4c4);\n\n        cursor: default;\n      }\n\n      /** Button look attribute: */\n      /* DEFAULT */\n      #button {\n        background-color: var(--uui-button-background-color, transparent);\n        color: var(--uui-button-contrast, var(--color-standalone));\n        border-color: var(--uui-button-border-color, transparent);\n      }\n      :host(:not([disabled]):hover) #button {\n        background-color: var(\n          --uui-button-background-color-hover,\n          var(--uui-color-surface-emphasis,rgb(250, 250, 250))\n        );\n        color: var(--uui-button-contrast-hover, var(--color-standalone));\n        border-color: var(--uui-button-border-color-hover, transparent);\n      }\n      :host([disabled]) #button {\n        background-color: var(\n          --uui-button-background-color-disabled,\n          transparent\n        );\n        color: var(--uui-button-contrast-disabled, var(--color-contrast));\n        border-color: var(--uui-button-border-color-disabled, transparent);\n      }\n\n      /* PRIMARY */\n      :host([look='primary']) #button {\n        background-color: var(--uui-button-background-color, var(--color));\n        color: var(--uui-button-contrast, var(--color-contrast));\n        border-color: var(--uui-button-border-color, transparent);\n\n        /* special for primary: */\n        font-weight: var(--uui-button-font-weight, 700);\n      }\n      :host([look='primary']:hover) #button {\n        background-color: var(\n          --uui-button-background-color-hover,\n          var(--color-emphasis)\n        );\n        color: var(--uui-button-contrast-hover, var(--color-contrast));\n        border-color: var(--uui-button-border-color-hover, transparent);\n      }\n      :host([look='primary'][disabled]) #button {\n        background-color: var(\n          --uui-button-background-color-disabled,\n          var(--color)\n        );\n        color: var(--uui-button-contrast-disabled, var(--color-contrast));\n        border-color: var(--uui-button-border-color-disabled, var(--color));\n      }\n      /* SECONDARY */\n      :host([look='secondary']) #button {\n        background-color: var(\n          --uui-button-background-color,\n          var(--uui-color-surface-alt,#f3f3f5)\n        );\n        color: var(--uui-button-contrast, var(--color-standalone));\n        border-color: var(--uui-button-border-color, transparent);\n\n        /* special for secondary: */\n        font-weight: var(--uui-button-font-weight, 700);\n      }\n      :host([look='secondary']:hover) #button {\n        background-color: var(\n          --uui-button-background-color-hover,\n          var(--uui-color-surface-emphasis,rgb(250, 250, 250))\n        );\n        color: var(--uui-button-contrast-hover, var(--color-standalone));\n        border-color: var(--uui-button-border-color-hover, transparent);\n      }\n      :host([look='secondary'][disabled]) #button {\n        background-color: var(\n          --uui-button-background-color-disabled,\n          var(--color)\n        );\n        color: var(--uui-button-contrast-disabled, var(--color-contrast));\n        border-color: var(--uui-button-border-color-disabled, var(--color));\n      }\n\n      /* OUTLINE */\n      :host([look='outline']) #button {\n        background-color: var(--uui-button-background-color, transparent);\n        color: var(--uui-button-contrast, var(--color-standalone));\n        border-color: var(\n          --uui-button-border-color,\n          var(--uui-color-border-standalone,#c2c2c2)\n        );\n\n        /* special for outline: */\n        font-weight: var(--uui-button-font-weight, 700);\n      }\n      :host([look='outline']:not([disabled]):hover) #button {\n        background-color: var(--uui-button-background-color-hover, transparent);\n        color: var(--uui-button-contrast-hover, var(--color-standalone));\n        border-color: var(--uui-button-border-color-hover);\n      }\n      :host([look='outline'][disabled]) #button {\n        background-color: var(\n          --uui-button-background-color-disabled,\n          transparent\n        );\n        color: var(--uui-button-contrast-disabled, var(--color-standalone));\n        border-color: var(\n          --uui-button-border-color-disabled,\n          var(--color-standalone)\n        );\n      }\n\n      /* PLACEHOLDER */\n      :host([look='placeholder']) #button {\n        border-style: dashed;\n        background-color: var(--uui-button-background-color, transparent);\n        color: var(--uui-button-contrast, var(--color-standalone));\n        border-color: var(\n          --uui-button-border-color,\n          var(--uui-color-border-standalone,#c2c2c2)\n        );\n      }\n      :host([look='placeholder']:not([disabled]):hover) #button {\n        background-color: var(--uui-button-background-color-hover, transparent);\n        color: var(--uui-button-contrast-hover, var(--color-standalone));\n        border-color: var(--uui-button-border-color-hover);\n      }\n      :host([look='placeholder'][disabled]) #button {\n        background-color: var(\n          --uui-button-background-color-disabled,\n          var(--color)\n        );\n        color: var(--uui-button-contrast-disabled, var(--color-standalone));\n        border-color: var(\n          --uui-button-border-color-disabled,\n          var(--color-standalone)\n        );\n      }\n    `\n];\n__decorateClass([\n  property({ type: String, reflect: true })\n], UUIButtonElement.prototype, \"type\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIButtonElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ reflect: true })\n], UUIButtonElement.prototype, \"look\", 2);\n__decorateClass([\n  property({ reflect: true })\n], UUIButtonElement.prototype, \"color\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIButtonElement.prototype, \"compact\", 2);\n__decorateClass([\n  property({ type: String, reflect: true })\n], UUIButtonElement.prototype, \"state\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIButtonElement.prototype, \"href\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIButtonElement.prototype, \"target\", 2);\n__decorateClass([\n  query(\"#button\")\n], UUIButtonElement.prototype, \"_button\", 2);\nUUIButtonElement = __decorateClass([\n  defineElement(\"uui-button\")\n], UUIButtonElement);\n\nexport { UUIButtonElement };\n","import { SelectOnlyMixin, SelectableMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUICardEvent extends UUIEvent {\n}\nUUICardEvent.OPEN = \"open\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUICardElement = class extends SelectOnlyMixin(\n  SelectableMixin(LitElement)\n) {\n  constructor() {\n    super(...arguments);\n    this.disabled = false;\n    this.error = false;\n  }\n  // This is deprecated - use href instead\n  handleOpenClick(e) {\n    if (this.disabled)\n      return;\n    e.stopPropagation();\n    this.dispatchEvent(new UUICardEvent(UUICardEvent.OPEN));\n  }\n  // This is deprecated - use href instead\n  handleOpenKeydown(e) {\n    if (this.disabled)\n      return;\n    if (e.key !== \"Enter\")\n      return;\n    e.preventDefault();\n    e.stopPropagation();\n    this.dispatchEvent(new UUICardEvent(UUICardEvent.OPEN));\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUICardElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: flex;\n        width: 100%;\n        justify-content: center;\n        box-sizing: border-box;\n        box-shadow: var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,0.12) , 0 1px 2px rgba(0,0,0,0.24));\n        border-radius: var(--uui-border-radius,3px);\n        min-height: var(--uui-layout-medium);\n        background-color: var(--uui-color-surface,#fff);\n        --uui-card-border-width: 3px;\n        transition: box-shadow 100ms ease-out;\n      }\n\n      :host(*) {\n        /* TODO: implement globally shared outline style */\n        outline-color: var(--uui-color-focus,#3879ff);\n        outline-offset: 4px;\n      }\n\n      :host(*) * {\n        /* TODO: implement globally shared outline style */\n        outline-color: var(--uui-color-focus,#3879ff);\n      }\n\n      :host(:focus) {\n        outline-color: var(--uui-color-focus,#3879ff);\n        outline-width: var(--uui-card-border-width);\n        outline-style: solid;\n        outline-offset: var(--uui-card-border-width);\n      }\n\n      :host([error])::before {\n        content: '';\n        position: absolute;\n        pointer-events: none;\n        inset: 0;\n        width: 100%;\n        height: 100%;\n        z-index: 1;\n        box-sizing: border-box;\n        border: var(--uui-card-border-width) solid var(--uui-color-danger,#d42054);\n        border-radius: var(--uui-border-radius,3px);\n      }\n\n      :host([selectable]) {\n        cursor: pointer;\n      }\n\n      :host([disabled]) {\n        background: var(--uui-color-disabled,#f3f3f5);\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host([selectable])::after {\n        content: '';\n        position: absolute;\n        pointer-events: none;\n        inset: calc(var(--uui-card-border-width) * -1);\n        width: calc(100% + calc(var(--uui-card-border-width) * 2));\n        height: calc(100% + calc(var(--uui-card-border-width) * 2));\n        box-sizing: border-box;\n        border: var(--uui-card-border-width) solid var(--uui-color-selected,#3544b1);\n        border-radius: calc(\n          var(--uui-border-radius,3px) + var(--uui-card-border-width)\n        );\n        transition: opacity 100ms ease-out;\n        opacity: 0;\n      }\n      :host([selectable]:hover)::after {\n        opacity: 0.33;\n      }\n      :host([selectable][selected]:hover)::after {\n        opacity: 0.66;\n      }\n      :host([selectable][selected])::after {\n        opacity: 1;\n      }\n\n      :host([select-only]) *,\n      :host([select-only]) ::slotted(*) {\n        pointer-events: none;\n      }\n\n      a {\n        text-decoration: none;\n        color: inherit;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true, attribute: \"disabled\" })\n], UUICardElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUICardElement.prototype, \"error\", 2);\n__decorateClass([\n  property({ type: String })\n], UUICardElement.prototype, \"href\", 2);\n__decorateClass([\n  property({ type: String })\n], UUICardElement.prototype, \"target\", 2);\nUUICardElement = __decorateClass([\n  defineElement(\"uui-card\")\n], UUICardElement);\n\nexport { UUICardElement, UUICardEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUICardElement } from '@umbraco-ui/uui-card/lib';\nimport { css, html, nothing } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { styleMap } from 'lit/directives/style-map.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _renderButton, renderButton_fn, _renderLink, renderLink_fn;\nlet UUICardBlockTypeElement = class extends UUICardElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _renderButton);\n    __privateAdd(this, _renderLink);\n    this.name = \"\";\n  }\n  render() {\n    return html`\n      <div\n        id=\"portrait\"\n        style=${styleMap({ backgroundColor: this.background })}>\n        <slot></slot>\n      </div>\n      ${this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this)}\n\n      <slot name=\"tag\"></slot>\n      <slot name=\"actions\"></slot>\n    `;\n  }\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`\n      <button\n        id=\"open-part\"\n        tabindex=${this.disabled ? nothing : \"0\"}\n        @click=${this.handleOpenClick}\n        @keydown=${this.handleOpenKeydown}>\n        <strong>${this.name}</strong><small>${this.description}</small>\n      </button>\n    `;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`\n      <a\n        id=\"open-part\"\n        tabindex=${this.disabled ? nothing : \"0\"}\n        href=${ifDefined(!this.disabled ? this.href : void 0)}\n        target=${ifDefined(this.target || void 0)}\n        rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}>\n        <strong>${this.name}</strong><small>${this.description}</small>\n      </a>\n    `;\n};\nUUICardBlockTypeElement.styles = [\n  ...UUICardElement.styles,\n  css`\n      :host {\n        flex-direction: column;\n        justify-content: flex-start;\n      }\n\n      :host(:hover) #info {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      #portrait {\n        background-color: var(--uui-color-surface-alt,#f3f3f5);\n        display: flex;\n        justify-content: center;\n        min-height: 150px;\n        max-height: 150px;\n      }\n\n      slot:not([name])::slotted(*) {\n        align-self: center;\n        font-size: var(--uui-size-8,24px);\n        border-radius: var(--uui-border-radius,3px);\n        object-fit: cover;\n        max-width: 100%;\n        max-height: 100%;\n      }\n\n      #open-part {\n        text-align: left;\n        background-color: var(--uui-color-surface,#fff);\n        cursor: pointer;\n        color: var(--uui-color-interactive,#1b264f);\n        border: none;\n        border-top: 1px solid var(--uui-color-divider,#f6f6f7);\n        border-radius: 0 0 var(--uui-border-radius,3px) var(--uui-border-radius,3px);\n        font-family: inherit;\n        font-size: var(--uui-type-small-size,12px);\n        box-sizing: border-box;\n        padding: var(--uui-size-2,6px) var(--uui-size-4,12px);\n        display: flex;\n        flex-direction: column;\n        line-height: var(--uui-size-6,18px);\n      }\n\n      :host([disabled]) #open-part {\n        pointer-events: none;\n        background: var(--uui-color-disabled,#f3f3f5);\n        color: var(--uui-color-contrast-disabled);\n      }\n\n      #open-part:hover strong {\n        text-decoration: underline;\n      }\n      #open-part:hover {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      :host([image]:not([image=''])) #open-part {\n        transition: opacity 0.5s 0.5s;\n        opacity: 0;\n      }\n      slot[name='tag'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n      }\n\n      slot[name='actions'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host(:focus) slot[name='actions'],\n      :host(:focus-within) slot[name='actions'],\n      :host(:hover) slot[name='actions'] {\n        opacity: 1;\n      }\n\n      :host(\n          [image]:not([image='']):hover,\n          [image]:not([image='']):focus,\n          [image]:not([image='']):focus-within,\n          [selected][image]:not([image='']),\n          [error][image]:not([image=''])\n        )\n        #open-part {\n        opacity: 1;\n        transition-duration: 120ms;\n        transition-delay: 0s;\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUICardBlockTypeElement.prototype, \"name\", 2);\n__decorateClass([\n  property({ type: String })\n], UUICardBlockTypeElement.prototype, \"description\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"background\" })\n], UUICardBlockTypeElement.prototype, \"background\", 2);\nUUICardBlockTypeElement = __decorateClass([\n  defineElement(\"uui-card-block-type\")\n], UUICardBlockTypeElement);\n\nexport { UUICardBlockTypeElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUICardElement } from '@umbraco-ui/uui-card/lib';\nimport { css, html, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _renderButton, renderButton_fn, _renderLink, renderLink_fn;\nlet UUICardContentNodeElement = class extends UUICardElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _renderButton);\n    __privateAdd(this, _renderLink);\n    this.name = \"\";\n    this._iconSlotHasContent = false;\n    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>';\n  }\n  _onSlotIconChange(event) {\n    this._iconSlotHasContent = event.target.assignedNodes({ flatten: true }).length > 0;\n  }\n  _renderFallbackIcon() {\n    demandCustomElement(this, \"uui-icon\");\n    return html`<uui-icon .svg=\"${this.fallbackIcon}\"></uui-icon>`;\n  }\n  render() {\n    return html`\n      ${this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this)}\n      <!-- Select border must be right after #open-part -->\n      <div id=\"select-border\"></div>\n\n      <slot></slot>\n      <slot name=\"tag\"></slot>\n      <slot name=\"actions\"></slot>\n    `;\n  }\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`<div\n      id=\"open-part\"\n      tabindex=${this.disabled ? nothing : 0}\n      @click=${this.handleOpenClick}\n      @keydown=${this.handleOpenKeydown}>\n      <span id=\"icon\">\n        <slot name=\"icon\" @slotchange=${this._onSlotIconChange}></slot>\n        ${this._iconSlotHasContent === false ? this._renderFallbackIcon() : \"\"}\n      </span>\n      <span id=\"name\"> ${this.name} </span>\n    </div>`;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`<a\n      id=\"open-part\"\n      tabindex=${this.disabled ? nothing : 0}\n      href=${ifDefined(!this.disabled ? this.href : void 0)}\n      target=${ifDefined(this.target || void 0)}\n      rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}>\n      <span id=\"icon\">\n        <slot name=\"icon\" @slotchange=${this._onSlotIconChange}></slot>\n        ${this._iconSlotHasContent === false ? this._renderFallbackIcon() : \"\"}\n      </span>\n      <span id=\"name\"> ${this.name} </span>\n    </a>`;\n};\nUUICardContentNodeElement.styles = [\n  ...UUICardElement.styles,\n  css`\n      :host {\n        min-width: 250px;\n        flex-direction: column;\n        justify-content: space-between;\n        padding: var(--uui-size-3,9px) var(--uui-size-4,12px);\n      }\n\n      slot[name='tag'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n      }\n\n      slot[name='actions'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host(:focus) slot[name='actions'],\n      :host(:focus-within) slot[name='actions'],\n      :host(:hover) slot[name='actions'] {\n        opacity: 1;\n      }\n\n      slot:not([name]) {\n        display: block;\n        margin: var(--uui-size-1,3px);\n        margin-top: var(--uui-size-3,9px);\n      }\n\n      slot:not([name])::slotted(*) {\n        font-size: var(--uui-type-small-size,12px);\n        line-height: calc(2 * var(--uui-size-3,9px));\n      }\n\n      #icon {\n        font-size: 1.2em;\n        margin-right: var(--uui-size-1,3px);\n      }\n\n      #open-part {\n        display: flex;\n        position: relative;\n        font-weight: 700;\n        align-items: center;\n        cursor: pointer;\n      }\n\n      :host([disabled]) #open-part {\n        pointer-events: none;\n      }\n\n      #open-part:hover {\n        text-decoration: underline;\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      #name {\n        margin-top: 4px;\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUICardContentNodeElement.prototype, \"name\", 2);\n__decorateClass([\n  state()\n], UUICardContentNodeElement.prototype, \"_iconSlotHasContent\", 2);\nUUICardContentNodeElement = __decorateClass([\n  defineElement(\"uui-card-content-node\")\n], UUICardContentNodeElement);\n\nexport { UUICardContentNodeElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUICardElement } from '@umbraco-ui/uui-card/lib';\nimport { css, html, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _renderButton, renderButton_fn, _renderLink, renderLink_fn;\nlet UUICardMediaElement = class extends UUICardElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _renderButton);\n    __privateAdd(this, _renderLink);\n    this.name = \"\";\n    this.fileExt = \"\";\n    this.hasPreview = false;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-symbol-folder\");\n    demandCustomElement(this, \"uui-symbol-file\");\n  }\n  queryPreviews(e) {\n    this.hasPreview = e.composedPath()[0].assignedElements({\n      flatten: true\n    }).length > 0;\n  }\n  renderMedia() {\n    if (this.hasPreview === true)\n      return \"\";\n    if (this.fileExt === \"\") {\n      return html`<uui-symbol-folder id=\"folder-symbol\"></uui-symbol-folder>`;\n    }\n    return html`<uui-symbol-file\n      id=\"file-symbol\"\n      type=\"${this.fileExt}\"></uui-symbol-file>`;\n  }\n  render() {\n    return html` ${this.renderMedia()}\n      <slot @slotchange=${this.queryPreviews}></slot>\n      ${this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this)}\n      <!-- Select border must be right after .open-part -->\n      <div id=\"select-border\"></div>\n\n      <slot name=\"tag\"></slot>\n      <slot name=\"actions\"></slot>`;\n  }\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`\n      <button\n        id=\"open-part\"\n        tabindex=${this.disabled ? nothing : \"0\"}\n        @click=${this.handleOpenClick}\n        @keydown=${this.handleOpenKeydown}>\n        <!--\n        TODO: Implement when pop-out is ready\n        <uui-icon\n          id=\"info-icon\"\n          name=\"info\"\n          style=\"color: currentColor\">\n        </uui-icon>\n        -->\n        <span>${this.name}</span>\n      </button>\n    `;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`\n      <a\n        id=\"open-part\"\n        tabindex=${this.disabled ? nothing : \"0\"}\n        href=${ifDefined(!this.disabled ? this.href : void 0)}\n        target=${ifDefined(this.target || void 0)}\n        rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}>\n        <!--\n        TODO: Implement when pop-out is ready\n        <uui-icon\n          id=\"info-icon\"\n          name=\"info\"\n          style=\"color: currentColor\">\n        </uui-icon>\n        -->\n        <span>${this.name}</span>\n      </a>\n    `;\n};\nUUICardMediaElement.styles = [\n  ...UUICardElement.styles,\n  css`\n      #file-symbol,\n      #folder-symbol {\n        align-self: center;\n        margin: var(--uui-size-14,42px);\n        width: 80%;\n      }\n\n      slot[name='tag'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n      }\n\n      slot[name='actions'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host(:focus) slot[name='actions'],\n      :host(:focus-within) slot[name='actions'],\n      :host(:hover) slot[name='actions'] {\n        opacity: 1;\n      }\n\n      slot:not([name])::slotted(*) {\n        align-self: center;\n        border-radius: var(--uui-border-radius,3px);\n        object-fit: cover;\n        width: 100%;\n        height: 100%;\n      }\n\n      #open-part {\n        position: absolute;\n        bottom: 0;\n        width: 100%;\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--uui-color-interactive,#1b264f);\n        border: none;\n        cursor: pointer;\n        border-top: 1px solid var(--uui-color-divider,#f6f6f7);\n        border-radius: 0 0 var(--uui-border-radius,3px) var(--uui-border-radius,3px);\n        display: flex;\n        justify-content: flex-start;\n        align-items: center;\n        font-family: inherit;\n        font-size: var(--uui-type-small-size,12px);\n        box-sizing: border-box;\n        padding: var(--uui-size-2,6px) var(--uui-size-4,12px);\n      }\n\n      :host([disabled]) #open-part {\n        pointer-events: none;\n        background: var(--uui-color-disabled,#f3f3f5);\n        color: var(--uui-color-contrast-disabled);\n      }\n\n      #open-part:hover {\n        text-decoration: underline;\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      :host([image]:not([image=''])) #open-part {\n        transition: opacity 0.5s 0.5s;\n        opacity: 0;\n      }\n\n      :host(\n          [image]:not([image='']):hover,\n          [image]:not([image='']):focus,\n          [image]:not([image='']):focus-within,\n          [selected][image]:not([image='']),\n          [error][image]:not([image=''])\n        )\n        #open-part {\n        opacity: 1;\n        transition-duration: 120ms;\n        transition-delay: 0s;\n      }\n\n      /*\n      #info-icon {\n        margin-right: var(--uui-size-2);\n        display: flex;\n        height: var(--uui-size-8);\n      }\n      */\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUICardMediaElement.prototype, \"name\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"file-ext\" })\n], UUICardMediaElement.prototype, \"fileExt\", 2);\n__decorateClass([\n  state()\n], UUICardMediaElement.prototype, \"hasPreview\", 2);\nUUICardMediaElement = __decorateClass([\n  defineElement(\"uui-card-media\")\n], UUICardMediaElement);\n\nexport { UUICardMediaElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { slotHasContent, demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUICardElement } from '@umbraco-ui/uui-card/lib';\nimport { css, html, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _renderButton, renderButton_fn, _renderLink, renderLink_fn;\nlet UUICardUserElement = class extends UUICardElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _renderButton);\n    __privateAdd(this, _renderLink);\n    this.name = \"\";\n    this._avatarSlotHasContent = false;\n    this._avatarSlotChanged = (e) => {\n      this._avatarSlotHasContent = slotHasContent(e.target);\n    };\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-avatar\");\n  }\n  render() {\n    return html`\n      ${this._avatarSlotHasContent ? nothing : html`<uui-avatar\n            id=\"avatar\"\n            name=${this.name}\n            size=\"m\"></uui-avatar>`}\n      <slot\n        name=\"avatar\"\n        id=\"avatar\"\n        @slotchange=${this._avatarSlotChanged}></slot>\n      ${this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this)}\n      <slot></slot>\n      <slot name=\"tag\"></slot>\n      <slot name=\"actions\"></slot>\n    `;\n  }\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`<div\n      id=\"open-part\"\n      tabindex=${this.disabled ? nothing : \"0\"}\n      @click=${this.handleOpenClick}\n      @keydown=${this.handleOpenKeydown}>\n      <span> ${this.name} </span>\n    </div>`;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`<a\n      id=\"open-part\"\n      tabindex=${this.disabled ? nothing : \"0\"}\n      href=${ifDefined(!this.disabled ? this.href : void 0)}\n      target=${ifDefined(this.target || void 0)}\n      rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}>\n      <span>${this.name}</span>\n    </a>`;\n};\nUUICardUserElement.styles = [\n  ...UUICardElement.styles,\n  css`\n      :host {\n        min-width: 250px;\n        flex-direction: column;\n        justify-content: space-between;\n        padding: var(--uui-size-3,9px);\n        align-items: center;\n      }\n\n      slot:not([name])::slotted(*) {\n        font-size: var(--uui-type-small-size,12px);\n        line-height: var(--uui-size-6,18px);\n      }\n\n      ::slotted(*) {\n        text-align: center;\n      }\n\n      slot[name='tag'] {\n        position: absolute;\n        top: 6px;\n        right: 6px;\n        display: flex;\n        justify-content: right;\n      }\n\n      slot[name='actions'] {\n        position: absolute;\n        top: var(--uui-size-4,12px);\n        right: var(--uui-size-4,12px);\n        display: flex;\n        justify-content: right;\n\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host(:focus) slot[name='actions'],\n      :host(:focus-within) slot[name='actions'],\n      :host(:hover) slot[name='actions'] {\n        opacity: 1;\n      }\n\n      #avatar {\n        margin: var(--uui-size-3,9px);\n      }\n\n      slot[name='icon']::slotted(*) {\n        font-size: 1.2em;\n      }\n\n      #open-part {\n        display: flex;\n        position: relative;\n        font-weight: 700;\n        align-items: center;\n        cursor: pointer;\n        margin: 0 0 3px 0;\n      }\n\n      :host([disabled]) #open-part {\n        pointer-events: none;\n      }\n\n      #open-part > span {\n        vertical-align: center;\n        margin-top: 3px;\n      }\n\n      #open-part:hover {\n        text-decoration: underline;\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUICardUserElement.prototype, \"name\", 2);\n__decorateClass([\n  state()\n], UUICardUserElement.prototype, \"_avatarSlotHasContent\", 2);\nUUICardUserElement = __decorateClass([\n  defineElement(\"uui-card-user\")\n], UUICardUserElement);\n\nexport { UUICardUserElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUICaretElement = class extends LitElement {\n  constructor() {\n    super();\n    this.open = false;\n    console.error(\n      \"\\xB4uui-caret\\xB4 is deprecated, please use \\xB4uui-symbol-expand\\xB4 or \\xB4uui-symbol-sort\\xB4\"\n    );\n  }\n  render() {\n    return html`<svg viewBox=\"0 0 512 512\">\n      <path d=\"M 255.125 400.35 L 88.193 188.765 H 422.055 Z\"></path>\n    </svg>`;\n  }\n};\nUUICaretElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        width: 12px;\n        vertical-align: middle;\n      }\n\n      svg {\n        fill: currentColor;\n        transform-origin: 50% 50%;\n        transition: transform 280ms cubic-bezier(0.17, -0.88, 0.82, 1.84); /* Julia's beloved easing */\n      }\n\n      :host([open]) svg {\n        transform: rotate(180deg);\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUICaretElement.prototype, \"open\", 2);\nUUICaretElement = __decorateClass([\n  defineElement(\"uui-caret\")\n], UUICaretElement);\n\nexport { UUICaretElement };\n","import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUIBooleanInputElement } from '@umbraco-ui/uui-boolean-input/lib';\nimport { iconCheck } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { css, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUICheckboxElement = class extends UUIBooleanInputElement {\n  renderCheckbox() {\n    return html`\n      <div id=\"ticker\">\n        <div id=\"icon-check\">${iconCheck}</div>\n      </div>\n    `;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUICheckboxElement.formAssociated = true;\nUUICheckboxElement.styles = [\n  ...UUIBooleanInputElement.styles,\n  UUIHorizontalShakeKeyframes,\n  css`\n      :host {\n        --uui-checkbox-size: 18px;\n      }\n\n      #ticker {\n        position: relative;\n        grid-area: 'input';\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        flex-shrink: 0;\n\n        box-sizing: border-box;\n        width: var(--uui-checkbox-size);\n        height: var(--uui-checkbox-size);\n        border-radius: var(\n          --uui-checkbox-border-radius,\n          var(--uui-border-radius,3px)\n        );\n\n        color: var(--uui-toggle-color, var(--uui-color-selected-contrast,#fff));\n        background-color: var(\n          --uui-toggle-background-color,\n          var(--uui-color-surface,#fff)\n        );\n        border: 1px solid\n          var(--uui-checkbox-border-color, var(--uui-color-border-standalone,#c2c2c2));\n        font-size: calc(var(--uui-checkbox-size) * 0.7);\n      }\n      label:hover input:not([disabled]) + #ticker {\n        border-color: var(\n          --uui-checkbox-border-color-hover,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n        background-color: var(\n          --uui-checkbox-background-color-hover,\n          var(--uui-color-surface-emphasis,rgb(250, 250, 250))\n        );\n      }\n      label:focus #ticker {\n        border-color: var(\n          --uui-checkbox-border-color-focus,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n        background-color: var(\n          --uui-checkbox-background-color-focus,\n          var(--uui-color-surface-emphasis,rgb(250, 250, 250))\n        );\n      }\n      input:checked:not([disabled]) + #ticker {\n        border-color: var(--uui-color-selected,#3544b1);\n      }\n      label:hover input:checked:not([disabled]) + #ticker {\n        border-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n      label:focus input:checked + #ticker {\n        border-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      #icon-check {\n        position: absolute;\n        vertical-align: middle;\n        width: 1em;\n        height: 1em;\n        line-height: 0;\n        transition:\n          fill 120ms,\n          opacity 120ms;\n        color: var(--uui-color-selected-contrast,#fff);\n        opacity: 0;\n      }\n\n      #ticker::before {\n        content: '';\n        position: absolute;\n        top: 0;\n        left: 0;\n        bottom: 0;\n        right: 0;\n        border-radius: calc(\n          var(--uui-checkbox-border-radius, var(--uui-border-radius,3px)) * 0.5\n        );\n        background-color: var(--uui-color-selected,#3544b1);\n        transition:\n          transform 120ms ease,\n          opacity 120ms,\n          background-color 120ms;\n        transform: scale(0);\n        opacity: 0;\n      }\n      label:hover input:checked:not([disabled]) + #ticker::before {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      input:checked + #ticker::before {\n        transform: scale(1);\n        opacity: 1;\n      }\n      input:checked + #ticker #icon-check {\n        opacity: 1;\n      }\n      label:focus input:checked + #ticker {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      input:focus + #ticker {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n\n      :host(:not([disabled])) label:active input:checked + #ticker::before {\n        /** Stretch when mouse down */\n        transform: scale(0.9);\n      }\n\n      :host(:not([pristine]):invalid) #ticker,\n      :host(:not([pristine]):invalid) label:hover #ticker,\n      :host(:not([pristine]):invalid) label:hover input:checked:not([disabled]) + #ticker,\n      :host(:not([pristine]):invalid) label:focus input:checked + #ticker,\n      /* polyfill support */\n      :host(:not([pristine])[internals-invalid]) #ticker,\n      :host(:not([pristine])[internals-invalid]) label:hover #ticker,\n      :host(:not([pristine])[internals-invalid]) label:hover input:checked:not([disabled]) + #ticker,\n      :host(:not([pristine])[internals-invalid]) label:focus input:checked + #ticker {\n        border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n\n      :host([disabled]) #ticker {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n      :host([disabled]) input:checked + #ticker {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n      :host([disabled]) #ticker::before {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n      :host([disabled]) #ticker #icon-check {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) label:active #ticker {\n        animation: ${UUIHorizontalShakeAnimationValue};\n      }\n      :host([disabled]) input:checked + #ticker #icon-check {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n    `\n];\nUUICheckboxElement = __decorateClass([\n  defineElement(\"uui-checkbox\")\n], UUICheckboxElement);\n\nexport { UUICheckboxElement };\n","import{noChange as t}from\"../lit-html.js\";import{directive as i,Directive as s,PartType as r}from\"../directive.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o=i(class extends s{constructor(t){var i;if(super(t),t.type!==r.ATTRIBUTE||\"class\"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.length)>2)throw Error(\"`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.\")}render(t){return\" \"+Object.keys(t).filter((i=>t[i])).join(\" \")+\" \"}update(i,[s]){var r,o;if(void 0===this.it){this.it=new Set,void 0!==i.strings&&(this.nt=new Set(i.strings.join(\" \").split(/\\s/).filter((t=>\"\"!==t))));for(const t in s)s[t]&&!(null===(r=this.nt)||void 0===r?void 0:r.has(t))&&this.it.add(t);return this.render(s)}const e=i.element.classList;this.it.forEach((t=>{t in s||(e.remove(t),this.it.delete(t))}));for(const t in s){const i=!!s[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return t}});export{o as classMap};\n//# sourceMappingURL=class-map.js.map\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { state, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { css, LitElement, html } from 'lit';\nimport { drag, clamp } from '@umbraco-ui/uui-base/lib/utils';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nvar r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return \"string\"==typeof r?r.length>0:\"number\"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return (r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return {r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return {r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?\"0\"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return {h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return {r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return {h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return {h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e;},c=function(r){return {h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u;},l=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,p=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s+([+-]?\\d*\\.?\\d+)%\\s+([+-]?\\d*\\.?\\d+)%\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,v=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,m=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},\"hex\"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},\"rgb\"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u=\"deg\"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},\"hsl\"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},\"rgb\"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},\"hsl\"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return {h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},\"hsv\"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return [e,t[n][1]]}return [null,void 0]},x=function(r){return \"string\"==typeof r?N(r.trim(),y.string):\"object\"==typeof r&&null!==r?N(r,y.object):[null,void 0]},M=function(r,t){var n=c(r);return {h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return (299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return {h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):\"\",\"#\"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i;},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?\"rgba(\"+t+\", \"+n+\", \"+e+\", \"+u+\")\":\"rgb(\"+t+\", \"+n+\", \"+e+\")\";var r,t,n,e,u;},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?\"hsla(\"+t+\", \"+n+\"%, \"+e+\"%, \"+u+\")\":\"hsl(\"+t+\", \"+n+\"%, \"+e+\"%)\";var r,t,n,e,u;},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r;},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r;},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return \"number\"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t;},r.prototype.hue=function(r){var t=c(this.rgba);return \"number\"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)};\n\nclass UUIColorAreaEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIColorAreaEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIColorAreaElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.isDraggingGridHandle = false;\n    this.hue = 0;\n    this.saturation = 0;\n    this.lightness = 0;\n    this.brightness = 0;\n    this.alpha = 100;\n    this._value = \"#000\";\n    this.disabled = false;\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newVal) {\n    const oldVal = this._value;\n    this._value = newVal;\n    this.requestUpdate(\"value\", oldVal);\n    try {\n      const parsed = w(newVal);\n      if (parsed.isValid()) {\n        const { h, l, a } = parsed.toHsl();\n        if (h !== 0) {\n          this.hue = h;\n        }\n        this.lightness = l;\n        this.brightness = this.getBrightness(l);\n        this.alpha = a * 100;\n      }\n    } catch (e) {\n      console.error(\"Something went wrong parsing the color string.\", e);\n    }\n  }\n  handleGridDrag(event) {\n    if (this.disabled)\n      return;\n    const grid = this.shadowRoot.querySelector(\".color-area\");\n    const handle = grid.querySelector(\".color-area__handle\");\n    const { width, height } = grid.getBoundingClientRect();\n    handle.focus();\n    event.preventDefault();\n    event.stopPropagation();\n    this.isDraggingGridHandle = true;\n    drag(grid, {\n      onMove: (x, y) => {\n        if (isNaN(x) || isNaN(y))\n          return;\n        this.saturation = clamp(x / width * 100, 0, 100);\n        this.brightness = clamp(100 - y / height * 100, 0, 100);\n        this.lightness = this.getLightness(this.brightness);\n        this.syncValues();\n      },\n      onStop: () => this.isDraggingGridHandle = false,\n      initialEvent: event\n    });\n  }\n  handleGridKeyDown(event) {\n    if (this.disabled)\n      return;\n    const increment = event.shiftKey ? 10 : 1;\n    if (event.key === \"ArrowLeft\") {\n      event.preventDefault();\n      this.saturation = clamp(this.saturation - increment, 0, 100);\n      this.syncValues();\n    }\n    if (event.key === \"ArrowRight\") {\n      event.preventDefault();\n      this.saturation = clamp(this.saturation + increment, 0, 100);\n      this.syncValues();\n    }\n    if (event.key === \"ArrowUp\") {\n      event.preventDefault();\n      this.brightness = clamp(this.brightness + increment, 0, 100);\n      this.lightness = this.getLightness(this.brightness);\n      this.syncValues();\n    }\n    if (event.key === \"ArrowDown\") {\n      event.preventDefault();\n      this.brightness = clamp(this.brightness - increment, 0, 100);\n      this.lightness = this.getLightness(this.brightness);\n      this.syncValues();\n    }\n  }\n  getBrightness(lightness) {\n    return clamp(-1 * (200 * lightness / (this.saturation - 200)), 0, 100);\n  }\n  getLightness(brightness) {\n    return clamp(\n      (200 - this.saturation) * brightness / 100 * 5 / 10,\n      0,\n      100\n    );\n  }\n  syncValues() {\n    const color = w({\n      h: this.hue,\n      s: this.saturation,\n      l: this.lightness,\n      a: this.alpha / 100\n    });\n    this._value = color.toRgbString();\n    this.dispatchEvent(new UUIColorAreaEvent(UUIColorAreaEvent.CHANGE));\n  }\n  /** Generates a hex string from HSL values. Hue must be 0-360. All other arguments must be 0-100. */\n  getHexString(hue, saturation, lightness, alpha = 100) {\n    const color = w(\n      `hsla(${hue}, ${saturation}%, ${lightness}%, ${alpha / 100})`\n    );\n    if (!color.isValid()) {\n      return \"\";\n    }\n    return color.toHex();\n  }\n  render() {\n    const gridHandleX = this.saturation;\n    const gridHandleY = 100 - this.brightness;\n    return html`\n      <div\n        part=\"grid\"\n        class=\"color-area\"\n        style=${styleMap({\n      backgroundColor: this.getHexString(this.hue, 100, 50)\n    })}\n        @mousedown=${this.handleGridDrag}\n        @touchstart=${this.handleGridDrag}>\n        <span\n          part=\"grid-handle\"\n          class=${classMap({\n      \"color-area__handle\": true,\n      \"color-area__handle--dragging\": this.isDraggingGridHandle\n    })}\n          style=${styleMap({\n      top: `${gridHandleY}%`,\n      left: `${gridHandleX}%`,\n      backgroundColor: this.getHexString(\n        this.hue,\n        this.saturation,\n        this.lightness,\n        this.alpha\n      )\n    })}\n          role=\"application\"\n          tabindex=${ifDefined(this.disabled ? void 0 : \"0\")}\n          aria-label=\"HSB\"\n          @keydown=${this.handleGridKeyDown}></span>\n      </div>\n    `;\n  }\n};\nUUIColorAreaElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        width: 280px;\n        height: 200px;\n      }\n\n      :host([disabled]) {\n        cursor: not-allowed;\n      }\n\n      :host([disabled]) .color-area {\n        user-select: none;\n        pointer-events: none;\n        opacity: 0.55;\n      }\n\n      .color-area {\n        position: relative;\n        height: 100%;\n        width: 100%;\n        background-image: linear-gradient(\n            to bottom,\n            rgba(0, 0, 0, 0) 0%,\n            rgba(0, 0, 0, 1) 100%\n          ),\n          linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);\n        box-sizing: border-box;\n        cursor: crosshair;\n        forced-color-adjust: none;\n      }\n      .color-area__handle {\n        position: absolute;\n        width: var(--uui-color-area-grid-handle-size, 16px);\n        height: var(--uui-color-area-grid-handle-size, 16px);\n        border-radius: 50%;\n        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);\n        border: solid 2px white;\n        margin-top: calc(var(--uui-color-area-grid-handle-size, 16px) / -2);\n        margin-left: calc(var(--uui-color-area-grid-handle-size, 16px) / -2);\n        transition: 150ms transform;\n        box-sizing: inherit;\n      }\n      .color-area__handle--dragging {\n        cursor: none;\n        transform: scale(1.5);\n      }\n      .color-area__handle--empty {\n        display: none;\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIColorAreaElement.prototype, \"isDraggingGridHandle\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorAreaElement.prototype, \"hue\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorAreaElement.prototype, \"saturation\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorAreaElement.prototype, \"lightness\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorAreaElement.prototype, \"brightness\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorAreaElement.prototype, \"alpha\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIColorAreaElement.prototype, \"value\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorAreaElement.prototype, \"disabled\", 2);\nUUIColorAreaElement = __decorateClass([\n  defineElement(\"uui-color-area\")\n], UUIColorAreaElement);\n\nexport { UUIColorAreaElement, UUIColorAreaEvent };\n","import{_$LH as o}from\"./lit-html.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{I:l}=o,i=o=>null===o||\"object\"!=typeof o&&\"function\"!=typeof o,n={HTML:1,SVG:2},t=(o,l)=>void 0===l?void 0!==(null==o?void 0:o._$litType$):(null==o?void 0:o._$litType$)===l,v=o=>{var l;return null!=(null===(l=null==o?void 0:o._$litType$)||void 0===l?void 0:l.h)},d=o=>void 0!==(null==o?void 0:o._$litDirective$),u=o=>null==o?void 0:o._$litDirective$,e=o=>void 0===o.strings,r=()=>document.createComment(\"\"),c=(o,i,n)=>{var t;const v=o._$AA.parentNode,d=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=v.insertBefore(r(),d),t=v.insertBefore(r(),d);n=new l(i,t,o,o.options)}else{const l=n._$AB.nextSibling,i=n._$AM,u=i!==o;if(u){let l;null===(t=n._$AQ)||void 0===t||t.call(n,o),n._$AM=o,void 0!==n._$AP&&(l=o._$AU)!==i._$AU&&n._$AP(l)}if(l!==d||u){let o=n._$AA;for(;o!==l;){const l=o.nextSibling;v.insertBefore(o,d),o=l}}}return n},f=(o,l,i=o)=>(o._$AI(l,i),o),s={},a=(o,l=s)=>o._$AH=l,m=o=>o._$AH,p=o=>{var l;null===(l=o._$AP)||void 0===l||l.call(o,!1,!0);let i=o._$AA;const n=o._$AB.nextSibling;for(;i!==n;){const o=i.nextSibling;i.remove(),i=o}},h=o=>{o._$AR()};export{n as TemplateResultType,h as clearPart,m as getCommittedValue,u as getDirectiveClass,c as insertPart,v as isCompiledTemplateResult,d as isDirectiveResult,i as isPrimitive,e as isSingleExpression,t as isTemplateResult,p as removePart,f as setChildPartValue,a as setCommittedValue};\n//# sourceMappingURL=directive-helpers.js.map\n","import{noChange as r,nothing as e}from\"../lit-html.js\";import{directive as i,Directive as t,PartType as n}from\"../directive.js\";import{isSingleExpression as o,setCommittedValue as s}from\"../directive-helpers.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const l=i(class extends t{constructor(r){if(super(r),r.type!==n.PROPERTY&&r.type!==n.ATTRIBUTE&&r.type!==n.BOOLEAN_ATTRIBUTE)throw Error(\"The `live` directive is not allowed on child or event bindings\");if(!o(r))throw Error(\"`live` bindings can only contain a single expression\")}render(r){return r}update(i,[t]){if(t===r||t===e)return t;const o=i.element,l=i.name;if(i.type===n.PROPERTY){if(t===o[l])return r}else if(i.type===n.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(l))return r}else if(i.type===n.ATTRIBUTE&&o.getAttribute(l)===t+\"\")return r;return s(i),t}});export{l as live};\n//# sourceMappingURL=live.js.map\n","import { LitElement, html, nothing, css } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { query, state, property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { live } from 'lit/directives/live.js';\nimport { demandCustomElement, clamp } from '@umbraco-ui/uui-base/lib/utils';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nvar r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return \"string\"==typeof r?r.length>0:\"number\"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return (r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return {r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return {r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?\"0\"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return {h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return {r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return {h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return {h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e;},c=function(r){return {h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u;},l=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*,\\s*([+-]?\\d*\\.?\\d+)%\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,p=/^hsla?\\(\\s*([+-]?\\d*\\.?\\d+)(deg|rad|grad|turn)?\\s+([+-]?\\d*\\.?\\d+)%\\s+([+-]?\\d*\\.?\\d+)%\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,v=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*(?:,\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,m=/^rgba?\\(\\s*([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s+([+-]?\\d*\\.?\\d+)(%)?\\s*(?:\\/\\s*([+-]?\\d*\\.?\\d+)(%)?\\s*)?\\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},\"hex\"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},\"rgb\"],[function(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u=\"deg\"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},\"hsl\"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},\"rgb\"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},\"hsl\"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return {h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},\"hsv\"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return [e,t[n][1]]}return [null,void 0]},x=function(r){return \"string\"==typeof r?N(r.trim(),y.string):\"object\"==typeof r&&null!==r?N(r,y.object):[null,void 0]},M=function(r,t){var n=c(r);return {h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return (299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return {h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):\"\",\"#\"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i;},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?\"rgba(\"+t+\", \"+n+\", \"+e+\", \"+u+\")\":\"rgb(\"+t+\", \"+n+\", \"+e+\")\";var r,t,n,e,u;},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?\"hsla(\"+t+\", \"+n+\"%, \"+e+\"%, \"+u+\")\":\"hsl(\"+t+\", \"+n+\"%, \"+e+\"%)\";var r,t,n,e,u;},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r;},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r;},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return \"number\"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t;},r.prototype.hue=function(r){var t=c(this.rgba);return \"number\"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r));});};\n\nfunction namesPlugin(e,f){var a={white:\"#ffffff\",bisque:\"#ffe4c4\",blue:\"#0000ff\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",azure:\"#f0ffff\",whitesmoke:\"#f5f5f5\",papayawhip:\"#ffefd5\",plum:\"#dda0dd\",blanchedalmond:\"#ffebcd\",black:\"#000000\",gold:\"#ffd700\",goldenrod:\"#daa520\",gainsboro:\"#dcdcdc\",cornsilk:\"#fff8dc\",cornflowerblue:\"#6495ed\",burlywood:\"#deb887\",aquamarine:\"#7fffd4\",beige:\"#f5f5dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkkhaki:\"#bdb76b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",darkgrey:\"#a9a9a9\",peachpuff:\"#ffdab9\",darkmagenta:\"#8b008b\",darkred:\"#8b0000\",darkorchid:\"#9932cc\",darkorange:\"#ff8c00\",darkslateblue:\"#483d8b\",gray:\"#808080\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",wheat:\"#f5deb3\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",ghostwhite:\"#f8f8ff\",darkviolet:\"#9400d3\",magenta:\"#ff00ff\",green:\"#008000\",dodgerblue:\"#1e90ff\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",blueviolet:\"#8a2be2\",forestgreen:\"#228b22\",lawngreen:\"#7cfc00\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",fuchsia:\"#ff00ff\",brown:\"#a52a2a\",maroon:\"#800000\",mediumblue:\"#0000cd\",lightcoral:\"#f08080\",darkturquoise:\"#00ced1\",lightcyan:\"#e0ffff\",ivory:\"#fffff0\",lightyellow:\"#ffffe0\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",linen:\"#faf0e6\",mediumaquamarine:\"#66cdaa\",lemonchiffon:\"#fffacd\",lime:\"#00ff00\",khaki:\"#f0e68c\",mediumseagreen:\"#3cb371\",limegreen:\"#32cd32\",mediumspringgreen:\"#00fa9a\",lightskyblue:\"#87cefa\",lightblue:\"#add8e6\",midnightblue:\"#191970\",lightpink:\"#ffb6c1\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",mintcream:\"#f5fffa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",navajowhite:\"#ffdead\",navy:\"#000080\",mediumvioletred:\"#c71585\",powderblue:\"#b0e0e6\",palegoldenrod:\"#eee8aa\",oldlace:\"#fdf5e6\",paleturquoise:\"#afeeee\",mediumturquoise:\"#48d1cc\",mediumorchid:\"#ba55d3\",rebeccapurple:\"#663399\",lightsteelblue:\"#b0c4de\",mediumslateblue:\"#7b68ee\",thistle:\"#d8bfd8\",tan:\"#d2b48c\",orchid:\"#da70d6\",mediumpurple:\"#9370db\",purple:\"#800080\",pink:\"#ffc0cb\",skyblue:\"#87ceeb\",springgreen:\"#00ff7f\",palegreen:\"#98fb98\",red:\"#ff0000\",yellow:\"#ffff00\",slateblue:\"#6a5acd\",lavenderblush:\"#fff0f5\",peru:\"#cd853f\",palevioletred:\"#db7093\",violet:\"#ee82ee\",teal:\"#008080\",slategray:\"#708090\",slategrey:\"#708090\",aliceblue:\"#f0f8ff\",darkseagreen:\"#8fbc8f\",darkolivegreen:\"#556b2f\",greenyellow:\"#adff2f\",seagreen:\"#2e8b57\",seashell:\"#fff5ee\",tomato:\"#ff6347\",silver:\"#c0c0c0\",sienna:\"#a0522d\",lavender:\"#e6e6fa\",lightgreen:\"#90ee90\",orange:\"#ffa500\",orangered:\"#ff4500\",steelblue:\"#4682b4\",royalblue:\"#4169e1\",turquoise:\"#40e0d0\",yellowgreen:\"#9acd32\",salmon:\"#fa8072\",saddlebrown:\"#8b4513\",sandybrown:\"#f4a460\",rosybrown:\"#bc8f8f\",darksalmon:\"#e9967a\",lightgoldenrodyellow:\"#fafad2\",snow:\"#fffafa\",lightgrey:\"#d3d3d3\",lightgray:\"#d3d3d3\",dimgray:\"#696969\",dimgrey:\"#696969\",olivedrab:\"#6b8e23\",olive:\"#808000\"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return \"transparent\";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b=\"black\";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g);}return b}};f.string.push([function(f){var r=f.toLowerCase(),d=\"transparent\"===r?\"#0000\":a[r];return d?new e(d).toRgb():null},\"name\"]);}\n\nclass UUIColorPickerChangeEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIColorPickerChangeEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nk([namesPlugin]);\nconst hasEyeDropper = \"EyeDropper\" in window;\nlet UUIColorPickerElement = class extends LabelMixin(\"label\", LitElement) {\n  constructor() {\n    super(...arguments);\n    this.inputValue = \"\";\n    this.hue = 0;\n    this.saturation = 0;\n    this.lightness = 0;\n    this.alpha = 100;\n    this._colord = w(\"hsl(0, 0%, 0%)\");\n    this.value = \"\";\n    this.format = \"hex\";\n    this.name = \"\";\n    this.size = \"medium\";\n    this.noFormatToggle = false;\n    this.inline = false;\n    this.disabled = false;\n    this.opacity = false;\n    this.uppercase = false;\n    this.swatches = [\n      \"#d0021b\",\n      \"#f5a623\",\n      \"#f8e71c\",\n      \"#8b572a\",\n      \"#7ed321\",\n      \"#417505\",\n      \"#bd10e0\",\n      \"#9013fe\",\n      \"#4a90e2\",\n      \"#50e3c2\",\n      \"#b8e986\",\n      \"#000\",\n      \"#444\",\n      \"#888\",\n      \"#ccc\",\n      \"#fff\"\n    ];\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (this.value) {\n      this.setColor(this.value);\n    } else {\n      this.setColor(\"#000\");\n    }\n    demandCustomElement(this, \"uui-icon\");\n    demandCustomElement(this, \"uui-icon-registry-essential\");\n    demandCustomElement(this, \"uui-input\");\n    demandCustomElement(this, \"uui-button\");\n    demandCustomElement(this, \"uui-button-group\");\n    demandCustomElement(this, \"uui-color-swatches\");\n    demandCustomElement(this, \"uui-color-swatch\");\n    demandCustomElement(this, \"uui-color-area\");\n    demandCustomElement(this, \"uui-color-slider\");\n    demandCustomElement(this, \"uui-popover-container\");\n  }\n  /** Returns the current value as a string in the specified format. */\n  getFormattedValue(format) {\n    const formatToUse = this.opacity ? `${format}a` : format;\n    const hexa = this._colord.toHex();\n    const hex = hexa.length > 7 ? hexa.substring(0, hexa.length - 2) : hexa;\n    const { r, g, b } = this._colord.toRgb();\n    const { h, s, l } = this._colord.toHsl();\n    const { v } = this._colord.toHsv();\n    const a = this._colord.alpha();\n    switch (formatToUse) {\n      case \"hex\":\n        return this.setLetterCase(hex);\n      case \"hexa\":\n        return this.setLetterCase(hexa);\n      case \"rgb\":\n        return this.setLetterCase(`rgb(${r}, ${g}, ${b})`);\n      case \"rgba\":\n        return this.setLetterCase(this._colord.toRgbString());\n      case \"hsl\":\n        return this.setLetterCase(`hsl(${h}, ${s}%, ${l}%)`);\n      case \"hsla\":\n        return this.setLetterCase(this._colord.toHslString());\n      case \"hsv\":\n        return this.setLetterCase(`hsv(${h}, ${s}%, ${l}%)`);\n      case \"hsva\":\n        return this.setLetterCase(`hsva(${h}, ${s}%, ${v}%, ${a})`);\n      default:\n        return \"\";\n    }\n  }\n  getBrightness(lightness) {\n    return clamp(-1 * (200 * lightness / (this.saturation - 200)), 0, 100);\n  }\n  getLightness(brightness) {\n    return clamp(\n      (200 - this.saturation) * brightness / 100 * 5 / 10,\n      0,\n      100\n    );\n  }\n  handleFormatToggle() {\n    const formats = [\"hex\", \"rgb\", \"hsl\", \"hsv\"];\n    const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;\n    this.format = formats[nextIndex];\n    this._syncValues();\n  }\n  handleAlphaChange(event) {\n    event.stopPropagation();\n    this._swatches?.resetSelection();\n    const element = event.target;\n    const newColor = {\n      h: this.hue,\n      s: this.saturation,\n      l: this.lightness,\n      a: Math.round(element.value) / 100\n    };\n    this.setColor(newColor);\n  }\n  handleHueChange(event) {\n    event.stopPropagation();\n    this._swatches?.resetSelection();\n    const element = event.target;\n    const newColor = {\n      h: element.value,\n      s: this.saturation,\n      l: this.lightness,\n      a: this.alpha / 100\n    };\n    this.setColor(newColor);\n  }\n  handleGridChange(event) {\n    event.stopPropagation();\n    this._swatches?.resetSelection();\n    const element = event.target;\n    const newColor = {\n      h: this.hue,\n      s: element.saturation,\n      l: element.lightness,\n      a: this.alpha / 100\n    };\n    this.setColor(newColor);\n  }\n  handleInputChange(event) {\n    this._swatches?.resetSelection();\n    const target = event.target;\n    if (target.value) {\n      this.setColor(target.value);\n      target.value = this.value;\n    } else {\n      this.setColor(\"#000\");\n    }\n    event.stopPropagation();\n  }\n  handleInputKeyDown(event) {\n    if (event.key === \"Enter\") {\n      if (this.inputValue) {\n        this.setColor(this.inputValue);\n        this._swatches?.resetSelection();\n        this.inputValue = this.value;\n        setTimeout(() => this._input.select());\n      } else {\n        this.setColor(\"#000\");\n      }\n    }\n  }\n  handleColorSwatchChange(event) {\n    event.stopImmediatePropagation();\n    const target = event.target;\n    if (target.value) {\n      this.setColor(target.value);\n    } else {\n      this.setColor(\"#000\");\n    }\n  }\n  handleCopy() {\n    navigator.clipboard.writeText(this._input.value).then(() => {\n      this._previewButton.classList.add(\"color-picker__preview-color--copied\");\n      this._previewButton.addEventListener(\"animationend\", () => {\n        this._previewButton.classList.remove(\n          \"color-picker__preview-color--copied\"\n        );\n      });\n    });\n  }\n  handleEyeDropper() {\n    if (!hasEyeDropper) {\n      return;\n    }\n    const eyeDropper = new EyeDropper();\n    eyeDropper.open().then((result) => this.setColor(result.sRGBHex)).catch(() => {\n    });\n  }\n  setColor(colorString) {\n    const colord2 = new j(colorString);\n    const { h, s, l, a } = colord2.toHsl();\n    this.hue = h;\n    this.saturation = s;\n    this.lightness = l;\n    this.alpha = this.opacity ? a * 100 : 100;\n    const hslaColor = colorString;\n    if (hslaColor && hslaColor.h) {\n      this.hue = hslaColor.h;\n    }\n    this._colord = colord2;\n    this._syncValues();\n    this.dispatchEvent(\n      new UUIColorPickerChangeEvent(UUIColorPickerChangeEvent.CHANGE)\n    );\n    return true;\n  }\n  setLetterCase(string) {\n    if (typeof string !== \"string\") {\n      return \"\";\n    }\n    return this.uppercase ? string.toUpperCase() : string.toLowerCase();\n  }\n  /** Generates a hex string from HSL values. Hue must be 0-360. All other arguments must be 0-100. */\n  getHexString(hue, saturation, lightness, alpha = 100) {\n    const color = w(\n      `hsla(${hue}, ${saturation}%, ${lightness}%, ${alpha / 100})`\n    );\n    if (!color.isValid()) {\n      return \"\";\n    }\n    return color.toHex();\n  }\n  _syncValues() {\n    this.inputValue = this.getFormattedValue(this.format);\n    this.value = this.inputValue;\n  }\n  _renderColorPicker() {\n    return html`\n      <div\n        class=${classMap({\n      \"color-picker\": true,\n      \"color-picker--inline\": this.inline,\n      \"color-picker--disabled\": this.disabled\n    })}\n        aria-disabled=${this.disabled ? \"true\" : \"false\"}>\n        <uui-color-area\n          .value=\"${this.value}\"\n          .hue=\"${Math.round(this.hue)}\"\n          ?disabled=${this.disabled}\n          @change=${this.handleGridChange}>\n        </uui-color-area>\n        <div class=\"color-picker__controls\">\n          <div class=\"color-picker__sliders\">\n            <uui-color-slider\n              label=\"hue\"\n              class=\"hue-slider\"\n              .value=${Math.round(this.hue)}\n              ?disabled=${this.disabled}\n              @change=${this.handleHueChange}>\n            </uui-color-slider>\n            ${this.opacity ? html`\n                  <uui-color-slider\n                    label=\"alpha\"\n                    class=\"opacity-slider\"\n                    .value=${Math.round(this.alpha)}\n                    type=\"opacity\"\n                    .color=${this.getHexString(\n      this.hue,\n      this.saturation,\n      this.lightness\n    )}\n                    ?disabled=${this.disabled}\n                    @change=${this.handleAlphaChange}>\n                  </uui-color-slider>\n                ` : \"\"}\n          </div>\n          <button\n            type=\"button\"\n            part=\"preview\"\n            class=\"color-picker__preview color-picker__transparent-bg\"\n            title=\"Copy\"\n            aria-label=\"Copy\"\n            style=${styleMap({\n      \"--preview-color\": `hsla(${this.hue}deg, ${this.saturation}%, ${this.lightness}%, ${this.alpha / 100})`\n    })}\n            @click=${this.handleCopy}></button>\n        </div>\n        <div class=\"color-picker__user-input\" aria-live=\"polite\">\n          <uui-input\n            label=\"label\"\n            type=\"text\"\n            part=\"input\"\n            name=${this.name}\n            autocomplete=\"off\"\n            autocapitalize=\"off\"\n            spellcheck=\"false\"\n            .value=${live(this.inputValue)}\n            ?disabled=${this.disabled}\n            @keydown=${this.handleInputKeyDown}\n            @change=${this.handleInputChange}>\n          </uui-input>\n          <uui-button-group>\n            ${!this.noFormatToggle ? html`<uui-button\n                  label=\"Toggle color format\"\n                  @click=${this.handleFormatToggle}\n                  class=\"color-picker__toggle-format\"\n                  ?disabled=${this.disabled}\n                  compact>\n                  <span>${this.format}</span>\n                </uui-button>` : \"\"}\n            ${hasEyeDropper ? html`<uui-button\n                  label=\"Select a color\"\n                  ?disabled=${this.disabled}\n                  @click=${this.handleEyeDropper}\n                  compact>\n                  <uui-icon-registry-essential>\n                    <uui-icon name=\"colorpicker\"></uui-icon>\n                  </uui-icon-registry-essential>\n                </uui-button>` : \"\"}\n          </uui-button-group>\n        </div>\n        ${this._renderSwatches()}\n      </div>\n    `;\n  }\n  _renderSwatches() {\n    if (!this.swatches)\n      return nothing;\n    return html`<uui-color-swatches\n      id=\"swatches\"\n      class=\"color-picker__swatches\"\n      ?disabled=${this.disabled}\n      @change=${this.handleColorSwatchChange}>\n      ${this.swatches.map(\n      (swatch) => html`<uui-color-swatch label=\"${swatch}\" .value=${swatch}>\n          </uui-color-swatch>`\n    )}\n    </uui-color-swatches>`;\n  }\n  _renderPreviewButton() {\n    return html` <button\n        type=\"button\"\n        part=\"trigger\"\n        aria-label=\"${this.label || \"Open Color picker\"}\"\n        class=${classMap({\n      \"color-picker__trigger\": true,\n      \"color-dropdown__trigger--disabled\": this.disabled,\n      \"color-dropdown__trigger--small\": this.size === \"small\",\n      \"color-dropdown__trigger--medium\": this.size === \"medium\",\n      \"color-dropdown__trigger--large\": this.size === \"large\",\n      \"color-picker__transparent-bg\": true\n    })}\n        style=${styleMap({\n      \"--preview-color\": `hsla(${this.hue}deg, ${this.saturation}%, ${this.lightness}%, ${this.alpha / 100})`\n    })}\n        ?disabled=${this.disabled}\n        aria-haspopup=\"true\"\n        aria-expanded=\"false\"\n        popovertarget=\"color-picker-popover\"></button>\n      <uui-popover-container id=\"color-picker-popover\">\n        ${this._renderColorPicker()}\n      </uui-popover-container>`;\n  }\n  render() {\n    return this.inline ? this._renderColorPicker() : this._renderPreviewButton();\n  }\n};\nUUIColorPickerElement.styles = [\n  css`\n      :host {\n        --uui-look-outline-border: #ddd;\n        --uui-look-outline-border-hover: #aaa;\n        font-size: 0.8rem;\n        display: block;\n        width: var(--uui-color-picker-width, 280px);\n      }\n      uui-popover-container {\n        width: inherit;\n      }\n      .color-picker {\n        width: 100%;\n        background-color: #fff;\n        user-select: none;\n        border: solid 1px #e4e4e7;\n      }\n      .color-picker__user-input {\n        display: flex;\n        padding: 0 0.75rem 0.75rem 0.75rem;\n      }\n      .color-picker__user-input uui-button {\n        border: var(--uui-input-border-width, 1px) solid\n          var(--uui-input-border-color, var(--uui-color-border,#d8d7d9));\n        border-left: none;\n      }\n      .color-picker__preview,\n      .color-picker__trigger {\n        flex: 0 0 auto;\n        display: inline-flex;\n        align-items: center;\n        justify-content: center;\n        position: relative;\n        width: 2.25rem;\n        height: 2.25rem;\n        border: none;\n        border-radius: 50%;\n        background: none;\n      }\n      .color-picker__preview {\n        cursor: copy;\n        margin-left: 0.75rem;\n        border-radius: 50%;\n      }\n      .color-picker__trigger[disabled] {\n        cursor: not-allowed;\n        opacity: 0.5;\n      }\n      .color-picker__preview::before,\n      .color-picker__trigger::before {\n        content: '';\n        position: absolute;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        border-radius: inherit;\n        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n        /* We use a custom property in lieu of currentColor because of https://bugs.webkit.org/show_bug.cgi?id=216780 */\n        background-color: var(--preview-color);\n      }\n\n      .color-dropdown__trigger--empty::before {\n        background-color: transparent;\n      }\n\n      .color-picker__transparent-bg {\n        background-image: linear-gradient(\n            45deg,\n            var(--uui-palette-grey,#c4c4c4) 25%,\n            transparent 25%\n          ),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, var(--uui-palette-grey,#c4c4c4) 25%, transparent 25%);\n        background-size: 10px 10px;\n        background-position:\n          0 0,\n          0 0,\n          -5px -5px,\n          5px 5px;\n      }\n\n      .color-picker__preview-color--copied {\n        animation: pulse 0.75s;\n      }\n\n      @keyframes pulse {\n        0% {\n          box-shadow: 0 0 0 0 var(--uui-palette-space-cadet-light,rgb(38, 53, 110));\n        }\n        70% {\n          box-shadow: 0 0 0 0.5rem transparent;\n        }\n        100% {\n          box-shadow: 0 0 0 0 transparent;\n        }\n      }\n\n      .color-picker__controls {\n        padding: 0.75rem;\n        display: flex;\n        align-items: center;\n      }\n      .color-picker__sliders {\n        flex: 1 1 auto;\n      }\n\n      uui-color-slider:not(:last-of-type) {\n        margin-bottom: 1rem;\n      }\n\n      .color-picker__toggle-format {\n        min-width: 45px;\n        --uui-button-font-size: 0.8rem;\n      }\n      .color-picker__toggle-format > span {\n        text-transform: uppercase;\n      }\n\n      uui-color-swatches {\n        border-top: solid 1px #d4d4d8;\n        padding: 0.75rem;\n      }\n\n      button[slot='trigger'] {\n        border-radius: 50%;\n        cursor: pointer;\n        width: 36px;\n        height: 36px;\n      }\n\n      uui-input {\n        /*  lower the font size to avoid overflow with hlsa format */\n        font-size: 0.85rem;\n        box-sizing: content-box;\n        flex: 1;\n      }\n\n      uui-color-area {\n        width: 100%;\n      }\n    `\n];\n__decorateClass([\n  query('[part=\"input\"]')\n], UUIColorPickerElement.prototype, \"_input\", 2);\n__decorateClass([\n  query(\".color-picker__preview\")\n], UUIColorPickerElement.prototype, \"_previewButton\", 2);\n__decorateClass([\n  query(\"#swatches\")\n], UUIColorPickerElement.prototype, \"_swatches\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"inputValue\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"hue\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"saturation\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"lightness\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"alpha\", 2);\n__decorateClass([\n  state()\n], UUIColorPickerElement.prototype, \"_colord\", 2);\n__decorateClass([\n  property()\n], UUIColorPickerElement.prototype, \"value\", 2);\n__decorateClass([\n  property()\n], UUIColorPickerElement.prototype, \"format\", 2);\n__decorateClass([\n  property()\n], UUIColorPickerElement.prototype, \"name\", 2);\n__decorateClass([\n  property()\n], UUIColorPickerElement.prototype, \"size\", 2);\n__decorateClass([\n  property({ attribute: \"no-format-toggle\", type: Boolean })\n], UUIColorPickerElement.prototype, \"noFormatToggle\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorPickerElement.prototype, \"inline\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorPickerElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean })\n], UUIColorPickerElement.prototype, \"opacity\", 2);\n__decorateClass([\n  property({ type: Boolean })\n], UUIColorPickerElement.prototype, \"uppercase\", 2);\n__decorateClass([\n  property({ attribute: false })\n], UUIColorPickerElement.prototype, \"swatches\", 2);\nUUIColorPickerElement = __decorateClass([\n  defineElement(\"uui-color-picker\")\n], UUIColorPickerElement);\n\nexport { UUIColorPickerChangeEvent, UUIColorPickerElement };\n","import { LitElement, html, css } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { drag, reverseNumberInRange, clamp } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nclass UUIColorSliderEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIColorSliderEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIColorSliderElement = class extends LabelMixin(\"label\", LitElement) {\n  constructor() {\n    super(...arguments);\n    this.type = \"hue\";\n    this.color = \"\";\n    this.min = 0;\n    this.max = 100;\n    this.precision = 1;\n    this.vertical = false;\n    this.value = 0;\n    this.disabled = false;\n  }\n  willUpdate(changedProperties) {\n    if (changedProperties.has(\"type\")) {\n      if (this.type === \"hue\") {\n        this.max = 360;\n        this.precision = 1;\n      } else if (this.type === \"opacity\") {\n        this.max = 100;\n        this.precision = 1;\n      }\n    }\n  }\n  firstUpdated() {\n    this.container = this.shadowRoot.querySelector(\"#color-slider\");\n    this.handle = this.container.querySelector(\n      \"#color-slider__handle\"\n    );\n  }\n  handleDrag(event) {\n    if (this.disabled || !this.container || !this.handle)\n      return;\n    const { width, height } = this.container.getBoundingClientRect();\n    this.handle.focus();\n    event.preventDefault();\n    drag(this.container, {\n      onMove: (x, y) => {\n        if (this.vertical) {\n          this.value = reverseNumberInRange(\n            clamp(y / height * this.max, this.min, this.max),\n            this.min,\n            this.max\n          );\n        } else {\n          this.value = clamp(x / width * this.max, this.min, this.max);\n        }\n        this.syncValues();\n      },\n      initialEvent: event\n    });\n  }\n  handleClick(event) {\n    if (this.disabled)\n      return;\n    this.value = this.getValueFromMousePosition(event);\n    this.syncValues();\n  }\n  handleKeyDown(event) {\n    const increment = event.shiftKey ? 10 : 1;\n    if (event.key === \"ArrowLeft\") {\n      event.preventDefault();\n      this.value = clamp(this.value - increment, this.min, this.max);\n      this.syncValues();\n    } else if (event.key === \"ArrowRight\") {\n      event.preventDefault();\n      this.value = clamp(this.value + increment, this.min, this.max);\n      this.syncValues();\n    } else if (event.key === \"ArrowUp\") {\n      event.preventDefault();\n      this.value = clamp(this.value + increment, this.min, this.max);\n      this.syncValues();\n    } else if (event.key === \"ArrowDown\") {\n      event.preventDefault();\n      this.value = clamp(this.value - increment, this.min, this.max);\n      this.syncValues();\n    } else if (event.key === \"Home\") {\n      event.preventDefault();\n      this.value = this.min;\n      this.syncValues();\n    } else if (event.key === \"End\") {\n      event.preventDefault();\n      this.value = this.max;\n      this.syncValues();\n    }\n  }\n  getValueFromMousePosition(event) {\n    if (this.vertical) {\n      return this.getValueFromYCoordinate(event.clientY);\n    }\n    return this.getValueFromXCoordinate(event.clientX);\n  }\n  getValueFromTouchPosition(event) {\n    if (this.vertical) {\n      return this.getValueFromYCoordinate(event.touches[0].clientY);\n    }\n    return this.getValueFromXCoordinate(event.touches[0].clientX);\n  }\n  getValueFromXCoordinate(coordinate) {\n    const { left, width } = this.container.getBoundingClientRect();\n    return clamp(\n      this.roundToPrecision((coordinate - left) / width * this.max),\n      this.min,\n      this.max\n    );\n  }\n  getValueFromYCoordinate(coordinate) {\n    const { top, height } = this.container.getBoundingClientRect();\n    return clamp(\n      this.roundToPrecision((coordinate - top) / height * this.max),\n      this.min,\n      this.max\n    );\n  }\n  roundToPrecision(numberToRound) {\n    const multiplier = 1 / this.precision;\n    return Math.ceil(numberToRound * multiplier) / multiplier;\n  }\n  syncValues() {\n    this.dispatchEvent(new UUIColorSliderEvent(UUIColorSliderEvent.CHANGE));\n  }\n  get cssPropCurrentValue() {\n    return this.value === 0 ? this.vertical ? 100 : 0 : 100 / (this.vertical ? this.max / reverseNumberInRange(this.value, this.min, this.max) : this.max / this.value);\n  }\n  render() {\n    return html` <div\n        part=\"slider\"\n        id=\"color-slider\"\n        role=\"slider\"\n        aria-label=\"${this.label}\"\n        aria-orientation=\"${this.vertical ? \"vertical\" : \"horizontal\"}\"\n        aria-valuemin=\"${Math.round(this.min)}\"\n        aria-valuemax=\"${Math.round(this.max)}\"\n        aria-valuenow=\"${Math.round(this.value)}\"\n        @click=${this.handleClick}\n        @mousedown=${this.handleDrag}\n        @touchstart=${this.handleDrag}\n        @keydown=${this.handleKeyDown}>\n        ${this.type === \"opacity\" ? html`<div\n              id=\"current-hue\"\n              style=${styleMap({\n      backgroundImage: `linear-gradient(to ${this.vertical ? \"top\" : \"right\"},\n            transparent 0%,\n            ${this.color} 100%\n            )`\n    })}></div>` : \"\"}\n        <!-- <slot name=\"detail\"> </slot> -->\n        <span\n          id=\"color-slider__handle\"\n          style=\"--current-value: ${this.cssPropCurrentValue}%;\"\n          tabindex=${ifDefined(this.disabled ? void 0 : \"0\")}></span>\n      </div>\n      ${Math.round(this.value)}`;\n  }\n};\nUUIColorSliderElement.styles = [\n  css`\n      :host {\n        --uui-slider-height: 15px;\n        --uui-slider-handle-size: 17px;\n        --uui-slider-background-image: #fff;\n        --uui-slider-background-size: 100%;\n        --uui-slider-background-position: top left;\n        display: block;\n      }\n\n      :host([type='hue']) {\n        --uui-slider-background-image: linear-gradient(\n          to right,\n          rgb(255, 0, 0) 0%,\n          rgb(255, 255, 0) 17%,\n          rgb(0, 255, 0) 33%,\n          rgb(0, 255, 255) 50%,\n          rgb(0, 0, 255) 67%,\n          rgb(255, 0, 255) 83%,\n          rgb(255, 0, 0) 100%\n        );\n      }\n\n      :host([vertical][type='hue']) {\n        --uui-slider-background-image: linear-gradient(\n          to top,\n          rgb(255, 0, 0) 0%,\n          rgb(255, 255, 0) 17%,\n          rgb(0, 255, 0) 33%,\n          rgb(0, 255, 255) 50%,\n          rgb(0, 0, 255) 67%,\n          rgb(255, 0, 255) 83%,\n          rgb(255, 0, 0) 100%\n        );\n      }\n\n      :host([type='opacity']) {\n        --uui-slider-background-image: linear-gradient(\n            45deg,\n            var(--uui-palette-grey,#c4c4c4) 25%,\n            transparent 25%\n          ),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, var(--uui-palette-grey,#c4c4c4) 25%, transparent 25%);\n\n        --uui-slider-background-size: 10px 10px;\n        --uui-slider-background-position: 0 0, 0 0, -5px -5px, 5px 5px;\n      }\n\n      #color-slider {\n        position: relative;\n        background-image: var(--uui-slider-background-image);\n        background-size: var(--uui-slider-background-size);\n        background-position: var(--uui-slider-background-position);\n        border-radius: 3px;\n        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n        width: 100%;\n        height: var(--uui-slider-height);\n      }\n\n      :host([vertical]) #color-slider {\n        width: var(--uui-slider-height);\n        height: 300px;\n      }\n\n      :host([disabled]) {\n        cursor: not-allowed;\n      }\n\n      :host([disabled]) #color-slider {\n        user-select: none;\n        pointer-events: none;\n        opacity: 0.55;\n      }\n\n      #color-slider__handle {\n        position: absolute;\n        top: calc(50% - var(--uui-slider-handle-size) / 2);\n        width: var(--uui-slider-handle-size);\n        height: var(--uui-slider-handle-size);\n        background-color: white;\n        border-radius: 50%;\n        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);\n        margin-left: calc(var(--uui-slider-handle-size) / -2);\n        left: var(--current-value, 0%);\n      }\n\n      :host([vertical]) #color-slider__handle {\n        left: unset;\n        top: var(--current-value, 100%);\n        margin-left: -1px;\n        margin-top: calc(var(--uui-slider-handle-size) / -2);\n      }\n\n      ::slotted(*:first-child) {\n        border-radius: 3px;\n        position: absolute;\n        top: 0px;\n        left: 0px;\n        width: 100%;\n        height: 100%;\n      }\n\n      #current-hue {\n        border-radius: 3px;\n        position: absolute;\n        inset: 0 0 0 0;\n      }\n    `\n];\n__decorateClass([\n  property({ reflect: true })\n], UUIColorSliderElement.prototype, \"type\", 2);\n__decorateClass([\n  property()\n], UUIColorSliderElement.prototype, \"color\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorSliderElement.prototype, \"min\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorSliderElement.prototype, \"max\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIColorSliderElement.prototype, \"precision\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorSliderElement.prototype, \"vertical\", 2);\n__decorateClass([\n  property()\n], UUIColorSliderElement.prototype, \"value\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorSliderElement.prototype, \"disabled\", 2);\nUUIColorSliderElement = __decorateClass([\n  defineElement(\"uui-color-slider\")\n], UUIColorSliderElement);\n\nexport { UUIColorSliderElement, UUIColorSliderEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\nimport { LitElement, html, nothing, css } from 'lit';\nimport { iconCheck } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { LabelMixin, SelectableMixin, ActiveMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIColorSwatchElement = class extends LabelMixin(\n  \"label\",\n  SelectableMixin(ActiveMixin(LitElement))\n) {\n  constructor() {\n    super();\n    this.disabled = false;\n    this.showLabel = false;\n    this.addEventListener(\"click\", this._setAriaAttributes);\n  }\n  get value() {\n    return this._value ?? \"\";\n  }\n  set value(newValue) {\n    const oldValue = this._value;\n    this._value = newValue;\n    this.requestUpdate(\"value\", oldValue);\n  }\n  get color() {\n    return this._color;\n  }\n  set color(newValue) {\n    const oldValue = this._color;\n    this._color = newValue;\n    this.requestUpdate(\"color\", oldValue);\n  }\n  _setAriaAttributes() {\n    if (this.selectable)\n      this.setAttribute(\"aria-checked\", this.selected.toString());\n  }\n  firstUpdated() {\n    this._setAriaAttributes();\n  }\n  willUpdate(changedProperties) {\n    if (changedProperties.has(\"disabled\")) {\n      if (this.selectable) {\n        this.selectable = !this.disabled;\n        this.deselectable = !this.disabled;\n      }\n    }\n    if (changedProperties.has(\"selectable\") || changedProperties.has(\"selected\")) {\n      this._setAriaAttributes();\n    }\n  }\n  render() {\n    return html`\n      <button\n        id=\"swatch\"\n        aria-label=${this.label}\n        aria-disabled=\"${this.disabled}\"\n        title=\"${this.label}\">\n        <div class=\"color-swatch color-swatch--transparent-bg\">\n          <div\n            class=\"color-swatch__color\"\n            style=\"background-color: var(--uui-swatch-color, ${this.color ?? this.value})\"></div>\n          <div\n            class=\"color-swatch__check\"\n            style=\"color: var(--uui-swatch-color, ${this.color ?? this.value})\">\n            ${iconCheck}\n          </div>\n        </div>\n        ${this._renderWithLabel()}\n      </button>\n    `;\n  }\n  _renderWithLabel() {\n    if (!this.showLabel)\n      return nothing;\n    return html`<div class=\"color-swatch__label\">\n      <strong>${this.renderLabel()}</strong>\n      ${this.value}\n    </div>`;\n  }\n};\nUUIColorSwatchElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: inline-flex;\n        align-items: center;\n        justify-content: center;\n        box-sizing: border-box;\n        transition: box-shadow 100ms ease-out;\n        flex-direction: column;\n      }\n\n      :host(*),\n      * {\n        /* TODO: implement globally shared outline style */\n        outline-color: var(--uui-color-focus,#3879ff);\n        outline-offset: 4px;\n      }\n\n      :host(:focus-within:not([disabled])) {\n        outline: none;\n      }\n\n      :host(:focus:not([disabled])) #swatch {\n        outline-color: var(--uui-color-focus,#3879ff);\n        outline-width: var(--uui-swatch-border-width, 1px);\n        outline-style: solid;\n        outline-offset: var(--uui-swatch-border-width, 1px);\n      }\n\n      :host([selectable]) #swatch {\n        cursor: pointer;\n      }\n\n      :host([disabled]) {\n        cursor: not-allowed;\n        opacity: 0.5;\n      }\n\n      #swatch {\n        cursor: inherit;\n        outline: none;\n        background: none;\n        border: none;\n        padding: 0;\n        margin: 0;\n        text-align: left;\n        border-radius: 3px;\n      }\n\n      :host(:not([selectable])) #swatch:focus {\n        outline: none;\n      }\n\n      :host([selectable]) #swatch::after {\n        content: '';\n        position: absolute;\n        pointer-events: none;\n        inset: calc(var(--uui-swatch-border-width, 1px) * -1);\n        width: calc(100% + calc(var(--uui-swatch-border-width, 1px) * 2));\n        height: calc(100% + calc(var(--uui-swatch-border-width, 1px) * 2));\n        box-sizing: border-box;\n        border: var(--uui-swatch-border-width, 2px) solid\n          var(--uui-color-selected,#3544b1);\n        border-radius: calc(\n          var(--uui-border-radius,3px) + var(--uui-swatch-border-width, 1px)\n        );\n        transition: opacity 100ms ease-out;\n        opacity: 0;\n      }\n      :host([selectable]:not([disabled]):hover) #swatch::after {\n        opacity: 0.33;\n      }\n      :host([selectable][selected]:not([disabled]):hover) #swatch::after {\n        opacity: 0.66;\n      }\n      :host([selectable][selected]:not([disabled])) #swatch::after {\n        opacity: 1;\n      }\n\n      .color-swatch {\n        position: relative;\n        width: var(--uui-swatch-size, 25px);\n        height: var(--uui-swatch-size, 25px);\n        border-radius: 3px;\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n        align-items: center;\n      }\n\n      :host([show-label]) .color-swatch {\n        width: 120px;\n        height: 50px;\n      }\n\n      .color-swatch.color-swatch--transparent-bg {\n        background-image: linear-gradient(\n            45deg,\n            var(--uui-palette-grey,#c4c4c4) 25%,\n            transparent 25%\n          ),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, transparent 75%, var(--uui-palette-grey,#c4c4c4) 75%),\n          linear-gradient(45deg, var(--uui-palette-grey,#c4c4c4) 25%, transparent 25%);\n        background-size: 10px 10px;\n        background-position:\n          0 0,\n          0 0,\n          -5px -5px,\n          5px 5px;\n      }\n      .color-swatch__color {\n        width: 100%;\n        height: 100%;\n        border: 1px solid rgba(0, 0, 0, 0.125);\n        border-radius: inherit;\n        box-sizing: border-box;\n      }\n\n      :host([show-label]) .color-swatch__color {\n        border-radius: 3px 3px 0 0;\n      }\n\n      .color-swatch__check {\n        position: absolute;\n        vertical-align: middle;\n        width: calc(var(--uui-swatch-size, 25px) / 2);\n        height: calc(var(--uui-swatch-size, 25px) / 2);\n        line-height: 0;\n        filter: invert(1) grayscale(1) contrast(9);\n        pointer-events: none;\n        opacity: 0;\n      }\n\n      :host([selected]) .color-swatch__check {\n        opacity: 1;\n      }\n\n      slot[name='label']::slotted(*),\n      .label {\n        font-size: var(--uui-size-4,12px);\n      }\n\n      .color-swatch__label {\n        max-width: 120px;\n        box-sizing: border-box;\n        padding: var(--uui-size-space-1,3px) var(--uui-size-space-2,6px);\n        line-height: 1.5;\n        display: flex;\n        flex-direction: column;\n        background: white;\n        border: 1px solid var(--uui-color-border,#d8d7d9);\n        border-radius: 0 0 3px 3px;\n        font-size: var(--uui-size-4, 12px);\n      }\n\n      .color-swatch__label strong {\n        overflow: hidden;\n        text-overflow: ellipsis;\n        white-space: nowrap;\n        box-sizing: border-box;\n      }\n    `\n];\n__decorateClass([\n  property()\n], UUIColorSwatchElement.prototype, \"value\", 1);\n__decorateClass([\n  property()\n], UUIColorSwatchElement.prototype, \"color\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorSwatchElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, attribute: \"show-label\", reflect: true })\n], UUIColorSwatchElement.prototype, \"showLabel\", 2);\nUUIColorSwatchElement = __decorateClass([\n  defineElement(\"uui-color-swatch\")\n], UUIColorSwatchElement);\n\nexport { UUIColorSwatchElement };\n","import { UUIEvent, UUISelectableEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\nimport { LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nclass UUIColorSwatchesEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIColorSwatchesEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIColorSwatchesElement = class extends LabelMixin(\"label\", LitElement) {\n  constructor() {\n    super();\n    this.value = \"\";\n    this.disabled = false;\n    this._onSelected = (event) => {\n      const target = event.target;\n      if (!this.swatches.includes(target))\n        return;\n      if (this._selectedElement) {\n        this._selectedElement.selected = false;\n        this._selectedElement.active = false;\n        this._selectedElement = void 0;\n      }\n      this._selectedElement = target;\n      this._activeElement = this._selectedElement;\n      this.value = this._selectedElement.value || \"\";\n      this.dispatchEvent(new UUIColorSwatchesEvent(UUIColorSwatchesEvent.CHANGE));\n    };\n    this._onDeselected = (event) => {\n      const target = event.target;\n      if (!this.swatches.includes(target))\n        return;\n      if (this._activeElement === target) {\n        this._activeElement = void 0;\n      }\n      if (this._selectedElement === target) {\n        this._selectedElement.selected = false;\n        this._selectedElement.active = false;\n        this._selectedElement = void 0;\n        this.value = \"\";\n        this.dispatchEvent(\n          new UUIColorSwatchesEvent(UUIColorSwatchesEvent.CHANGE)\n        );\n      }\n    };\n    this.addEventListener(UUISelectableEvent.SELECTED, this._onSelected);\n    this.addEventListener(UUISelectableEvent.DESELECTED, this._onDeselected);\n  }\n  get _activeElement() {\n    return this.__activeElement;\n  }\n  set _activeElement(el) {\n    if (this.__activeElement) {\n      this.__activeElement.active = false;\n    }\n    if (el) {\n      el.active = true;\n      this.__activeElement = el;\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"radiogroup\");\n    this.setAttribute(\"aria-label\", this.label);\n  }\n  willUpdate(_changedProperties) {\n    if (_changedProperties.has(\"label\")) {\n      this.setAttribute(\"aria-label\", this.label);\n    }\n  }\n  _handleSlotChange() {\n    if (!this.swatches || this.swatches.length === 0)\n      return;\n    this.swatches.forEach((swatch) => {\n      swatch.setAttribute(\"aria-checked\", \"false\");\n      swatch.setAttribute(\"role\", \"radio\");\n      if (this.disabled) {\n        swatch.setAttribute(\"disabled\", \"\");\n      } else {\n        swatch.setAttribute(\"selectable\", \"selectable\");\n      }\n      if (this.value !== \"\" && swatch.value === this.value) {\n        swatch.selected = true;\n        swatch.setAttribute(\"aria-checked\", \"true\");\n        this._selectedElement = swatch;\n        this._activeElement = this._selectedElement;\n      }\n    });\n  }\n  /**\n   * Deselects all swatches.\n   *\n   * @memberof UUIColorSwatchesElement\n   */\n  resetSelection() {\n    this.swatches.forEach((swatch) => {\n      swatch.selected = false;\n      swatch.active = false;\n      swatch.selectable = !swatch.disabled;\n    });\n    this._activeElement = void 0;\n    this._selectedElement = void 0;\n    this.value = \"\";\n  }\n  render() {\n    return html`<slot @slotchange=${this._handleSlotChange}></slot>`;\n  }\n};\nUUIColorSwatchesElement.styles = [\n  css`\n      :host {\n        display: flex;\n        flex-wrap: wrap;\n        gap: 0.4rem;\n      }\n    `\n];\n__decorateClass([\n  property()\n], UUIColorSwatchesElement.prototype, \"value\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIColorSwatchesElement.prototype, \"disabled\", 2);\n__decorateClass([\n  queryAssignedElements({ selector: \"uui-color-swatch\" })\n], UUIColorSwatchesElement.prototype, \"swatches\", 2);\nUUIColorSwatchesElement = __decorateClass([\n  defineElement(\"uui-color-swatches\")\n], UUIColorSwatchesElement);\n\nexport { UUIColorSwatchesElement, UUIColorSwatchesEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property, queryAssignedElements, state } from 'lit/decorators.js';\nimport { UUIEvent, UUISelectableEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { SelectableMixin, ActiveMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nclass UUIComboboxListEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIComboboxListEvent.CHANGE = \"change\";\nUUIComboboxListEvent.INNER_SLOT_CHANGE = \"inner-slot-change\";\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _updateActiveElement, updateActiveElement_fn;\nlet UUIComboboxListElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _updateActiveElement);\n    this.displayValue = \"\";\n    this._value = \"\";\n    this._activeElementValue = null;\n    this._onSlotChange = () => {\n      __privateMethod(this, _updateActiveElement, updateActiveElement_fn).call(this);\n      this._updateSelection();\n      this.dispatchEvent(\n        new UUIComboboxListEvent(UUIComboboxListEvent.INNER_SLOT_CHANGE)\n      );\n    };\n    this._onSelected = (e) => {\n      if (this._selectedElement) {\n        this._selectedElement.selected = false;\n        this._selectedElement.active = false;\n        this._selectedElement = void 0;\n      }\n      this._selectedElement = e.composedPath()[0];\n      this.value = this._selectedElement.value || \"\";\n      this.displayValue = this._selectedElement.displayValue || \"\";\n      this.dispatchEvent(new UUIComboboxListEvent(UUIComboboxListEvent.CHANGE));\n    };\n    this._onDeselected = (e) => {\n      const el = e.composedPath()[0];\n      if (this._selectedElement === el) {\n        this.value = \"\";\n        this.displayValue = \"\";\n        this.dispatchEvent(new UUIComboboxListEvent(UUIComboboxListEvent.CHANGE));\n      }\n    };\n    this._moveIndex = (distance) => {\n      const newIndex = Math.min(\n        Math.max(this._getActiveIndex + distance, 0),\n        this._options.length - 1\n      );\n      this._goToIndex(newIndex);\n    };\n    this._onKeyDown = (e) => {\n      if (this._options.length <= 0)\n        return;\n      switch (e.key) {\n        case \"ArrowUp\":\n          e.preventDefault();\n          e.ctrlKey ? this._moveIndex(-10) : this._moveIndex(-1);\n          break;\n        case \"ArrowDown\":\n          e.preventDefault();\n          e.ctrlKey ? this._moveIndex(10) : this._moveIndex(1);\n          break;\n        case \"Home\": {\n          e.preventDefault();\n          this._goToIndex(0);\n          break;\n        }\n        case \"Enter\": {\n          e.preventDefault();\n          this._getActiveElement?.click();\n          break;\n        }\n        case \"End\": {\n          e.preventDefault();\n          this._goToIndex(this._options.length - 1);\n          break;\n        }\n      }\n    };\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newValue) {\n    if (this._value === newValue)\n      return;\n    const oldValue = this._value;\n    this._value = newValue;\n    this._updateSelection();\n    this.requestUpdate(\"value\", oldValue);\n  }\n  get for() {\n    return this._for;\n  }\n  set for(newValue) {\n    if (this._for) {\n      this._for.removeEventListener(\"keydown\", this._onKeyDown);\n    }\n    this._for = newValue;\n    if (this._for) {\n      this._for.addEventListener(\"keydown\", this._onKeyDown);\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this._for) {\n      this._for = this;\n    }\n    this.addEventListener(UUISelectableEvent.SELECTED, this._onSelected);\n    this.addEventListener(UUISelectableEvent.DESELECTED, this._onDeselected);\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    document.removeEventListener(\"keydown\", this._onKeyDown);\n    this.removeEventListener(UUISelectableEvent.SELECTED, this._onSelected);\n    this.removeEventListener(UUISelectableEvent.DESELECTED, this._onDeselected);\n  }\n  _updateSelection() {\n    this.displayValue = \"\";\n    for (const option of this._options) {\n      if (option.value === this._value) {\n        this.displayValue = option.displayValue || \"\";\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    }\n  }\n  get _getActiveIndex() {\n    if (this._activeElementValue === null)\n      return -1;\n    return this._options.findIndex(\n      (element) => element.value === this._activeElementValue\n    );\n  }\n  get _getActiveElement() {\n    if (this._activeElementValue === null)\n      return null;\n    return this._options.find(\n      (element) => element.value === this._activeElementValue\n    );\n  }\n  _goToIndex(index) {\n    if (this._options.length === 0)\n      return;\n    index = Math.min(Math.max(index, 0), this._options.length - 1);\n    const activeElement = this._options[index];\n    this._activeElementValue = activeElement.value;\n    __privateMethod(this, _updateActiveElement, updateActiveElement_fn).call(this);\n    if (activeElement) {\n      activeElement.scrollIntoView({\n        behavior: \"auto\",\n        block: \"nearest\",\n        inline: \"nearest\"\n      });\n    }\n  }\n  render() {\n    return html` <slot @slotchange=${this._onSlotChange}></slot> `;\n  }\n};\n_updateActiveElement = new WeakSet();\nupdateActiveElement_fn = function() {\n  for (let i = 0; i < this._activeOptions.length; i++) {\n    this._activeOptions[i].active = false;\n  }\n  const activeElement = this._getActiveElement;\n  if (activeElement) {\n    activeElement.active = true;\n  } else {\n    this._goToIndex(0);\n  }\n};\nUUIComboboxListElement.styles = [\n  css`\n      :host {\n        display: flex;\n        flex-direction: column;\n        box-sizing: border-box;\n      }\n    `\n];\n__decorateClass$1([\n  property()\n], UUIComboboxListElement.prototype, \"value\", 1);\n__decorateClass$1([\n  property({ type: String })\n], UUIComboboxListElement.prototype, \"displayValue\", 2);\n__decorateClass$1([\n  property({ attribute: false })\n], UUIComboboxListElement.prototype, \"for\", 1);\n__decorateClass$1([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-combobox-list-option:not([disabled])\"\n  })\n], UUIComboboxListElement.prototype, \"_options\", 2);\n__decorateClass$1([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-combobox-list-option[active]\"\n  })\n], UUIComboboxListElement.prototype, \"_activeOptions\", 2);\n__decorateClass$1([\n  state()\n], UUIComboboxListElement.prototype, \"_value\", 2);\n__decorateClass$1([\n  state()\n], UUIComboboxListElement.prototype, \"_activeElementValue\", 2);\nUUIComboboxListElement = __decorateClass$1([\n  defineElement(\"uui-combobox-list\")\n], UUIComboboxListElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIComboboxListOptionElement = class extends SelectableMixin(\n  ActiveMixin(LitElement)\n) {\n  constructor() {\n    super();\n    this._disabled = false;\n    this._displayValue = \"\";\n    this.selectable = true;\n    this.deselectable = false;\n  }\n  get value() {\n    return this._value ? this._value : this.textContent?.trim() || \"\";\n  }\n  set value(newValue) {\n    const oldValue = this._value;\n    this._value = newValue;\n    this.requestUpdate(\"value\", oldValue);\n  }\n  get displayValue() {\n    return this._displayValue ? this._displayValue : this.textContent?.trim() || \"\";\n  }\n  set displayValue(newValue) {\n    const oldValue = this._displayValue;\n    this._displayValue = newValue;\n    this.requestUpdate(\"displayValue\", oldValue);\n  }\n  get disabled() {\n    return this._disabled;\n  }\n  set disabled(newValue) {\n    const oldValue = this._disabled;\n    this._disabled = newValue;\n    this.selectable = !this._disabled;\n    this.requestUpdate(\"disabled\", oldValue);\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIComboboxListOptionElement.styles = [\n  css`\n      :host {\n        position: relative;\n        cursor: pointer;\n        margin: 0 4px;\n        border-radius: var(--uui-border-radius,3px);\n        outline: 2px solid transparent;\n        outline-offset: -2px;\n        padding-left: 4px;\n      }\n\n      :host(:first-child) {\n        margin-top: 6px;\n      }\n      :host(:last-child) {\n        margin-bottom: 6px;\n      }\n\n      :host([selected]):host([active])::after {\n        display: block;\n        content: '';\n        position: absolute;\n        inset: 0px;\n        outline: var(--uui-color-surface,#fff) solid 2px;\n        outline-offset: -4px;\n      }\n      /*\n      :host::before {\n        display: block;\n        content: '';\n        opacity: 0;\n        position: absolute;\n        inset: 0;\n        background-color: var(--uui-color-selected);\n      }\n\n      :host(:hover)::before {\n        opacity: 0.15;\n        border-radius: var(--uui-border-radius);\n      } */\n\n      :host(:hover) {\n        background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      :host([disabled]) {\n        cursor: auto;\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n\n      :host([disabled]:hover) {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n\n      :host([active]) {\n        outline-color: var(--uui-color-focus,#3879ff);\n      }\n\n      :host([selected]) {\n        color: var(--uui-color-selected-contrast,#fff);\n        background-color: var(--uui-color-selected,#3544b1);\n      }\n\n      :host([selected]:hover) {\n        color: var(--uui-color-selected-contrast,#fff);\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n      :host([selected][disabled]) {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIComboboxListOptionElement.prototype, \"_disabled\", 2);\n__decorateClass([\n  state()\n], UUIComboboxListOptionElement.prototype, \"_displayValue\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIComboboxListOptionElement.prototype, \"value\", 1);\n__decorateClass([\n  property({ type: String, attribute: \"display-value\" })\n], UUIComboboxListOptionElement.prototype, \"displayValue\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIComboboxListOptionElement.prototype, \"disabled\", 1);\nUUIComboboxListOptionElement = __decorateClass([\n  defineElement(\"uui-combobox-list-option\")\n], UUIComboboxListOptionElement);\n\nexport { UUIComboboxListElement, UUIComboboxListEvent, UUIComboboxListOptionElement };\n","import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUIComboboxListEvent } from '@umbraco-ui/uui-combobox-list/lib';\nimport { iconRemove } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { LitElement, html, css } from 'lit';\nimport { property, query, queryAssignedElements, state } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIComboboxEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIComboboxEvent.SEARCH = \"search\";\nUUIComboboxEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n  __accessCheck(obj, member, \"write to private field\");\n  setter ? setter.call(obj, value) : member.set(obj, value);\n  return value;\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _comboboxList, _phoneMediaQuery, _onPhoneChange, _updateValue, updateValue_fn, _onMouseDown, _onBlur, _onInput, _onSlotChange, _onChange, _onToggle, _onOpen, _onClose, _onKeyDown, _onClear, _renderInput, _renderClearButton, _renderDropdown;\nlet UUIComboboxElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _updateValue);\n    this.closeLabel = \"Close\";\n    this.disabled = false;\n    __privateAdd(this, _comboboxList, void 0);\n    __privateAdd(this, _phoneMediaQuery, void 0);\n    this._displayValue = \"\";\n    this._search = \"\";\n    this._isPhone = false;\n    this._isOpen = false;\n    __privateAdd(this, _onPhoneChange, () => {\n      this._isPhone = __privateGet(this, _phoneMediaQuery).matches;\n    });\n    __privateAdd(this, _onMouseDown, () => requestAnimationFrame(() => this._inputElement.focus()));\n    __privateAdd(this, _onBlur, () => requestAnimationFrame(() => {\n      if (!this.shadowRoot?.activeElement) {\n        __privateGet(this, _onClose).call(this);\n      }\n    }));\n    __privateAdd(this, _onInput, (e) => {\n      e.preventDefault();\n      e.stopImmediatePropagation();\n      this.search = e.target.value;\n      this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.SEARCH));\n      __privateGet(this, _onOpen).call(this);\n    });\n    __privateAdd(this, _onSlotChange, () => {\n      if (this.value && this.value !== __privateGet(this, _comboboxList)?.value) {\n        __privateMethod(this, _updateValue, updateValue_fn).call(this, this.value);\n      }\n    });\n    __privateAdd(this, _onChange, () => {\n      this.value = __privateGet(this, _comboboxList)?.value || \"\";\n      this.search = this.value ? this.search : \"\";\n      __privateGet(this, _onClose).call(this);\n      this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.CHANGE));\n    });\n    __privateAdd(this, _onToggle, () => {\n      this.open = !this.open;\n    });\n    __privateAdd(this, _onOpen, () => {\n      if (this.open)\n        return;\n      this.open = true;\n    });\n    __privateAdd(this, _onClose, () => {\n      if (!this.open)\n        return;\n      this.open = false;\n      this.search = \"\";\n      this._inputElement.value = this._displayValue;\n      this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.SEARCH));\n    });\n    __privateAdd(this, _onKeyDown, (e) => {\n      if (this.open === false && e.key === \"Enter\") {\n        e.preventDefault();\n        e.stopImmediatePropagation();\n      }\n      if (e.key === \"ArrowUp\" || e.key === \"ArrowDown\") {\n        __privateGet(this, _onOpen).call(this);\n      }\n      if (e.key === \"Escape\" || e.key === \"Enter\") {\n        __privateGet(this, _onClose).call(this);\n      }\n    });\n    __privateAdd(this, _onClear, (e) => {\n      if (e.key && e.key !== \"Enter\")\n        return;\n      e.preventDefault();\n      e.stopImmediatePropagation();\n      this.value = \"\";\n      this.search = \"\";\n      this._inputElement.value = this._displayValue;\n      this._inputElement.focus();\n      this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.SEARCH));\n      this.dispatchEvent(new UUIComboboxEvent(UUIComboboxEvent.CHANGE));\n    });\n    __privateAdd(this, _renderInput, () => {\n      return html` <uui-input\n      slot=\"trigger\"\n      id=\"combobox-input\"\n      label=\"combobox-input\"\n      type=\"text\"\n      .value=${this._displayValue}\n      autocomplete=\"off\"\n      .disabled=${this.disabled}\n      popovertarget=\"combobox-popover\"\n      @click=${__privateGet(this, _onToggle)}\n      @input=${__privateGet(this, _onInput)}\n      @keydown=${__privateGet(this, _onKeyDown)}>\n      <slot name=\"input-prepend\" slot=\"prepend\"></slot>\n      ${this.disabled ? \"\" : __privateGet(this, _renderClearButton).call(this)}\n      <div id=\"expand-symbol-wrapper\" slot=\"append\">\n        <uui-symbol-expand .open=${this._isOpen}></uui-symbol-expand>\n      </div>\n      <slot name=\"input-append\" slot=\"append\"></slot>\n    </uui-input>`;\n    });\n    __privateAdd(this, _renderClearButton, () => {\n      return this.value || this.search ? html`<uui-button\n          id=\"clear-button\"\n          @click=${__privateGet(this, _onClear)}\n          @keydown=${__privateGet(this, _onClear)}\n          label=\"clear\"\n          slot=\"append\"\n          compact\n          style=\"height: 100%;\">\n          <uui-icon name=\"remove\" .fallback=${iconRemove.strings[0]}></uui-icon>\n        </uui-button>` : \"\";\n    });\n    __privateAdd(this, _renderDropdown, () => {\n      return html`<div id=\"dropdown\">\n      <uui-scroll-container tabindex=\"-1\" id=\"scroll-container\">\n        <slot></slot>\n      </uui-scroll-container>\n    </div>`;\n    });\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newValue) {\n    if (typeof newValue === \"string\") {\n      __privateMethod(this, _updateValue, updateValue_fn).call(this, newValue);\n    }\n    super.value = newValue;\n  }\n  get search() {\n    return this._search;\n  }\n  set search(newValue) {\n    if (this.search === newValue)\n      return;\n    const oldValue = this._search;\n    this._search = newValue;\n    this.requestUpdate(\"search\", oldValue);\n  }\n  get open() {\n    return this._isOpen;\n  }\n  set open(newValue) {\n    const oldValue = newValue;\n    this._isOpen = newValue;\n    const popover = this._comboboxPopoverElement;\n    if (popover) {\n      if (newValue) {\n        const width = this._inputElement.offsetWidth;\n        popover.style.setProperty(\"--popover-width\", `${width}px`);\n        popover.showPopover();\n      } else {\n        popover.hidePopover();\n      }\n    }\n    this.requestUpdate(\"open\", oldValue);\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.addEventListener(\"blur\", __privateGet(this, _onBlur));\n    this.addEventListener(\"mousedown\", __privateGet(this, _onMouseDown));\n    __privateSet(this, _phoneMediaQuery, window.matchMedia(\"(max-width: 600px)\"));\n    __privateGet(this, _onPhoneChange).call(this);\n    __privateGet(this, _phoneMediaQuery).addEventListener(\"change\", __privateGet(this, _onPhoneChange));\n    demandCustomElement(this, \"uui-icon\");\n    demandCustomElement(this, \"uui-input\");\n    demandCustomElement(this, \"uui-button\");\n    demandCustomElement(this, \"uui-combobox-list\");\n    demandCustomElement(this, \"uui-scroll-container\");\n    demandCustomElement(this, \"uui-popover-container\");\n    demandCustomElement(this, \"uui-symbol-expand\");\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    this.removeEventListener(\"blur\", __privateGet(this, _onBlur));\n    this.removeEventListener(\"mousedown\", __privateGet(this, _onMouseDown));\n    __privateGet(this, _phoneMediaQuery).removeEventListener(\"change\", __privateGet(this, _onPhoneChange));\n  }\n  async firstUpdated() {\n    const list = this._comboboxListElements?.[0];\n    if (list) {\n      __privateSet(this, _comboboxList, list);\n      __privateGet(this, _comboboxList).for = this;\n      __privateGet(this, _comboboxList).addEventListener(\n        UUIComboboxListEvent.CHANGE,\n        __privateGet(this, _onChange)\n      );\n      __privateGet(this, _comboboxList).addEventListener(\n        UUIComboboxListEvent.INNER_SLOT_CHANGE,\n        __privateGet(this, _onSlotChange)\n      );\n      await this.updateComplete;\n      __privateMethod(this, _updateValue, updateValue_fn).call(this, this.value);\n    }\n  }\n  getFormElement() {\n    return this._inputElement;\n  }\n  render() {\n    if (this._isPhone && this.open) {\n      return html` <div id=\"phone-wrapper\">\n        <uui-button label=\"close\" look=\"primary\" @click=${__privateGet(this, _onClose)}>\n          ${this.closeLabel}\n        </uui-button>\n        ${__privateGet(this, _renderInput).call(this)} ${__privateGet(this, _renderDropdown).call(this)}\n      </div>`;\n    } else {\n      return html`\n        ${__privateGet(this, _renderInput).call(this)}\n        <uui-popover-container\n          id=\"combobox-popover\"\n          popover=\"manual\"\n          placement=\"bottom-end\">\n          ${__privateGet(this, _renderDropdown).call(this)}\n        </uui-popover-container>\n      `;\n    }\n  }\n};\n_comboboxList = new WeakMap();\n_phoneMediaQuery = new WeakMap();\n_onPhoneChange = new WeakMap();\n_updateValue = new WeakSet();\nupdateValue_fn = function(value) {\n  if (__privateGet(this, _comboboxList)) {\n    __privateGet(this, _comboboxList).value = value;\n    requestAnimationFrame(\n      () => this._displayValue = __privateGet(this, _comboboxList).displayValue || \"\"\n    );\n  }\n};\n_onMouseDown = new WeakMap();\n_onBlur = new WeakMap();\n_onInput = new WeakMap();\n_onSlotChange = new WeakMap();\n_onChange = new WeakMap();\n_onToggle = new WeakMap();\n_onOpen = new WeakMap();\n_onClose = new WeakMap();\n_onKeyDown = new WeakMap();\n_onClear = new WeakMap();\n_renderInput = new WeakMap();\n_renderClearButton = new WeakMap();\n_renderDropdown = new WeakMap();\nUUIComboboxElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n      }\n\n      #combobox-input {\n        width: 100%;\n        border-radius: var(--uui-size-1,3px);\n      }\n\n      #combobox-popover {\n        width: var(--uui-dropdown-width, var(--popover-width, inherit));\n      }\n\n      #scroll-container {\n        overflow-y: auto;\n        width: 100%;\n        max-height: var(--uui-combobox-popover-max-height, 500px);\n      }\n      #expand-symbol-wrapper {\n        height: 100%;\n        padding-right: var(--uui-size-space-3,9px);\n        display: flex;\n        justify-content: center;\n      }\n\n      #dropdown {\n        overflow: hidden;\n        z-index: -1;\n        background-color: var(\n          --uui-combobox-popover-background-color,\n          var(--uui-color-surface,#fff)\n        );\n        border: 1px solid var(--uui-color-border,#d8d7d9);\n        border-radius: var(--uui-border-radius,3px);\n        width: 100%;\n        height: 100%;\n        box-sizing: border-box;\n        box-shadow: var(--uui-shadow-depth-3,0 10px 20px rgba(0,0,0,0.19) , 0 6px 6px rgba(0,0,0,0.23));\n      }\n\n      :host([disabled]) #caret {\n        fill: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      #phone-wrapper {\n        position: fixed;\n        inset: 0;\n        display: flex;\n        flex-direction: column;\n        z-index: 1;\n        font-size: 1.1em;\n      }\n\n      #phone-wrapper #dropdown {\n        display: flex;\n      }\n\n      #phone-wrapper #combobox-input {\n        height: var(--uui-size-16,48px);\n      }\n\n      #phone-wrapper > uui-button {\n        height: var(--uui-size-14,42px);\n        width: 100%;\n      }\n\n      #phone-wrapper #scroll-container {\n        max-height: unset;\n      }\n    `\n];\n__decorateClass([\n  property({ attribute: \"value\", reflect: true })\n], UUIComboboxElement.prototype, \"value\", 1);\n__decorateClass([\n  property({ type: String })\n], UUIComboboxElement.prototype, \"search\", 1);\n__decorateClass([\n  property({ type: Boolean })\n], UUIComboboxElement.prototype, \"open\", 1);\n__decorateClass([\n  property({ type: String })\n], UUIComboboxElement.prototype, \"closeLabel\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIComboboxElement.prototype, \"disabled\", 2);\n__decorateClass([\n  query(\"#combobox-input\")\n], UUIComboboxElement.prototype, \"_inputElement\", 2);\n__decorateClass([\n  query(\"#combobox-popover\")\n], UUIComboboxElement.prototype, \"_comboboxPopoverElement\", 2);\n__decorateClass([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-combobox-list\"\n  })\n], UUIComboboxElement.prototype, \"_comboboxListElements\", 2);\n__decorateClass([\n  state()\n], UUIComboboxElement.prototype, \"_displayValue\", 2);\n__decorateClass([\n  state()\n], UUIComboboxElement.prototype, \"_search\", 2);\n__decorateClass([\n  state()\n], UUIComboboxElement.prototype, \"_isPhone\", 2);\n__decorateClass([\n  state()\n], UUIComboboxElement.prototype, \"_isOpen\", 2);\nUUIComboboxElement = __decorateClass([\n  defineElement(\"uui-combobox\")\n], UUIComboboxElement);\n\nexport { UUIComboboxElement, UUIComboboxEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIDialogLayoutElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.headline = null;\n    this._headlineSlotHasContent = false;\n    this._headlineSlotChanged = (e) => {\n      this._headlineSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    };\n  }\n  /**\n   * Renders a h3 with the headline slot nested\n   * @returns {TemplateResult}\n   * @protected\n   * @method\n   */\n  renderHeadline() {\n    return html` <h3\n      style=${this._headlineSlotHasContent || this.headline !== null ? \"\" : \"display: none\"}>\n      ${this.headline}\n      <slot name=\"headline\" @slotchange=${this._headlineSlotChanged}></slot>\n    </h3>`;\n  }\n  /**\n   * Renders default slot\n   * @returns {TemplateResult}\n   * @protected\n   * @method\n   */\n  renderContent() {\n    return html`<slot></slot>`;\n  }\n  /**\n   * Renders actions slot\n   * @returns {TemplateResult}\n   * @protected\n   * @method\n   */\n  renderActions() {\n    return html`<slot id=\"actions\" name=\"actions\"></slot>`;\n  }\n  render() {\n    return html`${this.renderHeadline()} ${this.renderContent()}\n    ${this.renderActions()} `;\n  }\n};\nUUIDialogLayoutElement.styles = [\n  css`\n      :host {\n        display: block;\n        padding: var(--uui-size-10,30px) var(--uui-size-14,42px);\n        color: var(--uui-color-text,#060606);\n      }\n\n      #actions {\n        margin-top: var(--uui-size-8,24px);\n        display: flex;\n        justify-content: end;\n        gap: var(--uui-size-4,12px);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIDialogLayoutElement.prototype, \"headline\", 2);\n__decorateClass([\n  state()\n], UUIDialogLayoutElement.prototype, \"_headlineSlotHasContent\", 2);\nUUIDialogLayoutElement = __decorateClass([\n  defineElement(\"uui-dialog-layout\")\n], UUIDialogLayoutElement);\n\nexport { UUIDialogLayoutElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIDialogElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIDialogElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: block;\n        max-width: 580px;\n        color: var(--uui-color-text,#060606);\n\n        background-color: var(\n          --uui-dialog-background-color,\n          var(--uui-color-surface,#fff)\n        );\n\n        box-shadow: var(--uui-shadow-depth-5,0 19px 38px rgba(0,0,0,0.30) , 0 15px 12px rgba(0,0,0,0.22));\n        border-radius: var(\n          --uui-dialog-border-radius,\n          calc(var(--uui-border-radius,3px) * 2)\n        );\n      }\n    `\n];\nUUIDialogElement = __decorateClass([\n  defineElement(\"uui-dialog\")\n], UUIDialogElement);\n\nexport { UUIDialogElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { query, property } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\n\nclass UUIFileDropzoneEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIFileDropzoneEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIFileDropzoneElement = class extends LabelMixin(\"\", LitElement) {\n  constructor() {\n    super();\n    this._acceptedFileExtensions = [];\n    this._acceptedMimeTypes = [];\n    this._accept = \"\";\n    this.multiple = false;\n    this.addEventListener(\"dragenter\", this._onDragEnter, false);\n    this.addEventListener(\"dragleave\", this._onDragLeave, false);\n    this.addEventListener(\"dragover\", this._onDragOver, false);\n    this.addEventListener(\"drop\", this._onDrop, false);\n  }\n  set accept(value) {\n    if (value) {\n      const mimetypes = [];\n      const fileextensions = [];\n      value.split(\",\").forEach((item) => {\n        item = item.trim().toLowerCase();\n        if (/[a-z]+\\/[a-z*]/s.test(item)) {\n          mimetypes.push(item);\n        } else {\n          fileextensions.push(item.replace(/^\\./, \"\"));\n        }\n      });\n      this._acceptedMimeTypes = mimetypes;\n      this._acceptedFileExtensions = fileextensions;\n    } else {\n      this._acceptedMimeTypes = [];\n      this._acceptedFileExtensions = [];\n    }\n    const old = this._accept;\n    this._accept = value;\n    this.requestUpdate(\"accept\", old);\n  }\n  get accept() {\n    return this._accept;\n  }\n  /**\n   * Opens the native file picker to select a file.\n   * @method browse\n   */\n  browse() {\n    this._input.click();\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-symbol-file-dropzone\");\n  }\n  async _getAllFileEntries(dataTransferItemList) {\n    const fileEntries = [];\n    const queue = [...dataTransferItemList];\n    while (queue.length > 0) {\n      const entry = queue.shift();\n      if (entry.kind === \"file\") {\n        const file = entry.getAsFile();\n        if (!file)\n          continue;\n        if (this._isAccepted(file)) {\n          fileEntries.push(file);\n        }\n      } else if (entry.kind === \"directory\") {\n        if (\"webkitGetAsEntry\" in entry === false)\n          continue;\n        const directory = entry.webkitGetAsEntry();\n        queue.push(\n          ...await this._readAllDirectoryEntries(directory.createReader())\n        );\n      }\n    }\n    return fileEntries;\n  }\n  // Get all the entries (files or sub-directories) in a directory\n  // by calling readEntries until it returns empty array\n  async _readAllDirectoryEntries(directoryReader) {\n    const entries = [];\n    let readEntries = await this._readEntriesPromise(directoryReader);\n    while (readEntries.length > 0) {\n      entries.push(...readEntries);\n      readEntries = await this._readEntriesPromise(directoryReader);\n    }\n    return entries;\n  }\n  async _readEntriesPromise(directoryReader) {\n    return new Promise((resolve, reject) => {\n      try {\n        directoryReader.readEntries(resolve, reject);\n      } catch (err) {\n        console.log(err);\n        reject(err);\n      }\n    });\n  }\n  _isAccepted(file) {\n    if (this._acceptedFileExtensions.length === 0 && this._acceptedMimeTypes.length === 0) {\n      return true;\n    }\n    const fileType = file.type.toLowerCase();\n    const fileExtension = file.name.split(\".\").pop();\n    if (fileExtension && this._acceptedFileExtensions.includes(fileExtension.toLowerCase())) {\n      return true;\n    }\n    for (const mimeType in this._acceptedMimeTypes) {\n      if (fileType === mimeType) {\n        return true;\n      } else if (mimeType.endsWith(\"/*\") && fileType.startsWith(mimeType.replace(\"/*\", \"\"))) {\n        return true;\n      }\n    }\n    return false;\n  }\n  async _onDrop(e) {\n    e.preventDefault();\n    this._dropzone.classList.remove(\"hover\");\n    const items = e.dataTransfer?.items;\n    if (items) {\n      let result = await this._getAllFileEntries(items);\n      if (this.multiple === false && result.length) {\n        result = [result[0]];\n      }\n      this.dispatchEvent(\n        new UUIFileDropzoneEvent(UUIFileDropzoneEvent.CHANGE, {\n          detail: { files: result }\n        })\n      );\n    }\n  }\n  _onDragOver(e) {\n    e.preventDefault();\n  }\n  _onDragEnter(e) {\n    this._dropzone.classList.add(\"hover\");\n    e.preventDefault();\n  }\n  _onDragLeave(e) {\n    this._dropzone.classList.remove(\"hover\");\n    e.preventDefault();\n  }\n  _onFileInputChange() {\n    const files = this._input.files ? Array.from(this._input.files) : [];\n    this.dispatchEvent(\n      new UUIFileDropzoneEvent(UUIFileDropzoneEvent.CHANGE, {\n        detail: { files }\n      })\n    );\n  }\n  render() {\n    return html`\n      <div id=\"dropzone\">\n        <uui-symbol-file-dropzone id=\"symbol\"></uui-symbol-file-dropzone>\n        ${this.renderLabel()}\n        <input\n          @click=${(e) => e.stopImmediatePropagation()}\n          id=\"input\"\n          type=\"file\"\n          accept=${this.accept}\n          ?multiple=${this.multiple}\n          @change=${this._onFileInputChange}\n          aria-label=\"${this.label}\" />\n        <slot></slot>\n      </div>\n    `;\n  }\n};\nUUIFileDropzoneElement.styles = [\n  css`\n      #dropzone {\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center;\n        position: relative;\n        box-sizing: border-box;\n        width: 100%;\n        height: 100%;\n        padding: var(--uui-size-4,12px);\n        border: 3px solid transparent;\n        margin: -3px;\n        backdrop-filter: blur(2px);\n      }\n      #dropzone.hover {\n        border-color: var(--uui-color-default,#1b264f);\n      }\n      #dropzone.hover::before {\n        content: '';\n        position: absolute;\n        inset: 0;\n        opacity: 0.2;\n        border-color: var(--uui-color-default,#1b264f);\n        background-color: var(--uui-color-default,#1b264f);\n      }\n      #symbol {\n        color: var(--uui-color-default,#1b264f);\n        max-width: 100%;\n        max-height: 100%;\n      }\n      #input {\n        position: absolute;\n        width: 0px;\n        height: 0px;\n        opacity: 0;\n        display: none;\n      }\n    `\n];\n__decorateClass([\n  query(\"#input\")\n], UUIFileDropzoneElement.prototype, \"_input\", 2);\n__decorateClass([\n  query(\"#dropzone\")\n], UUIFileDropzoneElement.prototype, \"_dropzone\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIFileDropzoneElement.prototype, \"accept\", 1);\n__decorateClass([\n  property({ type: Boolean })\n], UUIFileDropzoneElement.prototype, \"multiple\", 2);\nUUIFileDropzoneElement = __decorateClass([\n  defineElement(\"uui-file-dropzone\")\n], UUIFileDropzoneElement);\n\nexport { UUIFileDropzoneElement, UUIFileDropzoneEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { state, property } from 'lit/decorators.js';\nimport { css, LitElement, html } from 'lit';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\n\nclass UUIFileSize {\n  static humanFileSize(bytes, si = false, decimalPlaces = 1) {\n    const thresh = si ? 1e3 : 1024;\n    if (Math.abs(bytes) < thresh) {\n      return bytes + \" B\";\n    }\n    const units = si ? [\"kB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"] : [\"KiB\", \"MiB\", \"GiB\", \"TiB\", \"PiB\", \"EiB\", \"ZiB\", \"YiB\"];\n    let u = -1;\n    const r = 10 ** decimalPlaces;\n    do {\n      bytes /= thresh;\n      ++u;\n    } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);\n    return bytes.toFixed(decimalPlaces) + \" \" + units[u];\n  }\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIFilePreviewElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._name = \"\";\n    this._url = \"\";\n    this._extension = \"\";\n    this._src = \"\";\n    this._size = 0;\n    this._isDirectory = false;\n  }\n  get file() {\n    return this._file;\n  }\n  set file(newValue) {\n    const oldValue = this._file;\n    if (newValue instanceof File) {\n      this._name = newValue.name.split(\".\")[0];\n      this._extension = newValue.name.split(\".\")[1];\n      this._isDirectory = false;\n      this._size = newValue.size;\n      if (this._isFileAnImage(newValue)) {\n        this._isImage = true;\n        this._getThumbnail(newValue).then((result) => {\n          this._src = result;\n        });\n      }\n      this.requestUpdate(\"file\", oldValue);\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-symbol-file-thumbnail\");\n    demandCustomElement(this, \"uui-symbol-folder\");\n    demandCustomElement(this, \"uui-symbol-file\");\n  }\n  _openSource() {\n    window.open(this._url, \"_blank\");\n  }\n  _fileTypeTemplate() {\n    if (this._isDirectory) {\n      return html`<uui-symbol-folder id=\"file-symbol\"></uui-symbol-folder>`;\n    }\n    if (this._isImage) {\n      return html`<uui-symbol-file-thumbnail\n        .src=${this._src}\n        .alt=${this._name}\n        id=\"file-symbol\"></uui-symbol-file-thumbnail>`;\n    }\n    return html`<uui-symbol-file\n      id=\"file-symbol\"\n      .type=${this._extension}></uui-symbol-file>`;\n  }\n  _renderLongName() {\n    const endCharCount = 6;\n    const nameStart = this._name.substring(0, this._name.length - endCharCount);\n    const nameEnd = this._name.substring(\n      this._name.length - endCharCount,\n      this._name.length\n    );\n    return html`\n      <span\n        id=\"file-name\"\n        class=${this._url ? \"has-source\" : \"\"}\n        @click=${() => this._url ? this._openSource() : \"\"}\n        @keydown=${() => \"\"}>\n        <span id=\"file-name-start\">${nameStart}</span>\n        <span id=\"file-name-end\">${nameEnd}</span>\n      </span>\n    `;\n  }\n  _isFileAnImage(file) {\n    return file ? file[\"type\"].split(\"/\")[0] === \"image\" : false;\n  }\n  async _getThumbnail(file) {\n    return await new Promise((resolve) => {\n      const reader = new FileReader();\n      reader.readAsDataURL(file);\n      reader.onload = () => {\n        resolve(reader.result);\n      };\n    });\n  }\n  render() {\n    return html`\n      <slot id=\"actions\" name=\"actions\"></slot>\n      ${this._fileTypeTemplate()}\n      <div id=\"file-info\">\n        ${this._renderLongName()}\n        <span id=\"file-size\">\n          ${this._size && !this._isDirectory ? html`${UUIFileSize.humanFileSize(this._size, true)}` : \"\"}\n        </span>\n      </div>\n    `;\n  }\n};\nUUIFilePreviewElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: grid;\n        /* These have to be changed together */\n        grid-template-rows: 100px 50px;\n        width: 150px;\n        height: 150px;\n        /* --------------------------------- */\n        box-sizing: border-box;\n        aspect-ratio: 1;\n        color: var(--uui-color-text,#060606);\n      }\n\n      :host(:hover) slot[name='actions']::slotted(*) {\n        opacity: 1;\n      }\n\n      slot[name='actions']::slotted(*) {\n        position: absolute;\n        top: 8px;\n        right: 8px;\n        max-width: 100%;\n        height: 32px;\n        font-size: 13px;\n        opacity: 0;\n        z-index: 1;\n        transition: opacity 150ms;\n      }\n\n      #file-symbol {\n        aspect-ratio: 1 / 1;\n        margin: auto;\n        max-width: 100%;\n        max-height: 100%;\n      }\n\n      #file-info {\n        min-width: 0;\n        display: flex;\n        text-align: center;\n        flex-direction: column;\n        font-size: 1rem;\n      }\n\n      #file-name {\n        display: flex;\n        justify-content: center;\n      }\n\n      #file-name-start {\n        overflow: hidden;\n        white-space: nowrap;\n        text-overflow: ellipsis;\n      }\n\n      #file-name-end {\n        white-space: nowrap;\n      }\n\n      #file-size {\n        opacity: 0.6;\n      }\n\n      .has-source:hover {\n        text-decoration: underline;\n        cursor: pointer;\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_name\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_url\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_extension\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_src\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_size\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_isDirectory\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_file\", 2);\n__decorateClass([\n  state()\n], UUIFilePreviewElement.prototype, \"_isImage\", 2);\n__decorateClass([\n  property({ attribute: false })\n], UUIFilePreviewElement.prototype, \"file\", 1);\nUUIFilePreviewElement = __decorateClass([\n  defineElement(\"uui-file-preview\")\n], UUIFilePreviewElement);\n\nexport { UUIFilePreviewElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { css, LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIFormLayoutItemElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.description = null;\n    this._labelSlotHasContent = false;\n    this._labelSlotChanged = (e) => {\n      this._labelSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    };\n    this._descriptionSlotHasContent = false;\n    this._descriptionSlotChanged = (e) => {\n      this._descriptionSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    };\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-form-validation-message\");\n  }\n  render() {\n    return html`\n      <div id=\"label\" style=${this._labelSlotHasContent ? \"\" : \"display: none\"}>\n        <slot name=\"label\" @slotchange=${this._labelSlotChanged}></slot>\n      </div>\n      <div\n        id=\"description\"\n        style=${this._descriptionSlotHasContent || this.description !== null ? \"\" : \"display: none\"}>\n        ${this.description}\n        <slot\n          name=\"description\"\n          @slotchange=${this._descriptionSlotChanged}></slot>\n      </div>\n      <uui-form-validation-message>\n        <slot></slot>\n        <slot name=\"message\" slot=\"message\"></slot>\n      </uui-form-validation-message>\n    `;\n  }\n};\nUUIFormLayoutItemElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: block;\n        margin-top: var(--uui-size-space-5,18px);\n        margin-bottom: var(--uui-size-space-5,18px);\n      }\n      #label {\n        margin-top: -5px;\n        margin-bottom: 5px;\n      }\n      #description {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n        font-size: var(--uui-type-small-size,12px);\n      }\n      #label + #description {\n        margin-top: -8px;\n        min-height: 8px;\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIFormLayoutItemElement.prototype, \"description\", 2);\n__decorateClass([\n  state()\n], UUIFormLayoutItemElement.prototype, \"_labelSlotHasContent\", 2);\n__decorateClass([\n  state()\n], UUIFormLayoutItemElement.prototype, \"_descriptionSlotHasContent\", 2);\nUUIFormLayoutItemElement = __decorateClass([\n  defineElement(\"uui-form-layout-item\")\n], UUIFormLayoutItemElement);\n\nexport { UUIFormLayoutItemElement };\n","import{noChange as e}from\"../lit-html.js\";import{directive as s,Directive as t,PartType as r}from\"../directive.js\";import{getCommittedValue as l,setChildPartValue as o,insertPart as i,removePart as n,setCommittedValue as f}from\"../directive-helpers.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=s(class extends t{constructor(e){if(super(e),e.type!==r.CHILD)throw Error(\"repeat() can only be used in text expressions\")}ct(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return{values:o,keys:l}}render(e,s,t){return this.ct(e,s,t).values}update(s,[t,r,c]){var d;const a=l(s),{values:p,keys:v}=this.ct(t,r,c);if(!Array.isArray(a))return this.ut=v,p;const h=null!==(d=this.ut)&&void 0!==d?d:this.ut=[],m=[];let y,x,j=0,k=a.length-1,w=0,A=p.length-1;for(;j<=k&&w<=A;)if(null===a[j])j++;else if(null===a[k])k--;else if(h[j]===v[w])m[w]=o(a[j],p[w]),j++,w++;else if(h[k]===v[A])m[A]=o(a[k],p[A]),k--,A--;else if(h[j]===v[A])m[A]=o(a[j],p[A]),i(s,m[A+1],a[j]),j++,A--;else if(h[k]===v[w])m[w]=o(a[k],p[w]),i(s,a[j],a[k]),k--,w++;else if(void 0===y&&(y=u(v,w,A),x=u(h,j,k)),y.has(h[j]))if(y.has(h[k])){const e=x.get(v[w]),t=void 0!==e?a[e]:null;if(null===t){const e=i(s,a[j]);o(e,p[w]),m[w]=e}else m[w]=o(t,p[w]),i(s,a[j],t),a[e]=null;w++}else n(a[k]),k--;else n(a[j]),j++;for(;w<=A;){const e=i(s,m[A+1]);o(e,p[w]),m[w++]=e}for(;j<=k;){const e=a[j++];null!==e&&n(e)}return this.ut=v,f(s,m),e}});export{c as repeat};\n//# sourceMappingURL=repeat.js.map\n","import { UUIFormControlEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { repeat } from 'lit/directives/repeat.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIFormValidationMessageElement = class extends LitElement {\n  constructor() {\n    super();\n    this._for = null;\n    this._messages = /* @__PURE__ */ new Map();\n    this._onControlInvalid = (e) => {\n      const ctrl = e.composedPath()[0];\n      if (ctrl.pristine === false) {\n        this._messages.set(ctrl, ctrl.validationMessage);\n      } else {\n        this._messages.delete(ctrl);\n      }\n      this.requestUpdate();\n    };\n    this._onControlValid = (e) => {\n      const ctrl = e.composedPath()[0];\n      this._messages.delete(ctrl);\n      this.requestUpdate();\n    };\n    if (this.for === null) {\n      this.for = this;\n    }\n  }\n  get for() {\n    return this._for;\n  }\n  set for(value) {\n    let queriedElement = null;\n    if (typeof value === \"string\") {\n      const scope = this.getRootNode();\n      queriedElement = scope?.getElementById(value);\n    }\n    const newScope = queriedElement || this;\n    const oldScope = this._for;\n    if (oldScope === newScope) {\n      return;\n    }\n    if (oldScope !== null) {\n      oldScope.removeEventListener(\n        UUIFormControlEvent.INVALID,\n        this._onControlInvalid\n      );\n      oldScope.removeEventListener(\n        UUIFormControlEvent.VALID,\n        this._onControlValid\n      );\n    }\n    this._for = newScope;\n    this._for.addEventListener(\n      UUIFormControlEvent.INVALID,\n      this._onControlInvalid\n    );\n    this._for.addEventListener(\n      UUIFormControlEvent.VALID,\n      this._onControlValid\n    );\n  }\n  render() {\n    return html`\n      <slot></slot>\n      <div id=\"messages\">\n        ${repeat(this._messages, (item) => html`<div>${item[1]}</div>`)}\n        <slot name=\"message\"></slot>\n      </div>\n    `;\n  }\n};\nUUIFormValidationMessageElement.styles = [\n  css`\n      #messages {\n        color: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n    `\n];\n__decorateClass([\n  property({ reflect: false, attribute: true })\n], UUIFormValidationMessageElement.prototype, \"for\", 1);\nUUIFormValidationMessageElement = __decorateClass([\n  defineElement(\"uui-form-validation-message\")\n], UUIFormValidationMessageElement);\n\nexport { UUIFormValidationMessageElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIFormElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._formElement = null;\n  }\n  getFormElement() {\n    return this._formElement;\n  }\n  _onSlotChanged(event) {\n    if (this._formElement) {\n      this._formElement.removeEventListener(\"submit\", this._onSubmit);\n      this._formElement.removeEventListener(\"reset\", this._onReset);\n    }\n    const formElements = event.target.assignedNodes({ flatten: true }).filter((x) => x instanceof HTMLFormElement);\n    this._formElement = formElements.length > 0 ? formElements[0] : null;\n    if (this._formElement) {\n      this._formElement.setAttribute(\"novalidate\", \"\");\n      this._formElement.addEventListener(\"submit\", this._onSubmit);\n      this._formElement.addEventListener(\"reset\", this._onReset);\n    }\n  }\n  _onSubmit(event) {\n    if (event.target === null) {\n      return;\n    }\n    const formNode = event.target;\n    const isValid = formNode.checkValidity();\n    if (!isValid) {\n      formNode.setAttribute(\"submit-invalid\", \"\");\n      return;\n    }\n    formNode.removeAttribute(\"submit-invalid\");\n  }\n  _onReset(event) {\n    if (event.target === null) {\n      return;\n    }\n    event.target.removeAttribute(\"submit-invalid\");\n  }\n  render() {\n    return html`<slot @slotchange=${this._onSlotChanged}></slot>`;\n  }\n};\nUUIFormElement = __decorateClass([\n  defineElement(\"uui-form\")\n], UUIFormElement);\n\nexport { UUIFormElement };\n","import{nothing as t,noChange as i}from\"../lit-html.js\";import{Directive as r,PartType as s,directive as n}from\"../directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class e extends r{constructor(i){if(super(i),this.et=t,i.type!==s.CHILD)throw Error(this.constructor.directiveName+\"() can only be used in child bindings\")}render(r){if(r===t||null==r)return this.ft=void 0,this.et=r;if(r===i)return r;if(\"string\"!=typeof r)throw Error(this.constructor.directiveName+\"() called with a non-string value\");if(r===this.et)return this.ft;this.et=r;const s=[r];return s.raw=s,this.ft={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName=\"unsafeHTML\",e.resultType=1;const o=n(e);export{e as UnsafeHTMLDirective,o as unsafeHTML};\n//# sourceMappingURL=unsafe-html.js.map\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { state, property } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { unsafeHTML } from 'lit/directives/unsafe-html.js';\n\nclass UUIIconRequestEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true, composed: true },\n      ...eventInit\n    });\n    this.icon = null;\n  }\n  acceptRequest(icon) {\n    this.icon = icon;\n    this.stopImmediatePropagation();\n  }\n}\nUUIIconRequestEvent.ICON_REQUEST = \"icon-request\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIIconElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._name = null;\n    this._retrievedNameIcon = false;\n    this._nameSvg = null;\n    this.label = \"\";\n    this.svg = null;\n    this.fallback = null;\n    this._useFallback = false;\n  }\n  get name() {\n    return this._name;\n  }\n  set name(newValue) {\n    this._name = newValue;\n    if (this.shadowRoot) {\n      this.requestIcon();\n    }\n  }\n  requestIcon() {\n    if (this._name !== \"\" && this._name !== null) {\n      const event = new UUIIconRequestEvent(UUIIconRequestEvent.ICON_REQUEST, {\n        detail: { iconName: this._name }\n      });\n      this.dispatchEvent(event);\n      if (event.icon !== null) {\n        this._retrievedNameIcon = true;\n        event.icon.then((iconSvg) => {\n          this._useFallback = false;\n          this._nameSvg = iconSvg;\n        });\n      } else {\n        this._retrievedNameIcon = false;\n        this._useFallback = true;\n      }\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (this._retrievedNameIcon === false) {\n      this.requestIcon();\n    }\n  }\n  disconnectedCallback() {\n    this._retrievedNameIcon = false;\n  }\n  firstUpdated() {\n    if (this._retrievedNameIcon === false) {\n      this.requestIcon();\n    }\n    const hasLabel = typeof this.label === \"string\" && this.label.length > 0;\n    if (hasLabel) {\n      this.setAttribute(\"role\", \"img\");\n      this.setAttribute(\"aria-label\", this.label);\n      this.removeAttribute(\"aria-hidden\");\n    } else {\n      this.removeAttribute(\"role\");\n      this.removeAttribute(\"aria-label\");\n      this.setAttribute(\"aria-hidden\", \"true\");\n    }\n  }\n  render() {\n    if (this._useFallback === true) {\n      if (this.fallback === null) {\n        return html`<slot name=\"fallback\"></slot>`;\n      } else {\n        return unsafeHTML(this.fallback);\n      }\n    }\n    if (this._nameSvg !== null) {\n      return unsafeHTML(this._nameSvg);\n    }\n    if (this.svg !== null) {\n      return unsafeHTML(this.svg);\n    }\n    return html`<slot></slot>`;\n  }\n};\nUUIIconElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        vertical-align: bottom;\n        width: 1.15em;\n        height: 1.15em;\n      }\n\n      :host svg,\n      ::slotted(svg) {\n        color: var(--uui-icon-color, currentColor);\n      }\n\n      :host-context(div[slot='prepend']) {\n        margin-left: var(--uui-size-2, 6px);\n      }\n\n      :host-context(div[slot='append']) {\n        margin-right: var(--uui-size-2, 6px);\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIIconElement.prototype, \"_nameSvg\", 2);\n__decorateClass([\n  property()\n], UUIIconElement.prototype, \"label\", 2);\n__decorateClass([\n  property()\n], UUIIconElement.prototype, \"name\", 1);\n__decorateClass([\n  property({ attribute: false })\n], UUIIconElement.prototype, \"svg\", 2);\n__decorateClass([\n  property({ attribute: false })\n], UUIIconElement.prototype, \"fallback\", 2);\n__decorateClass([\n  state()\n], UUIIconElement.prototype, \"_useFallback\", 2);\nUUIIconElement = __decorateClass([\n  defineElement(\"uui-icon\")\n], UUIIconElement);\n\nexport { UUIIconElement, UUIIconRequestEvent };\n","import { LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\nimport { UUIIconRequestEvent } from '@umbraco-ui/uui-icon/lib';\n\nclass UUIIconHost {\n  constructor(svg) {\n    this.promise = new Promise((resolveMethod, rejectMethod) => {\n      this.resolve = resolveMethod;\n      this.reject = rejectMethod;\n    });\n    if (svg) {\n      this.resolve(svg);\n    }\n  }\n  set svg(svg) {\n    this.resolve(svg);\n  }\n}\n\nclass UUIIconRegistry {\n  constructor() {\n    this.icons = {};\n    this._onIconRequest = (event) => {\n      const icon = this.getIcon(event.detail.iconName);\n      if (icon !== null) {\n        event.acceptRequest(icon);\n      }\n    };\n  }\n  /**\n   * Attach an element to provide this registry. Use detach when disconnected.\n   * @param {EventTarget} element the element of which to provide this icon-set.\n   */\n  attach(element) {\n    element.addEventListener(\n      UUIIconRequestEvent.ICON_REQUEST,\n      this._onIconRequest\n    );\n  }\n  /**\n   * Detach an element from providing this registry.\n   * @param {EventTarget} element the element of which to stop providing this icon-set.\n   */\n  detach(element) {\n    element.removeEventListener(\n      UUIIconRequestEvent.ICON_REQUEST,\n      this._onIconRequest\n    );\n  }\n  /**\n   * Define a icon to be served by this registry.\n   * @param {string} iconName the name to use for this icon.\n   * @param {string} svgString the svg source for this icon.\n   */\n  defineIcon(iconName, svgString) {\n    if (this.icons[iconName]) {\n      this.icons[iconName].svg = svgString;\n      return;\n    }\n    this.icons[iconName] = new UUIIconHost(svgString);\n  }\n  /**\n   * Retrieve the SVG source of an icon, Returns ´null´ if the name does not exist.\n   * @param {string} iconName the name of the icon to retrieve.\n   */\n  getIcon(iconName) {\n    if (!!this.icons[iconName] || this.acceptIcon(iconName)) {\n      return this.icons[iconName].promise;\n    }\n    return null;\n  }\n  /**\n   * Declare that this registry will be providing a icon for this name\n   * @param {string} iconName the name of the icon to be provided.\n   */\n  provideIcon(iconName) {\n    return this.icons[iconName] = new UUIIconHost();\n  }\n  /**\n   * extend this method to provide your own logic.\n   * @param iconName\n   * @returns\n   */\n  //@ts-ignore-start\n  // eslint-disable-next-line\n  acceptIcon(iconName) {\n    return false;\n  }\n  //@ts-ignore-end\n  /**\n     * Dynamic concept by extending this class:\n     * extend getIcon in this way:\n  \n      protected acceptIcon(iconName: string): boolean {\n  \n        // Check if this is something we want to accept and provide.\n        if(iconName === \"myCustomIcon\") {\n  \n          // Inform that we will be providing this.\n          const icon = this.provideIcon(iconName);\n  \n          // When data is available set it on this icon object, this can be done at any point in time:\n          icon.svg = \"...\";\n  \n          return true;\n        }\n  \n        return false;\n      }\n    */\n  getIconNames() {\n    return Object.keys(this.icons);\n  }\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIIconRegistryElement = class extends LitElement {\n  constructor() {\n    super();\n    this._icons = {};\n    this._registry = new UUIIconRegistry();\n    this._registry.attach(this);\n  }\n  get icons() {\n    return this._icons;\n  }\n  set icons(icons) {\n    this._icons = icons;\n    if (this._registry) {\n      Object.entries(this._icons).forEach(\n        ([key, value]) => this._registry.defineIcon(key, value)\n      );\n    }\n  }\n  get registry() {\n    return this._registry;\n  }\n  set registry(newRegistry) {\n    if (this.registry) {\n      this.registry.detach(this);\n    }\n    newRegistry.attach(this);\n    this._registry = newRegistry;\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\n__decorateClass([\n  property({ attribute: false })\n], UUIIconRegistryElement.prototype, \"_icons\", 2);\nUUIIconRegistryElement = __decorateClass([\n  defineElement(\"uui-icon-registry\")\n], UUIIconRegistryElement);\n\nexport { UUIIconHost, UUIIconRegistry, UUIIconRegistryElement };\n","import { UUIIconRegistry, UUIIconRegistryElement } from '@umbraco-ui/uui-icon-registry/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { svg } from 'lit';\n\nconst iconAdd = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\"/><path d=\"M12 5v14\"/></svg>`;\n\nconst iconAlert = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\" /><path d=\"M12 9v4\" /><path d=\"M12 17h.01\" /></svg>`;\n\nconst iconAttachment = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48\" /></svg>`;\n\nconst iconCalendar = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" ry=\"2\" /><line x1=\"16\" x2=\"16\" y1=\"2\" y2=\"6\" /><line x1=\"8\" x2=\"8\" y1=\"2\" y2=\"6\" /><line x1=\"3\" x2=\"21\" y1=\"10\" y2=\"10\" /><path d=\"M8 14h.01\" /><path d=\"M12 14h.01\" /><path d=\"M16 14h.01\" /><path d=\"M8 18h.01\" /><path d=\"M12 18h.01\" /><path d=\"M16 18h.01\" /></svg>`;\n\nconst iconCheck = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\" /></svg>`;\n\nconst iconClipboard = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\" /><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\" /></svg>`;\n\nconst iconCode = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"16 18 22 12 16 6\" /><polyline points=\"8 6 2 12 8 18\" /></svg>`;\n\nconst iconColorPicker = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m2 22 1-1h3l9-9\" /><path d=\"M3 21v-3l9-9\" /><path d=\"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z\" /></svg>`;\n\nconst iconCopy = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z\" /><path d=\"M3 7.6v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8\" /><path d=\"M15 2v5h5\" /></svg>`;\n\nconst iconDelete = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 6h18\" /><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\" /><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\" /><line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\" /><line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\" /></svg>`;\n\nconst iconDocument = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z\" /><polyline points=\"14 2 14 8 20 8\" /></svg>`;\n\nconst iconDownload = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" /><polyline points=\"7 10 12 15 17 10\" /><line x1=\"12\" x2=\"12\" y1=\"15\" y2=\"3\" /></svg>`;\n\nconst iconEdit = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z\" /><path d=\"m15 5 4 4\" /></svg>`;\n\nconst iconFavorite = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z\" /></svg>`;\n\nconst iconFolder = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\" /><path d=\"M2 10h20\" /></svg>`;\n\nconst iconForbidden = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2\" /><path d=\"m15 9-6 6\" /><path d=\"m9 9 6 6\" /></svg>`;\n\nconst iconInfo = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M12 16v-4\" /><path d=\"M12 8h.01\" /></svg>`;\n\nconst iconLink = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" /><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" /></svg>`;\n\nconst iconLock = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 10 0v4\" /></svg>`;\n\nconst iconPause = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"4\" height=\"16\" x=\"6\" y=\"4\" /><rect width=\"4\" height=\"16\" x=\"14\" y=\"4\" /></svg>`;\n\nconst iconPicture = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\" /></svg>`;\n\nconst iconPlay = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polygon points=\"5 3 19 12 5 21 5 3\" /></svg>`;\n\nconst iconRemove = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6 6 18\" /><path d=\"m6 6 12 12\" /></svg>`;\n\nconst iconSearch = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\" /><path d=\"m21 21-4.3-4.3\" /></svg>`;\n\nconst iconSee = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" /></svg>`;\n\nconst iconSettings = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" /></svg>`;\n\nconst iconSubtract = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\" /></svg>`;\n\nconst iconSync = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" /><path d=\"M8 16H3v5\" /></svg>`;\n\nconst iconUnlock = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 9.9-1\" /></svg>`;\n\nconst iconUnsee = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.88 9.88a3 3 0 1 0 4.24 4.24\" /><path d=\"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68\" /><path d=\"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61\" /><line x1=\"2\" x2=\"22\" y1=\"2\" y2=\"22\" /></svg>`;\n\nconst iconWand = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 4V2\" /><path d=\"M15 16v-2\" /><path d=\"M8 9h2\" /><path d=\"M20 9h2\" /><path d=\"M17.8 11.8 19 13\" /><path d=\"M15 9h0\" /><path d=\"M17.8 6.2 19 5\" /><path d=\"m3 21 9-9\" /><path d=\"M12.2 6.2 11 5\" /></svg>`;\n\nconst iconWrong = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"m15 9-6 6\" /><path d=\"m9 9 6 6\" /></svg>`;\n\nclass UUIIconRegistryEssential extends UUIIconRegistry {\n  constructor() {\n    super();\n    this.defineIcon(\"add\", iconAdd.strings[0]);\n    this.defineIcon(\"alert\", iconAlert.strings[0]);\n    this.defineIcon(\"attachment\", iconAttachment.strings[0]);\n    this.defineIcon(\"calendar\", iconCalendar.strings[0]);\n    this.defineIcon(\"check\", iconCheck.strings[0]);\n    this.defineIcon(\"clipboard\", iconClipboard.strings[0]);\n    this.defineIcon(\"code\", iconCode.strings[0]);\n    this.defineIcon(\"colorpicker\", iconColorPicker.strings[0]);\n    this.defineIcon(\"copy\", iconCopy.strings[0]);\n    this.defineIcon(\"delete\", iconDelete.strings[0]);\n    this.defineIcon(\"document\", iconDocument.strings[0]);\n    this.defineIcon(\"download\", iconDownload.strings[0]);\n    this.defineIcon(\"edit\", iconEdit.strings[0]);\n    this.defineIcon(\"favorite\", iconFavorite.strings[0]);\n    this.defineIcon(\"folder\", iconFolder.strings[0]);\n    this.defineIcon(\"forbidden\", iconForbidden.strings[0]);\n    this.defineIcon(\"info\", iconInfo.strings[0]);\n    this.defineIcon(\"link\", iconLink.strings[0]);\n    this.defineIcon(\"lock\", iconLock.strings[0]);\n    this.defineIcon(\"pause\", iconPause.strings[0]);\n    this.defineIcon(\"picture\", iconPicture.strings[0]);\n    this.defineIcon(\"play\", iconPlay.strings[0]);\n    this.defineIcon(\"remove\", iconRemove.strings[0]);\n    this.defineIcon(\"search\", iconSearch.strings[0]);\n    this.defineIcon(\"see\", iconSee.strings[0]);\n    this.defineIcon(\"settings\", iconSettings.strings[0]);\n    this.defineIcon(\"subtract\", iconSubtract.strings[0]);\n    this.defineIcon(\"sync\", iconSync.strings[0]);\n    this.defineIcon(\"unlock\", iconUnlock.strings[0]);\n    this.defineIcon(\"unsee\", iconUnsee.strings[0]);\n    this.defineIcon(\"wand\", iconWand.strings[0]);\n    this.defineIcon(\"wrong\", iconWrong.strings[0]);\n  }\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIIconRegistryEssentialElement = class extends UUIIconRegistryElement {\n  constructor() {\n    super();\n    this.registry = new UUIIconRegistryEssential();\n  }\n};\nUUIIconRegistryEssentialElement = __decorateClass([\n  defineElement(\"uui-icon-registry-essential\")\n], UUIIconRegistryEssentialElement);\n\nexport { UUIIconRegistryEssential, UUIIconRegistryEssentialElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { query, property, state } from 'lit/decorators.js';\nimport { LitElement, html, nothing, css } from 'lit';\nimport { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { iconDelete } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { repeat } from 'lit/directives/repeat.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIInputFileElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super();\n    this.accept = \"\";\n    this.multiple = false;\n    this._files = [];\n    this._updateFileWrappers = (data) => {\n      let newFileWrappers = [];\n      for (const file of data) {\n        if (this.multiple) {\n          newFileWrappers.push(file);\n        } else {\n          newFileWrappers = [file];\n        }\n      }\n      this._files = newFileWrappers;\n    };\n    this.addEventListener(\"dragenter\", () => this._setShowDropzone(true));\n    this.addEventListener(\"dragleave\", () => this._setShowDropzone(false));\n    this.addEventListener(\"drop\", () => this._setShowDropzone(false));\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newValue) {\n    super.value = newValue;\n    if (newValue instanceof FormData) {\n      const data = this.multiple ? newValue.getAll(this.name) : [newValue.get(this.name)];\n      this._updateFileWrappers(data);\n      return;\n    }\n    if (newValue instanceof File) {\n      this._updateFileWrappers([newValue]);\n      return;\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-icon\");\n    demandCustomElement(this, \"uui-file-dropzone\");\n    demandCustomElement(this, \"uui-button\");\n    demandCustomElement(this, \"uui-action-bar\");\n    demandCustomElement(this, \"uui-file-preview\");\n  }\n  getFormElement() {\n    return this._dropZone;\n  }\n  _handleClick(e) {\n    e.stopImmediatePropagation();\n    this._dropzone.browse();\n  }\n  async _handleFilesChange(event) {\n    const entries = event.detail.files;\n    const files = entries.filter(\n      (entry) => entry instanceof File || entry.isFile\n    );\n    if (!this.multiple) {\n      const entry = files[0];\n      const isFile = entry instanceof File;\n      const file = isFile ? entry : await this._getFile(entry);\n      if (this.value instanceof File) {\n        this.value = file;\n        return;\n      }\n      if (this.value instanceof FormData) {\n        this.value.delete(this.name);\n        this.value.append(this.name, file);\n        this._updateFileWrappers([file]);\n        return;\n      }\n    }\n    let newValue = this.value;\n    if (files.length > 0 && !(this.value instanceof FormData)) {\n      newValue = new FormData();\n    }\n    if (newValue instanceof FormData) {\n      for (const entry of files) {\n        const isFile = entry instanceof File;\n        newValue.append(this.name, isFile ? entry : await this._getFile(entry));\n      }\n    }\n    this.value = newValue;\n  }\n  async _getFile(fileEntry) {\n    return await new Promise(\n      (resolve, reject) => fileEntry.file(resolve, reject)\n    );\n  }\n  _removeFile(index) {\n    const fileToRemove = this._files[index];\n    if (this.value instanceof FormData) {\n      const files = this.value.getAll(this.name);\n      const filteredFiles = files.filter((file) => file !== fileToRemove);\n      if (filteredFiles.length === 0) {\n        this.value = \"\";\n      } else {\n        this.value.delete(this.name);\n        for (const file of filteredFiles) {\n          this.value.append(this.name, file);\n        }\n      }\n      this._updateFileWrappers(filteredFiles);\n    }\n    if (this.value instanceof File) {\n      this.value = \"\";\n      this._updateFileWrappers([]);\n    }\n  }\n  _setShowDropzone(show) {\n    if (show) {\n      this._dropZone.style.display = \"flex\";\n    } else {\n      this._dropZone.style.display = \"none\";\n    }\n  }\n  _renderFileItem(file, index) {\n    return html`<uui-file-preview .file=\"${file}\">\n      <uui-action-bar slot=\"actions\">\n        <uui-button\n          @click=${() => this._removeFile(index)}\n          color=\"danger\"\n          label=${`Delete ${file.name}`}>\n          <uui-icon name=\"delete\" .fallback=${iconDelete.strings[0]}></uui-icon>\n        </uui-button>\n      </uui-action-bar>\n    </uui-file-preview>`;\n  }\n  _renderFiles() {\n    return html`${repeat(\n      this._files,\n      (file) => file.name + file.size,\n      (file, index) => this._renderFileItem(file, index)\n    )}`;\n  }\n  render() {\n    return html`\n      <uui-file-dropzone\n        id=\"dropzone\"\n        ?multiple=${this.multiple}\n        .accept=${this.accept}\n        @change=${this._handleFilesChange}\n        label=\"Drop files here\"></uui-file-dropzone>\n      <div id=\"files\">\n        ${this._renderFiles()}\n        ${this._files.length === 0 || this.multiple ? html`<uui-button\n              @click=${this._handleClick}\n              id=\"add-button\"\n              look=\"placeholder\"\n              label=\"Add\"></uui-button>` : nothing}\n      </div>\n    `;\n  }\n};\nUUIInputFileElement.styles = [\n  css`\n      :host {\n        width: 100%;\n        height: 100%;\n        position: relative;\n        display: flex;\n        box-sizing: border-box;\n        border: 1px solid var(--uui-color-border,#d8d7d9);\n      }\n\n      #input {\n        position: absolute;\n        width: 0px;\n        height: 0px;\n        opacity: 0;\n        display: none;\n      }\n\n      #files {\n        display: grid;\n        box-sizing: border-box;\n        justify-items: center;\n        width: 100%;\n        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));\n        grid-auto-rows: min-content;\n        gap: 16px;\n        padding: 16px;\n        overflow: auto;\n        max-height: 100%;\n      }\n\n      #dropzone {\n        display: none;\n        position: absolute;\n        inset: 0px;\n        z-index: 10;\n        justify-content: center;\n        align-items: center;\n      }\n\n      #add-button {\n        width: 150px;\n        height: 150px;\n        display: flex;\n        padding: 16px;\n        box-sizing: border-box;\n        justify-content: center;\n        align-items: stretch;\n      }\n    `\n];\n__decorateClass([\n  query(\"#dropzone\")\n], UUIInputFileElement.prototype, \"_dropzone\", 2);\n__decorateClass([\n  query(\"#dropzone\")\n], UUIInputFileElement.prototype, \"_dropZone\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIInputFileElement.prototype, \"accept\", 2);\n__decorateClass([\n  property({ type: Boolean })\n], UUIInputFileElement.prototype, \"multiple\", 2);\n__decorateClass([\n  state()\n], UUIInputFileElement.prototype, \"_files\", 2);\nUUIInputFileElement = __decorateClass([\n  defineElement(\"uui-input-file\")\n], UUIInputFileElement);\n\nexport { UUIInputFileElement };\n","import { FormControlMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIInputEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIInputEvent.CHANGE = \"change\";\nUUIInputEvent.INPUT = \"input\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIInputElement = class extends FormControlMixin(\n  LabelMixin(\"\", LitElement)\n) {\n  constructor() {\n    super();\n    this.minlengthMessage = \"This field need more characters\";\n    this.maxlengthMessage = \"This field exceeds the allowed amount of characters\";\n    this.disabled = false;\n    this.readonly = false;\n    this.placeholder = \"\";\n    this.autoWidth = false;\n    this.inputMode = \"\";\n    this._type = \"text\";\n    this.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n    });\n    this.addEventListener(\"blur\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"\");\n    });\n    this.addEventListener(\"keypress\", this._onKeypress);\n    this.addValidator(\n      \"tooShort\",\n      () => this.minlengthMessage,\n      () => !!this.minlength && String(this._value).length < this.minlength\n    );\n    this.addValidator(\n      \"tooLong\",\n      () => this.maxlengthMessage,\n      () => !!this.maxlength && String(this._value).length > this.maxlength\n    );\n  }\n  get type() {\n    return this._type;\n  }\n  set type(value) {\n    this._type = value;\n  }\n  firstUpdated(_changedProperties) {\n    super.firstUpdated(_changedProperties);\n    this.addFormControlElement(this._input);\n  }\n  _onKeypress(e) {\n    if (this.type !== \"color\" && e.key == \"Enter\") {\n      this.submit();\n    }\n  }\n  /**\n   * Removes focus from the input.\n   */\n  blur() {\n    this._input.blur();\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the input\n   */\n  focus() {\n    this._input.focus();\n  }\n  /**\n   * Selects all the text in the input.\n   */\n  select() {\n    this._input.select();\n  }\n  getFormElement() {\n    return this._input;\n  }\n  onInput(e) {\n    e.stopPropagation();\n    this.value = e.target.value;\n    this.dispatchEvent(new UUIInputEvent(UUIInputEvent.INPUT));\n  }\n  onChange(e) {\n    e.stopPropagation();\n    this.pristine = false;\n    this.dispatchEvent(new UUIInputEvent(UUIInputEvent.CHANGE));\n  }\n  renderPrepend() {\n    return html`<slot name=\"prepend\"></slot>`;\n  }\n  renderAppend() {\n    return html`<slot name=\"append\"></slot>`;\n  }\n  render() {\n    return html`\n      ${this.renderPrepend()}\n      ${this.autoWidth ? this.renderInputWithAutoWidth() : this.renderInput()}\n      ${this.renderAppend()}\n    `;\n  }\n  renderInputWithAutoWidth() {\n    return html`<div id=\"control\">\n      ${this.renderInput()}${this.renderAutoWidthBackground()}\n    </div>`;\n  }\n  renderInput() {\n    return html`<input\n      id=\"input\"\n      .type=${this.type}\n      .value=${this.value}\n      .name=${this.name}\n      pattern=${ifDefined(this.pattern)}\n      min=${ifDefined(this.min)}\n      max=${ifDefined(this.max)}\n      step=${ifDefined(this.step)}\n      spellcheck=${this.spellcheck}\n      autocomplete=${ifDefined(this.autocomplete)}\n      placeholder=${ifDefined(this.placeholder)}\n      aria-label=${ifDefined(this.label)}\n      inputmode=${ifDefined(this.inputMode)}\n      ?disabled=${this.disabled}\n      ?autofocus=${this.autofocus}\n      ?required=${this.required}\n      ?readonly=${this.readonly}\n      @input=${this.onInput}\n      @change=${this.onChange} />`;\n  }\n  renderAutoWidthBackground() {\n    return html` <div id=\"auto\" aria-hidden=\"true\">${this.renderText()}</div>`;\n  }\n  renderText() {\n    return html`${this.value.length > 0 ? this.value : this.placeholder}`;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUIInputElement.formAssociated = true;\nUUIInputElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: inline-flex;\n        align-items: stretch;\n        height: var(--uui-input-height, var(--uui-size-11,33px));\n        text-align: left;\n        box-sizing: border-box;\n        background-color: var(\n          --uui-input-background-color,\n          var(--uui-color-surface,#fff)\n        );\n        border: var(--uui-input-border-width, 1px) solid\n          var(--uui-input-border-color, var(--uui-color-border,#d8d7d9));\n\n        --uui-button-height: 100%;\n        --auto-width-text-margin-right: 0;\n        --auto-width-text-margin-left: 0;\n      }\n\n      #control {\n        position: relative;\n        display: flex;\n        flex-direction: column;\n        align-items: stretch;\n        justify-content: center;\n      }\n\n      #auto {\n        border: 0 1px solid transparent;\n        visibility: hidden;\n        white-space: pre;\n        z-index: -1;\n        height: 0px;\n        padding: 0 var(--uui-size-space-3,9px);\n        margin: 0 var(--auto-width-text-margin-right) 0\n          var(--auto-width-text-margin-left);\n      }\n\n      :host([auto-width]) #input {\n        width: 10px;\n        min-width: 100%;\n      }\n\n      :host(:hover) {\n        border-color: var(\n          --uui-input-border-color-hover,\n          var(--uui-color-border-standalone,#c2c2c2)\n        );\n      }\n      /* TODO: Fix so we dont get double outline when there is focus on things in the slot. */\n      :host(:focus-within) {\n        border-color: var(\n          --uui-input-border-color-focus,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n      :host(:focus) {\n        border-color: var(\n          --uui-input-border-color-focus,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n      }\n      :host([disabled]) {\n        background-color: var(\n          --uui-input-background-color-disabled,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n        border-color: var(\n          --uui-input-border-color-disabled,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) input {\n        -webkit-text-fill-color: var(\n          --uui-color-disabled-contrast,#c4c4c4\n        ); /* required on Safari and IOS */\n      }\n      :host([readonly]) {\n        background-color: var(\n          --uui-input-background-color-readonly,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n        border-color: var(\n          --uui-input-border-color-readonly,\n          var(--uui-color-disabled-standalone,rgb(226, 226, 226))\n        );\n      }\n\n      :host(:not([pristine]):invalid),\n      /* polyfill support */\n      :host(:not([pristine])[internals-invalid]) {\n        border-color: var(--uui-color-danger,#d42054);\n      }\n\n      input {\n        font-family: inherit;\n        padding: var(--uui-size-1,3px) var(--uui-size-space-3,9px);\n        font-size: inherit;\n        color: inherit;\n        border-radius: 0;\n        box-sizing: border-box;\n        border: none;\n        background: none;\n        width: 100%;\n        height: inherit;\n        text-align: inherit;\n        outline: none;\n      }\n\n      input[type='password']::-ms-reveal {\n        display: none;\n      }\n\n      /* TODO: make sure color looks good, or remove it as an option as we want to provide color-picker component */\n      input[type='color'] {\n        width: 30px;\n        padding: 0;\n        border: none;\n      }\n\n      ::slotted(uui-input),\n      ::slotted(uui-input-lock) {\n        height: 100%;\n        --uui-input-border-width: 0;\n      }\n    `\n];\n__decorateClass([\n  property()\n], UUIInputElement.prototype, \"min\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIInputElement.prototype, \"minlength\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"minlength-message\" })\n], UUIInputElement.prototype, \"minlengthMessage\", 2);\n__decorateClass([\n  property()\n], UUIInputElement.prototype, \"max\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIInputElement.prototype, \"maxlength\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"maxlength-message\" })\n], UUIInputElement.prototype, \"maxlengthMessage\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIInputElement.prototype, \"step\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIInputElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIInputElement.prototype, \"readonly\", 2);\n__decorateClass([\n  property()\n], UUIInputElement.prototype, \"placeholder\", 2);\n__decorateClass([\n  property()\n], UUIInputElement.prototype, \"autocomplete\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true, attribute: \"auto-width\" })\n], UUIInputElement.prototype, \"autoWidth\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIInputElement.prototype, \"type\", 1);\n__decorateClass([\n  property({ type: String })\n], UUIInputElement.prototype, \"pattern\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIInputElement.prototype, \"inputMode\", 2);\n__decorateClass([\n  query(\"#input\")\n], UUIInputElement.prototype, \"_input\", 2);\nUUIInputElement = __decorateClass([\n  defineElement(\"uui-input\")\n], UUIInputElement);\n\nexport { UUIInputElement, UUIInputEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { css, html } from 'lit';\nimport { UUIInputElement } from '@umbraco-ui/uui-input/lib';\nimport { iconLock, iconUnlock } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIInputLockElement = class extends UUIInputElement {\n  constructor() {\n    super();\n    this.locked = true;\n    this.readonly = true;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-icon\");\n    demandCustomElement(this, \"uui-button\");\n  }\n  _onLockToggle() {\n    this.readonly = this.locked = !this.locked;\n  }\n  renderIcon() {\n    return this.locked === true ? html`<uui-icon name=\"lock\" .fallback=${iconLock.strings[0]}></uui-icon>` : html`<uui-icon\n          name=\"unlock\"\n          .fallback=${iconUnlock.strings[0]}></uui-icon>`;\n  }\n  renderPrepend() {\n    return html`<uui-button\n      .disabled=${this.disabled}\n      @click=${this._onLockToggle}\n      compact\n      id=\"lock\"\n      label=\"${this.locked ? \"Unlock input\" : \"Lock input\"}\">\n      ${this.renderIcon()}\n    </uui-button>`;\n  }\n};\nUUIInputLockElement.styles = [\n  ...UUIInputElement.styles,\n  css`\n      #lock {\n        height: 100%;\n\n        --uui-button-padding-left-factor: 0.75;\n        --uui-button-padding-right-factor: 0.75;\n        font-size: 12px;\n      }\n\n      :host([locked]) #input {\n        cursor: not-allowed;\n        opacity: 0.55;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIInputLockElement.prototype, \"locked\", 2);\nUUIInputLockElement = __decorateClass([\n  defineElement(\"uui-input-lock\")\n], UUIInputLockElement);\n\nexport { UUIInputLockElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { iconSee, iconUnsee } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { UUIInputElement } from '@umbraco-ui/uui-input/lib';\nimport { css, html } from 'lit';\nimport { state, property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIInputPasswordElement = class extends UUIInputElement {\n  constructor() {\n    super(...arguments);\n    this.passwordType = \"password\";\n  }\n  get type() {\n    return this.passwordType;\n  }\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  set type(_newValue) {\n  }\n  _onPasswordToggle() {\n    if (this.passwordType === \"password\") {\n      this.passwordType = \"text\";\n    } else {\n      this.passwordType = \"password\";\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-icon\");\n    demandCustomElement(this, \"uui-button\");\n    if (!this.hasAttribute(\"spellcheck\")) {\n      this.spellcheck = false;\n    }\n  }\n  renderIcon() {\n    return this.passwordType === \"password\" ? html`<uui-icon name=\"see\" .fallback=${iconSee.strings[0]}></uui-icon>` : html`<uui-icon\n          name=\"unsee\"\n          .fallback=${iconUnsee.strings[0]}></uui-icon>`;\n  }\n  renderAppend() {\n    return html`<uui-button\n      .disabled=${this.disabled}\n      @click=${this._onPasswordToggle}\n      compact\n      label=\"${this.passwordType === \"password\" ? \"Show password\" : \"Hide password\"}\"\n      id=\"eye\">\n      ${this.renderIcon()}\n    </uui-button>`;\n  }\n};\nUUIInputPasswordElement.styles = [\n  ...UUIInputElement.styles,\n  css`\n      #eye {\n        height: 100%;\n        margin-left: -6px;\n      }\n\n      #clear:hover {\n        color: black;\n      }\n    `\n];\n__decorateClass([\n  state()\n], UUIInputPasswordElement.prototype, \"passwordType\", 2);\n__decorateClass([\n  property()\n], UUIInputPasswordElement.prototype, \"type\", 1);\nUUIInputPasswordElement = __decorateClass([\n  defineElement(\"uui-input-password\")\n], UUIInputPasswordElement);\n\nexport { UUIInputPasswordElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nlet UUIKeyboardShortcutElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIKeyboardShortcutElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        font-family: inherit;\n        font-size: var(--uui-size-4,12px);\n        color: var(--uui-color-text,#060606);\n      }\n\n      ::slotted(*:first-child)uui-key {\n        margin-left: 0px;\n      }\n\n      ::slotted(*:last-child)uui-key {\n        margin-right: 0px;\n      }\n    `\n];\nUUIKeyboardShortcutElement = __decorateClass$1([\n  defineElement(\"uui-keyboard-shortcut\")\n], UUIKeyboardShortcutElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIKeyElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIKeyElement.styles = [\n  css`\n      :host {\n        background: var(--uui-color-surface,#fff);\n        border: 1px solid var(--uui-color-border,#d8d7d9);\n        font-family: inherit;\n        font-size: var(--uui-type-small-size,12px);\n        color: var(--uui-color-text,#060606);\n        border-radius: 5px;\n        margin: 0px 5px;\n        padding: 5px 7px;\n        box-sizing: border-box;\n        user-select: none;\n        text-transform: lowercase;\n      }\n    `\n];\nUUIKeyElement = __decorateClass([\n  defineElement(\"uui-key\")\n], UUIKeyElement);\n\nexport { UUIKeyElement, UUIKeyboardShortcutElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUILabelElement = class extends LitElement {\n  constructor() {\n    super();\n    this.disabled = false;\n    this.for = null;\n    this.required = false;\n    this.addEventListener(\"click\", this._onClick);\n  }\n  _onClick() {\n    if (this.disabled)\n      return;\n    const el = this.getForElement();\n    if (el) {\n      el.focus();\n      el.click();\n    }\n  }\n  getForElement() {\n    if (typeof this.for === \"string\") {\n      const scope = this.getRootNode();\n      return scope?.getElementById(this.for) || null;\n    }\n    return this.for || null;\n  }\n  render() {\n    return html`\n      <slot></slot>\n      ${this.required ? html`<div id=\"required\">*</div>` : \"\"}\n    `;\n  }\n};\nUUILabelElement.styles = [\n  css`\n      :host {\n        font-weight: 700;\n      }\n      :host([for]) {\n        cursor: pointer;\n      }\n      :host([disabled]) {\n        cursor: default;\n      }\n      #required {\n        display: inline;\n        color: var(--uui-color-danger,#d42054);\n        font-weight: 900;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUILabelElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ reflect: true, attribute: true })\n], UUILabelElement.prototype, \"for\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUILabelElement.prototype, \"required\", 2);\nUUILabelElement = __decorateClass([\n  defineElement(\"uui-label\")\n], UUILabelElement);\n\nexport { UUILabelElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nconst clamp = (num, min, max) => Math.min(Math.max(num, min), max);\nlet UUILoaderBarElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._progress = 0;\n    this._animationDuration = 1;\n  }\n  get progress() {\n    return this._progress;\n  }\n  set progress(newVal) {\n    const oldVal = this._progress;\n    this._progress = clamp(newVal, 0, 100);\n    this.requestUpdate(\"progress\", oldVal);\n  }\n  get animationDuration() {\n    return this._animationDuration;\n  }\n  set animationDuration(newVal) {\n    const oldVal = this._animationDuration;\n    this._animationDuration = newVal >= 0 ? newVal : 1;\n    this.requestUpdate(\"animationDuration\", oldVal);\n  }\n  render() {\n    return html`\n      ${this.progress ? html`<div\n            id=\"bar\"\n            style=\"max-width: ${this.progress.toString()}%;\"></div>` : \"\"}\n      <div\n        id=\"bar-anim\"\n        class=${this.progress ? \"\" : \"animate\"}\n        style=\"animation-duration: ${this.animationDuration}s\"></div>\n      <div id=\"bar-background\"></div>\n    `;\n  }\n};\nUUILoaderBarElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: block;\n        width: 100%;\n        height: 4px;\n        overflow: hidden;\n        color: var(--uui-color-default,#1b264f);\n      }\n\n      #bar,\n      #bar-anim,\n      #bar-background {\n        position: absolute;\n        inset: 0; /* top, left, bottom and right = 0*/\n        height: 100%;\n      }\n\n      #bar-background,\n      #bar {\n        background: currentColor;\n      }\n\n      #bar {\n        transition: max-width 120ms ease;\n      }\n\n      #bar-background {\n        opacity: 0.3;\n      }\n\n      #bar-anim {\n        transform: scaleX(0.4);\n        animation: bar-loading 1s infinite linear;\n        background: linear-gradient(\n          -90deg,\n          white 0%,\n          white 25%,\n          transparent 100%\n        );\n      }\n\n      #bar-anim.animate {\n        background: linear-gradient(\n          -90deg,\n          currentColor 0%,\n          currentColor 25%,\n          transparent 100%\n        );\n      }\n\n      @keyframes bar-loading {\n        0% {\n          transform-origin: -175% 0%;\n        }\n        100% {\n          transform-origin: 175% 0%;\n        }\n      }\n    `\n];\n__decorateClass([\n  property({ type: Number })\n], UUILoaderBarElement.prototype, \"progress\", 1);\n__decorateClass([\n  property({ type: Number })\n], UUILoaderBarElement.prototype, \"animationDuration\", 1);\nUUILoaderBarElement = __decorateClass([\n  defineElement(\"uui-loader-bar\")\n], UUILoaderBarElement);\n\nexport { UUILoaderBarElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUILoaderCircleElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.progress = 0;\n    this.showProgress = false;\n    this._resizeObserver = new ResizeObserver(() => this.onResize());\n    this._isLarge = false;\n  }\n  _circleStyle() {\n    if (this.progress) {\n      return { strokeDasharray: `${this.progress} 100` };\n    } else {\n      return { strokeDasharray: \"100 100\" };\n    }\n  }\n  firstUpdated() {\n    this._resizeObserver.observe(this);\n  }\n  disconnectedCallback() {\n    this._resizeObserver.disconnect();\n  }\n  onResize() {\n    const newIsLarge = this.clientHeight >= 30;\n    if (this._isLarge != newIsLarge) {\n      this._isLarge = newIsLarge;\n      this.requestUpdate();\n    }\n  }\n  renderProgress() {\n    return this._isLarge && this.progress && this.showProgress ? html`<span id=\"progress-display\">${this.progress}</span>` : \"\";\n  }\n  render() {\n    return html`\n      <svg\n        id=\"spinner\"\n        class=${this.progress ? \"\" : \"animate\"}\n        viewBox=\"0 0 40 40\"\n        xmlns=\"http://www.w3.org/2000/svg\">\n        <circle id=\"bg\" cx=\"50%\" cy=\"50%\" r=\"16\" />\n        <g>\n          <circle\n            id=\"circle\"\n            cx=\"50%\"\n            cy=\"50%\"\n            r=\"16\"\n            style=${styleMap(this._circleStyle())} />\n        </g>\n      </svg>\n      ${this.renderProgress()}\n    `;\n  }\n};\nUUILoaderCircleElement.styles = [\n  css`\n      :host {\n        vertical-align: middle;\n        line-height: 0;\n        overflow: hidden;\n        display: inline-flex;\n        justify-content: center;\n        align-items: center;\n        position: relative;\n        width: 1em;\n        height: 1em;\n        color: var(--uui-color-default,#1b264f);\n      }\n\n      #spinner {\n        width: 100%;\n        height: 100%;\n      }\n      #spinner g {\n        transform-origin: 50% 50%;\n        animation: 18s linear infinite spinner-animation;\n      }\n      #spinner.animate g {\n        animation: 800ms linear infinite spinner-animation;\n      }\n\n      @keyframes spinner-animation {\n        0% {\n          transform: rotate(0deg);\n        }\n        100% {\n          transform: rotate(360deg);\n        }\n      }\n\n      #spinner.animate #circle {\n        animation: 1400ms ease-in infinite circle-animation;\n        /** ease-in */\n      }\n\n      @keyframes circle-animation {\n        0% {\n          stroke-dashoffset: -55;\n        }\n        38% {\n          stroke-dashoffset: -88;\n        }\n        100% {\n          stroke-dashoffset: -55;\n        }\n      }\n\n      svg circle {\n        fill: transparent;\n        stroke: currentColor;\n        stroke-width: 6px;\n      }\n\n      #bg {\n        opacity: 0.5;\n      }\n\n      #circle {\n        stroke-linecap: round;\n        stroke-dasharray: 0 0;\n\n        transform-origin: 50% 50%;\n        transform: rotate(-90deg);\n        transition: stroke-dasharray 120ms ease;\n      }\n\n      #progress-display {\n        position: absolute;\n        left: 0;\n        top: 50%;\n        right: 0;\n        stroke: currentColor;\n        transform: translateY(-50%);\n        font-size: 0.3em;\n        font-weight: 700;\n        text-align: center;\n\n        /* Center the text */\n        padding-top: 0.09em;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Number })\n], UUILoaderCircleElement.prototype, \"progress\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true, attribute: \"show-progress\" })\n], UUILoaderCircleElement.prototype, \"showProgress\", 2);\nUUILoaderCircleElement = __decorateClass([\n  defineElement(\"uui-loader-circle\")\n], UUILoaderCircleElement);\n\nexport { UUILoaderCircleElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUILoaderElement = class extends LitElement {\n  render() {\n    return html`\n      <div></div>\n      <div></div>\n      <div></div>\n    `;\n  }\n};\nUUILoaderElement.styles = [\n  css`\n      :host {\n        color: var(--uui-color-default,#1b264f);\n      }\n\n      div {\n        display: inline-block;\n        width: var(--uui-size-2,6px);\n        height: var(--uui-size-2,6px);\n        border: 2px solid currentColor;\n        border-radius: 100%;\n        animation: loaderAnimation 1.4s infinite;\n      }\n\n      div:nth-child(1n) {\n        animation-delay: 0s;\n      }\n\n      div:nth-child(2n) {\n        animation-delay: 0.15s;\n      }\n\n      div:nth-child(3n) {\n        animation-delay: 0.3s;\n      }\n\n      @keyframes loaderAnimation {\n        0% {\n          transform: scale(0.5);\n          background-color: currentColor;\n        }\n        50% {\n          transform: scale(1);\n          background-color: transparent;\n        }\n        100% {\n          transform: scale(0.5);\n          background-color: currentColor;\n        }\n      }\n    `\n];\nUUILoaderElement = __decorateClass([\n  defineElement(\"uui-loader\")\n], UUILoaderElement);\n\nexport { UUILoaderElement };\n","import{isSingleExpression as i}from\"./directive-helpers.js\";import{Directive as t,PartType as e}from\"./directive.js\";export{Directive,PartType,directive}from\"./directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const s=(i,t)=>{var e,o;const r=i._$AN;if(void 0===r)return!1;for(const i of r)null===(o=(e=i)._$AO)||void 0===o||o.call(e,t,!1),s(i,t);return!0},o=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t}while(0===(null==e?void 0:e.size))},r=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),l(t)}};function n(i){void 0!==this._$AN?(o(this),this._$AM=i,r(this)):this._$AM=i}function h(i,t=!1,e=0){const r=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(t)if(Array.isArray(r))for(let i=e;i<r.length;i++)s(r[i],!1),o(r[i]);else null!=r&&(s(r,!1),o(r));else s(this,i)}const l=i=>{var t,s,o,r;i.type==e.CHILD&&(null!==(t=(o=i)._$AP)&&void 0!==t||(o._$AP=h),null!==(s=(r=i)._$AQ)&&void 0!==s||(r._$AQ=n))};class c extends t{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,e){super._$AT(i,t,e),r(this),this.isConnected=i._$AU}_$AO(i,t=!0){var e,r;i!==this.isConnected&&(this.isConnected=i,i?null===(e=this.reconnected)||void 0===e||e.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),t&&(s(this,i),o(this))}setValue(t){if(i(this._$Ct))this._$Ct._$AI(t,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}export{c as AsyncDirective};\n//# sourceMappingURL=async-directive.js.map\n","import{nothing as i}from\"../lit-html.js\";import{AsyncDirective as t}from\"../async-directive.js\";import{directive as s}from\"../directive.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const e=()=>new o;class o{}const h=new WeakMap,n=s(class extends t{render(t){return i}update(t,[s]){var e;const o=s!==this.G;return o&&void 0!==this.G&&this.ot(void 0),(o||this.rt!==this.lt)&&(this.G=s,this.dt=null===(e=t.options)||void 0===e?void 0:e.host,this.ot(this.lt=t.element)),i}ot(i){var t;if(\"function\"==typeof this.G){const s=null!==(t=this.dt)&&void 0!==t?t:globalThis;let e=h.get(s);void 0===e&&(e=new WeakMap,h.set(s,e)),void 0!==e.get(this.G)&&this.G.call(this.dt,void 0),e.set(this.G,i),void 0!==i&&this.G.call(this.dt,i)}else this.G.value=i}get rt(){var i,t,s;return\"function\"==typeof this.G?null===(t=h.get(null!==(i=this.dt)&&void 0!==i?i:globalThis))||void 0===t?void 0:t.get(this.G):null===(s=this.G)||void 0===s?void 0:s.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});export{e as createRef,n as ref};\n//# sourceMappingURL=ref.js.map\n","import { SelectOnlyMixin, SelectableMixin, ActiveMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { LitElement, html, css } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { ref } from 'lit/directives/ref.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIMenuItemEvent extends UUIEvent {\n}\nUUIMenuItemEvent.SHOW_CHILDREN = \"show-children\";\nUUIMenuItemEvent.HIDE_CHILDREN = \"hide-children\";\nUUIMenuItemEvent.CLICK_LABEL = \"click-label\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIMenuItemElement = class extends SelectOnlyMixin(\n  SelectableMixin(ActiveMixin(LabelMixin(\"label\", LitElement)))\n) {\n  constructor() {\n    super(...arguments);\n    this.disabled = false;\n    this.showChildren = false;\n    this.hasChildren = false;\n    this.loading = false;\n    this.iconSlotHasContent = false;\n    this._labelButtonChanged = (label) => {\n      this.selectableTarget = label || this;\n    };\n    this._iconSlotChanged = (e) => {\n      this.iconSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    };\n    this._onCaretClicked = () => {\n      const eventName = this.showChildren ? UUIMenuItemEvent.HIDE_CHILDREN : UUIMenuItemEvent.SHOW_CHILDREN;\n      const event = new UUIMenuItemEvent(eventName, { cancelable: true });\n      this.dispatchEvent(event);\n      if (event.defaultPrevented)\n        return;\n      this.showChildren = !this.showChildren;\n    };\n    this._onLabelClicked = () => {\n      const event = new UUIMenuItemEvent(UUIMenuItemEvent.CLICK_LABEL);\n      this.dispatchEvent(event);\n    };\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.hasAttribute(\"role\"))\n      this.setAttribute(\"role\", \"menu\");\n    demandCustomElement(this, \"uui-symbol-expand\");\n    demandCustomElement(this, \"uui-loader-bar\");\n  }\n  _renderLabelInside() {\n    return html` <slot\n        name=\"icon\"\n        id=\"icon\"\n        style=${this.iconSlotHasContent ? \"\" : \"display: none;\"}\n        @slotchange=${this._iconSlotChanged}></slot>\n      ${this.renderLabel()}\n      <slot name=\"badge\" id=\"badge\"> </slot>`;\n  }\n  _renderLabelAsAnchor() {\n    if (this.disabled) {\n      return html` <span id=\"label-button\" ${ref(this._labelButtonChanged)}>\n        ${this._renderLabelInside()}\n      </span>`;\n    }\n    return html` <a\n      id=\"label-button\"\n      ${ref(this._labelButtonChanged)}\n      href=${ifDefined(this.href)}\n      target=${ifDefined(this.target || void 0)}\n      rel=${ifDefined(\n      this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n    )}\n      @click=${this._onLabelClicked}\n      ?disabled=${this.disabled}\n      aria-label=\"${this.label}\">\n      ${this._renderLabelInside()}\n    </a>`;\n  }\n  _renderLabelAsButton() {\n    return html` <button\n      id=\"label-button\"\n      ${ref(this._labelButtonChanged)}\n      @click=${this._onLabelClicked}\n      ?disabled=${this.disabled}\n      aria-label=\"${this.label}\">\n      ${this._renderLabelInside()}\n    </button>`;\n  }\n  render() {\n    return html`\n      <div id=\"menu-item\" aria-label=\"menuitem\" role=\"menuitem\">\n        ${this.hasChildren ? html`<button id=\"caret-button\" @click=${this._onCaretClicked}>\n              <uui-symbol-expand ?open=${this.showChildren}></uui-symbol-expand>\n            </button>` : \"\"}\n        ${this.href ? this._renderLabelAsAnchor() : this._renderLabelAsButton()}\n\n        <div id=\"label-button-background\"></div>\n        ${this.selectOnly === false ? html`<slot id=\"actions-container\" name=\"actions\"></slot>` : \"\"}\n        ${this.loading ? html`<uui-loader-bar id=\"loader\"></uui-loader-bar>` : \"\"}\n      </div>\n      ${this.showChildren ? html`<slot></slot>` : \"\"}\n    `;\n  }\n};\nUUIMenuItemElement.styles = [\n  css`\n      :host {\n        box-sizing: border-box;\n        display: block;\n        --uui-menu-item-child-indent: calc(var(--uui-menu-item-indent, 0) + 1);\n        user-select: none;\n        --flat-structure-reversed: calc(\n          1 - var(--uui-menu-item-flat-structure, 0)\n        );\n      }\n\n      #menu-item {\n        position: relative;\n        padding-left: calc(var(--uui-menu-item-indent, 0) * var(--uui-size-4,12px));\n        display: grid;\n        grid-template-columns:\n          calc(var(--flat-structure-reversed) * var(--uui-size-8,24px))\n          1fr;\n        grid-template-rows: 1fr;\n        white-space: nowrap;\n      }\n\n      /** Not active, not selected, not disabled: */\n      :host(:not([active], [selected], [disabled], [select-mode='highlight']))\n        #menu-item\n        #label-button:hover\n        ~ #label-button-background,\n      :host(:not([active], [selected], [disabled]))\n        #menu-item\n        #caret-button:hover {\n        background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));\n      }\n      :host(:not([active], [selected], [disabled]))\n        #menu-item\n        #label-button:hover,\n      :host(:not([active], [selected])) #menu-item #caret-button:hover {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      /** Active */\n      :host([active]) #label-button,\n      :host([active]) #caret-button {\n        color: var(--uui-color-current-contrast,#1b264f);\n      }\n      :host([active]) #label-button-background {\n        background-color: var(--uui-color-current,#f5c1bc);\n      }\n      :host([active]) #label-button:hover ~ #label-button-background,\n      :host([active]) #caret-button:hover {\n        background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));\n      }\n\n      /** Disabled */\n      :host([disabled]) #menu-item {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n\n      /** Selected */\n      :host([selected]:not([select-mode='highlight'], [disabled]))\n        #label-button,\n      :host([selected]:not([select-mode='highlight'], [disabled]))\n        #caret-button {\n        color: var(--uui-color-selected-contrast,#fff);\n      }\n      :host([selected]:not([select-mode='highlight'], [disabled]))\n        #label-button-background {\n        background-color: var(--uui-color-selected,#3544b1);\n      }\n      /** Selected, not highlight mode */\n      :host([selected]:not([select-mode='highlight'], [disabled]))\n        #label-button:hover\n        ~ #label-button-background,\n      :host([selected]:not([select-mode='highlight'], [disabled]))\n        #caret-button:hover {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      /** highlight mode, default */\n      :host([select-mode='highlight']:not([disabled], [active], [selectable]))\n        #menu-item\n        #label-button:hover\n        ~ #label-button-background {\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));\n      }\n\n      /** highlight mode, active */\n      :host([select-mode='highlight'][active]:not([disabled]))\n        #menu-item\n        #label-button-background {\n        border-radius: var(--uui-border-radius,3px);\n      }\n\n      /** highlight mode, active & selected */\n      :host([select-mode='highlight'][active][selected]:not([disabled]))\n        #menu-item\n        #label-button:hover\n        ~ #label-button-background {\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));\n      }\n\n      /** highlight mode, selected */\n      :host([select-mode='highlight'][selected]:not([disabled]))\n        #menu-item\n        #label-button,\n      :host([select-mode='highlight'][selected]:not([disabled]))\n        #menu-item\n        #caret-button {\n        color: var(--uui-color-interactive,#1b264f);\n      }\n      :host([select-mode='highlight'][selectable][selected]:not([disabled]))\n        #menu-item\n        #label-button:hover {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      /** highlight mode, selected, selectable caret hover */\n      :host([selected][selectable][select-mode='highlight']:not([active]))\n        #menu-item\n        #caret-button:hover {\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-surface-emphasis,rgb(250, 250, 250));\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      /** Highlight borders */\n\n      :host([select-mode='highlight']:not([disabled]))\n        #menu-item\n        #label-button-background::after {\n        border-radius: var(--uui-border-radius,3px);\n        position: absolute;\n        content: '';\n        inset: 1px;\n        border: 2px solid var(--uui-color-selected,#3544b1);\n        opacity: 0;\n      }\n\n      :host([select-mode='highlight'][selectable][selected]:not([disabled]))\n        #menu-item\n        #caret-button:hover::after {\n        border-top-left-radius: var(--uui-border-radius,3px);\n        border-bottom-left-radius: var(--uui-border-radius,3px);\n        position: absolute;\n        content: '';\n        inset: 1px 0 1px 1px;\n        border: 2px solid var(--uui-color-selected,#3544b1);\n        border-right: none;\n      }\n\n      :host([select-mode='highlight'][selected]:not([disabled]))\n        #menu-item\n        #label-button-background::after {\n        opacity: 1;\n      }\n\n      :host([select-mode='highlight'][selectable]:not([disabled]))\n        #menu-item\n        #label-button:hover\n        ~ #label-button-background::after {\n        opacity: 0.33;\n      }\n      :host([select-mode='highlight'][selected]:not([disabled]))\n        #menu-item\n        #label-button:hover\n        ~ #label-button-background::after {\n        opacity: 0.66;\n      }\n\n      /** Buttons */\n\n      :host([disabled]) #label-button {\n        cursor: default;\n      }\n\n      button {\n        display: inline-flex;\n        align-items: center;\n\n        font-family: inherit;\n        font-size: inherit;\n\n        padding: 0;\n        text-align: left;\n        border: none;\n        color: inherit;\n        background-color: transparent;\n        cursor: pointer;\n        min-height: var(--uui-size-12,36px);\n        z-index: 1;\n      }\n\n      #label-button {\n        position: relative;\n        flex-grow: 1;\n        grid-column-start: 2;\n        white-space: nowrap;\n        overflow: hidden;\n        padding-right: var(--uui-size-space-3,9px);\n        padding-left: calc(\n          var(--uui-menu-item-flat-structure) * var(--uui-size-space-3,9px)\n        );\n        display: inline-flex;\n        align-items: center;\n        text-decoration: none;\n        color: currentColor;\n        min-height: var(--uui-size-12,36px);\n        z-index: 1;\n      }\n\n      #label-button .label {\n        white-space: nowrap;\n        overflow: hidden;\n        text-overflow: ellipsis;\n      }\n      span#label-button {\n        pointer-events: none; /* avoid hovering state on this. */\n      }\n\n      #caret-button {\n        position: relative;\n        width: 100%;\n        height: 100%;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        color: var(--uui-color-interactive,#1b264f);\n      }\n\n      #label-button-background {\n        position: absolute;\n        top: 0;\n        left: 0;\n        right: 0;\n        bottom: 0;\n      }\n\n      #actions-container {\n        opacity: 0;\n        transition: opacity 120ms;\n        grid-column-start: 3;\n      }\n      :host(:not([disabled])) #menu-item:hover #actions-container,\n      :host(:not([disabled])) #menu-item:focus #actions-container,\n      :host(:not([disabled])) #menu-item:focus-within #actions-container {\n        opacity: 1;\n      }\n\n      #loader {\n        position: absolute;\n        width: 100%;\n        bottom: 0;\n      }\n\n      #icon {\n        display: inline-flex;\n        font-size: 16px;\n        margin-right: var(--uui-size-2,6px);\n      }\n\n      #badge {\n        font-size: 12px;\n        --uui-badge-position: relative;\n        --uui-badge-position: auto;\n        display: block;\n        margin-left: 6px;\n      }\n\n      /** Focus styling */\n\n      :host([select-mode='highlight']) #label-button:focus-visible {\n        outline: none;\n        overflow: initial;\n      }\n\n      :host([select-mode='highlight']) #label-button:focus-visible::after {\n        content: '';\n        border-radius: calc(var(--uui-border-radius,3px) - 1px);\n        position: absolute;\n        inset: 3px 3px 3px -5px;\n        border: 2px solid var(--uui-color-focus,#3879ff);\n      }\n\n      :host([select-mode='highlight']) #caret-button:focus-visible {\n        outline: none;\n        overflow: initial;\n      }\n\n      :host([select-mode='highlight']) #caret-button:focus-visible::after {\n        content: '';\n        position: absolute;\n        inset: 3px;\n        border-radius: calc(var(--uui-border-radius,3px) - 1px);\n        border: 2px solid var(--uui-color-focus,#3879ff);\n      }\n\n      /** Slots */\n\n      slot:not([name]) {\n        position: relative;\n        display: block;\n        width: 100%;\n      }\n      slot:not([name]) {\n        --uui-menu-item-indent: var(--uui-menu-item-child-indent);\n      }\n\n      slot[name='actions'] {\n        display: flex;\n        align-items: center;\n        --uui-button-height: calc(var(--uui-size-base-unit) * 4);\n        margin-right: var(--uui-size-base-unit);\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIMenuItemElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true, attribute: \"show-children\" })\n], UUIMenuItemElement.prototype, \"showChildren\", 2);\n__decorateClass([\n  property({ type: Boolean, attribute: \"has-children\" })\n], UUIMenuItemElement.prototype, \"hasChildren\", 2);\n__decorateClass([\n  property({ type: Boolean, attribute: \"loading\" })\n], UUIMenuItemElement.prototype, \"loading\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIMenuItemElement.prototype, \"href\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIMenuItemElement.prototype, \"target\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"select-mode\", reflect: true })\n], UUIMenuItemElement.prototype, \"selectMode\", 2);\n__decorateClass([\n  state()\n], UUIMenuItemElement.prototype, \"iconSlotHasContent\", 2);\nUUIMenuItemElement = __decorateClass([\n  defineElement(\"uui-menu-item\")\n], UUIMenuItemElement);\n\nexport { UUIMenuItemElement, UUIMenuItemEvent };\n","import { css, LitElement, html } from 'lit';\nimport { query, property, state } from 'lit/decorators.js';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp$3 = Object.defineProperty;\nvar __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$3 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$3(target, key, result);\n  return result;\n};\nconst UUIModalCloseEvent = \"uui:modal-close\";\nclass UUIModalElement extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.isOpen = false;\n    this.isClosing = false;\n    this.index = 0;\n    this.uniqueIndex = 0;\n    this._transitionDuration = 250;\n    this.open = (event) => {\n      event?.preventDefault();\n      event?.stopImmediatePropagation();\n      const openEvent = new CustomEvent(\"open\", {\n        cancelable: true\n      });\n      this.dispatchEvent(openEvent);\n      if (openEvent.defaultPrevented)\n        return;\n      this._openModal();\n    };\n    this.close = (event) => {\n      event?.preventDefault();\n      event?.stopImmediatePropagation();\n      const closeEvent = new CustomEvent(UUIModalCloseEvent, {\n        cancelable: true\n      });\n      this.dispatchEvent(closeEvent);\n      if (closeEvent.defaultPrevented)\n        return;\n      this._closeModal();\n    };\n  }\n  get transitionDuration() {\n    return this._transitionDuration;\n  }\n  set transitionDuration(value) {\n    this._transitionDuration = value;\n    this.style.setProperty(\n      \"--uui-modal-transition-duration\",\n      this._transitionDuration + \"ms\"\n    );\n  }\n  firstUpdated(_changedProperties) {\n    super.firstUpdated(_changedProperties);\n    if (!this.isClosing) {\n      this.open();\n    }\n  }\n  _openModal() {\n    this.isOpen = true;\n    this._dialogElement?.showModal();\n    this._dialogElement?.addEventListener(\"cancel\", this.close);\n  }\n  _closeModal() {\n    this.isClosing = true;\n    this.isOpen = false;\n    this._dialogElement?.close();\n    this.dispatchEvent(new CustomEvent(\"close-end\"));\n    this.remove();\n  }\n}\nUUIModalElement.styles = [\n  css`\n      dialog {\n        display: block;\n        margin: 0;\n        padding: 0;\n        max-width: unset;\n        max-height: unset;\n        border: none;\n      }\n      dialog::backdrop {\n        background: none;\n        opacity: 0;\n      }\n      dialog::after {\n        content: '';\n        position: absolute;\n        inset: 0;\n        background-color: var(--uui-modal-color-backdrop, rgba(0, 0, 0, 0.5));\n        pointer-events: none;\n        opacity: 1;\n        transition: opacity var(--uui-modal-transition-duration, 250ms);\n        z-index: 1;\n      }\n      :host([index='0']) dialog::after {\n        opacity: 0;\n      }\n    `\n];\n__decorateClass$3([\n  query(\"dialog\")\n], UUIModalElement.prototype, \"_dialogElement\", 2);\n__decorateClass$3([\n  property({ type: Boolean, reflect: true, attribute: \"is-open\" })\n], UUIModalElement.prototype, \"isOpen\", 2);\n__decorateClass$3([\n  property({ type: Boolean, reflect: true, attribute: \"is-closing\" })\n], UUIModalElement.prototype, \"isClosing\", 2);\n__decorateClass$3([\n  property({ type: Number, reflect: true })\n], UUIModalElement.prototype, \"index\", 2);\n__decorateClass$3([\n  property({ type: Number, reflect: true, attribute: \"unique-index\" })\n], UUIModalElement.prototype, \"uniqueIndex\", 2);\n__decorateClass$3([\n  property({ type: Number, attribute: \"transition-duration\" })\n], UUIModalElement.prototype, \"transitionDuration\", 1);\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$2 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$2(target, key, result);\n  return result;\n};\nvar __accessCheck$1 = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet$1 = (obj, member, getter) => {\n  __accessCheck$1(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd$1 = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod$1 = (obj, member, method) => {\n  __accessCheck$1(obj, member, \"access private method\");\n  return method;\n};\nvar _getWidth, getWidth_get, _onClose, onClose_fn;\nlet UUIModalSidebarElement = class extends UUIModalElement {\n  constructor() {\n    super();\n    __privateAdd$1(this, _getWidth);\n    __privateAdd$1(this, _onClose);\n    this.size = \"full\";\n    this.addEventListener(UUIModalCloseEvent, __privateMethod$1(this, _onClose, onClose_fn).bind(this));\n  }\n  firstUpdated(_changedProperties) {\n    super.firstUpdated(_changedProperties);\n    this.style.setProperty(\"--uui-modal-offset\", -__privateGet$1(this, _getWidth, getWidth_get) + \"px\");\n  }\n  updated(_changedProperties) {\n    super.updated(_changedProperties);\n    if (this.uniqueIndex > 10) {\n      this.setAttribute(\"hide\", \"\");\n    } else {\n      this.removeAttribute(\"hide\");\n    }\n  }\n  render() {\n    return html`<dialog>\n      <slot></slot>\n    </dialog>`;\n  }\n};\n_getWidth = new WeakSet();\ngetWidth_get = function() {\n  return this._dialogElement?.getBoundingClientRect().width ?? 0;\n};\n_onClose = new WeakSet();\nonClose_fn = function(event) {\n  event.preventDefault();\n  if (this.isClosing)\n    return;\n  this.isClosing = true;\n  this.style.setProperty(\"--uui-modal-offset\", -__privateGet$1(this, _getWidth, getWidth_get) + \"px\");\n  setTimeout(() => {\n    this._closeModal();\n  }, this.transitionDuration);\n};\nUUIModalSidebarElement.styles = [\n  ...UUIModalElement.styles,\n  css`\n      :host {\n        --uui-modal-sidebar-left-gap: 24px;\n      }\n      @media (min-width: 600px) {\n        :host {\n          --uui-modal-sidebar-left-gap: 64px;\n        }\n      }\n      dialog {\n        height: 100%;\n        width: 100%;\n        box-sizing: border-box;\n        max-width: calc(100% - var(--uui-modal-sidebar-left-gap));\n        margin-left: auto;\n        right: var(--uui-modal-offset);\n        transition: right var(--uui-modal-transition-duration, 250ms);\n      }\n      :host([index='0']) dialog {\n        box-shadow: var(--uui-shadow-depth-5,0 19px 38px rgba(0,0,0,0.30) , 0 15px 12px rgba(0,0,0,0.22));\n      }\n      :host(:not([index='0'])) dialog {\n        outline: 1px solid rgba(0, 0, 0, 0.1);\n      }\n      :host([hide]) dialog {\n        display: none;\n      }\n      :host([size='large']) dialog {\n        max-width: min(1200px, calc(100% - var(--uui-modal-sidebar-left-gap)));\n      }\n      :host([size='medium']) dialog {\n        max-width: min(800px, calc(100% - var(--uui-modal-sidebar-left-gap)));\n      }\n      :host([size='small']) dialog {\n        max-width: min(400px, calc(100% - var(--uui-modal-sidebar-left-gap)));\n      }\n    `\n];\n__decorateClass$2([\n  property({ reflect: true })\n], UUIModalSidebarElement.prototype, \"size\", 2);\nUUIModalSidebarElement = __decorateClass$2([\n  defineElement(\"uui-modal-sidebar\")\n], UUIModalSidebarElement);\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _onSlotChange, _onCloseModalClose, _updateModals, updateModals_fn, _updateSidebars, updateSidebars_fn;\nlet UUIModalContainerElement = class extends LitElement {\n  constructor() {\n    super();\n    __privateAdd(this, _updateModals);\n    __privateAdd(this, _updateSidebars);\n    this.sidebarGap = 64;\n    this.transitionDurationMS = 250;\n    __privateAdd(this, _onSlotChange, () => {\n      const existingModals = this._modals ?? [];\n      this._modals = this.modalSlot?.assignedElements({ flatten: true }).filter(\n        (el) => el instanceof UUIModalElement\n      ) ?? [];\n      const oldModals = existingModals.filter(\n        (modal) => this._modals.indexOf(modal) === -1\n      );\n      oldModals.forEach(\n        (modal) => modal.removeEventListener(UUIModalCloseEvent, __privateGet(this, _onCloseModalClose))\n      );\n      const newModals = this._modals.filter(\n        (modal) => existingModals.indexOf(modal) === -1\n      );\n      newModals.forEach(\n        (modal) => modal.addEventListener(UUIModalCloseEvent, __privateGet(this, _onCloseModalClose))\n      );\n      this._sidebars = this._modals.filter(\n        (el) => el instanceof UUIModalSidebarElement\n      );\n      if (this._modals.length === 0) {\n        this.removeAttribute(\"backdrop\");\n        return;\n      }\n      __privateMethod(this, _updateModals, updateModals_fn).call(this);\n      __privateMethod(this, _updateSidebars, updateSidebars_fn).call(this);\n    });\n    __privateAdd(this, _onCloseModalClose, (event) => {\n      event.stopImmediatePropagation();\n      event.target?.removeEventListener(\n        UUIModalCloseEvent,\n        __privateGet(this, _onCloseModalClose)\n      );\n      if (!this._modals || this._modals.length <= 1) {\n        this.removeAttribute(\"backdrop\");\n        return;\n      }\n      __privateMethod(this, _updateModals, updateModals_fn).call(this);\n      __privateMethod(this, _updateSidebars, updateSidebars_fn).call(this);\n    });\n    this.addEventListener(UUIModalCloseEvent, __privateGet(this, _onCloseModalClose));\n  }\n  firstUpdated(_changedProperties) {\n    super.firstUpdated(_changedProperties);\n    this.style.setProperty(\n      \"--uui-modal-transition-duration\",\n      this.transitionDurationMS + \"ms\"\n    );\n  }\n  render() {\n    return html`<slot @slotchange=${__privateGet(this, _onSlotChange)}></slot>`;\n  }\n};\n_onSlotChange = new WeakMap();\n_onCloseModalClose = new WeakMap();\n_updateModals = new WeakSet();\nupdateModals_fn = function() {\n  this.setAttribute(\"backdrop\", \"\");\n  const reverse = this._modals?.filter((modal) => !modal.isClosing).reverse() ?? [];\n  reverse?.forEach((modal, index) => {\n    modal.index = index;\n    modal.transitionDuration = this.transitionDurationMS;\n  });\n  reverse?.forEach((modal) => {\n    const sameType = reverse?.filter(\n      (m) => m.constructor.name === modal.constructor.name\n    );\n    modal.uniqueIndex = sameType?.indexOf(modal) ?? 0;\n  });\n};\n_updateSidebars = new WeakSet();\nupdateSidebars_fn = function() {\n  requestAnimationFrame(() => {\n    let sidebarOffset = 0;\n    const reversed = this._sidebars?.filter((modal) => !modal.isClosing).reverse() ?? [];\n    for (let i = 0; i < reversed.length; i++) {\n      const sidebar = reversed[i];\n      const nextSidebar = reversed[i + 1];\n      const tempSidebarOffset = sidebarOffset;\n      sidebar.updateComplete.then(() => {\n        sidebar.style.setProperty(\n          \"--uui-modal-offset\",\n          tempSidebarOffset + \"px\"\n        );\n      });\n      if (nextSidebar?.hasAttribute(\"hide\"))\n        break;\n      const currentWidth = sidebar.shadowRoot?.querySelector(\"dialog\")?.getBoundingClientRect().width ?? 0;\n      const nextWidth = nextSidebar?.shadowRoot?.querySelector(\"dialog\")?.getBoundingClientRect().width ?? 0;\n      const distance = currentWidth + sidebarOffset + this.sidebarGap - nextWidth;\n      sidebarOffset = distance > 0 ? distance : 0;\n    }\n  });\n};\nUUIModalContainerElement.styles = css`\n    :host {\n      position: fixed;\n      --uui-modal-color-backdrop: rgba(0, 0, 0, 0.5);\n    }\n    :host::after {\n      content: '';\n      position: fixed;\n      inset: 0;\n      background-color: var(--uui-modal-color-backdrop, rgba(0, 0, 0, 0.5));\n      opacity: 0;\n      pointer-events: none;\n      transition: opacity var(--uui-modal-transition-duration, 250ms);\n    }\n    :host([backdrop])::after {\n      opacity: 1;\n    }\n  `;\n__decorateClass$1([\n  query(\"slot\")\n], UUIModalContainerElement.prototype, \"modalSlot\", 2);\n__decorateClass$1([\n  state()\n], UUIModalContainerElement.prototype, \"_modals\", 2);\n__decorateClass$1([\n  state()\n], UUIModalContainerElement.prototype, \"_sidebars\", 2);\n__decorateClass$1([\n  property({ type: Number })\n], UUIModalContainerElement.prototype, \"sidebarGap\", 2);\n__decorateClass$1([\n  property({ type: Number })\n], UUIModalContainerElement.prototype, \"transitionDurationMS\", 2);\nUUIModalContainerElement = __decorateClass$1([\n  defineElement(\"uui-modal-container\")\n], UUIModalContainerElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIModalDialogElement = class extends UUIModalElement {\n  render() {\n    return html`\n      <dialog>\n        <slot></slot>\n      </dialog>\n    `;\n  }\n};\nUUIModalDialogElement.styles = [\n  ...UUIModalElement.styles,\n  css`\n      dialog {\n        margin: auto;\n        max-width: 100%;\n        max-height: 100%;\n        border-radius: 12px;\n      }\n      :host([index='0']) dialog {\n        box-shadow: var(--uui-shadow-depth-5,0 19px 38px rgba(0,0,0,0.30) , 0 15px 12px rgba(0,0,0,0.22));\n      }\n      :host(:not([index='0'])) dialog {\n        outline: 1px solid rgba(0, 0, 0, 0.1);\n      }\n    `\n];\nUUIModalDialogElement = __decorateClass([\n  defineElement(\"uui-modal-dialog\")\n], UUIModalDialogElement);\n\nexport { UUIModalCloseEvent, UUIModalContainerElement, UUIModalDialogElement, UUIModalElement, UUIModalSidebarElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { css, LitElement, html } from 'lit';\nimport { queryAll, query, property, state } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIPaginationEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIPaginationEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nconst PAGE_BUTTON_MAX_WIDTH = 45;\nconst limit = (val, min, max) => {\n  return Math.min(Math.max(val, min), max);\n};\nconst arrayOfNumbers = (start, stop) => {\n  return Array.from({ length: stop - start + 1 }, (_, i) => start + i);\n};\nlet UUIPaginationElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._observer = new ResizeObserver(this._calculateRange.bind(this));\n    this.label = \"\";\n    this.ariaLabel = \"\";\n    this._total = 100;\n    this._range = 0;\n    this._visiblePages = [];\n    this._current = 1;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.hasAttribute(\"role\"))\n      this.setAttribute(\"role\", \"navigation\");\n    this._visiblePages = this._generateVisiblePages(this.current);\n    demandCustomElement(this, \"uui-button\");\n    demandCustomElement(this, \"uui-button-group\");\n  }\n  disconnectedCallback() {\n    this._observer.disconnect();\n  }\n  firstUpdated() {\n    this._observer.observe(this._pagesGroup);\n    this.updateLabel();\n    this._calculateRange();\n  }\n  willUpdate(changedProperties) {\n    if (changedProperties.has(\"current\") || changedProperties.has(\"label\")) {\n      this.updateLabel();\n    }\n  }\n  updateLabel() {\n    this.ariaLabel = `${this.label || \"Pagination navigation\"}. Current page: ${this.current}.`;\n  }\n  _calculateRange() {\n    const containerWidth = this.offsetWidth;\n    const navButtonsWidth = Array.from(this._navButtons).reduce(\n      (totalWidth, button) => {\n        return totalWidth + button.getBoundingClientRect().width;\n      },\n      0\n    );\n    const rangeBaseWidth = containerWidth - navButtonsWidth;\n    const range = rangeBaseWidth / PAGE_BUTTON_MAX_WIDTH / 2;\n    this._range = Math.max(1, Math.floor(range));\n    this._visiblePages = this._generateVisiblePages(this.current);\n  }\n  _generateVisiblePages(current) {\n    const start = current < this._range ? 1 : current < this.total - this._range ? current - this._range : this.total - this._range * 2;\n    const stop = current <= this._range ? this._range * 2 + 1 : current < this.total - this._range ? current + this._range : this.total;\n    const pages = arrayOfNumbers(\n      limit(start, 1, this.total),\n      limit(stop, 1, this.total)\n    );\n    return pages;\n  }\n  get total() {\n    return this._total;\n  }\n  set total(newValue) {\n    this._total = newValue;\n    this._visiblePages = this._generateVisiblePages(this._current);\n    this.requestUpdate(\"total\", newValue);\n  }\n  get current() {\n    return this._current;\n  }\n  set current(newValue) {\n    const oldValue = this._current;\n    this._current = limit(newValue, 1, this.total);\n    this._visiblePages = this._generateVisiblePages(this._current);\n    this.requestUpdate(\"current\", oldValue);\n  }\n  /**\n   * This method will change the page to a next one.\n   * @memberof UUIPaginationElement\n   */\n  goToNextPage() {\n    this.current++;\n    this.dispatchEvent(new UUIPaginationEvent(UUIPaginationEvent.CHANGE));\n  }\n  /**\n   * Change the page to a previous one.\n   * @memberof UUIPaginationElement\n   */\n  goToPreviousPage() {\n    this.current--;\n    this.dispatchEvent(new UUIPaginationEvent(UUIPaginationEvent.CHANGE));\n  }\n  /**\n   * Change the page to the one passed as an argument to this method.\n   * @param {number} page\n   * @memberof UUIPaginationElement\n   */\n  goToPage(page) {\n    this.current = page;\n    this.dispatchEvent(new UUIPaginationEvent(UUIPaginationEvent.CHANGE));\n  }\n  /** When having limited display of page-buttons and clicking a page-button that changes the current range, the focus stays on the position of the clicked button which is not anymore representing the number clicked, therefore we move focus to the button that represents the current page. */\n  focusActivePage() {\n    requestAnimationFrame(() => {\n      const activeButtonElement = this.renderRoot.querySelector(\".active\");\n      if (activeButtonElement) {\n        activeButtonElement.focus();\n      }\n    });\n  }\n  renderFirst() {\n    return html`<uui-button\n      compact\n      look=\"outline\"\n      class=\"nav\"\n      role=\"listitem\"\n      label=\"Go to first page\"\n      ?disabled=${this._current === 1}\n      @click=${() => this.goToPage(1)}>\n      First\n    </uui-button>`;\n  }\n  renderPrevious() {\n    return html`<uui-button\n      compact\n      look=\"outline\"\n      class=\"nav\"\n      role=\"listitem\"\n      label=\"Go to previous page\"\n      ?disabled=${this._current === 1}\n      @click=${this.goToPreviousPage}>\n      Previous\n    </uui-button>`;\n  }\n  renderNext() {\n    return html`<uui-button\n      compact\n      look=\"outline\"\n      role=\"listitem\"\n      class=\"nav\"\n      label=\"Go to next page\"\n      ?disabled=${this._current === this.total}\n      @click=${this.goToNextPage}>\n      Next\n    </uui-button>`;\n  }\n  renderLast() {\n    return html`\n      <uui-button\n        compact\n        look=\"outline\"\n        role=\"listitem\"\n        class=\"nav\"\n        label=\"Go to last page\"\n        ?disabled=${this.total === this._current}\n        @click=${() => this.goToPage(this.total)}>\n        Last\n      </uui-button>\n    `;\n  }\n  renderDots() {\n    return html`<uui-button\n      compact\n      look=\"outline\"\n      role=\"listitem\"\n      tabindex=\"-1\"\n      class=\"dots\"\n      label=\"More pages\"\n      >...</uui-button\n    > `;\n  }\n  renderPage(page) {\n    return html`<uui-button\n      compact\n      look=\"outline\"\n      role=\"listitem\"\n      label=\"Go to page ${page}\"\n      class=${\"page\" + (page === this._current ? \" active\" : \"\")}\n      tabindex=${page === this._current ? \"-1\" : \"\"}\n      @click=${() => {\n      if (page === this._current)\n        return;\n      this.goToPage(page);\n      this.focusActivePage();\n    }}>\n      ${page}\n    </uui-button>`;\n  }\n  renderNavigationLeft() {\n    return html` ${this.renderFirst()} ${this.renderPrevious()}\n    ${this._visiblePages.includes(1) ? \"\" : this.renderDots()}`;\n  }\n  renderNavigationRight() {\n    return html`${this._visiblePages.includes(this.total) ? \"\" : this.renderDots()}\n    ${this.renderNext()} ${this.renderLast()}`;\n  }\n  render() {\n    return html`<uui-button-group role=\"list\" id=\"pages\">\n      ${this.renderNavigationLeft()}\n      ${this._visiblePages.map(\n      (page) => this.renderPage(page)\n    )}\n      ${this.renderNavigationRight()}\n    </uui-button-group>\n    `;\n  }\n};\nUUIPaginationElement.styles = [\n  css`\n      uui-button-group {\n        width: 100%;\n      }\n\n      uui-button {\n        --uui-button-border-color: var(--uui-color-border-standalone,#c2c2c2);\n        --uui-button-border-color-hover: var(--uui-color-interactive-emphasis,#3544b1);\n        --uui-button-border-color-disabled: var(--uui-color-border-standalone,#c2c2c2);\n      }\n\n      .page {\n        min-width: 36px;\n        max-width: 72px;\n      }\n      .page.active {\n        --uui-button-background-color: var(--uui-color-current,#f5c1bc);\n      }\n\n      .nav {\n        min-width: 72px;\n      }\n\n      .dots {\n        pointer-events: none;\n      }\n\n      .active {\n        pointer-events: none;\n      }\n    `\n];\n__decorateClass([\n  queryAll(\"uui-button.nav\")\n], UUIPaginationElement.prototype, \"_navButtons\", 2);\n__decorateClass([\n  query(\"#pages\")\n], UUIPaginationElement.prototype, \"_pagesGroup\", 2);\n__decorateClass([\n  property()\n], UUIPaginationElement.prototype, \"label\", 2);\n__decorateClass([\n  property({ reflect: true, attribute: \"aria-label\" })\n], UUIPaginationElement.prototype, \"ariaLabel\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIPaginationElement.prototype, \"total\", 1);\n__decorateClass([\n  state()\n], UUIPaginationElement.prototype, \"_range\", 2);\n__decorateClass([\n  state()\n], UUIPaginationElement.prototype, \"_visiblePages\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIPaginationElement.prototype, \"current\", 1);\nUUIPaginationElement = __decorateClass([\n  defineElement(\"uui-pagination\")\n], UUIPaginationElement);\n\nexport { UUIPaginationElement, UUIPaginationEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { query, property } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIPopoverEvent extends UUIEvent {\n}\nUUIPopoverEvent.CLOSE = \"close\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nfunction mathClamp(value, min, max) {\n  if (value < min) {\n    return min;\n  } else if (value > max) {\n    return max;\n  }\n  return value;\n}\nlet UUIPopoverElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.scrollEventHandler = this._updatePlacement.bind(this);\n    this._open = false;\n    this._placement = \"bottom-start\";\n    this._currentPlacement = null;\n    this._scrollParents = [];\n    this.margin = 0;\n    this._onTriggerSlotChanged = (event) => {\n      this._trigger = event.target.assignedElements({\n        flatten: true\n      })[0];\n    };\n    this._intersectionCallback = (entries) => {\n      entries.forEach((entry) => {\n        if (entry.isIntersecting === false) {\n          this._startScrollListener();\n          this._updatePlacement();\n        }\n      });\n    };\n    this._onKeyUp = (event) => {\n      if (event.key === \"Escape\") {\n        this._triggerPopoverClose();\n        return;\n      }\n    };\n    this._onDocumentClick = (event) => {\n      if (!event.composedPath().includes(this)) {\n        this._triggerPopoverClose();\n      }\n    };\n  }\n  get placement() {\n    return this._placement;\n  }\n  set placement(newValue) {\n    const oldValue = this._placement;\n    this._placement = newValue || \"bottom-start\";\n    this._currentPlacement = null;\n    this._updatePlacement();\n    this.requestUpdate(\"placement\", oldValue);\n  }\n  get open() {\n    return this._open;\n  }\n  set open(newValue) {\n    const oldValue = this._open;\n    this._open = newValue;\n    newValue ? this._openPopover() : this._closePopover();\n    this.requestUpdate(\"open\", oldValue);\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this._getScrollParents();\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    document.removeEventListener(\"mousedown\", this._onDocumentClick);\n    document.removeEventListener(\"keyup\", this._onKeyUp);\n    document.removeEventListener(\"scroll\", this.scrollEventHandler);\n    if (this.intersectionObserver) {\n      this.intersectionObserver.disconnect();\n      delete this.intersectionObserver;\n    }\n    this._scrollParents = [];\n  }\n  _openPopover() {\n    if (this.containerElement) {\n      this.containerElement.style.opacity = \"0\";\n      document.addEventListener(\"mousedown\", this._onDocumentClick);\n      document.addEventListener(\"keyup\", this._onKeyUp);\n      this._currentPlacement = null;\n      requestAnimationFrame(() => {\n        this._updatePlacement();\n        this._createIntersectionObserver();\n        this.containerElement.style.opacity = \"1\";\n      });\n    }\n  }\n  _closePopover() {\n    if (this.intersectionObserver) {\n      this.intersectionObserver.disconnect();\n      delete this.intersectionObserver;\n    }\n    document.removeEventListener(\"mousedown\", this._onDocumentClick);\n    document.removeEventListener(\"keyup\", this._onKeyUp);\n    this._currentPlacement = null;\n  }\n  // Use this when changing the open state from within this component.\n  _triggerPopoverClose() {\n    const event = new UUIPopoverEvent(UUIPopoverEvent.CLOSE, {\n      cancelable: true\n    });\n    this.dispatchEvent(event);\n    if (event.defaultPrevented)\n      return;\n    this.open = false;\n  }\n  _getScrollParents() {\n    const hostElement = this.shadowRoot.host;\n    let style = getComputedStyle(hostElement);\n    if (style.position === \"fixed\") {\n      return;\n    }\n    const excludeStaticParent = style.position === \"absolute\";\n    const overflowRegex = /(auto|scroll)/;\n    let el = hostElement;\n    while (el = el.parentElement) {\n      style = getComputedStyle(el);\n      if (excludeStaticParent && style.position === \"static\") {\n        continue;\n      }\n      if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) {\n        this._scrollParents.push(el);\n      }\n      if (style.position === \"fixed\") {\n        return;\n      }\n    }\n    this._scrollParents.push(document.body);\n  }\n  _createIntersectionObserver() {\n    if (this.intersectionObserver) {\n      return;\n    }\n    const options = {\n      root: null,\n      rootMargin: \"0px\",\n      threshold: 1\n    };\n    this.intersectionObserver = new IntersectionObserver(\n      this._intersectionCallback,\n      options\n    );\n    this.intersectionObserver.observe(this.containerElement);\n  }\n  _startScrollListener() {\n    this._scrollParents.forEach((el) => {\n      el.addEventListener(\"scroll\", this.scrollEventHandler);\n    });\n    document.addEventListener(\"scroll\", this.scrollEventHandler);\n  }\n  _stopScrollListener() {\n    this._scrollParents.forEach((el) => {\n      el.removeEventListener(\"scroll\", this.scrollEventHandler);\n    });\n    document.removeEventListener(\"scroll\", this.scrollEventHandler);\n  }\n  _updatePlacement() {\n    if (!this.shadowRoot) {\n      return;\n    }\n    const containerElement = this.containerElement;\n    if (!containerElement) {\n      return;\n    }\n    const popoverRect = this.containerElement?.getBoundingClientRect();\n    const triggerRect = this._trigger?.getBoundingClientRect();\n    if (triggerRect != null && popoverRect != null) {\n      const scrollParentRects = this._scrollParents.map(\n        (el) => el.getBoundingClientRect()\n      );\n      this._currentPlacement = this._currentPlacement || this._placement;\n      if (this._placement !== \"auto\") {\n        this._currentPlacement = this._managePlacementFlip(\n          this._currentPlacement,\n          popoverRect,\n          scrollParentRects\n        );\n      }\n      let isTopPlacement = this._currentPlacement.indexOf(\"top\") !== -1;\n      let isBottomPlacement = this._currentPlacement.indexOf(\"bottom\") !== -1;\n      let isLeftPlacement = this._currentPlacement.indexOf(\"left\") !== -1;\n      let isRightPlacement = this._currentPlacement.indexOf(\"right\") !== -1;\n      const isStart = this._currentPlacement.indexOf(\"-start\") !== -1;\n      const isEnd = this._currentPlacement.indexOf(\"-end\") !== -1;\n      let originX = 0.5;\n      let originY = 0.5;\n      let alignX = 0.5;\n      let alignY = 0.5;\n      let marginX = 0;\n      let marginY = 0;\n      if (this.placement === \"auto\") {\n        const firstScrollParent = this._scrollParents[0];\n        const scrollParentWidth = firstScrollParent.clientWidth;\n        const scrollParentHeight = firstScrollParent.clientHeight;\n        const spaceLeft = triggerRect.x - popoverRect.width;\n        const spaceRight = scrollParentWidth - (triggerRect.x + triggerRect.width) - popoverRect.width;\n        const spaceTop = triggerRect.y - popoverRect.height;\n        const spaceBottom = scrollParentHeight - (triggerRect.y + triggerRect.height) - popoverRect.height;\n        let dirX = 0.5;\n        let dirY = 0.5;\n        const hMaxSpace = Math.max(spaceLeft, spaceRight);\n        let vMaxSpace = Math.max(spaceTop, spaceBottom);\n        if (spaceBottom > spaceTop && spaceBottom > this.margin) {\n          vMaxSpace += 9999;\n        }\n        if (hMaxSpace > vMaxSpace) {\n          if (spaceLeft > spaceRight) {\n            dirX = 0;\n            isLeftPlacement = true;\n          } else {\n            dirX = 1;\n            isRightPlacement = true;\n          }\n          marginX = this.margin;\n        } else {\n          if (spaceTop > spaceBottom) {\n            dirY = 0;\n            isTopPlacement = true;\n          } else {\n            dirY = 1;\n            isBottomPlacement = true;\n          }\n          marginY = this.margin;\n        }\n        originX = dirX;\n        originY = dirY;\n        alignX = 1 - dirX;\n        alignY = 1 - dirY;\n      } else {\n        if (isTopPlacement) {\n          alignY = 1;\n          originY = 0;\n        }\n        if (isBottomPlacement) {\n          alignY = 0;\n          originY = 1;\n        }\n        if (isTopPlacement || isBottomPlacement) {\n          marginY = this.margin;\n          if (isStart) {\n            alignX = 0;\n            originX = 0;\n          }\n          if (isEnd) {\n            alignX = 1;\n            originX = 1;\n          }\n        }\n        if (isLeftPlacement) {\n          alignX = 1;\n          originX = 0;\n        }\n        if (isRightPlacement) {\n          alignX = 0;\n          originX = 1;\n        }\n        if (isLeftPlacement || isRightPlacement) {\n          marginX = this.margin;\n          if (isStart) {\n            alignY = 0;\n            originY = 0;\n          }\n          if (isEnd) {\n            alignY = 1;\n            originY = 1;\n          }\n        }\n      }\n      const calcX = -popoverRect.width * alignX + triggerRect.width * originX - marginX * (alignX * 2 - 1);\n      const calcY = -popoverRect.height * alignY + triggerRect.height * originY - marginY * (alignY * 2 - 1);\n      let posX = calcX;\n      let posY = calcY;\n      if (isTopPlacement || isBottomPlacement) {\n        this._scrollParents.forEach((el, index) => {\n          const rectX = el === document.body ? 0 : scrollParentRects[index].x;\n          const leftClamp = -triggerRect.x + rectX;\n          const rightClamp = el.clientWidth - triggerRect.x - triggerRect.width + calcX + rectX - (popoverRect.width - triggerRect.width) * (1 - originX);\n          posX = mathClamp(posX, leftClamp, rightClamp);\n        });\n        posX = mathClamp(posX, -popoverRect.width, triggerRect.width);\n      } else if (isLeftPlacement || isRightPlacement) {\n        this._scrollParents.forEach((el, index) => {\n          const rectY = el === document.body ? 0 : scrollParentRects[index].y;\n          const topClamp = -triggerRect.y + rectY;\n          const bottomClamp = el.clientHeight - triggerRect.y - triggerRect.height + calcY + rectY - (popoverRect.height - triggerRect.height) * (1 - originY);\n          posY = mathClamp(posY, topClamp, bottomClamp);\n        });\n        posY = mathClamp(posY, -popoverRect.height, triggerRect.height);\n      }\n      if (this._positionX !== posX || this._positionY !== posY) {\n        this._positionX = posX;\n        this._positionY = posY;\n        if (calcX === posX && calcY === posY) {\n          this._stopScrollListener();\n        }\n        containerElement.style.left = `${this._positionX}px`;\n        containerElement.style.top = `${this._positionY}px`;\n      }\n    }\n  }\n  _managePlacementFlip(currentPlacement, popoverRect, scrollParentRects) {\n    const buffer = 2;\n    const placementSplit = currentPlacement.split(\"-\");\n    const currentSide = placementSplit[0];\n    const placementAlign = placementSplit[1] || null;\n    let sideFlip;\n    this._scrollParents.some((el, index) => {\n      const rectX = el === document.body ? 0 : scrollParentRects[index].x;\n      const rectY = el === document.body ? 0 : scrollParentRects[index].y;\n      if (currentSide === \"top\" && popoverRect.y - buffer <= rectY) {\n        sideFlip = \"bottom\";\n        return true;\n      }\n      if (currentSide === \"bottom\" && popoverRect.y + popoverRect.height + buffer >= el.clientHeight + rectY) {\n        sideFlip = \"top\";\n        return true;\n      }\n      if (currentSide === \"left\" && popoverRect.x - buffer <= rectX) {\n        sideFlip = \"right\";\n        return true;\n      }\n      if (currentSide === \"right\" && popoverRect.x + popoverRect.width + buffer >= el.clientWidth + rectX) {\n        sideFlip = \"left\";\n        return true;\n      }\n      return false;\n    });\n    if (sideFlip) {\n      this._startScrollListener();\n      return sideFlip + (placementAlign ? `-${placementAlign}` : \"\");\n    }\n    return currentPlacement;\n  }\n  render() {\n    return html`\n      <slot\n        id=\"trigger\"\n        name=\"trigger\"\n        @slotchange=${this._onTriggerSlotChanged}></slot>\n      <div id=\"container\">\n        ${this._open ? html`<slot name=\"popover\"></slot>` : \"\"}\n      </div>\n    `;\n  }\n};\nUUIPopoverElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: inline-block;\n        width: 100%;\n      }\n      #container {\n        position: absolute;\n        width: 100%;\n        z-index: var(--uui-popover-z-index, 1);\n      }\n      slot[name='popover'] {\n        display: block;\n      }\n      #trigger {\n        position: relative;\n        width: 100%;\n      }\n\n      slot[name='trigger']::slotted(uui-button) {\n        --uui-button-border-radius: var(\n          --uui-popover-toggle-slot-button-border-radius\n        );\n        --uui-button-merge-border-left: var(\n          --uui-popover-toggle-slot-button-merge-border-left\n        );\n      }\n    `\n];\n__decorateClass([\n  query(\"#container\")\n], UUIPopoverElement.prototype, \"containerElement\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIPopoverElement.prototype, \"margin\", 2);\n__decorateClass([\n  property({ type: String, reflect: true })\n], UUIPopoverElement.prototype, \"placement\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIPopoverElement.prototype, \"open\", 1);\nUUIPopoverElement = __decorateClass([\n  defineElement(\"uui-popover\")\n], UUIPopoverElement);\n\nexport { UUIPopoverElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { findAncestorByAttributeValue } from '@umbraco-ui/uui-base/lib/utils';\nimport { css, LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nfunction polyfill() {\n  const originalAddEventListener = this.addEventListener;\n  this.addEventListener = function(type, listener, options) {\n    if (type === \"focusout\") {\n      return;\n    }\n    if (type === \"beforetoggle\") {\n      this.polyfill_onBeforeToggle = (event) => {\n        this.dispatchEvent(\n          new CustomEvent(\"polyfill-beforetoggle\", {\n            bubbles: false,\n            composed: false,\n            detail: {\n              oldState: event.oldState,\n              newState: event.newState\n            }\n          })\n        );\n        listener(event);\n      };\n      return;\n    }\n    originalAddEventListener.call(this, type, listener, options);\n  };\n  this.polyfill_onFocusout = (event) => {\n    const target = event.relatedTarget;\n    if (!target)\n      return;\n    const isInsidePopoverContainer = target?.closest(\"uui-popover-container\");\n    const isInsidePopoverTarget = target?.closest(\"[popovertarget]\");\n    if (!isInsidePopoverContainer && !isInsidePopoverTarget) {\n      this.hidePopover();\n    }\n  };\n  this.polyfill_onClick = (event) => {\n    const path = event.composedPath();\n    const isInsidePopoverContainer = path.some((element) => {\n      return element.tagName === \"UUI-POPOVER-CONTAINER\" || element.attributes?.popovertarget;\n    });\n    if (!isInsidePopoverContainer) {\n      this.hidePopover();\n    }\n  };\n  this.polyfill_onParentPopoverUpdate = (event) => {\n    if (event.detail.newState === \"closed\") {\n      this.hidePopover();\n    }\n  };\n  const findParentPopover = (element) => {\n    if (!element.parentElement)\n      return null;\n    if (element.parentElement?.tagName === \"UUI-POPOVER-CONTAINER\") {\n      return element.parentElement;\n    }\n    return findParentPopover(element.parentElement);\n  };\n  if (!this.polyfill_hasBeenMovedToBody) {\n    this.style.display = \"none\";\n    this.style.position = \"fixed\";\n    this.style.inset = \"0\";\n    this.style.zIndex = \"9999\";\n  }\n  this.showPopover = () => {\n    if (!this.polyfill_hasBeenMovedToBody) {\n      this.polyfill_parentPopoverContainer = findParentPopover(this);\n    }\n    this.polyfill_onBeforeToggle({\n      oldState: \"closed\",\n      newState: \"open\"\n    });\n    this.style.display = \"block\";\n    this.polyfill_parentPopoverContainer?.addEventListener(\n      \"polyfill-beforetoggle\",\n      this.polyfill_onParentPopoverUpdate\n    );\n    window.addEventListener(\"click\", this.polyfill_onClick);\n    window.addEventListener(\"focusout\", this.polyfill_onFocusout);\n    this.polyfill_originalParent = this.parentNode;\n    this.polyfill_originalNextSibling = this.nextSibling;\n    const renderRoot = this.getRootNode();\n    if (renderRoot && renderRoot.adoptedStyleSheets) {\n      const adoptedStyleSheets = renderRoot.adoptedStyleSheets;\n      const combinedStyles = adoptedStyleSheets.reduce((acc, styleSheet) => {\n        return acc + Object.values(styleSheet.cssRules).reduce((acc2, rule) => {\n          return acc2 + `#${this.id} ${rule.cssText}`;\n        }, \"\");\n      }, \"\");\n      const styleTag = document.createElement(\"style\");\n      styleTag.innerHTML = combinedStyles;\n      styleTag.id = \"uui-popover-polyfill-style\";\n      const existingStyleTag = this.shadowRoot.host.querySelector(\n        \"#uui-popover-polyfill-style\"\n      );\n      if (existingStyleTag) {\n        existingStyleTag.parentNode.removeChild(existingStyleTag);\n      }\n      this.insertAdjacentElement(\"beforeend\", styleTag);\n    }\n    if (this.parentNode !== document.body) {\n      this.parentNode?.removeChild(this);\n      this.polyfill_hasBeenMovedToBody = true;\n      document.body.appendChild(this);\n    }\n  };\n  this.hidePopover = () => {\n    if (this.polyfill_hasBeenMovedToBody) {\n      document.body.removeChild(this);\n      this.polyfill_hasBeenMovedToBody = false;\n      this.polyfill_originalParent?.insertBefore(\n        this,\n        this.polyfill_originalNextSibling\n      );\n    }\n    window.removeEventListener(\"click\", this.polyfill_onClick);\n    window.removeEventListener(\"focusout\", this.polyfill_onFocusout);\n    this.polyfill_parentPopoverContainer?.removeEventListener(\n      \"polyfill-beforetoggle\",\n      this.polyfill_onParentPopoverUpdate\n    );\n    this.polyfill_onBeforeToggle({\n      oldState: \"open\",\n      newState: \"closed\"\n    });\n    this.style.display = \"none\";\n  };\n}\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n  __accessCheck(obj, member, \"write to private field\");\n  setter ? setter.call(obj, value) : member.set(obj, value);\n  return value;\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _targetElement, _scrollParents, _onBeforeToggle, _initUpdate, _updatePosition, _updatePadding, _flipPlacement, flipPlacement_fn, _startScrollListener, startScrollListener_fn, _stopScrollListener, stopScrollListener_fn, _getScrollParents, getScrollParents_fn;\nlet UUIPopoverContainerElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _flipPlacement);\n    __privateAdd(this, _startScrollListener);\n    __privateAdd(this, _stopScrollListener);\n    __privateAdd(this, _getScrollParents);\n    this.margin = 0;\n    this._placement = \"bottom-start\";\n    this._open = false;\n    this._actualPlacement = this._placement;\n    __privateAdd(this, _targetElement, null);\n    __privateAdd(this, _scrollParents, []);\n    __privateAdd(this, _onBeforeToggle, (event) => {\n      this._open = event.newState === \"open\";\n      __privateSet(this, _targetElement, findAncestorByAttributeValue(\n        this,\n        \"popovertarget\",\n        this.id\n      ));\n      __privateMethod(this, _getScrollParents, getScrollParents_fn).call(this);\n      __privateGet(this, _targetElement)?.dispatchEvent(\n        new CustomEvent(\"uui-popover-before-toggle\", {\n          bubbles: false,\n          composed: false,\n          detail: {\n            oldState: event.oldState,\n            newState: event.newState\n          }\n        })\n      );\n      if (!this._open) {\n        __privateMethod(this, _stopScrollListener, stopScrollListener_fn).call(this);\n        return;\n      }\n      __privateMethod(this, _startScrollListener, startScrollListener_fn).call(this);\n      requestAnimationFrame(() => {\n        __privateGet(this, _initUpdate).call(this);\n      });\n    });\n    __privateAdd(this, _initUpdate, () => {\n      if (!this._open)\n        return;\n      this._actualPlacement = this._placement;\n      this.style.opacity = \"0\";\n      __privateGet(this, _updatePosition).call(this, 3);\n    });\n    __privateAdd(this, _updatePosition, (iteration) => {\n      __privateGet(this, _updatePadding).call(this);\n      iteration--;\n      if (__privateGet(this, _targetElement) === null)\n        return;\n      const isTopPlacement = this._actualPlacement.indexOf(\"top\") !== -1;\n      const isBottomPlacement = this._actualPlacement.indexOf(\"bottom\") !== -1;\n      const isLeftPlacement = this._actualPlacement.indexOf(\"left\") !== -1;\n      const isRightPlacement = this._actualPlacement.indexOf(\"right\") !== -1;\n      const isStart = this._actualPlacement.indexOf(\"-start\") !== -1;\n      const isEnd = this._actualPlacement.indexOf(\"-end\") !== -1;\n      const targetRect = __privateGet(this, _targetElement).getBoundingClientRect();\n      const popoverRect = this.getBoundingClientRect();\n      let top = 0;\n      let left = 0;\n      if (isBottomPlacement) {\n        top = targetRect.top + targetRect.height;\n        if (isStart) {\n          left = targetRect.left;\n        }\n        if (isEnd) {\n          left = targetRect.left + targetRect.width - popoverRect.width;\n        }\n        if (!isStart && !isEnd) {\n          left = targetRect.left + targetRect.width / 2 - popoverRect.width / 2;\n        }\n      }\n      if (isTopPlacement) {\n        top = targetRect.top - popoverRect.height;\n        if (isStart) {\n          left = targetRect.left;\n        }\n        if (isEnd) {\n          left = targetRect.left + targetRect.width - popoverRect.width;\n        }\n        if (!isStart && !isEnd) {\n          left = targetRect.left + targetRect.width / 2 - popoverRect.width / 2;\n        }\n      }\n      if (isLeftPlacement) {\n        left = targetRect.left - popoverRect.width;\n        if (isStart) {\n          top = targetRect.top;\n        }\n        if (isEnd) {\n          top = targetRect.top + targetRect.height - popoverRect.height;\n        }\n        if (!isStart && !isEnd) {\n          top = targetRect.top + targetRect.height / 2 - popoverRect.height / 2;\n        }\n      }\n      if (isRightPlacement) {\n        left = targetRect.left + targetRect.width;\n        if (isStart) {\n          top = targetRect.top;\n        }\n        if (isEnd) {\n          top = targetRect.top + targetRect.height - popoverRect.height;\n        }\n        if (!isStart && !isEnd) {\n          top = targetRect.top + targetRect.height / 2 - popoverRect.height / 2;\n        }\n      }\n      const screenWidth = window.innerWidth;\n      const screenHeight = window.innerHeight;\n      const topTargetVsScreenTop = Math.min(\n        0,\n        targetRect.top + targetRect.height\n      );\n      const topTargetVsScreenBottom = Math.max(\n        Math.min(top, screenHeight - popoverRect.height),\n        targetRect.top - popoverRect.height\n      );\n      const topClamp = Math.max(topTargetVsScreenTop, topTargetVsScreenBottom);\n      if (topClamp !== top && (isTopPlacement || isBottomPlacement) && iteration > 0) {\n        __privateMethod(this, _flipPlacement, flipPlacement_fn).call(this);\n        __privateGet(this, _updatePosition).call(this, iteration);\n        return;\n      }\n      top = Math.max(topTargetVsScreenTop, topTargetVsScreenBottom);\n      const leftTargetVsScreenLeft = Math.min(\n        0,\n        targetRect.left + targetRect.width\n      );\n      const leftTargetVsScreenRight = Math.max(\n        Math.min(left, screenWidth - popoverRect.width),\n        targetRect.left - popoverRect.width\n      );\n      const leftClamp = Math.max(leftTargetVsScreenLeft, leftTargetVsScreenRight);\n      if (leftClamp !== left && (isLeftPlacement || isRightPlacement) && iteration > 0) {\n        __privateMethod(this, _flipPlacement, flipPlacement_fn).call(this);\n        __privateGet(this, _updatePosition).call(this, iteration);\n        return;\n      }\n      left = leftClamp;\n      const isCompletelyOutsideScreen = top + popoverRect.height < 0 || top > screenHeight || left + popoverRect.width < 0 || left > screenWidth;\n      if (isCompletelyOutsideScreen) {\n        this.hidePopover();\n      }\n      this.style.transform = `translate(${left}px, ${top}px)`;\n      this.style.opacity = \"1\";\n    });\n    __privateAdd(this, _updatePadding, () => {\n      const oppositeSides = {\n        top: \"bottom\",\n        bottom: \"top\",\n        left: \"right\",\n        right: \"left\"\n      };\n      let side = this._actualPlacement.split(\"-\")[0];\n      side = oppositeSides[side] || side;\n      side = side.charAt(0).toUpperCase() + side.slice(1);\n      const paddingSide = `padding${side}`;\n      this.style.padding = \"0\";\n      this.style[paddingSide] = `${this.margin}px`;\n    });\n  }\n  get open() {\n    return this._open;\n  }\n  get placement() {\n    return this._placement;\n  }\n  set placement(newValue) {\n    this._placement = newValue;\n    this._actualPlacement = newValue;\n    __privateGet(this, _initUpdate).call(this);\n  }\n  connectedCallback() {\n    !HTMLElement.prototype.hasOwnProperty(\"popover\") && polyfill.bind(this)();\n    if (!this.hasAttribute(\"popover\")) {\n      this.setAttribute(\"popover\", \"\");\n    }\n    super.connectedCallback();\n    this.addEventListener(\"beforetoggle\", __privateGet(this, _onBeforeToggle));\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    this.removeEventListener(\"beforetoggle\", __privateGet(this, _onBeforeToggle));\n    __privateMethod(this, _stopScrollListener, stopScrollListener_fn).call(this);\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\n_targetElement = new WeakMap();\n_scrollParents = new WeakMap();\n_onBeforeToggle = new WeakMap();\n_initUpdate = new WeakMap();\n_updatePosition = new WeakMap();\n_updatePadding = new WeakMap();\n_flipPlacement = new WeakSet();\nflipPlacement_fn = function() {\n  const [direction, position] = this._actualPlacement.split(\"-\");\n  const oppositeDirection = direction === \"top\" ? \"bottom\" : direction === \"bottom\" ? \"top\" : direction === \"left\" ? \"right\" : \"left\";\n  this._actualPlacement = `${oppositeDirection}-${position}`;\n};\n_startScrollListener = new WeakSet();\nstartScrollListener_fn = function() {\n  __privateGet(this, _scrollParents).forEach((el) => {\n    el.addEventListener(\"scroll\", __privateGet(this, _initUpdate), { passive: true });\n  });\n  document.addEventListener(\"scroll\", __privateGet(this, _initUpdate), { passive: true });\n};\n_stopScrollListener = new WeakSet();\nstopScrollListener_fn = function() {\n  __privateGet(this, _scrollParents).forEach((el) => {\n    el.removeEventListener(\"scroll\", __privateGet(this, _initUpdate));\n  });\n  document.removeEventListener(\"scroll\", __privateGet(this, _initUpdate));\n};\n_getScrollParents = new WeakSet();\ngetScrollParents_fn = function() {\n  if (!__privateGet(this, _targetElement))\n    return;\n  let style = getComputedStyle(__privateGet(this, _targetElement));\n  if (style.position === \"fixed\") {\n    return;\n  }\n  const excludeStaticParent = style.position === \"absolute\";\n  const overflowRegex = /(auto|scroll)/;\n  let el = __privateGet(this, _targetElement);\n  while (el = el.parentElement) {\n    style = getComputedStyle(el);\n    if (excludeStaticParent && style.position === \"static\") {\n      continue;\n    }\n    if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) {\n      __privateGet(this, _scrollParents).push(el);\n    }\n    if (style.position === \"fixed\") {\n      return;\n    }\n  }\n  __privateGet(this, _scrollParents).push(document.body);\n};\nUUIPopoverContainerElement.styles = [\n  css`\n      :host {\n        margin: 0;\n        width: fit-content;\n        height: fit-content;\n        border: none;\n        border-radius: 0;\n        padding: 0;\n        background-color: none;\n        background: none;\n        overflow: visible;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Number })\n], UUIPopoverContainerElement.prototype, \"margin\", 2);\n__decorateClass([\n  property({ type: Boolean })\n], UUIPopoverContainerElement.prototype, \"open\", 1);\n__decorateClass([\n  property({ type: String, reflect: true })\n], UUIPopoverContainerElement.prototype, \"placement\", 1);\n__decorateClass([\n  state()\n], UUIPopoverContainerElement.prototype, \"_placement\", 2);\n__decorateClass([\n  state()\n], UUIPopoverContainerElement.prototype, \"_open\", 2);\n__decorateClass([\n  state()\n], UUIPopoverContainerElement.prototype, \"_actualPlacement\", 2);\nUUIPopoverContainerElement = __decorateClass([\n  defineElement(\"uui-popover-container\")\n], UUIPopoverContainerElement);\n\nexport { UUIPopoverContainerElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nconst clamp = (num, min, max) => Math.min(Math.max(num, min), max);\nlet UUIProgressBarElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._progress = 0;\n  }\n  get progress() {\n    return this._progress;\n  }\n  set progress(newVal) {\n    const oldVal = this._progress;\n    this._progress = clamp(newVal, 0, 100);\n    this.requestUpdate(\"progress\", oldVal);\n  }\n  _getProgressStyle() {\n    return { width: `${this._progress}%` };\n  }\n  render() {\n    return html`\n      <div id=\"bar\" style=${styleMap(this._getProgressStyle())}></div>\n    `;\n  }\n};\nUUIProgressBarElement.styles = [\n  css`\n      :host {\n        width: 100%;\n        height: 4px;\n        position: relative;\n        overflow: hidden;\n        background: var(--uui-color-surface-alt,#f3f3f5);\n        border-radius: 100px;\n        display: inline-block;\n      }\n\n      #bar {\n        transition: width 250ms ease;\n        background: var(--uui-color-positive,#0b8152);\n        height: 100%;\n        width: 0%;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Number })\n], UUIProgressBarElement.prototype, \"progress\", 1);\nUUIProgressBarElement = __decorateClass([\n  defineElement(\"uui-progress-bar\")\n], UUIProgressBarElement);\n\nexport { UUIProgressBarElement };\n","import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { query, property } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nclass UUIRadioEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIRadioEvent.CHANGE = \"change\";\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar _showFocusOutline, _hideFocusOutline;\nlet UUIRadioElement = class extends LitElement {\n  constructor() {\n    super();\n    this.name = \"\";\n    this.value = \"\";\n    this.label = \"\";\n    this._checked = false;\n    this._disabled = false;\n    __privateAdd(this, _showFocusOutline, () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"1\");\n    });\n    __privateAdd(this, _hideFocusOutline, () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n    });\n    this.addEventListener(\"mousedown\", __privateGet(this, _hideFocusOutline));\n    this.addEventListener(\"blur\", __privateGet(this, _showFocusOutline));\n  }\n  get checked() {\n    return this._checked;\n  }\n  set checked(value) {\n    const oldValue = this._checked;\n    this._checked = value;\n    if (value === true) {\n      this.setAttribute(\"aria-checked\", \"\");\n      if (!this.disabled) {\n        this.setAttribute(\"tabindex\", \"0\");\n      }\n    } else {\n      this.setAttribute(\"tabindex\", \"-1\");\n      this.removeAttribute(\"aria-checked\");\n    }\n    this.requestUpdate(\"checked\", oldValue);\n  }\n  get disabled() {\n    return this._disabled;\n  }\n  set disabled(newVal) {\n    const oldVal = this._disabled;\n    this._disabled = newVal;\n    this.setAttribute(\"aria-hidden\", newVal ? \"true\" : \"false\");\n    this.setAttribute(\"tabindex\", newVal ? \"-1\" : \"0\");\n    this.requestUpdate(\"disabled\", oldVal);\n  }\n  focus() {\n    this.inputElement.focus();\n  }\n  click() {\n    this.inputElement.click();\n  }\n  _onChange(e) {\n    e.stopPropagation();\n    const checked = this.inputElement.checked;\n    this.checked = checked;\n    if (checked) {\n      this.focus();\n    }\n    this.dispatchEvent(new UUIRadioEvent(UUIRadioEvent.CHANGE));\n  }\n  /**\n   * Call to uncheck the element. This method changes the tabindex and aria -checked attributes.\n   * @method uncheck\n   */\n  uncheck() {\n    this.checked = false;\n  }\n  /**\n   * Call to check the element.\n   * @method uncheck\n   */\n  check() {\n    this.checked = true;\n  }\n  /**\n   * Call to make the element focusable, this sets tabindex to 0.\n   * @method makeFocusable\n   */\n  makeFocusable() {\n    if (!this.disabled) {\n      this.setAttribute(\"tabindex\", \"0\");\n    }\n  }\n  /**\n   * Call to make the element focusable, this sets tabindex to 0.\n   * @method makeUnfocusable\n   */\n  makeUnfocusable() {\n    if (!this.disabled) {\n      this.setAttribute(\"tabindex\", \"-1\");\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.hasAttribute(\"tabindex\"))\n      this.setAttribute(\"tabindex\", \"-1\");\n    if (!this.hasAttribute(\"aria-checked\"))\n      this.removeAttribute(\"aria-checked\");\n  }\n  render() {\n    return html` <label>\n      <input\n        id=\"input\"\n        type=\"radio\"\n        name=${this.name}\n        value=${this.value}\n        .checked=${this.checked}\n        .disabled=${this.disabled}\n        @change=${this._onChange} />\n      <div id=\"button\"></div>\n      <div id=\"label\">\n        ${this.label ? html`<span>${this.label}</span>` : html`<slot></slot>`}\n      </div>\n    </label>`;\n  }\n};\n_showFocusOutline = new WeakMap();\n_hideFocusOutline = new WeakMap();\nUUIRadioElement.styles = [\n  UUIHorizontalShakeKeyframes,\n  css`\n      :host {\n        display: block;\n        box-sizing: border-box;\n        font-family: inherit;\n        color: currentColor;\n        --uui-radio-button-size: var(--uui-size-6,18px);\n        margin: var(--uui-size-2,6px) 0;\n      }\n\n      label {\n        display: block;\n        box-sizing: border-box;\n        display: flex;\n        align-items: center;\n        cursor: pointer;\n        line-height: 18px;\n      }\n\n      #input {\n        width: 0;\n        height: 0;\n        opacity: 0;\n        margin: 0;\n      }\n\n      .label {\n        margin-top: 2px;\n      }\n\n      #button {\n        box-sizing: border-box;\n        display: inline-block;\n        width: var(--uui-radio-button-size, 18px);\n        height: var(--uui-radio-button-size, 18px);\n        background-color: var(--uui-color-surface,#fff);\n        border: 1px solid var(--uui-color-border-standalone,#c2c2c2);\n        border-radius: 100%;\n        margin-right: calc(var(--uui-size-2,6px) * 2);\n        position: relative;\n        flex: 0 0 var(--uui-radio-button-size);\n      }\n\n      #button::after {\n        content: '';\n        width: calc(var(--uui-radio-button-size) / 2);\n        height: calc(var(--uui-radio-button-size) / 2);\n        background-color: var(--uui-color-selected,#3544b1);\n        border-radius: 100%;\n        position: absolute;\n        top: 50%;\n        left: 50%;\n        transform: translate(-50%, -50%) scale(0);\n        transition: all 0.15s ease-in-out;\n      }\n\n      :host(:hover) #button {\n        border: 1px solid var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      :host(:focus) {\n        outline: none;\n      }\n      :host(:focus) #button {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n\n      input:checked ~ #button::after {\n        transform: translate(-50%, -50%) scale(1);\n      }\n\n      input:checked ~ #button {\n        border: 1px solid var(--uui-color-selected,#3544b1);\n      }\n\n      input:checked:hover ~ #button {\n        border: 1px solid var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      input:checked:hover ~ #button::after {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      :host([disabled]) label {\n        cursor: default;\n        opacity: 0.5;\n      }\n      :host([disabled]) .label {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host([disabled]) input ~ #button {\n        border: 1px solid var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host([disabled]) input:checked ~ #button {\n        border: 1px solid var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host([disabled]) input:checked ~ #button::after {\n        background-color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host([disabled]:active) #button {\n        animation: ${UUIHorizontalShakeAnimationValue};\n      }\n\n      @media (prefers-reduced-motion) {\n        :host([disabled]:active) #button {\n          animation: none;\n        }\n\n        #button::after {\n          transition: none;\n        }\n      }\n    `\n];\n__decorateClass$1([\n  query(\"#input\")\n], UUIRadioElement.prototype, \"inputElement\", 2);\n__decorateClass$1([\n  property({ type: String })\n], UUIRadioElement.prototype, \"name\", 2);\n__decorateClass$1([\n  property({ type: String })\n], UUIRadioElement.prototype, \"value\", 2);\n__decorateClass$1([\n  property({ type: String })\n], UUIRadioElement.prototype, \"label\", 2);\n__decorateClass$1([\n  property({ type: Boolean, reflect: true })\n], UUIRadioElement.prototype, \"checked\", 1);\n__decorateClass$1([\n  property({ type: Boolean, reflect: true })\n], UUIRadioElement.prototype, \"disabled\", 1);\nUUIRadioElement = __decorateClass$1([\n  defineElement(\"uui-radio\")\n], UUIRadioElement);\n\nclass UUIRadioGroupEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIRadioGroupEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nconst ARROW_LEFT = \"ArrowLeft\";\nconst ARROW_UP = \"ArrowUp\";\nconst ARROW_RIGHT = \"ArrowRight\";\nconst ARROW_DOWN = \"ArrowDown\";\nconst SPACE = \" \";\nlet UUIRadioGroupElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super();\n    this.disabled = false;\n    this._selected = null;\n    this._radioElements = [];\n    this._onChildBlur = () => {\n      this.pristine = false;\n    };\n    this._handleSelectOnClick = (e) => {\n      if (e.target.checked === true) {\n        this.value = e.target.value;\n        this._fireChangeEvent();\n      }\n    };\n    this.addEventListener(\"keydown\", this._onKeydown);\n    this.addEventListener(\"keypress\", this._onKeypress);\n    this.updateComplete.then(() => {\n      this._updateRadioElementsCheckedState(this.value);\n    });\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newValue) {\n    super.value = newValue;\n    if (newValue === null || newValue === \"\") {\n      this._makeFirstEnabledFocusable();\n    }\n    this._updateRadioElementsCheckedState(newValue);\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.hasAttribute(\"role\"))\n      this.setAttribute(\"role\", \"radiogroup\");\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the select\n   */\n  focus() {\n    if (this._selected !== null) {\n      this._radioElements[this._selected]?.focus();\n    } else {\n      this._findNextEnabledElement()?.focus();\n    }\n  }\n  click() {\n    if (this._selected !== null) {\n      this._radioElements[this._selected]?.click();\n    } else {\n      this._findNextEnabledElement()?.click();\n    }\n  }\n  getFormElement() {\n    if (this._radioElements && this._selected) {\n      return this._radioElements[this._selected];\n    }\n    return void 0;\n  }\n  _setNameOnRadios(name) {\n    this._radioElements?.forEach((el) => el.name = name);\n  }\n  _updateRadioElementsCheckedState(newValue) {\n    this._radioElements.forEach((el, index) => {\n      if (el.value === newValue) {\n        el.checked = true;\n        this._selected = index;\n      } else {\n        el.checked = false;\n      }\n    });\n  }\n  _setDisableOnRadios(value) {\n    this._radioElements?.forEach((el) => el.disabled = value);\n  }\n  _handleSlotChange(e) {\n    e.stopPropagation();\n    this._radioElements?.forEach((el) => {\n      el.removeEventListener(\n        UUIRadioEvent.CHANGE,\n        // @ts-ignore TODO: fix typescript error\n        this._handleSelectOnClick\n      );\n      el.removeEventListener(\"blur\", this._onChildBlur);\n    });\n    this._selected = null;\n    this._radioElements = e.target.assignedElements({ flatten: true }).filter((el) => el instanceof UUIRadioElement);\n    if (this._radioElements.length === 0)\n      return;\n    this._radioElements.forEach((el) => {\n      el.addEventListener(\n        UUIRadioEvent.CHANGE,\n        // @ts-ignore TODO: fix typescript error\n        this._handleSelectOnClick\n      );\n      el.addEventListener(\"blur\", this._onChildBlur);\n    });\n    this._setNameOnRadios(this.name);\n    if (this.disabled) {\n      this._setDisableOnRadios(true);\n    }\n    const checkedRadios = this._radioElements.filter((el) => el.checked === true);\n    if (checkedRadios.length > 1) {\n      this._radioElements.forEach((el) => {\n        el.checked = false;\n      });\n      this.value = \"\";\n      console.error(\n        \"There can only be one checked radio among the <\" + this.nodeName + \"> children\",\n        this\n      );\n    }\n    if (checkedRadios.length === 1) {\n      this.value = checkedRadios[0].value;\n      this._selected = this._radioElements.indexOf(checkedRadios[0]);\n      if (checkedRadios[0].disabled === false) {\n        this._radioElements.forEach((el) => {\n          el.makeUnfocusable();\n        });\n        checkedRadios[0].makeFocusable();\n      } else {\n        this._makeFirstEnabledFocusable();\n      }\n    } else {\n      this._makeFirstEnabledFocusable();\n    }\n  }\n  _makeFirstEnabledFocusable() {\n    this._selected = null;\n    this._radioElements?.forEach((el) => {\n      el.makeUnfocusable();\n    });\n    this._findNextEnabledElement()?.makeFocusable();\n  }\n  _findNextEnabledElement(direction = 1) {\n    if (!this._radioElements) {\n      return null;\n    }\n    const origin = this._selected || 0;\n    const len = this._radioElements.length;\n    let i = this._selected === null ? 0 : 1;\n    while (i < len) {\n      let checkIndex = (origin + i * direction) % len;\n      if (checkIndex < 0) {\n        checkIndex += len;\n      }\n      if (this._radioElements[checkIndex].disabled === false) {\n        return this._radioElements[checkIndex];\n      }\n      i++;\n    }\n    return null;\n  }\n  _selectPreviousElement() {\n    this.value = this._findNextEnabledElement(-1)?.value || \"\";\n    this._radioElements[this._selected || 0]?.focus();\n    this._fireChangeEvent();\n  }\n  _selectNextElement() {\n    this.value = this._findNextEnabledElement()?.value || \"\";\n    this._radioElements[this._selected || 0]?.focus();\n    this._fireChangeEvent();\n  }\n  _onKeydown(e) {\n    switch (e.key) {\n      case ARROW_LEFT:\n      case ARROW_UP: {\n        e.preventDefault();\n        this._selectPreviousElement();\n        break;\n      }\n      case ARROW_RIGHT:\n      case ARROW_DOWN: {\n        e.preventDefault();\n        this._selectNextElement();\n        break;\n      }\n      case SPACE: {\n        if (this._selected === null) {\n          this.value = this._findNextEnabledElement()?.value;\n          this._fireChangeEvent();\n        }\n      }\n    }\n  }\n  _onKeypress(e) {\n    if (e.key == \"Enter\") {\n      this.submit();\n    }\n  }\n  _fireChangeEvent() {\n    this.pristine = false;\n    this.dispatchEvent(new UUIRadioGroupEvent(UUIRadioGroupEvent.CHANGE));\n  }\n  updated(_changedProperties) {\n    super.updated(_changedProperties);\n    if (_changedProperties.has(\"disabled\")) {\n      this._setDisableOnRadios(this.disabled);\n    }\n    if (_changedProperties.has(\"name\")) {\n      this._setNameOnRadios(_changedProperties.get(\"name\"));\n    }\n  }\n  render() {\n    return html` <slot @slotchange=${this._handleSlotChange}></slot> `;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUIRadioGroupElement.formAssociated = true;\nUUIRadioGroupElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        padding-right: 3px;\n        border: 1px solid transparent;\n        border-radius: var(--uui-border-radius,3px);\n      }\n\n      :host(:not([pristine]):invalid),\n      /* polyfill support */\n      :host(:not([pristine])[internals-invalid]) {\n        border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIRadioGroupElement.prototype, \"disabled\", 2);\nUUIRadioGroupElement = __decorateClass([\n  defineElement(\"uui-radio-group\")\n], UUIRadioGroupElement);\n\nexport { UUIRadioElement, UUIRadioEvent, UUIRadioGroupElement, UUIRadioGroupEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, svg, css } from 'lit';\nimport { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { property, state, query } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { clamp } from '@umbraco-ui/uui-base/lib/utils';\n\nclass UUIRangeSliderEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUIRangeSliderEvent.INPUT = \"input\";\nUUIRangeSliderEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _transferValueToInternalValues, transferValueToInternalValues_fn;\nconst Z_INDEX = {\n  TOP: 3,\n  CENTER: 2,\n  BACK: 1\n};\nconst THUMB_SIZE = 18;\nconst TRACK_PADDING = 12;\nconst STEP_MIN_WIDTH = 24;\nlet UUIRangeSliderElement = class extends FormControlMixin(LitElement) {\n  /** Constructor and Validator */\n  constructor() {\n    super();\n    __privateAdd(this, _transferValueToInternalValues);\n    this.disabled = false;\n    this._min = 0;\n    this._max = 0;\n    this.hideStepValues = false;\n    this._step = 1;\n    this._movement = false;\n    this.startPoint = {\n      mouse: 0,\n      low: 0,\n      high: 0\n    };\n    this._lowInputValue = 0;\n    this._highInputValue = 0;\n    this._trackWidth = 0;\n    this._lowValuePercentStart = 0;\n    this._highValuePercentEnd = 100;\n    /** Events */\n    this._onKeypress = (e) => {\n      if (e.key == \"Enter\") {\n        this.submit();\n      }\n    };\n    /** Touch Event */\n    this._onTouchStart = (e) => {\n      if (this.disabled)\n        return;\n      const target = e.composedPath()[0];\n      if (target === this._outerTrack)\n        return;\n      if (target === this._innerColor || target === this._innerColorThumb) {\n        window.addEventListener(\"touchend\", this._onTouchEnd);\n        window.addEventListener(\"touchcancel\", this._onTouchEnd);\n        window.addEventListener(\"touchmove\", this._onTouchMove);\n        this._movement = true;\n        this._saveStartPoints(e.touches[0].pageX);\n      } else {\n        const value = this._getClickedValue(e.touches[0].pageX);\n        const diffLow = Math.abs(this._lowInputValue - value);\n        const diffHigh = Math.abs(this._highInputValue - value);\n        if (diffLow < diffHigh) {\n          this.setValueLow(value);\n        } else {\n          this.setValueHigh(value);\n        }\n      }\n    };\n    this._onTouchMove = (e) => {\n      this._dragBothValuesByMousePos(e.touches[0].pageX);\n    };\n    this._onTouchEnd = () => {\n      this._movement = false;\n      this.onChanged();\n      window.removeEventListener(\"touchend\", this._onTouchEnd);\n      window.removeEventListener(\"touchcancel\", this._onTouchEnd);\n      window.removeEventListener(\"touchmove\", this._onTouchMove);\n    };\n    /** Mouse Event */\n    this._onMouseDown = (e) => {\n      if (this.disabled)\n        return;\n      const target = e.composedPath()[0];\n      if (target === this._outerTrack)\n        return;\n      if (target === this._innerColor || target === this._innerColorThumb) {\n        window.addEventListener(\"mouseup\", this._onMouseUp);\n        window.addEventListener(\"mousemove\", this._onMouseMove);\n        this._movement = true;\n        this._saveStartPoints(e.pageX);\n      } else {\n        const value = this._getClickedValue(e.pageX);\n        const diffLow = Math.abs(this._lowInputValue - value);\n        const diffHigh = Math.abs(this._highInputValue - value);\n        if (diffLow < diffHigh) {\n          this.setValueLow(value);\n        } else {\n          this.setValueHigh(value);\n        }\n      }\n    };\n    this._onMouseMove = (e) => {\n      e.preventDefault();\n      this._dragBothValuesByMousePos(e.pageX);\n    };\n    this._onMouseUp = () => {\n      this._movement = false;\n      this.onChanged();\n      window.removeEventListener(\"mouseup\", this._onMouseUp);\n      window.removeEventListener(\"mousemove\", this._onMouseMove);\n    };\n    this.addEventListener(\"keypress\", this._onKeypress);\n    this.addEventListener(\"mousedown\", this._onMouseDown);\n    this.addEventListener(\"touchstart\", this._onTouchStart);\n    window.addEventListener(\"resize\", () => {\n      this._trackWidth = this._outerTrack?.offsetWidth;\n    });\n  }\n  get min() {\n    return this._min;\n  }\n  set min(newVal) {\n    this._min = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  get max() {\n    return this._max;\n  }\n  set max(newVal) {\n    this._max = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  get step() {\n    return this._step;\n  }\n  set step(newVal) {\n    this._step = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  get minGap() {\n    return this._minGap;\n  }\n  set minGap(newVal) {\n    this._minGap = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  get maxGap() {\n    return this._maxGap;\n  }\n  set maxGap(newVal) {\n    this._maxGap = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newVal) {\n    super.value = newVal;\n    __privateMethod(this, _transferValueToInternalValues, transferValueToInternalValues_fn).call(this);\n  }\n  setValueLow(low) {\n    low = clamp(\n      low,\n      this.maxGap ? this._highInputValue - this.maxGap > this.min ? this._highInputValue - this.maxGap : this.min : this.min,\n      this.minGap ? this._highInputValue - this.minGap : this._highInputValue - this.step\n    );\n    this.setValue(low, this._highInputValue);\n  }\n  setValueHigh(high) {\n    high = clamp(\n      high,\n      this.minGap ? this._lowInputValue + this.minGap : this._lowInputValue + this.step,\n      this.maxGap ? this.maxGap + this._lowInputValue < this.max ? this.maxGap + this._lowInputValue : this.max : this.max\n    );\n    this.setValue(this._lowInputValue, high);\n  }\n  setValue(low, high, lockValueRange) {\n    if (lockValueRange) {\n      const length = this.startPoint.high - this.startPoint.low;\n      low = clamp(low, this.min, this.max - length);\n      high = clamp(high, this.min + length, this.max);\n    }\n    this._inputLow.value = low.toString();\n    this._inputHigh.value = high.toString();\n    this.value = `${low},${high}`;\n  }\n  getFormElement() {\n    return this._currentFocus ? this._currentFocus : this._inputLow;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.value) {\n      this.value = `${this._min},${this._max}`;\n    }\n  }\n  firstUpdated(changedProperties) {\n    super.updated(changedProperties);\n    this._trackWidth = this._outerTrack.offsetWidth;\n    this._runPropertiesChecks();\n  }\n  _runPropertiesChecks() {\n    const regex = new RegExp(/^-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?$/);\n    if (!regex.test(this.value))\n      console.error(`Range slider (Value error occurred): Bad input`);\n    if (this._highInputValue === this._lowInputValue) {\n      console.error(\n        `Range slider (Value error occurred): Low-end and high-end value should never be equal. Use <uui-slider></uui-slider> instead.`\n      );\n    }\n    if (this._lowInputValue > this._highInputValue) {\n      console.error(\n        `Range slider (Value error occurred): Low-end value should never be higher than high-end value.`\n      );\n    }\n    if (this._highInputValue > this._max || this._highInputValue < this._min) {\n      this.setValueHigh(this._max);\n      console.warn(\n        `Conflict with the high-end value and max value. High-end value has been converted to the max value (${this._max})`\n      );\n    }\n    if (this._lowInputValue < this._min || this._lowInputValue > this._max) {\n      this.setValueLow(this._min);\n      console.warn(\n        `Conflict with the low-end value and min value. Low-end value has been converted to the min value (${this._min})`\n      );\n    }\n    if (this._step <= 0) {\n      this._step = 1;\n      console.warn(\n        `Property step needs a value higher than 0. Converted the step value to 1 (default)`\n      );\n    }\n    if ((this._max - this._min) / this._step % 1 !== 0) {\n      console.error(\n        `Conflict with step value and the min and max values. May experience bad side effects`\n      );\n    }\n    if (this._minGap && this._minGap < this._step) {\n      this._minGap = void 0;\n      console.warn(\n        `Conflict with min-gap and step value. The min-gap needs to be higher than the step value. Removed the min-gap property.`\n      );\n    }\n    if (this._minGap && this._maxGap && this._minGap > this._maxGap) {\n      this._minGap = void 0;\n      this._maxGap = void 0;\n      console.warn(\n        `Conflict with min-gap and max-gap. Removed the min-gap and max-gap properties.`\n      );\n    }\n    if (this._minGap && this._max - this._min < this._minGap) {\n      this._minGap = void 0;\n      console.warn(\n        `Conflict with the min-gap and the total range. Removed the min-gap.`\n      );\n    }\n    if (this._maxGap && this._highInputValue - this._lowInputValue > this._maxGap) {\n      this.setValueHigh(this._lowInputValue + this._maxGap);\n      console.warn(\n        `Conflict with value and max-gap. High-end value has been converted to the highest possible value based on the low-end value and the max gap value (${this._highInputValue})`\n      );\n    }\n    if (this._minGap && this._highInputValue - this._lowInputValue < this._minGap) {\n      const minGap = this._minGap;\n      if (this._highInputValue - minGap < this._min) {\n        this.setValueHigh(this._lowInputValue + minGap);\n        console.warn(\n          `Conflict with value and min gap. High-end value has been converted to the lowest possible value based on the low-end value and the min gap value (${this._highInputValue}).`\n        );\n      } else {\n        this.setValueLow(this._highInputValue - minGap);\n        console.warn(\n          `Conflict with value and min gap. Low-end value has been converted to the highest possible value based on the high-end value and the min gap value (${this._lowInputValue}).`\n        );\n      }\n    }\n  }\n  _updateInnerColor() {\n    const scopeLength = this._max - this._min;\n    const scopedLow = this._lowInputValue - this._min;\n    const scopedHigh = this._highInputValue - this._min;\n    const leftPercent = scopedLow / scopeLength * 100;\n    const rightPercent = 100 - scopedHigh / scopeLength * 100;\n    this._lowValuePercentStart = clamp(leftPercent, 0, 100);\n    this._highValuePercentEnd = clamp(rightPercent, 0, 100);\n  }\n  _getClickedValue(pageX) {\n    const outerTrackMargin = this._outerTrack.getBoundingClientRect().left;\n    const mouseXPosition = pageX - outerTrackMargin - TRACK_PADDING;\n    const clickPercent = mouseXPosition / (this._trackWidth - TRACK_PADDING * 2);\n    const clickedValue = clickPercent * (this._max - this._min) + this._min;\n    return Math.round(clickedValue / this._step) * this._step;\n  }\n  /** Drag both thumbs logics */\n  _saveStartPoints(pageX) {\n    this.startPoint = {\n      mouse: pageX,\n      low: this._lowInputValue,\n      high: this._highInputValue\n    };\n  }\n  _dragBothValuesByMousePos(pageX) {\n    const trackWidth = this._outerTrack.offsetWidth;\n    const drag = pageX - this.startPoint.mouse;\n    const trackDiff = this._max - this._min;\n    const dragPercent = drag / (trackWidth + TRACK_PADDING * 2);\n    const dragValue = Math.round(dragPercent * trackDiff / this._step) * this._step;\n    const newValueLow = this.startPoint.low + dragValue;\n    const newValueHigh = this.startPoint.high + dragValue;\n    this.setValue(newValueLow, newValueHigh, true);\n    this.dispatchEvent(new UUIRangeSliderEvent(UUIRangeSliderEvent.INPUT));\n  }\n  /** Input Events */\n  _onLowInput(e) {\n    if (this.disabled)\n      e.preventDefault();\n    this._currentFocus = this._inputLow;\n    const newValue = Number(e.target.value);\n    this.setValueLow(newValue);\n    this.dispatchEvent(new UUIRangeSliderEvent(UUIRangeSliderEvent.INPUT));\n  }\n  _onHighInput(e) {\n    if (this.disabled)\n      e.preventDefault();\n    this._currentFocus = this._inputHigh;\n    const newValue = Number(e.target.value);\n    this.setValueHigh(newValue);\n    this.dispatchEvent(new UUIRangeSliderEvent(UUIRangeSliderEvent.INPUT));\n  }\n  /** Change Events */\n  _onLowChange() {\n    this.setValueLow(Number(this._inputLow.value));\n    this.onChanged();\n  }\n  _onHighChange() {\n    this.setValueHigh(Number(this._inputHigh.value));\n    this.onChanged();\n  }\n  onChanged() {\n    this.pristine = false;\n    this.dispatchEvent(new UUIRangeSliderEvent(UUIRangeSliderEvent.CHANGE));\n  }\n  /** Render */\n  render() {\n    return html`\n      <div id=\"range-slider\">\n        ${this._renderNativeInputs()}\n        <div id=\"inner-track\">\n          <div\n            id=\"inner-color-thumb\"\n            class=\"${this._movement ? \"active\" : \"\"}\"\n            style=\"left: ${this._lowValuePercentStart}%; right: ${this._highValuePercentEnd}%\">\n            ${this._renderThumbValues()}\n            <div class=\"${this._movement ? \"color active\" : \"color\"}\"></div>\n          </div>\n          ${this._renderSteps()}\n        </div>\n      </div>\n    `;\n  }\n  _renderThumbValues() {\n    return html`<div class=\"thumb-values\">\n      <span><span>${this._lowInputValue}</span></span>\n      <span><span>${this._highInputValue}</span></span>\n    </div>`;\n  }\n  _renderSteps() {\n    const stepAmount = (this._max - this._min) / this._step;\n    const stepWidth = (this._trackWidth - TRACK_PADDING * 2) / stepAmount;\n    if (stepWidth < STEP_MIN_WIDTH)\n      return;\n    if (stepAmount % 1 !== 0)\n      return;\n    let index = 0;\n    const stepPositions = new Array(stepAmount + 1).fill(stepWidth).map((stepWidth2) => stepWidth2 * index++);\n    return html`<div class=\"step-wrapper\">\n      <svg height=\"100%\" width=\"100%\">\n        <rect x=\"9\" y=\"9\" height=\"3\" rx=\"2\" />\n        ${this._renderStepCircles(stepPositions)}\n      </svg>\n      ${this._renderStepValues(stepAmount)}\n    </div>`;\n  }\n  _renderStepValues(stepAmount) {\n    if (this.hideStepValues || stepAmount > 20)\n      return;\n    let index = 0;\n    const stepValues = new Array(stepAmount + 1).fill(this._step).map((step) => this._min + step * index++);\n    return html`<div class=\"step-values\">\n      ${stepValues.map((value) => html`<span><span>${value}</span></span>`)}\n    </div>`;\n  }\n  _renderStepCircles(stepPositionArray) {\n    const trackValue = this._trackWidth / (this._max - this._min);\n    return svg`${stepPositionArray.map((position) => {\n      const cx = position + TRACK_PADDING;\n      const colorStart = this._lowInputValue - this._min;\n      const colorEnd = this._highInputValue - this._min;\n      if (cx / trackValue >= colorStart && cx / trackValue <= colorEnd) {\n        return svg`<circle class=\"track-step filled\" cx=\"${cx}\" cy=\"5\" r=\"4.5\" />`;\n      } else {\n        return svg`<circle class=\"track-step regular\" cx=\"${cx}\" cy=\"5\" r=\"4.5\" />`;\n      }\n    })}`;\n  }\n  _renderNativeInputs() {\n    return html` <div class=\"native-wrapper\">\n      <input\n        id=\"inputLow\"\n        class=\"${this._movement ? \"focus\" : \"\"}\"\n        type=\"range\"\n        min=${this._min}\n        max=${this._max}\n        step=${this._step}\n        .value=${this._lowInputValue.toString()}\n        aria-label=\"${this.label} low-end value\"\n        ?disabled=\"${this.disabled}\"\n        @input=${this._onLowInput}\n        @change=${this._onLowChange} />\n      <input\n        id=\"inputHigh\"\n        class=\"${this._movement ? \"focus\" : \"\"}\"\n        type=\"range\"\n        min=\"${this._min}\"\n        max=\"${this._max}\"\n        step=\"${this._step}\"\n        .value=${this._highInputValue.toString()}\n        aria-label=\"${this.label} high-end value\"\n        ?disabled=\"${this.disabled}\"\n        @input=${this._onHighInput}\n        @change=${this._onHighChange} />\n    </div>`;\n  }\n};\n_transferValueToInternalValues = new WeakSet();\ntransferValueToInternalValues_fn = function() {\n  const valueSplit = this.value.split(\",\");\n  let low = Number(valueSplit[0]) || 0;\n  let high = Number(valueSplit[1]) || 0;\n  high = clamp(high, this._min, this._max);\n  low = this._min + Math.round((low - this._min) / this._step) * this._step;\n  high = this._min + Math.round((high - this._min) / this._step) * this._step;\n  this._lowInputValue = clamp(\n    low,\n    this._min,\n    this._minGap ? high - this._minGap : high - this._step\n  );\n  this._highInputValue = clamp(\n    high,\n    this._minGap ? this._lowInputValue + this._minGap : this._lowInputValue + this._step,\n    Math.min(this._maxGap ? low + this._maxGap : this._max, this._max)\n  );\n  this._updateInnerColor();\n  this.requestUpdate();\n};\nUUIRangeSliderElement.formAssociated = true;\n/** Style */\nUUIRangeSliderElement.styles = [\n  css`\n      :host {\n        --color-interactive: var(--uui-color-selected,#3544b1);\n        --color-hover: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n        --color-focus: var(--uui-color-focus,#3879ff);\n        min-height: 30px;\n      }\n\n      :host([error]) {\n        --color-interactive: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n        --color-hover: var(--uui-color-danger,#d42054);\n      }\n\n      #range-slider {\n        min-height: 30px;\n        box-sizing: border-box;\n        position: relative;\n        display: flex;\n        align-items: center;\n      }\n\n      /** Track */\n\n      #inner-track {\n        user-select: none;\n        background-color: var(--uui-color-border-standalone,#c2c2c2);\n        position: absolute;\n        height: 3px;\n        left: ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n        right: ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n      }\n\n      :host(:not([disabled]):hover) #inner-track,\n      :host(:not([disabled]):active) #inner-track {\n        background-color: var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      #inner-color-thumb {\n        margin: -9px 0 0;\n        position: absolute;\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n        height: ${THUMB_SIZE}px;\n        cursor: grab;\n        user-select: none;\n        z-index: ${Z_INDEX.CENTER};\n      }\n\n      :host([disabled]) #inner-color-thumb {\n        cursor: default;\n      }\n\n      /** Colored part of track */\n\n      :host([disabled]) #range-slider #inner-color-thumb .color {\n        background-color: var(--uui-palette-mine-grey,#3e3e3e) !important;\n      }\n\n      #inner-color-thumb:focus .color {\n        background-color: var(--color-focus);\n      }\n      #inner-color-thumb:hover .color,\n      #inner-color-thumb .color.active {\n        background-color: var(--color-hover);\n      }\n      #inner-color-thumb:hover .color {\n        height: 5px;\n        background-color: var(--color-hover);\n      }\n\n      .color {\n        user-select: none;\n        position: absolute;\n        inset-inline: 0;\n        height: 3px;\n        transform: translateY(2px);\n        background-color: var(--color-interactive);\n        transition: height 60ms;\n      }\n\n      :host([error]) .color {\n        background-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n      :host([error]) #inner-color-thumb:hover ~ .color,\n      :host([error]) #inner-color-thumb:focus ~ .color {\n        background-color: var(--uui-color-danger-emphasis,rgb(226, 60, 107));\n      }\n\n      /** Steps */\n      .step-wrapper {\n        margin: 0 ${-1 * TRACK_PADDING}px;\n        height: 11px;\n        position: absolute;\n        left: 0;\n        right: 0;\n        top: -10px;\n      }\n\n      /** Step circles */\n      .track-step {\n        fill: var(--uui-color-border,#d8d7d9);\n      }\n\n      :host(:not([disabled]):hover) #inner-track .track-step.regular,\n      :host(:not([disabled]):active) #inner-track .track-step.regular {\n        fill: var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      :host .track-step.filled {\n        fill: var(--color-interactive);\n      }\n\n      :host([error]) .track-step.filled {\n        fill: var(--uui-color-danger-emphasis,rgb(226, 60, 107));\n      }\n\n      :host #inner-color-thumb.active ~ .step-wrapper .track-step.filled,\n      :host #inner-color-thumb:hover ~ .step-wrapper .track-step.filled {\n        fill: var(--color-hover);\n      }\n\n      :host([disabled]) #range-slider .track-step.filled {\n        fill: var(--uui-palette-mine-grey,#3e3e3e) !important;\n      }\n\n      /** Step values */\n\n      .step-values {\n        box-sizing: border-box;\n        margin: 0 ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n        display: flex;\n        justify-content: space-between;\n        font-size: var(--uui-type-small-size,12px);\n      }\n\n      .step-values > span {\n        position: relative;\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      .step-values > span > span {\n        position: absolute;\n        transform: translateX(-50%);\n      }\n\n      /** Input */\n\n      .native-wrapper {\n        position: relative;\n        width: 100%;\n        inset-inline: 0px;\n        margin: -22px 5px 0 1px;\n      }\n\n      input {\n        -webkit-appearance: none;\n        -moz-appearance: none;\n        appearance: none;\n        pointer-events: none;\n        position: absolute;\n        cursor: pointer;\n        background-color: transparent;\n        inset-inline: 0;\n        width: 100%;\n        border-radius: 20px;\n      }\n\n      input:focus-within {\n        outline: none;\n      }\n\n      /** Thumb values */\n      .thumb-values {\n        box-sizing: border-box;\n        display: flex;\n        justify-content: space-between;\n        color: var(--color-interactive);\n        font-weight: bold;\n        transition: 120ms opacity;\n        opacity: 0;\n      }\n\n      .thumb-values > span {\n        width: 0;\n      }\n\n      .thumb-values > span > span {\n        bottom: 15px;\n        position: absolute;\n        transform: translateX(-50%);\n      }\n\n      :host([disabled]) .thumb-values {\n        color: var(--uui-palette-mine-grey,#3e3e3e);\n      }\n\n      #range-slider:hover .thumb-values {\n        opacity: 1;\n      }\n\n      /** Native thumbs */\n      /** Chrome */\n      input::-webkit-slider-thumb {\n        -webkit-appearance: none;\n        pointer-events: all;\n        cursor: grab;\n        position: relative;\n        z-index: ${Z_INDEX.TOP};\n        width: ${THUMB_SIZE}px;\n        height: ${THUMB_SIZE}px;\n        border-radius: 24px;\n        border: none;\n        background-color: var(--color-interactive);\n        overflow: visible;\n        box-shadow:\n          inset 0 0 0 2px var(--color-interactive),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n      :host([disabled]) input::-webkit-slider-thumb {\n        cursor: default;\n      }\n\n      input:focus-within::-webkit-slider-thumb,\n      input.focus::-webkit-slider-thumb {\n        background-color: var(--color-focus);\n        box-shadow:\n          inset 0 0 0 2px var(--color-focus),\n          inset 0 0 0 4px var(--uui-color-surface,#fff),\n          0 0 0 2px var(--color-focus);\n      }\n      input::-webkit-slider-thumb:hover {\n        background-color: var(--color-hover);\n        box-shadow:\n          inset 0 0 0 2px var(--color-hover),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n\n      :host([disabled]) #range-slider input::-webkit-slider-thumb {\n        background-color: var(--uui-palette-mine-grey,#3e3e3e);\n        box-shadow:\n          inset 0 0 0 2px var(--uui-palette-mine-grey,#3e3e3e),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n\n      /** Mozilla */\n\n      input::-moz-range-thumb {\n        -moz-appearance: none;\n        pointer-events: all;\n        cursor: grab;\n        position: relative;\n        z-index: ${Z_INDEX.TOP};\n        width: ${THUMB_SIZE}px;\n        height: ${THUMB_SIZE}px;\n        border-radius: 24px;\n        border: none;\n        background-color: var(--color-interactive);\n        overflow: visible;\n        box-shadow:\n          inset 0 0 0 2px var(--color-interactive),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n      :host([disabled]) input::-moz-range-thumb {\n        cursor: default;\n      }\n\n      input:focus-within::-moz-range-thumb,\n      input.focus::-moz-range-thumb {\n        background-color: var(--color-focus);\n        box-shadow:\n          inset 0 0 0 2px var(--color-focus),\n          inset 0 0 0 4px var(--uui-color-surface,#fff),\n          0 0 0 2px var(--color-focus);\n      }\n      input::-moz-range-thumb:hover {\n        background-color: var(--color-hover);\n        box-shadow:\n          inset 0 0 0 2px var(--color-hover),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n\n      :host([disabled]) #range-slider input::-moz-range-thumb {\n        background-color: var(--uui-palette-mine-grey,#3e3e3e);\n        box-shadow:\n          inset 0 0 0 2px var(--uui-palette-mine-grey,#3e3e3e),\n          inset 0 0 0 4px var(--uui-color-surface,#fff);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIRangeSliderElement.prototype, \"label\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIRangeSliderElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIRangeSliderElement.prototype, \"min\", 1);\n__decorateClass([\n  property({ type: Number })\n], UUIRangeSliderElement.prototype, \"max\", 1);\n__decorateClass([\n  property({ type: Boolean, attribute: \"hide-step-values\" })\n], UUIRangeSliderElement.prototype, \"hideStepValues\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIRangeSliderElement.prototype, \"step\", 1);\n__decorateClass([\n  property({ type: Number, attribute: \"min-gap\" })\n], UUIRangeSliderElement.prototype, \"minGap\", 1);\n__decorateClass([\n  property({ type: Number, attribute: \"max-gap\" })\n], UUIRangeSliderElement.prototype, \"maxGap\", 1);\n__decorateClass([\n  property({ type: String })\n], UUIRangeSliderElement.prototype, \"value\", 1);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_movement\", 2);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_lowInputValue\", 2);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_highInputValue\", 2);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_trackWidth\", 2);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_lowValuePercentStart\", 2);\n__decorateClass([\n  state()\n], UUIRangeSliderElement.prototype, \"_highValuePercentEnd\", 2);\n__decorateClass([\n  query(\"#range-slider\")\n], UUIRangeSliderElement.prototype, \"_outerTrack\", 2);\n__decorateClass([\n  query(\"#inputLow\")\n], UUIRangeSliderElement.prototype, \"_inputLow\", 2);\n__decorateClass([\n  query(\"#inputHigh\")\n], UUIRangeSliderElement.prototype, \"_inputHigh\", 2);\n__decorateClass([\n  query(\".color\")\n], UUIRangeSliderElement.prototype, \"_innerColor\", 2);\n__decorateClass([\n  query(\"#inner-color-thumb\")\n], UUIRangeSliderElement.prototype, \"_innerColorThumb\", 2);\nUUIRangeSliderElement = __decorateClass([\n  defineElement(\"uui-range-slider\")\n], UUIRangeSliderElement);\n\nexport { UUIRangeSliderElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefListElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIRefListElement.styles = [\n  css`\n      :host {\n        display: block;\n      }\n\n      ::slotted(*:not(:first-child)) {\n        margin-top: 1px;\n      }\n      ::slotted(*:not(:first-child))::before {\n        content: '';\n        position: absolute;\n        top: -1px;\n        left: 0;\n        right: 0;\n        border-top: 1px solid var(--uui-color-border,#d8d7d9);\n      }\n    `\n];\nUUIRefListElement = __decorateClass([\n  defineElement(\"uui-ref-list\")\n], UUIRefListElement);\n\nexport { UUIRefListElement };\n","import { LitElement, css } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\nimport { SelectOnlyMixin, SelectableMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIRefEvent extends UUIEvent {\n}\nUUIRefEvent.OPEN = \"open\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefElement = class extends SelectOnlyMixin(\n  SelectableMixin(LitElement)\n) {\n  constructor() {\n    super(...arguments);\n    this.disabled = false;\n    this.error = false;\n  }\n  handleOpenClick(e) {\n    e.stopPropagation();\n    this.dispatchEvent(new UUIRefEvent(UUIRefEvent.OPEN));\n  }\n  handleOpenKeydown(e) {\n    if (e.key !== \" \" && e.key !== \"Enter\")\n      return;\n    e.preventDefault();\n    e.stopPropagation();\n    this.dispatchEvent(new UUIRefEvent(UUIRefEvent.OPEN));\n  }\n};\nUUIRefElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: flex;\n        justify-content: space-between;\n        align-items: center;\n        width: 100%;\n\n        box-sizing: border-box;\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-surface,#fff);\n        --uui-card-before-opacity: 0;\n        transition: --uui-card-before-opacity 120ms;\n      }\n\n      :host(:focus) {\n        /** TODO: implement focus outline. */\n        outline-color: #6ab4f0;\n      }\n\n      :host([error]) {\n        border: 2px solid var(--uui-color-danger,#d42054);\n        box-shadow:\n          0 0 4px 0 var(--uui-color-danger,#d42054),\n          inset 0 0 2px 0 var(--uui-color-danger,#d42054);\n      }\n\n      :host([standalone]) {\n        border: 1px solid var(--uui-color-border,#d8d7d9);\n      }\n\n      :host([selectable]) {\n        cursor: pointer;\n      }\n      :host([selectable]) #select-border {\n        position: absolute;\n        z-index: 2;\n        top: -2px;\n        left: -2px;\n        right: -2px;\n        bottom: -2px;\n        pointer-events: none;\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host([selectable]) #select-border::after {\n        content: '';\n        position: absolute;\n        width: 100%;\n        height: 100%;\n        box-sizing: border-box;\n        border: 2px solid var(--uui-color-selected,#3544b1);\n        border-radius: calc(var(--uui-border-radius,3px) + 2px);\n        box-shadow:\n          0 0 4px 0 var(--uui-color-selected,#3544b1),\n          inset 0 0 2px 0 var(--uui-color-selected,#3544b1);\n      }\n      :host([selected]) #select-border {\n        opacity: 1;\n      }\n      :host([selectable]:not([selected]):hover) #select-border {\n        opacity: 0.33;\n      }\n      :host([selectable][selected]:hover) #select-border {\n        opacity: 0.8;\n      }\n\n      :host([selectable]:not([selected])) #open-part:hover + #select-border {\n        opacity: 0;\n      }\n      :host([selectable][selected]) #open-part:hover + #select-border {\n        opacity: 1;\n      }\n\n      :host([selectable]:not([selected]):hover) #select-border::after {\n        animation: not-selected--hover 1.2s infinite;\n      }\n      @keyframes not-selected--hover {\n        0%,\n        100% {\n          opacity: 0.66;\n        }\n        50% {\n          opacity: 1;\n        }\n      }\n\n      :host([selectable][selected]:hover) #select-border::after {\n        animation: selected--hover 1.4s infinite;\n      }\n      @keyframes selected--hover {\n        0%,\n        100% {\n          opacity: 1;\n        }\n        50% {\n          opacity: 0.66;\n        }\n      }\n      :host([selectable]) #open-part:hover + #select-border::after {\n        animation: none;\n      }\n\n      :host([select-only]) *,\n      :host([select-only]) ::slotted(*) {\n        pointer-events: none;\n      }\n\n      button {\n        font-size: inherit;\n        font-family: inherit;\n        border: 0;\n        padding: 0;\n        background-color: transparent;\n        text-align: left;\n        color: var(--uui-color-text,#060606);\n      }\n\n      slot[name='actions'] {\n        display: flex;\n        align-items: center;\n        --uui-button-height: calc(var(--uui-size-2,6px) * 4);\n        margin-right: var(--uui-size-2,6px);\n      }\n      #actions-container {\n        opacity: 0;\n        transition: opacity 120ms;\n      }\n      :host(:hover) #actions-container {\n        opacity: 1;\n      }\n\n      :host([standalone]:not([disabled]):hover) {\n        border-color: var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      :host([disabled]) #open-part {\n        cursor: default;\n      }\n\n      :host([standalone][disabled]) {\n        border-color: var(--uui-color-disabled-standalone,rgb(226, 226, 226));\n      }\n\n      slot[name='tag'] {\n        flex-grow: 1;\n\n        display: flex;\n        justify-content: flex-end;\n        align-items: center;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIRefElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIRefElement.prototype, \"error\", 2);\nUUIRefElement = __decorateClass([\n  defineElement(\"uui-ref\")\n], UUIRefElement);\n\nexport { UUIRefElement, UUIRefEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { UUIRefElement } from '@umbraco-ui/uui-ref/lib';\nimport { css, html, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _onSlotIconChange, onSlotIconChange_fn, _renderFallbackIcon, renderFallbackIcon_fn, _renderContent, renderContent_fn, _renderLink, renderLink_fn, _renderButton, renderButton_fn;\nlet UUIRefNodeElement = class extends UUIRefElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _onSlotIconChange);\n    __privateAdd(this, _renderFallbackIcon);\n    __privateAdd(this, _renderContent);\n    __privateAdd(this, _renderLink);\n    __privateAdd(this, _renderButton);\n    this.name = \"\";\n    this.detail = \"\";\n    this._iconSlotHasContent = false;\n    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>';\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-icon\");\n  }\n  renderDetail() {\n    return html`<small id=\"detail\"\n      >${this.detail}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n  render() {\n    return html`\n      ${this.href ? __privateMethod(this, _renderLink, renderLink_fn).call(this) : __privateMethod(this, _renderButton, renderButton_fn).call(this)}\n      <!-- Select border must be right after #open-part -->\n      <div id=\"select-border\"></div>\n\n      <slot></slot>\n      <slot name=\"tag\"></slot>\n      <slot name=\"actions\" id=\"actions-container\"></slot>\n    `;\n  }\n};\n_onSlotIconChange = new WeakSet();\nonSlotIconChange_fn = function(event) {\n  this._iconSlotHasContent = event.target.assignedNodes({ flatten: true }).length > 0;\n};\n_renderFallbackIcon = new WeakSet();\nrenderFallbackIcon_fn = function() {\n  return html`<uui-icon .svg=\"${this.fallbackIcon}\"></uui-icon>`;\n};\n_renderContent = new WeakSet();\nrenderContent_fn = function() {\n  return html`\n      <span id=\"icon\">\n        <slot name=\"icon\" @slotchange=${__privateMethod(this, _onSlotIconChange, onSlotIconChange_fn)}></slot>\n        ${this._iconSlotHasContent === false ? __privateMethod(this, _renderFallbackIcon, renderFallbackIcon_fn).call(this) : \"\"}\n      </span>\n      <div id=\"info\">\n        <div id=\"name\">${this.name}</div>\n        ${this.renderDetail()}\n      </div>\n    `;\n};\n_renderLink = new WeakSet();\nrenderLink_fn = function() {\n  return html`<a\n      id=\"open-part\"\n      tabindex=${this.disabled ? nothing : \"0\"}\n      href=${ifDefined(!this.disabled ? this.href : void 0)}\n      target=${ifDefined(this.target || void 0)}\n      rel=${ifDefined(\n    this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n  )}>\n      ${__privateMethod(this, _renderContent, renderContent_fn).call(this)}\n    </a>`;\n};\n_renderButton = new WeakSet();\nrenderButton_fn = function() {\n  return html`\n      <button\n        type=\"button\"\n        id=\"open-part\"\n        tabindex=\"0\"\n        @click=${this.handleOpenClick}\n        @keydown=${this.handleOpenKeydown}\n        ?disabled=${this.disabled}>\n        ${__privateMethod(this, _renderContent, renderContent_fn).call(this)}\n      </button>\n    `;\n};\nUUIRefNodeElement.styles = [\n  ...UUIRefElement.styles,\n  css`\n      :host {\n        min-width: 250px;\n        padding: calc(var(--uui-size-2,6px) + 1px);\n      }\n\n      #open-part {\n        text-decoration: none;\n        color: inherit;\n        align-self: stretch;\n        line-height: normal;\n\n        display: flex;\n        position: relative;\n        align-items: center;\n        cursor: pointer;\n      }\n\n      #icon {\n        font-size: 1.2em;\n        margin-left: var(--uui-size-2,6px);\n        margin-right: var(--uui-size-1,3px);\n      }\n\n      #info {\n        display: flex;\n        flex-direction: column;\n        align-items: start;\n        justify-content: center;\n        height: 100%;\n        padding-left: var(--uui-size-2,6px);\n      }\n\n      #name {\n        font-weight: 700;\n      }\n\n      #detail {\n        font-size: var(--uui-type-small-size,12px);\n      }\n\n      :host(:not([disabled])) #open-part:hover #icon {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n      :host(:not([disabled])) #open-part:hover #name {\n        font-weight: 700;\n        text-decoration: underline;\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n      :host(:not([disabled])) #open-part:hover #detail {\n        color: var(--uui-color-interactive-emphasis,#3544b1);\n      }\n\n      :host([disabled]) #icon {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) #name {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) #detail {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeElement.prototype, \"name\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeElement.prototype, \"detail\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeElement.prototype, \"href\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeElement.prototype, \"target\", 2);\n__decorateClass([\n  state()\n], UUIRefNodeElement.prototype, \"_iconSlotHasContent\", 2);\nUUIRefNodeElement = __decorateClass([\n  defineElement(\"uui-ref-node\")\n], UUIRefNodeElement);\n\nexport { UUIRefNodeElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodeDataTypeElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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>';\n    this.alias = \"\";\n  }\n  renderDetail() {\n    const details = [];\n    if (this.alias !== \"\") {\n      details.push(this.alias);\n    }\n    if (this.detail !== \"\") {\n      details.push(this.detail);\n    }\n    return html`<small id=\"detail\"\n      >${details.join(\" | \")}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n};\nUUIRefNodeDataTypeElement.styles = [...UUIRefNodeElement.styles];\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeDataTypeElement.prototype, \"alias\", 2);\nUUIRefNodeDataTypeElement = __decorateClass([\n  defineElement(\"uui-ref-node-data-type\")\n], UUIRefNodeDataTypeElement);\n\nexport { UUIRefNodeDataTypeElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodeDocumentTypeElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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>';\n    this.alias = \"\";\n  }\n  renderDetail() {\n    const details = [];\n    if (this.alias !== \"\") {\n      details.push(this.alias);\n    }\n    if (this.detail !== \"\") {\n      details.push(this.detail);\n    }\n    return html`<small id=\"detail\"\n      >${details.join(\" | \")}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n};\nUUIRefNodeDocumentTypeElement.styles = [...UUIRefNodeElement.styles];\n__decorateClass([\n  property({ type: String })\n], UUIRefNodeDocumentTypeElement.prototype, \"alias\", 2);\nUUIRefNodeDocumentTypeElement = __decorateClass([\n  defineElement(\"uui-ref-node-document-type\")\n], UUIRefNodeDocumentTypeElement);\n\nexport { UUIRefNodeDocumentTypeElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodeFormElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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  }\n};\nUUIRefNodeFormElement.styles = [...UUIRefNodeElement.styles];\nUUIRefNodeFormElement = __decorateClass([\n  defineElement(\"uui-ref-node-form\")\n], UUIRefNodeFormElement);\n\nexport { UUIRefNodeFormElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodeMemberElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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>';\n    this.groupName = \"\";\n  }\n  renderDetail() {\n    const details = [];\n    if (this.detail !== \"\") {\n      details.push(this.detail);\n    }\n    if (this.groupName !== \"\") {\n      details.push(this.groupName);\n    }\n    return html`<small id=\"detail\"\n      >${details.join(\" | \")}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n};\nUUIRefNodeMemberElement.styles = [...UUIRefNodeElement.styles];\n__decorateClass([\n  property({ type: String, attribute: \"group-name\" })\n], UUIRefNodeMemberElement.prototype, \"groupName\", 2);\nUUIRefNodeMemberElement = __decorateClass([\n  defineElement(\"uui-ref-node-member\")\n], UUIRefNodeMemberElement);\n\nexport { UUIRefNodeMemberElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodePackageElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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>';\n    this.version = \"\";\n    this.author = \"\";\n  }\n  renderDetail() {\n    const details = [];\n    if (this.detail !== \"\") {\n      details.push(this.detail);\n    }\n    if (this.version !== \"\") {\n      details.push(this.version);\n    }\n    if (this.author !== \"\") {\n      details.push(this.author);\n    }\n    return html`<small id=\"detail\"\n      >${details.join(\" | \")}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n};\nUUIRefNodePackageElement.styles = [...UUIRefNodeElement.styles];\n__decorateClass([\n  property({ type: String })\n], UUIRefNodePackageElement.prototype, \"version\", 2);\n__decorateClass([\n  property({ type: String })\n], UUIRefNodePackageElement.prototype, \"author\", 2);\nUUIRefNodePackageElement = __decorateClass([\n  defineElement(\"uui-ref-node-package\")\n], UUIRefNodePackageElement);\n\nexport { UUIRefNodePackageElement };\n","import { UUIRefNodeElement } from '@umbraco-ui/uui-ref-node/lib';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIRefNodeUserElement = class extends UUIRefNodeElement {\n  constructor() {\n    super(...arguments);\n    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>';\n    this.groupName = \"\";\n  }\n  renderDetail() {\n    const details = [];\n    if (this.detail !== \"\") {\n      details.push(this.detail);\n    }\n    if (this.groupName !== \"\") {\n      details.push(this.groupName);\n    }\n    return html`<small id=\"detail\"\n      >${details.join(\" | \")}<slot name=\"detail\"></slot\n    ></small>`;\n  }\n};\nUUIRefNodeUserElement.styles = [...UUIRefNodeElement.styles];\n__decorateClass([\n  property({ type: String, attribute: \"group-name\" })\n], UUIRefNodeUserElement.prototype, \"groupName\", 2);\nUUIRefNodeUserElement = __decorateClass([\n  defineElement(\"uui-ref-node-user\")\n], UUIRefNodeUserElement);\n\nexport { UUIRefNodeUserElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIScrollContainerElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.enforceScroll = false;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.hasAttribute(\"tabindex\")) {\n      this.setAttribute(\"tabindex\", \"0\");\n    }\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIScrollContainerElement.styles = [\n  css`\n      :host {\n        display: block;\n        scrollbar-width: thin;\n        scrollbar-color: var(--uui-color-disabled-contrast,#c4c4c4)\n          var(--uui-color-surface,#fff);\n        overflow-y: auto;\n      }\n\n      :host([enforce-scroll]) {\n        overflow-y: scroll;\n      }\n\n      :host::-webkit-scrollbar {\n        width: 6px;\n        height: 6px; /* needed for horizontal scrollbar */\n      }\n\n      :host::-webkit-scrollbar-track {\n        background: var(--uui-color-surface,#fff);\n        border-radius: 3px;\n      }\n      :host::-webkit-scrollbar-thumb {\n        background-color: var(--uui-color-disabled-contrast,#c4c4c4);\n        border-radius: 3px;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true, attribute: \"enforce-scroll\" })\n], UUIScrollContainerElement.prototype, \"enforceScroll\", 2);\nUUIScrollContainerElement = __decorateClass([\n  defineElement(\"uui-scroll-container\")\n], UUIScrollContainerElement);\n\nexport { UUIScrollContainerElement };\n","import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, nothing, css } from 'lit';\nimport { property, state, query } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUISelectEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUISelectEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISelectElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super();\n    this.placeholder = \"\";\n    this.disabled = false;\n    this.error = false;\n    this.options = [];\n    this._groups = [];\n    this.disabledGroups = \"\";\n    this._disabledGroups = [];\n    this._values = [];\n    this.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n    });\n    this.addEventListener(\"blur\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"\");\n    });\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the select\n   */\n  focus() {\n    this._input.focus();\n  }\n  /**\n   * This method enables <label for=\"...\"> to open the select\n   */\n  click() {\n    this._input.click();\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.label) {\n      console.warn(this.tagName + \" needs a `label`\", this);\n    }\n  }\n  _createDisabledGroups() {\n    if (this.disabledGroups.length === 0)\n      return;\n    this._disabledGroups = this.disabledGroups.split(\",\");\n  }\n  _extractGroups() {\n    if (this.options.length === 0)\n      return;\n    this._groups = Array.from(\n      new Set(\n        this.options.filter((option) => option.group).map((option) => option.group)\n      )\n    );\n  }\n  willUpdate(changedProperties) {\n    if (changedProperties.has(\"options\")) {\n      this._extractGroups();\n      this._values = this.options.map((option) => option.value);\n      const selected = this.options.find((option) => option.selected);\n      this.value = selected ? selected.value : \"\";\n    }\n    if (changedProperties.has(\"value\")) {\n      this.value = this._values.includes(this.value) ? this.value : \"\";\n    }\n    if (changedProperties.has(\"disabledGroups\"))\n      this._createDisabledGroups();\n  }\n  setValue(e) {\n    e.stopPropagation();\n    const target = e.target;\n    if (e.target)\n      this.value = target.value;\n    this.dispatchEvent(\n      new UUISelectEvent(UUISelectEvent.CHANGE, {\n        bubbles: true,\n        composed: false\n      })\n    );\n  }\n  getFormElement() {\n    return this._input;\n  }\n  _renderOption(name, value, selected, disabled) {\n    return html`<option\n      value=\"${value}\"\n      ?selected=${selected}\n      ?disabled=${disabled}>\n      ${name}\n    </option>`;\n  }\n  _renderGrouped() {\n    if (this._groups.length === 0)\n      return nothing;\n    return html`\n      ${this._groups.map(\n      (group) => html`<optgroup\n            label=${group}\n            ?disabled=${this._disabledGroups.some(\n        (disabled) => disabled.toLowerCase() === group.toLowerCase()\n      )}>\n            ${this.options.map(\n        (option) => option.group === group ? this._renderOption(\n          option.name,\n          option.value,\n          option.selected,\n          option.disabled\n        ) : \"\"\n      )}\n          </optgroup>`\n    )}\n    `;\n  }\n  render() {\n    return html` <select\n      id=\"native\"\n      aria-label=${this.label}\n      @change=${this.setValue}\n      ?disabled=${this.disabled}\n      .name=${this.name}\n      .value=${this.value}>\n      <option disabled selected value=\"\" hidden>${this.placeholder}</option>\n      ${this._renderGrouped()}\n      ${this.options.filter((option) => !option.group).map(\n      (option) => this._renderOption(\n        option.name,\n        option.value,\n        option.selected,\n        option.disabled\n      )\n    )}\n    </select>`;\n  }\n};\nUUISelectElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        position: relative;\n        font-family: inherit;\n      }\n\n      #native {\n        display: inline-block;\n        font-family: inherit;\n        font-size: var(--uui-select-font-size, var(--uui-size-5,15px));\n        height: var(--uui-select-height, var(--uui-size-11,33px));\n        padding: var(--uui-select-padding-y, var(--uui-size-1,3px))\n          var(--uui-select-padding-x, var(--uui-size-2,6px));\n        color: currentColor;\n        box-sizing: border-box;\n        border-radius: 0;\n        border: 1px solid\n          var(--uui-select-border-color, var(--uui-color-border,#d8d7d9));\n        transition: all 150ms ease;\n        width: 100%;\n      }\n\n      #native:focus {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-select-outline-color, var(--uui-color-focus,#3879ff));\n      }\n\n      #native[disabled] {\n        cursor: not-allowed;\n        background-color: var(\n          --uui-select-disabled-background-color,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n      }\n\n      #native:hover {\n        border: 1px solid\n          var(--uui-select-border-color-hover, var(--uui-color-border-emphasis,#a1a1a1));\n      }\n\n      option:checked {\n        background: var(\n          --uui-select-selected-option-background-color,\n          var(--uui-color-selected,#3544b1)\n        );\n        color: var(\n          --uui-select-selected-option-color,\n          var(--uui-color-selected-contrast,#fff)\n        );\n      }\n\n      #caret {\n        position: absolute;\n        right: 12px;\n        top: 50%;\n        transform: translateY(-50%);\n      }\n\n      :host([error]) #native {\n        border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n\n      :host([error]) #native[disabled] {\n        border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUISelectElement.prototype, \"label\", 2);\n__decorateClass([\n  property()\n], UUISelectElement.prototype, \"placeholder\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISelectElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISelectElement.prototype, \"error\", 2);\n__decorateClass([\n  property({ type: Array, attribute: false })\n], UUISelectElement.prototype, \"options\", 2);\n__decorateClass([\n  state()\n], UUISelectElement.prototype, \"_groups\", 2);\n__decorateClass([\n  property()\n], UUISelectElement.prototype, \"disabledGroups\", 2);\n__decorateClass([\n  state()\n], UUISelectElement.prototype, \"_disabledGroups\", 2);\n__decorateClass([\n  query(\"#native\")\n], UUISelectElement.prototype, \"_input\", 2);\nUUISelectElement = __decorateClass([\n  defineElement(\"uui-select\")\n], UUISelectElement);\n\nexport { UUISelectElement, UUISelectEvent };\n","import { UUIHorizontalPulseKeyframes } from '@umbraco-ui/uui-base/lib/animations';\nimport { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html, svg, nothing } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nconst nativeInputStyles = css`\n  input[type='range'] {\n    left: 0;\n    position: absolute;\n    top: 0;\n    height: 100%;\n    width: 100%;\n    z-index: 2;\n\n    height: 100%;\n    -webkit-appearance: none;\n    margin: 0px;\n    padding: 0px;\n    border: 0 none;\n    background: transparent;\n    color: transparent;\n    overflow: visible;\n    border: none;\n  }\n  input[type='range']:focus {\n    outline: none;\n  }\n  input[type='range']::-webkit-slider-runnable-track {\n    width: 100%;\n    height: 100%;\n    -webkit-appearance: none;\n    margin: 0px;\n    padding: 0px;\n    border: none;\n    background: transparent;\n    color: transparent;\n    overflow: visible;\n    order: none;\n  }\n\n  input[type='range']:focus::-webkit-slider-runnable-track {\n    background: transparent;\n    border: none;\n  }\n\n  input[type='range']::-moz-range-track {\n    width: 100%;\n    height: 100%;\n    -moz-appearance: none;\n    margin: 0px;\n    padding: 0px;\n    border: 0 none;\n    background: transparent;\n    color: transparent;\n    overflow: visible;\n  }\n\n  input[type='range']::-ms-track {\n    width: 100%;\n    height: 100%;\n    -webkit-appearance: none;\n    margin: 0px;\n    padding: 0px;\n    border: 0 none;\n    background: transparent;\n    color: transparent;\n    overflow: visible;\n  }\n  input[type='range']::-ms-fill-lower,\n  input[type='range']::-ms-fill-upper {\n    background: transparent;\n    border: 0 none;\n  }\n\n  input[type='range']::-ms-tooltip {\n    display: none;\n  }\n\n  input[type='range']::-moz-range-thumb {\n    width: 18px;\n    height: 18px;\n    border-radius: 12px;\n    border: 0 none;\n    background: transparent;\n    cursor: pointer;\n  }\n\n  input[type='range']::-webkit-slider-thumb {\n    width: 18px;\n    height: 18px;\n    border-radius: 12px;\n    border: 0 none;\n    background: transparent;\n    cursor: pointer;\n    -webkit-appearance: none;\n  }\n\n  input[type='range']::-ms-thumb {\n    width: 18px;\n    height: 18px;\n    border-radius: 12px;\n    border: 0 none;\n    background: transparent;\n    cursor: pointer;\n  }\n\n  input[type='range']:focus::-ms-fill-lower {\n    background: transparent;\n  }\n  input[type='range']:focus::-ms-fill-upper {\n    background: transparent;\n  }\n`;\n\nclass UUISliderEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUISliderEvent.INPUT = \"input\";\nUUISliderEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nconst TRACK_PADDING = 12;\nconst STEP_MIN_WIDTH = 24;\nconst RenderTrackSteps = (steps, stepWidth) => {\n  return svg`\n  ${steps.map((el) => {\n    if (stepWidth >= STEP_MIN_WIDTH) {\n      const x = Math.round(TRACK_PADDING + stepWidth * steps.indexOf(el));\n      return svg`<circle class=\"track-step\" cx=\"${x}\" cy=\"50%\" r=\"4.5\" />`;\n    }\n    return svg``;\n  })}\n`;\n};\nconst RenderStepValues = (steps, stepWidth, hide) => {\n  if (hide)\n    return nothing;\n  return html`<div id=\"step-values\">\n    ${steps.map(\n    (el) => html` <span\n          ><span>\n            ${steps.length <= 20 && stepWidth >= STEP_MIN_WIDTH ? el.toFixed(0) : nothing}\n          </span></span\n        >`\n  )}\n  </div>`;\n};\nconst GenerateStepArray = (start, stop, step) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);\nlet UUISliderElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super();\n    this.hideStepValues = false;\n    this.min = 0;\n    this.max = 100;\n    this.step = 1;\n    this.disabled = false;\n    this._stepWidth = 0;\n    this.onWindowResize = () => {\n      this._stepWidth = this._calculateStepWidth();\n    };\n    this._steps = [];\n    this._sliderPosition = \"0%\";\n    this.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n    });\n    this.addEventListener(\"blur\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"\");\n    });\n    this.addEventListener(\"keypress\", this._onKeypress);\n  }\n  get value() {\n    return this._value;\n  }\n  set value(newVal) {\n    if (newVal instanceof File) {\n      return;\n    }\n    const oldVal = this._value;\n    let correctedValue = newVal ? parseFloat(newVal) : 0;\n    correctedValue = Math.min(Math.max(correctedValue, this.min), this.max);\n    if (this.step > 0) {\n      correctedValue = Math.round(correctedValue / this.step) * this.step;\n    }\n    this._value = correctedValue.toString();\n    this._calculateSliderPosition();\n    if (\"ElementInternals\" in window && //@ts-ignore\n    \"setFormValue\" in window.ElementInternals.prototype) {\n      this._internals.setFormValue(this._value);\n    }\n    this.requestUpdate(\"value\", oldVal);\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the input\n   */\n  focus() {\n    this._input.focus();\n  }\n  getFormElement() {\n    return this._input;\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    window.addEventListener(\"resize\", this.onWindowResize);\n    if (!this.label) {\n      console.warn(this.tagName + \" needs a `label`\", this);\n    }\n  }\n  disconnectedCallback() {\n    window.removeEventListener(\"resize\", this.onWindowResize);\n    super.disconnectedCallback();\n  }\n  firstUpdated() {\n    this._calculateSliderPosition();\n    this._updateSteps();\n  }\n  updated(changedProperties) {\n    super.updated(changedProperties);\n    if (changedProperties.get(\"max\") || changedProperties.get(\"min\") || changedProperties.get(\"step\")) {\n      this.value = this.value;\n      this._updateSteps();\n    }\n  }\n  _updateSteps() {\n    this._steps = GenerateStepArray(this.min, this.max, this.step);\n    this._stepWidth = this._calculateStepWidth();\n  }\n  _calculateStepWidth() {\n    return (this._track.getBoundingClientRect().width - TRACK_PADDING * 2) / (this._steps.length - 1);\n  }\n  _onKeypress(e) {\n    if (e.key == \"Enter\") {\n      this.submit();\n    }\n  }\n  _calculateSliderPosition() {\n    const ratio = (parseFloat(this._value || \"0\") - this.min) / (this.max - this.min);\n    this._sliderPosition = `${Math.floor(ratio * 1e5) / 1e3}%`;\n  }\n  _onInput(e) {\n    e.stopPropagation();\n    this.value = this._input.value;\n    this.dispatchEvent(new UUISliderEvent(UUISliderEvent.INPUT));\n  }\n  _onChange(e) {\n    e.stopPropagation();\n    this.pristine = false;\n    this.dispatchEvent(new UUISliderEvent(UUISliderEvent.CHANGE));\n  }\n  render() {\n    return html`\n      <input\n        id=\"input\"\n        type=\"range\"\n        min=\"${this.min}\"\n        max=\"${this.max}\"\n        .value=\"${this.value}\"\n        aria-label=\"${this.label}\"\n        step=\"${+this.step}\"\n        ?disabled=${this.disabled}\n        @input=${this._onInput}\n        @change=${this._onChange} />\n      <div id=\"track\" aria-hidden=\"true\">\n        <svg height=\"100%\" width=\"100%\">\n          <rect x=\"9\" y=\"9\" height=\"3\" rx=\"2\" />\n          ${RenderTrackSteps(this._steps, this._stepWidth)}\n        </svg>\n\n        <div id=\"track-inner\" aria-hidden=\"true\">\n          <div id=\"thumb\" style=${styleMap({ left: this._sliderPosition })}>\n            <div id=\"thumb-label\">${this.value}</div>\n          </div>\n        </div>\n      </div>\n      ${RenderStepValues(this._steps, this._stepWidth, this.hideStepValues)}\n    `;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUISliderElement.formAssociated = true;\nUUISliderElement.styles = [\n  UUIHorizontalPulseKeyframes,\n  nativeInputStyles,\n  css`\n      :host {\n        display: inline-block;\n        width: 100%;\n        position: relative;\n        min-height: 30px;\n        user-select: none;\n      }\n\n      input {\n        box-sizing: border-box;\n        height: 18px;\n      }\n\n      #track {\n        position: relative;\n        height: 18px;\n        width: 100%;\n        display: flex;\n      }\n\n      #track svg {\n        height: 21px;\n        border-radius: 10px;\n        background-color: var(--uui-color-surface,#fff);\n      }\n      #track svg rect {\n        width: calc(100% - 18px);\n        fill: var(--uui-color-border-standalone,#c2c2c2);\n      }\n      input:hover ~ #track svg rect {\n        fill: var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      input:focus ~ #track svg {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n\n      .track-step {\n        fill: var(--uui-color-border,#d8d7d9);\n      }\n      input:hover ~ #track svg .track-step {\n        fill: var(--uui-color-border-emphasis,#a1a1a1);\n      }\n\n      #track-inner {\n        position: absolute;\n        left: ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n        right: ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n      }\n\n      #thumb {\n        position: absolute;\n        top: 2px;\n        bottom: 0;\n        left: 0;\n        height: 17px;\n        width: 17px;\n        margin-left: -8px;\n        margin-right: -8px;\n        border-radius: 50%;\n        box-sizing: border-box;\n\n        background-color: var(--uui-color-surface,#fff);\n        border: 2px solid var(--uui-color-selected,#3544b1);\n\n        transition: 120ms left ease;\n      }\n      :host([disabled]) #thumb {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n        border-color: var(--uui-color-disabled-standalone,rgb(226, 226, 226));\n      }\n\n      #thumb:after {\n        content: '';\n        position: absolute;\n        top: 2px;\n        left: 2px;\n        height: 9px;\n        width: 9px;\n        border-radius: 50%;\n        background-color: var(--uui-color-selected,#3544b1);\n      }\n      :host([disabled]) #thumb:after {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n\n      #thumb-label {\n        position: absolute;\n        box-sizing: border-box;\n        font-weight: 700;\n        bottom: 15px;\n        left: 50%;\n        width: 40px;\n        margin-left: -20px;\n        text-align: center;\n        opacity: 0;\n        transition: 120ms opacity;\n        color: var(--uui-color-selected,#3544b1);\n      }\n\n      input:focus ~ #track #thumb-label,\n      input:hover ~ #track #thumb-label {\n        opacity: 1;\n      }\n\n      #step-values {\n        margin: 0 ${TRACK_PADDING}px; /* Match TRACK_MARGIN */\n        margin-top: 6px;\n        display: flex;\n        align-items: flex-end;\n        box-sizing: border-box;\n      }\n\n      #step-values > span {\n        flex-basis: 0;\n        flex-grow: 1;\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      #step-values > span > span {\n        transform: translateX(-50%);\n        display: inline-block;\n        text-align: center;\n        font-size: var(--uui-type-small-size,12px);\n      }\n\n      #step-values > span:last-child {\n        width: 0;\n        flex-grow: 0;\n      }\n\n      :host(:not([pristine]):invalid) #thumb {\n        border-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n      :host(:not([pristine]):invalid) #thumb:after {\n        background-color: var(--uui-color-danger,#d42054);\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, attribute: \"hide-step-values\" })\n], UUISliderElement.prototype, \"hideStepValues\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUISliderElement.prototype, \"min\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUISliderElement.prototype, \"max\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUISliderElement.prototype, \"step\", 2);\n__decorateClass([\n  property({ type: String })\n], UUISliderElement.prototype, \"value\", 1);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISliderElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: String })\n], UUISliderElement.prototype, \"label\", 2);\n__decorateClass([\n  query(\"#input\")\n], UUISliderElement.prototype, \"_input\", 2);\n__decorateClass([\n  query(\"#track\")\n], UUISliderElement.prototype, \"_track\", 2);\n__decorateClass([\n  state()\n], UUISliderElement.prototype, \"_stepWidth\", 2);\n__decorateClass([\n  state()\n], UUISliderElement.prototype, \"_steps\", 2);\n__decorateClass([\n  state()\n], UUISliderElement.prototype, \"_sliderPosition\", 2);\nUUISliderElement = __decorateClass([\n  defineElement(\"uui-slider\")\n], UUISliderElement);\n\nexport { UUISliderElement, UUISliderEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolExpandElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.open = false;\n  }\n  render() {\n    return html`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n      <path d=\"M 255.125 400.35 L 88.193 188.765 H 422.055 Z\"></path>\n    </svg>`;\n  }\n};\nUUISymbolExpandElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        width: 12px;\n        vertical-align: middle;\n      }\n\n      svg {\n        fill: currentColor;\n        transform: rotate(-90deg);\n        transform-origin: 50% 50%;\n        transition: transform 120ms ease-in-out;\n        width: 100%;\n        height: 100%;\n      }\n\n      :host([open]) svg {\n        transform: rotate(0deg);\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISymbolExpandElement.prototype, \"open\", 2);\nUUISymbolExpandElement = __decorateClass([\n  defineElement(\"uui-symbol-expand\")\n], UUISymbolExpandElement);\n\nexport { UUISymbolExpandElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolFileDropzoneElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.error = false;\n  }\n  render() {\n    return html`<svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 512 512\"\n      id=\"upload-icon\">\n      <path\n        d=${!this.error ? \"M206.491 364.184h99.013V223.676h92.922L255.997 51.111 113.575 223.676h92.916zM85.043 398.311h341.912v62.578H85.043z\" : \"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\"} />\n    </svg> `;\n  }\n};\nUUISymbolFileDropzoneElement.styles = [\n  css`\n      :host {\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center;\n      }\n\n      #upload-icon {\n        fill: var(--uui-color-default,#1b264f);\n        width: 100px;\n        transition: fill 0.3s ease;\n        position: relative;\n        z-index: 2;\n      }\n\n      :host([error]) #upload-icon {\n        fill: var(--uui-color-danger,#d42054);\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISymbolFileDropzoneElement.prototype, \"error\", 2);\nUUISymbolFileDropzoneElement = __decorateClass([\n  defineElement(\"uui-symbol-file-dropzone\")\n], UUISymbolFileDropzoneElement);\n\nexport { UUISymbolFileDropzoneElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { iconPicture } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolFileThumbnailElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.src = \"\";\n    this.alt = \"\";\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-icon\");\n  }\n  render() {\n    return this.src ? html`<img src=${this.src} alt=${this.alt} />` : html`<uui-icon\n          name=\"picture\"\n          .fallback=${iconPicture.strings[0]}></uui-icon>`;\n  }\n};\nUUISymbolFileThumbnailElement.styles = [\n  css`\n      :host {\n        display: block;\n        width: 100%;\n        height: 100%;\n      }\n\n      img {\n        object-fit: contain;\n        height: 100%;\n        width: 100%;\n      }\n\n      uui-icon {\n        width: 100%;\n        height: 100%;\n        max-width: 100%;\n        display: flex;\n        max-height: 100%;\n        justify-content: center;\n        color: var(--uui-color-surface,#fff);\n        background: var(--uui-color-surface-alt,#f3f3f5);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUISymbolFileThumbnailElement.prototype, \"src\", 2);\n__decorateClass([\n  property({ type: String })\n], UUISymbolFileThumbnailElement.prototype, \"alt\", 2);\nUUISymbolFileThumbnailElement = __decorateClass([\n  defineElement(\"uui-symbol-file-thumbnail\")\n], UUISymbolFileThumbnailElement);\n\nexport { UUISymbolFileThumbnailElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolFileElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.type = \"\";\n  }\n  render() {\n    return html`<svg\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 512 512\"\n        width=\"100%\"\n        id=\"icon\">\n        <path\n          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\" />\n      </svg>\n      ${this.type ? html`<span id=\"file-type\">${this.type.toUpperCase()}</span>` : \"\"} `;\n  }\n};\nUUISymbolFileElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: block;\n      }\n\n      #file-type {\n        position: absolute;\n        bottom: 24%;\n        left: 25.5%;\n        margin-left: calc(var(--uui-size-3,9px) * -1);\n        padding: 0px var(--uui-size-3,9px);\n        font-weight: 700;\n        background-color: var(--uui-color-surface-alt,#f3f3f5);\n        max-width: 100%;\n        white-space: nowrap;\n        overflow: hidden;\n        text-overflow: ellipsis;\n      }\n\n      #icon {\n        fill: var(--uui-color-border-standalone,#c2c2c2);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUISymbolFileElement.prototype, \"type\", 2);\nUUISymbolFileElement = __decorateClass([\n  defineElement(\"uui-symbol-file\")\n], UUISymbolFileElement);\n\nexport { UUISymbolFileElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolFolderElement = class extends LitElement {\n  render() {\n    return html`<svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 512 512\"\n      width=\"100%\"\n      id=\"icon\">\n      <path\n        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\" />\n    </svg> `;\n  }\n};\nUUISymbolFolderElement.styles = [\n  css`\n      :host {\n        display: block;\n        box-sizing: border-box;\n        position: relative;\n        max-width: 100px;\n      }\n\n      #icon {\n        fill: var(--uui-color-border,#d8d7d9);\n      }\n    `\n];\nUUISymbolFolderElement = __decorateClass([\n  defineElement(\"uui-symbol-folder\")\n], UUISymbolFolderElement);\n\nexport { UUISymbolFolderElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, svg } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolLockElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.open = false;\n  }\n  render() {\n    return svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n      ${this.open === true ? svg`<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>` : svg`<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>`}\n    </svg>`;\n  }\n};\nUUISymbolLockElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        vertical-align: middle;\n        width: 1em;\n      }\n\n      svg {\n        fill: currentColor;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISymbolLockElement.prototype, \"open\", 2);\nUUISymbolLockElement = __decorateClass([\n  defineElement(\"uui-symbol-lock\")\n], UUISymbolLockElement);\n\nexport { UUISymbolLockElement };\n","import { css, LitElement, html } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolMoreElement = class extends LitElement {\n  render() {\n    return html`•••`;\n  }\n};\nUUISymbolMoreElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        font-size: 0.8em;\n        vertical-align: top;\n        margin-top: 0.27em;\n        line-height: 1em;\n        user-select: none;\n      }\n    `\n];\nUUISymbolMoreElement = __decorateClass([\n  defineElement(\"uui-symbol-more\")\n], UUISymbolMoreElement);\n\nexport { UUISymbolMoreElement };\n","import { ActiveMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUISymbolSortElement = class extends ActiveMixin(LitElement) {\n  constructor() {\n    super(...arguments);\n    this.descending = false;\n  }\n  render() {\n    return html`<svg\n        id=\"up\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 512 512\">\n        <path d=\"M 255.125 400.35 L 88.193 188.765 H 422.055 Z\"></path>\n      </svg>\n      <svg id=\"down\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n        <path d=\"M 255.125 400.35 L 88.193 188.765 H 422.055 Z\"></path>\n      </svg>`;\n  }\n};\nUUISymbolSortElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: inline-block;\n        width: 0.8em;\n        height: 1em;\n        vertical-align: middle;\n        pointer-events: none;\n      }\n\n      svg {\n        position: absolute;\n        left: 0;\n        top: 50%;\n        width: 0.8em;\n        fill: currentColor;\n        transform-origin: 50% 50%;\n        transition:\n          transform 120ms ease-in-out,\n          opacity 120ms,\n          margin-top 240ms;\n        opacity: 0;\n        margin-top: -0.5em;\n      }\n\n      #up {\n        transform: rotate(180deg);\n        margin-top: -0.7em;\n      }\n      #down {\n        margin-top: -0.3em;\n      }\n      :host([active]) #up {\n        margin-top: calc(-0.5em - (0.2em * var(--uui-symbol-sort-hover, 0)));\n      }\n      :host([active]) #down {\n        margin-top: calc(-0.5em + (0.2em * var(--uui-symbol-sort-hover, 0)));\n      }\n\n      :host(:hover) {\n        --uui-symbol-sort-hover: 1;\n      }\n      :host(:not([active])) #up,\n      :host(:not([active])) #down {\n        opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));\n      }\n\n      :host([active]:not([descending])) #down {\n        opacity: 1;\n      }\n      :host([active]:not([descending])) #up {\n        opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));\n      }\n\n      :host([active][descending]) #up {\n        opacity: 1;\n      }\n      :host([active][descending]) #down {\n        opacity: calc(0.25 * var(--uui-symbol-sort-hover, 0));\n      }\n    `\n];\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUISymbolSortElement.prototype, \"descending\", 2);\nUUISymbolSortElement = __decorateClass([\n  defineElement(\"uui-symbol-sort\")\n], UUISymbolSortElement);\n\nexport { UUISymbolSortElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\nimport { SelectOnlyMixin, SelectableMixin } from '@umbraco-ui/uui-base/lib/mixins';\n\nvar __defProp$5 = Object.defineProperty;\nvar __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$5 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$5(target, key, result);\n  return result;\n};\nlet UUITableElement = class extends LitElement {\n  /* consider select-only attribute on this level? */\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"table\");\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUITableElement.styles = [\n  css`\n      :host {\n        display: table;\n        width: 100%;\n        border-radius: var(--uui-border-radius,3px);\n        background-color: var(--uui-color-surface,#fff);\n        cursor: default;\n      }\n    `\n];\nUUITableElement = __decorateClass$5([\n  defineElement(\"uui-table\")\n], UUITableElement);\n\nvar __defProp$4 = Object.defineProperty;\nvar __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$4 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$4(target, key, result);\n  return result;\n};\nlet UUITableCellElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.disableChildInteraction = false;\n    this.noPadding = false;\n    this.clipText = false;\n    this._observer = new ResizeObserver(() => {\n      this._detectOverflow();\n    });\n  }\n  _detectOverflow() {\n    if (this.scrollWidth > this.clientWidth) {\n      this.setAttribute(\"title\", this.innerText);\n    } else {\n      this.removeAttribute(\"title\");\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"cell\");\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    this._observer.disconnect();\n  }\n  updated(changedProperties) {\n    super.updated(changedProperties);\n    if (changedProperties.has(\"clipText\")) {\n      if (this.clipText) {\n        this._detectOverflow();\n        this._observer.observe(this);\n      } else {\n        this._observer.disconnect();\n      }\n    }\n  }\n  render() {\n    return html` <slot @slotchange=${this._detectOverflow}></slot>`;\n  }\n};\nUUITableCellElement.styles = [\n  css`\n      :host {\n        position: relative;\n        display: table-cell;\n        height: var(--uui-table-cell-height, var(--uui-size-12,36px));\n        padding: var(\n          --uui-table-cell-padding,\n          var(--uui-size-4,12px) var(--uui-size-5,15px)\n        );\n        border-top: 1px solid var(--uui-color-border,#d8d7d9);\n        vertical-align: middle;\n      }\n\n      :host([clip-text]) {\n        max-width: 0;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        white-space: nowrap;\n        box-sizing: border-box;\n      }\n\n      :host([disable-child-interaction]) ::slotted(*) {\n        pointer-events: none;\n      }\n\n      :host([disable-child-interaction])::after {\n        content: '';\n        position: absolute;\n        inset: 0;\n      }\n\n      :host([no-padding]) {\n        padding: 0;\n      }\n    `\n];\n__decorateClass$4([\n  property({\n    type: Boolean,\n    reflect: true,\n    attribute: \"disable-child-interaction\"\n  })\n], UUITableCellElement.prototype, \"disableChildInteraction\", 2);\n__decorateClass$4([\n  property({ type: Boolean, reflect: true, attribute: \"no-padding\" })\n], UUITableCellElement.prototype, \"noPadding\", 2);\n__decorateClass$4([\n  property({ type: Boolean, reflect: true, attribute: \"clip-text\" })\n], UUITableCellElement.prototype, \"clipText\", 2);\nUUITableCellElement = __decorateClass$4([\n  defineElement(\"uui-table-cell\")\n], UUITableCellElement);\n\nvar __defProp$3 = Object.defineProperty;\nvar __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$3 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$3(target, key, result);\n  return result;\n};\nlet UUITableColumnElement = class extends LitElement {\n};\nUUITableColumnElement.styles = [\n  css`\n      :host {\n        display: table-column;\n      }\n    `\n];\nUUITableColumnElement = __decorateClass$3([\n  defineElement(\"uui-table-column\")\n], UUITableColumnElement);\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$2 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$2(target, key, result);\n  return result;\n};\nlet UUITableHeadCellElement = class extends UUITableCellElement {\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"columnheader\");\n  }\n};\nUUITableHeadCellElement.styles = [\n  ...UUITableCellElement.styles,\n  css`\n      :host {\n        border-top: none;\n      }\n    `\n];\nUUITableHeadCellElement = __decorateClass$2([\n  defineElement(\"uui-table-head-cell\")\n], UUITableHeadCellElement);\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nlet UUITableHeadElement = class extends LitElement {\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"row\");\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUITableHeadElement.styles = [\n  css`\n      :host {\n        display: table-header-group;\n        font-weight: bold;\n      }\n    `\n];\nUUITableHeadElement = __decorateClass$1([\n  defineElement(\"uui-table-head\")\n], UUITableHeadElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUITableRowElement = class extends SelectOnlyMixin(\n  SelectableMixin(LitElement)\n) {\n  constructor() {\n    super();\n    let hadMouseDown = false;\n    this.addEventListener(\"blur\", () => {\n      if (hadMouseDown === false) {\n        this.style.setProperty(\"--uui-show-focus-outline\", \"1\");\n      }\n      hadMouseDown = false;\n    });\n    this.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n      hadMouseDown = true;\n    });\n    this.addEventListener(\"mouseup\", () => {\n      hadMouseDown = false;\n    });\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    this.setAttribute(\"role\", \"row\");\n  }\n  updated(changedProperties) {\n    if (changedProperties.has(\"selectOnly\"))\n      this.updateChildSelectOnly();\n  }\n  updateChildSelectOnly() {\n    if (this.slotCellNodes) {\n      this.slotCellNodes.forEach((el) => {\n        if (this.elementIsTableCell(el)) {\n          el.disableChildInteraction = this.selectOnly;\n        }\n      });\n    }\n  }\n  elementIsTableCell(element) {\n    return element instanceof UUITableCellElement;\n  }\n  render() {\n    return html` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `;\n  }\n};\nUUITableRowElement.styles = [\n  css`\n      :host {\n        display: table-row;\n        position: relative;\n        outline-offset: -3px;\n      }\n\n      :host([selectable]) {\n        cursor: pointer;\n      }\n\n      :host(:focus) {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n      :host([selected]) {\n        outline: 2px solid\n          var(--uui-table-row-color-selected, var(--uui-color-selected,#3544b1));\n      }\n      :host([selected]:focus) {\n        outline-color: var(--uui-color-focus,#3879ff);\n      }\n    `\n];\n__decorateClass([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-table-cell, [uui-table-cell], [role=cell]\"\n  })\n], UUITableRowElement.prototype, \"slotCellNodes\", 2);\nUUITableRowElement = __decorateClass([\n  defineElement(\"uui-table-row\")\n], UUITableRowElement);\n\nexport { UUITableCellElement, UUITableColumnElement, UUITableElement, UUITableHeadCellElement, UUITableHeadElement, UUITableRowElement };\n","import { ActiveMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { LitElement, html, css } from 'lit';\nimport { property, query, queryAssignedElements } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { repeat } from 'lit/directives/repeat.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp$1(target, key, result);\n  return result;\n};\nlet UUITabElement = class extends ActiveMixin(LabelMixin(\"\", LitElement)) {\n  constructor() {\n    super();\n    this.disabled = false;\n    this.orientation = \"horizontal\";\n    this.addEventListener(\"click\", this.onHostClick);\n  }\n  onHostClick(e) {\n    if (this.disabled) {\n      e.preventDefault();\n      e.stopImmediatePropagation();\n    }\n  }\n  render() {\n    return this.href ? html`\n          <a\n            id=\"button\"\n            href=${ifDefined(!this.disabled ? this.href : void 0)}\n            target=${ifDefined(this.target || void 0)}\n            rel=${ifDefined(\n      this.target === \"_blank\" ? \"noopener noreferrer\" : void 0\n    )}\n            role=\"tab\">\n            <slot name=\"icon\"></slot>\n            ${this.renderLabel()}\n            <slot name=\"extra\"></slot>\n          </a>\n        ` : html`\n          <button\n            type=\"button\"\n            id=\"button\"\n            ?disabled=${this.disabled}\n            role=\"tab\">\n            <slot name=\"icon\"></slot>\n            ${this.renderLabel()}\n            <slot name=\"extra\"></slot>\n          </button>\n        `;\n  }\n};\nUUITabElement.styles = [\n  css`\n      :host {\n        color: var(--uui-tab-text, var(--uui-color-interactive,#1b264f));\n        font-family: inherit;\n        width: fit-content;\n      }\n\n      #button {\n        position: relative;\n        box-sizing: border-box;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center;\n        width: 100%;\n        height: 100%;\n        min-height: var(--uui-size-12,36px);\n        min-width: 70px;\n        padding: var(--uui-size-3,9px)\n          var(--uui-tab-padding-horizontal, var(--uui-size-5,15px));\n        border: none;\n        font-size: inherit;\n        background: none;\n        color: inherit;\n        cursor: pointer;\n        font-family: inherit;\n\n        /* for anchor tag: */\n        text-decoration: none;\n        line-height: normal;\n      }\n\n      :host([orientation='vertical']) #button {\n        min-height: var(--uui-size-14,42px);\n        padding: var(--uui-size-2,6px)\n          var(--uui-tab-padding-horizontal, var(--uui-size-5,15px));\n      }\n\n      :host(:not([active]):not([disabled])) #button:hover {\n        color: var(--uui-tab-text-hover, var(--uui-color-default-emphasis,#3544b1));\n      }\n\n      :host(:not([active]):not([disabled])) #button:active {\n        box-shadow:\n          inset 0 2px 4px rgba(0, 0, 0, 0.15),\n          0 1px 2px rgba(0, 0, 0, 0.05);\n      }\n\n      :host([active]) {\n        color: var(--uui-tab-text-active, unset);\n      }\n\n      :host([active]) #button {\n        cursor: default;\n      }\n      :host([disabled]) #button {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n        cursor: default;\n      }\n\n      #button::before {\n        content: '';\n        position: absolute;\n        background-color: var(--uui-color-current,#f5c1bc);\n        opacity: 0;\n        --transitionDuration: 120ms;\n        --barWidth: 4px;\n        --borderRadius: 3px;\n      }\n      :host([active]) #button::before {\n        opacity: 1;\n      }\n\n      /* HORIZONTAL */\n      :host([orientation='horizontal']) #button::before {\n        left: auto;\n        right: auto;\n        border-radius: var(--borderRadius) var(--borderRadius) 0 0;\n        height: 0px;\n        width: calc(100% - 15px);\n        bottom: 0;\n        transition:\n          opacity ease-in-out var(--transitionDuration),\n          height ease-in-out var(--transitionDuration);\n      }\n      :host([active][orientation='horizontal']) #button::before {\n        height: var(--barWidth);\n      }\n\n      /* VERTICAL */\n      :host([orientation='vertical']) #button::before {\n        top: auto;\n        bottom: auto;\n        border-radius: 0 var(--borderRadius) var(--borderRadius) 0;\n        height: calc(100% - 12px);\n        width: 0px;\n        left: 0;\n        transition:\n          opacity ease-in-out var(--transitionDuration),\n          width ease-in-out var(--transitionDuration);\n      }\n      :host([active][orientation='vertical']) #button::before {\n        width: var(--barWidth);\n      }\n\n      #button:hover::before {\n        background-color: var(--uui-color-current-emphasis,rgb(248, 214, 211));\n      }\n      :host([disabled]) #button::before {\n        background-color: var(--uui-color-disabled-standalone,rgb(226, 226, 226));\n      }\n\n      slot[name='icon']::slotted(*) {\n        font-size: 20px;\n        margin-bottom: var(--uui-size-2,6px);\n      }\n\n      slot.label {\n        /* TODO: Find a better selector */\n        text-align: center;\n        display: flex;\n        width: 100%;\n        flex-direction: column;\n      }\n\n      :host([orientation='vertical']) slot.label {\n        text-align: left;\n      }\n    `\n];\n__decorateClass$1([\n  property({ type: Boolean, reflect: true })\n], UUITabElement.prototype, \"disabled\", 2);\n__decorateClass$1([\n  property({ type: String })\n], UUITabElement.prototype, \"href\", 2);\n__decorateClass$1([\n  property({ type: String })\n], UUITabElement.prototype, \"target\", 2);\n__decorateClass$1([\n  property({ type: String, reflect: true })\n], UUITabElement.prototype, \"orientation\", 2);\nUUITabElement = __decorateClass$1([\n  defineElement(\"uui-tab\")\n], UUITabElement);\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n  if (!member.has(obj))\n    throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n  __accessCheck(obj, member, \"read from private field\");\n  return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n  if (member.has(obj))\n    throw TypeError(\"Cannot add the same private member more than once\");\n  member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n  __accessCheck(obj, member, \"write to private field\");\n  setter ? setter.call(obj, value) : member.set(obj, value);\n  return value;\n};\nvar __privateMethod = (obj, member, method) => {\n  __accessCheck(obj, member, \"access private method\");\n  return method;\n};\nvar _currentGap, _tabElements, _hiddenTabElements, _hiddenTabElementsMap, _visibilityBreakpoints, _resizeObserver, _tabResizeObservers, _breakPointCalculationInProgress, _initialize, initialize_fn, _onResize, onResize_fn, _cleanupTabs, cleanupTabs_fn, _onSlotChange, onSlotChange_fn, _onTabClicked, _calculateBreakPoints, calculateBreakPoints_fn, _setTabArray, setTabArray_fn, _updateCollapsibleTabs, updateCollapsibleTabs_fn, _isElementTabLike, isElementTabLike_fn;\nlet UUITabGroupElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    __privateAdd(this, _initialize);\n    __privateAdd(this, _onResize);\n    __privateAdd(this, _cleanupTabs);\n    __privateAdd(this, _onSlotChange);\n    __privateAdd(this, _calculateBreakPoints);\n    __privateAdd(this, _setTabArray);\n    __privateAdd(this, _updateCollapsibleTabs);\n    __privateAdd(this, _isElementTabLike);\n    /** Stores the current gap used in the breakpoints */\n    __privateAdd(this, _currentGap, 0);\n    this.dropdownContentDirection = \"vertical\";\n    __privateAdd(this, _tabElements, []);\n    __privateAdd(this, _hiddenTabElements, []);\n    __privateAdd(this, _hiddenTabElementsMap, /* @__PURE__ */ new Map());\n    __privateAdd(this, _visibilityBreakpoints, []);\n    __privateAdd(this, _resizeObserver, new ResizeObserver(__privateMethod(this, _onResize, onResize_fn).bind(this)));\n    __privateAdd(this, _tabResizeObservers, []);\n    __privateAdd(this, _breakPointCalculationInProgress, false);\n    __privateAdd(this, _onTabClicked, (e) => {\n      const selectedElement = e.currentTarget;\n      if (__privateMethod(this, _isElementTabLike, isElementTabLike_fn).call(this, selectedElement)) {\n        selectedElement.active = true;\n        const linkedElement = __privateGet(this, _hiddenTabElementsMap).get(selectedElement);\n        if (linkedElement) {\n          linkedElement.active = true;\n        }\n        const filtered = [\n          ...__privateGet(this, _tabElements),\n          ...__privateGet(this, _hiddenTabElements)\n        ].filter((el) => el !== selectedElement && el !== linkedElement);\n        filtered.forEach((el) => {\n          if (__privateMethod(this, _isElementTabLike, isElementTabLike_fn).call(this, el)) {\n            el.active = false;\n          }\n        });\n        const hasActiveHidden = __privateGet(this, _hiddenTabElements).some(\n          (el) => el.active && el !== linkedElement\n        );\n        hasActiveHidden ? this._moreButtonElement.classList.add(\"active-inside\") : this._moreButtonElement.classList.remove(\"active-inside\");\n      }\n    });\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    __privateMethod(this, _initialize, initialize_fn).call(this);\n  }\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    __privateGet(this, _resizeObserver).unobserve(this);\n    __privateMethod(this, _cleanupTabs, cleanupTabs_fn).call(this);\n  }\n  render() {\n    return html`\n      <div id=\"main\">\n        <div id=\"grid\">\n          <slot @slotchange=${__privateMethod(this, _onSlotChange, onSlotChange_fn)}></slot>\n        </div>\n        <uui-button\n          popovertarget=\"popover-container\"\n          style=\"display: none\"\n          id=\"more-button\"\n          label=\"More\"\n          compact>\n          <uui-symbol-more></uui-symbol-more>\n        </uui-button>\n      </div>\n      <uui-popover-container\n        id=\"popover-container\"\n        popover\n        placement=\"bottom-end\">\n        <div id=\"hidden-tabs-container\">\n          ${repeat(__privateGet(this, _hiddenTabElements), (el) => html`${el}`)}\n        </div>\n      </uui-popover-container>\n    `;\n  }\n};\n_currentGap = new WeakMap();\n_tabElements = new WeakMap();\n_hiddenTabElements = new WeakMap();\n_hiddenTabElementsMap = new WeakMap();\n_visibilityBreakpoints = new WeakMap();\n_resizeObserver = new WeakMap();\n_tabResizeObservers = new WeakMap();\n_breakPointCalculationInProgress = new WeakMap();\n_initialize = new WeakSet();\ninitialize_fn = async function() {\n  demandCustomElement(this, \"uui-button\");\n  demandCustomElement(this, \"uui-popover-container\");\n  demandCustomElement(this, \"uui-symbol-more\");\n  if (!this.hasAttribute(\"role\"))\n    this.setAttribute(\"role\", \"tablist\");\n  await this.updateComplete;\n  __privateGet(this, _resizeObserver).observe(this._mainElement);\n};\n_onResize = new WeakSet();\nonResize_fn = function(entries) {\n  const gapCSSVar = Number.parseFloat(\n    this.style.getPropertyValue(\"--uui-tab-group-gap\")\n  );\n  const newGap = Number.isNaN(gapCSSVar) ? 0 : gapCSSVar;\n  if (newGap !== __privateGet(this, _currentGap)) {\n    __privateMethod(this, _calculateBreakPoints, calculateBreakPoints_fn).call(this);\n  } else {\n    __privateMethod(this, _updateCollapsibleTabs, updateCollapsibleTabs_fn).call(this, entries[0].contentBoxSize[0].inlineSize);\n  }\n};\n_cleanupTabs = new WeakSet();\ncleanupTabs_fn = function() {\n  __privateGet(this, _tabElements).forEach((el) => {\n    el.removeEventListener(\"click\", __privateGet(this, _onTabClicked));\n    __privateGet(this, _tabResizeObservers).forEach((observer) => observer.disconnect());\n  });\n  __privateGet(this, _tabResizeObservers).length = 0;\n};\n_onSlotChange = new WeakSet();\nonSlotChange_fn = function() {\n  __privateMethod(this, _cleanupTabs, cleanupTabs_fn).call(this);\n  __privateMethod(this, _setTabArray, setTabArray_fn).call(this);\n  __privateGet(this, _tabElements).forEach((el) => {\n    el.addEventListener(\"click\", __privateGet(this, _onTabClicked));\n    const observer = new ResizeObserver(\n      __privateMethod(this, _calculateBreakPoints, calculateBreakPoints_fn).bind(this)\n    );\n    observer.observe(el);\n    __privateGet(this, _tabResizeObservers).push(observer);\n  });\n};\n_onTabClicked = new WeakMap();\n_calculateBreakPoints = new WeakSet();\ncalculateBreakPoints_fn = async function() {\n  if (__privateGet(this, _breakPointCalculationInProgress))\n    return;\n  __privateSet(this, _breakPointCalculationInProgress, true);\n  requestAnimationFrame(() => {\n    __privateSet(this, _breakPointCalculationInProgress, false);\n  });\n  await this.updateComplete;\n  const gapCSSVar = Number.parseFloat(\n    this.style.getPropertyValue(\"--uui-tab-group-gap\")\n  );\n  const gap = Number.isNaN(gapCSSVar) ? 0 : gapCSSVar;\n  __privateSet(this, _currentGap, gap);\n  let childrenWidth = 0;\n  for (let i = 0; i < __privateGet(this, _tabElements).length; i++) {\n    __privateGet(this, _tabElements)[i].style.display = \"\";\n    childrenWidth += __privateGet(this, _tabElements)[i].offsetWidth;\n    __privateGet(this, _visibilityBreakpoints)[i] = childrenWidth;\n    childrenWidth += gap;\n  }\n  const tolerance = 2;\n  this._mainElement.style.width = childrenWidth - gap + tolerance + \"px\";\n  __privateMethod(this, _updateCollapsibleTabs, updateCollapsibleTabs_fn).call(this, this._mainElement.offsetWidth);\n};\n_setTabArray = new WeakSet();\nsetTabArray_fn = function() {\n  __privateSet(this, _tabElements, this._slottedNodes ? this._slottedNodes : []);\n  __privateMethod(this, _calculateBreakPoints, calculateBreakPoints_fn).call(this);\n};\n_updateCollapsibleTabs = new WeakSet();\nupdateCollapsibleTabs_fn = function(containerWidth) {\n  const moreButtonWidth = this._moreButtonElement.offsetWidth;\n  const containerWithoutButtonWidth = containerWidth - (moreButtonWidth ? moreButtonWidth : 0);\n  __privateGet(this, _hiddenTabElements).forEach((el) => {\n    el.removeEventListener(\"click\", __privateGet(this, _onTabClicked));\n  });\n  __privateSet(this, _hiddenTabElements, []);\n  __privateGet(this, _hiddenTabElementsMap).clear();\n  let hasActiveTabInDropdown = false;\n  const len = __privateGet(this, _visibilityBreakpoints).length;\n  for (let i = 0; i < len; i++) {\n    const breakpoint = __privateGet(this, _visibilityBreakpoints)[i];\n    const tab = __privateGet(this, _tabElements)[i];\n    if (breakpoint <= (i === len - 1 ? containerWidth : containerWithoutButtonWidth)) {\n      tab.style.display = \"\";\n    } else {\n      const proxyTab = tab.cloneNode(true);\n      proxyTab.addEventListener(\"click\", __privateGet(this, _onTabClicked));\n      proxyTab.classList.add(\"hidden-tab\");\n      proxyTab.style.display = \"\";\n      proxyTab.orientation = this.dropdownContentDirection;\n      __privateGet(this, _hiddenTabElementsMap).set(proxyTab, tab);\n      __privateGet(this, _hiddenTabElementsMap).set(tab, proxyTab);\n      __privateGet(this, _hiddenTabElements).push(proxyTab);\n      tab.style.display = \"none\";\n      if (tab.active) {\n        hasActiveTabInDropdown = true;\n      }\n    }\n  }\n  if (__privateGet(this, _hiddenTabElements).length === 0) {\n    this._moreButtonElement.style.display = \"none\";\n    this._popoverContainerElement.hidePopover();\n  } else {\n    this._moreButtonElement.style.display = \"\";\n  }\n  hasActiveTabInDropdown ? this._moreButtonElement.classList.add(\"active-inside\") : this._moreButtonElement.classList.remove(\"active-inside\");\n  this.requestUpdate();\n};\n_isElementTabLike = new WeakSet();\nisElementTabLike_fn = function(el) {\n  return typeof el === \"object\" && \"active\" in el && typeof el.active === \"boolean\";\n};\nUUITabGroupElement.styles = [\n  css`\n      :host {\n        min-width: 0;\n        display: flex;\n        height: 100%;\n      }\n\n      #main {\n        display: flex;\n        justify-content: space-between;\n        overflow: hidden;\n      }\n\n      #grid {\n        width: 1fr;\n        display: flex;\n        height: 100%;\n        min-height: 48px;\n        overflow: hidden;\n        text-wrap: nowrap;\n        color: var(--uui-tab-text);\n        gap: var(--uui-tab-group-gap, 0);\n      }\n\n      #popover-container {\n        --uui-tab-text: var(--uui-tab-group-dropdown-tab-text, unset);\n        --uui-tab-text-hover: var(\n          --uui-tab-group-dropdown-tab-text-hover,\n          unset\n        );\n        --uui-tab-text-active: var(\n          --uui-tab-group-dropdown-tab-text-active,\n          unset\n        );\n      }\n\n      ::slotted(*:not(:last-of-type)) {\n        border-right: 1px solid var(--uui-tab-divider, none);\n      }\n\n      .hidden-tab {\n        width: 100%;\n      }\n\n      #hidden-tabs-container {\n        width: fit-content;\n        display: flex;\n        flex-direction: column;\n        background-color: var(\n          --uui-tab-group-dropdown-background,\n          var(--uui-color-surface,#fff)\n        );\n        border-radius: var(--uui-border-radius,3px);\n        box-shadow: var(--uui-shadow-depth-3,0 10px 20px rgba(0,0,0,0.19) , 0 6px 6px rgba(0,0,0,0.23));\n        overflow: hidden;\n      }\n      :host([dropdown-direction='horizontal']) #hidden-tabs-container {\n        flex-direction: row;\n      }\n\n      #more-button {\n        position: relative;\n\n        --uui-button-contrast: var(--uui-tab-text);\n        --uui-button-contrast-hover: var(--uui-tab-text-hover);\n        --uui-button-background-color: transparent;\n        --uui-button-background-color-hover: transparent;\n      }\n      #more-button::before {\n        content: '';\n        position: absolute;\n        bottom: 0;\n        width: 100%;\n        background-color: var(--uui-color-current,#f5c1bc);\n        height: 0px;\n        border-radius: 3px 3px 0 0;\n        opacity: 0;\n        transition:\n          opacity ease-in 120ms,\n          height ease-in 120ms;\n      }\n      #more-button.active-inside::before {\n        opacity: 1;\n        height: 4px;\n        transition:\n          opacity 120ms,\n          height ease-out 120ms;\n      }\n    `\n];\n__decorateClass([\n  query(\"#more-button\")\n], UUITabGroupElement.prototype, \"_moreButtonElement\", 2);\n__decorateClass([\n  query(\"#popover-container\")\n], UUITabGroupElement.prototype, \"_popoverContainerElement\", 2);\n__decorateClass([\n  query(\"#main\")\n], UUITabGroupElement.prototype, \"_mainElement\", 2);\n__decorateClass([\n  queryAssignedElements({\n    flatten: true,\n    selector: \"uui-tab, [uui-tab], [role=tab]\"\n  })\n], UUITabGroupElement.prototype, \"_slottedNodes\", 2);\n__decorateClass([\n  property({\n    type: String,\n    reflect: true,\n    attribute: \"dropdown-content-direction\"\n  })\n], UUITabGroupElement.prototype, \"dropdownContentDirection\", 2);\nUUITabGroupElement = __decorateClass([\n  defineElement(\"uui-tab-group\")\n], UUITabGroupElement);\n\nclass UUITabEvent extends UUIEvent {\n}\n\nclass UUITabGroupEvent extends UUIEvent {\n}\n\nexport { UUITabElement, UUITabEvent, UUITabGroupElement, UUITabGroupEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUITagElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.color = \"default\";\n    this.look = \"primary\";\n  }\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUITagElement.styles = [\n  css`\n      :host {\n        display: inline-block;\n        font-size: var(--uui-tag-font-size, var(--uui-type-small-size,12px));\n        font-weight: 700;\n        line-height: 1;\n        padding: var(--uui-size-space-1,3px) calc(var(--uui-size-space-1,3px) + 0.5em);\n        border-radius: 100px;\n        user-select: none;\n        border-radius: var(--uui-size-4,12px);\n        border: 1px solid transparent;\n      }\n\n      slot {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        margin: 2px;\n      }\n\n      :host {\n        --color: var(--uui-color-default,#1b264f);\n        --color-standalone: var(--uui-color-default-standalone,rgb(28, 35, 59));\n        --color-contrast: var(--uui-color-default-contrast,#fff);\n      }\n      :host([color='positive']) {\n        --color: var(--uui-color-positive,#0b8152);\n        --color-standalone: var(--uui-color-positive-standalone,rgb(10, 115, 73));\n        --color-contrast: var(--uui-color-positive-contrast,#fff);\n      }\n      :host([color='warning']) {\n        --color: var(--uui-color-warning,#fbd142);\n        --color-standalone: var(--uui-color-warning-standalone,#a17700);\n        --color-contrast: var(--uui-color-warning-contrast,#000);\n      }\n      :host([color='danger']) {\n        --color: var(--uui-color-danger,#d42054);\n        --color-standalone: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n        --color-contrast: var(--uui-color-danger-contrast,white);\n      }\n\n      :host {\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--color-standalone);\n        border-color: transparent;\n      }\n      :host([look='primary']) {\n        background-color: var(--color);\n        color: var(--color-contrast);\n        border-color: transparent;\n      }\n      :host([look='secondary']) {\n        background-color: var(--uui-color-surface-alt,#f3f3f5);\n        color: var(--color-standalone);\n        border-color: transparent;\n      }\n      :host([look='outline']) {\n        background-color: transparent;\n        color: var(--color-standalone);\n        border-color: var(--color-standalone);\n      }\n      :host([look='placeholder']) {\n        border-style: dashed;\n        background-color: transparent;\n        color: var(--color-standalone);\n        border-color: var(--uui-color-border-standalone,#c2c2c2);\n      }\n    `\n];\n__decorateClass([\n  property({ reflect: true })\n], UUITagElement.prototype, \"color\", 2);\n__decorateClass([\n  property({ reflect: true })\n], UUITagElement.prototype, \"look\", 2);\nUUITagElement = __decorateClass([\n  defineElement(\"uui-tag\")\n], UUITagElement);\n\nexport { UUITagElement };\n","import { LitElement, html, css } from 'lit';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { property, query } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\nimport { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\nclass UUITextareaEvent extends UUIEvent {\n  constructor(evName, eventInit = {}) {\n    super(evName, {\n      ...{ bubbles: true },\n      ...eventInit\n    });\n  }\n}\nUUITextareaEvent.CHANGE = \"change\";\nUUITextareaEvent.INPUT = \"input\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUITextareaElement = class extends FormControlMixin(LitElement) {\n  constructor() {\n    super();\n    this.placeholder = \"\";\n    this.disabled = false;\n    this.readonly = false;\n    this.name = \"\";\n    this.error = false;\n    this.minlengthMessage = \"This field need more characters\";\n    this.maxlengthMessage = \"This field exceeds the allowed amount of characters\";\n    this.autoHeight = false;\n    this.addEventListener(\"mousedown\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"0\");\n    });\n    this.addEventListener(\"blur\", () => {\n      this.style.setProperty(\"--uui-show-focus-outline\", \"\");\n    });\n    this.addValidator(\n      \"tooShort\",\n      () => this.minlengthMessage,\n      () => !!this.minlength && this._value.length < this.minlength\n    );\n    this.addValidator(\n      \"tooLong\",\n      () => this.maxlengthMessage,\n      () => !!this.maxlength && this._value.length > this.maxlength\n    );\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    if (!this.label) {\n      console.warn(this.tagName + \" needs a `label`\", this);\n    }\n    if (this.autoHeight) {\n      requestAnimationFrame(() => {\n        this.autoUpdateHeight();\n      });\n    }\n  }\n  /**\n   * This method enables <label for=\"...\"> to focus the input\n   */\n  focus() {\n    this._textarea?.focus();\n  }\n  getFormElement() {\n    return this._textarea;\n  }\n  onInput(e) {\n    this.value = e.target.value;\n    if (this.autoHeight) {\n      this.autoUpdateHeight();\n    }\n  }\n  onChange(e) {\n    e.stopPropagation();\n    this.pristine = false;\n    this.dispatchEvent(new UUITextareaEvent(UUITextareaEvent.CHANGE));\n  }\n  autoUpdateHeight() {\n    const host = this.shadowRoot.host;\n    const input = this._textarea;\n    const scrollTop = host.scrollTop;\n    const hostHeight = getComputedStyle(host).height;\n    host.style.display = \"block\";\n    host.style.height = hostHeight;\n    input.style.height = \"auto\";\n    if (input.scrollHeight + 2 > input.clientHeight) {\n      input.style.height = input.scrollHeight + 2 + \"px\";\n    } else if (input.scrollHeight + 2 < input.clientHeight) {\n      input.style.removeProperty(\"height\");\n    }\n    host.style.removeProperty(\"display\");\n    host.style.removeProperty(\"height\");\n    host.scrollTop = scrollTop;\n  }\n  render() {\n    return html`\n      <textarea\n        id=\"textarea\"\n        rows=${ifDefined(this.rows)}\n        cols=${ifDefined(this.cols)}\n        .value=${this.value}\n        .name=${this.name}\n        wrap=${ifDefined(this.wrap)}\n        placeholder=${this.placeholder}\n        aria-label=${this.label}\n        .disabled=${this.disabled}\n        ?readonly=${this.readonly}\n        @input=${this.onInput}\n        @change=${this.onChange}>\n      </textarea>\n    `;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUITextareaElement.formAssociated = true;\nUUITextareaElement.styles = [\n  css`\n      :host {\n        position: relative;\n      }\n      :host([error]) textarea {\n        border: 1px solid var(--uui-color-danger,#d42054) !important;\n      }\n      :host([error]) textarea[disabled] {\n        border: 1px solid var(--uui-color-danger,#d42054) !important;\n      }\n      :host([auto-height]) textarea {\n        resize: none;\n      }\n      .label {\n        display: inline-block;\n        margin-bottom: var(--uui-size-1,3px);\n        font-weight: bold;\n      }\n\n      textarea[readonly] {\n        border-color: var(\n          --uui-textarea-border-color-readonly,\n          var(--uui-color-disabled-standalone,rgb(226, 226, 226))\n        );\n        background-color: var(\n          --uui-textarea-background-color-readonly,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n      }\n      textarea[disabled] {\n        cursor: not-allowed;\n        background-color: var(\n          --uui-textarea-background-color-disabled,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n        border-color: var(\n          --uui-textarea-border-color-disabled,\n          var(--uui-color-disabled,#f3f3f5)\n        );\n\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      textarea {\n        color: var(--uui-color-text,#060606);\n        font-family: inherit;\n        line-height: var(--uui-size-6,18px);\n        box-sizing: border-box;\n        min-width: 100%;\n        max-width: 100%;\n        font-size: inherit;\n        padding: var(--uui-size-2,6px);\n        border: 1px solid\n          var(--uui-textarea-border-color, var(--uui-color-border,#d8d7d9)); /** Note: Specified border size is needed and hardcoded in autoUpdateHeight() */\n        border-radius: 0;\n        outline: none;\n        min-height: var(--uui-textarea-min-height);\n        max-height: var(--uui-textarea-max-height);\n        background-color: var(\n          --uui-textarea-background-color,\n          var(--uui-color-surface,#fff)\n        );\n      }\n      :host(:hover)\n        textarea:not([readonly]):not([disabled])\n        :host(:focus-within)\n        textarea,\n      :host(:focus) textarea {\n        border-color: var(\n          --uui-textarea-border-color,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n      }\n\n      textarea::placeholder {\n        transition: opacity 120ms;\n      }\n      :host(:not([readonly])) textarea:focus::placeholder {\n        opacity: 0;\n      }\n\n      textarea:focus {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n    `\n];\n__decorateClass([\n  property()\n], UUITextareaElement.prototype, \"placeholder\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUITextareaElement.prototype, \"disabled\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUITextareaElement.prototype, \"readonly\", 2);\n__decorateClass([\n  property({ type: String })\n], UUITextareaElement.prototype, \"name\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUITextareaElement.prototype, \"error\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUITextareaElement.prototype, \"minlength\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"minlength-message\" })\n], UUITextareaElement.prototype, \"minlengthMessage\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUITextareaElement.prototype, \"maxlength\", 2);\n__decorateClass([\n  property({ type: String, attribute: \"maxlength-message\" })\n], UUITextareaElement.prototype, \"maxlengthMessage\", 2);\n__decorateClass([\n  query(\"#textarea\")\n], UUITextareaElement.prototype, \"_textarea\", 2);\n__decorateClass([\n  property({ type: Boolean, attribute: \"auto-height\", reflect: true })\n], UUITextareaElement.prototype, \"autoHeight\", 2);\n__decorateClass([\n  property({ type: String })\n], UUITextareaElement.prototype, \"label\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUITextareaElement.prototype, \"rows\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUITextareaElement.prototype, \"cols\", 2);\n__decorateClass([\n  property({ type: String })\n], UUITextareaElement.prototype, \"wrap\", 2);\nUUITextareaElement = __decorateClass([\n  defineElement(\"uui-textarea\")\n], UUITextareaElement);\n\nexport { UUITextareaElement, UUITextareaEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { Timer, demandCustomElement } from '@umbraco-ui/uui-base/lib/utils';\nimport { UUITextStyles } from '@umbraco-ui/uui-css/lib';\nimport { iconRemove } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { css, LitElement, html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { UUIEvent } from '@umbraco-ui/uui-base/lib/events';\n\nclass UUIToastNotificationEvent extends UUIEvent {\n}\nUUIToastNotificationEvent.OPENING = \"opening\";\nUUIToastNotificationEvent.OPENED = \"opened\";\nUUIToastNotificationEvent.CLOSING = \"closing\";\nUUIToastNotificationEvent.CLOSED = \"closed\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIToastNotificationElement = class extends LitElement {\n  constructor() {\n    super();\n    this.color = \"\";\n    this._autoClose = null;\n    this._onOpenTimerComplete = () => {\n      if (this._open) {\n        this.open = false;\n      }\n    };\n    this._timer = null;\n    this._pauseTimer = false;\n    this.isOpen = false;\n    this._open = false;\n    this._animate = false;\n    this._requestAnimationUpdate = 0;\n    this.addEventListener(\"keyup\", (event) => {\n      if (event.key === \"Escape\") {\n        this.open = false;\n      }\n    });\n  }\n  get autoClose() {\n    return this._autoClose;\n  }\n  set autoClose(value) {\n    this._autoClose = value;\n    if (value !== null) {\n      if (this._timer === null) {\n        this._timer = new Timer(this._onOpenTimerComplete, value);\n      } else {\n        this._timer.setDuration(value);\n      }\n      if (this._pauseTimer === false && this.isOpen === true && this._animate === false) {\n        this._timer.start();\n      }\n    } else {\n      this._timer?.destroy();\n      this._timer = null;\n    }\n  }\n  /**\n   * Pause the auto close timer.\n   */\n  pauseAutoClose() {\n    this._pauseTimer = true;\n    if (this._timer !== null) {\n      this._timer.pause();\n    }\n  }\n  /**\n   * Resume the auto close timer.\n   */\n  resumeAutoClose() {\n    this._pauseTimer = false;\n    if (this._timer !== null && this.isOpen === true && this._animate === false) {\n      this._timer.restart();\n    }\n  }\n  get open() {\n    return this._open;\n  }\n  set open(value) {\n    if (value === true) {\n      this._makeOpen();\n    } else {\n      this._makeClose();\n    }\n  }\n  connectedCallback() {\n    super.connectedCallback();\n    demandCustomElement(this, \"uui-button\");\n    demandCustomElement(this, \"uui-icon\");\n  }\n  _getAnimationDuration() {\n    return parseInt(\n      getComputedStyle(this).getPropertyValue(\n        \"--uui-toast-notification-animation-duration\"\n      ),\n      10\n    ) || 480;\n  }\n  _makeOpen() {\n    if (this._open === true) {\n      return;\n    }\n    this._open = true;\n    this.updateComplete.then(() => {\n      if (this._open !== true) {\n        return;\n      }\n      cancelAnimationFrame(this._requestAnimationUpdate);\n      this._requestAnimationUpdate = requestAnimationFrame(() => {\n        clearTimeout(this._animationTimeout);\n        this.isOpen = true;\n        this.setAttribute(\"is-open\", \"\");\n        this.style.height = this._toastEl.getBoundingClientRect().height + \"px\";\n        this._animate = true;\n        this.dispatchEvent(\n          new UUIToastNotificationEvent(UUIToastNotificationEvent.OPENING)\n        );\n        this._animationTimeout = window.setTimeout(() => {\n          if (this.isOpen === true) {\n            this.style.height = \"auto\";\n            this._animate = false;\n            if (this._pauseTimer === false) {\n              this._timer?.start();\n            }\n            this.dispatchEvent(\n              new UUIToastNotificationEvent(UUIToastNotificationEvent.OPENED)\n            );\n          }\n        }, this._getAnimationDuration());\n      });\n    });\n  }\n  _makeClose() {\n    if (this._open === false) {\n      return;\n    }\n    const event = new UUIToastNotificationEvent(\n      UUIToastNotificationEvent.CLOSING,\n      { cancelable: true }\n    );\n    this.dispatchEvent(event);\n    if (event.defaultPrevented === true) {\n      return;\n    }\n    this._open = false;\n    this._timer?.pause();\n    cancelAnimationFrame(this._requestAnimationUpdate);\n    if (this.isOpen === true) {\n      this._requestAnimationUpdate = requestAnimationFrame(() => {\n        clearTimeout(this._animationTimeout);\n        this.isOpen = false;\n        this.removeAttribute(\"is-open\");\n        this.style.height = this._toastEl.getBoundingClientRect().height + \"px\";\n        this._animate = true;\n        requestAnimationFrame(() => {\n          this.style.height = \"0\";\n        });\n        this._animationTimeout = window.setTimeout(() => {\n          if (this.isOpen === false) {\n            this._animate = false;\n            this.dispatchEvent(\n              new UUIToastNotificationEvent(UUIToastNotificationEvent.CLOSED)\n            );\n            if (this.parentNode) {\n              this.parentNode.removeChild(this);\n            }\n          }\n        }, this._getAnimationDuration());\n      });\n    }\n  }\n  render() {\n    return html`\n      <div id=\"toast\" class=${this._animate ? \"animate\" : \"\"}>\n        <div>\n          <div id=\"close\">\n            <uui-button\n              .label=${\"close\"}\n              .color=${this.color}\n              .look=${this.color ? \"primary\" : \"default\"}\n              @click=${() => this.open = false}>\n              <uui-icon\n                name=\"remove\"\n                .fallback=${iconRemove.strings[0]}></uui-icon>\n            </uui-button>\n          </div>\n          <slot></slot>\n        </div>\n      </div>\n    `;\n  }\n};\nUUIToastNotificationElement.styles = [\n  UUITextStyles,\n  css`\n      :host {\n        --uui-toast-notification-margin: var(--uui-size-space-2,6px);\n\n        position: relative;\n        display: block;\n        width: 100%;\n        max-width: 400px;\n        margin: 0 var(--uui-toast-notification-margin);\n        box-sizing: border-box;\n\n        height: 0;\n        pointer-events: none;\n\n        transition: height\n          var(--uui-toast-notification-animation-duration, 480ms) ease-in-out;\n      }\n      :host([is-open]) {\n        pointer-events: all;\n        transition-timing-function: cubic-bezier(\n          0.19,\n          1,\n          0.22,\n          1\n        ); /* easeOutExpo */\n      }\n\n      #toast {\n        position: relative;\n        display: block;\n        padding: calc(var(--uui-toast-notification-margin) * 0.5) 0;\n        width: 100%;\n        max-width: 400px;\n      }\n      #toast.animate {\n        position: absolute;\n      }\n\n      #toast > div {\n        position: relative;\n        display: block;\n\n        box-sizing: border-box;\n        box-shadow: var(--uui-shadow-depth-1,0 1px 3px rgba(0,0,0,0.12) , 0 1px 2px rgba(0,0,0,0.24));\n        background-color: var(--uui-color-surface,#fff);\n        padding: var(--uui-size-layout-1,24px);\n        padding-right: var(--uui-size-layout-1,24px);\n        padding-left: var(--uui-size-layout-3,42px);\n        border-radius: calc(var(--uui-border-radius,3px) * 2);\n\n        opacity: 0;\n        transition: opacity\n          var(--uui-toast-notification-animation-duration, 480ms);\n      }\n      :host([is-open]) #toast > div {\n        opacity: 1;\n      }\n\n      #close {\n        float: right;\n        margin-top: -6px;\n        margin-left: var(--uui-size-space-1,3px);\n        margin-bottom: -4px;\n      }\n\n      #close > uui-button {\n        --uui-button-border-radius: 50px 50px 50px 50px;\n        --uui-button-padding-left-factor: 1.5;\n        --uui-button-padding-right-factor: 1.5;\n      }\n\n      :host #toast > div {\n        background-color: var(--uui-color-surface,#fff);\n        color: var(--uui-color-text,#060606);\n        border-color: var(--uui-color-surface,#fff);\n      }\n      :host([color='default']) #toast > div {\n        background-color: var(--uui-color-default,#1b264f);\n        color: var(--uui-color-default-contrast,#fff);\n        border-color: var(--uui-color-default-standalone,rgb(28, 35, 59));\n      }\n      :host([color='positive']) #toast > div {\n        background-color: var(--uui-color-positive,#0b8152);\n        color: var(--uui-color-positive-contrast,#fff);\n        border-color: var(--uui-color-positive-standalone,rgb(10, 115, 73));\n      }\n      :host([color='warning']) #toast > div {\n        background-color: var(--uui-color-warning,#fbd142);\n        color: var(--uui-color-warning-contrast,#000);\n        border-color: var(--uui-color-warning-standalone,#a17700);\n      }\n      :host([color='danger']) #toast > div {\n        background-color: var(--uui-color-danger,#d42054);\n        color: var(--uui-color-danger-contrast,white);\n        border-color: var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n    `\n];\n__decorateClass([\n  property({ reflect: true })\n], UUIToastNotificationElement.prototype, \"color\", 2);\n__decorateClass([\n  property({ type: Number })\n], UUIToastNotificationElement.prototype, \"autoClose\", 1);\n__decorateClass([\n  query(\"#toast\")\n], UUIToastNotificationElement.prototype, \"_toastEl\", 2);\n__decorateClass([\n  state()\n], UUIToastNotificationElement.prototype, \"_animate\", 2);\n__decorateClass([\n  property({ type: Boolean, reflect: true })\n], UUIToastNotificationElement.prototype, \"open\", 1);\nUUIToastNotificationElement = __decorateClass([\n  defineElement(\"uui-toast-notification\")\n], UUIToastNotificationElement);\n\nexport { UUIToastNotificationElement, UUIToastNotificationEvent };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUIToastNotificationEvent } from '@umbraco-ui/uui-toast-notification/lib';\nimport { css, LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIToastNotificationContainerElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this._autoClose = null;\n    this._autoClosePause = false;\n    /**\n     * pause all auto close timer, including later coming.\n     */\n    this.pauseAutoClose = () => {\n      this._autoClosePause = true;\n      this._toasts?.forEach((el) => el.pauseAutoClose());\n    };\n    /**\n     * resume the auto close timers.\n     */\n    this.resumeAutoClose = () => {\n      if (this.matches(\":focus-within:not(:focus)\") === false) {\n        this._autoClosePause = false;\n        this._toasts?.forEach((el) => el.resumeAutoClose());\n      }\n    };\n    this.onToastClosed = (e) => {\n      this.removeToast(e.target);\n    };\n    this._toasts = [];\n    this.onSlotChanged = (event) => {\n      const existingModals = [...this._toasts];\n      this._toasts = event.target.assignedElements({ flatten: true }).filter(\n        (e) => e.nodeName === \"UUI-TOAST-NOTIFICATION\"\n      );\n      const oldToasts = existingModals.filter(\n        (modal) => this._toasts.indexOf(modal) === -1\n      );\n      oldToasts.forEach((toast) => {\n        toast.removeEventListener(\n          UUIToastNotificationEvent.CLOSED,\n          this.onToastClosed\n        );\n        toast.removeEventListener(\"mouseenter\", this.pauseAutoClose);\n        toast.removeEventListener(\"mouseleave\", this.resumeAutoClose);\n        toast.removeEventListener(\"focus\", this.pauseAutoClose);\n        toast.removeEventListener(\"blur\", this.resumeAutoClose);\n      });\n      const newToasts = this._toasts.filter(\n        (modal) => existingModals.indexOf(modal) === -1\n      );\n      newToasts.forEach((toast) => {\n        toast.addEventListener(\n          UUIToastNotificationEvent.CLOSED,\n          this.onToastClosed\n        );\n        toast.addEventListener(\"mouseenter\", this.pauseAutoClose);\n        toast.addEventListener(\"mouseleave\", this.resumeAutoClose);\n        toast.addEventListener(\"focus\", this.pauseAutoClose);\n        toast.addEventListener(\"blur\", this.resumeAutoClose);\n        if (this._autoClose) {\n          toast.autoClose = this._autoClose;\n        }\n        if (this._autoClosePause === true) {\n          toast.pauseAutoClose();\n        }\n        toast.open = true;\n      });\n    };\n  }\n  get autoClose() {\n    return this._autoClose;\n  }\n  set autoClose(value) {\n    this._autoClose = value;\n    this._toasts?.forEach((el) => el.autoClose = value);\n  }\n  /**\n   * Instantly remove a toast element.\n   * @param  {UUIToastNotificationElement} toast The toast element to remove\n   */\n  removeToast(toast) {\n    if (!toast) {\n      toast = this._toasts[this._toasts.length - 1];\n    } else if (this._toasts.indexOf(toast) === -1) {\n      console.warn(\n        \"Toast-notification\",\n        toast,\n        \"could not be removed as it is not a child of this toast-notification-container\",\n        this\n      );\n      return;\n    }\n    this.removeChild(toast);\n  }\n  /**\n   * Close a toast element, this will animate out and then be removed.\n   * @param  {UUIToastNotificationElement} toast The toast element to close and remove\n   */\n  closeToast(modal) {\n    let _modal = modal;\n    if (!_modal) {\n      _modal = this._toasts[this._toasts.length - 1];\n    }\n    _modal.open = false;\n  }\n  render() {\n    return html` <slot @slotchange=${this.onSlotChanged}></slot> `;\n  }\n};\nUUIToastNotificationContainerElement.styles = [\n  css`\n      :host {\n        position: absolute;\n        overflow: hidden;\n        max-width: 100%;\n        height: 100%;\n\n        pointer-events: none;\n        box-sizing: border-box;\n      }\n\n      slot {\n        display: flex;\n        flex-direction: column;\n        align-items: end;\n\n        height: 100%;\n        box-sizing: border-box;\n\n        padding-top: var(--uui-size-space-1,3px);\n        padding-bottom: var(--uui-size-space-1,3px);\n      }\n      :host([bottom-up]) slot {\n        justify-content: end;\n      }\n      :host([left-align]) slot {\n        align-items: start;\n      }\n    `\n];\n__decorateClass([\n  property({ type: Number, reflect: true, attribute: \"auto-close\" })\n], UUIToastNotificationContainerElement.prototype, \"_autoClose\", 2);\nUUIToastNotificationContainerElement = __decorateClass([\n  defineElement(\"uui-toast-notification-container\")\n], UUIToastNotificationContainerElement);\n\nexport { UUIToastNotificationContainerElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUITextStyles } from '@umbraco-ui/uui-css/lib';\nimport { css, LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIToastNotificationLayoutElement = class extends LitElement {\n  constructor() {\n    super(...arguments);\n    this.headline = \"\";\n    this._headlineSlotHasContent = false;\n    this._headlineSlotChanged = (e) => {\n      this._headlineSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n    };\n  }\n  render() {\n    return html`\n      <div id=\"message\" class=\"uui-text\">\n        <h5\n          style=${this._headlineSlotHasContent || this.headline && this.headline !== \"\" ? \"\" : \"display: none\"}>\n          ${this.headline}\n          <slot name=\"headline\" @slotchange=${this._headlineSlotChanged}></slot>\n        </h5>\n        <slot></slot>\n        <slot id=\"actions\" name=\"actions\"></slot>\n      </div>\n    `;\n  }\n};\nUUIToastNotificationLayoutElement.styles = [\n  UUITextStyles,\n  css`\n      #message {\n        margin-bottom: calc(var(--uui-size-space-1,3px) * -1);\n      }\n      #message::after {\n        content: '';\n        display: block;\n        clear: both;\n      }\n      #actions {\n        /*\n        display: flex;\n        width: 100%;\n        justify-content: flex-end;\n        */\n        display: block;\n        float: right;\n\n        margin-top: var(--uui-size-space-4,12px);\n        margin-bottom: calc(var(--uui-size-space-2,6px) * -1);\n      }\n    `\n];\n__decorateClass([\n  property({ type: String })\n], UUIToastNotificationLayoutElement.prototype, \"headline\", 2);\n__decorateClass([\n  state()\n], UUIToastNotificationLayoutElement.prototype, \"_headlineSlotHasContent\", 2);\nUUIToastNotificationLayoutElement = __decorateClass([\n  defineElement(\"uui-toast-notification-layout\")\n], UUIToastNotificationLayoutElement);\n\nexport { UUIToastNotificationLayoutElement };\n","import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { UUIBooleanInputElement } from '@umbraco-ui/uui-boolean-input/lib';\nimport { iconCheck, iconRemove } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';\nimport { css, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIToggleElement = class extends UUIBooleanInputElement {\n  constructor() {\n    super(\"switch\");\n  }\n  renderCheckbox() {\n    return html`\n      <div id=\"slider\">\n        <div id=\"icon-checked\">${iconCheck}</div>\n        <div id=\"icon-unchecked\">${iconRemove}</div>\n      </div>\n    `;\n  }\n};\n/**\n * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals.  Read more about form controls here https://web.dev/more-capable-form-controls/\n * @type {boolean}\n */\nUUIToggleElement.formAssociated = true;\nUUIToggleElement.styles = [\n  ...UUIBooleanInputElement.styles,\n  UUIHorizontalShakeKeyframes,\n  css`\n      :host {\n        --uui-toggle-size: 18px;\n        --uui-toggle-switch-width: calc(2 * var(--uui-toggle-size));\n      }\n\n      #slider {\n        position: relative;\n        grid-area: 'input';\n        display: flex;\n        align-items: center;\n\n        width: var(--uui-toggle-switch-width);\n        height: var(--uui-toggle-size);\n        border-radius: 100px;\n\n        background-color: var(\n          --uui-toggle-background-color,\n          var(--uui-color-border,#d8d7d9)\n        );\n        border: 1px solid\n          var(--uui-toggle-border-color, var(--uui-color-border-standalone,#c2c2c2));\n        font-size: calc(var(--uui-toggle-size) * 0.6);\n      }\n      label:hover input:not([disabled]) ~ #slider {\n        border-color: var(\n          --uui-toggle-border-color-hover,\n          var(--uui-color-border-emphasis,#a1a1a1)\n        );\n        background-color: var(\n          --uui-toggle-background-color-hover,\n          var(--uui-color-border,#d8d7d9)\n        );\n      }\n      label:focus #slider {\n        border-color: var(\n          --uui-toggle-border-color-focus,\n          var(--uui-color-focus,#3879ff)\n        );\n        background-color: var(\n          --uui-toggle-background-color-focus,\n          var(--uui-color-surface-emphasis,rgb(250, 250, 250))\n        );\n      }\n      input:checked ~ #slider {\n        background-color: var(--uui-color-selected,#3544b1);\n      }\n      label:hover input:checked:not([disabled]) ~ #slider {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n      label:focus input:checked ~ #slider {\n        background-color: var(--uui-color-selected-emphasis,rgb(70, 86, 200));\n      }\n\n      #icon-checked,\n      #icon-unchecked {\n        position: absolute;\n        vertical-align: middle;\n        width: 1em;\n        height: 1em;\n        line-height: 0;\n        transition: color 120ms;\n      }\n\n      #icon-checked {\n        margin-left: -0.5em;\n        left: calc(var(--uui-toggle-size) * 0.5);\n        color: var(--uui-color-interactive,#1b264f);\n      }\n\n      #icon-unchecked {\n        margin-right: -0.5em;\n        right: calc(var(--uui-toggle-size) * 0.5);\n        color: var(--uui-color-interactive,#1b264f);\n      }\n      input:checked ~ #slider #icon-checked {\n        color: var(--uui-color-selected-contrast,#fff);\n      }\n\n      #slider::after {\n        content: '';\n        position: absolute;\n        top: 2px;\n        left: 2px;\n        width: calc(var(--uui-toggle-size) - 4px);\n        height: calc(var(--uui-toggle-size) - 4px);\n        border-radius: 100px;\n        background-color: var(--uui-color-selected-contrast,#fff);\n        transition:\n          width 120ms ease,\n          left 120ms ease,\n          transform 120ms ease,\n          background-color 120ms;\n      }\n\n      input:checked ~ #slider::after {\n        left: calc(100% - 2px);\n        transform: translateX(-100%);\n      }\n\n      input:focus ~ #slider {\n        outline: calc(2px * var(--uui-show-focus-outline, 1)) solid\n          var(--uui-color-focus,#3879ff);\n      }\n\n      :host(:not([disabled])) label:active #slider::after {\n        /** Stretch when mouse down */\n        width: calc(1.06 * var(--uui-toggle-size));\n      }\n\n      :host([disabled]) #slider {\n        background-color: var(--uui-color-disabled-standalone,rgb(226, 226, 226));\n      }\n      :host([disabled]) input:checked ~ #slider {\n        background-color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) #slider::after {\n        background-color: var(--uui-color-disabled,#f3f3f5);\n      }\n      :host([disabled]) #slider #icon-unchecked {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n      :host([disabled]) label:active #slider {\n        animation: ${UUIHorizontalShakeAnimationValue};\n      }\n      :host([disabled]) input:checked #slider #icon-checked {\n        color: var(--uui-color-disabled-contrast,#c4c4c4);\n      }\n\n      :host(:not([pristine]):invalid) #slider,\n      :host(:not([pristine]):invalid) label:hover #slider,\n      /* polyfill support */\n      :host(:not([pristine])[internals-invalid]) #slider,\n      :host(:not([pristine])[internals-invalid]) label:hover #slider {\n        border: 1px solid var(--uui-color-danger-standalone,rgb(191, 33, 78));\n      }\n    `\n];\nUUIToggleElement = __decorateClass([\n  defineElement(\"uui-toggle\")\n], UUIToggleElement);\n\nexport { UUIToggleElement };\n","import { defineElement } from '@umbraco-ui/uui-base/lib/registration';\nimport { css, LitElement, html } from 'lit';\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nlet UUIVisuallyHiddenElement = class extends LitElement {\n  render() {\n    return html`<slot></slot>`;\n  }\n};\nUUIVisuallyHiddenElement.styles = [\n  css`\n      :host(:not(:focus-within)) {\n        position: absolute !important;\n        width: 1px !important;\n        height: 1px !important;\n        clip: rect(0 0 0 0) !important;\n        clip-path: inset(50%) !important;\n        border: none !important;\n        overflow: hidden !important;\n        white-space: nowrap !important;\n        padding: 0 !important;\n      }\n    `\n];\nUUIVisuallyHiddenElement = __decorateClass([\n  defineElement(\"uui-visually-hidden\")\n], UUIVisuallyHiddenElement);\n\nexport { UUIVisuallyHiddenElement };\n"],"names":["t","e","s","n","o$h","r","o","i","S","c","h","a","l","d","u$k","u","v","f","_","m","p","g","$","y","w","x","b","T","A","E","C","P","V","N$4","N","H","L","z","k","R","Z","R$6","M","I","L$b","z$f","Z$4","j","B","D","css","UUITextStyles","unsafeCSS","UUIBlinkKeyframes","UUIBlinkAnimationValue","UUIHorizontalPulseKeyframes","UUIHorizontalPulseAnimationValue","UUIHorizontalShakeKeyframes","UUIHorizontalShakeAnimationValue","f$t","evName","eventInit","o$c","UUIEvent","UUIFormControlEvent","c$m","UUISelectableEvent","__defProp$5","__getOwnPropDesc$5","__decorateClass$5","decorators","target","key","kind","result","decorator","ActiveMixin","superClass","ActiveMixinClass","property","__defProp$4","__getOwnPropDesc$4","__decorateClass$4","LabelMixin","labelSlotName","LabelMixinClass","html","state","__defProp$3","__getOwnPropDesc$3","__decorateClass$3","SelectableMixin","SelectableMixinClass","args","newVal","oldVal","selectEvent","__defProp$2","__getOwnPropDesc$2","__decorateClass$2","SelectOnlyMixin","SelectOnlyMixinClass","__defProp$1","__getOwnPropDesc$1","__decorateClass$1","FormControlMixin","FormControlMixinClass","newValue","oldValue","flagKey","getMessageMethod","checkMethod","obj","validator","index","element","message","formCtrlEl","hasError","changedProperties","G$6","_callback","duration","demandCustomElement","requester","elementName","drag","container","options","move","event","dims","defaultView","offsetX","offsetY","pointerEvent","stop","clamp","value","min","max","reverseNumberInRange","num","toHex","hex","findAncestorByAttributeValue","startNode","attributeName","attributeValue","currentNode","elementHasAttribute","elementContainsAttribute","slotHasContent","__defProp","__getOwnPropDesc","__decorateClass","__accessCheck","member","msg","__privateGet","getter","__privateAdd","__privateSet","setter","PopoverTargetMixin","_popoverIsOpen","_popoverListener","PopoverTargetMixinClass","popoverContainerElement","defineElement","name","constructor","UUIInterfaceLookValues","UUIInterfaceColorValues","UUIInterfaceHeadingValues","UUIButtonGroupElement","LitElement","UUIActionBarElement","UUIAvatarGroupElement","avatar","queryAssignedElements","UUIAvatarElement","initials","words","UUIBadgeElement","UUIEvent$1","UUISelectableEvent$1","h$n","l$n","r$6","r$5","UUIBooleanInputEvent","inputRole","_changedProperties","labelEl","hadMouseDown","UUIBooleanInputElement","query","UUIBoxElement","unsafeStatic","UUIBreadcrumbItemElement","UUIBreadcrumbsElement","el","lastItem","i$7","p$g","UUIButtonInlineCreateEvent","__privateMethod","method","_renderContent","renderContent_fn","_renderLink","renderLink_fn","_renderButton","renderButton_fn","UUIButtonInlineCreateElement","styleMap","ifDefined","h$k","iconCheck","svg","iconDelete","iconLock","iconPicture","iconRemove","iconSee","iconUnlock","iconUnsee","iconWrong","UUIButtonElement","nothing","t$3","UUICardEvent","UUICardElement","UUICardBlockTypeElement","UUICardContentNodeElement","UUICardMediaElement","UUICardUserElement","UUICaretElement","UUICheckboxElement","y$b","UUIColorAreaEvent","UUIColorAreaElement","parsed","grid","handle","width","height","increment","lightness","brightness","color","hue","saturation","alpha","gridHandleX","gridHandleY","classMap","namesPlugin","x$i","UUIColorPickerChangeEvent","hasEyeDropper","UUIColorPickerElement","format","formatToUse","hexa","formats","nextIndex","newColor","colorString","colord2","hslaColor","string","live","swatch","u$f","UUIColorSliderEvent","UUIColorSliderElement","coordinate","left","top","numberToRound","multiplier","UUIColorSwatchElement","i$4","UUIColorSwatchesEvent","UUIColorSwatchesElement","UUIComboboxListEvent","_updateActiveElement","updateActiveElement_fn","UUIComboboxListElement","distance","newIndex","option","activeElement","UUIComboboxListOptionElement","a$c","UUIComboboxEvent","_comboboxList","_phoneMediaQuery","_onPhoneChange","_updateValue","updateValue_fn","_onMouseDown","_onBlur","_onInput","_onSlotChange","_onChange","_onToggle","_onOpen","_onClose","_onKeyDown","_onClear","_renderInput","_renderClearButton","_renderDropdown","UUIComboboxElement","popover","list","UUIDialogLayoutElement","UUIDialogElement","n$9","UUIFileDropzoneEvent","UUIFileDropzoneElement","mimetypes","fileextensions","item","old","dataTransferItemList","fileEntries","queue","entry","file","directory","directoryReader","entries","readEntries","resolve","reject","err","fileType","fileExtension","mimeType","items","files","bytes","si","decimalPlaces","thresh","units","UUIFilePreviewElement","nameStart","nameEnd","reader","UUIFileSize","UUIFormLayoutItemElement","UUIFormValidationMessageElement","ctrl","queriedElement","newScope","oldScope","repeat","UUIFormElement","formElements","formNode","e$1","o$4","icon","UUIIconRequestEvent","UUIIconElement","iconSvg","unsafeHTML","h$b","resolveMethod","rejectMethod","l$c","iconName","svgString","UUIIconHost","UUIIconRegistryElement","UUIIconRegistry","icons","newRegistry","iconAdd","iconAlert","iconAttachment","iconCalendar","iconClipboard","iconCode","iconColorPicker","iconCopy","iconDocument","iconDownload","iconEdit","iconFavorite","iconFolder","iconForbidden","iconInfo","iconLink","iconPause","iconPlay","iconSearch","iconSettings","iconSubtract","iconSync","iconWand","d$b","UUIIconRegistryEssentialElement","UUIIconRegistryEssential","UUIInputFileElement","data","newFileWrappers","isFile","fileEntry","fileToRemove","filteredFiles","show","u$b","UUIInputEvent","UUIInputElement","UUIInputLockElement","UUIInputPasswordElement","_newValue","UUIKeyboardShortcutElement","UUIKeyElement","UUILabelElement","UUILoaderBarElement","UUILoaderCircleElement","newIsLarge","UUILoaderElement","c$a","i$3","UUIMenuItemEvent","UUIMenuItemElement","label","eventName","ref","UUIModalCloseEvent","n$5","openEvent","closeEvent","UUIModalElement","__accessCheck$1","__privateGet$1","__privateAdd$1","__privateMethod$1","_getWidth","getWidth_get","onClose_fn","UUIModalSidebarElement","_onCloseModalClose","_updateModals","updateModals_fn","_updateSidebars","updateSidebars_fn","UUIModalContainerElement","existingModals","modal","reverse","sameType","sidebarOffset","reversed","sidebar","nextSidebar","tempSidebarOffset","currentWidth","nextWidth","UUIModalDialogElement","u$8","UUIPaginationEvent","PAGE_BUTTON_MAX_WIDTH","limit","val","arrayOfNumbers","start","UUIPaginationElement","containerWidth","navButtonsWidth","totalWidth","button","range","current","page","activeButtonElement","queryAll","UUIPopoverEvent","mathClamp","UUIPopoverElement","hostElement","style","excludeStaticParent","overflowRegex","containerElement","popoverRect","triggerRect","scrollParentRects","isTopPlacement","isBottomPlacement","isLeftPlacement","isRightPlacement","isStart","isEnd","originX","originY","alignX","alignY","marginX","marginY","firstScrollParent","scrollParentWidth","scrollParentHeight","spaceLeft","spaceRight","spaceTop","spaceBottom","dirX","dirY","hMaxSpace","vMaxSpace","calcX","calcY","posX","posY","rectX","leftClamp","rightClamp","rectY","topClamp","bottomClamp","currentPlacement","placementSplit","currentSide","placementAlign","sideFlip","polyfill","originalAddEventListener","type","listener","isInsidePopoverContainer","isInsidePopoverTarget","findParentPopover","renderRoot","combinedStyles","acc","styleSheet","acc2","rule","styleTag","existingStyleTag","_targetElement","_scrollParents","_onBeforeToggle","_initUpdate","_updatePosition","_updatePadding","_flipPlacement","flipPlacement_fn","_startScrollListener","startScrollListener_fn","_stopScrollListener","stopScrollListener_fn","_getScrollParents","getScrollParents_fn","UUIPopoverContainerElement","iteration","targetRect","screenWidth","screenHeight","topTargetVsScreenTop","topTargetVsScreenBottom","leftTargetVsScreenLeft","leftTargetVsScreenRight","oppositeSides","side","paddingSide","direction","position","oppositeDirection","UUIProgressBarElement","c$7","UUIRadioEvent","_showFocusOutline","_hideFocusOutline","UUIRadioElement","checked","b$4","UUIRadioGroupEvent","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","SPACE","UUIRadioGroupElement","checkedRadios","origin","len","checkIndex","r$1","UUIRangeSliderEvent","_transferValueToInternalValues","transferValueToInternalValues_fn","Z_INDEX","THUMB_SIZE","TRACK_PADDING","STEP_MIN_WIDTH","UUIRangeSliderElement","diffLow","diffHigh","low","high","lockValueRange","length","minGap","scopeLength","scopedLow","scopedHigh","leftPercent","rightPercent","pageX","outerTrackMargin","clickedValue","trackWidth","trackDiff","dragPercent","dragValue","newValueLow","newValueHigh","stepAmount","stepWidth","stepPositions","stepWidth2","stepValues","step","stepPositionArray","trackValue","cx","colorStart","colorEnd","valueSplit","UUIRefListElement","t$1","UUIRefEvent","UUIRefElement","_onSlotIconChange","onSlotIconChange_fn","_renderFallbackIcon","renderFallbackIcon_fn","UUIRefNodeElement","UUIRefNodeDataTypeElement","details","UUIRefNodeDocumentTypeElement","UUIRefNodeFormElement","UUIRefNodeMemberElement","UUIRefNodePackageElement","UUIRefNodeUserElement","UUIScrollContainerElement","UUISelectEvent","UUISelectElement","selected","disabled","group","nativeInputStyles","UUISliderEvent","RenderTrackSteps","steps","RenderStepValues","hide","GenerateStepArray","UUISliderElement","correctedValue","ratio","UUISymbolExpandElement","UUISymbolFileDropzoneElement","UUISymbolFileThumbnailElement","UUISymbolFileElement","UUISymbolFolderElement","UUISymbolLockElement","UUISymbolMoreElement","UUISymbolSortElement","UUITableElement","UUITableCellElement","UUITableColumnElement","UUITableHeadCellElement","UUITableHeadElement","UUITableRowElement","UUITabElement","_currentGap","_tabElements","_hiddenTabElements","_hiddenTabElementsMap","_visibilityBreakpoints","_resizeObserver","_tabResizeObservers","_breakPointCalculationInProgress","_initialize","initialize_fn","_onResize","onResize_fn","_cleanupTabs","cleanupTabs_fn","onSlotChange_fn","_onTabClicked","_calculateBreakPoints","calculateBreakPoints_fn","_setTabArray","setTabArray_fn","_updateCollapsibleTabs","updateCollapsibleTabs_fn","_isElementTabLike","isElementTabLike_fn","UUITabGroupElement","selectedElement","linkedElement","gapCSSVar","observer","gap","childrenWidth","tolerance","moreButtonWidth","containerWithoutButtonWidth","hasActiveTabInDropdown","breakpoint","tab","proxyTab","UUITabEvent","UUITabGroupEvent","UUITagElement","UUITextareaEvent","UUITextareaElement","host","input","scrollTop","hostHeight","i$1","UUIToastNotificationEvent","UUIToastNotificationElement","Timer","UUIToastNotificationContainerElement","toast","_modal","UUIToastNotificationLayoutElement","UUIToggleElement","UUIVisuallyHiddenElement"],"mappings":"+NAAA;AAAA;AAAA;AAAA;AAAA,G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