@fluentui/web-components 3.0.0-alpha.18 → 3.0.0-alpha.19

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 (47) hide show
  1. package/CHANGELOG.json +16 -1
  2. package/CHANGELOG.md +11 -2
  3. package/dist/dts/index.d.ts +2 -0
  4. package/dist/dts/menu-item/define.d.ts +1 -0
  5. package/dist/dts/menu-item/index.d.ts +4 -0
  6. package/dist/dts/menu-item/menu-item.d.ts +8 -0
  7. package/dist/dts/menu-item/menu-item.definition.d.ts +11 -0
  8. package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
  9. package/dist/dts/menu-item/menu-item.template.d.ts +3 -0
  10. package/dist/dts/menu-list/define.d.ts +1 -0
  11. package/dist/dts/menu-list/index.d.ts +4 -0
  12. package/dist/dts/menu-list/menu-list.d.ts +9 -0
  13. package/dist/dts/menu-list/menu-list.definition.d.ts +11 -0
  14. package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
  15. package/dist/dts/menu-list/menu-list.template.d.ts +3 -0
  16. package/dist/esm/index.js +2 -0
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/menu-item/define.js +4 -0
  19. package/dist/esm/menu-item/define.js.map +1 -0
  20. package/dist/esm/menu-item/index.js +5 -0
  21. package/dist/esm/menu-item/index.js.map +1 -0
  22. package/dist/esm/menu-item/menu-item.definition.js +19 -0
  23. package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
  24. package/dist/esm/menu-item/menu-item.js +8 -0
  25. package/dist/esm/menu-item/menu-item.js.map +1 -0
  26. package/dist/esm/menu-item/menu-item.styles.js +183 -0
  27. package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
  28. package/dist/esm/menu-item/menu-item.template.js +10 -0
  29. package/dist/esm/menu-item/menu-item.template.js.map +1 -0
  30. package/dist/esm/menu-list/define.js +4 -0
  31. package/dist/esm/menu-list/define.js.map +1 -0
  32. package/dist/esm/menu-list/index.js +5 -0
  33. package/dist/esm/menu-list/index.js.map +1 -0
  34. package/dist/esm/menu-list/menu-list.definition.js +19 -0
  35. package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
  36. package/dist/esm/menu-list/menu-list.js +36 -0
  37. package/dist/esm/menu-list/menu-list.js.map +1 -0
  38. package/dist/esm/menu-list/menu-list.styles.js +24 -0
  39. package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
  40. package/dist/esm/menu-list/menu-list.template.js +3 -0
  41. package/dist/esm/menu-list/menu-list.template.js.map +1 -0
  42. package/dist/fluent-web-components.api.json +320 -0
  43. package/dist/web-components.d.ts +56 -0
  44. package/dist/web-components.js +2022 -93
  45. package/dist/web-components.min.js +158 -152
  46. package/docs/api-report.md +33 -0
  47. package/package.json +13 -5
