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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +21 -2
  2. package/dist/dts/checkbox/checkbox.d.ts +35 -0
  3. package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
  4. package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
  5. package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
  6. package/dist/dts/checkbox/checkbox.template.d.ts +7 -0
  7. package/dist/dts/checkbox/define.d.ts +1 -0
  8. package/dist/dts/checkbox/index.d.ts +5 -0
  9. package/dist/dts/index.d.ts +1 -0
  10. package/dist/dts/theme/index.d.ts +1 -1
  11. package/dist/dts/theme/set-theme.d.ts +2 -0
  12. package/dist/esm/checkbox/checkbox.definition.js +17 -0
  13. package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
  14. package/dist/esm/checkbox/checkbox.js +19 -0
  15. package/dist/esm/checkbox/checkbox.js.map +1 -0
  16. package/dist/esm/checkbox/checkbox.options.js +25 -0
  17. package/dist/esm/checkbox/checkbox.options.js.map +1 -0
  18. package/dist/esm/checkbox/checkbox.styles.js +164 -0
  19. package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
  20. package/dist/esm/checkbox/checkbox.template.js +27 -0
  21. package/dist/esm/checkbox/checkbox.template.js.map +1 -0
  22. package/dist/esm/checkbox/define.js +4 -0
  23. package/dist/esm/checkbox/define.js.map +1 -0
  24. package/dist/esm/checkbox/index.js +6 -0
  25. package/dist/esm/checkbox/index.js.map +1 -0
  26. package/dist/esm/index.js +1 -0
  27. package/dist/esm/index.js.map +1 -1
  28. package/dist/esm/theme/index.js +1 -1
  29. package/dist/esm/theme/index.js.map +1 -1
  30. package/dist/esm/theme/set-theme.js +5 -0
  31. package/dist/esm/theme/set-theme.js.map +1 -1
  32. package/dist/esm/toggle-button/toggle-button.js +3 -0
  33. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  34. package/dist/fluent-web-components.api.json +446 -0
  35. package/dist/web-components.d.ts +91 -0
  36. package/dist/web-components.js +206 -35
  37. package/dist/web-components.min.js +167 -165
  38. package/docs/api-report.md +47 -0
  39. package/package.json +5 -1
  40. package/CHANGELOG.json +0 -3243
  41. package/dist/tsdoc-metadata.json +0 -11
