Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aurodesignsystem/auro-dropdown

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurodesignsystem/auro-dropdown - npm Package Compare versions

Comparing version 2.9.5 to 2.9.6

12

CHANGELOG.md
# Semantic Release Automated Changelog
## [2.9.6](https://github.com/AlaskaAirlines/auro-dropdown/compare/v2.9.5...v2.9.6) (2023-02-14)
### Bug Fixes
* **color:** trigger color should always be primary on light [#180](https://github.com/AlaskaAirlines/auro-dropdown/issues/180) ([be275fd](https://github.com/AlaskaAirlines/auro-dropdown/commit/be275fd9cc2eeb86dde2e747dce3f4a20eb24380))
### Performance Improvements
* **deps:** update dependencies to latest versions ([317de2d](https://github.com/AlaskaAirlines/auro-dropdown/commit/317de2d6f181fdbe65db0f56c1c01b32d25231c1))
## [2.9.5](https://github.com/AlaskaAirlines/auro-dropdown/compare/v2.9.4...v2.9.5) (2023-01-31)

@@ -4,0 +16,0 @@

24

dist/auro-dropdown__bundled.js

@@ -14,3 +14,3 @@ /**

*/
const e="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,t=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}},r=`{{lit-${String(Math.random()).slice(2)}}}`,o=`\x3c!--${r}--\x3e`,i=new RegExp(`${r}|${o}`),n="$lit$";class s{constructor(e,t){this.parts=[],this.element=t;const o=[],s=[],l=document.createTreeWalker(t.content,133,null,!1);let p=0,h=-1,u=0;const{strings:f,values:{length:g}}=e;for(;u<g;){const e=l.nextNode();if(null!==e){if(h++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let o=0;for(let e=0;e<r;e++)a(t[e].name,n)&&o++;for(;o-- >0;){const t=f[u],r=c.exec(t)[2],o=r.toLowerCase()+n,s=e.getAttribute(o);e.removeAttribute(o);const a=s.split(i);this.parts.push({type:"attribute",index:h,name:r,strings:a}),u+=a.length-1}}"TEMPLATE"===e.tagName&&(s.push(e),l.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(r)>=0){const r=e.parentNode,s=t.split(i),l=s.length-1;for(let t=0;t<l;t++){let o,i=s[t];if(""===i)o=d();else{const e=c.exec(i);null!==e&&a(e[2],n)&&(i=i.slice(0,e.index)+e[1]+e[2].slice(0,-n.length)+e[3]),o=document.createTextNode(i)}r.insertBefore(o,e),this.parts.push({type:"node",index:++h})}""===s[l]?(r.insertBefore(d(),e),o.push(e)):e.data=s[l],u+=l}}else if(8===e.nodeType)if(e.data===r){const t=e.parentNode;null!==e.previousSibling&&h!==p||(h++,t.insertBefore(d(),e)),p=h,this.parts.push({type:"node",index:h}),null===e.nextSibling?e.data="":(o.push(e),h--),u++}else{let t=-1;for(;-1!==(t=e.data.indexOf(r,t+1));)this.parts.push({type:"node",index:-1}),u++}}else l.currentNode=s.pop()}for(const e of o)e.parentNode.removeChild(e)}}const a=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},l=e=>-1!==e.index,d=()=>document.createComment(""),c=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function p(e,t){const{element:{content:r},parts:o}=e,i=document.createTreeWalker(r,133,null,!1);let n=u(o),s=o[n],a=-1,l=0;const d=[];let c=null;for(;i.nextNode();){a++;const e=i.currentNode;for(e.previousSibling===c&&(c=null),t.has(e)&&(d.push(e),null===c&&(c=e)),null!==c&&l++;void 0!==s&&s.index===a;)s.index=null!==c?-1:s.index-l,n=u(o,n),s=o[n]}d.forEach((e=>e.parentNode.removeChild(e)))}const h=e=>{let t=11===e.nodeType?0:1;const r=document.createTreeWalker(e,133,null,!1);for(;r.nextNode();)t++;return t},u=(e,t=-1)=>{for(let r=t+1;r<e.length;r++){const t=e[r];if(l(t))return r}return-1};
const e="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,t=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}},r=`{{lit-${String(Math.random()).slice(2)}}}`,o=`\x3c!--${r}--\x3e`,i=new RegExp(`${r}|${o}`),n="$lit$";class s{constructor(e,t){this.parts=[],this.element=t;const o=[],s=[],l=document.createTreeWalker(t.content,133,null,!1);let p=0,h=-1,u=0;const{strings:f,values:{length:g}}=e;for(;u<g;){const e=l.nextNode();if(null!==e){if(h++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let o=0;for(let e=0;e<r;e++)a(t[e].name,n)&&o++;for(;o-- >0;){const t=f[u],r=c.exec(t)[2],o=r.toLowerCase()+n,s=e.getAttribute(o);e.removeAttribute(o);const a=s.split(i);this.parts.push({type:"attribute",index:h,name:r,strings:a}),u+=a.length-1}}"TEMPLATE"===e.tagName&&(s.push(e),l.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(r)>=0){const r=e.parentNode,s=t.split(i),l=s.length-1;for(let t=0;t<l;t++){let o,i=s[t];if(""===i)o=d();else{const e=c.exec(i);null!==e&&a(e[2],n)&&(i=i.slice(0,e.index)+e[1]+e[2].slice(0,-n.length)+e[3]),o=document.createTextNode(i)}r.insertBefore(o,e),this.parts.push({type:"node",index:++h})}""===s[l]?(r.insertBefore(d(),e),o.push(e)):e.data=s[l],u+=l}}else if(8===e.nodeType)if(e.data===r){const t=e.parentNode;null!==e.previousSibling&&h!==p||(h++,t.insertBefore(d(),e)),p=h,this.parts.push({type:"node",index:h}),null===e.nextSibling?e.data="":(o.push(e),h--),u++}else{let t=-1;for(;-1!==(t=e.data.indexOf(r,t+1));)this.parts.push({type:"node",index:-1}),u++}}else l.currentNode=s.pop()}for(const e of o)e.parentNode.removeChild(e)}}const a=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},l=e=>-1!==e.index,d=()=>document.createComment(""),c=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,p=133;function h(e,t){const{element:{content:r},parts:o}=e,i=document.createTreeWalker(r,p,null,!1);let n=f(o),s=o[n],a=-1,l=0;const d=[];let c=null;for(;i.nextNode();){a++;const e=i.currentNode;for(e.previousSibling===c&&(c=null),t.has(e)&&(d.push(e),null===c&&(c=e)),null!==c&&l++;void 0!==s&&s.index===a;)s.index=null!==c?-1:s.index-l,n=f(o,n),s=o[n]}d.forEach((e=>e.parentNode.removeChild(e)))}const u=e=>{let t=11===e.nodeType?0:1;const r=document.createTreeWalker(e,p,null,!1);for(;r.nextNode();)t++;return t},f=(e,t=-1)=>{for(let r=t+1;r<e.length;r++){const t=e[r];if(l(t))return r}return-1};
/**

@@ -29,3 +29,3 @@ * @license

*/
const f=new WeakMap,g=e=>"function"==typeof e&&f.has(e),m={},v={};
const g=new WeakMap,m=e=>"function"==typeof e&&g.has(e),v={},y={};
/**

@@ -44,3 +44,3 @@ * @license

*/
class y{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const t=e?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),r=[],o=this.template.parts,i=document.createTreeWalker(t,133,null,!1);let n,s=0,a=0,d=i.nextNode();for(;s<o.length;)if(n=o[s],l(n)){for(;a<n.index;)a++,"TEMPLATE"===d.nodeName&&(r.push(d),i.currentNode=d.content),null===(d=i.nextNode())&&(i.currentNode=r.pop(),d=i.nextNode());if("node"===n.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(d.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(d,n.name,n.strings,this.options));s++}else this.__parts.push(void 0),s++;return e&&(document.adoptNode(t),customElements.upgrade(t)),t}}
class b{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const t=e?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),r=[],o=this.template.parts,i=document.createTreeWalker(t,133,null,!1);let n,s=0,a=0,d=i.nextNode();for(;s<o.length;)if(n=o[s],l(n)){for(;a<n.index;)a++,"TEMPLATE"===d.nodeName&&(r.push(d),i.currentNode=d.content),null===(d=i.nextNode())&&(i.currentNode=r.pop(),d=i.nextNode());if("node"===n.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(d.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(d,n.name,n.strings,this.options));s++}else this.__parts.push(void 0),s++;return e&&(document.adoptNode(t),customElements.upgrade(t)),t}}
/**

@@ -58,3 +58,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/const b=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),w=` ${r} `;class x{constructor(e,t,r,o){this.strings=e,this.values=t,this.type=r,this.processor=o}getHTML(){const e=this.strings.length-1;let t="",i=!1;for(let s=0;s<e;s++){const e=this.strings[s],a=e.lastIndexOf("\x3c!--");i=(a>-1||i)&&-1===e.indexOf("--\x3e",a+1);const l=c.exec(e);t+=null===l?e+(i?w:o):e.substr(0,l.index)+l[1]+l[2]+n+l[3]+r}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");let t=this.getHTML();return void 0!==b&&(t=b.createHTML(t)),e.innerHTML=t,e}}
*/const w=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),x=` ${r} `;class _{constructor(e,t,r,o){this.strings=e,this.values=t,this.type=r,this.processor=o}getHTML(){const e=this.strings.length-1;let t="",i=!1;for(let s=0;s<e;s++){const e=this.strings[s],a=e.lastIndexOf("\x3c!--");i=(a>-1||i)&&-1===e.indexOf("--\x3e",a+1);const l=c.exec(e);t+=null===l?e+(i?x:o):e.substr(0,l.index)+l[1]+l[2]+n+l[3]+r}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");let t=this.getHTML();return void 0!==w&&(t=w.createHTML(t)),e.innerHTML=t,e}}
/**

@@ -72,3 +72,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/const _=e=>null===e||!("object"==typeof e||"function"==typeof e),S=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class O{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let e=0;e<r.length-1;e++)this.parts[e]=this._createPart()}_createPart(){return new E(this)}_getValue(){const e=this.strings,t=e.length-1,r=this.parts;if(1===t&&""===e[0]&&""===e[1]){const e=r[0].value;if("symbol"==typeof e)return String(e);if("string"==typeof e||!S(e))return e}let o="";for(let i=0;i<t;i++){o+=e[i];const t=r[i];if(void 0!==t){const e=t.value;if(_(e)||!S(e))o+="string"==typeof e?e:String(e);else for(const t of e)o+="string"==typeof t?t:String(t)}}return o+=e[t],o}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class E{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===m||_(e)&&e===this.value||(this.value=e,g(e)||(this.committer.dirty=!0))}commit(){for(;g(this.value);){const e=this.value;this.value=m,e(this)}this.value!==m&&this.committer.commit()}}class P{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(d()),this.endNode=e.appendChild(d())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=d()),e.__insert(this.endNode=d())}insertAfterPart(e){e.__insert(this.startNode=d()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;g(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=m,e(this)}const e=this.__pendingValue;e!==m&&(_(e)?e!==this.value&&this.__commitText(e):e instanceof x?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):S(e)?this.__commitIterable(e):e===v?(this.value=v,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof y&&this.value.template===t)this.value.update(e.values);else{const r=new y(t,e.processor,this.options),o=r._clone();r.update(e.values),this.__commitNode(o),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,o=0;for(const i of e)r=t[o],void 0===r&&(r=new P(this.options),t.push(r),0===o?r.appendIntoPart(this):r.insertAfterPart(t[o-1])),r.setValue(i),r.commit(),o++;o<t.length&&(t.length=o,this.clear(r&&r.endNode))}clear(e=this.startNode){t(this.startNode.parentNode,e.nextSibling,this.endNode)}}class C{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;g(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=m,e(this)}if(this.__pendingValue===m)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=m}}class k extends O{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new T(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class T extends E{}let A=!1;(()=>{try{const e={get capture(){return A=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class N{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;g(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=m,e(this)}if(this.__pendingValue===m)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),o=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=D(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=m}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const D=e=>e&&(A?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)
*/const S=e=>null===e||!("object"==typeof e||"function"==typeof e),O=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class E{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let e=0;e<r.length-1;e++)this.parts[e]=this._createPart()}_createPart(){return new P(this)}_getValue(){const e=this.strings,t=e.length-1,r=this.parts;if(1===t&&""===e[0]&&""===e[1]){const e=r[0].value;if("symbol"==typeof e)return String(e);if("string"==typeof e||!O(e))return e}let o="";for(let i=0;i<t;i++){o+=e[i];const t=r[i];if(void 0!==t){const e=t.value;if(S(e)||!O(e))o+="string"==typeof e?e:String(e);else for(const t of e)o+="string"==typeof t?t:String(t)}}return o+=e[t],o}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class P{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===v||S(e)&&e===this.value||(this.value=e,m(e)||(this.committer.dirty=!0))}commit(){for(;m(this.value);){const e=this.value;this.value=v,e(this)}this.value!==v&&this.committer.commit()}}class C{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(d()),this.endNode=e.appendChild(d())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=d()),e.__insert(this.endNode=d())}insertAfterPart(e){e.__insert(this.startNode=d()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;m(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=v,e(this)}const e=this.__pendingValue;e!==v&&(S(e)?e!==this.value&&this.__commitText(e):e instanceof _?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):O(e)?this.__commitIterable(e):e===y?(this.value=y,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof b&&this.value.template===t)this.value.update(e.values);else{const r=new b(t,e.processor,this.options),o=r._clone();r.update(e.values),this.__commitNode(o),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,o=0;for(const i of e)r=t[o],void 0===r&&(r=new C(this.options),t.push(r),0===o?r.appendIntoPart(this):r.insertAfterPart(t[o-1])),r.setValue(i),r.commit(),o++;o<t.length&&(t.length=o,this.clear(r&&r.endNode))}clear(e=this.startNode){t(this.startNode.parentNode,e.nextSibling,this.endNode)}}class k{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;m(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=v,e(this)}if(this.__pendingValue===v)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=v}}class T extends E{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new A(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class A extends P{}let N=!1;(()=>{try{const e={get capture(){return N=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class D{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;m(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=v,e(this)}if(this.__pendingValue===v)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),o=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=V(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=v}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const V=e=>e&&(N?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)
/**

@@ -86,3 +86,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/;function V(e){let t=L.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},L.set(e.type,t));let o=t.stringsArray.get(e.strings);if(void 0!==o)return o;const i=e.strings.join(r);return o=t.keyString.get(i),void 0===o&&(o=new s(e,e.getTemplateElement()),t.keyString.set(i,o)),t.stringsArray.set(e.strings,o),o}const L=new Map,j=new WeakMap;
*/;function L(e){let t=j.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},j.set(e.type,t));let o=t.stringsArray.get(e.strings);if(void 0!==o)return o;const i=e.strings.join(r);return o=t.keyString.get(i),void 0===o&&(o=new s(e,e.getTemplateElement()),t.keyString.set(i,o)),t.stringsArray.set(e.strings,o),o}const j=new Map,R=new WeakMap;
/**

@@ -100,3 +100,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/const R=new
*/const M=new
/**

@@ -115,3 +115,3 @@ * @license

*/
class{handleAttributeExpressions(e,t,r,o){const i=t[0];if("."===i){return new k(e,t.slice(1),r).parts}if("@"===i)return[new N(e,t.slice(1),o.eventContext)];if("?"===i)return[new C(e,t.slice(1),r)];return new O(e,t,r).parts}handleTextExpression(e){return new P(e)}};
class{handleAttributeExpressions(e,t,r,o){const i=t[0];if("."===i){return new T(e,t.slice(1),r).parts}if("@"===i)return[new D(e,t.slice(1),o.eventContext)];if("?"===i)return[new k(e,t.slice(1),r)];return new E(e,t,r).parts}handleTextExpression(e){return new C(e)}};
/**

@@ -129,3 +129,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");const M=(e,...t)=>new x(e,t,"html",R)
*/"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.4.1");const U=(e,...t)=>new _(e,t,"html",M)
/**

@@ -143,3 +143,3 @@ * @license

* http://polymer.github.io/PATENTS.txt
*/,U=(e,t)=>`${e}--${t}`;let W=!0;void 0===window.ShadyCSS?W=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),W=!1);const B=e=>t=>{const o=U(t.type,e);let i=L.get(o);void 0===i&&(i={stringsArray:new WeakMap,keyString:new Map},L.set(o,i));let n=i.stringsArray.get(t.strings);if(void 0!==n)return n;const a=t.strings.join(r);if(n=i.keyString.get(a),void 0===n){const r=t.getTemplateElement();W&&window.ShadyCSS.prepareTemplateDom(r,e),n=new s(t,r),i.keyString.set(a,n)}return i.stringsArray.set(t.strings,n),n},H=["html","svg"],q=new Set,I=(e,t,r)=>{q.add(e);const o=r?r.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:n}=i;if(0===n)return void window.ShadyCSS.prepareTemplateStyles(o,e);const s=document.createElement("style");for(let e=0;e<n;e++){const t=i[e];t.parentNode.removeChild(t),s.textContent+=t.textContent}(e=>{H.forEach((t=>{const r=L.get(U(t,e));void 0!==r&&r.keyString.forEach((e=>{const{element:{content:t}}=e,r=new Set;Array.from(t.querySelectorAll("style")).forEach((e=>{r.add(e)})),p(e,r)}))}))})(e);const a=o.content;r?function(e,t,r=null){const{element:{content:o},parts:i}=e;if(null==r)return void o.appendChild(t);const n=document.createTreeWalker(o,133,null,!1);let s=u(i),a=0,l=-1;for(;n.nextNode();)for(l++,n.currentNode===r&&(a=h(t),r.parentNode.insertBefore(t,r));-1!==s&&i[s].index===l;){if(a>0){for(;-1!==s;)i[s].index+=a,s=u(i,s);return}s=u(i,s)}}(r,s,a.firstChild):a.insertBefore(s,a.firstChild),window.ShadyCSS.prepareTemplateStyles(o,e);const l=a.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)t.insertBefore(l.cloneNode(!0),t.firstChild);else if(r){a.insertBefore(s,a.firstChild);const e=new Set;e.add(s),p(r,e)}};window.JSCompiler_renameProperty=(e,t)=>e;const z={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},F=(e,t)=>t!==e&&(t==t||e==e),$={attribute:!0,type:String,converter:z,reflect:!1,hasChanged:F},J="finalized";class X extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach(((t,r)=>{const o=this._attributeNameForProperty(r,t);void 0!==o&&(this._attributeToPropertyMap.set(o,r),e.push(o))})),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach(((e,t)=>this._classProperties.set(t,e)))}}static createProperty(e,t=$){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():`__${e}`,o=this.getPropertyDescriptor(e,r,t);void 0!==o&&Object.defineProperty(this.prototype,e,o)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(o){const i=this[e];this[t]=o,this.requestUpdateInternal(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||$}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(J)||e.finalize(),this[J]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=F){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,o=t.converter||z,i="function"==typeof o?o:o.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,o=t.converter;return(o&&o.toAttribute||z.toAttribute)(e,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((e=>this._enableUpdatingResolver=e)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((e,t)=>this[t]=e)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=$){const o=this.constructor,i=o._attributeNameForProperty(e,r);if(void 0!==i){const e=o._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,o=r._attributeToPropertyMap.get(e);if(void 0!==o){const e=r.getPropertyOptions(o);this._updateState=16|this._updateState,this[o]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}requestUpdateInternal(e,t,r){let o=!0;if(void 0!==e){const i=this.constructor;r=r||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r))):o=!1}!this._hasRequestedUpdate&&o&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((e,t)=>this._propertyToAttribute(t,this[t],e))),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}X[J]=!0;
*/,W=(e,t)=>`${e}--${t}`;let B=!0;void 0===window.ShadyCSS?B=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),B=!1);const H=e=>t=>{const o=W(t.type,e);let i=j.get(o);void 0===i&&(i={stringsArray:new WeakMap,keyString:new Map},j.set(o,i));let n=i.stringsArray.get(t.strings);if(void 0!==n)return n;const a=t.strings.join(r);if(n=i.keyString.get(a),void 0===n){const r=t.getTemplateElement();B&&window.ShadyCSS.prepareTemplateDom(r,e),n=new s(t,r),i.keyString.set(a,n)}return i.stringsArray.set(t.strings,n),n},q=["html","svg"],I=new Set,z=(e,t,r)=>{I.add(e);const o=r?r.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:n}=i;if(0===n)return void window.ShadyCSS.prepareTemplateStyles(o,e);const s=document.createElement("style");for(let e=0;e<n;e++){const t=i[e];t.parentNode.removeChild(t),s.textContent+=t.textContent}(e=>{q.forEach((t=>{const r=j.get(W(t,e));void 0!==r&&r.keyString.forEach((e=>{const{element:{content:t}}=e,r=new Set;Array.from(t.querySelectorAll("style")).forEach((e=>{r.add(e)})),h(e,r)}))}))})(e);const a=o.content;r?function(e,t,r=null){const{element:{content:o},parts:i}=e;if(null==r)return void o.appendChild(t);const n=document.createTreeWalker(o,p,null,!1);let s=f(i),a=0,l=-1;for(;n.nextNode();)for(l++,n.currentNode===r&&(a=u(t),r.parentNode.insertBefore(t,r));-1!==s&&i[s].index===l;){if(a>0){for(;-1!==s;)i[s].index+=a,s=f(i,s);return}s=f(i,s)}}(r,s,a.firstChild):a.insertBefore(s,a.firstChild),window.ShadyCSS.prepareTemplateStyles(o,e);const l=a.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)t.insertBefore(l.cloneNode(!0),t.firstChild);else if(r){a.insertBefore(s,a.firstChild);const e=new Set;e.add(s),h(r,e)}};window.JSCompiler_renameProperty=(e,t)=>e;const F={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},$=(e,t)=>t!==e&&(t==t||e==e),J={attribute:!0,type:String,converter:F,reflect:!1,hasChanged:$},X="finalized";class Y extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach(((t,r)=>{const o=this._attributeNameForProperty(r,t);void 0!==o&&(this._attributeToPropertyMap.set(o,r),e.push(o))})),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach(((e,t)=>this._classProperties.set(t,e)))}}static createProperty(e,t=J){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():`__${e}`,o=this.getPropertyDescriptor(e,r,t);void 0!==o&&Object.defineProperty(this.prototype,e,o)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(o){const i=this[e];this[t]=o,this.requestUpdateInternal(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||J}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(X)||e.finalize(),this[X]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=$){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,o=t.converter||F,i="function"==typeof o?o:o.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,o=t.converter;return(o&&o.toAttribute||F.toAttribute)(e,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((e=>this._enableUpdatingResolver=e)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((e,t)=>this[t]=e)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=J){const o=this.constructor,i=o._attributeNameForProperty(e,r);if(void 0!==i){const e=o._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,o=r._attributeToPropertyMap.get(e);if(void 0!==o){const e=r.getPropertyOptions(o);this._updateState=16|this._updateState,this[o]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}requestUpdateInternal(e,t,r){let o=!0;if(void 0!==e){const i=this.constructor;r=r||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r))):o=!1}!this._hasRequestedUpdate&&o&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((e,t)=>this._propertyToAttribute(t,this[t],e))),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}Y[X]=!0;
/**

@@ -155,3 +155,3 @@ @license

*/
const Y=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,G=Symbol();class K{constructor(e,t){if(t!==G)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(Y?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const Q=(e,...t)=>{const r=t.reduce(((t,r,o)=>t+(e=>{if(e instanceof K)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+e[o+1]),e[0]);return new K(r,G)};
const G=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,K=Symbol();class Q{constructor(e,t){if(t!==K)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(G?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const Z=(e,...t)=>{const r=t.reduce(((t,r,o)=>t+(e=>{if(e instanceof Q)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+e[o+1]),e[0]);return new Q(r,K)};
/**

@@ -170,2 +170,2 @@ * @license

*/
(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");const Z={};class ee extends X{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,r)=>e.reduceRight(((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e)),r),r=t(e,new Set),o=[];r.forEach((e=>o.unshift(e))),this._styles=o}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map((e=>{if(e instanceof CSSStyleSheet&&!Y){const t=Array.prototype.slice.call(e.cssRules).reduce(((e,t)=>e+t.cssText),"");return new K(String(t),G)}return e}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow(this.constructor.shadowRootOptions)}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Y?this.renderRoot.adoptedStyleSheets=e.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map((e=>e.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==Z&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)})))}render(){return Z}}ee.finalized=!0,ee.render=(e,r,o)=>{if(!o||"object"!=typeof o||!o.scopeName)throw new Error("The `scopeName` option is required.");const i=o.scopeName,n=j.has(r),s=W&&11===r.nodeType&&!!r.host,a=s&&!q.has(i),l=a?document.createDocumentFragment():r;if(((e,r,o)=>{let i=j.get(r);void 0===i&&(t(r,r.firstChild),j.set(r,i=new P(Object.assign({templateFactory:V},o))),i.appendInto(r)),i.setValue(e),i.commit()})(e,l,Object.assign({templateFactory:B(i)},o)),a){const e=j.get(l);j.delete(l);const o=e.value instanceof y?e.value.template:void 0;I(i,l,o),t(r,r.firstChild),r.appendChild(l),j.set(r,e)}!n&&s&&window.ShadyCSS.styleElement(r.host)},ee.shadowRootOptions={mode:"open"};var te=Q`.popover{display:inline-block;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);box-shadow:-2px 0 5px 2px rgba(0,0,0,.08),0 2px 5px 1px rgba(0,0,0,.08);color:var(--auro-color-text-primary-on-light)}.label{color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);color:var(--auro-color-text-secondary-on-light)}.trigger:active,.trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}.trigger:focus-within:not(:active){box-shadow:inset 0 0 0 1px var(--auro-color-ui-default-on-light)}@media(hover:hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{flex:1}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--auro-size-xs);color:var(--auro-color-icon-primary-on-light)}#showStateIcon auro-icon{height:1.5rem;line-height:1.5rem}#showStateIcon[data-expanded=true] auro-icon{transform:rotate(-180deg)}.helpText{margin-top:4px;color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}:host(:not([data-show])) .popover{display:none}:host([data-show]) .popover{z-index:var(--auro-depth-tooltip)}:host([common]) .popover,:host([common]) .trigger,:host([rounded]) .popover,:host([rounded]) .trigger{overflow:hidden;border-radius:var(--auro-border-radius)}:host([common]) .trigger,:host([inset]) .trigger{padding:var(--auro-size-xs) var(--auro-size-sm)}:host([disabled]){pointer-events:none}:host([disabled]) #showStateIcon,:host([disabled]) .label,:host([disabled]) .trigger{color:var(--auro-color-text-disabled-on-light)}:host([bordered]) .trigger,:host([common]) .trigger{border-color:var(--auro-color-border-primary-on-light)}:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within,:host([common]) .trigger:active,:host([common]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}:host([error]) .helpText{color:var(--auro-color-text-error-on-light)}:host([error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([disabled][bordered]) .trigger,:host([disabled][common]) .trigger{border-color:var(--auro-color-border-disabled)}:host([bordered][error]) .trigger,:host([common][error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([bordered][error]) .trigger:focus-within,:host([common][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([bordered][error]) .trigger:active,:host([common][error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([onDark]) .trigger{color:var(--auro-color-text-primary-on-dark)}:host([onDark]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark]) .helpText,:host([onDark]) .label{color:var(--auro-color-text-secondary-on-dark)}:host([onDark]) #showStateIcon{color:var(--auro-color-icon-primary-on-dark)}@media(hover:hover){:host([onDark]) .trigger:hover{background-color:rgba(178,178,178,.1)}}:host([onDark][error]) .helpText{color:var(--auro-color-text-error-on-dark)}:host([onDark][error]) .trigger{border-color:var(--auro-color-border-error-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-dark)}:host([onDark][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark][error]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark][disabled]) .helpText,:host([onDark][disabled]) .label,:host([onDark][disabled]) .trigger{color:var(--auro-color-text-disabled-on-dark)}:host([onDark][disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled-on-dark)}`;function re(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function oe(e){return e instanceof re(e).Element||e instanceof Element}function ie(e){return e instanceof re(e).HTMLElement||e instanceof HTMLElement}function ne(e){return"undefined"!=typeof ShadowRoot&&(e instanceof re(e).ShadowRoot||e instanceof ShadowRoot)}var se=Math.max,ae=Math.min,le=Math.round;function de(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function ce(){return!/^((?!chrome|android).)*safari/i.test(de())}function pe(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=e.getBoundingClientRect(),i=1,n=1;t&&ie(e)&&(i=e.offsetWidth>0&&le(o.width)/e.offsetWidth||1,n=e.offsetHeight>0&&le(o.height)/e.offsetHeight||1);var s=(oe(e)?re(e):window).visualViewport,a=!ce()&&r,l=(o.left+(a&&s?s.offsetLeft:0))/i,d=(o.top+(a&&s?s.offsetTop:0))/n,c=o.width/i,p=o.height/n;return{width:c,height:p,top:d,right:l+c,bottom:d+p,left:l,x:l,y:d}}function he(e){var t=re(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return e?(e.nodeName||"").toLowerCase():null}function fe(e){return((oe(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return pe(fe(e)).left+he(e).scrollLeft}function me(e){return re(e).getComputedStyle(e)}function ve(e){var t=me(e),r=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+o)}function ye(e,t,r){void 0===r&&(r=!1);var o,i,n=ie(t),s=ie(t)&&function(e){var t=e.getBoundingClientRect(),r=le(t.width)/e.offsetWidth||1,o=le(t.height)/e.offsetHeight||1;return 1!==r||1!==o}(t),a=fe(t),l=pe(e,s,r),d={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==ue(t)||ve(a))&&(d=(o=t)!==re(o)&&ie(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:he(o)),ie(t)?((c=pe(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=ge(a))),{x:l.left+d.scrollLeft-c.x,y:l.top+d.scrollTop-c.y,width:l.width,height:l.height}}function be(e){var t=pe(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function we(e){return"html"===ue(e)?e:e.assignedSlot||e.parentNode||(ne(e)?e.host:null)||fe(e)}function xe(e){return["html","body","#document"].indexOf(ue(e))>=0?e.ownerDocument.body:ie(e)&&ve(e)?e:xe(we(e))}function _e(e,t){var r;void 0===t&&(t=[]);var o=xe(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),n=re(o),s=i?[n].concat(n.visualViewport||[],ve(o)?o:[]):o,a=t.concat(s);return i?a:a.concat(_e(we(s)))}function Se(e){return["table","td","th"].indexOf(ue(e))>=0}function Oe(e){return ie(e)&&"fixed"!==me(e).position?e.offsetParent:null}function Ee(e){for(var t=re(e),r=Oe(e);r&&Se(r)&&"static"===me(r).position;)r=Oe(r);return r&&("html"===ue(r)||"body"===ue(r)&&"static"===me(r).position)?t:r||function(e){var t=/firefox/i.test(de());if(/Trident/i.test(de())&&ie(e)&&"fixed"===me(e).position)return null;var r=we(e);for(ne(r)&&(r=r.host);ie(r)&&["html","body"].indexOf(ue(r))<0;){var o=me(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e)||t}var Pe="top",Ce="bottom",ke="right",Te="left",Ae="auto",Ne=[Pe,Ce,ke,Te],De="start",Ve="end",Le="viewport",je="popper",Re=Ne.reduce((function(e,t){return e.concat([t+"-"+De,t+"-"+Ve])}),[]),Me=[].concat(Ne,[Ae]).reduce((function(e,t){return e.concat([t,t+"-"+De,t+"-"+Ve])}),[]),Ue=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function We(e){var t=new Map,r=new Set,o=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var o=t.get(e);o&&i(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),o}function Be(e){return e.split("-")[0]}function He(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ne(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function qe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ie(e,t,r){return t===Le?qe(function(e,t){var r=re(e),o=fe(e),i=r.visualViewport,n=o.clientWidth,s=o.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;var d=ce();(d||!d&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:n,height:s,x:a+ge(e),y:l}}(e,r)):oe(t)?function(e,t){var r=pe(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):qe(function(e){var t,r=fe(e),o=he(e),i=null==(t=e.ownerDocument)?void 0:t.body,n=se(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=se(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+ge(e),l=-o.scrollTop;return"rtl"===me(i||r).direction&&(a+=se(r.clientWidth,i?i.clientWidth:0)-n),{width:n,height:s,x:a,y:l}}(fe(e)))}function ze(e,t,r,o){var i="clippingParents"===t?function(e){var t=_e(we(e)),r=["absolute","fixed"].indexOf(me(e).position)>=0&&ie(e)?Ee(e):e;return oe(r)?t.filter((function(e){return oe(e)&&He(e,r)&&"body"!==ue(e)})):[]}(e):[].concat(t),n=[].concat(i,[r]),s=n[0],a=n.reduce((function(t,r){var i=Ie(e,r,o);return t.top=se(i.top,t.top),t.right=ae(i.right,t.right),t.bottom=ae(i.bottom,t.bottom),t.left=se(i.left,t.left),t}),Ie(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Fe(e){return e.split("-")[1]}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Je(e){var t,r=e.reference,o=e.element,i=e.placement,n=i?Be(i):null,s=i?Fe(i):null,a=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(n){case Pe:t={x:a,y:r.y-o.height};break;case Ce:t={x:a,y:r.y+r.height};break;case ke:t={x:r.x+r.width,y:l};break;case Te:t={x:r.x-o.width,y:l};break;default:t={x:r.x,y:r.y}}var d=n?$e(n):null;if(null!=d){var c="y"===d?"height":"width";switch(s){case De:t[d]=t[d]-(r[c]/2-o[c]/2);break;case Ve:t[d]=t[d]+(r[c]/2-o[c]/2)}}return t}function Xe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ye(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Ge(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,n=r.strategy,s=void 0===n?e.strategy:n,a=r.boundary,l=void 0===a?"clippingParents":a,d=r.rootBoundary,c=void 0===d?Le:d,p=r.elementContext,h=void 0===p?je:p,u=r.altBoundary,f=void 0!==u&&u,g=r.padding,m=void 0===g?0:g,v=Xe("number"!=typeof m?m:Ye(m,Ne)),y=h===je?"reference":je,b=e.rects.popper,w=e.elements[f?y:h],x=ze(oe(w)?w:w.contextElement||fe(e.elements.popper),l,c,s),_=pe(e.elements.reference),S=Je({reference:_,element:b,strategy:"absolute",placement:i}),O=qe(Object.assign({},b,S)),E=h===je?O:_,P={top:x.top-E.top+v.top,bottom:E.bottom-x.bottom+v.bottom,left:x.left-E.left+v.left,right:E.right-x.right+v.right},C=e.modifiersData.offset;if(h===je&&C){var k=C[i];Object.keys(P).forEach((function(e){var t=[ke,Ce].indexOf(e)>=0?1:-1,r=[Pe,Ce].indexOf(e)>=0?"y":"x";P[e]+=k[r]*t}))}return P}var Ke={placement:"bottom",modifiers:[],strategy:"absolute"};function Qe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ze(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,o=void 0===r?[]:r,i=t.defaultOptions,n=void 0===i?Ke:i;return function(e,t,r){void 0===r&&(r=n);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ke,n),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],d=!1,c={state:a,setOptions:function(r){var i="function"==typeof r?r(a.options):r;p(),a.options=Object.assign({},n,a.options,i),a.scrollParents={reference:oe(e)?_e(e):e.contextElement?_e(e.contextElement):[],popper:_e(t)};var s,d,h=function(e){var t=We(e);return Ue.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((s=[].concat(o,a.options.modifiers),d=s.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,o=void 0===r?{}:r,i=e.effect;if("function"==typeof i){var n=i({state:a,name:t,instance:c,options:o}),s=function(){};l.push(n||s)}})),c.update()},forceUpdate:function(){if(!d){var e=a.elements,t=e.reference,r=e.popper;if(Qe(t,r)){a.rects={reference:ye(t,Ee(r),"fixed"===a.options.strategy),popper:be(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var i=a.orderedModifiers[o],n=i.fn,s=i.options,l=void 0===s?{}:s,p=i.name;"function"==typeof n&&(a=n({state:a,options:l,name:p,instance:c})||a)}else a.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){c.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){p(),d=!0}};if(!Qe(e,t))return c;function p(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(r).then((function(e){!d&&r.onFirstUpdate&&r.onFirstUpdate(e)})),c}}var et={passive:!0};var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rt(e){var t,r=e.popper,o=e.popperRect,i=e.placement,n=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,d=e.adaptive,c=e.roundOffsets,p=e.isFixed,h=s.x,u=void 0===h?0:h,f=s.y,g=void 0===f?0:f,m="function"==typeof c?c({x:u,y:g}):{x:u,y:g};u=m.x,g=m.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=Te,w=Pe,x=window;if(d){var _=Ee(r),S="clientHeight",O="clientWidth";if(_===re(r)&&"static"!==me(_=fe(r)).position&&"absolute"===a&&(S="scrollHeight",O="scrollWidth"),i===Pe||(i===Te||i===ke)&&n===Ve)w=Ce,g-=(p&&_===x&&x.visualViewport?x.visualViewport.height:_[S])-o.height,g*=l?1:-1;if(i===Te||(i===Pe||i===Ce)&&n===Ve)b=ke,u-=(p&&_===x&&x.visualViewport?x.visualViewport.width:_[O])-o.width,u*=l?1:-1}var E,P=Object.assign({position:a},d&&tt),C=!0===c?function(e){var t=e.x,r=e.y,o=window.devicePixelRatio||1;return{x:le(t*o)/o||0,y:le(r*o)/o||0}}({x:u,y:g}):{x:u,y:g};return u=C.x,g=C.y,l?Object.assign({},P,((E={})[w]=y?"0":"",E[b]=v?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+u+"px, "+g+"px)":"translate3d("+u+"px, "+g+"px, 0)",E)):Object.assign({},P,((t={})[w]=y?g+"px":"",t[b]=v?u+"px":"",t.transform="",t))}var ot={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,o=e.name,i=r.offset,n=void 0===i?[0,0]:i,s=Me.reduce((function(e,r){return e[r]=function(e,t,r){var o=Be(e),i=[Te,Pe].indexOf(o)>=0?-1:1,n="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=n[0],a=n[1];return s=s||0,a=(a||0)*i,[Te,ke].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(r,t.rects,n),e}),{}),a=s[t.placement],l=a.x,d=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=s}},it={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(e){return e.replace(/left|right|bottom|top/g,(function(e){return it[e]}))}var st={start:"end",end:"start"};function at(e){return e.replace(/start|end/g,(function(e){return st[e]}))}function lt(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=r.boundary,n=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,d=void 0===l?Me:l,c=Fe(o),p=c?a?Re:Re.filter((function(e){return Fe(e)===c})):Ne,h=p.filter((function(e){return d.indexOf(e)>=0}));0===h.length&&(h=p);var u=h.reduce((function(t,r){return t[r]=Ge(e,{placement:r,boundary:i,rootBoundary:n,padding:s})[Be(r)],t}),{});return Object.keys(u).sort((function(e,t){return u[e]-u[t]}))}var dt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=r.mainAxis,n=void 0===i||i,s=r.altAxis,a=void 0===s||s,l=r.fallbackPlacements,d=r.padding,c=r.boundary,p=r.rootBoundary,h=r.altBoundary,u=r.flipVariations,f=void 0===u||u,g=r.allowedAutoPlacements,m=t.options.placement,v=Be(m),y=l||(v===m||!f?[nt(m)]:function(e){if(Be(e)===Ae)return[];var t=nt(e);return[at(e),t,at(t)]}(m)),b=[m].concat(y).reduce((function(e,r){return e.concat(Be(r)===Ae?lt(t,{placement:r,boundary:c,rootBoundary:p,padding:d,flipVariations:f,allowedAutoPlacements:g}):r)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,S=!0,O=b[0],E=0;E<b.length;E++){var P=b[E],C=Be(P),k=Fe(P)===De,T=[Pe,Ce].indexOf(C)>=0,A=T?"width":"height",N=Ge(t,{placement:P,boundary:c,rootBoundary:p,altBoundary:h,padding:d}),D=T?k?ke:Te:k?Ce:Pe;w[A]>x[A]&&(D=nt(D));var V=nt(D),L=[];if(n&&L.push(N[C]<=0),a&&L.push(N[D]<=0,N[V]<=0),L.every((function(e){return e}))){O=P,S=!1;break}_.set(P,L)}if(S)for(var j=function(e){var t=b.find((function(t){var r=_.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},R=f?3:1;R>0;R--){if("break"===j(R))break}t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ct(e,t,r){return se(e,ae(t,r))}var pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name,i=r.mainAxis,n=void 0===i||i,s=r.altAxis,a=void 0!==s&&s,l=r.boundary,d=r.rootBoundary,c=r.altBoundary,p=r.padding,h=r.tether,u=void 0===h||h,f=r.tetherOffset,g=void 0===f?0:f,m=Ge(t,{boundary:l,rootBoundary:d,padding:p,altBoundary:c}),v=Be(t.placement),y=Fe(t.placement),b=!y,w=$e(v),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(_){if(n){var T,A="y"===w?Pe:Te,N="y"===w?Ce:ke,D="y"===w?"height":"width",V=_[w],L=V+m[A],j=V-m[N],R=u?-O[D]/2:0,M=y===De?S[D]:O[D],U=y===De?-O[D]:-S[D],W=t.elements.arrow,B=u&&W?be(W):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=H[A],I=H[N],z=ct(0,S[D],B[D]),F=b?S[D]/2-R-z-q-P.mainAxis:M-z-q-P.mainAxis,$=b?-S[D]/2+R+z+I+P.mainAxis:U+z+I+P.mainAxis,J=t.elements.arrow&&Ee(t.elements.arrow),X=J?"y"===w?J.clientTop||0:J.clientLeft||0:0,Y=null!=(T=null==C?void 0:C[w])?T:0,G=V+$-Y,K=ct(u?ae(L,V+F-Y-X):L,V,u?se(j,G):j);_[w]=K,k[w]=K-V}if(a){var Q,Z="x"===w?Pe:Te,ee="x"===w?Ce:ke,te=_[x],re="y"===x?"height":"width",oe=te+m[Z],ie=te-m[ee],ne=-1!==[Pe,Te].indexOf(v),le=null!=(Q=null==C?void 0:C[x])?Q:0,de=ne?oe:te-S[re]-O[re]-le+P.altAxis,ce=ne?te+S[re]+O[re]-le-P.altAxis:ie,pe=u&&ne?function(e,t,r){var o=ct(e,t,r);return o>r?r:o}(de,te,ce):ct(u?de:oe,te,u?ce:ie);_[x]=pe,k[x]=pe-te}t.modifiersData[o]=k}},requiresIfExists:["offset"]};var ht={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,o=e.name,i=e.options,n=r.elements.arrow,s=r.modifiersData.popperOffsets,a=Be(r.placement),l=$e(a),d=[Te,ke].indexOf(a)>=0?"height":"width";if(n&&s){var c=function(e,t){return Xe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ye(e,Ne))}(i.padding,r),p=be(n),h="y"===l?Pe:Te,u="y"===l?Ce:ke,f=r.rects.reference[d]+r.rects.reference[l]-s[l]-r.rects.popper[d],g=s[l]-r.rects.reference[l],m=Ee(n),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=c[h],w=v-p[d]-c[u],x=v/2-p[d]/2+y,_=ct(b,x,w),S=l;r.modifiersData[o]=((t={})[S]=_,t.centerOffset=_-x,t)}},effect:function(e){var t=e.state,r=e.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&He(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ft(e){return[Pe,ke,Ce,Te].some((function(t){return e[t]>=0}))}var gt=Ze({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=e.options,i=o.scroll,n=void 0===i||i,s=o.resize,a=void 0===s||s,l=re(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return n&&d.forEach((function(e){e.addEventListener("scroll",r.update,et)})),a&&l.addEventListener("resize",r.update,et),function(){n&&d.forEach((function(e){e.removeEventListener("scroll",r.update,et)})),a&&l.removeEventListener("resize",r.update,et)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Je({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,o=r.gpuAcceleration,i=void 0===o||o,n=r.adaptive,s=void 0===n||n,a=r.roundOffsets,l=void 0===a||a,d={placement:Be(t.placement),variation:Fe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,rt(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,rt(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];ie(i)&&ue(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},n=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});ie(o)&&ue(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},ot,dt,pt,ht,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,o=t.rects.reference,i=t.rects.popper,n=t.modifiersData.preventOverflow,s=Ge(t,{elementContext:"reference"}),a=Ge(t,{altBoundary:!0}),l=ut(s,o),d=ut(a,i,n),c=ft(l),p=ft(d);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}}]});class mt{constructor(e,t,r){this.anchor=e,this.popover=t,this.options={placement:r,visibleClass:"data-show"},this.popover.classList.remove(this.options.visibleClass)}show(){this.popper&&this.popper.destroy(),this.popper=gt(this.anchor,this.popover,{tooltip:this.anchor,placement:this.options.placement,strategy:"absolute"})}hide(){this.popover.classList.remove(this.options.visibleClass)}triggerUpdate(){this.popper.update()}}class vt extends ee{constructor(){super(),this.isPopoverVisible=!1,this.matchWidth=!1,this.noHideOnThisFocusLoss=!1,this.privateDefaults()}privateDefaults(){this.bordered=!1,this.chevron=!1,this.disabled=!1,this.error=!1,this.inset=!1,this.placement="bottom-start",this.rounded=!1,this.ready=!1,this.tabIndex=0,this.noToggle=!1}static get properties(){return{bordered:{type:Boolean,reflect:!0},chevron:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},error:{type:Boolean,reflect:!0},inset:{type:Boolean,reflect:!0},matchWidth:{type:Boolean,reflect:!0},rounded:{type:Boolean,reflect:!0},noToggle:{type:Boolean,reflect:!0},noHideOnThisFocusLoss:{type:Boolean,reflect:!0},isPopoverVisible:{type:Boolean},ready:{type:Boolean},dropdownWidth:{type:Number},placement:{type:String},tabIndex:{type:Number}}}static get styles(){return Q`${te}`}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}fixWidth(){this.matchWidth&&(this.dropdownWidth=this.getBoundingClientRect().width)}handleTriggerTabIndex(){const e=this.querySelector('[slot="trigger"');if(!e.getAttribute("tabindex")){["a","button",'input:not([type="hidden])',"select","textarea",'[tabindex]:not([tabindex="-1"])',"auro-button","auro-input","auro-hyperlink"].forEach((t=>{(e.matches(t)||e.querySelector(t))&&(this.tabIndex=-1)}))}}handleFocusLoss(){this.noHideOnThisFocusLoss||this.hasAttribute("noHideOnThisFocusLoss")||(document.activeElement.addEventListener("focusout",(()=>{document.activeElement===document.querySelector("body")||this.contains(document.activeElement)||this.hide()})),document.querySelector("body").addEventListener("click",(e=>{e.composedPath().includes(this)||this.hide()})))}firstUpdated(){this.fixWidth(),this.trigger=this.shadowRoot.querySelector("#trigger"),this.trigger.setAttribute("aria-expanded",this.isPopoverVisible),this.triggerChevron=this.shadowRoot.querySelector("#showStateIcon"),this.popover=this.shadowRoot.querySelector("#popover"),this.popper=new mt(this.trigger,this.popover,this.placement);const e=()=>{this.toggleShow()},t=()=>{this.isPopoverVisible?this.toggleHide():e()},r=e=>{"escape"===e.key.toLowerCase()&&this.toggleHide()},o=t=>{const r=t.key.toLowerCase();" "!==r&&"enter"!==r||(t.preventDefault(),e())},i=e=>{const r=e.key.toLowerCase();" "!==r&&"enter"!==r||(e.preventDefault(),t())},n=()=>{const e=new CustomEvent("auroDropdown-triggerClick",{composed:!0});this.dispatchEvent(e)};this.hasAttribute("disableEventShow")?(this.trigger.addEventListener("click",n),this.trigger.addEventListener("keydown",(e=>{const t=e.key.toLowerCase();" "!==t&&"enter"!==t||n()}))):(this.trigger.addEventListener("click",(()=>{this.trigger.focus()})),this.noToggle?(this.trigger.addEventListener("click",e),this.trigger.addEventListener("keydown",o)):(this.trigger.addEventListener("click",t),this.trigger.addEventListener("keydown",i))),this.trigger.addEventListener("keydown",r),this.popover.addEventListener("keydown",r),window.addEventListener("blur",(()=>{this.hide()})),this.notifyReady()}notifyReady(){this.ready=!0,this.dispatchEvent(new CustomEvent("auroDropdown-ready",{bubbles:!0,cancelable:!1,composed:!0}))}toggleHide(){this.popper.hide(),this.isPopoverVisible=!1,this.removeAttribute("data-show"),this.chevron&&this.triggerChevron.removeAttribute("data-expanded"),this.dispatchEventDropdownToggle()}toggleShow(){this.hasAttribute("disabled")||(document.expandedAuroDropdown&&document.expandedAuroDropdown.hide(),document.expandedAuroDropdown=this,this.fixWidth(),this.popper.show(),this.isPopoverVisible=!0,this.setAttribute("data-show",!0),this.chevron&&this.triggerChevron.setAttribute("data-expanded",!0),this.handleFocusLoss(),this.dispatchEventDropdownToggle())}hide(){this.toggleHide()}show(){this.toggleShow()}dispatchEventDropdownToggle(){const e=new CustomEvent("dropdownToggled",{detail:{expanded:this.isPopoverVisible},composed:!0});this.dispatchEvent(e);const t=new CustomEvent("auroDropdown-toggled",{detail:{expanded:this.isPopoverVisible},composed:!0});this.dispatchEvent(t)}updated(e){e.has("isPopoverVisible")&&this.trigger.setAttribute("aria-expanded",this.isPopoverVisible)}render(){return M`<div id="trigger" class="trigger" part="trigger" role="button" aria-labelledby="triggerLabel" aria-controls="popover" data-trigger-placement="${this.placement}" tabindex="${this.tabIndex}"><div class="triggerContentWrapper"><label class="label" id="triggerLabel"><slot name="label"></slot></label><div class="triggerContent" chevron="${this.chevron}"><slot name="trigger" @slotchange="${this.handleTriggerTabIndex()}"></slot></div></div>${this.chevron?M`<div id="showStateIcon" part="chevron"><auro-icon category="interface" name="chevron-down" customColor></auro-icon></div>`:void 0}</div><div class="helpText" part="helpText"><slot name="helpText"></slot></div><div id="popover" class="popover" part="popover" aria-live="polite" style="${`min-width: ${this.dropdownWidth}px;`}"><slot role="tooltip"></slot></div>`}}customElements.get("auro-dropdown")||customElements.define("auro-dropdown",vt);
(window.litElementVersions||(window.litElementVersions=[])).push("2.5.1");const ee={};class te extends Y{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,r)=>e.reduceRight(((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e)),r),r=t(e,new Set),o=[];r.forEach((e=>o.unshift(e))),this._styles=o}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map((e=>{if(e instanceof CSSStyleSheet&&!G){const t=Array.prototype.slice.call(e.cssRules).reduce(((e,t)=>e+t.cssText),"");return new Q(String(t),K)}return e}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow(this.constructor.shadowRootOptions)}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?G?this.renderRoot.adoptedStyleSheets=e.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map((e=>e.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==ee&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)})))}render(){return ee}}te.finalized=!0,te.render=(e,r,o)=>{if(!o||"object"!=typeof o||!o.scopeName)throw new Error("The `scopeName` option is required.");const i=o.scopeName,n=R.has(r),s=B&&11===r.nodeType&&!!r.host,a=s&&!I.has(i),l=a?document.createDocumentFragment():r;if(((e,r,o)=>{let i=R.get(r);void 0===i&&(t(r,r.firstChild),R.set(r,i=new C(Object.assign({templateFactory:L},o))),i.appendInto(r)),i.setValue(e),i.commit()})(e,l,Object.assign({templateFactory:H(i)},o)),a){const e=R.get(l);R.delete(l);const o=e.value instanceof b?e.value.template:void 0;z(i,l,o),t(r,r.firstChild),r.appendChild(l),R.set(r,e)}!n&&s&&window.ShadyCSS.styleElement(r.host)},te.shadowRootOptions={mode:"open"};var re=Z`.popover{display:inline-block;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);box-shadow:-2px 0 5px 2px rgba(0,0,0,.08),0 2px 5px 1px rgba(0,0,0,.08);color:var(--auro-color-text-primary-on-light)}.label{color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);color:var(--auro-color-text-primary-on-light)}.trigger:active,.trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}.trigger:focus-within:not(:active){box-shadow:inset 0 0 0 1px var(--auro-color-ui-default-on-light)}@media(hover:hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{flex:1}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--auro-size-xs);color:var(--auro-color-icon-primary-on-light)}#showStateIcon auro-icon{height:1.5rem;line-height:1.5rem}#showStateIcon[data-expanded=true] auro-icon{transform:rotate(-180deg)}.helpText{margin-top:4px;color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}:host(:not([data-show])) .popover{display:none}:host([data-show]) .popover{z-index:var(--auro-depth-tooltip)}:host([common]) .popover,:host([common]) .trigger,:host([rounded]) .popover,:host([rounded]) .trigger{overflow:hidden;border-radius:var(--auro-border-radius)}:host([common]) .trigger,:host([inset]) .trigger{padding:var(--auro-size-xs) var(--auro-size-sm)}:host([disabled]){pointer-events:none}:host([disabled]) #showStateIcon,:host([disabled]) .label,:host([disabled]) .trigger{color:var(--auro-color-text-disabled-on-light)}:host([bordered]) .trigger,:host([common]) .trigger{border-color:var(--auro-color-border-primary-on-light)}:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within,:host([common]) .trigger:active,:host([common]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}:host([error]) .helpText{color:var(--auro-color-text-error-on-light)}:host([error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([disabled][bordered]) .trigger,:host([disabled][common]) .trigger{border-color:var(--auro-color-border-disabled)}:host([bordered][error]) .trigger,:host([common][error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([bordered][error]) .trigger:focus-within,:host([common][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([bordered][error]) .trigger:active,:host([common][error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([onDark]) .trigger{color:var(--auro-color-text-primary-on-dark)}:host([onDark]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark]) .helpText,:host([onDark]) .label{color:var(--auro-color-text-secondary-on-dark)}:host([onDark]) #showStateIcon{color:var(--auro-color-icon-primary-on-dark)}@media(hover:hover){:host([onDark]) .trigger:hover{background-color:rgba(178,178,178,.1)}}:host([onDark][error]) .helpText{color:var(--auro-color-text-error-on-dark)}:host([onDark][error]) .trigger{border-color:var(--auro-color-border-error-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-dark)}:host([onDark][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark][error]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark][disabled]) .helpText,:host([onDark][disabled]) .label,:host([onDark][disabled]) .trigger{color:var(--auro-color-text-disabled-on-dark)}:host([onDark][disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled-on-dark)}`;function oe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ie(e){return e instanceof oe(e).Element||e instanceof Element}function ne(e){return e instanceof oe(e).HTMLElement||e instanceof HTMLElement}function se(e){return"undefined"!=typeof ShadowRoot&&(e instanceof oe(e).ShadowRoot||e instanceof ShadowRoot)}var ae=Math.max,le=Math.min,de=Math.round;function ce(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function pe(){return!/^((?!chrome|android).)*safari/i.test(ce())}function he(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=e.getBoundingClientRect(),i=1,n=1;t&&ne(e)&&(i=e.offsetWidth>0&&de(o.width)/e.offsetWidth||1,n=e.offsetHeight>0&&de(o.height)/e.offsetHeight||1);var s=(ie(e)?oe(e):window).visualViewport,a=!pe()&&r,l=(o.left+(a&&s?s.offsetLeft:0))/i,d=(o.top+(a&&s?s.offsetTop:0))/n,c=o.width/i,p=o.height/n;return{width:c,height:p,top:d,right:l+c,bottom:d+p,left:l,x:l,y:d}}function ue(e){var t=oe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fe(e){return e?(e.nodeName||"").toLowerCase():null}function ge(e){return((ie(e)?e.ownerDocument:e.document)||window.document).documentElement}function me(e){return he(ge(e)).left+ue(e).scrollLeft}function ve(e){return oe(e).getComputedStyle(e)}function ye(e){var t=ve(e),r=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+o)}function be(e,t,r){void 0===r&&(r=!1);var o,i,n=ne(t),s=ne(t)&&function(e){var t=e.getBoundingClientRect(),r=de(t.width)/e.offsetWidth||1,o=de(t.height)/e.offsetHeight||1;return 1!==r||1!==o}(t),a=ge(t),l=he(e,s,r),d={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==fe(t)||ye(a))&&(d=(o=t)!==oe(o)&&ne(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:ue(o)),ne(t)?((c=he(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=me(a))),{x:l.left+d.scrollLeft-c.x,y:l.top+d.scrollTop-c.y,width:l.width,height:l.height}}function we(e){var t=he(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function xe(e){return"html"===fe(e)?e:e.assignedSlot||e.parentNode||(se(e)?e.host:null)||ge(e)}function _e(e){return["html","body","#document"].indexOf(fe(e))>=0?e.ownerDocument.body:ne(e)&&ye(e)?e:_e(xe(e))}function Se(e,t){var r;void 0===t&&(t=[]);var o=_e(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),n=oe(o),s=i?[n].concat(n.visualViewport||[],ye(o)?o:[]):o,a=t.concat(s);return i?a:a.concat(Se(xe(s)))}function Oe(e){return["table","td","th"].indexOf(fe(e))>=0}function Ee(e){return ne(e)&&"fixed"!==ve(e).position?e.offsetParent:null}function Pe(e){for(var t=oe(e),r=Ee(e);r&&Oe(r)&&"static"===ve(r).position;)r=Ee(r);return r&&("html"===fe(r)||"body"===fe(r)&&"static"===ve(r).position)?t:r||function(e){var t=/firefox/i.test(ce());if(/Trident/i.test(ce())&&ne(e)&&"fixed"===ve(e).position)return null;var r=xe(e);for(se(r)&&(r=r.host);ne(r)&&["html","body"].indexOf(fe(r))<0;){var o=ve(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e)||t}var Ce="top",ke="bottom",Te="right",Ae="left",Ne="auto",De=[Ce,ke,Te,Ae],Ve="start",Le="end",je="clippingParents",Re="viewport",Me="popper",Ue="reference",We=De.reduce((function(e,t){return e.concat([t+"-"+Ve,t+"-"+Le])}),[]),Be=[].concat(De,[Ne]).reduce((function(e,t){return e.concat([t,t+"-"+Ve,t+"-"+Le])}),[]),He=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qe(e){var t=new Map,r=new Set,o=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var o=t.get(e);o&&i(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),o}function Ie(e){return e.split("-")[0]}function ze(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&se(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $e(e,t,r){return t===Re?Fe(function(e,t){var r=oe(e),o=ge(e),i=r.visualViewport,n=o.clientWidth,s=o.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;var d=pe();(d||!d&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:n,height:s,x:a+me(e),y:l}}(e,r)):ie(t)?function(e,t){var r=he(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Fe(function(e){var t,r=ge(e),o=ue(e),i=null==(t=e.ownerDocument)?void 0:t.body,n=ae(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=ae(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+me(e),l=-o.scrollTop;return"rtl"===ve(i||r).direction&&(a+=ae(r.clientWidth,i?i.clientWidth:0)-n),{width:n,height:s,x:a,y:l}}(ge(e)))}function Je(e,t,r,o){var i="clippingParents"===t?function(e){var t=Se(xe(e)),r=["absolute","fixed"].indexOf(ve(e).position)>=0&&ne(e)?Pe(e):e;return ie(r)?t.filter((function(e){return ie(e)&&ze(e,r)&&"body"!==fe(e)})):[]}(e):[].concat(t),n=[].concat(i,[r]),s=n[0],a=n.reduce((function(t,r){var i=$e(e,r,o);return t.top=ae(i.top,t.top),t.right=le(i.right,t.right),t.bottom=le(i.bottom,t.bottom),t.left=ae(i.left,t.left),t}),$e(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Xe(e){return e.split("-")[1]}function Ye(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ge(e){var t,r=e.reference,o=e.element,i=e.placement,n=i?Ie(i):null,s=i?Xe(i):null,a=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2;switch(n){case Ce:t={x:a,y:r.y-o.height};break;case ke:t={x:a,y:r.y+r.height};break;case Te:t={x:r.x+r.width,y:l};break;case Ae:t={x:r.x-o.width,y:l};break;default:t={x:r.x,y:r.y}}var d=n?Ye(n):null;if(null!=d){var c="y"===d?"height":"width";switch(s){case Ve:t[d]=t[d]-(r[c]/2-o[c]/2);break;case Le:t[d]=t[d]+(r[c]/2-o[c]/2)}}return t}function Ke(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Qe(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Ze(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,n=r.strategy,s=void 0===n?e.strategy:n,a=r.boundary,l=void 0===a?je:a,d=r.rootBoundary,c=void 0===d?Re:d,p=r.elementContext,h=void 0===p?Me:p,u=r.altBoundary,f=void 0!==u&&u,g=r.padding,m=void 0===g?0:g,v=Ke("number"!=typeof m?m:Qe(m,De)),y=h===Me?Ue:Me,b=e.rects.popper,w=e.elements[f?y:h],x=Je(ie(w)?w:w.contextElement||ge(e.elements.popper),l,c,s),_=he(e.elements.reference),S=Ge({reference:_,element:b,strategy:"absolute",placement:i}),O=Fe(Object.assign({},b,S)),E=h===Me?O:_,P={top:x.top-E.top+v.top,bottom:E.bottom-x.bottom+v.bottom,left:x.left-E.left+v.left,right:E.right-x.right+v.right},C=e.modifiersData.offset;if(h===Me&&C){var k=C[i];Object.keys(P).forEach((function(e){var t=[Te,ke].indexOf(e)>=0?1:-1,r=[Ce,ke].indexOf(e)>=0?"y":"x";P[e]+=k[r]*t}))}return P}var et={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function rt(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,o=void 0===r?[]:r,i=t.defaultOptions,n=void 0===i?et:i;return function(e,t,r){void 0===r&&(r=n);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},et,n),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],d=!1,c={state:a,setOptions:function(r){var i="function"==typeof r?r(a.options):r;p(),a.options=Object.assign({},n,a.options,i),a.scrollParents={reference:ie(e)?Se(e):e.contextElement?Se(e.contextElement):[],popper:Se(t)};var s,d,h=function(e){var t=qe(e);return He.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((s=[].concat(o,a.options.modifiers),d=s.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,o=void 0===r?{}:r,i=e.effect;if("function"==typeof i){var n=i({state:a,name:t,instance:c,options:o}),s=function(){};l.push(n||s)}})),c.update()},forceUpdate:function(){if(!d){var e=a.elements,t=e.reference,r=e.popper;if(tt(t,r)){a.rects={reference:be(t,Pe(r),"fixed"===a.options.strategy),popper:we(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var i=a.orderedModifiers[o],n=i.fn,s=i.options,l=void 0===s?{}:s,p=i.name;"function"==typeof n&&(a=n({state:a,options:l,name:p,instance:c})||a)}else a.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){c.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){p(),d=!0}};if(!tt(e,t))return c;function p(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(r).then((function(e){!d&&r.onFirstUpdate&&r.onFirstUpdate(e)})),c}}var ot={passive:!0};var it={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nt(e){var t,r=e.popper,o=e.popperRect,i=e.placement,n=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,d=e.adaptive,c=e.roundOffsets,p=e.isFixed,h=s.x,u=void 0===h?0:h,f=s.y,g=void 0===f?0:f,m="function"==typeof c?c({x:u,y:g}):{x:u,y:g};u=m.x,g=m.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=Ae,w=Ce,x=window;if(d){var _=Pe(r),S="clientHeight",O="clientWidth";if(_===oe(r)&&"static"!==ve(_=ge(r)).position&&"absolute"===a&&(S="scrollHeight",O="scrollWidth"),i===Ce||(i===Ae||i===Te)&&n===Le)w=ke,g-=(p&&_===x&&x.visualViewport?x.visualViewport.height:_[S])-o.height,g*=l?1:-1;if(i===Ae||(i===Ce||i===ke)&&n===Le)b=Te,u-=(p&&_===x&&x.visualViewport?x.visualViewport.width:_[O])-o.width,u*=l?1:-1}var E,P=Object.assign({position:a},d&&it),C=!0===c?function(e){var t=e.x,r=e.y,o=window.devicePixelRatio||1;return{x:de(t*o)/o||0,y:de(r*o)/o||0}}({x:u,y:g}):{x:u,y:g};return u=C.x,g=C.y,l?Object.assign({},P,((E={})[w]=y?"0":"",E[b]=v?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+u+"px, "+g+"px)":"translate3d("+u+"px, "+g+"px, 0)",E)):Object.assign({},P,((t={})[w]=y?g+"px":"",t[b]=v?u+"px":"",t.transform="",t))}var st={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,o=e.name,i=r.offset,n=void 0===i?[0,0]:i,s=Be.reduce((function(e,r){return e[r]=function(e,t,r){var o=Ie(e),i=[Ae,Ce].indexOf(o)>=0?-1:1,n="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=n[0],a=n[1];return s=s||0,a=(a||0)*i,[Ae,Te].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(r,t.rects,n),e}),{}),a=s[t.placement],l=a.x,d=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=s}},at={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e){return e.replace(/left|right|bottom|top/g,(function(e){return at[e]}))}var dt={start:"end",end:"start"};function ct(e){return e.replace(/start|end/g,(function(e){return dt[e]}))}function pt(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=r.boundary,n=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,d=void 0===l?Be:l,c=Xe(o),p=c?a?We:We.filter((function(e){return Xe(e)===c})):De,h=p.filter((function(e){return d.indexOf(e)>=0}));0===h.length&&(h=p);var u=h.reduce((function(t,r){return t[r]=Ze(e,{placement:r,boundary:i,rootBoundary:n,padding:s})[Ie(r)],t}),{});return Object.keys(u).sort((function(e,t){return u[e]-u[t]}))}var ht={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=r.mainAxis,n=void 0===i||i,s=r.altAxis,a=void 0===s||s,l=r.fallbackPlacements,d=r.padding,c=r.boundary,p=r.rootBoundary,h=r.altBoundary,u=r.flipVariations,f=void 0===u||u,g=r.allowedAutoPlacements,m=t.options.placement,v=Ie(m),y=l||(v===m||!f?[lt(m)]:function(e){if(Ie(e)===Ne)return[];var t=lt(e);return[ct(e),t,ct(t)]}(m)),b=[m].concat(y).reduce((function(e,r){return e.concat(Ie(r)===Ne?pt(t,{placement:r,boundary:c,rootBoundary:p,padding:d,flipVariations:f,allowedAutoPlacements:g}):r)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,S=!0,O=b[0],E=0;E<b.length;E++){var P=b[E],C=Ie(P),k=Xe(P)===Ve,T=[Ce,ke].indexOf(C)>=0,A=T?"width":"height",N=Ze(t,{placement:P,boundary:c,rootBoundary:p,altBoundary:h,padding:d}),D=T?k?Te:Ae:k?ke:Ce;w[A]>x[A]&&(D=lt(D));var V=lt(D),L=[];if(n&&L.push(N[C]<=0),a&&L.push(N[D]<=0,N[V]<=0),L.every((function(e){return e}))){O=P,S=!1;break}_.set(P,L)}if(S)for(var j=function(e){var t=b.find((function(t){var r=_.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},R=f?3:1;R>0;R--){if("break"===j(R))break}t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(e,t,r){return ae(e,le(t,r))}var ft={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name,i=r.mainAxis,n=void 0===i||i,s=r.altAxis,a=void 0!==s&&s,l=r.boundary,d=r.rootBoundary,c=r.altBoundary,p=r.padding,h=r.tether,u=void 0===h||h,f=r.tetherOffset,g=void 0===f?0:f,m=Ze(t,{boundary:l,rootBoundary:d,padding:p,altBoundary:c}),v=Ie(t.placement),y=Xe(t.placement),b=!y,w=Ye(v),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(_){if(n){var T,A="y"===w?Ce:Ae,N="y"===w?ke:Te,D="y"===w?"height":"width",V=_[w],L=V+m[A],j=V-m[N],R=u?-O[D]/2:0,M=y===Ve?S[D]:O[D],U=y===Ve?-O[D]:-S[D],W=t.elements.arrow,B=u&&W?we(W):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=H[A],I=H[N],z=ut(0,S[D],B[D]),F=b?S[D]/2-R-z-q-P.mainAxis:M-z-q-P.mainAxis,$=b?-S[D]/2+R+z+I+P.mainAxis:U+z+I+P.mainAxis,J=t.elements.arrow&&Pe(t.elements.arrow),X=J?"y"===w?J.clientTop||0:J.clientLeft||0:0,Y=null!=(T=null==C?void 0:C[w])?T:0,G=V+$-Y,K=ut(u?le(L,V+F-Y-X):L,V,u?ae(j,G):j);_[w]=K,k[w]=K-V}if(a){var Q,Z="x"===w?Ce:Ae,ee="x"===w?ke:Te,te=_[x],re="y"===x?"height":"width",oe=te+m[Z],ie=te-m[ee],ne=-1!==[Ce,Ae].indexOf(v),se=null!=(Q=null==C?void 0:C[x])?Q:0,de=ne?oe:te-S[re]-O[re]-se+P.altAxis,ce=ne?te+S[re]+O[re]-se-P.altAxis:ie,pe=u&&ne?function(e,t,r){var o=ut(e,t,r);return o>r?r:o}(de,te,ce):ut(u?de:oe,te,u?ce:ie);_[x]=pe,k[x]=pe-te}t.modifiersData[o]=k}},requiresIfExists:["offset"]},gt=function(e,t){return Ke("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Qe(e,De))};var mt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,o=e.name,i=e.options,n=r.elements.arrow,s=r.modifiersData.popperOffsets,a=Ie(r.placement),l=Ye(a),d=[Ae,Te].indexOf(a)>=0?"height":"width";if(n&&s){var c=gt(i.padding,r),p=we(n),h="y"===l?Ce:Ae,u="y"===l?ke:Te,f=r.rects.reference[d]+r.rects.reference[l]-s[l]-r.rects.popper[d],g=s[l]-r.rects.reference[l],m=Pe(n),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=c[h],w=v-p[d]-c[u],x=v/2-p[d]/2+y,_=ut(b,x,w),S=l;r.modifiersData[o]=((t={})[S]=_,t.centerOffset=_-x,t)}},effect:function(e){var t=e.state,r=e.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&ze(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vt(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function yt(e){return[Ce,Te,ke,Ae].some((function(t){return e[t]>=0}))}var bt=rt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=e.options,i=o.scroll,n=void 0===i||i,s=o.resize,a=void 0===s||s,l=oe(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return n&&d.forEach((function(e){e.addEventListener("scroll",r.update,ot)})),a&&l.addEventListener("resize",r.update,ot),function(){n&&d.forEach((function(e){e.removeEventListener("scroll",r.update,ot)})),a&&l.removeEventListener("resize",r.update,ot)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,o=r.gpuAcceleration,i=void 0===o||o,n=r.adaptive,s=void 0===n||n,a=r.roundOffsets,l=void 0===a||a,d={placement:Ie(t.placement),variation:Xe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nt(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nt(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];ne(i)&&fe(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},n=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});ne(o)&&fe(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},st,ht,ft,mt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,o=t.rects.reference,i=t.rects.popper,n=t.modifiersData.preventOverflow,s=Ze(t,{elementContext:"reference"}),a=Ze(t,{altBoundary:!0}),l=vt(s,o),d=vt(a,i,n),c=yt(l),p=yt(d);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}}]});class wt{constructor(e,t,r){this.anchor=e,this.popover=t,this.options={placement:r,visibleClass:"data-show"},this.popover.classList.remove(this.options.visibleClass)}show(){this.popper&&this.popper.destroy(),this.popper=bt(this.anchor,this.popover,{tooltip:this.anchor,placement:this.options.placement,strategy:"absolute"})}hide(){this.popover.classList.remove(this.options.visibleClass)}triggerUpdate(){this.popper.update()}}class xt extends te{constructor(){super(),this.isPopoverVisible=!1,this.matchWidth=!1,this.noHideOnThisFocusLoss=!1,this.privateDefaults()}privateDefaults(){this.bordered=!1,this.chevron=!1,this.disabled=!1,this.error=!1,this.inset=!1,this.placement="bottom-start",this.rounded=!1,this.ready=!1,this.tabIndex=0,this.noToggle=!1}static get properties(){return{bordered:{type:Boolean,reflect:!0},chevron:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},error:{type:Boolean,reflect:!0},inset:{type:Boolean,reflect:!0},matchWidth:{type:Boolean,reflect:!0},rounded:{type:Boolean,reflect:!0},noToggle:{type:Boolean,reflect:!0},noHideOnThisFocusLoss:{type:Boolean,reflect:!0},isPopoverVisible:{type:Boolean},ready:{type:Boolean},dropdownWidth:{type:Number},placement:{type:String},tabIndex:{type:Number}}}static get styles(){return Z`${re}`}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}fixWidth(){this.matchWidth&&(this.dropdownWidth=this.getBoundingClientRect().width)}handleTriggerTabIndex(){const e=this.querySelector('[slot="trigger"');if(!e.getAttribute("tabindex")){["a","button",'input:not([type="hidden])',"select","textarea",'[tabindex]:not([tabindex="-1"])',"auro-button","auro-input","auro-hyperlink"].forEach((t=>{(e.matches(t)||e.querySelector(t))&&(this.tabIndex=-1)}))}}handleFocusLoss(){this.noHideOnThisFocusLoss||this.hasAttribute("noHideOnThisFocusLoss")||(document.activeElement.addEventListener("focusout",(()=>{document.activeElement===document.querySelector("body")||this.contains(document.activeElement)||this.hide()})),document.querySelector("body").addEventListener("click",(e=>{e.composedPath().includes(this)||this.hide()})))}firstUpdated(){this.fixWidth(),this.trigger=this.shadowRoot.querySelector("#trigger"),this.trigger.setAttribute("aria-expanded",this.isPopoverVisible),this.triggerChevron=this.shadowRoot.querySelector("#showStateIcon"),this.popover=this.shadowRoot.querySelector("#popover"),this.popper=new wt(this.trigger,this.popover,this.placement);const e=()=>{this.toggleShow()},t=()=>{this.isPopoverVisible?this.toggleHide():e()},r=e=>{"escape"===e.key.toLowerCase()&&this.toggleHide()},o=t=>{const r=t.key.toLowerCase();" "!==r&&"enter"!==r||(t.preventDefault(),e())},i=e=>{const r=e.key.toLowerCase();" "!==r&&"enter"!==r||(e.preventDefault(),t())},n=()=>{const e=new CustomEvent("auroDropdown-triggerClick",{composed:!0});this.dispatchEvent(e)};this.hasAttribute("disableEventShow")?(this.trigger.addEventListener("click",n),this.trigger.addEventListener("keydown",(e=>{const t=e.key.toLowerCase();" "!==t&&"enter"!==t||n()}))):(this.trigger.addEventListener("click",(()=>{this.trigger.focus()})),this.noToggle?(this.trigger.addEventListener("click",e),this.trigger.addEventListener("keydown",o)):(this.trigger.addEventListener("click",t),this.trigger.addEventListener("keydown",i))),this.trigger.addEventListener("keydown",r),this.popover.addEventListener("keydown",r),window.addEventListener("blur",(()=>{this.hide()})),this.notifyReady()}notifyReady(){this.ready=!0,this.dispatchEvent(new CustomEvent("auroDropdown-ready",{bubbles:!0,cancelable:!1,composed:!0}))}toggleHide(){this.popper.hide(),this.isPopoverVisible=!1,this.removeAttribute("data-show"),this.chevron&&this.triggerChevron.removeAttribute("data-expanded"),this.dispatchEventDropdownToggle()}toggleShow(){this.hasAttribute("disabled")||(document.expandedAuroDropdown&&document.expandedAuroDropdown.hide(),document.expandedAuroDropdown=this,this.fixWidth(),this.popper.show(),this.isPopoverVisible=!0,this.setAttribute("data-show",!0),this.chevron&&this.triggerChevron.setAttribute("data-expanded",!0),this.handleFocusLoss(),this.dispatchEventDropdownToggle())}hide(){this.toggleHide()}show(){this.toggleShow()}dispatchEventDropdownToggle(){const e=new CustomEvent("dropdownToggled",{detail:{expanded:this.isPopoverVisible},composed:!0});this.dispatchEvent(e);const t=new CustomEvent("auroDropdown-toggled",{detail:{expanded:this.isPopoverVisible},composed:!0});this.dispatchEvent(t)}updated(e){e.has("isPopoverVisible")&&this.trigger.setAttribute("aria-expanded",this.isPopoverVisible)}render(){return U`<div id="trigger" class="trigger" part="trigger" role="button" aria-labelledby="triggerLabel" aria-controls="popover" data-trigger-placement="${this.placement}" tabindex="${this.tabIndex}"><div class="triggerContentWrapper"><label class="label" id="triggerLabel"><slot name="label"></slot></label><div class="triggerContent" chevron="${this.chevron}"><slot name="trigger" @slotchange="${this.handleTriggerTabIndex()}"></slot></div></div>${this.chevron?U`<div id="showStateIcon" part="chevron"><auro-icon category="interface" name="chevron-down" customColor></auro-icon></div>`:void 0}</div><div class="helpText" part="helpText"><slot name="helpText"></slot></div><div id="popover" class="popover" part="popover" aria-live="polite" style="${`min-width: ${this.dropdownWidth}px;`}"><slot role="tooltip"></slot></div>`}}customElements.get("auro-dropdown")||customElements.define("auro-dropdown",xt);
import {css} from 'lit-element';
export default css`.popover{display:inline-block;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);box-shadow:-2px 0 5px 2px rgba(0, 0, 0, 0.08),0 2px 5px 1px rgba(0, 0, 0, 0.08);color:var(--auro-color-text-primary-on-light)}.label{color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);color:var(--auro-color-text-secondary-on-light)}.trigger:focus-within,.trigger:active{border-color:var(--auro-color-border-active-on-light)}.trigger:focus-within:not(:active){box-shadow:inset 0 0 0 1px var(--auro-color-ui-default-on-light)}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{flex:1}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--auro-size-xs);color:var(--auro-color-icon-primary-on-light)}#showStateIcon auro-icon{height:1.5rem;line-height:1.5rem}#showStateIcon[data-expanded=true] auro-icon{transform:rotate(-180deg)}.helpText{margin-top:4px;color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}:host(:not([data-show])) .popover{display:none}:host([data-show]) .popover{z-index:var(--auro-depth-tooltip)}:host([common]) .trigger,:host([common]) .popover,:host([rounded]) .trigger,:host([rounded]) .popover{overflow:hidden;border-radius:var(--auro-border-radius)}:host([common]) .trigger,:host([inset]) .trigger{padding:var(--auro-size-xs) var(--auro-size-sm)}:host([disabled]){pointer-events:none}:host([disabled]) .trigger,:host([disabled]) .label,:host([disabled]) #showStateIcon{color:var(--auro-color-text-disabled-on-light)}:host([common]) .trigger,:host([bordered]) .trigger{border-color:var(--auro-color-border-primary-on-light)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}:host([error]) .helpText{color:var(--auro-color-text-error-on-light)}:host([error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([disabled][common]) .trigger,:host([disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled)}:host([common][error]) .trigger,:host([bordered][error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([common][error]) .trigger:focus-within,:host([bordered][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([common][error]) .trigger:active,:host([bordered][error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([onDark]) .trigger{color:var(--auro-color-text-primary-on-dark)}:host([onDark]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--auro-color-text-secondary-on-dark)}:host([onDark]) #showStateIcon{color:var(--auro-color-icon-primary-on-dark)}@media(hover: hover){:host([onDark]) .trigger:hover{background-color:rgba(178, 178, 178, 0.1)}}:host([onDark][error]) .helpText{color:var(--auro-color-text-error-on-dark)}:host([onDark][error]) .trigger{border-color:var(--auro-color-border-error-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-dark)}:host([onDark][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark][error]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark][disabled]) .trigger,:host([onDark][disabled]) .label,:host([onDark][disabled]) .helpText{color:var(--auro-color-text-disabled-on-dark)}:host([onDark][disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled-on-dark)}`;
export default css`.popover{display:inline-block;box-sizing:border-box;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);box-shadow:-2px 0 5px 2px rgba(0, 0, 0, 0.08),0 2px 5px 1px rgba(0, 0, 0, 0.08);color:var(--auro-color-text-primary-on-light)}.label{color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid;border-color:transparent;background-color:var(--auro-color-background-lightest);color:var(--auro-color-text-primary-on-light)}.trigger:focus-within,.trigger:active{border-color:var(--auro-color-border-active-on-light)}.trigger:focus-within:not(:active){box-shadow:inset 0 0 0 1px var(--auro-color-ui-default-on-light)}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{flex:1}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--auro-size-xs);color:var(--auro-color-icon-primary-on-light)}#showStateIcon auro-icon{height:1.5rem;line-height:1.5rem}#showStateIcon[data-expanded=true] auro-icon{transform:rotate(-180deg)}.helpText{margin-top:4px;color:var(--auro-color-text-secondary-on-light);font-size:var(--auro-text-body-size-xs);line-height:var(--auro-text-body-size-default)}:host(:not([data-show])) .popover{display:none}:host([data-show]) .popover{z-index:var(--auro-depth-tooltip)}:host([common]) .trigger,:host([common]) .popover,:host([rounded]) .trigger,:host([rounded]) .popover{overflow:hidden;border-radius:var(--auro-border-radius)}:host([common]) .trigger,:host([inset]) .trigger{padding:var(--auro-size-xs) var(--auro-size-sm)}:host([disabled]){pointer-events:none}:host([disabled]) .trigger,:host([disabled]) .label,:host([disabled]) #showStateIcon{color:var(--auro-color-text-disabled-on-light)}:host([common]) .trigger,:host([bordered]) .trigger{border-color:var(--auro-color-border-primary-on-light)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light)}:host([error]) .helpText{color:var(--auro-color-text-error-on-light)}:host([error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([disabled][common]) .trigger,:host([disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled)}:host([common][error]) .trigger,:host([bordered][error]) .trigger{border-color:var(--auro-color-border-error-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-light)}:host([common][error]) .trigger:focus-within,:host([bordered][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-light);box-shadow:none}:host([common][error]) .trigger:active,:host([bordered][error]) .trigger:active{border-color:var(--auro-color-border-active-on-light);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-light)}:host([onDark]) .trigger{color:var(--auro-color-text-primary-on-dark)}:host([onDark]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--auro-color-text-secondary-on-dark)}:host([onDark]) #showStateIcon{color:var(--auro-color-icon-primary-on-dark)}@media(hover: hover){:host([onDark]) .trigger:hover{background-color:rgba(178, 178, 178, 0.1)}}:host([onDark][error]) .helpText{color:var(--auro-color-text-error-on-dark)}:host([onDark][error]) .trigger{border-color:var(--auro-color-border-error-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-error-on-dark)}:host([onDark][error]) .trigger:focus-within{border-color:var(--auro-color-border-active-on-dark);box-shadow:none}:host([onDark][error]) .trigger:active{border-color:var(--auro-color-border-active-on-dark);box-shadow:inset 0 0 0 1px var(--auro-color-border-active-on-dark)}:host([onDark][disabled]) .trigger,:host([onDark][disabled]) .label,:host([onDark][disabled]) .helpText{color:var(--auro-color-text-disabled-on-dark)}:host([onDark][disabled][bordered]) .trigger{border-color:var(--auro-color-border-disabled-on-dark)}`;

@@ -10,3 +10,3 @@ {

"name": "@aurodesignsystem/auro-dropdown",
"version": "2.9.5",
"version": "2.9.6",
"description": "auro-dropdown HTML custom element",

@@ -34,7 +34,7 @@ "repository": {

"devDependencies": {
"@alaskaairux/design-tokens": "^3.12.1",
"@alaskaairux/design-tokens": "^3.12.2",
"@alaskaairux/webcorestylesheets": "^3.7.3",
"@aurodesignsystem/eslint-config": "^1.3.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/cli": "^17.4.3",
"@commitlint/config-conventional": "^17.4.3",
"@open-wc/testing": "^3.1.7",

@@ -55,4 +55,4 @@ "@rollup/plugin-commonjs": "^24.0.0",

"core-js": "^3.27.1",
"eslint": "^8.33.0",
"eslint-plugin-jsdoc": "^39.7.4",
"eslint": "^8.34.0",
"eslint-plugin-jsdoc": "^40.0.0",
"husky": "^8.0.2",

@@ -65,3 +65,3 @@ "lodash": "^4.17.21",

"postcss": "^8.4.20",
"postcss-custom-properties": "^13.1.1",
"postcss-custom-properties": "^13.1.3",
"postcss-discard-comments": "^5.0.1",

@@ -76,10 +76,10 @@ "postcss-rem-to-pixel": "^4.1.2",

"rollup-plugin-terser": "^7.0.2",
"sass": "^1.57.1",
"sass": "^1.58.1",
"semantic-release": "^19.0.5",
"stylelint": "^14.16.1",
"stylelint": "^15.1.0",
"stylelint-config-idiomatic-order": "^9.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint-order": "^6.0.1",
"stylelint-scss": "^4.1.0",
"stylelint-config-standard": "^30.0.1",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-order": "^6.0.2",
"stylelint-scss": "^4.4.0",
"wc-sass-render": "^1.4.0",

@@ -86,0 +86,0 @@ "web-component-analyzer": "^1.1.6",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc