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

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 (78) hide show
  1. package/CHANGELOG.json +58 -1
  2. package/CHANGELOG.md +22 -2
  3. package/dist/dts/anchor-button/anchor-button.d.ts +64 -0
  4. package/dist/dts/anchor-button/anchor-button.definition.d.ts +10 -0
  5. package/dist/dts/anchor-button/anchor-button.options.d.ts +46 -0
  6. package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
  7. package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -0
  8. package/dist/dts/anchor-button/define.d.ts +1 -0
  9. package/dist/dts/anchor-button/index.d.ts +4 -0
  10. package/dist/dts/compound-button/compound-button.d.ts +7 -0
  11. package/dist/dts/compound-button/compound-button.definition.d.ts +10 -0
  12. package/dist/dts/compound-button/compound-button.options.d.ts +50 -0
  13. package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
  14. package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
  15. package/dist/dts/compound-button/define.d.ts +1 -0
  16. package/dist/dts/compound-button/index.d.ts +5 -0
  17. package/dist/dts/index.d.ts +3 -0
  18. package/dist/dts/toggle-button/define.d.ts +1 -0
  19. package/dist/dts/toggle-button/index.d.ts +5 -0
  20. package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
  21. package/dist/dts/toggle-button/toggle-button.definition.d.ts +10 -0
  22. package/dist/dts/toggle-button/toggle-button.options.d.ts +46 -0
  23. package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
  24. package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
  25. package/dist/esm/anchor-button/anchor-button.definition.js +21 -0
  26. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
  27. package/dist/esm/anchor-button/anchor-button.js +93 -0
  28. package/dist/esm/anchor-button/anchor-button.js.map +1 -0
  29. package/dist/esm/anchor-button/anchor-button.options.js +17 -0
  30. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
  31. package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
  32. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
  33. package/dist/esm/anchor-button/anchor-button.template.js +7 -0
  34. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
  35. package/dist/esm/anchor-button/define.js +4 -0
  36. package/dist/esm/anchor-button/define.js.map +1 -0
  37. package/dist/esm/anchor-button/index.js +5 -0
  38. package/dist/esm/anchor-button/index.js.map +1 -0
  39. package/dist/esm/button/button.styles.js +1 -0
  40. package/dist/esm/button/button.styles.js.map +1 -1
  41. package/dist/esm/compound-button/compound-button.definition.js +21 -0
  42. package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
  43. package/dist/esm/compound-button/compound-button.js +8 -0
  44. package/dist/esm/compound-button/compound-button.js.map +1 -0
  45. package/dist/esm/compound-button/compound-button.options.js +17 -0
  46. package/dist/esm/compound-button/compound-button.options.js.map +1 -0
  47. package/dist/esm/compound-button/compound-button.styles.js +105 -0
  48. package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
  49. package/dist/esm/compound-button/compound-button.template.js +60 -0
  50. package/dist/esm/compound-button/compound-button.template.js.map +1 -0
  51. package/dist/esm/compound-button/define.js +4 -0
  52. package/dist/esm/compound-button/define.js.map +1 -0
  53. package/dist/esm/compound-button/index.js +6 -0
  54. package/dist/esm/compound-button/index.js.map +1 -0
  55. package/dist/esm/image/image.styles.js +4 -1
  56. package/dist/esm/image/image.styles.js.map +1 -1
  57. package/dist/esm/index.js +3 -0
  58. package/dist/esm/index.js.map +1 -1
  59. package/dist/esm/toggle-button/define.js +4 -0
  60. package/dist/esm/toggle-button/define.js.map +1 -0
  61. package/dist/esm/toggle-button/index.js +6 -0
  62. package/dist/esm/toggle-button/index.js.map +1 -0
  63. package/dist/esm/toggle-button/toggle-button.definition.js +21 -0
  64. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
  65. package/dist/esm/toggle-button/toggle-button.js +99 -0
  66. package/dist/esm/toggle-button/toggle-button.js.map +1 -0
  67. package/dist/esm/toggle-button/toggle-button.options.js +17 -0
  68. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
  69. package/dist/esm/toggle-button/toggle-button.styles.js +83 -0
  70. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
  71. package/dist/esm/toggle-button/toggle-button.template.js +7 -0
  72. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
  73. package/dist/fluent-web-components.api.json +3168 -1471
  74. package/dist/web-components.d.ts +330 -0
  75. package/dist/web-components.js +488 -117
  76. package/dist/web-components.min.js +158 -146
  77. package/docs/api-report.md +173 -0
  78. package/package.json +13 -1
@@ -1,27 +1,34 @@
1
- import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(e){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,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 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 s(){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 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 x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=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 $(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),n(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=n(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){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){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 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 N extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function A(e,t){return new N(e,t)}let I;p(N);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 V=""+Math.random().toString(36).substring(2,8);let E=0;const R=()=>`--v${V}${++E}`;function _(e,t){const o=[];let r="";const a=[],s=e=>{a.push(e)};for(let a=0,n=e.length-1;a<n;++a){r+=e[a];let n=t[a];i(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:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}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,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let s;if(-1===a)s=i;else{const e=i.substring(0,a);r.push(t[e]),s=i.substring(a+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 i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},s=a.cv;let n=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&&(s[o]=n,l.add(o))}}if(a.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 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 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,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 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 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,s;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!==(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 i=ne[t];if(!i){const r="_"+t;ne[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 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?a&&(p=new re(A(()=>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=se(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 s=Z.parse(t.textContent,e.directives);if(null===s)return le.node=t.nextSibling,le.index=i+1,le;let n,l=n=t;for(let t=0,c=s.length;t<c;++t){const c=s[t];0!==t&&(i++,r=se(o,i),n=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?n.textContent=c:(n.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=n}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const s=Z.parse(o.data,e.directives);null!==s&&e.addFactory(be.aggregate(s),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),s=new he(i,t,o);var n,l;return ue(s,"",r,"h",0,!0),n=i.firstChild,l=t,(n&&8==n.nodeType&&null!==Z.parse(n.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(s,i,"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,i=!1,s=void 0;const n=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||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=i,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(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),s=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 n,l=t[o];if(r+=a,i(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(A(()=>e))}r+=ye(l,a,s,n)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new me(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;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 a(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 Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Ae={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class Ie{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=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,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 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 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=Ie.collect(e,t.attributes),s=new Array(i.length),n={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[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=i,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 Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Me.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Ee={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 ${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,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: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,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=_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,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},Ee),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=Ve.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 Ve.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 i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}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 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 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 i,a=arguments.length,s=a<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--)(i=e[n])&&(s=(a<3?i(s):a>3?i(t,o,s):i(t,o))||s);return a>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 xe`<slot name="end" ${we("end")}>${Qe(e.end)}</slot>`.inline()}function ot(e){return xe`<slot name="start" ${we("start")}>${Qe(e.start)}</slot>`.inline()}const rt={horizontal:"horizontal",vertical:"vertical"};var it;function at(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));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:Ae})],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);const pt="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,gt=new WeakMap;function bt(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 pt}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(!pt)return null;let e=gt.get(this);return e||(e=this.attachInternals(),gt.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 vt extends Ke{}class ft extends(bt(vt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const mt="submit",yt="reset";class kt extends ft{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===mt&&this.addEventListener("click",this.handleSubmission),e===mt&&this.removeEventListener("click",this.handleSubmission),t===yt&&this.addEventListener("click",this.handleFormReset),e===yt&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Ze([Le({mode:"boolean"})],kt.prototype,"autofocus",void 0),Ze([Le({attribute:"form"})],kt.prototype,"formId",void 0),Ze([Le],kt.prototype,"formaction",void 0),Ze([Le],kt.prototype,"formenctype",void 0),Ze([Le],kt.prototype,"formmethod",void 0),Ze([Le({mode:"boolean"})],kt.prototype,"formnovalidate",void 0),Ze([Le],kt.prototype,"formtarget",void 0),Ze([Le],kt.prototype,"type",void 0),Ze([S],kt.prototype,"defaultSlottedContent",void 0);class xt{}function $t(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${tt(e)}</button>`}Ze([Le({attribute:"aria-expanded"})],xt.prototype,"ariaExpanded",void 0),Ze([Le({attribute:"aria-pressed"})],xt.prototype,"ariaPressed",void 0),lt(xt,Je),lt(kt,et,xt);class wt{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=wt.cache.get(e);return t||(t=new wt(e),wt.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)}}wt.cache=new WeakMap;class Bt{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 St{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 Pt{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=Pt.getAssignedTokensForNode(e),r=e.parent;do{const e=Pt.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Pt.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 Pt.isAssigned(e,t)?Pt.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(Pt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Pt.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=Pt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Pt.composeAssignedTokensForNode(this),a=Pt.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 St(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 St(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Pt.notify()}removeChild(e){if(e.parent===this){const t=Pt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new St(this,2,o));Pt.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=Pt.isAssigned(this,e)||Pt.isDerivedFor(this,e)?1:0,r=Pt.getLocalTokenValue(this,e);this._values.set(e,t),Pt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Pt.isDerivedTokenValue(t),a=Pt.collectDerivedContext(this);let s;if(i){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&Pt.queueNotification(new St(this,o,e,t)),this.dispatch(new St(this,o,e,t)),a.forEach((e,t)=>{if(!Pt.isDerivedFor(this,t)){Pt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Pt.queueNotification(new St(this,1,t,e.evaluator.value)),this.dispatch(new St(this,0,t,e.evaluator.value))}}),Pt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Pt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Pt.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(Pt.isAssigned(this,e)){const t=Pt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Pt.queueNotification(new St(this,2,e)),t!==o&&this.dispatch(new St(this,2,e)),Pt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Pt.isAssigned(this,i),s=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!s)return;2===e.type&&!a&&Pt.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Pt.queueNotification(new St(this,2,i))),s&&(e=new St(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:n}=e;if(n&&Pt.isDerivedTokenValue(n)){const t=wt.getOrCreate(n).dependencies;let o=!1;for(const e of t)if(Pt.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,n);if(t!==o.value){const r=new St(this,void 0===t?0:1,i,o.evaluator.value);Pt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Pt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Pt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new St(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(Pt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Pt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Bt(e,wt.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new St(this,1,r.token,r.evaluator.value);Pt.queueNotification(e),this.dispatch(e),Pt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Pt.getOrCreateDependencyGraph(this,t).add(r)}),r}}Pt._notifications=[];class Ct{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class Ft extends Ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Tt extends Ct{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 zt{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],zt.prototype,"target",void 0);class Nt{setProperty(e,t){Nt.properties[e]=t;for(const o of Nt.roots.values())o.setProperty(e,t)}removeProperty(e){delete Nt.properties[e];for(const t of Nt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Nt;if(!t.has(e)){t.add(e);for(const t in Nt.properties)e.setProperty(t,Nt.properties[t])}}static unregisterRoot(e){const{roots:t}=Nt;if(t.has(e)){t.delete(e);for(const t in Nt.properties)e.removeProperty(t)}}}Nt.roots=new Set,Nt.properties={};const At=new WeakMap,It=L.supportsAdoptedStyleSheets?class extends Ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:zt,Lt=Object.freeze({getOrCreate(e){if(At.has(e))return At.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new Ft:new Tt:new It(e),At.set(e,t),t}});class Dt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Vt.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 Vt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Ot({name:e,cssCustomPropertyName:e}):Dt.isCSSDesignTokenConfiguration(e)?new Ot(e):new Dt(e)}static withStrategy(e){Vt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Lt.getOrCreate(e)),Nt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Lt.getOrCreate(e)),Nt.unregisterRoot(e)}getValueFor(e){return Vt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Vt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Vt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Vt.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 Dt&&(e=this.alias(e)),e}}let Ot=class extends Dt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Vt.defaultNode?Vt.rootStyleSheetTarget:t.target instanceof Vt?Lt.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 Mt;Ot=Ze([function(e){O.define(e)},function(e){ee.define(e,Mt)}],Ot);const Ht={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class Vt extends Pt{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&&Vt.withStrategy(Ht),this._strategy}connectedCallback(e){let t=Vt.findParent(e.source);if(null===t&&(t=Vt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Vt&&Vt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Vt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Vt.cache.get(e);return t||(t=new Vt(e),Vt.cache.set(e,t),e.$fastController.addBehavior(Vt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Vt.strategy.parent(e);for(;null!==t;){const e=Vt.cache.get(t);if(e)return e;t=Vt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Vt.defaultNode.appendChild(this),e.apply(this,t))}}Vt.defaultNode=new Pt,Vt.rootStyleSheetTarget=new Nt,Vt.cache=new WeakMap;const Et={separator:"separator",presentation:"presentation"},Rt=rt;class _t extends Ke{constructor(){super(...arguments),this.role=Et.separator,this.orientation=Rt.horizontal}}Ze([Le],_t.prototype,"role",void 0),Ze([Le],_t.prototype,"orientation",void 0);class jt 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:Ae})],jt.prototype,"value",void 0),Ze([Le({converter:Ae})],jt.prototype,"min",void 0),Ze([Le({converter:Ae})],jt.prototype,"max",void 0),Ze([S],jt.prototype,"percentComplete",void 0);class Gt extends jt{}class qt extends jt{}const Xt=rt,Wt="single-value";function Ut(e,t,o,r){let i=at(0,1,(e-t)/(o-t));return r===it.rtl&&(i=1-i),i}class Yt extends Ke{}class Kt extends(bt(Yt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Qt extends Kt{constructor(){super(...arguments),this.direction=it.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=Wt,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.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=at(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)?it.rtl:it.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.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!==it.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-Ut(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=Ut(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"})],Qt.prototype,"readOnly",void 0),Ze([S],Qt.prototype,"direction",void 0),Ze([S],Qt.prototype,"isDragging",void 0),Ze([S],Qt.prototype,"position",void 0),Ze([S],Qt.prototype,"trackWidth",void 0),Ze([S],Qt.prototype,"trackMinWidth",void 0),Ze([S],Qt.prototype,"trackHeight",void 0),Ze([S],Qt.prototype,"trackLeft",void 0),Ze([S],Qt.prototype,"trackMinHeight",void 0),Ze([S],Qt.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Ae})],Qt.prototype,"min",void 0),Ze([Le({converter:Ae})],Qt.prototype,"max",void 0),Ze([Le({converter:Ae})],Qt.prototype,"step",void 0),Ze([Le],Qt.prototype,"orientation",void 0),Ze([Le],Qt.prototype,"mode",void 0);class Zt extends Ke{}class Jt extends(function(e){class t extends(bt(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}(Zt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class eo extends Jt{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"})],eo.prototype,"readOnly",void 0),Ze([S],eo.prototype,"defaultSlottedNodes",void 0);class to extends Ke{}class oo extends Ke{}Ze([Le({mode:"boolean"})],oo.prototype,"disabled",void 0),lt(oo,et);const ro=rt;class io extends Ke{constructor(){super(...arguments),this.orientation=ro.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-"+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===ro.horizontal}adjust(e){const t=this.tabs.filter(e=>!this.isDisabledElement(e)),o=t.indexOf(this.activetab),r=at(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()}}Ze([Le],io.prototype,"orientation",void 0),Ze([Le],io.prototype,"activeid",void 0),Ze([S],io.prototype,"tabs",void 0),Ze([S],io.prototype,"tabpanels",void 0),lt(io,et);function ao(e){return`:host([hidden]){display:none}:host{display:${e}}`}class so extends ut{}const no=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:lo?e=>1===e.nodeType&&e.matches(lo):Se})}></slot></template>`;var lo;const co=j`
2
- ${ao("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 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")}
3
3
 
4
- :host{flex-direction:column;width:100%;contain:content}`,ho=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),uo=so.compose({name:ho.prefix+"-accordion",template:no,styles:co});class po extends ct{constructor(){super(...arguments),this.block=!1}}Ze([Le],po.prototype,"size",void 0),Ze([Le({mode:"boolean"})],po.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],po.prototype,"expandIconPosition",void 0);const go={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},bo={start:"start",end:"end"},{create:vo}=Dt,fo=vo("borderRadiusNone"),mo=vo("borderRadiusSmall"),yo=vo("borderRadiusMedium"),ko=vo("borderRadiusLarge"),xo=vo("borderRadiusXLarge"),$o=vo("borderRadiusCircular"),wo=vo("fontSizeBase100"),Bo=vo("fontSizeBase200"),So=vo("fontSizeBase300"),Po=vo("fontSizeBase400"),Co=vo("fontSizeBase500"),Fo=vo("fontSizeBase600"),To=vo("fontSizeHero700"),zo=vo("fontSizeHero800"),No=vo("fontSizeHero900"),Ao=vo("fontSizeHero1000"),Io=vo("lineHeightBase100"),Lo=vo("lineHeightBase200"),Do=vo("lineHeightBase300"),Oo=vo("lineHeightBase400"),Mo=vo("lineHeightBase500"),Ho=vo("lineHeightBase600"),Vo=vo("lineHeightHero700"),Eo=vo("lineHeightHero800"),Ro=vo("lineHeightHero900"),_o=vo("lineHeightHero1000"),jo=vo("fontFamilyBase"),Go=vo("fontFamilyMonospace"),qo=vo("fontFamilyNumeric"),Xo=vo("fontWeightRegular"),Wo=vo("fontWeightMedium"),Uo=vo("fontWeightSemibold"),Yo=vo("fontWeightBold"),Ko=vo("strokeWidthThin"),Qo=vo("strokeWidthThick"),Zo=vo("strokeWidthThicker"),Jo=vo("strokeWidthThickest"),er=vo("spacingHorizontalNone"),tr=vo("spacingHorizontalXXS"),or=vo("spacingHorizontalXS"),rr=vo("spacingHorizontalSNudge"),ir=vo("spacingHorizontalS"),ar=vo("spacingHorizontalMNudge"),sr=vo("spacingHorizontalM"),nr=vo("spacingHorizontalL"),lr=vo("spacingHorizontalXL"),cr=vo("spacingHorizontalXXL"),dr=vo("spacingHorizontalXXXL"),hr=vo("spacingVerticalNone"),ur=vo("spacingVerticalXXS"),pr=vo("spacingVerticalXS"),gr=vo("spacingVerticalSNudge"),br=vo("spacingVerticalS"),vr=vo("spacingVerticalMNudge"),fr=vo("spacingVerticalM"),mr=vo("spacingVerticalL"),yr=vo("spacingVerticalXL"),kr=vo("spacingVerticalXXL"),xr=vo("spacingVerticalXXXL"),$r=vo("durationUltraFast"),wr=vo("durationFaster"),Br=vo("durationFast"),Sr=vo("durationNormal"),Pr=vo("durationSlow"),Cr=vo("durationSlower"),Fr=vo("durationUltraSlow"),Tr=vo("curveAccelerateMax"),zr=vo("curveAccelerateMid"),Nr=vo("curveAccelerateMin"),Ar=vo("curveDecelerateMax"),Ir=vo("curveDecelerateMid"),Lr=vo("curveDecelerateMin"),Dr=vo("curveEasyEaseMax"),Or=vo("curveEasyEase"),Mr=vo("curveLinear"),Hr=vo("colorNeutralForeground1"),Vr=vo("colorNeutralForeground1Hover"),Er=vo("colorNeutralForeground1Pressed"),Rr=vo("colorNeutralForeground1Selected"),_r=vo("colorNeutralForeground2"),jr=vo("colorNeutralForeground2Hover"),Gr=vo("colorNeutralForeground2Pressed"),qr=vo("colorNeutralForeground2Selected"),Xr=vo("colorNeutralForeground2BrandHover"),Wr=vo("colorNeutralForeground2BrandPressed"),Ur=vo("colorNeutralForeground2BrandSelected"),Yr=vo("colorNeutralForeground3"),Kr=vo("colorNeutralForeground3Hover"),Qr=vo("colorNeutralForeground3Pressed"),Zr=vo("colorNeutralForeground3Selected"),Jr=vo("colorNeutralForeground3BrandHover"),ei=vo("colorNeutralForeground3BrandPressed"),ti=vo("colorNeutralForeground3BrandSelected"),oi=vo("colorNeutralForeground4"),ri=vo("colorNeutralForegroundDisabled"),ii=vo("colorNeutralForegroundInvertedDisabled"),ai=vo("colorBrandForegroundLink"),si=vo("colorBrandForegroundLinkHover"),ni=vo("colorBrandForegroundLinkPressed"),li=vo("colorBrandForegroundLinkSelected"),ci=vo("colorNeutralForeground2Link"),di=vo("colorNeutralForeground2LinkHover"),hi=vo("colorNeutralForeground2LinkPressed"),ui=vo("colorNeutralForeground2LinkSelected"),pi=vo("colorCompoundBrandForeground1"),gi=vo("colorCompoundBrandForeground1Hover"),bi=vo("colorCompoundBrandForeground1Pressed"),vi=vo("colorBrandForeground1"),fi=vo("colorBrandForeground2"),mi=vo("colorNeutralForeground1Static"),yi=vo("colorNeutralForegroundStaticInverted"),ki=vo("colorNeutralForegroundInverted"),xi=vo("colorNeutralForegroundInvertedHover"),$i=vo("colorNeutralForegroundInvertedPressed"),wi=vo("colorNeutralForegroundInvertedSelected"),Bi=vo("colorNeutralForegroundInverted2"),Si=vo("colorNeutralForegroundOnBrand"),Pi=vo("colorNeutralForegroundInvertedLink"),Ci=vo("colorNeutralForegroundInvertedLinkHover"),Fi=vo("colorNeutralForegroundInvertedLinkPressed"),Ti=vo("colorNeutralForegroundInvertedLinkSelected"),zi=vo("colorBrandForegroundInverted"),Ni=vo("colorBrandForegroundInvertedHover"),Ai=vo("colorBrandForegroundInvertedPressed"),Ii=vo("colorBrandForegroundOnLight"),Li=vo("colorBrandForegroundOnLightHover"),Di=vo("colorBrandForegroundOnLightPressed"),Oi=vo("colorBrandForegroundOnLightSelected"),Mi=vo("colorNeutralBackground1"),Hi=vo("colorNeutralBackground1Hover"),Vi=vo("colorNeutralBackground1Pressed"),Ei=vo("colorNeutralBackground1Selected"),Ri=vo("colorNeutralBackground2"),_i=vo("colorNeutralBackground2Hover"),ji=vo("colorNeutralBackground2Pressed"),Gi=vo("colorNeutralBackground2Selected"),qi=vo("colorNeutralBackground3"),Xi=vo("colorNeutralBackground3Hover"),Wi=vo("colorNeutralBackground3Pressed"),Ui=vo("colorNeutralBackground3Selected"),Yi=vo("colorNeutralBackground4"),Ki=vo("colorNeutralBackground4Hover"),Qi=vo("colorNeutralBackground4Pressed"),Zi=vo("colorNeutralBackground4Selected"),Ji=vo("colorNeutralBackground5"),ea=vo("colorNeutralBackground5Hover"),ta=vo("colorNeutralBackground5Pressed"),oa=vo("colorNeutralBackground5Selected"),ra=vo("colorNeutralBackground6"),ia=vo("colorNeutralBackgroundInverted"),aa=vo("colorNeutralBackgroundStatic"),sa=vo("colorSubtleBackground"),na=vo("colorSubtleBackgroundHover"),la=vo("colorSubtleBackgroundPressed"),ca=vo("colorSubtleBackgroundSelected"),da=vo("colorSubtleBackgroundLightAlphaHover"),ha=vo("colorSubtleBackgroundLightAlphaPressed"),ua=vo("colorSubtleBackgroundLightAlphaSelected"),pa=vo("colorSubtleBackgroundInverted"),ga=vo("colorSubtleBackgroundInvertedHover"),ba=vo("colorSubtleBackgroundInvertedPressed"),va=vo("colorSubtleBackgroundInvertedSelected"),fa=vo("colorTransparentBackground"),ma=vo("colorTransparentBackgroundHover"),ya=vo("colorTransparentBackgroundPressed"),ka=vo("colorTransparentBackgroundSelected"),xa=vo("colorNeutralBackgroundDisabled"),$a=vo("colorNeutralBackgroundInvertedDisabled"),wa=vo("colorNeutralStencil1"),Ba=vo("colorNeutralStencil2"),Sa=vo("colorNeutralStencil1Alpha"),Pa=vo("colorNeutralStencil2Alpha"),Ca=vo("colorBackgroundOverlay"),Fa=vo("colorScrollbarOverlay"),Ta=vo("colorBrandBackground"),za=vo("colorBrandBackgroundHover"),Na=vo("colorBrandBackgroundPressed"),Aa=vo("colorBrandBackgroundSelected"),Ia=vo("colorCompoundBrandBackground"),La=vo("colorCompoundBrandBackgroundHover"),Da=vo("colorCompoundBrandBackgroundPressed"),Oa=vo("colorBrandBackgroundStatic"),Ma=vo("colorBrandBackground2"),Ha=vo("colorBrandBackgroundInverted"),Va=vo("colorBrandBackgroundInvertedHover"),Ea=vo("colorBrandBackgroundInvertedPressed"),Ra=vo("colorBrandBackgroundInvertedSelected"),_a=vo("colorNeutralStrokeAccessible"),ja=vo("colorNeutralStrokeAccessibleHover"),Ga=vo("colorNeutralStrokeAccessiblePressed"),qa=vo("colorNeutralStrokeAccessibleSelected"),Xa=vo("colorNeutralStroke1"),Wa=vo("colorNeutralStroke1Hover"),Ua=vo("colorNeutralStroke1Pressed"),Ya=vo("colorNeutralStroke1Selected"),Ka=vo("colorNeutralStroke2"),Qa=vo("colorNeutralStroke3"),Za=vo("colorNeutralStrokeOnBrand"),Ja=vo("colorNeutralStrokeOnBrand2"),es=vo("colorNeutralStrokeOnBrand2Hover"),ts=vo("colorNeutralStrokeOnBrand2Pressed"),os=vo("colorNeutralStrokeOnBrand2Selected"),rs=vo("colorBrandStroke1"),is=vo("colorBrandStroke2"),as=vo("colorCompoundBrandStroke"),ss=vo("colorCompoundBrandStrokeHover"),ns=vo("colorCompoundBrandStrokePressed"),ls=vo("colorNeutralStrokeDisabled"),cs=vo("colorNeutralStrokeInvertedDisabled"),ds=vo("colorTransparentStroke"),hs=vo("colorTransparentStrokeInteractive"),us=vo("colorTransparentStrokeDisabled"),ps=vo("colorStrokeFocus1"),gs=vo("colorStrokeFocus2"),bs=vo("colorNeutralShadowAmbient"),vs=vo("colorNeutralShadowKey"),fs=vo("colorNeutralShadowAmbientLighter"),ms=vo("colorNeutralShadowKeyLighter"),ys=vo("colorNeutralShadowAmbientDarker"),ks=vo("colorNeutralShadowKeyDarker"),xs=vo("colorBrandShadowAmbient"),$s=vo("colorBrandShadowKey"),ws=vo("colorPaletteRedBackground1"),Bs=vo("colorPaletteRedBackground2"),Ss=vo("colorPaletteRedBackground3"),Ps=vo("colorPaletteRedForeground1"),Cs=vo("colorPaletteRedForeground2"),Fs=vo("colorPaletteRedForeground3"),Ts=vo("colorPaletteRedBorderActive"),zs=vo("colorPaletteRedBorder1"),Ns=vo("colorPaletteRedBorder2"),As=vo("colorPaletteGreenBackground1"),Is=vo("colorPaletteGreenBackground2"),Ls=vo("colorPaletteGreenBackground3"),Ds=vo("colorPaletteGreenForeground1"),Os=vo("colorPaletteGreenForeground2"),Ms=vo("colorPaletteGreenForeground3"),Hs=vo("colorPaletteGreenBorderActive"),Vs=vo("colorPaletteGreenBorder1"),Es=vo("colorPaletteGreenBorder2"),Rs=vo("colorPaletteDarkOrangeBackground1"),_s=vo("colorPaletteDarkOrangeBackground2"),js=vo("colorPaletteDarkOrangeBackground3"),Gs=vo("colorPaletteDarkOrangeForeground1"),qs=vo("colorPaletteDarkOrangeForeground2"),Xs=vo("colorPaletteDarkOrangeForeground3"),Ws=vo("colorPaletteDarkOrangeBorderActive"),Us=vo("colorPaletteDarkOrangeBorder1"),Ys=vo("colorPaletteDarkOrangeBorder2"),Ks=vo("colorPaletteYellowBackground1"),Qs=vo("colorPaletteYellowBackground2"),Zs=vo("colorPaletteYellowBackground3"),Js=vo("colorPaletteYellowForeground1"),en=vo("colorPaletteYellowForeground2"),tn=vo("colorPaletteYellowForeground3"),on=vo("colorPaletteYellowBorderActive"),rn=vo("colorPaletteYellowBorder1"),an=vo("colorPaletteYellowBorder2"),sn=vo("colorPaletteBerryBackground1"),nn=vo("colorPaletteBerryBackground2"),ln=vo("colorPaletteBerryBackground3"),cn=vo("colorPaletteBerryForeground1"),dn=vo("colorPaletteBerryForeground2"),hn=vo("colorPaletteBerryForeground3"),un=vo("colorPaletteBerryBorderActive"),pn=vo("colorPaletteBerryBorder1"),gn=vo("colorPaletteBerryBorder2"),bn=vo("colorPaletteLightGreenBackground1"),vn=vo("colorPaletteLightGreenBackground2"),fn=vo("colorPaletteLightGreenBackground3"),mn=vo("colorPaletteLightGreenForeground1"),yn=vo("colorPaletteLightGreenForeground2"),kn=vo("colorPaletteLightGreenForeground3"),xn=vo("colorPaletteLightGreenBorderActive"),$n=vo("colorPaletteLightGreenBorder1"),wn=vo("colorPaletteLightGreenBorder2"),Bn=vo("colorPaletteMarigoldBackground1"),Sn=vo("colorPaletteMarigoldBackground2"),Pn=vo("colorPaletteMarigoldBackground3"),Cn=vo("colorPaletteMarigoldForeground1"),Fn=vo("colorPaletteMarigoldForeground2"),Tn=vo("colorPaletteMarigoldForeground3"),zn=vo("colorPaletteMarigoldBorderActive"),Nn=vo("colorPaletteMarigoldBorder1"),An=vo("colorPaletteMarigoldBorder2"),In=vo("colorPaletteDarkRedBackground2"),Ln=vo("colorPaletteDarkRedForeground2"),Dn=vo("colorPaletteDarkRedBorderActive"),On=vo("colorPaletteCranberryBackground2"),Mn=vo("colorPaletteCranberryForeground2"),Hn=vo("colorPaletteCranberryBorderActive"),Vn=vo("colorPalettePumpkinBackground2"),En=vo("colorPalettePumpkinForeground2"),Rn=vo("colorPalettePumpkinBorderActive"),_n=vo("colorPalettePeachBackground2"),jn=vo("colorPalettePeachForeground2"),Gn=vo("colorPalettePeachBorderActive"),qn=vo("colorPaletteGoldBackground2"),Xn=vo("colorPaletteGoldForeground2"),Wn=vo("colorPaletteGoldBorderActive"),Un=vo("colorPaletteBrassBackground2"),Yn=vo("colorPaletteBrassForeground2"),Kn=vo("colorPaletteBrassBorderActive"),Qn=vo("colorPaletteBrownBackground2"),Zn=vo("colorPaletteBrownForeground2"),Jn=vo("colorPaletteBrownBorderActive"),el=vo("colorPaletteForestBackground2"),tl=vo("colorPaletteForestForeground2"),ol=vo("colorPaletteForestBorderActive"),rl=vo("colorPaletteSeafoamBackground2"),il=vo("colorPaletteSeafoamForeground2"),al=vo("colorPaletteSeafoamBorderActive"),sl=vo("colorPaletteDarkGreenBackground2"),nl=vo("colorPaletteDarkGreenForeground2"),ll=vo("colorPaletteDarkGreenBorderActive"),cl=vo("colorPaletteLightTealBackground2"),dl=vo("colorPaletteLightTealForeground2"),hl=vo("colorPaletteLightTealBorderActive"),ul=vo("colorPaletteTealBackground2"),pl=vo("colorPaletteTealForeground2"),gl=vo("colorPaletteTealBorderActive"),bl=vo("colorPaletteSteelBackground2"),vl=vo("colorPaletteSteelForeground2"),fl=vo("colorPaletteSteelBorderActive"),ml=vo("colorPaletteBlueBackground2"),yl=vo("colorPaletteBlueForeground2"),kl=vo("colorPaletteBlueBorderActive"),xl=vo("colorPaletteRoyalBlueBackground2"),$l=vo("colorPaletteRoyalBlueForeground2"),wl=vo("colorPaletteRoyalBlueBorderActive"),Bl=vo("colorPaletteCornflowerBackground2"),Sl=vo("colorPaletteCornflowerForeground2"),Pl=vo("colorPaletteCornflowerBorderActive"),Cl=vo("colorPaletteNavyBackground2"),Fl=vo("colorPaletteNavyForeground2"),Tl=vo("colorPaletteNavyBorderActive"),zl=vo("colorPaletteLavenderBackground2"),Nl=vo("colorPaletteLavenderForeground2"),Al=vo("colorPaletteLavenderBorderActive"),Il=vo("colorPalettePurpleBackground2"),Ll=vo("colorPalettePurpleForeground2"),Dl=vo("colorPalettePurpleBorderActive"),Ol=vo("colorPaletteGrapeBackground2"),Ml=vo("colorPaletteGrapeForeground2"),Hl=vo("colorPaletteGrapeBorderActive"),Vl=vo("colorPaletteLilacBackground2"),El=vo("colorPaletteLilacForeground2"),Rl=vo("colorPaletteLilacBorderActive"),_l=vo("colorPalettePinkBackground2"),jl=vo("colorPalettePinkForeground2"),Gl=vo("colorPalettePinkBorderActive"),ql=vo("colorPaletteMagentaBackground2"),Xl=vo("colorPaletteMagentaForeground2"),Wl=vo("colorPaletteMagentaBorderActive"),Ul=vo("colorPalettePlumBackground2"),Yl=vo("colorPalettePlumForeground2"),Kl=vo("colorPalettePlumBorderActive"),Ql=vo("colorPaletteBeigeBackground2"),Zl=vo("colorPaletteBeigeForeground2"),Jl=vo("colorPaletteBeigeBorderActive"),ec=vo("colorPaletteMinkBackground2"),tc=vo("colorPaletteMinkForeground2"),oc=vo("colorPaletteMinkBorderActive"),rc=vo("colorPalettePlatinumBackground2"),ic=vo("colorPalettePlatinumForeground2"),ac=vo("colorPalettePlatinumBorderActive"),sc=vo("colorPaletteAnchorBackground2"),nc=vo("colorPaletteAnchorForeground2"),lc=vo("colorPaletteAnchorBorderActive"),cc=vo("colorPaletteRedForegroundInverted"),dc=vo("colorPaletteGreenForegroundInverted"),hc=vo("colorPaletteYellowForegroundInverted"),uc=vo("shadow2"),pc=vo("shadow4"),gc=vo("shadow8"),bc=vo("shadow16"),vc=vo("shadow28"),fc=vo("shadow64"),mc=vo("shadow2Brand"),yc=vo("shadow4Brand"),kc=vo("shadow8Brand"),xc=vo("shadow16Brand"),$c=vo("shadow28Brand"),wc=vo("shadow64Brand");var Bc=Object.freeze({__proto__:null,borderRadiusNone:fo,borderRadiusSmall:mo,borderRadiusMedium:yo,borderRadiusLarge:ko,borderRadiusXLarge:xo,borderRadiusCircular:$o,fontSizeBase100:wo,fontSizeBase200:Bo,fontSizeBase300:So,fontSizeBase400:Po,fontSizeBase500:Co,fontSizeBase600:Fo,fontSizeHero700:To,fontSizeHero800:zo,fontSizeHero900:No,fontSizeHero1000:Ao,lineHeightBase100:Io,lineHeightBase200:Lo,lineHeightBase300:Do,lineHeightBase400:Oo,lineHeightBase500:Mo,lineHeightBase600:Ho,lineHeightHero700:Vo,lineHeightHero800:Eo,lineHeightHero900:Ro,lineHeightHero1000:_o,fontFamilyBase:jo,fontFamilyMonospace:Go,fontFamilyNumeric:qo,fontWeightRegular:Xo,fontWeightMedium:Wo,fontWeightSemibold:Uo,fontWeightBold:Yo,strokeWidthThin:Ko,strokeWidthThick:Qo,strokeWidthThicker:Zo,strokeWidthThickest:Jo,spacingHorizontalNone:er,spacingHorizontalXXS:tr,spacingHorizontalXS:or,spacingHorizontalSNudge:rr,spacingHorizontalS:ir,spacingHorizontalMNudge:ar,spacingHorizontalM:sr,spacingHorizontalL:nr,spacingHorizontalXL:lr,spacingHorizontalXXL:cr,spacingHorizontalXXXL:dr,spacingVerticalNone:hr,spacingVerticalXXS:ur,spacingVerticalXS:pr,spacingVerticalSNudge:gr,spacingVerticalS:br,spacingVerticalMNudge:vr,spacingVerticalM:fr,spacingVerticalL:mr,spacingVerticalXL:yr,spacingVerticalXXL:kr,spacingVerticalXXXL:xr,durationUltraFast:$r,durationFaster:wr,durationFast:Br,durationNormal:Sr,durationSlow:Pr,durationSlower:Cr,durationUltraSlow:Fr,curveAccelerateMax:Tr,curveAccelerateMid:zr,curveAccelerateMin:Nr,curveDecelerateMax:Ar,curveDecelerateMid:Ir,curveDecelerateMin:Lr,curveEasyEaseMax:Dr,curveEasyEase:Or,curveLinear:Mr,colorNeutralForeground1:Hr,colorNeutralForeground1Hover:Vr,colorNeutralForeground1Pressed:Er,colorNeutralForeground1Selected:Rr,colorNeutralForeground2:_r,colorNeutralForeground2Hover:jr,colorNeutralForeground2Pressed:Gr,colorNeutralForeground2Selected:qr,colorNeutralForeground2BrandHover:Xr,colorNeutralForeground2BrandPressed:Wr,colorNeutralForeground2BrandSelected:Ur,colorNeutralForeground3:Yr,colorNeutralForeground3Hover:Kr,colorNeutralForeground3Pressed:Qr,colorNeutralForeground3Selected:Zr,colorNeutralForeground3BrandHover:Jr,colorNeutralForeground3BrandPressed:ei,colorNeutralForeground3BrandSelected:ti,colorNeutralForeground4:oi,colorNeutralForegroundDisabled:ri,colorNeutralForegroundInvertedDisabled:ii,colorBrandForegroundLink:ai,colorBrandForegroundLinkHover:si,colorBrandForegroundLinkPressed:ni,colorBrandForegroundLinkSelected:li,colorNeutralForeground2Link:ci,colorNeutralForeground2LinkHover:di,colorNeutralForeground2LinkPressed:hi,colorNeutralForeground2LinkSelected:ui,colorCompoundBrandForeground1:pi,colorCompoundBrandForeground1Hover:gi,colorCompoundBrandForeground1Pressed:bi,colorBrandForeground1:vi,colorBrandForeground2:fi,colorNeutralForeground1Static:mi,colorNeutralForegroundStaticInverted:yi,colorNeutralForegroundInverted:ki,colorNeutralForegroundInvertedHover:xi,colorNeutralForegroundInvertedPressed:$i,colorNeutralForegroundInvertedSelected:wi,colorNeutralForegroundInverted2:Bi,colorNeutralForegroundOnBrand:Si,colorNeutralForegroundInvertedLink:Pi,colorNeutralForegroundInvertedLinkHover:Ci,colorNeutralForegroundInvertedLinkPressed:Fi,colorNeutralForegroundInvertedLinkSelected:Ti,colorBrandForegroundInverted:zi,colorBrandForegroundInvertedHover:Ni,colorBrandForegroundInvertedPressed:Ai,colorBrandForegroundOnLight:Ii,colorBrandForegroundOnLightHover:Li,colorBrandForegroundOnLightPressed:Di,colorBrandForegroundOnLightSelected:Oi,colorNeutralBackground1:Mi,colorNeutralBackground1Hover:Hi,colorNeutralBackground1Pressed:Vi,colorNeutralBackground1Selected:Ei,colorNeutralBackground2:Ri,colorNeutralBackground2Hover:_i,colorNeutralBackground2Pressed:ji,colorNeutralBackground2Selected:Gi,colorNeutralBackground3:qi,colorNeutralBackground3Hover:Xi,colorNeutralBackground3Pressed:Wi,colorNeutralBackground3Selected:Ui,colorNeutralBackground4:Yi,colorNeutralBackground4Hover:Ki,colorNeutralBackground4Pressed:Qi,colorNeutralBackground4Selected:Zi,colorNeutralBackground5:Ji,colorNeutralBackground5Hover:ea,colorNeutralBackground5Pressed:ta,colorNeutralBackground5Selected:oa,colorNeutralBackground6:ra,colorNeutralBackgroundInverted:ia,colorNeutralBackgroundStatic:aa,colorSubtleBackground:sa,colorSubtleBackgroundHover:na,colorSubtleBackgroundPressed:la,colorSubtleBackgroundSelected:ca,colorSubtleBackgroundLightAlphaHover:da,colorSubtleBackgroundLightAlphaPressed:ha,colorSubtleBackgroundLightAlphaSelected:ua,colorSubtleBackgroundInverted:pa,colorSubtleBackgroundInvertedHover:ga,colorSubtleBackgroundInvertedPressed:ba,colorSubtleBackgroundInvertedSelected:va,colorTransparentBackground:fa,colorTransparentBackgroundHover:ma,colorTransparentBackgroundPressed:ya,colorTransparentBackgroundSelected:ka,colorNeutralBackgroundDisabled:xa,colorNeutralBackgroundInvertedDisabled:$a,colorNeutralStencil1:wa,colorNeutralStencil2:Ba,colorNeutralStencil1Alpha:Sa,colorNeutralStencil2Alpha:Pa,colorBackgroundOverlay:Ca,colorScrollbarOverlay:Fa,colorBrandBackground:Ta,colorBrandBackgroundHover:za,colorBrandBackgroundPressed:Na,colorBrandBackgroundSelected:Aa,colorCompoundBrandBackground:Ia,colorCompoundBrandBackgroundHover:La,colorCompoundBrandBackgroundPressed:Da,colorBrandBackgroundStatic:Oa,colorBrandBackground2:Ma,colorBrandBackgroundInverted:Ha,colorBrandBackgroundInvertedHover:Va,colorBrandBackgroundInvertedPressed:Ea,colorBrandBackgroundInvertedSelected:Ra,colorNeutralStrokeAccessible:_a,colorNeutralStrokeAccessibleHover:ja,colorNeutralStrokeAccessiblePressed:Ga,colorNeutralStrokeAccessibleSelected:qa,colorNeutralStroke1:Xa,colorNeutralStroke1Hover:Wa,colorNeutralStroke1Pressed:Ua,colorNeutralStroke1Selected:Ya,colorNeutralStroke2:Ka,colorNeutralStroke3:Qa,colorNeutralStrokeOnBrand:Za,colorNeutralStrokeOnBrand2:Ja,colorNeutralStrokeOnBrand2Hover:es,colorNeutralStrokeOnBrand2Pressed:ts,colorNeutralStrokeOnBrand2Selected:os,colorBrandStroke1:rs,colorBrandStroke2:is,colorCompoundBrandStroke:as,colorCompoundBrandStrokeHover:ss,colorCompoundBrandStrokePressed:ns,colorNeutralStrokeDisabled:ls,colorNeutralStrokeInvertedDisabled:cs,colorTransparentStroke:ds,colorTransparentStrokeInteractive:hs,colorTransparentStrokeDisabled:us,colorStrokeFocus1:ps,colorStrokeFocus2:gs,colorNeutralShadowAmbient:bs,colorNeutralShadowKey:vs,colorNeutralShadowAmbientLighter:fs,colorNeutralShadowKeyLighter:ms,colorNeutralShadowAmbientDarker:ys,colorNeutralShadowKeyDarker:ks,colorBrandShadowAmbient:xs,colorBrandShadowKey:$s,colorPaletteRedBackground1:ws,colorPaletteRedBackground2:Bs,colorPaletteRedBackground3:Ss,colorPaletteRedForeground1:Ps,colorPaletteRedForeground2:Cs,colorPaletteRedForeground3:Fs,colorPaletteRedBorderActive:Ts,colorPaletteRedBorder1:zs,colorPaletteRedBorder2:Ns,colorPaletteGreenBackground1:As,colorPaletteGreenBackground2:Is,colorPaletteGreenBackground3:Ls,colorPaletteGreenForeground1:Ds,colorPaletteGreenForeground2:Os,colorPaletteGreenForeground3:Ms,colorPaletteGreenBorderActive:Hs,colorPaletteGreenBorder1:Vs,colorPaletteGreenBorder2:Es,colorPaletteDarkOrangeBackground1:Rs,colorPaletteDarkOrangeBackground2:_s,colorPaletteDarkOrangeBackground3:js,colorPaletteDarkOrangeForeground1:Gs,colorPaletteDarkOrangeForeground2:qs,colorPaletteDarkOrangeForeground3:Xs,colorPaletteDarkOrangeBorderActive:Ws,colorPaletteDarkOrangeBorder1:Us,colorPaletteDarkOrangeBorder2:Ys,colorPaletteYellowBackground1:Ks,colorPaletteYellowBackground2:Qs,colorPaletteYellowBackground3:Zs,colorPaletteYellowForeground1:Js,colorPaletteYellowForeground2:en,colorPaletteYellowForeground3:tn,colorPaletteYellowBorderActive:on,colorPaletteYellowBorder1:rn,colorPaletteYellowBorder2:an,colorPaletteBerryBackground1:sn,colorPaletteBerryBackground2:nn,colorPaletteBerryBackground3:ln,colorPaletteBerryForeground1:cn,colorPaletteBerryForeground2:dn,colorPaletteBerryForeground3:hn,colorPaletteBerryBorderActive:un,colorPaletteBerryBorder1:pn,colorPaletteBerryBorder2:gn,colorPaletteLightGreenBackground1:bn,colorPaletteLightGreenBackground2:vn,colorPaletteLightGreenBackground3:fn,colorPaletteLightGreenForeground1:mn,colorPaletteLightGreenForeground2:yn,colorPaletteLightGreenForeground3:kn,colorPaletteLightGreenBorderActive:xn,colorPaletteLightGreenBorder1:$n,colorPaletteLightGreenBorder2:wn,colorPaletteMarigoldBackground1:Bn,colorPaletteMarigoldBackground2:Sn,colorPaletteMarigoldBackground3:Pn,colorPaletteMarigoldForeground1:Cn,colorPaletteMarigoldForeground2:Fn,colorPaletteMarigoldForeground3:Tn,colorPaletteMarigoldBorderActive:zn,colorPaletteMarigoldBorder1:Nn,colorPaletteMarigoldBorder2:An,colorPaletteDarkRedBackground2:In,colorPaletteDarkRedForeground2:Ln,colorPaletteDarkRedBorderActive:Dn,colorPaletteCranberryBackground2:On,colorPaletteCranberryForeground2:Mn,colorPaletteCranberryBorderActive:Hn,colorPalettePumpkinBackground2:Vn,colorPalettePumpkinForeground2:En,colorPalettePumpkinBorderActive:Rn,colorPalettePeachBackground2:_n,colorPalettePeachForeground2:jn,colorPalettePeachBorderActive:Gn,colorPaletteGoldBackground2:qn,colorPaletteGoldForeground2:Xn,colorPaletteGoldBorderActive:Wn,colorPaletteBrassBackground2:Un,colorPaletteBrassForeground2:Yn,colorPaletteBrassBorderActive:Kn,colorPaletteBrownBackground2:Qn,colorPaletteBrownForeground2:Zn,colorPaletteBrownBorderActive:Jn,colorPaletteForestBackground2:el,colorPaletteForestForeground2:tl,colorPaletteForestBorderActive:ol,colorPaletteSeafoamBackground2:rl,colorPaletteSeafoamForeground2:il,colorPaletteSeafoamBorderActive:al,colorPaletteDarkGreenBackground2:sl,colorPaletteDarkGreenForeground2:nl,colorPaletteDarkGreenBorderActive:ll,colorPaletteLightTealBackground2:cl,colorPaletteLightTealForeground2:dl,colorPaletteLightTealBorderActive:hl,colorPaletteTealBackground2:ul,colorPaletteTealForeground2:pl,colorPaletteTealBorderActive:gl,colorPaletteSteelBackground2:bl,colorPaletteSteelForeground2:vl,colorPaletteSteelBorderActive:fl,colorPaletteBlueBackground2:ml,colorPaletteBlueForeground2:yl,colorPaletteBlueBorderActive:kl,colorPaletteRoyalBlueBackground2:xl,colorPaletteRoyalBlueForeground2:$l,colorPaletteRoyalBlueBorderActive:wl,colorPaletteCornflowerBackground2:Bl,colorPaletteCornflowerForeground2:Sl,colorPaletteCornflowerBorderActive:Pl,colorPaletteNavyBackground2:Cl,colorPaletteNavyForeground2:Fl,colorPaletteNavyBorderActive:Tl,colorPaletteLavenderBackground2:zl,colorPaletteLavenderForeground2:Nl,colorPaletteLavenderBorderActive:Al,colorPalettePurpleBackground2:Il,colorPalettePurpleForeground2:Ll,colorPalettePurpleBorderActive:Dl,colorPaletteGrapeBackground2:Ol,colorPaletteGrapeForeground2:Ml,colorPaletteGrapeBorderActive:Hl,colorPaletteLilacBackground2:Vl,colorPaletteLilacForeground2:El,colorPaletteLilacBorderActive:Rl,colorPalettePinkBackground2:_l,colorPalettePinkForeground2:jl,colorPalettePinkBorderActive:Gl,colorPaletteMagentaBackground2:ql,colorPaletteMagentaForeground2:Xl,colorPaletteMagentaBorderActive:Wl,colorPalettePlumBackground2:Ul,colorPalettePlumForeground2:Yl,colorPalettePlumBorderActive:Kl,colorPaletteBeigeBackground2:Ql,colorPaletteBeigeForeground2:Zl,colorPaletteBeigeBorderActive:Jl,colorPaletteMinkBackground2:ec,colorPaletteMinkForeground2:tc,colorPaletteMinkBorderActive:oc,colorPalettePlatinumBackground2:rc,colorPalettePlatinumForeground2:ic,colorPalettePlatinumBorderActive:ac,colorPaletteAnchorBackground2:sc,colorPaletteAnchorForeground2:nc,colorPaletteAnchorBorderActive:lc,colorPaletteRedForegroundInverted:cc,colorPaletteGreenForegroundInverted:dc,colorPaletteYellowForegroundInverted:hc,shadow2:uc,shadow4:pc,shadow8:gc,shadow16:bc,shadow28:vc,shadow64:fc,shadow2Brand:mc,shadow4Brand:yc,shadow8Brand:kc,shadow16Brand:xc,shadow28Brand:$c,shadow64Brand:wc});const Sc=j`
5
- ${ao("block")}
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")}
6
6
 
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${sr} ${ar};border-radius:${yo};font-family:${jo};font-size:${So};font-weight:${Xo};line-height:${Do};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:${Hr};background:${fa};line-height:${Do};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:${mo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${ir};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${sr}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${ir};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${mo};outline:none;border:2px solid ${ps};box-shadow:inset 0 0 0 1px ${gs}}:host([disabled]) .button{color:${ri}}: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:${So};line-height:${Do}}:host([size='small']) .heading{font-size:${Bo};line-height:${Lo}}:host([size='large']) .heading{font-size:${Po};line-height:${Oo}}:host([size='extra-large']) .heading{font-size:${Co};line-height:${Mo}}: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}`,Pc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${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:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="#212121"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="#212121"\n />\n</svg>')}),Cc=po.compose({name:ho.prefix+"-accordion-item",template:Pc,styles:Sc}),Fc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Tc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,zc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Nc=/\s+/g,Ac=/[\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 Ic(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Fc,"")).replace(Tc,"")).replace(Nc," ")).trim()}(e),Ac.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&zc.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 Lc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Oc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Mc={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"},Hc={neutral:"neutral",brand:"brand",colorful:"colorful",...Mc},Vc={_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 Ec extends Ke{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Hc.colorful?Ec.colors[Rc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%Ec.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:Ic(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}Ec.colors=Object.values(Mc),Ze([Le],Ec.prototype,"name",void 0),Ze([Le],Ec.prototype,"initials",void 0),Ze([Le({converter:Ae})],Ec.prototype,"size",void 0),Ze([Le],Ec.prototype,"shape",void 0),Ze([Le],Ec.prototype,"active",void 0),Ze([Le],Ec.prototype,"appearance",void 0),Ze([Le],Ec.prototype,"color",void 0),Ze([Le({attribute:"color-id"})],Ec.prototype,"colorId",void 0);const Rc=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},_c=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const jc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():_c}</slot><slot name="badge"></slot></template>`,Gc=Lr,qc=Dr,Xc=Mr,Wc=j`
8
- ${ao("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${jo};font-weight:${Uo};font-size:${So};border-radius:${$o};color:${Yr};background-color:${ra};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:${$o}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Ko} ${Mi}}: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 ${Qo} ${Mi}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${wo};font-weight:${Xo}}: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:${Bo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Po}}: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:${Co}}: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:${Fo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${yo}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${mo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${ko}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${xo}}:host([data-color='brand']){color:${yi};background-color:${Oa}}:host([data-color='dark-red']){color:${Ln};background-color:${In}}:host([data-color='cranberry']){color:${Mn};background-color:${On}}:host([data-color='red']){color:${Cs};background-color:${Bs}}:host([data-color='pumpkin']){color:${En};background-color:${Vn}}:host([data-color='peach']){color:${jn};background-color:${_n}}:host([data-color='marigold']){color:${Fn};background-color:${Sn}}:host([data-color='gold']){color:${Xn};background-color:${qn}}:host([data-color='brass']){color:${Yn};background-color:${Un}}:host([data-color='brown']){color:${Zn};background-color:${Qn}}:host([data-color='forest']){color:${tl};background-color:${el}}:host([data-color='seafoam']){color:${il};background-color:${rl}}:host([data-color='dark-green']){color:${nl};background-color:${sl}}:host([data-color='light-teal']){color:${dl};background-color:${cl}}:host([data-color='teal']){color:${pl};background-color:${ul}}:host([data-color='steel']){color:${vl};background-color:${bl}}:host([data-color='blue']){color:${yl};background-color:${ml}}:host([data-color='royal-blue']){color:${$l};background-color:${xl}}:host([data-color='cornflower']){color:${Sl};background-color:${Bl}}:host([data-color='navy']){color:${Fl};background-color:${Cl}}:host([data-color='lavender']){color:${Nl};background-color:${zl}}:host([data-color='purple']){color:${Ll};background-color:${Il}}:host([data-color='grape']){color:${Ml};background-color:${Ol}}:host([data-color='lilac']){color:${El};background-color:${Vl}}:host([data-color='pink']){color:${jl};background-color:${_l}}:host([data-color='magenta']){color:${Xl};background-color:${ql}}:host([data-color='plum']){color:${Yl};background-color:${Ul}}:host([data-color='beige']){color:${Zl};background-color:${Ql}}:host([data-color='mink']){color:${tc};background-color:${ec}}:host([data-color='platinum']){color:${ic};background-color:${rc}}:host([data-color='anchor']){color:${nc};background-color:${sc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Fr},${wr};transition-delay:${qc},${Xc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Fr},${Cr};transition-delay:${qc},${Xc}}:host([active])::before{box-shadow:${gc};border-style:solid;border-color:${Oa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Qo});border-width:${Qo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Zo});border-width:${Zo}}: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 * ${Jo});border-width:${Jo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${pc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${bc}}: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:${vc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Fr},${wr};transition-delay:${Gc},${Xc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Fr},${Cr};transition-delay:${Gc},${Xc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Uc=Ec.compose({name:ho.prefix+"-avatar",template:jc,styles:Wc}),Yc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Kc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Qc={circular:"circular",rounded:"rounded",square:"square"},Zc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Jc extends Ke{constructor(){super(...arguments),this.appearance=Yc.filled,this.color=Kc.brand}}function ed(e={}){return xe` ${ot(e)}<slot>${Qe(e.defaultContent)}</slot>${tt(e)} `}Ze([Le],Jc.prototype,"appearance",void 0),Ze([Le],Jc.prototype,"color",void 0),Ze([Le],Jc.prototype,"shape",void 0),Ze([Le],Jc.prototype,"size",void 0),lt(Jc,et);const td=ed(),od=tr,rd=j.partial`
9
- ${ao("inline-flex")} :host {
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")}
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}
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 {
10
17
  position: relative;
11
18
  box-sizing: border-box;
12
19
  align-items: center;
13
20
  justify-content: center;
14
- font-family: ${jo};
15
- font-weight: ${Uo};
16
- font-size: ${Bo};
17
- line-height: ${Lo};
21
+ font-family: ${qo};
22
+ font-weight: ${Ko};
23
+ font-size: ${Po};
24
+ line-height: ${Oo};
18
25
  min-width: 20px;
19
26
  height: 20px;
20
- padding-inline: calc(${or} + ${od});
21
- border-radius: ${$o};
22
- border-color: ${ds};
23
- background-color: ${Ta};
24
- color: ${Si};
27
+ padding-inline: calc(${ar} + ${bd});
28
+ border-radius: ${Bo};
29
+ border-color: ${us};
30
+ background-color: ${Ai};
31
+ color: ${Ca};
25
32
  contain: content;
26
33
  }
27
34
 
@@ -37,11 +44,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
37
44
  bottom: 0;
38
45
  right: 0;
39
46
  border-style: solid;
40
- border-width: ${Ko};
47
+ border-width: ${Zo};
41
48
  border-color: inherit;
42
49
  border-radius: inherit;
43
50
  }
44
- `,id=j.partial`
51
+ `,fd=j.partial`
45
52
  :host([size='tiny']) {
46
53
  width: 6px;
47
54
  height: 6px;
@@ -67,9 +74,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
67
74
  :host([size='small']) {
68
75
  min-width: 16px;
69
76
  height: 16px;
70
- font-size: ${wo};
71
- line-height: ${Io};
72
- padding-inline: calc(${tr} + ${od});
77
+ font-size: ${So};
78
+ line-height: ${Do};
79
+ padding-inline: calc(${rr} + ${bd});
73
80
  }
74
81
  :host([size='small']) ::slotted(svg) {
75
82
  font-size: 12px;
@@ -77,9 +84,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
77
84
  :host([size='large']) {
78
85
  min-width: 24px;
79
86
  height: 24px;
80
- font-size: ${Bo};
81
- line-height: ${Lo};
82
- padding-inline: calc(${or} + ${od});
87
+ font-size: ${Po};
88
+ line-height: ${Oo};
89
+ padding-inline: calc(${ar} + ${bd});
83
90
  }
84
91
  :host([size='large']) ::slotted(svg) {
85
92
  font-size: 16px;
@@ -87,225 +94,230 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
87
94
  :host([size='extra-large']) {
88
95
  min-width: 32px;
89
96
  height: 32px;
90
- font-size: ${Bo};
91
- line-height: ${Lo};
92
- padding-inline: calc(${rr} + ${od});
97
+ font-size: ${Po};
98
+ line-height: ${Oo};
99
+ padding-inline: calc(${ir} + ${bd});
93
100
  }
94
101
  :host([size='extra-large']) ::slotted(svg) {
95
102
  font-size: 20px;
96
103
  }
97
- `,ad=j.partial`
104
+ `,md=j.partial`
98
105
  :host([color='danger']) {
99
- background-color: ${Ss};
100
- color: ${Si};
106
+ background-color: ${Cs};
107
+ color: ${Ca};
101
108
  }
102
109
 
103
110
  :host([color='important']) {
104
- background-color: ${Hr};
105
- color: ${Mi};
111
+ background-color: ${Vr};
112
+ color: ${Ea};
106
113
  }
107
114
 
108
115
  :host([color='informative']) {
109
- background-color: ${Ji};
110
- color: ${Yr};
116
+ background-color: ${ti};
117
+ color: ${Qr};
111
118
  }
112
119
 
113
120
  :host([color='severe']) {
114
- background-color: ${js};
115
- color: ${Si};
121
+ background-color: ${qs};
122
+ color: ${Ca};
116
123
  }
117
124
 
118
125
  :host([color='subtle']) {
119
- background-color: ${Mi};
120
- color: ${Hr};
126
+ background-color: ${Ea};
127
+ color: ${Vr};
121
128
  }
122
129
 
123
130
  :host([color='success']) {
124
- background-color: ${Ls};
125
- color: ${Si};
131
+ background-color: ${Os};
132
+ color: ${Ca};
126
133
  }
127
134
 
128
135
  :host([color='warning']) {
129
- background-color: ${Zs};
130
- color: ${Hr};
136
+ background-color: ${en};
137
+ color: ${Vr};
131
138
  }
132
- `,sd=j.partial`
139
+ `,yd=j.partial`
133
140
  :host([appearance='ghost']) {
134
- color: ${Ta};
141
+ color: ${Ai};
135
142
  background-color: initial;
136
143
  }
137
144
 
138
145
  :host([appearance='ghost'][color='danger']) {
139
- color: ${Fs};
146
+ color: ${zs};
140
147
  }
141
148
 
142
149
  :host([appearance='ghost'][color='important']) {
143
- color: ${Hr};
150
+ color: ${Vr};
144
151
  }
145
152
 
146
153
  :host([appearance='ghost'][color='informative']) {
147
- color: ${Yr};
154
+ color: ${Qr};
148
155
  }
149
156
 
150
157
  :host([appearance='ghost'][color='severe']) {
151
- color: ${Xs};
158
+ color: ${Us};
152
159
  }
153
160
 
154
161
  :host([appearance='ghost'][color='subtle']) {
155
- color: ${ki};
162
+ color: ${xa};
156
163
  }
157
164
 
158
165
  :host([appearance='ghost'][color='success']) {
159
- color: ${Ms};
166
+ color: ${Es};
160
167
  }
161
168
 
162
169
  :host([appearance='ghost'][color='warning']) {
163
- color: ${en};
170
+ color: ${on};
164
171
  }
165
- `,nd=j.partial`
172
+ `,kd=j.partial`
166
173
  :host([appearance='outline']) {
167
174
  border-color: currentColor;
168
- color: ${vi};
175
+ color: ${ma};
169
176
  background-color: initial;
170
177
  }
171
178
 
172
179
  :host([appearance='outline'][color='danger']) {
173
- color: ${Fs};
180
+ color: ${zs};
174
181
  }
175
182
 
176
183
  :host([appearance='outline'][color='important']) {
177
- color: ${Yr};
178
- border-color: ${_a};
184
+ color: ${Qr};
185
+ border-color: ${Gi};
179
186
  }
180
187
 
181
188
  :host([appearance='outline'][color='informative']) {
182
- color: ${Yr};
183
- border-color: ${Ka};
189
+ color: ${Qr};
190
+ border-color: ${Zi};
184
191
  }
185
192
 
186
193
  :host([appearance='outline'][color='severe']) {
187
- color: ${Xs};
194
+ color: ${Us};
188
195
  }
189
196
 
190
197
  :host([appearance='outline'][color='subtle']) {
191
- color: ${yi};
198
+ color: ${$a};
192
199
  }
193
200
 
194
201
  :host([appearance='outline'][color='success']) {
195
- color: ${Os};
202
+ color: ${Hs};
196
203
  }
197
204
 
198
205
  :host([appearance='outline'][color='warning']) {
199
- color: ${en};
206
+ color: ${on};
200
207
  }
201
- `,ld=j.partial`
208
+ `,$d=j.partial`
202
209
  :host([appearance='tint']) {
203
- background-color: ${Ma};
204
- color: ${fi};
205
- border-color: ${is};
210
+ background-color: ${Ei};
211
+ color: ${ya};
212
+ border-color: ${ss};
206
213
  }
207
214
 
208
215
  :host([appearance='tint'][color='danger']) {
209
- background-color: ${ws};
210
- color: ${Ps};
211
- border-color: ${zs};
216
+ background-color: ${Ss};
217
+ color: ${Fs};
218
+ border-color: ${Ns};
212
219
  }
213
220
 
214
221
  :host([appearance='tint'][color='important']) {
215
- background-color: ${Yr};
216
- color: ${Mi};
217
- border-color: ${ds};
222
+ background-color: ${Qr};
223
+ color: ${Ea};
224
+ border-color: ${us};
218
225
  }
219
226
 
220
227
  :host([appearance='tint'][color='informative']) {
221
- background-color: ${Yi};
222
- color: ${Yr};
223
- border-color: ${Ka};
228
+ background-color: ${Qa};
229
+ color: ${Qr};
230
+ border-color: ${Zi};
224
231
  }
225
232
 
226
233
  :host([appearance='tint'][color='severe']) {
227
- background-color: ${Rs};
228
- color: ${Gs};
229
- border-color: ${Us};
234
+ background-color: ${js};
235
+ color: ${Xs};
236
+ border-color: ${Ks};
230
237
  }
231
238
 
232
239
  :host([appearance='tint'][color='subtle']) {
233
- background-color: ${Mi};
234
- color: ${Yr};
235
- border-color: ${Ka};
240
+ background-color: ${Ea};
241
+ color: ${Qr};
242
+ border-color: ${Zi};
236
243
  }
237
244
 
238
245
  :host([appearance='tint'][color='success']) {
239
- background-color: ${As};
240
- color: ${Ds};
241
- border-color: ${Es};
246
+ background-color: ${Ls};
247
+ color: ${Ms};
248
+ border-color: ${_s};
242
249
  }
243
250
 
244
251
  :host([appearance='tint'][color='warning']) {
245
- background-color: ${Ks};
246
- color: ${en};
247
- border-color: ${rn};
248
- }
249
- `,cd=j`
250
- :host([shape='square']){border-radius:${fo}}:host([shape='rounded']){border-radius:${yo}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mo}}${id}
251
- ${ad}
252
- ${sd}
253
- ${nd}
254
- ${ld}
255
- ${rd}
256
- `,dd=Jc.compose({name:ho.prefix+"-badge",template:td,styles:cd});class hd extends kt{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],hd.prototype,"appearance",void 0),Ze([Le],hd.prototype,"shape",void 0),Ze([Le],hd.prototype,"size",void 0),Ze([Le({attribute:"icon-only",mode:"boolean"})],hd.prototype,"iconOnly",void 0),Ze([Le({attribute:"disabled-focusable",mode:"boolean"})],hd.prototype,"disabledFocusable",void 0);const ud={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},pd={circular:"circular",rounded:"rounded",square:"square"},gd={small:"small",medium:"medium",large:"large"},bd=$t(),vd=j`
257
- ${ao("inline-flex")}
258
-
259
- :host{--icon-spacing:${rr};contain:layout style}: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:${Mi};color:${Hr};border:${Ko} solid ${Xa};padding:0 ${sr};min-width:96px;border-radius:${yo};font-size:${So};font-family:${jo};font-weight:${Uo};line-height:${Do};transition-duration:${wr};transition-property:background,border,color;transition-timing-function:${Or};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${Hi};color:${Vr};border-color:${Wa}}:host(:hover:active) .control{background-color:${Vi};border-color:${Ua};color:${Er};outline-style:none}:host .control:focus-visible{border-color:${ds};outline:${Qo} solid ${ds};box-shadow:${pc},0 0 0 2px ${gs}}@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:${or}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${ir};border-radius:${mo};font-size:${Bo};line-height:${Lo};font-weight:${Xo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${ko};padding:0 ${nr};font-size:${Po};line-height:${Oo}}: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:${$o}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${fo}}:host([appearance='primary']) .control{background-color:${Ta};color:${Si};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${za}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${Si}}:host([appearance='primary']:hover:active) .control{background-color:${Na}}:host([appearance='primary']) .control:focus-visible{border-color:${Si};box-shadow:${uc},0 0 0 2px ${gs}}: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:${fa}}:host([appearance='outline']:hover) .control{background-color:${ma}}:host([appearance='outline']:hover:active) .control{background-color:${ya}}: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:${fa}}:host([appearance='subtle']) .control{background-color:${sa};color:${_r};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${na};color:${jr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${la};color:${Gr};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:${fa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Xr}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Wr}}:host([appearance='transparent']) .control{background-color:${fa};color:${_r}}:host([appearance='transparent']:hover) .control{background-color:${ma};color:${Xr}}:host([appearance='transparent']:hover:active) .control{background-color:${ya};color:${Wr}}: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:${fa}}: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)
260
- .control{background-color:${xa};border-color:${ls};color:${ri};cursor:not-allowed}`,fd=hd.compose({name:ho.prefix+"-button",template:bd,styles:vd,shadowOptions:{delegatesFocus:!0}});class md 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],md.prototype,"appearance",void 0),Ze([Le],md.prototype,"color",void 0),Ze([Le],md.prototype,"shape",void 0),Ze([Le],md.prototype,"size",void 0),Ze([Le({converter:Ae})],md.prototype,"count",void 0),Ze([Le({attribute:"overflow-count",converter:Ae})],md.prototype,"overflowCount",void 0),Ze([Le({attribute:"show-zero",mode:"boolean"})],md.prototype,"showZero",void 0),Ze([Le({mode:"boolean"})],md.prototype,"dot",void 0),lt(md,et);const yd={filled:"filled",ghost:"ghost"},kd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},xd={circular:"circular",rounded:"rounded"},$d={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const wd=ed({defaultContent:xe`${e=>e.setCount()}`}),Bd=j`
261
- :host([shape='rounded']){border-radius:${yo}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mo}}${id}
262
- ${ad}
263
- ${sd}
264
- ${rd}
265
-
266
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Sd=md.compose({name:ho.prefix+"-counter-badge",template:wd,styles:Bd});class Pd extends _t{}Ze([Le({attribute:"align-content"})],Pd.prototype,"alignContent",void 0),Ze([Le],Pd.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],Pd.prototype,"inset",void 0);const Cd={center:"center",start:"start",end:"end"},Fd={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Td=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,zd=j`
267
- ${ao("flex")}
268
-
269
- :host{contain:content}:host::after,:host::before{align-self:center;background:${Ka};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Ko}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${_r};font-family:${jo};font-size:${Bo};font-weight:${Xo};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:${Ko};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:${Xa}}:host([appearance='strong']) ::slotted(*){color:${Hr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${rs}}:host([appearance='brand']) ::slotted(*){color:${vi}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Qa}}:host([appearance='subtle']) ::slotted(*){color:${Yr}}`,Nd=Pd.compose({name:ho.prefix+"-divider",template:Td,styles:zd});class Ad extends Ke{}Ze([Le({mode:"boolean"})],Ad.prototype,"block",void 0),Ze([Le({mode:"boolean"})],Ad.prototype,"bordered",void 0),Ze([Le({mode:"boolean"})],Ad.prototype,"shadow",void 0),Ze([Le],Ad.prototype,"fit",void 0),Ze([Le],Ad.prototype,"shape",void 0);const Id={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Ld={circular:"circular",rounded:"rounded",square:"square"},Dd=xe`<slot></slot>`,Od=j`
270
- :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:${Ko} solid ${Ka}}: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:${pc}}:host([shape='circular']) ::slotted(img){border-radius:${$o}}`,Md=Ad.compose({name:ho.prefix+"-image",template:Dd,styles:Od});class Hd extends Ke{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Ze([Le],Hd.prototype,"size",void 0),Ze([Le],Hd.prototype,"weight",void 0),Ze([Le({mode:"boolean"})],Hd.prototype,"disabled",void 0),Ze([Le({mode:"boolean"})],Hd.prototype,"required",void 0);const Vd=j`
271
- ${ao("flex")}
272
-
273
- :host{font-family:${jo};font-size:${So};line-height:${Do};font-weight:${Xo};color:${Hr}}.asterisk{color:${Ps};margin-left:${or}}:host([size='small']){font-size:${Bo};line-height:${Lo}}:host([size='large']){font-size:${Po};line-height:${Oo};font-weight:${Uo}}:host([weight='semibold']){font-weight:${Uo}}:host([disabled]),:host([disabled]) .asterisk{color:${ri}}`;const Ed=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Rd=Hd.compose({name:ho.prefix+"-label",template:Ed,styles:Vd});class _d extends hd{}const jd=ud,Gd=pd,qd=gd,Xd=$t({end:xe.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Wd=_d.compose({name:ho.prefix+"-menu-button",template:Xd,styles:vd,shadowOptions:{delegatesFocus:!0}});class Ud extends qt{constructor(){super(...arguments),this.validationState=null}}Ze([Le],Ud.prototype,"thickness",void 0),Ze([Le],Ud.prototype,"shape",void 0),Ze([Le({attribute:"validation-state"})],Ud.prototype,"validationState",void 0);const Yd={medium:"medium",large:"large"},Kd={rounded:"rounded",square:"square"},Qd={success:"success",warning:"warning",error:"error"},Zd=j`
274
- ${ao("flex")}
275
-
276
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${yo};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:${Ss}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
277
- to right,${Bs} 0%,${Ss} 50%,${Bs}
278
- )}:host([validation-state='warning']) .determinate{background-color:${js}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
279
- to right,${_s} 0%,${js} 50%,${_s}
280
- )}:host([validation-state='success']) .determinate{background-color:${Ls}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
281
- to right,${Is} 0%,${Ls} 50%,${Is}
282
- )}.progress{background-color:${ra};border-radius:${yo};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Ia};border-radius:${yo};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
283
- to right,${Ma} 0%,${Ia} 50%,${Ma}
284
- );border-radius:${yo};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(
285
- to right,${Ma} 0%,${Ia} 50%,${Ma}
286
- );border-radius:${yo};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}}`,Jd=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${Be(e=>"number"!=typeof e.value,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${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>'}),eh=Ud.compose({name:ho.prefix+"-progress-bar",template:Jd,styles:Zd});class th extends Qt{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`
287
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Ze([Le],th.prototype,"size",void 0);const oh={small:"small",medium:"medium"},rh=j`
288
- ${ao("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:${mo};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 ${gs};outline:1px solid ${ps}}.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:${Ta};border-radius:${$o};box-shadow:inset 0 0 0 var(--thumb-padding) ${Mi},0 0 0 1px ${Xa}}.thumb-cursor:hover{background-color:${La}}.thumb-cursor:active{background-color:${Da}}:host([disabled]) .thumb-cursor{background-color:${ri};box-shadow:inset 0 0 0 var(--thumb-padding) ${Mi},0 0 0 1px ${ls}}.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:${_a};border-radius:${yo};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${yo};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
289
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Mi} calc(var(--step-rate) - 1px),${Mi} var(--step-rate)
290
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${xa}}: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:${Ia};position:absolute;height:100%;left:0;border-radius:${yo}}:host([disabled]) .track-start{background-color:${ri}}:host(:hover) .track-start{background-color:${La}}:host([disabled]:hover) .track-start{background-color:${ri}}.track-start:active{background-color:${Da}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,ih=function(e={}){return xe`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${we("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${Qe(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),ah=th.compose({name:ho.prefix+"-slider",template:ih,styles:rh});class sh extends Gt{}Ze([Le],sh.prototype,"size",void 0),Ze([Le],sh.prototype,"appearance",void 0);const nh={primary:"primary",inverted:"inverted"},lh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},ch=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Be(e=>"number"==typeof e.value,xe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${Be(e=>"number"!=typeof e.value,xe`<slot name="indeterminate">${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 '}),dh=j`
291
- ${ao("flex")}
292
-
293
- :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:${is};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${rs};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:${Ja}}.indeterminate-indicator-1{stroke:${rs};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:${Ja}}@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)}}`,hh=sh.compose({name:ho.prefix+"-spinner",template:ch,styles:dh});class uh extends eo{}Ze([Le({attribute:"label-position"})],uh.prototype,"labelPosition",void 0);const ph={above:"above",after:"after",before:"before"},gh=function(e={}){return xe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${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>'}),bh=j`
294
- ${ao("inline-flex")}
295
-
296
- :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:${Hr};line-height:${Do};font-size:${So};font-weight:${Xo};font-family:${jo};padding:${pr} ${or};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${tr};box-sizing:border-box;width:40px;height:20px;background-color:${fa};border:1px solid ${_a};border-radius:${$o};outline:none;cursor:pointer;margin:${br} ${ir}}:host(:hover) .switch{background:none;border-color:${ja}}:host(:active) .switch{border-color:${Ga}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${ls};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Ia}}:host([aria-checked='true']:hover) .switch{background:${La};border-color:${La}}:host([aria-checked='true']:active) .switch{background:${Da};border-color:${Da}}:host([aria-checked='true'][disabled]) .switch{background:${xa};border-color:${ls}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Yr};transition-duration:${Sr};transition-timing-function:${Or};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${ki};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${xi}}:host([aria-checked='true']:active) .checked-indicator{background:${$i}}:host(:hover) .checked-indicator{background-color:${Kr}}:host(:active) .checked-indicator{background-color:${Qr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${ri}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${ri}}`,vh=uh.compose({name:ho.prefix+"-switch",template:gh,styles:bh}),fh={subtle:"subtle",transparent:"transparent"},mh={small:"small",medium:"medium",large:"large"};class yh extends io{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=fh.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===ro.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===ro.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],s=null==a?void 0:a.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: ${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`
297
306
  :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
298
- :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],yh.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],yh.prototype,"disabled",void 0),Ze([Le],yh.prototype,"size",void 0);const kh=function(e={}){return xe` ${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>`}({}),xh=j`
299
- ${ao("grid")}
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")}
309
+
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")}
300
313
 
301
- :host{box-sizing:border-box;font-family:${jo};font-size:${So};line-height:${Do};color:${_r};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${ri}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${ri}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${ri}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${ri}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${yo}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${ri}}.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:${na};color:${Vr};fill:${gi}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${la};fill:${la};color:${Hr}}:host([size='small']) ::slotted(fluent-tab){font-size:${So};line-height:${Do};padding:${gr} ${rr}}:host([size='large']) ::slotted(fluent-tab){font-size:${Po};line-height:${Oo};padding:${mr} ${ar}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Pr};transition-timing-function:${Ar}}:host ::slotted(fluent-tab)::after{height:${Zo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Zo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Zo};border-radius:${$o};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Zo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Zo};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:${Zo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${gr};padding-bottom:${gr}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${ur};padding-bottom:${ur}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${br};padding-bottom:${br}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${rr};left:${rr}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${ar};left:${ar}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${ar};left:${ar}}: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:${gr};bottom:${gr}}: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:${br};bottom:${br}}: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:${vr};bottom:${vr}}`,$h=yh.compose({name:ho.prefix+"-tabs",template:kh,styles:xh});class wh extends oo{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
302
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Bh=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${ot(e)}<span class="tab-content"><slot></slot></span>${tt(e)}</template>`}({}),Sh=j`
303
- ${ao("inline-flex")}
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")}
304
316
 
305
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Do};font-family:${jo};font-size:${So};color:${_r};fill:currentcolor;grid-row:1;padding:${sr} ${ar};border-radius:${yo}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Hr};font-weight:${Uo}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Do};font-weight:${Uo}}:host([aria-selected='true'])::after{background-color:${as};border-radius:${$o};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Wa};border-radius:${$o};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${ri}}::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:${ri};color:${ri}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${mo};box-shadow:0 0 0 3px ${gs};outline:1px solid ${ps}}`,Ph=wh.compose({name:ho.prefix+"-tab",template:Bh,styles:Sh});class Ch extends to{}const Fh=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Th=j`
306
- ${ao("block")}
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")}
307
319
 
308
- :host{box-sizing:border-box;padding:${sr} ${ar}}`,zh=Ch.compose({name:ho.prefix+"-tab-panel",template:Fh,styles:Th});class Nh 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"})],Nh.prototype,"nowrap",void 0),Ze([Le({mode:"boolean"})],Nh.prototype,"truncate",void 0),Ze([Le({mode:"boolean"})],Nh.prototype,"italic",void 0),Ze([Le({mode:"boolean"})],Nh.prototype,"underline",void 0),Ze([Le({mode:"boolean"})],Nh.prototype,"strikethrough",void 0),Ze([Le({mode:"boolean"})],Nh.prototype,"block",void 0),Ze([Le],Nh.prototype,"size",void 0),Ze([Le],Nh.prototype,"font",void 0),Ze([Le],Nh.prototype,"weight",void 0),Ze([Le],Nh.prototype,"align",void 0);const Ah={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Ih={base:"base",numeric:"numeric",monospace:"monospace"},Lh={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Dh={start:"start",end:"end",center:"center",justify:"justify"},Oh=xe`<slot></slot>`,Mh=j`
309
- ${ao("inline")}
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}
310
322
 
311
- :host{contain:content}::slotted(*){font-family:${jo};font-size:${So};line-height:${Do};font-weight:${Xo};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:${wo};line-height:${Io}}:host([size='200']) ::slotted(*){font-size:${Bo};line-height:${Lo}}:host([size='400']) ::slotted(*){font-size:${Po};line-height:${Oo}}:host([size='500']) ::slotted(*){font-size:${Co};line-height:${Mo}}:host([size='600']) ::slotted(*){font-size:${Fo};line-height:${Ho}}:host([size='700']) ::slotted(*){font-size:${To};line-height:${Vo}}:host([size='800']) ::slotted(*){font-size:${zo};line-height:${Eo}}:host([size='900']) ::slotted(*){font-size:${No};line-height:${Ro}}:host([size='1000']) ::slotted(*){font-size:${Ao};line-height:${_o}}:host([font='monospace']) ::slotted(*){font-family:${Go}}:host([font='numeric']) ::slotted(*){font-family:${qo}}:host([weight='medium']) ::slotted(*){font-weight:${Wo}}:host([weight='semibold']) ::slotted(*){font-weight:${Uo}}:host([weight='bold']) ::slotted(*){font-weight:${Yo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Hh=Nh.compose({name:ho.prefix+"-text",template:Oh,styles:Mh}),Vh=Object.keys(Bc),Eh=e=>{for(const t of Vh)Bc[t].withDefault(e[t])};export{so as Accordion,po as AccordionItem,bo as AccordionItemExpandIconPosition,go as AccordionItemSize,Ec as Avatar,Lc as AvatarActive,Oc as AvatarAppearance,Hc as AvatarColor,Uc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Vc as AvatarSize,Wc as AvatarStyles,jc as AvatarTemplate,Jc as Badge,Yc as BadgeAppearance,Kc as BadgeColor,dd as BadgeDefinition,Qc as BadgeShape,Zc as BadgeSize,cd as BadgeStyles,td as BadgeTemplate,hd as Button,ud as ButtonAppearance,fd as ButtonDefinition,pd as ButtonShape,gd as ButtonSize,vd as ButtonStyles,bd as ButtonTemplate,md as CounterBadge,yd as CounterBadgeAppearance,kd as CounterBadgeColor,Sd as CounterBadgeDefinition,xd as CounterBadgeShape,$d as CounterBadgeSize,Bd as CounterBadgeStyles,wd as CounterBadgeTemplate,Pd as Divider,Cd as DividerAlignContent,Fd as DividerAppearance,Nd as DividerDefinition,Rt as DividerOrientation,Et as DividerRole,zd as DividerStyles,Td as DividerTemplate,Ad as Image,Md as ImageDefinition,Id as ImageFit,Ld as ImageShape,Od as ImageStyles,Dd as ImageTemplate,Hd as Label,Rd as LabelDefinition,Vd as LabelStyles,Ed as LabelTemplate,_d as MenuButton,jd as MenuButtonAppearance,Wd as MenuButtonDefinition,Gd as MenuButtonShape,qd as MenuButtonSize,vd as MenuButtonStyles,Xd as MenuButtonTemplate,Ud as ProgressBar,eh as ProgressBarDefinition,Kd as ProgressBarShape,Zd as ProgressBarStyles,Jd as ProgressBarTemplate,Yd as ProgressBarThickness,Qd as ProgressBarValidationState,th as Slider,ah as SliderDefinition,Xt as SliderOrientation,oh as SliderSize,rh as SliderStyles,ih as SliderTemplate,sh as Spinner,nh as SpinnerAppearance,hh as SpinnerDefinition,lh as SpinnerSize,dh as SpinnerStyles,ch as SpinnerTemplate,uh as Switch,ph as SwitchLabelPosition,wh as Tab,Ph as TabDefinition,Ch as TabPanel,zh as TabPanelDefinition,Th as TabPanelStyles,Fh as TabPanelTemplate,Sh as TabStyles,Bh as TabTemplate,yh as Tabs,fh as TabsAppearance,$h as TabsDefinition,ro as TabsOrientation,mh as TabsSize,xh as TabsStyles,kh as TabsTemplate,Nh as Text,Dh as TextAlign,Hh as TextDefinition,Ih as TextFont,Ah as TextSize,Mh as TextStyles,Oh as TextTemplate,Lh as TextWeight,uo as accordionDefinition,Cc as accordionItemDefinition,Sc as accordionItemStyles,Pc as accordionItemTemplate,co as accordionStyles,no as accordionTemplate,$o as borderRadiusCircular,ko as borderRadiusLarge,yo as borderRadiusMedium,fo as borderRadiusNone,mo as borderRadiusSmall,xo as borderRadiusXLarge,Ca as colorBackgroundOverlay,Ta as colorBrandBackground,Ma as colorBrandBackground2,za as colorBrandBackgroundHover,Ha as colorBrandBackgroundInverted,Va as colorBrandBackgroundInvertedHover,Ea as colorBrandBackgroundInvertedPressed,Ra as colorBrandBackgroundInvertedSelected,Na as colorBrandBackgroundPressed,Aa as colorBrandBackgroundSelected,Oa as colorBrandBackgroundStatic,vi as colorBrandForeground1,fi as colorBrandForeground2,zi as colorBrandForegroundInverted,Ni as colorBrandForegroundInvertedHover,Ai as colorBrandForegroundInvertedPressed,ai as colorBrandForegroundLink,si as colorBrandForegroundLinkHover,ni as colorBrandForegroundLinkPressed,li as colorBrandForegroundLinkSelected,Ii as colorBrandForegroundOnLight,Li as colorBrandForegroundOnLightHover,Di as colorBrandForegroundOnLightPressed,Oi as colorBrandForegroundOnLightSelected,xs as colorBrandShadowAmbient,$s as colorBrandShadowKey,rs as colorBrandStroke1,is as colorBrandStroke2,Ia as colorCompoundBrandBackground,La as colorCompoundBrandBackgroundHover,Da as colorCompoundBrandBackgroundPressed,pi as colorCompoundBrandForeground1,gi as colorCompoundBrandForeground1Hover,bi as colorCompoundBrandForeground1Pressed,as as colorCompoundBrandStroke,ss as colorCompoundBrandStrokeHover,ns as colorCompoundBrandStrokePressed,Mi as colorNeutralBackground1,Hi as colorNeutralBackground1Hover,Vi as colorNeutralBackground1Pressed,Ei as colorNeutralBackground1Selected,Ri as colorNeutralBackground2,_i as colorNeutralBackground2Hover,ji as colorNeutralBackground2Pressed,Gi as colorNeutralBackground2Selected,qi as colorNeutralBackground3,Xi as colorNeutralBackground3Hover,Wi as colorNeutralBackground3Pressed,Ui as colorNeutralBackground3Selected,Yi as colorNeutralBackground4,Ki as colorNeutralBackground4Hover,Qi as colorNeutralBackground4Pressed,Zi as colorNeutralBackground4Selected,Ji as colorNeutralBackground5,ea as colorNeutralBackground5Hover,ta as colorNeutralBackground5Pressed,oa as colorNeutralBackground5Selected,ra as colorNeutralBackground6,xa as colorNeutralBackgroundDisabled,ia as colorNeutralBackgroundInverted,$a as colorNeutralBackgroundInvertedDisabled,aa as colorNeutralBackgroundStatic,Hr as colorNeutralForeground1,Vr as colorNeutralForeground1Hover,Er as colorNeutralForeground1Pressed,Rr as colorNeutralForeground1Selected,mi as colorNeutralForeground1Static,_r as colorNeutralForeground2,Xr as colorNeutralForeground2BrandHover,Wr as colorNeutralForeground2BrandPressed,Ur as colorNeutralForeground2BrandSelected,jr as colorNeutralForeground2Hover,ci as colorNeutralForeground2Link,di as colorNeutralForeground2LinkHover,hi as colorNeutralForeground2LinkPressed,ui as colorNeutralForeground2LinkSelected,Gr as colorNeutralForeground2Pressed,qr as colorNeutralForeground2Selected,Yr as colorNeutralForeground3,Jr as colorNeutralForeground3BrandHover,ei as colorNeutralForeground3BrandPressed,ti as colorNeutralForeground3BrandSelected,Kr as colorNeutralForeground3Hover,Qr as colorNeutralForeground3Pressed,Zr as colorNeutralForeground3Selected,oi as colorNeutralForeground4,ri as colorNeutralForegroundDisabled,ki as colorNeutralForegroundInverted,Bi as colorNeutralForegroundInverted2,ii as colorNeutralForegroundInvertedDisabled,xi as colorNeutralForegroundInvertedHover,Pi as colorNeutralForegroundInvertedLink,Ci as colorNeutralForegroundInvertedLinkHover,Fi as colorNeutralForegroundInvertedLinkPressed,Ti as colorNeutralForegroundInvertedLinkSelected,$i as colorNeutralForegroundInvertedPressed,wi as colorNeutralForegroundInvertedSelected,Si as colorNeutralForegroundOnBrand,yi as colorNeutralForegroundStaticInverted,bs as colorNeutralShadowAmbient,ys as colorNeutralShadowAmbientDarker,fs as colorNeutralShadowAmbientLighter,vs as colorNeutralShadowKey,ks as colorNeutralShadowKeyDarker,ms as colorNeutralShadowKeyLighter,wa as colorNeutralStencil1,Sa as colorNeutralStencil1Alpha,Ba as colorNeutralStencil2,Pa as colorNeutralStencil2Alpha,Xa as colorNeutralStroke1,Wa as colorNeutralStroke1Hover,Ua as colorNeutralStroke1Pressed,Ya as colorNeutralStroke1Selected,Ka as colorNeutralStroke2,Qa as colorNeutralStroke3,_a as colorNeutralStrokeAccessible,ja as colorNeutralStrokeAccessibleHover,Ga as colorNeutralStrokeAccessiblePressed,qa as colorNeutralStrokeAccessibleSelected,ls as colorNeutralStrokeDisabled,cs as colorNeutralStrokeInvertedDisabled,Za as colorNeutralStrokeOnBrand,Ja as colorNeutralStrokeOnBrand2,es as colorNeutralStrokeOnBrand2Hover,ts as colorNeutralStrokeOnBrand2Pressed,os as colorNeutralStrokeOnBrand2Selected,sc as colorPaletteAnchorBackground2,lc as colorPaletteAnchorBorderActive,nc as colorPaletteAnchorForeground2,Ql as colorPaletteBeigeBackground2,Jl as colorPaletteBeigeBorderActive,Zl as colorPaletteBeigeForeground2,sn as colorPaletteBerryBackground1,nn as colorPaletteBerryBackground2,ln as colorPaletteBerryBackground3,pn as colorPaletteBerryBorder1,gn as colorPaletteBerryBorder2,un as colorPaletteBerryBorderActive,cn as colorPaletteBerryForeground1,dn as colorPaletteBerryForeground2,hn as colorPaletteBerryForeground3,ml as colorPaletteBlueBackground2,kl as colorPaletteBlueBorderActive,yl as colorPaletteBlueForeground2,Un as colorPaletteBrassBackground2,Kn as colorPaletteBrassBorderActive,Yn as colorPaletteBrassForeground2,Qn as colorPaletteBrownBackground2,Jn as colorPaletteBrownBorderActive,Zn as colorPaletteBrownForeground2,Bl as colorPaletteCornflowerBackground2,Pl as colorPaletteCornflowerBorderActive,Sl as colorPaletteCornflowerForeground2,On as colorPaletteCranberryBackground2,Hn as colorPaletteCranberryBorderActive,Mn as colorPaletteCranberryForeground2,sl as colorPaletteDarkGreenBackground2,ll as colorPaletteDarkGreenBorderActive,nl as colorPaletteDarkGreenForeground2,Rs as colorPaletteDarkOrangeBackground1,_s as colorPaletteDarkOrangeBackground2,js as colorPaletteDarkOrangeBackground3,Us as colorPaletteDarkOrangeBorder1,Ys as colorPaletteDarkOrangeBorder2,Ws as colorPaletteDarkOrangeBorderActive,Gs as colorPaletteDarkOrangeForeground1,qs as colorPaletteDarkOrangeForeground2,Xs as colorPaletteDarkOrangeForeground3,In as colorPaletteDarkRedBackground2,Dn as colorPaletteDarkRedBorderActive,Ln as colorPaletteDarkRedForeground2,el as colorPaletteForestBackground2,ol as colorPaletteForestBorderActive,tl as colorPaletteForestForeground2,qn as colorPaletteGoldBackground2,Wn as colorPaletteGoldBorderActive,Xn as colorPaletteGoldForeground2,Ol as colorPaletteGrapeBackground2,Hl as colorPaletteGrapeBorderActive,Ml as colorPaletteGrapeForeground2,As as colorPaletteGreenBackground1,Is as colorPaletteGreenBackground2,Ls as colorPaletteGreenBackground3,Vs as colorPaletteGreenBorder1,Es as colorPaletteGreenBorder2,Hs as colorPaletteGreenBorderActive,Ds as colorPaletteGreenForeground1,Os as colorPaletteGreenForeground2,Ms as colorPaletteGreenForeground3,dc as colorPaletteGreenForegroundInverted,zl as colorPaletteLavenderBackground2,Al as colorPaletteLavenderBorderActive,Nl as colorPaletteLavenderForeground2,bn as colorPaletteLightGreenBackground1,vn as colorPaletteLightGreenBackground2,fn as colorPaletteLightGreenBackground3,$n as colorPaletteLightGreenBorder1,wn as colorPaletteLightGreenBorder2,xn as colorPaletteLightGreenBorderActive,mn as colorPaletteLightGreenForeground1,yn as colorPaletteLightGreenForeground2,kn as colorPaletteLightGreenForeground3,cl as colorPaletteLightTealBackground2,hl as colorPaletteLightTealBorderActive,dl as colorPaletteLightTealForeground2,Vl as colorPaletteLilacBackground2,Rl as colorPaletteLilacBorderActive,El as colorPaletteLilacForeground2,ql as colorPaletteMagentaBackground2,Wl as colorPaletteMagentaBorderActive,Xl as colorPaletteMagentaForeground2,Bn as colorPaletteMarigoldBackground1,Sn as colorPaletteMarigoldBackground2,Pn as colorPaletteMarigoldBackground3,Nn as colorPaletteMarigoldBorder1,An as colorPaletteMarigoldBorder2,zn as colorPaletteMarigoldBorderActive,Cn as colorPaletteMarigoldForeground1,Fn as colorPaletteMarigoldForeground2,Tn as colorPaletteMarigoldForeground3,ec as colorPaletteMinkBackground2,oc as colorPaletteMinkBorderActive,tc as colorPaletteMinkForeground2,Cl as colorPaletteNavyBackground2,Tl as colorPaletteNavyBorderActive,Fl as colorPaletteNavyForeground2,_n as colorPalettePeachBackground2,Gn as colorPalettePeachBorderActive,jn as colorPalettePeachForeground2,_l as colorPalettePinkBackground2,Gl as colorPalettePinkBorderActive,jl as colorPalettePinkForeground2,rc as colorPalettePlatinumBackground2,ac as colorPalettePlatinumBorderActive,ic as colorPalettePlatinumForeground2,Ul as colorPalettePlumBackground2,Kl as colorPalettePlumBorderActive,Yl as colorPalettePlumForeground2,Vn as colorPalettePumpkinBackground2,Rn as colorPalettePumpkinBorderActive,En as colorPalettePumpkinForeground2,Il as colorPalettePurpleBackground2,Dl as colorPalettePurpleBorderActive,Ll as colorPalettePurpleForeground2,ws as colorPaletteRedBackground1,Bs as colorPaletteRedBackground2,Ss as colorPaletteRedBackground3,zs as colorPaletteRedBorder1,Ns as colorPaletteRedBorder2,Ts as colorPaletteRedBorderActive,Ps as colorPaletteRedForeground1,Cs as colorPaletteRedForeground2,Fs as colorPaletteRedForeground3,cc as colorPaletteRedForegroundInverted,xl as colorPaletteRoyalBlueBackground2,wl as colorPaletteRoyalBlueBorderActive,$l as colorPaletteRoyalBlueForeground2,rl as colorPaletteSeafoamBackground2,al as colorPaletteSeafoamBorderActive,il as colorPaletteSeafoamForeground2,bl as colorPaletteSteelBackground2,fl as colorPaletteSteelBorderActive,vl as colorPaletteSteelForeground2,ul as colorPaletteTealBackground2,gl as colorPaletteTealBorderActive,pl as colorPaletteTealForeground2,Ks as colorPaletteYellowBackground1,Qs as colorPaletteYellowBackground2,Zs as colorPaletteYellowBackground3,rn as colorPaletteYellowBorder1,an as colorPaletteYellowBorder2,on as colorPaletteYellowBorderActive,Js as colorPaletteYellowForeground1,en as colorPaletteYellowForeground2,tn as colorPaletteYellowForeground3,hc as colorPaletteYellowForegroundInverted,Fa as colorScrollbarOverlay,ps as colorStrokeFocus1,gs as colorStrokeFocus2,sa as colorSubtleBackground,na as colorSubtleBackgroundHover,pa as colorSubtleBackgroundInverted,ga as colorSubtleBackgroundInvertedHover,ba as colorSubtleBackgroundInvertedPressed,va as colorSubtleBackgroundInvertedSelected,da as colorSubtleBackgroundLightAlphaHover,ha as colorSubtleBackgroundLightAlphaPressed,ua as colorSubtleBackgroundLightAlphaSelected,la as colorSubtleBackgroundPressed,ca as colorSubtleBackgroundSelected,fa as colorTransparentBackground,ma as colorTransparentBackgroundHover,ya as colorTransparentBackgroundPressed,ka as colorTransparentBackgroundSelected,ds as colorTransparentStroke,us as colorTransparentStrokeDisabled,hs as colorTransparentStrokeInteractive,Tr as curveAccelerateMax,zr as curveAccelerateMid,Nr as curveAccelerateMin,Ar as curveDecelerateMax,Ir as curveDecelerateMid,Lr as curveDecelerateMin,Or as curveEasyEase,Dr as curveEasyEaseMax,Mr as curveLinear,vh as definition,Br as durationFast,wr as durationFaster,Sr as durationNormal,Pr as durationSlow,Cr as durationSlower,$r as durationUltraFast,Fr as durationUltraSlow,jo as fontFamilyBase,Go as fontFamilyMonospace,qo as fontFamilyNumeric,wo as fontSizeBase100,Bo as fontSizeBase200,So as fontSizeBase300,Po as fontSizeBase400,Co as fontSizeBase500,Fo as fontSizeBase600,Ao as fontSizeHero1000,To as fontSizeHero700,zo as fontSizeHero800,No as fontSizeHero900,Yo as fontWeightBold,Wo as fontWeightMedium,Xo as fontWeightRegular,Uo as fontWeightSemibold,Io as lineHeightBase100,Lo as lineHeightBase200,Do as lineHeightBase300,Oo as lineHeightBase400,Mo as lineHeightBase500,Ho as lineHeightBase600,_o as lineHeightHero1000,Vo as lineHeightHero700,Eo as lineHeightHero800,Ro as lineHeightHero900,Eh as setTheme,bc as shadow16,xc as shadow16Brand,uc as shadow2,vc as shadow28,$c as shadow28Brand,mc as shadow2Brand,pc as shadow4,yc as shadow4Brand,fc as shadow64,wc as shadow64Brand,gc as shadow8,kc as shadow8Brand,nr as spacingHorizontalL,sr as spacingHorizontalM,ar as spacingHorizontalMNudge,er as spacingHorizontalNone,ir as spacingHorizontalS,rr as spacingHorizontalSNudge,lr as spacingHorizontalXL,or as spacingHorizontalXS,cr as spacingHorizontalXXL,tr as spacingHorizontalXXS,dr as spacingHorizontalXXXL,mr as spacingVerticalL,fr as spacingVerticalM,vr as spacingVerticalMNudge,hr as spacingVerticalNone,br as spacingVerticalS,gr as spacingVerticalSNudge,yr as spacingVerticalXL,pr as spacingVerticalXS,kr as spacingVerticalXXL,ur as spacingVerticalXXS,xr as spacingVerticalXXXL,Qo as strokeWidthThick,Zo as strokeWidthThicker,Jo as strokeWidthThickest,Ko as strokeWidthThin,bh as switchStyles,gh as switchTemplate};
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};