@@ -1,34 +1,34 @@
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>`}function At(e){return e.split("-")[1]}function zt(e){return"y"===e?"height":"width"}function Nt(e){return e.split("-")[0]}function Lt(e){return["top","bottom"].includes(Nt(e))?"x":"y"}function Dt(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=Lt(t),l=zt(s),d=r[l]/2-i[l]/2,c="x"===s;let h;switch(Nt(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(At(t)){case"start":h[s]-=d*(o&&c?-1:1);break;case"end":h[s]+=d*(o&&c?-1:1)}return h}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);function Et(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Rt(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=Et(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=Et(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 Ot=Math.min,Mt=Math.max;function Ht(e,t,o){return Mt(e,Ot(t,o))}const Vt={left:"right",right:"left",bottom:"top",top:"bottom"};function _t(e){return e.replace(/left|right|bottom|top/g,e=>Vt[e])}const jt={start:"end",end:"start"};function Gt(e){return e.replace(/start|end/g,e=>jt[e])}const qt=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=Nt(r),m=Nt(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[_t(n)]:function(e){const t=_t(e);return[Gt(e),t,Gt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=At(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[]}}(Nt(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Gt)))),a}(n,g,p,v));const x=[n,...y],k=await Rt(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=At(e),i=Lt(e),a=zt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=_t(n)),{main:n,cross:_t(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 Xt=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 Rt(t,l),h=Lt(Nt(i)),u="x"===h?"y":"x";let p=d[h],g=d[u];if(a){const e="y"===h?"bottom":"right";p=Ht(p+c["y"===h?"top":"left"],p,p-c[e])}if(n){const e="y"===u?"bottom":"right";g=Ht(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}}}}},Wt=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 Rt(t,s),d=Nt(o),c=At(o),h="x"===Lt(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=Ot(u-l.right-l.left,m):v=Ot(p-l.bottom-l.top,f),!t.middlewareData.shift&&!c){const e=Mt(l.left,0),t=Mt(l.right,0),o=Mt(l.top,0),r=Mt(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Mt(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Mt(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 Ut(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yt(e){return Ut(e).getComputedStyle(e)}const Kt=Math.min,Qt=Math.max,Zt=Math.round;function Jt(e){const t=Yt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=Zt(o)!==i||Zt(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function eo(e){return ao(e)?(e.nodeName||"").toLowerCase():""}let to;function oo(){if(to)return to;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(to=e.brands.map(e=>e.brand+"/"+e.version).join(" "),to):navigator.userAgent}function ro(e){return e instanceof Ut(e).HTMLElement}function io(e){return e instanceof Ut(e).Element}function ao(e){return e instanceof Ut(e).Node}function no(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Ut(e).ShadowRoot||e instanceof ShadowRoot}function so(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function lo(e){return["table","td","th"].includes(eo(e))}function co(e){const t=/firefox/i.test(oo()),o=Yt(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 ho(){return/^((?!chrome|android).)*safari/i.test(oo())}function uo(e){return["html","body","#document"].includes(eo(e))}function po(e){return io(e)?e:e.contextElement}const go={x:1,y:1};function bo(e){const t=po(e);if(!ro(t))return go;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=Jt(t);let n=(a?Zt(o.width):o.width)/r,s=(a?Zt(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function fo(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=po(e);let l=go;t&&(r?io(r)&&(l=bo(r)):l=bo(e));const d=s?Ut(s):window,c=ho()&&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=Ut(s),t=r&&io(r)?Ut(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=bo(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=Ut(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function mo(e){return((ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function vo(e){return io(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yo(e){return fo(mo(e)).left+vo(e).scrollLeft}function xo(e){if("html"===eo(e))return e;const t=e.assignedSlot||e.parentNode||no(e)&&e.host||mo(e);return no(t)?t.host:t}function ko(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=xo(t);return uo(o)?o.ownerDocument.body:ro(o)&&so(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Ut(r);return i?t.concat(a,a.visualViewport||[],so(r)?r:[]):t.concat(r,ko(r))}function $o(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Ut(e),r=mo(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=ho();(!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=mo(e),o=vo(e),r=e.ownerDocument.body,i=Qt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Qt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+yo(e);const s=-o.scrollTop;return"rtl"===Yt(r).direction&&(n+=Qt(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(mo(e));else if(io(t))r=function(e,t){const o=fo(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=ro(e)?bo(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(ho()){var i,a;const t=Ut(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 Et(r)}function wo(e,t){return ro(e)&&"fixed"!==Yt(e).position?t?t(e):e.offsetParent:null}function Bo(e,t){const o=Ut(e);let r=wo(e,t);for(;r&&lo(r)&&"static"===Yt(r).position;)r=wo(r,t);return r&&("html"===eo(r)||"body"===eo(r)&&"static"===Yt(r).position&&!co(r))?o:r||function(e){let t=xo(e);for(;ro(t)&&!uo(t);){if(co(t))return t;t=xo(t)}return null}(e)||o}function Co(e,t,o){const r=ro(t),i=mo(t),a=fo(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==eo(t)||so(i))&&(n=vo(t)),ro(t)){const e=fo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=yo(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const So={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=ko(e).filter(e=>io(e)&&"body"!==eo(e)),i=null;const a="fixed"===Yt(e).position;let n=a?xo(e):e;for(;io(n)&&!uo(n);){const e=Yt(n),t=co(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=xo(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=$o(t,o,i);return e.top=Qt(r.top,e.top),e.right=Kt(r.right,e.right),e.bottom=Kt(r.bottom,e.bottom),e.left=Qt(r.left,e.left),e},$o(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=ro(o),a=mo(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"!==eo(o)||so(a))&&(n=vo(o)),ro(o))){const e=fo(o);s=bo(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:io,getDimensions:function(e){return ro(e)?Jt(e):e.getBoundingClientRect()},getOffsetParent:Bo,getDocumentElement:mo,getScale:bo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Co(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Yt(e).direction};const Po=(e,t,o)=>{const r=new Map,i={platform:So,...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}=Dt(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}=Dt(d,u,l))),o=-1)}return{x:c,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class To{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=To.cache.get(e);return t||(t=new To(e),To.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)}}To.cache=new WeakMap;class Io{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 Fo{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 Ao{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=Ao.getAssignedTokensForNode(e),r=e.parent;do{const e=Ao.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ao.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 Ao.isAssigned(e,t)?Ao.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(Ao.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ao.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=Ao.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ao.composeAssignedTokensForNode(this),a=Ao.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 Fo(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 Fo(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ao.notify()}removeChild(e){if(e.parent===this){const t=Ao.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Fo(this,2,o));Ao.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=Ao.isAssigned(this,e)||Ao.isDerivedFor(this,e)?1:0,r=Ao.getLocalTokenValue(this,e);this._values.set(e,t),Ao.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ao.isDerivedTokenValue(t),a=Ao.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ao.queueNotification(new Fo(this,o,e,t)),this.dispatch(new Fo(this,o,e,t)),a.forEach((e,t)=>{if(!Ao.isDerivedFor(this,t)){Ao.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ao.queueNotification(new Fo(this,1,t,e.evaluator.value)),this.dispatch(new Fo(this,0,t,e.evaluator.value))}}),Ao.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ao.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ao.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(Ao.isAssigned(this,e)){const t=Ao.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ao.queueNotification(new Fo(this,2,e)),t!==o&&this.dispatch(new Fo(this,2,e)),Ao.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ao.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&&Ao.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ao.queueNotification(new Fo(this,2,i))),n&&(e=new Fo(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ao.isDerivedTokenValue(s)){const t=To.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ao.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 Fo(this,void 0===t?0:1,i,o.evaluator.value);Ao.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ao.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ao.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Fo(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(Ao.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ao.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Io(e,To.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Fo(this,1,r.token,r.evaluator.value);Ao.queueNotification(e),this.dispatch(e),Ao.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ao.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ao._notifications=[];class zo{setProperty(e,t){x.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){x.enqueue(()=>this.target.removeProperty(e))}}class No extends zo{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Lo extends zo{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 Do{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],Do.prototype,"target",void 0);class Eo{setProperty(e,t){Eo.properties[e]=t;for(const o of Eo.roots.values())o.setProperty(e,t)}removeProperty(e){delete Eo.properties[e];for(const t of Eo.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Eo;if(!t.has(e)){t.add(e);for(const t in Eo.properties)e.setProperty(t,Eo.properties[t])}}static unregisterRoot(e){const{roots:t}=Eo;if(t.has(e)){t.delete(e);for(const t in Eo.properties)e.removeProperty(t)}}}Eo.roots=new Set,Eo.properties={};const Ro=new WeakMap,Oo=L.supportsAdoptedStyleSheets?class extends zo{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Do,Mo=Object.freeze({getOrCreate(e){if(Ro.has(e))return Ro.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new No:new Lo:new Oo(e),Ro.set(e,t),t}});class Ho{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Go.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 Go.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 Vo({name:e,cssCustomPropertyName:e}):Ho.isCSSDesignTokenConfiguration(e)?new Vo(e):new Ho(e)}static withStrategy(e){Go.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Eo.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Mo.getOrCreate(e)),Eo.unregisterRoot(e)}getValueFor(e){return Go.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Go.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Go.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Go.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 Ho&&(e=this.alias(e)),e}}let Vo=class extends Ho{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Go.defaultNode?Go.rootStyleSheetTarget:t.target instanceof Go?Mo.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 _o;Vo=Je([function(e){E.define(e)},function(e){ee.define(e,_o)}],Vo);const jo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Go extends Ao{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&&Go.withStrategy(jo),this._strategy}connectedCallback(e){let t=Go.findParent(e.source);if(null===t&&(t=Go.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Go&&Go.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Go.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Go.cache.get(e);return t||(t=new Go(e),Go.cache.set(e,t),e.$fastController.addBehavior(Go.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Go.strategy.parent(e);for(;null!==t;){const e=Go.cache.get(t);if(e)return e;t=Go.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Go.defaultNode.appendChild(this),e.apply(this,t))}}Go.defaultNode=new Ao,Go.rootStyleSheetTarget=new Eo,Go.cache=new WeakMap;const qo={separator:"separator",presentation:"presentation"},Xo=at;class Wo extends Qe{constructor(){super(...arguments),this.role=qo.separator,this.orientation=Xo.horizontal}}Je([De],Wo.prototype,"role",void 0),Je([De],Wo.prototype,"orientation",void 0);const Uo={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Yo extends Qe{constructor(){super(...arguments),this.role=Uo.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 Uo.menuitemcheckbox:this.checked=!this.checked;break;case Uo.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Uo.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?[...io(e)?ko(e):e.contextElement?ko(e.contextElement):[],...ko(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}),io(e)&&!s&&h.observe(e),io(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?fo(e):null;return s&&function t(){const r=fo(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 Po(this,this.submenuContainer,{middleware:[Xt(),Wt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),qt({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"})],Yo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Yo.prototype,"expanded",void 0),Je([De],Yo.prototype,"role",void 0),Je([De({mode:"boolean"})],Yo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Yo.prototype,"hidden",void 0),Je([C],Yo.prototype,"slottedSubmenu",void 0),Je([C],Yo.prototype,"submenu",void 0),ut(Yo,ot);class Ko 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===Uo.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===Uo.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Yo||nt(e)&&e.getAttribute("role")in Ko.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}}}Ko.focusableElementRoles=Uo,Je([C],Ko.prototype,"items",void 0);class Qo extends Qe{}class Zo extends($t(Qo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Jo={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class er extends Zo{constructor(){super(...arguments),this.type=Jo.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"})],er.prototype,"readOnly",void 0),Je([De({mode:"boolean"})],er.prototype,"autofocus",void 0),Je([De],er.prototype,"placeholder",void 0),Je([De],er.prototype,"type",void 0),Je([De],er.prototype,"list",void 0),Je([De({converter:Ne})],er.prototype,"maxlength",void 0),Je([De({converter:Ne})],er.prototype,"minlength",void 0),Je([De],er.prototype,"pattern",void 0),Je([De({converter:Ne})],er.prototype,"size",void 0),Je([De({mode:"boolean"})],er.prototype,"spellcheck",void 0),Je([C],er.prototype,"defaultSlottedNodes",void 0);class tr{}ut(tr,tt),ut(er,ot,tr);class or 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})],or.prototype,"value",void 0),Je([De({converter:Ne})],or.prototype,"min",void 0),Je([De({converter:Ne})],or.prototype,"max",void 0),Je([C],or.prototype,"percentComplete",void 0);class rr extends or{}class ir extends or{}const ar=at;const nr=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)};class sr extends Qe{}class lr extends(wt(sr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class dr extends lr{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],dr.prototype,"name",void 0),Je([C],dr.prototype,"defaultSlottedNodes",void 0);class cr extends Qe{constructor(){super(...arguments),this.orientation=ar.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 dr&&(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"})],cr.prototype,"readOnly",void 0),Je([De({attribute:"disabled",mode:"boolean"})],cr.prototype,"disabled",void 0),Je([De],cr.prototype,"name",void 0),Je([De],cr.prototype,"value",void 0),Je([De],cr.prototype,"orientation",void 0),Je([C],cr.prototype,"childItems",void 0),Je([C],cr.prototype,"slottedRadioButtons",void 0);const hr=at,ur="single-value";function pr(e,t,o,r){let i=dt(0,1,(e-t)/(o-t));return r===lt.rtl&&(i=1-i),i}class gr extends Qe{}class br extends($t(gr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class fr extends br{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=ur,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-pr(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=pr(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"})],fr.prototype,"readOnly",void 0),Je([C],fr.prototype,"direction",void 0),Je([C],fr.prototype,"isDragging",void 0),Je([C],fr.prototype,"position",void 0),Je([C],fr.prototype,"trackWidth",void 0),Je([C],fr.prototype,"trackMinWidth",void 0),Je([C],fr.prototype,"trackHeight",void 0),Je([C],fr.prototype,"trackLeft",void 0),Je([C],fr.prototype,"trackMinHeight",void 0),Je([C],fr.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],fr.prototype,"min",void 0),Je([De({converter:Ne})],fr.prototype,"max",void 0),Je([De({converter:Ne})],fr.prototype,"step",void 0),Je([De],fr.prototype,"orientation",void 0),Je([De],fr.prototype,"mode",void 0);class mr extends Qe{}class vr extends(wt(mr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yr extends vr{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"})],yr.prototype,"readOnly",void 0),Je([C],yr.prototype,"defaultSlottedNodes",void 0);class xr extends Qe{}class kr extends Qe{}Je([De({mode:"boolean"})],kr.prototype,"disabled",void 0),ut(kr,ot);const $r=at;class wr extends Qe{constructor(){super(...arguments),this.orientation=$r.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===$r.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],wr.prototype,"orientation",void 0),Je([De],wr.prototype,"activeid",void 0),Je([C],wr.prototype,"tabs",void 0),Je([C],wr.prototype,"tabpanels",void 0),ut(wr,ot);function Br(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Cr extends ft{}const Sr=ke`<template><slot ${Ie({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,Pr=j`
2
- ${Br("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)}}),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")}
3
3
 
4
- :host{flex-direction:column;width:100%;contain:content}`,Tr=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Ir=Cr.compose({name:Tr.prefix+"-accordion",template:Sr,styles:Pr});class Fr extends pt{constructor(){super(...arguments),this.block=!1}}Je([De],Fr.prototype,"size",void 0),Je([De({mode:"boolean"})],Fr.prototype,"block",void 0),Je([De({attribute:"expand-icon-position"})],Fr.prototype,"expandIconPosition",void 0);const Ar={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},zr={start:"start",end:"end"},{create:Nr}=Ho,Lr=Nr("borderRadiusNone"),Dr=Nr("borderRadiusSmall"),Er=Nr("borderRadiusMedium"),Rr=Nr("borderRadiusLarge"),Or=Nr("borderRadiusXLarge"),Mr=Nr("borderRadiusCircular"),Hr=Nr("fontSizeBase100"),Vr=Nr("fontSizeBase200"),_r=Nr("fontSizeBase300"),jr=Nr("fontSizeBase400"),Gr=Nr("fontSizeBase500"),qr=Nr("fontSizeBase600"),Xr=Nr("fontSizeHero700"),Wr=Nr("fontSizeHero800"),Ur=Nr("fontSizeHero900"),Yr=Nr("fontSizeHero1000"),Kr=Nr("lineHeightBase100"),Qr=Nr("lineHeightBase200"),Zr=Nr("lineHeightBase300"),Jr=Nr("lineHeightBase400"),ei=Nr("lineHeightBase500"),ti=Nr("lineHeightBase600"),oi=Nr("lineHeightHero700"),ri=Nr("lineHeightHero800"),ii=Nr("lineHeightHero900"),ai=Nr("lineHeightHero1000"),ni=Nr("fontFamilyBase"),si=Nr("fontFamilyMonospace"),li=Nr("fontFamilyNumeric"),di=Nr("fontWeightRegular"),ci=Nr("fontWeightMedium"),hi=Nr("fontWeightSemibold"),ui=Nr("fontWeightBold"),pi=Nr("strokeWidthThin"),gi=Nr("strokeWidthThick"),bi=Nr("strokeWidthThicker"),fi=Nr("strokeWidthThickest"),mi=Nr("spacingHorizontalNone"),vi=Nr("spacingHorizontalXXS"),yi=Nr("spacingHorizontalXS"),xi=Nr("spacingHorizontalSNudge"),ki=Nr("spacingHorizontalS"),$i=Nr("spacingHorizontalMNudge"),wi=Nr("spacingHorizontalM"),Bi=Nr("spacingHorizontalL"),Ci=Nr("spacingHorizontalXL"),Si=Nr("spacingHorizontalXXL"),Pi=Nr("spacingHorizontalXXXL"),Ti=Nr("spacingVerticalNone"),Ii=Nr("spacingVerticalXXS"),Fi=Nr("spacingVerticalXS"),Ai=Nr("spacingVerticalSNudge"),zi=Nr("spacingVerticalS"),Ni=Nr("spacingVerticalMNudge"),Li=Nr("spacingVerticalM"),Di=Nr("spacingVerticalL"),Ei=Nr("spacingVerticalXL"),Ri=Nr("spacingVerticalXXL"),Oi=Nr("spacingVerticalXXXL"),Mi=Nr("durationUltraFast"),Hi=Nr("durationFaster"),Vi=Nr("durationFast"),_i=Nr("durationNormal"),ji=Nr("durationSlow"),Gi=Nr("durationSlower"),qi=Nr("durationUltraSlow"),Xi=Nr("curveAccelerateMax"),Wi=Nr("curveAccelerateMid"),Ui=Nr("curveAccelerateMin"),Yi=Nr("curveDecelerateMax"),Ki=Nr("curveDecelerateMid"),Qi=Nr("curveDecelerateMin"),Zi=Nr("curveEasyEaseMax"),Ji=Nr("curveEasyEase"),ea=Nr("curveLinear"),ta=Nr("colorNeutralForeground1"),oa=Nr("colorNeutralForeground1Hover"),ra=Nr("colorNeutralForeground1Pressed"),ia=Nr("colorNeutralForeground1Selected"),aa=Nr("colorNeutralForeground2"),na=Nr("colorNeutralForeground2Hover"),sa=Nr("colorNeutralForeground2Pressed"),la=Nr("colorNeutralForeground2Selected"),da=Nr("colorNeutralForeground2BrandHover"),ca=Nr("colorNeutralForeground2BrandPressed"),ha=Nr("colorNeutralForeground2BrandSelected"),ua=Nr("colorNeutralForeground3"),pa=Nr("colorNeutralForeground3Hover"),ga=Nr("colorNeutralForeground3Pressed"),ba=Nr("colorNeutralForeground3Selected"),fa=Nr("colorNeutralForeground3BrandHover"),ma=Nr("colorNeutralForeground3BrandPressed"),va=Nr("colorNeutralForeground3BrandSelected"),ya=Nr("colorNeutralForeground4"),xa=Nr("colorNeutralForegroundDisabled"),ka=Nr("colorNeutralForegroundInvertedDisabled"),$a=Nr("colorBrandForegroundLink"),wa=Nr("colorBrandForegroundLinkHover"),Ba=Nr("colorBrandForegroundLinkPressed"),Ca=Nr("colorBrandForegroundLinkSelected"),Sa=Nr("colorNeutralForeground2Link"),Pa=Nr("colorNeutralForeground2LinkHover"),Ta=Nr("colorNeutralForeground2LinkPressed"),Ia=Nr("colorNeutralForeground2LinkSelected"),Fa=Nr("colorCompoundBrandForeground1"),Aa=Nr("colorCompoundBrandForeground1Hover"),za=Nr("colorCompoundBrandForeground1Pressed"),Na=Nr("colorBrandForeground1"),La=Nr("colorBrandForeground2"),Da=Nr("colorNeutralForeground1Static"),Ea=Nr("colorNeutralForegroundStaticInverted"),Ra=Nr("colorNeutralForegroundInverted"),Oa=Nr("colorNeutralForegroundInvertedHover"),Ma=Nr("colorNeutralForegroundInvertedPressed"),Ha=Nr("colorNeutralForegroundInvertedSelected"),Va=Nr("colorNeutralForegroundInverted2"),_a=Nr("colorNeutralForegroundOnBrand"),ja=Nr("colorNeutralForegroundInvertedLink"),Ga=Nr("colorNeutralForegroundInvertedLinkHover"),qa=Nr("colorNeutralForegroundInvertedLinkPressed"),Xa=Nr("colorNeutralForegroundInvertedLinkSelected"),Wa=Nr("colorBrandForegroundInverted"),Ua=Nr("colorBrandForegroundInvertedHover"),Ya=Nr("colorBrandForegroundInvertedPressed"),Ka=Nr("colorBrandForegroundOnLight"),Qa=Nr("colorBrandForegroundOnLightHover"),Za=Nr("colorBrandForegroundOnLightPressed"),Ja=Nr("colorBrandForegroundOnLightSelected"),en=Nr("colorNeutralBackground1"),tn=Nr("colorNeutralBackground1Hover"),on=Nr("colorNeutralBackground1Pressed"),rn=Nr("colorNeutralBackground1Selected"),an=Nr("colorNeutralBackground2"),nn=Nr("colorNeutralBackground2Hover"),sn=Nr("colorNeutralBackground2Pressed"),ln=Nr("colorNeutralBackground2Selected"),dn=Nr("colorNeutralBackground3"),cn=Nr("colorNeutralBackground3Hover"),hn=Nr("colorNeutralBackground3Pressed"),un=Nr("colorNeutralBackground3Selected"),pn=Nr("colorNeutralBackground4"),gn=Nr("colorNeutralBackground4Hover"),bn=Nr("colorNeutralBackground4Pressed"),fn=Nr("colorNeutralBackground4Selected"),mn=Nr("colorNeutralBackground5"),vn=Nr("colorNeutralBackground5Hover"),yn=Nr("colorNeutralBackground5Pressed"),xn=Nr("colorNeutralBackground5Selected"),kn=Nr("colorNeutralBackground6"),$n=Nr("colorNeutralBackgroundInverted"),wn=Nr("colorNeutralBackgroundStatic"),Bn=Nr("colorSubtleBackground"),Cn=Nr("colorSubtleBackgroundHover"),Sn=Nr("colorSubtleBackgroundPressed"),Pn=Nr("colorSubtleBackgroundSelected"),Tn=Nr("colorSubtleBackgroundLightAlphaHover"),In=Nr("colorSubtleBackgroundLightAlphaPressed"),Fn=Nr("colorSubtleBackgroundLightAlphaSelected"),An=Nr("colorSubtleBackgroundInverted"),zn=Nr("colorSubtleBackgroundInvertedHover"),Nn=Nr("colorSubtleBackgroundInvertedPressed"),Ln=Nr("colorSubtleBackgroundInvertedSelected"),Dn=Nr("colorTransparentBackground"),En=Nr("colorTransparentBackgroundHover"),Rn=Nr("colorTransparentBackgroundPressed"),On=Nr("colorTransparentBackgroundSelected"),Mn=Nr("colorNeutralBackgroundDisabled"),Hn=Nr("colorNeutralBackgroundInvertedDisabled"),Vn=Nr("colorNeutralStencil1"),_n=Nr("colorNeutralStencil2"),jn=Nr("colorNeutralStencil1Alpha"),Gn=Nr("colorNeutralStencil2Alpha"),qn=Nr("colorBackgroundOverlay"),Xn=Nr("colorScrollbarOverlay"),Wn=Nr("colorBrandBackground"),Un=Nr("colorBrandBackgroundHover"),Yn=Nr("colorBrandBackgroundPressed"),Kn=Nr("colorBrandBackgroundSelected"),Qn=Nr("colorCompoundBrandBackground"),Zn=Nr("colorCompoundBrandBackgroundHover"),Jn=Nr("colorCompoundBrandBackgroundPressed"),es=Nr("colorBrandBackgroundStatic"),ts=Nr("colorBrandBackground2"),os=Nr("colorBrandBackgroundInverted"),rs=Nr("colorBrandBackgroundInvertedHover"),is=Nr("colorBrandBackgroundInvertedPressed"),as=Nr("colorBrandBackgroundInvertedSelected"),ns=Nr("colorNeutralStrokeAccessible"),ss=Nr("colorNeutralStrokeAccessibleHover"),ls=Nr("colorNeutralStrokeAccessiblePressed"),ds=Nr("colorNeutralStrokeAccessibleSelected"),cs=Nr("colorNeutralStroke1"),hs=Nr("colorNeutralStroke1Hover"),us=Nr("colorNeutralStroke1Pressed"),ps=Nr("colorNeutralStroke1Selected"),gs=Nr("colorNeutralStroke2"),bs=Nr("colorNeutralStroke3"),fs=Nr("colorNeutralStrokeOnBrand"),ms=Nr("colorNeutralStrokeOnBrand2"),vs=Nr("colorNeutralStrokeOnBrand2Hover"),ys=Nr("colorNeutralStrokeOnBrand2Pressed"),xs=Nr("colorNeutralStrokeOnBrand2Selected"),ks=Nr("colorBrandStroke1"),$s=Nr("colorBrandStroke2"),ws=Nr("colorCompoundBrandStroke"),Bs=Nr("colorCompoundBrandStrokeHover"),Cs=Nr("colorCompoundBrandStrokePressed"),Ss=Nr("colorNeutralStrokeDisabled"),Ps=Nr("colorNeutralStrokeInvertedDisabled"),Ts=Nr("colorTransparentStroke"),Is=Nr("colorTransparentStrokeInteractive"),Fs=Nr("colorTransparentStrokeDisabled"),As=Nr("colorStrokeFocus1"),zs=Nr("colorStrokeFocus2"),Ns=Nr("colorNeutralShadowAmbient"),Ls=Nr("colorNeutralShadowKey"),Ds=Nr("colorNeutralShadowAmbientLighter"),Es=Nr("colorNeutralShadowKeyLighter"),Rs=Nr("colorNeutralShadowAmbientDarker"),Os=Nr("colorNeutralShadowKeyDarker"),Ms=Nr("colorBrandShadowAmbient"),Hs=Nr("colorBrandShadowKey"),Vs=Nr("colorPaletteRedBackground1"),_s=Nr("colorPaletteRedBackground2"),js=Nr("colorPaletteRedBackground3"),Gs=Nr("colorPaletteRedForeground1"),qs=Nr("colorPaletteRedForeground2"),Xs=Nr("colorPaletteRedForeground3"),Ws=Nr("colorPaletteRedBorderActive"),Us=Nr("colorPaletteRedBorder1"),Ys=Nr("colorPaletteRedBorder2"),Ks=Nr("colorPaletteGreenBackground1"),Qs=Nr("colorPaletteGreenBackground2"),Zs=Nr("colorPaletteGreenBackground3"),Js=Nr("colorPaletteGreenForeground1"),el=Nr("colorPaletteGreenForeground2"),tl=Nr("colorPaletteGreenForeground3"),ol=Nr("colorPaletteGreenBorderActive"),rl=Nr("colorPaletteGreenBorder1"),il=Nr("colorPaletteGreenBorder2"),al=Nr("colorPaletteDarkOrangeBackground1"),nl=Nr("colorPaletteDarkOrangeBackground2"),sl=Nr("colorPaletteDarkOrangeBackground3"),ll=Nr("colorPaletteDarkOrangeForeground1"),dl=Nr("colorPaletteDarkOrangeForeground2"),cl=Nr("colorPaletteDarkOrangeForeground3"),hl=Nr("colorPaletteDarkOrangeBorderActive"),ul=Nr("colorPaletteDarkOrangeBorder1"),pl=Nr("colorPaletteDarkOrangeBorder2"),gl=Nr("colorPaletteYellowBackground1"),bl=Nr("colorPaletteYellowBackground2"),fl=Nr("colorPaletteYellowBackground3"),ml=Nr("colorPaletteYellowForeground1"),vl=Nr("colorPaletteYellowForeground2"),yl=Nr("colorPaletteYellowForeground3"),xl=Nr("colorPaletteYellowBorderActive"),kl=Nr("colorPaletteYellowBorder1"),$l=Nr("colorPaletteYellowBorder2"),wl=Nr("colorPaletteBerryBackground1"),Bl=Nr("colorPaletteBerryBackground2"),Cl=Nr("colorPaletteBerryBackground3"),Sl=Nr("colorPaletteBerryForeground1"),Pl=Nr("colorPaletteBerryForeground2"),Tl=Nr("colorPaletteBerryForeground3"),Il=Nr("colorPaletteBerryBorderActive"),Fl=Nr("colorPaletteBerryBorder1"),Al=Nr("colorPaletteBerryBorder2"),zl=Nr("colorPaletteLightGreenBackground1"),Nl=Nr("colorPaletteLightGreenBackground2"),Ll=Nr("colorPaletteLightGreenBackground3"),Dl=Nr("colorPaletteLightGreenForeground1"),El=Nr("colorPaletteLightGreenForeground2"),Rl=Nr("colorPaletteLightGreenForeground3"),Ol=Nr("colorPaletteLightGreenBorderActive"),Ml=Nr("colorPaletteLightGreenBorder1"),Hl=Nr("colorPaletteLightGreenBorder2"),Vl=Nr("colorPaletteMarigoldBackground1"),_l=Nr("colorPaletteMarigoldBackground2"),jl=Nr("colorPaletteMarigoldBackground3"),Gl=Nr("colorPaletteMarigoldForeground1"),ql=Nr("colorPaletteMarigoldForeground2"),Xl=Nr("colorPaletteMarigoldForeground3"),Wl=Nr("colorPaletteMarigoldBorderActive"),Ul=Nr("colorPaletteMarigoldBorder1"),Yl=Nr("colorPaletteMarigoldBorder2"),Kl=Nr("colorPaletteDarkRedBackground2"),Ql=Nr("colorPaletteDarkRedForeground2"),Zl=Nr("colorPaletteDarkRedBorderActive"),Jl=Nr("colorPaletteCranberryBackground2"),ed=Nr("colorPaletteCranberryForeground2"),td=Nr("colorPaletteCranberryBorderActive"),od=Nr("colorPalettePumpkinBackground2"),rd=Nr("colorPalettePumpkinForeground2"),id=Nr("colorPalettePumpkinBorderActive"),ad=Nr("colorPalettePeachBackground2"),nd=Nr("colorPalettePeachForeground2"),sd=Nr("colorPalettePeachBorderActive"),ld=Nr("colorPaletteGoldBackground2"),dd=Nr("colorPaletteGoldForeground2"),cd=Nr("colorPaletteGoldBorderActive"),hd=Nr("colorPaletteBrassBackground2"),ud=Nr("colorPaletteBrassForeground2"),pd=Nr("colorPaletteBrassBorderActive"),gd=Nr("colorPaletteBrownBackground2"),bd=Nr("colorPaletteBrownForeground2"),fd=Nr("colorPaletteBrownBorderActive"),md=Nr("colorPaletteForestBackground2"),vd=Nr("colorPaletteForestForeground2"),yd=Nr("colorPaletteForestBorderActive"),xd=Nr("colorPaletteSeafoamBackground2"),kd=Nr("colorPaletteSeafoamForeground2"),$d=Nr("colorPaletteSeafoamBorderActive"),wd=Nr("colorPaletteDarkGreenBackground2"),Bd=Nr("colorPaletteDarkGreenForeground2"),Cd=Nr("colorPaletteDarkGreenBorderActive"),Sd=Nr("colorPaletteLightTealBackground2"),Pd=Nr("colorPaletteLightTealForeground2"),Td=Nr("colorPaletteLightTealBorderActive"),Id=Nr("colorPaletteTealBackground2"),Fd=Nr("colorPaletteTealForeground2"),Ad=Nr("colorPaletteTealBorderActive"),zd=Nr("colorPaletteSteelBackground2"),Nd=Nr("colorPaletteSteelForeground2"),Ld=Nr("colorPaletteSteelBorderActive"),Dd=Nr("colorPaletteBlueBackground2"),Ed=Nr("colorPaletteBlueForeground2"),Rd=Nr("colorPaletteBlueBorderActive"),Od=Nr("colorPaletteRoyalBlueBackground2"),Md=Nr("colorPaletteRoyalBlueForeground2"),Hd=Nr("colorPaletteRoyalBlueBorderActive"),Vd=Nr("colorPaletteCornflowerBackground2"),_d=Nr("colorPaletteCornflowerForeground2"),jd=Nr("colorPaletteCornflowerBorderActive"),Gd=Nr("colorPaletteNavyBackground2"),qd=Nr("colorPaletteNavyForeground2"),Xd=Nr("colorPaletteNavyBorderActive"),Wd=Nr("colorPaletteLavenderBackground2"),Ud=Nr("colorPaletteLavenderForeground2"),Yd=Nr("colorPaletteLavenderBorderActive"),Kd=Nr("colorPalettePurpleBackground2"),Qd=Nr("colorPalettePurpleForeground2"),Zd=Nr("colorPalettePurpleBorderActive"),Jd=Nr("colorPaletteGrapeBackground2"),ec=Nr("colorPaletteGrapeForeground2"),tc=Nr("colorPaletteGrapeBorderActive"),oc=Nr("colorPaletteLilacBackground2"),rc=Nr("colorPaletteLilacForeground2"),ic=Nr("colorPaletteLilacBorderActive"),ac=Nr("colorPalettePinkBackground2"),nc=Nr("colorPalettePinkForeground2"),sc=Nr("colorPalettePinkBorderActive"),lc=Nr("colorPaletteMagentaBackground2"),dc=Nr("colorPaletteMagentaForeground2"),cc=Nr("colorPaletteMagentaBorderActive"),hc=Nr("colorPalettePlumBackground2"),uc=Nr("colorPalettePlumForeground2"),pc=Nr("colorPalettePlumBorderActive"),gc=Nr("colorPaletteBeigeBackground2"),bc=Nr("colorPaletteBeigeForeground2"),fc=Nr("colorPaletteBeigeBorderActive"),mc=Nr("colorPaletteMinkBackground2"),vc=Nr("colorPaletteMinkForeground2"),yc=Nr("colorPaletteMinkBorderActive"),xc=Nr("colorPalettePlatinumBackground2"),kc=Nr("colorPalettePlatinumForeground2"),$c=Nr("colorPalettePlatinumBorderActive"),wc=Nr("colorPaletteAnchorBackground2"),Bc=Nr("colorPaletteAnchorForeground2"),Cc=Nr("colorPaletteAnchorBorderActive"),Sc=Nr("colorPaletteRedForegroundInverted"),Pc=Nr("colorPaletteGreenForegroundInverted"),Tc=Nr("colorPaletteYellowForegroundInverted"),Ic=Nr("shadow2"),Fc=Nr("shadow4"),Ac=Nr("shadow8"),zc=Nr("shadow16"),Nc=Nr("shadow28"),Lc=Nr("shadow64"),Dc=Nr("shadow2Brand"),Ec=Nr("shadow4Brand"),Rc=Nr("shadow8Brand"),Oc=Nr("shadow16Brand"),Mc=Nr("shadow28Brand"),Hc=Nr("shadow64Brand");var Vc=Object.freeze({__proto__:null,borderRadiusNone:Lr,borderRadiusSmall:Dr,borderRadiusMedium:Er,borderRadiusLarge:Rr,borderRadiusXLarge:Or,borderRadiusCircular:Mr,fontSizeBase100:Hr,fontSizeBase200:Vr,fontSizeBase300:_r,fontSizeBase400:jr,fontSizeBase500:Gr,fontSizeBase600:qr,fontSizeHero700:Xr,fontSizeHero800:Wr,fontSizeHero900:Ur,fontSizeHero1000:Yr,lineHeightBase100:Kr,lineHeightBase200:Qr,lineHeightBase300:Zr,lineHeightBase400:Jr,lineHeightBase500:ei,lineHeightBase600:ti,lineHeightHero700:oi,lineHeightHero800:ri,lineHeightHero900:ii,lineHeightHero1000:ai,fontFamilyBase:ni,fontFamilyMonospace:si,fontFamilyNumeric:li,fontWeightRegular:di,fontWeightMedium:ci,fontWeightSemibold:hi,fontWeightBold:ui,strokeWidthThin:pi,strokeWidthThick:gi,strokeWidthThicker:bi,strokeWidthThickest:fi,spacingHorizontalNone:mi,spacingHorizontalXXS:vi,spacingHorizontalXS:yi,spacingHorizontalSNudge:xi,spacingHorizontalS:ki,spacingHorizontalMNudge:$i,spacingHorizontalM:wi,spacingHorizontalL:Bi,spacingHorizontalXL:Ci,spacingHorizontalXXL:Si,spacingHorizontalXXXL:Pi,spacingVerticalNone:Ti,spacingVerticalXXS:Ii,spacingVerticalXS:Fi,spacingVerticalSNudge:Ai,spacingVerticalS:zi,spacingVerticalMNudge:Ni,spacingVerticalM:Li,spacingVerticalL:Di,spacingVerticalXL:Ei,spacingVerticalXXL:Ri,spacingVerticalXXXL:Oi,durationUltraFast:Mi,durationFaster:Hi,durationFast:Vi,durationNormal:_i,durationSlow:ji,durationSlower:Gi,durationUltraSlow:qi,curveAccelerateMax:Xi,curveAccelerateMid:Wi,curveAccelerateMin:Ui,curveDecelerateMax:Yi,curveDecelerateMid:Ki,curveDecelerateMin:Qi,curveEasyEaseMax:Zi,curveEasyEase:Ji,curveLinear:ea,colorNeutralForeground1:ta,colorNeutralForeground1Hover:oa,colorNeutralForeground1Pressed:ra,colorNeutralForeground1Selected:ia,colorNeutralForeground2:aa,colorNeutralForeground2Hover:na,colorNeutralForeground2Pressed:sa,colorNeutralForeground2Selected:la,colorNeutralForeground2BrandHover:da,colorNeutralForeground2BrandPressed:ca,colorNeutralForeground2BrandSelected:ha,colorNeutralForeground3:ua,colorNeutralForeground3Hover:pa,colorNeutralForeground3Pressed:ga,colorNeutralForeground3Selected:ba,colorNeutralForeground3BrandHover:fa,colorNeutralForeground3BrandPressed:ma,colorNeutralForeground3BrandSelected:va,colorNeutralForeground4:ya,colorNeutralForegroundDisabled:xa,colorNeutralForegroundInvertedDisabled:ka,colorBrandForegroundLink:$a,colorBrandForegroundLinkHover:wa,colorBrandForegroundLinkPressed:Ba,colorBrandForegroundLinkSelected:Ca,colorNeutralForeground2Link:Sa,colorNeutralForeground2LinkHover:Pa,colorNeutralForeground2LinkPressed:Ta,colorNeutralForeground2LinkSelected:Ia,colorCompoundBrandForeground1:Fa,colorCompoundBrandForeground1Hover:Aa,colorCompoundBrandForeground1Pressed:za,colorBrandForeground1:Na,colorBrandForeground2:La,colorNeutralForeground1Static:Da,colorNeutralForegroundStaticInverted:Ea,colorNeutralForegroundInverted:Ra,colorNeutralForegroundInvertedHover:Oa,colorNeutralForegroundInvertedPressed:Ma,colorNeutralForegroundInvertedSelected:Ha,colorNeutralForegroundInverted2:Va,colorNeutralForegroundOnBrand:_a,colorNeutralForegroundInvertedLink:ja,colorNeutralForegroundInvertedLinkHover:Ga,colorNeutralForegroundInvertedLinkPressed:qa,colorNeutralForegroundInvertedLinkSelected:Xa,colorBrandForegroundInverted:Wa,colorBrandForegroundInvertedHover:Ua,colorBrandForegroundInvertedPressed:Ya,colorBrandForegroundOnLight:Ka,colorBrandForegroundOnLightHover:Qa,colorBrandForegroundOnLightPressed:Za,colorBrandForegroundOnLightSelected:Ja,colorNeutralBackground1:en,colorNeutralBackground1Hover:tn,colorNeutralBackground1Pressed:on,colorNeutralBackground1Selected:rn,colorNeutralBackground2:an,colorNeutralBackground2Hover:nn,colorNeutralBackground2Pressed:sn,colorNeutralBackground2Selected:ln,colorNeutralBackground3:dn,colorNeutralBackground3Hover:cn,colorNeutralBackground3Pressed:hn,colorNeutralBackground3Selected:un,colorNeutralBackground4:pn,colorNeutralBackground4Hover:gn,colorNeutralBackground4Pressed:bn,colorNeutralBackground4Selected:fn,colorNeutralBackground5:mn,colorNeutralBackground5Hover:vn,colorNeutralBackground5Pressed:yn,colorNeutralBackground5Selected:xn,colorNeutralBackground6:kn,colorNeutralBackgroundInverted:$n,colorNeutralBackgroundStatic:wn,colorSubtleBackground:Bn,colorSubtleBackgroundHover:Cn,colorSubtleBackgroundPressed:Sn,colorSubtleBackgroundSelected:Pn,colorSubtleBackgroundLightAlphaHover:Tn,colorSubtleBackgroundLightAlphaPressed:In,colorSubtleBackgroundLightAlphaSelected:Fn,colorSubtleBackgroundInverted:An,colorSubtleBackgroundInvertedHover:zn,colorSubtleBackgroundInvertedPressed:Nn,colorSubtleBackgroundInvertedSelected:Ln,colorTransparentBackground:Dn,colorTransparentBackgroundHover:En,colorTransparentBackgroundPressed:Rn,colorTransparentBackgroundSelected:On,colorNeutralBackgroundDisabled:Mn,colorNeutralBackgroundInvertedDisabled:Hn,colorNeutralStencil1:Vn,colorNeutralStencil2:_n,colorNeutralStencil1Alpha:jn,colorNeutralStencil2Alpha:Gn,colorBackgroundOverlay:qn,colorScrollbarOverlay:Xn,colorBrandBackground:Wn,colorBrandBackgroundHover:Un,colorBrandBackgroundPressed:Yn,colorBrandBackgroundSelected:Kn,colorCompoundBrandBackground:Qn,colorCompoundBrandBackgroundHover:Zn,colorCompoundBrandBackgroundPressed:Jn,colorBrandBackgroundStatic:es,colorBrandBackground2:ts,colorBrandBackgroundInverted:os,colorBrandBackgroundInvertedHover:rs,colorBrandBackgroundInvertedPressed:is,colorBrandBackgroundInvertedSelected:as,colorNeutralStrokeAccessible:ns,colorNeutralStrokeAccessibleHover:ss,colorNeutralStrokeAccessiblePressed:ls,colorNeutralStrokeAccessibleSelected:ds,colorNeutralStroke1:cs,colorNeutralStroke1Hover:hs,colorNeutralStroke1Pressed:us,colorNeutralStroke1Selected:ps,colorNeutralStroke2:gs,colorNeutralStroke3:bs,colorNeutralStrokeOnBrand:fs,colorNeutralStrokeOnBrand2:ms,colorNeutralStrokeOnBrand2Hover:vs,colorNeutralStrokeOnBrand2Pressed:ys,colorNeutralStrokeOnBrand2Selected:xs,colorBrandStroke1:ks,colorBrandStroke2:$s,colorCompoundBrandStroke:ws,colorCompoundBrandStrokeHover:Bs,colorCompoundBrandStrokePressed:Cs,colorNeutralStrokeDisabled:Ss,colorNeutralStrokeInvertedDisabled:Ps,colorTransparentStroke:Ts,colorTransparentStrokeInteractive:Is,colorTransparentStrokeDisabled:Fs,colorStrokeFocus1:As,colorStrokeFocus2:zs,colorNeutralShadowAmbient:Ns,colorNeutralShadowKey:Ls,colorNeutralShadowAmbientLighter:Ds,colorNeutralShadowKeyLighter:Es,colorNeutralShadowAmbientDarker:Rs,colorNeutralShadowKeyDarker:Os,colorBrandShadowAmbient:Ms,colorBrandShadowKey:Hs,colorPaletteRedBackground1:Vs,colorPaletteRedBackground2:_s,colorPaletteRedBackground3:js,colorPaletteRedForeground1:Gs,colorPaletteRedForeground2:qs,colorPaletteRedForeground3:Xs,colorPaletteRedBorderActive:Ws,colorPaletteRedBorder1:Us,colorPaletteRedBorder2:Ys,colorPaletteGreenBackground1:Ks,colorPaletteGreenBackground2:Qs,colorPaletteGreenBackground3:Zs,colorPaletteGreenForeground1:Js,colorPaletteGreenForeground2:el,colorPaletteGreenForeground3:tl,colorPaletteGreenBorderActive:ol,colorPaletteGreenBorder1:rl,colorPaletteGreenBorder2:il,colorPaletteDarkOrangeBackground1:al,colorPaletteDarkOrangeBackground2:nl,colorPaletteDarkOrangeBackground3:sl,colorPaletteDarkOrangeForeground1:ll,colorPaletteDarkOrangeForeground2:dl,colorPaletteDarkOrangeForeground3:cl,colorPaletteDarkOrangeBorderActive:hl,colorPaletteDarkOrangeBorder1:ul,colorPaletteDarkOrangeBorder2:pl,colorPaletteYellowBackground1:gl,colorPaletteYellowBackground2:bl,colorPaletteYellowBackground3:fl,colorPaletteYellowForeground1:ml,colorPaletteYellowForeground2:vl,colorPaletteYellowForeground3:yl,colorPaletteYellowBorderActive:xl,colorPaletteYellowBorder1:kl,colorPaletteYellowBorder2:$l,colorPaletteBerryBackground1:wl,colorPaletteBerryBackground2:Bl,colorPaletteBerryBackground3:Cl,colorPaletteBerryForeground1:Sl,colorPaletteBerryForeground2:Pl,colorPaletteBerryForeground3:Tl,colorPaletteBerryBorderActive:Il,colorPaletteBerryBorder1:Fl,colorPaletteBerryBorder2:Al,colorPaletteLightGreenBackground1:zl,colorPaletteLightGreenBackground2:Nl,colorPaletteLightGreenBackground3:Ll,colorPaletteLightGreenForeground1:Dl,colorPaletteLightGreenForeground2:El,colorPaletteLightGreenForeground3:Rl,colorPaletteLightGreenBorderActive:Ol,colorPaletteLightGreenBorder1:Ml,colorPaletteLightGreenBorder2:Hl,colorPaletteMarigoldBackground1:Vl,colorPaletteMarigoldBackground2:_l,colorPaletteMarigoldBackground3:jl,colorPaletteMarigoldForeground1:Gl,colorPaletteMarigoldForeground2:ql,colorPaletteMarigoldForeground3:Xl,colorPaletteMarigoldBorderActive:Wl,colorPaletteMarigoldBorder1:Ul,colorPaletteMarigoldBorder2:Yl,colorPaletteDarkRedBackground2:Kl,colorPaletteDarkRedForeground2:Ql,colorPaletteDarkRedBorderActive:Zl,colorPaletteCranberryBackground2:Jl,colorPaletteCranberryForeground2:ed,colorPaletteCranberryBorderActive:td,colorPalettePumpkinBackground2:od,colorPalettePumpkinForeground2:rd,colorPalettePumpkinBorderActive:id,colorPalettePeachBackground2:ad,colorPalettePeachForeground2:nd,colorPalettePeachBorderActive:sd,colorPaletteGoldBackground2:ld,colorPaletteGoldForeground2:dd,colorPaletteGoldBorderActive:cd,colorPaletteBrassBackground2:hd,colorPaletteBrassForeground2:ud,colorPaletteBrassBorderActive:pd,colorPaletteBrownBackground2:gd,colorPaletteBrownForeground2:bd,colorPaletteBrownBorderActive:fd,colorPaletteForestBackground2:md,colorPaletteForestForeground2:vd,colorPaletteForestBorderActive:yd,colorPaletteSeafoamBackground2:xd,colorPaletteSeafoamForeground2:kd,colorPaletteSeafoamBorderActive:$d,colorPaletteDarkGreenBackground2:wd,colorPaletteDarkGreenForeground2:Bd,colorPaletteDarkGreenBorderActive:Cd,colorPaletteLightTealBackground2:Sd,colorPaletteLightTealForeground2:Pd,colorPaletteLightTealBorderActive:Td,colorPaletteTealBackground2:Id,colorPaletteTealForeground2:Fd,colorPaletteTealBorderActive:Ad,colorPaletteSteelBackground2:zd,colorPaletteSteelForeground2:Nd,colorPaletteSteelBorderActive:Ld,colorPaletteBlueBackground2:Dd,colorPaletteBlueForeground2:Ed,colorPaletteBlueBorderActive:Rd,colorPaletteRoyalBlueBackground2:Od,colorPaletteRoyalBlueForeground2:Md,colorPaletteRoyalBlueBorderActive:Hd,colorPaletteCornflowerBackground2:Vd,colorPaletteCornflowerForeground2:_d,colorPaletteCornflowerBorderActive:jd,colorPaletteNavyBackground2:Gd,colorPaletteNavyForeground2:qd,colorPaletteNavyBorderActive:Xd,colorPaletteLavenderBackground2:Wd,colorPaletteLavenderForeground2:Ud,colorPaletteLavenderBorderActive:Yd,colorPalettePurpleBackground2:Kd,colorPalettePurpleForeground2:Qd,colorPalettePurpleBorderActive:Zd,colorPaletteGrapeBackground2:Jd,colorPaletteGrapeForeground2:ec,colorPaletteGrapeBorderActive:tc,colorPaletteLilacBackground2:oc,colorPaletteLilacForeground2:rc,colorPaletteLilacBorderActive:ic,colorPalettePinkBackground2:ac,colorPalettePinkForeground2:nc,colorPalettePinkBorderActive:sc,colorPaletteMagentaBackground2:lc,colorPaletteMagentaForeground2:dc,colorPaletteMagentaBorderActive:cc,colorPalettePlumBackground2:hc,colorPalettePlumForeground2:uc,colorPalettePlumBorderActive:pc,colorPaletteBeigeBackground2:gc,colorPaletteBeigeForeground2:bc,colorPaletteBeigeBorderActive:fc,colorPaletteMinkBackground2:mc,colorPaletteMinkForeground2:vc,colorPaletteMinkBorderActive:yc,colorPalettePlatinumBackground2:xc,colorPalettePlatinumForeground2:kc,colorPalettePlatinumBorderActive:$c,colorPaletteAnchorBackground2:wc,colorPaletteAnchorForeground2:Bc,colorPaletteAnchorBorderActive:Cc,colorPaletteRedForegroundInverted:Sc,colorPaletteGreenForegroundInverted:Pc,colorPaletteYellowForegroundInverted:Tc,shadow2:Ic,shadow4:Fc,shadow8:Ac,shadow16:zc,shadow28:Nc,shadow64:Lc,shadow2Brand:Dc,shadow4Brand:Ec,shadow8Brand:Rc,shadow16Brand:Oc,shadow28Brand:Mc,shadow64Brand:Hc});const _c=j`
5
- ${Br("block")}
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")}
6
6
 
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${wi} ${$i};border-radius:${Er};font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr};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:${ta};background:${Dn};line-height:${Zr};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:${Dr}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${ki};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${wi}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${ki};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Dr};outline:none;border:2px solid ${As};box-shadow:inset 0 0 0 1px ${zs}}:host([disabled]) .button{color:${xa}}: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:${_r};line-height:${Zr}}:host([size='small']) .heading{font-size:${Vr};line-height:${Qr}}:host([size='large']) .heading{font-size:${jr};line-height:${Jr}}:host([size='extra-large']) .heading{font-size:${Gr};line-height:${ei}}: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}`,jc=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>')}),Gc=Fr.compose({name:Tr.prefix+"-accordion-item",template:jc,styles:_c});class qc 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],qc.prototype,"appearance",void 0),Je([De],qc.prototype,"shape",void 0),Je([De],qc.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],qc.prototype,"iconOnly",void 0),Je([De({mode:"boolean"})],qc.prototype,"disabled",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],qc.prototype,"disabledFocusable",void 0);const Xc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Wc={circular:"circular",rounded:"rounded",square:"square"},Uc={small:"small",medium:"medium",large:"large"},Yc=Xc,Kc=Wc,Qc=Uc,Zc=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>`}(),Jc=j`
8
- ${Br("inline-flex")}
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")}
9
9
 
10
- :host{--icon-spacing:${xi};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:${en};color:${ta};border:${pi} solid ${cs};padding:0 ${wi};min-width:96px;border-radius:${Er};font-size:${_r};font-family:${ni};font-weight:${hi};line-height:${Zr};transition-duration:${Hi};transition-property:background,border,color;transition-timing-function:${Ji};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${tn};color:${oa};border-color:${hs}}:host(:hover:active) .control{background-color:${on};border-color:${us};color:${ra};outline-style:none}:host .control:focus-visible{border-color:${Ts};outline:${gi} solid ${Ts};box-shadow:${Fc},0 0 0 2px ${zs}}@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:${yi}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${ki};border-radius:${Dr};font-size:${Vr};line-height:${Qr};font-weight:${di}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${Rr};padding:0 ${Bi};font-size:${jr};line-height:${Jr}}: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:${Mr}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${Lr}}:host([appearance='primary']) .control{background-color:${Wn};color:${_a};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Un}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${_a}}:host([appearance='primary']:hover:active) .control{background-color:${Yn}}:host([appearance='primary']) .control:focus-visible{border-color:${_a};box-shadow:${Ic},0 0 0 2px ${zs}}: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:${Dn}}:host([appearance='outline']:hover) .control{background-color:${En}}:host([appearance='outline']:hover:active) .control{background-color:${Rn}}: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:${Dn}}:host([appearance='subtle']) .control{background-color:${Bn};color:${aa};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Cn};color:${na};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Sn};color:${sa};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:${Dn};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${da}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${ca}}:host([appearance='transparent']) .control{background-color:${Dn};color:${aa}}:host([appearance='transparent']:hover) .control{background-color:${En};color:${da}}:host([appearance='transparent']:hover:active) .control{background-color:${Rn};color:${ca}}: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:${Dn}}: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:${Mn};border-color:${Ss};color:${xa};cursor:not-allowed}`,eh=j`
12
- ${Jc}
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}
13
13
 
