@fluentui/web-components 3.0.0-alpha.26 → 3.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,35 @@
1
- import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(e){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const d=globalThis.FAST;if(void 0===d.getById){const e=Object.create(null);Reflect.defineProperty(d,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===d.error&&Object.assign(d,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const c=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw d.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),x=d.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=d.getById(r.observable,()=>{const e=x.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw d.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new c(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=d.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function F(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let N;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(N),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){N=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const D=h(),E=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function R(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class O{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>R(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){R(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){R(this,t.controller,t)}}E.define(O);const M=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${M}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new O(F(s),V()).createCSS(n):s instanceof T?s=new O(s,V()).createCSS(n):void 0!==E.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}E.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,U=W.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw d.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function de(e){e.startsWith("fast-")||d.warn(1204,{name:e})}const ce=new Proxy(document.createElement("div"),{get(e,t){de(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(de(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ce;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,d=n.length;l<d;++l){const c=n[l],h=c.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,c.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(c),l--,d--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,d=n.length;t<d;++t){const d=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(d)?s.textContent=d:(s.textContent=" ",ee.assignAspect(d),e.addFactory(d,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const d=new re(r);return ee.assignAspect(d,o),d}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class xe{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw d.error(1208);if(this.policy)throw d.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(F(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new xe(r+e[e.length-1],a,o)}}p(xe);const ke=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return xe.create(e,t);throw d.error(1206)};ke.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e);function Be(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Ce=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Ce;class Pe extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,c),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Te extends Pe{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ie(e){return a(e)&&(e={property:e}),new Te(e)}ee.define(Te);const Fe=Object.freeze({locate:u()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function ze(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ne={toView(e){const t=ze(e);return t?t.toString():t},fromView:ze};class Le{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Ae)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||x.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Fe.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new Le(e,r)):o.push(new Le(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Fe.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ee={mode:"open"},Re={},Oe=new Set,Me=d.getById(r.elementRegistry,()=>h());class He{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=Le.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Ee:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ee),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=L.normalize(t.styles),Me.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Oe.has(e)||Me.getByType(e)?new He(class extends e{},t):new He(e,t)}static registerBaseType(e){Oe.add(e)}}He.getByType=Me.getByType,He.getForInstance=Me.getForInstance;const Ve={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function je(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let Ge;class qe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&_e.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=je(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=je(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},Ve),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=je(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=He.getForInstance(e);if(void 0===o)throw d.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function Xe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=je(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class We{constructor(e){const t=We.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){const t=Xe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Xe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}We.styleSheetCache=new Map;let Ue=0;function Ye(e){return e===document?document.body:e}function Ke(e){const t=class extends e{constructor(){super(),qe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return He.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?We:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ue}addStylesTo(e){e=Ye(Xe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Ye(Xe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Qe=Object.assign(Ke(HTMLElement),{from:function(e){return Ke(e)},define:function(e,t){return i(e)?He.compose(e,t).define().type:He.compose(this,e).define().type},compose:function(e,t){return i(e)?He.compose(e,t):He.compose(this,e)}});function Ze(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}function Je(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function et(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}class tt{}Je([De({attribute:"aria-atomic"})],tt.prototype,"ariaAtomic",void 0),Je([De({attribute:"aria-busy"})],tt.prototype,"ariaBusy",void 0),Je([De({attribute:"aria-controls"})],tt.prototype,"ariaControls",void 0),Je([De({attribute:"aria-current"})],tt.prototype,"ariaCurrent",void 0),Je([De({attribute:"aria-describedby"})],tt.prototype,"ariaDescribedby",void 0),Je([De({attribute:"aria-details"})],tt.prototype,"ariaDetails",void 0),Je([De({attribute:"aria-disabled"})],tt.prototype,"ariaDisabled",void 0),Je([De({attribute:"aria-errormessage"})],tt.prototype,"ariaErrormessage",void 0),Je([De({attribute:"aria-flowto"})],tt.prototype,"ariaFlowto",void 0),Je([De({attribute:"aria-haspopup"})],tt.prototype,"ariaHaspopup",void 0),Je([De({attribute:"aria-hidden"})],tt.prototype,"ariaHidden",void 0),Je([De({attribute:"aria-invalid"})],tt.prototype,"ariaInvalid",void 0),Je([De({attribute:"aria-keyshortcuts"})],tt.prototype,"ariaKeyshortcuts",void 0),Je([De({attribute:"aria-label"})],tt.prototype,"ariaLabel",void 0),Je([De({attribute:"aria-labelledby"})],tt.prototype,"ariaLabelledby",void 0),Je([De({attribute:"aria-live"})],tt.prototype,"ariaLive",void 0),Je([De({attribute:"aria-owns"})],tt.prototype,"ariaOwns",void 0),Je([De({attribute:"aria-relevant"})],tt.prototype,"ariaRelevant",void 0),Je([De({attribute:"aria-roledescription"})],tt.prototype,"ariaRoledescription",void 0);class ot{}function rt(e){return ke`<slot name="end" ${we("end")}>${Ze(e.end)}</slot>`.inline()}function it(e){return ke`<slot name="start" ${we("start")}>${Ze(e.start)}</slot>`.inline()}const at={horizontal:"horizontal",vertical:"vertical"};function nt(...e){return e.every(e=>e instanceof HTMLElement)}const st={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var lt;function dt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(lt||(lt={}));let ct=0;function ht(e=""){return`${e}${ct++}`}function ut(e,...t){const o=Fe.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Fe.locate(t).forEach(e=>o.push(e))})}class pt extends Qe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ht("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Je([De({attribute:"heading-level",mode:"fromView",converter:Ne})],pt.prototype,"headinglevel",void 0),Je([De({mode:"boolean"})],pt.prototype,"expanded",void 0),Je([De({mode:"boolean"})],pt.prototype,"disabled",void 0),Je([De],pt.prototype,"id",void 0),ut(pt,ot);const gt="single",bt="multi";class ft extends Qe{constructor(){super(...arguments),this.expandmode=bt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof pt&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof pt&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==gt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof pt&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===gt}adjust(e){this.activeItemIndex=function(e,t,o){return o<e?t:o>t?e:o}(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof pt&&e.expandbutton.focus()}}Je([De({attribute:"expand-mode"})],ft.prototype,"expandmode",void 0),Je([C],ft.prototype,"slottedAccordionItems",void 0);class mt extends Qe{}Je([De],mt.prototype,"download",void 0),Je([De],mt.prototype,"href",void 0),Je([De],mt.prototype,"hreflang",void 0),Je([De],mt.prototype,"ping",void 0),Je([De],mt.prototype,"referrerpolicy",void 0),Je([De],mt.prototype,"rel",void 0),Je([De],mt.prototype,"target",void 0),Je([De],mt.prototype,"type",void 0),Je([C],mt.prototype,"defaultSlottedContent",void 0);class vt{}Je([De({attribute:"aria-expanded"})],vt.prototype,"ariaExpanded",void 0),ut(vt,tt),ut(mt,ot,vt);const yt=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?lt.rtl:lt.ltr},xt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,kt=new WeakMap;function $t(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return xt}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return c}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),x.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),x.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!xt)return null;let e=kt.get(this);return e||(e=this.attachInternals(),kt.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wt(e){class t extends($t(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bt extends Qe{}class Ct extends($t(Bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const St="submit",Pt="reset";class Tt extends Ct{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===St&&this.addEventListener("click",this.handleSubmission),e===St&&this.removeEventListener("click",this.handleSubmission),t===Pt&&this.addEventListener("click",this.handleFormReset),e===Pt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Je([De({mode:"boolean"})],Tt.prototype,"autofocus",void 0),Je([De({attribute:"form"})],Tt.prototype,"formId",void 0),Je([De],Tt.prototype,"formaction",void 0),Je([De],Tt.prototype,"formenctype",void 0),Je([De],Tt.prototype,"formmethod",void 0),Je([De({mode:"boolean"})],Tt.prototype,"formnovalidate",void 0),Je([De],Tt.prototype,"formtarget",void 0),Je([De],Tt.prototype,"type",void 0),Je([C],Tt.prototype,"defaultSlottedContent",void 0);class It{}function Ft(e={}){return ke`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</button>`}Je([De({attribute:"aria-expanded"})],It.prototype,"ariaExpanded",void 0),Je([De({attribute:"aria-pressed"})],It.prototype,"ariaPressed",void 0),ut(It,tt),ut(Tt,ot,It);class At extends Qe{}class zt extends(wt(At)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Nt extends zt{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}function Lt(e){return e.split("-")[1]}function Dt(e){return"y"===e?"height":"width"}function Et(e){return e.split("-")[0]}function Rt(e){return["top","bottom"].includes(Et(e))?"x":"y"}function Ot(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=Rt(t),l=Dt(s),d=r[l]/2-i[l]/2,c="x"===s;let h;switch(Et(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(Lt(t)){case"start":h[s]-=d*(o&&c?-1:1);break;case"end":h[s]+=d*(o&&c?-1:1)}return h}Je([C],Nt.prototype,"defaultSlottedNodes",void 0),Je([C],Nt.prototype,"indeterminate",void 0);function Mt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ht(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Mt(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:c,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=Mt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return process.env.NODE_ENV,{top:(f.top-x.top+g.top)/y.y,bottom:(x.bottom-f.bottom+g.bottom)/y.y,left:(f.left-x.left+g.left)/y.x,right:(x.right-f.right+g.right)/y.x}}const Vt=Math.min,_t=Math.max;function jt(e,t,o){return _t(e,Vt(t,o))}const Gt={left:"right",right:"left",bottom:"top",top:"bottom"};function qt(e){return e.replace(/left|right|bottom|top/g,e=>Gt[e])}const Xt={start:"end",end:"start"};function Wt(e){return e.replace(/start|end/g,e=>Xt[e])}const Ut=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Et(r),m=Et(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[qt(n)]:function(e){const t=qt(e);return[Wt(e),t,Wt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=Lt(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Et(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Wt)))),a}(n,g,p,v));const x=[n,...y],k=await Ht(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(d&&$.push(k[f]),c){const{main:e,cross:t}=function(e,t,o){void 0===o&&(o=!1);const r=Lt(e),i=Rt(e),a=Dt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=qt(n)),{main:n,cross:qt(n)}}(r,a,v);$.push(k[e],k[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};const Yt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,d={x:o,y:r},c=await Ht(t,l),h=Rt(Et(i)),u="x"===h?"y":"x";let p=d[h],g=d[u];if(a){const e="y"===h?"bottom":"right";p=jt(p+c["y"===h?"top":"left"],p,p-c[e])}if(n){const e="y"===u?"bottom":"right";g=jt(g+c["y"===u?"top":"left"],g,g-c[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},Kt=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Ht(t,s),d=Et(o),c=Lt(o),h="x"===Rt(o),{width:u,height:p}=r.floating;let g,b;"top"===d||"bottom"===d?(g=d,b=c===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,g="end"===c?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Vt(u-l.right-l.left,m):v=Vt(p-l.bottom-l.top,f),!t.middlewareData.shift&&!c){const e=_t(l.left,0),t=_t(l.right,0),o=_t(l.top,0),r=_t(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:_t(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:_t(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const x=await i.getDimensions(a.floating);return u!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}};function Qt(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Zt(e){return Qt(e).getComputedStyle(e)}const Jt=Math.min,eo=Math.max,to=Math.round;function oo(e){const t=Zt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=to(o)!==i||to(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function ro(e){return lo(e)?(e.nodeName||"").toLowerCase():""}let io;function ao(){if(io)return io;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(io=e.brands.map(e=>e.brand+"/"+e.version).join(" "),io):navigator.userAgent}function no(e){return e instanceof Qt(e).HTMLElement}function so(e){return e instanceof Qt(e).Element}function lo(e){return e instanceof Qt(e).Node}function co(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Qt(e).ShadowRoot||e instanceof ShadowRoot}function ho(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function uo(e){return["table","td","th"].includes(ro(e))}function po(e){const t=/firefox/i.test(ao()),o=Zt(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function go(){return/^((?!chrome|android).)*safari/i.test(ao())}function bo(e){return["html","body","#document"].includes(ro(e))}function fo(e){return so(e)?e:e.contextElement}const mo={x:1,y:1};function vo(e){const t=fo(e);if(!no(t))return mo;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=oo(t);let n=(a?to(o.width):o.width)/r,s=(a?to(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function yo(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=fo(e);let l=mo;t&&(r?so(r)&&(l=vo(r)):l=vo(e));const d=s?Qt(s):window,c=go()&&o;let h=(n.left+(c&&(null==(i=d.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(c&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=Qt(s),t=r&&so(r)?Qt(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=vo(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=Qt(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function xo(e){return((lo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ko(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $o(e){return yo(xo(e)).left+ko(e).scrollLeft}function wo(e){if("html"===ro(e))return e;const t=e.assignedSlot||e.parentNode||co(e)&&e.host||xo(e);return co(t)?t.host:t}function Bo(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=wo(t);return bo(o)?o.ownerDocument.body:no(o)&&ho(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Qt(r);return i?t.concat(a,a.visualViewport||[],ho(r)?r:[]):t.concat(r,Bo(r))}function Co(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Qt(e),r=xo(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=go();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=xo(e),o=ko(e),r=e.ownerDocument.body,i=eo(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=eo(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+$o(e);const s=-o.scrollTop;return"rtl"===Zt(r).direction&&(n+=eo(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(xo(e));else if(so(t))r=function(e,t){const o=yo(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=no(e)?vo(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(go()){var i,a;const t=Qt(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Mt(r)}function So(e,t){return no(e)&&"fixed"!==Zt(e).position?t?t(e):e.offsetParent:null}function Po(e,t){const o=Qt(e);let r=So(e,t);for(;r&&uo(r)&&"static"===Zt(r).position;)r=So(r,t);return r&&("html"===ro(r)||"body"===ro(r)&&"static"===Zt(r).position&&!po(r))?o:r||function(e){let t=wo(e);for(;no(t)&&!bo(t);){if(po(t))return t;t=wo(t)}return null}(e)||o}function To(e,t,o){const r=no(t),i=xo(t),a=yo(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==ro(t)||ho(i))&&(n=ko(t)),no(t)){const e=yo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=$o(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Io={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Bo(e).filter(e=>so(e)&&"body"!==ro(e)),i=null;const a="fixed"===Zt(e).position;let n=a?wo(e):e;for(;so(n)&&!bo(n);){const e=Zt(n),t=po(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=wo(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Co(t,o,i);return e.top=eo(r.top,e.top),e.right=Jt(r.right,e.right),e.bottom=Jt(r.bottom,e.bottom),e.left=eo(r.left,e.left),e},Co(t,n,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=no(o),a=xo(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==ro(o)||ho(a))&&(n=ko(o)),no(o))){const e=yo(o);s=vo(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:so,getDimensions:function(e){return no(e)?oo(e):e.getBoundingClientRect()},getOffsetParent:Po,getDocumentElement:xo,getScale:vo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Po,a=this.getDimensions;return{reference:To(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Zt(e).direction};const Fo=(e,t,o)=>{const r=new Map,i={platform:Io,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));if("production"!==process.env.NODE_ENV){if(null==n&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter(e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let d=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=Ot(d,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:c,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=f?f:c,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},"production"!==process.env.NODE_ENV&&g>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:h}=Ot(d,u,l))),o=-1)}return{x:c,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class Ao{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Ao.cache.get(e);return t||(t=new Ao(e),Ao.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Ao.cache=new WeakMap;class zo{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class No{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Lo{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Lo.getAssignedTokensForNode(e),r=e.parent;do{const e=Lo.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Lo.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Lo.isAssigned(e,t)?Lo.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Lo.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Lo.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Lo.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Lo.composeAssignedTokensForNode(this),a=Lo.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new No(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new No(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Lo.notify()}removeChild(e){if(e.parent===this){const t=Lo.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new No(this,2,o));Lo.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Lo.isAssigned(this,e)||Lo.isDerivedFor(this,e)?1:0,r=Lo.getLocalTokenValue(this,e);this._values.set(e,t),Lo.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Lo.isDerivedTokenValue(t),a=Lo.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Lo.queueNotification(new No(this,o,e,t)),this.dispatch(new No(this,o,e,t)),a.forEach((e,t)=>{if(!Lo.isDerivedFor(this,t)){Lo.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Lo.queueNotification(new No(this,1,t,e.evaluator.value)),this.dispatch(new No(this,0,t,e.evaluator.value))}}),Lo.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Lo.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Lo.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Lo.isAssigned(this,e)){const t=Lo.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Lo.queueNotification(new No(this,2,e)),t!==o&&this.dispatch(new No(this,2,e)),Lo.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Lo.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Lo.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Lo.queueNotification(new No(this,2,i))),n&&(e=new No(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Lo.isDerivedTokenValue(s)){const t=Ao.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Lo.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new No(this,void 0===t?0:1,i,o.evaluator.value);Lo.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Lo.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Lo.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new No(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Lo.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Lo.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new zo(e,Ao.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new No(this,1,r.token,r.evaluator.value);Lo.queueNotification(e),this.dispatch(e),Lo.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Lo.getOrCreateDependencyGraph(this,t).add(r)}),r}}Lo._notifications=[];class Do{setProperty(e,t){x.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){x.enqueue(()=>this.target.removeProperty(e))}}class Eo extends Do{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ro extends Do{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Oo{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),x.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),x.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Je([C],Oo.prototype,"target",void 0);class Mo{setProperty(e,t){Mo.properties[e]=t;for(const o of Mo.roots.values())o.setProperty(e,t)}removeProperty(e){delete Mo.properties[e];for(const t of Mo.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Mo;if(!t.has(e)){t.add(e);for(const t in Mo.properties)e.setProperty(t,Mo.properties[t])}}static unregisterRoot(e){const{roots:t}=Mo;if(t.has(e)){t.delete(e);for(const t in Mo.properties)e.removeProperty(t)}}}Mo.roots=new Set,Mo.properties={};const Ho=new WeakMap,Vo=L.supportsAdoptedStyleSheets?class extends Do{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Oo,_o=Object.freeze({getOrCreate(e){if(Ho.has(e))return Ho.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new Eo:new Ro:new Vo(e),Ho.set(e,t),t}});class jo{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Wo.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Wo.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Go({name:e,cssCustomPropertyName:e}):jo.isCSSDesignTokenConfiguration(e)?new Go(e):new jo(e)}static withStrategy(e){Wo.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=_o.getOrCreate(e)),Mo.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=_o.getOrCreate(e)),Mo.unregisterRoot(e)}getValueFor(e){return Wo.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Wo.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Wo.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Wo.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof jo&&(e=this.alias(e)),e}}let Go=class extends jo{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Wo.defaultNode?Wo.rootStyleSheetTarget:t.target instanceof Wo?_o.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var qo;Go=Je([function(e){E.define(e)},function(e){ee.define(e,qo)}],Go);const Xo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Wo extends Lo{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Wo.withStrategy(Xo),this._strategy}connectedCallback(e){let t=Wo.findParent(e.source);if(null===t&&(t=Wo.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Wo&&Wo.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Wo.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Wo.cache.get(e);return t||(t=new Wo(e),Wo.cache.set(e,t),e.$fastController.addBehavior(Wo.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Wo.strategy.parent(e);for(;null!==t;){const e=Wo.cache.get(t);if(e)return e;t=Wo.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Wo.defaultNode.appendChild(this),e.apply(this,t))}}Wo.defaultNode=new Lo,Wo.rootStyleSheetTarget=new Mo,Wo.cache=new WeakMap;const Uo={separator:"separator",presentation:"presentation"},Yo=at;class Ko extends Qe{constructor(){super(...arguments),this.role=Uo.separator,this.orientation=Yo.horizontal}}Je([De],Ko.prototype,"role",void 0),Je([De],Ko.prototype,"orientation",void 0);const Qo={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Zo extends Qe{constructor(){super(...arguments),this.role=Qo.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Qo.menuitemcheckbox:this.checked=!this.checked;break;case Qo.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Qo.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&x.enqueue(()=>{this.cleanup=function(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,d=l||a?[...so(e)?Bo(e):e.contextElement?Bo(e.contextElement):[],...Bo(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let c,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),so(e)&&!s&&h.observe(e),so(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?yo(e):null;return s&&function t(){const r=yo(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o();u=r,c=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(c)}}(this,this.submenuContainer,()=>et(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield Fo(this,this.submenuContainer,{middleware:[Yt(),Kt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Ut({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}Je([De({mode:"boolean"})],Zo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Zo.prototype,"expanded",void 0),Je([De],Zo.prototype,"role",void 0),Je([De({mode:"boolean"})],Zo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Zo.prototype,"hidden",void 0),Je([C],Zo.prototype,"slottedSubmenu",void 0),Je([C],Zo.prototype,"submenu",void 0),ut(Zo,ot);class Jo extends Qe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&nt(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===Qo.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===Qo.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Zo||nt(e)&&e.getAttribute("role")in Jo.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),x.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}Jo.focusableElementRoles=Qo,Je([C],Jo.prototype,"items",void 0);class er extends Qe{}class tr extends($t(er)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const or={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class rr extends tr{constructor(){super(...arguments),this.type=or.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&x.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Je([De({attribute:"readonly",mode:"boolean"})],rr.prototype,"readOnly",void 0),Je([De({mode:"boolean"})],rr.prototype,"autofocus",void 0),Je([De],rr.prototype,"placeholder",void 0),Je([De],rr.prototype,"type",void 0),Je([De],rr.prototype,"list",void 0),Je([De({converter:Ne})],rr.prototype,"maxlength",void 0),Je([De({converter:Ne})],rr.prototype,"minlength",void 0),Je([De],rr.prototype,"pattern",void 0),Je([De({converter:Ne})],rr.prototype,"size",void 0),Je([De({mode:"boolean"})],rr.prototype,"spellcheck",void 0),Je([C],rr.prototype,"defaultSlottedNodes",void 0);class ir{}ut(ir,tt),ut(rr,ot,ir);class ar extends Qe{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Je([De({converter:Ne})],ar.prototype,"value",void 0),Je([De({converter:Ne})],ar.prototype,"min",void 0),Je([De({converter:Ne})],ar.prototype,"max",void 0),Je([C],ar.prototype,"percentComplete",void 0);class nr extends ar{}class sr extends ar{}const lr=at;const dr=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)};class cr extends Qe{}class hr extends(wt(cr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ur extends hr{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}Je([C],ur.prototype,"name",void 0),Je([C],ur.prototype,"defaultSlottedNodes",void 0);class pr extends Qe{constructor(){super(...arguments),this.orientation=lr.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof ur&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in st&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===lt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===lt.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=yt(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}Je([De({attribute:"readonly",mode:"boolean"})],pr.prototype,"readOnly",void 0),Je([De({attribute:"disabled",mode:"boolean"})],pr.prototype,"disabled",void 0),Je([De],pr.prototype,"name",void 0),Je([De],pr.prototype,"value",void 0),Je([De],pr.prototype,"orientation",void 0),Je([C],pr.prototype,"childItems",void 0),Je([C],pr.prototype,"slottedRadioButtons",void 0);const gr=at,br="single-value";function fr(e,t,o,r){let i=dt(0,1,(e-t)/(o-t));return r===lt.rtl&&(i=1-i),i}class mr extends Qe{}class vr extends($t(mr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yr extends vr{constructor(){super(...arguments),this.direction=lt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=at.horizontal,this.mode=br,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===at.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===at.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=dt(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=yt(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==lt.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==lt.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-fr(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===at.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=fr(e,this.orientation===at.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===at.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}Je([De({attribute:"readonly",mode:"boolean"})],yr.prototype,"readOnly",void 0),Je([C],yr.prototype,"direction",void 0),Je([C],yr.prototype,"isDragging",void 0),Je([C],yr.prototype,"position",void 0),Je([C],yr.prototype,"trackWidth",void 0),Je([C],yr.prototype,"trackMinWidth",void 0),Je([C],yr.prototype,"trackHeight",void 0),Je([C],yr.prototype,"trackLeft",void 0),Je([C],yr.prototype,"trackMinHeight",void 0),Je([C],yr.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],yr.prototype,"min",void 0),Je([De({converter:Ne})],yr.prototype,"max",void 0),Je([De({converter:Ne})],yr.prototype,"step",void 0),Je([De],yr.prototype,"orientation",void 0),Je([De],yr.prototype,"mode",void 0);class xr extends Qe{}class kr extends(wt(xr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class $r extends kr{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}Je([De({attribute:"readonly",mode:"boolean"})],$r.prototype,"readOnly",void 0),Je([C],$r.prototype,"defaultSlottedNodes",void 0);class wr extends Qe{}class Br extends Qe{}Je([De({mode:"boolean"})],Br.prototype,"disabled",void 0),ut(Br,ot);const Cr=at;class Sr extends Qe{constructor(){super(...arguments),this.orientation=Cr.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ht()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ht()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Cr.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=dt(0,t.length-1,o+e),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Je([De],Sr.prototype,"orientation",void 0),Je([De],Sr.prototype,"activeid",void 0),Je([C],Sr.prototype,"tabs",void 0),Je([C],Sr.prototype,"tabpanels",void 0),ut(Sr,ot);function Pr(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Tr extends ft{}const Ir=ke`<template><slot ${Ie({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,Fr=j`
2
- ${Pr("flex")}
1
+ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(e){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const d=globalThis.FAST;if(void 0===d.getById){const e=Object.create(null);Reflect.defineProperty(d,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===d.error&&Object.assign(d,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const c=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw d.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=d.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=d.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw d.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new c(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=d.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function F(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let N;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(N),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){N=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const D=h(),E=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function R(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class O{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>R(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){R(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){R(this,t.controller,t)}}E.define(O);const M=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${M}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new O(F(s),V()).createCSS(n):s instanceof T?s=new O(s,V()).createCSS(n):void 0!==E.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}E.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,U=W.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw d.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function de(e){e.startsWith("fast-")||d.warn(1204,{name:e})}const ce=new Proxy(document.createElement("div"),{get(e,t){de(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(de(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ce;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,d=n.length;l<d;++l){const c=n[l],h=c.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,c.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(c),l--,d--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,d=n.length;t<d;++t){const d=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(d)?s.textContent=d:(s.textContent=" ",ee.assignAspect(d),e.addFactory(d,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const d=new re(r);return ee.assignAspect(d,o),d}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw d.error(1208);if(this.policy)throw d.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(F(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw d.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e);function Be(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Ce=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Ce;class Pe extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,c),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Te extends Pe{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ie(e){return a(e)&&(e={property:e}),new Te(e)}ee.define(Te);const Fe=Object.freeze({locate:u()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function ze(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ne={toView(e){const t=ze(e);return t?t.toString():t},fromView:ze};class Le{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Ae)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Fe.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new Le(e,r)):o.push(new Le(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Fe.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ee={mode:"open"},Re={},Oe=new Set,Me=d.getById(r.elementRegistry,()=>h());class He{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=Le.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Ee:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ee),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=L.normalize(t.styles),Me.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Oe.has(e)||Me.getByType(e)?new He(class extends e{},t):new He(e,t)}static registerBaseType(e){Oe.add(e)}}He.getByType=Me.getByType,He.getForInstance=Me.getForInstance;const Ve={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function je(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let Ge;class qe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&_e.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=je(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=je(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},Ve),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=je(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=He.getForInstance(e);if(void 0===o)throw d.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function Xe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=je(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class We{constructor(e){const t=We.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){const t=Xe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Xe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}We.styleSheetCache=new Map;let Ue=0;function Ye(e){return e===document?document.body:e}function Ke(e){const t=class extends e{constructor(){super(),qe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return He.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?We:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ue}addStylesTo(e){e=Ye(Xe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Ye(Xe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Qe=Object.assign(Ke(HTMLElement),{from:function(e){return Ke(e)},define:function(e,t){return i(e)?He.compose(e,t).define().type:He.compose(this,e).define().type},compose:function(e,t){return i(e)?He.compose(e,t):He.compose(this,e)}});function Ze(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}function Je(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function et(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}class tt{}Je([De({attribute:"aria-atomic"})],tt.prototype,"ariaAtomic",void 0),Je([De({attribute:"aria-busy"})],tt.prototype,"ariaBusy",void 0),Je([De({attribute:"aria-controls"})],tt.prototype,"ariaControls",void 0),Je([De({attribute:"aria-current"})],tt.prototype,"ariaCurrent",void 0),Je([De({attribute:"aria-describedby"})],tt.prototype,"ariaDescribedby",void 0),Je([De({attribute:"aria-details"})],tt.prototype,"ariaDetails",void 0),Je([De({attribute:"aria-disabled"})],tt.prototype,"ariaDisabled",void 0),Je([De({attribute:"aria-errormessage"})],tt.prototype,"ariaErrormessage",void 0),Je([De({attribute:"aria-flowto"})],tt.prototype,"ariaFlowto",void 0),Je([De({attribute:"aria-haspopup"})],tt.prototype,"ariaHaspopup",void 0),Je([De({attribute:"aria-hidden"})],tt.prototype,"ariaHidden",void 0),Je([De({attribute:"aria-invalid"})],tt.prototype,"ariaInvalid",void 0),Je([De({attribute:"aria-keyshortcuts"})],tt.prototype,"ariaKeyshortcuts",void 0),Je([De({attribute:"aria-label"})],tt.prototype,"ariaLabel",void 0),Je([De({attribute:"aria-labelledby"})],tt.prototype,"ariaLabelledby",void 0),Je([De({attribute:"aria-live"})],tt.prototype,"ariaLive",void 0),Je([De({attribute:"aria-owns"})],tt.prototype,"ariaOwns",void 0),Je([De({attribute:"aria-relevant"})],tt.prototype,"ariaRelevant",void 0),Je([De({attribute:"aria-roledescription"})],tt.prototype,"ariaRoledescription",void 0);class ot{}function rt(e){return xe`<slot name="end" ${we("end")}>${Ze(e.end)}</slot>`.inline()}function it(e){return xe`<slot name="start" ${we("start")}>${Ze(e.start)}</slot>`.inline()}const at={horizontal:"horizontal",vertical:"vertical"};function nt(...e){return e.every(e=>e instanceof HTMLElement)}const st={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var lt;function dt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(lt||(lt={}));let ct=0;function ht(e=""){return`${e}${ct++}`}function ut(e,...t){const o=Fe.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Fe.locate(t).forEach(e=>o.push(e))})}class pt extends Qe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ht("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Je([De({attribute:"heading-level",mode:"fromView",converter:Ne})],pt.prototype,"headinglevel",void 0),Je([De({mode:"boolean"})],pt.prototype,"expanded",void 0),Je([De({mode:"boolean"})],pt.prototype,"disabled",void 0),Je([De],pt.prototype,"id",void 0),ut(pt,ot);const gt="single",bt="multi";class ft extends Qe{constructor(){super(...arguments),this.expandmode=bt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof pt&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof pt&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==gt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof pt&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===gt}adjust(e){this.activeItemIndex=function(e,t,o){return o<e?t:o>t?e:o}(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof pt&&e.expandbutton.focus()}}Je([De({attribute:"expand-mode"})],ft.prototype,"expandmode",void 0),Je([C],ft.prototype,"slottedAccordionItems",void 0);class mt extends Qe{}Je([De],mt.prototype,"download",void 0),Je([De],mt.prototype,"href",void 0),Je([De],mt.prototype,"hreflang",void 0),Je([De],mt.prototype,"ping",void 0),Je([De],mt.prototype,"referrerpolicy",void 0),Je([De],mt.prototype,"rel",void 0),Je([De],mt.prototype,"target",void 0),Je([De],mt.prototype,"type",void 0),Je([C],mt.prototype,"defaultSlottedContent",void 0);class vt{}Je([De({attribute:"aria-expanded"})],vt.prototype,"ariaExpanded",void 0),ut(vt,tt),ut(mt,ot,vt);const yt=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?lt.rtl:lt.ltr},kt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xt=new WeakMap;function $t(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return kt}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return c}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kt)return null;let e=xt.get(this);return e||(e=this.attachInternals(),xt.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wt(e){class t extends($t(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bt extends Qe{}class Ct extends($t(Bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const St="submit",Pt="reset";class Tt extends Ct{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===St&&this.addEventListener("click",this.handleSubmission),e===St&&this.removeEventListener("click",this.handleSubmission),t===Pt&&this.addEventListener("click",this.handleFormReset),e===Pt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Je([De({mode:"boolean"})],Tt.prototype,"autofocus",void 0),Je([De({attribute:"form"})],Tt.prototype,"formId",void 0),Je([De],Tt.prototype,"formaction",void 0),Je([De],Tt.prototype,"formenctype",void 0),Je([De],Tt.prototype,"formmethod",void 0),Je([De({mode:"boolean"})],Tt.prototype,"formnovalidate",void 0),Je([De],Tt.prototype,"formtarget",void 0),Je([De],Tt.prototype,"type",void 0),Je([C],Tt.prototype,"defaultSlottedContent",void 0);class It{}function Ft(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</button>`}Je([De({attribute:"aria-expanded"})],It.prototype,"ariaExpanded",void 0),Je([De({attribute:"aria-pressed"})],It.prototype,"ariaPressed",void 0),ut(It,tt),ut(Tt,ot,It);class At extends Qe{}class zt extends(wt(At)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Nt extends zt{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}function Lt(e){return e.split("-")[1]}function Dt(e){return"y"===e?"height":"width"}function Et(e){return e.split("-")[0]}function Rt(e){return["top","bottom"].includes(Et(e))?"x":"y"}function Ot(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=Rt(t),l=Dt(s),d=r[l]/2-i[l]/2,c="x"===s;let h;switch(Et(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(Lt(t)){case"start":h[s]-=d*(o&&c?-1:1);break;case"end":h[s]+=d*(o&&c?-1:1)}return h}Je([C],Nt.prototype,"defaultSlottedNodes",void 0),Je([C],Nt.prototype,"indeterminate",void 0);function Mt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ht(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Mt(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:d,rootBoundary:c,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=Mt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return process.env.NODE_ENV,{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const Vt=Math.min,_t=Math.max;function jt(e,t,o){return _t(e,Vt(t,o))}const Gt={left:"right",right:"left",bottom:"top",top:"bottom"};function qt(e){return e.replace(/left|right|bottom|top/g,e=>Gt[e])}const Xt={start:"end",end:"start"};function Wt(e){return e.replace(/start|end/g,e=>Xt[e])}const Ut=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Et(r),m=Et(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[qt(n)]:function(e){const t=qt(e);return[Wt(e),t,Wt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=Lt(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Et(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Wt)))),a}(n,g,p,v));const k=[n,...y],x=await Ht(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(d&&$.push(x[f]),c){const{main:e,cross:t}=function(e,t,o){void 0===o&&(o=!1);const r=Lt(e),i=Rt(e),a=Dt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=qt(n)),{main:n,cross:qt(n)}}(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};const Yt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,d={x:o,y:r},c=await Ht(t,l),h=Rt(Et(i)),u="x"===h?"y":"x";let p=d[h],g=d[u];if(a){const e="y"===h?"bottom":"right";p=jt(p+c["y"===h?"top":"left"],p,p-c[e])}if(n){const e="y"===u?"bottom":"right";g=jt(g+c["y"===u?"top":"left"],g,g-c[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},Kt=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Ht(t,s),d=Et(o),c=Lt(o),h="x"===Rt(o),{width:u,height:p}=r.floating;let g,b;"top"===d||"bottom"===d?(g=d,b=c===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,g="end"===c?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Vt(u-l.right-l.left,m):v=Vt(p-l.bottom-l.top,f),!t.middlewareData.shift&&!c){const e=_t(l.left,0),t=_t(l.right,0),o=_t(l.top,0),r=_t(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:_t(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:_t(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function Qt(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Zt(e){return Qt(e).getComputedStyle(e)}const Jt=Math.min,eo=Math.max,to=Math.round;function oo(e){const t=Zt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=to(o)!==i||to(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function ro(e){return lo(e)?(e.nodeName||"").toLowerCase():""}let io;function ao(){if(io)return io;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(io=e.brands.map(e=>e.brand+"/"+e.version).join(" "),io):navigator.userAgent}function no(e){return e instanceof Qt(e).HTMLElement}function so(e){return e instanceof Qt(e).Element}function lo(e){return e instanceof Qt(e).Node}function co(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Qt(e).ShadowRoot||e instanceof ShadowRoot}function ho(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function uo(e){return["table","td","th"].includes(ro(e))}function po(e){const t=/firefox/i.test(ao()),o=Zt(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function go(){return/^((?!chrome|android).)*safari/i.test(ao())}function bo(e){return["html","body","#document"].includes(ro(e))}function fo(e){return so(e)?e:e.contextElement}const mo={x:1,y:1};function vo(e){const t=fo(e);if(!no(t))return mo;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=oo(t);let n=(a?to(o.width):o.width)/r,s=(a?to(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function yo(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=fo(e);let l=mo;t&&(r?so(r)&&(l=vo(r)):l=vo(e));const d=s?Qt(s):window,c=go()&&o;let h=(n.left+(c&&(null==(i=d.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(c&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=Qt(s),t=r&&so(r)?Qt(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=vo(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=Qt(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function ko(e){return((lo(e)?e.ownerDocument:e.document)||window.document).documentElement}function xo(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $o(e){return yo(ko(e)).left+xo(e).scrollLeft}function wo(e){if("html"===ro(e))return e;const t=e.assignedSlot||e.parentNode||co(e)&&e.host||ko(e);return co(t)?t.host:t}function Bo(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=wo(t);return bo(o)?o.ownerDocument.body:no(o)&&ho(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Qt(r);return i?t.concat(a,a.visualViewport||[],ho(r)?r:[]):t.concat(r,Bo(r))}function Co(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Qt(e),r=ko(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=go();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=ko(e),o=xo(e),r=e.ownerDocument.body,i=eo(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=eo(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+$o(e);const s=-o.scrollTop;return"rtl"===Zt(r).direction&&(n+=eo(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(ko(e));else if(so(t))r=function(e,t){const o=yo(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=no(e)?vo(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(go()){var i,a;const t=Qt(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Mt(r)}function So(e,t){return no(e)&&"fixed"!==Zt(e).position?t?t(e):e.offsetParent:null}function Po(e,t){const o=Qt(e);let r=So(e,t);for(;r&&uo(r)&&"static"===Zt(r).position;)r=So(r,t);return r&&("html"===ro(r)||"body"===ro(r)&&"static"===Zt(r).position&&!po(r))?o:r||function(e){let t=wo(e);for(;no(t)&&!bo(t);){if(po(t))return t;t=wo(t)}return null}(e)||o}function To(e,t,o){const r=no(t),i=ko(t),a=yo(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==ro(t)||ho(i))&&(n=xo(t)),no(t)){const e=yo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=$o(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Io={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Bo(e).filter(e=>so(e)&&"body"!==ro(e)),i=null;const a="fixed"===Zt(e).position;let n=a?wo(e):e;for(;so(n)&&!bo(n);){const e=Zt(n),t=po(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=wo(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Co(t,o,i);return e.top=eo(r.top,e.top),e.right=Jt(r.right,e.right),e.bottom=Jt(r.bottom,e.bottom),e.left=eo(r.left,e.left),e},Co(t,n,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=no(o),a=ko(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==ro(o)||ho(a))&&(n=xo(o)),no(o))){const e=yo(o);s=vo(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:so,getDimensions:function(e){return no(e)?oo(e):e.getBoundingClientRect()},getOffsetParent:Po,getDocumentElement:ko,getScale:vo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Po,a=this.getDimensions;return{reference:To(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Zt(e).direction};const Fo=(e,t,o)=>{const r=new Map,i={platform:Io,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));if("production"!==process.env.NODE_ENV){if(null==n&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter(e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t}).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let d=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=Ot(d,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:c,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=f?f:c,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},"production"!==process.env.NODE_ENV&&g>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(d=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:h}=Ot(d,u,l))),o=-1)}return{x:c,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class Ao{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Ao.cache.get(e);return t||(t=new Ao(e),Ao.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Ao.cache=new WeakMap;class zo{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class No{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Lo{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Lo.getAssignedTokensForNode(e),r=e.parent;do{const e=Lo.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Lo.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Lo.isAssigned(e,t)?Lo.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Lo.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Lo.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Lo.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Lo.composeAssignedTokensForNode(this),a=Lo.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new No(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new No(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Lo.notify()}removeChild(e){if(e.parent===this){const t=Lo.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new No(this,2,o));Lo.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Lo.isAssigned(this,e)||Lo.isDerivedFor(this,e)?1:0,r=Lo.getLocalTokenValue(this,e);this._values.set(e,t),Lo.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Lo.isDerivedTokenValue(t),a=Lo.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Lo.queueNotification(new No(this,o,e,t)),this.dispatch(new No(this,o,e,t)),a.forEach((e,t)=>{if(!Lo.isDerivedFor(this,t)){Lo.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Lo.queueNotification(new No(this,1,t,e.evaluator.value)),this.dispatch(new No(this,0,t,e.evaluator.value))}}),Lo.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Lo.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Lo.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Lo.isAssigned(this,e)){const t=Lo.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Lo.queueNotification(new No(this,2,e)),t!==o&&this.dispatch(new No(this,2,e)),Lo.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Lo.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Lo.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Lo.queueNotification(new No(this,2,i))),n&&(e=new No(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Lo.isDerivedTokenValue(s)){const t=Ao.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Lo.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new No(this,void 0===t?0:1,i,o.evaluator.value);Lo.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Lo.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Lo.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new No(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Lo.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Lo.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new zo(e,Ao.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new No(this,1,r.token,r.evaluator.value);Lo.queueNotification(e),this.dispatch(e),Lo.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Lo.getOrCreateDependencyGraph(this,t).add(r)}),r}}Lo._notifications=[];class Do{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class Eo extends Do{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ro extends Do{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Oo{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Je([C],Oo.prototype,"target",void 0);class Mo{setProperty(e,t){Mo.properties[e]=t;for(const o of Mo.roots.values())o.setProperty(e,t)}removeProperty(e){delete Mo.properties[e];for(const t of Mo.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Mo;if(!t.has(e)){t.add(e);for(const t in Mo.properties)e.setProperty(t,Mo.properties[t])}}static unregisterRoot(e){const{roots:t}=Mo;if(t.has(e)){t.delete(e);for(const t in Mo.properties)e.removeProperty(t)}}}Mo.roots=new Set,Mo.properties={};const Ho=new WeakMap,Vo=L.supportsAdoptedStyleSheets?class extends Do{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Oo,_o=Object.freeze({getOrCreate(e){if(Ho.has(e))return Ho.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new Eo:new Ro:new Vo(e),Ho.set(e,t),t}});class jo{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Wo.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Wo.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Go({name:e,cssCustomPropertyName:e}):jo.isCSSDesignTokenConfiguration(e)?new Go(e):new jo(e)}static withStrategy(e){Wo.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=_o.getOrCreate(e)),Mo.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=_o.getOrCreate(e)),Mo.unregisterRoot(e)}getValueFor(e){return Wo.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Wo.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Wo.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Wo.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof jo&&(e=this.alias(e)),e}}let Go=class extends jo{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Wo.defaultNode?Wo.rootStyleSheetTarget:t.target instanceof Wo?_o.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var qo;Go=Je([function(e){E.define(e)},function(e){ee.define(e,qo)}],Go);const Xo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Wo extends Lo{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Wo.withStrategy(Xo),this._strategy}connectedCallback(e){let t=Wo.findParent(e.source);if(null===t&&(t=Wo.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Wo&&Wo.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Wo.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Wo.cache.get(e);return t||(t=new Wo(e),Wo.cache.set(e,t),e.$fastController.addBehavior(Wo.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Wo.strategy.parent(e);for(;null!==t;){const e=Wo.cache.get(t);if(e)return e;t=Wo.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Wo.defaultNode.appendChild(this),e.apply(this,t))}}Wo.defaultNode=new Lo,Wo.rootStyleSheetTarget=new Mo,Wo.cache=new WeakMap;const Uo={separator:"separator",presentation:"presentation"},Yo=at;class Ko extends Qe{constructor(){super(...arguments),this.role=Uo.separator,this.orientation=Yo.horizontal}}Je([De],Ko.prototype,"role",void 0),Je([De],Ko.prototype,"orientation",void 0);const Qo={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Zo extends Qe{constructor(){super(...arguments),this.role=Qo.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Qo.menuitemcheckbox:this.checked=!this.checked;break;case Qo.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Qo.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&k.enqueue(()=>{this.cleanup=function(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,d=l||a?[...so(e)?Bo(e):e.contextElement?Bo(e.contextElement):[],...Bo(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let c,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),so(e)&&!s&&h.observe(e),so(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?yo(e):null;return s&&function t(){const r=yo(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o();u=r,c=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(c)}}(this,this.submenuContainer,()=>et(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield Fo(this,this.submenuContainer,{middleware:[Yt(),Kt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Ut({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}Je([De({mode:"boolean"})],Zo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Zo.prototype,"expanded",void 0),Je([De],Zo.prototype,"role",void 0),Je([De({mode:"boolean"})],Zo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Zo.prototype,"hidden",void 0),Je([C],Zo.prototype,"slottedSubmenu",void 0),Je([C],Zo.prototype,"submenu",void 0),ut(Zo,ot);class Jo extends Qe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&nt(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===Qo.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===Qo.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Zo||nt(e)&&e.getAttribute("role")in Jo.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),k.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}Jo.focusableElementRoles=Qo,Je([C],Jo.prototype,"items",void 0);class er extends Qe{}class tr extends($t(er)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const or={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class rr extends tr{constructor(){super(...arguments),this.type=or.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&k.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Je([De({attribute:"readonly",mode:"boolean"})],rr.prototype,"readOnly",void 0),Je([De({mode:"boolean"})],rr.prototype,"autofocus",void 0),Je([De],rr.prototype,"placeholder",void 0),Je([De],rr.prototype,"type",void 0),Je([De],rr.prototype,"list",void 0),Je([De({converter:Ne})],rr.prototype,"maxlength",void 0),Je([De({converter:Ne})],rr.prototype,"minlength",void 0),Je([De],rr.prototype,"pattern",void 0),Je([De({converter:Ne})],rr.prototype,"size",void 0),Je([De({mode:"boolean"})],rr.prototype,"spellcheck",void 0),Je([C],rr.prototype,"defaultSlottedNodes",void 0);class ir{}ut(ir,tt),ut(rr,ot,ir);class ar extends Qe{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Je([De({converter:Ne})],ar.prototype,"value",void 0),Je([De({converter:Ne})],ar.prototype,"min",void 0),Je([De({converter:Ne})],ar.prototype,"max",void 0),Je([C],ar.prototype,"percentComplete",void 0);class nr extends ar{}class sr extends ar{}const lr=at;const dr=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)};class cr extends Qe{}class hr extends(wt(cr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ur extends hr{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}Je([C],ur.prototype,"name",void 0),Je([C],ur.prototype,"defaultSlottedNodes",void 0);class pr extends Qe{constructor(){super(...arguments),this.orientation=lr.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof ur&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in st&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===lt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===lt.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=yt(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}Je([De({attribute:"readonly",mode:"boolean"})],pr.prototype,"readOnly",void 0),Je([De({attribute:"disabled",mode:"boolean"})],pr.prototype,"disabled",void 0),Je([De],pr.prototype,"name",void 0),Je([De],pr.prototype,"value",void 0),Je([De],pr.prototype,"orientation",void 0),Je([C],pr.prototype,"childItems",void 0),Je([C],pr.prototype,"slottedRadioButtons",void 0);const gr=at,br="single-value";function fr(e,t,o,r){let i=dt(0,1,(e-t)/(o-t));return r===lt.rtl&&(i=1-i),i}class mr extends Qe{}class vr extends($t(mr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yr extends vr{constructor(){super(...arguments),this.direction=lt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=at.horizontal,this.mode=br,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==lt.rtl&&this.orientation!==at.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===at.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===at.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=dt(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=yt(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==lt.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==lt.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-fr(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===at.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=fr(e,this.orientation===at.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===at.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}Je([De({attribute:"readonly",mode:"boolean"})],yr.prototype,"readOnly",void 0),Je([C],yr.prototype,"direction",void 0),Je([C],yr.prototype,"isDragging",void 0),Je([C],yr.prototype,"position",void 0),Je([C],yr.prototype,"trackWidth",void 0),Je([C],yr.prototype,"trackMinWidth",void 0),Je([C],yr.prototype,"trackHeight",void 0),Je([C],yr.prototype,"trackLeft",void 0),Je([C],yr.prototype,"trackMinHeight",void 0),Je([C],yr.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],yr.prototype,"min",void 0),Je([De({converter:Ne})],yr.prototype,"max",void 0),Je([De({converter:Ne})],yr.prototype,"step",void 0),Je([De],yr.prototype,"orientation",void 0),Je([De],yr.prototype,"mode",void 0);class kr extends Qe{}class xr extends(wt(kr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class $r extends xr{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}Je([De({attribute:"readonly",mode:"boolean"})],$r.prototype,"readOnly",void 0),Je([C],$r.prototype,"defaultSlottedNodes",void 0);class wr extends Qe{}class Br extends Qe{}Je([De({mode:"boolean"})],Br.prototype,"disabled",void 0),ut(Br,ot);const Cr=at;class Sr extends Qe{constructor(){super(...arguments),this.orientation=Cr.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ht()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ht()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Cr.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=dt(0,t.length-1,o+e),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Je([De],Sr.prototype,"orientation",void 0),Je([De],Sr.prototype,"activeid",void 0),Je([C],Sr.prototype,"tabs",void 0),Je([C],Sr.prototype,"tabpanels",void 0),ut(Sr,ot);class Pr extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new Pr(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const Tr=Pr.with(window.matchMedia("(forced-colors)"));Pr.with(window.matchMedia("(prefers-color-scheme: dark)")),Pr.with(window.matchMedia("(prefers-color-scheme: light)"));function Ir(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Fr extends ft{}const Ar=xe`<template><slot ${Ie({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,zr=j`
2
+ ${Ir("flex")}
3
3
 
4
- :host{flex-direction:column;width:100%;contain:content}`,Ar=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),zr=Tr.compose({name:Ar.prefix+"-accordion",template:Ir,styles:Fr});class Nr extends pt{constructor(){super(...arguments),this.block=!1}}Je([De],Nr.prototype,"size",void 0),Je([De({mode:"boolean"})],Nr.prototype,"block",void 0),Je([De({attribute:"expand-icon-position"})],Nr.prototype,"expandIconPosition",void 0);const Lr={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Dr={start:"start",end:"end"},{create:Er}=jo,Rr=Er("borderRadiusNone"),Or=Er("borderRadiusSmall"),Mr=Er("borderRadiusMedium"),Hr=Er("borderRadiusLarge"),Vr=Er("borderRadiusXLarge"),_r=Er("borderRadiusCircular"),jr=Er("fontSizeBase100"),Gr=Er("fontSizeBase200"),qr=Er("fontSizeBase300"),Xr=Er("fontSizeBase400"),Wr=Er("fontSizeBase500"),Ur=Er("fontSizeBase600"),Yr=Er("fontSizeHero700"),Kr=Er("fontSizeHero800"),Qr=Er("fontSizeHero900"),Zr=Er("fontSizeHero1000"),Jr=Er("lineHeightBase100"),ei=Er("lineHeightBase200"),ti=Er("lineHeightBase300"),oi=Er("lineHeightBase400"),ri=Er("lineHeightBase500"),ii=Er("lineHeightBase600"),ai=Er("lineHeightHero700"),ni=Er("lineHeightHero800"),si=Er("lineHeightHero900"),li=Er("lineHeightHero1000"),di=Er("fontFamilyBase"),ci=Er("fontFamilyMonospace"),hi=Er("fontFamilyNumeric"),ui=Er("fontWeightRegular"),pi=Er("fontWeightMedium"),gi=Er("fontWeightSemibold"),bi=Er("fontWeightBold"),fi=Er("strokeWidthThin"),mi=Er("strokeWidthThick"),vi=Er("strokeWidthThicker"),yi=Er("strokeWidthThickest"),xi=Er("spacingHorizontalNone"),ki=Er("spacingHorizontalXXS"),$i=Er("spacingHorizontalXS"),wi=Er("spacingHorizontalSNudge"),Bi=Er("spacingHorizontalS"),Ci=Er("spacingHorizontalMNudge"),Si=Er("spacingHorizontalM"),Pi=Er("spacingHorizontalL"),Ti=Er("spacingHorizontalXL"),Ii=Er("spacingHorizontalXXL"),Fi=Er("spacingHorizontalXXXL"),Ai=Er("spacingVerticalNone"),zi=Er("spacingVerticalXXS"),Ni=Er("spacingVerticalXS"),Li=Er("spacingVerticalSNudge"),Di=Er("spacingVerticalS"),Ei=Er("spacingVerticalMNudge"),Ri=Er("spacingVerticalM"),Oi=Er("spacingVerticalL"),Mi=Er("spacingVerticalXL"),Hi=Er("spacingVerticalXXL"),Vi=Er("spacingVerticalXXXL"),_i=Er("durationUltraFast"),ji=Er("durationFaster"),Gi=Er("durationFast"),qi=Er("durationNormal"),Xi=Er("durationSlow"),Wi=Er("durationSlower"),Ui=Er("durationUltraSlow"),Yi=Er("curveAccelerateMax"),Ki=Er("curveAccelerateMid"),Qi=Er("curveAccelerateMin"),Zi=Er("curveDecelerateMax"),Ji=Er("curveDecelerateMid"),ea=Er("curveDecelerateMin"),ta=Er("curveEasyEaseMax"),oa=Er("curveEasyEase"),ra=Er("curveLinear"),ia=Er("colorNeutralForeground1"),aa=Er("colorNeutralForeground1Hover"),na=Er("colorNeutralForeground1Pressed"),sa=Er("colorNeutralForeground1Selected"),la=Er("colorNeutralForeground2"),da=Er("colorNeutralForeground2Hover"),ca=Er("colorNeutralForeground2Pressed"),ha=Er("colorNeutralForeground2Selected"),ua=Er("colorNeutralForeground2BrandHover"),pa=Er("colorNeutralForeground2BrandPressed"),ga=Er("colorNeutralForeground2BrandSelected"),ba=Er("colorNeutralForeground3"),fa=Er("colorNeutralForeground3Hover"),ma=Er("colorNeutralForeground3Pressed"),va=Er("colorNeutralForeground3Selected"),ya=Er("colorNeutralForeground3BrandHover"),xa=Er("colorNeutralForeground3BrandPressed"),ka=Er("colorNeutralForeground3BrandSelected"),$a=Er("colorNeutralForeground4"),wa=Er("colorNeutralForegroundDisabled"),Ba=Er("colorNeutralForegroundInvertedDisabled"),Ca=Er("colorBrandForegroundLink"),Sa=Er("colorBrandForegroundLinkHover"),Pa=Er("colorBrandForegroundLinkPressed"),Ta=Er("colorBrandForegroundLinkSelected"),Ia=Er("colorNeutralForeground2Link"),Fa=Er("colorNeutralForeground2LinkHover"),Aa=Er("colorNeutralForeground2LinkPressed"),za=Er("colorNeutralForeground2LinkSelected"),Na=Er("colorCompoundBrandForeground1"),La=Er("colorCompoundBrandForeground1Hover"),Da=Er("colorCompoundBrandForeground1Pressed"),Ea=Er("colorBrandForeground1"),Ra=Er("colorBrandForeground2"),Oa=Er("colorNeutralForeground1Static"),Ma=Er("colorNeutralForegroundStaticInverted"),Ha=Er("colorNeutralForegroundInverted"),Va=Er("colorNeutralForegroundInvertedHover"),_a=Er("colorNeutralForegroundInvertedPressed"),ja=Er("colorNeutralForegroundInvertedSelected"),Ga=Er("colorNeutralForegroundInverted2"),qa=Er("colorNeutralForegroundOnBrand"),Xa=Er("colorNeutralForegroundInvertedLink"),Wa=Er("colorNeutralForegroundInvertedLinkHover"),Ua=Er("colorNeutralForegroundInvertedLinkPressed"),Ya=Er("colorNeutralForegroundInvertedLinkSelected"),Ka=Er("colorBrandForegroundInverted"),Qa=Er("colorBrandForegroundInvertedHover"),Za=Er("colorBrandForegroundInvertedPressed"),Ja=Er("colorBrandForegroundOnLight"),en=Er("colorBrandForegroundOnLightHover"),tn=Er("colorBrandForegroundOnLightPressed"),on=Er("colorBrandForegroundOnLightSelected"),rn=Er("colorNeutralBackground1"),an=Er("colorNeutralBackground1Hover"),nn=Er("colorNeutralBackground1Pressed"),sn=Er("colorNeutralBackground1Selected"),ln=Er("colorNeutralBackground2"),dn=Er("colorNeutralBackground2Hover"),cn=Er("colorNeutralBackground2Pressed"),hn=Er("colorNeutralBackground2Selected"),un=Er("colorNeutralBackground3"),pn=Er("colorNeutralBackground3Hover"),gn=Er("colorNeutralBackground3Pressed"),bn=Er("colorNeutralBackground3Selected"),fn=Er("colorNeutralBackground4"),mn=Er("colorNeutralBackground4Hover"),vn=Er("colorNeutralBackground4Pressed"),yn=Er("colorNeutralBackground4Selected"),xn=Er("colorNeutralBackground5"),kn=Er("colorNeutralBackground5Hover"),$n=Er("colorNeutralBackground5Pressed"),wn=Er("colorNeutralBackground5Selected"),Bn=Er("colorNeutralBackground6"),Cn=Er("colorNeutralBackgroundInverted"),Sn=Er("colorNeutralBackgroundStatic"),Pn=Er("colorSubtleBackground"),Tn=Er("colorSubtleBackgroundHover"),In=Er("colorSubtleBackgroundPressed"),Fn=Er("colorSubtleBackgroundSelected"),An=Er("colorSubtleBackgroundLightAlphaHover"),zn=Er("colorSubtleBackgroundLightAlphaPressed"),Nn=Er("colorSubtleBackgroundLightAlphaSelected"),Ln=Er("colorSubtleBackgroundInverted"),Dn=Er("colorSubtleBackgroundInvertedHover"),En=Er("colorSubtleBackgroundInvertedPressed"),Rn=Er("colorSubtleBackgroundInvertedSelected"),On=Er("colorTransparentBackground"),Mn=Er("colorTransparentBackgroundHover"),Hn=Er("colorTransparentBackgroundPressed"),Vn=Er("colorTransparentBackgroundSelected"),_n=Er("colorNeutralBackgroundDisabled"),jn=Er("colorNeutralBackgroundInvertedDisabled"),Gn=Er("colorNeutralStencil1"),qn=Er("colorNeutralStencil2"),Xn=Er("colorNeutralStencil1Alpha"),Wn=Er("colorNeutralStencil2Alpha"),Un=Er("colorBackgroundOverlay"),Yn=Er("colorScrollbarOverlay"),Kn=Er("colorBrandBackground"),Qn=Er("colorBrandBackgroundHover"),Zn=Er("colorBrandBackgroundPressed"),Jn=Er("colorBrandBackgroundSelected"),es=Er("colorCompoundBrandBackground"),ts=Er("colorCompoundBrandBackgroundHover"),os=Er("colorCompoundBrandBackgroundPressed"),rs=Er("colorBrandBackgroundStatic"),is=Er("colorBrandBackground2"),as=Er("colorBrandBackgroundInverted"),ns=Er("colorBrandBackgroundInvertedHover"),ss=Er("colorBrandBackgroundInvertedPressed"),ls=Er("colorBrandBackgroundInvertedSelected"),ds=Er("colorNeutralStrokeAccessible"),cs=Er("colorNeutralStrokeAccessibleHover"),hs=Er("colorNeutralStrokeAccessiblePressed"),us=Er("colorNeutralStrokeAccessibleSelected"),ps=Er("colorNeutralStroke1"),gs=Er("colorNeutralStroke1Hover"),bs=Er("colorNeutralStroke1Pressed"),fs=Er("colorNeutralStroke1Selected"),ms=Er("colorNeutralStroke2"),vs=Er("colorNeutralStroke3"),ys=Er("colorNeutralStrokeOnBrand"),xs=Er("colorNeutralStrokeOnBrand2"),ks=Er("colorNeutralStrokeOnBrand2Hover"),$s=Er("colorNeutralStrokeOnBrand2Pressed"),ws=Er("colorNeutralStrokeOnBrand2Selected"),Bs=Er("colorBrandStroke1"),Cs=Er("colorBrandStroke2"),Ss=Er("colorCompoundBrandStroke"),Ps=Er("colorCompoundBrandStrokeHover"),Ts=Er("colorCompoundBrandStrokePressed"),Is=Er("colorNeutralStrokeDisabled"),Fs=Er("colorNeutralStrokeInvertedDisabled"),As=Er("colorTransparentStroke"),zs=Er("colorTransparentStrokeInteractive"),Ns=Er("colorTransparentStrokeDisabled"),Ls=Er("colorStrokeFocus1"),Ds=Er("colorStrokeFocus2"),Es=Er("colorNeutralShadowAmbient"),Rs=Er("colorNeutralShadowKey"),Os=Er("colorNeutralShadowAmbientLighter"),Ms=Er("colorNeutralShadowKeyLighter"),Hs=Er("colorNeutralShadowAmbientDarker"),Vs=Er("colorNeutralShadowKeyDarker"),_s=Er("colorBrandShadowAmbient"),js=Er("colorBrandShadowKey"),Gs=Er("colorPaletteRedBackground1"),qs=Er("colorPaletteRedBackground2"),Xs=Er("colorPaletteRedBackground3"),Ws=Er("colorPaletteRedForeground1"),Us=Er("colorPaletteRedForeground2"),Ys=Er("colorPaletteRedForeground3"),Ks=Er("colorPaletteRedBorderActive"),Qs=Er("colorPaletteRedBorder1"),Zs=Er("colorPaletteRedBorder2"),Js=Er("colorPaletteGreenBackground1"),el=Er("colorPaletteGreenBackground2"),tl=Er("colorPaletteGreenBackground3"),ol=Er("colorPaletteGreenForeground1"),rl=Er("colorPaletteGreenForeground2"),il=Er("colorPaletteGreenForeground3"),al=Er("colorPaletteGreenBorderActive"),nl=Er("colorPaletteGreenBorder1"),sl=Er("colorPaletteGreenBorder2"),ll=Er("colorPaletteDarkOrangeBackground1"),dl=Er("colorPaletteDarkOrangeBackground2"),cl=Er("colorPaletteDarkOrangeBackground3"),hl=Er("colorPaletteDarkOrangeForeground1"),ul=Er("colorPaletteDarkOrangeForeground2"),pl=Er("colorPaletteDarkOrangeForeground3"),gl=Er("colorPaletteDarkOrangeBorderActive"),bl=Er("colorPaletteDarkOrangeBorder1"),fl=Er("colorPaletteDarkOrangeBorder2"),ml=Er("colorPaletteYellowBackground1"),vl=Er("colorPaletteYellowBackground2"),yl=Er("colorPaletteYellowBackground3"),xl=Er("colorPaletteYellowForeground1"),kl=Er("colorPaletteYellowForeground2"),$l=Er("colorPaletteYellowForeground3"),wl=Er("colorPaletteYellowBorderActive"),Bl=Er("colorPaletteYellowBorder1"),Cl=Er("colorPaletteYellowBorder2"),Sl=Er("colorPaletteBerryBackground1"),Pl=Er("colorPaletteBerryBackground2"),Tl=Er("colorPaletteBerryBackground3"),Il=Er("colorPaletteBerryForeground1"),Fl=Er("colorPaletteBerryForeground2"),Al=Er("colorPaletteBerryForeground3"),zl=Er("colorPaletteBerryBorderActive"),Nl=Er("colorPaletteBerryBorder1"),Ll=Er("colorPaletteBerryBorder2"),Dl=Er("colorPaletteLightGreenBackground1"),El=Er("colorPaletteLightGreenBackground2"),Rl=Er("colorPaletteLightGreenBackground3"),Ol=Er("colorPaletteLightGreenForeground1"),Ml=Er("colorPaletteLightGreenForeground2"),Hl=Er("colorPaletteLightGreenForeground3"),Vl=Er("colorPaletteLightGreenBorderActive"),_l=Er("colorPaletteLightGreenBorder1"),jl=Er("colorPaletteLightGreenBorder2"),Gl=Er("colorPaletteMarigoldBackground1"),ql=Er("colorPaletteMarigoldBackground2"),Xl=Er("colorPaletteMarigoldBackground3"),Wl=Er("colorPaletteMarigoldForeground1"),Ul=Er("colorPaletteMarigoldForeground2"),Yl=Er("colorPaletteMarigoldForeground3"),Kl=Er("colorPaletteMarigoldBorderActive"),Ql=Er("colorPaletteMarigoldBorder1"),Zl=Er("colorPaletteMarigoldBorder2"),Jl=Er("colorPaletteDarkRedBackground2"),ed=Er("colorPaletteDarkRedForeground2"),td=Er("colorPaletteDarkRedBorderActive"),od=Er("colorPaletteCranberryBackground2"),rd=Er("colorPaletteCranberryForeground2"),id=Er("colorPaletteCranberryBorderActive"),ad=Er("colorPalettePumpkinBackground2"),nd=Er("colorPalettePumpkinForeground2"),sd=Er("colorPalettePumpkinBorderActive"),ld=Er("colorPalettePeachBackground2"),dd=Er("colorPalettePeachForeground2"),cd=Er("colorPalettePeachBorderActive"),hd=Er("colorPaletteGoldBackground2"),ud=Er("colorPaletteGoldForeground2"),pd=Er("colorPaletteGoldBorderActive"),gd=Er("colorPaletteBrassBackground2"),bd=Er("colorPaletteBrassForeground2"),fd=Er("colorPaletteBrassBorderActive"),md=Er("colorPaletteBrownBackground2"),vd=Er("colorPaletteBrownForeground2"),yd=Er("colorPaletteBrownBorderActive"),xd=Er("colorPaletteForestBackground2"),kd=Er("colorPaletteForestForeground2"),$d=Er("colorPaletteForestBorderActive"),wd=Er("colorPaletteSeafoamBackground2"),Bd=Er("colorPaletteSeafoamForeground2"),Cd=Er("colorPaletteSeafoamBorderActive"),Sd=Er("colorPaletteDarkGreenBackground2"),Pd=Er("colorPaletteDarkGreenForeground2"),Td=Er("colorPaletteDarkGreenBorderActive"),Id=Er("colorPaletteLightTealBackground2"),Fd=Er("colorPaletteLightTealForeground2"),Ad=Er("colorPaletteLightTealBorderActive"),zd=Er("colorPaletteTealBackground2"),Nd=Er("colorPaletteTealForeground2"),Ld=Er("colorPaletteTealBorderActive"),Dd=Er("colorPaletteSteelBackground2"),Ed=Er("colorPaletteSteelForeground2"),Rd=Er("colorPaletteSteelBorderActive"),Od=Er("colorPaletteBlueBackground2"),Md=Er("colorPaletteBlueForeground2"),Hd=Er("colorPaletteBlueBorderActive"),Vd=Er("colorPaletteRoyalBlueBackground2"),_d=Er("colorPaletteRoyalBlueForeground2"),jd=Er("colorPaletteRoyalBlueBorderActive"),Gd=Er("colorPaletteCornflowerBackground2"),qd=Er("colorPaletteCornflowerForeground2"),Xd=Er("colorPaletteCornflowerBorderActive"),Wd=Er("colorPaletteNavyBackground2"),Ud=Er("colorPaletteNavyForeground2"),Yd=Er("colorPaletteNavyBorderActive"),Kd=Er("colorPaletteLavenderBackground2"),Qd=Er("colorPaletteLavenderForeground2"),Zd=Er("colorPaletteLavenderBorderActive"),Jd=Er("colorPalettePurpleBackground2"),ec=Er("colorPalettePurpleForeground2"),tc=Er("colorPalettePurpleBorderActive"),oc=Er("colorPaletteGrapeBackground2"),rc=Er("colorPaletteGrapeForeground2"),ic=Er("colorPaletteGrapeBorderActive"),ac=Er("colorPaletteLilacBackground2"),nc=Er("colorPaletteLilacForeground2"),sc=Er("colorPaletteLilacBorderActive"),lc=Er("colorPalettePinkBackground2"),dc=Er("colorPalettePinkForeground2"),cc=Er("colorPalettePinkBorderActive"),hc=Er("colorPaletteMagentaBackground2"),uc=Er("colorPaletteMagentaForeground2"),pc=Er("colorPaletteMagentaBorderActive"),gc=Er("colorPalettePlumBackground2"),bc=Er("colorPalettePlumForeground2"),fc=Er("colorPalettePlumBorderActive"),mc=Er("colorPaletteBeigeBackground2"),vc=Er("colorPaletteBeigeForeground2"),yc=Er("colorPaletteBeigeBorderActive"),xc=Er("colorPaletteMinkBackground2"),kc=Er("colorPaletteMinkForeground2"),$c=Er("colorPaletteMinkBorderActive"),wc=Er("colorPalettePlatinumBackground2"),Bc=Er("colorPalettePlatinumForeground2"),Cc=Er("colorPalettePlatinumBorderActive"),Sc=Er("colorPaletteAnchorBackground2"),Pc=Er("colorPaletteAnchorForeground2"),Tc=Er("colorPaletteAnchorBorderActive"),Ic=Er("colorPaletteRedForegroundInverted"),Fc=Er("colorPaletteGreenForegroundInverted"),Ac=Er("colorPaletteYellowForegroundInverted"),zc=Er("shadow2"),Nc=Er("shadow4"),Lc=Er("shadow8"),Dc=Er("shadow16"),Ec=Er("shadow28"),Rc=Er("shadow64"),Oc=Er("shadow2Brand"),Mc=Er("shadow4Brand"),Hc=Er("shadow8Brand"),Vc=Er("shadow16Brand"),_c=Er("shadow28Brand"),jc=Er("shadow64Brand");var Gc=Object.freeze({__proto__:null,borderRadiusNone:Rr,borderRadiusSmall:Or,borderRadiusMedium:Mr,borderRadiusLarge:Hr,borderRadiusXLarge:Vr,borderRadiusCircular:_r,fontSizeBase100:jr,fontSizeBase200:Gr,fontSizeBase300:qr,fontSizeBase400:Xr,fontSizeBase500:Wr,fontSizeBase600:Ur,fontSizeHero700:Yr,fontSizeHero800:Kr,fontSizeHero900:Qr,fontSizeHero1000:Zr,lineHeightBase100:Jr,lineHeightBase200:ei,lineHeightBase300:ti,lineHeightBase400:oi,lineHeightBase500:ri,lineHeightBase600:ii,lineHeightHero700:ai,lineHeightHero800:ni,lineHeightHero900:si,lineHeightHero1000:li,fontFamilyBase:di,fontFamilyMonospace:ci,fontFamilyNumeric:hi,fontWeightRegular:ui,fontWeightMedium:pi,fontWeightSemibold:gi,fontWeightBold:bi,strokeWidthThin:fi,strokeWidthThick:mi,strokeWidthThicker:vi,strokeWidthThickest:yi,spacingHorizontalNone:xi,spacingHorizontalXXS:ki,spacingHorizontalXS:$i,spacingHorizontalSNudge:wi,spacingHorizontalS:Bi,spacingHorizontalMNudge:Ci,spacingHorizontalM:Si,spacingHorizontalL:Pi,spacingHorizontalXL:Ti,spacingHorizontalXXL:Ii,spacingHorizontalXXXL:Fi,spacingVerticalNone:Ai,spacingVerticalXXS:zi,spacingVerticalXS:Ni,spacingVerticalSNudge:Li,spacingVerticalS:Di,spacingVerticalMNudge:Ei,spacingVerticalM:Ri,spacingVerticalL:Oi,spacingVerticalXL:Mi,spacingVerticalXXL:Hi,spacingVerticalXXXL:Vi,durationUltraFast:_i,durationFaster:ji,durationFast:Gi,durationNormal:qi,durationSlow:Xi,durationSlower:Wi,durationUltraSlow:Ui,curveAccelerateMax:Yi,curveAccelerateMid:Ki,curveAccelerateMin:Qi,curveDecelerateMax:Zi,curveDecelerateMid:Ji,curveDecelerateMin:ea,curveEasyEaseMax:ta,curveEasyEase:oa,curveLinear:ra,colorNeutralForeground1:ia,colorNeutralForeground1Hover:aa,colorNeutralForeground1Pressed:na,colorNeutralForeground1Selected:sa,colorNeutralForeground2:la,colorNeutralForeground2Hover:da,colorNeutralForeground2Pressed:ca,colorNeutralForeground2Selected:ha,colorNeutralForeground2BrandHover:ua,colorNeutralForeground2BrandPressed:pa,colorNeutralForeground2BrandSelected:ga,colorNeutralForeground3:ba,colorNeutralForeground3Hover:fa,colorNeutralForeground3Pressed:ma,colorNeutralForeground3Selected:va,colorNeutralForeground3BrandHover:ya,colorNeutralForeground3BrandPressed:xa,colorNeutralForeground3BrandSelected:ka,colorNeutralForeground4:$a,colorNeutralForegroundDisabled:wa,colorNeutralForegroundInvertedDisabled:Ba,colorBrandForegroundLink:Ca,colorBrandForegroundLinkHover:Sa,colorBrandForegroundLinkPressed:Pa,colorBrandForegroundLinkSelected:Ta,colorNeutralForeground2Link:Ia,colorNeutralForeground2LinkHover:Fa,colorNeutralForeground2LinkPressed:Aa,colorNeutralForeground2LinkSelected:za,colorCompoundBrandForeground1:Na,colorCompoundBrandForeground1Hover:La,colorCompoundBrandForeground1Pressed:Da,colorBrandForeground1:Ea,colorBrandForeground2:Ra,colorNeutralForeground1Static:Oa,colorNeutralForegroundStaticInverted:Ma,colorNeutralForegroundInverted:Ha,colorNeutralForegroundInvertedHover:Va,colorNeutralForegroundInvertedPressed:_a,colorNeutralForegroundInvertedSelected:ja,colorNeutralForegroundInverted2:Ga,colorNeutralForegroundOnBrand:qa,colorNeutralForegroundInvertedLink:Xa,colorNeutralForegroundInvertedLinkHover:Wa,colorNeutralForegroundInvertedLinkPressed:Ua,colorNeutralForegroundInvertedLinkSelected:Ya,colorBrandForegroundInverted:Ka,colorBrandForegroundInvertedHover:Qa,colorBrandForegroundInvertedPressed:Za,colorBrandForegroundOnLight:Ja,colorBrandForegroundOnLightHover:en,colorBrandForegroundOnLightPressed:tn,colorBrandForegroundOnLightSelected:on,colorNeutralBackground1:rn,colorNeutralBackground1Hover:an,colorNeutralBackground1Pressed:nn,colorNeutralBackground1Selected:sn,colorNeutralBackground2:ln,colorNeutralBackground2Hover:dn,colorNeutralBackground2Pressed:cn,colorNeutralBackground2Selected:hn,colorNeutralBackground3:un,colorNeutralBackground3Hover:pn,colorNeutralBackground3Pressed:gn,colorNeutralBackground3Selected:bn,colorNeutralBackground4:fn,colorNeutralBackground4Hover:mn,colorNeutralBackground4Pressed:vn,colorNeutralBackground4Selected:yn,colorNeutralBackground5:xn,colorNeutralBackground5Hover:kn,colorNeutralBackground5Pressed:$n,colorNeutralBackground5Selected:wn,colorNeutralBackground6:Bn,colorNeutralBackgroundInverted:Cn,colorNeutralBackgroundStatic:Sn,colorSubtleBackground:Pn,colorSubtleBackgroundHover:Tn,colorSubtleBackgroundPressed:In,colorSubtleBackgroundSelected:Fn,colorSubtleBackgroundLightAlphaHover:An,colorSubtleBackgroundLightAlphaPressed:zn,colorSubtleBackgroundLightAlphaSelected:Nn,colorSubtleBackgroundInverted:Ln,colorSubtleBackgroundInvertedHover:Dn,colorSubtleBackgroundInvertedPressed:En,colorSubtleBackgroundInvertedSelected:Rn,colorTransparentBackground:On,colorTransparentBackgroundHover:Mn,colorTransparentBackgroundPressed:Hn,colorTransparentBackgroundSelected:Vn,colorNeutralBackgroundDisabled:_n,colorNeutralBackgroundInvertedDisabled:jn,colorNeutralStencil1:Gn,colorNeutralStencil2:qn,colorNeutralStencil1Alpha:Xn,colorNeutralStencil2Alpha:Wn,colorBackgroundOverlay:Un,colorScrollbarOverlay:Yn,colorBrandBackground:Kn,colorBrandBackgroundHover:Qn,colorBrandBackgroundPressed:Zn,colorBrandBackgroundSelected:Jn,colorCompoundBrandBackground:es,colorCompoundBrandBackgroundHover:ts,colorCompoundBrandBackgroundPressed:os,colorBrandBackgroundStatic:rs,colorBrandBackground2:is,colorBrandBackgroundInverted:as,colorBrandBackgroundInvertedHover:ns,colorBrandBackgroundInvertedPressed:ss,colorBrandBackgroundInvertedSelected:ls,colorNeutralStrokeAccessible:ds,colorNeutralStrokeAccessibleHover:cs,colorNeutralStrokeAccessiblePressed:hs,colorNeutralStrokeAccessibleSelected:us,colorNeutralStroke1:ps,colorNeutralStroke1Hover:gs,colorNeutralStroke1Pressed:bs,colorNeutralStroke1Selected:fs,colorNeutralStroke2:ms,colorNeutralStroke3:vs,colorNeutralStrokeOnBrand:ys,colorNeutralStrokeOnBrand2:xs,colorNeutralStrokeOnBrand2Hover:ks,colorNeutralStrokeOnBrand2Pressed:$s,colorNeutralStrokeOnBrand2Selected:ws,colorBrandStroke1:Bs,colorBrandStroke2:Cs,colorCompoundBrandStroke:Ss,colorCompoundBrandStrokeHover:Ps,colorCompoundBrandStrokePressed:Ts,colorNeutralStrokeDisabled:Is,colorNeutralStrokeInvertedDisabled:Fs,colorTransparentStroke:As,colorTransparentStrokeInteractive:zs,colorTransparentStrokeDisabled:Ns,colorStrokeFocus1:Ls,colorStrokeFocus2:Ds,colorNeutralShadowAmbient:Es,colorNeutralShadowKey:Rs,colorNeutralShadowAmbientLighter:Os,colorNeutralShadowKeyLighter:Ms,colorNeutralShadowAmbientDarker:Hs,colorNeutralShadowKeyDarker:Vs,colorBrandShadowAmbient:_s,colorBrandShadowKey:js,colorPaletteRedBackground1:Gs,colorPaletteRedBackground2:qs,colorPaletteRedBackground3:Xs,colorPaletteRedForeground1:Ws,colorPaletteRedForeground2:Us,colorPaletteRedForeground3:Ys,colorPaletteRedBorderActive:Ks,colorPaletteRedBorder1:Qs,colorPaletteRedBorder2:Zs,colorPaletteGreenBackground1:Js,colorPaletteGreenBackground2:el,colorPaletteGreenBackground3:tl,colorPaletteGreenForeground1:ol,colorPaletteGreenForeground2:rl,colorPaletteGreenForeground3:il,colorPaletteGreenBorderActive:al,colorPaletteGreenBorder1:nl,colorPaletteGreenBorder2:sl,colorPaletteDarkOrangeBackground1:ll,colorPaletteDarkOrangeBackground2:dl,colorPaletteDarkOrangeBackground3:cl,colorPaletteDarkOrangeForeground1:hl,colorPaletteDarkOrangeForeground2:ul,colorPaletteDarkOrangeForeground3:pl,colorPaletteDarkOrangeBorderActive:gl,colorPaletteDarkOrangeBorder1:bl,colorPaletteDarkOrangeBorder2:fl,colorPaletteYellowBackground1:ml,colorPaletteYellowBackground2:vl,colorPaletteYellowBackground3:yl,colorPaletteYellowForeground1:xl,colorPaletteYellowForeground2:kl,colorPaletteYellowForeground3:$l,colorPaletteYellowBorderActive:wl,colorPaletteYellowBorder1:Bl,colorPaletteYellowBorder2:Cl,colorPaletteBerryBackground1:Sl,colorPaletteBerryBackground2:Pl,colorPaletteBerryBackground3:Tl,colorPaletteBerryForeground1:Il,colorPaletteBerryForeground2:Fl,colorPaletteBerryForeground3:Al,colorPaletteBerryBorderActive:zl,colorPaletteBerryBorder1:Nl,colorPaletteBerryBorder2:Ll,colorPaletteLightGreenBackground1:Dl,colorPaletteLightGreenBackground2:El,colorPaletteLightGreenBackground3:Rl,colorPaletteLightGreenForeground1:Ol,colorPaletteLightGreenForeground2:Ml,colorPaletteLightGreenForeground3:Hl,colorPaletteLightGreenBorderActive:Vl,colorPaletteLightGreenBorder1:_l,colorPaletteLightGreenBorder2:jl,colorPaletteMarigoldBackground1:Gl,colorPaletteMarigoldBackground2:ql,colorPaletteMarigoldBackground3:Xl,colorPaletteMarigoldForeground1:Wl,colorPaletteMarigoldForeground2:Ul,colorPaletteMarigoldForeground3:Yl,colorPaletteMarigoldBorderActive:Kl,colorPaletteMarigoldBorder1:Ql,colorPaletteMarigoldBorder2:Zl,colorPaletteDarkRedBackground2:Jl,colorPaletteDarkRedForeground2:ed,colorPaletteDarkRedBorderActive:td,colorPaletteCranberryBackground2:od,colorPaletteCranberryForeground2:rd,colorPaletteCranberryBorderActive:id,colorPalettePumpkinBackground2:ad,colorPalettePumpkinForeground2:nd,colorPalettePumpkinBorderActive:sd,colorPalettePeachBackground2:ld,colorPalettePeachForeground2:dd,colorPalettePeachBorderActive:cd,colorPaletteGoldBackground2:hd,colorPaletteGoldForeground2:ud,colorPaletteGoldBorderActive:pd,colorPaletteBrassBackground2:gd,colorPaletteBrassForeground2:bd,colorPaletteBrassBorderActive:fd,colorPaletteBrownBackground2:md,colorPaletteBrownForeground2:vd,colorPaletteBrownBorderActive:yd,colorPaletteForestBackground2:xd,colorPaletteForestForeground2:kd,colorPaletteForestBorderActive:$d,colorPaletteSeafoamBackground2:wd,colorPaletteSeafoamForeground2:Bd,colorPaletteSeafoamBorderActive:Cd,colorPaletteDarkGreenBackground2:Sd,colorPaletteDarkGreenForeground2:Pd,colorPaletteDarkGreenBorderActive:Td,colorPaletteLightTealBackground2:Id,colorPaletteLightTealForeground2:Fd,colorPaletteLightTealBorderActive:Ad,colorPaletteTealBackground2:zd,colorPaletteTealForeground2:Nd,colorPaletteTealBorderActive:Ld,colorPaletteSteelBackground2:Dd,colorPaletteSteelForeground2:Ed,colorPaletteSteelBorderActive:Rd,colorPaletteBlueBackground2:Od,colorPaletteBlueForeground2:Md,colorPaletteBlueBorderActive:Hd,colorPaletteRoyalBlueBackground2:Vd,colorPaletteRoyalBlueForeground2:_d,colorPaletteRoyalBlueBorderActive:jd,colorPaletteCornflowerBackground2:Gd,colorPaletteCornflowerForeground2:qd,colorPaletteCornflowerBorderActive:Xd,colorPaletteNavyBackground2:Wd,colorPaletteNavyForeground2:Ud,colorPaletteNavyBorderActive:Yd,colorPaletteLavenderBackground2:Kd,colorPaletteLavenderForeground2:Qd,colorPaletteLavenderBorderActive:Zd,colorPalettePurpleBackground2:Jd,colorPalettePurpleForeground2:ec,colorPalettePurpleBorderActive:tc,colorPaletteGrapeBackground2:oc,colorPaletteGrapeForeground2:rc,colorPaletteGrapeBorderActive:ic,colorPaletteLilacBackground2:ac,colorPaletteLilacForeground2:nc,colorPaletteLilacBorderActive:sc,colorPalettePinkBackground2:lc,colorPalettePinkForeground2:dc,colorPalettePinkBorderActive:cc,colorPaletteMagentaBackground2:hc,colorPaletteMagentaForeground2:uc,colorPaletteMagentaBorderActive:pc,colorPalettePlumBackground2:gc,colorPalettePlumForeground2:bc,colorPalettePlumBorderActive:fc,colorPaletteBeigeBackground2:mc,colorPaletteBeigeForeground2:vc,colorPaletteBeigeBorderActive:yc,colorPaletteMinkBackground2:xc,colorPaletteMinkForeground2:kc,colorPaletteMinkBorderActive:$c,colorPalettePlatinumBackground2:wc,colorPalettePlatinumForeground2:Bc,colorPalettePlatinumBorderActive:Cc,colorPaletteAnchorBackground2:Sc,colorPaletteAnchorForeground2:Pc,colorPaletteAnchorBorderActive:Tc,colorPaletteRedForegroundInverted:Ic,colorPaletteGreenForegroundInverted:Fc,colorPaletteYellowForegroundInverted:Ac,shadow2:zc,shadow4:Nc,shadow8:Lc,shadow16:Dc,shadow28:Ec,shadow64:Rc,shadow2Brand:Oc,shadow4Brand:Mc,shadow8Brand:Hc,shadow16Brand:Vc,shadow28Brand:_c,shadow64Brand:jc});const qc=j`
5
- ${Pr("block")}
4
+ :host{flex-direction:column;width:100%;contain:content}`,Nr=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Lr=Fr.compose({name:Nr.prefix+"-accordion",template:Ar,styles:zr});class Dr extends pt{constructor(){super(...arguments),this.block=!1}}Je([De],Dr.prototype,"size",void 0),Je([De({mode:"boolean"})],Dr.prototype,"block",void 0),Je([De({attribute:"expand-icon-position"})],Dr.prototype,"expandIconPosition",void 0);const Er={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Rr={start:"start",end:"end"},{create:Or}=jo,Mr=Or("borderRadiusNone"),Hr=Or("borderRadiusSmall"),Vr=Or("borderRadiusMedium"),_r=Or("borderRadiusLarge"),jr=Or("borderRadiusXLarge"),Gr=Or("borderRadiusCircular"),qr=Or("fontSizeBase100"),Xr=Or("fontSizeBase200"),Wr=Or("fontSizeBase300"),Ur=Or("fontSizeBase400"),Yr=Or("fontSizeBase500"),Kr=Or("fontSizeBase600"),Qr=Or("fontSizeHero700"),Zr=Or("fontSizeHero800"),Jr=Or("fontSizeHero900"),ei=Or("fontSizeHero1000"),ti=Or("lineHeightBase100"),oi=Or("lineHeightBase200"),ri=Or("lineHeightBase300"),ii=Or("lineHeightBase400"),ai=Or("lineHeightBase500"),ni=Or("lineHeightBase600"),si=Or("lineHeightHero700"),li=Or("lineHeightHero800"),di=Or("lineHeightHero900"),ci=Or("lineHeightHero1000"),hi=Or("fontFamilyBase"),ui=Or("fontFamilyMonospace"),pi=Or("fontFamilyNumeric"),gi=Or("fontWeightRegular"),bi=Or("fontWeightMedium"),fi=Or("fontWeightSemibold"),mi=Or("fontWeightBold"),vi=Or("strokeWidthThin"),yi=Or("strokeWidthThick"),ki=Or("strokeWidthThicker"),xi=Or("strokeWidthThickest"),$i=Or("spacingHorizontalNone"),wi=Or("spacingHorizontalXXS"),Bi=Or("spacingHorizontalXS"),Ci=Or("spacingHorizontalSNudge"),Si=Or("spacingHorizontalS"),Pi=Or("spacingHorizontalMNudge"),Ti=Or("spacingHorizontalM"),Ii=Or("spacingHorizontalL"),Fi=Or("spacingHorizontalXL"),Ai=Or("spacingHorizontalXXL"),zi=Or("spacingHorizontalXXXL"),Ni=Or("spacingVerticalNone"),Li=Or("spacingVerticalXXS"),Di=Or("spacingVerticalXS"),Ei=Or("spacingVerticalSNudge"),Ri=Or("spacingVerticalS"),Oi=Or("spacingVerticalMNudge"),Mi=Or("spacingVerticalM"),Hi=Or("spacingVerticalL"),Vi=Or("spacingVerticalXL"),_i=Or("spacingVerticalXXL"),ji=Or("spacingVerticalXXXL"),Gi=Or("durationUltraFast"),qi=Or("durationFaster"),Xi=Or("durationFast"),Wi=Or("durationNormal"),Ui=Or("durationSlow"),Yi=Or("durationSlower"),Ki=Or("durationUltraSlow"),Qi=Or("curveAccelerateMax"),Zi=Or("curveAccelerateMid"),Ji=Or("curveAccelerateMin"),ea=Or("curveDecelerateMax"),ta=Or("curveDecelerateMid"),oa=Or("curveDecelerateMin"),ra=Or("curveEasyEaseMax"),ia=Or("curveEasyEase"),aa=Or("curveLinear"),na=Or("colorNeutralForeground1"),sa=Or("colorNeutralForeground1Hover"),la=Or("colorNeutralForeground1Pressed"),da=Or("colorNeutralForeground1Selected"),ca=Or("colorNeutralForeground2"),ha=Or("colorNeutralForeground2Hover"),ua=Or("colorNeutralForeground2Pressed"),pa=Or("colorNeutralForeground2Selected"),ga=Or("colorNeutralForeground2BrandHover"),ba=Or("colorNeutralForeground2BrandPressed"),fa=Or("colorNeutralForeground2BrandSelected"),ma=Or("colorNeutralForeground3"),va=Or("colorNeutralForeground3Hover"),ya=Or("colorNeutralForeground3Pressed"),ka=Or("colorNeutralForeground3Selected"),xa=Or("colorNeutralForeground3BrandHover"),$a=Or("colorNeutralForeground3BrandPressed"),wa=Or("colorNeutralForeground3BrandSelected"),Ba=Or("colorNeutralForeground4"),Ca=Or("colorNeutralForegroundDisabled"),Sa=Or("colorNeutralForegroundInvertedDisabled"),Pa=Or("colorBrandForegroundLink"),Ta=Or("colorBrandForegroundLinkHover"),Ia=Or("colorBrandForegroundLinkPressed"),Fa=Or("colorBrandForegroundLinkSelected"),Aa=Or("colorNeutralForeground2Link"),za=Or("colorNeutralForeground2LinkHover"),Na=Or("colorNeutralForeground2LinkPressed"),La=Or("colorNeutralForeground2LinkSelected"),Da=Or("colorCompoundBrandForeground1"),Ea=Or("colorCompoundBrandForeground1Hover"),Ra=Or("colorCompoundBrandForeground1Pressed"),Oa=Or("colorBrandForeground1"),Ma=Or("colorBrandForeground2"),Ha=Or("colorNeutralForeground1Static"),Va=Or("colorNeutralForegroundStaticInverted"),_a=Or("colorNeutralForegroundInverted"),ja=Or("colorNeutralForegroundInvertedHover"),Ga=Or("colorNeutralForegroundInvertedPressed"),qa=Or("colorNeutralForegroundInvertedSelected"),Xa=Or("colorNeutralForegroundInverted2"),Wa=Or("colorNeutralForegroundOnBrand"),Ua=Or("colorNeutralForegroundInvertedLink"),Ya=Or("colorNeutralForegroundInvertedLinkHover"),Ka=Or("colorNeutralForegroundInvertedLinkPressed"),Qa=Or("colorNeutralForegroundInvertedLinkSelected"),Za=Or("colorBrandForegroundInverted"),Ja=Or("colorBrandForegroundInvertedHover"),en=Or("colorBrandForegroundInvertedPressed"),tn=Or("colorBrandForegroundOnLight"),on=Or("colorBrandForegroundOnLightHover"),rn=Or("colorBrandForegroundOnLightPressed"),an=Or("colorBrandForegroundOnLightSelected"),nn=Or("colorNeutralBackground1"),sn=Or("colorNeutralBackground1Hover"),ln=Or("colorNeutralBackground1Pressed"),dn=Or("colorNeutralBackground1Selected"),cn=Or("colorNeutralBackground2"),hn=Or("colorNeutralBackground2Hover"),un=Or("colorNeutralBackground2Pressed"),pn=Or("colorNeutralBackground2Selected"),gn=Or("colorNeutralBackground3"),bn=Or("colorNeutralBackground3Hover"),fn=Or("colorNeutralBackground3Pressed"),mn=Or("colorNeutralBackground3Selected"),vn=Or("colorNeutralBackground4"),yn=Or("colorNeutralBackground4Hover"),kn=Or("colorNeutralBackground4Pressed"),xn=Or("colorNeutralBackground4Selected"),$n=Or("colorNeutralBackground5"),wn=Or("colorNeutralBackground5Hover"),Bn=Or("colorNeutralBackground5Pressed"),Cn=Or("colorNeutralBackground5Selected"),Sn=Or("colorNeutralBackground6"),Pn=Or("colorNeutralBackgroundInverted"),Tn=Or("colorNeutralBackgroundStatic"),In=Or("colorSubtleBackground"),Fn=Or("colorSubtleBackgroundHover"),An=Or("colorSubtleBackgroundPressed"),zn=Or("colorSubtleBackgroundSelected"),Nn=Or("colorSubtleBackgroundLightAlphaHover"),Ln=Or("colorSubtleBackgroundLightAlphaPressed"),Dn=Or("colorSubtleBackgroundLightAlphaSelected"),En=Or("colorSubtleBackgroundInverted"),Rn=Or("colorSubtleBackgroundInvertedHover"),On=Or("colorSubtleBackgroundInvertedPressed"),Mn=Or("colorSubtleBackgroundInvertedSelected"),Hn=Or("colorTransparentBackground"),Vn=Or("colorTransparentBackgroundHover"),_n=Or("colorTransparentBackgroundPressed"),jn=Or("colorTransparentBackgroundSelected"),Gn=Or("colorNeutralBackgroundDisabled"),qn=Or("colorNeutralBackgroundInvertedDisabled"),Xn=Or("colorNeutralStencil1"),Wn=Or("colorNeutralStencil2"),Un=Or("colorNeutralStencil1Alpha"),Yn=Or("colorNeutralStencil2Alpha"),Kn=Or("colorBackgroundOverlay"),Qn=Or("colorScrollbarOverlay"),Zn=Or("colorBrandBackground"),Jn=Or("colorBrandBackgroundHover"),es=Or("colorBrandBackgroundPressed"),ts=Or("colorBrandBackgroundSelected"),os=Or("colorCompoundBrandBackground"),rs=Or("colorCompoundBrandBackgroundHover"),is=Or("colorCompoundBrandBackgroundPressed"),as=Or("colorBrandBackgroundStatic"),ns=Or("colorBrandBackground2"),ss=Or("colorBrandBackgroundInverted"),ls=Or("colorBrandBackgroundInvertedHover"),ds=Or("colorBrandBackgroundInvertedPressed"),cs=Or("colorBrandBackgroundInvertedSelected"),hs=Or("colorNeutralStrokeAccessible"),us=Or("colorNeutralStrokeAccessibleHover"),ps=Or("colorNeutralStrokeAccessiblePressed"),gs=Or("colorNeutralStrokeAccessibleSelected"),bs=Or("colorNeutralStroke1"),fs=Or("colorNeutralStroke1Hover"),ms=Or("colorNeutralStroke1Pressed"),vs=Or("colorNeutralStroke1Selected"),ys=Or("colorNeutralStroke2"),ks=Or("colorNeutralStroke3"),xs=Or("colorNeutralStrokeOnBrand"),$s=Or("colorNeutralStrokeOnBrand2"),ws=Or("colorNeutralStrokeOnBrand2Hover"),Bs=Or("colorNeutralStrokeOnBrand2Pressed"),Cs=Or("colorNeutralStrokeOnBrand2Selected"),Ss=Or("colorBrandStroke1"),Ps=Or("colorBrandStroke2"),Ts=Or("colorCompoundBrandStroke"),Is=Or("colorCompoundBrandStrokeHover"),Fs=Or("colorCompoundBrandStrokePressed"),As=Or("colorNeutralStrokeDisabled"),zs=Or("colorNeutralStrokeInvertedDisabled"),Ns=Or("colorTransparentStroke"),Ls=Or("colorTransparentStrokeInteractive"),Ds=Or("colorTransparentStrokeDisabled"),Es=Or("colorStrokeFocus1"),Rs=Or("colorStrokeFocus2"),Os=Or("colorNeutralShadowAmbient"),Ms=Or("colorNeutralShadowKey"),Hs=Or("colorNeutralShadowAmbientLighter"),Vs=Or("colorNeutralShadowKeyLighter"),_s=Or("colorNeutralShadowAmbientDarker"),js=Or("colorNeutralShadowKeyDarker"),Gs=Or("colorBrandShadowAmbient"),qs=Or("colorBrandShadowKey"),Xs=Or("colorPaletteRedBackground1"),Ws=Or("colorPaletteRedBackground2"),Us=Or("colorPaletteRedBackground3"),Ys=Or("colorPaletteRedForeground1"),Ks=Or("colorPaletteRedForeground2"),Qs=Or("colorPaletteRedForeground3"),Zs=Or("colorPaletteRedBorderActive"),Js=Or("colorPaletteRedBorder1"),el=Or("colorPaletteRedBorder2"),tl=Or("colorPaletteGreenBackground1"),ol=Or("colorPaletteGreenBackground2"),rl=Or("colorPaletteGreenBackground3"),il=Or("colorPaletteGreenForeground1"),al=Or("colorPaletteGreenForeground2"),nl=Or("colorPaletteGreenForeground3"),sl=Or("colorPaletteGreenBorderActive"),ll=Or("colorPaletteGreenBorder1"),dl=Or("colorPaletteGreenBorder2"),cl=Or("colorPaletteDarkOrangeBackground1"),hl=Or("colorPaletteDarkOrangeBackground2"),ul=Or("colorPaletteDarkOrangeBackground3"),pl=Or("colorPaletteDarkOrangeForeground1"),gl=Or("colorPaletteDarkOrangeForeground2"),bl=Or("colorPaletteDarkOrangeForeground3"),fl=Or("colorPaletteDarkOrangeBorderActive"),ml=Or("colorPaletteDarkOrangeBorder1"),vl=Or("colorPaletteDarkOrangeBorder2"),yl=Or("colorPaletteYellowBackground1"),kl=Or("colorPaletteYellowBackground2"),xl=Or("colorPaletteYellowBackground3"),$l=Or("colorPaletteYellowForeground1"),wl=Or("colorPaletteYellowForeground2"),Bl=Or("colorPaletteYellowForeground3"),Cl=Or("colorPaletteYellowBorderActive"),Sl=Or("colorPaletteYellowBorder1"),Pl=Or("colorPaletteYellowBorder2"),Tl=Or("colorPaletteBerryBackground1"),Il=Or("colorPaletteBerryBackground2"),Fl=Or("colorPaletteBerryBackground3"),Al=Or("colorPaletteBerryForeground1"),zl=Or("colorPaletteBerryForeground2"),Nl=Or("colorPaletteBerryForeground3"),Ll=Or("colorPaletteBerryBorderActive"),Dl=Or("colorPaletteBerryBorder1"),El=Or("colorPaletteBerryBorder2"),Rl=Or("colorPaletteLightGreenBackground1"),Ol=Or("colorPaletteLightGreenBackground2"),Ml=Or("colorPaletteLightGreenBackground3"),Hl=Or("colorPaletteLightGreenForeground1"),Vl=Or("colorPaletteLightGreenForeground2"),_l=Or("colorPaletteLightGreenForeground3"),jl=Or("colorPaletteLightGreenBorderActive"),Gl=Or("colorPaletteLightGreenBorder1"),ql=Or("colorPaletteLightGreenBorder2"),Xl=Or("colorPaletteMarigoldBackground1"),Wl=Or("colorPaletteMarigoldBackground2"),Ul=Or("colorPaletteMarigoldBackground3"),Yl=Or("colorPaletteMarigoldForeground1"),Kl=Or("colorPaletteMarigoldForeground2"),Ql=Or("colorPaletteMarigoldForeground3"),Zl=Or("colorPaletteMarigoldBorderActive"),Jl=Or("colorPaletteMarigoldBorder1"),ed=Or("colorPaletteMarigoldBorder2"),td=Or("colorPaletteDarkRedBackground2"),od=Or("colorPaletteDarkRedForeground2"),rd=Or("colorPaletteDarkRedBorderActive"),id=Or("colorPaletteCranberryBackground2"),ad=Or("colorPaletteCranberryForeground2"),nd=Or("colorPaletteCranberryBorderActive"),sd=Or("colorPalettePumpkinBackground2"),ld=Or("colorPalettePumpkinForeground2"),dd=Or("colorPalettePumpkinBorderActive"),cd=Or("colorPalettePeachBackground2"),hd=Or("colorPalettePeachForeground2"),ud=Or("colorPalettePeachBorderActive"),pd=Or("colorPaletteGoldBackground2"),gd=Or("colorPaletteGoldForeground2"),bd=Or("colorPaletteGoldBorderActive"),fd=Or("colorPaletteBrassBackground2"),md=Or("colorPaletteBrassForeground2"),vd=Or("colorPaletteBrassBorderActive"),yd=Or("colorPaletteBrownBackground2"),kd=Or("colorPaletteBrownForeground2"),xd=Or("colorPaletteBrownBorderActive"),$d=Or("colorPaletteForestBackground2"),wd=Or("colorPaletteForestForeground2"),Bd=Or("colorPaletteForestBorderActive"),Cd=Or("colorPaletteSeafoamBackground2"),Sd=Or("colorPaletteSeafoamForeground2"),Pd=Or("colorPaletteSeafoamBorderActive"),Td=Or("colorPaletteDarkGreenBackground2"),Id=Or("colorPaletteDarkGreenForeground2"),Fd=Or("colorPaletteDarkGreenBorderActive"),Ad=Or("colorPaletteLightTealBackground2"),zd=Or("colorPaletteLightTealForeground2"),Nd=Or("colorPaletteLightTealBorderActive"),Ld=Or("colorPaletteTealBackground2"),Dd=Or("colorPaletteTealForeground2"),Ed=Or("colorPaletteTealBorderActive"),Rd=Or("colorPaletteSteelBackground2"),Od=Or("colorPaletteSteelForeground2"),Md=Or("colorPaletteSteelBorderActive"),Hd=Or("colorPaletteBlueBackground2"),Vd=Or("colorPaletteBlueForeground2"),_d=Or("colorPaletteBlueBorderActive"),jd=Or("colorPaletteRoyalBlueBackground2"),Gd=Or("colorPaletteRoyalBlueForeground2"),qd=Or("colorPaletteRoyalBlueBorderActive"),Xd=Or("colorPaletteCornflowerBackground2"),Wd=Or("colorPaletteCornflowerForeground2"),Ud=Or("colorPaletteCornflowerBorderActive"),Yd=Or("colorPaletteNavyBackground2"),Kd=Or("colorPaletteNavyForeground2"),Qd=Or("colorPaletteNavyBorderActive"),Zd=Or("colorPaletteLavenderBackground2"),Jd=Or("colorPaletteLavenderForeground2"),ec=Or("colorPaletteLavenderBorderActive"),tc=Or("colorPalettePurpleBackground2"),oc=Or("colorPalettePurpleForeground2"),rc=Or("colorPalettePurpleBorderActive"),ic=Or("colorPaletteGrapeBackground2"),ac=Or("colorPaletteGrapeForeground2"),nc=Or("colorPaletteGrapeBorderActive"),sc=Or("colorPaletteLilacBackground2"),lc=Or("colorPaletteLilacForeground2"),dc=Or("colorPaletteLilacBorderActive"),cc=Or("colorPalettePinkBackground2"),hc=Or("colorPalettePinkForeground2"),uc=Or("colorPalettePinkBorderActive"),pc=Or("colorPaletteMagentaBackground2"),gc=Or("colorPaletteMagentaForeground2"),bc=Or("colorPaletteMagentaBorderActive"),fc=Or("colorPalettePlumBackground2"),mc=Or("colorPalettePlumForeground2"),vc=Or("colorPalettePlumBorderActive"),yc=Or("colorPaletteBeigeBackground2"),kc=Or("colorPaletteBeigeForeground2"),xc=Or("colorPaletteBeigeBorderActive"),$c=Or("colorPaletteMinkBackground2"),wc=Or("colorPaletteMinkForeground2"),Bc=Or("colorPaletteMinkBorderActive"),Cc=Or("colorPalettePlatinumBackground2"),Sc=Or("colorPalettePlatinumForeground2"),Pc=Or("colorPalettePlatinumBorderActive"),Tc=Or("colorPaletteAnchorBackground2"),Ic=Or("colorPaletteAnchorForeground2"),Fc=Or("colorPaletteAnchorBorderActive"),Ac=Or("colorPaletteRedForegroundInverted"),zc=Or("colorPaletteGreenForegroundInverted"),Nc=Or("colorPaletteYellowForegroundInverted"),Lc=Or("shadow2"),Dc=Or("shadow4"),Ec=Or("shadow8"),Rc=Or("shadow16"),Oc=Or("shadow28"),Mc=Or("shadow64"),Hc=Or("shadow2Brand"),Vc=Or("shadow4Brand"),_c=Or("shadow8Brand"),jc=Or("shadow16Brand"),Gc=Or("shadow28Brand"),qc=Or("shadow64Brand");var Xc=Object.freeze({__proto__:null,borderRadiusNone:Mr,borderRadiusSmall:Hr,borderRadiusMedium:Vr,borderRadiusLarge:_r,borderRadiusXLarge:jr,borderRadiusCircular:Gr,fontSizeBase100:qr,fontSizeBase200:Xr,fontSizeBase300:Wr,fontSizeBase400:Ur,fontSizeBase500:Yr,fontSizeBase600:Kr,fontSizeHero700:Qr,fontSizeHero800:Zr,fontSizeHero900:Jr,fontSizeHero1000:ei,lineHeightBase100:ti,lineHeightBase200:oi,lineHeightBase300:ri,lineHeightBase400:ii,lineHeightBase500:ai,lineHeightBase600:ni,lineHeightHero700:si,lineHeightHero800:li,lineHeightHero900:di,lineHeightHero1000:ci,fontFamilyBase:hi,fontFamilyMonospace:ui,fontFamilyNumeric:pi,fontWeightRegular:gi,fontWeightMedium:bi,fontWeightSemibold:fi,fontWeightBold:mi,strokeWidthThin:vi,strokeWidthThick:yi,strokeWidthThicker:ki,strokeWidthThickest:xi,spacingHorizontalNone:$i,spacingHorizontalXXS:wi,spacingHorizontalXS:Bi,spacingHorizontalSNudge:Ci,spacingHorizontalS:Si,spacingHorizontalMNudge:Pi,spacingHorizontalM:Ti,spacingHorizontalL:Ii,spacingHorizontalXL:Fi,spacingHorizontalXXL:Ai,spacingHorizontalXXXL:zi,spacingVerticalNone:Ni,spacingVerticalXXS:Li,spacingVerticalXS:Di,spacingVerticalSNudge:Ei,spacingVerticalS:Ri,spacingVerticalMNudge:Oi,spacingVerticalM:Mi,spacingVerticalL:Hi,spacingVerticalXL:Vi,spacingVerticalXXL:_i,spacingVerticalXXXL:ji,durationUltraFast:Gi,durationFaster:qi,durationFast:Xi,durationNormal:Wi,durationSlow:Ui,durationSlower:Yi,durationUltraSlow:Ki,curveAccelerateMax:Qi,curveAccelerateMid:Zi,curveAccelerateMin:Ji,curveDecelerateMax:ea,curveDecelerateMid:ta,curveDecelerateMin:oa,curveEasyEaseMax:ra,curveEasyEase:ia,curveLinear:aa,colorNeutralForeground1:na,colorNeutralForeground1Hover:sa,colorNeutralForeground1Pressed:la,colorNeutralForeground1Selected:da,colorNeutralForeground2:ca,colorNeutralForeground2Hover:ha,colorNeutralForeground2Pressed:ua,colorNeutralForeground2Selected:pa,colorNeutralForeground2BrandHover:ga,colorNeutralForeground2BrandPressed:ba,colorNeutralForeground2BrandSelected:fa,colorNeutralForeground3:ma,colorNeutralForeground3Hover:va,colorNeutralForeground3Pressed:ya,colorNeutralForeground3Selected:ka,colorNeutralForeground3BrandHover:xa,colorNeutralForeground3BrandPressed:$a,colorNeutralForeground3BrandSelected:wa,colorNeutralForeground4:Ba,colorNeutralForegroundDisabled:Ca,colorNeutralForegroundInvertedDisabled:Sa,colorBrandForegroundLink:Pa,colorBrandForegroundLinkHover:Ta,colorBrandForegroundLinkPressed:Ia,colorBrandForegroundLinkSelected:Fa,colorNeutralForeground2Link:Aa,colorNeutralForeground2LinkHover:za,colorNeutralForeground2LinkPressed:Na,colorNeutralForeground2LinkSelected:La,colorCompoundBrandForeground1:Da,colorCompoundBrandForeground1Hover:Ea,colorCompoundBrandForeground1Pressed:Ra,colorBrandForeground1:Oa,colorBrandForeground2:Ma,colorNeutralForeground1Static:Ha,colorNeutralForegroundStaticInverted:Va,colorNeutralForegroundInverted:_a,colorNeutralForegroundInvertedHover:ja,colorNeutralForegroundInvertedPressed:Ga,colorNeutralForegroundInvertedSelected:qa,colorNeutralForegroundInverted2:Xa,colorNeutralForegroundOnBrand:Wa,colorNeutralForegroundInvertedLink:Ua,colorNeutralForegroundInvertedLinkHover:Ya,colorNeutralForegroundInvertedLinkPressed:Ka,colorNeutralForegroundInvertedLinkSelected:Qa,colorBrandForegroundInverted:Za,colorBrandForegroundInvertedHover:Ja,colorBrandForegroundInvertedPressed:en,colorBrandForegroundOnLight:tn,colorBrandForegroundOnLightHover:on,colorBrandForegroundOnLightPressed:rn,colorBrandForegroundOnLightSelected:an,colorNeutralBackground1:nn,colorNeutralBackground1Hover:sn,colorNeutralBackground1Pressed:ln,colorNeutralBackground1Selected:dn,colorNeutralBackground2:cn,colorNeutralBackground2Hover:hn,colorNeutralBackground2Pressed:un,colorNeutralBackground2Selected:pn,colorNeutralBackground3:gn,colorNeutralBackground3Hover:bn,colorNeutralBackground3Pressed:fn,colorNeutralBackground3Selected:mn,colorNeutralBackground4:vn,colorNeutralBackground4Hover:yn,colorNeutralBackground4Pressed:kn,colorNeutralBackground4Selected:xn,colorNeutralBackground5:$n,colorNeutralBackground5Hover:wn,colorNeutralBackground5Pressed:Bn,colorNeutralBackground5Selected:Cn,colorNeutralBackground6:Sn,colorNeutralBackgroundInverted:Pn,colorNeutralBackgroundStatic:Tn,colorSubtleBackground:In,colorSubtleBackgroundHover:Fn,colorSubtleBackgroundPressed:An,colorSubtleBackgroundSelected:zn,colorSubtleBackgroundLightAlphaHover:Nn,colorSubtleBackgroundLightAlphaPressed:Ln,colorSubtleBackgroundLightAlphaSelected:Dn,colorSubtleBackgroundInverted:En,colorSubtleBackgroundInvertedHover:Rn,colorSubtleBackgroundInvertedPressed:On,colorSubtleBackgroundInvertedSelected:Mn,colorTransparentBackground:Hn,colorTransparentBackgroundHover:Vn,colorTransparentBackgroundPressed:_n,colorTransparentBackgroundSelected:jn,colorNeutralBackgroundDisabled:Gn,colorNeutralBackgroundInvertedDisabled:qn,colorNeutralStencil1:Xn,colorNeutralStencil2:Wn,colorNeutralStencil1Alpha:Un,colorNeutralStencil2Alpha:Yn,colorBackgroundOverlay:Kn,colorScrollbarOverlay:Qn,colorBrandBackground:Zn,colorBrandBackgroundHover:Jn,colorBrandBackgroundPressed:es,colorBrandBackgroundSelected:ts,colorCompoundBrandBackground:os,colorCompoundBrandBackgroundHover:rs,colorCompoundBrandBackgroundPressed:is,colorBrandBackgroundStatic:as,colorBrandBackground2:ns,colorBrandBackgroundInverted:ss,colorBrandBackgroundInvertedHover:ls,colorBrandBackgroundInvertedPressed:ds,colorBrandBackgroundInvertedSelected:cs,colorNeutralStrokeAccessible:hs,colorNeutralStrokeAccessibleHover:us,colorNeutralStrokeAccessiblePressed:ps,colorNeutralStrokeAccessibleSelected:gs,colorNeutralStroke1:bs,colorNeutralStroke1Hover:fs,colorNeutralStroke1Pressed:ms,colorNeutralStroke1Selected:vs,colorNeutralStroke2:ys,colorNeutralStroke3:ks,colorNeutralStrokeOnBrand:xs,colorNeutralStrokeOnBrand2:$s,colorNeutralStrokeOnBrand2Hover:ws,colorNeutralStrokeOnBrand2Pressed:Bs,colorNeutralStrokeOnBrand2Selected:Cs,colorBrandStroke1:Ss,colorBrandStroke2:Ps,colorCompoundBrandStroke:Ts,colorCompoundBrandStrokeHover:Is,colorCompoundBrandStrokePressed:Fs,colorNeutralStrokeDisabled:As,colorNeutralStrokeInvertedDisabled:zs,colorTransparentStroke:Ns,colorTransparentStrokeInteractive:Ls,colorTransparentStrokeDisabled:Ds,colorStrokeFocus1:Es,colorStrokeFocus2:Rs,colorNeutralShadowAmbient:Os,colorNeutralShadowKey:Ms,colorNeutralShadowAmbientLighter:Hs,colorNeutralShadowKeyLighter:Vs,colorNeutralShadowAmbientDarker:_s,colorNeutralShadowKeyDarker:js,colorBrandShadowAmbient:Gs,colorBrandShadowKey:qs,colorPaletteRedBackground1:Xs,colorPaletteRedBackground2:Ws,colorPaletteRedBackground3:Us,colorPaletteRedForeground1:Ys,colorPaletteRedForeground2:Ks,colorPaletteRedForeground3:Qs,colorPaletteRedBorderActive:Zs,colorPaletteRedBorder1:Js,colorPaletteRedBorder2:el,colorPaletteGreenBackground1:tl,colorPaletteGreenBackground2:ol,colorPaletteGreenBackground3:rl,colorPaletteGreenForeground1:il,colorPaletteGreenForeground2:al,colorPaletteGreenForeground3:nl,colorPaletteGreenBorderActive:sl,colorPaletteGreenBorder1:ll,colorPaletteGreenBorder2:dl,colorPaletteDarkOrangeBackground1:cl,colorPaletteDarkOrangeBackground2:hl,colorPaletteDarkOrangeBackground3:ul,colorPaletteDarkOrangeForeground1:pl,colorPaletteDarkOrangeForeground2:gl,colorPaletteDarkOrangeForeground3:bl,colorPaletteDarkOrangeBorderActive:fl,colorPaletteDarkOrangeBorder1:ml,colorPaletteDarkOrangeBorder2:vl,colorPaletteYellowBackground1:yl,colorPaletteYellowBackground2:kl,colorPaletteYellowBackground3:xl,colorPaletteYellowForeground1:$l,colorPaletteYellowForeground2:wl,colorPaletteYellowForeground3:Bl,colorPaletteYellowBorderActive:Cl,colorPaletteYellowBorder1:Sl,colorPaletteYellowBorder2:Pl,colorPaletteBerryBackground1:Tl,colorPaletteBerryBackground2:Il,colorPaletteBerryBackground3:Fl,colorPaletteBerryForeground1:Al,colorPaletteBerryForeground2:zl,colorPaletteBerryForeground3:Nl,colorPaletteBerryBorderActive:Ll,colorPaletteBerryBorder1:Dl,colorPaletteBerryBorder2:El,colorPaletteLightGreenBackground1:Rl,colorPaletteLightGreenBackground2:Ol,colorPaletteLightGreenBackground3:Ml,colorPaletteLightGreenForeground1:Hl,colorPaletteLightGreenForeground2:Vl,colorPaletteLightGreenForeground3:_l,colorPaletteLightGreenBorderActive:jl,colorPaletteLightGreenBorder1:Gl,colorPaletteLightGreenBorder2:ql,colorPaletteMarigoldBackground1:Xl,colorPaletteMarigoldBackground2:Wl,colorPaletteMarigoldBackground3:Ul,colorPaletteMarigoldForeground1:Yl,colorPaletteMarigoldForeground2:Kl,colorPaletteMarigoldForeground3:Ql,colorPaletteMarigoldBorderActive:Zl,colorPaletteMarigoldBorder1:Jl,colorPaletteMarigoldBorder2:ed,colorPaletteDarkRedBackground2:td,colorPaletteDarkRedForeground2:od,colorPaletteDarkRedBorderActive:rd,colorPaletteCranberryBackground2:id,colorPaletteCranberryForeground2:ad,colorPaletteCranberryBorderActive:nd,colorPalettePumpkinBackground2:sd,colorPalettePumpkinForeground2:ld,colorPalettePumpkinBorderActive:dd,colorPalettePeachBackground2:cd,colorPalettePeachForeground2:hd,colorPalettePeachBorderActive:ud,colorPaletteGoldBackground2:pd,colorPaletteGoldForeground2:gd,colorPaletteGoldBorderActive:bd,colorPaletteBrassBackground2:fd,colorPaletteBrassForeground2:md,colorPaletteBrassBorderActive:vd,colorPaletteBrownBackground2:yd,colorPaletteBrownForeground2:kd,colorPaletteBrownBorderActive:xd,colorPaletteForestBackground2:$d,colorPaletteForestForeground2:wd,colorPaletteForestBorderActive:Bd,colorPaletteSeafoamBackground2:Cd,colorPaletteSeafoamForeground2:Sd,colorPaletteSeafoamBorderActive:Pd,colorPaletteDarkGreenBackground2:Td,colorPaletteDarkGreenForeground2:Id,colorPaletteDarkGreenBorderActive:Fd,colorPaletteLightTealBackground2:Ad,colorPaletteLightTealForeground2:zd,colorPaletteLightTealBorderActive:Nd,colorPaletteTealBackground2:Ld,colorPaletteTealForeground2:Dd,colorPaletteTealBorderActive:Ed,colorPaletteSteelBackground2:Rd,colorPaletteSteelForeground2:Od,colorPaletteSteelBorderActive:Md,colorPaletteBlueBackground2:Hd,colorPaletteBlueForeground2:Vd,colorPaletteBlueBorderActive:_d,colorPaletteRoyalBlueBackground2:jd,colorPaletteRoyalBlueForeground2:Gd,colorPaletteRoyalBlueBorderActive:qd,colorPaletteCornflowerBackground2:Xd,colorPaletteCornflowerForeground2:Wd,colorPaletteCornflowerBorderActive:Ud,colorPaletteNavyBackground2:Yd,colorPaletteNavyForeground2:Kd,colorPaletteNavyBorderActive:Qd,colorPaletteLavenderBackground2:Zd,colorPaletteLavenderForeground2:Jd,colorPaletteLavenderBorderActive:ec,colorPalettePurpleBackground2:tc,colorPalettePurpleForeground2:oc,colorPalettePurpleBorderActive:rc,colorPaletteGrapeBackground2:ic,colorPaletteGrapeForeground2:ac,colorPaletteGrapeBorderActive:nc,colorPaletteLilacBackground2:sc,colorPaletteLilacForeground2:lc,colorPaletteLilacBorderActive:dc,colorPalettePinkBackground2:cc,colorPalettePinkForeground2:hc,colorPalettePinkBorderActive:uc,colorPaletteMagentaBackground2:pc,colorPaletteMagentaForeground2:gc,colorPaletteMagentaBorderActive:bc,colorPalettePlumBackground2:fc,colorPalettePlumForeground2:mc,colorPalettePlumBorderActive:vc,colorPaletteBeigeBackground2:yc,colorPaletteBeigeForeground2:kc,colorPaletteBeigeBorderActive:xc,colorPaletteMinkBackground2:$c,colorPaletteMinkForeground2:wc,colorPaletteMinkBorderActive:Bc,colorPalettePlatinumBackground2:Cc,colorPalettePlatinumForeground2:Sc,colorPalettePlatinumBorderActive:Pc,colorPaletteAnchorBackground2:Tc,colorPaletteAnchorForeground2:Ic,colorPaletteAnchorBorderActive:Fc,colorPaletteRedForegroundInverted:Ac,colorPaletteGreenForegroundInverted:zc,colorPaletteYellowForegroundInverted:Nc,shadow2:Lc,shadow4:Dc,shadow8:Ec,shadow16:Rc,shadow28:Oc,shadow64:Mc,shadow2Brand:Hc,shadow4Brand:Vc,shadow8Brand:_c,shadow16Brand:jc,shadow28Brand:Gc,shadow64Brand:qc});const Wc=j`
5
+ ${Ir("block")}
6
6
 
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Si} ${Ci};border-radius:${Mr};font-family:${di};font-size:${qr};font-weight:${ui};line-height:${ti};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${ia};background:${On};line-height:${ti};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Or}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${Bi};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Si}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${Bi};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Or};outline:none;border:2px solid ${Ls};box-shadow:inset 0 0 0 1px ${Ds}}:host([disabled]) .button{color:${wa}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${qr};line-height:${ti}}:host([size='small']) .heading{font-size:${Gr};line-height:${ei}}:host([size='large']) .heading{font-size:${Xr};line-height:${oi}}:host([size='extra-large']) .heading{font-size:${Wr};line-height:${ri}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Xc=function(e={}){return ke`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${it(e)} ${rt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Ze(e.expandedIcon)}</slot><slot name="collapsed-icon">${Ze(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="#212121"\n />\n</svg>'),expandedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="#212121"\n />\n</svg>')}),Wc=Nr.compose({name:Ar.prefix+"-accordion-item",template:Xc,styles:qc});class Uc extends mt{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Je([De],Uc.prototype,"appearance",void 0),Je([De],Uc.prototype,"shape",void 0),Je([De],Uc.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Uc.prototype,"iconOnly",void 0),Je([De({mode:"boolean"})],Uc.prototype,"disabled",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Uc.prototype,"disabledFocusable",void 0);const Yc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Kc={circular:"circular",rounded:"rounded",square:"square"},Qc={small:"small",medium:"medium",large:"large"},Zc=Yc,Jc=Kc,eh=Qc,th=function(e={}){return ke`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</a>`}(),oh=j`
8
- ${Pr("inline-flex")}
7
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Ti} ${Pi};border-radius:${Vr};font-family:${hi};font-size:${Wr};font-weight:${gi};line-height:${ri};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${na};background:${Hn};line-height:${ri};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Hr}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${Si};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Ti}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${Si};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Hr};outline:none;border:2px solid ${Es};box-shadow:inset 0 0 0 1px ${Rs}}:host([disabled]) .button{color:${Ca}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${Wr};line-height:${ri}}:host([size='small']) .heading{font-size:${Xr};line-height:${oi}}:host([size='large']) .heading{font-size:${Ur};line-height:${ii}}:host([size='extra-large']) .heading{font-size:${Yr};line-height:${ai}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Uc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${it(e)} ${rt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Ze(e.expandedIcon)}</slot><slot name="collapsed-icon">${Ze(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="currentColor"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="currentColor"\n />\n</svg>')}),Yc=Dr.compose({name:Nr.prefix+"-accordion-item",template:Uc,styles:Wc});class Kc extends mt{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Je([De],Kc.prototype,"appearance",void 0),Je([De],Kc.prototype,"shape",void 0),Je([De],Kc.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Kc.prototype,"iconOnly",void 0),Je([De({mode:"boolean"})],Kc.prototype,"disabled",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Kc.prototype,"disabledFocusable",void 0);const Qc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Zc={circular:"circular",rounded:"rounded",square:"square"},Jc={small:"small",medium:"medium",large:"large"},eh=Qc,th=Zc,oh=Jc,rh=function(e={}){return xe`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot></span>${rt(e)}</a>`}(),ih=j`
8
+ ${Ir("inline-flex")}
9
9
 
10
- :host{--icon-spacing:${wi};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${rn};color:${ia};border:${fi} solid ${ps};padding:0 ${Si};min-width:96px;border-radius:${Mr};font-size:${qr};font-family:${di};font-weight:${gi};line-height:${ti};transition-duration:${ji};transition-property:background,border,color;transition-timing-function:${oa};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${an};color:${aa};border-color:${gs}}:host(:hover:active) .control{background-color:${nn};border-color:${bs};color:${na};outline-style:none}:host .control:focus-visible{border-color:${As};outline:${mi} solid ${As};box-shadow:${Nc},0 0 0 2px ${Ds}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${$i}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${Bi};border-radius:${Or};font-size:${Gr};line-height:${ei};font-weight:${ui}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${Hr};padding:0 ${Pi};font-size:${Xr};line-height:${oi}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${_r}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${Rr}}:host([appearance='primary']) .control{background-color:${Kn};color:${qa};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Qn}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${qa}}:host([appearance='primary']:hover:active) .control{background-color:${Zn}}:host([appearance='primary']) .control:focus-visible{border-color:${qa};box-shadow:${zc},0 0 0 2px ${Ds}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${On}}:host([appearance='outline']:hover) .control{background-color:${Mn}}:host([appearance='outline']:hover:active) .control{background-color:${Hn}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${On}}:host([appearance='subtle']) .control{background-color:${Pn};color:${la};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Tn};color:${da};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${In};color:${ca};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${On};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${ua}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${pa}}:host([appearance='transparent']) .control{background-color:${On};color:${la}}:host([appearance='transparent']:hover) .control{background-color:${Mn};color:${ua}}:host([appearance='transparent']:hover:active) .control{background-color:${Hn};color:${pa}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${On}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
- .control{background-color:${_n};border-color:${Is};color:${wa};cursor:not-allowed}`,rh=j`
12
- ${oh}
10
+ :host{--icon-spacing:${Ci};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${nn};color:${na};border:${vi} solid ${bs};padding:0 ${Ti};min-width:96px;border-radius:${Vr};font-size:${Wr};font-family:${hi};font-weight:${fi};line-height:${ri};transition-duration:${qi};transition-property:background,border,color;transition-timing-function:${ia};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${sn};color:${sa};border-color:${fs}}:host(:hover:active) .control{background-color:${ln};border-color:${ms};color:${la};outline-style:none}:host .control:focus-visible{border-color:${Ns};outline:${yi} solid ${Ns};box-shadow:${Dc},0 0 0 2px ${Rs}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${Bi}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${Si};border-radius:${Hr};font-size:${Xr};line-height:${oi};font-weight:${gi}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${_r};padding:0 ${Ii};font-size:${Ur};line-height:${ii}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${Gr}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${Mr}}:host([appearance='primary']) .control{background-color:${Zn};color:${Wa};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Jn}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${Wa}}:host([appearance='primary']:hover:active) .control{background-color:${es}}:host([appearance='primary']) .control:focus-visible{border-color:${Wa};box-shadow:${Lc},0 0 0 2px ${Rs}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${Hn}}:host([appearance='outline']:hover) .control{background-color:${Vn}}:host([appearance='outline']:hover:active) .control{background-color:${_n}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${Hn}}:host([appearance='subtle']) .control{background-color:${In};color:${ca};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Fn};color:${ha};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${An};color:${ua};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${Hn};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${ga}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${ba}}:host([appearance='transparent']) .control{background-color:${Hn};color:${ca}}:host([appearance='transparent']:hover) .control{background-color:${Vn};color:${ga}}:host([appearance='transparent']:hover:active) .control{background-color:${_n};color:${ba}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${Hn}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
+ .control{background-color:${Gn};border-color:${As};color:${Ca};cursor:not-allowed}`.withBehaviors(Tr(j`
12
+ :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),ah=j`
13
+ ${ih}
13
14
 
14
- .content{text-align:center}`,ih=Uc.compose({name:Ar.prefix+"-anchor-button",template:th,styles:rh,shadowOptions:{delegatesFocus:!0}}),ah=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,nh=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,sh=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,lh=/\s+/g,dh=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function ch(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(ah,"")).replace(nh,"")).replace(lh," ")).trim()}(e),dh.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&sh.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const hh={active:"active",inactive:"inactive"},uh={circular:"circular",square:"square"},ph={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},gh={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},bh={neutral:"neutral",brand:"brand",colorful:"colorful",...gh},fh={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};class mh extends Qe{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===bh.colorful?mh.colors[vh(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%mh.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:ch(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}mh.colors=Object.values(gh),Je([De],mh.prototype,"name",void 0),Je([De],mh.prototype,"initials",void 0),Je([De({converter:Ne})],mh.prototype,"size",void 0),Je([De],mh.prototype,"shape",void 0),Je([De],mh.prototype,"active",void 0),Je([De],mh.prototype,"appearance",void 0),Je([De],mh.prototype,"color",void 0),Je([De({attribute:"color-id"})],mh.prototype,"colorId",void 0);const vh=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},yh=ke`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const xh=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():yh}</slot><slot name="badge"></slot></template>`,kh=ea,$h=ta,wh=ra,Bh=j`
15
- ${Pr("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${di};font-weight:${gi};font-size:${qr};border-radius:${_r};color:${ba};background-color:${Bn};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${_r}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${fi} ${rn}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${mi} ${rn}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${jr};font-weight:${ui}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${Gr}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Xr}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Wr}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Ur}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Mr}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Or}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Hr}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Vr}}:host([data-color='brand']){color:${Ma};background-color:${rs}}:host([data-color='dark-red']){color:${ed};background-color:${Jl}}:host([data-color='cranberry']){color:${rd};background-color:${od}}:host([data-color='red']){color:${Us};background-color:${qs}}:host([data-color='pumpkin']){color:${nd};background-color:${ad}}:host([data-color='peach']){color:${dd};background-color:${ld}}:host([data-color='marigold']){color:${Ul};background-color:${ql}}:host([data-color='gold']){color:${ud};background-color:${hd}}:host([data-color='brass']){color:${bd};background-color:${gd}}:host([data-color='brown']){color:${vd};background-color:${md}}:host([data-color='forest']){color:${kd};background-color:${xd}}:host([data-color='seafoam']){color:${Bd};background-color:${wd}}:host([data-color='dark-green']){color:${Pd};background-color:${Sd}}:host([data-color='light-teal']){color:${Fd};background-color:${Id}}:host([data-color='teal']){color:${Nd};background-color:${zd}}:host([data-color='steel']){color:${Ed};background-color:${Dd}}:host([data-color='blue']){color:${Md};background-color:${Od}}:host([data-color='royal-blue']){color:${_d};background-color:${Vd}}:host([data-color='cornflower']){color:${qd};background-color:${Gd}}:host([data-color='navy']){color:${Ud};background-color:${Wd}}:host([data-color='lavender']){color:${Qd};background-color:${Kd}}:host([data-color='purple']){color:${ec};background-color:${Jd}}:host([data-color='grape']){color:${rc};background-color:${oc}}:host([data-color='lilac']){color:${nc};background-color:${ac}}:host([data-color='pink']){color:${dc};background-color:${lc}}:host([data-color='magenta']){color:${uc};background-color:${hc}}:host([data-color='plum']){color:${bc};background-color:${gc}}:host([data-color='beige']){color:${vc};background-color:${mc}}:host([data-color='mink']){color:${kc};background-color:${xc}}:host([data-color='platinum']){color:${Bc};background-color:${wc}}:host([data-color='anchor']){color:${Pc};background-color:${Sc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Ui},${ji};transition-delay:${$h},${wh}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Ui},${Wi};transition-delay:${$h},${wh}}:host([active])::before{box-shadow:${Lc};border-style:solid;border-color:${rs}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${mi});border-width:${mi}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${vi});border-width:${vi}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${yi});border-width:${yi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Nc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Dc}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${Ec}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Ui},${ji};transition-delay:${kh},${wh}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Ui},${Wi};transition-delay:${kh},${wh}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Ch=mh.compose({name:Ar.prefix+"-avatar",template:xh,styles:Bh}),Sh={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Ph={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Th={circular:"circular",rounded:"rounded",square:"square"},Ih={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Fh extends Qe{constructor(){super(...arguments),this.appearance=Sh.filled,this.color=Ph.brand}}function Ah(e={}){return ke` ${it(e)}<slot>${Ze(e.defaultContent)}</slot>${rt(e)} `}Je([De],Fh.prototype,"appearance",void 0),Je([De],Fh.prototype,"color",void 0),Je([De],Fh.prototype,"shape",void 0),Je([De],Fh.prototype,"size",void 0),ut(Fh,ot);const zh=Ah(),Nh=ki,Lh=j.partial`
16
- ${Pr("inline-flex")} :host {
15
+ .content{text-align:center}`,nh=Kc.compose({name:Nr.prefix+"-anchor-button",template:rh,styles:ah,shadowOptions:{delegatesFocus:!0}}),sh=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,lh=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,dh=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ch=/\s+/g,hh=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function uh(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(sh,"")).replace(lh,"")).replace(ch," ")).trim()}(e),hh.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&dh.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const ph={active:"active",inactive:"inactive"},gh={circular:"circular",square:"square"},bh={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},fh={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},mh={neutral:"neutral",brand:"brand",colorful:"colorful",...fh},vh={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};class yh extends Qe{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===mh.colorful?yh.colors[kh(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%yh.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:uh(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}yh.colors=Object.values(fh),Je([De],yh.prototype,"name",void 0),Je([De],yh.prototype,"initials",void 0),Je([De({converter:Ne})],yh.prototype,"size",void 0),Je([De],yh.prototype,"shape",void 0),Je([De],yh.prototype,"active",void 0),Je([De],yh.prototype,"appearance",void 0),Je([De],yh.prototype,"color",void 0),Je([De({attribute:"color-id"})],yh.prototype,"colorId",void 0);const kh=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},xh=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const $h=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():xh}</slot><slot name="badge"></slot></template>`,wh=oa,Bh=ra,Ch=aa,Sh=j`
16
+ ${Ir("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${hi};font-weight:${fi};font-size:${Wr};border-radius:${Gr};color:${ma};background-color:${Sn};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Gr}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${vi} ${nn}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${yi} ${nn}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${qr};font-weight:${gi}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${Xr}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Ur}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Yr}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Kr}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Vr}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Hr}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${_r}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${jr}}:host([data-color='brand']){color:${Va};background-color:${as}}:host([data-color='dark-red']){color:${od};background-color:${td}}:host([data-color='cranberry']){color:${ad};background-color:${id}}:host([data-color='red']){color:${Ks};background-color:${Ws}}:host([data-color='pumpkin']){color:${ld};background-color:${sd}}:host([data-color='peach']){color:${hd};background-color:${cd}}:host([data-color='marigold']){color:${Kl};background-color:${Wl}}:host([data-color='gold']){color:${gd};background-color:${pd}}:host([data-color='brass']){color:${md};background-color:${fd}}:host([data-color='brown']){color:${kd};background-color:${yd}}:host([data-color='forest']){color:${wd};background-color:${$d}}:host([data-color='seafoam']){color:${Sd};background-color:${Cd}}:host([data-color='dark-green']){color:${Id};background-color:${Td}}:host([data-color='light-teal']){color:${zd};background-color:${Ad}}:host([data-color='teal']){color:${Dd};background-color:${Ld}}:host([data-color='steel']){color:${Od};background-color:${Rd}}:host([data-color='blue']){color:${Vd};background-color:${Hd}}:host([data-color='royal-blue']){color:${Gd};background-color:${jd}}:host([data-color='cornflower']){color:${Wd};background-color:${Xd}}:host([data-color='navy']){color:${Kd};background-color:${Yd}}:host([data-color='lavender']){color:${Jd};background-color:${Zd}}:host([data-color='purple']){color:${oc};background-color:${tc}}:host([data-color='grape']){color:${ac};background-color:${ic}}:host([data-color='lilac']){color:${lc};background-color:${sc}}:host([data-color='pink']){color:${hc};background-color:${cc}}:host([data-color='magenta']){color:${gc};background-color:${pc}}:host([data-color='plum']){color:${mc};background-color:${fc}}:host([data-color='beige']){color:${kc};background-color:${yc}}:host([data-color='mink']){color:${wc};background-color:${$c}}:host([data-color='platinum']){color:${Sc};background-color:${Cc}}:host([data-color='anchor']){color:${Ic};background-color:${Tc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Ki},${qi};transition-delay:${Bh},${Ch}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Ki},${Yi};transition-delay:${Bh},${Ch}}:host([active])::before{box-shadow:${Ec};border-style:solid;border-color:${as}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${yi});border-width:${yi}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ki});border-width:${ki}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${xi});border-width:${xi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Dc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Rc}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${Oc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Ki},${qi};transition-delay:${wh},${Ch}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Ki},${Yi};transition-delay:${wh},${Ch}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Ph=yh.compose({name:Nr.prefix+"-avatar",template:$h,styles:Sh}),Th={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Ih={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Fh={circular:"circular",rounded:"rounded",square:"square"},Ah={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class zh extends Qe{constructor(){super(...arguments),this.appearance=Th.filled,this.color=Ih.brand}}function Nh(e={}){return xe` ${it(e)}<slot>${Ze(e.defaultContent)}</slot>${rt(e)} `}Je([De],zh.prototype,"appearance",void 0),Je([De],zh.prototype,"color",void 0),Je([De],zh.prototype,"shape",void 0),Je([De],zh.prototype,"size",void 0),ut(zh,ot);const Lh=Nh(),Dh=wi,Eh=j.partial`
17
+ ${Ir("inline-flex")} :host {
17
18
  position: relative;
18
19
  box-sizing: border-box;
19
20
  align-items: center;
20
21
  justify-content: center;
21
- font-family: ${di};
22
- font-weight: ${gi};
23
- font-size: ${Gr};
24
- line-height: ${ei};
22
+ font-family: ${hi};
23
+ font-weight: ${fi};
24
+ font-size: ${Xr};
25
+ line-height: ${oi};
25
26
  min-width: 20px;
26
27
  height: 20px;
27
- padding-inline: calc(${$i} + ${Nh});
28
- border-radius: ${_r};
29
- border-color: ${As};
30
- background-color: ${Kn};
31
- color: ${qa};
28
+ padding-inline: calc(${Bi} + ${Dh});
29
+ border-radius: ${Gr};
30
+ border-color: ${Ns};
31
+ background-color: ${Zn};
32
+ color: ${Wa};
32
33
  contain: content;
33
34
  }
34
35
 
@@ -44,11 +45,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
44
45
  bottom: 0;
45
46
  right: 0;
46
47
  border-style: solid;
47
- border-width: ${fi};
48
+ border-width: ${vi};
48
49
  border-color: inherit;
49
50
  border-radius: inherit;
50
51
  }
51
- `,Dh=j.partial`
52
+ `,Rh=j.partial`
52
53
  :host([size='tiny']) {
53
54
  width: 6px;
54
55
  height: 6px;
@@ -74,9 +75,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
74
75
  :host([size='small']) {
75
76
  min-width: 16px;
76
77
  height: 16px;
77
- font-size: ${jr};
78
- line-height: ${Jr};
79
- padding-inline: calc(${ki} + ${Nh});
78
+ font-size: ${qr};
79
+ line-height: ${ti};
80
+ padding-inline: calc(${wi} + ${Dh});
80
81
  }
81
82
  :host([size='small']) ::slotted(svg) {
82
83
  font-size: 12px;
@@ -84,9 +85,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
84
85
  :host([size='large']) {
85
86
  min-width: 24px;
86
87
  height: 24px;
87
- font-size: ${Gr};
88
- line-height: ${ei};
89
- padding-inline: calc(${$i} + ${Nh});
88
+ font-size: ${Xr};
89
+ line-height: ${oi};
90
+ padding-inline: calc(${Bi} + ${Dh});
90
91
  }
91
92
  :host([size='large']) ::slotted(svg) {
92
93
  font-size: 16px;
@@ -94,247 +95,254 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
94
95
  :host([size='extra-large']) {
95
96
  min-width: 32px;
96
97
  height: 32px;
97
- font-size: ${Gr};
98
- line-height: ${ei};
99
- padding-inline: calc(${wi} + ${Nh});
98
+ font-size: ${Xr};
99
+ line-height: ${oi};
100
+ padding-inline: calc(${Ci} + ${Dh});
100
101
  }
101
102
  :host([size='extra-large']) ::slotted(svg) {
102
103
  font-size: 20px;
103
104
  }
104
- `,Eh=j.partial`
105
+ `,Oh=j.partial`
105
106
  :host([color='danger']) {
106
- background-color: ${Xs};
107
- color: ${qa};
107
+ background-color: ${Us};
108
+ color: ${Wa};
108
109
  }
109
110
 
110
111
  :host([color='important']) {
111
- background-color: ${ia};
112
- color: ${rn};
112
+ background-color: ${na};
113
+ color: ${nn};
113
114
  }
114
115
 
115
116
  :host([color='informative']) {
116
- background-color: ${xn};
117
- color: ${ba};
117
+ background-color: ${$n};
118
+ color: ${ma};
118
119
  }
119
120
 
120
121
  :host([color='severe']) {
121
- background-color: ${cl};
122
- color: ${qa};
122
+ background-color: ${ul};
123
+ color: ${Wa};
123
124
  }
124
125
 
125
126
  :host([color='subtle']) {
126
- background-color: ${rn};
127
- color: ${ia};
127
+ background-color: ${nn};
128
+ color: ${na};
128
129
  }
129
130
 
130
131
  :host([color='success']) {
131
- background-color: ${tl};
132
- color: ${qa};
132
+ background-color: ${rl};
133
+ color: ${Wa};
133
134
  }
134
135
 
135
136
  :host([color='warning']) {
136
- background-color: ${yl};
137
- color: ${ia};
137
+ background-color: ${xl};
138
+ color: ${Ha};
138
139
  }
139
- `,Rh=j.partial`
140
+ `,Mh=j.partial`
140
141
  :host([appearance='ghost']) {
141
- color: ${Kn};
142
+ color: ${Oa};
142
143
  background-color: initial;
143
144
  }
144
145
 
145
146
  :host([appearance='ghost'][color='danger']) {
146
- color: ${Ys};
147
+ color: ${Qs};
147
148
  }
148
149
 
149
150
  :host([appearance='ghost'][color='important']) {
150
- color: ${ia};
151
+ color: ${na};
151
152
  }
152
153
 
153
154
  :host([appearance='ghost'][color='informative']) {
154
- color: ${ba};
155
+ color: ${ma};
155
156
  }
156
157
 
157
158
  :host([appearance='ghost'][color='severe']) {
158
- color: ${pl};
159
+ color: ${bl};
159
160
  }
160
161
 
161
162
  :host([appearance='ghost'][color='subtle']) {
162
- color: ${Ha};
163
+ color: ${_a};
163
164
  }
164
165
 
165
166
  :host([appearance='ghost'][color='success']) {
166
- color: ${il};
167
+ color: ${nl};
167
168
  }
168
169
 
169
170
  :host([appearance='ghost'][color='warning']) {
170
- color: ${kl};
171
+ color: ${wl};
171
172
  }
172
- `,Oh=j.partial`
173
+ `,Hh=j.partial`
173
174
  :host([appearance='outline']) {
174
175
  border-color: currentColor;
175
- color: ${Ea};
176
+ color: ${Oa};
176
177
  background-color: initial;
177
178
  }
178
179
 
179
180
  :host([appearance='outline'][color='danger']) {
180
- color: ${Ys};
181
+ color: ${Qs};
181
182
  }
182
183
 
183
184
  :host([appearance='outline'][color='important']) {
184
- color: ${ba};
185
- border-color: ${ds};
185
+ color: ${ma};
186
+ border-color: ${hs};
186
187
  }
187
188
 
188
189
  :host([appearance='outline'][color='informative']) {
189
- color: ${ba};
190
- border-color: ${ms};
190
+ color: ${ma};
191
+ border-color: ${ys};
191
192
  }
192
193
 
193
194
  :host([appearance='outline'][color='severe']) {
194
- color: ${pl};
195
+ color: ${bl};
195
196
  }
196
197
 
197
198
  :host([appearance='outline'][color='subtle']) {
198
- color: ${Ma};
199
+ color: ${Va};
199
200
  }
200
201
 
201
202
  :host([appearance='outline'][color='success']) {
202
- color: ${rl};
203
+ color: ${al};
203
204
  }
204
205
 
205
206
  :host([appearance='outline'][color='warning']) {
206
- color: ${kl};
207
+ color: ${wl};
207
208
  }
208
- `,Mh=j.partial`
209
+ `,Vh=j.partial`
209
210
  :host([appearance='tint']) {
210
- background-color: ${is};
211
- color: ${Ra};
212
- border-color: ${Cs};
211
+ background-color: ${ns};
212
+ color: ${Ma};
213
+ border-color: ${Ps};
213
214
  }
214
215
 
215
216
  :host([appearance='tint'][color='danger']) {
216
- background-color: ${Gs};
217
- color: ${Ws};
218
- border-color: ${Qs};
217
+ background-color: ${Xs};
218
+ color: ${Ys};
219
+ border-color: ${Js};
219
220
  }
220
221
 
221
222
  :host([appearance='tint'][color='important']) {
222
- background-color: ${ba};
223
- color: ${rn};
224
- border-color: ${As};
223
+ background-color: ${ma};
224
+ color: ${nn};
225
+ border-color: ${Ns};
225
226
  }
226
227
 
227
228
  :host([appearance='tint'][color='informative']) {
228
- background-color: ${fn};
229
- color: ${ba};
230
- border-color: ${ms};
229
+ background-color: ${vn};
230
+ color: ${ma};
231
+ border-color: ${ys};
231
232
  }
232
233
 
233
234
  :host([appearance='tint'][color='severe']) {
234
- background-color: ${ll};
235
- color: ${hl};
236
- border-color: ${bl};
235
+ background-color: ${cl};
236
+ color: ${pl};
237
+ border-color: ${ml};
237
238
  }
238
239
 
239
240
  :host([appearance='tint'][color='subtle']) {
240
- background-color: ${rn};
241
- color: ${ba};
242
- border-color: ${ms};
241
+ background-color: ${nn};
242
+ color: ${ma};
243
+ border-color: ${ys};
243
244
  }
244
245
 
245
246
  :host([appearance='tint'][color='success']) {
246
- background-color: ${Js};
247
- color: ${ol};
248
- border-color: ${sl};
247
+ background-color: ${tl};
248
+ color: ${il};
249
+ border-color: ${dl};
249
250
  }
250
251
 
251
252
  :host([appearance='tint'][color='warning']) {
252
- background-color: ${ml};
253
- color: ${kl};
254
- border-color: ${Bl};
253
+ background-color: ${yl};
254
+ color: ${wl};
255
+ border-color: ${Sl};
255
256
  }
256
- `,Hh=j`
257
- :host([shape='square']){border-radius:${Rr}}:host([shape='rounded']){border-radius:${Mr}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Or}}${Dh}
257
+ `,_h=j`
258
+ :host([shape='square']){border-radius:${Mr}}:host([shape='rounded']){border-radius:${Vr}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Hr}}${Rh}
259
+ ${Oh}
260
+ ${Mh}
261
+ ${Hh}
262
+ ${Vh}
258
263
  ${Eh}
259
- ${Rh}
264
+ `,jh=zh.compose({name:Nr.prefix+"-badge",template:Lh,styles:_h});class Gh extends Tt{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Je([De],Gh.prototype,"appearance",void 0),Je([De],Gh.prototype,"shape",void 0),Je([De],Gh.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Gh.prototype,"iconOnly",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Gh.prototype,"disabledFocusable",void 0);const qh=Ft(),Xh=Gh.compose({name:Nr.prefix+"-button",template:qh,styles:ih,shadowOptions:{delegatesFocus:!0}});class Wh extends Nt{}Je([De],Wh.prototype,"shape",void 0),Je([De],Wh.prototype,"size",void 0),Je([De({attribute:"label-position"})],Wh.prototype,"labelPosition",void 0);const Uh={circular:"circular",square:"square"},Yh={medium:"medium",large:"large"},Kh={before:"before",after:"after"},Qh=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Ze(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${Ze(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Zh=j`
265
+ ${Ir("inline-flex")}
266
+ :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${hi};font-size:${Wr};line-height:${ri};color:${ma};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Vr};outline:none;border:2px solid ${Es};box-shadow:inset 0 0 0 1px ${Rs}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${Ri} ${Si};fill:currentcolor;height:16px;width:16px;border:${vi} solid ${hs};border-radius:${Hr};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${Si};padding-bottom:${Ri};padding-top:${Ri}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${_a};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${Hr};background-color:${Da};opacity:0}:host(:hover){color:${ca}}:host(:hover) .control{border-color:${us}}:host(:hover) .indeterminate-indicator{background-color:${Ea}}:host(:active) .control{border-color:${ps}}:host(:active) .indeterminate-indicator{background-color:${Ra}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${na}}:host([aria-checked='true']) .control{background-color:${os}}:host([aria-checked='true']:hover) .control{border-color:${Is};background-color:${rs}}:host([aria-checked='true']:active) .control{background-color:${is}}:host([aria-checked='mixed']:hover) .control{border-color:${Is}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${Ts}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Fs}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${Si} ${Bi};padding-top:${Ri};padding-bottom:${Ri}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${Gr}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${Vn};border-color:${As}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${Ca}}:host([disabled]) .indeterminate-indicator{background-color:${Ca}}`,Jh=Wh.compose({name:Nr.prefix+"-checkbox",template:Qh,styles:Zh});class eu extends Gh{}const tu=Qc,ou=Zc,ru=Jc;const iu=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot><slot name="description"></slot></span>${rt(e)}</button>`}(),au=j`
267
+ ${ih}
268
+
269
+ :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${Wr};line-height:${ri}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${ca};line-height:100%;font-size:${Xr};font-weight:${gi}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${ha}}:host(:active) ::slotted([slot='description']){color:${ua}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
270
+ ::slotted([slot='description']){color:${Wa}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
271
+ ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${ca}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${ga}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${ba}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
272
+ ::slotted([slot='description']){color:${Ca}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${Ci}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${Bi}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${Si}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Ur};line-height:${ii}}:host([size='large']) ::slotted([slot='description']){font-size:${Wr}}`,nu=eu.compose({name:Nr.prefix+"-compound-button",template:iu,styles:au,shadowOptions:{delegatesFocus:!0}});class su extends Qe{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!==(e=this.count)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Je([De],su.prototype,"appearance",void 0),Je([De],su.prototype,"color",void 0),Je([De],su.prototype,"shape",void 0),Je([De],su.prototype,"size",void 0),Je([De({converter:Ne})],su.prototype,"count",void 0),Je([De({attribute:"overflow-count",converter:Ne})],su.prototype,"overflowCount",void 0),Je([De({attribute:"show-zero",mode:"boolean"})],su.prototype,"showZero",void 0),Je([De({mode:"boolean"})],su.prototype,"dot",void 0),ut(su,ot);const lu={filled:"filled",ghost:"ghost"},du={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},cu={circular:"circular",rounded:"rounded"},hu={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const uu=Nh({defaultContent:xe`${e=>e.setCount()}`}),pu=j`
273
+ :host([shape='rounded']){border-radius:${Vr}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Hr}}${Rh}
260
274
  ${Oh}
261
275
  ${Mh}
262
- ${Lh}
263
- `,Vh=Fh.compose({name:Ar.prefix+"-badge",template:zh,styles:Hh});class _h extends Tt{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Je([De],_h.prototype,"appearance",void 0),Je([De],_h.prototype,"shape",void 0),Je([De],_h.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],_h.prototype,"iconOnly",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],_h.prototype,"disabledFocusable",void 0);const jh=Ft(),Gh=_h.compose({name:Ar.prefix+"-button",template:jh,styles:oh,shadowOptions:{delegatesFocus:!0}});class qh extends Nt{}Je([De],qh.prototype,"shape",void 0),Je([De],qh.prototype,"size",void 0),Je([De({attribute:"label-position"})],qh.prototype,"labelPosition",void 0);const Xh={circular:"circular",square:"square"},Wh={medium:"medium",large:"large"},Uh={before:"before",after:"after"},Yh=function(e={}){return ke`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Ze(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${Ze(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:ke.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:ke.partial('\n <div class="indeterminate-indicator"></div>\n')}),Kh=j`
264
- ${Pr("inline-flex")}
265
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${di};font-size:${qr};line-height:${ti};color:${ba};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Mr};outline:none;border:2px solid ${Ls};box-shadow:inset 0 0 0 1px ${Ds}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${Di} ${Bi};fill:currentcolor;height:16px;width:16px;border:${fi} solid ${ds};border-radius:${Or};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${Bi};padding-bottom:${Di};padding-top:${Di}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${Ha};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${Or};background-color:${Na};opacity:0}:host(:hover){color:${la}}:host(:hover) .control{border-color:${cs}}:host(:hover) .indeterminate-indicator{background-color:${La}}:host(:active) .control{border-color:${hs}}:host(:active) .indeterminate-indicator{background-color:${Da}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${ia}}:host([aria-checked='true']) .control{background-color:${es}}:host([aria-checked='true']:hover) .control{border-color:${Ps};background-color:${ts}}:host([aria-checked='true']:active) .control{background-color:${os}}:host([aria-checked='mixed']:hover) .control{border-color:${Ps}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${Ss}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Ts}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${Bi} ${$i};padding-top:${Di};padding-bottom:${Di}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${_r}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${Mn};border-color:${Is}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${wa}}:host([disabled]) .indeterminate-indicator{background-color:${wa}}`,Qh=qh.compose({name:Ar.prefix+"-checkbox",template:Yh,styles:Kh});class Zh extends _h{}const Jh=Yc,eu=Kc,tu=Qc;const ou=function(e={}){return ke`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${it(e)}<span class="content" part="content"><slot ${Ie("defaultSlottedContent")}></slot><slot name="description"></slot></span>${rt(e)}</button>`}(),ru=j`
266
- ${oh}
267
-
268
- :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${qr};line-height:${ti}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${la};line-height:100%;font-size:${Gr};font-weight:${ui}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${da}}:host(:active) ::slotted([slot='description']){color:${ca}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
269
- ::slotted([slot='description']){color:${qa}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
270
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${la}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${ua}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${pa}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
271
- ::slotted([slot='description']){color:${wa}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${wi}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${$i}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${Bi}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Xr};line-height:${oi}}:host([size='large']) ::slotted([slot='description']){font-size:${qr}}`,iu=Zh.compose({name:Ar.prefix+"-compound-button",template:ou,styles:ru,shadowOptions:{delegatesFocus:!0}});class au extends Qe{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!==(e=this.count)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Je([De],au.prototype,"appearance",void 0),Je([De],au.prototype,"color",void 0),Je([De],au.prototype,"shape",void 0),Je([De],au.prototype,"size",void 0),Je([De({converter:Ne})],au.prototype,"count",void 0),Je([De({attribute:"overflow-count",converter:Ne})],au.prototype,"overflowCount",void 0),Je([De({attribute:"show-zero",mode:"boolean"})],au.prototype,"showZero",void 0),Je([De({mode:"boolean"})],au.prototype,"dot",void 0),ut(au,ot);const nu={filled:"filled",ghost:"ghost"},su={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},lu={circular:"circular",rounded:"rounded"},du={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const cu=Ah({defaultContent:ke`${e=>e.setCount()}`}),hu=j`
272
- :host([shape='rounded']){border-radius:${Mr}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Or}}${Dh}
273
276
  ${Eh}
274
- ${Rh}
275
- ${Lh}
276
-
277
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,uu=au.compose({name:Ar.prefix+"-counter-badge",template:cu,styles:hu});class pu extends Ko{}Je([De({attribute:"align-content"})],pu.prototype,"alignContent",void 0),Je([De],pu.prototype,"appearance",void 0),Je([De({mode:"boolean"})],pu.prototype,"inset",void 0);const gu={center:"center",start:"start",end:"end"},bu={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},fu=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,mu=j`
278
- ${Pr("flex")}
279
-
280
- :host{contain:content}:host::after,:host::before{align-self:center;background:${ms};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${fi}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${la};font-family:${di};font-size:${Gr};font-weight:${ui};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${fi};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${ps}}:host([appearance='strong']) ::slotted(*){color:${ia}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Bs}}:host([appearance='brand']) ::slotted(*){color:${Ea}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${vs}}:host([appearance='subtle']) ::slotted(*){color:${ba}}`,vu=pu.compose({name:Ar.prefix+"-divider",template:fu,styles:mu});class yu extends Qe{}Je([De({mode:"boolean"})],yu.prototype,"block",void 0),Je([De({mode:"boolean"})],yu.prototype,"bordered",void 0),Je([De({mode:"boolean"})],yu.prototype,"shadow",void 0),Je([De],yu.prototype,"fit",void 0),Je([De],yu.prototype,"shape",void 0);const xu={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},ku={circular:"circular",rounded:"rounded",square:"square"},$u=ke`<slot></slot>`,wu=j`
281
- :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${fi} solid ${ms}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Nc}}:host([shape='circular']) ::slotted(img){border-radius:${_r}}:host([shape='rounded']) ::slotted(img){border-radius:${Mr}}`,Bu=yu.compose({name:Ar.prefix+"-image",template:$u,styles:wu});class Cu extends Qe{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Je([De],Cu.prototype,"size",void 0),Je([De],Cu.prototype,"weight",void 0),Je([De({mode:"boolean"})],Cu.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Cu.prototype,"required",void 0);const Su=j`
282
- ${Pr("flex")}
283
-
284
- :host{font-family:${di};font-size:${qr};line-height:${ti};font-weight:${ui};color:${ia}}.asterisk{color:${Ws};margin-left:${$i}}:host([size='small']){font-size:${Gr};line-height:${ei}}:host([size='large']){font-size:${Xr};line-height:${oi};font-weight:${gi}}:host([weight='semibold']){font-weight:${gi}}:host([disabled]),:host([disabled]) .asterisk{color:${wa}}`;const Pu=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Tu=Cu.compose({name:Ar.prefix+"-label",template:Pu,styles:Su});class Iu extends _h{}const Fu=Yc,Au=Kc,zu=Qc,Nu=Ft({end:ke.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Lu=Iu.compose({name:Ar.prefix+"-menu-button",template:Nu,styles:oh,shadowOptions:{delegatesFocus:!0}});class Du extends Zo{}const Eu=ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Ru=function(e={}){return ke`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Qo.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${Be(e=>e.role===Qo.menuitemcheckbox,ke`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${Ze(e.checkboxIndicator)}</slot></span></div>`)} ${Be(e=>e.role===Qo.menuitemradio,ke`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${Ze(e.radioIndicator)}</slot></span></div>`)}</div>${it(e)}<span class="content" part="content"><slot></slot></span>${rt(e)} ${Be(e=>e.hasSubmenu,ke`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${Ze(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Ie({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:Eu,expandCollapseGlyph:ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:Eu}),Ou=j`
285
- ${Pr("grid")}
286
-
287
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${rn};font:${ui} ${qr} / ${ti} ${di};border-radius:${Mr};color:${la};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${an}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${la}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Wr};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${ba};font:${ui} ${Gr} / ${ei} ${di};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${da}}:host([icon]:hover) ::slotted([slot='start']){color:${La}}:host(:active){background-color:${sn}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${ca}}:host(:active) ::slotted([slot='start']){color:${Da}}:host([disabled]){background-color:${_n}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${wa}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,Mu=Du.compose({name:Ar.prefix+"-menu-item",template:Ru,styles:Ou});class Hu extends Jo{setItems(){var e;super.setItems();const t=null===(e=this.menuItems)||void 0===e?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=Hu.elementIndent(t);return Math.max(e,o)},0);e instanceof Du&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Qo.menuitem?o?2:1:o?1:0}}const Vu=ke`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ie("items")}></slot></template>`,_u=j`
288
- ${Pr("flex")}
289
-
290
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${rn};border:1px solid ${As};border-radius:${Mr};box-shadow:${Dc};padding:4px;row-gap:2px}`,ju=Hu.compose({name:Ar.prefix+"-menu-list",template:Vu,styles:_u});class Gu extends sr{constructor(){super(...arguments),this.validationState=null}}Je([De],Gu.prototype,"thickness",void 0),Je([De],Gu.prototype,"shape",void 0),Je([De({attribute:"validation-state"})],Gu.prototype,"validationState",void 0);const qu={medium:"medium",large:"large"},Xu={rounded:"rounded",square:"square"},Wu={success:"success",warning:"warning",error:"error"},Uu=j`
291
- ${Pr("flex")}
292
-
293
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Mr};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${Xs}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
294
- to right,${qs} 0%,${Xs} 50%,${qs}
295
- )}:host([validation-state='warning']) .determinate{background-color:${cl}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
296
- to right,${dl} 0%,${cl} 50%,${dl}
297
- )}:host([validation-state='success']) .determinate{background-color:${tl}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
298
- to right,${el} 0%,${tl} 50%,${el}
299
- )}.progress{background-color:${Bn};border-radius:${Mr};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${es};border-radius:${Mr};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
300
- to right,${is} 0%,${es} 50%,${is}
301
- );border-radius:${Mr};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
302
- to right,${is} 0%,${es} 50%,${is}
303
- );border-radius:${Mr};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`,Yu=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,ke`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${Be(e=>"number"!=typeof e.value,ke`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Ze(e.indeterminateIndicator1)} ${Ze(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Ku=Gu.compose({name:Ar.prefix+"-progress-bar",template:Yu,styles:Uu});class Qu extends ur{}const Zu=j`
304
- ${Pr("inline-grid")}
305
-
306
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${$i};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${ba});padding-inline-end:${Bi};--control-border-color:${ds};--checked-indicator-background-color:${Na};--state-color:${ba}}:host([disabled]){--control-border-color:${wa};--checked-indicator-background-color:${wa};--state-color:${wa}}.label{cursor:pointer;font-family:${di};font-size:${qr};font-weight:${ui};line-height:${ti}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${ds});border-radius:${_r};display:flex;height:16px;justify-content:center;margin:${Di} ${Bi};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${_r};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${la}}:host(:focus-visible){border-radius:${Or};box-shadow:0 0 0 3px ${Ds};outline:1px solid ${Ls}}:host(:hover) .control{border-color:${cs}}:host(:active) .control{border-color:${hs}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${ds})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Na})}:host([aria-checked='true']:hover) .control{border-color:${Ps}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${Ps}}:host([aria-checked='true']:active) .control{border-color:${Ts}}:host([aria-checked='true']:active) .checked-indicator{background:${Da}}:host([disabled]){color:${wa};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${wa}}:host([disabled]) .checked-indicator{background:${wa}}`,Ju=function(e={}){return ke`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Ze(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ie({property:"defaultSlottedNodes",filter:dr})}></slot></label></template>`}({checkedIndicator:ke`<div part="checked-indicator" class="checked-indicator"></div>`}),ep=Qu.compose({name:Ar.prefix+"-radio",template:Ju,styles:Zu});class tp extends pr{constructor(){super(...arguments),this.stacked=!1}}Je([De({mode:"boolean"})],tp.prototype,"stacked",void 0);const op=j`
307
- ${Pr("flex")}
308
-
309
- :host{align-items:flex-start;flex-direction:column;row-gap:${Di}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${wa};--checked-indicator-background-color:${wa};--state-color:${wa}}::slotted([slot='label']){color:${ia};padding:${Di} ${Bi} ${Di} ${$i};font:${ui} ${qr} / ${ti} ${di};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${Bi}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${Bi};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,rp=ke`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===lr.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ie({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,ip=tp.compose({name:Ar.prefix+"-radio-group",template:rp,styles:op});class ap extends yr{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
310
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],ap.prototype,"size",void 0);const np={small:"small",medium:"medium"},sp=j`
311
- ${Pr("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${Or};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${Ds};outline:1px solid ${Ls}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${Kn};border-radius:${_r};box-shadow:inset 0 0 0 var(--thumb-padding) ${rn},0 0 0 1px ${ps}}.thumb-cursor:hover{background-color:${ts}}.thumb-cursor:active{background-color:${os}}:host([disabled]) .thumb-cursor{background-color:${wa};box-shadow:inset 0 0 0 var(--thumb-padding) ${rn},0 0 0 1px ${Is}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${ds};border-radius:${Mr};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${Mr};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
312
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${rn} calc(var(--step-rate) - 1px),${rn} var(--step-rate)
313
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${_n}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${es};position:absolute;height:100%;left:0;border-radius:${Mr}}:host([disabled]) .track-start{background-color:${wa}}:host(:hover) .track-start{background-color:${ts}}:host([disabled]:hover) .track-start{background-color:${wa}}.track-start:active{background-color:${os}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,lp=function(e={}){return ke`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${we("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${Ze(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),dp=ap.compose({name:Ar.prefix+"-slider",template:lp,styles:sp});class cp extends nr{}Je([De],cp.prototype,"size",void 0),Je([De],cp.prototype,"appearance",void 0);const hp={primary:"primary",inverted:"inverted"},up={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},pp=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,ke`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${Be(e=>"number"!=typeof e.value,ke`<slot name="indeterminate">${Ze(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),gp=j`
314
- ${Pr("flex")}
315
-
316
- :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Cs};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${Bs};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${xs}}.indeterminate-indicator-1{stroke:${Bs};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${xs}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,bp=cp.compose({name:Ar.prefix+"-spinner",template:pp,styles:gp});class fp extends $r{}Je([De({attribute:"label-position"})],fp.prototype,"labelPosition",void 0);const mp={above:"above",after:"after",before:"before"},vp=function(e={}){return ke`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Ze(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),yp=j`
317
- ${Pr("inline-flex")}
318
-
319
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${ia};line-height:${ti};font-size:${qr};font-weight:${ui};font-family:${di};padding:${Ni} ${$i};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${ki};box-sizing:border-box;width:40px;height:20px;background-color:${On};border:1px solid ${ds};border-radius:${_r};outline:none;cursor:pointer;margin:${Di} ${Bi}}:host(:hover) .switch{background:none;border-color:${cs}}:host(:active) .switch{border-color:${hs}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Is};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${es}}:host([aria-checked='true']:hover) .switch{background:${ts};border-color:${ts}}:host([aria-checked='true']:active) .switch{background:${os};border-color:${os}}:host([aria-checked='true'][disabled]) .switch{background:${_n};border-color:${Is}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${ba};transition-duration:${qi};transition-timing-function:${oa};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Ha};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Va}}:host([aria-checked='true']:active) .checked-indicator{background:${_a}}:host(:hover) .checked-indicator{background-color:${fa}}:host(:active) .checked-indicator{background-color:${ma}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${wa}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${wa}}`,xp=fp.compose({name:Ar.prefix+"-switch",template:vp,styles:yp}),kp={subtle:"subtle",transparent:"transparent"},$p={small:"small",medium:"medium",large:"large"};class wp extends Sr{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=kp.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Cr.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Cr.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const i=this.tabs,a=this.activetab||i[0],n=null==a?void 0:a.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:n.x-s.x,y:n.y-s.y,height:n.height,width:n.width},(null===(e=this.previousActiveTabData)||void 0===e?void 0:e.x)!==(null===(t=this.activeTabData)||void 0===t?void 0:t.x)&&(null===(o=this.previousActiveTabData)||void 0===o?void 0:o.y)!==(null===(r=this.activeTabData)||void 0===r?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
277
+
278
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,gu=su.compose({name:Nr.prefix+"-counter-badge",template:uu,styles:pu});class bu extends Ko{}Je([De({attribute:"align-content"})],bu.prototype,"alignContent",void 0),Je([De],bu.prototype,"appearance",void 0),Je([De({mode:"boolean"})],bu.prototype,"inset",void 0);const fu={center:"center",start:"start",end:"end"},mu={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},vu=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,yu=j`
279
+ ${Ir("flex")}
280
+
281
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${ys};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${vi}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${ca};font-family:${hi};font-size:${Xr};font-weight:${gi};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${vi};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${bs}}:host([appearance='strong']) ::slotted(*){color:${na}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Ss}}:host([appearance='brand']) ::slotted(*){color:${Oa}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${ks}}:host([appearance='subtle']) ::slotted(*){color:${ma}}`.withBehaviors(Tr(j`
282
+ :host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),ku=bu.compose({name:Nr.prefix+"-divider",template:vu,styles:yu});class xu extends Qe{}Je([De({mode:"boolean"})],xu.prototype,"block",void 0),Je([De({mode:"boolean"})],xu.prototype,"bordered",void 0),Je([De({mode:"boolean"})],xu.prototype,"shadow",void 0),Je([De],xu.prototype,"fit",void 0),Je([De],xu.prototype,"shape",void 0);const $u={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},wu={circular:"circular",rounded:"rounded",square:"square"},Bu=xe`<slot></slot>`,Cu=j`
283
+ :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${vi} solid ${ys}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Dc}}:host([shape='circular']) ::slotted(img){border-radius:${Gr}}:host([shape='rounded']) ::slotted(img){border-radius:${Vr}}`,Su=xu.compose({name:Nr.prefix+"-image",template:Bu,styles:Cu});class Pu extends Qe{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Je([De],Pu.prototype,"size",void 0),Je([De],Pu.prototype,"weight",void 0),Je([De({mode:"boolean"})],Pu.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Pu.prototype,"required",void 0);const Tu=j`
284
+ ${Ir("flex")}
285
+
286
+ :host{font-family:${hi};font-size:${Wr};line-height:${ri};font-weight:${gi};color:${na}}.asterisk{color:${Ys};margin-left:${Bi}}:host([size='small']){font-size:${Xr};line-height:${oi}}:host([size='large']){font-size:${Ur};line-height:${ii};font-weight:${fi}}:host([weight='semibold']){font-weight:${fi}}:host([disabled]),:host([disabled]) .asterisk{color:${Ca}}`;const Iu=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Fu=Pu.compose({name:Nr.prefix+"-label",template:Iu,styles:Tu});class Au extends Gh{}const zu=Qc,Nu=Zc,Lu=Jc,Du=Ft({end:xe.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Eu=Au.compose({name:Nr.prefix+"-menu-button",template:Du,styles:ih,shadowOptions:{delegatesFocus:!0}});class Ru extends Zo{}const Ou=xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Mu=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Qo.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${Be(e=>e.role===Qo.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${Ze(e.checkboxIndicator)}</slot></span></div>`)} ${Be(e=>e.role===Qo.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${Ze(e.radioIndicator)}</slot></span></div>`)}</div>${it(e)}<span class="content" part="content"><slot></slot></span>${rt(e)} ${Be(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${Ze(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Ie({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:Ou,expandCollapseGlyph:xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:Ou}),Hu=j`
287
+ ${Ir("grid")}
288
+
289
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${nn};font:${gi} ${Wr} / ${ri} ${hi};border-radius:${Vr};color:${ca};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${sn}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${ca}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Yr};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${ma};font:${gi} ${Xr} / ${oi} ${hi};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${ha}}:host([icon]:hover) ::slotted([slot='start']){color:${Ea}}:host(:active){background-color:${dn}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${ua}}:host(:active) ::slotted([slot='start']){color:${Ra}}:host([disabled]){background-color:${Gn}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${Ca}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,Vu=Ru.compose({name:Nr.prefix+"-menu-item",template:Mu,styles:Hu});class _u extends Jo{setItems(){var e;super.setItems();const t=null===(e=this.menuItems)||void 0===e?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=_u.elementIndent(t);return Math.max(e,o)},0);e instanceof Ru&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Qo.menuitem?o?2:1:o?1:0}}const ju=xe`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ie("items")}></slot></template>`,Gu=j`
290
+ ${Ir("flex")}
291
+
292
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${nn};border:1px solid ${Ns};border-radius:${Vr};box-shadow:${Rc};padding:4px;row-gap:2px}`,qu=_u.compose({name:Nr.prefix+"-menu-list",template:ju,styles:Gu});class Xu extends sr{constructor(){super(...arguments),this.validationState=null}}Je([De],Xu.prototype,"thickness",void 0),Je([De],Xu.prototype,"shape",void 0),Je([De({attribute:"validation-state"})],Xu.prototype,"validationState",void 0);const Wu={medium:"medium",large:"large"},Uu={rounded:"rounded",square:"square"},Yu={success:"success",warning:"warning",error:"error"},Ku=j`
293
+ ${Ir("flex")}
294
+
295
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Vr};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${Us}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
296
+ to right,${Ws} 0%,${Us} 50%,${Ws}
297
+ )}:host([validation-state='warning']) .determinate{background-color:${ul}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
298
+ to right,${hl} 0%,${ul} 50%,${hl}
299
+ )}:host([validation-state='success']) .determinate{background-color:${rl}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
300
+ to right,${ol} 0%,${rl} 50%,${ol}
301
+ )}.progress{background-color:${Sn};border-radius:${Vr};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${os};border-radius:${Vr};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
302
+ to right,${ns} 0%,${os} 50%,${ns}
303
+ );border-radius:${Vr};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
304
+ to right,${ns} 0%,${os} 50%,${ns}
305
+ );border-radius:${Vr};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(Tr(j`
306
+ .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`)),Qu=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${Be(e=>"number"!=typeof e.value,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Ze(e.indeterminateIndicator1)} ${Ze(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Zu=Xu.compose({name:Nr.prefix+"-progress-bar",template:Qu,styles:Ku});class Ju extends ur{}const ep=j`
307
+ ${Ir("inline-grid")}
308
+
309
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${Bi};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${ma});padding-inline-end:${Si};--control-border-color:${hs};--checked-indicator-background-color:${Da};--state-color:${ma}}:host([disabled]){--control-border-color:${Ca};--checked-indicator-background-color:${Ca};--state-color:${Ca}}.label{cursor:pointer;font-family:${hi};font-size:${Wr};font-weight:${gi};line-height:${ri}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${hs});border-radius:${Gr};display:flex;height:16px;justify-content:center;margin:${Ri} ${Si};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${Gr};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${ca}}:host(:focus-visible){border-radius:${Hr};box-shadow:0 0 0 3px ${Rs};outline:1px solid ${Es}}:host(:hover) .control{border-color:${us}}:host(:active) .control{border-color:${ps}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${hs})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Da})}:host([aria-checked='true']:hover) .control{border-color:${Is}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${Is}}:host([aria-checked='true']:active) .control{border-color:${Fs}}:host([aria-checked='true']:active) .checked-indicator{background:${Ra}}:host([disabled]){color:${Ca};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${Ca}}:host([disabled]) .checked-indicator{background:${Ca}}`.withBehaviors(Tr(j`
310
+ :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`)),tp=function(e={}){return xe`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Ze(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ie({property:"defaultSlottedNodes",filter:dr})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),op=Ju.compose({name:Nr.prefix+"-radio",template:tp,styles:ep});class rp extends pr{constructor(){super(...arguments),this.stacked=!1}}Je([De({mode:"boolean"})],rp.prototype,"stacked",void 0);const ip=j`
311
+ ${Ir("flex")}
312
+
313
+ :host{align-items:flex-start;flex-direction:column;row-gap:${Ri}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${Ca};--checked-indicator-background-color:${Ca};--state-color:${Ca}}::slotted([slot='label']){color:${na};padding:${Ri} ${Si} ${Ri} ${Bi};font:${gi} ${Wr} / ${ri} ${hi};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${Si}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${Si};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,ap=xe`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===lr.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ie({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,np=rp.compose({name:Nr.prefix+"-radio-group",template:ap,styles:ip});class sp extends yr{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
314
+ :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],sp.prototype,"size",void 0);const lp={small:"small",medium:"medium"},dp=j`
315
+ ${Ir("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${Hr};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${Rs};outline:1px solid ${Es}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${Zn};border-radius:${Gr};box-shadow:inset 0 0 0 var(--thumb-padding) ${nn},0 0 0 1px ${bs}}.thumb-cursor:hover{background-color:${rs}}.thumb-cursor:active{background-color:${is}}:host([disabled]) .thumb-cursor{background-color:${Ca};box-shadow:inset 0 0 0 var(--thumb-padding) ${nn},0 0 0 1px ${As}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${hs};border-radius:${Vr};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${Vr};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
316
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${nn} calc(var(--step-rate) - 1px),${nn} var(--step-rate)
317
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Gn}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${os};position:absolute;height:100%;left:0;border-radius:${Vr}}:host([disabled]) .track-start{background-color:${Ca}}:host(:hover) .track-start{background-color:${rs}}:host([disabled]:hover) .track-start{background-color:${Ca}}.track-start:active{background-color:${is}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(Tr(j`
318
+ .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`)),cp=function(e={}){return xe`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${we("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${Ze(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),hp=sp.compose({name:Nr.prefix+"-slider",template:cp,styles:dp});class up extends nr{}Je([De],up.prototype,"size",void 0),Je([De],up.prototype,"appearance",void 0);const pp={primary:"primary",inverted:"inverted"},gp={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},bp=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,xe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${Be(e=>"number"!=typeof e.value,xe`<slot name="indeterminate">${Ze(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),fp=j`
319
+ ${Ir("flex")}
320
+
321
+ :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Ps};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${Ss};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${$s}}.indeterminate-indicator-1{stroke:${Ss};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${$s}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,mp=up.compose({name:Nr.prefix+"-spinner",template:bp,styles:fp});class vp extends $r{}Je([De({attribute:"label-position"})],vp.prototype,"labelPosition",void 0);const yp={above:"above",after:"after",before:"before"},kp=function(e={}){return xe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Ze(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),xp=j`
322
+ ${Ir("inline-flex")}
323
+
324
+ :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${na};line-height:${ri};font-size:${Wr};font-weight:${gi};font-family:${hi};padding:${Di} ${Bi};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${wi};box-sizing:border-box;width:40px;height:20px;background-color:${Hn};border:1px solid ${hs};border-radius:${Gr};outline:none;cursor:pointer;margin:${Ri} ${Si}}:host(:hover) .switch{background:none;border-color:${us}}:host(:active) .switch{border-color:${ps}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${As};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${os}}:host([aria-checked='true']:hover) .switch{background:${rs};border-color:${rs}}:host([aria-checked='true']:active) .switch{background:${is};border-color:${is}}:host([aria-checked='true'][disabled]) .switch{background:${Gn};border-color:${As}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${ma};transition-duration:${Wi};transition-timing-function:${ia};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${_a};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${ja}}:host([aria-checked='true']:active) .checked-indicator{background:${Ga}}:host(:hover) .checked-indicator{background-color:${va}}:host(:active) .checked-indicator{background-color:${ya}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${Ca}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${Ca}}:host(:focus-visible){border-color:${Ns};outline:${yi} solid ${Ns};box-shadow:${Dc},0 0 0 2px ${Rs}}`.withBehaviors(Tr(j`
325
+ .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),$p=vp.compose({name:Nr.prefix+"-switch",template:kp,styles:xp}),wp={subtle:"subtle",transparent:"transparent"},Bp={small:"small",medium:"medium",large:"large"};class Cp extends Sr{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=wp.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Cr.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Cr.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const i=this.tabs,a=this.activetab||i[0],n=null==a?void 0:a.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:n.x-s.x,y:n.y-s.y,height:n.height,width:n.width},(null===(e=this.previousActiveTabData)||void 0===e?void 0:e.x)!==(null===(t=this.activeTabData)||void 0===t?void 0:t.x)&&(null===(o=this.previousActiveTabData)||void 0===o?void 0:o.y)!==(null===(r=this.activeTabData)||void 0===r?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
320
326
  :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
321
- :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Je([De],wp.prototype,"appearance",void 0),Je([De({mode:"boolean"})],wp.prototype,"disabled",void 0),Je([De],wp.prototype,"size",void 0);const Bp=function(e={}){return ke` ${it(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ie("tabs")}></slot></div>${rt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ie("tabpanels")}></slot></div>`}({}),Cp=j`
322
- ${Pr("grid")}
327
+ :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Je([De],Cp.prototype,"appearance",void 0),Je([De({mode:"boolean"})],Cp.prototype,"disabled",void 0),Je([De],Cp.prototype,"size",void 0);const Sp=function(e={}){return xe` ${it(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ie("tabs")}></slot></div>${rt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ie("tabpanels")}></slot></div>`}({}),Pp=j`
328
+ ${Ir("grid")}
323
329
 
324
- :host{box-sizing:border-box;font-family:${di};font-size:${qr};line-height:${ti};color:${la};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${wa}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${wa}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${wa}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${wa}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${Mr}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${wa}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${Tn};color:${aa};fill:${La}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${In};fill:${In};color:${ia}}:host([size='small']) ::slotted(fluent-tab){font-size:${qr};line-height:${ti};padding:${Li} ${wi}}:host([size='large']) ::slotted(fluent-tab){font-size:${Xr};line-height:${oi};padding:${Oi} ${Ci}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Xi};transition-timing-function:${Zi}}:host ::slotted(fluent-tab)::after{height:${vi};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${vi};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${vi};border-radius:${_r};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${vi};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${vi};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${vi}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Li};padding-bottom:${Li}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${zi};padding-bottom:${zi}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Di};padding-bottom:${Di}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${wi};left:${wi}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Ci};left:${Ci}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Ci};left:${Ci}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Li};bottom:${Li}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Di};bottom:${Di}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Ei};bottom:${Ei}}`,Sp=wp.compose({name:Ar.prefix+"-tabs",template:Bp,styles:Cp});class Pp extends Br{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
325
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Tp=function(e={}){return ke`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${it(e)}<span class="tab-content"><slot></slot></span>${rt(e)}</template>`}({}),Ip=j`
326
- ${Pr("inline-flex")}
330
+ :host{box-sizing:border-box;font-family:${hi};font-size:${Wr};line-height:${ri};color:${ca};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${Ca}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${Ca}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${Ca}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${Ca}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${Vr}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${Ca}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${Fn};color:${sa};fill:${Ea}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${An};fill:${An};color:${na}}:host([size='small']) ::slotted(fluent-tab){font-size:${Wr};line-height:${ri};padding:${Ei} ${Ci}}:host([size='large']) ::slotted(fluent-tab){font-size:${Ur};line-height:${ii};padding:${Hi} ${Pi}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Ui};transition-timing-function:${ea}}:host ::slotted(fluent-tab)::after{height:${ki};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${ki};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${ki};border-radius:${Gr};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${ki};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${ki};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${ki}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Ei};padding-bottom:${Ei}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Li};padding-bottom:${Li}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Ri};padding-bottom:${Ri}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${Ci};left:${Ci}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Pi};left:${Pi}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Pi};left:${Pi}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Ei};bottom:${Ei}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Ri};bottom:${Ri}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Oi};bottom:${Oi}}`,Tp=Cp.compose({name:Nr.prefix+"-tabs",template:Sp,styles:Pp});class Ip extends Br{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
331
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Fp=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${it(e)}<span class="tab-content"><slot></slot></span>${rt(e)}</template>`}({}),Ap=j`
332
+ ${Ir("inline-flex")}
327
333
 
328
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${ti};font-family:${di};font-size:${qr};color:${la};fill:currentcolor;grid-row:1;padding:${Si} ${Ci};border-radius:${Mr}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${ia};font-weight:${gi}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${ti};font-weight:${gi}}:host([aria-selected='true'])::after{background-color:${Ss};border-radius:${_r};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${gs};border-radius:${_r};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${wa}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${wa};color:${wa}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Or};box-shadow:0 0 0 3px ${Ds};outline:1px solid ${Ls}}`,Fp=Pp.compose({name:Ar.prefix+"-tab",template:Tp,styles:Ip});class Ap extends wr{}const zp=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Np=j`
329
- ${Pr("block")}
334
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${ri};font-family:${hi};font-size:${Wr};color:${ca};fill:currentcolor;grid-row:1;padding:${Ti} ${Pi};border-radius:${Vr}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${na};font-weight:${fi}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${ri};font-weight:${fi}}:host([aria-selected='true'])::after{background-color:${Ts};border-radius:${Gr};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${fs};border-radius:${Gr};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${Ca}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${Ca};color:${Ca}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Hr};box-shadow:0 0 0 3px ${Rs};outline:1px solid ${Es}}`.withBehaviors(Tr(j`
335
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),zp=Ip.compose({name:Nr.prefix+"-tab",template:Fp,styles:Ap});class Np extends wr{}const Lp=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Dp=j`
336
+ ${Ir("block")}
330
337
 
331
- :host{box-sizing:border-box;padding:${Si} ${Ci}}`,Lp=Ap.compose({name:Ar.prefix+"-tab-panel",template:zp,styles:Np});class Dp extends Qe{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Je([De({mode:"boolean"})],Dp.prototype,"nowrap",void 0),Je([De({mode:"boolean"})],Dp.prototype,"truncate",void 0),Je([De({mode:"boolean"})],Dp.prototype,"italic",void 0),Je([De({mode:"boolean"})],Dp.prototype,"underline",void 0),Je([De({mode:"boolean"})],Dp.prototype,"strikethrough",void 0),Je([De({mode:"boolean"})],Dp.prototype,"block",void 0),Je([De],Dp.prototype,"size",void 0),Je([De],Dp.prototype,"font",void 0),Je([De],Dp.prototype,"weight",void 0),Je([De],Dp.prototype,"align",void 0);const Ep={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Rp={base:"base",numeric:"numeric",monospace:"monospace"},Op={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Mp={start:"start",end:"end",center:"center",justify:"justify"},Hp=ke`<slot></slot>`,Vp=j`
332
- ${Pr("inline")}
338
+ :host{box-sizing:border-box;padding:${Ti} ${Pi}}`,Ep=Np.compose({name:Nr.prefix+"-tab-panel",template:Lp,styles:Dp});class Rp extends Qe{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Je([De({mode:"boolean"})],Rp.prototype,"nowrap",void 0),Je([De({mode:"boolean"})],Rp.prototype,"truncate",void 0),Je([De({mode:"boolean"})],Rp.prototype,"italic",void 0),Je([De({mode:"boolean"})],Rp.prototype,"underline",void 0),Je([De({mode:"boolean"})],Rp.prototype,"strikethrough",void 0),Je([De({mode:"boolean"})],Rp.prototype,"block",void 0),Je([De],Rp.prototype,"size",void 0),Je([De],Rp.prototype,"font",void 0),Je([De],Rp.prototype,"weight",void 0),Je([De],Rp.prototype,"align",void 0);const Op={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Mp={base:"base",numeric:"numeric",monospace:"monospace"},Hp={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Vp={start:"start",end:"end",center:"center",justify:"justify"},_p=xe`<slot></slot>`,jp=j`
339
+ ${Ir("inline")}
333
340
 
334
- :host{contain:content}::slotted(*){font-family:${di};font-size:${qr};line-height:${ti};font-weight:${ui};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${jr};line-height:${Jr}}:host([size='200']) ::slotted(*){font-size:${Gr};line-height:${ei}}:host([size='400']) ::slotted(*){font-size:${Xr};line-height:${oi}}:host([size='500']) ::slotted(*){font-size:${Wr};line-height:${ri}}:host([size='600']) ::slotted(*){font-size:${Ur};line-height:${ii}}:host([size='700']) ::slotted(*){font-size:${Yr};line-height:${ai}}:host([size='800']) ::slotted(*){font-size:${Kr};line-height:${ni}}:host([size='900']) ::slotted(*){font-size:${Qr};line-height:${si}}:host([size='1000']) ::slotted(*){font-size:${Zr};line-height:${li}}:host([font='monospace']) ::slotted(*){font-family:${ci}}:host([font='numeric']) ::slotted(*){font-family:${hi}}:host([weight='medium']) ::slotted(*){font-weight:${pi}}:host([weight='semibold']) ::slotted(*){font-weight:${gi}}:host([weight='bold']) ::slotted(*){font-weight:${bi}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,_p=Dp.compose({name:Ar.prefix+"-text",template:Hp,styles:Vp});class jp extends rr{}Je([De({attribute:"control-size"})],jp.prototype,"controlSize",void 0),Je([De],jp.prototype,"appearance",void 0);const Gp={small:"small",medium:"medium",large:"large"},qp={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Xp=function(e={}){return ke`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie({property:"defaultSlottedNodes",filter:dr})}></slot></label><div class="root" part="root">${it(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")} />${rt(e)}</div>`}(),Wp=j`
335
- ${Pr("block")}
341
+ :host{contain:content}::slotted(*){font-family:${hi};font-size:${Wr};line-height:${ri};font-weight:${gi};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${qr};line-height:${ti}}:host([size='200']) ::slotted(*){font-size:${Xr};line-height:${oi}}:host([size='400']) ::slotted(*){font-size:${Ur};line-height:${ii}}:host([size='500']) ::slotted(*){font-size:${Yr};line-height:${ai}}:host([size='600']) ::slotted(*){font-size:${Kr};line-height:${ni}}:host([size='700']) ::slotted(*){font-size:${Qr};line-height:${si}}:host([size='800']) ::slotted(*){font-size:${Zr};line-height:${li}}:host([size='900']) ::slotted(*){font-size:${Jr};line-height:${di}}:host([size='1000']) ::slotted(*){font-size:${ei};line-height:${ci}}:host([font='monospace']) ::slotted(*){font-family:${ui}}:host([font='numeric']) ::slotted(*){font-family:${pi}}:host([weight='medium']) ::slotted(*){font-weight:${bi}}:host([weight='semibold']) ::slotted(*){font-weight:${fi}}:host([weight='bold']) ::slotted(*){font-weight:${mi}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Gp=Rp.compose({name:Nr.prefix+"-text",template:_p,styles:jp});class qp extends rr{}Je([De({attribute:"control-size"})],qp.prototype,"controlSize",void 0),Je([De],qp.prototype,"appearance",void 0);const Xp={small:"small",medium:"medium",large:"large"},Wp={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Up=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ie({property:"defaultSlottedNodes",filter:dr})}></slot></label><div class="root" part="root">${it(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")} />${rt(e)}</div>`}(),Yp=j`
342
+ ${Ir("block")}
336
343
 
337
- :host{font-family:${di};font-size:${qr};font-weight:${ui};line-height:${ti};max-width:400px}.label{display:flex;color:${ia};padding-bottom:${Ni};flex-shrink:0;padding-inline-end:${$i}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${Ci};border:${fi} solid ${ps};border-bottom-color:${ds};border-radius:${Mr};gap:${ki}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${Mr});border-radius:0 0 ${Mr} ${Mr};border-bottom:2px solid ${Ss};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${_i};transition-delay:${Ki}}.control{width:100%;height:100%;box-sizing:border-box;color:${ia};border-radius:${Mr};background:${On};font-family:${di};font-weight:${ui};font-size:${qr};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${$a}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ba};font-size:${Wr}}:host ::slotted([slot='start']){padding-right:${ki}}:host ::slotted([slot='end']){padding-left:${ki};gap:${$i}}:host(:hover) .root{border-color:${gs};border-bottom-color:${cs}}:host(:active) .root{border-color:${bs}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${qi};transition-delay:${Ji}}:host(:focus-within:active) .root:after{border-bottom-color:${Ts}}:host([appearance='outline']:focus-within) .root{border:${fi} solid ${ps}}:host(:focus-within) .control{color:${ia}}:host([disabled]) .root{background:${On};border:${fi} solid ${Is}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${wa}}::selection{color:${Ha};background-color:${Cn}}:host([control-size='small']) .control{font-size:${Gr};font-weight:${ui};line-height:${ei}}:host([control-size='small']) .root{height:24px;gap:${ki};padding:0 ${wi}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${Xr}}:host([control-size='large']) .control{font-size:${Xr};font-weight:${ui};line-height:${oi}}:host([control-size='large']) .root{height:40px;gap:${Bi};padding:0 ${Si}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Ur}}:host([appearance='underline']) .root{background:${On};border:0;border-radius:0;border-bottom:${fi} solid ${ds}}:host([appearance='underline']:hover) .root{border-bottom-color:${cs}}:host([appearance='underline']:active) .root{border-bottom-color:${hs}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${hs}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Is}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${fi} solid ${As};box-shadow:${zc}}:host([appearance='filled-lighter']) .root{background:${rn}}:host([appearance='filled-darker']) .root{background:${un}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${zs}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${zs};background:${un}}`,Up=jp.compose({name:Ar.prefix+"-text-input",template:Xp,styles:Wp});class Yp extends _h{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}Je([De({attribute:"checked",mode:"boolean"})],Yp.prototype,"checkedAttribute",void 0),Je([C],Yp.prototype,"defaultChecked",void 0),Je([C],Yp.prototype,"checked",void 0),Je([De({attribute:"current-checked",mode:"boolean"})],Yp.prototype,"currentChecked",void 0);const Kp=Yc,Qp=Kc,Zp=Qc,Jp=Ft(),eg=j`
338
- ${oh}
344
+ :host{font-family:${hi};font-size:${Wr};font-weight:${gi};line-height:${ri};max-width:400px}.label{display:flex;color:${na};padding-bottom:${Di};flex-shrink:0;padding-inline-end:${Bi}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${Pi};border:${vi} solid ${bs};border-bottom-color:${hs};border-radius:${Vr};gap:${wi}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${Vr});border-radius:0 0 ${Vr} ${Vr};border-bottom:2px solid ${Ts};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Gi};transition-delay:${Zi}}.control{width:100%;height:100%;box-sizing:border-box;color:${na};border-radius:${Vr};background:${Hn};font-family:${hi};font-weight:${gi};font-size:${Wr};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Ba}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ma};font-size:${Yr}}:host ::slotted([slot='start']){padding-right:${wi}}:host ::slotted([slot='end']){padding-left:${wi};gap:${Bi}}:host(:hover) .root{border-color:${fs};border-bottom-color:${us}}:host(:active) .root{border-color:${ms}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Wi};transition-delay:${ta}}:host(:focus-within:active) .root:after{border-bottom-color:${Fs}}:host([appearance='outline']:focus-within) .root{border:${vi} solid ${bs}}:host(:focus-within) .control{color:${na}}:host([disabled]) .root{background:${Hn};border:${vi} solid ${As}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${Ca}}::selection{color:${_a};background-color:${Pn}}:host([control-size='small']) .control{font-size:${Xr};font-weight:${gi};line-height:${oi}}:host([control-size='small']) .root{height:24px;gap:${wi};padding:0 ${Ci}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${Ur}}:host([control-size='large']) .control{font-size:${Ur};font-weight:${gi};line-height:${ii}}:host([control-size='large']) .root{height:40px;gap:${Si};padding:0 ${Ti}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Kr}}:host([appearance='underline']) .root{background:${Hn};border:0;border-radius:0;border-bottom:${vi} solid ${hs}}:host([appearance='underline']:hover) .root{border-bottom-color:${us}}:host([appearance='underline']:active) .root{border-bottom-color:${ps}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${ps}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${As}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${vi} solid ${Ns};box-shadow:${Lc}}:host([appearance='filled-lighter']) .root{background:${nn}}:host([appearance='filled-darker']) .root{background:${gn}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Ls}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Ls};background:${gn}}`,Kp=qp.compose({name:Nr.prefix+"-text-input",template:Up,styles:Yp});class Qp extends Gh{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}Je([De({attribute:"checked",mode:"boolean"})],Qp.prototype,"checkedAttribute",void 0),Je([C],Qp.prototype,"defaultChecked",void 0),Je([C],Qp.prototype,"checked",void 0),Je([De({attribute:"current-checked",mode:"boolean"})],Qp.prototype,"currentChecked",void 0);const Zp=Qc,Jp=Zc,eg=Jc,tg=Ft(),og=j`
345
+ ${ih}
339
346
 
340
- :host([aria-pressed="true"]) .control{border-color:${ps};background-color:${sn};color:${ia};border-width:${fi}}:host([aria-pressed='true']:hover) .control{border-color:${gs};background-color:${an}}:host([aria-pressed='true']:active) .control{border-color:${bs};background-color:${nn}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${Jn};color:${qa}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Qn}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Zn}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Fn};color:${ha}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Tn};color:${da}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${In};color:${ca}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${Vn}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${Mn}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${Hn}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${ga}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${ua}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${pa}}`,tg=Yp.compose({name:Ar.prefix+"-toggle-button",template:Jp,styles:eg,shadowOptions:{delegatesFocus:!0}}),og=Object.keys(Gc),rg=e=>{for(const t of og)Gc[t].withDefault(e[t])},ig=(e,t)=>{for(const o of og)Gc[o].setValueFor(e,t[o])};export{Tr as Accordion,Nr as AccordionItem,Dr as AccordionItemExpandIconPosition,Lr as AccordionItemSize,Uc as AnchorButton,Zc as AnchorButtonAppearance,ih as AnchorButtonDefinition,Jc as AnchorButtonShape,eh as AnchorButtonSize,th as AnchorButtonTemplate,mh as Avatar,hh as AvatarActive,ph as AvatarAppearance,bh as AvatarColor,Ch as AvatarDefinition,gh as AvatarNamedColor,uh as AvatarShape,fh as AvatarSize,Bh as AvatarStyles,xh as AvatarTemplate,Fh as Badge,Sh as BadgeAppearance,Ph as BadgeColor,Vh as BadgeDefinition,Th as BadgeShape,Ih as BadgeSize,Hh as BadgeStyles,zh as BadgeTemplate,_h as Button,Yc as ButtonAppearance,Gh as ButtonDefinition,Kc as ButtonShape,Qc as ButtonSize,oh as ButtonStyles,jh as ButtonTemplate,qh as Checkbox,Qh as CheckboxDefinition,Uh as CheckboxLabelPosition,Xh as CheckboxShape,Wh as CheckboxSize,Kh as CheckboxStyles,Yh as CheckboxTemplate,Zh as CompoundButton,Jh as CompoundButtonAppearance,iu as CompoundButtonDefinition,eu as CompoundButtonShape,tu as CompoundButtonSize,ru as CompoundButtonStyles,ou as CompoundButtonTemplate,au as CounterBadge,nu as CounterBadgeAppearance,su as CounterBadgeColor,uu as CounterBadgeDefinition,lu as CounterBadgeShape,du as CounterBadgeSize,hu as CounterBadgeStyles,cu as CounterBadgeTemplate,pu as Divider,gu as DividerAlignContent,bu as DividerAppearance,vu as DividerDefinition,Yo as DividerOrientation,Uo as DividerRole,mu as DividerStyles,fu as DividerTemplate,Ar as FluentDesignSystem,yu as Image,Bu as ImageDefinition,xu as ImageFit,ku as ImageShape,wu as ImageStyles,$u as ImageTemplate,Cu as Label,Tu as LabelDefinition,Su as LabelStyles,Pu as LabelTemplate,Iu as MenuButton,Fu as MenuButtonAppearance,Lu as MenuButtonDefinition,Au as MenuButtonShape,zu as MenuButtonSize,oh as MenuButtonStyles,Nu as MenuButtonTemplate,Du as MenuItem,Mu as MenuItemDefinition,Qo as MenuItemRole,Ou as MenuItemStyles,Ru as MenuItemTemplate,Hu as MenuList,ju as MenuListDefinition,_u as MenuListStyles,Vu as MenuListTemplate,Gu as ProgressBar,Ku as ProgressBarDefinition,Xu as ProgressBarShape,Uu as ProgressBarStyles,Yu as ProgressBarTemplate,qu as ProgressBarThickness,Wu as ProgressBarValidationState,Qu as Radio,ep as RadioDefinition,tp as RadioGroup,ip as RadioGroupDefinition,lr as RadioGroupOrientation,op as RadioGroupStyles,rp as RadioGroupTemplate,Zu as RadioStyles,Ju as RadioTemplate,ap as Slider,dp as SliderDefinition,gr as SliderOrientation,np as SliderSize,sp as SliderStyles,lp as SliderTemplate,cp as Spinner,hp as SpinnerAppearance,bp as SpinnerDefinition,up as SpinnerSize,gp as SpinnerStyles,pp as SpinnerTemplate,fp as Switch,xp as SwitchDefinition,mp as SwitchLabelPosition,yp as SwitchStyles,vp as SwitchTemplate,Pp as Tab,Fp as TabDefinition,Ap as TabPanel,Lp as TabPanelDefinition,Np as TabPanelStyles,zp as TabPanelTemplate,Ip as TabStyles,Tp as TabTemplate,wp as Tabs,kp as TabsAppearance,Sp as TabsDefinition,Cr as TabsOrientation,$p as TabsSize,Cp as TabsStyles,Bp as TabsTemplate,Dp as Text,Mp as TextAlign,_p as TextDefinition,Rp as TextFont,jp as TextInput,qp as TextInputAppearance,Gp as TextInputControlSize,Up as TextInputDefinition,Wp as TextInputStyles,Xp as TextInputTemplate,or as TextInputType,Ep as TextSize,Vp as TextStyles,Hp as TextTemplate,Op as TextWeight,Yp as ToggleButton,Kp as ToggleButtonAppearance,tg as ToggleButtonDefinition,Qp as ToggleButtonShape,Zp as ToggleButtonSize,eg as ToggleButtonStyles,Jp as ToggleButtonTemplate,zr as accordionDefinition,Wc as accordionItemDefinition,qc as accordionItemStyles,Xc as accordionItemTemplate,Fr as accordionStyles,Ir as accordionTemplate,_r as borderRadiusCircular,Hr as borderRadiusLarge,Mr as borderRadiusMedium,Rr as borderRadiusNone,Or as borderRadiusSmall,Vr as borderRadiusXLarge,Un as colorBackgroundOverlay,Kn as colorBrandBackground,is as colorBrandBackground2,Qn as colorBrandBackgroundHover,as as colorBrandBackgroundInverted,ns as colorBrandBackgroundInvertedHover,ss as colorBrandBackgroundInvertedPressed,ls as colorBrandBackgroundInvertedSelected,Zn as colorBrandBackgroundPressed,Jn as colorBrandBackgroundSelected,rs as colorBrandBackgroundStatic,Ea as colorBrandForeground1,Ra as colorBrandForeground2,Ka as colorBrandForegroundInverted,Qa as colorBrandForegroundInvertedHover,Za as colorBrandForegroundInvertedPressed,Ca as colorBrandForegroundLink,Sa as colorBrandForegroundLinkHover,Pa as colorBrandForegroundLinkPressed,Ta as colorBrandForegroundLinkSelected,Ja as colorBrandForegroundOnLight,en as colorBrandForegroundOnLightHover,tn as colorBrandForegroundOnLightPressed,on as colorBrandForegroundOnLightSelected,_s as colorBrandShadowAmbient,js as colorBrandShadowKey,Bs as colorBrandStroke1,Cs as colorBrandStroke2,es as colorCompoundBrandBackground,ts as colorCompoundBrandBackgroundHover,os as colorCompoundBrandBackgroundPressed,Na as colorCompoundBrandForeground1,La as colorCompoundBrandForeground1Hover,Da as colorCompoundBrandForeground1Pressed,Ss as colorCompoundBrandStroke,Ps as colorCompoundBrandStrokeHover,Ts as colorCompoundBrandStrokePressed,rn as colorNeutralBackground1,an as colorNeutralBackground1Hover,nn as colorNeutralBackground1Pressed,sn as colorNeutralBackground1Selected,ln as colorNeutralBackground2,dn as colorNeutralBackground2Hover,cn as colorNeutralBackground2Pressed,hn as colorNeutralBackground2Selected,un as colorNeutralBackground3,pn as colorNeutralBackground3Hover,gn as colorNeutralBackground3Pressed,bn as colorNeutralBackground3Selected,fn as colorNeutralBackground4,mn as colorNeutralBackground4Hover,vn as colorNeutralBackground4Pressed,yn as colorNeutralBackground4Selected,xn as colorNeutralBackground5,kn as colorNeutralBackground5Hover,$n as colorNeutralBackground5Pressed,wn as colorNeutralBackground5Selected,Bn as colorNeutralBackground6,_n as colorNeutralBackgroundDisabled,Cn as colorNeutralBackgroundInverted,jn as colorNeutralBackgroundInvertedDisabled,Sn as colorNeutralBackgroundStatic,ia as colorNeutralForeground1,aa as colorNeutralForeground1Hover,na as colorNeutralForeground1Pressed,sa as colorNeutralForeground1Selected,Oa as colorNeutralForeground1Static,la as colorNeutralForeground2,ua as colorNeutralForeground2BrandHover,pa as colorNeutralForeground2BrandPressed,ga as colorNeutralForeground2BrandSelected,da as colorNeutralForeground2Hover,Ia as colorNeutralForeground2Link,Fa as colorNeutralForeground2LinkHover,Aa as colorNeutralForeground2LinkPressed,za as colorNeutralForeground2LinkSelected,ca as colorNeutralForeground2Pressed,ha as colorNeutralForeground2Selected,ba as colorNeutralForeground3,ya as colorNeutralForeground3BrandHover,xa as colorNeutralForeground3BrandPressed,ka as colorNeutralForeground3BrandSelected,fa as colorNeutralForeground3Hover,ma as colorNeutralForeground3Pressed,va as colorNeutralForeground3Selected,$a as colorNeutralForeground4,wa as colorNeutralForegroundDisabled,Ha as colorNeutralForegroundInverted,Ga as colorNeutralForegroundInverted2,Ba as colorNeutralForegroundInvertedDisabled,Va as colorNeutralForegroundInvertedHover,Xa as colorNeutralForegroundInvertedLink,Wa as colorNeutralForegroundInvertedLinkHover,Ua as colorNeutralForegroundInvertedLinkPressed,Ya as colorNeutralForegroundInvertedLinkSelected,_a as colorNeutralForegroundInvertedPressed,ja as colorNeutralForegroundInvertedSelected,qa as colorNeutralForegroundOnBrand,Ma as colorNeutralForegroundStaticInverted,Es as colorNeutralShadowAmbient,Hs as colorNeutralShadowAmbientDarker,Os as colorNeutralShadowAmbientLighter,Rs as colorNeutralShadowKey,Vs as colorNeutralShadowKeyDarker,Ms as colorNeutralShadowKeyLighter,Gn as colorNeutralStencil1,Xn as colorNeutralStencil1Alpha,qn as colorNeutralStencil2,Wn as colorNeutralStencil2Alpha,ps as colorNeutralStroke1,gs as colorNeutralStroke1Hover,bs as colorNeutralStroke1Pressed,fs as colorNeutralStroke1Selected,ms as colorNeutralStroke2,vs as colorNeutralStroke3,ds as colorNeutralStrokeAccessible,cs as colorNeutralStrokeAccessibleHover,hs as colorNeutralStrokeAccessiblePressed,us as colorNeutralStrokeAccessibleSelected,Is as colorNeutralStrokeDisabled,Fs as colorNeutralStrokeInvertedDisabled,ys as colorNeutralStrokeOnBrand,xs as colorNeutralStrokeOnBrand2,ks as colorNeutralStrokeOnBrand2Hover,$s as colorNeutralStrokeOnBrand2Pressed,ws as colorNeutralStrokeOnBrand2Selected,Sc as colorPaletteAnchorBackground2,Tc as colorPaletteAnchorBorderActive,Pc as colorPaletteAnchorForeground2,mc as colorPaletteBeigeBackground2,yc as colorPaletteBeigeBorderActive,vc as colorPaletteBeigeForeground2,Sl as colorPaletteBerryBackground1,Pl as colorPaletteBerryBackground2,Tl as colorPaletteBerryBackground3,Nl as colorPaletteBerryBorder1,Ll as colorPaletteBerryBorder2,zl as colorPaletteBerryBorderActive,Il as colorPaletteBerryForeground1,Fl as colorPaletteBerryForeground2,Al as colorPaletteBerryForeground3,Od as colorPaletteBlueBackground2,Hd as colorPaletteBlueBorderActive,Md as colorPaletteBlueForeground2,gd as colorPaletteBrassBackground2,fd as colorPaletteBrassBorderActive,bd as colorPaletteBrassForeground2,md as colorPaletteBrownBackground2,yd as colorPaletteBrownBorderActive,vd as colorPaletteBrownForeground2,Gd as colorPaletteCornflowerBackground2,Xd as colorPaletteCornflowerBorderActive,qd as colorPaletteCornflowerForeground2,od as colorPaletteCranberryBackground2,id as colorPaletteCranberryBorderActive,rd as colorPaletteCranberryForeground2,Sd as colorPaletteDarkGreenBackground2,Td as colorPaletteDarkGreenBorderActive,Pd as colorPaletteDarkGreenForeground2,ll as colorPaletteDarkOrangeBackground1,dl as colorPaletteDarkOrangeBackground2,cl as colorPaletteDarkOrangeBackground3,bl as colorPaletteDarkOrangeBorder1,fl as colorPaletteDarkOrangeBorder2,gl as colorPaletteDarkOrangeBorderActive,hl as colorPaletteDarkOrangeForeground1,ul as colorPaletteDarkOrangeForeground2,pl as colorPaletteDarkOrangeForeground3,Jl as colorPaletteDarkRedBackground2,td as colorPaletteDarkRedBorderActive,ed as colorPaletteDarkRedForeground2,xd as colorPaletteForestBackground2,$d as colorPaletteForestBorderActive,kd as colorPaletteForestForeground2,hd as colorPaletteGoldBackground2,pd as colorPaletteGoldBorderActive,ud as colorPaletteGoldForeground2,oc as colorPaletteGrapeBackground2,ic as colorPaletteGrapeBorderActive,rc as colorPaletteGrapeForeground2,Js as colorPaletteGreenBackground1,el as colorPaletteGreenBackground2,tl as colorPaletteGreenBackground3,nl as colorPaletteGreenBorder1,sl as colorPaletteGreenBorder2,al as colorPaletteGreenBorderActive,ol as colorPaletteGreenForeground1,rl as colorPaletteGreenForeground2,il as colorPaletteGreenForeground3,Fc as colorPaletteGreenForegroundInverted,Kd as colorPaletteLavenderBackground2,Zd as colorPaletteLavenderBorderActive,Qd as colorPaletteLavenderForeground2,Dl as colorPaletteLightGreenBackground1,El as colorPaletteLightGreenBackground2,Rl as colorPaletteLightGreenBackground3,_l as colorPaletteLightGreenBorder1,jl as colorPaletteLightGreenBorder2,Vl as colorPaletteLightGreenBorderActive,Ol as colorPaletteLightGreenForeground1,Ml as colorPaletteLightGreenForeground2,Hl as colorPaletteLightGreenForeground3,Id as colorPaletteLightTealBackground2,Ad as colorPaletteLightTealBorderActive,Fd as colorPaletteLightTealForeground2,ac as colorPaletteLilacBackground2,sc as colorPaletteLilacBorderActive,nc as colorPaletteLilacForeground2,hc as colorPaletteMagentaBackground2,pc as colorPaletteMagentaBorderActive,uc as colorPaletteMagentaForeground2,Gl as colorPaletteMarigoldBackground1,ql as colorPaletteMarigoldBackground2,Xl as colorPaletteMarigoldBackground3,Ql as colorPaletteMarigoldBorder1,Zl as colorPaletteMarigoldBorder2,Kl as colorPaletteMarigoldBorderActive,Wl as colorPaletteMarigoldForeground1,Ul as colorPaletteMarigoldForeground2,Yl as colorPaletteMarigoldForeground3,xc as colorPaletteMinkBackground2,$c as colorPaletteMinkBorderActive,kc as colorPaletteMinkForeground2,Wd as colorPaletteNavyBackground2,Yd as colorPaletteNavyBorderActive,Ud as colorPaletteNavyForeground2,ld as colorPalettePeachBackground2,cd as colorPalettePeachBorderActive,dd as colorPalettePeachForeground2,lc as colorPalettePinkBackground2,cc as colorPalettePinkBorderActive,dc as colorPalettePinkForeground2,wc as colorPalettePlatinumBackground2,Cc as colorPalettePlatinumBorderActive,Bc as colorPalettePlatinumForeground2,gc as colorPalettePlumBackground2,fc as colorPalettePlumBorderActive,bc as colorPalettePlumForeground2,ad as colorPalettePumpkinBackground2,sd as colorPalettePumpkinBorderActive,nd as colorPalettePumpkinForeground2,Jd as colorPalettePurpleBackground2,tc as colorPalettePurpleBorderActive,ec as colorPalettePurpleForeground2,Gs as colorPaletteRedBackground1,qs as colorPaletteRedBackground2,Xs as colorPaletteRedBackground3,Qs as colorPaletteRedBorder1,Zs as colorPaletteRedBorder2,Ks as colorPaletteRedBorderActive,Ws as colorPaletteRedForeground1,Us as colorPaletteRedForeground2,Ys as colorPaletteRedForeground3,Ic as colorPaletteRedForegroundInverted,Vd as colorPaletteRoyalBlueBackground2,jd as colorPaletteRoyalBlueBorderActive,_d as colorPaletteRoyalBlueForeground2,wd as colorPaletteSeafoamBackground2,Cd as colorPaletteSeafoamBorderActive,Bd as colorPaletteSeafoamForeground2,Dd as colorPaletteSteelBackground2,Rd as colorPaletteSteelBorderActive,Ed as colorPaletteSteelForeground2,zd as colorPaletteTealBackground2,Ld as colorPaletteTealBorderActive,Nd as colorPaletteTealForeground2,ml as colorPaletteYellowBackground1,vl as colorPaletteYellowBackground2,yl as colorPaletteYellowBackground3,Bl as colorPaletteYellowBorder1,Cl as colorPaletteYellowBorder2,wl as colorPaletteYellowBorderActive,xl as colorPaletteYellowForeground1,kl as colorPaletteYellowForeground2,$l as colorPaletteYellowForeground3,Ac as colorPaletteYellowForegroundInverted,Yn as colorScrollbarOverlay,Ls as colorStrokeFocus1,Ds as colorStrokeFocus2,Pn as colorSubtleBackground,Tn as colorSubtleBackgroundHover,Ln as colorSubtleBackgroundInverted,Dn as colorSubtleBackgroundInvertedHover,En as colorSubtleBackgroundInvertedPressed,Rn as colorSubtleBackgroundInvertedSelected,An as colorSubtleBackgroundLightAlphaHover,zn as colorSubtleBackgroundLightAlphaPressed,Nn as colorSubtleBackgroundLightAlphaSelected,In as colorSubtleBackgroundPressed,Fn as colorSubtleBackgroundSelected,On as colorTransparentBackground,Mn as colorTransparentBackgroundHover,Hn as colorTransparentBackgroundPressed,Vn as colorTransparentBackgroundSelected,As as colorTransparentStroke,Ns as colorTransparentStrokeDisabled,zs as colorTransparentStrokeInteractive,Yi as curveAccelerateMax,Ki as curveAccelerateMid,Qi as curveAccelerateMin,Zi as curveDecelerateMax,Ji as curveDecelerateMid,ea as curveDecelerateMin,oa as curveEasyEase,ta as curveEasyEaseMax,ra as curveLinear,Gi as durationFast,ji as durationFaster,qi as durationNormal,Xi as durationSlow,Wi as durationSlower,_i as durationUltraFast,Ui as durationUltraSlow,di as fontFamilyBase,ci as fontFamilyMonospace,hi as fontFamilyNumeric,jr as fontSizeBase100,Gr as fontSizeBase200,qr as fontSizeBase300,Xr as fontSizeBase400,Wr as fontSizeBase500,Ur as fontSizeBase600,Zr as fontSizeHero1000,Yr as fontSizeHero700,Kr as fontSizeHero800,Qr as fontSizeHero900,bi as fontWeightBold,pi as fontWeightMedium,ui as fontWeightRegular,gi as fontWeightSemibold,Jr as lineHeightBase100,ei as lineHeightBase200,ti as lineHeightBase300,oi as lineHeightBase400,ri as lineHeightBase500,ii as lineHeightBase600,li as lineHeightHero1000,ai as lineHeightHero700,ni as lineHeightHero800,si as lineHeightHero900,rg as setTheme,ig as setThemeFor,Dc as shadow16,Vc as shadow16Brand,zc as shadow2,Ec as shadow28,_c as shadow28Brand,Oc as shadow2Brand,Nc as shadow4,Mc as shadow4Brand,Rc as shadow64,jc as shadow64Brand,Lc as shadow8,Hc as shadow8Brand,Pi as spacingHorizontalL,Si as spacingHorizontalM,Ci as spacingHorizontalMNudge,xi as spacingHorizontalNone,Bi as spacingHorizontalS,wi as spacingHorizontalSNudge,Ti as spacingHorizontalXL,$i as spacingHorizontalXS,Ii as spacingHorizontalXXL,ki as spacingHorizontalXXS,Fi as spacingHorizontalXXXL,Oi as spacingVerticalL,Ri as spacingVerticalM,Ei as spacingVerticalMNudge,Ai as spacingVerticalNone,Di as spacingVerticalS,Li as spacingVerticalSNudge,Mi as spacingVerticalXL,Ni as spacingVerticalXS,Hi as spacingVerticalXXL,zi as spacingVerticalXXS,Vi as spacingVerticalXXXL,mi as strokeWidthThick,vi as strokeWidthThicker,yi as strokeWidthThickest,fi as strokeWidthThin};
347
+ :host([aria-pressed="true"]) .control{border-color:${bs};background-color:${dn};color:${na};border-width:${vi}}:host([aria-pressed='true']:hover) .control{border-color:${fs};background-color:${sn}}:host([aria-pressed='true']:active) .control{border-color:${ms};background-color:${ln}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${ts};color:${Wa}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Jn}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${es}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${zn};color:${pa}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Fn};color:${ha}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${An};color:${ua}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${jn}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${Vn}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${_n}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${fa}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${ga}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${ba}}`.withBehaviors(Tr(j`
348
+ :host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),rg=Qp.compose({name:Nr.prefix+"-toggle-button",template:tg,styles:og,shadowOptions:{delegatesFocus:!0}}),ig=Object.keys(Xc),ag=e=>{for(const t of ig)Xc[t].withDefault(e[t])},ng=(e,t)=>{for(const o of ig)Xc[o].setValueFor(e,t[o])};export{Fr as Accordion,Dr as AccordionItem,Rr as AccordionItemExpandIconPosition,Er as AccordionItemSize,Kc as AnchorButton,eh as AnchorButtonAppearance,nh as AnchorButtonDefinition,th as AnchorButtonShape,oh as AnchorButtonSize,rh as AnchorButtonTemplate,yh as Avatar,ph as AvatarActive,bh as AvatarAppearance,mh as AvatarColor,Ph as AvatarDefinition,fh as AvatarNamedColor,gh as AvatarShape,vh as AvatarSize,Sh as AvatarStyles,$h as AvatarTemplate,zh as Badge,Th as BadgeAppearance,Ih as BadgeColor,jh as BadgeDefinition,Fh as BadgeShape,Ah as BadgeSize,_h as BadgeStyles,Lh as BadgeTemplate,Gh as Button,Qc as ButtonAppearance,Xh as ButtonDefinition,Zc as ButtonShape,Jc as ButtonSize,ih as ButtonStyles,qh as ButtonTemplate,Wh as Checkbox,Jh as CheckboxDefinition,Kh as CheckboxLabelPosition,Uh as CheckboxShape,Yh as CheckboxSize,Zh as CheckboxStyles,Qh as CheckboxTemplate,eu as CompoundButton,tu as CompoundButtonAppearance,nu as CompoundButtonDefinition,ou as CompoundButtonShape,ru as CompoundButtonSize,au as CompoundButtonStyles,iu as CompoundButtonTemplate,su as CounterBadge,lu as CounterBadgeAppearance,du as CounterBadgeColor,gu as CounterBadgeDefinition,cu as CounterBadgeShape,hu as CounterBadgeSize,pu as CounterBadgeStyles,uu as CounterBadgeTemplate,bu as Divider,fu as DividerAlignContent,mu as DividerAppearance,ku as DividerDefinition,Yo as DividerOrientation,Uo as DividerRole,yu as DividerStyles,vu as DividerTemplate,Nr as FluentDesignSystem,xu as Image,Su as ImageDefinition,$u as ImageFit,wu as ImageShape,Cu as ImageStyles,Bu as ImageTemplate,Pu as Label,Fu as LabelDefinition,Tu as LabelStyles,Iu as LabelTemplate,Au as MenuButton,zu as MenuButtonAppearance,Eu as MenuButtonDefinition,Nu as MenuButtonShape,Lu as MenuButtonSize,ih as MenuButtonStyles,Du as MenuButtonTemplate,Ru as MenuItem,Vu as MenuItemDefinition,Qo as MenuItemRole,Hu as MenuItemStyles,Mu as MenuItemTemplate,_u as MenuList,qu as MenuListDefinition,Gu as MenuListStyles,ju as MenuListTemplate,Xu as ProgressBar,Zu as ProgressBarDefinition,Uu as ProgressBarShape,Ku as ProgressBarStyles,Qu as ProgressBarTemplate,Wu as ProgressBarThickness,Yu as ProgressBarValidationState,Ju as Radio,op as RadioDefinition,rp as RadioGroup,np as RadioGroupDefinition,lr as RadioGroupOrientation,ip as RadioGroupStyles,ap as RadioGroupTemplate,ep as RadioStyles,tp as RadioTemplate,sp as Slider,hp as SliderDefinition,gr as SliderOrientation,lp as SliderSize,dp as SliderStyles,cp as SliderTemplate,up as Spinner,pp as SpinnerAppearance,mp as SpinnerDefinition,gp as SpinnerSize,fp as SpinnerStyles,bp as SpinnerTemplate,vp as Switch,$p as SwitchDefinition,yp as SwitchLabelPosition,xp as SwitchStyles,kp as SwitchTemplate,Ip as Tab,zp as TabDefinition,Np as TabPanel,Ep as TabPanelDefinition,Dp as TabPanelStyles,Lp as TabPanelTemplate,Ap as TabStyles,Fp as TabTemplate,Cp as Tabs,wp as TabsAppearance,Tp as TabsDefinition,Cr as TabsOrientation,Bp as TabsSize,Pp as TabsStyles,Sp as TabsTemplate,Rp as Text,Vp as TextAlign,Gp as TextDefinition,Mp as TextFont,qp as TextInput,Wp as TextInputAppearance,Xp as TextInputControlSize,Kp as TextInputDefinition,Yp as TextInputStyles,Up as TextInputTemplate,or as TextInputType,Op as TextSize,jp as TextStyles,_p as TextTemplate,Hp as TextWeight,Qp as ToggleButton,Zp as ToggleButtonAppearance,rg as ToggleButtonDefinition,Jp as ToggleButtonShape,eg as ToggleButtonSize,og as ToggleButtonStyles,tg as ToggleButtonTemplate,Lr as accordionDefinition,Yc as accordionItemDefinition,Wc as accordionItemStyles,Uc as accordionItemTemplate,zr as accordionStyles,Ar as accordionTemplate,Gr as borderRadiusCircular,_r as borderRadiusLarge,Vr as borderRadiusMedium,Mr as borderRadiusNone,Hr as borderRadiusSmall,jr as borderRadiusXLarge,Kn as colorBackgroundOverlay,Zn as colorBrandBackground,ns as colorBrandBackground2,Jn as colorBrandBackgroundHover,ss as colorBrandBackgroundInverted,ls as colorBrandBackgroundInvertedHover,ds as colorBrandBackgroundInvertedPressed,cs as colorBrandBackgroundInvertedSelected,es as colorBrandBackgroundPressed,ts as colorBrandBackgroundSelected,as as colorBrandBackgroundStatic,Oa as colorBrandForeground1,Ma as colorBrandForeground2,Za as colorBrandForegroundInverted,Ja as colorBrandForegroundInvertedHover,en as colorBrandForegroundInvertedPressed,Pa as colorBrandForegroundLink,Ta as colorBrandForegroundLinkHover,Ia as colorBrandForegroundLinkPressed,Fa as colorBrandForegroundLinkSelected,tn as colorBrandForegroundOnLight,on as colorBrandForegroundOnLightHover,rn as colorBrandForegroundOnLightPressed,an as colorBrandForegroundOnLightSelected,Gs as colorBrandShadowAmbient,qs as colorBrandShadowKey,Ss as colorBrandStroke1,Ps as colorBrandStroke2,os as colorCompoundBrandBackground,rs as colorCompoundBrandBackgroundHover,is as colorCompoundBrandBackgroundPressed,Da as colorCompoundBrandForeground1,Ea as colorCompoundBrandForeground1Hover,Ra as colorCompoundBrandForeground1Pressed,Ts as colorCompoundBrandStroke,Is as colorCompoundBrandStrokeHover,Fs as colorCompoundBrandStrokePressed,nn as colorNeutralBackground1,sn as colorNeutralBackground1Hover,ln as colorNeutralBackground1Pressed,dn as colorNeutralBackground1Selected,cn as colorNeutralBackground2,hn as colorNeutralBackground2Hover,un as colorNeutralBackground2Pressed,pn as colorNeutralBackground2Selected,gn as colorNeutralBackground3,bn as colorNeutralBackground3Hover,fn as colorNeutralBackground3Pressed,mn as colorNeutralBackground3Selected,vn as colorNeutralBackground4,yn as colorNeutralBackground4Hover,kn as colorNeutralBackground4Pressed,xn as colorNeutralBackground4Selected,$n as colorNeutralBackground5,wn as colorNeutralBackground5Hover,Bn as colorNeutralBackground5Pressed,Cn as colorNeutralBackground5Selected,Sn as colorNeutralBackground6,Gn as colorNeutralBackgroundDisabled,Pn as colorNeutralBackgroundInverted,qn as colorNeutralBackgroundInvertedDisabled,Tn as colorNeutralBackgroundStatic,na as colorNeutralForeground1,sa as colorNeutralForeground1Hover,la as colorNeutralForeground1Pressed,da as colorNeutralForeground1Selected,Ha as colorNeutralForeground1Static,ca as colorNeutralForeground2,ga as colorNeutralForeground2BrandHover,ba as colorNeutralForeground2BrandPressed,fa as colorNeutralForeground2BrandSelected,ha as colorNeutralForeground2Hover,Aa as colorNeutralForeground2Link,za as colorNeutralForeground2LinkHover,Na as colorNeutralForeground2LinkPressed,La as colorNeutralForeground2LinkSelected,ua as colorNeutralForeground2Pressed,pa as colorNeutralForeground2Selected,ma as colorNeutralForeground3,xa as colorNeutralForeground3BrandHover,$a as colorNeutralForeground3BrandPressed,wa as colorNeutralForeground3BrandSelected,va as colorNeutralForeground3Hover,ya as colorNeutralForeground3Pressed,ka as colorNeutralForeground3Selected,Ba as colorNeutralForeground4,Ca as colorNeutralForegroundDisabled,_a as colorNeutralForegroundInverted,Xa as colorNeutralForegroundInverted2,Sa as colorNeutralForegroundInvertedDisabled,ja as colorNeutralForegroundInvertedHover,Ua as colorNeutralForegroundInvertedLink,Ya as colorNeutralForegroundInvertedLinkHover,Ka as colorNeutralForegroundInvertedLinkPressed,Qa as colorNeutralForegroundInvertedLinkSelected,Ga as colorNeutralForegroundInvertedPressed,qa as colorNeutralForegroundInvertedSelected,Wa as colorNeutralForegroundOnBrand,Va as colorNeutralForegroundStaticInverted,Os as colorNeutralShadowAmbient,_s as colorNeutralShadowAmbientDarker,Hs as colorNeutralShadowAmbientLighter,Ms as colorNeutralShadowKey,js as colorNeutralShadowKeyDarker,Vs as colorNeutralShadowKeyLighter,Xn as colorNeutralStencil1,Un as colorNeutralStencil1Alpha,Wn as colorNeutralStencil2,Yn as colorNeutralStencil2Alpha,bs as colorNeutralStroke1,fs as colorNeutralStroke1Hover,ms as colorNeutralStroke1Pressed,vs as colorNeutralStroke1Selected,ys as colorNeutralStroke2,ks as colorNeutralStroke3,hs as colorNeutralStrokeAccessible,us as colorNeutralStrokeAccessibleHover,ps as colorNeutralStrokeAccessiblePressed,gs as colorNeutralStrokeAccessibleSelected,As as colorNeutralStrokeDisabled,zs as colorNeutralStrokeInvertedDisabled,xs as colorNeutralStrokeOnBrand,$s as colorNeutralStrokeOnBrand2,ws as colorNeutralStrokeOnBrand2Hover,Bs as colorNeutralStrokeOnBrand2Pressed,Cs as colorNeutralStrokeOnBrand2Selected,Tc as colorPaletteAnchorBackground2,Fc as colorPaletteAnchorBorderActive,Ic as colorPaletteAnchorForeground2,yc as colorPaletteBeigeBackground2,xc as colorPaletteBeigeBorderActive,kc as colorPaletteBeigeForeground2,Tl as colorPaletteBerryBackground1,Il as colorPaletteBerryBackground2,Fl as colorPaletteBerryBackground3,Dl as colorPaletteBerryBorder1,El as colorPaletteBerryBorder2,Ll as colorPaletteBerryBorderActive,Al as colorPaletteBerryForeground1,zl as colorPaletteBerryForeground2,Nl as colorPaletteBerryForeground3,Hd as colorPaletteBlueBackground2,_d as colorPaletteBlueBorderActive,Vd as colorPaletteBlueForeground2,fd as colorPaletteBrassBackground2,vd as colorPaletteBrassBorderActive,md as colorPaletteBrassForeground2,yd as colorPaletteBrownBackground2,xd as colorPaletteBrownBorderActive,kd as colorPaletteBrownForeground2,Xd as colorPaletteCornflowerBackground2,Ud as colorPaletteCornflowerBorderActive,Wd as colorPaletteCornflowerForeground2,id as colorPaletteCranberryBackground2,nd as colorPaletteCranberryBorderActive,ad as colorPaletteCranberryForeground2,Td as colorPaletteDarkGreenBackground2,Fd as colorPaletteDarkGreenBorderActive,Id as colorPaletteDarkGreenForeground2,cl as colorPaletteDarkOrangeBackground1,hl as colorPaletteDarkOrangeBackground2,ul as colorPaletteDarkOrangeBackground3,ml as colorPaletteDarkOrangeBorder1,vl as colorPaletteDarkOrangeBorder2,fl as colorPaletteDarkOrangeBorderActive,pl as colorPaletteDarkOrangeForeground1,gl as colorPaletteDarkOrangeForeground2,bl as colorPaletteDarkOrangeForeground3,td as colorPaletteDarkRedBackground2,rd as colorPaletteDarkRedBorderActive,od as colorPaletteDarkRedForeground2,$d as colorPaletteForestBackground2,Bd as colorPaletteForestBorderActive,wd as colorPaletteForestForeground2,pd as colorPaletteGoldBackground2,bd as colorPaletteGoldBorderActive,gd as colorPaletteGoldForeground2,ic as colorPaletteGrapeBackground2,nc as colorPaletteGrapeBorderActive,ac as colorPaletteGrapeForeground2,tl as colorPaletteGreenBackground1,ol as colorPaletteGreenBackground2,rl as colorPaletteGreenBackground3,ll as colorPaletteGreenBorder1,dl as colorPaletteGreenBorder2,sl as colorPaletteGreenBorderActive,il as colorPaletteGreenForeground1,al as colorPaletteGreenForeground2,nl as colorPaletteGreenForeground3,zc as colorPaletteGreenForegroundInverted,Zd as colorPaletteLavenderBackground2,ec as colorPaletteLavenderBorderActive,Jd as colorPaletteLavenderForeground2,Rl as colorPaletteLightGreenBackground1,Ol as colorPaletteLightGreenBackground2,Ml as colorPaletteLightGreenBackground3,Gl as colorPaletteLightGreenBorder1,ql as colorPaletteLightGreenBorder2,jl as colorPaletteLightGreenBorderActive,Hl as colorPaletteLightGreenForeground1,Vl as colorPaletteLightGreenForeground2,_l as colorPaletteLightGreenForeground3,Ad as colorPaletteLightTealBackground2,Nd as colorPaletteLightTealBorderActive,zd as colorPaletteLightTealForeground2,sc as colorPaletteLilacBackground2,dc as colorPaletteLilacBorderActive,lc as colorPaletteLilacForeground2,pc as colorPaletteMagentaBackground2,bc as colorPaletteMagentaBorderActive,gc as colorPaletteMagentaForeground2,Xl as colorPaletteMarigoldBackground1,Wl as colorPaletteMarigoldBackground2,Ul as colorPaletteMarigoldBackground3,Jl as colorPaletteMarigoldBorder1,ed as colorPaletteMarigoldBorder2,Zl as colorPaletteMarigoldBorderActive,Yl as colorPaletteMarigoldForeground1,Kl as colorPaletteMarigoldForeground2,Ql as colorPaletteMarigoldForeground3,$c as colorPaletteMinkBackground2,Bc as colorPaletteMinkBorderActive,wc as colorPaletteMinkForeground2,Yd as colorPaletteNavyBackground2,Qd as colorPaletteNavyBorderActive,Kd as colorPaletteNavyForeground2,cd as colorPalettePeachBackground2,ud as colorPalettePeachBorderActive,hd as colorPalettePeachForeground2,cc as colorPalettePinkBackground2,uc as colorPalettePinkBorderActive,hc as colorPalettePinkForeground2,Cc as colorPalettePlatinumBackground2,Pc as colorPalettePlatinumBorderActive,Sc as colorPalettePlatinumForeground2,fc as colorPalettePlumBackground2,vc as colorPalettePlumBorderActive,mc as colorPalettePlumForeground2,sd as colorPalettePumpkinBackground2,dd as colorPalettePumpkinBorderActive,ld as colorPalettePumpkinForeground2,tc as colorPalettePurpleBackground2,rc as colorPalettePurpleBorderActive,oc as colorPalettePurpleForeground2,Xs as colorPaletteRedBackground1,Ws as colorPaletteRedBackground2,Us as colorPaletteRedBackground3,Js as colorPaletteRedBorder1,el as colorPaletteRedBorder2,Zs as colorPaletteRedBorderActive,Ys as colorPaletteRedForeground1,Ks as colorPaletteRedForeground2,Qs as colorPaletteRedForeground3,Ac as colorPaletteRedForegroundInverted,jd as colorPaletteRoyalBlueBackground2,qd as colorPaletteRoyalBlueBorderActive,Gd as colorPaletteRoyalBlueForeground2,Cd as colorPaletteSeafoamBackground2,Pd as colorPaletteSeafoamBorderActive,Sd as colorPaletteSeafoamForeground2,Rd as colorPaletteSteelBackground2,Md as colorPaletteSteelBorderActive,Od as colorPaletteSteelForeground2,Ld as colorPaletteTealBackground2,Ed as colorPaletteTealBorderActive,Dd as colorPaletteTealForeground2,yl as colorPaletteYellowBackground1,kl as colorPaletteYellowBackground2,xl as colorPaletteYellowBackground3,Sl as colorPaletteYellowBorder1,Pl as colorPaletteYellowBorder2,Cl as colorPaletteYellowBorderActive,$l as colorPaletteYellowForeground1,wl as colorPaletteYellowForeground2,Bl as colorPaletteYellowForeground3,Nc as colorPaletteYellowForegroundInverted,Qn as colorScrollbarOverlay,Es as colorStrokeFocus1,Rs as colorStrokeFocus2,In as colorSubtleBackground,Fn as colorSubtleBackgroundHover,En as colorSubtleBackgroundInverted,Rn as colorSubtleBackgroundInvertedHover,On as colorSubtleBackgroundInvertedPressed,Mn as colorSubtleBackgroundInvertedSelected,Nn as colorSubtleBackgroundLightAlphaHover,Ln as colorSubtleBackgroundLightAlphaPressed,Dn as colorSubtleBackgroundLightAlphaSelected,An as colorSubtleBackgroundPressed,zn as colorSubtleBackgroundSelected,Hn as colorTransparentBackground,Vn as colorTransparentBackgroundHover,_n as colorTransparentBackgroundPressed,jn as colorTransparentBackgroundSelected,Ns as colorTransparentStroke,Ds as colorTransparentStrokeDisabled,Ls as colorTransparentStrokeInteractive,Qi as curveAccelerateMax,Zi as curveAccelerateMid,Ji as curveAccelerateMin,ea as curveDecelerateMax,ta as curveDecelerateMid,oa as curveDecelerateMin,ia as curveEasyEase,ra as curveEasyEaseMax,aa as curveLinear,Xi as durationFast,qi as durationFaster,Wi as durationNormal,Ui as durationSlow,Yi as durationSlower,Gi as durationUltraFast,Ki as durationUltraSlow,hi as fontFamilyBase,ui as fontFamilyMonospace,pi as fontFamilyNumeric,qr as fontSizeBase100,Xr as fontSizeBase200,Wr as fontSizeBase300,Ur as fontSizeBase400,Yr as fontSizeBase500,Kr as fontSizeBase600,ei as fontSizeHero1000,Qr as fontSizeHero700,Zr as fontSizeHero800,Jr as fontSizeHero900,mi as fontWeightBold,bi as fontWeightMedium,gi as fontWeightRegular,fi as fontWeightSemibold,ti as lineHeightBase100,oi as lineHeightBase200,ri as lineHeightBase300,ii as lineHeightBase400,ai as lineHeightBase500,ni as lineHeightBase600,ci as lineHeightHero1000,si as lineHeightHero700,li as lineHeightHero800,di as lineHeightHero900,ag as setTheme,ng as setThemeFor,Rc as shadow16,jc as shadow16Brand,Lc as shadow2,Oc as shadow28,Gc as shadow28Brand,Hc as shadow2Brand,Dc as shadow4,Vc as shadow4Brand,Mc as shadow64,qc as shadow64Brand,Ec as shadow8,_c as shadow8Brand,Ii as spacingHorizontalL,Ti as spacingHorizontalM,Pi as spacingHorizontalMNudge,$i as spacingHorizontalNone,Si as spacingHorizontalS,Ci as spacingHorizontalSNudge,Fi as spacingHorizontalXL,Bi as spacingHorizontalXS,Ai as spacingHorizontalXXL,wi as spacingHorizontalXXS,zi as spacingHorizontalXXXL,Hi as spacingVerticalL,Mi as spacingVerticalM,Oi as spacingVerticalMNudge,Ni as spacingVerticalNone,Ri as spacingVerticalS,Ei as spacingVerticalSNudge,Vi as spacingVerticalXL,Di as spacingVerticalXS,_i as spacingVerticalXXL,Li as spacingVerticalXXS,ji as spacingVerticalXXXL,yi as strokeWidthThick,ki as strokeWidthThicker,xi as strokeWidthThickest,vi as strokeWidthThin};