@fluentui/web-components 3.0.0-alpha.11 → 3.0.0-alpha.13

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