14
- .content{text-align:center}`,th=qc.compose({name:Tr.prefix+"-anchor-button",template:Zc,styles:eh,shadowOptions:{delegatesFocus:!0}}),oh=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,rh=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,ih=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ah=/\s+/g,nh=/[\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 sh(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(oh,"")).replace(rh,"")).replace(ah," ")).trim()}(e),nh.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&ih.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 lh={active:"active",inactive:"inactive"},dh={circular:"circular",square:"square"},ch={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},hh={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"},uh={neutral:"neutral",brand:"brand",colorful:"colorful",...hh},ph={_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 gh extends Qe{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===uh.colorful?gh.colors[bh(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%gh.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:sh(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}gh.colors=Object.values(hh),Je([De],gh.prototype,"name",void 0),Je([De],gh.prototype,"initials",void 0),Je([De({converter:Ne})],gh.prototype,"size",void 0),Je([De],gh.prototype,"shape",void 0),Je([De],gh.prototype,"active",void 0),Je([De],gh.prototype,"appearance",void 0),Je([De],gh.prototype,"color",void 0),Je([De({attribute:"color-id"})],gh.prototype,"colorId",void 0);const bh=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},fh=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 mh=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():fh}</slot><slot name="badge"></slot></template>`,vh=Qi,yh=Zi,xh=ea,kh=j`
15
- ${Br("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${ni};font-weight:${hi};font-size:${_r};border-radius:${Mr};color:${ua};background-color:${kn};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:${Mr}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${pi} ${en}}: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 ${gi} ${en}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Hr};font-weight:${di}}: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:${Vr}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${jr}}: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:${Gr}}: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:${qr}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Er}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Dr}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Rr}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Or}}:host([data-color='brand']){color:${Ea};background-color:${es}}:host([data-color='dark-red']){color:${Ql};background-color:${Kl}}:host([data-color='cranberry']){color:${ed};background-color:${Jl}}:host([data-color='red']){color:${qs};background-color:${_s}}:host([data-color='pumpkin']){color:${rd};background-color:${od}}:host([data-color='peach']){color:${nd};background-color:${ad}}:host([data-color='marigold']){color:${ql};background-color:${_l}}:host([data-color='gold']){color:${dd};background-color:${ld}}:host([data-color='brass']){color:${ud};background-color:${hd}}:host([data-color='brown']){color:${bd};background-color:${gd}}:host([data-color='forest']){color:${vd};background-color:${md}}:host([data-color='seafoam']){color:${kd};background-color:${xd}}:host([data-color='dark-green']){color:${Bd};background-color:${wd}}:host([data-color='light-teal']){color:${Pd};background-color:${Sd}}:host([data-color='teal']){color:${Fd};background-color:${Id}}:host([data-color='steel']){color:${Nd};background-color:${zd}}:host([data-color='blue']){color:${Ed};background-color:${Dd}}:host([data-color='royal-blue']){color:${Md};background-color:${Od}}:host([data-color='cornflower']){color:${_d};background-color:${Vd}}:host([data-color='navy']){color:${qd};background-color:${Gd}}:host([data-color='lavender']){color:${Ud};background-color:${Wd}}:host([data-color='purple']){color:${Qd};background-color:${Kd}}:host([data-color='grape']){color:${ec};background-color:${Jd}}:host([data-color='lilac']){color:${rc};background-color:${oc}}:host([data-color='pink']){color:${nc};background-color:${ac}}:host([data-color='magenta']){color:${dc};background-color:${lc}}:host([data-color='plum']){color:${uc};background-color:${hc}}:host([data-color='beige']){color:${bc};background-color:${gc}}:host([data-color='mink']){color:${vc};background-color:${mc}}:host([data-color='platinum']){color:${kc};background-color:${xc}}:host([data-color='anchor']){color:${Bc};background-color:${wc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${qi},${Hi};transition-delay:${yh},${xh}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${qi},${Gi};transition-delay:${yh},${xh}}:host([active])::before{box-shadow:${Ac};border-style:solid;border-color:${es}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${gi});border-width:${gi}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${bi});border-width:${bi}}: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 * ${fi});border-width:${fi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Fc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${zc}}: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:${Nc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${qi},${Hi};transition-delay:${vh},${xh}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${qi},${Gi};transition-delay:${vh},${xh}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,$h=gh.compose({name:Tr.prefix+"-avatar",template:mh,styles:kh}),wh={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Bh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Ch={circular:"circular",rounded:"rounded",square:"square"},Sh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Ph extends Qe{constructor(){super(...arguments),this.appearance=wh.filled,this.color=Bh.brand}}function Th(e={}){return ke` ${it(e)}<slot>${Ze(e.defaultContent)}</slot>${rt(e)} `}Je([De],Ph.prototype,"appearance",void 0),Je([De],Ph.prototype,"color",void 0),Je([De],Ph.prototype,"shape",void 0),Je([De],Ph.prototype,"size",void 0),ut(Ph,ot);const Ih=Th(),Fh=vi,Ah=j.partial`
16
- ${Br("inline-flex")} :host {
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 {
17
17
  position: relative;
18
18
  box-sizing: border-box;
19
19
  align-items: center;
20
20
  justify-content: center;
21
- font-family: ${ni};
22
- font-weight: ${hi};
23
- font-size: ${Vr};
24
- line-height: ${Qr};
21
+ font-family: ${di};
22
+ font-weight: ${gi};
23
+ font-size: ${Gr};
24
+ line-height: ${ei};
25
25
  min-width: 20px;
26
26
  height: 20px;
27
- padding-inline: calc(${yi} + ${Fh});
28
- border-radius: ${Mr};
29
- border-color: ${Ts};
30
- background-color: ${Wn};
31
- color: ${_a};
27
+ padding-inline: calc(${$i} + ${Nh});
28
+ border-radius: ${_r};
29
+ border-color: ${As};
30
+ background-color: ${Kn};
31
+ color: ${qa};
32
32
  contain: content;
33
33
  }
34
34
 
@@ -44,11 +44,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
44
44
  bottom: 0;
45
45
  right: 0;
46
46
  border-style: solid;
47
- border-width: ${pi};
47
+ border-width: ${fi};
48
48
  border-color: inherit;
49
49
  border-radius: inherit;
50
50
  }