@@ -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 a=e=>"function"==typeof e,i=e=>"string"==typeof e,s=()=>{};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==n)n.globalThis=n;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 c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=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=s}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,v=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let f=Object.freeze({createHTML:e=>v.createHTML(e),protect:(e,t,o,r)=>r});const m=f,y=Object.freeze({get policy(){return f},setPolicy(e){if(f!==m)throw c.error(1201);f=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function i(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function s(){let t=0;for(;t<e.length;)if(i(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 n(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:n,next:()=>new Promise(n),process:s,setMode:e=>r=e})});class ${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,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class x{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 a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new $(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new $(this.subject),a.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=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,s=e=>{throw c.error(1101)};function n(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=s(e):o.set(e,r=new x(e))),r}const l=u();class d{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 i=e[this.callback];a(i)&&i.call(e,r,t),n(e).notify(this.name)}}}class h extends ${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 a;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{a=this.expression(e,t)}finally{r=o}return a}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,a=n(e),i=null===o?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=a,a.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=i}this.last=i}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){s=e},getNotifier:n,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){n(e).notify(t)},defineProperty(e,t){i(t)&&(t=new d(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 S(e,t){B.defineProperty(e,t)}const P=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),C=Object.freeze({default:{index:0,length:0,get event(){return C.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>P.get(),setEvent(e){P.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class T extends F{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function z(e,t,o=B.isVolatileBinding(e)){return new T(e,t,o)}class A extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function N(e,t){return new A(e,t)}let I;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(I),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){I=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(),O=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.register({type:e}),e)});function M(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{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)=>M(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){M(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){M(this,t.controller,t)}}O.define(H);const E=""+Math.random().toString(36).substring(2,8);let V=0;const R=()=>`--v${E}${++V}`;function _(e,t){const o=[];let r="";const i=[],s=e=>{i.push(e)};for(let i=0,n=e.length-1;i<n;++i){r+=e[i];let n=t[i];a(n)?n=new H(z(n),R()).createCSS(s):n instanceof F?n=new H(n,R()).createCSS(s):void 0!==O.getForInstance(n)&&(n=n.createCSS(s)),n instanceof L||n instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(n)):r+=n}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:i}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),a=new L(o);return r.length?a.withBehaviors(...r):a};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(i(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)}}O.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,a=o.length;e<a;++e){const a=o[e],i=a.indexOf(W);let s;if(-1===i)s=a;else{const e=a.substring(0,i);r.push(t[e]),s=a.substring(i+U)}""!==s&&r.push(s)}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 a=this.id+"-t",i=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},s=i.cv;let n=i.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&&(s[o]=n,l.add(o))}}if(i.v=n+1,0!==n){n-=1;for(const e in s)s[e]===n&&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 c.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){C.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);C.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 ae(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ie{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 C.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,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=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(){ae(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){ae(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ie),B.defineProperty(ie.prototype,"index"),B.defineProperty(ie.prototype,"length");const se=(e,t)=>`${e}.${t}`,ne={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return a(o)?o.bind(e):o},set:(e,t,o)=>(ce(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,a){var i,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(i=e.id)&&void 0!==i?i:K(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(s=e.policy)&&void 0!==s?s: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 a=ne[t];if(!a){const r="_"+t;ne[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ie(t,this.factories,o)}}function ue(e,t,o,r,a,i=!1){const s=o.attributes,n=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=Z.parse(h,n);let p=null;null===u?i&&(p=new re(N(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function pe(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=ge(e,o,a,r);a=t.node,r=t.index}}function ge(e,t,o,r){const a=se(t,r);switch(o.nodeType){case 1:ue(e,t,o,a,r),pe(e,o,a);break;case 3:return function(e,t,o,r,a){const s=Z.parse(t.textContent,e.directives);if(null===s)return le.node=t.nextSibling,le.index=a+1,le;let n,l=n=t;for(let t=0,c=s.length;t<c;++t){const c=s[t];0!==t&&(a++,r=se(o,a),n=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),i(c)?n.textContent=c:(n.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,a,null)),l=n}return le.index=a+1,le.node=l.nextSibling,le}(e,o,t,a,r);case 8:const s=Z.parse(o.data,e.directives);null!==s&&e.addFactory(be.aggregate(s),t,a,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(i(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 a=document.adoptNode(r.content),s=new he(a,t,o);var n,l;return ue(s,"",r,"h",0,!0),n=a.firstChild,l=t,(n&&8==n.nodeType&&null!==Z.parse(n.data,l)||1===a.childNodes.length&&Object.keys(t).length>0)&&a.insertBefore(document.createComment(""),a.firstChild),pe(s,a,"r"),le.node=null,s.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,a=!1,s=void 0;const n=e.length,l=e.map(e=>i(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,a=a||e.dataBinding.isVolatile,s=s||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<n;++r)o+=l[r](e,t);return o},r.isVolatile=a,r.policy=null!=s?s:t;const c=new re(r);return ee.assignAspect(c,o),c}},ve=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,fe=Object.create(null);class me{constructor(e,t=fe){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=ve.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}me.empty=new me(""),ee.define(me);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new me(i(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.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 i=Object.create(null),s=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return i[o]=e,o};for(let o=0,i=e.length-1;o<i;++o){const i=e[o];let n,l=t[o];if(r+=i,a(l))l=new re(z(l));else if(l instanceof F)l=new re(l);else if(!(n=ee.getForInstance(l))){const e=l;l=new re(N(()=>e))}r+=ye(l,i,s,n)}return new ke(r+e[e.length-1],i,o)}}p(ke);const $e=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};$e.partial=e=>new me(e);class xe extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define(xe);const we=e=>new xe(e);function Be(e,t){const o=a(e)?e:()=>e,r=a(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Se=e=>1===e.nodeType;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,d),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 Ce 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 Fe(e){return i(e)&&(e={property:e}),new Ce(e)}ee.define(Ce);const Te=Object.freeze({locate:u()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ae(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ne={toView(e){const t=Ae(e);return t?t.toString():t},fromView:Ae};class Ie{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=ze)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Te.locate(e));for(let r=0,a=t.length;r<a;++r){const a=t[r];if(void 0!==a)for(let t=0,r=a.length;t<r;++t){const r=a[t];i(r)?o.push(new Ie(e,r)):o.push(new Ie(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Le(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Te.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const De={mode:"open"},Oe={},Me=new Set,He=c.getById(r.elementRegistry,()=>h());class Ee{constructor(e,t=e.definition){var o;this.platformDefined=!1,i(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,a=Ie.collect(e,t.attributes),s=new Array(a.length),n={},l={};for(let e=0,t=a.length;e<t;++e){const t=a[e];s[e]=t.attribute,n[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=a,this.propertyLookup=n,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?De:null===t.shadowOptions?void 0:Object.assign(Object.assign({},De),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Oe:Object.assign(Object.assign({},Oe),t.elementOptions),this.styles=L.normalize(t.styles),He.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 Me.has(e)||He.getByType(e)?new Ee(class extends e{},t):new Ee(e,t)}static registerBaseType(e){Me.add(e)}}Ee.getByType=He.getByType,Ee.getForInstance=He.getForInstance;const Ve={bubbles:!0,composed:!0,cancelable:!0},Re=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Re.get(e))&&void 0!==o?o:null}let je;class Ge extends x{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&&Re.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,i=e[a];void 0!==i&&(delete e[a],t[a]=i)}}}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:C.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,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(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,a+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=_e(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=_e(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,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}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=_e(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=Ee.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new je(e,o)}static setStrategy(e){je=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}p(Ge),Ge.setStrategy(Ge);class Xe{constructor(e){const t=Xe.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=qe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=qe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Xe.styleSheetCache=new Map;let We=0;function Ue(e){return e===document?document.body:e}function Ye(e){const t=class extends e{constructor(){super(),Ge.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 Ee.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?Xe:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++We}addStylesTo(e){e=Ue(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Ue(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ke=Object.assign(Ye(HTMLElement),{from:function(e){return Ye(e)},define:function(e,t){return a(e)?Ee.compose(e,t).define().type:Ee.compose(this,e).define().type},compose:function(e,t){return a(e)?Ee.compose(e,t):Ee.compose(this,e)}});function Qe(e){return e?"string"==typeof e?new me(e):"inline"in e?e.inline():e:me.empty}function Ze(e,t,o,r){var a,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(s=(i<3?a(s):i>3?a(t,o,s):a(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s}class Je{}Ze([Le({attribute:"aria-atomic"})],Je.prototype,"ariaAtomic",void 0),Ze([Le({attribute:"aria-busy"})],Je.prototype,"ariaBusy",void 0),Ze([Le({attribute:"aria-controls"})],Je.prototype,"ariaControls",void 0),Ze([Le({attribute:"aria-current"})],Je.prototype,"ariaCurrent",void 0),Ze([Le({attribute:"aria-describedby"})],Je.prototype,"ariaDescribedby",void 0),Ze([Le({attribute:"aria-details"})],Je.prototype,"ariaDetails",void 0),Ze([Le({attribute:"aria-disabled"})],Je.prototype,"ariaDisabled",void 0),Ze([Le({attribute:"aria-errormessage"})],Je.prototype,"ariaErrormessage",void 0),Ze([Le({attribute:"aria-flowto"})],Je.prototype,"ariaFlowto",void 0),Ze([Le({attribute:"aria-haspopup"})],Je.prototype,"ariaHaspopup",void 0),Ze([Le({attribute:"aria-hidden"})],Je.prototype,"ariaHidden",void 0),Ze([Le({attribute:"aria-invalid"})],Je.prototype,"ariaInvalid",void 0),Ze([Le({attribute:"aria-keyshortcuts"})],Je.prototype,"ariaKeyshortcuts",void 0),Ze([Le({attribute:"aria-label"})],Je.prototype,"ariaLabel",void 0),Ze([Le({attribute:"aria-labelledby"})],Je.prototype,"ariaLabelledby",void 0),Ze([Le({attribute:"aria-live"})],Je.prototype,"ariaLive",void 0),Ze([Le({attribute:"aria-owns"})],Je.prototype,"ariaOwns",void 0),Ze([Le({attribute:"aria-relevant"})],Je.prototype,"ariaRelevant",void 0),Ze([Le({attribute:"aria-roledescription"})],Je.prototype,"ariaRoledescription",void 0);class et{}function tt(e){return $e`<slot name="end" ${we("end")}>${Qe(e.end)}</slot>`.inline()}function ot(e){return $e`<slot name="start" ${we("start")}>${Qe(e.start)}</slot>`.inline()}const rt={horizontal:"horizontal",vertical:"vertical"};var at;function it(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(at||(at={}));let st=0;function nt(e=""){return`${e}${st++}`}function lt(e,...t){const o=Te.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Te.locate(t).forEach(e=>o.push(e))})}class ct extends Ke{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=nt("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ze([Le({attribute:"heading-level",mode:"fromView",converter:Ne})],ct.prototype,"headinglevel",void 0),Ze([Le({mode:"boolean"})],ct.prototype,"expanded",void 0),Ze([Le({mode:"boolean"})],ct.prototype,"disabled",void 0),Ze([Le],ct.prototype,"id",void 0),lt(ct,et);const dt="single",ht="multi";class ut extends Ke{constructor(){super(...arguments),this.expandmode=ht,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 ct&&(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 ct&&(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!==dt?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 ct&&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===dt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ct&&e.expandbutton.focus()}}Ze([Le({attribute:"expand-mode"})],ut.prototype,"expandmode",void 0),Ze([S],ut.prototype,"slottedAccordionItems",void 0);class pt extends Ke{}Ze([Le],pt.prototype,"download",void 0),Ze([Le],pt.prototype,"href",void 0),Ze([Le],pt.prototype,"hreflang",void 0),Ze([Le],pt.prototype,"ping",void 0),Ze([Le],pt.prototype,"referrerpolicy",void 0),Ze([Le],pt.prototype,"rel",void 0),Ze([Le],pt.prototype,"target",void 0),Ze([Le],pt.prototype,"type",void 0),Ze([S],pt.prototype,"defaultSlottedContent",void 0);class gt{}Ze([Le({attribute:"aria-expanded"})],gt.prototype,"ariaExpanded",void 0),lt(gt,Je),lt(pt,et,gt);const bt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,vt=new WeakMap;function ft(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 bt}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 d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!bt)return null;let e=vt.get(this);return e||(e=this.attachInternals(),vt.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 Le({mode:"boolean"})(t.prototype,"disabled"),Le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Le({attribute:"current-value"})(t.prototype,"currentValue"),Le(t.prototype,"name"),Le({mode:"boolean"})(t.prototype,"required"),S(t.prototype,"value"),t}class mt extends Ke{}class yt extends(ft(mt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const kt="submit",$t="reset";class xt extends yt{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===kt&&this.addEventListener("click",this.handleSubmission),e===kt&&this.removeEventListener("click",this.handleSubmission),t===$t&&this.addEventListener("click",this.handleFormReset),e===$t&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Ze([Le({mode:"boolean"})],xt.prototype,"autofocus",void 0),Ze([Le({attribute:"form"})],xt.prototype,"formId",void 0),Ze([Le],xt.prototype,"formaction",void 0),Ze([Le],xt.prototype,"formenctype",void 0),Ze([Le],xt.prototype,"formmethod",void 0),Ze([Le({mode:"boolean"})],xt.prototype,"formnovalidate",void 0),Ze([Le],xt.prototype,"formtarget",void 0),Ze([Le],xt.prototype,"type",void 0),Ze([S],xt.prototype,"defaultSlottedContent",void 0);class wt{}function Bt(e={}){return $e`<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")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${tt(e)}</button>`}Ze([Le({attribute:"aria-expanded"})],wt.prototype,"ariaExpanded",void 0),Ze([Le({attribute:"aria-pressed"})],wt.prototype,"ariaPressed",void 0),lt(wt,Je),lt(xt,et,wt);class St{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=St.cache.get(e);return t||(t=new St(e),St.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)}}St.cache=new WeakMap;class Pt{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 Ct{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 Ft{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=Ft.getAssignedTokensForNode(e),r=e.parent;do{const e=Ft.getAssignedTokensForNode(r);for(let a=0,i=e.length;a<i;a++){const i=e[a];!o.includes(i)&&Ft.isDerivedFor(r,i)&&t.set(i,r._derived.get(i))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ft.isAssigned(e,t)?Ft.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(Ft.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ft.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=Ft.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const a=Ft.composeAssignedTokensForNode(this),i=Ft.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of a){let a=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(a=1,r.splice(e,1))}e.dispatch(new Ct(this,a,o,null===(t=i.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Ct(this,2,t,null===(o=i.get(t))||void 0===o?void 0:o.evaluator.value));Ft.notify()}removeChild(e){if(e.parent===this){const t=Ft.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Ct(this,2,o));Ft.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=Ft.isAssigned(this,e)||Ft.isDerivedFor(this,e)?1:0,r=Ft.getLocalTokenValue(this,e);this._values.set(e,t),Ft.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const a=Ft.isDerivedTokenValue(t),i=Ft.collectDerivedContext(this);let s;if(a){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&Ft.queueNotification(new Ct(this,o,e,t)),this.dispatch(new Ct(this,o,e,t)),i.forEach((e,t)=>{if(!Ft.isDerivedFor(this,t)){Ft.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ft.queueNotification(new Ct(this,1,t,e.evaluator.value)),this.dispatch(new Ct(this,0,t,e.evaluator.value))}}),Ft.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ft.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ft.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(Ft.isAssigned(this,e)){const t=Ft.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ft.queueNotification(new Ct(this,2,e)),t!==o&&this.dispatch(new Ct(this,2,e)),Ft.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:a}=e,i=Ft.isAssigned(this,a),s=i&&(null===(t=this._derived.get(a))||void 0===t?void 0:t.evaluator.dependencies.has(a));if(i&&!s)return;2===e.type&&!i&&Ft.isDerivedFor(this,a)&&(this.tearDownDerivedTokenValue(a),Ft.queueNotification(new Ct(this,2,a))),s&&(e=new Ct(this,1,a,null===(o=this._derived.get(a))||void 0===o?void 0:o.evaluator.value));const{value:n}=e;if(n&&Ft.isDerivedTokenValue(n)){const t=St.getOrCreate(n).dependencies;let o=!1;for(const e of t)if(Ft.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(a))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(a,n);if(t!==o.value){const r=new Ct(this,void 0===t?0:1,a,o.evaluator.value);Ft.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ft.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ft.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Ct(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(Ft.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ft.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Pt(e,St.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Ct(this,1,r.token,r.evaluator.value);Ft.queueNotification(e),this.dispatch(e),Ft.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ft.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ft._notifications=[];class Tt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class zt extends Tt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class At extends Tt{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 Nt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Ze([S],Nt.prototype,"target",void 0);class It{setProperty(e,t){It.properties[e]=t;for(const o of It.roots.values())o.setProperty(e,t)}removeProperty(e){delete It.properties[e];for(const t of It.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=It;if(!t.has(e)){t.add(e);for(const t in It.properties)e.setProperty(t,It.properties[t])}}static unregisterRoot(e){const{roots:t}=It;if(t.has(e)){t.delete(e);for(const t in It.properties)e.removeProperty(t)}}}It.roots=new Set,It.properties={};const Lt=new WeakMap,Dt=L.supportsAdoptedStyleSheets?class extends Tt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Nt,Ot=Object.freeze({getOrCreate(e){if(Lt.has(e))return Lt.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new zt:new At:new Dt(e),Lt.set(e,t),t}});class Mt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Rt.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 Rt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new $(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Ht({name:e,cssCustomPropertyName:e}):Mt.isCSSDesignTokenConfiguration(e)?new Ht(e):new Mt(e)}static withStrategy(e){Rt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Ot.getOrCreate(e)),It.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Ot.getOrCreate(e)),It.unregisterRoot(e)}getValueFor(e){return Rt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Rt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Rt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Rt.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 Mt&&(e=this.alias(e)),e}}let Ht=class extends Mt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Rt.defaultNode?Rt.rootStyleSheetTarget:t.target instanceof Rt?Ot.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 Et;Ht=Ze([function(e){O.define(e)},function(e){ee.define(e,Et)}],Ht);const Vt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class Rt extends Ft{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&&Rt.withStrategy(Vt),this._strategy}connectedCallback(e){let t=Rt.findParent(e.source);if(null===t&&(t=Rt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Rt&&Rt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Rt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Rt.cache.get(e);return t||(t=new Rt(e),Rt.cache.set(e,t),e.$fastController.addBehavior(Rt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Rt.strategy.parent(e);for(;null!==t;){const e=Rt.cache.get(t);if(e)return e;t=Rt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Rt.defaultNode.appendChild(this),e.apply(this,t))}}Rt.defaultNode=new Ft,Rt.rootStyleSheetTarget=new It,Rt.cache=new WeakMap;const _t={separator:"separator",presentation:"presentation"},jt=rt;class Gt extends Ke{constructor(){super(...arguments),this.role=_t.separator,this.orientation=jt.horizontal}}Ze([Le],Gt.prototype,"role",void 0),Ze([Le],Gt.prototype,"orientation",void 0);class qt extends Ke{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)}}Ze([Le({converter:Ne})],qt.prototype,"value",void 0),Ze([Le({converter:Ne})],qt.prototype,"min",void 0),Ze([Le({converter:Ne})],qt.prototype,"max",void 0),Ze([S],qt.prototype,"percentComplete",void 0);class Xt extends qt{}class Wt extends qt{}const Ut=rt,Yt="single-value";function Kt(e,t,o,r){let a=it(0,1,(e-t)/(o-t));return r===at.rtl&&(a=1-a),a}class Qt extends Ke{}class Zt extends(ft(Qt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Jt extends Zt{constructor(){super(...arguments),this.direction=at.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=rt.horizontal,this.mode=Yt,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==rt.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===rt.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===rt.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=it(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?at.rtl:at.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==at.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!==at.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-Kt(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.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=Kt(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.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}}Ze([Le({attribute:"readonly",mode:"boolean"})],Jt.prototype,"readOnly",void 0),Ze([S],Jt.prototype,"direction",void 0),Ze([S],Jt.prototype,"isDragging",void 0),Ze([S],Jt.prototype,"position",void 0),Ze([S],Jt.prototype,"trackWidth",void 0),Ze([S],Jt.prototype,"trackMinWidth",void 0),Ze([S],Jt.prototype,"trackHeight",void 0),Ze([S],Jt.prototype,"trackLeft",void 0),Ze([S],Jt.prototype,"trackMinHeight",void 0),Ze([S],Jt.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Ne})],Jt.prototype,"min",void 0),Ze([Le({converter:Ne})],Jt.prototype,"max",void 0),Ze([Le({converter:Ne})],Jt.prototype,"step",void 0),Ze([Le],Jt.prototype,"orientation",void 0),Ze([Le],Jt.prototype,"mode",void 0);class eo extends Ke{}class to extends(function(e){class t extends(ft(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 Le({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Le({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),S(o.prototype,"defaultChecked"),S(o.prototype,"checked"),o}(eo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class oo extends to{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)}}Ze([Le({attribute:"readonly",mode:"boolean"})],oo.prototype,"readOnly",void 0),Ze([S],oo.prototype,"defaultSlottedNodes",void 0);class ro extends Ke{}class ao extends Ke{}Ze([Le({mode:"boolean"})],ao.prototype,"disabled",void 0),lt(ao,et);const io=rt;class so extends Ke{constructor(){super(...arguments),this.orientation=io.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],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),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-"+nt()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+nt()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===io.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=it(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Ze([Le],so.prototype,"orientation",void 0),Ze([Le],so.prototype,"activeid",void 0),Ze([S],so.prototype,"tabs",void 0),Ze([S],so.prototype,"tabpanels",void 0),lt(so,et);function no(e){return`:host([hidden]){display:none}:host{display:${e}}`}class lo extends ut{}const co=$e`<template><slot ${Fe({property:"slottedAccordionItems",filter:ho?e=>1===e.nodeType&&e.matches(ho):Se})}></slot></template>`;var ho;const uo=j`
2
- ${no("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 c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=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 c.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=c.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=c.getById(r.observable,()=>{const e=x.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw c.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 d{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 d(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 S(e,t){B.defineProperty(e,t)}const C=c.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:()=>C.get(),setEvent(e){C.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class T extends F{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function I(e,t,o=B.isVolatileBinding(e)){return new T(e,t,o)}class A extends F{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 O(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{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)=>O(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){O(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){O(this,t.controller,t)}}E.define(M);const H=""+Math.random().toString(36).substring(2,8);let V=0;const R=()=>`--v${H}${++V}`;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 M(I(s),R()).createCSS(n):s instanceof F?s=new M(s,R()).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 q{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(q),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new q(o,r)};const G="fast-"+Math.random().toString(36).substring(2,8),X=G+"{",W="}"+G,U=W.length;let Y=0;const K=()=>`${G}-${++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 c.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 ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(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:de;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,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,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,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,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 c=new re(r);return ee.assignAspect(c,o),c}},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 c.error(1208);if(this.policy)throw c.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(I(l));else if(l instanceof F)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 c.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 Se=e=>1===e.nodeType,Ce=e=>e?t=>1===t.nodeType&&t.matches(e):Se;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,d),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 Fe 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 Te(e){return a(e)&&(e={property:e}),new Fe(e)}ee.define(Fe);const Ie=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(Ie.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),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ee={mode:"open"},Oe={},Me=new Set,He=c.getById(r.elementRegistry,()=>h());class Ve{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?Oe:Object.assign(Object.assign({},Oe),t.elementOptions),this.styles=L.normalize(t.styles),He.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 Me.has(e)||He.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Me.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Re={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 qe;class Ge 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},Re),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=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new qe(e,o)}static setStrategy(e){qe=e}}function Xe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=je(e))&&void 0!==t?t:e.getRootNode()}p(Ge),Ge.setStrategy(Ge);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(),Ge.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 Ve.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)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return i(e)?Ve.compose(e,t):Ve.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)}var st;function lt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(st||(st={}));let ct=0;function dt(e=""){return`${e}${ct++}`}function ht(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}class ut extends Qe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=dt("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Je([De({attribute:"heading-level",mode:"fromView",converter:Ne})],ut.prototype,"headinglevel",void 0),Je([De({mode:"boolean"})],ut.prototype,"expanded",void 0),Je([De({mode:"boolean"})],ut.prototype,"disabled",void 0),Je([De],ut.prototype,"id",void 0),ht(ut,ot);const pt="single",gt="multi";class bt extends Qe{constructor(){super(...arguments),this.expandmode=gt,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 ut&&(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 ut&&(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!==pt?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 ut&&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===pt}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 ut&&e.expandbutton.focus()}}Je([De({attribute:"expand-mode"})],bt.prototype,"expandmode",void 0),Je([S],bt.prototype,"slottedAccordionItems",void 0);class ft extends Qe{}Je([De],ft.prototype,"download",void 0),Je([De],ft.prototype,"href",void 0),Je([De],ft.prototype,"hreflang",void 0),Je([De],ft.prototype,"ping",void 0),Je([De],ft.prototype,"referrerpolicy",void 0),Je([De],ft.prototype,"rel",void 0),Je([De],ft.prototype,"target",void 0),Je([De],ft.prototype,"type",void 0),Je([S],ft.prototype,"defaultSlottedContent",void 0);class mt{}Je([De({attribute:"aria-expanded"})],mt.prototype,"ariaExpanded",void 0),ht(mt,tt),ht(ft,ot,mt);const vt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,yt=new WeakMap;function xt(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 vt}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 d}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(!vt)return null;let e=yt.get(this);return e||(e=this.attachInternals(),yt.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"),S(t.prototype,"value"),t}class kt extends Qe{}class $t extends(xt(kt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const wt="submit",Bt="reset";class St extends $t{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===wt&&this.addEventListener("click",this.handleSubmission),e===wt&&this.removeEventListener("click",this.handleSubmission),t===Bt&&this.addEventListener("click",this.handleFormReset),e===Bt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Je([De({mode:"boolean"})],St.prototype,"autofocus",void 0),Je([De({attribute:"form"})],St.prototype,"formId",void 0),Je([De],St.prototype,"formaction",void 0),Je([De],St.prototype,"formenctype",void 0),Je([De],St.prototype,"formmethod",void 0),Je([De({mode:"boolean"})],St.prototype,"formnovalidate",void 0),Je([De],St.prototype,"formtarget",void 0),Je([De],St.prototype,"type",void 0),Je([S],St.prototype,"defaultSlottedContent",void 0);class Ct{}function Pt(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 ${Te("defaultSlottedContent")}></slot></span>${rt(e)}</button>`}function Ft(e){return e.split("-")[1]}function Tt(e){return"y"===e?"height":"width"}function It(e){return e.split("-")[0]}function At(e){return["top","bottom"].includes(It(e))?"x":"y"}function zt(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=At(t),l=Tt(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(It(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(Ft(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}Je([De({attribute:"aria-expanded"})],Ct.prototype,"ariaExpanded",void 0),Je([De({attribute:"aria-pressed"})],Ct.prototype,"ariaPressed",void 0),ht(Ct,tt),ht(St,ot,Ct);function Nt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Lt(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="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=Nt(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:c,rootBoundary:d,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=Nt(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 Dt=Math.min,Et=Math.max;function Ot(e,t,o){return Et(e,Dt(t,o))}const Mt={left:"right",right:"left",bottom:"top",top:"bottom"};function Ht(e){return e.replace(/left|right|bottom|top/g,e=>Mt[e])}const Vt={start:"end",end:"start"};function Rt(e){return e.replace(/start|end/g,e=>Vt[e])}const _t=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:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=It(r),m=It(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[Ht(n)]:function(e){const t=Ht(e);return[Rt(e),t,Rt(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=Ft(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[]}}(It(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(Rt)))),a}(n,g,p,v));const x=[n,...y],k=await Lt(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(k[f]),d){const{main:e,cross:t}=function(e,t,o){void 0===o&&(o=!1);const r=Ft(e),i=At(e),a=Tt(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=Ht(n)),{main:n,cross:Ht(n)}}(r,a,v);$.push(k[e],k[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,S;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==(S=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:S.placement;if(!o)switch(u){case"bestFit":{var C;const e=null==(C=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:C[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};const jt=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,c={x:o,y:r},d=await Lt(t,l),h=At(It(i)),u="x"===h?"y":"x";let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=Ot(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=Ot(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},qt=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 Lt(t,s),c=It(o),d=Ft(o),h="x"===At(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Dt(u-l.right-l.left,m):v=Dt(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Et(l.left,0),t=Et(l.right,0),o=Et(l.top,0),r=Et(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Et(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Et(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 Gt(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Xt(e){return Gt(e).getComputedStyle(e)}const Wt=Math.min,Ut=Math.max,Yt=Math.round;function Kt(e){const t=Xt(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=Yt(o)!==i||Yt(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function Qt(e){return oo(e)?(e.nodeName||"").toLowerCase():""}let Zt;function Jt(){if(Zt)return Zt;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Zt=e.brands.map(e=>e.brand+"/"+e.version).join(" "),Zt):navigator.userAgent}function eo(e){return e instanceof Gt(e).HTMLElement}function to(e){return e instanceof Gt(e).Element}function oo(e){return e instanceof Gt(e).Node}function ro(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Gt(e).ShadowRoot||e instanceof ShadowRoot}function io(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=Xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function ao(e){return["table","td","th"].includes(Qt(e))}function no(e){const t=/firefox/i.test(Jt()),o=Xt(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 so(){return/^((?!chrome|android).)*safari/i.test(Jt())}function lo(e){return["html","body","#document"].includes(Qt(e))}function co(e){return to(e)?e:e.contextElement}const ho={x:1,y:1};function uo(e){const t=co(e);if(!eo(t))return ho;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=Kt(t);let n=(a?Yt(o.width):o.width)/r,s=(a?Yt(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function po(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=co(e);let l=ho;t&&(r?to(r)&&(l=uo(r)):l=uo(e));const c=s?Gt(s):window,d=so()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=Gt(s),t=r&&to(r)?Gt(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=uo(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=Gt(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function go(e){return((oo(e)?e.ownerDocument:e.document)||window.document).documentElement}function bo(e){return to(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function fo(e){return po(go(e)).left+bo(e).scrollLeft}function mo(e){if("html"===Qt(e))return e;const t=e.assignedSlot||e.parentNode||ro(e)&&e.host||go(e);return ro(t)?t.host:t}function vo(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=mo(t);return lo(o)?o.ownerDocument.body:eo(o)&&io(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Gt(r);return i?t.concat(a,a.visualViewport||[],io(r)?r:[]):t.concat(r,vo(r))}function yo(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Gt(e),r=go(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=so();(!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=go(e),o=bo(e),r=e.ownerDocument.body,i=Ut(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ut(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+fo(e);const s=-o.scrollTop;return"rtl"===Xt(r).direction&&(n+=Ut(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(go(e));else if(to(t))r=function(e,t){const o=po(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=eo(e)?uo(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(so()){var i,a;const t=Gt(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 Nt(r)}function xo(e,t){return eo(e)&&"fixed"!==Xt(e).position?t?t(e):e.offsetParent:null}function ko(e,t){const o=Gt(e);let r=xo(e,t);for(;r&&ao(r)&&"static"===Xt(r).position;)r=xo(r,t);return r&&("html"===Qt(r)||"body"===Qt(r)&&"static"===Xt(r).position&&!no(r))?o:r||function(e){let t=mo(e);for(;eo(t)&&!lo(t);){if(no(t))return t;t=mo(t)}return null}(e)||o}function $o(e,t,o){const r=eo(t),i=go(t),a=po(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==Qt(t)||io(i))&&(n=bo(t)),eo(t)){const e=po(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=fo(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const wo={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=vo(e).filter(e=>to(e)&&"body"!==Qt(e)),i=null;const a="fixed"===Xt(e).position;let n=a?mo(e):e;for(;to(n)&&!lo(n);){const e=Xt(n),t=no(n);(a?!t&&!i:!t&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position))?r=r.filter(e=>e!==n):i=e,n=mo(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=yo(t,o,i);return e.top=Ut(r.top,e.top),e.right=Wt(r.right,e.right),e.bottom=Wt(r.bottom,e.bottom),e.left=Ut(r.left,e.left),e},yo(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=eo(o),a=go(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"!==Qt(o)||io(a))&&(n=bo(o)),eo(o))){const e=po(o);s=uo(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:to,getDimensions:function(e){return eo(e)?Kt(e):e.getBoundingClientRect()},getOffsetParent:ko,getDocumentElement:go,getScale:uo,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||ko,a=this.getDimensions;return{reference:$o(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Xt(e).direction};const Bo=(e,t,o)=>{const r=new Map,i={platform:wo,...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 c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=zt(c,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:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,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&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=zt(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class So{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=So.cache.get(e);return t||(t=new So(e),So.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)}}So.cache=new WeakMap;class Co{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 Po{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 Fo{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=Fo.getAssignedTokensForNode(e),r=e.parent;do{const e=Fo.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Fo.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 Fo.isAssigned(e,t)?Fo.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(Fo.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Fo.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=Fo.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Fo.composeAssignedTokensForNode(this),a=Fo.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 Po(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 Po(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Fo.notify()}removeChild(e){if(e.parent===this){const t=Fo.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Po(this,2,o));Fo.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=Fo.isAssigned(this,e)||Fo.isDerivedFor(this,e)?1:0,r=Fo.getLocalTokenValue(this,e);this._values.set(e,t),Fo.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Fo.isDerivedTokenValue(t),a=Fo.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Fo.queueNotification(new Po(this,o,e,t)),this.dispatch(new Po(this,o,e,t)),a.forEach((e,t)=>{if(!Fo.isDerivedFor(this,t)){Fo.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Fo.queueNotification(new Po(this,1,t,e.evaluator.value)),this.dispatch(new Po(this,0,t,e.evaluator.value))}}),Fo.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Fo.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Fo.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(Fo.isAssigned(this,e)){const t=Fo.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Fo.queueNotification(new Po(this,2,e)),t!==o&&this.dispatch(new Po(this,2,e)),Fo.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Fo.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&&Fo.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Fo.queueNotification(new Po(this,2,i))),n&&(e=new Po(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Fo.isDerivedTokenValue(s)){const t=So.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Fo.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 Po(this,void 0===t?0:1,i,o.evaluator.value);Fo.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Fo.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Fo.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Po(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(Fo.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Fo.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Co(e,So.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Po(this,1,r.token,r.evaluator.value);Fo.queueNotification(e),this.dispatch(e),Fo.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Fo.getOrCreateDependencyGraph(this,t).add(r)}),r}}Fo._notifications=[];class To{setProperty(e,t){x.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){x.enqueue(()=>this.target.removeProperty(e))}}class Io extends To{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ao extends To{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 zo{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([S],zo.prototype,"target",void 0);class No{setProperty(e,t){No.properties[e]=t;for(const o of No.roots.values())o.setProperty(e,t)}removeProperty(e){delete No.properties[e];for(const t of No.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=No;if(!t.has(e)){t.add(e);for(const t in No.properties)e.setProperty(t,No.properties[t])}}static unregisterRoot(e){const{roots:t}=No;if(t.has(e)){t.delete(e);for(const t in No.properties)e.removeProperty(t)}}}No.roots=new Set,No.properties={};const Lo=new WeakMap,Do=L.supportsAdoptedStyleSheets?class extends To{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:zo,Eo=Object.freeze({getOrCreate(e){if(Lo.has(e))return Lo.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new Io:new Ao:new Do(e),Lo.set(e,t),t}});class Oo{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Ro.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 Ro.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 Mo({name:e,cssCustomPropertyName:e}):Oo.isCSSDesignTokenConfiguration(e)?new Mo(e):new Oo(e)}static withStrategy(e){Ro.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Eo.getOrCreate(e)),No.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Qe||e instanceof Document)&&(e=Eo.getOrCreate(e)),No.unregisterRoot(e)}getValueFor(e){return Ro.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Ro.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Ro.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Ro.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 Oo&&(e=this.alias(e)),e}}let Mo=class extends Oo{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Ro.defaultNode?Ro.rootStyleSheetTarget:t.target instanceof Ro?Eo.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 Ho;Mo=Je([function(e){E.define(e)},function(e){ee.define(e,Ho)}],Mo);const Vo={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Qe)return o;o=t(o)}return null}};class Ro extends Fo{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&&Ro.withStrategy(Vo),this._strategy}connectedCallback(e){let t=Ro.findParent(e.source);if(null===t&&(t=Ro.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Ro&&Ro.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Ro.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Ro.cache.get(e);return t||(t=new Ro(e),Ro.cache.set(e,t),e.$fastController.addBehavior(Ro.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Ro.strategy.parent(e);for(;null!==t;){const e=Ro.cache.get(t);if(e)return e;t=Ro.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Ro.defaultNode.appendChild(this),e.apply(this,t))}}Ro.defaultNode=new Fo,Ro.rootStyleSheetTarget=new No,Ro.cache=new WeakMap;const _o={separator:"separator",presentation:"presentation"},jo=at;class qo extends Qe{constructor(){super(...arguments),this.role=_o.separator,this.orientation=jo.horizontal}}Je([De],qo.prototype,"role",void 0),Je([De],qo.prototype,"orientation",void 0);const Go={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class Xo extends Qe{constructor(){super(...arguments),this.role=Go.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 Go.menuitemcheckbox:this.checked=!this.checked;break;case Go.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Go.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,c=l||a?[...to(e)?vo(e):e.contextElement?vo(e.contextElement):[],...vo(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),to(e)&&!s&&h.observe(e),to(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?po(e):null;return s&&function t(){const r=po(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o();u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}(this,this.submenuContainer,()=>et(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield Bo(this,this.submenuContainer,{middleware:[jt(),qt({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),_t({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"})],Xo.prototype,"disabled",void 0),Je([De({mode:"boolean"})],Xo.prototype,"expanded",void 0),Je([De],Xo.prototype,"role",void 0),Je([De({mode:"boolean"})],Xo.prototype,"checked",void 0),Je([De({mode:"boolean"})],Xo.prototype,"hidden",void 0),Je([S],Xo.prototype,"slottedSubmenu",void 0),Je([S],Xo.prototype,"submenu",void 0),ht(Xo,ot);class Wo 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===Go.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===Go.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Xo||nt(e)&&e.getAttribute("role")in Wo.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}}}Wo.focusableElementRoles=Go,Je([S],Wo.prototype,"items",void 0);class Uo 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})],Uo.prototype,"value",void 0),Je([De({converter:Ne})],Uo.prototype,"min",void 0),Je([De({converter:Ne})],Uo.prototype,"max",void 0),Je([S],Uo.prototype,"percentComplete",void 0);class Yo extends Uo{}class Ko extends Uo{}const Qo=at,Zo="single-value";function Jo(e,t,o,r){let i=lt(0,1,(e-t)/(o-t));return r===st.rtl&&(i=1-i),i}class er extends Qe{}class tr extends(xt(er)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class or extends tr{constructor(){super(...arguments),this.direction=st.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=Zo,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==st.rtl&&this.orientation!==at.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==st.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=lt(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?st.rtl:st.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==st.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!==st.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-Jo(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=Jo(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"})],or.prototype,"readOnly",void 0),Je([S],or.prototype,"direction",void 0),Je([S],or.prototype,"isDragging",void 0),Je([S],or.prototype,"position",void 0),Je([S],or.prototype,"trackWidth",void 0),Je([S],or.prototype,"trackMinWidth",void 0),Je([S],or.prototype,"trackHeight",void 0),Je([S],or.prototype,"trackLeft",void 0),Je([S],or.prototype,"trackMinHeight",void 0),Je([S],or.prototype,"valueTextFormatter",void 0),Je([De({converter:Ne})],or.prototype,"min",void 0),Je([De({converter:Ne})],or.prototype,"max",void 0),Je([De({converter:Ne})],or.prototype,"step",void 0),Je([De],or.prototype,"orientation",void 0),Je([De],or.prototype,"mode",void 0);class rr extends Qe{}class ir extends(function(e){class t extends(xt(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"),S(o.prototype,"defaultChecked"),S(o.prototype,"checked"),o}(rr)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ar extends ir{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"})],ar.prototype,"readOnly",void 0),Je([S],ar.prototype,"defaultSlottedNodes",void 0);class nr extends Qe{}class sr extends Qe{}Je([De({mode:"boolean"})],sr.prototype,"disabled",void 0),ht(sr,ot);const lr=at;class cr extends Qe{constructor(){super(...arguments),this.orientation=lr.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-"+dt()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+dt()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===lr.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=lt(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],cr.prototype,"orientation",void 0),Je([De],cr.prototype,"activeid",void 0),Je([S],cr.prototype,"tabs",void 0),Je([S],cr.prototype,"tabpanels",void 0),ht(cr,ot);function dr(e){return`:host([hidden]){display:none}:host{display:${e}}`}class hr extends bt{}const ur=ke`<template><slot ${Te({property:"slottedAccordionItems",filter:Ce()})}></slot></template>`,pr=j`
2
+ ${dr("flex")}
3
3
 
4
- :host{flex-direction:column;width:100%;contain:content}`,po=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),go=lo.compose({name:po.prefix+"-accordion",template:co,styles:uo});class bo extends ct{constructor(){super(...arguments),this.block=!1}}Ze([Le],bo.prototype,"size",void 0),Ze([Le({mode:"boolean"})],bo.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],bo.prototype,"expandIconPosition",void 0);const vo={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},fo={start:"start",end:"end"},{create:mo}=Mt,yo=mo("borderRadiusNone"),ko=mo("borderRadiusSmall"),$o=mo("borderRadiusMedium"),xo=mo("borderRadiusLarge"),wo=mo("borderRadiusXLarge"),Bo=mo("borderRadiusCircular"),So=mo("fontSizeBase100"),Po=mo("fontSizeBase200"),Co=mo("fontSizeBase300"),Fo=mo("fontSizeBase400"),To=mo("fontSizeBase500"),zo=mo("fontSizeBase600"),Ao=mo("fontSizeHero700"),No=mo("fontSizeHero800"),Io=mo("fontSizeHero900"),Lo=mo("fontSizeHero1000"),Do=mo("lineHeightBase100"),Oo=mo("lineHeightBase200"),Mo=mo("lineHeightBase300"),Ho=mo("lineHeightBase400"),Eo=mo("lineHeightBase500"),Vo=mo("lineHeightBase600"),Ro=mo("lineHeightHero700"),_o=mo("lineHeightHero800"),jo=mo("lineHeightHero900"),Go=mo("lineHeightHero1000"),qo=mo("fontFamilyBase"),Xo=mo("fontFamilyMonospace"),Wo=mo("fontFamilyNumeric"),Uo=mo("fontWeightRegular"),Yo=mo("fontWeightMedium"),Ko=mo("fontWeightSemibold"),Qo=mo("fontWeightBold"),Zo=mo("strokeWidthThin"),Jo=mo("strokeWidthThick"),er=mo("strokeWidthThicker"),tr=mo("strokeWidthThickest"),or=mo("spacingHorizontalNone"),rr=mo("spacingHorizontalXXS"),ar=mo("spacingHorizontalXS"),ir=mo("spacingHorizontalSNudge"),sr=mo("spacingHorizontalS"),nr=mo("spacingHorizontalMNudge"),lr=mo("spacingHorizontalM"),cr=mo("spacingHorizontalL"),dr=mo("spacingHorizontalXL"),hr=mo("spacingHorizontalXXL"),ur=mo("spacingHorizontalXXXL"),pr=mo("spacingVerticalNone"),gr=mo("spacingVerticalXXS"),br=mo("spacingVerticalXS"),vr=mo("spacingVerticalSNudge"),fr=mo("spacingVerticalS"),mr=mo("spacingVerticalMNudge"),yr=mo("spacingVerticalM"),kr=mo("spacingVerticalL"),$r=mo("spacingVerticalXL"),xr=mo("spacingVerticalXXL"),wr=mo("spacingVerticalXXXL"),Br=mo("durationUltraFast"),Sr=mo("durationFaster"),Pr=mo("durationFast"),Cr=mo("durationNormal"),Fr=mo("durationSlow"),Tr=mo("durationSlower"),zr=mo("durationUltraSlow"),Ar=mo("curveAccelerateMax"),Nr=mo("curveAccelerateMid"),Ir=mo("curveAccelerateMin"),Lr=mo("curveDecelerateMax"),Dr=mo("curveDecelerateMid"),Or=mo("curveDecelerateMin"),Mr=mo("curveEasyEaseMax"),Hr=mo("curveEasyEase"),Er=mo("curveLinear"),Vr=mo("colorNeutralForeground1"),Rr=mo("colorNeutralForeground1Hover"),_r=mo("colorNeutralForeground1Pressed"),jr=mo("colorNeutralForeground1Selected"),Gr=mo("colorNeutralForeground2"),qr=mo("colorNeutralForeground2Hover"),Xr=mo("colorNeutralForeground2Pressed"),Wr=mo("colorNeutralForeground2Selected"),Ur=mo("colorNeutralForeground2BrandHover"),Yr=mo("colorNeutralForeground2BrandPressed"),Kr=mo("colorNeutralForeground2BrandSelected"),Qr=mo("colorNeutralForeground3"),Zr=mo("colorNeutralForeground3Hover"),Jr=mo("colorNeutralForeground3Pressed"),ea=mo("colorNeutralForeground3Selected"),ta=mo("colorNeutralForeground3BrandHover"),oa=mo("colorNeutralForeground3BrandPressed"),ra=mo("colorNeutralForeground3BrandSelected"),aa=mo("colorNeutralForeground4"),ia=mo("colorNeutralForegroundDisabled"),sa=mo("colorNeutralForegroundInvertedDisabled"),na=mo("colorBrandForegroundLink"),la=mo("colorBrandForegroundLinkHover"),ca=mo("colorBrandForegroundLinkPressed"),da=mo("colorBrandForegroundLinkSelected"),ha=mo("colorNeutralForeground2Link"),ua=mo("colorNeutralForeground2LinkHover"),pa=mo("colorNeutralForeground2LinkPressed"),ga=mo("colorNeutralForeground2LinkSelected"),ba=mo("colorCompoundBrandForeground1"),va=mo("colorCompoundBrandForeground1Hover"),fa=mo("colorCompoundBrandForeground1Pressed"),ma=mo("colorBrandForeground1"),ya=mo("colorBrandForeground2"),ka=mo("colorNeutralForeground1Static"),$a=mo("colorNeutralForegroundStaticInverted"),xa=mo("colorNeutralForegroundInverted"),wa=mo("colorNeutralForegroundInvertedHover"),Ba=mo("colorNeutralForegroundInvertedPressed"),Sa=mo("colorNeutralForegroundInvertedSelected"),Pa=mo("colorNeutralForegroundInverted2"),Ca=mo("colorNeutralForegroundOnBrand"),Fa=mo("colorNeutralForegroundInvertedLink"),Ta=mo("colorNeutralForegroundInvertedLinkHover"),za=mo("colorNeutralForegroundInvertedLinkPressed"),Aa=mo("colorNeutralForegroundInvertedLinkSelected"),Na=mo("colorBrandForegroundInverted"),Ia=mo("colorBrandForegroundInvertedHover"),La=mo("colorBrandForegroundInvertedPressed"),Da=mo("colorBrandForegroundOnLight"),Oa=mo("colorBrandForegroundOnLightHover"),Ma=mo("colorBrandForegroundOnLightPressed"),Ha=mo("colorBrandForegroundOnLightSelected"),Ea=mo("colorNeutralBackground1"),Va=mo("colorNeutralBackground1Hover"),Ra=mo("colorNeutralBackground1Pressed"),_a=mo("colorNeutralBackground1Selected"),ja=mo("colorNeutralBackground2"),Ga=mo("colorNeutralBackground2Hover"),qa=mo("colorNeutralBackground2Pressed"),Xa=mo("colorNeutralBackground2Selected"),Wa=mo("colorNeutralBackground3"),Ua=mo("colorNeutralBackground3Hover"),Ya=mo("colorNeutralBackground3Pressed"),Ka=mo("colorNeutralBackground3Selected"),Qa=mo("colorNeutralBackground4"),Za=mo("colorNeutralBackground4Hover"),Ja=mo("colorNeutralBackground4Pressed"),ei=mo("colorNeutralBackground4Selected"),ti=mo("colorNeutralBackground5"),oi=mo("colorNeutralBackground5Hover"),ri=mo("colorNeutralBackground5Pressed"),ai=mo("colorNeutralBackground5Selected"),ii=mo("colorNeutralBackground6"),si=mo("colorNeutralBackgroundInverted"),ni=mo("colorNeutralBackgroundStatic"),li=mo("colorSubtleBackground"),ci=mo("colorSubtleBackgroundHover"),di=mo("colorSubtleBackgroundPressed"),hi=mo("colorSubtleBackgroundSelected"),ui=mo("colorSubtleBackgroundLightAlphaHover"),pi=mo("colorSubtleBackgroundLightAlphaPressed"),gi=mo("colorSubtleBackgroundLightAlphaSelected"),bi=mo("colorSubtleBackgroundInverted"),vi=mo("colorSubtleBackgroundInvertedHover"),fi=mo("colorSubtleBackgroundInvertedPressed"),mi=mo("colorSubtleBackgroundInvertedSelected"),yi=mo("colorTransparentBackground"),ki=mo("colorTransparentBackgroundHover"),$i=mo("colorTransparentBackgroundPressed"),xi=mo("colorTransparentBackgroundSelected"),wi=mo("colorNeutralBackgroundDisabled"),Bi=mo("colorNeutralBackgroundInvertedDisabled"),Si=mo("colorNeutralStencil1"),Pi=mo("colorNeutralStencil2"),Ci=mo("colorNeutralStencil1Alpha"),Fi=mo("colorNeutralStencil2Alpha"),Ti=mo("colorBackgroundOverlay"),zi=mo("colorScrollbarOverlay"),Ai=mo("colorBrandBackground"),Ni=mo("colorBrandBackgroundHover"),Ii=mo("colorBrandBackgroundPressed"),Li=mo("colorBrandBackgroundSelected"),Di=mo("colorCompoundBrandBackground"),Oi=mo("colorCompoundBrandBackgroundHover"),Mi=mo("colorCompoundBrandBackgroundPressed"),Hi=mo("colorBrandBackgroundStatic"),Ei=mo("colorBrandBackground2"),Vi=mo("colorBrandBackgroundInverted"),Ri=mo("colorBrandBackgroundInvertedHover"),_i=mo("colorBrandBackgroundInvertedPressed"),ji=mo("colorBrandBackgroundInvertedSelected"),Gi=mo("colorNeutralStrokeAccessible"),qi=mo("colorNeutralStrokeAccessibleHover"),Xi=mo("colorNeutralStrokeAccessiblePressed"),Wi=mo("colorNeutralStrokeAccessibleSelected"),Ui=mo("colorNeutralStroke1"),Yi=mo("colorNeutralStroke1Hover"),Ki=mo("colorNeutralStroke1Pressed"),Qi=mo("colorNeutralStroke1Selected"),Zi=mo("colorNeutralStroke2"),Ji=mo("colorNeutralStroke3"),es=mo("colorNeutralStrokeOnBrand"),ts=mo("colorNeutralStrokeOnBrand2"),os=mo("colorNeutralStrokeOnBrand2Hover"),rs=mo("colorNeutralStrokeOnBrand2Pressed"),as=mo("colorNeutralStrokeOnBrand2Selected"),is=mo("colorBrandStroke1"),ss=mo("colorBrandStroke2"),ns=mo("colorCompoundBrandStroke"),ls=mo("colorCompoundBrandStrokeHover"),cs=mo("colorCompoundBrandStrokePressed"),ds=mo("colorNeutralStrokeDisabled"),hs=mo("colorNeutralStrokeInvertedDisabled"),us=mo("colorTransparentStroke"),ps=mo("colorTransparentStrokeInteractive"),gs=mo("colorTransparentStrokeDisabled"),bs=mo("colorStrokeFocus1"),vs=mo("colorStrokeFocus2"),fs=mo("colorNeutralShadowAmbient"),ms=mo("colorNeutralShadowKey"),ys=mo("colorNeutralShadowAmbientLighter"),ks=mo("colorNeutralShadowKeyLighter"),$s=mo("colorNeutralShadowAmbientDarker"),xs=mo("colorNeutralShadowKeyDarker"),ws=mo("colorBrandShadowAmbient"),Bs=mo("colorBrandShadowKey"),Ss=mo("colorPaletteRedBackground1"),Ps=mo("colorPaletteRedBackground2"),Cs=mo("colorPaletteRedBackground3"),Fs=mo("colorPaletteRedForeground1"),Ts=mo("colorPaletteRedForeground2"),zs=mo("colorPaletteRedForeground3"),As=mo("colorPaletteRedBorderActive"),Ns=mo("colorPaletteRedBorder1"),Is=mo("colorPaletteRedBorder2"),Ls=mo("colorPaletteGreenBackground1"),Ds=mo("colorPaletteGreenBackground2"),Os=mo("colorPaletteGreenBackground3"),Ms=mo("colorPaletteGreenForeground1"),Hs=mo("colorPaletteGreenForeground2"),Es=mo("colorPaletteGreenForeground3"),Vs=mo("colorPaletteGreenBorderActive"),Rs=mo("colorPaletteGreenBorder1"),_s=mo("colorPaletteGreenBorder2"),js=mo("colorPaletteDarkOrangeBackground1"),Gs=mo("colorPaletteDarkOrangeBackground2"),qs=mo("colorPaletteDarkOrangeBackground3"),Xs=mo("colorPaletteDarkOrangeForeground1"),Ws=mo("colorPaletteDarkOrangeForeground2"),Us=mo("colorPaletteDarkOrangeForeground3"),Ys=mo("colorPaletteDarkOrangeBorderActive"),Ks=mo("colorPaletteDarkOrangeBorder1"),Qs=mo("colorPaletteDarkOrangeBorder2"),Zs=mo("colorPaletteYellowBackground1"),Js=mo("colorPaletteYellowBackground2"),en=mo("colorPaletteYellowBackground3"),tn=mo("colorPaletteYellowForeground1"),on=mo("colorPaletteYellowForeground2"),rn=mo("colorPaletteYellowForeground3"),an=mo("colorPaletteYellowBorderActive"),sn=mo("colorPaletteYellowBorder1"),nn=mo("colorPaletteYellowBorder2"),ln=mo("colorPaletteBerryBackground1"),cn=mo("colorPaletteBerryBackground2"),dn=mo("colorPaletteBerryBackground3"),hn=mo("colorPaletteBerryForeground1"),un=mo("colorPaletteBerryForeground2"),pn=mo("colorPaletteBerryForeground3"),gn=mo("colorPaletteBerryBorderActive"),bn=mo("colorPaletteBerryBorder1"),vn=mo("colorPaletteBerryBorder2"),fn=mo("colorPaletteLightGreenBackground1"),mn=mo("colorPaletteLightGreenBackground2"),yn=mo("colorPaletteLightGreenBackground3"),kn=mo("colorPaletteLightGreenForeground1"),$n=mo("colorPaletteLightGreenForeground2"),xn=mo("colorPaletteLightGreenForeground3"),wn=mo("colorPaletteLightGreenBorderActive"),Bn=mo("colorPaletteLightGreenBorder1"),Sn=mo("colorPaletteLightGreenBorder2"),Pn=mo("colorPaletteMarigoldBackground1"),Cn=mo("colorPaletteMarigoldBackground2"),Fn=mo("colorPaletteMarigoldBackground3"),Tn=mo("colorPaletteMarigoldForeground1"),zn=mo("colorPaletteMarigoldForeground2"),An=mo("colorPaletteMarigoldForeground3"),Nn=mo("colorPaletteMarigoldBorderActive"),In=mo("colorPaletteMarigoldBorder1"),Ln=mo("colorPaletteMarigoldBorder2"),Dn=mo("colorPaletteDarkRedBackground2"),On=mo("colorPaletteDarkRedForeground2"),Mn=mo("colorPaletteDarkRedBorderActive"),Hn=mo("colorPaletteCranberryBackground2"),En=mo("colorPaletteCranberryForeground2"),Vn=mo("colorPaletteCranberryBorderActive"),Rn=mo("colorPalettePumpkinBackground2"),_n=mo("colorPalettePumpkinForeground2"),jn=mo("colorPalettePumpkinBorderActive"),Gn=mo("colorPalettePeachBackground2"),qn=mo("colorPalettePeachForeground2"),Xn=mo("colorPalettePeachBorderActive"),Wn=mo("colorPaletteGoldBackground2"),Un=mo("colorPaletteGoldForeground2"),Yn=mo("colorPaletteGoldBorderActive"),Kn=mo("colorPaletteBrassBackground2"),Qn=mo("colorPaletteBrassForeground2"),Zn=mo("colorPaletteBrassBorderActive"),Jn=mo("colorPaletteBrownBackground2"),el=mo("colorPaletteBrownForeground2"),tl=mo("colorPaletteBrownBorderActive"),ol=mo("colorPaletteForestBackground2"),rl=mo("colorPaletteForestForeground2"),al=mo("colorPaletteForestBorderActive"),il=mo("colorPaletteSeafoamBackground2"),sl=mo("colorPaletteSeafoamForeground2"),nl=mo("colorPaletteSeafoamBorderActive"),ll=mo("colorPaletteDarkGreenBackground2"),cl=mo("colorPaletteDarkGreenForeground2"),dl=mo("colorPaletteDarkGreenBorderActive"),hl=mo("colorPaletteLightTealBackground2"),ul=mo("colorPaletteLightTealForeground2"),pl=mo("colorPaletteLightTealBorderActive"),gl=mo("colorPaletteTealBackground2"),bl=mo("colorPaletteTealForeground2"),vl=mo("colorPaletteTealBorderActive"),fl=mo("colorPaletteSteelBackground2"),ml=mo("colorPaletteSteelForeground2"),yl=mo("colorPaletteSteelBorderActive"),kl=mo("colorPaletteBlueBackground2"),$l=mo("colorPaletteBlueForeground2"),xl=mo("colorPaletteBlueBorderActive"),wl=mo("colorPaletteRoyalBlueBackground2"),Bl=mo("colorPaletteRoyalBlueForeground2"),Sl=mo("colorPaletteRoyalBlueBorderActive"),Pl=mo("colorPaletteCornflowerBackground2"),Cl=mo("colorPaletteCornflowerForeground2"),Fl=mo("colorPaletteCornflowerBorderActive"),Tl=mo("colorPaletteNavyBackground2"),zl=mo("colorPaletteNavyForeground2"),Al=mo("colorPaletteNavyBorderActive"),Nl=mo("colorPaletteLavenderBackground2"),Il=mo("colorPaletteLavenderForeground2"),Ll=mo("colorPaletteLavenderBorderActive"),Dl=mo("colorPalettePurpleBackground2"),Ol=mo("colorPalettePurpleForeground2"),Ml=mo("colorPalettePurpleBorderActive"),Hl=mo("colorPaletteGrapeBackground2"),El=mo("colorPaletteGrapeForeground2"),Vl=mo("colorPaletteGrapeBorderActive"),Rl=mo("colorPaletteLilacBackground2"),_l=mo("colorPaletteLilacForeground2"),jl=mo("colorPaletteLilacBorderActive"),Gl=mo("colorPalettePinkBackground2"),ql=mo("colorPalettePinkForeground2"),Xl=mo("colorPalettePinkBorderActive"),Wl=mo("colorPaletteMagentaBackground2"),Ul=mo("colorPaletteMagentaForeground2"),Yl=mo("colorPaletteMagentaBorderActive"),Kl=mo("colorPalettePlumBackground2"),Ql=mo("colorPalettePlumForeground2"),Zl=mo("colorPalettePlumBorderActive"),Jl=mo("colorPaletteBeigeBackground2"),ec=mo("colorPaletteBeigeForeground2"),tc=mo("colorPaletteBeigeBorderActive"),oc=mo("colorPaletteMinkBackground2"),rc=mo("colorPaletteMinkForeground2"),ac=mo("colorPaletteMinkBorderActive"),ic=mo("colorPalettePlatinumBackground2"),sc=mo("colorPalettePlatinumForeground2"),nc=mo("colorPalettePlatinumBorderActive"),lc=mo("colorPaletteAnchorBackground2"),cc=mo("colorPaletteAnchorForeground2"),dc=mo("colorPaletteAnchorBorderActive"),hc=mo("colorPaletteRedForegroundInverted"),uc=mo("colorPaletteGreenForegroundInverted"),pc=mo("colorPaletteYellowForegroundInverted"),gc=mo("shadow2"),bc=mo("shadow4"),vc=mo("shadow8"),fc=mo("shadow16"),mc=mo("shadow28"),yc=mo("shadow64"),kc=mo("shadow2Brand"),$c=mo("shadow4Brand"),xc=mo("shadow8Brand"),wc=mo("shadow16Brand"),Bc=mo("shadow28Brand"),Sc=mo("shadow64Brand");var Pc=Object.freeze({__proto__:null,borderRadiusNone:yo,borderRadiusSmall:ko,borderRadiusMedium:$o,borderRadiusLarge:xo,borderRadiusXLarge:wo,borderRadiusCircular:Bo,fontSizeBase100:So,fontSizeBase200:Po,fontSizeBase300:Co,fontSizeBase400:Fo,fontSizeBase500:To,fontSizeBase600:zo,fontSizeHero700:Ao,fontSizeHero800:No,fontSizeHero900:Io,fontSizeHero1000:Lo,lineHeightBase100:Do,lineHeightBase200:Oo,lineHeightBase300:Mo,lineHeightBase400:Ho,lineHeightBase500:Eo,lineHeightBase600:Vo,lineHeightHero700:Ro,lineHeightHero800:_o,lineHeightHero900:jo,lineHeightHero1000:Go,fontFamilyBase:qo,fontFamilyMonospace:Xo,fontFamilyNumeric:Wo,fontWeightRegular:Uo,fontWeightMedium:Yo,fontWeightSemibold:Ko,fontWeightBold:Qo,strokeWidthThin:Zo,strokeWidthThick:Jo,strokeWidthThicker:er,strokeWidthThickest:tr,spacingHorizontalNone:or,spacingHorizontalXXS:rr,spacingHorizontalXS:ar,spacingHorizontalSNudge:ir,spacingHorizontalS:sr,spacingHorizontalMNudge:nr,spacingHorizontalM:lr,spacingHorizontalL:cr,spacingHorizontalXL:dr,spacingHorizontalXXL:hr,spacingHorizontalXXXL:ur,spacingVerticalNone:pr,spacingVerticalXXS:gr,spacingVerticalXS:br,spacingVerticalSNudge:vr,spacingVerticalS:fr,spacingVerticalMNudge:mr,spacingVerticalM:yr,spacingVerticalL:kr,spacingVerticalXL:$r,spacingVerticalXXL:xr,spacingVerticalXXXL:wr,durationUltraFast:Br,durationFaster:Sr,durationFast:Pr,durationNormal:Cr,durationSlow:Fr,durationSlower:Tr,durationUltraSlow:zr,curveAccelerateMax:Ar,curveAccelerateMid:Nr,curveAccelerateMin:Ir,curveDecelerateMax:Lr,curveDecelerateMid:Dr,curveDecelerateMin:Or,curveEasyEaseMax:Mr,curveEasyEase:Hr,curveLinear:Er,colorNeutralForeground1:Vr,colorNeutralForeground1Hover:Rr,colorNeutralForeground1Pressed:_r,colorNeutralForeground1Selected:jr,colorNeutralForeground2:Gr,colorNeutralForeground2Hover:qr,colorNeutralForeground2Pressed:Xr,colorNeutralForeground2Selected:Wr,colorNeutralForeground2BrandHover:Ur,colorNeutralForeground2BrandPressed:Yr,colorNeutralForeground2BrandSelected:Kr,colorNeutralForeground3:Qr,colorNeutralForeground3Hover:Zr,colorNeutralForeground3Pressed:Jr,colorNeutralForeground3Selected:ea,colorNeutralForeground3BrandHover:ta,colorNeutralForeground3BrandPressed:oa,colorNeutralForeground3BrandSelected:ra,colorNeutralForeground4:aa,colorNeutralForegroundDisabled:ia,colorNeutralForegroundInvertedDisabled:sa,colorBrandForegroundLink:na,colorBrandForegroundLinkHover:la,colorBrandForegroundLinkPressed:ca,colorBrandForegroundLinkSelected:da,colorNeutralForeground2Link:ha,colorNeutralForeground2LinkHover:ua,colorNeutralForeground2LinkPressed:pa,colorNeutralForeground2LinkSelected:ga,colorCompoundBrandForeground1:ba,colorCompoundBrandForeground1Hover:va,colorCompoundBrandForeground1Pressed:fa,colorBrandForeground1:ma,colorBrandForeground2:ya,colorNeutralForeground1Static:ka,colorNeutralForegroundStaticInverted:$a,colorNeutralForegroundInverted:xa,colorNeutralForegroundInvertedHover:wa,colorNeutralForegroundInvertedPressed:Ba,colorNeutralForegroundInvertedSelected:Sa,colorNeutralForegroundInverted2:Pa,colorNeutralForegroundOnBrand:Ca,colorNeutralForegroundInvertedLink:Fa,colorNeutralForegroundInvertedLinkHover:Ta,colorNeutralForegroundInvertedLinkPressed:za,colorNeutralForegroundInvertedLinkSelected:Aa,colorBrandForegroundInverted:Na,colorBrandForegroundInvertedHover:Ia,colorBrandForegroundInvertedPressed:La,colorBrandForegroundOnLight:Da,colorBrandForegroundOnLightHover:Oa,colorBrandForegroundOnLightPressed:Ma,colorBrandForegroundOnLightSelected:Ha,colorNeutralBackground1:Ea,colorNeutralBackground1Hover:Va,colorNeutralBackground1Pressed:Ra,colorNeutralBackground1Selected:_a,colorNeutralBackground2:ja,colorNeutralBackground2Hover:Ga,colorNeutralBackground2Pressed:qa,colorNeutralBackground2Selected:Xa,colorNeutralBackground3:Wa,colorNeutralBackground3Hover:Ua,colorNeutralBackground3Pressed:Ya,colorNeutralBackground3Selected:Ka,colorNeutralBackground4:Qa,colorNeutralBackground4Hover:Za,colorNeutralBackground4Pressed:Ja,colorNeutralBackground4Selected:ei,colorNeutralBackground5:ti,colorNeutralBackground5Hover:oi,colorNeutralBackground5Pressed:ri,colorNeutralBackground5Selected:ai,colorNeutralBackground6:ii,colorNeutralBackgroundInverted:si,colorNeutralBackgroundStatic:ni,colorSubtleBackground:li,colorSubtleBackgroundHover:ci,colorSubtleBackgroundPressed:di,colorSubtleBackgroundSelected:hi,colorSubtleBackgroundLightAlphaHover:ui,colorSubtleBackgroundLightAlphaPressed:pi,colorSubtleBackgroundLightAlphaSelected:gi,colorSubtleBackgroundInverted:bi,colorSubtleBackgroundInvertedHover:vi,colorSubtleBackgroundInvertedPressed:fi,colorSubtleBackgroundInvertedSelected:mi,colorTransparentBackground:yi,colorTransparentBackgroundHover:ki,colorTransparentBackgroundPressed:$i,colorTransparentBackgroundSelected:xi,colorNeutralBackgroundDisabled:wi,colorNeutralBackgroundInvertedDisabled:Bi,colorNeutralStencil1:Si,colorNeutralStencil2:Pi,colorNeutralStencil1Alpha:Ci,colorNeutralStencil2Alpha:Fi,colorBackgroundOverlay:Ti,colorScrollbarOverlay:zi,colorBrandBackground:Ai,colorBrandBackgroundHover:Ni,colorBrandBackgroundPressed:Ii,colorBrandBackgroundSelected:Li,colorCompoundBrandBackground:Di,colorCompoundBrandBackgroundHover:Oi,colorCompoundBrandBackgroundPressed:Mi,colorBrandBackgroundStatic:Hi,colorBrandBackground2:Ei,colorBrandBackgroundInverted:Vi,colorBrandBackgroundInvertedHover:Ri,colorBrandBackgroundInvertedPressed:_i,colorBrandBackgroundInvertedSelected:ji,colorNeutralStrokeAccessible:Gi,colorNeutralStrokeAccessibleHover:qi,colorNeutralStrokeAccessiblePressed:Xi,colorNeutralStrokeAccessibleSelected:Wi,colorNeutralStroke1:Ui,colorNeutralStroke1Hover:Yi,colorNeutralStroke1Pressed:Ki,colorNeutralStroke1Selected:Qi,colorNeutralStroke2:Zi,colorNeutralStroke3:Ji,colorNeutralStrokeOnBrand:es,colorNeutralStrokeOnBrand2:ts,colorNeutralStrokeOnBrand2Hover:os,colorNeutralStrokeOnBrand2Pressed:rs,colorNeutralStrokeOnBrand2Selected:as,colorBrandStroke1:is,colorBrandStroke2:ss,colorCompoundBrandStroke:ns,colorCompoundBrandStrokeHover:ls,colorCompoundBrandStrokePressed:cs,colorNeutralStrokeDisabled:ds,colorNeutralStrokeInvertedDisabled:hs,colorTransparentStroke:us,colorTransparentStrokeInteractive:ps,colorTransparentStrokeDisabled:gs,colorStrokeFocus1:bs,colorStrokeFocus2:vs,colorNeutralShadowAmbient:fs,colorNeutralShadowKey:ms,colorNeutralShadowAmbientLighter:ys,colorNeutralShadowKeyLighter:ks,colorNeutralShadowAmbientDarker:$s,colorNeutralShadowKeyDarker:xs,colorBrandShadowAmbient:ws,colorBrandShadowKey:Bs,colorPaletteRedBackground1:Ss,colorPaletteRedBackground2:Ps,colorPaletteRedBackground3:Cs,colorPaletteRedForeground1:Fs,colorPaletteRedForeground2:Ts,colorPaletteRedForeground3:zs,colorPaletteRedBorderActive:As,colorPaletteRedBorder1:Ns,colorPaletteRedBorder2:Is,colorPaletteGreenBackground1:Ls,colorPaletteGreenBackground2:Ds,colorPaletteGreenBackground3:Os,colorPaletteGreenForeground1:Ms,colorPaletteGreenForeground2:Hs,colorPaletteGreenForeground3:Es,colorPaletteGreenBorderActive:Vs,colorPaletteGreenBorder1:Rs,colorPaletteGreenBorder2:_s,colorPaletteDarkOrangeBackground1:js,colorPaletteDarkOrangeBackground2:Gs,colorPaletteDarkOrangeBackground3:qs,colorPaletteDarkOrangeForeground1:Xs,colorPaletteDarkOrangeForeground2:Ws,colorPaletteDarkOrangeForeground3:Us,colorPaletteDarkOrangeBorderActive:Ys,colorPaletteDarkOrangeBorder1:Ks,colorPaletteDarkOrangeBorder2:Qs,colorPaletteYellowBackground1:Zs,colorPaletteYellowBackground2:Js,colorPaletteYellowBackground3:en,colorPaletteYellowForeground1:tn,colorPaletteYellowForeground2:on,colorPaletteYellowForeground3:rn,colorPaletteYellowBorderActive:an,colorPaletteYellowBorder1:sn,colorPaletteYellowBorder2:nn,colorPaletteBerryBackground1:ln,colorPaletteBerryBackground2:cn,colorPaletteBerryBackground3:dn,colorPaletteBerryForeground1:hn,colorPaletteBerryForeground2:un,colorPaletteBerryForeground3:pn,colorPaletteBerryBorderActive:gn,colorPaletteBerryBorder1:bn,colorPaletteBerryBorder2:vn,colorPaletteLightGreenBackground1:fn,colorPaletteLightGreenBackground2:mn,colorPaletteLightGreenBackground3:yn,colorPaletteLightGreenForeground1:kn,colorPaletteLightGreenForeground2:$n,colorPaletteLightGreenForeground3:xn,colorPaletteLightGreenBorderActive:wn,colorPaletteLightGreenBorder1:Bn,colorPaletteLightGreenBorder2:Sn,colorPaletteMarigoldBackground1:Pn,colorPaletteMarigoldBackground2:Cn,colorPaletteMarigoldBackground3:Fn,colorPaletteMarigoldForeground1:Tn,colorPaletteMarigoldForeground2:zn,colorPaletteMarigoldForeground3:An,colorPaletteMarigoldBorderActive:Nn,colorPaletteMarigoldBorder1:In,colorPaletteMarigoldBorder2:Ln,colorPaletteDarkRedBackground2:Dn,colorPaletteDarkRedForeground2:On,colorPaletteDarkRedBorderActive:Mn,colorPaletteCranberryBackground2:Hn,colorPaletteCranberryForeground2:En,colorPaletteCranberryBorderActive:Vn,colorPalettePumpkinBackground2:Rn,colorPalettePumpkinForeground2:_n,colorPalettePumpkinBorderActive:jn,colorPalettePeachBackground2:Gn,colorPalettePeachForeground2:qn,colorPalettePeachBorderActive:Xn,colorPaletteGoldBackground2:Wn,colorPaletteGoldForeground2:Un,colorPaletteGoldBorderActive:Yn,colorPaletteBrassBackground2:Kn,colorPaletteBrassForeground2:Qn,colorPaletteBrassBorderActive:Zn,colorPaletteBrownBackground2:Jn,colorPaletteBrownForeground2:el,colorPaletteBrownBorderActive:tl,colorPaletteForestBackground2:ol,colorPaletteForestForeground2:rl,colorPaletteForestBorderActive:al,colorPaletteSeafoamBackground2:il,colorPaletteSeafoamForeground2:sl,colorPaletteSeafoamBorderActive:nl,colorPaletteDarkGreenBackground2:ll,colorPaletteDarkGreenForeground2:cl,colorPaletteDarkGreenBorderActive:dl,colorPaletteLightTealBackground2:hl,colorPaletteLightTealForeground2:ul,colorPaletteLightTealBorderActive:pl,colorPaletteTealBackground2:gl,colorPaletteTealForeground2:bl,colorPaletteTealBorderActive:vl,colorPaletteSteelBackground2:fl,colorPaletteSteelForeground2:ml,colorPaletteSteelBorderActive:yl,colorPaletteBlueBackground2:kl,colorPaletteBlueForeground2:$l,colorPaletteBlueBorderActive:xl,colorPaletteRoyalBlueBackground2:wl,colorPaletteRoyalBlueForeground2:Bl,colorPaletteRoyalBlueBorderActive:Sl,colorPaletteCornflowerBackground2:Pl,colorPaletteCornflowerForeground2:Cl,colorPaletteCornflowerBorderActive:Fl,colorPaletteNavyBackground2:Tl,colorPaletteNavyForeground2:zl,colorPaletteNavyBorderActive:Al,colorPaletteLavenderBackground2:Nl,colorPaletteLavenderForeground2:Il,colorPaletteLavenderBorderActive:Ll,colorPalettePurpleBackground2:Dl,colorPalettePurpleForeground2:Ol,colorPalettePurpleBorderActive:Ml,colorPaletteGrapeBackground2:Hl,colorPaletteGrapeForeground2:El,colorPaletteGrapeBorderActive:Vl,colorPaletteLilacBackground2:Rl,colorPaletteLilacForeground2:_l,colorPaletteLilacBorderActive:jl,colorPalettePinkBackground2:Gl,colorPalettePinkForeground2:ql,colorPalettePinkBorderActive:Xl,colorPaletteMagentaBackground2:Wl,colorPaletteMagentaForeground2:Ul,colorPaletteMagentaBorderActive:Yl,colorPalettePlumBackground2:Kl,colorPalettePlumForeground2:Ql,colorPalettePlumBorderActive:Zl,colorPaletteBeigeBackground2:Jl,colorPaletteBeigeForeground2:ec,colorPaletteBeigeBorderActive:tc,colorPaletteMinkBackground2:oc,colorPaletteMinkForeground2:rc,colorPaletteMinkBorderActive:ac,colorPalettePlatinumBackground2:ic,colorPalettePlatinumForeground2:sc,colorPalettePlatinumBorderActive:nc,colorPaletteAnchorBackground2:lc,colorPaletteAnchorForeground2:cc,colorPaletteAnchorBorderActive:dc,colorPaletteRedForegroundInverted:hc,colorPaletteGreenForegroundInverted:uc,colorPaletteYellowForegroundInverted:pc,shadow2:gc,shadow4:bc,shadow8:vc,shadow16:fc,shadow28:mc,shadow64:yc,shadow2Brand:kc,shadow4Brand:$c,shadow8Brand:xc,shadow16Brand:wc,shadow28Brand:Bc,shadow64Brand:Sc});const Cc=j`
5
- ${no("block")}
4
+ :host{flex-direction:column;width:100%;contain:content}`,gr=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),br=hr.compose({name:gr.prefix+"-accordion",template:ur,styles:pr});class fr extends ut{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 mr={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},vr={start:"start",end:"end"},{create:yr}=Oo,xr=yr("borderRadiusNone"),kr=yr("borderRadiusSmall"),$r=yr("borderRadiusMedium"),wr=yr("borderRadiusLarge"),Br=yr("borderRadiusXLarge"),Sr=yr("borderRadiusCircular"),Cr=yr("fontSizeBase100"),Pr=yr("fontSizeBase200"),Fr=yr("fontSizeBase300"),Tr=yr("fontSizeBase400"),Ir=yr("fontSizeBase500"),Ar=yr("fontSizeBase600"),zr=yr("fontSizeHero700"),Nr=yr("fontSizeHero800"),Lr=yr("fontSizeHero900"),Dr=yr("fontSizeHero1000"),Er=yr("lineHeightBase100"),Or=yr("lineHeightBase200"),Mr=yr("lineHeightBase300"),Hr=yr("lineHeightBase400"),Vr=yr("lineHeightBase500"),Rr=yr("lineHeightBase600"),_r=yr("lineHeightHero700"),jr=yr("lineHeightHero800"),qr=yr("lineHeightHero900"),Gr=yr("lineHeightHero1000"),Xr=yr("fontFamilyBase"),Wr=yr("fontFamilyMonospace"),Ur=yr("fontFamilyNumeric"),Yr=yr("fontWeightRegular"),Kr=yr("fontWeightMedium"),Qr=yr("fontWeightSemibold"),Zr=yr("fontWeightBold"),Jr=yr("strokeWidthThin"),ei=yr("strokeWidthThick"),ti=yr("strokeWidthThicker"),oi=yr("strokeWidthThickest"),ri=yr("spacingHorizontalNone"),ii=yr("spacingHorizontalXXS"),ai=yr("spacingHorizontalXS"),ni=yr("spacingHorizontalSNudge"),si=yr("spacingHorizontalS"),li=yr("spacingHorizontalMNudge"),ci=yr("spacingHorizontalM"),di=yr("spacingHorizontalL"),hi=yr("spacingHorizontalXL"),ui=yr("spacingHorizontalXXL"),pi=yr("spacingHorizontalXXXL"),gi=yr("spacingVerticalNone"),bi=yr("spacingVerticalXXS"),fi=yr("spacingVerticalXS"),mi=yr("spacingVerticalSNudge"),vi=yr("spacingVerticalS"),yi=yr("spacingVerticalMNudge"),xi=yr("spacingVerticalM"),ki=yr("spacingVerticalL"),$i=yr("spacingVerticalXL"),wi=yr("spacingVerticalXXL"),Bi=yr("spacingVerticalXXXL"),Si=yr("durationUltraFast"),Ci=yr("durationFaster"),Pi=yr("durationFast"),Fi=yr("durationNormal"),Ti=yr("durationSlow"),Ii=yr("durationSlower"),Ai=yr("durationUltraSlow"),zi=yr("curveAccelerateMax"),Ni=yr("curveAccelerateMid"),Li=yr("curveAccelerateMin"),Di=yr("curveDecelerateMax"),Ei=yr("curveDecelerateMid"),Oi=yr("curveDecelerateMin"),Mi=yr("curveEasyEaseMax"),Hi=yr("curveEasyEase"),Vi=yr("curveLinear"),Ri=yr("colorNeutralForeground1"),_i=yr("colorNeutralForeground1Hover"),ji=yr("colorNeutralForeground1Pressed"),qi=yr("colorNeutralForeground1Selected"),Gi=yr("colorNeutralForeground2"),Xi=yr("colorNeutralForeground2Hover"),Wi=yr("colorNeutralForeground2Pressed"),Ui=yr("colorNeutralForeground2Selected"),Yi=yr("colorNeutralForeground2BrandHover"),Ki=yr("colorNeutralForeground2BrandPressed"),Qi=yr("colorNeutralForeground2BrandSelected"),Zi=yr("colorNeutralForeground3"),Ji=yr("colorNeutralForeground3Hover"),ea=yr("colorNeutralForeground3Pressed"),ta=yr("colorNeutralForeground3Selected"),oa=yr("colorNeutralForeground3BrandHover"),ra=yr("colorNeutralForeground3BrandPressed"),ia=yr("colorNeutralForeground3BrandSelected"),aa=yr("colorNeutralForeground4"),na=yr("colorNeutralForegroundDisabled"),sa=yr("colorNeutralForegroundInvertedDisabled"),la=yr("colorBrandForegroundLink"),ca=yr("colorBrandForegroundLinkHover"),da=yr("colorBrandForegroundLinkPressed"),ha=yr("colorBrandForegroundLinkSelected"),ua=yr("colorNeutralForeground2Link"),pa=yr("colorNeutralForeground2LinkHover"),ga=yr("colorNeutralForeground2LinkPressed"),ba=yr("colorNeutralForeground2LinkSelected"),fa=yr("colorCompoundBrandForeground1"),ma=yr("colorCompoundBrandForeground1Hover"),va=yr("colorCompoundBrandForeground1Pressed"),ya=yr("colorBrandForeground1"),xa=yr("colorBrandForeground2"),ka=yr("colorNeutralForeground1Static"),$a=yr("colorNeutralForegroundStaticInverted"),wa=yr("colorNeutralForegroundInverted"),Ba=yr("colorNeutralForegroundInvertedHover"),Sa=yr("colorNeutralForegroundInvertedPressed"),Ca=yr("colorNeutralForegroundInvertedSelected"),Pa=yr("colorNeutralForegroundInverted2"),Fa=yr("colorNeutralForegroundOnBrand"),Ta=yr("colorNeutralForegroundInvertedLink"),Ia=yr("colorNeutralForegroundInvertedLinkHover"),Aa=yr("colorNeutralForegroundInvertedLinkPressed"),za=yr("colorNeutralForegroundInvertedLinkSelected"),Na=yr("colorBrandForegroundInverted"),La=yr("colorBrandForegroundInvertedHover"),Da=yr("colorBrandForegroundInvertedPressed"),Ea=yr("colorBrandForegroundOnLight"),Oa=yr("colorBrandForegroundOnLightHover"),Ma=yr("colorBrandForegroundOnLightPressed"),Ha=yr("colorBrandForegroundOnLightSelected"),Va=yr("colorNeutralBackground1"),Ra=yr("colorNeutralBackground1Hover"),_a=yr("colorNeutralBackground1Pressed"),ja=yr("colorNeutralBackground1Selected"),qa=yr("colorNeutralBackground2"),Ga=yr("colorNeutralBackground2Hover"),Xa=yr("colorNeutralBackground2Pressed"),Wa=yr("colorNeutralBackground2Selected"),Ua=yr("colorNeutralBackground3"),Ya=yr("colorNeutralBackground3Hover"),Ka=yr("colorNeutralBackground3Pressed"),Qa=yr("colorNeutralBackground3Selected"),Za=yr("colorNeutralBackground4"),Ja=yr("colorNeutralBackground4Hover"),en=yr("colorNeutralBackground4Pressed"),tn=yr("colorNeutralBackground4Selected"),on=yr("colorNeutralBackground5"),rn=yr("colorNeutralBackground5Hover"),an=yr("colorNeutralBackground5Pressed"),nn=yr("colorNeutralBackground5Selected"),sn=yr("colorNeutralBackground6"),ln=yr("colorNeutralBackgroundInverted"),cn=yr("colorNeutralBackgroundStatic"),dn=yr("colorSubtleBackground"),hn=yr("colorSubtleBackgroundHover"),un=yr("colorSubtleBackgroundPressed"),pn=yr("colorSubtleBackgroundSelected"),gn=yr("colorSubtleBackgroundLightAlphaHover"),bn=yr("colorSubtleBackgroundLightAlphaPressed"),fn=yr("colorSubtleBackgroundLightAlphaSelected"),mn=yr("colorSubtleBackgroundInverted"),vn=yr("colorSubtleBackgroundInvertedHover"),yn=yr("colorSubtleBackgroundInvertedPressed"),xn=yr("colorSubtleBackgroundInvertedSelected"),kn=yr("colorTransparentBackground"),$n=yr("colorTransparentBackgroundHover"),wn=yr("colorTransparentBackgroundPressed"),Bn=yr("colorTransparentBackgroundSelected"),Sn=yr("colorNeutralBackgroundDisabled"),Cn=yr("colorNeutralBackgroundInvertedDisabled"),Pn=yr("colorNeutralStencil1"),Fn=yr("colorNeutralStencil2"),Tn=yr("colorNeutralStencil1Alpha"),In=yr("colorNeutralStencil2Alpha"),An=yr("colorBackgroundOverlay"),zn=yr("colorScrollbarOverlay"),Nn=yr("colorBrandBackground"),Ln=yr("colorBrandBackgroundHover"),Dn=yr("colorBrandBackgroundPressed"),En=yr("colorBrandBackgroundSelected"),On=yr("colorCompoundBrandBackground"),Mn=yr("colorCompoundBrandBackgroundHover"),Hn=yr("colorCompoundBrandBackgroundPressed"),Vn=yr("colorBrandBackgroundStatic"),Rn=yr("colorBrandBackground2"),_n=yr("colorBrandBackgroundInverted"),jn=yr("colorBrandBackgroundInvertedHover"),qn=yr("colorBrandBackgroundInvertedPressed"),Gn=yr("colorBrandBackgroundInvertedSelected"),Xn=yr("colorNeutralStrokeAccessible"),Wn=yr("colorNeutralStrokeAccessibleHover"),Un=yr("colorNeutralStrokeAccessiblePressed"),Yn=yr("colorNeutralStrokeAccessibleSelected"),Kn=yr("colorNeutralStroke1"),Qn=yr("colorNeutralStroke1Hover"),Zn=yr("colorNeutralStroke1Pressed"),Jn=yr("colorNeutralStroke1Selected"),es=yr("colorNeutralStroke2"),ts=yr("colorNeutralStroke3"),os=yr("colorNeutralStrokeOnBrand"),rs=yr("colorNeutralStrokeOnBrand2"),is=yr("colorNeutralStrokeOnBrand2Hover"),as=yr("colorNeutralStrokeOnBrand2Pressed"),ns=yr("colorNeutralStrokeOnBrand2Selected"),ss=yr("colorBrandStroke1"),ls=yr("colorBrandStroke2"),cs=yr("colorCompoundBrandStroke"),ds=yr("colorCompoundBrandStrokeHover"),hs=yr("colorCompoundBrandStrokePressed"),us=yr("colorNeutralStrokeDisabled"),ps=yr("colorNeutralStrokeInvertedDisabled"),gs=yr("colorTransparentStroke"),bs=yr("colorTransparentStrokeInteractive"),fs=yr("colorTransparentStrokeDisabled"),ms=yr("colorStrokeFocus1"),vs=yr("colorStrokeFocus2"),ys=yr("colorNeutralShadowAmbient"),xs=yr("colorNeutralShadowKey"),ks=yr("colorNeutralShadowAmbientLighter"),$s=yr("colorNeutralShadowKeyLighter"),ws=yr("colorNeutralShadowAmbientDarker"),Bs=yr("colorNeutralShadowKeyDarker"),Ss=yr("colorBrandShadowAmbient"),Cs=yr("colorBrandShadowKey"),Ps=yr("colorPaletteRedBackground1"),Fs=yr("colorPaletteRedBackground2"),Ts=yr("colorPaletteRedBackground3"),Is=yr("colorPaletteRedForeground1"),As=yr("colorPaletteRedForeground2"),zs=yr("colorPaletteRedForeground3"),Ns=yr("colorPaletteRedBorderActive"),Ls=yr("colorPaletteRedBorder1"),Ds=yr("colorPaletteRedBorder2"),Es=yr("colorPaletteGreenBackground1"),Os=yr("colorPaletteGreenBackground2"),Ms=yr("colorPaletteGreenBackground3"),Hs=yr("colorPaletteGreenForeground1"),Vs=yr("colorPaletteGreenForeground2"),Rs=yr("colorPaletteGreenForeground3"),_s=yr("colorPaletteGreenBorderActive"),js=yr("colorPaletteGreenBorder1"),qs=yr("colorPaletteGreenBorder2"),Gs=yr("colorPaletteDarkOrangeBackground1"),Xs=yr("colorPaletteDarkOrangeBackground2"),Ws=yr("colorPaletteDarkOrangeBackground3"),Us=yr("colorPaletteDarkOrangeForeground1"),Ys=yr("colorPaletteDarkOrangeForeground2"),Ks=yr("colorPaletteDarkOrangeForeground3"),Qs=yr("colorPaletteDarkOrangeBorderActive"),Zs=yr("colorPaletteDarkOrangeBorder1"),Js=yr("colorPaletteDarkOrangeBorder2"),el=yr("colorPaletteYellowBackground1"),tl=yr("colorPaletteYellowBackground2"),ol=yr("colorPaletteYellowBackground3"),rl=yr("colorPaletteYellowForeground1"),il=yr("colorPaletteYellowForeground2"),al=yr("colorPaletteYellowForeground3"),nl=yr("colorPaletteYellowBorderActive"),sl=yr("colorPaletteYellowBorder1"),ll=yr("colorPaletteYellowBorder2"),cl=yr("colorPaletteBerryBackground1"),dl=yr("colorPaletteBerryBackground2"),hl=yr("colorPaletteBerryBackground3"),ul=yr("colorPaletteBerryForeground1"),pl=yr("colorPaletteBerryForeground2"),gl=yr("colorPaletteBerryForeground3"),bl=yr("colorPaletteBerryBorderActive"),fl=yr("colorPaletteBerryBorder1"),ml=yr("colorPaletteBerryBorder2"),vl=yr("colorPaletteLightGreenBackground1"),yl=yr("colorPaletteLightGreenBackground2"),xl=yr("colorPaletteLightGreenBackground3"),kl=yr("colorPaletteLightGreenForeground1"),$l=yr("colorPaletteLightGreenForeground2"),wl=yr("colorPaletteLightGreenForeground3"),Bl=yr("colorPaletteLightGreenBorderActive"),Sl=yr("colorPaletteLightGreenBorder1"),Cl=yr("colorPaletteLightGreenBorder2"),Pl=yr("colorPaletteMarigoldBackground1"),Fl=yr("colorPaletteMarigoldBackground2"),Tl=yr("colorPaletteMarigoldBackground3"),Il=yr("colorPaletteMarigoldForeground1"),Al=yr("colorPaletteMarigoldForeground2"),zl=yr("colorPaletteMarigoldForeground3"),Nl=yr("colorPaletteMarigoldBorderActive"),Ll=yr("colorPaletteMarigoldBorder1"),Dl=yr("colorPaletteMarigoldBorder2"),El=yr("colorPaletteDarkRedBackground2"),Ol=yr("colorPaletteDarkRedForeground2"),Ml=yr("colorPaletteDarkRedBorderActive"),Hl=yr("colorPaletteCranberryBackground2"),Vl=yr("colorPaletteCranberryForeground2"),Rl=yr("colorPaletteCranberryBorderActive"),_l=yr("colorPalettePumpkinBackground2"),jl=yr("colorPalettePumpkinForeground2"),ql=yr("colorPalettePumpkinBorderActive"),Gl=yr("colorPalettePeachBackground2"),Xl=yr("colorPalettePeachForeground2"),Wl=yr("colorPalettePeachBorderActive"),Ul=yr("colorPaletteGoldBackground2"),Yl=yr("colorPaletteGoldForeground2"),Kl=yr("colorPaletteGoldBorderActive"),Ql=yr("colorPaletteBrassBackground2"),Zl=yr("colorPaletteBrassForeground2"),Jl=yr("colorPaletteBrassBorderActive"),ec=yr("colorPaletteBrownBackground2"),tc=yr("colorPaletteBrownForeground2"),oc=yr("colorPaletteBrownBorderActive"),rc=yr("colorPaletteForestBackground2"),ic=yr("colorPaletteForestForeground2"),ac=yr("colorPaletteForestBorderActive"),nc=yr("colorPaletteSeafoamBackground2"),sc=yr("colorPaletteSeafoamForeground2"),lc=yr("colorPaletteSeafoamBorderActive"),cc=yr("colorPaletteDarkGreenBackground2"),dc=yr("colorPaletteDarkGreenForeground2"),hc=yr("colorPaletteDarkGreenBorderActive"),uc=yr("colorPaletteLightTealBackground2"),pc=yr("colorPaletteLightTealForeground2"),gc=yr("colorPaletteLightTealBorderActive"),bc=yr("colorPaletteTealBackground2"),fc=yr("colorPaletteTealForeground2"),mc=yr("colorPaletteTealBorderActive"),vc=yr("colorPaletteSteelBackground2"),yc=yr("colorPaletteSteelForeground2"),xc=yr("colorPaletteSteelBorderActive"),kc=yr("colorPaletteBlueBackground2"),$c=yr("colorPaletteBlueForeground2"),wc=yr("colorPaletteBlueBorderActive"),Bc=yr("colorPaletteRoyalBlueBackground2"),Sc=yr("colorPaletteRoyalBlueForeground2"),Cc=yr("colorPaletteRoyalBlueBorderActive"),Pc=yr("colorPaletteCornflowerBackground2"),Fc=yr("colorPaletteCornflowerForeground2"),Tc=yr("colorPaletteCornflowerBorderActive"),Ic=yr("colorPaletteNavyBackground2"),Ac=yr("colorPaletteNavyForeground2"),zc=yr("colorPaletteNavyBorderActive"),Nc=yr("colorPaletteLavenderBackground2"),Lc=yr("colorPaletteLavenderForeground2"),Dc=yr("colorPaletteLavenderBorderActive"),Ec=yr("colorPalettePurpleBackground2"),Oc=yr("colorPalettePurpleForeground2"),Mc=yr("colorPalettePurpleBorderActive"),Hc=yr("colorPaletteGrapeBackground2"),Vc=yr("colorPaletteGrapeForeground2"),Rc=yr("colorPaletteGrapeBorderActive"),_c=yr("colorPaletteLilacBackground2"),jc=yr("colorPaletteLilacForeground2"),qc=yr("colorPaletteLilacBorderActive"),Gc=yr("colorPalettePinkBackground2"),Xc=yr("colorPalettePinkForeground2"),Wc=yr("colorPalettePinkBorderActive"),Uc=yr("colorPaletteMagentaBackground2"),Yc=yr("colorPaletteMagentaForeground2"),Kc=yr("colorPaletteMagentaBorderActive"),Qc=yr("colorPalettePlumBackground2"),Zc=yr("colorPalettePlumForeground2"),Jc=yr("colorPalettePlumBorderActive"),ed=yr("colorPaletteBeigeBackground2"),td=yr("colorPaletteBeigeForeground2"),od=yr("colorPaletteBeigeBorderActive"),rd=yr("colorPaletteMinkBackground2"),id=yr("colorPaletteMinkForeground2"),ad=yr("colorPaletteMinkBorderActive"),nd=yr("colorPalettePlatinumBackground2"),sd=yr("colorPalettePlatinumForeground2"),ld=yr("colorPalettePlatinumBorderActive"),cd=yr("colorPaletteAnchorBackground2"),dd=yr("colorPaletteAnchorForeground2"),hd=yr("colorPaletteAnchorBorderActive"),ud=yr("colorPaletteRedForegroundInverted"),pd=yr("colorPaletteGreenForegroundInverted"),gd=yr("colorPaletteYellowForegroundInverted"),bd=yr("shadow2"),fd=yr("shadow4"),md=yr("shadow8"),vd=yr("shadow16"),yd=yr("shadow28"),xd=yr("shadow64"),kd=yr("shadow2Brand"),$d=yr("shadow4Brand"),wd=yr("shadow8Brand"),Bd=yr("shadow16Brand"),Sd=yr("shadow28Brand"),Cd=yr("shadow64Brand");var Pd=Object.freeze({__proto__:null,borderRadiusNone:xr,borderRadiusSmall:kr,borderRadiusMedium:$r,borderRadiusLarge:wr,borderRadiusXLarge:Br,borderRadiusCircular:Sr,fontSizeBase100:Cr,fontSizeBase200:Pr,fontSizeBase300:Fr,fontSizeBase400:Tr,fontSizeBase500:Ir,fontSizeBase600:Ar,fontSizeHero700:zr,fontSizeHero800:Nr,fontSizeHero900:Lr,fontSizeHero1000:Dr,lineHeightBase100:Er,lineHeightBase200:Or,lineHeightBase300:Mr,lineHeightBase400:Hr,lineHeightBase500:Vr,lineHeightBase600:Rr,lineHeightHero700:_r,lineHeightHero800:jr,lineHeightHero900:qr,lineHeightHero1000:Gr,fontFamilyBase:Xr,fontFamilyMonospace:Wr,fontFamilyNumeric:Ur,fontWeightRegular:Yr,fontWeightMedium:Kr,fontWeightSemibold:Qr,fontWeightBold:Zr,strokeWidthThin:Jr,strokeWidthThick:ei,strokeWidthThicker:ti,strokeWidthThickest:oi,spacingHorizontalNone:ri,spacingHorizontalXXS:ii,spacingHorizontalXS:ai,spacingHorizontalSNudge:ni,spacingHorizontalS:si,spacingHorizontalMNudge:li,spacingHorizontalM:ci,spacingHorizontalL:di,spacingHorizontalXL:hi,spacingHorizontalXXL:ui,spacingHorizontalXXXL:pi,spacingVerticalNone:gi,spacingVerticalXXS:bi,spacingVerticalXS:fi,spacingVerticalSNudge:mi,spacingVerticalS:vi,spacingVerticalMNudge:yi,spacingVerticalM:xi,spacingVerticalL:ki,spacingVerticalXL:$i,spacingVerticalXXL:wi,spacingVerticalXXXL:Bi,durationUltraFast:Si,durationFaster:Ci,durationFast:Pi,durationNormal:Fi,durationSlow:Ti,durationSlower:Ii,durationUltraSlow:Ai,curveAccelerateMax:zi,curveAccelerateMid:Ni,curveAccelerateMin:Li,curveDecelerateMax:Di,curveDecelerateMid:Ei,curveDecelerateMin:Oi,curveEasyEaseMax:Mi,curveEasyEase:Hi,curveLinear:Vi,colorNeutralForeground1:Ri,colorNeutralForeground1Hover:_i,colorNeutralForeground1Pressed:ji,colorNeutralForeground1Selected:qi,colorNeutralForeground2:Gi,colorNeutralForeground2Hover:Xi,colorNeutralForeground2Pressed:Wi,colorNeutralForeground2Selected:Ui,colorNeutralForeground2BrandHover:Yi,colorNeutralForeground2BrandPressed:Ki,colorNeutralForeground2BrandSelected:Qi,colorNeutralForeground3:Zi,colorNeutralForeground3Hover:Ji,colorNeutralForeground3Pressed:ea,colorNeutralForeground3Selected:ta,colorNeutralForeground3BrandHover:oa,colorNeutralForeground3BrandPressed:ra,colorNeutralForeground3BrandSelected:ia,colorNeutralForeground4:aa,colorNeutralForegroundDisabled:na,colorNeutralForegroundInvertedDisabled:sa,colorBrandForegroundLink:la,colorBrandForegroundLinkHover:ca,colorBrandForegroundLinkPressed:da,colorBrandForegroundLinkSelected:ha,colorNeutralForeground2Link:ua,colorNeutralForeground2LinkHover:pa,colorNeutralForeground2LinkPressed:ga,colorNeutralForeground2LinkSelected:ba,colorCompoundBrandForeground1:fa,colorCompoundBrandForeground1Hover:ma,colorCompoundBrandForeground1Pressed:va,colorBrandForeground1:ya,colorBrandForeground2:xa,colorNeutralForeground1Static:ka,colorNeutralForegroundStaticInverted:$a,colorNeutralForegroundInverted:wa,colorNeutralForegroundInvertedHover:Ba,colorNeutralForegroundInvertedPressed:Sa,colorNeutralForegroundInvertedSelected:Ca,colorNeutralForegroundInverted2:Pa,colorNeutralForegroundOnBrand:Fa,colorNeutralForegroundInvertedLink:Ta,colorNeutralForegroundInvertedLinkHover:Ia,colorNeutralForegroundInvertedLinkPressed:Aa,colorNeutralForegroundInvertedLinkSelected:za,colorBrandForegroundInverted:Na,colorBrandForegroundInvertedHover:La,colorBrandForegroundInvertedPressed:Da,colorBrandForegroundOnLight:Ea,colorBrandForegroundOnLightHover:Oa,colorBrandForegroundOnLightPressed:Ma,colorBrandForegroundOnLightSelected:Ha,colorNeutralBackground1:Va,colorNeutralBackground1Hover:Ra,colorNeutralBackground1Pressed:_a,colorNeutralBackground1Selected:ja,colorNeutralBackground2:qa,colorNeutralBackground2Hover:Ga,colorNeutralBackground2Pressed:Xa,colorNeutralBackground2Selected:Wa,colorNeutralBackground3:Ua,colorNeutralBackground3Hover:Ya,colorNeutralBackground3Pressed:Ka,colorNeutralBackground3Selected:Qa,colorNeutralBackground4:Za,colorNeutralBackground4Hover:Ja,colorNeutralBackground4Pressed:en,colorNeutralBackground4Selected:tn,colorNeutralBackground5:on,colorNeutralBackground5Hover:rn,colorNeutralBackground5Pressed:an,colorNeutralBackground5Selected:nn,colorNeutralBackground6:sn,colorNeutralBackgroundInverted:ln,colorNeutralBackgroundStatic:cn,colorSubtleBackground:dn,colorSubtleBackgroundHover:hn,colorSubtleBackgroundPressed:un,colorSubtleBackgroundSelected:pn,colorSubtleBackgroundLightAlphaHover:gn,colorSubtleBackgroundLightAlphaPressed:bn,colorSubtleBackgroundLightAlphaSelected:fn,colorSubtleBackgroundInverted:mn,colorSubtleBackgroundInvertedHover:vn,colorSubtleBackgroundInvertedPressed:yn,colorSubtleBackgroundInvertedSelected:xn,colorTransparentBackground:kn,colorTransparentBackgroundHover:$n,colorTransparentBackgroundPressed:wn,colorTransparentBackgroundSelected:Bn,colorNeutralBackgroundDisabled:Sn,colorNeutralBackgroundInvertedDisabled:Cn,colorNeutralStencil1:Pn,colorNeutralStencil2:Fn,colorNeutralStencil1Alpha:Tn,colorNeutralStencil2Alpha:In,colorBackgroundOverlay:An,colorScrollbarOverlay:zn,colorBrandBackground:Nn,colorBrandBackgroundHover:Ln,colorBrandBackgroundPressed:Dn,colorBrandBackgroundSelected:En,colorCompoundBrandBackground:On,colorCompoundBrandBackgroundHover:Mn,colorCompoundBrandBackgroundPressed:Hn,colorBrandBackgroundStatic:Vn,colorBrandBackground2:Rn,colorBrandBackgroundInverted:_n,colorBrandBackgroundInvertedHover:jn,colorBrandBackgroundInvertedPressed:qn,colorBrandBackgroundInvertedSelected:Gn,colorNeutralStrokeAccessible:Xn,colorNeutralStrokeAccessibleHover:Wn,colorNeutralStrokeAccessiblePressed:Un,colorNeutralStrokeAccessibleSelected:Yn,colorNeutralStroke1:Kn,colorNeutralStroke1Hover:Qn,colorNeutralStroke1Pressed:Zn,colorNeutralStroke1Selected:Jn,colorNeutralStroke2:es,colorNeutralStroke3:ts,colorNeutralStrokeOnBrand:os,colorNeutralStrokeOnBrand2:rs,colorNeutralStrokeOnBrand2Hover:is,colorNeutralStrokeOnBrand2Pressed:as,colorNeutralStrokeOnBrand2Selected:ns,colorBrandStroke1:ss,colorBrandStroke2:ls,colorCompoundBrandStroke:cs,colorCompoundBrandStrokeHover:ds,colorCompoundBrandStrokePressed:hs,colorNeutralStrokeDisabled:us,colorNeutralStrokeInvertedDisabled:ps,colorTransparentStroke:gs,colorTransparentStrokeInteractive:bs,colorTransparentStrokeDisabled:fs,colorStrokeFocus1:ms,colorStrokeFocus2:vs,colorNeutralShadowAmbient:ys,colorNeutralShadowKey:xs,colorNeutralShadowAmbientLighter:ks,colorNeutralShadowKeyLighter:$s,colorNeutralShadowAmbientDarker:ws,colorNeutralShadowKeyDarker:Bs,colorBrandShadowAmbient:Ss,colorBrandShadowKey:Cs,colorPaletteRedBackground1:Ps,colorPaletteRedBackground2:Fs,colorPaletteRedBackground3:Ts,colorPaletteRedForeground1:Is,colorPaletteRedForeground2:As,colorPaletteRedForeground3:zs,colorPaletteRedBorderActive:Ns,colorPaletteRedBorder1:Ls,colorPaletteRedBorder2:Ds,colorPaletteGreenBackground1:Es,colorPaletteGreenBackground2:Os,colorPaletteGreenBackground3:Ms,colorPaletteGreenForeground1:Hs,colorPaletteGreenForeground2:Vs,colorPaletteGreenForeground3:Rs,colorPaletteGreenBorderActive:_s,colorPaletteGreenBorder1:js,colorPaletteGreenBorder2:qs,colorPaletteDarkOrangeBackground1:Gs,colorPaletteDarkOrangeBackground2:Xs,colorPaletteDarkOrangeBackground3:Ws,colorPaletteDarkOrangeForeground1:Us,colorPaletteDarkOrangeForeground2:Ys,colorPaletteDarkOrangeForeground3:Ks,colorPaletteDarkOrangeBorderActive:Qs,colorPaletteDarkOrangeBorder1:Zs,colorPaletteDarkOrangeBorder2:Js,colorPaletteYellowBackground1:el,colorPaletteYellowBackground2:tl,colorPaletteYellowBackground3:ol,colorPaletteYellowForeground1:rl,colorPaletteYellowForeground2:il,colorPaletteYellowForeground3:al,colorPaletteYellowBorderActive:nl,colorPaletteYellowBorder1:sl,colorPaletteYellowBorder2:ll,colorPaletteBerryBackground1:cl,colorPaletteBerryBackground2:dl,colorPaletteBerryBackground3:hl,colorPaletteBerryForeground1:ul,colorPaletteBerryForeground2:pl,colorPaletteBerryForeground3:gl,colorPaletteBerryBorderActive:bl,colorPaletteBerryBorder1:fl,colorPaletteBerryBorder2:ml,colorPaletteLightGreenBackground1:vl,colorPaletteLightGreenBackground2:yl,colorPaletteLightGreenBackground3:xl,colorPaletteLightGreenForeground1:kl,colorPaletteLightGreenForeground2:$l,colorPaletteLightGreenForeground3:wl,colorPaletteLightGreenBorderActive:Bl,colorPaletteLightGreenBorder1:Sl,colorPaletteLightGreenBorder2:Cl,colorPaletteMarigoldBackground1:Pl,colorPaletteMarigoldBackground2:Fl,colorPaletteMarigoldBackground3:Tl,colorPaletteMarigoldForeground1:Il,colorPaletteMarigoldForeground2:Al,colorPaletteMarigoldForeground3:zl,colorPaletteMarigoldBorderActive:Nl,colorPaletteMarigoldBorder1:Ll,colorPaletteMarigoldBorder2:Dl,colorPaletteDarkRedBackground2:El,colorPaletteDarkRedForeground2:Ol,colorPaletteDarkRedBorderActive:Ml,colorPaletteCranberryBackground2:Hl,colorPaletteCranberryForeground2:Vl,colorPaletteCranberryBorderActive:Rl,colorPalettePumpkinBackground2:_l,colorPalettePumpkinForeground2:jl,colorPalettePumpkinBorderActive:ql,colorPalettePeachBackground2:Gl,colorPalettePeachForeground2:Xl,colorPalettePeachBorderActive:Wl,colorPaletteGoldBackground2:Ul,colorPaletteGoldForeground2:Yl,colorPaletteGoldBorderActive:Kl,colorPaletteBrassBackground2:Ql,colorPaletteBrassForeground2:Zl,colorPaletteBrassBorderActive:Jl,colorPaletteBrownBackground2:ec,colorPaletteBrownForeground2:tc,colorPaletteBrownBorderActive:oc,colorPaletteForestBackground2:rc,colorPaletteForestForeground2:ic,colorPaletteForestBorderActive:ac,colorPaletteSeafoamBackground2:nc,colorPaletteSeafoamForeground2:sc,colorPaletteSeafoamBorderActive:lc,colorPaletteDarkGreenBackground2:cc,colorPaletteDarkGreenForeground2:dc,colorPaletteDarkGreenBorderActive:hc,colorPaletteLightTealBackground2:uc,colorPaletteLightTealForeground2:pc,colorPaletteLightTealBorderActive:gc,colorPaletteTealBackground2:bc,colorPaletteTealForeground2:fc,colorPaletteTealBorderActive:mc,colorPaletteSteelBackground2:vc,colorPaletteSteelForeground2:yc,colorPaletteSteelBorderActive:xc,colorPaletteBlueBackground2:kc,colorPaletteBlueForeground2:$c,colorPaletteBlueBorderActive:wc,colorPaletteRoyalBlueBackground2:Bc,colorPaletteRoyalBlueForeground2:Sc,colorPaletteRoyalBlueBorderActive:Cc,colorPaletteCornflowerBackground2:Pc,colorPaletteCornflowerForeground2:Fc,colorPaletteCornflowerBorderActive:Tc,colorPaletteNavyBackground2:Ic,colorPaletteNavyForeground2:Ac,colorPaletteNavyBorderActive:zc,colorPaletteLavenderBackground2:Nc,colorPaletteLavenderForeground2:Lc,colorPaletteLavenderBorderActive:Dc,colorPalettePurpleBackground2:Ec,colorPalettePurpleForeground2:Oc,colorPalettePurpleBorderActive:Mc,colorPaletteGrapeBackground2:Hc,colorPaletteGrapeForeground2:Vc,colorPaletteGrapeBorderActive:Rc,colorPaletteLilacBackground2:_c,colorPaletteLilacForeground2:jc,colorPaletteLilacBorderActive:qc,colorPalettePinkBackground2:Gc,colorPalettePinkForeground2:Xc,colorPalettePinkBorderActive:Wc,colorPaletteMagentaBackground2:Uc,colorPaletteMagentaForeground2:Yc,colorPaletteMagentaBorderActive:Kc,colorPalettePlumBackground2:Qc,colorPalettePlumForeground2:Zc,colorPalettePlumBorderActive:Jc,colorPaletteBeigeBackground2:ed,colorPaletteBeigeForeground2:td,colorPaletteBeigeBorderActive:od,colorPaletteMinkBackground2:rd,colorPaletteMinkForeground2:id,colorPaletteMinkBorderActive:ad,colorPalettePlatinumBackground2:nd,colorPalettePlatinumForeground2:sd,colorPalettePlatinumBorderActive:ld,colorPaletteAnchorBackground2:cd,colorPaletteAnchorForeground2:dd,colorPaletteAnchorBorderActive:hd,colorPaletteRedForegroundInverted:ud,colorPaletteGreenForegroundInverted:pd,colorPaletteYellowForegroundInverted:gd,shadow2:bd,shadow4:fd,shadow8:md,shadow16:vd,shadow28:yd,shadow64:xd,shadow2Brand:kd,shadow4Brand:$d,shadow8Brand:wd,shadow16Brand:Bd,shadow28Brand:Sd,shadow64Brand:Cd});const Fd=j`
5
+ ${dr("block")}
6
6
 
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${lr} ${nr};border-radius:${$o};font-family:${qo};font-size:${Co};font-weight:${Uo};line-height:${Mo};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:${Vr};background:${yi};line-height:${Mo};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:${ko}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${sr};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${lr}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${sr};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ko};outline:none;border:2px solid ${bs};box-shadow:inset 0 0 0 1px ${vs}}:host([disabled]) .button{color:${ia}}: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:${Co};line-height:${Mo}}:host([size='small']) .heading{font-size:${Po};line-height:${Oo}}:host([size='large']) .heading{font-size:${Fo};line-height:${Ho}}:host([size='extra-large']) .heading{font-size:${To};line-height:${Eo}}: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}`,Fc=function(e={}){return $e`<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>${ot(e)} ${tt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Qe(e.expandedIcon)}</slot><slot name="collapsed-icon">${Qe(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:$e.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:$e.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>')}),Tc=bo.compose({name:po.prefix+"-accordion-item",template:Fc,styles:Cc});class zc extends pt{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)}}Ze([Le],zc.prototype,"appearance",void 0),Ze([Le],zc.prototype,"shape",void 0),Ze([Le],zc.prototype,"size",void 0),Ze([Le({attribute:"icon-only",mode:"boolean"})],zc.prototype,"iconOnly",void 0),Ze([Le({mode:"boolean"})],zc.prototype,"disabled",void 0),Ze([Le({attribute:"disabled-focusable",mode:"boolean"})],zc.prototype,"disabledFocusable",void 0);const Ac={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Nc={circular:"circular",rounded:"rounded",square:"square"},Ic={small:"small",medium:"medium",large:"large"},Lc=Ac,Dc=Nc,Oc=Ic,Mc=function(e={}){return $e`<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")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${tt(e)}</a>`}(),Hc=j`
8
- ${no("inline-flex")}
7
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${ci} ${li};border-radius:${$r};font-family:${Xr};font-size:${Fr};font-weight:${Yr};line-height:${Mr};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:${Ri};background:${kn};line-height:${Mr};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:${kr}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${si};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${ci}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${si};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${kr};outline:none;border:2px solid ${ms};box-shadow:inset 0 0 0 1px ${vs}}:host([disabled]) .button{color:${na}}: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:${Fr};line-height:${Mr}}:host([size='small']) .heading{font-size:${Pr};line-height:${Or}}:host([size='large']) .heading{font-size:${Tr};line-height:${Hr}}:host([size='extra-large']) .heading{font-size:${Ir};line-height:${Vr}}: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}`,Td=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>')}),Id=fr.compose({name:gr.prefix+"-accordion-item",template:Td,styles:Fd});class Ad extends ft{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],Ad.prototype,"appearance",void 0),Je([De],Ad.prototype,"shape",void 0),Je([De],Ad.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Ad.prototype,"iconOnly",void 0),Je([De({mode:"boolean"})],Ad.prototype,"disabled",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Ad.prototype,"disabledFocusable",void 0);const zd={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Nd={circular:"circular",rounded:"rounded",square:"square"},Ld={small:"small",medium:"medium",large:"large"},Dd=zd,Ed=Nd,Od=Ld,Md=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 ${Te("defaultSlottedContent")}></slot></span>${rt(e)}</a>`}(),Hd=j`
8
+ ${dr("inline-flex")}
9
9
 
10
- :host{--icon-spacing:${ir};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:${Ea};color:${Vr};border:${Zo} solid ${Ui};padding:0 ${lr};min-width:96px;border-radius:${$o};font-size:${Co};font-family:${qo};font-weight:${Ko};line-height:${Mo};transition-duration:${Sr};transition-property:background,border,color;transition-timing-function:${Hr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${Va};color:${Rr};border-color:${Yi}}:host(:hover:active) .control{background-color:${Ra};border-color:${Ki};color:${_r};outline-style:none}:host .control:focus-visible{border-color:${us};outline:${Jo} solid ${us};box-shadow:${bc},0 0 0 2px ${vs}}@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:${ar}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${sr};border-radius:${ko};font-size:${Po};line-height:${Oo};font-weight:${Uo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${xo};padding:0 ${cr};font-size:${Fo};line-height:${Ho}}: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:${Bo}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${yo}}:host([appearance='primary']) .control{background-color:${Ai};color:${Ca};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Ni}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${Ca}}:host([appearance='primary']:hover:active) .control{background-color:${Ii}}:host([appearance='primary']) .control:focus-visible{border-color:${Ca};box-shadow:${gc},0 0 0 2px ${vs}}: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:${yi}}:host([appearance='outline']:hover) .control{background-color:${ki}}:host([appearance='outline']:hover:active) .control{background-color:${$i}}: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:${yi}}:host([appearance='subtle']) .control{background-color:${li};color:${Gr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${ci};color:${qr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${di};color:${Xr};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:${yi};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Ur}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Yr}}:host([appearance='transparent']) .control{background-color:${yi};color:${Gr}}:host([appearance='transparent']:hover) .control{background-color:${ki};color:${Ur}}:host([appearance='transparent']:hover:active) .control{background-color:${$i};color:${Yr}}: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:${yi}}: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:${wi};border-color:${ds};color:${ia};cursor:not-allowed}`,Ec=j`
12
- ${Hc}
10
+ :host{--icon-spacing:${ni};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:${Va};color:${Ri};border:${Jr} solid ${Kn};padding:0 ${ci};min-width:96px;border-radius:${$r};font-size:${Fr};font-family:${Xr};font-weight:${Qr};line-height:${Mr};transition-duration:${Ci};transition-property:background,border,color;transition-timing-function:${Hi};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${Ra};color:${_i};border-color:${Qn}}:host(:hover:active) .control{background-color:${_a};border-color:${Zn};color:${ji};outline-style:none}:host .control:focus-visible{border-color:${gs};outline:${ei} solid ${gs};box-shadow:${fd},0 0 0 2px ${vs}}@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:${ai}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${si};border-radius:${kr};font-size:${Pr};line-height:${Or};font-weight:${Yr}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${wr};padding:0 ${di};font-size:${Tr};line-height:${Hr}}: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:${Sr}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${xr}}:host([appearance='primary']) .control{background-color:${Nn};color:${Fa};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Ln}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${Fa}}:host([appearance='primary']:hover:active) .control{background-color:${Dn}}:host([appearance='primary']) .control:focus-visible{border-color:${Fa};box-shadow:${bd},0 0 0 2px ${vs}}: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:${kn}}:host([appearance='outline']:hover) .control{background-color:${$n}}:host([appearance='outline']:hover:active) .control{background-color:${wn}}: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:${kn}}:host([appearance='subtle']) .control{background-color:${dn};color:${Gi};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${hn};color:${Xi};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${un};color:${Wi};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:${kn};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Yi}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Ki}}:host([appearance='transparent']) .control{background-color:${kn};color:${Gi}}:host([appearance='transparent']:hover) .control{background-color:${$n};color:${Yi}}:host([appearance='transparent']:hover:active) .control{background-color:${wn};color:${Ki}}: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:${kn}}: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:${Sn};border-color:${us};color:${na};cursor:not-allowed}`,Vd=j`
12
+ ${Hd}
13
13
 
14
- .content{text-align:center}`,Vc=zc.compose({name:po.prefix+"-anchor-button",template:Mc,styles:Ec,shadowOptions:{delegatesFocus:!0}}),Rc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,_c=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,jc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Gc=/\s+/g,qc=/[\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 Xc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Rc,"")).replace(_c,"")).replace(Gc," ")).trim()}(e),qc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&jc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Wc={active:"active",inactive:"inactive"},Uc={circular:"circular",square:"square"},Yc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Kc={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"},Qc={neutral:"neutral",brand:"brand",colorful:"colorful",...Kc},Zc={_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 Jc extends Ke{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Qc.colorful?Jc.colors[ed(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%Jc.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:Xc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}Jc.colors=Object.values(Kc),Ze([Le],Jc.prototype,"name",void 0),Ze([Le],Jc.prototype,"initials",void 0),Ze([Le({converter:Ne})],Jc.prototype,"size",void 0),Ze([Le],Jc.prototype,"shape",void 0),Ze([Le],Jc.prototype,"active",void 0),Ze([Le],Jc.prototype,"appearance",void 0),Ze([Le],Jc.prototype,"color",void 0),Ze([Le({attribute:"color-id"})],Jc.prototype,"colorId",void 0);const ed=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},td=$e`<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 od=$e`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():td}</slot><slot name="badge"></slot></template>`,rd=Or,ad=Mr,id=Er,sd=j`
15
- ${no("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${qo};font-weight:${Ko};font-size:${Co};border-radius:${Bo};color:${Qr};background-color:${ii};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:${Bo}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Zo} ${Ea}}: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 ${Jo} ${Ea}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${So};font-weight:${Uo}}: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:${Po}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Fo}}: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:${To}}: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:${zo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${$o}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${ko}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${xo}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${wo}}:host([data-color='brand']){color:${$a};background-color:${Hi}}:host([data-color='dark-red']){color:${On};background-color:${Dn}}:host([data-color='cranberry']){color:${En};background-color:${Hn}}:host([data-color='red']){color:${Ts};background-color:${Ps}}:host([data-color='pumpkin']){color:${_n};background-color:${Rn}}:host([data-color='peach']){color:${qn};background-color:${Gn}}:host([data-color='marigold']){color:${zn};background-color:${Cn}}:host([data-color='gold']){color:${Un};background-color:${Wn}}:host([data-color='brass']){color:${Qn};background-color:${Kn}}:host([data-color='brown']){color:${el};background-color:${Jn}}:host([data-color='forest']){color:${rl};background-color:${ol}}:host([data-color='seafoam']){color:${sl};background-color:${il}}:host([data-color='dark-green']){color:${cl};background-color:${ll}}:host([data-color='light-teal']){color:${ul};background-color:${hl}}:host([data-color='teal']){color:${bl};background-color:${gl}}:host([data-color='steel']){color:${ml};background-color:${fl}}:host([data-color='blue']){color:${$l};background-color:${kl}}:host([data-color='royal-blue']){color:${Bl};background-color:${wl}}:host([data-color='cornflower']){color:${Cl};background-color:${Pl}}:host([data-color='navy']){color:${zl};background-color:${Tl}}:host([data-color='lavender']){color:${Il};background-color:${Nl}}:host([data-color='purple']){color:${Ol};background-color:${Dl}}:host([data-color='grape']){color:${El};background-color:${Hl}}:host([data-color='lilac']){color:${_l};background-color:${Rl}}:host([data-color='pink']){color:${ql};background-color:${Gl}}:host([data-color='magenta']){color:${Ul};background-color:${Wl}}:host([data-color='plum']){color:${Ql};background-color:${Kl}}:host([data-color='beige']){color:${ec};background-color:${Jl}}:host([data-color='mink']){color:${rc};background-color:${oc}}:host([data-color='platinum']){color:${sc};background-color:${ic}}:host([data-color='anchor']){color:${cc};background-color:${lc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${zr},${Sr};transition-delay:${ad},${id}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${zr},${Tr};transition-delay:${ad},${id}}:host([active])::before{box-shadow:${vc};border-style:solid;border-color:${Hi}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Jo});border-width:${Jo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${er});border-width:${er}}: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 * ${tr});border-width:${tr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${bc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${fc}}: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:${mc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${zr},${Sr};transition-delay:${rd},${id}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${zr},${Tr};transition-delay:${rd},${id}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,nd=Jc.compose({name:po.prefix+"-avatar",template:od,styles:sd}),ld={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},cd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},dd={circular:"circular",rounded:"rounded",square:"square"},hd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class ud extends Ke{constructor(){super(...arguments),this.appearance=ld.filled,this.color=cd.brand}}function pd(e={}){return $e` ${ot(e)}<slot>${Qe(e.defaultContent)}</slot>${tt(e)} `}Ze([Le],ud.prototype,"appearance",void 0),Ze([Le],ud.prototype,"color",void 0),Ze([Le],ud.prototype,"shape",void 0),Ze([Le],ud.prototype,"size",void 0),lt(ud,et);const gd=pd(),bd=rr,vd=j.partial`
16
- ${no("inline-flex")} :host {
14
+ .content{text-align:center}`,Rd=Ad.compose({name:gr.prefix+"-anchor-button",template:Md,styles:Vd,shadowOptions:{delegatesFocus:!0}}),_d=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,jd=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,qd=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Gd=/\s+/g,Xd=/[\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 Wd(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(_d,"")).replace(jd,"")).replace(Gd," ")).trim()}(e),Xd.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&qd.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 Ud={active:"active",inactive:"inactive"},Yd={circular:"circular",square:"square"},Kd={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Qd={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"},Zd={neutral:"neutral",brand:"brand",colorful:"colorful",...Qd},Jd={_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 eh extends Qe{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Zd.colorful?eh.colors[th(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%eh.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:Wd(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}eh.colors=Object.values(Qd),Je([De],eh.prototype,"name",void 0),Je([De],eh.prototype,"initials",void 0),Je([De({converter:Ne})],eh.prototype,"size",void 0),Je([De],eh.prototype,"shape",void 0),Je([De],eh.prototype,"active",void 0),Je([De],eh.prototype,"appearance",void 0),Je([De],eh.prototype,"color",void 0),Je([De({attribute:"color-id"})],eh.prototype,"colorId",void 0);const th=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},oh=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 rh=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():oh}</slot><slot name="badge"></slot></template>`,ih=Oi,ah=Mi,nh=Vi,sh=j`
15
+ ${dr("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${Xr};font-weight:${Qr};font-size:${Fr};border-radius:${Sr};color:${Zi};background-color:${sn};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Sr}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Jr} ${Va}}: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 ${ei} ${Va}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Cr};font-weight:${Yr}}: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:${Pr}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Tr}}: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:${Ir}}: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:${Ar}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${$r}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${kr}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${wr}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Br}}:host([data-color='brand']){color:${$a};background-color:${Vn}}:host([data-color='dark-red']){color:${Ol};background-color:${El}}:host([data-color='cranberry']){color:${Vl};background-color:${Hl}}:host([data-color='red']){color:${As};background-color:${Fs}}:host([data-color='pumpkin']){color:${jl};background-color:${_l}}:host([data-color='peach']){color:${Xl};background-color:${Gl}}:host([data-color='marigold']){color:${Al};background-color:${Fl}}:host([data-color='gold']){color:${Yl};background-color:${Ul}}:host([data-color='brass']){color:${Zl};background-color:${Ql}}:host([data-color='brown']){color:${tc};background-color:${ec}}:host([data-color='forest']){color:${ic};background-color:${rc}}:host([data-color='seafoam']){color:${sc};background-color:${nc}}:host([data-color='dark-green']){color:${dc};background-color:${cc}}:host([data-color='light-teal']){color:${pc};background-color:${uc}}:host([data-color='teal']){color:${fc};background-color:${bc}}:host([data-color='steel']){color:${yc};background-color:${vc}}:host([data-color='blue']){color:${$c};background-color:${kc}}:host([data-color='royal-blue']){color:${Sc};background-color:${Bc}}:host([data-color='cornflower']){color:${Fc};background-color:${Pc}}:host([data-color='navy']){color:${Ac};background-color:${Ic}}:host([data-color='lavender']){color:${Lc};background-color:${Nc}}:host([data-color='purple']){color:${Oc};background-color:${Ec}}:host([data-color='grape']){color:${Vc};background-color:${Hc}}:host([data-color='lilac']){color:${jc};background-color:${_c}}:host([data-color='pink']){color:${Xc};background-color:${Gc}}:host([data-color='magenta']){color:${Yc};background-color:${Uc}}:host([data-color='plum']){color:${Zc};background-color:${Qc}}:host([data-color='beige']){color:${td};background-color:${ed}}:host([data-color='mink']){color:${id};background-color:${rd}}:host([data-color='platinum']){color:${sd};background-color:${nd}}:host([data-color='anchor']){color:${dd};background-color:${cd}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Ai},${Ci};transition-delay:${ah},${nh}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Ai},${Ii};transition-delay:${ah},${nh}}:host([active])::before{box-shadow:${md};border-style:solid;border-color:${Vn}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ei});border-width:${ei}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ti});border-width:${ti}}: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 * ${oi});border-width:${oi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${fd}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${vd}}: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:${yd}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Ai},${Ci};transition-delay:${ih},${nh}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Ai},${Ii};transition-delay:${ih},${nh}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,lh=eh.compose({name:gr.prefix+"-avatar",template:rh,styles:sh}),ch={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},dh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},hh={circular:"circular",rounded:"rounded",square:"square"},uh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class ph extends Qe{constructor(){super(...arguments),this.appearance=ch.filled,this.color=dh.brand}}function gh(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),ht(ph,ot);const bh=gh(),fh=ii,mh=j.partial`
16
+ ${dr("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: ${qo};
22
- font-weight: ${Ko};
23
- font-size: ${Po};
24
- line-height: ${Oo};
21
+ font-family: ${Xr};
22
+ font-weight: ${Qr};
23
+ font-size: ${Pr};
24
+ line-height: ${Or};
25
25
  min-width: 20px;
26
26
  height: 20px;
27
- padding-inline: calc(${ar} + ${bd});
28
- border-radius: ${Bo};
29
- border-color: ${us};
30
- background-color: ${Ai};
31
- color: ${Ca};
27
+ padding-inline: calc(${ai} + ${fh});
28
+ border-radius: ${Sr};
29
+ border-color: ${gs};
30
+ background-color: ${Nn};
31
+ color: ${Fa};
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: ${Zo};
47
+ border-width: ${Jr};
48
48
  border-color: inherit;
49
49
  border-radius: inherit;
50
50
  }
51
- `,fd=j.partial`
51
+ `,vh=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: ${So};
78
- line-height: ${Do};
79
- padding-inline: calc(${rr} + ${bd});
77
+ font-size: ${Cr};
78
+ line-height: ${Er};
79
+ padding-inline: calc(${ii} + ${fh});
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: ${Po};
88
- line-height: ${Oo};
89
- padding-inline: calc(${ar} + ${bd});
87
+ font-size: ${Pr};
88
+ line-height: ${Or};
89
+ padding-inline: calc(${ai} + ${fh});
90
90
  }
91
91
  :host([size='large']) ::slotted(svg) {
92
92
  font-size: 16px;
@@ -94,51 +94,51 @@ 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: ${Po};
98
- line-height: ${Oo};
99
- padding-inline: calc(${ir} + ${bd});
97
+ font-size: ${Pr};
98
+ line-height: ${Or};
99
+ padding-inline: calc(${ni} + ${fh});
100
100
  }
101
101
  :host([size='extra-large']) ::slotted(svg) {
102
102
  font-size: 20px;
103
103
  }
104
- `,md=j.partial`
104
+ `,yh=j.partial`
105
105
  :host([color='danger']) {
106
- background-color: ${Cs};
107
- color: ${Ca};
106
+ background-color: ${Ts};
107
+ color: ${Fa};
108
108
  }
109
109
 
110
110
  :host([color='important']) {
111
- background-color: ${Vr};
112
- color: ${Ea};
111
+ background-color: ${Ri};
112
+ color: ${Va};
113
113
  }
114
114
 
115
115
  :host([color='informative']) {
116
- background-color: ${ti};
117
- color: ${Qr};
116
+ background-color: ${on};
117
+ color: ${Zi};
118
118
  }
119
119
 
120
120
  :host([color='severe']) {
121
- background-color: ${qs};
122
- color: ${Ca};
121
+ background-color: ${Ws};
122
+ color: ${Fa};
123
123
  }
124
124
 
125
125
  :host([color='subtle']) {
126
- background-color: ${Ea};
127
- color: ${Vr};
126
+ background-color: ${Va};
127
+ color: ${Ri};
128
128
  }
129
129
 
130
130
  :host([color='success']) {
131
- background-color: ${Os};
132
- color: ${Ca};
131
+ background-color: ${Ms};
132
+ color: ${Fa};
133
133
  }
134
134
 
135
135
  :host([color='warning']) {
136
- background-color: ${en};
137
- color: ${Vr};
136
+ background-color: ${ol};
137
+ color: ${Ri};
138
138
  }
139
- `,yd=j.partial`
139
+ `,xh=j.partial`
140
140
  :host([appearance='ghost']) {
141
- color: ${Ai};
141
+ color: ${Nn};
142
142
  background-color: initial;
143
143
  }
144
144
 
@@ -147,32 +147,32 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
147
147
  }
148
148
 
149
149
  :host([appearance='ghost'][color='important']) {
150
- color: ${Vr};
150
+ color: ${Ri};
151
151
  }
152
152
 
153
153
  :host([appearance='ghost'][color='informative']) {
154
- color: ${Qr};
154
+ color: ${Zi};
155
155
  }
156
156
 
157
157
  :host([appearance='ghost'][color='severe']) {
158
- color: ${Us};
158
+ color: ${Ks};
159
159
  }
160
160
 
161
161
  :host([appearance='ghost'][color='subtle']) {
162
- color: ${xa};
162
+ color: ${wa};
163
163
  }
164
164
 
165
165
  :host([appearance='ghost'][color='success']) {
166
- color: ${Es};
166
+ color: ${Rs};
167
167
  }
168
168
 
169
169
  :host([appearance='ghost'][color='warning']) {
170
- color: ${on};
170
+ color: ${il};
171
171
  }
172
- `,kd=j.partial`
172
+ `,kh=j.partial`
173
173
  :host([appearance='outline']) {
174
174
  border-color: currentColor;
175
- color: ${ma};
175
+ color: ${ya};
176
176
  background-color: initial;
177
177
  }
178
178
 
@@ -181,17 +181,17 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
181
181
  }
182
182
 
183
183
  :host([appearance='outline'][color='important']) {
184
- color: ${Qr};
185
- border-color: ${Gi};
184
+ color: ${Zi};
185
+ border-color: ${Xn};
186
186
  }
187
187
 
188
188
  :host([appearance='outline'][color='informative']) {
189
- color: ${Qr};
190
- border-color: ${Zi};
189
+ color: ${Zi};
190
+ border-color: ${es};
191
191
  }
192
192
 
193
193
  :host([appearance='outline'][color='severe']) {
194
- color: ${Us};
194
+ color: ${Ks};
195
195
  }
196
196
 
197
197
  :host([appearance='outline'][color='subtle']) {
@@ -199,125 +199,131 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
199
199
  }
200
200
 
201
201
  :host([appearance='outline'][color='success']) {
202
- color: ${Hs};
202
+ color: ${Vs};
203
203
  }
204
204
 
205
205
  :host([appearance='outline'][color='warning']) {
206
- color: ${on};
206
+ color: ${il};
207
207
  }
208
- `,$d=j.partial`
208
+ `,$h=j.partial`
209
209
  :host([appearance='tint']) {
210
- background-color: ${Ei};
211
- color: ${ya};
212
- border-color: ${ss};
210
+ background-color: ${Rn};
211
+ color: ${xa};
212
+ border-color: ${ls};
213
213
  }
214
214
 
215
215
  :host([appearance='tint'][color='danger']) {
216
- background-color: ${Ss};
217
- color: ${Fs};
218
- border-color: ${Ns};
216
+ background-color: ${Ps};
217
+ color: ${Is};
218
+ border-color: ${Ls};
219
219
  }
220
220
 
221
221
  :host([appearance='tint'][color='important']) {
222
- background-color: ${Qr};
223
- color: ${Ea};
224
- border-color: ${us};
222
+ background-color: ${Zi};
223
+ color: ${Va};
224
+ border-color: ${gs};
225
225
  }
226
226
 
227
227
  :host([appearance='tint'][color='informative']) {
228
- background-color: ${Qa};
229
- color: ${Qr};
230
- border-color: ${Zi};
228
+ background-color: ${Za};
229
+ color: ${Zi};
230
+ border-color: ${es};
231
231
  }
232
232
 
233
233
  :host([appearance='tint'][color='severe']) {
234
- background-color: ${js};
235
- color: ${Xs};
236
- border-color: ${Ks};
234
+ background-color: ${Gs};
235
+ color: ${Us};
236
+ border-color: ${Zs};
237
237
  }
238
238
 
239
239
  :host([appearance='tint'][color='subtle']) {
240
- background-color: ${Ea};
241
- color: ${Qr};
242
- border-color: ${Zi};
240
+ background-color: ${Va};
241
+ color: ${Zi};
242
+ border-color: ${es};
243
243
  }
244
244
 
245
245
  :host([appearance='tint'][color='success']) {
246
- background-color: ${Ls};
247
- color: ${Ms};
248
- border-color: ${_s};
246
+ background-color: ${Es};
247
+ color: ${Hs};
248
+ border-color: ${qs};
249
249
  }
250
250
 
251
251
  :host([appearance='tint'][color='warning']) {
252
- background-color: ${Zs};
253
- color: ${on};
254
- border-color: ${sn};
255
- }
256
- `,xd=j`
257
- :host([shape='square']){border-radius:${yo}}:host([shape='rounded']){border-radius:${$o}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${ko}}${fd}
258
- ${md}
259
- ${yd}
260
- ${kd}
261
- ${$d}
262
- ${vd}
263
- `,wd=ud.compose({name:po.prefix+"-badge",template:gd,styles:xd});class Bd extends xt{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)}}Ze([Le],Bd.prototype,"appearance",void 0),Ze([Le],Bd.prototype,"shape",void 0),Ze([Le],Bd.prototype,"size",void 0),Ze([Le({attribute:"icon-only",mode:"boolean"})],Bd.prototype,"iconOnly",void 0),Ze([Le({attribute:"disabled-focusable",mode:"boolean"})],Bd.prototype,"disabledFocusable",void 0);const Sd=Bt(),Pd=Bd.compose({name:po.prefix+"-button",template:Sd,styles:Hc,shadowOptions:{delegatesFocus:!0}});class Cd extends Bd{}const Fd=Ac,Td=Nc,zd=Ic;const Ad=function(e={}){return $e`<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")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot><slot name="description"></slot></span>${tt(e)}</button>`}(),Nd=j`
264
- ${Hc}
265
-
266
- :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${Co};line-height:${Mo}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Gr};line-height:100%;font-size:${Po};font-weight:${Uo}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${qr}}:host(:active) ::slotted([slot='description']){color:${Xr}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
267
- ::slotted([slot='description']){color:${Ca}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
268
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${Gr}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${Ur}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${Yr}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
269
- ::slotted([slot='description']){color:${ia}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${ir}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${ar}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${sr}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Fo};line-height:${Ho}}:host([size='large']) ::slotted([slot='description']){font-size:${Co}}`,Id=Cd.compose({name:po.prefix+"-compound-button",template:Ad,styles:Nd,shadowOptions:{delegatesFocus:!0}});class Ld extends Ke{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}}Ze([Le],Ld.prototype,"appearance",void 0),Ze([Le],Ld.prototype,"color",void 0),Ze([Le],Ld.prototype,"shape",void 0),Ze([Le],Ld.prototype,"size",void 0),Ze([Le({converter:Ne})],Ld.prototype,"count",void 0),Ze([Le({attribute:"overflow-count",converter:Ne})],Ld.prototype,"overflowCount",void 0),Ze([Le({attribute:"show-zero",mode:"boolean"})],Ld.prototype,"showZero",void 0),Ze([Le({mode:"boolean"})],Ld.prototype,"dot",void 0),lt(Ld,et);const Dd={filled:"filled",ghost:"ghost"},Od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Md={circular:"circular",rounded:"rounded"},Hd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Ed=pd({defaultContent:$e`${e=>e.setCount()}`}),Vd=j`
270
- :host([shape='rounded']){border-radius:${$o}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${ko}}${fd}
271
- ${md}
272
- ${yd}
273
- ${vd}
274
-
275
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Rd=Ld.compose({name:po.prefix+"-counter-badge",template:Ed,styles:Vd});class _d extends Gt{}Ze([Le({attribute:"align-content"})],_d.prototype,"alignContent",void 0),Ze([Le],_d.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],_d.prototype,"inset",void 0);const jd={center:"center",start:"start",end:"end"},Gd={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},qd=$e`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,Xd=j`
276
- ${no("flex")}
277
-
278
- :host{contain:content}:host::after,:host::before{align-self:center;background:${Zi};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Zo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Gr};font-family:${qo};font-size:${Po};font-weight:${Uo};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:${Zo};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:${Ui}}:host([appearance='strong']) ::slotted(*){color:${Vr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${is}}:host([appearance='brand']) ::slotted(*){color:${ma}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Ji}}:host([appearance='subtle']) ::slotted(*){color:${Qr}}`,Wd=_d.compose({name:po.prefix+"-divider",template:qd,styles:Xd});class Ud extends Ke{}Ze([Le({mode:"boolean"})],Ud.prototype,"block",void 0),Ze([Le({mode:"boolean"})],Ud.prototype,"bordered",void 0),Ze([Le({mode:"boolean"})],Ud.prototype,"shadow",void 0),Ze([Le],Ud.prototype,"fit",void 0),Ze([Le],Ud.prototype,"shape",void 0);const Yd={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Kd={circular:"circular",rounded:"rounded",square:"square"},Qd=$e`<slot></slot>`,Zd=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:${Zo} solid ${Zi}}: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:${bc}}:host([shape='circular']) ::slotted(img){border-radius:${Bo}}:host([shape='rounded']) ::slotted(img){border-radius:${$o}}`,Jd=Ud.compose({name:po.prefix+"-image",template:Qd,styles:Zd});class eh extends Ke{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Ze([Le],eh.prototype,"size",void 0),Ze([Le],eh.prototype,"weight",void 0),Ze([Le({mode:"boolean"})],eh.prototype,"disabled",void 0),Ze([Le({mode:"boolean"})],eh.prototype,"required",void 0);const th=j`
280
- ${no("flex")}
281
-
282
- :host{font-family:${qo};font-size:${Co};line-height:${Mo};font-weight:${Uo};color:${Vr}}.asterisk{color:${Fs};margin-left:${ar}}:host([size='small']){font-size:${Po};line-height:${Oo}}:host([size='large']){font-size:${Fo};line-height:${Ho};font-weight:${Ko}}:host([weight='semibold']){font-weight:${Ko}}:host([disabled]),:host([disabled]) .asterisk{color:${ia}}`;const oh=$e`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,rh=eh.compose({name:po.prefix+"-label",template:oh,styles:th});class ah extends Bd{}const ih=Ac,sh=Nc,nh=Ic,lh=Bt({end:$e.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>')}),ch=ah.compose({name:po.prefix+"-menu-button",template:lh,styles:Hc,shadowOptions:{delegatesFocus:!0}});class dh extends Wt{constructor(){super(...arguments),this.validationState=null}}Ze([Le],dh.prototype,"thickness",void 0),Ze([Le],dh.prototype,"shape",void 0),Ze([Le({attribute:"validation-state"})],dh.prototype,"validationState",void 0);const hh={medium:"medium",large:"large"},uh={rounded:"rounded",square:"square"},ph={success:"success",warning:"warning",error:"error"},gh=j`
283
- ${no("flex")}
284
-
285
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${$o};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:${Cs}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
286
- to right,${Ps} 0%,${Cs} 50%,${Ps}
287
- )}:host([validation-state='warning']) .determinate{background-color:${qs}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
288
- to right,${Gs} 0%,${qs} 50%,${Gs}
289
- )}:host([validation-state='success']) .determinate{background-color:${Os}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
290
- to right,${Ds} 0%,${Os} 50%,${Ds}
291
- )}.progress{background-color:${ii};border-radius:${$o};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Di};border-radius:${$o};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
292
- to right,${Ei} 0%,${Di} 50%,${Ei}
293
- );border-radius:${$o};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(
294
- to right,${Ei} 0%,${Di} 50%,${Ei}
295
- );border-radius:${$o};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}}`,bh=function(e={}){return $e`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,$e`<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,$e`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Qe(e.indeterminateIndicator1)} ${Qe(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>'}),vh=dh.compose({name:po.prefix+"-progress-bar",template:bh,styles:gh});class fh extends Jt{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`
296
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Ze([Le],fh.prototype,"size",void 0);const mh={small:"small",medium:"medium"},yh=j`
297
- ${no("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:${ko};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 ${vs};outline:1px solid ${bs}}.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:${Ai};border-radius:${Bo};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ea},0 0 0 1px ${Ui}}.thumb-cursor:hover{background-color:${Oi}}.thumb-cursor:active{background-color:${Mi}}:host([disabled]) .thumb-cursor{background-color:${ia};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ea},0 0 0 1px ${ds}}.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:${Gi};border-radius:${$o};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${$o};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
298
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Ea} calc(var(--step-rate) - 1px),${Ea} var(--step-rate)
299
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${wi}}: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:${Di};position:absolute;height:100%;left:0;border-radius:${$o}}:host([disabled]) .track-start{background-color:${ia}}:host(:hover) .track-start{background-color:${Oi}}:host([disabled]:hover) .track-start{background-color:${ia}}.track-start:active{background-color:${Mi}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,kh=function(e={}){return $e`<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">${Qe(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),$h=fh.compose({name:po.prefix+"-slider",template:kh,styles:yh});class xh extends Xt{}Ze([Le],xh.prototype,"size",void 0),Ze([Le],xh.prototype,"appearance",void 0);const wh={primary:"primary",inverted:"inverted"},Bh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Sh=function(e={}){return $e`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,$e`<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,$e`<slot name="indeterminate">${Qe(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 '}),Ph=j`
300
- ${no("flex")}
301
-
302
- :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:${ss};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${is};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:${ts}}.indeterminate-indicator-1{stroke:${is};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:${ts}}@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)}}`,Ch=xh.compose({name:po.prefix+"-spinner",template:Sh,styles:Ph});class Fh extends oo{}Ze([Le({attribute:"label-position"})],Fh.prototype,"labelPosition",void 0);const Th={above:"above",after:"after",before:"before"},zh=function(e={}){return $e`<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 ${Fe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Qe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Ah=j`
303
- ${no("inline-flex")}
304
-
305
- :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:${Vr};line-height:${Mo};font-size:${Co};font-weight:${Uo};font-family:${qo};padding:${br} ${ar};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${rr};box-sizing:border-box;width:40px;height:20px;background-color:${yi};border:1px solid ${Gi};border-radius:${Bo};outline:none;cursor:pointer;margin:${fr} ${sr}}:host(:hover) .switch{background:none;border-color:${qi}}:host(:active) .switch{border-color:${Xi}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${ds};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Di}}:host([aria-checked='true']:hover) .switch{background:${Oi};border-color:${Oi}}:host([aria-checked='true']:active) .switch{background:${Mi};border-color:${Mi}}:host([aria-checked='true'][disabled]) .switch{background:${wi};border-color:${ds}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Qr};transition-duration:${Cr};transition-timing-function:${Hr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${xa};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${wa}}:host([aria-checked='true']:active) .checked-indicator{background:${Ba}}:host(:hover) .checked-indicator{background-color:${Zr}}:host(:active) .checked-indicator{background-color:${Jr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${ia}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${ia}}`,Nh=Fh.compose({name:po.prefix+"-switch",template:zh,styles:Ah}),Ih={subtle:"subtle",transparent:"transparent"},Lh={small:"small",medium:"medium",large:"large"};class Dh extends so{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=Ih.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===io.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===io.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 a=this.tabs,i=this.activetab||a[0],s=null==i?void 0:i.getBoundingClientRect(),n=this.getBoundingClientRect();this.activeTabData={x:s.x-n.x,y:s.y-n.y,height:s.height,width:s.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`
252
+ background-color: ${el};
253
+ color: ${il};
254
+ border-color: ${sl};
255
+ }
256
+ `,wh=j`
257
+ :host([shape='square']){border-radius:${xr}}:host([shape='rounded']){border-radius:${$r}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${kr}}${vh}
258
+ ${yh}
259
+ ${xh}
260
+ ${kh}
261
+ ${$h}
262
+ ${mh}
263
+ `,Bh=ph.compose({name:gr.prefix+"-badge",template:bh,styles:wh});class Sh extends St{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],Sh.prototype,"appearance",void 0),Je([De],Sh.prototype,"shape",void 0),Je([De],Sh.prototype,"size",void 0),Je([De({attribute:"icon-only",mode:"boolean"})],Sh.prototype,"iconOnly",void 0),Je([De({attribute:"disabled-focusable",mode:"boolean"})],Sh.prototype,"disabledFocusable",void 0);const Ch=Pt(),Ph=Sh.compose({name:gr.prefix+"-button",template:Ch,styles:Hd,shadowOptions:{delegatesFocus:!0}});class Fh extends Sh{}const Th=zd,Ih=Nd,Ah=Ld;const zh=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 ${Te("defaultSlottedContent")}></slot><slot name="description"></slot></span>${rt(e)}</button>`}(),Nh=j`
264
+ ${Hd}
265
+
266
+ :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${Fr};line-height:${Mr}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Gi};line-height:100%;font-size:${Pr};font-weight:${Yr}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Xi}}:host(:active) ::slotted([slot='description']){color:${Wi}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
267
+ ::slotted([slot='description']){color:${Fa}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
268
+ ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${Gi}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${Yi}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${Ki}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
269
+ ::slotted([slot='description']){color:${na}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${ni}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${ai}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${si}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Tr};line-height:${Hr}}:host([size='large']) ::slotted([slot='description']){font-size:${Fr}}`,Lh=Fh.compose({name:gr.prefix+"-compound-button",template:zh,styles:Nh,shadowOptions:{delegatesFocus:!0}});class Dh 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],Dh.prototype,"appearance",void 0),Je([De],Dh.prototype,"color",void 0),Je([De],Dh.prototype,"shape",void 0),Je([De],Dh.prototype,"size",void 0),Je([De({converter:Ne})],Dh.prototype,"count",void 0),Je([De({attribute:"overflow-count",converter:Ne})],Dh.prototype,"overflowCount",void 0),Je([De({attribute:"show-zero",mode:"boolean"})],Dh.prototype,"showZero",void 0),Je([De({mode:"boolean"})],Dh.prototype,"dot",void 0),ht(Dh,ot);const Eh={filled:"filled",ghost:"ghost"},Oh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Mh={circular:"circular",rounded:"rounded"},Hh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Vh=gh({defaultContent:ke`${e=>e.setCount()}`}),Rh=j`
270
+ :host([shape='rounded']){border-radius:${$r}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${kr}}${vh}
271
+ ${yh}
272
+ ${xh}
273
+ ${mh}
274
+
275
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,_h=Dh.compose({name:gr.prefix+"-counter-badge",template:Vh,styles:Rh});class jh extends qo{}Je([De({attribute:"align-content"})],jh.prototype,"alignContent",void 0),Je([De],jh.prototype,"appearance",void 0),Je([De({mode:"boolean"})],jh.prototype,"inset",void 0);const qh={center:"center",start:"start",end:"end"},Gh={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Xh=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,Wh=j`
276
+ ${dr("flex")}
277
+
278
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${es};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Jr}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Gi};font-family:${Xr};font-size:${Pr};font-weight:${Yr};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:${Jr};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:${Kn}}:host([appearance='strong']) ::slotted(*){color:${Ri}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${ss}}:host([appearance='brand']) ::slotted(*){color:${ya}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${ts}}:host([appearance='subtle']) ::slotted(*){color:${Zi}}`,Uh=jh.compose({name:gr.prefix+"-divider",template:Xh,styles:Wh});class Yh extends Qe{}Je([De({mode:"boolean"})],Yh.prototype,"block",void 0),Je([De({mode:"boolean"})],Yh.prototype,"bordered",void 0),Je([De({mode:"boolean"})],Yh.prototype,"shadow",void 0),Je([De],Yh.prototype,"fit",void 0),Je([De],Yh.prototype,"shape",void 0);const Kh={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Qh={circular:"circular",rounded:"rounded",square:"square"},Zh=ke`<slot></slot>`,Jh=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:${Jr} solid ${es}}: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:${fd}}:host([shape='circular']) ::slotted(img){border-radius:${Sr}}:host([shape='rounded']) ::slotted(img){border-radius:${$r}}`,eu=Yh.compose({name:gr.prefix+"-image",template:Zh,styles:Jh});class tu extends Qe{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Je([De],tu.prototype,"size",void 0),Je([De],tu.prototype,"weight",void 0),Je([De({mode:"boolean"})],tu.prototype,"disabled",void 0),Je([De({mode:"boolean"})],tu.prototype,"required",void 0);const ou=j`
280
+ ${dr("flex")}
281
+
282
+ :host{font-family:${Xr};font-size:${Fr};line-height:${Mr};font-weight:${Yr};color:${Ri}}.asterisk{color:${Is};margin-left:${ai}}:host([size='small']){font-size:${Pr};line-height:${Or}}:host([size='large']){font-size:${Tr};line-height:${Hr};font-weight:${Qr}}:host([weight='semibold']){font-weight:${Qr}}:host([disabled]),:host([disabled]) .asterisk{color:${na}}`;const ru=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,iu=tu.compose({name:gr.prefix+"-label",template:ru,styles:ou});class au extends Sh{}const nu=zd,su=Nd,lu=Ld,cu=Pt({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>')}),du=au.compose({name:gr.prefix+"-menu-button",template:cu,styles:Hd,shadowOptions:{delegatesFocus:!0}});class hu extends Xo{}const uu=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!==Go.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===Go.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===Go.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" ${Te({property:"slottedSubmenu",filter:Ce("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:uu,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:uu}),gu=j`
283
+ ${dr("grid")}
284
+
285
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${Va};font:${Yr} ${Fr} / ${Mr} ${Xr};border-radius:${$r};color:${Gi};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${Ra}}.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:${Gi}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Ir};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Zi};font:${Yr} ${Pr} / ${Or} ${Xr};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:${Xi}}:host([icon]:hover) ::slotted([slot='start']){color:${ma}}:host(:active){background-color:${ja}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Wi}}:host(:active) ::slotted([slot='start']){color:${va}}:host([disabled]){background-color:${Sn}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${na}}: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}`,bu=hu.compose({name:gr.prefix+"-menu-item",template:pu,styles:gu});class fu extends Wo{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 hu&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Go.menuitem?o?2:1:o?1:0}}const mu=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 ${Te("items")}></slot></template>`,vu=j`
286
+ ${dr("flex")}
287
+
288
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${Va};border:1px solid ${gs};border-radius:${$r};box-shadow:${vd};padding:4px;row-gap:2px}`,yu=fu.compose({name:gr.prefix+"-menu-list",template:mu,styles:vu});class xu extends Ko{constructor(){super(...arguments),this.validationState=null}}Je([De],xu.prototype,"thickness",void 0),Je([De],xu.prototype,"shape",void 0),Je([De({attribute:"validation-state"})],xu.prototype,"validationState",void 0);const ku={medium:"medium",large:"large"},$u={rounded:"rounded",square:"square"},wu={success:"success",warning:"warning",error:"error"},Bu=j`
289
+ ${dr("flex")}
290
+
291
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${$r};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:${Ts}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
292
+ to right,${Fs} 0%,${Ts} 50%,${Fs}
293
+ )}:host([validation-state='warning']) .determinate{background-color:${Ws}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
294
+ to right,${Xs} 0%,${Ws} 50%,${Xs}
295
+ )}:host([validation-state='success']) .determinate{background-color:${Ms}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
296
+ to right,${Os} 0%,${Ms} 50%,${Os}
297
+ )}.progress{background-color:${sn};border-radius:${$r};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${On};border-radius:${$r};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,${Rn} 0%,${On} 50%,${Rn}
299
+ );border-radius:${$r};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,${Rn} 0%,${On} 50%,${Rn}
301
+ );border-radius:${$r};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}}`,Su=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>'}),Cu=xu.compose({name:gr.prefix+"-progress-bar",template:Su,styles:Bu});class Pu extends or{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`
302
+ :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Je([De],Pu.prototype,"size",void 0);const Fu={small:"small",medium:"medium"},Tu=j`
303
+ ${dr("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:${kr};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 ${vs};outline:1px solid ${ms}}.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:${Nn};border-radius:${Sr};box-shadow:inset 0 0 0 var(--thumb-padding) ${Va},0 0 0 1px ${Kn}}.thumb-cursor:hover{background-color:${Mn}}.thumb-cursor:active{background-color:${Hn}}:host([disabled]) .thumb-cursor{background-color:${na};box-shadow:inset 0 0 0 var(--thumb-padding) ${Va},0 0 0 1px ${us}}.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:${Xn};border-radius:${$r};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${$r};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
304
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Va} calc(var(--step-rate) - 1px),${Va} var(--step-rate)
305
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Sn}}: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:${On};position:absolute;height:100%;left:0;border-radius:${$r}}:host([disabled]) .track-start{background-color:${na}}:host(:hover) .track-start{background-color:${Mn}}:host([disabled]:hover) .track-start{background-color:${na}}.track-start:active{background-color:${Hn}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,Iu=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>'}),Au=Pu.compose({name:gr.prefix+"-slider",template:Iu,styles:Tu});class zu extends Yo{}Je([De],zu.prototype,"size",void 0),Je([De],zu.prototype,"appearance",void 0);const Nu={primary:"primary",inverted:"inverted"},Lu={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Du=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 '}),Eu=j`
306
+ ${dr("flex")}
307
+
308
+ :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:${ls};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${ss};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${rs}}.indeterminate-indicator-1{stroke:${ss};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${rs}}@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)}}`,Ou=zu.compose({name:gr.prefix+"-spinner",template:Du,styles:Eu});class Mu extends ar{}Je([De({attribute:"label-position"})],Mu.prototype,"labelPosition",void 0);const Hu={above:"above",after:"after",before:"before"},Vu=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 ${Te("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>'}),Ru=j`
309
+ ${dr("inline-flex")}
310
+
311
+ :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:${Ri};line-height:${Mr};font-size:${Fr};font-weight:${Yr};font-family:${Xr};padding:${fi} ${ai};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${ii};box-sizing:border-box;width:40px;height:20px;background-color:${kn};border:1px solid ${Xn};border-radius:${Sr};outline:none;cursor:pointer;margin:${vi} ${si}}:host(:hover) .switch{background:none;border-color:${Wn}}:host(:active) .switch{border-color:${Un}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${us};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${On}}:host([aria-checked='true']:hover) .switch{background:${Mn};border-color:${Mn}}:host([aria-checked='true']:active) .switch{background:${Hn};border-color:${Hn}}:host([aria-checked='true'][disabled]) .switch{background:${Sn};border-color:${us}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Zi};transition-duration:${Fi};transition-timing-function:${Hi};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${wa};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Ba}}:host([aria-checked='true']:active) .checked-indicator{background:${Sa}}:host(:hover) .checked-indicator{background-color:${Ji}}:host(:active) .checked-indicator{background-color:${ea}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${na}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${na}}`,_u=Mu.compose({name:gr.prefix+"-switch",template:Vu,styles:Ru}),ju={subtle:"subtle",transparent:"transparent"},qu={small:"small",medium:"medium",large:"large"};class Gu extends cr{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=ju.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===lr.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===lr.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`
306
312
  :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
307
- :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()}}Ze([Le],Dh.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],Dh.prototype,"disabled",void 0),Ze([Le],Dh.prototype,"size",void 0);const Oh=function(e={}){return $e` ${ot(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Fe("tabs")}></slot></div>${tt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Fe("tabpanels")}></slot></div>`}({}),Mh=j`
308
- ${no("grid")}
313
+ :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],Gu.prototype,"appearance",void 0),Je([De({mode:"boolean"})],Gu.prototype,"disabled",void 0),Je([De],Gu.prototype,"size",void 0);const Xu=function(e={}){return ke` ${it(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Te("tabs")}></slot></div>${rt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Te("tabpanels")}></slot></div>`}({}),Wu=j`
314
+ ${dr("grid")}
309
315
 
310
- :host{box-sizing:border-box;font-family:${qo};font-size:${Co};line-height:${Mo};color:${Gr};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${ia}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${ia}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${ia}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${ia}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${$o}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${ia}}.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:${ci};color:${Rr};fill:${va}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${di};fill:${di};color:${Vr}}:host([size='small']) ::slotted(fluent-tab){font-size:${Co};line-height:${Mo};padding:${vr} ${ir}}:host([size='large']) ::slotted(fluent-tab){font-size:${Fo};line-height:${Ho};padding:${kr} ${nr}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Fr};transition-timing-function:${Lr}}:host ::slotted(fluent-tab)::after{height:${er};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${er};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${er};border-radius:${Bo};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${er};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${er};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:${er}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${vr};padding-bottom:${vr}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${gr};padding-bottom:${gr}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${fr};padding-bottom:${fr}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${ir};left:${ir}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${nr};left:${nr}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${nr};left:${nr}}: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:${vr};bottom:${vr}}: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:${fr};bottom:${fr}}: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:${mr};bottom:${mr}}`,Hh=Dh.compose({name:po.prefix+"-tabs",template:Oh,styles:Mh});class Eh extends ao{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
311
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Vh=function(e={}){return $e`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${ot(e)}<span class="tab-content"><slot></slot></span>${tt(e)}</template>`}({}),Rh=j`
312
- ${no("inline-flex")}
316
+ :host{box-sizing:border-box;font-family:${Xr};font-size:${Fr};line-height:${Mr};color:${Gi};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${na}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${na}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${na}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${na}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${$r}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${na}}.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:${hn};color:${_i};fill:${ma}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${un};fill:${un};color:${Ri}}:host([size='small']) ::slotted(fluent-tab){font-size:${Fr};line-height:${Mr};padding:${mi} ${ni}}:host([size='large']) ::slotted(fluent-tab){font-size:${Tr};line-height:${Hr};padding:${ki} ${li}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Ti};transition-timing-function:${Di}}:host ::slotted(fluent-tab)::after{height:${ti};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${ti};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${ti};border-radius:${Sr};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${ti};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${ti};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:${ti}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${mi};padding-bottom:${mi}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${bi};padding-bottom:${bi}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${vi};padding-bottom:${vi}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${ni};left:${ni}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${li};left:${li}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${li};left:${li}}: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:${mi};bottom:${mi}}: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:${vi};bottom:${vi}}: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:${yi};bottom:${yi}}`,Uu=Gu.compose({name:gr.prefix+"-tabs",template:Xu,styles:Wu});class Yu extends sr{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
317
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Ku=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>`}({}),Qu=j`
318
+ ${dr("inline-flex")}
313
319
 
314
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Mo};font-family:${qo};font-size:${Co};color:${Gr};fill:currentcolor;grid-row:1;padding:${lr} ${nr};border-radius:${$o}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Vr};font-weight:${Ko}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Mo};font-weight:${Ko}}:host([aria-selected='true'])::after{background-color:${ns};border-radius:${Bo};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Yi};border-radius:${Bo};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${ia}}::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:${ia};color:${ia}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${ko};box-shadow:0 0 0 3px ${vs};outline:1px solid ${bs}}`,_h=Eh.compose({name:po.prefix+"-tab",template:Vh,styles:Rh});class jh extends ro{}const Gh=$e`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,qh=j`
315
- ${no("block")}
320
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Mr};font-family:${Xr};font-size:${Fr};color:${Gi};fill:currentcolor;grid-row:1;padding:${ci} ${li};border-radius:${$r}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Ri};font-weight:${Qr}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Mr};font-weight:${Qr}}:host([aria-selected='true'])::after{background-color:${cs};border-radius:${Sr};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Qn};border-radius:${Sr};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${na}}::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:${na};color:${na}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${kr};box-shadow:0 0 0 3px ${vs};outline:1px solid ${ms}}`,Zu=Yu.compose({name:gr.prefix+"-tab",template:Ku,styles:Qu});class Ju extends nr{}const ep=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,tp=j`
321
+ ${dr("block")}
316
322
 
317
- :host{box-sizing:border-box;padding:${lr} ${nr}}`,Xh=jh.compose({name:po.prefix+"-tab-panel",template:Gh,styles:qh});class Wh extends Ke{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ze([Le({mode:"boolean"})],Wh.prototype,"nowrap",void 0),Ze([Le({mode:"boolean"})],Wh.prototype,"truncate",void 0),Ze([Le({mode:"boolean"})],Wh.prototype,"italic",void 0),Ze([Le({mode:"boolean"})],Wh.prototype,"underline",void 0),Ze([Le({mode:"boolean"})],Wh.prototype,"strikethrough",void 0),Ze([Le({mode:"boolean"})],Wh.prototype,"block",void 0),Ze([Le],Wh.prototype,"size",void 0),Ze([Le],Wh.prototype,"font",void 0),Ze([Le],Wh.prototype,"weight",void 0),Ze([Le],Wh.prototype,"align",void 0);const Uh={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Yh={base:"base",numeric:"numeric",monospace:"monospace"},Kh={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Qh={start:"start",end:"end",center:"center",justify:"justify"},Zh=$e`<slot></slot>`,Jh=j`
318
- ${no("inline")}
323
+ :host{box-sizing:border-box;padding:${ci} ${li}}`,op=Ju.compose({name:gr.prefix+"-tab-panel",template:ep,styles:tp});class rp extends Qe{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Je([De({mode:"boolean"})],rp.prototype,"nowrap",void 0),Je([De({mode:"boolean"})],rp.prototype,"truncate",void 0),Je([De({mode:"boolean"})],rp.prototype,"italic",void 0),Je([De({mode:"boolean"})],rp.prototype,"underline",void 0),Je([De({mode:"boolean"})],rp.prototype,"strikethrough",void 0),Je([De({mode:"boolean"})],rp.prototype,"block",void 0),Je([De],rp.prototype,"size",void 0),Je([De],rp.prototype,"font",void 0),Je([De],rp.prototype,"weight",void 0),Je([De],rp.prototype,"align",void 0);const ip={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},ap={base:"base",numeric:"numeric",monospace:"monospace"},np={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},sp={start:"start",end:"end",center:"center",justify:"justify"},lp=ke`<slot></slot>`,cp=j`
324
+ ${dr("inline")}
319
325
 
320
- :host{contain:content}::slotted(*){font-family:${qo};font-size:${Co};line-height:${Mo};font-weight:${Uo};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:${So};line-height:${Do}}:host([size='200']) ::slotted(*){font-size:${Po};line-height:${Oo}}:host([size='400']) ::slotted(*){font-size:${Fo};line-height:${Ho}}:host([size='500']) ::slotted(*){font-size:${To};line-height:${Eo}}:host([size='600']) ::slotted(*){font-size:${zo};line-height:${Vo}}:host([size='700']) ::slotted(*){font-size:${Ao};line-height:${Ro}}:host([size='800']) ::slotted(*){font-size:${No};line-height:${_o}}:host([size='900']) ::slotted(*){font-size:${Io};line-height:${jo}}:host([size='1000']) ::slotted(*){font-size:${Lo};line-height:${Go}}:host([font='monospace']) ::slotted(*){font-family:${Xo}}:host([font='numeric']) ::slotted(*){font-family:${Wo}}:host([weight='medium']) ::slotted(*){font-weight:${Yo}}:host([weight='semibold']) ::slotted(*){font-weight:${Ko}}:host([weight='bold']) ::slotted(*){font-weight:${Qo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,eu=Wh.compose({name:po.prefix+"-text",template:Zh,styles:Jh});class tu extends Bd{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)}}Ze([Le({attribute:"checked",mode:"boolean"})],tu.prototype,"checkedAttribute",void 0),Ze([S],tu.prototype,"defaultChecked",void 0),Ze([S],tu.prototype,"checked",void 0),Ze([Le({attribute:"current-checked",mode:"boolean"})],tu.prototype,"currentChecked",void 0);const ou=Ac,ru=Nc,au=Ic,iu=Bt(),su=j`
321
- ${Hc}
326
+ :host{contain:content}::slotted(*){font-family:${Xr};font-size:${Fr};line-height:${Mr};font-weight:${Yr};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:${Cr};line-height:${Er}}:host([size='200']) ::slotted(*){font-size:${Pr};line-height:${Or}}:host([size='400']) ::slotted(*){font-size:${Tr};line-height:${Hr}}:host([size='500']) ::slotted(*){font-size:${Ir};line-height:${Vr}}:host([size='600']) ::slotted(*){font-size:${Ar};line-height:${Rr}}:host([size='700']) ::slotted(*){font-size:${zr};line-height:${_r}}:host([size='800']) ::slotted(*){font-size:${Nr};line-height:${jr}}:host([size='900']) ::slotted(*){font-size:${Lr};line-height:${qr}}:host([size='1000']) ::slotted(*){font-size:${Dr};line-height:${Gr}}:host([font='monospace']) ::slotted(*){font-family:${Wr}}:host([font='numeric']) ::slotted(*){font-family:${Ur}}:host([weight='medium']) ::slotted(*){font-weight:${Kr}}:host([weight='semibold']) ::slotted(*){font-weight:${Qr}}:host([weight='bold']) ::slotted(*){font-weight:${Zr}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,dp=rp.compose({name:gr.prefix+"-text",template:lp,styles:cp});class hp extends Sh{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"})],hp.prototype,"checkedAttribute",void 0),Je([S],hp.prototype,"defaultChecked",void 0),Je([S],hp.prototype,"checked",void 0),Je([De({attribute:"current-checked",mode:"boolean"})],hp.prototype,"currentChecked",void 0);const up=zd,pp=Nd,gp=Ld,bp=Pt(),fp=j`
327
+ ${Hd}
322
328
 
323
- :host([aria-pressed="true"]) .control{border-color:${Ui};background-color:${_a};color:${Vr};border-width:${Zo}}:host([aria-pressed='true']:hover) .control{border-color:${Yi};background-color:${Va}}:host([aria-pressed='true']:active) .control{border-color:${Ki};background-color:${Ra}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${Li};color:${Ca}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Ni}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Ii}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${hi};color:${Wr}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${ci};color:${qr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${di};color:${Xr}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${xi}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${ki}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${$i}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Kr}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Ur}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${Yr}}`,nu=tu.compose({name:po.prefix+"-toggle-button",template:iu,styles:su,shadowOptions:{delegatesFocus:!0}}),lu=Object.keys(Pc),cu=e=>{for(const t of lu)Pc[t].withDefault(e[t])};export{lo as Accordion,bo as AccordionItem,fo as AccordionItemExpandIconPosition,vo as AccordionItemSize,zc as AnchorButton,Lc as AnchorButtonAppearance,Vc as AnchorButtonDefinition,Dc as AnchorButtonShape,Oc as AnchorButtonSize,Mc as AnchorButtonTemplate,Jc as Avatar,Wc as AvatarActive,Yc as AvatarAppearance,Qc as AvatarColor,nd as AvatarDefinition,Kc as AvatarNamedColor,Uc as AvatarShape,Zc as AvatarSize,sd as AvatarStyles,od as AvatarTemplate,ud as Badge,ld as BadgeAppearance,cd as BadgeColor,wd as BadgeDefinition,dd as BadgeShape,hd as BadgeSize,xd as BadgeStyles,gd as BadgeTemplate,Bd as Button,Ac as ButtonAppearance,Pd as ButtonDefinition,Nc as ButtonShape,Ic as ButtonSize,Hc as ButtonStyles,Sd as ButtonTemplate,Cd as CompoundButton,Fd as CompoundButtonAppearance,Id as CompoundButtonDefinition,Td as CompoundButtonShape,zd as CompoundButtonSize,Nd as CompoundButtonStyles,Ad as CompoundButtonTemplate,Ld as CounterBadge,Dd as CounterBadgeAppearance,Od as CounterBadgeColor,Rd as CounterBadgeDefinition,Md as CounterBadgeShape,Hd as CounterBadgeSize,Vd as CounterBadgeStyles,Ed as CounterBadgeTemplate,_d as Divider,jd as DividerAlignContent,Gd as DividerAppearance,Wd as DividerDefinition,jt as DividerOrientation,_t as DividerRole,Xd as DividerStyles,qd as DividerTemplate,Ud as Image,Jd as ImageDefinition,Yd as ImageFit,Kd as ImageShape,Zd as ImageStyles,Qd as ImageTemplate,eh as Label,rh as LabelDefinition,th as LabelStyles,oh as LabelTemplate,ah as MenuButton,ih as MenuButtonAppearance,ch as MenuButtonDefinition,sh as MenuButtonShape,nh as MenuButtonSize,Hc as MenuButtonStyles,lh as MenuButtonTemplate,dh as ProgressBar,vh as ProgressBarDefinition,uh as ProgressBarShape,gh as ProgressBarStyles,bh as ProgressBarTemplate,hh as ProgressBarThickness,ph as ProgressBarValidationState,fh as Slider,$h as SliderDefinition,Ut as SliderOrientation,mh as SliderSize,yh as SliderStyles,kh as SliderTemplate,xh as Spinner,wh as SpinnerAppearance,Ch as SpinnerDefinition,Bh as SpinnerSize,Ph as SpinnerStyles,Sh as SpinnerTemplate,Fh as Switch,Th as SwitchLabelPosition,Eh as Tab,_h as TabDefinition,jh as TabPanel,Xh as TabPanelDefinition,qh as TabPanelStyles,Gh as TabPanelTemplate,Rh as TabStyles,Vh as TabTemplate,Dh as Tabs,Ih as TabsAppearance,Hh as TabsDefinition,io as TabsOrientation,Lh as TabsSize,Mh as TabsStyles,Oh as TabsTemplate,Wh as Text,Qh as TextAlign,eu as TextDefinition,Yh as TextFont,Uh as TextSize,Jh as TextStyles,Zh as TextTemplate,Kh as TextWeight,tu as ToggleButton,ou as ToggleButtonAppearance,nu as ToggleButtonDefinition,ru as ToggleButtonShape,au as ToggleButtonSize,su as ToggleButtonStyles,iu as ToggleButtonTemplate,go as accordionDefinition,Tc as accordionItemDefinition,Cc as accordionItemStyles,Fc as accordionItemTemplate,uo as accordionStyles,co as accordionTemplate,Bo as borderRadiusCircular,xo as borderRadiusLarge,$o as borderRadiusMedium,yo as borderRadiusNone,ko as borderRadiusSmall,wo as borderRadiusXLarge,Ti as colorBackgroundOverlay,Ai as colorBrandBackground,Ei as colorBrandBackground2,Ni as colorBrandBackgroundHover,Vi as colorBrandBackgroundInverted,Ri as colorBrandBackgroundInvertedHover,_i as colorBrandBackgroundInvertedPressed,ji as colorBrandBackgroundInvertedSelected,Ii as colorBrandBackgroundPressed,Li as colorBrandBackgroundSelected,Hi as colorBrandBackgroundStatic,ma as colorBrandForeground1,ya as colorBrandForeground2,Na as colorBrandForegroundInverted,Ia as colorBrandForegroundInvertedHover,La as colorBrandForegroundInvertedPressed,na as colorBrandForegroundLink,la as colorBrandForegroundLinkHover,ca as colorBrandForegroundLinkPressed,da as colorBrandForegroundLinkSelected,Da as colorBrandForegroundOnLight,Oa as colorBrandForegroundOnLightHover,Ma as colorBrandForegroundOnLightPressed,Ha as colorBrandForegroundOnLightSelected,ws as colorBrandShadowAmbient,Bs as colorBrandShadowKey,is as colorBrandStroke1,ss as colorBrandStroke2,Di as colorCompoundBrandBackground,Oi as colorCompoundBrandBackgroundHover,Mi as colorCompoundBrandBackgroundPressed,ba as colorCompoundBrandForeground1,va as colorCompoundBrandForeground1Hover,fa as colorCompoundBrandForeground1Pressed,ns as colorCompoundBrandStroke,ls as colorCompoundBrandStrokeHover,cs as colorCompoundBrandStrokePressed,Ea as colorNeutralBackground1,Va as colorNeutralBackground1Hover,Ra as colorNeutralBackground1Pressed,_a as colorNeutralBackground1Selected,ja as colorNeutralBackground2,Ga as colorNeutralBackground2Hover,qa as colorNeutralBackground2Pressed,Xa as colorNeutralBackground2Selected,Wa as colorNeutralBackground3,Ua as colorNeutralBackground3Hover,Ya as colorNeutralBackground3Pressed,Ka as colorNeutralBackground3Selected,Qa as colorNeutralBackground4,Za as colorNeutralBackground4Hover,Ja as colorNeutralBackground4Pressed,ei as colorNeutralBackground4Selected,ti as colorNeutralBackground5,oi as colorNeutralBackground5Hover,ri as colorNeutralBackground5Pressed,ai as colorNeutralBackground5Selected,ii as colorNeutralBackground6,wi as colorNeutralBackgroundDisabled,si as colorNeutralBackgroundInverted,Bi as colorNeutralBackgroundInvertedDisabled,ni as colorNeutralBackgroundStatic,Vr as colorNeutralForeground1,Rr as colorNeutralForeground1Hover,_r as colorNeutralForeground1Pressed,jr as colorNeutralForeground1Selected,ka as colorNeutralForeground1Static,Gr as colorNeutralForeground2,Ur as colorNeutralForeground2BrandHover,Yr as colorNeutralForeground2BrandPressed,Kr as colorNeutralForeground2BrandSelected,qr as colorNeutralForeground2Hover,ha as colorNeutralForeground2Link,ua as colorNeutralForeground2LinkHover,pa as colorNeutralForeground2LinkPressed,ga as colorNeutralForeground2LinkSelected,Xr as colorNeutralForeground2Pressed,Wr as colorNeutralForeground2Selected,Qr as colorNeutralForeground3,ta as colorNeutralForeground3BrandHover,oa as colorNeutralForeground3BrandPressed,ra as colorNeutralForeground3BrandSelected,Zr as colorNeutralForeground3Hover,Jr as colorNeutralForeground3Pressed,ea as colorNeutralForeground3Selected,aa as colorNeutralForeground4,ia as colorNeutralForegroundDisabled,xa as colorNeutralForegroundInverted,Pa as colorNeutralForegroundInverted2,sa as colorNeutralForegroundInvertedDisabled,wa as colorNeutralForegroundInvertedHover,Fa as colorNeutralForegroundInvertedLink,Ta as colorNeutralForegroundInvertedLinkHover,za as colorNeutralForegroundInvertedLinkPressed,Aa as colorNeutralForegroundInvertedLinkSelected,Ba as colorNeutralForegroundInvertedPressed,Sa as colorNeutralForegroundInvertedSelected,Ca as colorNeutralForegroundOnBrand,$a as colorNeutralForegroundStaticInverted,fs as colorNeutralShadowAmbient,$s as colorNeutralShadowAmbientDarker,ys as colorNeutralShadowAmbientLighter,ms as colorNeutralShadowKey,xs as colorNeutralShadowKeyDarker,ks as colorNeutralShadowKeyLighter,Si as colorNeutralStencil1,Ci as colorNeutralStencil1Alpha,Pi as colorNeutralStencil2,Fi as colorNeutralStencil2Alpha,Ui as colorNeutralStroke1,Yi as colorNeutralStroke1Hover,Ki as colorNeutralStroke1Pressed,Qi as colorNeutralStroke1Selected,Zi as colorNeutralStroke2,Ji as colorNeutralStroke3,Gi as colorNeutralStrokeAccessible,qi as colorNeutralStrokeAccessibleHover,Xi as colorNeutralStrokeAccessiblePressed,Wi as colorNeutralStrokeAccessibleSelected,ds as colorNeutralStrokeDisabled,hs as colorNeutralStrokeInvertedDisabled,es as colorNeutralStrokeOnBrand,ts as colorNeutralStrokeOnBrand2,os as colorNeutralStrokeOnBrand2Hover,rs as colorNeutralStrokeOnBrand2Pressed,as as colorNeutralStrokeOnBrand2Selected,lc as colorPaletteAnchorBackground2,dc as colorPaletteAnchorBorderActive,cc as colorPaletteAnchorForeground2,Jl as colorPaletteBeigeBackground2,tc as colorPaletteBeigeBorderActive,ec as colorPaletteBeigeForeground2,ln as colorPaletteBerryBackground1,cn as colorPaletteBerryBackground2,dn as colorPaletteBerryBackground3,bn as colorPaletteBerryBorder1,vn as colorPaletteBerryBorder2,gn as colorPaletteBerryBorderActive,hn as colorPaletteBerryForeground1,un as colorPaletteBerryForeground2,pn as colorPaletteBerryForeground3,kl as colorPaletteBlueBackground2,xl as colorPaletteBlueBorderActive,$l as colorPaletteBlueForeground2,Kn as colorPaletteBrassBackground2,Zn as colorPaletteBrassBorderActive,Qn as colorPaletteBrassForeground2,Jn as colorPaletteBrownBackground2,tl as colorPaletteBrownBorderActive,el as colorPaletteBrownForeground2,Pl as colorPaletteCornflowerBackground2,Fl as colorPaletteCornflowerBorderActive,Cl as colorPaletteCornflowerForeground2,Hn as colorPaletteCranberryBackground2,Vn as colorPaletteCranberryBorderActive,En as colorPaletteCranberryForeground2,ll as colorPaletteDarkGreenBackground2,dl as colorPaletteDarkGreenBorderActive,cl as colorPaletteDarkGreenForeground2,js as colorPaletteDarkOrangeBackground1,Gs as colorPaletteDarkOrangeBackground2,qs as colorPaletteDarkOrangeBackground3,Ks as colorPaletteDarkOrangeBorder1,Qs as colorPaletteDarkOrangeBorder2,Ys as colorPaletteDarkOrangeBorderActive,Xs as colorPaletteDarkOrangeForeground1,Ws as colorPaletteDarkOrangeForeground2,Us as colorPaletteDarkOrangeForeground3,Dn as colorPaletteDarkRedBackground2,Mn as colorPaletteDarkRedBorderActive,On as colorPaletteDarkRedForeground2,ol as colorPaletteForestBackground2,al as colorPaletteForestBorderActive,rl as colorPaletteForestForeground2,Wn as colorPaletteGoldBackground2,Yn as colorPaletteGoldBorderActive,Un as colorPaletteGoldForeground2,Hl as colorPaletteGrapeBackground2,Vl as colorPaletteGrapeBorderActive,El as colorPaletteGrapeForeground2,Ls as colorPaletteGreenBackground1,Ds as colorPaletteGreenBackground2,Os as colorPaletteGreenBackground3,Rs as colorPaletteGreenBorder1,_s as colorPaletteGreenBorder2,Vs as colorPaletteGreenBorderActive,Ms as colorPaletteGreenForeground1,Hs as colorPaletteGreenForeground2,Es as colorPaletteGreenForeground3,uc as colorPaletteGreenForegroundInverted,Nl as colorPaletteLavenderBackground2,Ll as colorPaletteLavenderBorderActive,Il as colorPaletteLavenderForeground2,fn as colorPaletteLightGreenBackground1,mn as colorPaletteLightGreenBackground2,yn as colorPaletteLightGreenBackground3,Bn as colorPaletteLightGreenBorder1,Sn as colorPaletteLightGreenBorder2,wn as colorPaletteLightGreenBorderActive,kn as colorPaletteLightGreenForeground1,$n as colorPaletteLightGreenForeground2,xn as colorPaletteLightGreenForeground3,hl as colorPaletteLightTealBackground2,pl as colorPaletteLightTealBorderActive,ul as colorPaletteLightTealForeground2,Rl as colorPaletteLilacBackground2,jl as colorPaletteLilacBorderActive,_l as colorPaletteLilacForeground2,Wl as colorPaletteMagentaBackground2,Yl as colorPaletteMagentaBorderActive,Ul as colorPaletteMagentaForeground2,Pn as colorPaletteMarigoldBackground1,Cn as colorPaletteMarigoldBackground2,Fn as colorPaletteMarigoldBackground3,In as colorPaletteMarigoldBorder1,Ln as colorPaletteMarigoldBorder2,Nn as colorPaletteMarigoldBorderActive,Tn as colorPaletteMarigoldForeground1,zn as colorPaletteMarigoldForeground2,An as colorPaletteMarigoldForeground3,oc as colorPaletteMinkBackground2,ac as colorPaletteMinkBorderActive,rc as colorPaletteMinkForeground2,Tl as colorPaletteNavyBackground2,Al as colorPaletteNavyBorderActive,zl as colorPaletteNavyForeground2,Gn as colorPalettePeachBackground2,Xn as colorPalettePeachBorderActive,qn as colorPalettePeachForeground2,Gl as colorPalettePinkBackground2,Xl as colorPalettePinkBorderActive,ql as colorPalettePinkForeground2,ic as colorPalettePlatinumBackground2,nc as colorPalettePlatinumBorderActive,sc as colorPalettePlatinumForeground2,Kl as colorPalettePlumBackground2,Zl as colorPalettePlumBorderActive,Ql as colorPalettePlumForeground2,Rn as colorPalettePumpkinBackground2,jn as colorPalettePumpkinBorderActive,_n as colorPalettePumpkinForeground2,Dl as colorPalettePurpleBackground2,Ml as colorPalettePurpleBorderActive,Ol as colorPalettePurpleForeground2,Ss as colorPaletteRedBackground1,Ps as colorPaletteRedBackground2,Cs as colorPaletteRedBackground3,Ns as colorPaletteRedBorder1,Is as colorPaletteRedBorder2,As as colorPaletteRedBorderActive,Fs as colorPaletteRedForeground1,Ts as colorPaletteRedForeground2,zs as colorPaletteRedForeground3,hc as colorPaletteRedForegroundInverted,wl as colorPaletteRoyalBlueBackground2,Sl as colorPaletteRoyalBlueBorderActive,Bl as colorPaletteRoyalBlueForeground2,il as colorPaletteSeafoamBackground2,nl as colorPaletteSeafoamBorderActive,sl as colorPaletteSeafoamForeground2,fl as colorPaletteSteelBackground2,yl as colorPaletteSteelBorderActive,ml as colorPaletteSteelForeground2,gl as colorPaletteTealBackground2,vl as colorPaletteTealBorderActive,bl as colorPaletteTealForeground2,Zs as colorPaletteYellowBackground1,Js as colorPaletteYellowBackground2,en as colorPaletteYellowBackground3,sn as colorPaletteYellowBorder1,nn as colorPaletteYellowBorder2,an as colorPaletteYellowBorderActive,tn as colorPaletteYellowForeground1,on as colorPaletteYellowForeground2,rn as colorPaletteYellowForeground3,pc as colorPaletteYellowForegroundInverted,zi as colorScrollbarOverlay,bs as colorStrokeFocus1,vs as colorStrokeFocus2,li as colorSubtleBackground,ci as colorSubtleBackgroundHover,bi as colorSubtleBackgroundInverted,vi as colorSubtleBackgroundInvertedHover,fi as colorSubtleBackgroundInvertedPressed,mi as colorSubtleBackgroundInvertedSelected,ui as colorSubtleBackgroundLightAlphaHover,pi as colorSubtleBackgroundLightAlphaPressed,gi as colorSubtleBackgroundLightAlphaSelected,di as colorSubtleBackgroundPressed,hi as colorSubtleBackgroundSelected,yi as colorTransparentBackground,ki as colorTransparentBackgroundHover,$i as colorTransparentBackgroundPressed,xi as colorTransparentBackgroundSelected,us as colorTransparentStroke,gs as colorTransparentStrokeDisabled,ps as colorTransparentStrokeInteractive,Ar as curveAccelerateMax,Nr as curveAccelerateMid,Ir as curveAccelerateMin,Lr as curveDecelerateMax,Dr as curveDecelerateMid,Or as curveDecelerateMin,Hr as curveEasyEase,Mr as curveEasyEaseMax,Er as curveLinear,Nh as definition,Pr as durationFast,Sr as durationFaster,Cr as durationNormal,Fr as durationSlow,Tr as durationSlower,Br as durationUltraFast,zr as durationUltraSlow,qo as fontFamilyBase,Xo as fontFamilyMonospace,Wo as fontFamilyNumeric,So as fontSizeBase100,Po as fontSizeBase200,Co as fontSizeBase300,Fo as fontSizeBase400,To as fontSizeBase500,zo as fontSizeBase600,Lo as fontSizeHero1000,Ao as fontSizeHero700,No as fontSizeHero800,Io as fontSizeHero900,Qo as fontWeightBold,Yo as fontWeightMedium,Uo as fontWeightRegular,Ko as fontWeightSemibold,Do as lineHeightBase100,Oo as lineHeightBase200,Mo as lineHeightBase300,Ho as lineHeightBase400,Eo as lineHeightBase500,Vo as lineHeightBase600,Go as lineHeightHero1000,Ro as lineHeightHero700,_o as lineHeightHero800,jo as lineHeightHero900,cu as setTheme,fc as shadow16,wc as shadow16Brand,gc as shadow2,mc as shadow28,Bc as shadow28Brand,kc as shadow2Brand,bc as shadow4,$c as shadow4Brand,yc as shadow64,Sc as shadow64Brand,vc as shadow8,xc as shadow8Brand,cr as spacingHorizontalL,lr as spacingHorizontalM,nr as spacingHorizontalMNudge,or as spacingHorizontalNone,sr as spacingHorizontalS,ir as spacingHorizontalSNudge,dr as spacingHorizontalXL,ar as spacingHorizontalXS,hr as spacingHorizontalXXL,rr as spacingHorizontalXXS,ur as spacingHorizontalXXXL,kr as spacingVerticalL,yr as spacingVerticalM,mr as spacingVerticalMNudge,pr as spacingVerticalNone,fr as spacingVerticalS,vr as spacingVerticalSNudge,$r as spacingVerticalXL,br as spacingVerticalXS,xr as spacingVerticalXXL,gr as spacingVerticalXXS,wr as spacingVerticalXXXL,Jo as strokeWidthThick,er as strokeWidthThicker,tr as strokeWidthThickest,Zo as strokeWidthThin,Ah as switchStyles,zh as switchTemplate};
329
+ :host([aria-pressed="true"]) .control{border-color:${Kn};background-color:${ja};color:${Ri};border-width:${Jr}}:host([aria-pressed='true']:hover) .control{border-color:${Qn};background-color:${Ra}}:host([aria-pressed='true']:active) .control{border-color:${Zn};background-color:${_a}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${En};color:${Fa}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${Ln}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${Dn}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${pn};color:${Ui}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${hn};color:${Xi}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${un};color:${Wi}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${Bn}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${$n}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${wn}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Qi}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Yi}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${Ki}}`,mp=hp.compose({name:gr.prefix+"-toggle-button",template:bp,styles:fp,shadowOptions:{delegatesFocus:!0}}),vp=Object.keys(Pd),yp=e=>{for(const t of vp)Pd[t].withDefault(e[t])};export{hr as Accordion,fr as AccordionItem,vr as AccordionItemExpandIconPosition,mr as AccordionItemSize,Ad as AnchorButton,Dd as AnchorButtonAppearance,Rd as AnchorButtonDefinition,Ed as AnchorButtonShape,Od as AnchorButtonSize,Md as AnchorButtonTemplate,eh as Avatar,Ud as AvatarActive,Kd as AvatarAppearance,Zd as AvatarColor,lh as AvatarDefinition,Qd as AvatarNamedColor,Yd as AvatarShape,Jd as AvatarSize,sh as AvatarStyles,rh as AvatarTemplate,ph as Badge,ch as BadgeAppearance,dh as BadgeColor,Bh as BadgeDefinition,hh as BadgeShape,uh as BadgeSize,wh as BadgeStyles,bh as BadgeTemplate,Sh as Button,zd as ButtonAppearance,Ph as ButtonDefinition,Nd as ButtonShape,Ld as ButtonSize,Hd as ButtonStyles,Ch as ButtonTemplate,Fh as CompoundButton,Th as CompoundButtonAppearance,Lh as CompoundButtonDefinition,Ih as CompoundButtonShape,Ah as CompoundButtonSize,Nh as CompoundButtonStyles,zh as CompoundButtonTemplate,Dh as CounterBadge,Eh as CounterBadgeAppearance,Oh as CounterBadgeColor,_h as CounterBadgeDefinition,Mh as CounterBadgeShape,Hh as CounterBadgeSize,Rh as CounterBadgeStyles,Vh as CounterBadgeTemplate,jh as Divider,qh as DividerAlignContent,Gh as DividerAppearance,Uh as DividerDefinition,jo as DividerOrientation,_o as DividerRole,Wh as DividerStyles,Xh as DividerTemplate,Yh as Image,eu as ImageDefinition,Kh as ImageFit,Qh as ImageShape,Jh as ImageStyles,Zh as ImageTemplate,tu as Label,iu as LabelDefinition,ou as LabelStyles,ru as LabelTemplate,au as MenuButton,nu as MenuButtonAppearance,du as MenuButtonDefinition,su as MenuButtonShape,lu as MenuButtonSize,Hd as MenuButtonStyles,cu as MenuButtonTemplate,hu as MenuItem,bu as MenuItemDefinition,gu as MenuItemStyles,pu as MenuItemTemplate,fu as MenuList,yu as MenuListDefinition,vu as MenuListStyles,mu as MenuListTemplate,xu as ProgressBar,Cu as ProgressBarDefinition,$u as ProgressBarShape,Bu as ProgressBarStyles,Su as ProgressBarTemplate,ku as ProgressBarThickness,wu as ProgressBarValidationState,Pu as Slider,Au as SliderDefinition,Qo as SliderOrientation,Fu as SliderSize,Tu as SliderStyles,Iu as SliderTemplate,zu as Spinner,Nu as SpinnerAppearance,Ou as SpinnerDefinition,Lu as SpinnerSize,Eu as SpinnerStyles,Du as SpinnerTemplate,Mu as Switch,Hu as SwitchLabelPosition,Yu as Tab,Zu as TabDefinition,Ju as TabPanel,op as TabPanelDefinition,tp as TabPanelStyles,ep as TabPanelTemplate,Qu as TabStyles,Ku as TabTemplate,Gu as Tabs,ju as TabsAppearance,Uu as TabsDefinition,lr as TabsOrientation,qu as TabsSize,Wu as TabsStyles,Xu as TabsTemplate,rp as Text,sp as TextAlign,dp as TextDefinition,ap as TextFont,ip as TextSize,cp as TextStyles,lp as TextTemplate,np as TextWeight,hp as ToggleButton,up as ToggleButtonAppearance,mp as ToggleButtonDefinition,pp as ToggleButtonShape,gp as ToggleButtonSize,fp as ToggleButtonStyles,bp as ToggleButtonTemplate,br as accordionDefinition,Id as accordionItemDefinition,Fd as accordionItemStyles,Td as accordionItemTemplate,pr as accordionStyles,ur as accordionTemplate,Sr as borderRadiusCircular,wr as borderRadiusLarge,$r as borderRadiusMedium,xr as borderRadiusNone,kr as borderRadiusSmall,Br as borderRadiusXLarge,An as colorBackgroundOverlay,Nn as colorBrandBackground,Rn as colorBrandBackground2,Ln as colorBrandBackgroundHover,_n as colorBrandBackgroundInverted,jn as colorBrandBackgroundInvertedHover,qn as colorBrandBackgroundInvertedPressed,Gn as colorBrandBackgroundInvertedSelected,Dn as colorBrandBackgroundPressed,En as colorBrandBackgroundSelected,Vn as colorBrandBackgroundStatic,ya as colorBrandForeground1,xa as colorBrandForeground2,Na as colorBrandForegroundInverted,La as colorBrandForegroundInvertedHover,Da as colorBrandForegroundInvertedPressed,la as colorBrandForegroundLink,ca as colorBrandForegroundLinkHover,da as colorBrandForegroundLinkPressed,ha as colorBrandForegroundLinkSelected,Ea as colorBrandForegroundOnLight,Oa as colorBrandForegroundOnLightHover,Ma as colorBrandForegroundOnLightPressed,Ha as colorBrandForegroundOnLightSelected,Ss as colorBrandShadowAmbient,Cs as colorBrandShadowKey,ss as colorBrandStroke1,ls as colorBrandStroke2,On as colorCompoundBrandBackground,Mn as colorCompoundBrandBackgroundHover,Hn as colorCompoundBrandBackgroundPressed,fa as colorCompoundBrandForeground1,ma as colorCompoundBrandForeground1Hover,va as colorCompoundBrandForeground1Pressed,cs as colorCompoundBrandStroke,ds as colorCompoundBrandStrokeHover,hs as colorCompoundBrandStrokePressed,Va as colorNeutralBackground1,Ra as colorNeutralBackground1Hover,_a as colorNeutralBackground1Pressed,ja as colorNeutralBackground1Selected,qa as colorNeutralBackground2,Ga as colorNeutralBackground2Hover,Xa as colorNeutralBackground2Pressed,Wa as colorNeutralBackground2Selected,Ua as colorNeutralBackground3,Ya as colorNeutralBackground3Hover,Ka as colorNeutralBackground3Pressed,Qa as colorNeutralBackground3Selected,Za as colorNeutralBackground4,Ja as colorNeutralBackground4Hover,en as colorNeutralBackground4Pressed,tn as colorNeutralBackground4Selected,on as colorNeutralBackground5,rn as colorNeutralBackground5Hover,an as colorNeutralBackground5Pressed,nn as colorNeutralBackground5Selected,sn as colorNeutralBackground6,Sn as colorNeutralBackgroundDisabled,ln as colorNeutralBackgroundInverted,Cn as colorNeutralBackgroundInvertedDisabled,cn as colorNeutralBackgroundStatic,Ri as colorNeutralForeground1,_i as colorNeutralForeground1Hover,ji as colorNeutralForeground1Pressed,qi as colorNeutralForeground1Selected,ka as colorNeutralForeground1Static,Gi as colorNeutralForeground2,Yi as colorNeutralForeground2BrandHover,Ki as colorNeutralForeground2BrandPressed,Qi as colorNeutralForeground2BrandSelected,Xi as colorNeutralForeground2Hover,ua as colorNeutralForeground2Link,pa as colorNeutralForeground2LinkHover,ga as colorNeutralForeground2LinkPressed,ba as colorNeutralForeground2LinkSelected,Wi as colorNeutralForeground2Pressed,Ui as colorNeutralForeground2Selected,Zi as colorNeutralForeground3,oa as colorNeutralForeground3BrandHover,ra as colorNeutralForeground3BrandPressed,ia as colorNeutralForeground3BrandSelected,Ji as colorNeutralForeground3Hover,ea as colorNeutralForeground3Pressed,ta as colorNeutralForeground3Selected,aa as colorNeutralForeground4,na as colorNeutralForegroundDisabled,wa as colorNeutralForegroundInverted,Pa as colorNeutralForegroundInverted2,sa as colorNeutralForegroundInvertedDisabled,Ba as colorNeutralForegroundInvertedHover,Ta as colorNeutralForegroundInvertedLink,Ia as colorNeutralForegroundInvertedLinkHover,Aa as colorNeutralForegroundInvertedLinkPressed,za as colorNeutralForegroundInvertedLinkSelected,Sa as colorNeutralForegroundInvertedPressed,Ca as colorNeutralForegroundInvertedSelected,Fa as colorNeutralForegroundOnBrand,$a as colorNeutralForegroundStaticInverted,ys as colorNeutralShadowAmbient,ws as colorNeutralShadowAmbientDarker,ks as colorNeutralShadowAmbientLighter,xs as colorNeutralShadowKey,Bs as colorNeutralShadowKeyDarker,$s as colorNeutralShadowKeyLighter,Pn as colorNeutralStencil1,Tn as colorNeutralStencil1Alpha,Fn as colorNeutralStencil2,In as colorNeutralStencil2Alpha,Kn as colorNeutralStroke1,Qn as colorNeutralStroke1Hover,Zn as colorNeutralStroke1Pressed,Jn as colorNeutralStroke1Selected,es as colorNeutralStroke2,ts as colorNeutralStroke3,Xn as colorNeutralStrokeAccessible,Wn as colorNeutralStrokeAccessibleHover,Un as colorNeutralStrokeAccessiblePressed,Yn as colorNeutralStrokeAccessibleSelected,us as colorNeutralStrokeDisabled,ps as colorNeutralStrokeInvertedDisabled,os as colorNeutralStrokeOnBrand,rs as colorNeutralStrokeOnBrand2,is as colorNeutralStrokeOnBrand2Hover,as as colorNeutralStrokeOnBrand2Pressed,ns as colorNeutralStrokeOnBrand2Selected,cd as colorPaletteAnchorBackground2,hd as colorPaletteAnchorBorderActive,dd as colorPaletteAnchorForeground2,ed as colorPaletteBeigeBackground2,od as colorPaletteBeigeBorderActive,td as colorPaletteBeigeForeground2,cl as colorPaletteBerryBackground1,dl as colorPaletteBerryBackground2,hl as colorPaletteBerryBackground3,fl as colorPaletteBerryBorder1,ml as colorPaletteBerryBorder2,bl as colorPaletteBerryBorderActive,ul as colorPaletteBerryForeground1,pl as colorPaletteBerryForeground2,gl as colorPaletteBerryForeground3,kc as colorPaletteBlueBackground2,wc as colorPaletteBlueBorderActive,$c as colorPaletteBlueForeground2,Ql as colorPaletteBrassBackground2,Jl as colorPaletteBrassBorderActive,Zl as colorPaletteBrassForeground2,ec as colorPaletteBrownBackground2,oc as colorPaletteBrownBorderActive,tc as colorPaletteBrownForeground2,Pc as colorPaletteCornflowerBackground2,Tc as colorPaletteCornflowerBorderActive,Fc as colorPaletteCornflowerForeground2,Hl as colorPaletteCranberryBackground2,Rl as colorPaletteCranberryBorderActive,Vl as colorPaletteCranberryForeground2,cc as colorPaletteDarkGreenBackground2,hc as colorPaletteDarkGreenBorderActive,dc as colorPaletteDarkGreenForeground2,Gs as colorPaletteDarkOrangeBackground1,Xs as colorPaletteDarkOrangeBackground2,Ws as colorPaletteDarkOrangeBackground3,Zs as colorPaletteDarkOrangeBorder1,Js as colorPaletteDarkOrangeBorder2,Qs as colorPaletteDarkOrangeBorderActive,Us as colorPaletteDarkOrangeForeground1,Ys as colorPaletteDarkOrangeForeground2,Ks as colorPaletteDarkOrangeForeground3,El as colorPaletteDarkRedBackground2,Ml as colorPaletteDarkRedBorderActive,Ol as colorPaletteDarkRedForeground2,rc as colorPaletteForestBackground2,ac as colorPaletteForestBorderActive,ic as colorPaletteForestForeground2,Ul as colorPaletteGoldBackground2,Kl as colorPaletteGoldBorderActive,Yl as colorPaletteGoldForeground2,Hc as colorPaletteGrapeBackground2,Rc as colorPaletteGrapeBorderActive,Vc as colorPaletteGrapeForeground2,Es as colorPaletteGreenBackground1,Os as colorPaletteGreenBackground2,Ms as colorPaletteGreenBackground3,js as colorPaletteGreenBorder1,qs as colorPaletteGreenBorder2,_s as colorPaletteGreenBorderActive,Hs as colorPaletteGreenForeground1,Vs as colorPaletteGreenForeground2,Rs as colorPaletteGreenForeground3,pd as colorPaletteGreenForegroundInverted,Nc as colorPaletteLavenderBackground2,Dc as colorPaletteLavenderBorderActive,Lc as colorPaletteLavenderForeground2,vl as colorPaletteLightGreenBackground1,yl as colorPaletteLightGreenBackground2,xl as colorPaletteLightGreenBackground3,Sl as colorPaletteLightGreenBorder1,Cl as colorPaletteLightGreenBorder2,Bl as colorPaletteLightGreenBorderActive,kl as colorPaletteLightGreenForeground1,$l as colorPaletteLightGreenForeground2,wl as colorPaletteLightGreenForeground3,uc as colorPaletteLightTealBackground2,gc as colorPaletteLightTealBorderActive,pc as colorPaletteLightTealForeground2,_c as colorPaletteLilacBackground2,qc as colorPaletteLilacBorderActive,jc as colorPaletteLilacForeground2,Uc as colorPaletteMagentaBackground2,Kc as colorPaletteMagentaBorderActive,Yc as colorPaletteMagentaForeground2,Pl as colorPaletteMarigoldBackground1,Fl as colorPaletteMarigoldBackground2,Tl as colorPaletteMarigoldBackground3,Ll as colorPaletteMarigoldBorder1,Dl as colorPaletteMarigoldBorder2,Nl as colorPaletteMarigoldBorderActive,Il as colorPaletteMarigoldForeground1,Al as colorPaletteMarigoldForeground2,zl as colorPaletteMarigoldForeground3,rd as colorPaletteMinkBackground2,ad as colorPaletteMinkBorderActive,id as colorPaletteMinkForeground2,Ic as colorPaletteNavyBackground2,zc as colorPaletteNavyBorderActive,Ac as colorPaletteNavyForeground2,Gl as colorPalettePeachBackground2,Wl as colorPalettePeachBorderActive,Xl as colorPalettePeachForeground2,Gc as colorPalettePinkBackground2,Wc as colorPalettePinkBorderActive,Xc as colorPalettePinkForeground2,nd as colorPalettePlatinumBackground2,ld as colorPalettePlatinumBorderActive,sd as colorPalettePlatinumForeground2,Qc as colorPalettePlumBackground2,Jc as colorPalettePlumBorderActive,Zc as colorPalettePlumForeground2,_l as colorPalettePumpkinBackground2,ql as colorPalettePumpkinBorderActive,jl as colorPalettePumpkinForeground2,Ec as colorPalettePurpleBackground2,Mc as colorPalettePurpleBorderActive,Oc as colorPalettePurpleForeground2,Ps as colorPaletteRedBackground1,Fs as colorPaletteRedBackground2,Ts as colorPaletteRedBackground3,Ls as colorPaletteRedBorder1,Ds as colorPaletteRedBorder2,Ns as colorPaletteRedBorderActive,Is as colorPaletteRedForeground1,As as colorPaletteRedForeground2,zs as colorPaletteRedForeground3,ud as colorPaletteRedForegroundInverted,Bc as colorPaletteRoyalBlueBackground2,Cc as colorPaletteRoyalBlueBorderActive,Sc as colorPaletteRoyalBlueForeground2,nc as colorPaletteSeafoamBackground2,lc as colorPaletteSeafoamBorderActive,sc as colorPaletteSeafoamForeground2,vc as colorPaletteSteelBackground2,xc as colorPaletteSteelBorderActive,yc as colorPaletteSteelForeground2,bc as colorPaletteTealBackground2,mc as colorPaletteTealBorderActive,fc as colorPaletteTealForeground2,el as colorPaletteYellowBackground1,tl as colorPaletteYellowBackground2,ol as colorPaletteYellowBackground3,sl as colorPaletteYellowBorder1,ll as colorPaletteYellowBorder2,nl as colorPaletteYellowBorderActive,rl as colorPaletteYellowForeground1,il as colorPaletteYellowForeground2,al as colorPaletteYellowForeground3,gd as colorPaletteYellowForegroundInverted,zn as colorScrollbarOverlay,ms as colorStrokeFocus1,vs as colorStrokeFocus2,dn as colorSubtleBackground,hn as colorSubtleBackgroundHover,mn as colorSubtleBackgroundInverted,vn as colorSubtleBackgroundInvertedHover,yn as colorSubtleBackgroundInvertedPressed,xn as colorSubtleBackgroundInvertedSelected,gn as colorSubtleBackgroundLightAlphaHover,bn as colorSubtleBackgroundLightAlphaPressed,fn as colorSubtleBackgroundLightAlphaSelected,un as colorSubtleBackgroundPressed,pn as colorSubtleBackgroundSelected,kn as colorTransparentBackground,$n as colorTransparentBackgroundHover,wn as colorTransparentBackgroundPressed,Bn as colorTransparentBackgroundSelected,gs as colorTransparentStroke,fs as colorTransparentStrokeDisabled,bs as colorTransparentStrokeInteractive,zi as curveAccelerateMax,Ni as curveAccelerateMid,Li as curveAccelerateMin,Di as curveDecelerateMax,Ei as curveDecelerateMid,Oi as curveDecelerateMin,Hi as curveEasyEase,Mi as curveEasyEaseMax,Vi as curveLinear,_u as definition,Pi as durationFast,Ci as durationFaster,Fi as durationNormal,Ti as durationSlow,Ii as durationSlower,Si as durationUltraFast,Ai as durationUltraSlow,Xr as fontFamilyBase,Wr as fontFamilyMonospace,Ur as fontFamilyNumeric,Cr as fontSizeBase100,Pr as fontSizeBase200,Fr as fontSizeBase300,Tr as fontSizeBase400,Ir as fontSizeBase500,Ar as fontSizeBase600,Dr as fontSizeHero1000,zr as fontSizeHero700,Nr as fontSizeHero800,Lr as fontSizeHero900,Zr as fontWeightBold,Kr as fontWeightMedium,Yr as fontWeightRegular,Qr as fontWeightSemibold,Er as lineHeightBase100,Or as lineHeightBase200,Mr as lineHeightBase300,Hr as lineHeightBase400,Vr as lineHeightBase500,Rr as lineHeightBase600,Gr as lineHeightHero1000,_r as lineHeightHero700,jr as lineHeightHero800,qr as lineHeightHero900,yp as setTheme,vd as shadow16,Bd as shadow16Brand,bd as shadow2,yd as shadow28,Sd as shadow28Brand,kd as shadow2Brand,fd as shadow4,$d as shadow4Brand,xd as shadow64,Cd as shadow64Brand,md as shadow8,wd as shadow8Brand,di as spacingHorizontalL,ci as spacingHorizontalM,li as spacingHorizontalMNudge,ri as spacingHorizontalNone,si as spacingHorizontalS,ni as spacingHorizontalSNudge,hi as spacingHorizontalXL,ai as spacingHorizontalXS,ui as spacingHorizontalXXL,ii as spacingHorizontalXXS,pi as spacingHorizontalXXXL,ki as spacingVerticalL,xi as spacingVerticalM,yi as spacingVerticalMNudge,gi as spacingVerticalNone,vi as spacingVerticalS,mi as spacingVerticalSNudge,$i as spacingVerticalXL,fi as spacingVerticalXS,wi as spacingVerticalXXL,bi as spacingVerticalXXS,Bi as spacingVerticalXXXL,ei as strokeWidthThick,ti as strokeWidthThicker,oi as strokeWidthThickest,Jr as strokeWidthThin,Ru as switchStyles,Vu as switchTemplate};