@codeforamerica/marcomms-design-system 1.21.1 → 1.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,291 +1,2 @@
1
1
  /*! For license information please see carousel.js.LICENSE.txt */
2
- (()=>{"use strict";var t={562(t,e,s){var i=s(161),r=s(601);class o extends i.WF{static styles=(()=>[r.s,i.AH`
3
- :host {
4
- --size: 1.2em;
5
-
6
- display: inline;
7
- line-height: inherit;
8
- }
9
-
10
- .icon {
11
- -webkit-font-feature-settings: "liga";
12
- direction: ltr;
13
- display: inline-block;
14
- font-family: "Material Symbols Rounded";
15
- font-size: var(--size);
16
- font-style: normal;
17
- font-weight: normal;
18
- letter-spacing: normal;
19
- margin-top: -0.1em;
20
- text-transform: none;
21
- vertical-align: middle;
22
- white-space: nowrap;
23
- word-wrap: normal;
24
- }
25
- `])();render(){return i.qy`
26
- <span class="icon">
27
- <slot></slot>
28
- </span>
29
- `}}customElements.get("cfa-icon")||customElements.define("cfa-icon",o)},601(t,e,s){s.d(e,{s:()=>i});const i=s(161).AH`
30
- *:focus-visible,
31
- *:target {
32
- outline: var(--focus-outline);
33
- position: relative;
34
- }
35
-
36
- // RESET
37
-
38
- // Use a more-intuitive box-sizing model.
39
- *, *::before, *::after {
40
- box-sizing: border-box;
41
- }
42
-
43
- // Remove default margin
44
- * {
45
- margin: 0;
46
- }
47
-
48
- // Set default text-wrap of 'pretty'
49
- * {
50
- text-wrap: pretty;
51
- }
52
-
53
- // Wrap overly long words
54
- * {
55
- overflow-wrap: break-word;
56
- text-overflow: ellipsis;
57
- word-break: break-word;
58
- }
59
-
60
- // Fix Safari antialiasing for variable fonts
61
- * {
62
- font-synthesis: none !important;
63
- }
64
-
65
- // Improve text rendering
66
- body {
67
- -webkit-font-smoothing: antialiased;
68
- }
69
-
70
- // Reasonable media defaults
71
- img, picture, video, canvas, svg {
72
- display: block;
73
- height: auto;
74
- max-width: 100%;
75
- }
76
-
77
- // Remove built-in form typography styles
78
- input, button, textarea, select {
79
- font: inherit;
80
- }
81
-
82
- // Avoid text overflows
83
- p, h1, h2, h3, h4, h5, h6 {
84
- overflow-wrap: break-word;
85
- }
86
-
87
- // Create a root stacking context
88
- #root, #__next {
89
- isolation: isolate;
90
- }
91
- `},826(t,e,s){s.d(e,{AH:()=>l,Rf:()=>h,sk:()=>c});const i=globalThis,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(s,t,o)},h=(t,e)=>{if(r)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),r=i.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=s.cssText,t.appendChild(e)}},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,o))(e)})(t):t},760(t,e,s){s.d(e,{AH:()=>i.AH,mN:()=>y});var i=s(826);const{is:r,defineProperty:o,getOwnPropertyDescriptor:n,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,u=c.trustedTypes,d=u?u.emptyScript:"",p=c.reactiveElementPolyfillSupport,m=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?d:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},_=(t,e)=>!r(t,e),f={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=f){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&o(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const o=i?.call(this);r?.call(this,e),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??f}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,i.sk)(t))}else void 0!==t&&e.push((0,i.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:g).toAttribute(e,s.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=i;const o=r.fromAttribute(e,t.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,s,i=!1,r){if(void 0!==t){const o=this.constructor;if(!1===i&&(r=this[t]),s??=o.getPropertyOptions(t),!((s.hasChanged??_)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==r||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[m("elementProperties")]=new Map,y[m("finalized")]=new Map,p?.({ReactiveElement:y}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>n,qy:()=>r.qy});var i=s(760),r=s(752);const o=globalThis;class n extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,r.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return r.c0}}n._$litElement$=!0,n.finalized=!0,o.litElementHydrateSupport?.({LitElement:n});const a=o.litElementPolyfillSupport;a?.({LitElement:n}),(o.litElementVersions??=[]).push("4.2.2")},752(t,e,s){s.d(e,{XX:()=>V,c0:()=>b,qy:()=>w});const i=globalThis,r=t=>t,o=i.trustedTypes,n=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+l,c=`<${h}>`,u=document,d=()=>u.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,g="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,y=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,A=/"/g,P=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),w=E(1),b=(E(2),E(3),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),T=new WeakMap,x=u.createTreeWalker(u,129);function C(t,e){if(!m(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const R=(t,e)=>{const s=t.length-1,i=[];let r,o=2===e?"<svg>":3===e?"<math>":"",n=_;for(let e=0;e<s;e++){const s=t[e];let h,u,d=-1,p=0;for(;p<s.length&&(n.lastIndex=p,u=n.exec(s),null!==u);)p=n.lastIndex,n===_?"!--"===u[1]?n=f:void 0!==u[1]?n=y:void 0!==u[2]?(P.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=v):void 0!==u[3]&&(n=v):n===v?">"===u[0]?(n=r??_,d=-1):void 0===u[1]?d=-2:(d=n.lastIndex-u[2].length,h=u[1],n=void 0===u[3]?v:'"'===u[3]?A:$):n===A||n===$?n=v:n===f||n===y?n=_:(n=v,r=void 0);const m=n===v&&t[e+1].startsWith("/>")?" ":"";o+=n===_?s+c:d>=0?(i.push(h),s.slice(0,d)+a+s.slice(d)+l+m):s+l+(-2===d?e:m)}return[C(t,o+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class O{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,n=0;const c=t.length-1,u=this.parts,[p,m]=R(t,e);if(this.el=O.createElement(p,s),x.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=x.nextNode())&&u.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(a)){const e=m[n++],s=i.getAttribute(t).split(l),o=/([.?@])?(.*)/.exec(e);u.push({type:1,index:r,name:o[2],strings:s,ctor:"."===o[1]?z:"?"===o[1]?I:"@"===o[1]?N:k}),i.removeAttribute(t)}else t.startsWith(l)&&(u.push({type:6,index:r}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(l),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],d()),x.nextNode(),u.push({type:2,index:++r});i.append(t[e],d())}}}else if(8===i.nodeType)if(i.data===h)u.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(l,t+1));)u.push({type:7,index:r}),t+=l.length-1}r++}}static createElement(t,e){const s=u.createElement("template");return s.innerHTML=t,s}}function L(t,e,s=t,i){if(e===b)return e;let r=void 0!==i?s._$Co?.[i]:s._$Cl;const o=p(e)?void 0:e._$litDirective$;return r?.constructor!==o&&(r?._$AO?.(!1),void 0===o?r=void 0:(r=new o(t),r._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=r:s._$Cl=r),void 0!==r&&(e=L(t,r._$AS(t,e.values),r,i)),e}class H{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??u).importNode(e,!0);x.currentNode=i;let r=x.nextNode(),o=0,n=0,a=s[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new U(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new M(r,this,t)),this._$AV.push(e),a=s[++n]}o!==a?.index&&(r=x.nextNode(),o++)}return x.currentNode=u,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class U{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=L(this,t,e),p(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==b&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>m(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==S&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=O.createElement(C(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new H(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new O(t)),e}k(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new U(this.O(d()),this.O(d()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=r(t).nextSibling;r(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=S}_$AI(t,e=this,s,i){const r=this.strings;let o=!1;if(void 0===r)t=L(this,t,e,0),o=!p(t)||t!==this._$AH&&t!==b,o&&(this._$AH=t);else{const i=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=L(this,i[s+n],e,n),a===b&&(a=this._$AH[n]),o||=!p(a)||a!==this._$AH[n],a===S?t=S:t!==S&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}o&&!i&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class z extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class N extends k{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){if((t=L(this,t,e,0)??S)===b)return;const s=this._$AH,i=t===S&&s!==S||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==S&&(s===S||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class M{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const D=i.litHtmlPolyfillSupport;D?.(O,U),(i.litHtmlVersions??=[]).push("3.3.2");const V=(t,e,s)=>{const i=s?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=s?.renderBefore??null;i._$litPart$=r=new U(e.insertBefore(d(),t),t,void 0,s??{})}return r._$AI(t),r}},161(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>i.WF,qy:()=>i.qy}),s(760),s(752);var i=s(228)}},e={};function s(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,s),o.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=s(161),r=s(601);s(562);class o extends i.WF{static SWIPE_THRESHOLD=50;static SHADOW_SPACE=32;static PROGRESS_UPDATE_INTERVAL=100;static AUTOPLAY_DURATION=1e4;static DESKTOP_BREAKPOINT=768;static ITEMS_PER_VIEW_DESKTOP=3;static ITEMS_PER_VIEW_MOBILE=1;static properties=(()=>({currentPage:{type:Number,state:!0},totalSlides:{type:Number,state:!0},progressPercentage:{type:Number,state:!0},isPaused:{type:Boolean,state:!0},prefersReducedMotion:{type:Boolean,state:!0},itemsPerView:{type:Number},autoPlay:{type:Boolean},autoPlayDuration:{type:Number}}))();static styles=(()=>[r.s,i.AH`
92
- :host {
93
- --carousel-fade-duration: 300ms;
94
- --carousel-control-size: var(--spacing-layout-2);
95
- --carousel-dot-size: var(--spacing-component-3);
96
- --carousel-dot-gap: var(--spacing-component-3);
97
- --carousel-dot-color: var(--black-20);
98
- --carousel-dot-active-color: var(--purple-60);
99
- --carousel-gap: var(--spacing-layout-1);
100
- }
101
-
102
- .carousel-container {
103
- display: flex;
104
- flex-direction: column;
105
- gap: var(--spacing-component-3);
106
- }
107
-
108
- .carousel-slides {
109
- width: 100%;
110
- overflow: hidden;
111
- transition: height 400ms ease-in-out;
112
- height: auto;
113
- }
114
-
115
- .carousel-track {
116
- display: flex;
117
- gap: var(--carousel-gap);
118
- }
119
-
120
- ::slotted(*) {
121
- flex: 0 0 calc((100% - (var(--items-per-view, 3) - 1) * var(--carousel-gap)) / var(--items-per-view, 3));
122
- display: none;
123
- opacity: 0;
124
- transition: opacity var(--carousel-fade-duration) ease-in-out;
125
- }
126
-
127
- ::slotted([data-slide-active]) {
128
- display: block;
129
- opacity: 1;
130
- }
131
-
132
- @media (prefers-reduced-motion: reduce) {
133
- .carousel-slides {
134
- transition: none;
135
- }
136
-
137
- ::slotted(*) {
138
- transition: none;
139
- }
140
- }
141
-
142
- .carousel-controls {
143
- display: flex;
144
- align-items: center;
145
- justify-content: center;
146
- gap: var(--spacing-component-3);
147
- }
148
-
149
- .carousel-button {
150
- background-color: transparent;
151
- border: 0;
152
- border-radius: 50%;
153
- color: var(--text-color);
154
- cursor: pointer;
155
- display: flex;
156
- align-items: center;
157
- justify-content: center;
158
- font-size: 1.5rem;
159
- height: var(--carousel-control-size);
160
- width: var(--carousel-control-size);
161
- transition: all 0.2s ease-in-out;
162
- flex-shrink: 0;
163
- }
164
-
165
- .carousel-button:hover {
166
- background-color: var(--purple-20);
167
- border-color: var(--purple-60);
168
- color: var(--purple-80);
169
- }
170
-
171
- .carousel-button:focus-visible {
172
- outline: var(--focus-outline);
173
- outline-offset: 2px;
174
- }
175
-
176
- .carousel-button cfa-icon {
177
- --size: var(--font-size);
178
- color: var(--purple-80);
179
- }
180
-
181
- .carousel-pagination {
182
- display: flex;
183
- align-items: center;
184
- gap: var(--carousel-dot-gap);
185
- flex-wrap: wrap;
186
- justify-content: center;
187
- }
188
-
189
- .carousel-dot {
190
- background-color: var(--carousel-dot-color);
191
- border: none;
192
- border-radius: 50%;
193
- cursor: pointer;
194
- height: var(--carousel-dot-size);
195
- min-width: var(--carousel-dot-size);
196
- padding: 0;
197
- position: relative;
198
- transition: all 0.3s ease-in-out;
199
- }
200
-
201
- .carousel-dot:hover {
202
- background-color: var(--gray-60);
203
- }
204
-
205
- .carousel-dot:focus-visible {
206
- outline: var(--focus-outline);
207
- outline-offset: 3px;
208
- }
209
-
210
- .carousel-dot[aria-current="true"] {
211
- background-color: var(--carousel-dot-color);
212
- border-radius: var(--carousel-dot-size);
213
- min-width: calc(var(--carousel-dot-size) * 4);
214
- overflow: hidden;
215
- }
216
-
217
- .carousel-dot-progress {
218
- background-color: var(--carousel-dot-active-color);
219
- height: 100%;
220
- width: 0%;
221
- transition: width 100ms linear;
222
- }
223
-
224
- @media (prefers-reduced-motion: reduce) {
225
- .carousel-dot-progress {
226
- transition: none;
227
- }
228
- }
229
-
230
- @media (max-width: 768px) {
231
- /* Note: 768px matches Carousel.DESKTOP_BREAKPOINT - keep in sync */
232
- .carousel-button {
233
- font-size: 1.25rem;
234
- height: calc(var(--carousel-control-size) * 0.85);
235
- width: calc(var(--carousel-control-size) * 0.85);
236
- }
237
-
238
- .carousel-dot {
239
- height: calc(var(--carousel-dot-size) * 0.8);
240
- min-width: calc(var(--carousel-dot-size) * 0.8);
241
- }
242
- }
243
- `])();constructor(){super(),this.currentPage=0,this.totalSlides=0,this.progressPercentage=0,this.isPaused=!0,this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.itemsPerView=o.ITEMS_PER_VIEW_DESKTOP,this.autoPlay=!0,this.autoPlayDuration=Math.max(100,o.AUTOPLAY_DURATION),this.autoPlayTimer=null,this.autoPlayTimeout=null,this.touchStartX=null,this.touchEndX=null,this._initialized=!1,this._resizeTimerId=null,this._mouseEnterListener=null,this._mouseLeaveListener=null}connectedCallback(){super.connectedCallback();const t=this.getAttribute("items-per-view");if(null!==t){const e=parseInt(t,10);isNaN(e)||(this.itemsPerView=e)}this.style.setProperty("--items-per-view",this.itemsPerView),this.addEventListener("keydown",t=>this._handleKeydown(t)),this.addEventListener("touchstart",t=>this._handleTouchStart(t),!1),this.addEventListener("touchend",t=>this._handleTouchEnd(t),!1),this._resizeListener=()=>{this._resizeTimerId&&clearTimeout(this._resizeTimerId),this._resizeTimerId=setTimeout(()=>{this.updateItemsPerView(),this.updateCarouselHeight()},150)},window.addEventListener("resize",this._resizeListener)}disconnectedCallback(){super.disconnectedCallback(),this.stopAutoPlay(),this._resizeListener&&window.removeEventListener("resize",this._resizeListener),this._resizeTimerId&&clearTimeout(this._resizeTimerId);const t=this.shadowRoot?.querySelector(".carousel-slides");t&&this._mouseEnterListener&&this._mouseLeaveListener&&(t.removeEventListener("mouseenter",this._mouseEnterListener),t.removeEventListener("mouseleave",this._mouseLeaveListener))}updated(t){t.has("itemsPerView")&&this.style.setProperty("--items-per-view",this.itemsPerView),t.has("currentPage")&&this.updateItemVisibility()}firstUpdated(){const t=this.shadowRoot.querySelector("slot"),e=this.shadowRoot.querySelector(".carousel-slides");t&&!this._slotChangeSetup&&(this._slotChangeSetup=!0,t.addEventListener("slotchange",()=>{this._slotChangeTimeout&&clearTimeout(this._slotChangeTimeout),this._slotChangeTimeout=setTimeout(()=>{this._initialized||this._initializeCarousel()},50)})),e&&!this._mouseEnterListener&&(this._mouseEnterListener=()=>{this.stopAutoPlay()},this._mouseLeaveListener=()=>{this.isPaused||this._scheduleNextPage()},e.addEventListener("mouseenter",this._mouseEnterListener),e.addEventListener("mouseleave",this._mouseLeaveListener))}_initializeCarousel(){if(this._initialized)return;const t=this.shadowRoot.querySelector("slot");if(!t)return;const e=t.assignedElements();0!==e.length&&(this._initialized=!0,this.totalSlides=e.length,this.updateItemsPerView(),this.updateItemVisibility(),this.startAutoPlay(),this._waitForImages(e,5e3).then(()=>{this.updateCarouselHeight()}))}_waitForImages(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;return Promise.race([Promise.all(Array.from(t).map(t=>Promise.all(Array.from(t.querySelectorAll("img")).map(t=>t.complete?Promise.resolve():new Promise(e=>{t.addEventListener("load",e,{once:!0}),t.addEventListener("error",e,{once:!0})}))))),new Promise((t,s)=>setTimeout(()=>s(new Error("Image load timeout")),e))]).catch(()=>Promise.resolve())}get totalPages(){return Math.ceil(this.totalSlides/this.itemsPerView)}updateItemsPerView(){if(this.hasAttribute("items-per-view"))return;const t=window.innerWidth>=o.DESKTOP_BREAKPOINT?o.ITEMS_PER_VIEW_DESKTOP:o.ITEMS_PER_VIEW_MOBILE;t!==this.itemsPerView&&(this.itemsPerView=t,this.style.setProperty("--items-per-view",this.itemsPerView),this.currentPage>=this.totalPages&&(this.currentPage=0),this.requestUpdate())}updateItemVisibility(){const t=this.shadowRoot.querySelector("slot");if(!t)return;const e=t.assignedElements();if(0===e.length)return;const s=this.currentPage*this.itemsPerView,i=s+this.itemsPerView;e.forEach((t,e)=>{e>=s&&e<i?t.setAttribute("data-slide-active",""):t.removeAttribute("data-slide-active")}),this.updateCarouselHeight()}updateCarouselHeight(){const t=this.shadowRoot.querySelector("slot"),e=this.shadowRoot.querySelector(".carousel-slides");if(!t||!e)return;const s=t.assignedElements();if(0===s.length)return;const i=this.currentPage*this.itemsPerView,r=i+this.itemsPerView;requestAnimationFrame(()=>{requestAnimationFrame(()=>{setTimeout(()=>{let t=0;for(let e=i;e<r&&e<s.length;e++){const i=s[e].offsetHeight;t=Math.max(t,i)}const n=Math.max(t,o.SHADOW_SPACE);e.style.height=n+"px"},0)})})}startAutoPlay(){this.autoPlay&&!this.prefersReducedMotion&&0!==this.totalSlides?(this.isPaused=!1,this.progressPercentage=0,this._scheduleNextPage()):this.isPaused=!0}play(){this.prefersReducedMotion||this.startAutoPlay()}pause(){this.isPaused=!0,this.stopAutoPlay()}stopAutoPlay(){this.autoPlayTimer&&(clearInterval(this.autoPlayTimer),this.autoPlayTimer=null),this.autoPlayTimeout&&(clearTimeout(this.autoPlayTimeout),this.autoPlayTimeout=null)}_scheduleNextPage(){this.stopAutoPlay();const t=100/(this.autoPlayDuration/o.PROGRESS_UPDATE_INTERVAL);this.autoPlayTimer=setInterval(()=>{this.progressPercentage=Math.min(100,this.progressPercentage+t)},o.PROGRESS_UPDATE_INTERVAL),this.autoPlayTimeout=setTimeout(()=>{this.isPaused||(this.nextPage(),this.startAutoPlay())},this.autoPlayDuration)}nextPage(){this.currentPage=(this.currentPage+1)%this.totalPages,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play()}previousPage(){this.currentPage=(this.currentPage-1+this.totalPages)%this.totalPages,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play()}goToPage(t){t>=0&&t<this.totalPages&&t!==this.currentPage&&(this.currentPage=t,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play())}_handleKeydown(t){"ArrowRight"===t.key?(t.preventDefault(),this.nextPage(),this.pause()):"ArrowLeft"===t.key&&(t.preventDefault(),this.previousPage(),this.pause())}_handleTouchStart(t){t.changedTouches&&t.changedTouches.length>0&&(this.touchStartX=t.changedTouches[0].screenX)}_handleTouchEnd(t){t.changedTouches&&t.changedTouches.length>0&&(this.touchEndX=t.changedTouches[0].screenX,this._handleSwipe())}_handleSwipe(){if(null===this.touchStartX||null===this.touchEndX)return;const t=this.touchStartX-this.touchEndX;Math.abs(t)>o.SWIPE_THRESHOLD&&(t>0?(this.nextPage(),this.pause()):(this.previousPage(),this.pause()))}render(){return i.qy`
244
- <div
245
- class="carousel-container"
246
- role="region"
247
- aria-label="Content carousel"
248
- >
249
- <div class="carousel-slides">
250
- <div class="carousel-track">
251
- <slot @slotchange=${()=>{if(!this._initialized){const t=this.shadowRoot.querySelector("slot");if(t){const e=t.assignedElements();this.totalSlides=e.length,this.updateItemVisibility(),this.requestUpdate()}}}}></slot>
252
- </div>
253
- </div>
254
-
255
- ${this.totalSlides>0?i.qy`
256
- <div class="carousel-controls">
257
- <button
258
- class="carousel-button"
259
- @click=${()=>this.previousPage()}
260
- aria-label="Previous page"
261
- >
262
- <cfa-icon>arrow_back</cfa-icon>
263
- </button>
264
-
265
- <div class="carousel-pagination">
266
- ${Array.from({length:this.totalPages}).map((t,e)=>i.qy`
267
- <button
268
- class="carousel-dot"
269
- @click=${()=>this.goToPage(e)}
270
- aria-label="Go to page ${e+1} of ${this.totalPages}"
271
- aria-current=${e===this.currentPage?"true":"false"}
272
- >
273
- ${e!==this.currentPage||this.prefersReducedMotion?"":i.qy`<div
274
- class="carousel-dot-progress"
275
- style="width: ${this.progressPercentage}%"
276
- ></div>`}
277
- </button>
278
- `)}
279
- </div>
280
-
281
- <button
282
- class="carousel-button"
283
- @click=${()=>this.nextPage()}
284
- aria-label="Next page"
285
- >
286
- <cfa-icon>arrow_forward</cfa-icon>
287
- </button>
288
- </div>
289
- `:""}
290
- </div>
291
- `}}customElements.get("cfa-carousel")||customElements.define("cfa-carousel",o)})();
2
+ (()=>{"use strict";var t={562(t,e,s){var i,n,r,o,a,l=s(161),h=s(601);function c(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}class u extends l.WF{render(){return(0,l.qy)(i||(i=c(['\n <span class="icon">\n <slot></slot>\n </span>\n '])))}}r=u,o="styles",a=[h.s,(0,l.AH)(n||(n=c(['\n :host {\n --size: 1.2em;\n\n display: inline;\n line-height: inherit;\n }\n\n .icon {\n -webkit-font-feature-settings: "liga";\n direction: ltr;\n display: inline-block;\n font-family: "Material Symbols Rounded";\n font-size: var(--size);\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n margin-top: -0.1em;\n text-transform: none;\n vertical-align: middle;\n white-space: nowrap;\n word-wrap: normal;\n }\n '])))],(o=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(o))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a,customElements.get("cfa-icon")||customElements.define("cfa-icon",u)},601(t,e,s){var i;s.d(e,{s:()=>n});const n=(0,s(161).AH)(i||(r=["\n *:focus-visible,\n *:target {\n outline: var(--focus-outline);\n position: relative;\n }\n\n // RESET\n\n // Use a more-intuitive box-sizing model.\n *, *::before, *::after {\n box-sizing: border-box;\n }\n\n // Remove default margin\n * {\n margin: 0;\n }\n\n // Set default text-wrap of 'pretty'\n * {\n text-wrap: pretty;\n }\n\n // Wrap overly long words\n * {\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n word-break: break-word;\n }\n\n // Fix Safari antialiasing for variable fonts\n * {\n font-synthesis: none !important;\n }\n\n // Improve text rendering\n body {\n -webkit-font-smoothing: antialiased;\n }\n\n // Reasonable media defaults\n img, picture, video, canvas, svg {\n display: block;\n height: auto;\n max-width: 100%;\n }\n\n // Remove built-in form typography styles\n input, button, textarea, select {\n font: inherit;\n }\n\n // Avoid text overflows\n p, h1, h2, h3, h4, h5, h6 {\n overflow-wrap: break-word;\n }\n\n // Create a root stacking context\n #root, #__next {\n isolation: isolate;\n }\n"],o||(o=r.slice(0)),i=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))));var r,o},826(t,e,s){s.d(e,{AH:()=>l,Rf:()=>h,sk:()=>c});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&o.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(s,t,r)},h=(t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,t.appendChild(e)}},c=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,r))(e)})(t):t},760(t,e,s){s.d(e,{AH:()=>i.AH,mN:()=>v});var i=s(826);const{is:n,defineProperty:r,getOwnPropertyDescriptor:o,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,u=c.trustedTypes,d=u?u.emptyScript:"",p=c.reactiveElementPolyfillSupport,m=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?d:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>!n(t,e),_={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class v extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=_){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&r(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=o(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);n?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??_}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,i.sk)(t))}else void 0!==t&&e.push((0,i.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const n=(void 0!==s.converter?.toAttribute?s.converter:g).toAttribute(e,s.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=i;const r=n.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(void 0!==t){const r=this.constructor;if(!1===i&&(n=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??f)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[m("elementProperties")]=new Map,v[m("finalized")]=new Map,p?.({ReactiveElement:v}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>o,qy:()=>n.qy});var i=s(760),n=s(752);const r=globalThis;class o extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}}o._$litElement$=!0,o.finalized=!0,r.litElementHydrateSupport?.({LitElement:o});const a=r.litElementPolyfillSupport;a?.({LitElement:o}),(r.litElementVersions??=[]).push("4.2.2")},752(t,e,s){s.d(e,{XX:()=>V,c0:()=>w,qy:()=>E});const i=globalThis,n=t=>t,r=i.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+l,c=`<${h}>`,u=document,d=()=>u.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,g="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,v=/>/g,y=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,P=/"/g,A=/^(?:script|style|textarea|title)$/i,b=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),E=b(1),w=(b(2),b(3),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),T=new WeakMap,x=u.createTreeWalker(u,129);function C(t,e){if(!m(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const O=(t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=f;for(let e=0;e<s;e++){const s=t[e];let h,u,d=-1,p=0;for(;p<s.length&&(o.lastIndex=p,u=o.exec(s),null!==u);)p=o.lastIndex,o===f?"!--"===u[1]?o=_:void 0!==u[1]?o=v:void 0!==u[2]?(A.test(u[2])&&(n=RegExp("</"+u[2],"g")),o=y):void 0!==u[3]&&(o=y):o===y?">"===u[0]?(o=n??f,d=-1):void 0===u[1]?d=-2:(d=o.lastIndex-u[2].length,h=u[1],o=void 0===u[3]?y:'"'===u[3]?P:$):o===P||o===$?o=y:o===_||o===v?o=f:(o=y,n=void 0);const m=o===y&&t[e+1].startsWith("/>")?" ":"";r+=o===f?s+c:d>=0?(i.push(h),s.slice(0,d)+a+s.slice(d)+l+m):s+l+(-2===d?e:m)}return[C(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class R{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const c=t.length-1,u=this.parts,[p,m]=O(t,e);if(this.el=R.createElement(p,s),x.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=x.nextNode())&&u.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(a)){const e=m[o++],s=i.getAttribute(t).split(l),r=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:r[2],strings:s,ctor:"."===r[1]?k:"?"===r[1]?I:"@"===r[1]?N:U}),i.removeAttribute(t)}else t.startsWith(l)&&(u.push({type:6,index:n}),i.removeAttribute(t));if(A.test(i.tagName)){const t=i.textContent.split(l),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],d()),x.nextNode(),u.push({type:2,index:++n});i.append(t[e],d())}}}else if(8===i.nodeType)if(i.data===h)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(l,t+1));)u.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const s=u.createElement("template");return s.innerHTML=t,s}}function z(t,e,s=t,i){if(e===w)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const r=p(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=z(t,n._$AS(t,e.values),n,i)),e}class L{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??u).importNode(e,!0);x.currentNode=i;let n=x.nextNode(),r=0,o=0,a=s[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new H(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new M(n,this,t)),this._$AV.push(e),a=s[++o]}r!==a?.index&&(n=x.nextNode(),r++)}return x.currentNode=u,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=z(this,t,e),p(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==w&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>m(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==S&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=R.createElement(C(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new L(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new R(t)),e}k(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new H(this.O(d()),this.O(d()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=n(t).nextSibling;n(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class U{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=S}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=z(this,t,e,0),r=!p(t)||t!==this._$AH&&t!==w,r&&(this._$AH=t);else{const i=t;let o,a;for(t=n[0],o=0;o<n.length-1;o++)a=z(this,i[s+o],e,o),a===w&&(a=this._$AH[o]),r||=!p(a)||a!==this._$AH[o],a===S?t=S:t!==S&&(t+=(a??"")+n[o+1]),this._$AH[o]=a}r&&!i&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class k extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class I extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class N extends U{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=z(this,t,e,0)??S)===w)return;const s=this._$AH,i=t===S&&s!==S||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==S&&(s===S||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class M{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const D=i.litHtmlPolyfillSupport;D?.(R,H),(i.litHtmlVersions??=[]).push("3.3.3");const V=(t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new H(e.insertBefore(d(),t),t,void 0,s??{})}return n._$AI(t),n}},161(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>i.WF,qy:()=>i.qy}),s(760),s(752);var i=s(228)}},e={};function s(i){var n=e[i];if(void 0!==n)return n.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,s),r.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i,n,r,o,a,l=s(161),h=s(601);function c(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function u(t,e,s){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}s(562);class d extends l.WF{constructor(){super(),this.currentPage=0,this.totalSlides=0,this.progressPercentage=0,this.isPaused=!0,this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.itemsPerView=d.ITEMS_PER_VIEW_DESKTOP,this.autoPlay=!0,this.autoPlayDuration=Math.max(100,d.AUTOPLAY_DURATION),this.autoPlayTimer=null,this.autoPlayTimeout=null,this.touchStartX=null,this.touchEndX=null,this._initialized=!1,this._resizeTimerId=null,this._mouseEnterListener=null,this._mouseLeaveListener=null}connectedCallback(){super.connectedCallback();const t=this.getAttribute("items-per-view");if(null!==t){const e=parseInt(t,10);isNaN(e)||(this.itemsPerView=e)}this.style.setProperty("--items-per-view",this.itemsPerView),this.addEventListener("keydown",t=>this._handleKeydown(t)),this.addEventListener("touchstart",t=>this._handleTouchStart(t),!1),this.addEventListener("touchend",t=>this._handleTouchEnd(t),!1),this._resizeListener=()=>{this._resizeTimerId&&clearTimeout(this._resizeTimerId),this._resizeTimerId=setTimeout(()=>{this.updateItemsPerView(),this.updateCarouselHeight()},150)},window.addEventListener("resize",this._resizeListener)}disconnectedCallback(){var t;super.disconnectedCallback(),this.stopAutoPlay(),this._resizeListener&&window.removeEventListener("resize",this._resizeListener),this._resizeTimerId&&clearTimeout(this._resizeTimerId);const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".carousel-slides");e&&this._mouseEnterListener&&this._mouseLeaveListener&&(e.removeEventListener("mouseenter",this._mouseEnterListener),e.removeEventListener("mouseleave",this._mouseLeaveListener))}updated(t){t.has("itemsPerView")&&this.style.setProperty("--items-per-view",this.itemsPerView),t.has("currentPage")&&this.updateItemVisibility()}firstUpdated(){const t=this.shadowRoot.querySelector("slot"),e=this.shadowRoot.querySelector(".carousel-slides");t&&!this._slotChangeSetup&&(this._slotChangeSetup=!0,t.addEventListener("slotchange",()=>{this._slotChangeTimeout&&clearTimeout(this._slotChangeTimeout),this._slotChangeTimeout=setTimeout(()=>{this._initialized||this._initializeCarousel()},50)})),e&&!this._mouseEnterListener&&(this._mouseEnterListener=()=>{this.stopAutoPlay()},this._mouseLeaveListener=()=>{this.isPaused||this._scheduleNextPage()},e.addEventListener("mouseenter",this._mouseEnterListener),e.addEventListener("mouseleave",this._mouseLeaveListener))}_initializeCarousel(){if(this._initialized)return;const t=this.shadowRoot.querySelector("slot");if(!t)return;const e=t.assignedElements();0!==e.length&&(this._initialized=!0,this.totalSlides=e.length,this.updateItemsPerView(),this.updateItemVisibility(),this.startAutoPlay(),this._waitForImages(e,5e3).then(()=>{this.updateCarouselHeight()}))}_waitForImages(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;return Promise.race([Promise.all(Array.from(t).map(t=>Promise.all(Array.from(t.querySelectorAll("img")).map(t=>t.complete?Promise.resolve():new Promise(e=>{t.addEventListener("load",e,{once:!0}),t.addEventListener("error",e,{once:!0})}))))),new Promise((t,s)=>setTimeout(()=>s(new Error("Image load timeout")),e))]).catch(()=>Promise.resolve())}get totalPages(){return Math.ceil(this.totalSlides/this.itemsPerView)}updateItemsPerView(){if(this.hasAttribute("items-per-view"))return;const t=window.innerWidth>=d.DESKTOP_BREAKPOINT?d.ITEMS_PER_VIEW_DESKTOP:d.ITEMS_PER_VIEW_MOBILE;t!==this.itemsPerView&&(this.itemsPerView=t,this.style.setProperty("--items-per-view",this.itemsPerView),this.currentPage>=this.totalPages&&(this.currentPage=0),this.requestUpdate())}updateItemVisibility(){const t=this.shadowRoot.querySelector("slot");if(!t)return;const e=t.assignedElements();if(0===e.length)return;const s=this.currentPage*this.itemsPerView,i=s+this.itemsPerView;e.forEach((t,e)=>{e>=s&&e<i?t.setAttribute("data-slide-active",""):t.removeAttribute("data-slide-active")}),this.updateCarouselHeight()}updateCarouselHeight(){const t=this.shadowRoot.querySelector("slot"),e=this.shadowRoot.querySelector(".carousel-slides");if(!t||!e)return;const s=t.assignedElements();if(0===s.length)return;const i=this.currentPage*this.itemsPerView,n=i+this.itemsPerView;requestAnimationFrame(()=>{requestAnimationFrame(()=>{setTimeout(()=>{let t=0;for(let e=i;e<n&&e<s.length;e++){const i=s[e].offsetHeight;t=Math.max(t,i)}const r=Math.max(t,d.SHADOW_SPACE);e.style.height=r+"px"},0)})})}startAutoPlay(){this.autoPlay&&!this.prefersReducedMotion&&0!==this.totalSlides?(this.isPaused=!1,this.progressPercentage=0,this._scheduleNextPage()):this.isPaused=!0}play(){this.prefersReducedMotion||this.startAutoPlay()}pause(){this.isPaused=!0,this.stopAutoPlay()}stopAutoPlay(){this.autoPlayTimer&&(clearInterval(this.autoPlayTimer),this.autoPlayTimer=null),this.autoPlayTimeout&&(clearTimeout(this.autoPlayTimeout),this.autoPlayTimeout=null)}_scheduleNextPage(){this.stopAutoPlay();const t=100/(this.autoPlayDuration/d.PROGRESS_UPDATE_INTERVAL);this.autoPlayTimer=setInterval(()=>{this.progressPercentage=Math.min(100,this.progressPercentage+t)},d.PROGRESS_UPDATE_INTERVAL),this.autoPlayTimeout=setTimeout(()=>{this.isPaused||(this.nextPage(),this.startAutoPlay())},this.autoPlayDuration)}nextPage(){this.currentPage=(this.currentPage+1)%this.totalPages,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play()}previousPage(){this.currentPage=(this.currentPage-1+this.totalPages)%this.totalPages,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play()}goToPage(t){t>=0&&t<this.totalPages&&t!==this.currentPage&&(this.currentPage=t,this.progressPercentage=0,this.stopAutoPlay(),this.requestUpdate(),this.play())}_handleKeydown(t){"ArrowRight"===t.key?(t.preventDefault(),this.nextPage(),this.pause()):"ArrowLeft"===t.key&&(t.preventDefault(),this.previousPage(),this.pause())}_handleTouchStart(t){t.changedTouches&&t.changedTouches.length>0&&(this.touchStartX=t.changedTouches[0].screenX)}_handleTouchEnd(t){t.changedTouches&&t.changedTouches.length>0&&(this.touchEndX=t.changedTouches[0].screenX,this._handleSwipe())}_handleSwipe(){if(null===this.touchStartX||null===this.touchEndX)return;const t=this.touchStartX-this.touchEndX;Math.abs(t)>d.SWIPE_THRESHOLD&&(t>0?(this.nextPage(),this.pause()):(this.previousPage(),this.pause()))}render(){return(0,l.qy)(i||(i=c(['\n <div\n class="carousel-container"\n role="region"\n aria-label="Content carousel"\n >\n <div class="carousel-slides">\n <div class="carousel-track">\n <slot @slotchange=',"></slot>\n </div>\n </div>\n\n ","\n </div>\n "])),()=>{if(!this._initialized){const t=this.shadowRoot.querySelector("slot");if(t){const e=t.assignedElements();this.totalSlides=e.length,this.updateItemVisibility(),this.requestUpdate()}}},this.totalSlides>0?(0,l.qy)(n||(n=c(['\n <div class="carousel-controls">\n <button\n class="carousel-button"\n @click=','\n aria-label="Previous page"\n >\n <cfa-icon>arrow_back</cfa-icon>\n </button>\n\n <div class="carousel-pagination">\n ','\n </div>\n\n <button\n class="carousel-button"\n @click=','\n aria-label="Next page"\n >\n <cfa-icon>arrow_forward</cfa-icon>\n </button>\n </div>\n '])),()=>this.previousPage(),Array.from({length:this.totalPages}).map((t,e)=>(0,l.qy)(r||(r=c(['\n <button\n class="carousel-dot"\n @click=','\n aria-label="Go to page '," of ",'"\n aria-current=',"\n >\n ","\n </button>\n "])),()=>this.goToPage(e),e+1,this.totalPages,e===this.currentPage?"true":"false",e!==this.currentPage||this.prefersReducedMotion?"":(0,l.qy)(o||(o=c(['<div\n class="carousel-dot-progress"\n style="width: ','%"\n ></div>'])),this.progressPercentage))),()=>this.nextPage()):"")}}u(d,"SWIPE_THRESHOLD",50),u(d,"SHADOW_SPACE",32),u(d,"PROGRESS_UPDATE_INTERVAL",100),u(d,"AUTOPLAY_DURATION",1e4),u(d,"DESKTOP_BREAKPOINT",768),u(d,"ITEMS_PER_VIEW_DESKTOP",3),u(d,"ITEMS_PER_VIEW_MOBILE",1),u(d,"properties",{currentPage:{type:Number,state:!0},totalSlides:{type:Number,state:!0},progressPercentage:{type:Number,state:!0},isPaused:{type:Boolean,state:!0},prefersReducedMotion:{type:Boolean,state:!0},itemsPerView:{type:Number},autoPlay:{type:Boolean},autoPlayDuration:{type:Number}}),u(d,"styles",[h.s,(0,l.AH)(a||(a=c(['\n :host {\n --carousel-fade-duration: 300ms;\n --carousel-control-size: var(--spacing-layout-2);\n --carousel-dot-size: var(--spacing-component-3);\n --carousel-dot-gap: var(--spacing-component-3);\n --carousel-dot-color: var(--black-20);\n --carousel-dot-active-color: var(--purple-60);\n --carousel-gap: var(--spacing-layout-1);\n }\n\n .carousel-container {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-component-3);\n }\n\n .carousel-slides {\n width: 100%;\n overflow: hidden;\n transition: height 400ms ease-in-out;\n height: auto;\n }\n\n .carousel-track {\n display: flex;\n gap: var(--carousel-gap);\n }\n\n ::slotted(*) {\n flex: 0 0 calc((100% - (var(--items-per-view, 3) - 1) * var(--carousel-gap)) / var(--items-per-view, 3));\n display: none;\n opacity: 0;\n transition: opacity var(--carousel-fade-duration) ease-in-out;\n }\n\n ::slotted([data-slide-active]) {\n display: block;\n opacity: 1;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .carousel-slides {\n transition: none;\n }\n \n ::slotted(*) {\n transition: none;\n }\n }\n\n .carousel-controls {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--spacing-component-3);\n }\n\n .carousel-button {\n background-color: transparent;\n border: 0;\n border-radius: 50%;\n color: var(--text-color);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 1.5rem;\n height: var(--carousel-control-size);\n width: var(--carousel-control-size);\n transition: all 0.2s ease-in-out;\n flex-shrink: 0;\n }\n\n .carousel-button:hover {\n background-color: var(--purple-20);\n border-color: var(--purple-60);\n color: var(--purple-80);\n }\n\n .carousel-button:focus-visible {\n outline: var(--focus-outline);\n outline-offset: 2px;\n }\n\n .carousel-button cfa-icon {\n --size: var(--font-size);\n color: var(--purple-80);\n }\n\n .carousel-pagination {\n display: flex;\n align-items: center;\n gap: var(--carousel-dot-gap);\n flex-wrap: wrap;\n justify-content: center;\n }\n\n .carousel-dot {\n background-color: var(--carousel-dot-color);\n border: none;\n border-radius: 50%;\n cursor: pointer;\n height: var(--carousel-dot-size);\n min-width: var(--carousel-dot-size);\n padding: 0;\n position: relative;\n transition: all 0.3s ease-in-out;\n }\n\n .carousel-dot:hover {\n background-color: var(--gray-60);\n }\n\n .carousel-dot:focus-visible {\n outline: var(--focus-outline);\n outline-offset: 3px;\n }\n\n .carousel-dot[aria-current="true"] {\n background-color: var(--carousel-dot-color);\n border-radius: var(--carousel-dot-size);\n min-width: calc(var(--carousel-dot-size) * 4);\n overflow: hidden;\n }\n\n .carousel-dot-progress {\n background-color: var(--carousel-dot-active-color);\n height: 100%;\n width: 0%;\n transition: width 100ms linear;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .carousel-dot-progress {\n transition: none;\n }\n }\n\n @media (max-width: 768px) {\n /* Note: 768px matches Carousel.DESKTOP_BREAKPOINT - keep in sync */\n .carousel-button {\n font-size: 1.25rem;\n height: calc(var(--carousel-control-size) * 0.85);\n width: calc(var(--carousel-control-size) * 0.85);\n }\n\n .carousel-dot {\n height: calc(var(--carousel-dot-size) * 0.8);\n min-width: calc(var(--carousel-dot-size) * 0.8);\n }\n }\n '])))]),customElements.get("cfa-carousel")||customElements.define("cfa-carousel",d)})();
@@ -1,91 +1,2 @@
1
1
  /*! For license information please see icon.js.LICENSE.txt */
2
- (()=>{"use strict";var t={601(t,e,s){s.d(e,{s:()=>i});const i=s(161).AH`
3
- *:focus-visible,
4
- *:target {
5
- outline: var(--focus-outline);
6
- position: relative;
7
- }
8
-
9
- // RESET
10
-
11
- // Use a more-intuitive box-sizing model.
12
- *, *::before, *::after {
13
- box-sizing: border-box;
14
- }
15
-
16
- // Remove default margin
17
- * {
18
- margin: 0;
19
- }
20
-
21
- // Set default text-wrap of 'pretty'
22
- * {
23
- text-wrap: pretty;
24
- }
25
-
26
- // Wrap overly long words
27
- * {
28
- overflow-wrap: break-word;
29
- text-overflow: ellipsis;
30
- word-break: break-word;
31
- }
32
-
33
- // Fix Safari antialiasing for variable fonts
34
- * {
35
- font-synthesis: none !important;
36
- }
37
-
38
- // Improve text rendering
39
- body {
40
- -webkit-font-smoothing: antialiased;
41
- }
42
-
43
- // Reasonable media defaults
44
- img, picture, video, canvas, svg {
45
- display: block;
46
- height: auto;
47
- max-width: 100%;
48
- }
49
-
50
- // Remove built-in form typography styles
51
- input, button, textarea, select {
52
- font: inherit;
53
- }
54
-
55
- // Avoid text overflows
56
- p, h1, h2, h3, h4, h5, h6 {
57
- overflow-wrap: break-word;
58
- }
59
-
60
- // Create a root stacking context
61
- #root, #__next {
62
- isolation: isolate;
63
- }
64
- `},826(t,e,s){s.d(e,{AH:()=>a,Rf:()=>l,sk:()=>c});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new h(s,t,r)},l=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},c=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,r))(e)})(t):t},760(t,e,s){s.d(e,{AH:()=>i.AH,mN:()=>A});var i=s(826);const{is:o,defineProperty:r,getOwnPropertyDescriptor:n,getOwnPropertyNames:h,getOwnPropertySymbols:a,getPrototypeOf:l}=Object,c=globalThis,d=c.trustedTypes,p=d?d.emptyScript:"",u=c.reactiveElementPolyfillSupport,$=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>!o(t,e),m={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class A extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&r(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);o?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??m}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const t=this.properties,e=[...h(t),...a(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,i.sk)(t))}else void 0!==t&&e.push((0,i.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:_;this._$Em=i;const r=o.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,o){if(void 0!==t){const r=this.constructor;if(!1===i&&(o=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??f)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==o||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[$("elementProperties")]=new Map,A[$("finalized")]=new Map,u?.({ReactiveElement:A}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>n,qy:()=>o.qy});var i=s(760),o=s(752);const r=globalThis;class n extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}n._$litElement$=!0,n.finalized=!0,r.litElementHydrateSupport?.({LitElement:n});const h=r.litElementPolyfillSupport;h?.({LitElement:n}),(r.litElementVersions??=[]).push("4.2.2")},752(t,e,s){s.d(e,{XX:()=>I,c0:()=>w,qy:()=>S});const i=globalThis,o=t=>t,r=i.trustedTypes,n=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,d=document,p=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,_="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,A=/>/g,y=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,v=/"/g,b=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),S=E(1),w=(E(2),E(3),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),C=new WeakMap,P=d.createTreeWalker(d,129);function H(t,e){if(!$(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const U=(t,e)=>{const s=t.length-1,i=[];let o,r=2===e?"<svg>":3===e?"<math>":"",n=f;for(let e=0;e<s;e++){const s=t[e];let l,d,p=-1,u=0;for(;u<s.length&&(n.lastIndex=u,d=n.exec(s),null!==d);)u=n.lastIndex,n===f?"!--"===d[1]?n=m:void 0!==d[1]?n=A:void 0!==d[2]?(b.test(d[2])&&(o=RegExp("</"+d[2],"g")),n=y):void 0!==d[3]&&(n=y):n===y?">"===d[0]?(n=o??f,p=-1):void 0===d[1]?p=-2:(p=n.lastIndex-d[2].length,l=d[1],n=void 0===d[3]?y:'"'===d[3]?v:g):n===v||n===g?n=y:n===m||n===A?n=f:(n=y,o=void 0);const $=n===y&&t[e+1].startsWith("/>")?" ":"";r+=n===f?s+c:p>=0?(i.push(l),s.slice(0,p)+h+s.slice(p)+a+$):s+a+(-2===p?e:$)}return[H(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class O{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0;const c=t.length-1,d=this.parts,[u,$]=U(t,e);if(this.el=O.createElement(u,s),P.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=P.nextNode())&&d.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=$[n++],s=i.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:o,name:r[2],strings:s,ctor:"."===r[1]?k:"?"===r[1]?z:"@"===r[1]?j:T}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:o}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],p()),P.nextNode(),d.push({type:2,index:++o});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===l)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:o}),t+=a.length-1}o++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function R(t,e,s=t,i){if(e===w)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const r=u(e)?void 0:e._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),void 0===r?o=void 0:(o=new r(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=R(t,o._$AS(t,e.values),o,i)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);P.currentNode=i;let o=P.nextNode(),r=0,n=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new N(o,o.nextSibling,this,t):1===h.type?e=new h.ctor(o,h.name,h.strings,this,t):6===h.type&&(e=new D(o,this,t)),this._$AV.push(e),h=s[++n]}r!==h?.index&&(o=P.nextNode(),r++)}return P.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==w&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>$(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=O.createElement(H(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new M(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new O(t)),e}k(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new N(this.O(p()),this.O(p()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=o(t).nextSibling;o(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class T{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x}_$AI(t,e=this,s,i){const o=this.strings;let r=!1;if(void 0===o)t=R(this,t,e,0),r=!u(t)||t!==this._$AH&&t!==w,r&&(this._$AH=t);else{const i=t;let n,h;for(t=o[0],n=0;n<o.length-1;n++)h=R(this,i[s+n],e,n),h===w&&(h=this._$AH[n]),r||=!u(h)||h!==this._$AH[n],h===x?t=x:t!==x&&(t+=(h??"")+o[n+1]),this._$AH[n]=h}r&&!i&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class k extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}class z extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==x)}}class j extends T{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??x)===w)return;const s=this._$AH,i=t===x&&s!==x||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==x&&(s===x||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class D{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const L=i.litHtmlPolyfillSupport;L?.(O,N),(i.litHtmlVersions??=[]).push("3.3.2");const I=(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new N(e.insertBefore(p(),t),t,void 0,s??{})}return o._$AI(t),o}},161(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>i.WF,qy:()=>i.qy}),s(760),s(752);var i=s(228)}},e={};function s(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,s),r.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=s(161),o=s(601);class r extends i.WF{static styles=(()=>[o.s,i.AH`
65
- :host {
66
- --size: 1.2em;
67
-
68
- display: inline;
69
- line-height: inherit;
70
- }
71
-
72
- .icon {
73
- -webkit-font-feature-settings: "liga";
74
- direction: ltr;
75
- display: inline-block;
76
- font-family: "Material Symbols Rounded";
77
- font-size: var(--size);
78
- font-style: normal;
79
- font-weight: normal;
80
- letter-spacing: normal;
81
- margin-top: -0.1em;
82
- text-transform: none;
83
- vertical-align: middle;
84
- white-space: nowrap;
85
- word-wrap: normal;
86
- }
87
- `])();render(){return i.qy`
88
- <span class="icon">
89
- <slot></slot>
90
- </span>
91
- `}}customElements.get("cfa-icon")||customElements.define("cfa-icon",r)})();
2
+ (()=>{"use strict";var t={601(t,e,s){var i;s.d(e,{s:()=>n});const n=(0,s(161).AH)(i||(r=["\n *:focus-visible,\n *:target {\n outline: var(--focus-outline);\n position: relative;\n }\n\n // RESET\n\n // Use a more-intuitive box-sizing model.\n *, *::before, *::after {\n box-sizing: border-box;\n }\n\n // Remove default margin\n * {\n margin: 0;\n }\n\n // Set default text-wrap of 'pretty'\n * {\n text-wrap: pretty;\n }\n\n // Wrap overly long words\n * {\n overflow-wrap: break-word;\n text-overflow: ellipsis;\n word-break: break-word;\n }\n\n // Fix Safari antialiasing for variable fonts\n * {\n font-synthesis: none !important;\n }\n\n // Improve text rendering\n body {\n -webkit-font-smoothing: antialiased;\n }\n\n // Reasonable media defaults\n img, picture, video, canvas, svg {\n display: block;\n height: auto;\n max-width: 100%;\n }\n\n // Remove built-in form typography styles\n input, button, textarea, select {\n font: inherit;\n }\n\n // Avoid text overflows\n p, h1, h2, h3, h4, h5, h6 {\n overflow-wrap: break-word;\n }\n\n // Create a root stacking context\n #root, #__next {\n isolation: isolate;\n }\n"],o||(o=r.slice(0)),i=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))));var r,o},826(t,e,s){s.d(e,{AH:()=>a,Rf:()=>l,sk:()=>c});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&o.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new h(s,t,r)},l=(t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=s.cssText,t.appendChild(e)}},c=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,r))(e)})(t):t},760(t,e,s){s.d(e,{AH:()=>i.AH,mN:()=>y});var i=s(826);const{is:n,defineProperty:r,getOwnPropertyDescriptor:o,getOwnPropertyNames:h,getOwnPropertySymbols:a,getPrototypeOf:l}=Object,c=globalThis,d=c.trustedTypes,p=d?d.emptyScript:"",u=c.reactiveElementPolyfillSupport,$=(t,e)=>t,f={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},_=(t,e)=>!n(t,e),m={attribute:!0,type:String,converter:f,reflect:!1,useDefault:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&r(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=o(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);n?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??m}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const t=this.properties,e=[...h(t),...a(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,i.sk)(t))}else void 0!==t&&e.push((0,i.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const n=(void 0!==s.converter?.toAttribute?s.converter:f).toAttribute(e,s.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:f;this._$Em=i;const r=n.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(void 0!==t){const r=this.constructor;if(!1===i&&(n=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??_)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[$("elementProperties")]=new Map,y[$("finalized")]=new Map,u?.({ReactiveElement:y}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>o,qy:()=>n.qy});var i=s(760),n=s(752);const r=globalThis;class o extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}}o._$litElement$=!0,o.finalized=!0,r.litElementHydrateSupport?.({LitElement:o});const h=r.litElementPolyfillSupport;h?.({LitElement:o}),(r.litElementVersions??=[]).push("4.2.2")},752(t,e,s){s.d(e,{XX:()=>I,c0:()=>S,qy:()=>w});const i=globalThis,n=t=>t,r=i.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,d=document,p=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,f="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,y=/>/g,A=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,v=/"/g,b=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),w=E(1),S=(E(2),E(3),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),P=new WeakMap,C=d.createTreeWalker(d,129);function O(t,e){if(!$(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const H=(t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=_;for(let e=0;e<s;e++){const s=t[e];let l,d,p=-1,u=0;for(;u<s.length&&(o.lastIndex=u,d=o.exec(s),null!==d);)u=o.lastIndex,o===_?"!--"===d[1]?o=m:void 0!==d[1]?o=y:void 0!==d[2]?(b.test(d[2])&&(n=RegExp("</"+d[2],"g")),o=A):void 0!==d[3]&&(o=A):o===A?">"===d[0]?(o=n??_,p=-1):void 0===d[1]?p=-2:(p=o.lastIndex-d[2].length,l=d[1],o=void 0===d[3]?A:'"'===d[3]?v:g):o===v||o===g?o=A:o===m||o===y?o=_:(o=A,n=void 0);const $=o===A&&t[e+1].startsWith("/>")?" ":"";r+=o===_?s+c:p>=0?(i.push(l),s.slice(0,p)+h+s.slice(p)+a+$):s+a+(-2===p?e:$)}return[O(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class U{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const c=t.length-1,d=this.parts,[u,$]=H(t,e);if(this.el=U.createElement(u,s),C.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=C.nextNode())&&d.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=$[o++],s=i.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:n,name:r[2],strings:s,ctor:"."===r[1]?k:"?"===r[1]?j:"@"===r[1]?z:N}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:n}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],p()),C.nextNode(),d.push({type:2,index:++n});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===l)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function R(t,e,s=t,i){if(e===S)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const r=u(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=R(t,n._$AS(t,e.values),n,i)),e}class T{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);C.currentNode=i;let n=C.nextNode(),r=0,o=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new M(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new D(n,this,t)),this._$AV.push(e),h=s[++o]}r!==h?.index&&(n=C.nextNode(),r++)}return C.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class M{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>$(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=U.createElement(O(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new T(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=P.get(t.strings);return void 0===e&&P.set(t.strings,e=new U(t)),e}k(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new M(this.O(p()),this.O(p()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=n(t).nextSibling;n(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=R(this,t,e,0),r=!u(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{const i=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=R(this,i[s+o],e,o),h===S&&(h=this._$AH[o]),r||=!u(h)||h!==this._$AH[o],h===x?t=x:t!==x&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!i&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class k extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}class j extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==x)}}class z extends N{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??x)===S)return;const s=this._$AH,i=t===x&&s!==x||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==x&&(s===x||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class D{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const L=i.litHtmlPolyfillSupport;L?.(U,M),(i.litHtmlVersions??=[]).push("3.3.3");const I=(t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new M(e.insertBefore(p(),t),t,void 0,s??{})}return n._$AI(t),n}},161(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>i.WF,qy:()=>i.qy}),s(760),s(752);var i=s(228)}},e={};function s(i){var n=e[i];if(void 0!==n)return n.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,s),r.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i,n,r,o,h,a=s(161),l=s(601);function c(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}class d extends a.WF{render(){return(0,a.qy)(i||(i=c(['\n <span class="icon">\n <slot></slot>\n </span>\n '])))}}r=d,o="styles",h=[l.s,(0,a.AH)(n||(n=c(['\n :host {\n --size: 1.2em;\n\n display: inline;\n line-height: inherit;\n }\n\n .icon {\n -webkit-font-feature-settings: "liga";\n direction: ltr;\n display: inline-block;\n font-family: "Material Symbols Rounded";\n font-size: var(--size);\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n margin-top: -0.1em;\n text-transform: none;\n vertical-align: middle;\n white-space: nowrap;\n word-wrap: normal;\n }\n '])))],(o=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(o))in r?Object.defineProperty(r,o,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[o]=h,customElements.get("cfa-icon")||customElements.define("cfa-icon",d)})();