51
- `,zh=j.partial`
51
+ `,Dh=j.partial`
52
52
  :host([size='tiny']) {
53
53
  width: 6px;
54
54
  height: 6px;
@@ -74,9 +74,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
74
74
  :host([size='small']) {
75
75
  min-width: 16px;
76
76
  height: 16px;
77
- font-size: ${Hr};
78
- line-height: ${Kr};
79
- padding-inline: calc(${vi} + ${Fh});
77
+ font-size: ${jr};
78
+ line-height: ${Jr};
79
+ padding-inline: calc(${ki} + ${Nh});
80
80
  }
81
81
  :host([size='small']) ::slotted(svg) {
82
82
  font-size: 12px;
@@ -84,9 +84,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
84
84
  :host([size='large']) {
85
85
  min-width: 24px;
86
86
  height: 24px;
87
- font-size: ${Vr};
88
- line-height: ${Qr};
89
- padding-inline: calc(${yi} + ${Fh});
87
+ font-size: ${Gr};
88
+ line-height: ${ei};
89
+ padding-inline: calc(${$i} + ${Nh});
90
90
  }
91
91
  :host([size='large']) ::slotted(svg) {
92
92
  font-size: 16px;
@@ -94,245 +94,247 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
94
94
  :host([size='extra-large']) {
95
95
  min-width: 32px;
96
96
  height: 32px;
97
- font-size: ${Vr};
98
- line-height: ${Qr};
99
- padding-inline: calc(${xi} + ${Fh});
97
+ font-size: ${Gr};
98
+ line-height: ${ei};
99
+ padding-inline: calc(${wi} + ${Nh});
100
100
  }
101
101
  :host([size='extra-large']) ::slotted(svg) {
102
102
  font-size: 20px;
103
103
  }
104
- `,Nh=j.partial`
104
+ `,Eh=j.partial`
105
105
  :host([color='danger']) {
106
- background-color: ${js};
107
- color: ${_a};
106
+ background-color: ${Xs};
107
+ color: ${qa};
108
108
  }
109
109
 
110
110
  :host([color='important']) {
111
- background-color: ${ta};
112
- color: ${en};
111
+ background-color: ${ia};
112
+ color: ${rn};
113
113
  }
114
114
 
115
115
  :host([color='informative']) {
116
- background-color: ${mn};
117
- color: ${ua};
116
+ background-color: ${xn};
117
+ color: ${ba};
118
118
  }
119
119
 
120
120
  :host([color='severe']) {
121
- background-color: ${sl};
122
- color: ${_a};
121
+ background-color: ${cl};
122
+ color: ${qa};
123
123
  }
124
124
 
125
125
  :host([color='subtle']) {
126
- background-color: ${en};
127
- color: ${ta};
126
+ background-color: ${rn};
127
+ color: ${ia};
128
128
  }
129
129
 
130
130
  :host([color='success']) {
131
- background-color: ${Zs};
132
- color: ${_a};
131
+ background-color: ${tl};
132
+ color: ${qa};
133
133
  }
134
134
 
135
135
  :host([color='warning']) {
136
- background-color: ${fl};
137
- color: ${ta};
136
+ background-color: ${yl};
137
+ color: ${ia};
138
138
  }
139
- `,Lh=j.partial`
139
+ `,Rh=j.partial`
140
140
  :host([appearance='ghost']) {
141
- color: ${Wn};
141
+ color: ${Kn};
142
142
  background-color: initial;
143
143
  }
144
144
 
145
145
  :host([appearance='ghost'][color='danger']) {
146
- color: ${Xs};
146
+ color: ${Ys};
147
147
  }
148
148
 
149
149
  :host([appearance='ghost'][color='important']) {
150
- color: ${ta};
150
+ color: ${ia};
151
151
  }
152
152
 
153
153
  :host([appearance='ghost'][color='informative']) {
154
- color: ${ua};
154
+ color: ${ba};
155
155
  }
156
156
 
157
157
  :host([appearance='ghost'][color='severe']) {
158
- color: ${cl};
158
+ color: ${pl};
159
159
  }
160
160
 
161
161
  :host([appearance='ghost'][color='subtle']) {
162
- color: ${Ra};
162
+ color: ${Ha};
163
163
  }
164
164
 
165
165
  :host([appearance='ghost'][color='success']) {
166
- color: ${tl};
166
+ color: ${il};
167
167
  }
168
168
 
169
169
  :host([appearance='ghost'][color='warning']) {
170
- color: ${vl};
170
+ color: ${kl};
171
171
  }
172
- `,Dh=j.partial`
172
+ `,Oh=j.partial`
173
173
  :host([appearance='outline']) {
174
174
  border-color: currentColor;
175
- color: ${Na};
175
+ color: ${Ea};
176
176
  background-color: initial;
177
177
  }
178
178
 
179
179
  :host([appearance='outline'][color='danger']) {
180
- color: ${Xs};
180
+ color: ${Ys};
181
181
  }
182
182
 
183
183
  :host([appearance='outline'][color='important']) {
184
- color: ${ua};
185
- border-color: ${ns};
184
+ color: ${ba};
185
+ border-color: ${ds};
186
186
  }
187
187
 
188
188
  :host([appearance='outline'][color='informative']) {
189
- color: ${ua};
190
- border-color: ${gs};
189
+ color: ${ba};
190
+ border-color: ${ms};
191
191
  }
192
192
 
193
193
  :host([appearance='outline'][color='severe']) {
194
- color: ${cl};
194
+ color: ${pl};
195
195
  }
196
196
 
197
197
  :host([appearance='outline'][color='subtle']) {
198
- color: ${Ea};
198
+ color: ${Ma};
199
199
  }
200
200
 
201
201
  :host([appearance='outline'][color='success']) {
202
- color: ${el};
202
+ color: ${rl};
203
203
  }
204
204
 
205
205
  :host([appearance='outline'][color='warning']) {
206
- color: ${vl};
206
+ color: ${kl};
207
207
  }
208
- `,Eh=j.partial`
208
+ `,Mh=j.partial`
209
209
  :host([appearance='tint']) {
210
- background-color: ${ts};
211
- color: ${La};
212
- border-color: ${$s};
210
+ background-color: ${is};
211
+ color: ${Ra};
212
+ border-color: ${Cs};
213
213
  }
214
214
 
215
215
  :host([appearance='tint'][color='danger']) {
216
- background-color: ${Vs};
217
- color: ${Gs};
218
- border-color: ${Us};
216
+ background-color: ${Gs};
217
+ color: ${Ws};
218
+ border-color: ${Qs};
219
219
  }
220
220
 
221
221
  :host([appearance='tint'][color='important']) {
222
- background-color: ${ua};
223
- color: ${en};
224
- border-color: ${Ts};
222
+ background-color: ${ba};
223
+ color: ${rn};
224
+ border-color: ${As};
225
225
  }
226
226
 
227
227
  :host([appearance='tint'][color='informative']) {
228
- background-color: ${pn};
229
- color: ${ua};
230
- border-color: ${gs};
228
+ background-color: ${fn};
229
+ color: ${ba};
230
+ border-color: ${ms};
231
231
  }
232
232
 
233
233
  :host([appearance='tint'][color='severe']) {
234
- background-color: ${al};
235
- color: ${ll};
236
- border-color: ${ul};
234
+ background-color: ${ll};
235
+ color: ${hl};
236
+ border-color: ${bl};
237
237
  }
238
238
 
239
239
  :host([appearance='tint'][color='subtle']) {
240
- background-color: ${en};
241
- color: ${ua};
242
- border-color: ${gs};
240
+ background-color: ${rn};
241
+ color: ${ba};
242
+ border-color: ${ms};
243
243
  }
244
244
 
245
245
  :host([appearance='tint'][color='success']) {
246
- background-color: ${Ks};
247
- color: ${Js};
248
- border-color: ${il};
246
+ background-color: ${Js};
247
+ color: ${ol};
248
+ border-color: ${sl};
249
249
  }
250
250
 
251
251
  :host([appearance='tint'][color='warning']) {
252
- background-color: ${gl};
253
- color: ${vl};
254
- border-color: ${kl};
252
+ background-color: ${ml};
253
+ color: ${kl};
254
+ border-color: ${Bl};
255
255
  }
256
- `,Rh=j`
257
- :host([shape='square']){border-radius:${Lr}}:host([shape='rounded']){border-radius:${Er}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Dr}}${zh}
258
- ${Nh}
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}
258
+ ${Eh}
259
+ ${Rh}
260
+ ${Oh}
261
+ ${Mh}
259
262
  ${Lh}
260
- ${Dh}
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}
261
273
  ${Eh}
262
- ${Ah}
263
- `,Oh=Ph.compose({name:Tr.prefix+"-badge",template:Ih,styles:Rh});class Mh 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],Mh.prototype,"appearance",void 0),Je([De],Mh.prototype,"shape",void 0),Je([De],Mh.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Mh.prototype,"iconOnly",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Mh.prototype,"disabledFocusable",void 0);const Hh=Ft(),Vh=Mh.compose({name:Tr.prefix+"-button",template:Hh,styles:Jc,shadowOptions:{delegatesFocus:!0}});class _h extends Mh{}const jh=Xc,Gh=Wc,qh=Uc;const Xh=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>`}(),Wh=j`
264
- ${Jc}
265
-
266
- :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${_r};line-height:${Zr}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${aa};line-height:100%;font-size:${Vr};font-weight:${di}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${na}}:host(:active) ::slotted([slot='description']){color:${sa}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
267
- ::slotted([slot='description']){color:${_a}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
268
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${aa}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${da}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${ca}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
269
- ::slotted([slot='description']){color:${xa}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${xi}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${yi}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${ki}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${jr};line-height:${Jr}}:host([size='large']) ::slotted([slot='description']){font-size:${_r}}`,Uh=_h.compose({name:Tr.prefix+"-compound-button",template:Xh,styles:Wh,shadowOptions:{delegatesFocus:!0}});class Yh 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],Yh.prototype,"appearance",void 0),Je([De],Yh.prototype,"color",void 0),Je([De],Yh.prototype,"shape",void 0),Je([De],Yh.prototype,"size",void 0),Je([De({converter:Ne})],Yh.prototype,"count",void 0),Je([De({attribute:"overflow-count",converter:Ne})],Yh.prototype,"overflowCount",void 0),Je([De({attribute:"show-zero",mode:"boolean"})],Yh.prototype,"showZero",void 0),Je([De({mode:"boolean"})],Yh.prototype,"dot",void 0),ut(Yh,ot);const Kh={filled:"filled",ghost:"ghost"},Qh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Zh={circular:"circular",rounded:"rounded"},Jh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const eu=Th({defaultContent:ke`${e=>e.setCount()}`}),tu=j`
270
- :host([shape='rounded']){border-radius:${Er}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${Dr}}${zh}
271
- ${Nh}
274
+ ${Rh}
272
275
  ${Lh}
273
- ${Ah}
274
-
275
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,ou=Yh.compose({name:Tr.prefix+"-counter-badge",template:eu,styles:tu});class ru extends Wo{}Je([De({attribute:"align-content"})],ru.prototype,"alignContent",void 0),Je([De],ru.prototype,"appearance",void 0),Je([De({mode:"boolean"})],ru.prototype,"inset",void 0);const iu={center:"center",start:"start",end:"end"},au={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},nu=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,su=j`
276
- ${Br("flex")}
277
-
278
- :host{contain:content}:host::after,:host::before{align-self:center;background:${gs};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${pi}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${aa};font-family:${ni};font-size:${Vr};font-weight:${di};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:${pi};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:${cs}}:host([appearance='strong']) ::slotted(*){color:${ta}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${ks}}:host([appearance='brand']) ::slotted(*){color:${Na}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${bs}}:host([appearance='subtle']) ::slotted(*){color:${ua}}`,lu=ru.compose({name:Tr.prefix+"-divider",template:nu,styles:su});class du extends Qe{}Je([De({mode:"boolean"})],du.prototype,"block",void 0),Je([De({mode:"boolean"})],du.prototype,"bordered",void 0),Je([De({mode:"boolean"})],du.prototype,"shadow",void 0),Je([De],du.prototype,"fit",void 0),Je([De],du.prototype,"shape",void 0);const cu={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},hu={circular:"circular",rounded:"rounded",square:"square"},uu=ke`<slot></slot>`,pu=j`
279
- :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:${pi} solid ${gs}}: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:${Fc}}:host([shape='circular']) ::slotted(img){border-radius:${Mr}}:host([shape='rounded']) ::slotted(img){border-radius:${Er}}`,gu=du.compose({name:Tr.prefix+"-image",template:uu,styles:pu});class bu extends Qe{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Je([De],bu.prototype,"size",void 0),Je([De],bu.prototype,"weight",void 0),Je([De({mode:"boolean"})],bu.prototype,"disabled",void 0),Je([De({mode:"boolean"})],bu.prototype,"required",void 0);const fu=j`
280
- ${Br("flex")}
281
-
282
- :host{font-family:${ni};font-size:${_r};line-height:${Zr};font-weight:${di};color:${ta}}.asterisk{color:${Gs};margin-left:${yi}}:host([size='small']){font-size:${Vr};line-height:${Qr}}:host([size='large']){font-size:${jr};line-height:${Jr};font-weight:${hi}}:host([weight='semibold']){font-weight:${hi}}:host([disabled]),:host([disabled]) .asterisk{color:${xa}}`;const mu=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,vu=bu.compose({name:Tr.prefix+"-label",template:mu,styles:fu});class yu extends Mh{}const xu=Xc,ku=Wc,$u=Uc,wu=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>')}),Bu=yu.compose({name:Tr.prefix+"-menu-button",template:wu,styles:Jc,shadowOptions:{delegatesFocus:!0}});class Cu extends Yo{}const Su=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>'),Pu=function(e={}){return ke`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Uo.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===Uo.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===Uo.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:Su,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:Su}),Tu=j`
283
- ${Br("grid")}
284
-
285
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${en};font:${di} ${_r} / ${Zr} ${ni};border-radius:${Er};color:${aa};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${tn}}.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:${aa}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Gr};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${ua};font:${di} ${Vr} / ${Qr} ${ni};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:${na}}:host([icon]:hover) ::slotted([slot='start']){color:${Aa}}:host(:active){background-color:${rn}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${sa}}:host(:active) ::slotted([slot='start']){color:${za}}:host([disabled]){background-color:${Mn}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${xa}}: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}`,Iu=Cu.compose({name:Tr.prefix+"-menu-item",template:Pu,styles:Tu});class Fu extends Ko{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=Fu.elementIndent(t);return Math.max(e,o)},0);e instanceof Cu&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Uo.menuitem?o?2:1:o?1:0}}const Au=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>`,zu=j`
286
- ${Br("flex")}
287
-
288
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${en};border:1px solid ${Ts};border-radius:${Er};box-shadow:${zc};padding:4px;row-gap:2px}`,Nu=Fu.compose({name:Tr.prefix+"-menu-list",template:Au,styles:zu});class Lu extends ir{constructor(){super(...arguments),this.validationState=null}}Je([De],Lu.prototype,"thickness",void 0),Je([De],Lu.prototype,"shape",void 0),Je([De({attribute:"validation-state"})],Lu.prototype,"validationState",void 0);const Du={medium:"medium",large:"large"},Eu={rounded:"rounded",square:"square"},Ru={success:"success",warning:"warning",error:"error"},Ou=j`
289
- ${Br("flex")}
290
-
291
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Er};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:${js}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
292
- to right,${_s} 0%,${js} 50%,${_s}
293
- )}:host([validation-state='warning']) .determinate{background-color:${sl}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
294
- to right,${nl} 0%,${sl} 50%,${nl}
295
- )}:host([validation-state='success']) .determinate{background-color:${Zs}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
296
- to right,${Qs} 0%,${Zs} 50%,${Qs}
297
- )}.progress{background-color:${kn};border-radius:${Er};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Qn};border-radius:${Er};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
298
- to right,${ts} 0%,${Qn} 50%,${ts}
299
- );border-radius:${Er};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(
300
- to right,${ts} 0%,${Qn} 50%,${ts}
301
- );border-radius:${Er};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}}`,Mu=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>'}),Hu=Lu.compose({name:Tr.prefix+"-progress-bar",template:Mu,styles:Ou});class Vu extends dr{}const _u=j`
302
- ${Br("inline-grid")}
303
-
304
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${yi};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${ua});padding-inline-end:${ki};--control-border-color:${ns};--checked-indicator-background-color:${Fa};--state-color:${ua}}:host([disabled]){--control-border-color:${xa};--checked-indicator-background-color:${xa};--state-color:${xa}}.label{cursor:pointer;font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${ns});border-radius:${Mr};display:flex;height:16px;justify-content:center;margin:${zi} ${ki};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${Mr};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${aa}}:host(:focus-visible){border-radius:${Dr};box-shadow:0 0 0 3px ${zs};outline:1px solid ${As}}:host(:hover) .control{border-color:${ss}}:host(:active) .control{border-color:${ls}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${ns})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Fa})}:host([aria-checked='true']:hover) .control{border-color:${Bs}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${Bs}}:host([aria-checked='true']:active) .control{border-color:${Cs}}:host([aria-checked='true']:active) .checked-indicator{background:${za}}:host([disabled]){color:${xa};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${xa}}:host([disabled]) .checked-indicator{background:${xa}}`,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:nr})}></slot></label></template>`}({checkedIndicator:ke`<div part="checked-indicator" class="checked-indicator"></div>`}),Gu=Vu.compose({name:Tr.prefix+"-radio",template:ju,styles:_u});class qu extends cr{constructor(){super(...arguments),this.stacked=!1}}Je([De({mode:"boolean"})],qu.prototype,"stacked",void 0);const Xu=j`
305
- ${Br("flex")}
306
-
307
- :host{align-items:flex-start;flex-direction:column;row-gap:${zi}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${xa};--checked-indicator-background-color:${xa};--state-color:${xa}}::slotted([slot='label']){color:${ta};padding:${zi} ${ki} ${zi} ${yi};font:${di} ${_r} / ${Zr} ${ni};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:${ki}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${ki};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Wu=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===ar.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ie({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,Uu=qu.compose({name:Tr.prefix+"-radio-group",template:Wu,styles:Xu});class Yu extends fr{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`
308
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],Yu.prototype,"size",void 0);const Ku={small:"small",medium:"medium"},Qu=j`
309
- ${Br("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:${Dr};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 ${zs};outline:1px solid ${As}}.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:${Wn};border-radius:${Mr};box-shadow:inset 0 0 0 var(--thumb-padding) ${en},0 0 0 1px ${cs}}.thumb-cursor:hover{background-color:${Zn}}.thumb-cursor:active{background-color:${Jn}}:host([disabled]) .thumb-cursor{background-color:${xa};box-shadow:inset 0 0 0 var(--thumb-padding) ${en},0 0 0 1px ${Ss}}.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:${ns};border-radius:${Er};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${Er};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
310
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${en} calc(var(--step-rate) - 1px),${en} var(--step-rate)
311
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Mn}}: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:${Qn};position:absolute;height:100%;left:0;border-radius:${Er}}:host([disabled]) .track-start{background-color:${xa}}:host(:hover) .track-start{background-color:${Zn}}:host([disabled]:hover) .track-start{background-color:${xa}}.track-start:active{background-color:${Jn}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,Zu=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>'}),Ju=Yu.compose({name:Tr.prefix+"-slider",template:Zu,styles:Qu});class ep extends rr{}Je([De],ep.prototype,"size",void 0),Je([De],ep.prototype,"appearance",void 0);const tp={primary:"primary",inverted:"inverted"},op={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},rp=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 '}),ip=j`
312
- ${Br("flex")}
313
-
314
- :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:${$s};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${ks};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:${ms}}.indeterminate-indicator-1{stroke:${ks};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:${ms}}@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)}}`,ap=ep.compose({name:Tr.prefix+"-spinner",template:rp,styles:ip});class np extends yr{}Je([De({attribute:"label-position"})],np.prototype,"labelPosition",void 0);const sp={above:"above",after:"after",before:"before"},lp=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>'}),dp=j`
315
- ${Br("inline-flex")}
316
-
317
- :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:${ta};line-height:${Zr};font-size:${_r};font-weight:${di};font-family:${ni};padding:${Fi} ${yi};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${vi};box-sizing:border-box;width:40px;height:20px;background-color:${Dn};border:1px solid ${ns};border-radius:${Mr};outline:none;cursor:pointer;margin:${zi} ${ki}}:host(:hover) .switch{background:none;border-color:${ss}}:host(:active) .switch{border-color:${ls}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Ss};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Qn}}:host([aria-checked='true']:hover) .switch{background:${Zn};border-color:${Zn}}:host([aria-checked='true']:active) .switch{background:${Jn};border-color:${Jn}}:host([aria-checked='true'][disabled]) .switch{background:${Mn};border-color:${Ss}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${ua};transition-duration:${_i};transition-timing-function:${Ji};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Ra};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Oa}}:host([aria-checked='true']:active) .checked-indicator{background:${Ma}}:host(:hover) .checked-indicator{background-color:${pa}}:host(:active) .checked-indicator{background-color:${ga}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${xa}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${xa}}`,cp=np.compose({name:Tr.prefix+"-switch",template:lp,styles:dp}),hp={subtle:"subtle",transparent:"transparent"},up={small:"small",medium:"medium",large:"large"};class pp extends wr{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=hp.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===$r.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===$r.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`
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`
318
320
  :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
319
- :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],pp.prototype,"appearance",void 0),Je([De({mode:"boolean"})],pp.prototype,"disabled",void 0),Je([De],pp.prototype,"size",void 0);const gp=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>`}({}),bp=j`
320
- ${Br("grid")}
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")}
321
323
 
322
- :host{box-sizing:border-box;font-family:${ni};font-size:${_r};line-height:${Zr};color:${aa};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${xa}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${xa}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${xa}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${xa}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${Er}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${xa}}.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:${Cn};color:${oa};fill:${Aa}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Sn};fill:${Sn};color:${ta}}:host([size='small']) ::slotted(fluent-tab){font-size:${_r};line-height:${Zr};padding:${Ai} ${xi}}:host([size='large']) ::slotted(fluent-tab){font-size:${jr};line-height:${Jr};padding:${Di} ${$i}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${ji};transition-timing-function:${Yi}}:host ::slotted(fluent-tab)::after{height:${bi};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${bi};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${bi};border-radius:${Mr};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${bi};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${bi};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:${bi}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Ai};padding-bottom:${Ai}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Ii};padding-bottom:${Ii}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${zi};padding-bottom:${zi}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${xi};left:${xi}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${$i};left:${$i}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${$i};left:${$i}}: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:${Ai};bottom:${Ai}}: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:${zi};bottom:${zi}}: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:${Ni};bottom:${Ni}}`,fp=pp.compose({name:Tr.prefix+"-tabs",template:gp,styles:bp});class mp extends kr{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
323
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const vp=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>`}({}),yp=j`
324
- ${Br("inline-flex")}
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")}
325
327
 
326
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Zr};font-family:${ni};font-size:${_r};color:${aa};fill:currentcolor;grid-row:1;padding:${wi} ${$i};border-radius:${Er}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${ta};font-weight:${hi}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Zr};font-weight:${hi}}:host([aria-selected='true'])::after{background-color:${ws};border-radius:${Mr};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${hs};border-radius:${Mr};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${xa}}::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:${xa};color:${xa}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Dr};box-shadow:0 0 0 3px ${zs};outline:1px solid ${As}}`,xp=mp.compose({name:Tr.prefix+"-tab",template:vp,styles:yp});class kp extends xr{}const $p=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,wp=j`
327
- ${Br("block")}
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")}
328
330
 
329
- :host{box-sizing:border-box;padding:${wi} ${$i}}`,Bp=kp.compose({name:Tr.prefix+"-tab-panel",template:$p,styles:wp});class Cp 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"})],Cp.prototype,"nowrap",void 0),Je([De({mode:"boolean"})],Cp.prototype,"truncate",void 0),Je([De({mode:"boolean"})],Cp.prototype,"italic",void 0),Je([De({mode:"boolean"})],Cp.prototype,"underline",void 0),Je([De({mode:"boolean"})],Cp.prototype,"strikethrough",void 0),Je([De({mode:"boolean"})],Cp.prototype,"block",void 0),Je([De],Cp.prototype,"size",void 0),Je([De],Cp.prototype,"font",void 0),Je([De],Cp.prototype,"weight",void 0),Je([De],Cp.prototype,"align",void 0);const Sp={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Pp={base:"base",numeric:"numeric",monospace:"monospace"},Tp={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Ip={start:"start",end:"end",center:"center",justify:"justify"},Fp=ke`<slot></slot>`,Ap=j`
330
- ${Br("inline")}
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")}
331
333
 
332
- :host{contain:content}::slotted(*){font-family:${ni};font-size:${_r};line-height:${Zr};font-weight:${di};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:${Hr};line-height:${Kr}}:host([size='200']) ::slotted(*){font-size:${Vr};line-height:${Qr}}:host([size='400']) ::slotted(*){font-size:${jr};line-height:${Jr}}:host([size='500']) ::slotted(*){font-size:${Gr};line-height:${ei}}:host([size='600']) ::slotted(*){font-size:${qr};line-height:${ti}}:host([size='700']) ::slotted(*){font-size:${Xr};line-height:${oi}}:host([size='800']) ::slotted(*){font-size:${Wr};line-height:${ri}}:host([size='900']) ::slotted(*){font-size:${Ur};line-height:${ii}}:host([size='1000']) ::slotted(*){font-size:${Yr};line-height:${ai}}:host([font='monospace']) ::slotted(*){font-family:${si}}:host([font='numeric']) ::slotted(*){font-family:${li}}:host([weight='medium']) ::slotted(*){font-weight:${ci}}:host([weight='semibold']) ::slotted(*){font-weight:${hi}}:host([weight='bold']) ::slotted(*){font-weight:${ui}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,zp=Cp.compose({name:Tr.prefix+"-text",template:Fp,styles:Ap});class Np extends er{}Je([De({attribute:"control-size"})],Np.prototype,"controlSize",void 0),Je([De],Np.prototype,"appearance",void 0);const Lp={small:"small",medium:"medium",large:"large"},Dp={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Ep=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:nr})}></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>`}(),Rp=j`
333
- ${Br("block")}
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")}
334
336
 
335
- :host{font-family:${ni};font-size:${_r};font-weight:${di};line-height:${Zr};max-width:400px}.label{display:flex;color:${ta};padding-bottom:${Fi};flex-shrink:0;padding-inline-end:${yi}}.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 ${$i};border:${pi} solid ${cs};border-bottom-color:${ns};border-radius:${Er};gap:${vi}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${Er});border-radius:0 0 ${Er} ${Er};border-bottom:2px solid ${ws};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Mi};transition-delay:${Wi}}.control{width:100%;height:100%;box-sizing:border-box;color:${ta};border-radius:${Er};background:${Dn};font-family:${ni};font-weight:${di};font-size:${_r};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${ya}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ua};font-size:${Gr}}:host ::slotted([slot='start']){padding-right:${vi}}:host ::slotted([slot='end']){padding-left:${vi};gap:${yi}}:host(:hover) .root{border-color:${hs};border-bottom-color:${ss}}:host(:active) .root{border-color:${us}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${_i};transition-delay:${Ki}}:host(:focus-within:active) .root:after{border-bottom-color:${Cs}}:host([appearance='outline']:focus-within) .root{border:${pi} solid ${cs}}:host(:focus-within) .control{color:${ta}}:host([disabled]) .root{background:${Dn};border:${pi} solid ${Ss}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${xa}}::selection{color:${Ra};background-color:${$n}}:host([control-size='small']) .control{font-size:${Vr};font-weight:${di};line-height:${Qr}}:host([control-size='small']) .root{height:24px;gap:${vi};padding:0 ${xi}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${jr}}:host([control-size='large']) .control{font-size:${jr};font-weight:${di};line-height:${Jr}}:host([control-size='large']) .root{height:40px;gap:${ki};padding:0 ${wi}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${qr}}:host([appearance='underline']) .root{background:${Dn};border:0;border-radius:0;border-bottom:${pi} solid ${ns}}:host([appearance='underline']:hover) .root{border-bottom-color:${ss}}:host([appearance='underline']:active) .root{border-bottom-color:${ls}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${ls}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Ss}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${pi} solid ${Ts};box-shadow:${Ic}}:host([appearance='filled-lighter']) .root{background:${en}}:host([appearance='filled-darker']) .root{background:${dn}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Is}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Is};background:${dn}}`,Op=Np.compose({name:Tr.prefix+"-text-input",template:Ep,styles:Rp});class Mp extends Mh{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.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"})],Mp.prototype,"checkedAttribute",void 0),Je([C],Mp.prototype,"defaultChecked",void 0),Je([C],Mp.prototype,"checked",void 0),Je([De({attribute:"current-checked",mode:"boolean"})],Mp.prototype,"currentChecked",void 0);const Hp=Xc,Vp=Wc,_p=Uc,jp=Ft(),Gp=j`
336
- ${Jc}
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}
337
339
 
338
- :host([aria-pressed="true"]) .control{border-color:${cs};background-color:${rn};color:${ta};border-width:${pi}}:host([aria-pressed='true']:hover) .control{border-color:${hs};background-color:${tn}}:host([aria-pressed='true']:active) .control{border-color:${us};background-color:${on}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${Kn};color:${_a}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Un}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Yn}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Pn};color:${la}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Cn};color:${na}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Sn};color:${sa}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${On}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${En}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${Rn}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${ha}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${da}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${ca}}`,qp=Mp.compose({name:Tr.prefix+"-toggle-button",template:jp,styles:Gp,shadowOptions:{delegatesFocus:!0}}),Xp=Object.keys(Vc),Wp=e=>{for(const t of Xp)Vc[t].withDefault(e[t])};export{Cr as Accordion,Fr as AccordionItem,zr as AccordionItemExpandIconPosition,Ar as AccordionItemSize,qc as AnchorButton,Yc as AnchorButtonAppearance,th as AnchorButtonDefinition,Kc as AnchorButtonShape,Qc as AnchorButtonSize,Zc as AnchorButtonTemplate,gh as Avatar,lh as AvatarActive,ch as AvatarAppearance,uh as AvatarColor,$h as AvatarDefinition,hh as AvatarNamedColor,dh as AvatarShape,ph as AvatarSize,kh as AvatarStyles,mh as AvatarTemplate,Ph as Badge,wh as BadgeAppearance,Bh as BadgeColor,Oh as BadgeDefinition,Ch as BadgeShape,Sh as BadgeSize,Rh as BadgeStyles,Ih as BadgeTemplate,Mh as Button,Xc as ButtonAppearance,Vh as ButtonDefinition,Wc as ButtonShape,Uc as ButtonSize,Jc as ButtonStyles,Hh as ButtonTemplate,_h as CompoundButton,jh as CompoundButtonAppearance,Uh as CompoundButtonDefinition,Gh as CompoundButtonShape,qh as CompoundButtonSize,Wh as CompoundButtonStyles,Xh as CompoundButtonTemplate,Yh as CounterBadge,Kh as CounterBadgeAppearance,Qh as CounterBadgeColor,ou as CounterBadgeDefinition,Zh as CounterBadgeShape,Jh as CounterBadgeSize,tu as CounterBadgeStyles,eu as CounterBadgeTemplate,ru as Divider,iu as DividerAlignContent,au as DividerAppearance,lu as DividerDefinition,Xo as DividerOrientation,qo as DividerRole,su as DividerStyles,nu as DividerTemplate,Tr as FluentDesignSystem,du as Image,gu as ImageDefinition,cu as ImageFit,hu as ImageShape,pu as ImageStyles,uu as ImageTemplate,bu as Label,vu as LabelDefinition,fu as LabelStyles,mu as LabelTemplate,yu as MenuButton,xu as MenuButtonAppearance,Bu as MenuButtonDefinition,ku as MenuButtonShape,$u as MenuButtonSize,Jc as MenuButtonStyles,wu as MenuButtonTemplate,Cu as MenuItem,Iu as MenuItemDefinition,Uo as MenuItemRole,Tu as MenuItemStyles,Pu as MenuItemTemplate,Fu as MenuList,Nu as MenuListDefinition,zu as MenuListStyles,Au as MenuListTemplate,Lu as ProgressBar,Hu as ProgressBarDefinition,Eu as ProgressBarShape,Ou as ProgressBarStyles,Mu as ProgressBarTemplate,Du as ProgressBarThickness,Ru as ProgressBarValidationState,Vu as Radio,Gu as RadioDefinition,qu as RadioGroup,Uu as RadioGroupDefinition,ar as RadioGroupOrientation,Xu as RadioGroupStyles,Wu as RadioGroupTemplate,_u as RadioStyles,ju as RadioTemplate,Yu as Slider,Ju as SliderDefinition,hr as SliderOrientation,Ku as SliderSize,Qu as SliderStyles,Zu as SliderTemplate,ep as Spinner,tp as SpinnerAppearance,ap as SpinnerDefinition,op as SpinnerSize,ip as SpinnerStyles,rp as SpinnerTemplate,np as Switch,cp as SwitchDefinition,sp as SwitchLabelPosition,dp as SwitchStyles,lp as SwitchTemplate,mp as Tab,xp as TabDefinition,kp as TabPanel,Bp as TabPanelDefinition,wp as TabPanelStyles,$p as TabPanelTemplate,yp as TabStyles,vp as TabTemplate,pp as Tabs,hp as TabsAppearance,fp as TabsDefinition,$r as TabsOrientation,up as TabsSize,bp as TabsStyles,gp as TabsTemplate,Cp as Text,Ip as TextAlign,zp as TextDefinition,Pp as TextFont,Np as TextInput,Dp as TextInputAppearance,Lp as TextInputControlSize,Op as TextInputDefinition,Rp as TextInputStyles,Ep as TextInputTemplate,Jo as TextInputType,Sp as TextSize,Ap as TextStyles,Fp as TextTemplate,Tp as TextWeight,Mp as ToggleButton,Hp as ToggleButtonAppearance,qp as ToggleButtonDefinition,Vp as ToggleButtonShape,_p as ToggleButtonSize,Gp as ToggleButtonStyles,jp as ToggleButtonTemplate,Ir as accordionDefinition,Gc as accordionItemDefinition,_c as accordionItemStyles,jc as accordionItemTemplate,Pr as accordionStyles,Sr as accordionTemplate,Mr as borderRadiusCircular,Rr as borderRadiusLarge,Er as borderRadiusMedium,Lr as borderRadiusNone,Dr as borderRadiusSmall,Or as borderRadiusXLarge,qn as colorBackgroundOverlay,Wn as colorBrandBackground,ts as colorBrandBackground2,Un as colorBrandBackgroundHover,os as colorBrandBackgroundInverted,rs as colorBrandBackgroundInvertedHover,is as colorBrandBackgroundInvertedPressed,as as colorBrandBackgroundInvertedSelected,Yn as colorBrandBackgroundPressed,Kn as colorBrandBackgroundSelected,es as colorBrandBackgroundStatic,Na as colorBrandForeground1,La as colorBrandForeground2,Wa as colorBrandForegroundInverted,Ua as colorBrandForegroundInvertedHover,Ya as colorBrandForegroundInvertedPressed,$a as colorBrandForegroundLink,wa as colorBrandForegroundLinkHover,Ba as colorBrandForegroundLinkPressed,Ca as colorBrandForegroundLinkSelected,Ka as colorBrandForegroundOnLight,Qa as colorBrandForegroundOnLightHover,Za as colorBrandForegroundOnLightPressed,Ja as colorBrandForegroundOnLightSelected,Ms as colorBrandShadowAmbient,Hs as colorBrandShadowKey,ks as colorBrandStroke1,$s as colorBrandStroke2,Qn as colorCompoundBrandBackground,Zn as colorCompoundBrandBackgroundHover,Jn as colorCompoundBrandBackgroundPressed,Fa as colorCompoundBrandForeground1,Aa as colorCompoundBrandForeground1Hover,za as colorCompoundBrandForeground1Pressed,ws as colorCompoundBrandStroke,Bs as colorCompoundBrandStrokeHover,Cs as colorCompoundBrandStrokePressed,en as colorNeutralBackground1,tn as colorNeutralBackground1Hover,on as colorNeutralBackground1Pressed,rn as colorNeutralBackground1Selected,an as colorNeutralBackground2,nn as colorNeutralBackground2Hover,sn as colorNeutralBackground2Pressed,ln as colorNeutralBackground2Selected,dn as colorNeutralBackground3,cn as colorNeutralBackground3Hover,hn as colorNeutralBackground3Pressed,un as colorNeutralBackground3Selected,pn as colorNeutralBackground4,gn as colorNeutralBackground4Hover,bn as colorNeutralBackground4Pressed,fn as colorNeutralBackground4Selected,mn as colorNeutralBackground5,vn as colorNeutralBackground5Hover,yn as colorNeutralBackground5Pressed,xn as colorNeutralBackground5Selected,kn as colorNeutralBackground6,Mn as colorNeutralBackgroundDisabled,$n as colorNeutralBackgroundInverted,Hn as colorNeutralBackgroundInvertedDisabled,wn as colorNeutralBackgroundStatic,ta as colorNeutralForeground1,oa as colorNeutralForeground1Hover,ra as colorNeutralForeground1Pressed,ia as colorNeutralForeground1Selected,Da as colorNeutralForeground1Static,aa as colorNeutralForeground2,da as colorNeutralForeground2BrandHover,ca as colorNeutralForeground2BrandPressed,ha as colorNeutralForeground2BrandSelected,na as colorNeutralForeground2Hover,Sa as colorNeutralForeground2Link,Pa as colorNeutralForeground2LinkHover,Ta as colorNeutralForeground2LinkPressed,Ia as colorNeutralForeground2LinkSelected,sa as colorNeutralForeground2Pressed,la as colorNeutralForeground2Selected,ua as colorNeutralForeground3,fa as colorNeutralForeground3BrandHover,ma as colorNeutralForeground3BrandPressed,va as colorNeutralForeground3BrandSelected,pa as colorNeutralForeground3Hover,ga as colorNeutralForeground3Pressed,ba as colorNeutralForeground3Selected,ya as colorNeutralForeground4,xa as colorNeutralForegroundDisabled,Ra as colorNeutralForegroundInverted,Va as colorNeutralForegroundInverted2,ka as colorNeutralForegroundInvertedDisabled,Oa as colorNeutralForegroundInvertedHover,ja as colorNeutralForegroundInvertedLink,Ga as colorNeutralForegroundInvertedLinkHover,qa as colorNeutralForegroundInvertedLinkPressed,Xa as colorNeutralForegroundInvertedLinkSelected,Ma as colorNeutralForegroundInvertedPressed,Ha as colorNeutralForegroundInvertedSelected,_a as colorNeutralForegroundOnBrand,Ea as colorNeutralForegroundStaticInverted,Ns as colorNeutralShadowAmbient,Rs as colorNeutralShadowAmbientDarker,Ds as colorNeutralShadowAmbientLighter,Ls as colorNeutralShadowKey,Os as colorNeutralShadowKeyDarker,Es as colorNeutralShadowKeyLighter,Vn as colorNeutralStencil1,jn as colorNeutralStencil1Alpha,_n as colorNeutralStencil2,Gn as colorNeutralStencil2Alpha,cs as colorNeutralStroke1,hs as colorNeutralStroke1Hover,us as colorNeutralStroke1Pressed,ps as colorNeutralStroke1Selected,gs as colorNeutralStroke2,bs as colorNeutralStroke3,ns as colorNeutralStrokeAccessible,ss as colorNeutralStrokeAccessibleHover,ls as colorNeutralStrokeAccessiblePressed,ds as colorNeutralStrokeAccessibleSelected,Ss as colorNeutralStrokeDisabled,Ps as colorNeutralStrokeInvertedDisabled,fs as colorNeutralStrokeOnBrand,ms as colorNeutralStrokeOnBrand2,vs as colorNeutralStrokeOnBrand2Hover,ys as colorNeutralStrokeOnBrand2Pressed,xs as colorNeutralStrokeOnBrand2Selected,wc as colorPaletteAnchorBackground2,Cc as colorPaletteAnchorBorderActive,Bc as colorPaletteAnchorForeground2,gc as colorPaletteBeigeBackground2,fc as colorPaletteBeigeBorderActive,bc as colorPaletteBeigeForeground2,wl as colorPaletteBerryBackground1,Bl as colorPaletteBerryBackground2,Cl as colorPaletteBerryBackground3,Fl as colorPaletteBerryBorder1,Al as colorPaletteBerryBorder2,Il as colorPaletteBerryBorderActive,Sl as colorPaletteBerryForeground1,Pl as colorPaletteBerryForeground2,Tl as colorPaletteBerryForeground3,Dd as colorPaletteBlueBackground2,Rd as colorPaletteBlueBorderActive,Ed as colorPaletteBlueForeground2,hd as colorPaletteBrassBackground2,pd as colorPaletteBrassBorderActive,ud as colorPaletteBrassForeground2,gd as colorPaletteBrownBackground2,fd as colorPaletteBrownBorderActive,bd as colorPaletteBrownForeground2,Vd as colorPaletteCornflowerBackground2,jd as colorPaletteCornflowerBorderActive,_d as colorPaletteCornflowerForeground2,Jl as colorPaletteCranberryBackground2,td as colorPaletteCranberryBorderActive,ed as colorPaletteCranberryForeground2,wd as colorPaletteDarkGreenBackground2,Cd as colorPaletteDarkGreenBorderActive,Bd as colorPaletteDarkGreenForeground2,al as colorPaletteDarkOrangeBackground1,nl as colorPaletteDarkOrangeBackground2,sl as colorPaletteDarkOrangeBackground3,ul as colorPaletteDarkOrangeBorder1,pl as colorPaletteDarkOrangeBorder2,hl as colorPaletteDarkOrangeBorderActive,ll as colorPaletteDarkOrangeForeground1,dl as colorPaletteDarkOrangeForeground2,cl as colorPaletteDarkOrangeForeground3,Kl as colorPaletteDarkRedBackground2,Zl as colorPaletteDarkRedBorderActive,Ql as colorPaletteDarkRedForeground2,md as colorPaletteForestBackground2,yd as colorPaletteForestBorderActive,vd as colorPaletteForestForeground2,ld as colorPaletteGoldBackground2,cd as colorPaletteGoldBorderActive,dd as colorPaletteGoldForeground2,Jd as colorPaletteGrapeBackground2,tc as colorPaletteGrapeBorderActive,ec as colorPaletteGrapeForeground2,Ks as colorPaletteGreenBackground1,Qs as colorPaletteGreenBackground2,Zs as colorPaletteGreenBackground3,rl as colorPaletteGreenBorder1,il as colorPaletteGreenBorder2,ol as colorPaletteGreenBorderActive,Js as colorPaletteGreenForeground1,el as colorPaletteGreenForeground2,tl as colorPaletteGreenForeground3,Pc as colorPaletteGreenForegroundInverted,Wd as colorPaletteLavenderBackground2,Yd as colorPaletteLavenderBorderActive,Ud as colorPaletteLavenderForeground2,zl as colorPaletteLightGreenBackground1,Nl as colorPaletteLightGreenBackground2,Ll as colorPaletteLightGreenBackground3,Ml as colorPaletteLightGreenBorder1,Hl as colorPaletteLightGreenBorder2,Ol as colorPaletteLightGreenBorderActive,Dl as colorPaletteLightGreenForeground1,El as colorPaletteLightGreenForeground2,Rl as colorPaletteLightGreenForeground3,Sd as colorPaletteLightTealBackground2,Td as colorPaletteLightTealBorderActive,Pd as colorPaletteLightTealForeground2,oc as colorPaletteLilacBackground2,ic as colorPaletteLilacBorderActive,rc as colorPaletteLilacForeground2,lc as colorPaletteMagentaBackground2,cc as colorPaletteMagentaBorderActive,dc as colorPaletteMagentaForeground2,Vl as colorPaletteMarigoldBackground1,_l as colorPaletteMarigoldBackground2,jl as colorPaletteMarigoldBackground3,Ul as colorPaletteMarigoldBorder1,Yl as colorPaletteMarigoldBorder2,Wl as colorPaletteMarigoldBorderActive,Gl as colorPaletteMarigoldForeground1,ql as colorPaletteMarigoldForeground2,Xl as colorPaletteMarigoldForeground3,mc as colorPaletteMinkBackground2,yc as colorPaletteMinkBorderActive,vc as colorPaletteMinkForeground2,Gd as colorPaletteNavyBackground2,Xd as colorPaletteNavyBorderActive,qd as colorPaletteNavyForeground2,ad as colorPalettePeachBackground2,sd as colorPalettePeachBorderActive,nd as colorPalettePeachForeground2,ac as colorPalettePinkBackground2,sc as colorPalettePinkBorderActive,nc as colorPalettePinkForeground2,xc as colorPalettePlatinumBackground2,$c as colorPalettePlatinumBorderActive,kc as colorPalettePlatinumForeground2,hc as colorPalettePlumBackground2,pc as colorPalettePlumBorderActive,uc as colorPalettePlumForeground2,od as colorPalettePumpkinBackground2,id as colorPalettePumpkinBorderActive,rd as colorPalettePumpkinForeground2,Kd as colorPalettePurpleBackground2,Zd as colorPalettePurpleBorderActive,Qd as colorPalettePurpleForeground2,Vs as colorPaletteRedBackground1,_s as colorPaletteRedBackground2,js as colorPaletteRedBackground3,Us as colorPaletteRedBorder1,Ys as colorPaletteRedBorder2,Ws as colorPaletteRedBorderActive,Gs as colorPaletteRedForeground1,qs as colorPaletteRedForeground2,Xs as colorPaletteRedForeground3,Sc as colorPaletteRedForegroundInverted,Od as colorPaletteRoyalBlueBackground2,Hd as colorPaletteRoyalBlueBorderActive,Md as colorPaletteRoyalBlueForeground2,xd as colorPaletteSeafoamBackground2,$d as colorPaletteSeafoamBorderActive,kd as colorPaletteSeafoamForeground2,zd as colorPaletteSteelBackground2,Ld as colorPaletteSteelBorderActive,Nd as colorPaletteSteelForeground2,Id as colorPaletteTealBackground2,Ad as colorPaletteTealBorderActive,Fd as colorPaletteTealForeground2,gl as colorPaletteYellowBackground1,bl as colorPaletteYellowBackground2,fl as colorPaletteYellowBackground3,kl as colorPaletteYellowBorder1,$l as colorPaletteYellowBorder2,xl as colorPaletteYellowBorderActive,ml as colorPaletteYellowForeground1,vl as colorPaletteYellowForeground2,yl as colorPaletteYellowForeground3,Tc as colorPaletteYellowForegroundInverted,Xn as colorScrollbarOverlay,As as colorStrokeFocus1,zs as colorStrokeFocus2,Bn as colorSubtleBackground,Cn as colorSubtleBackgroundHover,An as colorSubtleBackgroundInverted,zn as colorSubtleBackgroundInvertedHover,Nn as colorSubtleBackgroundInvertedPressed,Ln as colorSubtleBackgroundInvertedSelected,Tn as colorSubtleBackgroundLightAlphaHover,In as colorSubtleBackgroundLightAlphaPressed,Fn as colorSubtleBackgroundLightAlphaSelected,Sn as colorSubtleBackgroundPressed,Pn as colorSubtleBackgroundSelected,Dn as colorTransparentBackground,En as colorTransparentBackgroundHover,Rn as colorTransparentBackgroundPressed,On as colorTransparentBackgroundSelected,Ts as colorTransparentStroke,Fs as colorTransparentStrokeDisabled,Is as colorTransparentStrokeInteractive,Xi as curveAccelerateMax,Wi as curveAccelerateMid,Ui as curveAccelerateMin,Yi as curveDecelerateMax,Ki as curveDecelerateMid,Qi as curveDecelerateMin,Ji as curveEasyEase,Zi as curveEasyEaseMax,ea as curveLinear,Vi as durationFast,Hi as durationFaster,_i as durationNormal,ji as durationSlow,Gi as durationSlower,Mi as durationUltraFast,qi as durationUltraSlow,ni as fontFamilyBase,si as fontFamilyMonospace,li as fontFamilyNumeric,Hr as fontSizeBase100,Vr as fontSizeBase200,_r as fontSizeBase300,jr as fontSizeBase400,Gr as fontSizeBase500,qr as fontSizeBase600,Yr as fontSizeHero1000,Xr as fontSizeHero700,Wr as fontSizeHero800,Ur as fontSizeHero900,ui as fontWeightBold,ci as fontWeightMedium,di as fontWeightRegular,hi as fontWeightSemibold,Kr as lineHeightBase100,Qr as lineHeightBase200,Zr as lineHeightBase300,Jr as lineHeightBase400,ei as lineHeightBase500,ti as lineHeightBase600,ai as lineHeightHero1000,oi as lineHeightHero700,ri as lineHeightHero800,ii as lineHeightHero900,Wp as setTheme,zc as shadow16,Oc as shadow16Brand,Ic as shadow2,Nc as shadow28,Mc as shadow28Brand,Dc as shadow2Brand,Fc as shadow4,Ec as shadow4Brand,Lc as shadow64,Hc as shadow64Brand,Ac as shadow8,Rc as shadow8Brand,Bi as spacingHorizontalL,wi as spacingHorizontalM,$i as spacingHorizontalMNudge,mi as spacingHorizontalNone,ki as spacingHorizontalS,xi as spacingHorizontalSNudge,Ci as spacingHorizontalXL,yi as spacingHorizontalXS,Si as spacingHorizontalXXL,vi as spacingHorizontalXXS,Pi as spacingHorizontalXXXL,Di as spacingVerticalL,Li as spacingVerticalM,Ni as spacingVerticalMNudge,Ti as spacingVerticalNone,zi as spacingVerticalS,Ai as spacingVerticalSNudge,Ei as spacingVerticalXL,Fi as spacingVerticalXS,Ri as spacingVerticalXXL,Ii as spacingVerticalXXS,Oi as spacingVerticalXXXL,gi as strokeWidthThick,bi as strokeWidthThicker,fi as strokeWidthThickest,pi as strokeWidthThin};
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};