use-scroll-animate 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +2 -0
  3. package/README_ja.md +2 -0
  4. package/README_zh.md +2 -0
  5. package/dist/chunks/{base-Co98Z2iM.js → base-Cu-86Z31.js} +2 -2
  6. package/dist/chunks/{base-Co98Z2iM.js.map → base-Cu-86Z31.js.map} +1 -1
  7. package/dist/chunks/{index-tags-BEM98giN.cjs → index-tags-DCTX4F9b.cjs} +3 -1
  8. package/dist/chunks/{index-tags-BEM98giN.cjs.map → index-tags-DCTX4F9b.cjs.map} +1 -1
  9. package/dist/chunks/{index-tags-f37txHmb.js → index-tags-DZ-gjMZc.js} +3 -1
  10. package/dist/chunks/{index-tags-f37txHmb.js.map → index-tags-DZ-gjMZc.js.map} +1 -1
  11. package/dist/chunks/{spring-YNUpez2g.js → spring-BV-cpTHC.js} +2 -2
  12. package/dist/chunks/{spring-YNUpez2g.js.map → spring-BV-cpTHC.js.map} +1 -1
  13. package/dist/chunks/{variants-Dp_5lJ_J.js → variants-BQ3gCb5L.js} +2 -2
  14. package/dist/chunks/{variants-Dp_5lJ_J.js.map → variants-BQ3gCb5L.js.map} +1 -1
  15. package/dist/components/background.js +3 -3
  16. package/dist/components/cards.js +3 -3
  17. package/dist/components/click.js +3 -3
  18. package/dist/components/feedback.js +2 -2
  19. package/dist/components/gesture.cjs +387 -0
  20. package/dist/components/gesture.cjs.map +1 -0
  21. package/dist/components/gesture.css +3 -0
  22. package/dist/components/gesture.d.cts +169 -0
  23. package/dist/components/gesture.d.ts +169 -0
  24. package/dist/components/gesture.js +379 -0
  25. package/dist/components/gesture.js.map +1 -0
  26. package/dist/components/interaction.js +2 -2
  27. package/dist/components/jsx.d.cts +2 -0
  28. package/dist/components/jsx.d.ts +2 -0
  29. package/dist/components/lazy.cjs +3 -1
  30. package/dist/components/lazy.cjs.map +1 -1
  31. package/dist/components/lazy.d.cts +2 -0
  32. package/dist/components/lazy.d.ts +2 -0
  33. package/dist/components/lazy.js +3 -1
  34. package/dist/components/lazy.js.map +1 -1
  35. package/dist/components/page.js +3 -3
  36. package/dist/components/physics.js +4 -4
  37. package/dist/components/react.cjs +1 -1
  38. package/dist/components/react.js +1 -1
  39. package/dist/components/reveal.js +2 -2
  40. package/dist/components/text.js +2 -2
  41. package/dist/components/timeline.cjs +303 -0
  42. package/dist/components/timeline.cjs.map +1 -0
  43. package/dist/components/timeline.css +3 -0
  44. package/dist/components/timeline.d.cts +164 -0
  45. package/dist/components/timeline.d.ts +164 -0
  46. package/dist/components/timeline.js +296 -0
  47. package/dist/components/timeline.js.map +1 -0
  48. package/dist/components/transitions.js +2 -2
  49. package/dist/components/ui.js +5 -5
  50. package/dist/components/vue.cjs +3 -1
  51. package/dist/components/vue.cjs.map +1 -1
  52. package/dist/components/vue.d.cts +135 -0
  53. package/dist/components/vue.d.ts +135 -0
  54. package/dist/components/vue.js +6 -4
  55. package/dist/components/vue.js.map +1 -1
  56. package/dist/components.cjs +16 -1
  57. package/dist/components.cjs.map +1 -1
  58. package/dist/components.css +2 -0
  59. package/dist/components.d.cts +243 -2
  60. package/dist/components.d.ts +243 -2
  61. package/dist/components.js +13 -7
  62. package/dist/components.js.map +1 -1
  63. package/dist/components.umd.js +2 -2
  64. package/dist/components.umd.js.map +1 -1
  65. package/docs/components.md +17 -0
  66. package/package.json +24 -2
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).UsaComponents={})}(this,function(t){"use strict";const e={off:0,low:.6,normal:1,high:1.25},s={injectStyles:!0,reducedMotion:"user",motionIntensity:"normal"};function i(t){Object.assign(s,t),t.motionIntensity&&"undefined"!=typeof document&&(document.documentElement.style.setProperty("--usa-motion",String(e[t.motionIntensity]??1)),document.documentElement.setAttribute("data-usa-motion",t.motionIntensity))}function a(){return s.motionIntensity}function r(){return e[s.motionIntensity]??1}const n=()=>"undefined"!=typeof customElements&&"undefined"!=typeof HTMLElement;function o(){return"off"===s.motionIntensity||("user"!==s.reducedMotion?"reduce"===s.reducedMotion:"function"==typeof matchMedia&&!!matchMedia("(prefers-reduced-motion: reduce)").matches)}const u=new Set;function l(t,e){if(!s.injectStyles||!e||u.has(t)||"undefined"==typeof document)return;u.add(t);try{if("function"==typeof CSSStyleSheet&&"adoptedStyleSheets"in document){const t=new CSSStyleSheet;return t.replaceSync(e),void(document.adoptedStyleSheets=[...document.adoptedStyleSheets,t])}}catch{}const i=document.createElement("style");i.setAttribute("data-usa",t),i.textContent=e,(document.head||document.documentElement).appendChild(i)}let c=null;function h(t,e){if(e)for(const[s,i]of Object.entries(e))"offset"!==s&&"easing"!==s&&"composite"!==s&&null!=i&&(t.style[s]=String(i))}function d(t,e,s){if(!n())return;l("base",p),s&&l(s.id,s.text);const i=customElements.get(t);if(i)return i;const a=e(function(){if(c)return c;class t extends HTMLElement{constructor(){super(...arguments),this._cleanups=[],this._connected=!1}get reduced(){return o()}connectedCallback(){if(!this._connected){if(this._connected=!0,"undefined"!=typeof document&&"loading"===document.readyState&&!this.nextSibling&&!this.childNodes.length){const t=()=>{this._connected&&this.isConnected&&this.mount()};return document.addEventListener("DOMContentLoaded",t,{once:!0}),void this._cleanups.push(()=>document.removeEventListener("DOMContentLoaded",t))}this.mount()}}disconnectedCallback(){this._connected=!1,this.teardown()}attributeChangedCallback(t,e,s){this._connected&&e!==s&&this.changed(t)}changed(t){this.teardown(),this.mount()}teardown(){this._cleanups.splice(0).reverse().forEach(t=>t()),this.unmount()}mount(){}unmount(){}str(t,e=""){const s=this.getAttribute(t);return null===s?e:s}num(t,e){const s=this.getAttribute(t),i=null===s||""===s.trim()?NaN:Number(s);return Number.isFinite(i)?i:e}flag(t){const e=this.getAttribute(t);return null!==e&&"false"!==e}setFlag(t,e){e?this.setAttribute(t,""):this.removeAttribute(t)}onCleanup(t){this._cleanups.push(t)}listen(t,e,s,i){t.addEventListener(e,s,i),this.onCleanup(()=>t.removeEventListener(e,s,i))}inView(t,e,s=this){if("undefined"==typeof IntersectionObserver)return void t(!0);const i=new IntersectionObserver(e=>{for(const s of e)t(s.isIntersecting,s)},e);i.observe(s),this.onCleanup(()=>i.disconnect())}motion(t,e,s){if("function"!=typeof t.animate)return h(t,e[e.length-1]),null;const i=r();return 1!==i&&i>0&&"number"==typeof s.duration&&(s={...s,duration:s.duration*i,delay:(s.delay||0)*i}),t.animate(e,s)}emit(t,e){return this.dispatchEvent(new CustomEvent(`usa:${t}`,{detail:e,bubbles:!0,cancelable:!0}))}}return c=t,c}());return customElements.define(t,a),a}const p=".usa-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}";function f(t){const e=document.createElement("span");return e.className="usa-sr",e.textContent=t,e}const m=t=>"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(()=>t(Date.now()),16),g=()=>"undefined"!=typeof performance?performance.now():Date.now(),b=t=>{"function"==typeof cancelAnimationFrame?cancelAnimationFrame(t):clearTimeout(t)},y="cubic-bezier(0.22, 1, 0.36, 1)",v="cubic-bezier(0.34, 1.56, 0.64, 1)",x="cubic-bezier(0.1, 0.9, 0.2, 1)";function w(t,e,s){const i=t.getAttribute("kind");return i&&(Array.isArray(e)?e.includes(i):i in e)?i:s}const k=(t,e,s)=>Math.min(s,Math.max(e,t));function _(t,e){const s=function(t,e=32){const s=`${e}px`;switch(t){case"fade":return{opacity:0};case"fade-down":return{opacity:0,transform:`translate3d(0,-${s},0)`};case"fade-left":return{opacity:0,transform:`translate3d(-${s},0,0)`};case"fade-right":return{opacity:0,transform:`translate3d(${s},0,0)`};case"zoom-in":return{opacity:0,transform:"scale(0.86)"};case"zoom-out":return{opacity:0,transform:"scale(1.14)"};case"blur":return{opacity:0,filter:"blur(12px)"};case"blur-up":return{opacity:0,filter:"blur(10px)",transform:`translate3d(0,${s},0)`};case"flip-up":return{opacity:0,transform:"perspective(800px) rotateX(-55deg)",transformOrigin:"50% 100%"};case"flip-left":return{opacity:0,transform:"perspective(800px) rotateY(55deg)",transformOrigin:"0% 50%"};case"rise":return{opacity:0,transform:`translate3d(0,${1.5*e}px,0) scale(0.96)`};default:return{opacity:0,transform:`translate3d(0,${s},0)`}}}(t,e),i={};for(const t of Object.keys(s))"opacity"===t?i.opacity=1:"transform"===t?i.transform="none":"filter"===t?i.filter="none":"transformOrigin"===t&&(i.transformOrigin=s.transformOrigin);return[s,i]}var A='usa-reveal,usa-stagger{display:block}usa-reveal[data-state="hidden"],usa-stagger[data-state="hidden"]>*{opacity:0}@media (prefers-reduced-motion:reduce){usa-reveal[data-state="hidden"],usa-stagger[data-state="hidden"]>*{opacity:1}}';function M(t="usa-reveal"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null}static get observedAttributes(){return["effect","distance","repeat","threshold","root-margin"]}get effect(){return this.str("effect","fade-up")}set effect(t){this.setAttribute("effect",t)}get revealed(){return"hidden"!==this.getAttribute("data-state")}mount(){this.reduced?this.setAttribute("data-state","shown"):("shown"!==this.getAttribute("data-state")&&this.setAttribute("data-state","hidden"),this.inView(t=>{t?(this.emit("enter"),this.revealed||this.reveal()):(this.emit("leave"),this.flag("repeat")&&this.revealed&&this.reset())},{threshold:this.num("threshold",.15),rootMargin:this.str("root-margin","0px")}))}unmount(){this._anim?.cancel(),this._anim=null}reveal(){if(this._anim?.cancel(),this.setAttribute("data-state","shown"),this.reduced)return Promise.resolve();const t=this.motion(this,_(this.effect,this.num("distance",32)),{duration:this.num("duration",700),delay:this.num("delay",0),easing:this.str("easing",y),fill:"backwards"});return this._anim=t,new Promise(e=>{const s=()=>{this._anim===t&&(this._anim=null),this.emit("complete"),e()};t?t.onfinish=s:s()})}reset(){this._anim?.cancel(),this._anim=null,this.reduced||this.setAttribute("data-state","hidden")}},{id:"reveal",text:A})}function C(t="usa-stagger"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anims=[]}static get observedAttributes(){return["effect","repeat","threshold"]}mount(){this.reduced?this.setAttribute("data-state","shown"):("shown"!==this.getAttribute("data-state")&&this.setAttribute("data-state","hidden"),this.inView(t=>{t&&"hidden"===this.getAttribute("data-state")?(this.emit("enter"),this.reveal()):!t&&this.flag("repeat")&&this.reset()},{threshold:this.num("threshold",.1)}))}unmount(){this.cancel()}cancel(){this._anims.splice(0).forEach(t=>t.cancel())}reveal(){this.cancel(),this.setAttribute("data-state","shown");const t=Array.from(this.children);if(this.reduced||!t.length)return Promise.resolve();const e=_(this.str("effect","fade-up"),this.num("distance",24)),s=this.num("interval",70),i=this.num("delay",0),a=this.num("duration",600),r=this.str("easing",y),n=t.map((t,n)=>this.motion(t,e,{duration:a,easing:r,delay:i+n*s,fill:"backwards"})).filter(t=>!!t);this._anims=n;const o=n[n.length-1];return new Promise(t=>{const e=()=>{this.emit("complete"),t()};o?o.onfinish=e:e()})}reset(){this.cancel(),this.reduced||this.setAttribute("data-state","hidden")}},{id:"reveal",text:A})}function S(t){if("undefined"==typeof window)return 0;const e=window.innerHeight||document.documentElement.clientHeight;if(t){const s=t.getBoundingClientRect(),i=s.height-e;return i<=0?s.top<=0?1:0:k(-s.top/i,0,1)}const s=document.documentElement,i=s.scrollHeight-e;return i<=0?0:k((window.scrollY||s.scrollTop)/i,0,1)}function E(t="usa-scroll-progress"){return d(t,t=>class extends t{constructor(){super(...arguments),this._bar=null,this._p=-1,this._frame=0}static get observedAttributes(){return["target","label"]}get progress(){return Math.max(0,this._p)}mount(){this._bar||(this._bar=document.createElement("span"),this._bar.className="usa-progress-fill",this.replaceChildren(this._bar)),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax","100"),this.hasAttribute("aria-label")||this.setAttribute("aria-label",this.str("label","Reading progress"));const t=()=>{this._frame||(this._frame=m(()=>(this._frame=0,this.update())))};this.listen(window,"scroll",t,{passive:!0}),this.listen(window,"resize",t,{passive:!0}),this.update()}unmount(){b(this._frame),this._frame=0}update(){const t=this.getAttribute("target"),e=S(t?document.querySelector(t):null);if(Math.abs(e-this._p)<5e-4)return;this._p=e,this._bar&&(this._bar.style.transform=`scaleX(${e})`),this.style.setProperty("--usa-progress",String(e));const s=String(Math.round(100*e));this.getAttribute("aria-valuenow")!==s&&this.setAttribute("aria-valuenow",s),this.emit("progress",{progress:e})}},{id:"scroll-progress",text:'usa-scroll-progress{display:block;position:fixed;left:0;right:0;top:0;z-index:1000;height:var(--usa-progress-height,3px);background:var(--usa-progress-track,transparent);pointer-events:none;contain:strict}usa-scroll-progress[position="bottom"]{top:auto;bottom:0}usa-scroll-progress[position="inline"]{position:relative;z-index:auto;border-radius:999px;overflow:hidden}usa-scroll-progress .usa-progress-fill{display:block;height:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--usa-progress-color,linear-gradient(90deg,#7c5cff,#22d3ee));will-change:transform}'})}function $(t="usa-scrolly"){return d(t,t=>class extends t{constructor(){super(...arguments),this._active=-1}static get observedAttributes(){return["offset"]}get active(){return this._active}get steps(){return Array.from(this.querySelectorAll("[data-step]"))}mount(){const t=this.steps;if(!t.length)return;const e=k(this.num("offset",.5),0,1),s=Math.min(99,Math.round(100*e)),i=`-${s}% 0px -${Math.max(0,99-s)}% 0px`;if("undefined"==typeof IntersectionObserver)return void this.activate(0);const a=new IntersectionObserver(e=>{for(const s of e)s.isIntersecting&&this.activate(t.indexOf(s.target))},{rootMargin:i});t.forEach(t=>a.observe(t)),this.onCleanup(()=>a.disconnect()),this._active<0&&this.activate(0,!0)}activate(t,e=!1){const s=this.steps;if(t<0||t>=s.length||t===this._active)return;this._active=t,s.forEach((e,s)=>e.toggleAttribute("data-active",s===t));const i=s[t];this.setAttribute("active",String(t)),this.style.setProperty("--usa-step",String(t)),this.setAttribute("data-step-name",i.dataset.step||String(t)),e||this.emit("step",{index:t,step:i,name:i.dataset.step||""})}},{id:"scrolly",text:"usa-scrolly{display:block;position:relative}usa-scrolly [data-sticky]{position:sticky;top:var(--usa-sticky-top,0px)}usa-scrolly [data-step]{opacity:var(--usa-step-dim,0.35);transition:opacity 0.4s ease}usa-scrolly [data-step][data-active]{opacity:1}@media (prefers-reduced-motion:reduce){usa-scrolly [data-step]{transition:none}}"})}function z(){M(),C(),E(),$()}function T(t="usa-typewriter"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._out=null,this._timer=0,this._running=!1}static get observedAttributes(){return["text","words"]}get phrases(){const t=this.getAttribute("words");return t?t.split("|").map(t=>t.trim()).filter(Boolean):[this.getAttribute("text")??this._source??""]}mount(){null===this._source&&(this._source=(this.textContent||"").trim());const t=this.phrases,e=f(t.join(", "));this._out=document.createElement("span"),this._out.className="usa-tw-text",this._out.setAttribute("aria-hidden","true");const s=document.createElement("span");if(s.className="usa-tw-caret",s.setAttribute("aria-hidden","true"),this.replaceChildren(e,this._out,s),this.toggleAttribute("data-no-cursor","false"===this.getAttribute("cursor")),this.reduced)return void(this._out.textContent=t[0]||"");const i=this.str("start","view");"load"===i?this.start():"view"===i&&this.inView(t=>{!t||this._running||this._out?.textContent||this.start()})}unmount(){this.stop()}stop(){clearTimeout(this._timer),this._timer=0,this._running=!1,this.removeAttribute("data-typing")}restart(){this.stop(),this._out&&(this._out.textContent=""),this.start()}start(){if(this._running||!this._out)return;const t=this._out,e=this.phrases;if(this.reduced)return void(t.textContent=e[0]||"");this._running=!0;const s=this.num("speed",55),i=this.num("delete-speed",30),a=this.num("pause",1400),r=this.flag("loop")||e.length>1;let n=0,o=0,u=!1;const l=()=>{const c=e[n]||"";if(u){if(o--,t.textContent=c.slice(0,Math.max(0,o)),o<=0)return u=!1,n=(n+1)%e.length,void(this._timer=setTimeout(l,4*s));this._timer=setTimeout(l,i)}else{if(o++,t.textContent=c.slice(0,o),this.setAttribute("data-typing",""),o>=c.length){this.removeAttribute("data-typing");const t=n===e.length-1;return t&&this.emit("complete"),!r&&t?void(this._running=!1):(u=!0,void(this._timer=setTimeout(l,a)))}this._timer=setTimeout(l,s*(.6+.8*Math.random()))}};this._timer=setTimeout(l,this.num("delay",0))}},{id:"typewriter",text:"usa-typewriter{white-space:pre-wrap}usa-typewriter .usa-tw-caret{display:inline-block;width:var(--usa-caret-width,0.08em);height:1.05em;margin-left:0.06em;vertical-align:-0.12em;background:var(--usa-caret-color,currentColor);animation:usa-caret 1.06s steps(1) infinite}usa-typewriter[data-typing] .usa-tw-caret{animation:none}usa-typewriter[data-no-cursor] .usa-tw-caret{display:none}@keyframes usa-caret{50%{opacity:0}}@media (prefers-reduced-motion:reduce){usa-typewriter .usa-tw-caret,usa-shimmer-text{animation:none}}"})}function P(t="usa-split-text"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._timer=0}static get observedAttributes(){return["by","text"]}get units(){return Array.from(this.querySelectorAll(".usa-split-unit"))}mount(){null===this._source&&(this._source=this.getAttribute("text")??(this.textContent||"").replace(/\s+/g," ").trim());const t=this.getAttribute("text")??this._source,e="words"===this.str("by","chars"),s=document.createDocumentFragment();s.append(f(t));let i=0;if(t.split(" ").forEach((t,a)=>{a>0&&s.append(" ");const r=document.createElement("span");r.className="usa-split-word",r.setAttribute("aria-hidden","true");const n=e?[t]:Array.from(t);for(const t of n){const e=document.createElement("span");e.className="usa-split-unit",e.textContent=t,e.style.setProperty("--i",String(i++)),r.append(e)}s.append(r)}),this.replaceChildren(s),this.style.setProperty("--usa-split-stagger",`${this.num("stagger",e?70:28)}ms`),this.style.setProperty("--usa-split-duration",`${this.num("duration",620)}ms`),this.style.setProperty("--usa-split-delay",`${this.num("delay",0)}ms`),this.style.setProperty("--usa-split-count",String(i)),this.reduced)return void this.setAttribute("data-state","shown");this.setAttribute("data-state","hidden");const a=this.str("trigger","view");"load"===a?this.play():"view"===a&&this.inView(t=>{t&&"hidden"===this.getAttribute("data-state")?this.play():!t&&this.flag("repeat")&&this.reset()},{threshold:.2})}unmount(){clearTimeout(this._timer)}play(){if(clearTimeout(this._timer),this.reduced)return void this.setAttribute("data-state","shown");this.setAttribute("data-state","hidden"),this.offsetWidth,this.setAttribute("data-state","play");const t=this.units.length,e=this.num("delay",0)+this.num("duration",620)+Math.max(0,t-1)*this.num("stagger","words"===this.str("by")?70:28);this._timer=setTimeout(()=>{this.setAttribute("data-state","shown"),this.emit("complete")},e)}reset(){clearTimeout(this._timer),this.setAttribute("data-state",this.reduced?"shown":"hidden")}},{id:"split-text",text:'usa-split-text .usa-split-word{display:inline-block;white-space:nowrap}usa-split-text .usa-split-unit{display:inline-block;white-space:pre}usa-split-text[data-state="hidden"] .usa-split-unit{opacity:0}usa-split-text[data-state="play"] .usa-split-unit{animation:usa-split-rise var(--usa-split-duration,620ms) cubic-bezier(0.22,1,0.36,1) both;animation-delay:calc(var(--usa-split-delay,0ms) + var(--i,0) * var(--usa-split-stagger,28ms))}usa-split-text[effect="fade"][data-state="play"] .usa-split-unit{animation-name:usa-split-fade}usa-split-text[effect="blur"][data-state="play"] .usa-split-unit{animation-name:usa-split-blur}usa-split-text[effect="flip"][data-state="play"] .usa-split-unit{animation-name:usa-split-flip;transform-origin:50% 100%}usa-split-text[effect="pop"][data-state="play"] .usa-split-unit{animation-name:usa-split-pop;animation-timing-function:cubic-bezier(0.34,1.56,0.64,1)}@keyframes usa-split-rise{from{opacity:0;transform:translate3d(0,0.6em,0)}to{opacity:1;transform:none}}@keyframes usa-split-fade{from{opacity:0}to{opacity:1}}@keyframes usa-split-blur{from{opacity:0;filter:blur(8px)}to{opacity:1;filter:none}}@keyframes usa-split-flip{from{opacity:0;transform:perspective(500px) rotateX(-80deg)}to{opacity:1;transform:none}}@keyframes usa-split-pop{from{opacity:0;transform:scale(0.3)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){usa-split-text .usa-split-unit{animation:none !important;opacity:1 !important}}'})}const F="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#%&*+=<>/\\?!";function N(t,e,s=F,i=Math.random){const a=Math.floor(t.length*e);let r="";for(let e=0;e<t.length;e++){const n=t[e];r+=e<a||/\s|[.,:;!?'"()\-–—]/.test(n)?n:s[Math.floor(i()*s.length)]}return r}function L(t="usa-scramble"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._out=null,this._frame=0}static get observedAttributes(){return["text"]}get text(){return this.getAttribute("text")??this._source??""}mount(){if(null===this._source&&(this._source=(this.textContent||"").trim()),this._out=document.createElement("span"),this._out.setAttribute("aria-hidden","true"),this._out.textContent=this.text,this.replaceChildren(f(this.text),this._out),this.reduced)return;const t=this.str("trigger","view");if("load"===t)this.play();else if("hover"===t)this.listen(this,"pointerenter",()=>this.play()),this.listen(this,"focusin",()=>this.play());else if("view"===t){let t=!1;this.inView(e=>{e&&!t&&(t=!0,this.play())})}}unmount(){b(this._frame),this._frame=0}play(){b(this._frame);const t=this._out,e=this.text;if(!t||this.reduced)return t&&(t.textContent=e),Promise.resolve();const s=this.num("duration",900),i=this.str("chars",F)||F,a=g();let r=-1;return new Promise(n=>{const o=()=>{const u=Math.min(1,Math.max(0,g()-a)/s),l=Math.floor(u*s/33);l===r&&1!==u||(r=l,t.textContent=1===u?e:N(e,u,i)),u<1?this._frame=m(o):(this._frame=0,this.emit("complete"),n())};this._frame=m(o)})}},void 0)}const R=t=>t>=1?1:1-Math.pow(2,-10*t);function I(t="usa-counter"){return d(t,t=>class extends t{constructor(){super(...arguments),this._current=NaN,this._target=NaN,this._frame=0,this._fmt=null}static get observedAttributes(){return["to","decimals","locale","prefix","suffix","grouping"]}get value(){return Number.isNaN(this._target)?this.num("to",0):this._target}set value(t){this.play(Number(t))}format(t){if(!this._fmt){const t=Math.max(0,Math.min(20,this.num("decimals",0))),e=this.getAttribute("locale")||"undefined"!=typeof document&&document.documentElement.lang||void 0;try{this._fmt=new Intl.NumberFormat(e,{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:"false"!==this.getAttribute("grouping")})}catch{this._fmt=new Intl.NumberFormat(void 0,{minimumFractionDigits:t,maximumFractionDigits:t})}}return`${this.str("prefix")}${this._fmt.format(t)}${this.str("suffix")}`}render(t){this._current=t,this.textContent=this.format(t)}changed(t){this._fmt=null,"to"===t?this.play():this.render(Number.isNaN(this._current)?this.num("from",0):this._current)}mount(){this._fmt=null;const t=this.num("to",0);if(this.reduced)return this._target=t,void this.render(t);Number.isNaN(this._current)&&this.render(this.num("from",0));const e=this.str("start","view");if("load"===e)this.play();else if("view"===e){let t=!1;this.inView(e=>{e&&!t&&(t=!0,this.play())},{threshold:.4})}}unmount(){b(this._frame),this._frame=0}play(t=this.num("to",0)){b(this._frame),this._target=t;const e=Number.isNaN(this._current)?this.num("from",0):this._current;if(this.reduced||e===t||!this.isConnected)return this.render(t),this.emit("complete",{value:t}),Promise.resolve();const s=this.num("duration",1600),i=g();return new Promise(a=>{const r=()=>{const n=Math.min(1,Math.max(0,g()-i)/s);this.render(e+(t-e)*R(n)),n<1?this._frame=m(r):(this._frame=0,this.render(t),this.emit("complete",{value:t}),a())};this._frame=m(r)})}},{id:"counter",text:"usa-counter{font-variant-numeric:tabular-nums}"})}function q(t="usa-shimmer-text"){return d(t,t=>class extends t{static get observedAttributes(){return["duration","color","shine","angle"]}mount(){const t=(t,e,s="")=>{const i=this.getAttribute(t);null!==i?this.style.setProperty(e,i+s):this.style.removeProperty(e)};t("duration","--usa-shimmer-duration","ms"),t("color","--usa-shimmer-color"),t("shine","--usa-shimmer-shine"),t("angle","--usa-shimmer-angle","deg")}},{id:"shimmer-text",text:"usa-shimmer-text{--usa-shimmer-color:currentColor;--usa-shimmer-shine:#fff;background:linear-gradient(var(--usa-shimmer-angle,110deg),var(--usa-shimmer-color) 35%,var(--usa-shimmer-shine) 50%,var(--usa-shimmer-color) 65%) 0 0 / 250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:usa-shimmer var(--usa-shimmer-duration,2600ms) linear infinite}@keyframes usa-shimmer{from{background-position:100% 0}to{background-position:-150% 0}}"})}function B(t="usa-text-rotate"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._index=0,this._timer=0,this._visible=!0}static get observedAttributes(){return["words","interval","paused"]}get index(){return this._index}get words(){return(this.getAttribute("words")??this._source??"").split("|").map(t=>t.trim()).filter(Boolean)}mount(){null===this._source&&(this._source=(this.textContent||"").trim());const t=this.words;this.replaceChildren(f(t.join(", ")),...t.map((t,e)=>{const s=document.createElement("span");return s.className="usa-rotate-word",s.textContent=t,s.setAttribute("aria-hidden","true"),e!==this._index&&s.setAttribute("data-hidden",""),s})),this._index>=t.length&&(this._index=0),t.length<2||(this.inView(t=>this._visible=t),this.flag("paused")||(this._timer=setInterval(()=>{!this._visible||"undefined"!=typeof document&&document.hidden||this.next()},Math.max(400,this.num("interval",2200)))))}unmount(){clearInterval(this._timer),this._timer=0}next(){const t=Array.from(this.querySelectorAll(".usa-rotate-word"));if(t.length<2)return;const e=t[this._index];this._index=(this._index+1)%t.length;const s=t[this._index];e.setAttribute("data-hidden",""),s.removeAttribute("data-hidden");const i=this.reduced?"fade":this.str("effect","slide"),[a,r]="fade"===i?[{opacity:0},{opacity:0}]:"flip"===i?[{opacity:0,transform:"perspective(400px) rotateX(-90deg)"},{opacity:0,transform:"perspective(400px) rotateX(90deg)"}]:"blur"===i?[{opacity:0,filter:"blur(8px)"},{opacity:0,filter:"blur(8px)"}]:[{opacity:0,transform:"translateY(0.8em)"},{opacity:0,transform:"translateY(-0.8em)"}],n={opacity:1,transform:"none",filter:"none"},o=t=>Object.fromEntries(Object.keys(t).map(t=>[t,n[t]]));this.motion(e,[{...o(r)},r],{duration:380,easing:y}),this.motion(s,[a,o(a)],{duration:520,easing:"slide"===i?v:y}),this.emit("change",{index:this._index,word:s.textContent})}},{id:"text-rotate",text:"usa-text-rotate{display:inline-grid;vertical-align:bottom;overflow:hidden;padding-block:0.08em}usa-text-rotate .usa-rotate-word{grid-area:1 / 1;white-space:nowrap}usa-text-rotate .usa-rotate-word[data-hidden]{opacity:0}"})}var X='usa-wave-text .usa-word,usa-scroll-highlight .usa-word{display:inline-block;white-space:nowrap}usa-wave-text .usa-char{display:inline-block;animation:usa-wave var(--usa-wave-s,1.6s) ease-in-out infinite;animation-delay:calc(var(--i) * var(--usa-wave-d,0.06s))}@keyframes usa-wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(calc(var(--usa-wave-a,0.25em) * -1))}}usa-glitch{position:relative;display:inline-block}usa-glitch::before,usa-glitch::after{content:attr(data-text);position:absolute;inset:0;pointer-events:none}usa-glitch::before{color:#ff2bd6;transform:translate(calc(var(--usa-glitch-i,3px) * -1),0);clip-path:inset(0 0 55% 0);mix-blend-mode:screen;animation:usa-glitch-a 2.4s steps(2,end) infinite}usa-glitch::after{color:#00f0ff;transform:translate(var(--usa-glitch-i,3px),0);clip-path:inset(50% 0 0 0);mix-blend-mode:screen;animation:usa-glitch-b 1.9s steps(2,end) infinite}usa-glitch[trigger="hover"]::before,usa-glitch[trigger="hover"]::after{animation-play-state:paused;opacity:0}usa-glitch[trigger="hover"]:hover::before,usa-glitch[trigger="hover"]:hover::after{animation-play-state:running;opacity:1}@keyframes usa-glitch-a{0%{clip-path:inset(0 0 80% 0)}20%{clip-path:inset(30% 0 40% 0)}40%{clip-path:inset(70% 0 5% 0)}60%{clip-path:inset(10% 0 60% 0)}80%{clip-path:inset(50% 0 30% 0)}100%{clip-path:inset(0 0 80% 0)}}@keyframes usa-glitch-b{0%{clip-path:inset(60% 0 10% 0)}25%{clip-path:inset(15% 0 70% 0)}50%{clip-path:inset(80% 0 2% 0)}75%{clip-path:inset(40% 0 35% 0)}100%{clip-path:inset(60% 0 10% 0)}}usa-gradient-text{background:var(--usa-grad) 0 50% / 300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:usa-grad-flow var(--usa-grad-s,6s) linear infinite}@keyframes usa-grad-flow{to{background-position:150% 50%}}usa-handwriting{--usa-hw-stroke:currentColor;display:inline-block;line-height:0}usa-handwriting svg{max-width:100%;height:auto;overflow:visible}usa-handwriting text{fill:transparent;stroke:var(--usa-hw-stroke);stroke-width:1.2;stroke-dasharray:1600;stroke-dashoffset:1600;font-family:"Segoe Script","Brush Script MT","Snell Roundhand",cursive}usa-handwriting[data-state="drawing"] text{animation:usa-hw-draw var(--usa-hw-d,2400ms) cubic-bezier(0.55,0,0.45,1) forwards,usa-hw-fill 0.6s ease calc(var(--usa-hw-d,2400ms) * 0.8) forwards}usa-handwriting[data-state="done"] text{stroke-dashoffset:0;fill:currentColor}@keyframes usa-hw-draw{to{stroke-dashoffset:0}}@keyframes usa-hw-fill{to{fill:currentColor}}usa-scroll-highlight .usa-hl-word{opacity:var(--usa-hl-dim,0.2);transition:opacity 0.35s ease}usa-scroll-highlight .usa-hl-word[data-on]{opacity:1}usa-scroll-highlight[mode="marker"]{--usa-hl-color:color-mix(in srgb,#facc15 55%,transparent);background:linear-gradient(var(--usa-hl-color),var(--usa-hl-color)) 0 88% / 0% 40% no-repeat;transition:background-size 1s cubic-bezier(0.65,0,0.35,1);-webkit-box-decoration-break:clone;box-decoration-break:clone}usa-scroll-highlight[mode="marker"][data-lit]{background-size:100% 40%}@media (prefers-reduced-motion:reduce){usa-wave-text .usa-char,usa-glitch::before,usa-glitch::after,usa-gradient-text{animation:none !important}usa-glitch::before,usa-glitch::after{display:none}usa-scroll-highlight .usa-hl-word,usa-scroll-highlight[mode="marker"]{transition:none}}';const Y=t=>t.getAttribute("text")??t.dataset.usaText??(t.dataset.usaText=(t.textContent||"").trim());function O(t="usa-wave-text"){return d(t,t=>class extends t{static get observedAttributes(){return["text"]}mount(){!function(t,e){const s=document.createElement("span");s.setAttribute("aria-hidden","true");const i=[];e.split(/(\s+)/).forEach(t=>{if(/^\s+$/.test(t))return void s.append(document.createTextNode(t));const e=document.createElement("span");e.className="usa-word";for(const s of Array.from(t)){const t=document.createElement("span");t.className="usa-char",t.textContent=s,t.style.setProperty("--i",String(i.length)),e.append(t),i.push(t)}s.append(e)}),t.replaceChildren(f(e),s)}(this,Y(this)),this.style.setProperty("--usa-wave-a",`${this.num("amplitude",.25)}em`),this.style.setProperty("--usa-wave-s",`${this.num("speed",1.6)}s`),this.style.setProperty("--usa-wave-d",`${this.num("stagger",.06)}s`)}},{id:"text-fx",text:X})}function H(t="usa-glitch"){return d(t,t=>class extends t{static get observedAttributes(){return["text","intensity"]}mount(){const t=Y(this);this.setAttribute("data-text",t),this.style.setProperty("--usa-glitch-i",`${this.num("intensity",3)}px`),this.firstChild||(this.textContent=t)}},{id:"text-fx",text:X})}function D(t="usa-gradient-text"){return d(t,t=>class extends t{static get observedAttributes(){return["colors","speed","angle"]}mount(){const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#facc15").split(",").map(t=>t.trim());this.style.setProperty("--usa-grad",`linear-gradient(${this.num("angle",90)}deg, ${[...t,t[0]].join(", ")})`),this.style.setProperty("--usa-grad-s",`${this.num("speed",6)}s`)}},{id:"text-fx",text:X})}function V(t="usa-handwriting"){return d(t,t=>class extends t{static get observedAttributes(){return["text","size","font"]}mount(){const t=Y(this),e=this.num("size",64),s=Math.ceil(t.length*e*.62)+8;this.replaceChildren(f(t)),this.insertAdjacentHTML("beforeend",`<svg aria-hidden="true" viewBox="0 0 ${s} ${Math.ceil(1.3*e)}" width="${s}" height="${Math.ceil(1.3*e)}"><text x="4" y="${Math.round(e)}" font-size="${e}"></text></svg>`);const i=this.querySelector("text");i.textContent=t,this.str("font")&&i.setAttribute("font-family",this.str("font")),this.str("stroke")&&this.style.setProperty("--usa-hw-stroke",this.str("stroke")),this.style.setProperty("--usa-hw-d",`${this.num("duration",2400)}ms`),this.reduced?this.setAttribute("data-state","done"):this.inView(t=>t&&this.play(),{threshold:.3})}play(){this.removeAttribute("data-state"),this.offsetWidth,this.setAttribute("data-state","drawing"),setTimeout(()=>{this.setAttribute("data-state","done"),this.emit("complete")},this.reduced?0:this.num("duration",2400))}},{id:"text-fx",text:X})}function j(t="usa-scroll-highlight"){return d(t,t=>class extends t{constructor(){super(...arguments),this._f=0,this._p=0}static get observedAttributes(){return["mode","text"]}get progress(){return this._p}mount(){const t=this.str("mode","words");if(this.str("color")&&this.style.setProperty("--usa-hl-color",this.str("color")),this.style.setProperty("--usa-hl-dim",String(this.num("dim",.2))),"marker"===t)return void(this.reduced?this.setAttribute("data-lit",""):this.inView(t=>t&&this.setAttribute("data-lit",""),{threshold:.6}));const e=Y(this),s=document.createElement("span");s.setAttribute("aria-hidden","true");const i=e.split(/\s+/).filter(Boolean).map(t=>{const e=document.createElement("span");return e.className="usa-hl-word",e.textContent=t,s.append(e," "),e});if(this.replaceChildren(f(e),s),this.reduced)return void i.forEach(t=>t.setAttribute("data-on",""));const a=()=>{this._f=0;const t=this.getBoundingClientRect(),e=window.innerHeight||800;this._p=k((.85*e-t.top)/(t.height+.35*e),0,1);const s=Math.round(this._p*i.length);i.forEach((t,e)=>t.toggleAttribute("data-on",e<s))},r=()=>!this._f&&(this._f=m(a));let n=!1;this.inView(t=>{t!==n&&(n=t,t?window.addEventListener("scroll",r,{passive:!0}):window.removeEventListener("scroll",r),r())}),this.onCleanup(()=>window.removeEventListener("scroll",r))}unmount(){b(this._f),this._f=0}},{id:"text-fx",text:X})}function U(){T(),P(),L(),I(),q(),B(),O(),H(),D(),V(),j()}function W(t="usa-ripple"){return d(t,t=>class extends t{static get observedAttributes(){return[]}mount(){this.listen(this,"pointerdown",t=>{0!==t.button&&"mouse"===t.pointerType||this.ripple(t.clientX,t.clientY)}),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||this.ripple()})}ripple(t,e){if(this.flag("disabled"))return;const s=this.getBoundingClientRect(),i=this.flag("centered")||void 0===t||void 0===e,a=i?s.width/2:t-s.left,r=i?s.height/2:e-s.top,n=Math.hypot(Math.max(a,s.width-a),Math.max(r,s.height-r)),o=document.createElement("span");o.className="usa-ripple-wave",o.setAttribute("aria-hidden","true");const u=2*n;o.style.cssText=`width:${u}px;height:${u}px;left:${a-n}px;top:${r-n}px;background:${this.str("color","currentColor")}`,this.append(o);const l=this.num("opacity",.22),c=this.num("duration",550),h=this.reduced?[{opacity:l},{opacity:0}]:[{transform:"scale(0)",opacity:l},{transform:"scale(1)",opacity:l,offset:.7},{transform:"scale(1)",opacity:0}],d=this.motion(o,h,{duration:this.reduced?300:c,easing:y,fill:"forwards"});d?d.onfinish=()=>o.remove():setTimeout(()=>o.remove(),0)}},{id:"ripple",text:"usa-ripple{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent}usa-ripple[block]{display:block}usa-ripple .usa-ripple-wave{position:absolute;border-radius:50%;pointer-events:none;transform:scale(0);z-index:-1;will-change:transform,opacity}"})}function G(t="usa-magnetic"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["strength","radius","disabled"]}mount(){if(this.reduced||this.flag("disabled"))return;if("function"==typeof matchMedia&&!matchMedia("(hover: hover) and (pointer: fine)").matches)return;const t=this.num("strength",.35),e=this.num("radius",60);let s=0,i=0,a=!1;const r=()=>{this._frame=0;const r=this.getBoundingClientRect(),n=s-(r.left+r.width/2),o=i-(r.top+r.height/2);Math.abs(n)<r.width/2+e&&Math.abs(o)<r.height/2+e?(a=!0,this.setAttribute("data-active",""),this.style.setProperty("--usa-mx",`${(n*t).toFixed(2)}px`),this.style.setProperty("--usa-my",`${(o*t).toFixed(2)}px`)):a&&this.release()};this.listen(document,"pointermove",t=>{"mouse"!==t.pointerType&&"pen"!==t.pointerType||(s=t.clientX,i=t.clientY,this._frame||(this._frame=m(r)))},{passive:!0}),this.listen(document,"pointerleave",()=>this.release()),this.listen(window,"blur",()=>this.release())}release(){this.removeAttribute("data-active"),this.style.removeProperty("--usa-mx"),this.style.removeProperty("--usa-my")}unmount(){b(this._frame),this._frame=0,this.release()}},{id:"magnetic",text:"usa-magnetic{display:inline-block}usa-magnetic>*{transform:translate3d(var(--usa-mx,0px),var(--usa-my,0px),0);transition:transform 0.6s cubic-bezier(0.34,1.56,0.64,1)}usa-magnetic[data-active]>*{transition-duration:0.15s;transition-timing-function:ease-out}@media (prefers-reduced-motion:reduce){usa-magnetic>*,usa-tilt,usa-toggle .usa-toggle-knob{transition:none}}"})}function K(t="usa-tilt"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._glare=null}static get observedAttributes(){return["max","scale","perspective","glare","reverse","disabled"]}mount(){if(this.flag("glare")&&!this._glare?(this._glare=document.createElement("span"),this._glare.className="usa-tilt-glare",this._glare.setAttribute("aria-hidden","true"),this.append(this._glare)):!this.flag("glare")&&this._glare&&(this._glare.remove(),this._glare=null),this.reduced||this.flag("disabled"))return;const t=this.num("max",10)*(this.flag("reverse")?-1:1),e=this.num("scale",1.03),s=this.num("perspective",900);let i=.5,a=.5,r=null;const n=()=>{this._frame=0;const r=k(2*i-1,-1,1),n=k(2*a-1,-1,1);this.style.transform=`perspective(${s}px) rotateX(${(-n*t).toFixed(2)}deg) rotateY(${(r*t).toFixed(2)}deg) scale(${e})`,this.style.setProperty("--usa-tilt-x",r.toFixed(3)),this.style.setProperty("--usa-tilt-y",n.toFixed(3)),this.style.setProperty("--usa-glare-x",`${(100*i).toFixed(1)}%`),this.style.setProperty("--usa-glare-y",`${(100*a).toFixed(1)}%`)};this.listen(this,"pointerenter",t=>{"touch"!==t.pointerType&&(r=this.getBoundingClientRect(),this.setAttribute("data-active",""))}),this.listen(this,"pointermove",t=>{"touch"!==t.pointerType&&(r=r||this.getBoundingClientRect(),i=(t.clientX-r.left)/(r.width||1),a=(t.clientY-r.top)/(r.height||1),this._frame||(this._frame=m(n)))}),this.listen(this,"pointerleave",()=>this.reset())}reset(){b(this._frame),this._frame=0,this.removeAttribute("data-active"),this.style.transform="",this.style.setProperty("--usa-tilt-x","0"),this.style.setProperty("--usa-tilt-y","0")}unmount(){this.reset()}},{id:"tilt",text:"usa-tilt{display:block;position:relative;transform-style:preserve-3d;transition:transform 0.5s cubic-bezier(0.22,1,0.36,1);will-change:transform}usa-tilt[data-active]{transition-duration:0.12s}usa-tilt .usa-tilt-glare{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease;background:radial-gradient(circle at var(--usa-glare-x,50%) var(--usa-glare-y,50%),rgb(255 255 255 / 0.35),transparent 55%);mix-blend-mode:soft-light}usa-tilt[data-active] .usa-tilt-glare{opacity:1}"})}function Z(t="usa-spotlight"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["size","color","border"]}items(){const t=Array.from(this.querySelectorAll("[data-spotlight]")),e=t.length?t:Array.from(this.children);return e.forEach(t=>t.classList.add("usa-spotlight-item")),e}mount(){const t=this.getAttribute("size");t&&this.style.setProperty("--usa-spot-size",`${Number(t)}px`);const e=this.getAttribute("color");e&&this.style.setProperty("--usa-spot-color",e);const s=this.getAttribute("border");s&&this.style.setProperty("--usa-spot-border",`${Number(s)}px`);let i=this.items(),a=0,r=0;const n=()=>{this._frame=0;i.map(t=>t.getBoundingClientRect()).forEach((t,e)=>{i[e].style.setProperty("--usa-spot-x",`${(a-t.left).toFixed(1)}px`),i[e].style.setProperty("--usa-spot-y",`${(r-t.top).toFixed(1)}px`)})};this.listen(this,"pointerenter",t=>{"touch"!==t.pointerType&&(i=this.items(),this.setAttribute("data-lit",""))}),this.listen(this,"pointermove",t=>{"touch"!==t.pointerType&&(a=t.clientX,r=t.clientY,this.hasAttribute("data-lit")||this.setAttribute("data-lit",""),this._frame||(this._frame=m(n)))}),this.listen(this,"pointerleave",()=>this.removeAttribute("data-lit"))}unmount(){b(this._frame),this._frame=0,this.removeAttribute("data-lit")}},{id:"spotlight",text:'usa-spotlight{display:block;--usa-spot-size:160px;--usa-spot-color:rgb(255 255 255 / 0.55);--usa-spot-border:1px}usa-spotlight .usa-spotlight-item{position:relative;isolation:isolate}usa-spotlight .usa-spotlight-item::before,usa-spotlight .usa-spotlight-item::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.25s ease}usa-spotlight .usa-spotlight-item::before{padding:var(--usa-spot-border);background:radial-gradient(var(--usa-spot-size) circle at var(--usa-spot-x,-999px) var(--usa-spot-y,-999px),var(--usa-spot-color),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-spotlight .usa-spotlight-item::after{z-index:-1;background:radial-gradient(calc(var(--usa-spot-size) * 0.9) circle at var(--usa-spot-x,-999px) var(--usa-spot-y,-999px),color-mix(in srgb,var(--usa-spot-color) 30%,transparent),transparent 70%)}usa-spotlight[data-lit] .usa-spotlight-item::before{opacity:1}usa-spotlight[data-lit] .usa-spotlight-item:hover::after{opacity:1}usa-spotlight[no-fill] .usa-spotlight-item::after{display:none}'})}function J(t="usa-press"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null,this._down=!1}static get observedAttributes(){return["disabled"]}get pressed(){return this._down}frame(t){return this.reduced?{opacity:t?.7:1}:{transform:t?`scale(${this.num("scale",.95)})`:"scale(1)"}}down(){if(this._down||this.flag("disabled"))return;this._down=!0,this.setAttribute("data-pressed","");const t=this.currentFrame();this._anim?.cancel(),this._anim=this.motion(this,[t,this.frame(!0)],{duration:120,easing:"cubic-bezier(0.3, 0, 0.7, 1)",fill:"forwards"})}up(){if(!this._down)return;this._down=!1,this.removeAttribute("data-pressed");const t=this.currentFrame();this._anim?.cancel();const e=this.flag("bounce")&&!this.reduced?[t,{transform:"scale(1.06)",offset:.45},{transform:"scale(0.99)",offset:.75},this.frame(!1)]:[t,this.frame(!1)],s=this.motion(this,e,{duration:this.flag("bounce")?480:320,easing:v});this._anim=s,s&&(s.onfinish=()=>this._anim===s&&(this._anim=null))}currentFrame(){if("function"!=typeof getComputedStyle)return this.frame(!1);const t=getComputedStyle(this);return this.reduced?{opacity:t.opacity||"1"}:{transform:t.transform&&"none"!==t.transform?t.transform:"scale(1)"}}mount(){this.listen(this,"pointerdown",t=>{"mouse"===t.pointerType&&0!==t.button||this.down()});for(const t of["pointerup","pointerleave","pointercancel","blur"])this.listen(this,t,()=>this.up());this.listen(this,"keydown",t=>(" "===t.key||"Enter"===t.key)&&!t.repeat&&this.down()),this.listen(this,"keyup",t=>(" "===t.key||"Enter"===t.key)&&this.up())}unmount(){this._anim?.cancel(),this._anim=null,this._down=!1}},{id:"press",text:"usa-press{display:inline-block;touch-action:manipulation;-webkit-tap-highlight-color:transparent}usa-press[block]{display:block}"})}function Q(t="usa-toggle"){return d(t,t=>{var e;return(e=class extends t{static get observedAttributes(){return["checked","disabled","label"]}constructor(){super(),this._internals=null;try{this._internals="function"==typeof this.attachInternals?this.attachInternals():null}catch{this._internals=null}}get checked(){return this.hasAttribute("checked")}set checked(t){this.toggleAttribute("checked",!!t)}get disabled(){return this.hasAttribute("disabled")}set disabled(t){this.toggleAttribute("disabled",!!t)}changed(){this.sync()}sync(){this.setAttribute("aria-checked",String(this.checked)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0;const t=this.getAttribute("label");t&&!this.hasAttribute("aria-label")&&this.setAttribute("aria-label",t),this._internals?.setFormValue?.(this.checked?this.str("value","on"):null)}mount(){if(!this.querySelector(":scope > .usa-toggle-track")){const t=document.createElement("span");t.className="usa-toggle-track",t.setAttribute("aria-hidden","true");const e=document.createElement("span");e.className="usa-toggle-knob",t.append(e),this.prepend(t)}this.setAttribute("role","switch"),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),t.repeat||this.toggle())}),this.listen(this,"pointerdown",()=>!this.disabled&&this.setAttribute("data-pressed",""));for(const t of["pointerup","pointerleave","pointercancel"])this.listen(this,t,()=>this.removeAttribute("data-pressed"))}toggle(t){if(this.disabled)return;const e=void 0===t?!this.checked:t;e!==this.checked&&(this.checked=e,this.sync(),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{checked:e}))}}).formAssociated=!0,e},{id:"toggle",text:"usa-toggle{--usa-toggle-w:40px;--usa-toggle-h:20px;--usa-toggle-on:var(--usa-accent,#7c5cff);--usa-toggle-off:transparent;--usa-toggle-line:currentColor;display:inline-flex;align-items:center;gap:0.6em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-toggle[disabled]{cursor:not-allowed;opacity:0.45}usa-toggle .usa-toggle-track{position:relative;flex:none;width:var(--usa-toggle-w);height:var(--usa-toggle-h);border-radius:999px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--usa-toggle-line) 60%,transparent);background:var(--usa-toggle-off);transition:background-color 0.2s ease,border-color 0.2s ease}usa-toggle .usa-toggle-knob{position:absolute;top:50%;left:3px;width:calc(var(--usa-toggle-h) - 8px);height:calc(var(--usa-toggle-h) - 8px);margin-top:calc((var(--usa-toggle-h) - 8px) / -2);border-radius:999px;background:color-mix(in srgb,var(--usa-toggle-line) 75%,transparent);transform-origin:left center;transition:transform 0.28s cubic-bezier(0.34,1.4,0.64,1),background-color 0.2s ease}usa-toggle:hover .usa-toggle-knob{transform:scale(1.15)}usa-toggle[data-pressed] .usa-toggle-knob{transform:scaleX(1.45)}usa-toggle[checked] .usa-toggle-track{background:var(--usa-toggle-on);border-color:var(--usa-toggle-on)}usa-toggle[checked] .usa-toggle-knob{background:#fff;transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h)));transform-origin:right center}usa-toggle[checked]:hover .usa-toggle-knob{transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h))) scale(1.15)}usa-toggle[checked][data-pressed] .usa-toggle-knob{transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h) - 4px)) scaleX(1.45)}usa-toggle:focus-visible{outline:none}usa-toggle:focus-visible .usa-toggle-track{outline:2px solid var(--usa-toggle-on);outline-offset:2px}"})}function tt(){W(),G(),K(),Z(),J(),Q()}const et=["fluent","windows","ring","dots","pulse","bars"];function st(t="usa-spinner"){return d(t,t=>class extends t{static get observedAttributes(){return["kind","size","label"]}get kind(){return w(this,et,"fluent")}set kind(t){this.setAttribute("kind",t)}mount(){const t=this.kind;this.getAttribute("data-kind")!==t&&(this.innerHTML=function(t){switch(t){case"windows":return"<i></i><i></i><i></i><i></i><i></i>";case"dots":return"<i></i><i></i><i></i>";case"bars":return"<i></i><i></i><i></i><i></i>";case"pulse":return"<i></i><i></i>";case"ring":return"<i></i>";default:return'<svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="7" pathLength="100"/></svg>'}}(t),this.setAttribute("data-kind",t));const e=this.getAttribute("size");e?this.style.setProperty("--usa-spinner-size",`${Number(e)}px`):this.style.removeProperty("--usa-spinner-size"),this.setAttribute("role","progressbar"),this.hasAttribute("aria-label")&&!this.hasAttribute("label")||this.setAttribute("aria-label",this.str("label","Loading"))}},{id:"spinner",text:'usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind="windows"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind="windows"] i::after{content:"";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind="windows"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind="windows"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind="windows"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind="windows"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind="ring"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind="dots"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind="dots"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind="dots"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind="dots"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind="pulse"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind="pulse"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind="bars"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind="bars"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind="bars"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind="bars"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind="bars"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind="windows"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}'})}function it(t="usa-skeleton"){return d(t,t=>class extends t{constructor(){super(...arguments),this._ph=null}static get observedAttributes(){return["loading","lines","width","height","circle","avatar","radius"]}get loading(){return this.hasAttribute("loading")}set loading(t){this.toggleAttribute("loading",!!t)}changed(t){"loading"===t?this.sync(!0):(this._ph?.remove(),this._ph=null,this.sync(!1))}mount(){this.sync(!1)}build(){const t=document.createElement("div");t.className="usa-skeleton-ph",t.setAttribute("aria-hidden","true");const e=(t="")=>{const e=document.createElement("span");return e.className=`usa-bone ${t}`.trim(),e},s=this.getAttribute("radius");if(s&&this.style.setProperty("--usa-skeleton-radius",s),this.flag("circle")||this.hasAttribute("width")||this.hasAttribute("height")){const s=e(this.flag("circle")?"usa-bone-circle":"usa-bone-block");s.style.width=this.str("width",this.flag("circle")?this.str("height","48px"):"100%"),s.style.height=this.str("height",this.flag("circle")?s.style.width:"120px"),t.append(s)}else{this.flag("avatar")&&t.append(e("usa-bone-circle usa-bone-avatar"));const s=document.createElement("div");s.className="usa-bone-lines";const i=Math.max(1,Math.min(20,this.num("lines",3)));for(let t=0;t<i;t++)s.append(e(t===i-1&&i>1?"usa-bone-last":""));t.append(s)}return t}sync(t){const e=this.loading;if(this.setAttribute("aria-busy",String(e)),e)this._ph||(this._ph=this.build(),this.prepend(this._ph));else{if(this._ph&&(this._ph.remove(),this._ph=null),t&&!this.reduced)for(const t of Array.from(this.children))this.motion(t,[{opacity:0,transform:"translateY(4px)"},{opacity:1,transform:"none"}],{duration:360,easing:y});this.emit("loaded")}}},{id:"skeleton",text:'usa-skeleton{display:block;--usa-skeleton-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skeleton-shine:color-mix(in srgb,currentColor 9%,transparent);--usa-skeleton-radius:8px}usa-skeleton[loading]>:not(.usa-skeleton-ph){display:none !important}usa-skeleton .usa-skeleton-ph{display:flex;gap:14px;align-items:flex-start}usa-skeleton .usa-bone-lines{flex:1;display:grid;gap:10px;min-width:0}usa-skeleton .usa-bone{position:relative;display:block;overflow:hidden;height:0.9em;border-radius:var(--usa-skeleton-radius);background:var(--usa-skeleton-base)}usa-skeleton .usa-bone-last{width:62%}usa-skeleton .usa-bone-block{height:120px}usa-skeleton .usa-bone-circle{border-radius:50%;flex:none}usa-skeleton .usa-bone-avatar{width:44px;height:44px}usa-skeleton .usa-bone::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--usa-skeleton-shine),transparent);animation:usa-skeleton 1.5s ease-in-out infinite}@keyframes usa-skeleton{to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){usa-skeleton .usa-bone::after{animation:none}}'})}function at(t="usa-progress"){return d(t,t=>class extends t{constructor(){super(...arguments),this._fill=null}static get observedAttributes(){return["value","max","indeterminate","label"]}get value(){const t=this.getAttribute("value");return null===t||""===t||Number.isNaN(Number(t))?null:Number(t)}set value(t){null==t?this.removeAttribute("value"):this.setAttribute("value",String(t))}get max(){const t=this.num("max",100);return t>0?t:100}set max(t){this.setAttribute("max",String(t))}get ratio(){const t=this.value;return this.hasAttribute("indeterminate")||null===t?null:k(t/this.max,0,1)}changed(){this.sync()}mount(){this._fill||(this.innerHTML='<span class="usa-progress-bar"></span><span class="usa-progress-bar usa-progress-bar2"></span>',this._fill=this.firstElementChild),this.setAttribute("role","progressbar"),this.sync()}sync(){const t=this.ratio,e=this.getAttribute("label");if(e&&this.setAttribute("aria-label",e),this.toggleAttribute("data-indeterminate",null===t),null===t)return this.removeAttribute("aria-valuenow"),void(this._fill&&(this._fill.style.transform=""));this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(this.max)),this.setAttribute("aria-valuenow",String(this.value)),this._fill&&(this._fill.style.transform=`scaleX(${t})`),1===t&&this.emit("complete")}},{id:"progress",text:'usa-progress{--usa-progress-color:var(--usa-accent,#7c5cff);--usa-progress-track:color-mix(in srgb,currentColor 14%,transparent);position:relative;display:block;height:var(--usa-progress-height,4px);border-radius:999px;overflow:hidden;background:var(--usa-progress-track);contain:paint}usa-progress .usa-progress-bar{position:absolute;inset:0;border-radius:inherit;background:var(--usa-progress-color);transform:scaleX(0);transform-origin:0 50%;transition:transform 0.45s cubic-bezier(0.22,1,0.36,1)}usa-progress .usa-progress-bar2{display:none}usa-progress[data-indeterminate] .usa-progress-bar{right:auto;width:40%;transform:translateX(-100%);transition:none;animation:usa-indet 2s cubic-bezier(0.4,0,0.6,1) infinite}usa-progress[data-indeterminate] .usa-progress-bar2{display:block;width:60%;animation:usa-indet2 2s cubic-bezier(0.4,0,0.6,1) 1s infinite}usa-progress[state="paused"]{--usa-progress-color:#c19c00}usa-progress[state="error"]{--usa-progress-color:#d13438}usa-progress[state="paused"] .usa-progress-bar,usa-progress[state="error"] .usa-progress-bar{animation-play-state:paused}@keyframes usa-indet{from{transform:translateX(-100%)}to{transform:translateX(250%)}}@keyframes usa-indet2{from{transform:translateX(-100%)}to{transform:translateX(167%)}}@media (prefers-reduced-motion:reduce){usa-progress .usa-progress-bar{transition:none}usa-progress[data-indeterminate] .usa-progress-bar{width:100%;transform:none;animation:usa-calm-bar 2.4s ease-in-out infinite}usa-progress[data-indeterminate] .usa-progress-bar2{display:none}}@keyframes usa-calm-bar{0%,100%{opacity:1}50%{opacity:0.4}}'})}const rt={info:'<path d="M12 8h.01M11 12h1v5h1"/>',success:'<path d="m8 12.5 3 3 5-6"/>',warning:'<path d="M12 8v5M12 16.5h.01"/>',error:'<path d="m9 9 6 6M15 9l-6 6"/>'};function nt(t="usa-toaster"){return d(t,t=>class extends t{static get observedAttributes(){return["label"]}mount(){this.setAttribute("role","region"),this.setAttribute("aria-label",this.str("label","Notifications"))}flip(t){const e=Array.from(this.children),s=new Map(e.map(t=>[t,t.getBoundingClientRect().top]));if(t(),!this.reduced)for(const t of Array.from(this.children)){const e=s.get(t);if(void 0===e||t.hasAttribute("data-leaving"))continue;const i=e-t.getBoundingClientRect().top;Math.abs(i)>.5&&this.motion(t,[{transform:`translateY(${i}px)`},{transform:"none"}],{duration:320,easing:y,composite:"add"})}}enterFrames(){if(this.reduced)return[{opacity:0},{opacity:1}];const t=this.str("position","bottom-right");return[{opacity:0,transform:`translate(${t.endsWith("right")?"110%":t.endsWith("left")?"-110%":"0"}, ${t.endsWith("center")?t.startsWith("top")?"-120%":"120%":"0"}) scale(0.96)`},{opacity:1,transform:"none"}]}show(t,e={}){const s=e.type||"info",i=document.createElement("div");i.className="usa-toast",i.setAttribute("data-type",s),i.setAttribute("role","error"===s?"alert":"status"),i.innerHTML=`<svg class="usa-toast-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/>${rt[s]||rt.info}</svg><div class="usa-toast-msg"></div>`,i.querySelector(".usa-toast-msg").textContent=t;let a=null,r=0;const n=()=>{if(a)return a;clearTimeout(r),i.setAttribute("data-leaving","");const t=this.enterFrames().reverse(),e=i.isConnected?this.motion(i,t,{duration:220,easing:"cubic-bezier(0.7, 0, 0.84, 0)",fill:"forwards"}):null;return a=new Promise(t=>{const s=()=>{this.flip(()=>i.remove()),t()};e?e.onfinish=s:s()}),a};if(e.action){const t=document.createElement("button");t.type="button",t.className="usa-toast-action",t.textContent=e.action.label,t.addEventListener("click",()=>{e.action.onClick(),n()}),i.append(t)}if(!1!==e.dismissible){const t=document.createElement("button");t.type="button",t.className="usa-toast-close",t.setAttribute("aria-label","Close"),t.innerHTML='<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m7 7 10 10M17 7 7 17"/></svg>',t.addEventListener("click",()=>n()),i.append(t)}const o=e.duration??4e3,u=()=>{clearTimeout(r),o>0&&(r=setTimeout(n,o))},l=()=>clearTimeout(r);i.addEventListener("pointerenter",l),i.addEventListener("pointerleave",u),i.addEventListener("focusin",l),i.addEventListener("focusout",u);const c=this.str("position","bottom-right").startsWith("top");this.flip(()=>c?this.prepend(i):this.append(i)),this.motion(i,this.enterFrames(),{duration:420,easing:x}),u();const h=Array.from(this.querySelectorAll(".usa-toast:not([data-leaving])")),d=Math.max(1,this.num("max",4)),p=h.length-d;return p>0&&(c?h.slice(-p):h.slice(0,p)).forEach(t=>t._close?.()),i._close=n,this.emit("toast",{element:i,message:t,type:s}),{element:i,close:n}}clear(){this.querySelectorAll(".usa-toast").forEach(t=>t._close?.())}},{id:"toast",text:'usa-toaster{position:fixed;z-index:2147483000;right:16px;bottom:16px;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}usa-toaster[position^="top"]{bottom:auto;top:16px}usa-toaster[position$="left"]{right:auto;left:16px}usa-toaster[position$="center"]{right:auto;left:50%;translate:-50% 0}usa-toaster .usa-toast{--usa-toast-accent:#0078d4;pointer-events:auto;display:flex;align-items:flex-start;gap:10px;padding:12px 12px 12px 14px;border-radius:10px;background:var(--usa-toast-bg,color-mix(in srgb,Canvas 92%,transparent));color:var(--usa-toast-fg,CanvasText);border:1px solid color-mix(in srgb,CanvasText 12%,transparent);border-left:3px solid var(--usa-toast-accent);box-shadow:0 8px 28px -8px rgb(0 0 0 / 0.35);font:inherit;font-size:14px;line-height:1.4;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4)}usa-toaster .usa-toast[data-type="success"]{--usa-toast-accent:#0f9d58}usa-toaster .usa-toast[data-type="warning"]{--usa-toast-accent:#c19c00}usa-toaster .usa-toast[data-type="error"]{--usa-toast-accent:#d13438}usa-toaster .usa-toast-icon{flex:none;width:20px;height:20px;fill:none;stroke:var(--usa-toast-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}usa-toaster .usa-toast-msg{flex:1;min-width:0;padding-top:1px;overflow-wrap:anywhere}usa-toaster .usa-toast-action,usa-toaster .usa-toast-close{flex:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:6px;padding:2px 6px}usa-toaster .usa-toast-action{color:var(--usa-toast-accent);font-weight:600}usa-toaster .usa-toast-close{opacity:0.6;line-height:0;padding:3px}usa-toaster .usa-toast-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}usa-toaster .usa-toast-action:hover,usa-toaster .usa-toast-close:hover{background:color-mix(in srgb,currentColor 10%,transparent);opacity:1}'})}const ot={success:"M15 27 l7 7 l14 -15",error:"M18 18 L34 34 M34 18 L18 34",warning:"M26 15 V30 M26 37 V37.5"};function ut(t="usa-check"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anims=[]}static get observedAttributes(){return["kind","size","label"]}mount(){const t=w(this,ot,"success");this.innerHTML=`<svg viewBox="0 0 52 52" aria-hidden="true"><circle class="usa-check-circle" cx="26" cy="26" r="23" pathLength="1"/><path class="usa-check-mark" d="${ot[t]}" pathLength="1"/></svg>`,this.setAttribute("data-kind",t);const e=this.getAttribute("size");e&&this.style.setProperty("--usa-check-size",`${Number(e)}px`);const s=this.getAttribute("label");if(s&&(this.setAttribute("role","img"),this.setAttribute("aria-label",s)),this.reduced)return void this.setAttribute("data-state","done");this.setAttribute("data-state","idle");const i=this.str("start","view");if("load"===i)this.play();else if("view"===i){let t=!1;this.inView(e=>e&&!t&&(t=!0,this.play()),{threshold:.5})}}unmount(){this._anims.splice(0).forEach(t=>t.cancel())}reset(){this._anims.splice(0).forEach(t=>t.cancel()),this.setAttribute("data-state",this.reduced?"done":"idle")}play(){this.reset(),this.setAttribute("data-state","done");const t=this.querySelector(".usa-check-circle"),e=this.querySelector(".usa-check-mark"),s=this.querySelector("svg");if(this.reduced||!t||!e||!s)return this.emit("complete"),Promise.resolve();const i=[{strokeDashoffset:1},{strokeDashoffset:0}],a=[this.motion(t,i,{duration:520,easing:y,fill:"backwards"}),this.motion(e,i,{duration:340,delay:420,easing:y,fill:"backwards"}),this.motion(s,[{transform:"scale(1)"},{transform:"scale(1.12)"},{transform:"scale(1)"}],{duration:420,delay:640,easing:v})].filter(t=>!!t);return this._anims=a,new Promise(t=>{const e=a[a.length-1],s=()=>{this.emit("complete"),t()};e?e.onfinish=s:s()})}},{id:"check",text:'usa-check{--usa-check-size:56px;--usa-check-color:#0f9d58;display:inline-block;width:var(--usa-check-size);height:var(--usa-check-size);vertical-align:middle}usa-check[data-kind="error"]{--usa-check-color:#d13438}usa-check[data-kind="warning"]{--usa-check-color:#c19c00}usa-check svg{width:100%;height:100%;overflow:visible}usa-check circle,usa-check path{fill:none;stroke:var(--usa-check-color);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1}usa-check[data-state="idle"] circle,usa-check[data-state="idle"] path{stroke-dashoffset:1}usa-check[data-state="done"] circle,usa-check[data-state="done"] path{stroke-dashoffset:0}'})}function lt(){st(),it(),at(),nt(),ut()}function ct(t="usa-aurora"){return d(t,t=>class extends t{constructor(){super(...arguments),this._layer=null}static get observedAttributes(){return["colors","speed","intensity"]}mount(){this._layer||(this._layer=document.createElement("div"),this._layer.className="usa-aurora-layer",this._layer.setAttribute("aria-hidden","true"),this._layer.innerHTML="<i></i><i></i><i></i><i></i>",this.prepend(this._layer));const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#34d399").split(",").map(t=>t.trim()).filter(Boolean);Array.from(this._layer.children).forEach((e,s)=>{e.style.setProperty("--c",t[s%t.length])});const e=this.num("speed",1);this.style.setProperty("--usa-aurora-speed",`${(18/Math.max(.05,e)).toFixed(2)}s`),this.style.setProperty("--usa-aurora-opacity",String(this.num("intensity",.7))),this.inView(t=>this.toggleAttribute("data-offscreen",!t))}},{id:"aurora",text:"usa-aurora{position:relative;display:block;isolation:isolate;overflow:hidden}usa-aurora .usa-aurora-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-aurora-opacity,0.7);overflow:hidden;contain:strict}usa-aurora .usa-aurora-layer i{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);will-change:transform;animation:usa-aurora-a var(--usa-aurora-speed,18s) ease-in-out infinite alternate}usa-aurora .usa-aurora-layer i:nth-child(1){left:-15%;top:-30%}usa-aurora .usa-aurora-layer i:nth-child(2){right:-20%;top:-10%;animation-name:usa-aurora-b;animation-duration:calc(var(--usa-aurora-speed,18s) * 1.3)}usa-aurora .usa-aurora-layer i:nth-child(3){left:10%;bottom:-45%;animation-name:usa-aurora-c;animation-duration:calc(var(--usa-aurora-speed,18s) * 0.9)}usa-aurora .usa-aurora-layer i:nth-child(4){right:0;bottom:-30%;width:50%;animation-name:usa-aurora-b;animation-direction:alternate-reverse}usa-aurora[paused] .usa-aurora-layer i,usa-aurora[data-offscreen] .usa-aurora-layer i{animation-play-state:paused}@keyframes usa-aurora-a{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(30%,20%,0) scale(1.25)}}@keyframes usa-aurora-b{from{transform:translate3d(0,0,0) scale(1.1)}to{transform:translate3d(-35%,25%,0) scale(0.85)}}@keyframes usa-aurora-c{from{transform:translate3d(0,0,0) rotate(0deg) scale(1)}to{transform:translate3d(25%,-30%,0) rotate(40deg) scale(1.2)}}@media (prefers-reduced-motion:reduce){usa-aurora .usa-aurora-layer i,usa-grain .usa-grain-layer,usa-acrylic::after{animation:none !important}}"})}function ht(t="usa-particles"){return d(t,t=>class extends t{constructor(){super(...arguments),this._canvas=null,this._ctx=null,this._ps=[],this._frame=0,this._w=0,this._h=0,this._visible=!1,this._mx=-1e4,this._color="#888",this._my=-1e4}static get observedAttributes(){return["count","color","size","speed","links","interactive","paused"]}mount(){if(this._canvas||(this._canvas=document.createElement("canvas"),this._canvas.setAttribute("aria-hidden","true"),this.prepend(this._canvas)),this._ctx=this._canvas.getContext?.("2d")??null,this._ctx){if(this.resize(),"undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>{this.resize(),this._frame||this.draw()});t.observe(this),this.onCleanup(()=>t.disconnect())}this.inView(t=>{this._visible=t,this.loop()}),this.listen(document,"visibilitychange",()=>this.loop()),this.flag("interactive")&&this.listen(window,"pointermove",t=>{const e=this.getBoundingClientRect();this._mx=t.clientX-e.left,this._my=t.clientY-e.top},{passive:!0}),this.draw()}}unmount(){b(this._frame),this._frame=0}reset(){this._ps=[],this.resize(),this.draw()}resize(){const t=this._canvas;if(!t||!this._ctx)return;const e=this.clientWidth||300,s=this.clientHeight||150,i=Math.min(2,"number"==typeof devicePixelRatio&&devicePixelRatio||1);t.width=Math.round(e*i),t.height=Math.round(s*i),this._ctx.setTransform(i,0,0,i,0,0),this._w=e,this._h=s,this._color=this.getAttribute("color")||("function"==typeof getComputedStyle?getComputedStyle(this).color:"")||"#888";const a=Math.round(Math.min(1,e*s/45e4)*Math.max(1,this.num("count",60)))||1,r=this.num("speed",.35),n=this.num("size",2.2);for(;this._ps.length<a;){const t=Math.random()*Math.PI*2,i=r*(.3+.7*Math.random());this._ps.push({x:Math.random()*e,y:Math.random()*s,vx:Math.cos(t)*i,vy:Math.sin(t)*i,r:.6+Math.random()*(n-.6)})}this._ps.length=a}loop(){const t=this._visible&&!this.reduced&&!this.flag("paused")&&!("undefined"!=typeof document&&document.hidden);if(t&&!this._frame){const t=()=>{this.step(),this.draw(),this._frame=m(t)};this._frame=m(t)}else!t&&this._frame&&(b(this._frame),this._frame=0)}step(){const{_w:t,_h:e}=this;for(const s of this._ps){const i=s.x-this._mx,a=s.y-this._my,r=i*i+a*a;if(r<8100&&r>.01){const t=.6*(1-Math.sqrt(r)/90);s.x+=i/Math.sqrt(r)*t,s.y+=a/Math.sqrt(r)*t}s.x+=s.vx,s.y+=s.vy,s.x<-5?s.x=t+5:s.x>t+5&&(s.x=-5),s.y<-5?s.y=e+5:s.y>e+5&&(s.y=-5)}}draw(){const t=this._ctx;if(!t)return;const e=this._color;t.clearRect(0,0,this._w,this._h),t.fillStyle=e,t.strokeStyle=e;const s=this._ps,i=this.num("links",110);if(i>0){const e=i*i;t.lineWidth=.6;for(let i=0;i<s.length;i++)for(let a=i+1;a<s.length;a++){const r=s[i].x-s[a].x,n=s[i].y-s[a].y,o=r*r+n*n;o<e&&(t.globalAlpha=.35*(1-o/e),t.beginPath(),t.moveTo(s[i].x,s[i].y),t.lineTo(s[a].x,s[a].y),t.stroke())}}t.globalAlpha=.85;for(const e of s)t.beginPath(),t.arc(e.x,e.y,e.r,0,2*Math.PI),t.fill();t.globalAlpha=1}},{id:"particles",text:"usa-particles{position:relative;display:block;min-height:120px;overflow:hidden}usa-particles>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}"})}function dt(t="usa-grain"){return d(t,t=>class extends t{constructor(){super(...arguments),this._layer=null}static get observedAttributes(){return["opacity","blend","scale"]}mount(){this._layer||(this._layer=document.createElement("div"),this._layer.className="usa-grain-layer",this._layer.setAttribute("aria-hidden","true"),this.append(this._layer));const t=this._layer.style;t.backgroundImage=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='${.8}' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`,t.backgroundSize=`${this.num("scale",180)}px`,t.opacity=String(this.num("opacity",.12)),t.mixBlendMode=this.str("blend","overlay")}},{id:"grain",text:"usa-grain{position:relative;display:block;isolation:isolate;overflow:hidden}usa-grain .usa-grain-layer{position:absolute;inset:-100%;z-index:1;pointer-events:none}usa-grain[animated] .usa-grain-layer{animation:usa-grain 0.8s steps(10) infinite}@keyframes usa-grain{0%,100%{transform:translate(0,0)}10%{transform:translate(-5%,-8%)}20%{transform:translate(-12%,4%)}30%{transform:translate(6%,-16%)}40%{transform:translate(-4%,18%)}50%{transform:translate(-12%,8%)}60%{transform:translate(14%,0)}70%{transform:translate(0,12%)}80%{transform:translate(3%,25%)}90%{transform:translate(-8%,8%)}}"})}function pt(t="usa-marquee"){return d(t,t=>class extends t{constructor(){super(...arguments),this._track=null,this._anim=null,this._hover=!1,this._visible=!0,this._size=0}static get observedAttributes(){return["speed","direction","gap","paused"]}get vertical(){const t=this.str("direction","left");return"up"===t||"down"===t}mount(){if(!this._track){const t=document.createElement("div");t.className="usa-marquee-track";const e=document.createElement("div");e.className="usa-marquee-group",e.append(...Array.from(this.childNodes)),t.append(e),this.append(t),this._track=t}if(this.toggleAttribute("data-vertical",this.vertical),this.style.setProperty("--usa-marquee-gap",`${this.num("gap",32)}px`),this.reduced)return this.setAttribute("data-static",""),void this.syncClones(1);if(this.removeAttribute("data-static"),this.build(),"undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>this.build());t.observe(this._track.firstElementChild),this.onCleanup(()=>t.disconnect())}this.inView(t=>{this._visible=t,this.sync()}),this.listen(this,"pointerenter",()=>(this._hover=!0,this.sync())),this.listen(this,"pointerleave",()=>(this._hover=!1,this.sync())),this.listen(this,"focusin",()=>(this._hover=!0,this.sync())),this.listen(this,"focusout",()=>(this._hover=!1,this.sync()))}unmount(){this._anim?.cancel(),this._anim=null,this._size=0}syncClones(t){const e=this._track,s=e.firstElementChild;for(;e.children.length>t;)e.lastElementChild.remove();for(;e.children.length<t;){const t=s.cloneNode(!0);t.setAttribute("aria-hidden","true"),t.setAttribute("inert",""),e.append(t)}}build(){const t=this._track,e=t.firstElementChild,s=this.vertical,i=this.num("gap",32),a=s?e.offsetHeight:e.offsetWidth;if(!a)return;const r=a+i;if(this._anim&&this._size===r)return;this._size=r;const n=(s?this.clientHeight:this.clientWidth)||r;this.syncClones(Math.min(50,Math.max(2,Math.ceil(n/r)+1)));const o=this._anim?.effect?.getComputedTiming().progress??0;this._anim?.cancel();const u=s?"Y":"X",l=["right","down"].includes(this.str("direction","left")),c=[{transform:`translate${u}(0)`},{transform:`translate${u}(${-r}px)`}];this._anim=this.motion(t,l?c.reverse():c,{duration:Math.max(1,r)/Math.max(1,this.num("speed",50))*1e3,iterations:1/0}),this._anim&&o&&(this._anim.currentTime=o*Number(this._anim.effect?.getTiming().duration||0)),this.sync()}sync(){const t=this._anim;if(!t)return;const e=this.flag("paused")||!this._visible||this._hover&&this.flag("pause-on-hover");e&&"running"===t.playState?t.pause():e||"paused"!==t.playState||t.play()}pause(){this.setAttribute("paused","")}resume(){this.removeAttribute("paused")}changed(t){"paused"===t?this.sync():super.changed(t)}},{id:"marquee",text:"usa-marquee{--usa-marquee-gap:32px;display:block;overflow:hidden;contain:content}usa-marquee[fade]{-webkit-mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}usa-marquee[fade][data-vertical]{-webkit-mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent)}usa-marquee .usa-marquee-track{display:flex;width:max-content;gap:var(--usa-marquee-gap);will-change:transform}usa-marquee .usa-marquee-group{display:flex;flex:none;align-items:center;gap:var(--usa-marquee-gap)}usa-marquee[data-vertical] .usa-marquee-track,usa-marquee[data-vertical] .usa-marquee-group{flex-direction:column;width:auto}usa-marquee[data-vertical]{height:var(--usa-marquee-height,240px)}usa-marquee[data-static]{overflow:auto;scrollbar-width:thin}"})}function ft(t="usa-acrylic"){return d(t,t=>class extends t{static get observedAttributes(){return["tint","tint-opacity","blur","shimmer"]}mount(){const t=this.getAttribute("tint");t?this.style.setProperty("--usa-acrylic-tint",t):this.style.removeProperty("--usa-acrylic-tint"),this.style.setProperty("--usa-acrylic-opacity",`${Math.round(100*this.num("tint-opacity",.55))}%`),this.style.setProperty("--usa-acrylic-blur",`${this.num("blur",30)}px`),"load"!==this.str("shimmer")||this.reduced||(this.removeAttribute("data-shine"),this.offsetWidth,this.setAttribute("data-shine",""))}},{id:"acrylic",text:"usa-acrylic{--usa-acrylic-tint:#f3f3f3;--usa-acrylic-opacity:55%;--usa-acrylic-blur:30px;position:relative;display:block;isolation:isolate;overflow:hidden;background-color:color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent);-webkit-backdrop-filter:blur(var(--usa-acrylic-blur)) saturate(1.6);backdrop-filter:blur(var(--usa-acrylic-blur)) saturate(1.6);border:1px solid color-mix(in srgb,#fff 22%,transparent)}@media (prefers-color-scheme:dark){usa-acrylic{--usa-acrylic-tint:#2c2c2c}}usa-acrylic::before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0.035;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")}usa-acrylic::after{content:\"\";position:absolute;inset:0;z-index:1;pointer-events:none;transform:translateX(-120%);background:linear-gradient(105deg,transparent 30%,rgb(255 255 255 / 0.28) 50%,transparent 70%)}usa-acrylic[shimmer=\"hover\"]:hover::after,usa-acrylic[data-shine]::after{animation:usa-acrylic-shine 1.1s cubic-bezier(0.22,1,0.36,1) both}@keyframes usa-acrylic-shine{from{transform:translateX(-120%)}to{transform:translateX(120%)}}usa-acrylic[kind=\"mica\"]{--usa-acrylic-opacity:80%;-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent),color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent)),var(--usa-mica-source,linear-gradient(135deg,#b8c6ff,#ffd6e8));border-color:transparent}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){usa-acrylic{background-color:var(--usa-acrylic-tint)}}@media (prefers-reduced-transparency:reduce){usa-acrylic{background:var(--usa-acrylic-tint);-webkit-backdrop-filter:none;backdrop-filter:none}}@media (forced-colors:active){usa-acrylic{background:Canvas;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:CanvasText}usa-acrylic::before,usa-acrylic::after{display:none}}"})}var mt='usa-grid-glow,usa-blobs,usa-water-ripple,usa-dot-network{position:relative;display:block;isolation:isolate;overflow:hidden}usa-grid-glow{--usa-grid:32px;--usa-grid-r:220px;--usa-grid-color:var(--usa-accent,#7c5cff);--usa-grid-x:50%;--usa-grid-y:50%}usa-grid-glow::before,usa-grid-glow::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(to right,var(--l) 1px,transparent 1px),linear-gradient(to bottom,var(--l) 1px,transparent 1px);background-size:var(--usa-grid) var(--usa-grid)}usa-grid-glow::before{--l:color-mix(in srgb,currentColor 9%,transparent)}usa-grid-glow::after{--l:var(--usa-grid-color);-webkit-mask:radial-gradient(var(--usa-grid-r) circle at var(--usa-grid-x) var(--usa-grid-y),#000,transparent 70%);mask:radial-gradient(var(--usa-grid-r) circle at var(--usa-grid-x) var(--usa-grid-y),#000,transparent 70%)}usa-blobs .usa-blobs-layer{position:absolute;inset:-20%;z-index:-1;filter:blur(var(--usa-blobs-blur,60px)) saturate(1.3);pointer-events:none}usa-blobs .usa-blobs-layer i{position:absolute;width:45%;aspect-ratio:1;border-radius:42% 58% 60% 40% / 45% 45% 55% 55%;background:var(--c);opacity:0.75;left:calc(10% + var(--i) * 18%);top:calc(10% + var(--i) * 14%);animation:usa-blob calc(14s / var(--usa-blobs-speed,1)) ease-in-out infinite alternate;animation-delay:calc(var(--i) * -3.5s)}@keyframes usa-blob{0%{transform:translate(0,0) rotate(0) scale(1);border-radius:42% 58% 60% 40% / 45% 45% 55% 55%}50%{transform:translate(18%,-12%) rotate(120deg) scale(1.15);border-radius:60% 40% 35% 65% / 55% 60% 40% 45%}100%{transform:translate(-14%,14%) rotate(240deg) scale(0.9);border-radius:38% 62% 55% 45% / 62% 38% 62% 38%}}usa-water-ripple .usa-bg-canvas{position:absolute;inset:0;z-index:1;pointer-events:none;mix-blend-mode:screen}usa-dot-network .usa-bg-canvas{position:absolute;inset:0;z-index:-1;pointer-events:none}@media (prefers-reduced-motion:reduce){usa-blobs .usa-blobs-layer i{animation:none}}';function gt(t,e,s){const i=document.createElement("canvas");i.className="usa-bg-canvas",i.setAttribute("aria-hidden","true"),t.prepend(i),t.onCleanup(()=>i.remove());const a=i.getContext?.("2d");if(!a)return;const r=Math.min(2,"undefined"!=typeof window&&window.devicePixelRatio||1);let n=0,o=0;const u=()=>{const e=t.getBoundingClientRect();n=Math.max(1,e.width||300),o=Math.max(1,e.height||150),i.width=n*r,i.height=o*r,a.setTransform(r,0,0,r,0,0)};u();const l="undefined"!=typeof ResizeObserver?new ResizeObserver(u):null;l?.observe(t),t.onCleanup(()=>l?.disconnect());let c=0,h=!1;const d=t=>{document.hidden||e(a,n,o,t),c=m(d)};s?e(a,n,o,0):(t.inView(t=>{t&&!h?(h=!0,c=m(d)):!t&&h&&(h=!1,b(c))}),t.onCleanup(()=>b(c)))}function bt(t="usa-grid-glow"){return d(t,t=>class extends t{mount(){if(this.style.setProperty("--usa-grid",`${this.num("size",32)}px`),this.style.setProperty("--usa-grid-r",`${this.num("radius",220)}px`),this.str("color")&&this.style.setProperty("--usa-grid-color",this.str("color")),this.reduced)return;let t=0,e=0,s=0;this.listen(this,"pointermove",i=>{const a=this.getBoundingClientRect();e=i.clientX-a.left,s=i.clientY-a.top,t||(t=m(()=>{t=0,this.style.setProperty("--usa-grid-x",`${e}px`),this.style.setProperty("--usa-grid-y",`${s}px`)}))}),this.onCleanup(()=>b(t))}},{id:"bg-fx",text:mt})}function yt(t="usa-blobs"){return d(t,t=>class extends t{mount(){this.querySelector(":scope > .usa-blobs-layer")?.remove();const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#34d399").split(","),e=document.createElement("div");e.className="usa-blobs-layer",e.setAttribute("aria-hidden","true"),e.innerHTML=t.map((t,e)=>`<i style="--c:${t.trim()};--i:${e}"></i>`).join(""),this.prepend(e),this.style.setProperty("--usa-blobs-speed",String(this.num("speed",1))),this.style.setProperty("--usa-blobs-blur",`${this.num("blur",60)}px`)}},{id:"bg-fx",text:mt})}function vt(t="usa-water-ripple"){return d(t,t=>class extends t{constructor(){super(...arguments),this._drop=null}drop(t,e,s=1){this._drop?.(t,e,s)}mount(){if(this.reduced)return;let t=0,e=0,s=new Float32Array(0),i=new Float32Array(0);const a=this.num("damping",.96),r=this.str("color","255,255,255");this._drop=(i,a,r=1)=>{const n=Math.floor(i/4),o=Math.floor(a/4);n<1||o<1||n>=t-1||o>=e-1||(s[o*t+n]+=256*r*this.num("strength",1))},gt(this,(n,o,u)=>{const l=Math.ceil(o/4),c=Math.ceil(u/4);l===t&&c===e||(t=l,e=c,s=new Float32Array(t*e),i=new Float32Array(t*e)),n.clearRect(0,0,o,u);for(let o=1;o<e-1;o++)for(let e=1;e<t-1;e++){const u=o*t+e,l=((s[u-1]+s[u+1]+s[u-t]+s[u+t])/2-i[u])*a;i[u]=l,(l>2||l<-2)&&(n.fillStyle=`rgba(${r},${Math.min(.5,Math.abs(l)/300).toFixed(3)})`,n.fillRect(4*e,4*o,4,4))}const h=s;s=i,i=h},!1),this.listen(this,"pointermove",t=>{const e=this.getBoundingClientRect();this.drop(t.clientX-e.left,t.clientY-e.top,.35)}),this.listen(this,"pointerdown",t=>{const e=this.getBoundingClientRect();this.drop(t.clientX-e.left,t.clientY-e.top,1.5)})}},{id:"bg-fx",text:mt})}function xt(t="usa-dot-network"){return d(t,t=>class extends t{mount(){const t=Math.max(8,this.num("gap",28)),e=this.num("radius",140),s=this.str("color","124,92,255");let i=-1e4,a=-1e4;this.listen(this,"pointermove",t=>{const e=this.getBoundingClientRect();i=t.clientX-e.left,a=t.clientY-e.top}),this.listen(this,"pointerleave",()=>i=a=-1e4),gt(this,(r,n,o)=>{r.clearRect(0,0,n,o);const u=[];for(let l=t/2;l<o;l+=t)for(let o=t/2;o<n;o+=t){const t=Math.hypot(o-i,l-a),n=t<e?1-t/e:0,c=n?(o-i)/(t||1)*n*8:0,h=n?(l-a)/(t||1)*n*8:0;r.fillStyle=`rgba(${s},${(.25+.75*n).toFixed(3)})`,r.beginPath(),r.arc(o+c,l+h,1.2+2.2*n,0,2*Math.PI),r.fill(),n>.2&&u.push([o+c,l+h,n])}r.lineWidth=1;for(const[t,e,n]of u)r.strokeStyle=`rgba(${s},${(.5*n).toFixed(3)})`,r.beginPath(),r.moveTo(t,e),r.lineTo(i,a),r.stroke()},this.reduced)}},{id:"bg-fx",text:mt})}function wt(){l("variants",':root{--usa-accent:#7c5cff;--usa-accent-text:#fff;--usa-surface:#1b1e27;--usa-text:inherit;--usa-radius:14px;--usa-border:1px solid rgb(127 127 127 / 0.25);--usa-shadow:0 10px 30px -12px rgb(0 0 0 / 0.45);--usa-blur:0px;--usa-font:inherit}:where([variant="minimal"],[data-usa-variant="minimal"]){--usa-accent:currentColor;--usa-accent-text:Canvas;--usa-surface:transparent;--usa-radius:6px;--usa-border:1px solid color-mix(in srgb,currentColor 22%,transparent);--usa-shadow:none;--usa-blur:0px}:where([variant="neon"],[data-usa-variant="neon"]){--usa-accent:#00f0ff;--usa-accent-text:#04121a;--usa-surface:#0a0b14;--usa-text:#e6fbff;--usa-radius:10px;--usa-border:1px solid #00f0ff;--usa-shadow:0 0 6px #00f0ff,0 0 22px rgb(0 240 255 / 0.45);--usa-blur:0px}:where([variant="glass"],[data-usa-variant="glass"]){--usa-accent:#a78bfa;--usa-accent-text:#fff;--usa-surface:rgb(255 255 255 / 0.12);--usa-radius:18px;--usa-border:1px solid rgb(255 255 255 / 0.28);--usa-shadow:0 12px 40px -12px rgb(0 0 0 / 0.35);--usa-blur:16px}:where([variant="brutalist"],[data-usa-variant="brutalist"]){--usa-accent:#ff3d00;--usa-accent-text:#000;--usa-surface:#fff;--usa-text:#000;--usa-radius:0px;--usa-border:3px solid #000;--usa-shadow:5px 5px 0 #000;--usa-blur:0px;--usa-font:ui-monospace,"SFMono-Regular",Menlo,monospace}:where([variant="fluent"],[data-usa-variant="fluent"]){--usa-accent:#0067c0;--usa-accent-text:#fff;--usa-surface:rgb(249 249 249 / 0.82);--usa-text:#1a1a1a;--usa-radius:8px;--usa-border:1px solid rgb(0 0 0 / 0.08);--usa-shadow:0 2px 4px rgb(0 0 0 / 0.14),0 0 2px rgb(0 0 0 / 0.12);--usa-blur:30px;--usa-font:"Segoe UI Variable","Segoe UI",system-ui,sans-serif}:where([variant="material"],[data-usa-variant="material"]){--usa-accent:#6750a4;--usa-accent-text:#fff;--usa-surface:#fffbfe;--usa-text:#1c1b1f;--usa-radius:20px;--usa-border:0 solid transparent;--usa-shadow:0 1px 3px rgb(0 0 0 / 0.3),0 4px 8px 3px rgb(0 0 0 / 0.15);--usa-blur:0px;--usa-font:Roboto,system-ui,sans-serif}@media (prefers-color-scheme:dark){:where([variant="fluent"],[data-usa-variant="fluent"]){--usa-accent:#4cc2ff;--usa-accent-text:#000;--usa-surface:rgb(44 44 44 / 0.8);--usa-text:#fff;--usa-border:1px solid rgb(255 255 255 / 0.08)}:where([variant="material"],[data-usa-variant="material"]){--usa-accent:#d0bcff;--usa-accent-text:#381e72;--usa-surface:#1c1b1f;--usa-text:#e6e1e5}}.usa-surface{background:var(--usa-surface);color:var(--usa-text);border:var(--usa-border);border-radius:var(--usa-radius);box-shadow:var(--usa-shadow);font-family:var(--usa-font);-webkit-backdrop-filter:blur(var(--usa-blur));backdrop-filter:blur(var(--usa-blur))}@media (prefers-reduced-transparency:reduce){.usa-surface{-webkit-backdrop-filter:none;backdrop-filter:none}}')}function kt(t,e=("undefined"!=typeof document?document.documentElement:null)){e&&(wt(),t?e.setAttribute("data-usa-variant",t):e.removeAttribute("data-usa-variant"))}function _t(){ct(),ht(),dt(),pt(),ft(),bt(),yt(),vt(),xt()}const At={modal:"scale(0.94)","drawer-start":"translateX(-100%)","drawer-end":"translateX(100%)","drawer-bottom":"translateY(100%)",sheet:"translateY(40px)"};function Mt(t="usa-dialog"){return d(t,t=>class extends t{constructor(){super(...arguments),this._dialog=null,this._panel=null,this._backdrop=null,this._busy=null,this._syncing=!1,this.returnValue=""}static get observedAttributes(){return["open","kind","label"]}get dialog(){return this._dialog}get open(){return this.hasAttribute("open")}set open(t){this.toggleAttribute("open",!!t)}get kind(){return w(this,At,"modal")}changed(t){if("open"===t){if(this._syncing)return;this.open?this.show():this.close()}else this.syncAttrs()}syncAttrs(){if(!this._dialog)return;this._dialog.setAttribute("data-kind",this.kind),this._dialog.setAttribute("aria-modal","true");const t=this.getAttribute("label");t&&this._dialog.setAttribute("aria-label",t)}mount(){if(!this._dialog){const t=this.shadowRoot||this.attachShadow({mode:"open"});t.innerHTML='<dialog part="dialog"><div part="backdrop" aria-hidden="true"></div><div part="panel"><slot></slot></div></dialog>',function(t,e){try{if("function"==typeof CSSStyleSheet&&"adoptedStyleSheets"in t){const s=new CSSStyleSheet;return s.replaceSync(e),void(t.adoptedStyleSheets=[s])}}catch{}const s=document.createElement("style");s.textContent=e,t.prepend(s)}(t,':host{display:contents}dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow:hidden}dialog:not([open]){display:none}dialog::backdrop{background:transparent}[part="backdrop"]{position:absolute;inset:0;background:var(--usa-dialog-backdrop,rgb(0 0 0 / 0.42))}[part="panel"]{position:absolute;left:50%;top:50%;translate:-50% -50%;box-sizing:border-box;width:min(var(--usa-dialog-width,480px),calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:var(--usa-dialog-padding,24px);border-radius:var(--usa-dialog-radius,12px);background:var(--usa-dialog-bg,Canvas);color:var(--usa-dialog-fg,CanvasText);box-shadow:0 32px 64px -12px rgb(0 0 0 / 0.45),0 0 0 1px rgb(127 127 127 / 0.18)}dialog[data-kind^="drawer"] [part="panel"]{top:0;bottom:0;translate:none;max-height:none;height:100%;border-radius:0;width:min(var(--usa-dialog-width,380px),88vw)}dialog[data-kind="drawer-start"] [part="panel"]{left:0}dialog[data-kind="drawer-end"] [part="panel"]{left:auto;right:0}dialog[data-kind="drawer-bottom"] [part="panel"],dialog[data-kind="sheet"] [part="panel"]{top:auto;bottom:0;left:0;right:0;translate:none;width:100%;height:auto;max-height:85vh;border-radius:var(--usa-dialog-radius,16px) var(--usa-dialog-radius,16px) 0 0}dialog[data-kind="sheet"] [part="panel"]{left:50%;translate:-50% 0;width:min(var(--usa-dialog-width,560px),100vw)}'),this._dialog=t.querySelector("dialog"),this._backdrop=t.querySelector("[part=backdrop]"),this._panel=t.querySelector("[part=panel]")}this.syncAttrs();const t=this._dialog;this.listen(t,"cancel",t=>{t.preventDefault(),this.flag("no-esc")||this.close("cancel")}),this.listen(this._backdrop,"click",()=>!this.flag("no-backdrop-close")&&this.close("backdrop")),this.listen(this,"click",t=>{const e=t.target.closest?.("[data-close]");e&&this.contains(e)&&this.close(e.getAttribute("data-close")||"close")}),this.open&&!t.open&&this.show()}unmount(){this._dialog?.open&&this._dialog.close()}setOpenAttr(t){this._syncing=!0,this.toggleAttribute("open",t),this._syncing=!1}async show(){await this._busy;const t=this._dialog;if(t){if(!t.open){this.setOpenAttr(!0);try{"function"==typeof t.showModal?t.showModal():t.setAttribute("open","")}catch{t.setAttribute("open","")}this.emit("open"),this.reduced?await this.animate2([{opacity:0},{opacity:1}],[{opacity:0},{opacity:1}],160,y):await this.animate2([{opacity:0,transform:At[this.kind]},{opacity:1,transform:"none"}],[{opacity:0},{opacity:1}],"modal"===this.kind?260:360,x)}}else this.setOpenAttr(!0)}async close(t=""){await this._busy;const e=this._dialog;e&&e.open?this.emit("beforeclose",{returnValue:t})?(this.returnValue=t,this._busy=(async()=>{const s=this.reduced?{opacity:0}:{opacity:0,transform:At[this.kind]},i=this.reduced?{opacity:1}:{opacity:1,transform:"none"};await this.animate2([i,s],[{opacity:1},{opacity:0}],this.reduced?120:200,"cubic-bezier(0.7, 0, 0.84, 0)","forwards");try{"function"==typeof e.close?e.close(t):e.removeAttribute("open")}catch{e.removeAttribute("open")}e.removeAttribute("open"),this._panel?.getAnimations?.().forEach(t=>t.cancel()),this._backdrop?.getAnimations?.().forEach(t=>t.cancel()),this.setOpenAttr(!1),this.emit("close",{returnValue:t})})(),await this._busy,this._busy=null):this.setOpenAttr(!0):this.setOpenAttr(!1)}animate2(t,e,s,i,a="none"){const r=this._panel?this.motion(this._panel,t,{duration:s,easing:i,fill:a}):null,n=this._backdrop?this.motion(this._backdrop,e,{duration:s,easing:"linear",fill:a}):null;return Promise.all([r?.finished,n?.finished].map(t=>t?.catch(()=>{}))).then(()=>{})}},{id:"dialog",text:"usa-dialog{display:contents}usa-dialog:not(:defined){display:none}"})}function Ct(t="usa-accordion"){return d(t,t=>class extends t{constructor(){super(...arguments),this._running=new WeakMap}static get observedAttributes(){return[]}get items(){return Array.from(this.children).filter(t=>"DETAILS"===t.tagName)}mount(){this.listen(this,"click",t=>{const e=t.target.closest?.("summary"),s=e?.parentElement;e&&s&&"DETAILS"===s.tagName&&s.parentElement===this&&(t.preventDefault(),this.toggleItem(s))})}closedHeight(t){const e=t.querySelector(":scope > summary"),s="function"==typeof getComputedStyle?getComputedStyle(t):null,i=s?["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].reduce((t,e)=>t+(parseFloat(s[e])||0),0):0;return(e?e.getBoundingClientRect().height:0)+i}async toggleItem(t,e=!t.open||t.hasAttribute("data-closing")){e&&!this.flag("multiple")&&this.items.forEach(e=>e!==t&&e.open&&this.toggleItem(e,!1)),this._running.get(t)?.cancel(),this._running.delete(t);const s=this.reduced?0:this.num("duration",300),i=t.getBoundingClientRect().height;if(e&&(t.removeAttribute("data-closing"),t.open=!0),this.emit("toggle",{details:t,open:e}),!s||"function"!=typeof t.animate)return void(e||(t.open=!1));const a=e?t.getBoundingClientRect().height:this.closedHeight(t);e||t.setAttribute("data-closing",""),t.style.overflow="hidden";const r=t.animate([{height:`${i}px`},{height:`${a}px`}],{duration:s,easing:y});this._running.set(t,r),await r.finished.catch(()=>{}),this._running.get(t)===r&&(this._running.delete(t),t.style.overflow="",e||(t.open=!1,t.removeAttribute("data-closing")))}},{id:"accordion",text:'usa-accordion{display:block}usa-accordion>details>summary{cursor:pointer}usa-accordion>details>summary::-webkit-details-marker{display:none}usa-accordion>details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1em}usa-accordion>details>summary::after{content:"";flex:none;width:0.5em;height:0.5em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-25%) rotate(45deg);transition:transform 0.3s cubic-bezier(0.22,1,0.36,1);opacity:0.7}usa-accordion>details[open]:not([data-closing])>summary::after{transform:translateY(25%) rotate(-135deg)}@media (prefers-reduced-motion:reduce){usa-accordion>details>summary::after{transition:none}}'})}function St(t="usa-flip-list"){return d(t,t=>class extends t{constructor(){super(...arguments),this._pos=new WeakMap,this._manual=!1}static get observedAttributes(){return[]}snapshot(){const t=this.getBoundingClientRect();for(const e of Array.from(this.children)){const s=e.getBoundingClientRect();this._pos.set(e,{x:s.left-t.left,y:s.top-t.top})}}mount(){if(this.snapshot(),"undefined"!=typeof MutationObserver){const t=new MutationObserver(()=>{this._manual||this.animateFrom(this._pos)});t.observe(this,{childList:!0}),this.onCleanup(()=>t.disconnect())}if("undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>this.snapshot());t.observe(this),this.onCleanup(()=>t.disconnect())}}animateFrom(t){const e=this.reduced||this.flag("disabled"),s=this.getBoundingClientRect(),i=Array.from(this.children),a=i.map(t=>{const e=t.getBoundingClientRect();return{x:e.left-s.left,y:e.top-s.top}}),r=[],n=this.num("duration",420),o=this.str("easing",x);return i.forEach((s,i)=>{const u=t.get(s);if(this._pos.set(s,a[i]),e||"function"!=typeof s.animate)return;if(!u)return void r.push(s.animate([{opacity:0,transform:"scale(0.92)"},{opacity:1,transform:"none"}],{duration:n,easing:o}).finished.catch(()=>0));const l=u.x-a[i].x,c=u.y-a[i].y;Math.abs(l)<.5&&Math.abs(c)<.5||r.push(s.animate([{transform:`translate(${l}px, ${c}px)`},{transform:"none"}],{duration:n,easing:o,composite:"add"}).finished.catch(()=>0))}),Promise.all(r).then(()=>{})}async flip(t){this.snapshot();const e=this._pos;this._pos=new WeakMap;for(const t of Array.from(this.children)){const s=e.get(t);s&&this._pos.set(t,s)}this._manual=!0;try{await t()}finally{this._manual=!1}await this.animateFrom(e)}},{id:"flip-list",text:"usa-flip-list{display:block}"})}function Et(t="usa-view-switch"){return d(t,t=>class extends t{constructor(){super(...arguments),this._index=-1,this._anims=[]}static get observedAttributes(){return["active"]}get views(){return Array.from(this.children)}get active(){return this.str("active","0")}set active(t){this.setAttribute("active",String(t))}indexOf(t){const e=this.views,s=e.findIndex(e=>e.dataset.view===String(t));if(s>=0)return s;const i=Number(t);return Number.isInteger(i)&&i>=0&&i<e.length?i:-1}changed(){this.show(this.active)}mount(){const t=Math.max(0,this.indexOf(this.active));this._index=t,this.views.forEach((e,s)=>this.setVisible(e,s===t))}setVisible(t,e){t.hidden=!e,t.toggleAttribute("inert",!e),t.toggleAttribute("data-active",e)}async show(t){const e=this.indexOf(t),s=this._index;if(e<0||e===s)return;const i=this.views,a=i[s],r=i[e];this._index=e;const n=r.dataset.view??String(e);if(this.active!==n&&this.active!==String(e)&&this.setAttribute("active",n),this._anims.splice(0).forEach(t=>t.finish()),this.setVisible(r,!0),this.emit("change",{view:r,index:e,name:n}),!a)return;const o=this.num("duration",320),u=e>s?1:-1;let l,c;switch(this.reduced?"fade":this.str("effect","slide")){case"fade":l={opacity:0},c={opacity:0};break;case"scale":l={opacity:0,transform:"scale(0.96)"},c={opacity:0,transform:"scale(1.04)"};break;case"drill":l={opacity:0,transform:`scale(${u>0?1.06:.94})`},c={opacity:0,transform:`scale(${u>0?.94:1.06})`};break;default:l={opacity:0,transform:`translateX(${32*-u}px)`},c={opacity:0,transform:`translateX(${48*u}px)`}}const h=t=>"transform"in t?{opacity:1,transform:"none"}:{opacity:1};a.setAttribute("data-leaving","");const d=this.motion(a,[h(l),l],{duration:.6*o,easing:y,fill:"forwards"}),p=this.motion(r,[c,h(c)],{duration:o,delay:.15*o,easing:x,fill:"backwards"});this._anims=[d,p].filter(t=>!!t),await Promise.all(this._anims.map(t=>t.finished.catch(()=>{}))),a.removeAttribute("data-leaving"),this._index!==s&&this.setVisible(a,!1),d?.cancel()}},{id:"view-switch",text:"usa-view-switch{display:grid}usa-view-switch>*{grid-area:1 / 1;min-width:0}usa-view-switch>[hidden]:not([data-leaving]){display:none !important}usa-view-switch>[data-leaving]{display:block;pointer-events:none}"})}const $t=t=>t instanceof Element?Array.from(t.children):Array.from(t);function zt(){Mt(),Ct(),St(),Et()}const Tt={default:{stiffness:170,damping:26,mass:1},gentle:{stiffness:120,damping:14,mass:1},wobbly:{stiffness:180,damping:12,mass:1},stiff:{stiffness:210,damping:20,mass:1},bouncy:{stiffness:300,damping:10,mass:1},slow:{stiffness:280,damping:60,mass:1},molasses:{stiffness:280,damping:120,mass:1}};function Pt(t){const e="string"==typeof t?Tt[t]||Tt.default:{...Tt.default,...t||{}},s=(t,e)=>"number"==typeof t&&Number.isFinite(t)&&t>0?t:e,i="object"==typeof t&&t||{};return{stiffness:s(e.stiffness,170),damping:Math.max(0,Number.isFinite(e.damping)?e.damping:26),mass:s(e.mass,1),velocity:Number.isFinite(i.velocity)?i.velocity:0,precision:s(i.precision,.001)}}function Ft(t,e,s,i,a){const r=s+(-t.stiffness*(e-i)-t.damping*s)/t.mass*a;return[e+r*a,r]}const Nt=new Map;function Lt(t,e=60){const s=Pt(t),i=`${s.stiffness}|${s.damping}|${s.mass}|${s.velocity}|${s.precision}|${e}`,a=Nt.get(i);if(a)return a;const r=[0];let n=0,o=s.velocity;const u=1e3/e;let l=0,c=u;for(;l<1e4&&([n,o]=Ft(s,n,o,1,.001),l+=1,!(l>=c&&(r.push(n),c+=u,Math.abs(1-n)<s.precision&&Math.abs(o)<10*s.precision))););r[r.length-1]=1;const h={values:r,duration:Math.round(l)};return Nt.size>64&&Nt.clear(),Nt.set(i,h),h}function Rt(){return"undefined"!=typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("animation-timing-function","linear(0, 1)")}function It(t,e=48){const{values:s,duration:i}=Lt(t);return Rt()?{easing:qt(s,e),duration:i}:{easing:v,duration:Math.min(i,1200)}}function qt(t,e=48){const s=t.length,i=Math.max(1,Math.ceil((s-1)/Math.max(2,e-1))),a=[];for(let e=0;e<s-1;e+=i)a.push(String(Math.round(1e3*t[e])/1e3));return a.push("1"),`linear(${a.join(", ")})`}function Bt(t={}){let e=Pt(t.spring),s=t.value??0,i=0,a=s,r=0,n=0,u=!1;const l=()=>{u&&b(r),u=!1},c=()=>{const o=g();let l=Math.min(64,Math.max(1,o-n));for(n=o;l>0;){const t=Math.min(l,4);[s,i]=Ft(e,s,i,a,t/1e3),l-=t}const h=Math.max(1,5e-4*Math.abs(a));if(Math.abs(a-s)<e.precision*h*10&&Math.abs(i)<e.precision*h*100)return s=a,i=0,u=!1,t.onUpdate?.(s,0),void t.onRest?.(s);t.onUpdate?.(s,i),r=m(c)},h={get value(){return s},get velocity(){return i},get target(){return a},get animating(){return u},set(e,s){if(a=e,void 0!==s&&Number.isFinite(s)&&(i=s),o())return h.jump(e),void t.onRest?.(e);u||(u=!0,n=g(),r=m(c))},jump(e){l(),s=a=e,i=0,t.onUpdate?.(s,0)},stop(){l(),i=0,a=s},configure(t){e=Pt(t)}};return h}function Xt(t,e,s=.325){return t+e*s}function Yt(t,e){return Array.isArray(e)?e.length?e.reduce((e,s)=>Math.abs(s-t)<Math.abs(e-t)?s:e,e[0]):t:"number"==typeof e&&e>0?Math.round(t/e)*e:t}function Ot(t,e,s=.55){if(e<=0)return 0;return(t<0?-1:1)*(1-1/(Math.abs(t)*s/e+1))*e}const Ht=new Set(["bounce-in","pop","drop"]);function Dt(t,e=!1){if(e)return Ht.has(t)?[{opacity:0},{opacity:1}]:[{opacity:1},{opacity:1}];switch(t){case"pop":return[{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"}];case"drop":return[{opacity:0,transform:"translate3d(0, -120%, 0)"},{opacity:1,transform:"translate3d(0, 0, 0)"}];case"jelly":return[{transform:"scale3d(1, 1, 1)"},{transform:"scale3d(1.25, 0.75, 1)",offset:.3},{transform:"scale3d(0.75, 1.25, 1)",offset:.4},{transform:"scale3d(1.15, 0.85, 1)",offset:.5},{transform:"scale3d(0.95, 1.05, 1)",offset:.65},{transform:"scale3d(1.05, 0.95, 1)",offset:.75},{transform:"scale3d(1, 1, 1)"}];case"rubber-band":return[{transform:"scale3d(1, 1, 1)"},{transform:"scale3d(1.3, 0.7, 1)",offset:.3},{transform:"scale3d(0.8, 1.2, 1)",offset:.45},{transform:"scale3d(1.1, 0.9, 1)",offset:.6},{transform:"scale3d(0.97, 1.03, 1)",offset:.8},{transform:"scale3d(1, 1, 1)"}];default:return[{opacity:0,transform:"scale(0.3)"},{opacity:1,transform:"scale(1)"}]}}const Vt={"bounce-in":"bouncy",pop:"wobbly",drop:"bouncy"};function jt(t="usa-spring"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null}static get observedAttributes(){return["effect","trigger","repeat"]}get effect(){return this.str("effect","bounce-in")}set effect(t){this.setAttribute("effect",t)}config(){return this.hasAttribute("stiffness")||this.hasAttribute("damping")||this.hasAttribute("mass")?{stiffness:this.num("stiffness",170),damping:this.num("damping",26),mass:this.num("mass",1)}:this.str("preset",Vt[this.effect]||"wobbly")}mount(){const t=this.str("trigger","view"),e=Ht.has(this.effect);"view"===t?(e&&this.setAttribute("data-state","hidden"),this.inView(t=>{t?this.play():this.flag("repeat")&&e&&this.reset()},{threshold:.15})):("hover"===t&&this.listen(this,"pointerenter",()=>this.play()),"click"===t&&(this.listen(this,"click",()=>this.play()),this.listen(this,"keydown",t=>("Enter"===t.key||" "===t.key)&&!t.repeat&&this.play())))}unmount(){this._anim?.cancel(),this._anim=null}reset(){this._anim?.cancel(),this._anim=null,Ht.has(this.effect)&&this.setAttribute("data-state","hidden")}async play(){const t=this.effect,e=this.reduced;this._anim?.cancel(),this.setAttribute("data-state","playing");const s=Dt(t,e),i=Ht.has(t)&&!e?It(this.config()):{duration:e?250:this.num("duration",900),easing:"ease-out"},a=this.motion(this,s,{...i,delay:this.num("delay",0),fill:"backwards"});if(this._anim=a,a){try{await a.finished}catch{return}if(this._anim!==a)return}this._anim=null,this.setAttribute("data-state","done"),this.emit("complete",{effect:t})}},{id:"spring",text:'usa-spring{display:inline-block;transform-origin:50% 70%}usa-spring[block]{display:block}usa-spring[effect="drop"]{transform-origin:50% 100%}usa-spring[data-state="hidden"]{opacity:0}usa-spring[trigger="click"],usa-spring[trigger="hover"]{cursor:pointer;-webkit-tap-highlight-color:transparent}'})}const Ut=t=>{if(!t.trim())return null;const e=t.split(",").map(t=>Number(t.trim())).filter(t=>Number.isFinite(t));return e.length?t.includes(",")?e:e[0]:null};function Wt(t="usa-draggable"){return d(t,t=>class extends t{constructor(){super(...arguments),this._x=0,this._y=0,this._drag=null}static get observedAttributes(){return["axis","disabled","preset"]}get x(){return this._x}get y(){return this._y}get dragging(){return!!this._drag}render(){this.style.transform=`translate3d(${this._x}px, ${this._y}px, 0)`,this.style.setProperty("--usa-drag-x",`${this._x}px`),this.style.setProperty("--usa-drag-y",`${this._y}px`)}axis(){return this.str("axis","both")}limits(){if("parent"!==this.str("bounds")||!this.parentElement)return null;const t=this.parentElement.getBoundingClientRect(),e=this.getBoundingClientRect(),s=e.left-this._x,i=e.top-this._y;return{minX:t.left-s,maxX:t.right-s-e.width,minY:t.top-i,maxY:t.bottom-i-e.height}}mount(){let t=0;const e=()=>{++t>=2&&(t=0,this.removeAttribute("data-moving"),this.emit("settle",{x:this._x,y:this._y}))},s=this.str("preset","wobbly");this._sx=Bt({value:this._x,spring:s,onUpdate:t=>(this._x=t,this.render()),onRest:e}),this._sy=Bt({value:this._y,spring:s,onUpdate:t=>(this._y=t,this.render()),onRest:e}),this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("aria-roledescription","draggable"),this.listen(this,"pointerdown",t=>this.start(t)),this.listen(this,"pointermove",t=>this.move(t)),this.listen(this,"pointerup",t=>this.end(t)),this.listen(this,"pointercancel",t=>this.end(t)),this.listen(this,"keydown",t=>this.key(t)),this.render()}unmount(){this._sx?.stop(),this._sy?.stop(),this._drag=null}start(t){if(!(this.flag("disabled")||"mouse"===t.pointerType&&0!==t.button)){this._sx.stop(),this._sy.stop(),this._drag={id:t.pointerId,px:t.clientX,py:t.clientY,ox:this._x,oy:this._y,samples:[[t.clientX,t.clientY,"number"==typeof t.timeStamp?t.timeStamp:Date.now()]]};try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging",""),this.emit("drag-start",{x:this._x,y:this._y})}}move(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;const s=this.axis();let i="y"===s?e.ox:e.ox+t.clientX-e.px,a="x"===s?e.oy:e.oy+t.clientY-e.py;const r=this.limits();if(r){const t=(t,e,s,i)=>t<e?e+Ot(t-e,i):t>s?s+Ot(t-s,i):t;i=t(i,r.minX,r.maxX,200),a=t(a,r.minY,r.maxY,200)}this._x=i,this._y=a,e.samples.push([t.clientX,t.clientY,"number"==typeof t.timeStamp?t.timeStamp:Date.now()]),e.samples.length>6&&e.samples.shift(),this.render(),this.emit("drag",{x:i,y:a})}velocity(){const t=this._drag?.samples||[];if(t.length<2)return[0,0];const e=t[0],s=t[t.length-1],i=(s[2]-e[2])/1e3;return i<=0||i>.3?[0,0]:[(s[0]-e[0])/i,(s[1]-e[1])/i]}end(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;let[s,i]=this.velocity();const a=this.axis();"y"===a&&(s=0),"x"===a&&(i=0),this._drag=null,this.removeAttribute("data-dragging");let r=this._x,n=this._y;this.flag("spring-back")?(r=0,n=0):(this.flag("inertia")&&!this.reduced&&(r=Xt(r,s),n=Xt(n,i)),[r,n]=this.constrain(r,n)),this.emit("drag-end",{x:r,y:n,vx:s,vy:i}),this.go(r,n,s,i)}constrain(t,e){const s=Ut(this.str("snap"));let i=Yt(t,s),a=Yt(e,s);const r=this.limits();r&&(i=k(i,r.minX,Math.max(r.minX,r.maxX)),a=k(a,r.minY,Math.max(r.minY,r.maxY)));const n=this.axis();return["y"===n?0:i,"x"===n?0:a]}go(t,e,s=0,i=0){this.setAttribute("data-moving",""),this._sx.set(t,s),this._sy.set(e,i)}key(t){if(this.flag("disabled"))return;const e=this.num("step",16),s=Ut(this.str("snap")),i="number"==typeof s?s:e,a={ArrowLeft:[-i,0],ArrowRight:[i,0],ArrowUp:[0,-i],ArrowDown:[0,i]};if("Home"===t.key||"Escape"===t.key)return t.preventDefault(),void this.reset();const r=a[t.key];if(!r)return;t.preventDefault();const[n,o]=this.flag("spring-back")?[this._sx.target+r[0],this._sy.target+r[1]]:this.constrain(this._sx.target+r[0],this._sy.target+r[1]);this.go(n,o)}moveTo(t,e,s=!0){if(!s)return this._sx.jump(t),void this._sy.jump(e);this.go(t,e)}reset(){this.go(0,0)}},{id:"draggable",text:'usa-draggable{display:inline-block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;will-change:transform;-webkit-tap-highlight-color:transparent}usa-draggable[axis="x"]{touch-action:pan-y}usa-draggable[axis="y"]{touch-action:pan-x}usa-draggable[block]{display:block}usa-draggable[data-dragging]{cursor:grabbing}usa-draggable[disabled]{cursor:default}usa-draggable:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}'})}function Gt(t="usa-overscroll"){return d(t,t=>class extends t{constructor(){super(...arguments),this._off=0}static get observedAttributes(){return["axis","disabled"]}get offset(){return this._off}set(t){this._off=t,this.style.setProperty("--usa-overscroll",`${t}px`),this.toggleAttribute("data-stretched",Math.abs(t)>.5)}edge(t){const e="x"===this.str("axis","y"),s=e?this.scrollLeft:this.scrollTop,i=(e?this.scrollWidth-this.clientWidth:this.scrollHeight-this.clientHeight)-1;return t<0&&s<=0||t>0&&s>=i}stretch(t){const e=this.num("max",120);this.set(Math.max(-e,Math.min(e,Ot(t,2.5*e))))}mount(){this._spring=Bt({spring:this.str("preset","default"),onUpdate:t=>this.set(t)});const t="x"===this.str("axis","y"),e=()=>this.flag("disabled")||this.reduced;let s,i=0;this.listen(this,"wheel",a=>{const r=t&&a.deltaX||a.deltaY;!e()&&r&&this.edge(r)&&(this._spring.stop(),i-=r,this.stretch(i),clearTimeout(s),s=setTimeout(()=>{i=0,this._spring.jump(this._off),this._spring.set(0)},140))},{passive:!0}),this.onCleanup(()=>clearTimeout(s));let a=0,r=!1;this.listen(this,"touchstart",s=>{if(e())return;const i=s.touches[0];a=t?i.clientX:i.clientY,r=!1,this._spring.stop()},{passive:!0}),this.listen(this,"touchmove",s=>{if(e())return;const i=s.touches[0],n=(t?i.clientX:i.clientY)-a;!r&&0!==n&&this.edge(-n)&&(r=!0),r&&(s.cancelable&&s.preventDefault(),this.stretch(n))},{passive:!1});const n=()=>{r&&(r=!1,this._spring.jump(this._off),this._spring.set(0))};this.listen(this,"touchend",n),this.listen(this,"touchcancel",n)}unmount(){this._spring?.stop(),this.set(0)}},{id:"overscroll",text:'usa-overscroll{display:block;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}usa-overscroll[axis="x"]{overflow-y:hidden}usa-overscroll>*{transform:translate3d(0,var(--usa-overscroll,0px),0)}usa-overscroll[axis="x"]>*{transform:translate3d(var(--usa-overscroll,0px),0,0)}usa-overscroll[data-stretched]>*{will-change:transform}'})}function Kt(){jt(),Wt(),Gt()}const Zt=new Set(["holo","border-glow","spotlight","parallax-layers","lift"]);function Jt(t="usa-card"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._spacer=null,this._backdrop=null,this._busy=!1}static get observedAttributes(){return["effect","trigger","disabled"]}get effects(){return this.str("effect","lift").split(/[\s,]+/).filter(Boolean)}has(t){return this.effects.includes(t)}get flipped(){return this.flag("flipped")}set flipped(t){this.setFlag("flipped",t)}get expanded(){return this.flag("expanded")}mount(){if(this.flag("disabled"))return;const t=this.str("color");if(t&&this.style.setProperty("--usa-card-glow",t),this.has("sheen")&&!this.querySelector(":scope > .usa-card-sheen")&&this.append(Qt("usa-card-sheen")),this.has("holo")&&!this.querySelector(":scope > .usa-card-holo")&&this.append(Qt("usa-card-holo")),this.has("flip")){"click"===this.str("trigger","hover")&&(this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("role",this.getAttribute("role")||"button"),this.setAttribute("aria-pressed",String(this.flipped)),this.listen(this,"click",t=>!te(t.target,this)&&this.flip()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.target!==this||(t.preventDefault(),this.flip())})),this.setBackHidden()}if(this.has("expand")&&(this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("aria-expanded",String(this.expanded)),this.listen(this,"click",t=>{const e=t.target;e.closest?.("[data-close]")?(t.stopPropagation(),this.collapse()):this.expanded||te(e,this)||this.expand()}),this.listen(this,"keydown",t=>{"Escape"===t.key&&this.expanded?this.collapse():"Enter"!==t.key&&" "!==t.key||t.target!==this||this.expanded||(t.preventDefault(),this.expand())})),!this.effects.some(t=>Zt.has(t))||this.reduced)return;let e=null,s=.5,i=.5;const a=()=>{this._frame=0;const t=k(2*s-1,-1,1),e=k(2*i-1,-1,1);if(this.style.setProperty("--usa-card-x",`${(100*s).toFixed(1)}%`),this.style.setProperty("--usa-card-y",`${(100*i).toFixed(1)}%`),this.style.setProperty("--usa-card-nx",t.toFixed(3)),this.style.setProperty("--usa-card-ny",e.toFixed(3)),this.has("parallax-layers")){const s=this.num("depth",16);this.querySelectorAll("[data-depth]").forEach(i=>{const a=Number(i.dataset.depth)||.5;i.style.transform=`translate3d(${(t*s*a).toFixed(1)}px, ${(e*s*a).toFixed(1)}px, 0)`})}};this.listen(this,"pointerenter",()=>{e=this.getBoundingClientRect(),this.setAttribute("data-hover","")}),this.listen(this,"pointermove",t=>{this.expanded||(e=e||this.getBoundingClientRect(),s=(t.clientX-e.left)/(e.width||1),i=(t.clientY-e.top)/(e.height||1),this._frame||(this._frame=m(a)))}),this.listen(this,"pointerleave",()=>{e=null,s=i=.5,this.removeAttribute("data-hover"),this._frame||(this._frame=m(a))})}unmount(){b(this._frame),this._frame=0,this.expanded&&this.finishCollapse()}setBackHidden(){const t=this.querySelector(":scope > [data-front]"),e=this.querySelector(":scope > [data-back]");t?.setAttribute("aria-hidden",String(this.flipped)),e?.setAttribute("aria-hidden",String(!this.flipped))}flip(t){const e=void 0===t?!this.flipped:t;e!==this.flipped&&(this.flipped=e,this.hasAttribute("aria-pressed")&&this.setAttribute("aria-pressed",String(e)),this.setBackHidden(),this.emit("flip",{flipped:e}))}async expand(){if(this.expanded||this._busy)return;this._busy=!0;const t=this.getBoundingClientRect(),e=document.createElement("div");e.className="usa-card-spacer",e.style.cssText=`width:${t.width}px;height:${t.height}px`,e.setAttribute("aria-hidden","true"),this.before(e),this._spacer=e;const s=document.createElement("div");s.className="usa-card-backdrop",s.addEventListener("click",()=>this.collapse()),this.before(s),this._backdrop=s,this.setFlag("expanded",!0),this.setAttribute("aria-expanded","true"),this.emit("expand");const i=this.getBoundingClientRect();await this.flipFrom(t,i),this.motion(s,[{opacity:0},{opacity:1}],{duration:250,easing:"ease-out"}),this.focus({preventScroll:!0}),this._busy=!1}async collapse(){if(!this.expanded||this._busy)return;this._busy=!0;const t=this.getBoundingClientRect(),e=this._backdrop;e&&this.motion(e,[{opacity:1},{opacity:0}],{duration:200,easing:"ease-in",fill:"forwards"}),this.finishCollapse(),this.emit("collapse");const s=this.getBoundingClientRect();await this.flipFrom(t,s),this._busy=!1}finishCollapse(){this.setFlag("expanded",!1),this.setAttribute("aria-expanded","false"),this._spacer?.remove(),this._backdrop?.remove(),this._spacer=this._backdrop=null}async flipFrom(t,e){if(this.reduced){const t=this.motion(this,[{opacity:.4},{opacity:1}],{duration:200});return void await(t?.finished.catch(()=>{}))}const s=t.width/(e.width||1),i=t.height/(e.height||1),a=t.left-e.left,r=t.top-e.top,{easing:n,duration:o}=It("stiff"),u=this.motion(this,[{transformOrigin:"0 0",transform:`translate(${a}px, ${r}px) scale(${s}, ${i})`},{transformOrigin:"0 0",transform:"none"}],{duration:Math.min(o,900),easing:n||y});await(u?.finished.catch(()=>{}))}},{id:"card",text:'usa-card{--usa-card-radius:18px;--usa-card-bg:var(--usa-surface,#1b1e27);--usa-card-glow:var(--usa-accent,#7c5cff);--usa-card-x:50%;--usa-card-y:50%;--usa-card-nx:0;--usa-card-ny:0;position:relative;display:block;border-radius:var(--usa-card-radius);isolation:isolate;-webkit-tap-highlight-color:transparent}usa-card:focus-visible{outline:2px solid var(--usa-card-glow);outline-offset:3px}usa-card[effect~="lift"]{transition:transform 0.45s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.45s ease}usa-card[effect~="lift"][data-hover],usa-card[effect~="lift"]:focus-visible{transform:translateY(-6px) perspective(900px) rotateX(calc(var(--usa-card-ny) * -4deg)) rotateY(calc(var(--usa-card-nx) * 4deg));box-shadow:0 22px 44px -18px rgb(0 0 0 / 0.55)}usa-card[effect~="glass"]{background:color-mix(in srgb,var(--usa-card-bg) 45%,transparent);border:1px solid rgb(255 255 255 / 0.16);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}usa-card[effect~="spotlight"]::before,usa-card[effect~="border-glow"]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-card[effect~="spotlight"]::before{z-index:-1;background:radial-gradient(260px circle at var(--usa-card-x) var(--usa-card-y),color-mix(in srgb,var(--usa-card-glow) 28%,transparent),transparent 70%)}usa-card[effect~="border-glow"]::after{padding:1.5px;background:radial-gradient(180px circle at var(--usa-card-x) var(--usa-card-y),var(--usa-card-glow),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-card[data-hover]::before,usa-card[data-hover]::after{opacity:1}@property --usa-card-angle{syntax:"<angle>";inherits:false;initial-value:0deg}usa-card[effect~="conic-border"]{border:2px solid transparent;background:linear-gradient(var(--usa-card-bg),var(--usa-card-bg)) padding-box,conic-gradient(from var(--usa-card-angle),var(--usa-card-glow),#22d3ee,#f472b6,var(--usa-card-glow)) border-box;animation:usa-card-spin 4s linear infinite}@keyframes usa-card-spin{to{--usa-card-angle:360deg}}usa-card .usa-card-sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}usa-card .usa-card-sheen::before{content:"";position:absolute;top:0;bottom:0;width:45%;left:-60%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgb(255 255 255 / 0.35),transparent)}usa-card[effect~="sheen"]:hover .usa-card-sheen::before,usa-card[effect~="sheen"]:focus-visible .usa-card-sheen::before{left:130%;transition:left 0.8s cubic-bezier(0.22,1,0.36,1)}usa-card .usa-card-holo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:color-dodge;opacity:0.35;background:linear-gradient(115deg,transparent 20%,#ff7ad9 35%,#7af0ff 45%,#ffe27a 55%,transparent 70%) calc(var(--usa-card-x) * 1.4 - 20%) calc(var(--usa-card-y) * 1.4 - 20%) / 220% 220%;transition:opacity 0.3s ease}usa-card[data-hover] .usa-card-holo{opacity:0.7}usa-card[effect~="parallax-layers"] [data-depth]{transition:transform 0.25s ease-out;will-change:transform}usa-card[effect~="flip"]{perspective:1000px;display:grid}usa-card[effect~="flip"]>[data-front],usa-card[effect~="flip"]>[data-back]{grid-area:1 / 1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:inherit;transition:transform 0.7s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease}usa-card[effect~="flip"]>[data-back]{transform:rotateY(180deg)}usa-card[effect~="flip"][axis="x"]>[data-back]{transform:rotateX(180deg)}usa-card[effect~="flip"][flipped]>[data-front],usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-front]{transform:rotateY(-180deg)}usa-card[effect~="flip"][flipped]>[data-back],usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-back]{transform:rotateY(0deg)}usa-card[effect~="flip"][axis="x"][flipped]>[data-front],usa-card[effect~="flip"][axis="x"]:not([trigger="click"]):hover>[data-front]{transform:rotateX(180deg)}usa-card[effect~="flip"][axis="x"][flipped]>[data-back],usa-card[effect~="flip"][axis="x"]:not([trigger="click"]):hover>[data-back]{transform:rotateX(0deg)}usa-card[effect~="flip"][trigger="click"]{cursor:pointer}usa-card[effect~="expand"]{cursor:zoom-in}usa-card[effect~="expand"]:not([expanded]) [data-detail]{display:none}usa-card[expanded]{position:fixed;inset:6vh max(4vw,calc(50vw - 420px));z-index:1000;overflow:auto;cursor:default;background:var(--usa-card-bg);box-shadow:0 30px 80px -20px rgb(0 0 0 / 0.6)}.usa-card-backdrop{position:fixed;inset:0;z-index:999;background:rgb(0 0 0 / 0.45)}@media (prefers-reduced-motion:reduce){usa-card,usa-card *,usa-card .usa-card-sheen::before{transition-duration:0.01ms !important;animation:none !important}usa-card[effect~="lift"][data-hover]{transform:none}usa-card[effect~="flip"]>[data-front],usa-card[effect~="flip"]>[data-back]{transform:none !important}usa-card[effect~="flip"][flipped]>[data-front],usa-card[effect~="flip"]:not([flipped])>[data-back]{opacity:0;visibility:hidden}usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-front]{opacity:0;visibility:hidden}usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-back]{opacity:1;visibility:visible}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){usa-card[effect~="glass"]{background:var(--usa-card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}'})}function Qt(t){const e=document.createElement("span");return e.className=t,e.setAttribute("aria-hidden","true"),e}function te(t,e){const s=t?.closest?.("a, button, input, select, textarea, label, [contenteditable]");return!!s&&s!==e&&e.contains(s)}function ee(t="usa-card-stack"){return d(t,t=>class extends t{constructor(){super(...arguments),this._drag=null,this._busy=!1}static get observedAttributes(){return["visible","offset","disabled"]}get top(){return this.cards()[0]||null}cards(){return Array.from(this.children).filter(t=>!t.hasAttribute("data-gone"))}layout(t=0){const e=this.num("visible",3),s=this.num("offset",10),i=this.reduced;this.cards().forEach((a,r)=>{if(a.style.zIndex=String(100-r),a.toggleAttribute("data-top",0===r),a.setAttribute("aria-hidden",String(0!==r)),0===r){const e=i?0:t/18;a.style.transform=`translate3d(${t}px, 0, 0) rotate(${e.toFixed(2)}deg)`,a.style.opacity="1"}else{const i=Math.min(r,e),n=Math.min(1,Math.abs(t)/this.num("threshold",90)),o=Math.max(0,i-n);a.style.transform=`translate3d(0, ${(o*s).toFixed(1)}px, 0) scale(${(1-.05*o).toFixed(3)})`,a.style.opacity=r>e?"0":"1"}})}mount(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.hasAttribute("role")||this.setAttribute("role","group"),this.setAttribute("aria-roledescription","card stack"),this._x=Bt({spring:"wobbly",onUpdate:t=>this.layout(t)}),this.layout(),this.listen(this,"pointerdown",t=>{if(!this.flag("disabled")&&!this._busy&&this.top&&this.top.contains(t.target)){this._x.stop(),this._drag={id:t.pointerId,x0:t.clientX-this._x.value,t0:t.timeStamp};try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging","")}}),this.listen(this,"pointermove",t=>{this._drag&&t.pointerId===this._drag.id&&this._x.jump(t.clientX-this._drag.x0)});const t=t=>{if(!this._drag||t.pointerId!==this._drag.id)return;this._drag=null,this.removeAttribute("data-dragging");const e=this._x.value;Math.abs(e)>=this.num("threshold",90)?this.swipe(e>0?"right":"left"):this._x.set(0)};this.listen(this,"pointerup",t),this.listen(this,"pointercancel",t),this.listen(this,"keydown",t=>{"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||(t.preventDefault(),this.swipe("ArrowLeft"===t.key?"left":"right"))});const e="undefined"!=typeof MutationObserver?new MutationObserver(()=>this.layout(this._x.value)):null;e?.observe(this,{childList:!0}),this.onCleanup(()=>e?.disconnect())}unmount(){this._x?.stop()}async swipe(t){const e=this.top;if(!e||this._busy||this.flag("disabled"))return;this._busy=!0,this._x.stop();const s=this._x.value,i=("left"===t?-1:1)*Math.max(320,1.4*(this.getBoundingClientRect().width||300));e.setAttribute("data-gone",""),this._x.jump(0),this.layout(0);const a=this.reduced?null:this.motion(e,[{transform:`translate3d(${s}px,0,0) rotate(${s/18}deg)`,opacity:1},{transform:`translate3d(${i}px,0,0) rotate(${i/14}deg)`,opacity:0}],{duration:380,easing:"cubic-bezier(0.3, 0.7, 0.4, 1)",fill:"forwards"});await(a?.finished.catch(()=>{})),a?.cancel(),e.removeAttribute("data-gone"),this.flag("loop")?this.append(e):e.remove(),this.layout(0),this._busy=!1,this.emit("swipe",{direction:t,card:e}),this.top||this.emit("empty")}},{id:"card-stack",text:"usa-card-stack{position:relative;display:grid;touch-action:pan-y;user-select:none;-webkit-user-select:none}usa-card-stack>*{grid-area:1 / 1;transform-origin:50% 100%;transition:transform 0.35s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease;will-change:transform}usa-card-stack>[data-top]{cursor:grab}usa-card-stack[data-dragging]>*,usa-card-stack>[data-top]{transition:none}usa-card-stack:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:4px;border-radius:12px}@media (prefers-reduced-motion:reduce){usa-card-stack>*{transition:none}}"})}function se(t="usa-sticky-stack"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["top","gap","scale"]}mount(){const t=this.num("top",80),e=this.num("gap",16);if(Array.from(this.children).forEach((s,i)=>{s.style.top=`${t+i*e}px`,s.style.zIndex=String(i+1)}),this.reduced)return;const s=()=>{this._frame||(this._frame=m(()=>this.update()))};let i=!1;this.inView(t=>{t&&!i?(i=!0,window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s,{passive:!0}),s()):!t&&i&&(i=!1,window.removeEventListener("scroll",s),window.removeEventListener("resize",s))}),this.onCleanup(()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",s)})}unmount(){b(this._frame),this._frame=0}update(){this._frame=0;const t=Array.from(this.children),e=t.map(t=>t.getBoundingClientRect()),s=this.num("scale",.06);t.forEach((i,a)=>{let r=0;for(let s=a+1;s<t.length;s++){const t=e[a].height||1;r+=k((e[a].bottom-e[s].top)/t,0,1)}const n=1-Math.min(3,r)*s;i.style.transform=r>.001?`scale(${n.toFixed(4)})`:"",i.style.filter=r>.001?`brightness(${(1-Math.min(.35,.12*r)).toFixed(3)})`:""})}},{id:"sticky-stack",text:"usa-sticky-stack{display:grid;gap:28vh;padding-bottom:10vh}usa-sticky-stack>*{position:sticky;transform-origin:50% 0;will-change:transform}"})}function ie(t="usa-carousel-3d"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0}static get observedAttributes(){return["radius","perspective","autoplay"]}get index(){return this._i}set index(t){this.goTo(t)}items(){return Array.from(this.children)}render(t){const e=this.items(),s=e.length||1,i=360/s,a=e[0]?.offsetWidth||200,r=this.num("radius",Math.round(a/2/Math.tan(Math.PI/s))+24),n=this.reduced;e.forEach((e,s)=>{const a=((s*i-t)%360+540)%360-180;e.style.transform=n?"":`rotateY(${a.toFixed(2)}deg) translateZ(${r}px)`,e.style.opacity=n?s===this._i?"1":"0":String(Math.max(.25,1-Math.abs(a)/200))})}mount(){this.style.setProperty("--usa-c3d-perspective",`${this.num("perspective",1200)}px`),this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("role","region"),this.setAttribute("aria-roledescription","carousel"),this._i=Math.max(0,Math.min(this.items().length-1,this.num("index",0)));this._angle=Bt({value:this._i*(()=>360/(this.items().length||1))(),spring:"gentle",onUpdate:t=>this.render(t)}),this.render(this._angle.value),this.mark(),this.listen(this,"keydown",t=>{if("ArrowRight"===t.key)this.next();else{if("ArrowLeft"!==t.key)return;this.prev()}t.preventDefault()});let t=null;this.listen(this,"pointerdown",e=>t=e.clientX),this.listen(this,"pointerup",e=>{if(null===t)return;const s=e.clientX-t;t=null,Math.abs(s)>40&&(s<0?this.next():this.prev())}),this.listen(this,"click",t=>{const e=this.items().find(e=>e.contains(t.target));if(e){const t=this.items().indexOf(e);t!==this._i&&this.goTo(t)}});const e=this.num("autoplay",0);if(e>0&&!this.reduced){let t=!1;const s=()=>t=!0,i=()=>t=!1;this.listen(this,"pointerenter",s),this.listen(this,"pointerleave",i),this.listen(this,"focusin",s),this.listen(this,"focusout",i);const a=setInterval(()=>!t&&!document.hidden&&this.next(),e);this.onCleanup(()=>clearInterval(a))}}unmount(){this._angle?.stop()}mark(){this.items().forEach((t,e)=>{e===this._i?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}goTo(t){const e=this.items().length;if(!e||!this._angle)return;const s=360/e,i=this._angle.target,a=Math.round(i/s);let r=((t-a)%e+e)%e;r>e/2&&(r-=e),this._i=(t%e+e)%e,this._angle.set((a+r)*s),this.reduced&&this.render(this._angle.value),this.mark(),this.emit("change",{index:this._i})}next(){this.goTo(this._i+1)}prev(){this.goTo(this._i-1)}},{id:"carousel-3d",text:"usa-carousel-3d{position:relative;display:grid;place-items:center;perspective:var(--usa-c3d-perspective,1200px);transform-style:preserve-3d;touch-action:pan-y;user-select:none;-webkit-user-select:none;min-height:220px}usa-carousel-3d>*{grid-area:1 / 1;backface-visibility:hidden;transition:opacity 0.3s ease;cursor:pointer}usa-carousel-3d>[aria-current]{cursor:default}usa-carousel-3d:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:4px;border-radius:12px}@media (prefers-reduced-motion:reduce){usa-carousel-3d{perspective:none}usa-carousel-3d>:not([aria-current]){visibility:hidden}}"})}function ae(){Jt(),ee(),se(),ie()}let re=null;const ne=["#7c5cff","#22d3ee","#f472b6","#facc15","#34d399","#fb923c"],oe={star:"★",heart:"♥"};function ue(t,e,s,i,a){const r=document.createElement("span"),n=oe[a]||("circle"!==a&&"square"!==a?a:"");return r.style.cssText=`position:absolute;left:${t}px;top:${e}px;width:${s}px;height:${s}px;margin:${-s/2}px 0 0 ${-s/2}px;will-change:transform,opacity;`+(n?`font-size:${2*s}px;line-height:${s}px;text-align:center;color:${i}`:`background:${i};border-radius:${"square"===a?"2px":"50%"}`),n&&(r.textContent=n),(re&&re.isConnected||(re=document.createElement("div"),re.className="usa-fx-layer",re.setAttribute("aria-hidden","true"),re.style.cssText="position:fixed;inset:0;pointer-events:none;z-index:2147483000;overflow:hidden;contain:strict",document.body.appendChild(re)),re).appendChild(r),r}const le=(t,e)=>{t?t.onfinish=()=>e.remove():e.remove()};function ce(t,e,s={}){if("undefined"==typeof document||o())return 0;const{count:i=12,colors:a=ne,distance:r=48,size:n=6,shape:u="circle",duration:l=600}=s;for(let s=0;s<i;s++){const o=s/i*Math.PI*2+.4*Math.random(),c=r*(.7+.5*Math.random()),h=ue(t,e,n,a[s%a.length],u),d="function"==typeof h.animate?h.animate([{transform:"translate(0,0) scale(1)",opacity:1},{transform:`translate(${Math.cos(o)*c}px, ${Math.sin(o)*c}px) scale(0.2)`,opacity:0}],{duration:l*(.8+.4*Math.random()),easing:"cubic-bezier(0.22, 1, 0.36, 1)",fill:"forwards"}):null;le(d,h)}return i}function he(t={}){if("undefined"==typeof document||o())return 0;const e=window.innerWidth||800,s=window.innerHeight||600,{x:i=e/2,y:a=.66*s,count:r=80,spread:n=70,velocity:u=1,colors:l=ne,duration:c=1600}=t;for(let t=0;t<r;t++){const e=((Math.random()-.5)*n-90)*Math.PI/180,s=(260+320*Math.random())*u,r=Math.cos(e)*s,o=Math.sin(e)*s,h=ue(i,a,6+5*Math.random(),l[t%l.length],Math.random()>.5?"square":"circle");h.style.height=4+3*Math.random()+"px";const d=[],p=8,f=c/1e3,m=1440*(Math.random()-.5);for(let t=0;t<=p;t++){const e=t/p*f,s=900;d.push({transform:`translate(${(r*e*.8).toFixed(1)}px, ${(o*e+.5*s*e*e).toFixed(1)}px) rotate(${(m*t/p).toFixed(0)}deg) rotateX(${120*t}deg)`,opacity:t===p?0:1})}const g="function"==typeof h.animate?h.animate(d,{duration:c*(.85+.3*Math.random()),easing:"linear",fill:"forwards"}):null;le(g,h)}return r}function de(t,e=8,s=480){const i=t;if("function"!=typeof i.animate)return null;if(o())return i.animate([{outline:"2px solid #e5484d"},{outline:"2px solid transparent"}],{duration:600});const a=e;return i.animate([0,-a,a,.75*-a,.75*a,.4*-a,.4*a,0].map(t=>({transform:`translateX(${t}px)`})),{duration:s,easing:"ease-in-out"})}function pe(t=10){try{return"undefined"!=typeof navigator&&"function"==typeof navigator.vibrate&&navigator.vibrate(t)}catch{return!1}}function fe(t="usa-click"){return d(t,t=>class extends t{constructor(){super(...arguments),this._press=null}static get observedAttributes(){return["effect","disabled"]}get effects(){return this.str("effect","ripple").split(/[\s,]+/).filter(Boolean)}mount(){this.listen(this,"pointerdown",t=>{this.flag("disabled")||"mouse"===t.pointerType&&0!==t.button||(this.down(),this.effects.includes("ripple")&&this.ripple(t.clientX,t.clientY))});const t=()=>this.up();this.listen(this,"pointerup",t),this.listen(this,"pointerleave",t),this.listen(this,"pointercancel",t),this.listen(this,"click",t=>{if(this.flag("disabled"))return;const e=0===t.detail,s=this.getBoundingClientRect(),i=e?s.left+s.width/2:t.clientX,a=e?s.top+s.height/2:t.clientY;e&&this.effects.includes("ripple")&&this.ripple(i,a),this.play(i,a),this.effects.includes("shake")&&"click"===this.str("trigger")&&this.shake()}),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||this.down()}),this.listen(this,"keyup",t),this.effects.includes("shake")&&this.listen(this,"invalid",()=>this.shake(),{capture:!0})}play(t,e){if(void 0===t||void 0===e){const s=this.getBoundingClientRect();t=s.left+s.width/2,e=s.top+s.height/2}const s=this.effects,i=this.str("color")?this.str("color").split(","):void 0;s.includes("burst")&&ce(t,e,{count:this.num("count",12),shape:this.str("shape","circle"),colors:i}),s.includes("confetti")&&he({x:t,y:e,count:this.num("count",60),colors:i,spread:90,velocity:.8}),this.hasAttribute("haptic")&&pe(this.num("haptic",10)),this.emit("click-effect",{x:t,y:e,effects:s})}shake(){de(this),this.hasAttribute("haptic")&&pe([30,40,30])}ripple(t,e){if(this.reduced)return;const s=this.getBoundingClientRect(),i=t-s.left,a=e-s.top,r=Math.hypot(Math.max(i,s.width-i),Math.max(a,s.height-a)),n=document.createElement("span");n.className="usa-click-wave",n.setAttribute("aria-hidden","true"),n.style.cssText=`width:${2*r}px;height:${2*r}px;left:${i-r}px;top:${a-r}px;--usa-wave:${this.str("color","currentColor").split(",")[0]}`,this.append(n);const o=this.motion(n,[{transform:"scale(0)",opacity:.35},{transform:"scale(1)",opacity:.25,offset:.6},{transform:"scale(1.05)",opacity:0}],{duration:650,easing:y,fill:"forwards"});o?o.onfinish=()=>n.remove():n.remove()}down(){if(this.hasAttribute("data-pressed"))return;const t=this.effects;if(!t.includes("squish")&&!t.includes("press-spring"))return;this.setAttribute("data-pressed",""),this._press?.cancel();const e=this.reduced?{opacity:.75}:t.includes("squish")?{transform:"scale(1.08, 0.86)"}:{transform:"scale(0.94)"},s=this.reduced?{opacity:1}:{transform:"none"};this._press=this.motion(this,[s,e],{duration:110,easing:"ease-out",fill:"forwards"})}up(){if(!this.hasAttribute("data-pressed"))return;this.removeAttribute("data-pressed");const t=this.effects;if(this._press?.cancel(),this.reduced)return void(this._press=this.motion(this,[{opacity:.75},{opacity:1}],{duration:150}));const e=t.includes("squish")?"scale(1.08, 0.86)":"scale(0.94)",s=t.includes("squish")?[{transform:e},{transform:"scale(0.92, 1.1)",offset:.3},{transform:"scale(1.03, 0.97)",offset:.6},{transform:"none"}]:[{transform:e},{transform:"none"}];this._press=this.motion(this,s,t.includes("squish")?{duration:520,easing:"ease-out"}:It("bouncy"))}},{id:"click",text:"usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}"})}let me=!1;function ge(t="usa-button"){return d(t,t=>class extends t{constructor(){super(...arguments),this._press=null,this._status=null,this._shapeBefore=null}static get observedAttributes(){return["deform","state","shape","disabled"]}get target(){return this.querySelector(':scope > button, :scope > a, :scope > [role="button"]')||this}deforms(){return this.str("deform").split(/[\s,]+/).filter(Boolean)}get shape(){return this.str("shape","pill")||"pill"}set shape(t){this.morphTo(t)}get state(){return this.str("state","idle")||"idle"}set state(t){this.setAttribute("state",t)}mount(){const t=this.target;if(t===this&&(this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0)),t.classList.add("usa-button-face"),"submit"===this.str("morph")&&!t.querySelector(".usa-button-status")){const e=document.createElement("span");e.className="usa-button-status",e.setAttribute("aria-hidden","true"),e.innerHTML='<svg class="usa-button-spin" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="100"/></svg><svg class="usa-button-ok" viewBox="0 0 24 24"><path d="M5 12.5l4.2 4.2L19 7" pathLength="1"/></svg><svg class="usa-button-err" viewBox="0 0 24 24"><path d="M7 7l10 10M17 7L7 17" pathLength="1"/></svg>',t.append(e);const s=document.createElement("span");s.className="usa-sr",s.setAttribute("role","status"),this.append(s),this._status=s}this.deforms().includes("gooey")&&function(){if(me||"undefined"==typeof document)return;me=!0;const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("width","0"),t.setAttribute("height","0"),t.style.position="absolute",t.innerHTML='<filter id="usa-goo"><feGaussianBlur in="SourceGraphic" stdDeviation="6" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 22 -9" result="g"/><feComposite in="SourceGraphic" in2="g" operator="atop"/></filter>',document.body.appendChild(t)}(),this.applyState(),this.listen(t,"pointerdown",t=>{this.isOff()||"mouse"===t.pointerType&&0!==t.button||this.down(t.clientX,t.clientY)});for(const e of["pointerup","pointerleave","pointercancel"])this.listen(t,e,()=>this.up());this.listen(t,"keydown",t=>("Enter"===t.key||" "===t.key)&&!t.repeat&&this.down()),this.listen(t,"keyup",()=>this.up()),this.listen(t,"click",t=>{this.isOff()?"loading"===this.state&&t.preventDefault():(this.deforms().includes("wobble")&&this.wobble(),this.hasAttribute("haptic")&&pe(this.num("haptic",10)),"submit"===this.str("morph")&&"idle"===this.state&&this.submit())}),t===this&&this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.click())})}unmount(){clearTimeout(this._timer),this._press?.cancel()}changed(t){"state"===t?this.applyState():"shape"===t?this.target.setAttribute("data-shape",this.shape):super.changed(t)}isOff(){return this.flag("disabled")||"loading"===this.state}down(t,e){if(this.reduced||this.hasAttribute("data-pressed"))return;const s=this.deforms();if(!s.length)return;this.setAttribute("data-pressed","");const i=this.target,a=i.getBoundingClientRect(),r=void 0===t?.5:k((t-a.left)/(a.width||1),0,1),n=void 0===e?.5:k((e-a.top)/(a.height||1),0,1);i.style.setProperty("--usa-dent-x",`${(100*r).toFixed(1)}%`),i.style.setProperty("--usa-dent-y",`${(100*n).toFixed(1)}%`);const o=[];s.includes("dent")&&o.push(`perspective(600px) rotateX(${(-14*(.5-n)).toFixed(2)}deg) rotateY(${(14*(r-.5)).toFixed(2)}deg) scale(0.97)`),s.includes("squash")&&o.push("scale(1.12, 0.84)"),s.includes("gooey")&&(o.push("scale(0.96)"),this.goo(r,n)),o.length&&(this._press?.cancel(),this._press=this.motion(i,[{transform:"none"},{transform:o.join(" ")}],{duration:110,easing:"ease-out",fill:"forwards"}))}up(){if(!this.hasAttribute("data-pressed"))return;this.removeAttribute("data-pressed");const t=this.target,e=this._press,s=e?.effect?.getKeyframes?.().slice(-1)[0]?.transform;e?.cancel(),s&&(this._press=this.motion(t,[{transform:s},{transform:"none"}],{...It(this.deforms().includes("squash")?"bouncy":"wobbly")}))}wobble(){if(this.reduced)return;const t=this.target,e=getComputedStyle(t).borderRadius||"12px";this.motion(t,[{borderRadius:e},{borderRadius:"42% 58% 50% 50% / 60% 45% 55% 40%",offset:.2},{borderRadius:"58% 42% 45% 55% / 40% 60% 40% 60%",offset:.45},{borderRadius:"48% 52% 52% 48% / 52% 48% 52% 48%",offset:.7},{borderRadius:e}],{duration:700,easing:"ease-out"})}goo(t,e){const s=this.target,i=document.createElement("span");i.className="usa-button-goo",i.setAttribute("aria-hidden","true"),i.style.setProperty("--usa-goo-bg",getComputedStyle(s).backgroundColor||"currentColor");const a=[];for(let s=0;s<4;s++){const s=document.createElement("i");s.style.left=`${(100*t).toFixed(1)}%`,s.style.top=`${(100*e).toFixed(1)}%`,i.append(s),a.push(s)}this.prepend(i);let r=a.length;a.forEach((t,e)=>{const s=e/a.length*Math.PI*2+.6,n=26+e%2*12,o=this.motion(t,[{transform:"translate(-50%, -50%) scale(0.4)"},{transform:`translate(calc(-50% + ${(Math.cos(s)*n).toFixed(1)}px), calc(-50% + ${(Math.sin(s)*n).toFixed(1)}px)) scale(1)`,offset:.45},{transform:"translate(-50%, -50%) scale(0.2)"}],{duration:700,easing:"cubic-bezier(0.34, 1.3, 0.64, 1)",fill:"forwards"}),u=()=>0===--r&&i.remove();o?o.onfinish=u:u()})}async morphTo(t){const e=this.target,s=e.getBoundingClientRect();if(this.setAttribute("shape",t),e.setAttribute("data-shape",t),this.reduced)return;const i=e.getBoundingClientRect();if(!s.width||!i.width||Math.abs(s.width-i.width)<.5)return;const a=this.motion(e,[{width:`${s.width}px`},{width:`${i.width}px`}],It("stiff"));await(a?.finished.catch(()=>{}))}submit(){let t=!1;this.state="loading",this.emit("submit",{done:(e=!0)=>{t||(t=!0,this.state=e?"success":"error")}})}applyState(){if("submit"!==this.str("morph"))return;const t=this.target,e=this.state;if(clearTimeout(this._timer),t.setAttribute("data-state",e),"loading"===e?(null===this._shapeBefore&&(this._shapeBefore=this.shape),t.setAttribute("aria-busy","true"),this.morphTo("circle")):t.removeAttribute("aria-busy"),"error"===e&&(de(t),this.hasAttribute("haptic")&&pe([30,40,30])),"success"===e&&!this.reduced){const e=t.querySelector(".usa-button-ok");e&&this.motion(e,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"))}if(this._status&&(this._status.textContent="loading"===e?"Loading…":"success"===e?"Done":"error"===e?"Failed":""),"success"!==e&&"error"!==e||(this._timer=setTimeout(()=>{this.state="idle"},this.num("reset",1800))),"idle"===e&&null!==this._shapeBefore){const t=this._shapeBefore;this._shapeBefore=null,this.morphTo(t)}this.emit("state",{state:e})}},{id:"button",text:'usa-button{position:relative;display:inline-block;isolation:isolate;-webkit-tap-highlight-color:transparent;touch-action:manipulation;vertical-align:middle}usa-button[role="button"]{cursor:pointer}usa-button .usa-button-face{position:relative;overflow:hidden;will-change:transform;transform-origin:50% 60%;white-space:nowrap}usa-button[deform~="gooey"] .usa-button-face{overflow:visible}usa-button[deform~="dent"] .usa-button-face::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.2s ease;background:radial-gradient(circle at var(--usa-dent-x,50%) var(--usa-dent-y,50%),rgb(0 0 0 / 0.28),transparent 60%)}usa-button[deform~="dent"][data-pressed] .usa-button-face::after{opacity:1}usa-button .usa-button-goo{position:absolute;inset:0;z-index:-1;pointer-events:none;filter:url(#usa-goo)}usa-button .usa-button-goo i{position:absolute;width:22px;height:22px;border-radius:50%;background:var(--usa-goo-bg);transform:translate(-50%,-50%) scale(0.4)}usa-button .usa-button-face[data-shape="circle"],usa-button .usa-button-face[data-shape="icon"]{padding-inline:0;aspect-ratio:1;border-radius:999px;display:inline-grid;place-items:center}usa-button .usa-button-face [data-label],usa-button .usa-button-face [data-icon]{transition:opacity 0.2s ease}usa-button .usa-button-face[data-shape="circle"] [data-label],usa-button .usa-button-face[data-shape="icon"] [data-label]{position:absolute;opacity:0;pointer-events:none}usa-button .usa-button-face[data-shape="circle"] [data-icon]{opacity:0}usa-button .usa-button-status{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}usa-button .usa-button-status svg{grid-area:1 / 1;width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0}usa-button .usa-button-spin circle{stroke-dasharray:60 100;transform-origin:50% 50%;animation:usa-btn-spin 0.8s linear infinite}usa-button .usa-button-ok path,usa-button .usa-button-err path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 0.35s ease 0.1s}usa-button .usa-button-face[data-state="loading"] .usa-button-spin,usa-button .usa-button-face[data-state="success"] .usa-button-ok,usa-button .usa-button-face[data-state="error"] .usa-button-err{opacity:1}usa-button .usa-button-face[data-state="success"] .usa-button-ok path,usa-button .usa-button-face[data-state="error"] .usa-button-err path{stroke-dashoffset:0}usa-button .usa-button-face:is([data-state="loading"],[data-state="success"],[data-state="error"])>:not(.usa-button-status){opacity:0}usa-button .usa-button-face[data-state="success"]{background:#16a34a;border-color:#16a34a;color:#fff}usa-button .usa-button-face[data-state="error"]{background:#e5484d;border-color:#e5484d;color:#fff}usa-button .usa-button-face[data-state]{transition:background-color 0.25s ease,color 0.25s ease,border-radius 0.3s ease}@keyframes usa-btn-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){usa-button .usa-button-spin circle{animation-duration:2.4s}usa-button .usa-button-face,usa-button .usa-button-face *{transition:none !important}}'})}const be=[[12,12],[12,12],[12,12],[12,12]],ye={play:[[[7,5],[12.5,8.25],[12.5,15.75],[7,19]],[[12.5,8.25],[19,12],[19,12],[12.5,15.75]],be],pause:[[[6,5],[10,5],[10,19],[6,19]],[[14,5],[18,5],[18,19],[14,19]],be],menu:[[[4,6],[20,6],[20,8],[4,8]],[[4,11],[20,11],[20,13],[4,13]],[[4,16],[20,16],[20,18],[4,18]]],close:[[[5.2,6.6],[6.6,5.2],[18.8,17.4],[17.4,18.8]],be,[[17.4,5.2],[18.8,6.6],[6.6,18.8],[5.2,17.4]]],plus:[[[11,4],[13,4],[13,20],[11,20]],[[4,11],[20,11],[20,13],[4,13]],be],minus:[[[4,11],[20,11],[20,13],[4,13]],[[4,11],[20,11],[20,13],[4,13]],be],check:[[[4.3,12.7],[5.7,11.3],[10.4,16],[9,17.4]],[[9,17.4],[7.6,16],[18.3,5.3],[19.7,6.7]],be],"arrow-right":[[[4,11],[17,11],[17,13],[4,13]],[[12.6,6.4],[14,5],[21,12],[19.6,13.4]],[[19.6,10.6],[21,12],[14,19],[12.6,17.6]]]};function ve(t,e=t,s=0){const i=ye[t]||ye.menu,a=ye[e]||i;return i.map((t,e)=>`M${t.map((t,i)=>{const r=a[e][i];return`${(t[0]+(r[0]-t[0])*s).toFixed(2)} ${(t[1]+(r[1]-t[1])*s).toFixed(2)}`}).join("L")}Z`).join("")}function xe(t="usa-icon-morph"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0,this._from="play",this._to="play"}static get observedAttributes(){return["icons","size","toggle"]}list(){return this.str("icons","play,pause").split(",").map(t=>t.trim()).filter(t=>ye[t])}get index(){return this._i}set index(t){this.show(t)}get icon(){return this.list()[this._i]||"play"}draw(t){this.querySelector("path")?.setAttribute("d",ve(this._from,this._to,t))}mount(){const t=this.num("size",24);this.innerHTML=`<svg viewBox="0 0 24 24" width="${t}" height="${t}" aria-hidden="true" focusable="false"><path/></svg>`,this._i=Math.max(0,Math.min(this.list().length-1,this.num("index",0))),this._from=this._to=this.icon,this._t=Bt({value:1,spring:this.str("preset","wobbly"),onUpdate:t=>this.draw(t)}),this.draw(1),this.flag("toggle")&&(this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.listen(this,"click",()=>this.next()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.next())})),this.label()}unmount(){this._t?.stop()}label(){const t=this.str("labels").split(",").map(t=>t.trim())[this._i];t&&this.setAttribute("aria-label",t),this.flag("toggle")||t||this.setAttribute("aria-hidden","true")}show(t){const e=this.list(),s="number"==typeof t?(t%e.length+e.length)%e.length:e.indexOf(t);if(s<0||!this._t)return;const i=e[s],a=this._t.value;this._from=a>=.5?this._to:this._from,this._to=i,this._i=s,this._t.jump(0),this._t.set(1),this.label(),this.emit("change",{index:s,icon:i})}next(){this.show(this._i+1)}},{id:"icon-morph",text:"usa-icon-morph{display:inline-grid;place-items:center;line-height:0;color:inherit;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-icon-morph svg{fill:currentColor;overflow:visible}usa-icon-morph[toggle]{cursor:pointer;border-radius:8px}usa-icon-morph[toggle]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}"})}function we(t="usa-like"){return d(t,t=>class extends t{static get observedAttributes(){return["liked","count","label","disabled"]}get liked(){return this.flag("liked")}set liked(t){this.setFlag("liked",t)}get count(){return this.hasAttribute("count")?this.num("count",0):null}set count(t){null===t?this.removeAttribute("count"):this.setAttribute("count",String(t))}mount(){if(!this.querySelector(":scope > .usa-like-heart")){const t=this.num("size",24);this.insertAdjacentHTML("afterbegin",`<svg class="usa-like-heart" viewBox="0 0 24 24" width="${t}" height="${t}" aria-hidden="true"><path d="M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.2 1.7-2 3.2-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z"/></svg><span class="usa-like-count" aria-hidden="true"></span>`)}this.str("color")&&this.style.setProperty("--usa-like-color",this.str("color")),this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.toggle())})}changed(){this.sync()}sync(){const t=this.count,e=this.str("label","Like");this.setAttribute("aria-pressed",String(this.liked)),this.setAttribute("aria-label",null===t?e:`${e} (${t})`),this.toggleAttribute("aria-disabled",this.flag("disabled"));const s=this.querySelector(".usa-like-count");s&&(s.textContent=null===t?"":(new Intl.NumberFormat).format(t))}toggle(t){if(this.flag("disabled"))return;const e=void 0===t?!this.liked:t;if(e===this.liked)return;this.liked=e,null!==this.count&&(this.count=Math.max(0,this.count+(e?1:-1))),this.sync();const s=this.querySelector(".usa-like-heart");if(e&&s&&!this.reduced){this.motion(s,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"));const t=s.getBoundingClientRect();ce(t.left+t.width/2,t.top+t.height/2,{count:10,distance:28,size:5,colors:[getComputedStyle(this).getPropertyValue("--usa-like-color").trim()||"#f43f5e","#fb923c","#facc15"]})}this.hasAttribute("haptic")&&pe(this.num("haptic",12)),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{liked:e,count:this.count})}},{id:"like",text:"usa-like{--usa-like-color:#f43f5e;display:inline-flex;align-items:center;gap:0.35em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-like .usa-like-heart{fill:transparent;stroke:currentColor;stroke-width:1.8;transition:fill 0.2s ease,stroke 0.2s ease;overflow:visible}usa-like[liked] .usa-like-heart{fill:var(--usa-like-color);stroke:var(--usa-like-color)}usa-like .usa-like-count{font-variant-numeric:tabular-nums}usa-like[disabled]{opacity:0.5;cursor:not-allowed}usa-like:focus-visible{outline:2px solid var(--usa-like-color);outline-offset:3px;border-radius:8px}"})}function ke(t="usa-hold"){return d(t,t=>class extends t{constructor(){super(...arguments),this._p=0,this._frame=0,this._holding=!1}static get observedAttributes(){return["duration","disabled"]}get progress(){return this._p}set(t){this._p=t,this.style.setProperty("--usa-hold",t.toFixed(4));const e=this.querySelector(".usa-hold-ring circle:last-child");e&&(e.style.strokeDashoffset=String(100-100*t))}mount(){this.querySelector(":scope > .usa-hold-ring")||this.insertAdjacentHTML("beforeend",'<svg class="usa-hold-ring" viewBox="0 0 36 36" aria-hidden="true"><circle cx="18" cy="18" r="15.9" pathLength="100"/><circle cx="18" cy="18" r="15.9" pathLength="100"/></svg>'),this.str("color")&&this.style.setProperty("--usa-hold-color",this.str("color")),this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.setAttribute("aria-description","Press and hold to confirm"),this.set(0),this.listen(this,"pointerdown",t=>("mouse"!==t.pointerType||0===t.button)&&this.start());for(const t of["pointerup","pointerleave","pointercancel"])this.listen(this,t,()=>this.stop());this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.repeat||this.start())}),this.listen(this,"keyup",t=>("Enter"===t.key||" "===t.key)&&this.stop()),this.listen(this,"contextmenu",t=>this._holding&&t.preventDefault())}unmount(){b(this._frame),this._holding=!1}start(){if(this.flag("disabled")||this._holding)return;this._holding=!0,this.setAttribute("data-holding","");const t=Math.max(100,this.num("duration",1200));let e=g();const s=()=>{const i=g(),a=Math.min(1,this._p+(i-e)/t);if(e=i,this.set(a),this.emit("progress",{progress:a}),a>=1)return this._holding=!1,this.removeAttribute("data-holding"),this.setAttribute("data-done",""),this.hasAttribute("haptic")&&pe(20),this.emit("confirm"),void setTimeout(()=>{this.removeAttribute("data-done"),this.rewind()},700);this._frame=m(s)};this._frame=m(s)}stop(){this._holding&&(this._holding=!1,b(this._frame),this.removeAttribute("data-holding"),this._p<1&&(this.emit("cancel",{progress:this._p}),this.rewind()))}rewind(){let t=g();const e=()=>{if(this._holding)return;const s=g(),i=Math.max(0,this._p-(s-t)/250);t=s,this.set(i),i>0&&(this._frame=m(e))};this._frame=m(e)}cancel(){this.stop()}},{id:"hold",text:"usa-hold{--usa-hold-color:#e5484d;position:relative;display:inline-flex;align-items:center;gap:0.5em;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}usa-hold .usa-hold-ring{width:1.6em;height:1.6em;transform:rotate(-90deg);flex:none}usa-hold .usa-hold-ring circle{fill:none;stroke-width:3.5;stroke-linecap:round}usa-hold .usa-hold-ring circle:first-child{stroke:color-mix(in srgb,currentColor 18%,transparent)}usa-hold .usa-hold-ring circle:last-child{stroke:var(--usa-hold-color);stroke-dasharray:100;stroke-dashoffset:100}usa-hold[data-holding]{transform:scale(calc(1 - var(--usa-hold,0) * 0.05))}usa-hold[data-done] .usa-hold-ring{animation:usa-hold-pop 0.4s cubic-bezier(0.34,1.56,0.64,1)}@keyframes usa-hold-pop{50%{transform:rotate(-90deg) scale(1.3)}}usa-hold[disabled]{opacity:0.5;cursor:not-allowed}usa-hold:focus-visible{outline:2px solid var(--usa-hold-color);outline-offset:3px;border-radius:10px}@media (prefers-reduced-motion:reduce){usa-hold[data-holding]{transform:none}usa-hold[data-done] .usa-hold-ring{animation:none}}"})}function _e(t="usa-double-tap"){return d(t,t=>class extends t{mount(){let t=0,e=0,s=0;this.listen(this,"pointerup",i=>{if(this.flag("disabled"))return;const a=i.timeStamp||Date.now();a-t<this.num("delay",300)&&Math.hypot(i.clientX-e,i.clientY-s)<40?(t=0,this.pop(i.clientX,i.clientY)):(t=a,e=i.clientX,s=i.clientY)}),this.listen(this,"dblclick",t=>t.preventDefault()),this.listen(this,"keydown",t=>"l"===t.key.toLowerCase()&&!t.repeat&&this.pop())}pop(t,e){const s=this.getBoundingClientRect();void 0!==t&&void 0!==e||(t=s.left+s.width/2,e=s.top+s.height/2);const i=document.createElement("span");i.className="usa-double-tap-icon",i.setAttribute("aria-hidden","true"),i.textContent=this.str("icon","♥"),i.style.left=t-s.left+"px",i.style.top=e-s.top+"px",this.str("color")&&(i.style.color=this.str("color")),this.append(i);const a=this.reduced?[{opacity:0},{opacity:1,offset:.3},{opacity:0}]:[{opacity:0,transform:"translate(-50%, -50%) scale(0.2) rotate(-15deg)"},{opacity:1,transform:"translate(-50%, -50%) scale(1.15) rotate(5deg)",offset:.3},{opacity:1,transform:"translate(-50%, -50%) scale(1) rotate(0deg)",offset:.6},{opacity:0,transform:"translate(-50%, -110%) scale(0.9)"}],r=this.motion(i,a,{duration:900,easing:"ease-out",fill:"forwards"});r?r.onfinish=()=>i.remove():i.remove(),ce(t,e,{count:8,distance:40,size:5,colors:[this.str("color","#f43f5e"),"#fb923c","#facc15"]}),this.hasAttribute("haptic")&&pe(15),this.emit("double-tap",{x:t-s.left,y:e-s.top})}},{id:"double-tap",text:"usa-double-tap{position:relative;display:block;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}usa-double-tap .usa-double-tap-icon{position:absolute;pointer-events:none;font-size:64px;line-height:1;color:#f43f5e;transform:translate(-50%,-50%);text-shadow:0 6px 18px rgb(0 0 0 / 0.35);z-index:2}"})}function Ae(t="usa-checkbox"){return d(t,t=>{class e extends t{static get observedAttributes(){return["checked","indeterminate","disabled","label"]}constructor(){super(),this._internals=null;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}get checked(){return this.flag("checked")}set checked(t){this.setFlag("checked",t)}get indeterminate(){return this.flag("indeterminate")}set indeterminate(t){this.setFlag("indeterminate",t)}mount(){this.querySelector(":scope > .usa-checkbox-box")||this.insertAdjacentHTML("afterbegin",'<span class="usa-checkbox-box" aria-hidden="true"><svg viewBox="0 0 24 24"><path class="usa-checkbox-check" d="M5 12.5l4.2 4.2L19 7" pathLength="1"/><path class="usa-checkbox-dash" d="M6 12h12" pathLength="1"/></svg></span>'),this.setAttribute("role","checkbox"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{" "!==t.key||t.repeat||(t.preventDefault(),this.toggle())})}changed(){this.sync()}sync(){this.setAttribute("aria-checked",this.indeterminate?"mixed":String(this.checked)),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.toggleAttribute("aria-disabled",this.flag("disabled")),this._internals?.setFormValue?.(this.checked?this.str("value","on"):null)}toggle(t){if(this.flag("disabled"))return;const e=void 0===t?!this.checked||this.indeterminate:t;this.indeterminate=!1,this.checked=e,this.sync();const s=this.querySelector(".usa-checkbox-box");s&&!this.reduced&&this.motion(s,[{transform:"scale(0.75)"},{transform:"scale(1)"}],It("bouncy")),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{checked:e})}}return e.formAssociated=!0,e},{id:"checkbox",text:'usa-checkbox{--usa-checkbox-on:var(--usa-accent,#7c5cff);display:inline-flex;align-items:center;gap:0.55em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-checkbox .usa-checkbox-box{flex:none;width:1.25em;height:1.25em;border-radius:0.3em;border:1.5px solid color-mix(in srgb,currentColor 55%,transparent);display:grid;place-items:center;transition:background-color 0.2s ease,border-color 0.2s ease;box-sizing:border-box}usa-checkbox[shape="circle"] .usa-checkbox-box{border-radius:50%}usa-checkbox svg{width:85%;height:85%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}usa-checkbox svg path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 0.28s cubic-bezier(0.65,0,0.35,1) 0.05s}usa-checkbox[checked]:not([indeterminate]) .usa-checkbox-check,usa-checkbox[indeterminate] .usa-checkbox-dash{stroke-dashoffset:0}usa-checkbox[checked] .usa-checkbox-box,usa-checkbox[indeterminate] .usa-checkbox-box{background:var(--usa-checkbox-on);border-color:var(--usa-checkbox-on)}usa-checkbox[disabled]{opacity:0.45;cursor:not-allowed}usa-checkbox:focus-visible{outline:none}usa-checkbox:focus-visible .usa-checkbox-box{outline:2px solid var(--usa-checkbox-on);outline-offset:2px}@media (prefers-reduced-motion:reduce){usa-checkbox svg path,usa-checkbox .usa-checkbox-box{transition:none}}'})}function Me(){fe(),ge(),xe(),we(),ke(),_e(),Ae()}function Ce(t,e,s="top",i=8){const a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=window.innerWidth||1024,o=window.innerHeight||768,u={top:a.top-r.height-i>=0,bottom:a.bottom+r.height+i<=o,left:a.left-r.width-i>=0,right:a.right+r.width+i<=n},l={top:"bottom",bottom:"top",left:"right",right:"left"},c=u[s]||!u[l[s]]?s:l[s];let h=0,d=0;return"top"===c||"bottom"===c?(h=Math.min(Math.max(4,a.left+a.width/2-r.width/2),n-r.width-4),d="top"===c?a.top-r.height-i:a.bottom+i):(d=Math.min(Math.max(4,a.top+a.height/2-r.height/2),o-r.height-4),h="left"===c?a.left-r.width-i:a.right+i),t.style.left=`${Math.round(h)}px`,t.style.top=`${Math.round(d)}px`,t.setAttribute("data-placement",c),c}let Se=0;const Ee=t=>`${t}-${++Se}`;function $e(t="usa-tabs"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._i=0,this._bar=null}static get observedAttributes(){return["indicator"]}get selected(){return this._i}set selected(t){this.select(t)}tabs(){return Array.from(this.querySelectorAll("[data-tab]")).filter(t=>t.closest(this.localName)===this)}panels(){return Array.from(this.querySelectorAll("[data-panel]")).filter(t=>t.closest(this.localName)===this)}mount(){const t=this.tabs(),e=this.panels(),s=t[0]?.parentElement;if(!s)return;s.setAttribute("role","tablist"),s.classList.add("usa-tabs-list"),s.querySelector(":scope > .usa-tabs-indicator")?this._bar=s.querySelector(":scope > .usa-tabs-indicator"):(this._bar=document.createElement("span"),this._bar.className="usa-tabs-indicator",this._bar.setAttribute("aria-hidden","true"),s.append(this._bar)),t.forEach((t,s)=>{t.id||(t.id=Ee("usa-tab")),t.setAttribute("role","tab");const i=e[s];i&&(i.id||(i.id=Ee("usa-panel")),i.setAttribute("role","tabpanel"),i.setAttribute("aria-labelledby",t.id),t.setAttribute("aria-controls",i.id),i.hasAttribute("tabindex")||(i.tabIndex=0)),this.listen(t,"click",()=>this.select(s))}),this.listen(s,"keydown",e=>{const s=t.length,i={ArrowRight:this._i+1,ArrowDown:this._i+1,ArrowLeft:this._i-1,ArrowUp:this._i-1,Home:0,End:s-1};e.key in i&&(e.preventDefault(),this.select((i[e.key]+s)%s,!0))});const i="undefined"!=typeof ResizeObserver?new ResizeObserver(()=>this.moveBar(!1)):null;i?.observe(s),this.onCleanup(()=>i?.disconnect()),this.select(Math.max(0,Math.min(t.length-1,this.num("selected",0))),!1,!0)}moveBar(t){const e=this.tabs()[this._i],s=this._bar;if(!e||!s)return;const i=s.style.transform,a=s.style.width;s.style.width=`${e.offsetWidth}px`,s.style.transform=`translateX(${e.offsetLeft}px)`,t&&i&&!this.reduced&&this.motion(s,[{transform:i,width:a},{transform:s.style.transform,width:s.style.width}],It("stiff"))}select(t,e=!1,s=!1){const i=this.tabs(),a=this.panels();if(!i[t])return;const r=this._i;if(this._i=t,this.setAttribute("selected",String(t)),i.forEach((e,s)=>{e.setAttribute("aria-selected",String(s===t)),e.tabIndex=s===t?0:-1}),a.forEach((e,s)=>e.hidden=s!==t),e&&i[t].focus(),this.moveBar(!s),s||r===t)return;const n=a[t];n&&!this.reduced&&this.motion(n,[{opacity:0,transform:`translateX(${t>r?16:-16}px)`},{opacity:1,transform:"none"}],{duration:280,easing:"cubic-bezier(0.22, 1, 0.36, 1)"}),this.emit("change",{index:t})}},{id:"tabs",text:'usa-tabs{display:block;font-family:var(--usa-font)}usa-tabs .usa-tabs-list{position:relative;display:flex;gap:4px;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}usa-tabs [role="tab"]{position:relative;z-index:1;padding:10px 14px;border:0;background:none;color:inherit;font:inherit;cursor:pointer;opacity:0.7;transition:opacity 0.2s ease,color 0.2s ease;border-radius:calc(var(--usa-radius,14px) / 2)}usa-tabs [role="tab"][aria-selected="true"]{opacity:1;color:var(--usa-accent,#7c5cff)}usa-tabs [role="tab"]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:-2px}usa-tabs .usa-tabs-indicator{position:absolute;left:0;bottom:-1px;height:3px;width:0;border-radius:3px;background:var(--usa-accent,#7c5cff);pointer-events:none}usa-tabs[indicator="pill"] .usa-tabs-list{border-bottom:0;padding:4px;border-radius:999px;background:color-mix(in srgb,currentColor 8%,transparent)}usa-tabs[indicator="pill"] .usa-tabs-indicator{top:4px;bottom:4px;height:auto;border-radius:999px;opacity:0.18}usa-tabs [role="tabpanel"]{padding:14px 2px}usa-tabs [role="tabpanel"]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:2px;border-radius:6px}'})}var ze='usa-drawer,usa-bottom-sheet{position:fixed;z-index:1001;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;will-change:transform;outline:none}usa-drawer{top:0;bottom:0;left:0;width:min(86vw,360px);border-radius:0 var(--usa-radius,14px) var(--usa-radius,14px) 0;padding:20px}usa-drawer[side="right"]{left:auto;right:0;border-radius:var(--usa-radius,14px) 0 0 var(--usa-radius,14px)}usa-drawer[side="top"],usa-drawer[side="bottom"]{left:0;right:0;width:auto;bottom:auto;max-height:80vh;border-radius:0 0 var(--usa-radius,14px) var(--usa-radius,14px);touch-action:pan-x}usa-drawer[side="bottom"]{top:auto;bottom:0;border-radius:var(--usa-radius,14px) var(--usa-radius,14px) 0 0}usa-bottom-sheet{left:0;right:0;bottom:0;margin:0 auto;max-width:640px;border-radius:22px 22px 0 0;padding:8px 20px 24px;touch-action:none}usa-bottom-sheet .usa-sheet-handle{width:40px;height:5px;border-radius:3px;margin:4px auto 14px;background:color-mix(in srgb,currentColor 35%,transparent);cursor:grab}usa-drawer[hidden],usa-bottom-sheet[hidden]{display:none}.usa-panel-backdrop{position:fixed;inset:0;z-index:1000;background:rgb(0 0 0 / 0.45)}';function Te(t,e){return class extends t{constructor(){super(...arguments),this._backdrop=null,this._return=null,this._drag=null}static get observedAttributes(){return["open","side"]}get open(){return this.flag("open")}set open(t){this.setFlag("open",t)}size(){const t=this.getBoundingClientRect();return("sheet"===e||this.vertical()?t.height:t.width)||("sheet"===e?.9*window.innerHeight:320)}vertical(){return"sheet"===e||"top"===this.str("side")||"bottom"===this.str("side")}dir(){const t="sheet"===e?"bottom":this.str("side","left");return"left"===t||"top"===t?-1:1}stops(){return[0]}render(t){const e=this.vertical()?"Y":"X";this.style.transform=`translate${e}(${(t*this.dir()).toFixed(1)}px)`,this._backdrop&&(this._backdrop.style.opacity=String(k(1-t/(this.size()||1),0,1)))}mount(){this.setAttribute("role","dialog"),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.hasAttribute("tabindex")||(this.tabIndex=-1),this.classList.add("usa-surface"),this._pos=Bt({value:2*this.size(),spring:"stiff",onUpdate:t=>this.render(t),onRest:t=>t>=this.size()-1&&!this.open&&this.afterClose()}),this.open?this.show(!1):(this.hidden=!0,this._pos.jump(1.2*this.size())),this.listen(document,"keydown",t=>"Escape"===t.key&&this.open&&this.close()),this.listen(this,"click",t=>t.target.closest?.("[data-close]")&&this.close()),this.listen(this,"pointerdown",t=>this.dragStart(t)),this.listen(this,"pointermove",t=>this.dragMove(t)),this.listen(this,"pointerup",t=>this.dragEnd(t)),this.listen(this,"pointercancel",t=>this.dragEnd(t))}unmount(){this._pos?.stop(),this._backdrop?.remove(),this._backdrop=null}changed(t){if("open"!==t)return super.changed(t);this.open&&this.hidden?this.show(!0):this.open||this.hidden||this.hide()}show(t=!0){this._return=document.activeElement,this.hidden=!1,this.setAttribute("aria-modal","true"),this._backdrop||(this._backdrop=document.createElement("div"),this._backdrop.className="usa-panel-backdrop",this._backdrop.addEventListener("click",()=>this.close()),this.before(this._backdrop));const e=this.stops()[this.initialStop()];t?(this._pos.jump(this.size()),this._pos.set(e)):this._pos.jump(e),this.setFlag("open",!0),this.focus({preventScroll:!0}),this.emit("open")}initialStop(){return 0}hide(){this._pos.set(1.05*this.size()),this.emit("close")}afterClose(){this.hidden=!0,this._backdrop?.remove(),this._backdrop=null,this._return instanceof HTMLElement&&this._return.focus({preventScroll:!0})}close(){this.setFlag("open",!1)}dragStart(t){if(!("sheet"===e?t.target.closest?.("[data-handle], .usa-sheet-handle")||(this.scrollTop<=0?this:null):this)||t.target.closest?.("input, textarea, select, button, a, [data-no-drag]"))return;const s=this.vertical()?t.clientY:t.clientX;this._pos.stop(),this._drag={id:t.pointerId,start:s,origin:this._pos.value,t:t.timeStamp,last:s,lt:t.timeStamp}}dragMove(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;const s=this.vertical()?t.clientY:t.clientX;let i=e.origin+(s-e.start)*this.dir();i<0&&(i=Ot(i,200)),e.lt=e.t,e.t=t.timeStamp,e.last=s,this._pos.jump(i)}dragEnd(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;this._drag=null;const s=this._pos.value-e.origin,i=Math.max(16,e.t-e.lt)/1e3,a=Math.abs(s)>4?s/Math.max(i,(t.timeStamp-(e.lt||0))/1e3||.1)*.2:0,r=Yt(Xt(this._pos.value,k(a,-3e3,3e3)),[...this.stops(),this.size()]);r>=this.size()-1?this.close():this._pos.set(r),this.emit("snap",{offset:r})}}}function Pe(t="usa-drawer"){return wt(),d(t,t=>Te(t,"drawer"),{id:"sheet",text:ze})}function Fe(t="usa-bottom-sheet"){return wt(),d(t,t=>{const e=Te(t,"sheet");return class extends e{static get observedAttributes(){return["open","snap"]}mount(){if(!this.querySelector(":scope > .usa-sheet-handle")){const t=document.createElement("div");t.className="usa-sheet-handle",t.setAttribute("aria-hidden","true"),this.prepend(t)}super.mount()}size(){return(window.innerHeight||800)*Math.max(...this.fractions())}fractions(){const t=this.str("snap","0.5,0.92").split(",").map(Number).filter(t=>t>0&&t<=1);return t.length?t:[.5,.92]}stops(){const t=this.size(),e=window.innerHeight||800;return this.fractions().map(s=>Math.max(0,t-s*e)).sort((t,e)=>t-e)}initialStop(){const t=this.fractions(),e=t[k(this.num("start",0),0,t.length-1)],s=Math.max(0,this.size()-e*(window.innerHeight||800)),i=this.stops();return Math.max(0,i.indexOf(s))}render(t){this.style.height=`${this.size()}px`,super.render(t)}}},{id:"sheet",text:ze})}function Ne(t="usa-pull-refresh"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._busy=!1,this._ind=null,this._live=null}get refreshing(){return this._busy}draw(t){const e=this.num("threshold",70);this.style.setProperty("--usa-pull",`${t.toFixed(1)}px`),this.style.setProperty("--usa-pull-p",Math.min(1,t/e).toFixed(3)),this.toggleAttribute("data-armed",t>=e&&!this._busy)}mount(){this.querySelector(":scope > .usa-pull-indicator")||(this._ind=document.createElement("div"),this._ind.className="usa-pull-indicator",this._ind.setAttribute("aria-hidden","true"),this._ind.innerHTML='<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="100"/></svg>',this.prepend(this._ind),this._live=document.createElement("span"),this._live.className="usa-sr",this._live.setAttribute("role","status"),this.append(this._live)),this._y=Bt({spring:"stiff",onUpdate:t=>this.draw(t)});let t=null,e=-1;this.listen(this,"pointerdown",s=>{this.flag("disabled")||this._busy||this.scrollTop>0||(t=s.clientY,e=s.pointerId)}),this.listen(this,"pointermove",s=>{if(null===t||s.pointerId!==e)return;const i=s.clientY-t;i<=0||(this._y.jump(this.reduced?0:Ot(i,220)),this.reduced&&i>this.num("threshold",70)&&this.setAttribute("data-armed",""))});const s=s=>{if(null===t||s.pointerId!==e)return;const i=s.clientY-t;t=null;this.hasAttribute("data-armed")||!this.reduced&&this._y.value>=this.num("threshold",70)||this.reduced&&i>this.num("threshold",70)?this.refresh():this._y.set(0)};this.listen(this,"pointerup",s),this.listen(this,"pointercancel",s)}unmount(){this._y?.stop()}refresh(){return this._busy?Promise.resolve():(this._busy=!0,this.removeAttribute("data-armed"),this.setAttribute("data-refreshing",""),this.setAttribute("aria-busy","true"),this._live&&(this._live.textContent=this.str("label","Refreshing")),this._y.set(this.reduced?0:.8*this.num("threshold",70)),new Promise(t=>{let e=!1;const s=()=>{e||(e=!0,this._busy=!1,this.removeAttribute("data-refreshing"),this.removeAttribute("aria-busy"),this._live&&(this._live.textContent=""),this._y.set(0),t())},i=new CustomEvent("usa:refresh",{detail:{done:s},bubbles:!0,cancelable:!0});this.dispatchEvent(i);const a=this.onrefresh;"function"==typeof a&&Promise.resolve(a(i)).then(s,s)}))}},{id:"pull-refresh",text:"usa-pull-refresh{position:relative;display:block;overflow:auto;overscroll-behavior-y:contain;touch-action:pan-x pan-down}usa-pull-refresh>:not(.usa-pull-indicator):not(.usa-sr){transform:translateY(var(--usa-pull,0px))}usa-pull-refresh .usa-pull-indicator{position:absolute;left:50%;top:0;width:34px;height:34px;margin-left:-17px;z-index:2;display:grid;place-items:center;border-radius:50%;background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow);color:var(--usa-accent,#7c5cff);transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(calc(var(--usa-pull-p,0) * 270deg));opacity:var(--usa-pull-p,0);pointer-events:none}usa-pull-refresh .usa-pull-indicator svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}usa-pull-refresh .usa-pull-indicator circle{stroke-dasharray:calc(var(--usa-pull-p,0) * 75) 100}usa-pull-refresh[data-armed] .usa-pull-indicator{background:var(--usa-accent,#7c5cff);color:var(--usa-accent-text,#fff)}usa-pull-refresh[data-refreshing] .usa-pull-indicator{opacity:1;animation:usa-pull-spin 0.8s linear infinite}usa-pull-refresh[data-refreshing] .usa-pull-indicator circle{stroke-dasharray:60 100}@keyframes usa-pull-spin{from{transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(0)}to{transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(360deg)}}@media (prefers-reduced-motion:reduce){usa-pull-refresh[data-refreshing] .usa-pull-indicator{animation-duration:2.4s;transform:translateY(8px)}}"})}function Le(t="usa-fab"){return wt(),d(t,t=>class extends t{static get observedAttributes(){return["direction","gap"]}get open(){return this.flag("open")}set open(t){this.toggle(t)}parts(){const t=Array.from(this.children);return[t[0]||null,t.slice(1)]}offset(t,e){const s=this.num("gap",56)*(t+1);switch(this.str("direction","up")){case"down":return[0,s];case"left":return[-s,0];case"right":return[s,0];case"radial":{const s=Math.PI+(e>1?t/(e-1)*(Math.PI/2):Math.PI/4),i=1.6*this.num("gap",56);return[Math.cos(s)*i,Math.sin(s)*i]}default:return[0,-s]}}mount(){const[t,e]=this.parts();t&&(t.classList.add("usa-fab-main"),t.setAttribute("aria-haspopup","true"),e.forEach(t=>t.classList.add("usa-fab-action")),this.apply(!1),this.listen(t,"click",()=>this.toggle()),this.listen(document,"keydown",e=>{"Escape"===e.key&&this.open&&(this.toggle(!1),t.focus())}),this.listen(document,"pointerdown",t=>this.open&&!this.contains(t.target)&&this.toggle(!1)),this.listen(this,"click",t=>{const e=t.target.closest?.(".usa-fab-action");e&&this.contains(e)&&this.toggle(!1)}))}apply(t){const[e,s]=this.parts();if(!e)return;const i=this.open;e.setAttribute("aria-expanded",String(i)),s.forEach((e,a)=>{const[r,n]=this.offset(a,s.length);e.toggleAttribute("inert",!i),e.setAttribute("aria-hidden",String(!i));const o=i?`translate(${r.toFixed(1)}px, ${n.toFixed(1)}px) scale(1)`:"translate(0, 0) scale(0.4)",u=e.style.transform||"translate(0, 0) scale(0.4)";if(e.style.transform=this.reduced?i?`translate(${r.toFixed(1)}px, ${n.toFixed(1)}px)`:"translate(0, 0)":o,e.style.opacity=i?"1":"0",t&&!this.reduced){const t=It(i?"wobbly":"stiff");this.motion(e,[{transform:u,opacity:i?0:1},{transform:o,opacity:i?1:0}],{...t,delay:35*(i?a:s.length-1-a)})}})}toggle(t){const e=void 0===t?!this.open:t;e!==this.open&&(this.setFlag("open",e),this.apply(!0),this.emit("toggle",{open:e}))}},{id:"fab",text:'usa-fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:900;display:grid;place-items:center}usa-fab[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}usa-fab[position="inline"]{position:relative;right:auto;bottom:auto;display:inline-grid}usa-fab>*{grid-area:1 / 1}usa-fab .usa-fab-main{position:relative;z-index:1;width:56px;height:56px;border-radius:min(var(--usa-radius,14px) * 1.2,28px);border:0;display:grid;place-items:center;font-size:24px;cursor:pointer;background:var(--usa-accent,#7c5cff);color:var(--usa-accent-text,#fff);box-shadow:var(--usa-shadow);transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1)}usa-fab[open] .usa-fab-main{transform:rotate(45deg)}usa-fab .usa-fab-action{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;opacity:0;transform:scale(0.4);will-change:transform,opacity}usa-fab .usa-fab-main:focus-visible,usa-fab .usa-fab-action:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){usa-fab .usa-fab-main{transition:none}}'})}function Re(t="usa-navbar"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._last=0}get hiddenByScroll(){return this.hasAttribute("data-hidden")}mount(){const t=this.str("target"),e=t&&document.querySelector(t)||window,s=()=>e===window?window.scrollY||document.documentElement.scrollTop:e.scrollTop;this._last=s();const i=()=>{this._frame=0;const t=s(),e=t-this._last;this._last=t,this.toggleAttribute("data-scrolled",t>4),t<=this.num("threshold",64)||e<-2?this.show():e>2&&!this.contains(document.activeElement)&&this.hide()};this.listen(e,"scroll",()=>{this._frame||(this._frame=m(i))},{passive:!0}),this.listen(this,"focusin",()=>this.show()),i()}unmount(){b(this._frame),this._frame=0}hide(){this.hiddenByScroll||(this.setAttribute("data-hidden",""),this.emit("hide"))}show(){this.hiddenByScroll&&(this.removeAttribute("data-hidden"),this.emit("show"))}},{id:"navbar",text:"usa-navbar{position:sticky;top:0;z-index:800;display:block;transition:transform 0.35s cubic-bezier(0.22,1,0.36,1),padding 0.25s ease,box-shadow 0.25s ease;will-change:transform}usa-navbar[data-hidden]{transform:translateY(-100%)}usa-navbar[data-scrolled]{box-shadow:var(--usa-shadow,0 6px 20px -10px rgb(0 0 0 / 0.4))}usa-navbar[shrink][data-scrolled]{padding-block:4px}@media (prefers-reduced-motion:reduce){usa-navbar{transition:none}}"})}function Ie(t="usa-slider"){return wt(),d(t,t=>{class e extends t{static get observedAttributes(){return["min","max","disabled","label"]}constructor(){super(),this._internals=null,this._v=0,this._id=-1;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}range(){const t=this.num("min",0);return[t,Math.max(t+1e-9,this.num("max",100)),Math.max(1e-9,this.num("step",1))]}get value(){return this._v}set value(t){this.setValue(t,!1)}fraction(t=this._v){const[e,s]=this.range();return(t-e)/(s-e)}setValue(t,e,s=!0){const[i,a,r]=this.range(),n=k(Math.round((t-i)/r)*r+i,i,a),o=Number(n.toFixed(10)),u=o!==this._v;this._v=o,this.setAttribute("aria-valuenow",String(o)),this.setAttribute("aria-valuetext",String(o)),this._internals?.setFormValue?.(String(o));const l=this.querySelector(".usa-slider-bubble");l&&(l.textContent=String(o)),s?this._pos?.set(this.fraction()):this._pos?.jump(this.fraction()),u&&e&&(this.dispatchEvent(new Event("input",{bubbles:!0})),this.emit("input",{value:o}))}mount(){this.querySelector(":scope > .usa-slider-track")||(this.innerHTML='<span class="usa-slider-track"><span class="usa-slider-fill"></span></span><span class="usa-slider-thumb"><span class="usa-slider-bubble"></span></span>'),this.setAttribute("role","slider"),this.hasAttribute("tabindex")||(this.tabIndex=0);const[t,e]=this.range();this.setAttribute("aria-valuemin",String(t)),this.setAttribute("aria-valuemax",String(e)),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.toggleAttribute("aria-disabled",this.flag("disabled")),this._pos=Bt({spring:"stiff",onUpdate:t=>this.style.setProperty("--usa-slider",k(t,0,1).toFixed(4))}),this.setValue(this.num("value",t),!1,!1);const s=s=>{const i=this.getBoundingClientRect();return t+k((s.clientX-i.left)/(i.width||1),0,1)*(e-t)};this.listen(this,"pointerdown",t=>{if(!this.flag("disabled")){this._id=t.pointerId;try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging",""),this.setValue(s(t),!0)}}),this.listen(this,"pointermove",t=>t.pointerId===this._id&&this.setValue(s(t),!0));const i=t=>{t.pointerId===this._id&&(this._id=-1,this.removeAttribute("data-dragging"),this.commit())};this.listen(this,"pointerup",i),this.listen(this,"pointercancel",i),this.listen(this,"keydown",t=>{if(this.flag("disabled"))return;const[e,s,i]=this.range(),a={ArrowRight:this._v+i,ArrowUp:this._v+i,ArrowLeft:this._v-i,ArrowDown:this._v-i,PageUp:this._v+10*i,PageDown:this._v-10*i,Home:e,End:s};t.key in a&&(t.preventDefault(),this.setValue(a[t.key],!0),this.commit())})}unmount(){this._pos?.stop()}commit(){this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{value:this._v})}}return e.formAssociated=!0,e},{id:"slider",text:"usa-slider{--usa-slider:0;position:relative;display:block;height:28px;min-width:120px;touch-action:none;cursor:pointer;-webkit-tap-highlight-color:transparent}usa-slider .usa-slider-track{position:absolute;left:0;right:0;top:50%;height:6px;margin-top:-3px;border-radius:3px;background:color-mix(in srgb,currentColor 16%,transparent);overflow:hidden}usa-slider .usa-slider-fill{position:absolute;inset:0;background:var(--usa-accent,#7c5cff);transform-origin:0 50%;transform:scaleX(var(--usa-slider))}usa-slider .usa-slider-thumb{position:absolute;top:50%;left:calc(var(--usa-slider) * 100%);width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgb(0 0 0 / 0.35),0 0 0 4px color-mix(in srgb,var(--usa-accent,#7c5cff) 0%,transparent);transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.2s ease}usa-slider:hover .usa-slider-thumb,usa-slider:focus-visible .usa-slider-thumb{box-shadow:0 1px 4px rgb(0 0 0 / 0.35),0 0 0 6px color-mix(in srgb,var(--usa-accent,#7c5cff) 25%,transparent)}usa-slider[data-dragging] .usa-slider-thumb{transform:scale(1.25)}usa-slider .usa-slider-bubble{position:absolute;bottom:150%;left:50%;transform:translateX(-50%) scale(0.6);opacity:0;padding:2px 8px;border-radius:8px;font:600 12px/1.6 system-ui,sans-serif;color:var(--usa-accent-text,#fff);background:var(--usa-accent,#7c5cff);white-space:nowrap;pointer-events:none;transition:opacity 0.15s ease,transform 0.25s cubic-bezier(0.34,1.56,0.64,1)}usa-slider[bubble][data-dragging] .usa-slider-bubble,usa-slider[bubble]:focus-visible .usa-slider-bubble{opacity:1;transform:translateX(-50%) scale(1)}usa-slider:focus-visible{outline:none}usa-slider[disabled]{opacity:0.45;cursor:not-allowed}@media (prefers-reduced-motion:reduce){usa-slider .usa-slider-thumb,usa-slider .usa-slider-bubble{transition:none}}"})}function qe(t="usa-rating"){return wt(),d(t,t=>{class e extends t{static get observedAttributes(){return["max","icon","readonly"]}constructor(){super(),this._internals=null;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}get value(){return k(this.num("value",0),0,this.num("max",5))}set value(t){this.setAttribute("value",String(k(Math.round(t),0,this.num("max",5)))),this.sync()}mount(){const t=this.num("max",5);this.innerHTML=Array.from({length:t},(t,e)=>`<span class="usa-rating-star" data-i="${e+1}" aria-hidden="true">${this.str("icon","★")}</span>`).join(""),this.setAttribute("role","slider"),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(t)),this.setAttribute("aria-label",this.str("label","Rating")),this.flag("readonly")?this.setAttribute("aria-readonly","true"):this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.flag("readonly")||(this.listen(this,"pointerover",t=>{const e=t.target.closest?.("[data-i]");e&&this.preview(Number(e.dataset.i))}),this.listen(this,"pointerleave",()=>this.preview(0)),this.listen(this,"click",t=>{const e=t.target.closest?.("[data-i]");e&&this.choose(Number(e.dataset.i)===this.value?0:Number(e.dataset.i))}),this.listen(this,"keydown",e=>{const s=this.value,i={ArrowRight:s+1,ArrowUp:s+1,ArrowLeft:s-1,ArrowDown:s-1,Home:0,End:t},a=/^[0-9]$/.test(e.key)?Number(e.key):i[e.key];void 0!==a&&(e.preventDefault(),this.choose(k(a,0,t)))}))}preview(t){this.querySelectorAll("[data-i]").forEach(e=>e.toggleAttribute("data-preview",t>0&&Number(e.dataset.i)<=t)),this.toggleAttribute("data-previewing",t>0)}sync(){const t=this.value;this.setAttribute("aria-valuenow",String(t)),this.setAttribute("aria-valuetext",`${t} of ${this.num("max",5)}`),this._internals?.setFormValue?.(String(t)),this.querySelectorAll("[data-i]").forEach(e=>e.toggleAttribute("data-on",Number(e.dataset.i)<=t))}choose(t){if(t===this.value)return;this.value=t;const e=this.querySelector(`[data-i="${t}"]`);e&&!this.reduced&&this.motion(e,[{transform:"scale(0.5) rotate(-20deg)"},{transform:"scale(1) rotate(0)"}],It("bouncy")),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{value:t})}}return e.formAssociated=!0,e},{id:"rating",text:"usa-rating{--usa-rating-on:#f5b301;display:inline-flex;gap:2px;font-size:1.5em;line-height:1;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}usa-rating[readonly]{cursor:default}usa-rating .usa-rating-star{display:inline-block;color:color-mix(in srgb,currentColor 22%,transparent);transition:color 0.15s ease,transform 0.2s ease}usa-rating .usa-rating-star[data-on]{color:var(--usa-rating-on)}usa-rating[data-previewing] .usa-rating-star{color:color-mix(in srgb,currentColor 22%,transparent)}usa-rating[data-previewing] .usa-rating-star[data-preview]{color:var(--usa-rating-on);transform:scale(1.12)}usa-rating:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px;border-radius:6px}@media (prefers-reduced-motion:reduce){usa-rating .usa-rating-star{transition:none;transform:none !important}}"})}function Be(t="usa-tooltip"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._tip=null}static get observedAttributes(){return["text"]}mount(){const t=this.firstElementChild||this,e=document.createElement("span");e.className="usa-tooltip-bubble usa-surface",e.setAttribute("role","tooltip"),e.id=Ee("usa-tip"),e.textContent=this.str("text"),e.hidden=!0,this.append(e),this._tip=e,t.setAttribute("aria-describedby",e.id);this.listen(this,"pointerenter",()=>{clearTimeout(this._t),this._t=setTimeout(()=>this.show(),this.num("delay",300))}),this.listen(this,"pointerleave",()=>this.hide()),this.listen(this,"focusin",()=>this.show()),this.listen(this,"focusout",()=>this.hide()),this.listen(document,"keydown",t=>"Escape"===t.key&&this.hide()),this.onCleanup(()=>{clearTimeout(this._t),e.remove(),t.removeAttribute("aria-describedby")})}show(){const t=this._tip;if(!t||!t.hidden||!this.str("text"))return;clearTimeout(this._t),t.hidden=!1;const e={top:[0,6],bottom:[0,-6],left:[6,0],right:[-6,0]}[Ce(t,this.firstElementChild||this,this.str("placement","top"))];this.motion(t,this.reduced?[{opacity:0},{opacity:1}]:[{opacity:0,transform:`translate(${e[0]}px, ${e[1]}px) scale(0.85)`},{opacity:1,transform:"none"}],this.reduced?{duration:120}:It("stiff"))}hide(){clearTimeout(this._t),this._tip&&(this._tip.hidden=!0)}},{id:"tooltip",text:"usa-tooltip{display:inline-block}usa-tooltip .usa-tooltip-bubble{position:fixed;z-index:2000;max-width:260px;padding:6px 10px;font-size:0.85rem;line-height:1.4;pointer-events:none;--usa-radius:8px;white-space:normal}usa-tooltip .usa-tooltip-bubble[hidden]{display:none}"})}function Xe(t="usa-popover"){return wt(),d(t,t=>class extends t{get open(){return this.flag("open")}set open(t){this.toggle(t)}parts(){return[this.firstElementChild,this.querySelector(":scope > [data-popover]")]}mount(){const[t,e]=this.parts();t&&e&&t!==e&&(e.id||(e.id=Ee("usa-pop")),e.classList.add("usa-surface","usa-popover-panel"),e.hasAttribute("role")||e.setAttribute("role","dialog"),e.tabIndex=-1,t.setAttribute("aria-controls",e.id),t.setAttribute("aria-haspopup","dialog"),this.render(!1),this.listen(t,"click",()=>this.toggle()),this.listen(document,"keydown",e=>{"Escape"===e.key&&this.open&&(this.toggle(!1),t.focus())}),this.listen(document,"pointerdown",t=>this.open&&!this.contains(t.target)&&this.toggle(!1)),this.listen(window,"resize",()=>this.open&&Ce(e,t,this.str("placement","bottom"))))}render(t){const[e,s]=this.parts();if(!e||!s)return;if(e.setAttribute("aria-expanded",String(this.open)),s.hidden=!this.open,!this.open)return;const i=Ce(s,e,this.str("placement","bottom"));if(!t)return;const a={top:"50% 100%",bottom:"50% 0",left:"100% 50%",right:"0 50%"}[i];s.style.transformOrigin=a,this.motion(s,this.reduced?[{opacity:0},{opacity:1}]:[{opacity:0,transform:"scale(0.9)"},{opacity:1,transform:"none"}],this.reduced?{duration:120}:It("wobbly")),s.focus({preventScroll:!0})}toggle(t){const e=void 0===t?!this.open:t;e!==this.open&&(this.setFlag("open",e),this.render(!0),this.emit(e?"open":"close"))}},{id:"popover",text:"usa-popover{display:inline-block}usa-popover .usa-popover-panel{position:fixed;z-index:1500;min-width:180px;max-width:min(92vw,360px);padding:12px 14px;outline:none}usa-popover .usa-popover-panel[hidden]{display:none}"})}function Ye(t="usa-badge"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._el=null}static get observedAttributes(){return["value","max","dot","label"]}get value(){return this.str("value")}set value(t){this.setAttribute("value",String(t))}mount(){this._el&&this._el.isConnected||(this._el=document.createElement("span"),this._el.className="usa-badge-count",this.append(this._el)),this.sync(!1)}changed(t){this.sync("value"===t)}sync(t){const e=this._el;if(!e)return;const s=this.value,i=Number(s),a=this.num("max",99),r=this.flag("dot")?"":""!==s&&Number.isFinite(i)&&i>a?`${a}+`:s,n=!this.flag("dot")&&(""===s||"0"===s&&!this.flag("show-zero"));e.textContent=r,e.hidden=n,this.toggleAttribute("data-dot",this.flag("dot"));const o=this.str("label",s?`${s} new`:"New");e.setAttribute("aria-label",o.replace("{n}",s)),e.setAttribute("role","status"),!t||n||this.reduced||this.motion(e,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"))}},{id:"badge",text:'usa-badge{position:relative;display:inline-block}usa-badge .usa-badge-count{position:absolute;top:0;right:0;transform-origin:50% 50%;translate:45% -45%;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;display:grid;place-items:center;font:700 11px/1 system-ui,sans-serif;color:var(--usa-accent-text,#fff);background:var(--usa-badge-color,#e5484d);box-shadow:0 0 0 2px var(--usa-badge-ring,Canvas);pointer-events:none}usa-badge[data-dot] .usa-badge-count{min-width:10px;width:10px;height:10px;padding:0}usa-badge .usa-badge-count[hidden]{display:none}usa-badge[pulse] .usa-badge-count::after{content:"";position:absolute;inset:0;border-radius:inherit;background:inherit;animation:usa-badge-pulse 1.6s ease-out infinite;z-index:-1}@keyframes usa-badge-pulse{from{transform:scale(1);opacity:0.6}to{transform:scale(2.4);opacity:0}}@media (prefers-reduced-motion:reduce){usa-badge[pulse] .usa-badge-count::after{animation:none}}'})}function Oe(t="usa-avatar-stack"){return wt(),d(t,t=>class extends t{static get observedAttributes(){return["max","size","overlap"]}mount(){this.querySelector(":scope > .usa-avatar-more")?.remove();const t=Array.from(this.children),e=Math.max(1,this.num("max",5));if(this.style.setProperty("--usa-avatar-size",`${this.num("size",36)}px`),this.style.setProperty("--usa-avatar-overlap",String(this.num("overlap",.35))),this.setAttribute("role","group"),this.setAttribute("aria-label",this.str("label",`${t.length} people`)),t.forEach((s,i)=>{s.classList.add("usa-avatar"),s.hidden=i>=e,s.style.setProperty("--i",String(i)),s.style.zIndex=String(t.length-i)}),t.length>e){const s=document.createElement("span");s.className="usa-avatar usa-avatar-more",s.textContent="+"+(t.length-e),s.style.setProperty("--i",String(e)),s.setAttribute("aria-label",`and ${t.length-e} more`),this.append(s)}}},{id:"avatar-stack",text:"usa-avatar-stack{--usa-avatar-size:36px;--usa-avatar-overlap:0.35;display:inline-flex;align-items:center;padding-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap))}usa-avatar-stack .usa-avatar{width:var(--usa-avatar-size);height:var(--usa-avatar-size);border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px var(--usa-avatar-ring,Canvas);margin-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap) * -1);transition:margin 0.45s cubic-bezier(0.34,1.56,0.64,1),transform 0.3s cubic-bezier(0.34,1.56,0.64,1);display:grid;place-items:center;font:700 12px/1 system-ui,sans-serif;background:color-mix(in srgb,currentColor 14%,transparent)}usa-avatar-stack .usa-avatar[hidden]{display:none}usa-avatar-stack:hover .usa-avatar,usa-avatar-stack:focus-within .usa-avatar{margin-inline-start:4px}usa-avatar-stack .usa-avatar:hover{transform:translateY(-4px) scale(1.08)}@media (prefers-reduced-motion:reduce){usa-avatar-stack .usa-avatar{transition:none}usa-avatar-stack:hover .usa-avatar,usa-avatar-stack:focus-within .usa-avatar{margin-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap) * -1)}usa-avatar-stack .usa-avatar:hover{transform:none}}"})}function He(){$e(),Pe(),Fe(),Ne(),Le(),Re(),Ie(),qe(),Be(),Xe(),Ye(),Oe()}function De(t="usa-cursor"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["mode","size","color","hide-native"]}get active(){return this.hasAttribute("data-active")}mount(){this.setAttribute("aria-hidden","true");const t="function"!=typeof matchMedia||matchMedia("(pointer: fine)").matches||matchMedia("(hover: hover)").matches;if(this.reduced||!t)return;const e=this.str("mode","dot"),s="trail"===e?8:1;this.innerHTML=Array.from({length:s},(t,s)=>`<span class="usa-cursor-${"glow"===e?"glow":"ring"}" style="--i:${s}"></span>`).join("")+("glow"===e?"":'<span class="usa-cursor-dot"></span>'),this.str("color")&&this.style.setProperty("--usa-cursor-color",this.str("color")),this.style.setProperty("--usa-cursor-size",`${this.num("size",28)}px`),this.flag("hide-native")&&document.documentElement.classList.add("usa-cursor-none"),this.onCleanup(()=>document.documentElement.classList.remove("usa-cursor-none"));const i=Array.from(this.querySelectorAll(".usa-cursor-ring, .usa-cursor-glow")),a=this.querySelector(".usa-cursor-dot"),r=i.map(()=>({x:-100,y:-100}));let n=-100,o=-100,u=null;const l=this.str("targets",'a, button, [role="button"], [data-cursor], input, select, textarea, label'),c=()=>{this._frame=0;let t=n,s=o;r.forEach((a,r)=>{const n="trail"===e?.35-.03*r:"glow"===e?.12:.22,o=u&&0===r?u.left+u.width/2:t,l=u&&0===r?u.top+u.height/2:s;a.x+=(o-a.x)*n,a.y+=(l-a.y)*n,i[r].style.transform=`translate3d(${a.x.toFixed(1)}px, ${a.y.toFixed(1)}px, 0)`,t=a.x,s=a.y}),u&&i[0]?(i[0].style.width=`${u.width+12}px`,i[0].style.height=`${u.height+12}px`):i[0]&&(i[0].style.width=i[0].style.height=""),a&&(a.style.transform=`translate3d(${n}px, ${o}px, 0)`);r.some((t,e)=>Math.abs(t.x-(0===e&&u?u.left+u.width/2:n))>.3)&&(this._frame=m(c))},h=()=>{this._frame||(this._frame=m(c))};this.listen(document,"pointermove",t=>{if("touch"!==t.pointerType){if(n=t.clientX,o=t.clientY,this.setAttribute("data-active",""),"magnetic"===e){const e=t.target?.closest?.(l);u=e?e.getBoundingClientRect():null,this.toggleAttribute("data-snapped",!!e)}else this.toggleAttribute("data-hover",!!t.target?.closest?.(l));h()}},{passive:!0}),this.listen(document,"pointerdown",()=>this.setAttribute("data-down","")),this.listen(document,"pointerup",()=>this.removeAttribute("data-down")),this.listen(document.documentElement,"pointerleave",()=>this.removeAttribute("data-active"))}unmount(){b(this._frame),this._frame=0,this.removeAttribute("data-active")}},{id:"cursor",text:'usa-cursor{--usa-cursor-color:var(--usa-accent,#7c5cff);--usa-cursor-size:28px;position:fixed;inset:0;pointer-events:none;z-index:2147483600;opacity:0;transition:opacity 0.2s ease;contain:strict}usa-cursor[data-active]{opacity:1}usa-cursor .usa-cursor-ring{position:absolute;left:0;top:0;width:var(--usa-cursor-size);height:var(--usa-cursor-size);margin:calc(var(--usa-cursor-size) / -2) 0 0 calc(var(--usa-cursor-size) / -2);border:1.5px solid var(--usa-cursor-color);border-radius:999px;box-sizing:border-box;transition:width 0.25s cubic-bezier(0.34,1.56,0.64,1),height 0.25s cubic-bezier(0.34,1.56,0.64,1),margin 0.25s ease,border-radius 0.25s ease,background-color 0.2s ease;will-change:transform}usa-cursor[mode="trail"] .usa-cursor-ring{border:0;background:var(--usa-cursor-color);width:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04));height:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04));margin:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04) / -2) 0 0 calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04) / -2);opacity:calc(1 - var(--i) * 0.11)}usa-cursor[data-hover] .usa-cursor-ring:first-child{width:calc(var(--usa-cursor-size) * 1.6);height:calc(var(--usa-cursor-size) * 1.6);margin:calc(var(--usa-cursor-size) * -0.8) 0 0 calc(var(--usa-cursor-size) * -0.8);background:color-mix(in srgb,var(--usa-cursor-color) 15%,transparent)}usa-cursor[data-snapped] .usa-cursor-ring{border-radius:12px;background:color-mix(in srgb,var(--usa-cursor-color) 12%,transparent);translate:-50% -50%;margin:0}usa-cursor[data-down] .usa-cursor-ring:first-child{scale:0.8}usa-cursor .usa-cursor-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:var(--usa-cursor-color)}usa-cursor[data-snapped] .usa-cursor-dot{opacity:0}usa-cursor .usa-cursor-glow{position:absolute;left:-200px;top:-200px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--usa-cursor-color) 35%,transparent),transparent 65%);mix-blend-mode:screen}.usa-cursor-none,.usa-cursor-none *{cursor:none !important}@media (pointer:coarse),(prefers-reduced-motion:reduce){usa-cursor{display:none}.usa-cursor-none,.usa-cursor-none *{cursor:auto !important}}'})}function Ve(t,e={}){if("undefined"==typeof window)return Promise.resolve();const s=e.target||null,i=s?s.scrollTop:window.scrollY;let a="number"==typeof t?t:0;if("number"!=typeof t){const e="string"==typeof t?document.querySelector(t):t;if(!e)return Promise.resolve();const r=e.getBoundingClientRect().top;a=i+r-(s?s.getBoundingClientRect().top:0)}a=Math.max(0,a-(e.offset??0));const r=t=>s?s.scrollTop=t:window.scrollTo(0,t);if(o())return r(a),Promise.resolve();const{values:n,duration:u}=Lt(e.preset||"slow"),l=g();return new Promise(t=>{const e=()=>{const s=Math.min(1,(g()-l)/Math.max(1,u)),o=n[Math.min(n.length-1,Math.round(s*(n.length-1)))];r(i+(a-i)*o),s<1?m(e):t()};m(e)})}function je(t="usa-fullpage"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0}get index(){return this._i}sections(){return Array.from(this.children).filter(t=>!t.classList.contains("usa-fullpage-dots"))}mount(){this.hasAttribute("tabindex")||(this.tabIndex=0);const t=this.sections();t.forEach((t,e)=>{t.classList.add("usa-fullpage-section"),t.setAttribute("data-index",String(e))});let e=null;if(this.flag("dots")&&(e=document.createElement("nav"),e.className="usa-fullpage-dots",e.setAttribute("aria-label","Sections"),t.forEach((t,s)=>{const i=document.createElement("button");i.type="button",i.setAttribute("aria-label",t.getAttribute("aria-label")||t.querySelector("h1,h2,h3")?.textContent?.trim()||`Section ${s+1}`),i.addEventListener("click",()=>this.go(s)),e.append(i)}),this.append(e),this.onCleanup(()=>e?.remove())),this.mark(0),"undefined"!=typeof IntersectionObserver){const e=new IntersectionObserver(t=>{for(const e of t)e.isIntersecting&&e.intersectionRatio>=.6&&this.mark(Number(e.target.dataset.index))},{root:this,threshold:[.6]});t.forEach(t=>e.observe(t)),this.onCleanup(()=>e.disconnect())}this.listen(this,"keydown",t=>{const e=this.sections().length,s={PageDown:this._i+1,ArrowDown:this._i+1," ":this._i+1,PageUp:this._i-1,ArrowUp:this._i-1,Home:0,End:e-1};"x"===this.str("axis")&&Object.assign(s,{ArrowRight:this._i+1,ArrowLeft:this._i-1}),t.key in s&&!t.target.closest?.("input, textarea, select")&&(t.preventDefault(),this.go(s[t.key]))})}mark(t){t===this._i&&this.hasAttribute("data-ready")||(this.setAttribute("data-ready",""),this._i=t,this.sections().forEach((e,s)=>e.toggleAttribute("data-current",s===t)),this.querySelectorAll(".usa-fullpage-dots button").forEach((e,s)=>s===t?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")),this.emit("section",{index:t}))}go(t){const e=this.sections(),s=e[Math.max(0,Math.min(e.length-1,t))];s&&("x"===this.str("axis")?this.scrollTo({left:s.offsetLeft,behavior:this.reduced?"auto":"smooth"}):Ve(s.offsetTop,{target:this,preset:"stiff"}),this.mark(e.indexOf(s)))}next(){this.go(this._i+1)}prev(){this.go(this._i-1)}},{id:"fullpage",text:'usa-fullpage{position:relative;display:block;height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;outline:none}usa-fullpage[axis="x"]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}usa-fullpage .usa-fullpage-section{box-sizing:border-box;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}usa-fullpage[axis="x"] .usa-fullpage-section{flex:0 0 100%}usa-fullpage .usa-fullpage-dots{position:sticky;float:right;top:50%;margin-right:16px;transform:translateY(-50%);display:grid;gap:10px;z-index:5}usa-fullpage .usa-fullpage-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,currentColor 35%,transparent);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1),background-color 0.2s ease}usa-fullpage .usa-fullpage-dots button[aria-current]{background:var(--usa-accent,#7c5cff);transform:scale(1.5)}'})}function Ue(t="usa-loading-bar"){return d(t,t=>class extends t{constructor(){super(...arguments),this._p=0}get progress(){return this._p}mount(){this.querySelector(".usa-loading-bar-fill")||(this.innerHTML='<span class="usa-loading-bar-fill"></span>'),this.setAttribute("role","progressbar"),this.setAttribute("aria-label",this.str("label","Loading")),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax","100"),this.str("color")&&this.style.setProperty("--usa-loading-color",this.str("color")),this.style.setProperty("--usa-loading-h",`${this.num("height",3)}px`),this.paint()}unmount(){clearInterval(this._t),clearTimeout(this._h)}paint(){this.style.setProperty("--usa-loading",this._p.toFixed(4)),this.setAttribute("aria-valuenow",String(Math.round(100*this._p)))}start(){clearTimeout(this._h),clearInterval(this._t),this.setAttribute("data-active",""),this.setAttribute("aria-busy","true"),this._p=Math.max(this._p,.08),this.paint(),this._t=setInterval(()=>{this._p+=(.9-this._p)*(this.reduced?.5:.08),this.paint()},200)}set(t){this.setAttribute("data-active",""),this._p=Math.max(0,Math.min(1,t)),this.paint()}done(){clearInterval(this._t),this._p=1,this.paint(),this.removeAttribute("aria-busy"),this._h=setTimeout(()=>{this.removeAttribute("data-active"),this._h=setTimeout(()=>{this._p=0,this.paint()},300)},250)}},{id:"loading-bar",text:'usa-loading-bar{--usa-loading:0;--usa-loading-h:3px;--usa-loading-color:var(--usa-accent,#7c5cff);position:fixed;left:0;right:0;top:0;height:var(--usa-loading-h);z-index:2147483500;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-loading-bar[position="bottom"]{top:auto;bottom:0}usa-loading-bar[data-active]{opacity:1}usa-loading-bar .usa-loading-bar-fill{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--usa-loading));background:var(--usa-loading-color);box-shadow:0 0 10px var(--usa-loading-color);transition:transform 0.2s ease-out}@media (prefers-reduced-motion:reduce){usa-loading-bar .usa-loading-bar-fill{transition:none}}'})}function We(){if("undefined"==typeof document)return null;let t=document.querySelector("usa-loading-bar");return t||(Ue(),t=document.createElement("usa-loading-bar"),document.body.appendChild(t)),"function"==typeof t.start?t:null}const Ge={start:()=>We()?.start(),set:t=>We()?.set(t),done:()=>We()?.done(),async track(t){We()?.start();try{return await("function"==typeof t?t():t)}finally{We()?.done()}}};function Ke(t="usa-back-to-top"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}get visible(){return this.hasAttribute("data-visible")}mount(){this.querySelector("button")||(this.innerHTML=`<button type="button" aria-label="${this.str("label","Back to top")}"><svg viewBox="0 0 36 36" aria-hidden="true"><circle cx="18" cy="18" r="16" pathLength="100"/><path d="M12 20l6-6 6 6"/></svg></button>`);const t=this.querySelector("button"),e=()=>{this._frame=0;const t=window.scrollY||document.documentElement.scrollTop||0,e=Math.max(1,(document.documentElement.scrollHeight||0)-(window.innerHeight||0));this.toggleAttribute("data-visible",t>this.num("offset",300)),this.style.setProperty("--usa-btt",Math.min(1,t/e).toFixed(4))};this.listen(window,"scroll",()=>{this._frame||(this._frame=m(e))},{passive:!0}),this.listen(t,"click",async()=>{await Ve(0,{preset:"slow"});const t=document.querySelector(this.str("focus-target","#main"))||document.body;t.hasAttribute("tabindex")||t===document.body||(t.tabIndex=-1),t.focus?.({preventScroll:!0})}),e()}unmount(){b(this._frame),this._frame=0}},{id:"back-to-top",text:'usa-back-to-top{--usa-btt:0;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:850;opacity:0;transform:translateY(16px) scale(0.8);pointer-events:none;transition:opacity 0.25s ease,transform 0.4s cubic-bezier(0.34,1.56,0.64,1)}usa-back-to-top[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}usa-back-to-top[data-visible]{opacity:1;transform:none;pointer-events:auto}usa-back-to-top button{width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;color:var(--usa-accent,#7c5cff);background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow,0 8px 24px -10px rgb(0 0 0 / 0.5))}usa-back-to-top svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}usa-back-to-top circle{stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--usa-btt) * 100);transform:rotate(-90deg);transform-origin:50% 50%;opacity:0.85}usa-back-to-top button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){usa-back-to-top{transition:opacity 0.2s ease;transform:none}}'})}function Ze(t="usa-ambient"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["effect","density","color"]}mount(){this.setAttribute("aria-hidden","true");const t=this.str("effect","particles");if(this.style.setProperty("--usa-ambient-opacity",String(this.num("opacity",.6))),this.replaceChildren(),"noise"===t)return;if("gradient"===t){const t=()=>{this._frame=0;const t=Math.max(1,document.documentElement.scrollHeight-window.innerHeight);this.style.setProperty("--usa-ambient-p",((window.scrollY||0)/t).toFixed(4))};return this.reduced||this.listen(window,"scroll",()=>!this._frame&&(this._frame=m(t)),{passive:!0}),void t()}const e=document.createElement("canvas");this.append(e);const s=e.getContext?.("2d");if(!s)return;const i=Math.min(2,window.devicePixelRatio||1);let a=0,r=0;const n=this.str("color","snow"===t||"stars"===t?"#ffffff":"#a78bfa"),o=this.num("speed",1),u=()=>{a=window.innerWidth||800,r=window.innerHeight||600,e.width=a*i,e.height=r*i,e.style.width=`${a}px`,e.style.height=`${r}px`,s.setTransform(i,0,0,i,0,0)};u();const l="stars"===t?140:"snow"===t?90:60,c=Math.round(l*Math.max(.2,Math.min(3,this.num("density",1)))*Math.min(1.5,a*r/1024e3)),h=Array.from({length:c},()=>({x:Math.random()*a,y:Math.random()*r,r:"stars"===t?1.3*Math.random()+.2:"snow"===t?2.6*Math.random()+.8:2*Math.random()+.6,vx:.25*(Math.random()-.5),vy:"snow"===t?.8*Math.random()+.4:.25*(Math.random()-.5),t:Math.random()*Math.PI*2}));s.fillStyle=n;const d=e=>{s.clearRect(0,0,a,r);for(const i of h)e&&(i.t+=.02*o,i.x+=(i.vx+("snow"===t?.3*Math.sin(i.t):0))*o,i.y+=i.vy*o,i.y>r+5&&(i.y=-5),i.y<-5&&(i.y=r+5),i.x>a+5&&(i.x=-5),i.x<-5&&(i.x=a+5)),s.globalAlpha="stars"===t?.35+.65*Math.abs(Math.sin(i.t)):.85,s.beginPath(),s.arc(i.x,i.y,i.r,0,2*Math.PI),s.fill()};if(this.listen(window,"resize",()=>{u(),s.fillStyle=n,d(!1)}),this.reduced)return void d(!1);const p=()=>{document.hidden||d(!0),this._frame=m(p)};this._frame=m(p)}unmount(){b(this._frame),this._frame=0}},{id:"ambient",text:"usa-ambient{--usa-ambient-opacity:0.6;--usa-ambient-p:0;position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-ambient-opacity);contain:strict}usa-ambient[layer=\"front\"]{z-index:2147483000}usa-ambient canvas{display:block}usa-ambient[effect=\"noise\"]{opacity:calc(var(--usa-ambient-opacity) * 0.25);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\");animation:usa-ambient-grain 0.6s steps(4) infinite;mix-blend-mode:overlay}@keyframes usa-ambient-grain{25%{background-position:-40px 20px}50%{background-position:30px -50px}75%{background-position:-20px -30px}}usa-ambient[effect=\"gradient\"]{background:linear-gradient(135deg,hsl(calc(250 + var(--usa-ambient-p) * 140) 85% 60%),hsl(calc(190 + var(--usa-ambient-p) * 160) 85% 55%) 50%,hsl(calc(320 + var(--usa-ambient-p) * 90) 85% 62%))}@media (prefers-reduced-motion:reduce){usa-ambient[effect=\"noise\"]{animation:none}}"})}function Je(t="usa-splash"){return d(t,t=>class extends t{constructor(){super(...arguments),this._t0=0,this._gone=!1}mount(){this._t0=Date.now(),this.setAttribute("role","status"),this.setAttribute("aria-label",this.str("label","Loading")),document.body?.setAttribute("aria-busy","true"),this.flag("manual")||("complete"===document.readyState?this.done():this.listen(window,"load",()=>this.done(),{once:!0}))}async done(){if(this._gone)return;this._gone=!0;const t=Math.max(0,this.num("min",600)-(Date.now()-this._t0));t&&await new Promise(e=>setTimeout(e,t));const e=this.reduced?"fade":this.str("exit","fade"),s={fade:[{opacity:1},{opacity:0}],scale:[{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(1.15)"}],"slide-up":[{transform:"translateY(0)"},{transform:"translateY(-100%)"}],circle:[{clipPath:"circle(150% at 50% 50%)"},{clipPath:"circle(0% at 50% 50%)"}]},i=this.motion(this,s[e]||s.fade,{duration:this.reduced?200:550,easing:"cubic-bezier(0.65, 0, 0.35, 1)",fill:"forwards"});await(i?.finished.catch(()=>{})),document.body?.removeAttribute("aria-busy"),this.hidden=!0,this.emit("done")}},{id:"splash",text:"usa-splash{position:fixed;inset:0;z-index:2147483400;display:grid;place-items:center;background:var(--usa-splash-bg,var(--usa-surface,#0b0d12));color:var(--usa-text,#fff)}usa-splash[hidden]{display:none}"})}function Qe(t="usa-auto-skeleton"){return d(t,t=>class extends t{static get observedAttributes(){return["loading"]}get loading(){return this.flag("loading")}set loading(t){this.setFlag("loading",t)}mount(){this.sync(!1)}changed(){this.sync(!0)}sync(t){this.loading?this.setAttribute("aria-busy","true"):(this.removeAttribute("aria-busy"),t&&!this.reduced&&this.motion(this,[{opacity:.4},{opacity:1}],{duration:300,easing:"ease-out"}))}},{id:"auto-skeleton",text:"usa-auto-skeleton{display:block;--usa-skel-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skel-shine:color-mix(in srgb,currentColor 18%,transparent)}usa-auto-skeleton[loading] :is(h1,h2,h3,h4,h5,h6,p,li,span,a,button,label,img,svg,video,input,select,textarea,td,th,figcaption,blockquote,[data-skeleton]):not([data-no-skeleton]):not(:has(:is(h1,h2,h3,h4,h5,h6,p,li,img,button,input))){color:transparent !important;border-color:transparent !important;box-shadow:none !important;user-select:none;pointer-events:none;background:linear-gradient(90deg,var(--usa-skel-base) 25%,var(--usa-skel-shine) 50%,var(--usa-skel-base) 75%) 0 0 / 300% 100% !important;border-radius:6px;animation:usa-skel-shimmer 1.4s ease-in-out infinite}usa-auto-skeleton[loading] :is(img,svg,video){opacity:0}usa-auto-skeleton[loading] :is(img,svg,video):not([data-no-skeleton]){opacity:1;object-position:-9999px}@keyframes usa-skel-shimmer{from{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){usa-auto-skeleton[loading] *{animation:none !important}}"})}const ts=["off","low","normal","high"],es="usa:motion";function ss(t,e=!1){if(ts.includes(t)){if(i({motionIntensity:t}),e)try{localStorage.setItem(es,t)}catch{}"undefined"!=typeof document&&document.dispatchEvent(new CustomEvent("usa:motion",{detail:{level:t}}))}}function is(){try{const t=localStorage.getItem(es);t&&ts.includes(t)&&ss(t)}catch{}return a()}function as(t="usa-motion-switch"){return d(t,t=>class extends t{get value(){return a()}set value(t){ss(t,!0),this.sync()}mount(){is();const t=this.str("labels","Off,Low,Normal,High").split(",");this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.str("label","Motion")),this.innerHTML=ts.map((e,s)=>`<button type="button" role="radio" data-level="${e}">${t[s]||e}</button><span hidden></span>`.replace("<span hidden></span>","")).join("")+'<span class="usa-motion-thumb" aria-hidden="true"></span>',this.listen(this,"click",t=>{const e=t.target.closest?.("[data-level]");e&&this.pick(e.dataset.level)}),this.listen(this,"keydown",t=>{const e=ts.indexOf(this.value),s="ArrowRight"===t.key||"ArrowDown"===t.key?e+1:"ArrowLeft"===t.key||"ArrowUp"===t.key?e-1:null;null!==s&&(t.preventDefault(),this.pick(ts[(s+ts.length)%ts.length]),this.querySelector('[aria-checked="true"]')?.focus())}),this.listen(document,"usa:motion",()=>this.sync()),this.sync()}pick(t){this.value=t,this.emit("change",{level:t})}sync(){const t=this.value,e=ts.indexOf(t);this.style.setProperty("--usa-motion-i",String(e)),this.querySelectorAll("[data-level]").forEach(e=>{const s=e.dataset.level===t;e.setAttribute("aria-checked",String(s)),e.tabIndex=s?0:-1})}},{id:"motion-switch",text:'usa-motion-switch{--usa-motion-i:2;position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;border-radius:999px;background:color-mix(in srgb,currentColor 9%,transparent);isolation:isolate}usa-motion-switch button{position:relative;z-index:1;padding:6px 12px;border:0;background:none;color:inherit;font:inherit;font-size:0.85em;border-radius:999px;cursor:pointer}usa-motion-switch button[aria-checked="true"]{color:var(--usa-accent-text,#fff)}usa-motion-switch button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:1px}usa-motion-switch .usa-motion-thumb{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / 4);border-radius:999px;background:var(--usa-accent,#7c5cff);transform:translateX(calc(var(--usa-motion-i) * 100%));transition:transform 0.4s cubic-bezier(0.34,1.4,0.64,1)}@media (prefers-reduced-motion:reduce){usa-motion-switch .usa-motion-thumb{transition:none}}'})}var rs='::view-transition-group(root){animation-duration:var(--usa-pt-duration,600ms)}html[data-usa-pt] ::view-transition-old(root),html[data-usa-pt] ::view-transition-new(root){animation-duration:var(--usa-pt-duration,600ms);animation-timing-function:cubic-bezier(0.22,1,0.36,1);mix-blend-mode:normal}html[data-usa-pt="slide"] ::view-transition-old(root),html[data-usa-pt="slide-left"] ::view-transition-old(root){animation-name:usa-pt-out-left}html[data-usa-pt="slide"] ::view-transition-new(root),html[data-usa-pt="slide-left"] ::view-transition-new(root){animation-name:usa-pt-in-right}html[data-usa-pt="slide-right"] ::view-transition-old(root){animation-name:usa-pt-out-right}html[data-usa-pt="slide-right"] ::view-transition-new(root){animation-name:usa-pt-in-left}html[data-usa-pt="slide-up"] ::view-transition-old(root){animation-name:usa-pt-out-up}html[data-usa-pt="slide-up"] ::view-transition-new(root){animation-name:usa-pt-in-up}html[data-usa-pt="zoom"] ::view-transition-old(root){animation-name:usa-pt-zoom-out}html[data-usa-pt="zoom"] ::view-transition-new(root){animation-name:usa-pt-zoom-in}html[data-usa-pt="circle"] ::view-transition-old(root){animation:none}html[data-usa-pt="circle"] ::view-transition-new(root){animation-name:usa-pt-circle}html[data-usa-pt="blinds"] ::view-transition-old(root){animation:none}html[data-usa-pt="blinds"] ::view-transition-new(root){animation-name:usa-pt-blinds;-webkit-mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh);mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh)}html[data-usa-pt="pixel"] ::view-transition-old(root){animation-name:usa-pt-pixel-out;animation-timing-function:steps(10,end)}html[data-usa-pt="pixel"] ::view-transition-new(root){animation-name:usa-pt-pixel-in;animation-timing-function:steps(10,end)}@property --usa-blind{syntax:"<length-percentage>";inherits:false;initial-value:0vh}@keyframes usa-pt-out-left{to{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-in-right{from{transform:translateX(30%);opacity:0}}@keyframes usa-pt-out-right{to{transform:translateX(30%);opacity:0}}@keyframes usa-pt-in-left{from{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-out-up{to{transform:translateY(-12%);opacity:0}}@keyframes usa-pt-in-up{from{transform:translateY(12%);opacity:0}}@keyframes usa-pt-zoom-out{to{transform:scale(0.92);opacity:0}}@keyframes usa-pt-zoom-in{from{transform:scale(1.08);opacity:0}}@keyframes usa-pt-circle{from{clip-path:circle(0 at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}to{clip-path:circle(var(--usa-pt-r,150vmax) at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}}@keyframes usa-pt-blinds{from{--usa-blind:0vh}to{--usa-blind:10vh}}@keyframes usa-pt-pixel-out{to{opacity:0;filter:blur(6px) contrast(1.4)}}@keyframes usa-pt-pixel-in{from{opacity:0;filter:blur(6px) contrast(1.4)}}@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none !important}}';let ns=null;function os(){"undefined"==typeof document||os.done||(os.done=!0,document.addEventListener("pointerdown",t=>ns=[t.clientX,t.clientY],{capture:!0,passive:!0}))}const us=()=>"undefined"!=typeof document&&"function"==typeof document.startViewTransition;function ls(t){const e=document.documentElement,s=window.innerWidth||1024,i=window.innerHeight||768,[a,r]=void 0!==t.x&&void 0!==t.y?[t.x,t.y]:ns||[s/2,i/2],n=Math.hypot(Math.max(a,s-a),Math.max(r,i-r));e.style.setProperty("--usa-pt-x",`${a}px`),e.style.setProperty("--usa-pt-y",`${r}px`),e.style.setProperty("--usa-pt-r",`${Math.ceil(n)}px`),e.style.setProperty("--usa-pt-duration",`${t.duration??600}ms`)}async function cs(t,e={}){if("undefined"==typeof document)return void await t();l("page-transitions",rs),os();const s=e.effect||"fade";if(o()||!us()){await t();const s=e.fallback;return void(s&&"function"==typeof s.animate&&!o()&&await s.animate([{opacity:0},{opacity:1}],{duration:200}).finished.catch(()=>{}))}const i=document.documentElement;ls(e),i.setAttribute("data-usa-pt",s);try{const e=document.startViewTransition(()=>t());await e.finished}finally{i.removeAttribute("data-usa-pt")}}function hs(){De(),je(),Ue(),Ke(),Ze(),Je(),Qe(),as()}const ds={reveal:z,text:U,interaction:tt,feedback:lt,background:_t,transitions:zt,physics:Kt,cards:ae,click:Me,ui:He,page:hs};
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).UsaComponents={})}(this,function(t){"use strict";const e={off:0,low:.6,normal:1,high:1.25},s={injectStyles:!0,reducedMotion:"user",motionIntensity:"normal"};function i(t){Object.assign(s,t),t.motionIntensity&&"undefined"!=typeof document&&(document.documentElement.style.setProperty("--usa-motion",String(e[t.motionIntensity]??1)),document.documentElement.setAttribute("data-usa-motion",t.motionIntensity))}function a(){return s.motionIntensity}function r(){return e[s.motionIntensity]??1}const n=()=>"undefined"!=typeof customElements&&"undefined"!=typeof HTMLElement;function o(){return"off"===s.motionIntensity||("user"!==s.reducedMotion?"reduce"===s.reducedMotion:"function"==typeof matchMedia&&!!matchMedia("(prefers-reduced-motion: reduce)").matches)}const u=new Set;function l(t,e){if(!s.injectStyles||!e||u.has(t)||"undefined"==typeof document)return;u.add(t);try{if("function"==typeof CSSStyleSheet&&"adoptedStyleSheets"in document){const t=new CSSStyleSheet;return t.replaceSync(e),void(document.adoptedStyleSheets=[...document.adoptedStyleSheets,t])}}catch{}const i=document.createElement("style");i.setAttribute("data-usa",t),i.textContent=e,(document.head||document.documentElement).appendChild(i)}let c=null;function h(t,e){if(e)for(const[s,i]of Object.entries(e))"offset"!==s&&"easing"!==s&&"composite"!==s&&null!=i&&(t.style[s]=String(i))}function d(t,e,s){if(!n())return;l("base",p),s&&l(s.id,s.text);const i=customElements.get(t);if(i)return i;const a=e(function(){if(c)return c;class t extends HTMLElement{constructor(){super(...arguments),this._cleanups=[],this._connected=!1}get reduced(){return o()}connectedCallback(){if(!this._connected){if(this._connected=!0,"undefined"!=typeof document&&"loading"===document.readyState&&!this.nextSibling&&!this.childNodes.length){const t=()=>{this._connected&&this.isConnected&&this.mount()};return document.addEventListener("DOMContentLoaded",t,{once:!0}),void this._cleanups.push(()=>document.removeEventListener("DOMContentLoaded",t))}this.mount()}}disconnectedCallback(){this._connected=!1,this.teardown()}attributeChangedCallback(t,e,s){this._connected&&e!==s&&this.changed(t)}changed(t){this.teardown(),this.mount()}teardown(){this._cleanups.splice(0).reverse().forEach(t=>t()),this.unmount()}mount(){}unmount(){}str(t,e=""){const s=this.getAttribute(t);return null===s?e:s}num(t,e){const s=this.getAttribute(t),i=null===s||""===s.trim()?NaN:Number(s);return Number.isFinite(i)?i:e}flag(t){const e=this.getAttribute(t);return null!==e&&"false"!==e}setFlag(t,e){e?this.setAttribute(t,""):this.removeAttribute(t)}onCleanup(t){this._cleanups.push(t)}listen(t,e,s,i){t.addEventListener(e,s,i),this.onCleanup(()=>t.removeEventListener(e,s,i))}inView(t,e,s=this){if("undefined"==typeof IntersectionObserver)return void t(!0);const i=new IntersectionObserver(e=>{for(const s of e)t(s.isIntersecting,s)},e);i.observe(s),this.onCleanup(()=>i.disconnect())}motion(t,e,s){if("function"!=typeof t.animate)return h(t,e[e.length-1]),null;const i=r();return 1!==i&&i>0&&"number"==typeof s.duration&&(s={...s,duration:s.duration*i,delay:(s.delay||0)*i}),t.animate(e,s)}emit(t,e){return this.dispatchEvent(new CustomEvent(`usa:${t}`,{detail:e,bubbles:!0,cancelable:!0}))}}return c=t,c}());return customElements.define(t,a),a}const p=".usa-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}";function f(t){const e=document.createElement("span");return e.className="usa-sr",e.textContent=t,e}const m=t=>"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(()=>t(Date.now()),16),g=()=>"undefined"!=typeof performance?performance.now():Date.now(),b=t=>{"function"==typeof cancelAnimationFrame?cancelAnimationFrame(t):clearTimeout(t)},y="cubic-bezier(0.22, 1, 0.36, 1)",v="cubic-bezier(0.34, 1.56, 0.64, 1)",x="cubic-bezier(0.1, 0.9, 0.2, 1)";function w(t,e,s){const i=t.getAttribute("kind");return i&&(Array.isArray(e)?e.includes(i):i in e)?i:s}const k=(t,e,s)=>Math.min(s,Math.max(e,t));function _(t,e){const s=function(t,e=32){const s=`${e}px`;switch(t){case"fade":return{opacity:0};case"fade-down":return{opacity:0,transform:`translate3d(0,-${s},0)`};case"fade-left":return{opacity:0,transform:`translate3d(-${s},0,0)`};case"fade-right":return{opacity:0,transform:`translate3d(${s},0,0)`};case"zoom-in":return{opacity:0,transform:"scale(0.86)"};case"zoom-out":return{opacity:0,transform:"scale(1.14)"};case"blur":return{opacity:0,filter:"blur(12px)"};case"blur-up":return{opacity:0,filter:"blur(10px)",transform:`translate3d(0,${s},0)`};case"flip-up":return{opacity:0,transform:"perspective(800px) rotateX(-55deg)",transformOrigin:"50% 100%"};case"flip-left":return{opacity:0,transform:"perspective(800px) rotateY(55deg)",transformOrigin:"0% 50%"};case"rise":return{opacity:0,transform:`translate3d(0,${1.5*e}px,0) scale(0.96)`};default:return{opacity:0,transform:`translate3d(0,${s},0)`}}}(t,e),i={};for(const t of Object.keys(s))"opacity"===t?i.opacity=1:"transform"===t?i.transform="none":"filter"===t?i.filter="none":"transformOrigin"===t&&(i.transformOrigin=s.transformOrigin);return[s,i]}var A='usa-reveal,usa-stagger{display:block}usa-reveal[data-state="hidden"],usa-stagger[data-state="hidden"]>*{opacity:0}@media (prefers-reduced-motion:reduce){usa-reveal[data-state="hidden"],usa-stagger[data-state="hidden"]>*{opacity:1}}';function M(t="usa-reveal"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null}static get observedAttributes(){return["effect","distance","repeat","threshold","root-margin"]}get effect(){return this.str("effect","fade-up")}set effect(t){this.setAttribute("effect",t)}get revealed(){return"hidden"!==this.getAttribute("data-state")}mount(){this.reduced?this.setAttribute("data-state","shown"):("shown"!==this.getAttribute("data-state")&&this.setAttribute("data-state","hidden"),this.inView(t=>{t?(this.emit("enter"),this.revealed||this.reveal()):(this.emit("leave"),this.flag("repeat")&&this.revealed&&this.reset())},{threshold:this.num("threshold",.15),rootMargin:this.str("root-margin","0px")}))}unmount(){this._anim?.cancel(),this._anim=null}reveal(){if(this._anim?.cancel(),this.setAttribute("data-state","shown"),this.reduced)return Promise.resolve();const t=this.motion(this,_(this.effect,this.num("distance",32)),{duration:this.num("duration",700),delay:this.num("delay",0),easing:this.str("easing",y),fill:"backwards"});return this._anim=t,new Promise(e=>{const s=()=>{this._anim===t&&(this._anim=null),this.emit("complete"),e()};t?t.onfinish=s:s()})}reset(){this._anim?.cancel(),this._anim=null,this.reduced||this.setAttribute("data-state","hidden")}},{id:"reveal",text:A})}function C(t="usa-stagger"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anims=[]}static get observedAttributes(){return["effect","repeat","threshold"]}mount(){this.reduced?this.setAttribute("data-state","shown"):("shown"!==this.getAttribute("data-state")&&this.setAttribute("data-state","hidden"),this.inView(t=>{t&&"hidden"===this.getAttribute("data-state")?(this.emit("enter"),this.reveal()):!t&&this.flag("repeat")&&this.reset()},{threshold:this.num("threshold",.1)}))}unmount(){this.cancel()}cancel(){this._anims.splice(0).forEach(t=>t.cancel())}reveal(){this.cancel(),this.setAttribute("data-state","shown");const t=Array.from(this.children);if(this.reduced||!t.length)return Promise.resolve();const e=_(this.str("effect","fade-up"),this.num("distance",24)),s=this.num("interval",70),i=this.num("delay",0),a=this.num("duration",600),r=this.str("easing",y),n=t.map((t,n)=>this.motion(t,e,{duration:a,easing:r,delay:i+n*s,fill:"backwards"})).filter(t=>!!t);this._anims=n;const o=n[n.length-1];return new Promise(t=>{const e=()=>{this.emit("complete"),t()};o?o.onfinish=e:e()})}reset(){this.cancel(),this.reduced||this.setAttribute("data-state","hidden")}},{id:"reveal",text:A})}function E(t){if("undefined"==typeof window)return 0;const e=window.innerHeight||document.documentElement.clientHeight;if(t){const s=t.getBoundingClientRect(),i=s.height-e;return i<=0?s.top<=0?1:0:k(-s.top/i,0,1)}const s=document.documentElement,i=s.scrollHeight-e;return i<=0?0:k((window.scrollY||s.scrollTop)/i,0,1)}function S(t="usa-scroll-progress"){return d(t,t=>class extends t{constructor(){super(...arguments),this._bar=null,this._p=-1,this._frame=0}static get observedAttributes(){return["target","label"]}get progress(){return Math.max(0,this._p)}mount(){this._bar||(this._bar=document.createElement("span"),this._bar.className="usa-progress-fill",this.replaceChildren(this._bar)),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax","100"),this.hasAttribute("aria-label")||this.setAttribute("aria-label",this.str("label","Reading progress"));const t=()=>{this._frame||(this._frame=m(()=>(this._frame=0,this.update())))};this.listen(window,"scroll",t,{passive:!0}),this.listen(window,"resize",t,{passive:!0}),this.update()}unmount(){b(this._frame),this._frame=0}update(){const t=this.getAttribute("target"),e=E(t?document.querySelector(t):null);if(Math.abs(e-this._p)<5e-4)return;this._p=e,this._bar&&(this._bar.style.transform=`scaleX(${e})`),this.style.setProperty("--usa-progress",String(e));const s=String(Math.round(100*e));this.getAttribute("aria-valuenow")!==s&&this.setAttribute("aria-valuenow",s),this.emit("progress",{progress:e})}},{id:"scroll-progress",text:'usa-scroll-progress{display:block;position:fixed;left:0;right:0;top:0;z-index:1000;height:var(--usa-progress-height,3px);background:var(--usa-progress-track,transparent);pointer-events:none;contain:strict}usa-scroll-progress[position="bottom"]{top:auto;bottom:0}usa-scroll-progress[position="inline"]{position:relative;z-index:auto;border-radius:999px;overflow:hidden}usa-scroll-progress .usa-progress-fill{display:block;height:100%;transform:scaleX(0);transform-origin:0 50%;background:var(--usa-progress-color,linear-gradient(90deg,#7c5cff,#22d3ee));will-change:transform}'})}function z(t="usa-scrolly"){return d(t,t=>class extends t{constructor(){super(...arguments),this._active=-1}static get observedAttributes(){return["offset"]}get active(){return this._active}get steps(){return Array.from(this.querySelectorAll("[data-step]"))}mount(){const t=this.steps;if(!t.length)return;const e=k(this.num("offset",.5),0,1),s=Math.min(99,Math.round(100*e)),i=`-${s}% 0px -${Math.max(0,99-s)}% 0px`;if("undefined"==typeof IntersectionObserver)return void this.activate(0);const a=new IntersectionObserver(e=>{for(const s of e)s.isIntersecting&&this.activate(t.indexOf(s.target))},{rootMargin:i});t.forEach(t=>a.observe(t)),this.onCleanup(()=>a.disconnect()),this._active<0&&this.activate(0,!0)}activate(t,e=!1){const s=this.steps;if(t<0||t>=s.length||t===this._active)return;this._active=t,s.forEach((e,s)=>e.toggleAttribute("data-active",s===t));const i=s[t];this.setAttribute("active",String(t)),this.style.setProperty("--usa-step",String(t)),this.setAttribute("data-step-name",i.dataset.step||String(t)),e||this.emit("step",{index:t,step:i,name:i.dataset.step||""})}},{id:"scrolly",text:"usa-scrolly{display:block;position:relative}usa-scrolly [data-sticky]{position:sticky;top:var(--usa-sticky-top,0px)}usa-scrolly [data-step]{opacity:var(--usa-step-dim,0.35);transition:opacity 0.4s ease}usa-scrolly [data-step][data-active]{opacity:1}@media (prefers-reduced-motion:reduce){usa-scrolly [data-step]{transition:none}}"})}function $(){M(),C(),S(),z()}function P(t="usa-typewriter"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._out=null,this._timer=0,this._running=!1}static get observedAttributes(){return["text","words"]}get phrases(){const t=this.getAttribute("words");return t?t.split("|").map(t=>t.trim()).filter(Boolean):[this.getAttribute("text")??this._source??""]}mount(){null===this._source&&(this._source=(this.textContent||"").trim());const t=this.phrases,e=f(t.join(", "));this._out=document.createElement("span"),this._out.className="usa-tw-text",this._out.setAttribute("aria-hidden","true");const s=document.createElement("span");if(s.className="usa-tw-caret",s.setAttribute("aria-hidden","true"),this.replaceChildren(e,this._out,s),this.toggleAttribute("data-no-cursor","false"===this.getAttribute("cursor")),this.reduced)return void(this._out.textContent=t[0]||"");const i=this.str("start","view");"load"===i?this.start():"view"===i&&this.inView(t=>{!t||this._running||this._out?.textContent||this.start()})}unmount(){this.stop()}stop(){clearTimeout(this._timer),this._timer=0,this._running=!1,this.removeAttribute("data-typing")}restart(){this.stop(),this._out&&(this._out.textContent=""),this.start()}start(){if(this._running||!this._out)return;const t=this._out,e=this.phrases;if(this.reduced)return void(t.textContent=e[0]||"");this._running=!0;const s=this.num("speed",55),i=this.num("delete-speed",30),a=this.num("pause",1400),r=this.flag("loop")||e.length>1;let n=0,o=0,u=!1;const l=()=>{const c=e[n]||"";if(u){if(o--,t.textContent=c.slice(0,Math.max(0,o)),o<=0)return u=!1,n=(n+1)%e.length,void(this._timer=setTimeout(l,4*s));this._timer=setTimeout(l,i)}else{if(o++,t.textContent=c.slice(0,o),this.setAttribute("data-typing",""),o>=c.length){this.removeAttribute("data-typing");const t=n===e.length-1;return t&&this.emit("complete"),!r&&t?void(this._running=!1):(u=!0,void(this._timer=setTimeout(l,a)))}this._timer=setTimeout(l,s*(.6+.8*Math.random()))}};this._timer=setTimeout(l,this.num("delay",0))}},{id:"typewriter",text:"usa-typewriter{white-space:pre-wrap}usa-typewriter .usa-tw-caret{display:inline-block;width:var(--usa-caret-width,0.08em);height:1.05em;margin-left:0.06em;vertical-align:-0.12em;background:var(--usa-caret-color,currentColor);animation:usa-caret 1.06s steps(1) infinite}usa-typewriter[data-typing] .usa-tw-caret{animation:none}usa-typewriter[data-no-cursor] .usa-tw-caret{display:none}@keyframes usa-caret{50%{opacity:0}}@media (prefers-reduced-motion:reduce){usa-typewriter .usa-tw-caret,usa-shimmer-text{animation:none}}"})}function T(t="usa-split-text"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._timer=0}static get observedAttributes(){return["by","text"]}get units(){return Array.from(this.querySelectorAll(".usa-split-unit"))}mount(){null===this._source&&(this._source=this.getAttribute("text")??(this.textContent||"").replace(/\s+/g," ").trim());const t=this.getAttribute("text")??this._source,e="words"===this.str("by","chars"),s=document.createDocumentFragment();s.append(f(t));let i=0;if(t.split(" ").forEach((t,a)=>{a>0&&s.append(" ");const r=document.createElement("span");r.className="usa-split-word",r.setAttribute("aria-hidden","true");const n=e?[t]:Array.from(t);for(const t of n){const e=document.createElement("span");e.className="usa-split-unit",e.textContent=t,e.style.setProperty("--i",String(i++)),r.append(e)}s.append(r)}),this.replaceChildren(s),this.style.setProperty("--usa-split-stagger",`${this.num("stagger",e?70:28)}ms`),this.style.setProperty("--usa-split-duration",`${this.num("duration",620)}ms`),this.style.setProperty("--usa-split-delay",`${this.num("delay",0)}ms`),this.style.setProperty("--usa-split-count",String(i)),this.reduced)return void this.setAttribute("data-state","shown");this.setAttribute("data-state","hidden");const a=this.str("trigger","view");"load"===a?this.play():"view"===a&&this.inView(t=>{t&&"hidden"===this.getAttribute("data-state")?this.play():!t&&this.flag("repeat")&&this.reset()},{threshold:.2})}unmount(){clearTimeout(this._timer)}play(){if(clearTimeout(this._timer),this.reduced)return void this.setAttribute("data-state","shown");this.setAttribute("data-state","hidden"),this.offsetWidth,this.setAttribute("data-state","play");const t=this.units.length,e=this.num("delay",0)+this.num("duration",620)+Math.max(0,t-1)*this.num("stagger","words"===this.str("by")?70:28);this._timer=setTimeout(()=>{this.setAttribute("data-state","shown"),this.emit("complete")},e)}reset(){clearTimeout(this._timer),this.setAttribute("data-state",this.reduced?"shown":"hidden")}},{id:"split-text",text:'usa-split-text .usa-split-word{display:inline-block;white-space:nowrap}usa-split-text .usa-split-unit{display:inline-block;white-space:pre}usa-split-text[data-state="hidden"] .usa-split-unit{opacity:0}usa-split-text[data-state="play"] .usa-split-unit{animation:usa-split-rise var(--usa-split-duration,620ms) cubic-bezier(0.22,1,0.36,1) both;animation-delay:calc(var(--usa-split-delay,0ms) + var(--i,0) * var(--usa-split-stagger,28ms))}usa-split-text[effect="fade"][data-state="play"] .usa-split-unit{animation-name:usa-split-fade}usa-split-text[effect="blur"][data-state="play"] .usa-split-unit{animation-name:usa-split-blur}usa-split-text[effect="flip"][data-state="play"] .usa-split-unit{animation-name:usa-split-flip;transform-origin:50% 100%}usa-split-text[effect="pop"][data-state="play"] .usa-split-unit{animation-name:usa-split-pop;animation-timing-function:cubic-bezier(0.34,1.56,0.64,1)}@keyframes usa-split-rise{from{opacity:0;transform:translate3d(0,0.6em,0)}to{opacity:1;transform:none}}@keyframes usa-split-fade{from{opacity:0}to{opacity:1}}@keyframes usa-split-blur{from{opacity:0;filter:blur(8px)}to{opacity:1;filter:none}}@keyframes usa-split-flip{from{opacity:0;transform:perspective(500px) rotateX(-80deg)}to{opacity:1;transform:none}}@keyframes usa-split-pop{from{opacity:0;transform:scale(0.3)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){usa-split-text .usa-split-unit{animation:none !important;opacity:1 !important}}'})}const L="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#%&*+=<>/\\?!";function N(t,e,s=L,i=Math.random){const a=Math.floor(t.length*e);let r="";for(let e=0;e<t.length;e++){const n=t[e];r+=e<a||/\s|[.,:;!?'"()\-–—]/.test(n)?n:s[Math.floor(i()*s.length)]}return r}function F(t="usa-scramble"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._out=null,this._frame=0}static get observedAttributes(){return["text"]}get text(){return this.getAttribute("text")??this._source??""}mount(){if(null===this._source&&(this._source=(this.textContent||"").trim()),this._out=document.createElement("span"),this._out.setAttribute("aria-hidden","true"),this._out.textContent=this.text,this.replaceChildren(f(this.text),this._out),this.reduced)return;const t=this.str("trigger","view");if("load"===t)this.play();else if("hover"===t)this.listen(this,"pointerenter",()=>this.play()),this.listen(this,"focusin",()=>this.play());else if("view"===t){let t=!1;this.inView(e=>{e&&!t&&(t=!0,this.play())})}}unmount(){b(this._frame),this._frame=0}play(){b(this._frame);const t=this._out,e=this.text;if(!t||this.reduced)return t&&(t.textContent=e),Promise.resolve();const s=this.num("duration",900),i=this.str("chars",L)||L,a=g();let r=-1;return new Promise(n=>{const o=()=>{const u=Math.min(1,Math.max(0,g()-a)/s),l=Math.floor(u*s/33);l===r&&1!==u||(r=l,t.textContent=1===u?e:N(e,u,i)),u<1?this._frame=m(o):(this._frame=0,this.emit("complete"),n())};this._frame=m(o)})}},void 0)}const R=t=>t>=1?1:1-Math.pow(2,-10*t);function I(t="usa-counter"){return d(t,t=>class extends t{constructor(){super(...arguments),this._current=NaN,this._target=NaN,this._frame=0,this._fmt=null}static get observedAttributes(){return["to","decimals","locale","prefix","suffix","grouping"]}get value(){return Number.isNaN(this._target)?this.num("to",0):this._target}set value(t){this.play(Number(t))}format(t){if(!this._fmt){const t=Math.max(0,Math.min(20,this.num("decimals",0))),e=this.getAttribute("locale")||"undefined"!=typeof document&&document.documentElement.lang||void 0;try{this._fmt=new Intl.NumberFormat(e,{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:"false"!==this.getAttribute("grouping")})}catch{this._fmt=new Intl.NumberFormat(void 0,{minimumFractionDigits:t,maximumFractionDigits:t})}}return`${this.str("prefix")}${this._fmt.format(t)}${this.str("suffix")}`}render(t){this._current=t,this.textContent=this.format(t)}changed(t){this._fmt=null,"to"===t?this.play():this.render(Number.isNaN(this._current)?this.num("from",0):this._current)}mount(){this._fmt=null;const t=this.num("to",0);if(this.reduced)return this._target=t,void this.render(t);Number.isNaN(this._current)&&this.render(this.num("from",0));const e=this.str("start","view");if("load"===e)this.play();else if("view"===e){let t=!1;this.inView(e=>{e&&!t&&(t=!0,this.play())},{threshold:.4})}}unmount(){b(this._frame),this._frame=0}play(t=this.num("to",0)){b(this._frame),this._target=t;const e=Number.isNaN(this._current)?this.num("from",0):this._current;if(this.reduced||e===t||!this.isConnected)return this.render(t),this.emit("complete",{value:t}),Promise.resolve();const s=this.num("duration",1600),i=g();return new Promise(a=>{const r=()=>{const n=Math.min(1,Math.max(0,g()-i)/s);this.render(e+(t-e)*R(n)),n<1?this._frame=m(r):(this._frame=0,this.render(t),this.emit("complete",{value:t}),a())};this._frame=m(r)})}},{id:"counter",text:"usa-counter{font-variant-numeric:tabular-nums}"})}function q(t="usa-shimmer-text"){return d(t,t=>class extends t{static get observedAttributes(){return["duration","color","shine","angle"]}mount(){const t=(t,e,s="")=>{const i=this.getAttribute(t);null!==i?this.style.setProperty(e,i+s):this.style.removeProperty(e)};t("duration","--usa-shimmer-duration","ms"),t("color","--usa-shimmer-color"),t("shine","--usa-shimmer-shine"),t("angle","--usa-shimmer-angle","deg")}},{id:"shimmer-text",text:"usa-shimmer-text{--usa-shimmer-color:currentColor;--usa-shimmer-shine:#fff;background:linear-gradient(var(--usa-shimmer-angle,110deg),var(--usa-shimmer-color) 35%,var(--usa-shimmer-shine) 50%,var(--usa-shimmer-color) 65%) 0 0 / 250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:usa-shimmer var(--usa-shimmer-duration,2600ms) linear infinite}@keyframes usa-shimmer{from{background-position:100% 0}to{background-position:-150% 0}}"})}function B(t="usa-text-rotate"){return d(t,t=>class extends t{constructor(){super(...arguments),this._source=null,this._index=0,this._timer=0,this._visible=!0}static get observedAttributes(){return["words","interval","paused"]}get index(){return this._index}get words(){return(this.getAttribute("words")??this._source??"").split("|").map(t=>t.trim()).filter(Boolean)}mount(){null===this._source&&(this._source=(this.textContent||"").trim());const t=this.words;this.replaceChildren(f(t.join(", ")),...t.map((t,e)=>{const s=document.createElement("span");return s.className="usa-rotate-word",s.textContent=t,s.setAttribute("aria-hidden","true"),e!==this._index&&s.setAttribute("data-hidden",""),s})),this._index>=t.length&&(this._index=0),t.length<2||(this.inView(t=>this._visible=t),this.flag("paused")||(this._timer=setInterval(()=>{!this._visible||"undefined"!=typeof document&&document.hidden||this.next()},Math.max(400,this.num("interval",2200)))))}unmount(){clearInterval(this._timer),this._timer=0}next(){const t=Array.from(this.querySelectorAll(".usa-rotate-word"));if(t.length<2)return;const e=t[this._index];this._index=(this._index+1)%t.length;const s=t[this._index];e.setAttribute("data-hidden",""),s.removeAttribute("data-hidden");const i=this.reduced?"fade":this.str("effect","slide"),[a,r]="fade"===i?[{opacity:0},{opacity:0}]:"flip"===i?[{opacity:0,transform:"perspective(400px) rotateX(-90deg)"},{opacity:0,transform:"perspective(400px) rotateX(90deg)"}]:"blur"===i?[{opacity:0,filter:"blur(8px)"},{opacity:0,filter:"blur(8px)"}]:[{opacity:0,transform:"translateY(0.8em)"},{opacity:0,transform:"translateY(-0.8em)"}],n={opacity:1,transform:"none",filter:"none"},o=t=>Object.fromEntries(Object.keys(t).map(t=>[t,n[t]]));this.motion(e,[{...o(r)},r],{duration:380,easing:y}),this.motion(s,[a,o(a)],{duration:520,easing:"slide"===i?v:y}),this.emit("change",{index:this._index,word:s.textContent})}},{id:"text-rotate",text:"usa-text-rotate{display:inline-grid;vertical-align:bottom;overflow:hidden;padding-block:0.08em}usa-text-rotate .usa-rotate-word{grid-area:1 / 1;white-space:nowrap}usa-text-rotate .usa-rotate-word[data-hidden]{opacity:0}"})}var X='usa-wave-text .usa-word,usa-scroll-highlight .usa-word{display:inline-block;white-space:nowrap}usa-wave-text .usa-char{display:inline-block;animation:usa-wave var(--usa-wave-s,1.6s) ease-in-out infinite;animation-delay:calc(var(--i) * var(--usa-wave-d,0.06s))}@keyframes usa-wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(calc(var(--usa-wave-a,0.25em) * -1))}}usa-glitch{position:relative;display:inline-block}usa-glitch::before,usa-glitch::after{content:attr(data-text);position:absolute;inset:0;pointer-events:none}usa-glitch::before{color:#ff2bd6;transform:translate(calc(var(--usa-glitch-i,3px) * -1),0);clip-path:inset(0 0 55% 0);mix-blend-mode:screen;animation:usa-glitch-a 2.4s steps(2,end) infinite}usa-glitch::after{color:#00f0ff;transform:translate(var(--usa-glitch-i,3px),0);clip-path:inset(50% 0 0 0);mix-blend-mode:screen;animation:usa-glitch-b 1.9s steps(2,end) infinite}usa-glitch[trigger="hover"]::before,usa-glitch[trigger="hover"]::after{animation-play-state:paused;opacity:0}usa-glitch[trigger="hover"]:hover::before,usa-glitch[trigger="hover"]:hover::after{animation-play-state:running;opacity:1}@keyframes usa-glitch-a{0%{clip-path:inset(0 0 80% 0)}20%{clip-path:inset(30% 0 40% 0)}40%{clip-path:inset(70% 0 5% 0)}60%{clip-path:inset(10% 0 60% 0)}80%{clip-path:inset(50% 0 30% 0)}100%{clip-path:inset(0 0 80% 0)}}@keyframes usa-glitch-b{0%{clip-path:inset(60% 0 10% 0)}25%{clip-path:inset(15% 0 70% 0)}50%{clip-path:inset(80% 0 2% 0)}75%{clip-path:inset(40% 0 35% 0)}100%{clip-path:inset(60% 0 10% 0)}}usa-gradient-text{background:var(--usa-grad) 0 50% / 300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:usa-grad-flow var(--usa-grad-s,6s) linear infinite}@keyframes usa-grad-flow{to{background-position:150% 50%}}usa-handwriting{--usa-hw-stroke:currentColor;display:inline-block;line-height:0}usa-handwriting svg{max-width:100%;height:auto;overflow:visible}usa-handwriting text{fill:transparent;stroke:var(--usa-hw-stroke);stroke-width:1.2;stroke-dasharray:1600;stroke-dashoffset:1600;font-family:"Segoe Script","Brush Script MT","Snell Roundhand",cursive}usa-handwriting[data-state="drawing"] text{animation:usa-hw-draw var(--usa-hw-d,2400ms) cubic-bezier(0.55,0,0.45,1) forwards,usa-hw-fill 0.6s ease calc(var(--usa-hw-d,2400ms) * 0.8) forwards}usa-handwriting[data-state="done"] text{stroke-dashoffset:0;fill:currentColor}@keyframes usa-hw-draw{to{stroke-dashoffset:0}}@keyframes usa-hw-fill{to{fill:currentColor}}usa-scroll-highlight .usa-hl-word{opacity:var(--usa-hl-dim,0.2);transition:opacity 0.35s ease}usa-scroll-highlight .usa-hl-word[data-on]{opacity:1}usa-scroll-highlight[mode="marker"]{--usa-hl-color:color-mix(in srgb,#facc15 55%,transparent);background:linear-gradient(var(--usa-hl-color),var(--usa-hl-color)) 0 88% / 0% 40% no-repeat;transition:background-size 1s cubic-bezier(0.65,0,0.35,1);-webkit-box-decoration-break:clone;box-decoration-break:clone}usa-scroll-highlight[mode="marker"][data-lit]{background-size:100% 40%}@media (prefers-reduced-motion:reduce){usa-wave-text .usa-char,usa-glitch::before,usa-glitch::after,usa-gradient-text{animation:none !important}usa-glitch::before,usa-glitch::after{display:none}usa-scroll-highlight .usa-hl-word,usa-scroll-highlight[mode="marker"]{transition:none}}';const Y=t=>t.getAttribute("text")??t.dataset.usaText??(t.dataset.usaText=(t.textContent||"").trim());function O(t="usa-wave-text"){return d(t,t=>class extends t{static get observedAttributes(){return["text"]}mount(){!function(t,e){const s=document.createElement("span");s.setAttribute("aria-hidden","true");const i=[];e.split(/(\s+)/).forEach(t=>{if(/^\s+$/.test(t))return void s.append(document.createTextNode(t));const e=document.createElement("span");e.className="usa-word";for(const s of Array.from(t)){const t=document.createElement("span");t.className="usa-char",t.textContent=s,t.style.setProperty("--i",String(i.length)),e.append(t),i.push(t)}s.append(e)}),t.replaceChildren(f(e),s)}(this,Y(this)),this.style.setProperty("--usa-wave-a",`${this.num("amplitude",.25)}em`),this.style.setProperty("--usa-wave-s",`${this.num("speed",1.6)}s`),this.style.setProperty("--usa-wave-d",`${this.num("stagger",.06)}s`)}},{id:"text-fx",text:X})}function D(t="usa-glitch"){return d(t,t=>class extends t{static get observedAttributes(){return["text","intensity"]}mount(){const t=Y(this);this.setAttribute("data-text",t),this.style.setProperty("--usa-glitch-i",`${this.num("intensity",3)}px`),this.firstChild||(this.textContent=t)}},{id:"text-fx",text:X})}function H(t="usa-gradient-text"){return d(t,t=>class extends t{static get observedAttributes(){return["colors","speed","angle"]}mount(){const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#facc15").split(",").map(t=>t.trim());this.style.setProperty("--usa-grad",`linear-gradient(${this.num("angle",90)}deg, ${[...t,t[0]].join(", ")})`),this.style.setProperty("--usa-grad-s",`${this.num("speed",6)}s`)}},{id:"text-fx",text:X})}function j(t="usa-handwriting"){return d(t,t=>class extends t{static get observedAttributes(){return["text","size","font"]}mount(){const t=Y(this),e=this.num("size",64),s=Math.ceil(t.length*e*.62)+8;this.replaceChildren(f(t)),this.insertAdjacentHTML("beforeend",`<svg aria-hidden="true" viewBox="0 0 ${s} ${Math.ceil(1.3*e)}" width="${s}" height="${Math.ceil(1.3*e)}"><text x="4" y="${Math.round(e)}" font-size="${e}"></text></svg>`);const i=this.querySelector("text");i.textContent=t,this.str("font")&&i.setAttribute("font-family",this.str("font")),this.str("stroke")&&this.style.setProperty("--usa-hw-stroke",this.str("stroke")),this.style.setProperty("--usa-hw-d",`${this.num("duration",2400)}ms`),this.reduced?this.setAttribute("data-state","done"):this.inView(t=>t&&this.play(),{threshold:.3})}play(){this.removeAttribute("data-state"),this.offsetWidth,this.setAttribute("data-state","drawing"),setTimeout(()=>{this.setAttribute("data-state","done"),this.emit("complete")},this.reduced?0:this.num("duration",2400))}},{id:"text-fx",text:X})}function V(t="usa-scroll-highlight"){return d(t,t=>class extends t{constructor(){super(...arguments),this._f=0,this._p=0}static get observedAttributes(){return["mode","text"]}get progress(){return this._p}mount(){const t=this.str("mode","words");if(this.str("color")&&this.style.setProperty("--usa-hl-color",this.str("color")),this.style.setProperty("--usa-hl-dim",String(this.num("dim",.2))),"marker"===t)return void(this.reduced?this.setAttribute("data-lit",""):this.inView(t=>t&&this.setAttribute("data-lit",""),{threshold:.6}));const e=Y(this),s=document.createElement("span");s.setAttribute("aria-hidden","true");const i=e.split(/\s+/).filter(Boolean).map(t=>{const e=document.createElement("span");return e.className="usa-hl-word",e.textContent=t,s.append(e," "),e});if(this.replaceChildren(f(e),s),this.reduced)return void i.forEach(t=>t.setAttribute("data-on",""));const a=()=>{this._f=0;const t=this.getBoundingClientRect(),e=window.innerHeight||800;this._p=k((.85*e-t.top)/(t.height+.35*e),0,1);const s=Math.round(this._p*i.length);i.forEach((t,e)=>t.toggleAttribute("data-on",e<s))},r=()=>!this._f&&(this._f=m(a));let n=!1;this.inView(t=>{t!==n&&(n=t,t?window.addEventListener("scroll",r,{passive:!0}):window.removeEventListener("scroll",r),r())}),this.onCleanup(()=>window.removeEventListener("scroll",r))}unmount(){b(this._f),this._f=0}},{id:"text-fx",text:X})}function U(){P(),T(),F(),I(),q(),B(),O(),D(),H(),j(),V()}function W(t="usa-ripple"){return d(t,t=>class extends t{static get observedAttributes(){return[]}mount(){this.listen(this,"pointerdown",t=>{0!==t.button&&"mouse"===t.pointerType||this.ripple(t.clientX,t.clientY)}),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||this.ripple()})}ripple(t,e){if(this.flag("disabled"))return;const s=this.getBoundingClientRect(),i=this.flag("centered")||void 0===t||void 0===e,a=i?s.width/2:t-s.left,r=i?s.height/2:e-s.top,n=Math.hypot(Math.max(a,s.width-a),Math.max(r,s.height-r)),o=document.createElement("span");o.className="usa-ripple-wave",o.setAttribute("aria-hidden","true");const u=2*n;o.style.cssText=`width:${u}px;height:${u}px;left:${a-n}px;top:${r-n}px;background:${this.str("color","currentColor")}`,this.append(o);const l=this.num("opacity",.22),c=this.num("duration",550),h=this.reduced?[{opacity:l},{opacity:0}]:[{transform:"scale(0)",opacity:l},{transform:"scale(1)",opacity:l,offset:.7},{transform:"scale(1)",opacity:0}],d=this.motion(o,h,{duration:this.reduced?300:c,easing:y,fill:"forwards"});d?d.onfinish=()=>o.remove():setTimeout(()=>o.remove(),0)}},{id:"ripple",text:"usa-ripple{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent}usa-ripple[block]{display:block}usa-ripple .usa-ripple-wave{position:absolute;border-radius:50%;pointer-events:none;transform:scale(0);z-index:-1;will-change:transform,opacity}"})}function G(t="usa-magnetic"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["strength","radius","disabled"]}mount(){if(this.reduced||this.flag("disabled"))return;if("function"==typeof matchMedia&&!matchMedia("(hover: hover) and (pointer: fine)").matches)return;const t=this.num("strength",.35),e=this.num("radius",60);let s=0,i=0,a=!1;const r=()=>{this._frame=0;const r=this.getBoundingClientRect(),n=s-(r.left+r.width/2),o=i-(r.top+r.height/2);Math.abs(n)<r.width/2+e&&Math.abs(o)<r.height/2+e?(a=!0,this.setAttribute("data-active",""),this.style.setProperty("--usa-mx",`${(n*t).toFixed(2)}px`),this.style.setProperty("--usa-my",`${(o*t).toFixed(2)}px`)):a&&this.release()};this.listen(document,"pointermove",t=>{"mouse"!==t.pointerType&&"pen"!==t.pointerType||(s=t.clientX,i=t.clientY,this._frame||(this._frame=m(r)))},{passive:!0}),this.listen(document,"pointerleave",()=>this.release()),this.listen(window,"blur",()=>this.release())}release(){this.removeAttribute("data-active"),this.style.removeProperty("--usa-mx"),this.style.removeProperty("--usa-my")}unmount(){b(this._frame),this._frame=0,this.release()}},{id:"magnetic",text:"usa-magnetic{display:inline-block}usa-magnetic>*{transform:translate3d(var(--usa-mx,0px),var(--usa-my,0px),0);transition:transform 0.6s cubic-bezier(0.34,1.56,0.64,1)}usa-magnetic[data-active]>*{transition-duration:0.15s;transition-timing-function:ease-out}@media (prefers-reduced-motion:reduce){usa-magnetic>*,usa-tilt,usa-toggle .usa-toggle-knob{transition:none}}"})}function K(t="usa-tilt"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._glare=null}static get observedAttributes(){return["max","scale","perspective","glare","reverse","disabled"]}mount(){if(this.flag("glare")&&!this._glare?(this._glare=document.createElement("span"),this._glare.className="usa-tilt-glare",this._glare.setAttribute("aria-hidden","true"),this.append(this._glare)):!this.flag("glare")&&this._glare&&(this._glare.remove(),this._glare=null),this.reduced||this.flag("disabled"))return;const t=this.num("max",10)*(this.flag("reverse")?-1:1),e=this.num("scale",1.03),s=this.num("perspective",900);let i=.5,a=.5,r=null;const n=()=>{this._frame=0;const r=k(2*i-1,-1,1),n=k(2*a-1,-1,1);this.style.transform=`perspective(${s}px) rotateX(${(-n*t).toFixed(2)}deg) rotateY(${(r*t).toFixed(2)}deg) scale(${e})`,this.style.setProperty("--usa-tilt-x",r.toFixed(3)),this.style.setProperty("--usa-tilt-y",n.toFixed(3)),this.style.setProperty("--usa-glare-x",`${(100*i).toFixed(1)}%`),this.style.setProperty("--usa-glare-y",`${(100*a).toFixed(1)}%`)};this.listen(this,"pointerenter",t=>{"touch"!==t.pointerType&&(r=this.getBoundingClientRect(),this.setAttribute("data-active",""))}),this.listen(this,"pointermove",t=>{"touch"!==t.pointerType&&(r=r||this.getBoundingClientRect(),i=(t.clientX-r.left)/(r.width||1),a=(t.clientY-r.top)/(r.height||1),this._frame||(this._frame=m(n)))}),this.listen(this,"pointerleave",()=>this.reset())}reset(){b(this._frame),this._frame=0,this.removeAttribute("data-active"),this.style.transform="",this.style.setProperty("--usa-tilt-x","0"),this.style.setProperty("--usa-tilt-y","0")}unmount(){this.reset()}},{id:"tilt",text:"usa-tilt{display:block;position:relative;transform-style:preserve-3d;transition:transform 0.5s cubic-bezier(0.22,1,0.36,1);will-change:transform}usa-tilt[data-active]{transition-duration:0.12s}usa-tilt .usa-tilt-glare{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease;background:radial-gradient(circle at var(--usa-glare-x,50%) var(--usa-glare-y,50%),rgb(255 255 255 / 0.35),transparent 55%);mix-blend-mode:soft-light}usa-tilt[data-active] .usa-tilt-glare{opacity:1}"})}function Z(t="usa-spotlight"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["size","color","border"]}items(){const t=Array.from(this.querySelectorAll("[data-spotlight]")),e=t.length?t:Array.from(this.children);return e.forEach(t=>t.classList.add("usa-spotlight-item")),e}mount(){const t=this.getAttribute("size");t&&this.style.setProperty("--usa-spot-size",`${Number(t)}px`);const e=this.getAttribute("color");e&&this.style.setProperty("--usa-spot-color",e);const s=this.getAttribute("border");s&&this.style.setProperty("--usa-spot-border",`${Number(s)}px`);let i=this.items(),a=0,r=0;const n=()=>{this._frame=0;i.map(t=>t.getBoundingClientRect()).forEach((t,e)=>{i[e].style.setProperty("--usa-spot-x",`${(a-t.left).toFixed(1)}px`),i[e].style.setProperty("--usa-spot-y",`${(r-t.top).toFixed(1)}px`)})};this.listen(this,"pointerenter",t=>{"touch"!==t.pointerType&&(i=this.items(),this.setAttribute("data-lit",""))}),this.listen(this,"pointermove",t=>{"touch"!==t.pointerType&&(a=t.clientX,r=t.clientY,this.hasAttribute("data-lit")||this.setAttribute("data-lit",""),this._frame||(this._frame=m(n)))}),this.listen(this,"pointerleave",()=>this.removeAttribute("data-lit"))}unmount(){b(this._frame),this._frame=0,this.removeAttribute("data-lit")}},{id:"spotlight",text:'usa-spotlight{display:block;--usa-spot-size:160px;--usa-spot-color:rgb(255 255 255 / 0.55);--usa-spot-border:1px}usa-spotlight .usa-spotlight-item{position:relative;isolation:isolate}usa-spotlight .usa-spotlight-item::before,usa-spotlight .usa-spotlight-item::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.25s ease}usa-spotlight .usa-spotlight-item::before{padding:var(--usa-spot-border);background:radial-gradient(var(--usa-spot-size) circle at var(--usa-spot-x,-999px) var(--usa-spot-y,-999px),var(--usa-spot-color),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-spotlight .usa-spotlight-item::after{z-index:-1;background:radial-gradient(calc(var(--usa-spot-size) * 0.9) circle at var(--usa-spot-x,-999px) var(--usa-spot-y,-999px),color-mix(in srgb,var(--usa-spot-color) 30%,transparent),transparent 70%)}usa-spotlight[data-lit] .usa-spotlight-item::before{opacity:1}usa-spotlight[data-lit] .usa-spotlight-item:hover::after{opacity:1}usa-spotlight[no-fill] .usa-spotlight-item::after{display:none}'})}function J(t="usa-press"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null,this._down=!1}static get observedAttributes(){return["disabled"]}get pressed(){return this._down}frame(t){return this.reduced?{opacity:t?.7:1}:{transform:t?`scale(${this.num("scale",.95)})`:"scale(1)"}}down(){if(this._down||this.flag("disabled"))return;this._down=!0,this.setAttribute("data-pressed","");const t=this.currentFrame();this._anim?.cancel(),this._anim=this.motion(this,[t,this.frame(!0)],{duration:120,easing:"cubic-bezier(0.3, 0, 0.7, 1)",fill:"forwards"})}up(){if(!this._down)return;this._down=!1,this.removeAttribute("data-pressed");const t=this.currentFrame();this._anim?.cancel();const e=this.flag("bounce")&&!this.reduced?[t,{transform:"scale(1.06)",offset:.45},{transform:"scale(0.99)",offset:.75},this.frame(!1)]:[t,this.frame(!1)],s=this.motion(this,e,{duration:this.flag("bounce")?480:320,easing:v});this._anim=s,s&&(s.onfinish=()=>this._anim===s&&(this._anim=null))}currentFrame(){if("function"!=typeof getComputedStyle)return this.frame(!1);const t=getComputedStyle(this);return this.reduced?{opacity:t.opacity||"1"}:{transform:t.transform&&"none"!==t.transform?t.transform:"scale(1)"}}mount(){this.listen(this,"pointerdown",t=>{"mouse"===t.pointerType&&0!==t.button||this.down()});for(const t of["pointerup","pointerleave","pointercancel","blur"])this.listen(this,t,()=>this.up());this.listen(this,"keydown",t=>(" "===t.key||"Enter"===t.key)&&!t.repeat&&this.down()),this.listen(this,"keyup",t=>(" "===t.key||"Enter"===t.key)&&this.up())}unmount(){this._anim?.cancel(),this._anim=null,this._down=!1}},{id:"press",text:"usa-press{display:inline-block;touch-action:manipulation;-webkit-tap-highlight-color:transparent}usa-press[block]{display:block}"})}function Q(t="usa-toggle"){return d(t,t=>{var e;return(e=class extends t{static get observedAttributes(){return["checked","disabled","label"]}constructor(){super(),this._internals=null;try{this._internals="function"==typeof this.attachInternals?this.attachInternals():null}catch{this._internals=null}}get checked(){return this.hasAttribute("checked")}set checked(t){this.toggleAttribute("checked",!!t)}get disabled(){return this.hasAttribute("disabled")}set disabled(t){this.toggleAttribute("disabled",!!t)}changed(){this.sync()}sync(){this.setAttribute("aria-checked",String(this.checked)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0;const t=this.getAttribute("label");t&&!this.hasAttribute("aria-label")&&this.setAttribute("aria-label",t),this._internals?.setFormValue?.(this.checked?this.str("value","on"):null)}mount(){if(!this.querySelector(":scope > .usa-toggle-track")){const t=document.createElement("span");t.className="usa-toggle-track",t.setAttribute("aria-hidden","true");const e=document.createElement("span");e.className="usa-toggle-knob",t.append(e),this.prepend(t)}this.setAttribute("role","switch"),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),t.repeat||this.toggle())}),this.listen(this,"pointerdown",()=>!this.disabled&&this.setAttribute("data-pressed",""));for(const t of["pointerup","pointerleave","pointercancel"])this.listen(this,t,()=>this.removeAttribute("data-pressed"))}toggle(t){if(this.disabled)return;const e=void 0===t?!this.checked:t;e!==this.checked&&(this.checked=e,this.sync(),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{checked:e}))}}).formAssociated=!0,e},{id:"toggle",text:"usa-toggle{--usa-toggle-w:40px;--usa-toggle-h:20px;--usa-toggle-on:var(--usa-accent,#7c5cff);--usa-toggle-off:transparent;--usa-toggle-line:currentColor;display:inline-flex;align-items:center;gap:0.6em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-toggle[disabled]{cursor:not-allowed;opacity:0.45}usa-toggle .usa-toggle-track{position:relative;flex:none;width:var(--usa-toggle-w);height:var(--usa-toggle-h);border-radius:999px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--usa-toggle-line) 60%,transparent);background:var(--usa-toggle-off);transition:background-color 0.2s ease,border-color 0.2s ease}usa-toggle .usa-toggle-knob{position:absolute;top:50%;left:3px;width:calc(var(--usa-toggle-h) - 8px);height:calc(var(--usa-toggle-h) - 8px);margin-top:calc((var(--usa-toggle-h) - 8px) / -2);border-radius:999px;background:color-mix(in srgb,var(--usa-toggle-line) 75%,transparent);transform-origin:left center;transition:transform 0.28s cubic-bezier(0.34,1.4,0.64,1),background-color 0.2s ease}usa-toggle:hover .usa-toggle-knob{transform:scale(1.15)}usa-toggle[data-pressed] .usa-toggle-knob{transform:scaleX(1.45)}usa-toggle[checked] .usa-toggle-track{background:var(--usa-toggle-on);border-color:var(--usa-toggle-on)}usa-toggle[checked] .usa-toggle-knob{background:#fff;transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h)));transform-origin:right center}usa-toggle[checked]:hover .usa-toggle-knob{transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h))) scale(1.15)}usa-toggle[checked][data-pressed] .usa-toggle-knob{transform:translateX(calc(var(--usa-toggle-w) - var(--usa-toggle-h) - 4px)) scaleX(1.45)}usa-toggle:focus-visible{outline:none}usa-toggle:focus-visible .usa-toggle-track{outline:2px solid var(--usa-toggle-on);outline-offset:2px}"})}function tt(){W(),G(),K(),Z(),J(),Q()}const et=["fluent","windows","ring","dots","pulse","bars"];function st(t="usa-spinner"){return d(t,t=>class extends t{static get observedAttributes(){return["kind","size","label"]}get kind(){return w(this,et,"fluent")}set kind(t){this.setAttribute("kind",t)}mount(){const t=this.kind;this.getAttribute("data-kind")!==t&&(this.innerHTML=function(t){switch(t){case"windows":return"<i></i><i></i><i></i><i></i><i></i>";case"dots":return"<i></i><i></i><i></i>";case"bars":return"<i></i><i></i><i></i><i></i>";case"pulse":return"<i></i><i></i>";case"ring":return"<i></i>";default:return'<svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="7" pathLength="100"/></svg>'}}(t),this.setAttribute("data-kind",t));const e=this.getAttribute("size");e?this.style.setProperty("--usa-spinner-size",`${Number(e)}px`):this.style.removeProperty("--usa-spinner-size"),this.setAttribute("role","progressbar"),this.hasAttribute("aria-label")&&!this.hasAttribute("label")||this.setAttribute("aria-label",this.str("label","Loading"))}},{id:"spinner",text:'usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind="windows"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind="windows"] i::after{content:"";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind="windows"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind="windows"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind="windows"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind="windows"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind="ring"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind="dots"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind="dots"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind="dots"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind="dots"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind="pulse"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind="pulse"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind="bars"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind="bars"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind="bars"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind="bars"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind="bars"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind="windows"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}'})}function it(t="usa-skeleton"){return d(t,t=>class extends t{constructor(){super(...arguments),this._ph=null}static get observedAttributes(){return["loading","lines","width","height","circle","avatar","radius"]}get loading(){return this.hasAttribute("loading")}set loading(t){this.toggleAttribute("loading",!!t)}changed(t){"loading"===t?this.sync(!0):(this._ph?.remove(),this._ph=null,this.sync(!1))}mount(){this.sync(!1)}build(){const t=document.createElement("div");t.className="usa-skeleton-ph",t.setAttribute("aria-hidden","true");const e=(t="")=>{const e=document.createElement("span");return e.className=`usa-bone ${t}`.trim(),e},s=this.getAttribute("radius");if(s&&this.style.setProperty("--usa-skeleton-radius",s),this.flag("circle")||this.hasAttribute("width")||this.hasAttribute("height")){const s=e(this.flag("circle")?"usa-bone-circle":"usa-bone-block");s.style.width=this.str("width",this.flag("circle")?this.str("height","48px"):"100%"),s.style.height=this.str("height",this.flag("circle")?s.style.width:"120px"),t.append(s)}else{this.flag("avatar")&&t.append(e("usa-bone-circle usa-bone-avatar"));const s=document.createElement("div");s.className="usa-bone-lines";const i=Math.max(1,Math.min(20,this.num("lines",3)));for(let t=0;t<i;t++)s.append(e(t===i-1&&i>1?"usa-bone-last":""));t.append(s)}return t}sync(t){const e=this.loading;if(this.setAttribute("aria-busy",String(e)),e)this._ph||(this._ph=this.build(),this.prepend(this._ph));else{if(this._ph&&(this._ph.remove(),this._ph=null),t&&!this.reduced)for(const t of Array.from(this.children))this.motion(t,[{opacity:0,transform:"translateY(4px)"},{opacity:1,transform:"none"}],{duration:360,easing:y});this.emit("loaded")}}},{id:"skeleton",text:'usa-skeleton{display:block;--usa-skeleton-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skeleton-shine:color-mix(in srgb,currentColor 9%,transparent);--usa-skeleton-radius:8px}usa-skeleton[loading]>:not(.usa-skeleton-ph){display:none !important}usa-skeleton .usa-skeleton-ph{display:flex;gap:14px;align-items:flex-start}usa-skeleton .usa-bone-lines{flex:1;display:grid;gap:10px;min-width:0}usa-skeleton .usa-bone{position:relative;display:block;overflow:hidden;height:0.9em;border-radius:var(--usa-skeleton-radius);background:var(--usa-skeleton-base)}usa-skeleton .usa-bone-last{width:62%}usa-skeleton .usa-bone-block{height:120px}usa-skeleton .usa-bone-circle{border-radius:50%;flex:none}usa-skeleton .usa-bone-avatar{width:44px;height:44px}usa-skeleton .usa-bone::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--usa-skeleton-shine),transparent);animation:usa-skeleton 1.5s ease-in-out infinite}@keyframes usa-skeleton{to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){usa-skeleton .usa-bone::after{animation:none}}'})}function at(t="usa-progress"){return d(t,t=>class extends t{constructor(){super(...arguments),this._fill=null}static get observedAttributes(){return["value","max","indeterminate","label"]}get value(){const t=this.getAttribute("value");return null===t||""===t||Number.isNaN(Number(t))?null:Number(t)}set value(t){null==t?this.removeAttribute("value"):this.setAttribute("value",String(t))}get max(){const t=this.num("max",100);return t>0?t:100}set max(t){this.setAttribute("max",String(t))}get ratio(){const t=this.value;return this.hasAttribute("indeterminate")||null===t?null:k(t/this.max,0,1)}changed(){this.sync()}mount(){this._fill||(this.innerHTML='<span class="usa-progress-bar"></span><span class="usa-progress-bar usa-progress-bar2"></span>',this._fill=this.firstElementChild),this.setAttribute("role","progressbar"),this.sync()}sync(){const t=this.ratio,e=this.getAttribute("label");if(e&&this.setAttribute("aria-label",e),this.toggleAttribute("data-indeterminate",null===t),null===t)return this.removeAttribute("aria-valuenow"),void(this._fill&&(this._fill.style.transform=""));this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(this.max)),this.setAttribute("aria-valuenow",String(this.value)),this._fill&&(this._fill.style.transform=`scaleX(${t})`),1===t&&this.emit("complete")}},{id:"progress",text:'usa-progress{--usa-progress-color:var(--usa-accent,#7c5cff);--usa-progress-track:color-mix(in srgb,currentColor 14%,transparent);position:relative;display:block;height:var(--usa-progress-height,4px);border-radius:999px;overflow:hidden;background:var(--usa-progress-track);contain:paint}usa-progress .usa-progress-bar{position:absolute;inset:0;border-radius:inherit;background:var(--usa-progress-color);transform:scaleX(0);transform-origin:0 50%;transition:transform 0.45s cubic-bezier(0.22,1,0.36,1)}usa-progress .usa-progress-bar2{display:none}usa-progress[data-indeterminate] .usa-progress-bar{right:auto;width:40%;transform:translateX(-100%);transition:none;animation:usa-indet 2s cubic-bezier(0.4,0,0.6,1) infinite}usa-progress[data-indeterminate] .usa-progress-bar2{display:block;width:60%;animation:usa-indet2 2s cubic-bezier(0.4,0,0.6,1) 1s infinite}usa-progress[state="paused"]{--usa-progress-color:#c19c00}usa-progress[state="error"]{--usa-progress-color:#d13438}usa-progress[state="paused"] .usa-progress-bar,usa-progress[state="error"] .usa-progress-bar{animation-play-state:paused}@keyframes usa-indet{from{transform:translateX(-100%)}to{transform:translateX(250%)}}@keyframes usa-indet2{from{transform:translateX(-100%)}to{transform:translateX(167%)}}@media (prefers-reduced-motion:reduce){usa-progress .usa-progress-bar{transition:none}usa-progress[data-indeterminate] .usa-progress-bar{width:100%;transform:none;animation:usa-calm-bar 2.4s ease-in-out infinite}usa-progress[data-indeterminate] .usa-progress-bar2{display:none}}@keyframes usa-calm-bar{0%,100%{opacity:1}50%{opacity:0.4}}'})}const rt={info:'<path d="M12 8h.01M11 12h1v5h1"/>',success:'<path d="m8 12.5 3 3 5-6"/>',warning:'<path d="M12 8v5M12 16.5h.01"/>',error:'<path d="m9 9 6 6M15 9l-6 6"/>'};function nt(t="usa-toaster"){return d(t,t=>class extends t{static get observedAttributes(){return["label"]}mount(){this.setAttribute("role","region"),this.setAttribute("aria-label",this.str("label","Notifications"))}flip(t){const e=Array.from(this.children),s=new Map(e.map(t=>[t,t.getBoundingClientRect().top]));if(t(),!this.reduced)for(const t of Array.from(this.children)){const e=s.get(t);if(void 0===e||t.hasAttribute("data-leaving"))continue;const i=e-t.getBoundingClientRect().top;Math.abs(i)>.5&&this.motion(t,[{transform:`translateY(${i}px)`},{transform:"none"}],{duration:320,easing:y,composite:"add"})}}enterFrames(){if(this.reduced)return[{opacity:0},{opacity:1}];const t=this.str("position","bottom-right");return[{opacity:0,transform:`translate(${t.endsWith("right")?"110%":t.endsWith("left")?"-110%":"0"}, ${t.endsWith("center")?t.startsWith("top")?"-120%":"120%":"0"}) scale(0.96)`},{opacity:1,transform:"none"}]}show(t,e={}){const s=e.type||"info",i=document.createElement("div");i.className="usa-toast",i.setAttribute("data-type",s),i.setAttribute("role","error"===s?"alert":"status"),i.innerHTML=`<svg class="usa-toast-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/>${rt[s]||rt.info}</svg><div class="usa-toast-msg"></div>`,i.querySelector(".usa-toast-msg").textContent=t;let a=null,r=0;const n=()=>{if(a)return a;clearTimeout(r),i.setAttribute("data-leaving","");const t=this.enterFrames().reverse(),e=i.isConnected?this.motion(i,t,{duration:220,easing:"cubic-bezier(0.7, 0, 0.84, 0)",fill:"forwards"}):null;return a=new Promise(t=>{const s=()=>{this.flip(()=>i.remove()),t()};e?e.onfinish=s:s()}),a};if(e.action){const t=document.createElement("button");t.type="button",t.className="usa-toast-action",t.textContent=e.action.label,t.addEventListener("click",()=>{e.action.onClick(),n()}),i.append(t)}if(!1!==e.dismissible){const t=document.createElement("button");t.type="button",t.className="usa-toast-close",t.setAttribute("aria-label","Close"),t.innerHTML='<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m7 7 10 10M17 7 7 17"/></svg>',t.addEventListener("click",()=>n()),i.append(t)}const o=e.duration??4e3,u=()=>{clearTimeout(r),o>0&&(r=setTimeout(n,o))},l=()=>clearTimeout(r);i.addEventListener("pointerenter",l),i.addEventListener("pointerleave",u),i.addEventListener("focusin",l),i.addEventListener("focusout",u);const c=this.str("position","bottom-right").startsWith("top");this.flip(()=>c?this.prepend(i):this.append(i)),this.motion(i,this.enterFrames(),{duration:420,easing:x}),u();const h=Array.from(this.querySelectorAll(".usa-toast:not([data-leaving])")),d=Math.max(1,this.num("max",4)),p=h.length-d;return p>0&&(c?h.slice(-p):h.slice(0,p)).forEach(t=>t._close?.()),i._close=n,this.emit("toast",{element:i,message:t,type:s}),{element:i,close:n}}clear(){this.querySelectorAll(".usa-toast").forEach(t=>t._close?.())}},{id:"toast",text:'usa-toaster{position:fixed;z-index:2147483000;right:16px;bottom:16px;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}usa-toaster[position^="top"]{bottom:auto;top:16px}usa-toaster[position$="left"]{right:auto;left:16px}usa-toaster[position$="center"]{right:auto;left:50%;translate:-50% 0}usa-toaster .usa-toast{--usa-toast-accent:#0078d4;pointer-events:auto;display:flex;align-items:flex-start;gap:10px;padding:12px 12px 12px 14px;border-radius:10px;background:var(--usa-toast-bg,color-mix(in srgb,Canvas 92%,transparent));color:var(--usa-toast-fg,CanvasText);border:1px solid color-mix(in srgb,CanvasText 12%,transparent);border-left:3px solid var(--usa-toast-accent);box-shadow:0 8px 28px -8px rgb(0 0 0 / 0.35);font:inherit;font-size:14px;line-height:1.4;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4)}usa-toaster .usa-toast[data-type="success"]{--usa-toast-accent:#0f9d58}usa-toaster .usa-toast[data-type="warning"]{--usa-toast-accent:#c19c00}usa-toaster .usa-toast[data-type="error"]{--usa-toast-accent:#d13438}usa-toaster .usa-toast-icon{flex:none;width:20px;height:20px;fill:none;stroke:var(--usa-toast-accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}usa-toaster .usa-toast-msg{flex:1;min-width:0;padding-top:1px;overflow-wrap:anywhere}usa-toaster .usa-toast-action,usa-toaster .usa-toast-close{flex:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:6px;padding:2px 6px}usa-toaster .usa-toast-action{color:var(--usa-toast-accent);font-weight:600}usa-toaster .usa-toast-close{opacity:0.6;line-height:0;padding:3px}usa-toaster .usa-toast-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}usa-toaster .usa-toast-action:hover,usa-toaster .usa-toast-close:hover{background:color-mix(in srgb,currentColor 10%,transparent);opacity:1}'})}const ot={success:"M15 27 l7 7 l14 -15",error:"M18 18 L34 34 M34 18 L18 34",warning:"M26 15 V30 M26 37 V37.5"};function ut(t="usa-check"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anims=[]}static get observedAttributes(){return["kind","size","label"]}mount(){const t=w(this,ot,"success");this.innerHTML=`<svg viewBox="0 0 52 52" aria-hidden="true"><circle class="usa-check-circle" cx="26" cy="26" r="23" pathLength="1"/><path class="usa-check-mark" d="${ot[t]}" pathLength="1"/></svg>`,this.setAttribute("data-kind",t);const e=this.getAttribute("size");e&&this.style.setProperty("--usa-check-size",`${Number(e)}px`);const s=this.getAttribute("label");if(s&&(this.setAttribute("role","img"),this.setAttribute("aria-label",s)),this.reduced)return void this.setAttribute("data-state","done");this.setAttribute("data-state","idle");const i=this.str("start","view");if("load"===i)this.play();else if("view"===i){let t=!1;this.inView(e=>e&&!t&&(t=!0,this.play()),{threshold:.5})}}unmount(){this._anims.splice(0).forEach(t=>t.cancel())}reset(){this._anims.splice(0).forEach(t=>t.cancel()),this.setAttribute("data-state",this.reduced?"done":"idle")}play(){this.reset(),this.setAttribute("data-state","done");const t=this.querySelector(".usa-check-circle"),e=this.querySelector(".usa-check-mark"),s=this.querySelector("svg");if(this.reduced||!t||!e||!s)return this.emit("complete"),Promise.resolve();const i=[{strokeDashoffset:1},{strokeDashoffset:0}],a=[this.motion(t,i,{duration:520,easing:y,fill:"backwards"}),this.motion(e,i,{duration:340,delay:420,easing:y,fill:"backwards"}),this.motion(s,[{transform:"scale(1)"},{transform:"scale(1.12)"},{transform:"scale(1)"}],{duration:420,delay:640,easing:v})].filter(t=>!!t);return this._anims=a,new Promise(t=>{const e=a[a.length-1],s=()=>{this.emit("complete"),t()};e?e.onfinish=s:s()})}},{id:"check",text:'usa-check{--usa-check-size:56px;--usa-check-color:#0f9d58;display:inline-block;width:var(--usa-check-size);height:var(--usa-check-size);vertical-align:middle}usa-check[data-kind="error"]{--usa-check-color:#d13438}usa-check[data-kind="warning"]{--usa-check-color:#c19c00}usa-check svg{width:100%;height:100%;overflow:visible}usa-check circle,usa-check path{fill:none;stroke:var(--usa-check-color);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1}usa-check[data-state="idle"] circle,usa-check[data-state="idle"] path{stroke-dashoffset:1}usa-check[data-state="done"] circle,usa-check[data-state="done"] path{stroke-dashoffset:0}'})}function lt(){st(),it(),at(),nt(),ut()}function ct(t="usa-aurora"){return d(t,t=>class extends t{constructor(){super(...arguments),this._layer=null}static get observedAttributes(){return["colors","speed","intensity"]}mount(){this._layer||(this._layer=document.createElement("div"),this._layer.className="usa-aurora-layer",this._layer.setAttribute("aria-hidden","true"),this._layer.innerHTML="<i></i><i></i><i></i><i></i>",this.prepend(this._layer));const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#34d399").split(",").map(t=>t.trim()).filter(Boolean);Array.from(this._layer.children).forEach((e,s)=>{e.style.setProperty("--c",t[s%t.length])});const e=this.num("speed",1);this.style.setProperty("--usa-aurora-speed",`${(18/Math.max(.05,e)).toFixed(2)}s`),this.style.setProperty("--usa-aurora-opacity",String(this.num("intensity",.7))),this.inView(t=>this.toggleAttribute("data-offscreen",!t))}},{id:"aurora",text:"usa-aurora{position:relative;display:block;isolation:isolate;overflow:hidden}usa-aurora .usa-aurora-layer{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-aurora-opacity,0.7);overflow:hidden;contain:strict}usa-aurora .usa-aurora-layer i{position:absolute;display:block;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--c),transparent);will-change:transform;animation:usa-aurora-a var(--usa-aurora-speed,18s) ease-in-out infinite alternate}usa-aurora .usa-aurora-layer i:nth-child(1){left:-15%;top:-30%}usa-aurora .usa-aurora-layer i:nth-child(2){right:-20%;top:-10%;animation-name:usa-aurora-b;animation-duration:calc(var(--usa-aurora-speed,18s) * 1.3)}usa-aurora .usa-aurora-layer i:nth-child(3){left:10%;bottom:-45%;animation-name:usa-aurora-c;animation-duration:calc(var(--usa-aurora-speed,18s) * 0.9)}usa-aurora .usa-aurora-layer i:nth-child(4){right:0;bottom:-30%;width:50%;animation-name:usa-aurora-b;animation-direction:alternate-reverse}usa-aurora[paused] .usa-aurora-layer i,usa-aurora[data-offscreen] .usa-aurora-layer i{animation-play-state:paused}@keyframes usa-aurora-a{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(30%,20%,0) scale(1.25)}}@keyframes usa-aurora-b{from{transform:translate3d(0,0,0) scale(1.1)}to{transform:translate3d(-35%,25%,0) scale(0.85)}}@keyframes usa-aurora-c{from{transform:translate3d(0,0,0) rotate(0deg) scale(1)}to{transform:translate3d(25%,-30%,0) rotate(40deg) scale(1.2)}}@media (prefers-reduced-motion:reduce){usa-aurora .usa-aurora-layer i,usa-grain .usa-grain-layer,usa-acrylic::after{animation:none !important}}"})}function ht(t="usa-particles"){return d(t,t=>class extends t{constructor(){super(...arguments),this._canvas=null,this._ctx=null,this._ps=[],this._frame=0,this._w=0,this._h=0,this._visible=!1,this._mx=-1e4,this._color="#888",this._my=-1e4}static get observedAttributes(){return["count","color","size","speed","links","interactive","paused"]}mount(){if(this._canvas||(this._canvas=document.createElement("canvas"),this._canvas.setAttribute("aria-hidden","true"),this.prepend(this._canvas)),this._ctx=this._canvas.getContext?.("2d")??null,this._ctx){if(this.resize(),"undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>{this.resize(),this._frame||this.draw()});t.observe(this),this.onCleanup(()=>t.disconnect())}this.inView(t=>{this._visible=t,this.loop()}),this.listen(document,"visibilitychange",()=>this.loop()),this.flag("interactive")&&this.listen(window,"pointermove",t=>{const e=this.getBoundingClientRect();this._mx=t.clientX-e.left,this._my=t.clientY-e.top},{passive:!0}),this.draw()}}unmount(){b(this._frame),this._frame=0}reset(){this._ps=[],this.resize(),this.draw()}resize(){const t=this._canvas;if(!t||!this._ctx)return;const e=this.clientWidth||300,s=this.clientHeight||150,i=Math.min(2,"number"==typeof devicePixelRatio&&devicePixelRatio||1);t.width=Math.round(e*i),t.height=Math.round(s*i),this._ctx.setTransform(i,0,0,i,0,0),this._w=e,this._h=s,this._color=this.getAttribute("color")||("function"==typeof getComputedStyle?getComputedStyle(this).color:"")||"#888";const a=Math.round(Math.min(1,e*s/45e4)*Math.max(1,this.num("count",60)))||1,r=this.num("speed",.35),n=this.num("size",2.2);for(;this._ps.length<a;){const t=Math.random()*Math.PI*2,i=r*(.3+.7*Math.random());this._ps.push({x:Math.random()*e,y:Math.random()*s,vx:Math.cos(t)*i,vy:Math.sin(t)*i,r:.6+Math.random()*(n-.6)})}this._ps.length=a}loop(){const t=this._visible&&!this.reduced&&!this.flag("paused")&&!("undefined"!=typeof document&&document.hidden);if(t&&!this._frame){const t=()=>{this.step(),this.draw(),this._frame=m(t)};this._frame=m(t)}else!t&&this._frame&&(b(this._frame),this._frame=0)}step(){const{_w:t,_h:e}=this;for(const s of this._ps){const i=s.x-this._mx,a=s.y-this._my,r=i*i+a*a;if(r<8100&&r>.01){const t=.6*(1-Math.sqrt(r)/90);s.x+=i/Math.sqrt(r)*t,s.y+=a/Math.sqrt(r)*t}s.x+=s.vx,s.y+=s.vy,s.x<-5?s.x=t+5:s.x>t+5&&(s.x=-5),s.y<-5?s.y=e+5:s.y>e+5&&(s.y=-5)}}draw(){const t=this._ctx;if(!t)return;const e=this._color;t.clearRect(0,0,this._w,this._h),t.fillStyle=e,t.strokeStyle=e;const s=this._ps,i=this.num("links",110);if(i>0){const e=i*i;t.lineWidth=.6;for(let i=0;i<s.length;i++)for(let a=i+1;a<s.length;a++){const r=s[i].x-s[a].x,n=s[i].y-s[a].y,o=r*r+n*n;o<e&&(t.globalAlpha=.35*(1-o/e),t.beginPath(),t.moveTo(s[i].x,s[i].y),t.lineTo(s[a].x,s[a].y),t.stroke())}}t.globalAlpha=.85;for(const e of s)t.beginPath(),t.arc(e.x,e.y,e.r,0,2*Math.PI),t.fill();t.globalAlpha=1}},{id:"particles",text:"usa-particles{position:relative;display:block;min-height:120px;overflow:hidden}usa-particles>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}"})}function dt(t="usa-grain"){return d(t,t=>class extends t{constructor(){super(...arguments),this._layer=null}static get observedAttributes(){return["opacity","blend","scale"]}mount(){this._layer||(this._layer=document.createElement("div"),this._layer.className="usa-grain-layer",this._layer.setAttribute("aria-hidden","true"),this.append(this._layer));const t=this._layer.style;t.backgroundImage=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='${.8}' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.6 -0.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`,t.backgroundSize=`${this.num("scale",180)}px`,t.opacity=String(this.num("opacity",.12)),t.mixBlendMode=this.str("blend","overlay")}},{id:"grain",text:"usa-grain{position:relative;display:block;isolation:isolate;overflow:hidden}usa-grain .usa-grain-layer{position:absolute;inset:-100%;z-index:1;pointer-events:none}usa-grain[animated] .usa-grain-layer{animation:usa-grain 0.8s steps(10) infinite}@keyframes usa-grain{0%,100%{transform:translate(0,0)}10%{transform:translate(-5%,-8%)}20%{transform:translate(-12%,4%)}30%{transform:translate(6%,-16%)}40%{transform:translate(-4%,18%)}50%{transform:translate(-12%,8%)}60%{transform:translate(14%,0)}70%{transform:translate(0,12%)}80%{transform:translate(3%,25%)}90%{transform:translate(-8%,8%)}}"})}function pt(t="usa-marquee"){return d(t,t=>class extends t{constructor(){super(...arguments),this._track=null,this._anim=null,this._hover=!1,this._visible=!0,this._size=0}static get observedAttributes(){return["speed","direction","gap","paused"]}get vertical(){const t=this.str("direction","left");return"up"===t||"down"===t}mount(){if(!this._track){const t=document.createElement("div");t.className="usa-marquee-track";const e=document.createElement("div");e.className="usa-marquee-group",e.append(...Array.from(this.childNodes)),t.append(e),this.append(t),this._track=t}if(this.toggleAttribute("data-vertical",this.vertical),this.style.setProperty("--usa-marquee-gap",`${this.num("gap",32)}px`),this.reduced)return this.setAttribute("data-static",""),void this.syncClones(1);if(this.removeAttribute("data-static"),this.build(),"undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>this.build());t.observe(this._track.firstElementChild),this.onCleanup(()=>t.disconnect())}this.inView(t=>{this._visible=t,this.sync()}),this.listen(this,"pointerenter",()=>(this._hover=!0,this.sync())),this.listen(this,"pointerleave",()=>(this._hover=!1,this.sync())),this.listen(this,"focusin",()=>(this._hover=!0,this.sync())),this.listen(this,"focusout",()=>(this._hover=!1,this.sync()))}unmount(){this._anim?.cancel(),this._anim=null,this._size=0}syncClones(t){const e=this._track,s=e.firstElementChild;for(;e.children.length>t;)e.lastElementChild.remove();for(;e.children.length<t;){const t=s.cloneNode(!0);t.setAttribute("aria-hidden","true"),t.setAttribute("inert",""),e.append(t)}}build(){const t=this._track,e=t.firstElementChild,s=this.vertical,i=this.num("gap",32),a=s?e.offsetHeight:e.offsetWidth;if(!a)return;const r=a+i;if(this._anim&&this._size===r)return;this._size=r;const n=(s?this.clientHeight:this.clientWidth)||r;this.syncClones(Math.min(50,Math.max(2,Math.ceil(n/r)+1)));const o=this._anim?.effect?.getComputedTiming().progress??0;this._anim?.cancel();const u=s?"Y":"X",l=["right","down"].includes(this.str("direction","left")),c=[{transform:`translate${u}(0)`},{transform:`translate${u}(${-r}px)`}];this._anim=this.motion(t,l?c.reverse():c,{duration:Math.max(1,r)/Math.max(1,this.num("speed",50))*1e3,iterations:1/0}),this._anim&&o&&(this._anim.currentTime=o*Number(this._anim.effect?.getTiming().duration||0)),this.sync()}sync(){const t=this._anim;if(!t)return;const e=this.flag("paused")||!this._visible||this._hover&&this.flag("pause-on-hover");e&&"running"===t.playState?t.pause():e||"paused"!==t.playState||t.play()}pause(){this.setAttribute("paused","")}resume(){this.removeAttribute("paused")}changed(t){"paused"===t?this.sync():super.changed(t)}},{id:"marquee",text:"usa-marquee{--usa-marquee-gap:32px;display:block;overflow:hidden;contain:content}usa-marquee[fade]{-webkit-mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}usa-marquee[fade][data-vertical]{-webkit-mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent)}usa-marquee .usa-marquee-track{display:flex;width:max-content;gap:var(--usa-marquee-gap);will-change:transform}usa-marquee .usa-marquee-group{display:flex;flex:none;align-items:center;gap:var(--usa-marquee-gap)}usa-marquee[data-vertical] .usa-marquee-track,usa-marquee[data-vertical] .usa-marquee-group{flex-direction:column;width:auto}usa-marquee[data-vertical]{height:var(--usa-marquee-height,240px)}usa-marquee[data-static]{overflow:auto;scrollbar-width:thin}"})}function ft(t="usa-acrylic"){return d(t,t=>class extends t{static get observedAttributes(){return["tint","tint-opacity","blur","shimmer"]}mount(){const t=this.getAttribute("tint");t?this.style.setProperty("--usa-acrylic-tint",t):this.style.removeProperty("--usa-acrylic-tint"),this.style.setProperty("--usa-acrylic-opacity",`${Math.round(100*this.num("tint-opacity",.55))}%`),this.style.setProperty("--usa-acrylic-blur",`${this.num("blur",30)}px`),"load"!==this.str("shimmer")||this.reduced||(this.removeAttribute("data-shine"),this.offsetWidth,this.setAttribute("data-shine",""))}},{id:"acrylic",text:"usa-acrylic{--usa-acrylic-tint:#f3f3f3;--usa-acrylic-opacity:55%;--usa-acrylic-blur:30px;position:relative;display:block;isolation:isolate;overflow:hidden;background-color:color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent);-webkit-backdrop-filter:blur(var(--usa-acrylic-blur)) saturate(1.6);backdrop-filter:blur(var(--usa-acrylic-blur)) saturate(1.6);border:1px solid color-mix(in srgb,#fff 22%,transparent)}@media (prefers-color-scheme:dark){usa-acrylic{--usa-acrylic-tint:#2c2c2c}}usa-acrylic::before{content:\"\";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0.035;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")}usa-acrylic::after{content:\"\";position:absolute;inset:0;z-index:1;pointer-events:none;transform:translateX(-120%);background:linear-gradient(105deg,transparent 30%,rgb(255 255 255 / 0.28) 50%,transparent 70%)}usa-acrylic[shimmer=\"hover\"]:hover::after,usa-acrylic[data-shine]::after{animation:usa-acrylic-shine 1.1s cubic-bezier(0.22,1,0.36,1) both}@keyframes usa-acrylic-shine{from{transform:translateX(-120%)}to{transform:translateX(120%)}}usa-acrylic[kind=\"mica\"]{--usa-acrylic-opacity:80%;-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent),color-mix(in srgb,var(--usa-acrylic-tint) var(--usa-acrylic-opacity),transparent)),var(--usa-mica-source,linear-gradient(135deg,#b8c6ff,#ffd6e8));border-color:transparent}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){usa-acrylic{background-color:var(--usa-acrylic-tint)}}@media (prefers-reduced-transparency:reduce){usa-acrylic{background:var(--usa-acrylic-tint);-webkit-backdrop-filter:none;backdrop-filter:none}}@media (forced-colors:active){usa-acrylic{background:Canvas;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:CanvasText}usa-acrylic::before,usa-acrylic::after{display:none}}"})}var mt='usa-grid-glow,usa-blobs,usa-water-ripple,usa-dot-network{position:relative;display:block;isolation:isolate;overflow:hidden}usa-grid-glow{--usa-grid:32px;--usa-grid-r:220px;--usa-grid-color:var(--usa-accent,#7c5cff);--usa-grid-x:50%;--usa-grid-y:50%}usa-grid-glow::before,usa-grid-glow::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(to right,var(--l) 1px,transparent 1px),linear-gradient(to bottom,var(--l) 1px,transparent 1px);background-size:var(--usa-grid) var(--usa-grid)}usa-grid-glow::before{--l:color-mix(in srgb,currentColor 9%,transparent)}usa-grid-glow::after{--l:var(--usa-grid-color);-webkit-mask:radial-gradient(var(--usa-grid-r) circle at var(--usa-grid-x) var(--usa-grid-y),#000,transparent 70%);mask:radial-gradient(var(--usa-grid-r) circle at var(--usa-grid-x) var(--usa-grid-y),#000,transparent 70%)}usa-blobs .usa-blobs-layer{position:absolute;inset:-20%;z-index:-1;filter:blur(var(--usa-blobs-blur,60px)) saturate(1.3);pointer-events:none}usa-blobs .usa-blobs-layer i{position:absolute;width:45%;aspect-ratio:1;border-radius:42% 58% 60% 40% / 45% 45% 55% 55%;background:var(--c);opacity:0.75;left:calc(10% + var(--i) * 18%);top:calc(10% + var(--i) * 14%);animation:usa-blob calc(14s / var(--usa-blobs-speed,1)) ease-in-out infinite alternate;animation-delay:calc(var(--i) * -3.5s)}@keyframes usa-blob{0%{transform:translate(0,0) rotate(0) scale(1);border-radius:42% 58% 60% 40% / 45% 45% 55% 55%}50%{transform:translate(18%,-12%) rotate(120deg) scale(1.15);border-radius:60% 40% 35% 65% / 55% 60% 40% 45%}100%{transform:translate(-14%,14%) rotate(240deg) scale(0.9);border-radius:38% 62% 55% 45% / 62% 38% 62% 38%}}usa-water-ripple .usa-bg-canvas{position:absolute;inset:0;z-index:1;pointer-events:none;mix-blend-mode:screen}usa-dot-network .usa-bg-canvas{position:absolute;inset:0;z-index:-1;pointer-events:none}@media (prefers-reduced-motion:reduce){usa-blobs .usa-blobs-layer i{animation:none}}';function gt(t,e,s){const i=document.createElement("canvas");i.className="usa-bg-canvas",i.setAttribute("aria-hidden","true"),t.prepend(i),t.onCleanup(()=>i.remove());const a=i.getContext?.("2d");if(!a)return;const r=Math.min(2,"undefined"!=typeof window&&window.devicePixelRatio||1);let n=0,o=0;const u=()=>{const e=t.getBoundingClientRect();n=Math.max(1,e.width||300),o=Math.max(1,e.height||150),i.width=n*r,i.height=o*r,a.setTransform(r,0,0,r,0,0)};u();const l="undefined"!=typeof ResizeObserver?new ResizeObserver(u):null;l?.observe(t),t.onCleanup(()=>l?.disconnect());let c=0,h=!1;const d=t=>{document.hidden||e(a,n,o,t),c=m(d)};s?e(a,n,o,0):(t.inView(t=>{t&&!h?(h=!0,c=m(d)):!t&&h&&(h=!1,b(c))}),t.onCleanup(()=>b(c)))}function bt(t="usa-grid-glow"){return d(t,t=>class extends t{mount(){if(this.style.setProperty("--usa-grid",`${this.num("size",32)}px`),this.style.setProperty("--usa-grid-r",`${this.num("radius",220)}px`),this.str("color")&&this.style.setProperty("--usa-grid-color",this.str("color")),this.reduced)return;let t=0,e=0,s=0;this.listen(this,"pointermove",i=>{const a=this.getBoundingClientRect();e=i.clientX-a.left,s=i.clientY-a.top,t||(t=m(()=>{t=0,this.style.setProperty("--usa-grid-x",`${e}px`),this.style.setProperty("--usa-grid-y",`${s}px`)}))}),this.onCleanup(()=>b(t))}},{id:"bg-fx",text:mt})}function yt(t="usa-blobs"){return d(t,t=>class extends t{mount(){this.querySelector(":scope > .usa-blobs-layer")?.remove();const t=this.str("colors","#7c5cff,#22d3ee,#f472b6,#34d399").split(","),e=document.createElement("div");e.className="usa-blobs-layer",e.setAttribute("aria-hidden","true"),e.innerHTML=t.map((t,e)=>`<i style="--c:${t.trim()};--i:${e}"></i>`).join(""),this.prepend(e),this.style.setProperty("--usa-blobs-speed",String(this.num("speed",1))),this.style.setProperty("--usa-blobs-blur",`${this.num("blur",60)}px`)}},{id:"bg-fx",text:mt})}function vt(t="usa-water-ripple"){return d(t,t=>class extends t{constructor(){super(...arguments),this._drop=null}drop(t,e,s=1){this._drop?.(t,e,s)}mount(){if(this.reduced)return;let t=0,e=0,s=new Float32Array(0),i=new Float32Array(0);const a=this.num("damping",.96),r=this.str("color","255,255,255");this._drop=(i,a,r=1)=>{const n=Math.floor(i/4),o=Math.floor(a/4);n<1||o<1||n>=t-1||o>=e-1||(s[o*t+n]+=256*r*this.num("strength",1))},gt(this,(n,o,u)=>{const l=Math.ceil(o/4),c=Math.ceil(u/4);l===t&&c===e||(t=l,e=c,s=new Float32Array(t*e),i=new Float32Array(t*e)),n.clearRect(0,0,o,u);for(let o=1;o<e-1;o++)for(let e=1;e<t-1;e++){const u=o*t+e,l=((s[u-1]+s[u+1]+s[u-t]+s[u+t])/2-i[u])*a;i[u]=l,(l>2||l<-2)&&(n.fillStyle=`rgba(${r},${Math.min(.5,Math.abs(l)/300).toFixed(3)})`,n.fillRect(4*e,4*o,4,4))}const h=s;s=i,i=h},!1),this.listen(this,"pointermove",t=>{const e=this.getBoundingClientRect();this.drop(t.clientX-e.left,t.clientY-e.top,.35)}),this.listen(this,"pointerdown",t=>{const e=this.getBoundingClientRect();this.drop(t.clientX-e.left,t.clientY-e.top,1.5)})}},{id:"bg-fx",text:mt})}function xt(t="usa-dot-network"){return d(t,t=>class extends t{mount(){const t=Math.max(8,this.num("gap",28)),e=this.num("radius",140),s=this.str("color","124,92,255");let i=-1e4,a=-1e4;this.listen(this,"pointermove",t=>{const e=this.getBoundingClientRect();i=t.clientX-e.left,a=t.clientY-e.top}),this.listen(this,"pointerleave",()=>i=a=-1e4),gt(this,(r,n,o)=>{r.clearRect(0,0,n,o);const u=[];for(let l=t/2;l<o;l+=t)for(let o=t/2;o<n;o+=t){const t=Math.hypot(o-i,l-a),n=t<e?1-t/e:0,c=n?(o-i)/(t||1)*n*8:0,h=n?(l-a)/(t||1)*n*8:0;r.fillStyle=`rgba(${s},${(.25+.75*n).toFixed(3)})`,r.beginPath(),r.arc(o+c,l+h,1.2+2.2*n,0,2*Math.PI),r.fill(),n>.2&&u.push([o+c,l+h,n])}r.lineWidth=1;for(const[t,e,n]of u)r.strokeStyle=`rgba(${s},${(.5*n).toFixed(3)})`,r.beginPath(),r.moveTo(t,e),r.lineTo(i,a),r.stroke()},this.reduced)}},{id:"bg-fx",text:mt})}function wt(){l("variants",':root{--usa-accent:#7c5cff;--usa-accent-text:#fff;--usa-surface:#1b1e27;--usa-text:inherit;--usa-radius:14px;--usa-border:1px solid rgb(127 127 127 / 0.25);--usa-shadow:0 10px 30px -12px rgb(0 0 0 / 0.45);--usa-blur:0px;--usa-font:inherit}:where([variant="minimal"],[data-usa-variant="minimal"]){--usa-accent:currentColor;--usa-accent-text:Canvas;--usa-surface:transparent;--usa-radius:6px;--usa-border:1px solid color-mix(in srgb,currentColor 22%,transparent);--usa-shadow:none;--usa-blur:0px}:where([variant="neon"],[data-usa-variant="neon"]){--usa-accent:#00f0ff;--usa-accent-text:#04121a;--usa-surface:#0a0b14;--usa-text:#e6fbff;--usa-radius:10px;--usa-border:1px solid #00f0ff;--usa-shadow:0 0 6px #00f0ff,0 0 22px rgb(0 240 255 / 0.45);--usa-blur:0px}:where([variant="glass"],[data-usa-variant="glass"]){--usa-accent:#a78bfa;--usa-accent-text:#fff;--usa-surface:rgb(255 255 255 / 0.12);--usa-radius:18px;--usa-border:1px solid rgb(255 255 255 / 0.28);--usa-shadow:0 12px 40px -12px rgb(0 0 0 / 0.35);--usa-blur:16px}:where([variant="brutalist"],[data-usa-variant="brutalist"]){--usa-accent:#ff3d00;--usa-accent-text:#000;--usa-surface:#fff;--usa-text:#000;--usa-radius:0px;--usa-border:3px solid #000;--usa-shadow:5px 5px 0 #000;--usa-blur:0px;--usa-font:ui-monospace,"SFMono-Regular",Menlo,monospace}:where([variant="fluent"],[data-usa-variant="fluent"]){--usa-accent:#0067c0;--usa-accent-text:#fff;--usa-surface:rgb(249 249 249 / 0.82);--usa-text:#1a1a1a;--usa-radius:8px;--usa-border:1px solid rgb(0 0 0 / 0.08);--usa-shadow:0 2px 4px rgb(0 0 0 / 0.14),0 0 2px rgb(0 0 0 / 0.12);--usa-blur:30px;--usa-font:"Segoe UI Variable","Segoe UI",system-ui,sans-serif}:where([variant="material"],[data-usa-variant="material"]){--usa-accent:#6750a4;--usa-accent-text:#fff;--usa-surface:#fffbfe;--usa-text:#1c1b1f;--usa-radius:20px;--usa-border:0 solid transparent;--usa-shadow:0 1px 3px rgb(0 0 0 / 0.3),0 4px 8px 3px rgb(0 0 0 / 0.15);--usa-blur:0px;--usa-font:Roboto,system-ui,sans-serif}@media (prefers-color-scheme:dark){:where([variant="fluent"],[data-usa-variant="fluent"]){--usa-accent:#4cc2ff;--usa-accent-text:#000;--usa-surface:rgb(44 44 44 / 0.8);--usa-text:#fff;--usa-border:1px solid rgb(255 255 255 / 0.08)}:where([variant="material"],[data-usa-variant="material"]){--usa-accent:#d0bcff;--usa-accent-text:#381e72;--usa-surface:#1c1b1f;--usa-text:#e6e1e5}}.usa-surface{background:var(--usa-surface);color:var(--usa-text);border:var(--usa-border);border-radius:var(--usa-radius);box-shadow:var(--usa-shadow);font-family:var(--usa-font);-webkit-backdrop-filter:blur(var(--usa-blur));backdrop-filter:blur(var(--usa-blur))}@media (prefers-reduced-transparency:reduce){.usa-surface{-webkit-backdrop-filter:none;backdrop-filter:none}}')}function kt(t,e=("undefined"!=typeof document?document.documentElement:null)){e&&(wt(),t?e.setAttribute("data-usa-variant",t):e.removeAttribute("data-usa-variant"))}function _t(){ct(),ht(),dt(),pt(),ft(),bt(),yt(),vt(),xt()}const At={modal:"scale(0.94)","drawer-start":"translateX(-100%)","drawer-end":"translateX(100%)","drawer-bottom":"translateY(100%)",sheet:"translateY(40px)"};function Mt(t="usa-dialog"){return d(t,t=>class extends t{constructor(){super(...arguments),this._dialog=null,this._panel=null,this._backdrop=null,this._busy=null,this._syncing=!1,this.returnValue=""}static get observedAttributes(){return["open","kind","label"]}get dialog(){return this._dialog}get open(){return this.hasAttribute("open")}set open(t){this.toggleAttribute("open",!!t)}get kind(){return w(this,At,"modal")}changed(t){if("open"===t){if(this._syncing)return;this.open?this.show():this.close()}else this.syncAttrs()}syncAttrs(){if(!this._dialog)return;this._dialog.setAttribute("data-kind",this.kind),this._dialog.setAttribute("aria-modal","true");const t=this.getAttribute("label");t&&this._dialog.setAttribute("aria-label",t)}mount(){if(!this._dialog){const t=this.shadowRoot||this.attachShadow({mode:"open"});t.innerHTML='<dialog part="dialog"><div part="backdrop" aria-hidden="true"></div><div part="panel"><slot></slot></div></dialog>',function(t,e){try{if("function"==typeof CSSStyleSheet&&"adoptedStyleSheets"in t){const s=new CSSStyleSheet;return s.replaceSync(e),void(t.adoptedStyleSheets=[s])}}catch{}const s=document.createElement("style");s.textContent=e,t.prepend(s)}(t,':host{display:contents}dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow:hidden}dialog:not([open]){display:none}dialog::backdrop{background:transparent}[part="backdrop"]{position:absolute;inset:0;background:var(--usa-dialog-backdrop,rgb(0 0 0 / 0.42))}[part="panel"]{position:absolute;left:50%;top:50%;translate:-50% -50%;box-sizing:border-box;width:min(var(--usa-dialog-width,480px),calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:var(--usa-dialog-padding,24px);border-radius:var(--usa-dialog-radius,12px);background:var(--usa-dialog-bg,Canvas);color:var(--usa-dialog-fg,CanvasText);box-shadow:0 32px 64px -12px rgb(0 0 0 / 0.45),0 0 0 1px rgb(127 127 127 / 0.18)}dialog[data-kind^="drawer"] [part="panel"]{top:0;bottom:0;translate:none;max-height:none;height:100%;border-radius:0;width:min(var(--usa-dialog-width,380px),88vw)}dialog[data-kind="drawer-start"] [part="panel"]{left:0}dialog[data-kind="drawer-end"] [part="panel"]{left:auto;right:0}dialog[data-kind="drawer-bottom"] [part="panel"],dialog[data-kind="sheet"] [part="panel"]{top:auto;bottom:0;left:0;right:0;translate:none;width:100%;height:auto;max-height:85vh;border-radius:var(--usa-dialog-radius,16px) var(--usa-dialog-radius,16px) 0 0}dialog[data-kind="sheet"] [part="panel"]{left:50%;translate:-50% 0;width:min(var(--usa-dialog-width,560px),100vw)}'),this._dialog=t.querySelector("dialog"),this._backdrop=t.querySelector("[part=backdrop]"),this._panel=t.querySelector("[part=panel]")}this.syncAttrs();const t=this._dialog;this.listen(t,"cancel",t=>{t.preventDefault(),this.flag("no-esc")||this.close("cancel")}),this.listen(this._backdrop,"click",()=>!this.flag("no-backdrop-close")&&this.close("backdrop")),this.listen(this,"click",t=>{const e=t.target.closest?.("[data-close]");e&&this.contains(e)&&this.close(e.getAttribute("data-close")||"close")}),this.open&&!t.open&&this.show()}unmount(){this._dialog?.open&&this._dialog.close()}setOpenAttr(t){this._syncing=!0,this.toggleAttribute("open",t),this._syncing=!1}async show(){await this._busy;const t=this._dialog;if(t){if(!t.open){this.setOpenAttr(!0);try{"function"==typeof t.showModal?t.showModal():t.setAttribute("open","")}catch{t.setAttribute("open","")}this.emit("open"),this.reduced?await this.animate2([{opacity:0},{opacity:1}],[{opacity:0},{opacity:1}],160,y):await this.animate2([{opacity:0,transform:At[this.kind]},{opacity:1,transform:"none"}],[{opacity:0},{opacity:1}],"modal"===this.kind?260:360,x)}}else this.setOpenAttr(!0)}async close(t=""){await this._busy;const e=this._dialog;e&&e.open?this.emit("beforeclose",{returnValue:t})?(this.returnValue=t,this._busy=(async()=>{const s=this.reduced?{opacity:0}:{opacity:0,transform:At[this.kind]},i=this.reduced?{opacity:1}:{opacity:1,transform:"none"};await this.animate2([i,s],[{opacity:1},{opacity:0}],this.reduced?120:200,"cubic-bezier(0.7, 0, 0.84, 0)","forwards");try{"function"==typeof e.close?e.close(t):e.removeAttribute("open")}catch{e.removeAttribute("open")}e.removeAttribute("open"),this._panel?.getAnimations?.().forEach(t=>t.cancel()),this._backdrop?.getAnimations?.().forEach(t=>t.cancel()),this.setOpenAttr(!1),this.emit("close",{returnValue:t})})(),await this._busy,this._busy=null):this.setOpenAttr(!0):this.setOpenAttr(!1)}animate2(t,e,s,i,a="none"){const r=this._panel?this.motion(this._panel,t,{duration:s,easing:i,fill:a}):null,n=this._backdrop?this.motion(this._backdrop,e,{duration:s,easing:"linear",fill:a}):null;return Promise.all([r?.finished,n?.finished].map(t=>t?.catch(()=>{}))).then(()=>{})}},{id:"dialog",text:"usa-dialog{display:contents}usa-dialog:not(:defined){display:none}"})}function Ct(t="usa-accordion"){return d(t,t=>class extends t{constructor(){super(...arguments),this._running=new WeakMap}static get observedAttributes(){return[]}get items(){return Array.from(this.children).filter(t=>"DETAILS"===t.tagName)}mount(){this.listen(this,"click",t=>{const e=t.target.closest?.("summary"),s=e?.parentElement;e&&s&&"DETAILS"===s.tagName&&s.parentElement===this&&(t.preventDefault(),this.toggleItem(s))})}closedHeight(t){const e=t.querySelector(":scope > summary"),s="function"==typeof getComputedStyle?getComputedStyle(t):null,i=s?["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].reduce((t,e)=>t+(parseFloat(s[e])||0),0):0;return(e?e.getBoundingClientRect().height:0)+i}async toggleItem(t,e=!t.open||t.hasAttribute("data-closing")){e&&!this.flag("multiple")&&this.items.forEach(e=>e!==t&&e.open&&this.toggleItem(e,!1)),this._running.get(t)?.cancel(),this._running.delete(t);const s=this.reduced?0:this.num("duration",300),i=t.getBoundingClientRect().height;if(e&&(t.removeAttribute("data-closing"),t.open=!0),this.emit("toggle",{details:t,open:e}),!s||"function"!=typeof t.animate)return void(e||(t.open=!1));const a=e?t.getBoundingClientRect().height:this.closedHeight(t);e||t.setAttribute("data-closing",""),t.style.overflow="hidden";const r=t.animate([{height:`${i}px`},{height:`${a}px`}],{duration:s,easing:y});this._running.set(t,r),await r.finished.catch(()=>{}),this._running.get(t)===r&&(this._running.delete(t),t.style.overflow="",e||(t.open=!1,t.removeAttribute("data-closing")))}},{id:"accordion",text:'usa-accordion{display:block}usa-accordion>details>summary{cursor:pointer}usa-accordion>details>summary::-webkit-details-marker{display:none}usa-accordion>details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1em}usa-accordion>details>summary::after{content:"";flex:none;width:0.5em;height:0.5em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-25%) rotate(45deg);transition:transform 0.3s cubic-bezier(0.22,1,0.36,1);opacity:0.7}usa-accordion>details[open]:not([data-closing])>summary::after{transform:translateY(25%) rotate(-135deg)}@media (prefers-reduced-motion:reduce){usa-accordion>details>summary::after{transition:none}}'})}function Et(t="usa-flip-list"){return d(t,t=>class extends t{constructor(){super(...arguments),this._pos=new WeakMap,this._manual=!1}static get observedAttributes(){return[]}snapshot(){const t=this.getBoundingClientRect();for(const e of Array.from(this.children)){const s=e.getBoundingClientRect();this._pos.set(e,{x:s.left-t.left,y:s.top-t.top})}}mount(){if(this.snapshot(),"undefined"!=typeof MutationObserver){const t=new MutationObserver(()=>{this._manual||this.animateFrom(this._pos)});t.observe(this,{childList:!0}),this.onCleanup(()=>t.disconnect())}if("undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>this.snapshot());t.observe(this),this.onCleanup(()=>t.disconnect())}}animateFrom(t){const e=this.reduced||this.flag("disabled"),s=this.getBoundingClientRect(),i=Array.from(this.children),a=i.map(t=>{const e=t.getBoundingClientRect();return{x:e.left-s.left,y:e.top-s.top}}),r=[],n=this.num("duration",420),o=this.str("easing",x);return i.forEach((s,i)=>{const u=t.get(s);if(this._pos.set(s,a[i]),e||"function"!=typeof s.animate)return;if(!u)return void r.push(s.animate([{opacity:0,transform:"scale(0.92)"},{opacity:1,transform:"none"}],{duration:n,easing:o}).finished.catch(()=>0));const l=u.x-a[i].x,c=u.y-a[i].y;Math.abs(l)<.5&&Math.abs(c)<.5||r.push(s.animate([{transform:`translate(${l}px, ${c}px)`},{transform:"none"}],{duration:n,easing:o,composite:"add"}).finished.catch(()=>0))}),Promise.all(r).then(()=>{})}async flip(t){this.snapshot();const e=this._pos;this._pos=new WeakMap;for(const t of Array.from(this.children)){const s=e.get(t);s&&this._pos.set(t,s)}this._manual=!0;try{await t()}finally{this._manual=!1}await this.animateFrom(e)}},{id:"flip-list",text:"usa-flip-list{display:block}"})}function St(t="usa-view-switch"){return d(t,t=>class extends t{constructor(){super(...arguments),this._index=-1,this._anims=[]}static get observedAttributes(){return["active"]}get views(){return Array.from(this.children)}get active(){return this.str("active","0")}set active(t){this.setAttribute("active",String(t))}indexOf(t){const e=this.views,s=e.findIndex(e=>e.dataset.view===String(t));if(s>=0)return s;const i=Number(t);return Number.isInteger(i)&&i>=0&&i<e.length?i:-1}changed(){this.show(this.active)}mount(){const t=Math.max(0,this.indexOf(this.active));this._index=t,this.views.forEach((e,s)=>this.setVisible(e,s===t))}setVisible(t,e){t.hidden=!e,t.toggleAttribute("inert",!e),t.toggleAttribute("data-active",e)}async show(t){const e=this.indexOf(t),s=this._index;if(e<0||e===s)return;const i=this.views,a=i[s],r=i[e];this._index=e;const n=r.dataset.view??String(e);if(this.active!==n&&this.active!==String(e)&&this.setAttribute("active",n),this._anims.splice(0).forEach(t=>t.finish()),this.setVisible(r,!0),this.emit("change",{view:r,index:e,name:n}),!a)return;const o=this.num("duration",320),u=e>s?1:-1;let l,c;switch(this.reduced?"fade":this.str("effect","slide")){case"fade":l={opacity:0},c={opacity:0};break;case"scale":l={opacity:0,transform:"scale(0.96)"},c={opacity:0,transform:"scale(1.04)"};break;case"drill":l={opacity:0,transform:`scale(${u>0?1.06:.94})`},c={opacity:0,transform:`scale(${u>0?.94:1.06})`};break;default:l={opacity:0,transform:`translateX(${32*-u}px)`},c={opacity:0,transform:`translateX(${48*u}px)`}}const h=t=>"transform"in t?{opacity:1,transform:"none"}:{opacity:1};a.setAttribute("data-leaving","");const d=this.motion(a,[h(l),l],{duration:.6*o,easing:y,fill:"forwards"}),p=this.motion(r,[c,h(c)],{duration:o,delay:.15*o,easing:x,fill:"backwards"});this._anims=[d,p].filter(t=>!!t),await Promise.all(this._anims.map(t=>t.finished.catch(()=>{}))),a.removeAttribute("data-leaving"),this._index!==s&&this.setVisible(a,!1),d?.cancel()}},{id:"view-switch",text:"usa-view-switch{display:grid}usa-view-switch>*{grid-area:1 / 1;min-width:0}usa-view-switch>[hidden]:not([data-leaving]){display:none !important}usa-view-switch>[data-leaving]{display:block;pointer-events:none}"})}const zt=t=>t instanceof Element?Array.from(t.children):Array.from(t);function $t(){Mt(),Ct(),Et(),St()}const Pt={default:{stiffness:170,damping:26,mass:1},gentle:{stiffness:120,damping:14,mass:1},wobbly:{stiffness:180,damping:12,mass:1},stiff:{stiffness:210,damping:20,mass:1},bouncy:{stiffness:300,damping:10,mass:1},slow:{stiffness:280,damping:60,mass:1},molasses:{stiffness:280,damping:120,mass:1}};function Tt(t){const e="string"==typeof t?Pt[t]||Pt.default:{...Pt.default,...t||{}},s=(t,e)=>"number"==typeof t&&Number.isFinite(t)&&t>0?t:e,i="object"==typeof t&&t||{};return{stiffness:s(e.stiffness,170),damping:Math.max(0,Number.isFinite(e.damping)?e.damping:26),mass:s(e.mass,1),velocity:Number.isFinite(i.velocity)?i.velocity:0,precision:s(i.precision,.001)}}function Lt(t,e,s,i,a){const r=s+(-t.stiffness*(e-i)-t.damping*s)/t.mass*a;return[e+r*a,r]}const Nt=new Map;function Ft(t,e=60){const s=Tt(t),i=`${s.stiffness}|${s.damping}|${s.mass}|${s.velocity}|${s.precision}|${e}`,a=Nt.get(i);if(a)return a;const r=[0];let n=0,o=s.velocity;const u=1e3/e;let l=0,c=u;for(;l<1e4&&([n,o]=Lt(s,n,o,1,.001),l+=1,!(l>=c&&(r.push(n),c+=u,Math.abs(1-n)<s.precision&&Math.abs(o)<10*s.precision))););r[r.length-1]=1;const h={values:r,duration:Math.round(l)};return Nt.size>64&&Nt.clear(),Nt.set(i,h),h}function Rt(){return"undefined"!=typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("animation-timing-function","linear(0, 1)")}function It(t,e=48){const{values:s,duration:i}=Ft(t);return Rt()?{easing:qt(s,e),duration:i}:{easing:v,duration:Math.min(i,1200)}}function qt(t,e=48){const s=t.length,i=Math.max(1,Math.ceil((s-1)/Math.max(2,e-1))),a=[];for(let e=0;e<s-1;e+=i)a.push(String(Math.round(1e3*t[e])/1e3));return a.push("1"),`linear(${a.join(", ")})`}function Bt(t={}){let e=Tt(t.spring),s=t.value??0,i=0,a=s,r=0,n=0,u=!1;const l=()=>{u&&b(r),u=!1},c=()=>{const o=g();let l=Math.min(64,Math.max(1,o-n));for(n=o;l>0;){const t=Math.min(l,4);[s,i]=Lt(e,s,i,a,t/1e3),l-=t}const h=Math.max(1,5e-4*Math.abs(a));if(Math.abs(a-s)<e.precision*h*10&&Math.abs(i)<e.precision*h*100)return s=a,i=0,u=!1,t.onUpdate?.(s,0),void t.onRest?.(s);t.onUpdate?.(s,i),r=m(c)},h={get value(){return s},get velocity(){return i},get target(){return a},get animating(){return u},set(e,s){if(a=e,void 0!==s&&Number.isFinite(s)&&(i=s),o())return h.jump(e),void t.onRest?.(e);u||(u=!0,n=g(),r=m(c))},jump(e){l(),s=a=e,i=0,t.onUpdate?.(s,0)},stop(){l(),i=0,a=s},configure(t){e=Tt(t)}};return h}function Xt(t,e,s=.325){return t+e*s}function Yt(t,e){return Array.isArray(e)?e.length?e.reduce((e,s)=>Math.abs(s-t)<Math.abs(e-t)?s:e,e[0]):t:"number"==typeof e&&e>0?Math.round(t/e)*e:t}function Ot(t,e,s=.55){if(e<=0)return 0;return(t<0?-1:1)*(1-1/(Math.abs(t)*s/e+1))*e}const Dt=new Set(["bounce-in","pop","drop"]);function Ht(t,e=!1){if(e)return Dt.has(t)?[{opacity:0},{opacity:1}]:[{opacity:1},{opacity:1}];switch(t){case"pop":return[{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"}];case"drop":return[{opacity:0,transform:"translate3d(0, -120%, 0)"},{opacity:1,transform:"translate3d(0, 0, 0)"}];case"jelly":return[{transform:"scale3d(1, 1, 1)"},{transform:"scale3d(1.25, 0.75, 1)",offset:.3},{transform:"scale3d(0.75, 1.25, 1)",offset:.4},{transform:"scale3d(1.15, 0.85, 1)",offset:.5},{transform:"scale3d(0.95, 1.05, 1)",offset:.65},{transform:"scale3d(1.05, 0.95, 1)",offset:.75},{transform:"scale3d(1, 1, 1)"}];case"rubber-band":return[{transform:"scale3d(1, 1, 1)"},{transform:"scale3d(1.3, 0.7, 1)",offset:.3},{transform:"scale3d(0.8, 1.2, 1)",offset:.45},{transform:"scale3d(1.1, 0.9, 1)",offset:.6},{transform:"scale3d(0.97, 1.03, 1)",offset:.8},{transform:"scale3d(1, 1, 1)"}];default:return[{opacity:0,transform:"scale(0.3)"},{opacity:1,transform:"scale(1)"}]}}const jt={"bounce-in":"bouncy",pop:"wobbly",drop:"bouncy"};function Vt(t="usa-spring"){return d(t,t=>class extends t{constructor(){super(...arguments),this._anim=null}static get observedAttributes(){return["effect","trigger","repeat"]}get effect(){return this.str("effect","bounce-in")}set effect(t){this.setAttribute("effect",t)}config(){return this.hasAttribute("stiffness")||this.hasAttribute("damping")||this.hasAttribute("mass")?{stiffness:this.num("stiffness",170),damping:this.num("damping",26),mass:this.num("mass",1)}:this.str("preset",jt[this.effect]||"wobbly")}mount(){const t=this.str("trigger","view"),e=Dt.has(this.effect);"view"===t?(e&&this.setAttribute("data-state","hidden"),this.inView(t=>{t?this.play():this.flag("repeat")&&e&&this.reset()},{threshold:.15})):("hover"===t&&this.listen(this,"pointerenter",()=>this.play()),"click"===t&&(this.listen(this,"click",()=>this.play()),this.listen(this,"keydown",t=>("Enter"===t.key||" "===t.key)&&!t.repeat&&this.play())))}unmount(){this._anim?.cancel(),this._anim=null}reset(){this._anim?.cancel(),this._anim=null,Dt.has(this.effect)&&this.setAttribute("data-state","hidden")}async play(){const t=this.effect,e=this.reduced;this._anim?.cancel(),this.setAttribute("data-state","playing");const s=Ht(t,e),i=Dt.has(t)&&!e?It(this.config()):{duration:e?250:this.num("duration",900),easing:"ease-out"},a=this.motion(this,s,{...i,delay:this.num("delay",0),fill:"backwards"});if(this._anim=a,a){try{await a.finished}catch{return}if(this._anim!==a)return}this._anim=null,this.setAttribute("data-state","done"),this.emit("complete",{effect:t})}},{id:"spring",text:'usa-spring{display:inline-block;transform-origin:50% 70%}usa-spring[block]{display:block}usa-spring[effect="drop"]{transform-origin:50% 100%}usa-spring[data-state="hidden"]{opacity:0}usa-spring[trigger="click"],usa-spring[trigger="hover"]{cursor:pointer;-webkit-tap-highlight-color:transparent}'})}const Ut=t=>{if(!t.trim())return null;const e=t.split(",").map(t=>Number(t.trim())).filter(t=>Number.isFinite(t));return e.length?t.includes(",")?e:e[0]:null};function Wt(t="usa-draggable"){return d(t,t=>class extends t{constructor(){super(...arguments),this._x=0,this._y=0,this._drag=null}static get observedAttributes(){return["axis","disabled","preset"]}get x(){return this._x}get y(){return this._y}get dragging(){return!!this._drag}render(){this.style.transform=`translate3d(${this._x}px, ${this._y}px, 0)`,this.style.setProperty("--usa-drag-x",`${this._x}px`),this.style.setProperty("--usa-drag-y",`${this._y}px`)}axis(){return this.str("axis","both")}limits(){if("parent"!==this.str("bounds")||!this.parentElement)return null;const t=this.parentElement.getBoundingClientRect(),e=this.getBoundingClientRect(),s=e.left-this._x,i=e.top-this._y;return{minX:t.left-s,maxX:t.right-s-e.width,minY:t.top-i,maxY:t.bottom-i-e.height}}mount(){let t=0;const e=()=>{++t>=2&&(t=0,this.removeAttribute("data-moving"),this.emit("settle",{x:this._x,y:this._y}))},s=this.str("preset","wobbly");this._sx=Bt({value:this._x,spring:s,onUpdate:t=>(this._x=t,this.render()),onRest:e}),this._sy=Bt({value:this._y,spring:s,onUpdate:t=>(this._y=t,this.render()),onRest:e}),this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("aria-roledescription","draggable"),this.listen(this,"pointerdown",t=>this.start(t)),this.listen(this,"pointermove",t=>this.move(t)),this.listen(this,"pointerup",t=>this.end(t)),this.listen(this,"pointercancel",t=>this.end(t)),this.listen(this,"keydown",t=>this.key(t)),this.render()}unmount(){this._sx?.stop(),this._sy?.stop(),this._drag=null}start(t){if(!(this.flag("disabled")||"mouse"===t.pointerType&&0!==t.button)){this._sx.stop(),this._sy.stop(),this._drag={id:t.pointerId,px:t.clientX,py:t.clientY,ox:this._x,oy:this._y,samples:[[t.clientX,t.clientY,"number"==typeof t.timeStamp?t.timeStamp:Date.now()]]};try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging",""),this.emit("drag-start",{x:this._x,y:this._y})}}move(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;const s=this.axis();let i="y"===s?e.ox:e.ox+t.clientX-e.px,a="x"===s?e.oy:e.oy+t.clientY-e.py;const r=this.limits();if(r){const t=(t,e,s,i)=>t<e?e+Ot(t-e,i):t>s?s+Ot(t-s,i):t;i=t(i,r.minX,r.maxX,200),a=t(a,r.minY,r.maxY,200)}this._x=i,this._y=a,e.samples.push([t.clientX,t.clientY,"number"==typeof t.timeStamp?t.timeStamp:Date.now()]),e.samples.length>6&&e.samples.shift(),this.render(),this.emit("drag",{x:i,y:a})}velocity(){const t=this._drag?.samples||[];if(t.length<2)return[0,0];const e=t[0],s=t[t.length-1],i=(s[2]-e[2])/1e3;return i<=0||i>.3?[0,0]:[(s[0]-e[0])/i,(s[1]-e[1])/i]}end(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;let[s,i]=this.velocity();const a=this.axis();"y"===a&&(s=0),"x"===a&&(i=0),this._drag=null,this.removeAttribute("data-dragging");let r=this._x,n=this._y;this.flag("spring-back")?(r=0,n=0):(this.flag("inertia")&&!this.reduced&&(r=Xt(r,s),n=Xt(n,i)),[r,n]=this.constrain(r,n)),this.emit("drag-end",{x:r,y:n,vx:s,vy:i}),this.go(r,n,s,i)}constrain(t,e){const s=Ut(this.str("snap"));let i=Yt(t,s),a=Yt(e,s);const r=this.limits();r&&(i=k(i,r.minX,Math.max(r.minX,r.maxX)),a=k(a,r.minY,Math.max(r.minY,r.maxY)));const n=this.axis();return["y"===n?0:i,"x"===n?0:a]}go(t,e,s=0,i=0){this.setAttribute("data-moving",""),this._sx.set(t,s),this._sy.set(e,i)}key(t){if(this.flag("disabled"))return;const e=this.num("step",16),s=Ut(this.str("snap")),i="number"==typeof s?s:e,a={ArrowLeft:[-i,0],ArrowRight:[i,0],ArrowUp:[0,-i],ArrowDown:[0,i]};if("Home"===t.key||"Escape"===t.key)return t.preventDefault(),void this.reset();const r=a[t.key];if(!r)return;t.preventDefault();const[n,o]=this.flag("spring-back")?[this._sx.target+r[0],this._sy.target+r[1]]:this.constrain(this._sx.target+r[0],this._sy.target+r[1]);this.go(n,o)}moveTo(t,e,s=!0){if(!s)return this._sx.jump(t),void this._sy.jump(e);this.go(t,e)}reset(){this.go(0,0)}},{id:"draggable",text:'usa-draggable{display:inline-block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;will-change:transform;-webkit-tap-highlight-color:transparent}usa-draggable[axis="x"]{touch-action:pan-y}usa-draggable[axis="y"]{touch-action:pan-x}usa-draggable[block]{display:block}usa-draggable[data-dragging]{cursor:grabbing}usa-draggable[disabled]{cursor:default}usa-draggable:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}'})}function Gt(t="usa-overscroll"){return d(t,t=>class extends t{constructor(){super(...arguments),this._off=0}static get observedAttributes(){return["axis","disabled"]}get offset(){return this._off}set(t){this._off=t,this.style.setProperty("--usa-overscroll",`${t}px`),this.toggleAttribute("data-stretched",Math.abs(t)>.5)}edge(t){const e="x"===this.str("axis","y"),s=e?this.scrollLeft:this.scrollTop,i=(e?this.scrollWidth-this.clientWidth:this.scrollHeight-this.clientHeight)-1;return t<0&&s<=0||t>0&&s>=i}stretch(t){const e=this.num("max",120);this.set(Math.max(-e,Math.min(e,Ot(t,2.5*e))))}mount(){this._spring=Bt({spring:this.str("preset","default"),onUpdate:t=>this.set(t)});const t="x"===this.str("axis","y"),e=()=>this.flag("disabled")||this.reduced;let s,i=0;this.listen(this,"wheel",a=>{const r=t&&a.deltaX||a.deltaY;!e()&&r&&this.edge(r)&&(this._spring.stop(),i-=r,this.stretch(i),clearTimeout(s),s=setTimeout(()=>{i=0,this._spring.jump(this._off),this._spring.set(0)},140))},{passive:!0}),this.onCleanup(()=>clearTimeout(s));let a=0,r=!1;this.listen(this,"touchstart",s=>{if(e())return;const i=s.touches[0];a=t?i.clientX:i.clientY,r=!1,this._spring.stop()},{passive:!0}),this.listen(this,"touchmove",s=>{if(e())return;const i=s.touches[0],n=(t?i.clientX:i.clientY)-a;!r&&0!==n&&this.edge(-n)&&(r=!0),r&&(s.cancelable&&s.preventDefault(),this.stretch(n))},{passive:!1});const n=()=>{r&&(r=!1,this._spring.jump(this._off),this._spring.set(0))};this.listen(this,"touchend",n),this.listen(this,"touchcancel",n)}unmount(){this._spring?.stop(),this.set(0)}},{id:"overscroll",text:'usa-overscroll{display:block;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}usa-overscroll[axis="x"]{overflow-y:hidden}usa-overscroll>*{transform:translate3d(0,var(--usa-overscroll,0px),0)}usa-overscroll[axis="x"]>*{transform:translate3d(var(--usa-overscroll,0px),0,0)}usa-overscroll[data-stretched]>*{will-change:transform}'})}function Kt(){Vt(),Wt(),Gt()}const Zt=new Set(["holo","border-glow","spotlight","parallax-layers","lift"]);function Jt(t="usa-card"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._spacer=null,this._backdrop=null,this._busy=!1}static get observedAttributes(){return["effect","trigger","disabled"]}get effects(){return this.str("effect","lift").split(/[\s,]+/).filter(Boolean)}has(t){return this.effects.includes(t)}get flipped(){return this.flag("flipped")}set flipped(t){this.setFlag("flipped",t)}get expanded(){return this.flag("expanded")}mount(){if(this.flag("disabled"))return;const t=this.str("color");if(t&&this.style.setProperty("--usa-card-glow",t),this.has("sheen")&&!this.querySelector(":scope > .usa-card-sheen")&&this.append(Qt("usa-card-sheen")),this.has("holo")&&!this.querySelector(":scope > .usa-card-holo")&&this.append(Qt("usa-card-holo")),this.has("flip")){"click"===this.str("trigger","hover")&&(this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("role",this.getAttribute("role")||"button"),this.setAttribute("aria-pressed",String(this.flipped)),this.listen(this,"click",t=>!te(t.target,this)&&this.flip()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.target!==this||(t.preventDefault(),this.flip())})),this.setBackHidden()}if(this.has("expand")&&(this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("aria-expanded",String(this.expanded)),this.listen(this,"click",t=>{const e=t.target;e.closest?.("[data-close]")?(t.stopPropagation(),this.collapse()):this.expanded||te(e,this)||this.expand()}),this.listen(this,"keydown",t=>{"Escape"===t.key&&this.expanded?this.collapse():"Enter"!==t.key&&" "!==t.key||t.target!==this||this.expanded||(t.preventDefault(),this.expand())})),!this.effects.some(t=>Zt.has(t))||this.reduced)return;let e=null,s=.5,i=.5;const a=()=>{this._frame=0;const t=k(2*s-1,-1,1),e=k(2*i-1,-1,1);if(this.style.setProperty("--usa-card-x",`${(100*s).toFixed(1)}%`),this.style.setProperty("--usa-card-y",`${(100*i).toFixed(1)}%`),this.style.setProperty("--usa-card-nx",t.toFixed(3)),this.style.setProperty("--usa-card-ny",e.toFixed(3)),this.has("parallax-layers")){const s=this.num("depth",16);this.querySelectorAll("[data-depth]").forEach(i=>{const a=Number(i.dataset.depth)||.5;i.style.transform=`translate3d(${(t*s*a).toFixed(1)}px, ${(e*s*a).toFixed(1)}px, 0)`})}};this.listen(this,"pointerenter",()=>{e=this.getBoundingClientRect(),this.setAttribute("data-hover","")}),this.listen(this,"pointermove",t=>{this.expanded||(e=e||this.getBoundingClientRect(),s=(t.clientX-e.left)/(e.width||1),i=(t.clientY-e.top)/(e.height||1),this._frame||(this._frame=m(a)))}),this.listen(this,"pointerleave",()=>{e=null,s=i=.5,this.removeAttribute("data-hover"),this._frame||(this._frame=m(a))})}unmount(){b(this._frame),this._frame=0,this.expanded&&this.finishCollapse()}setBackHidden(){const t=this.querySelector(":scope > [data-front]"),e=this.querySelector(":scope > [data-back]");t?.setAttribute("aria-hidden",String(this.flipped)),e?.setAttribute("aria-hidden",String(!this.flipped))}flip(t){const e=void 0===t?!this.flipped:t;e!==this.flipped&&(this.flipped=e,this.hasAttribute("aria-pressed")&&this.setAttribute("aria-pressed",String(e)),this.setBackHidden(),this.emit("flip",{flipped:e}))}async expand(){if(this.expanded||this._busy)return;this._busy=!0;const t=this.getBoundingClientRect(),e=document.createElement("div");e.className="usa-card-spacer",e.style.cssText=`width:${t.width}px;height:${t.height}px`,e.setAttribute("aria-hidden","true"),this.before(e),this._spacer=e;const s=document.createElement("div");s.className="usa-card-backdrop",s.addEventListener("click",()=>this.collapse()),this.before(s),this._backdrop=s,this.setFlag("expanded",!0),this.setAttribute("aria-expanded","true"),this.emit("expand");const i=this.getBoundingClientRect();await this.flipFrom(t,i),this.motion(s,[{opacity:0},{opacity:1}],{duration:250,easing:"ease-out"}),this.focus({preventScroll:!0}),this._busy=!1}async collapse(){if(!this.expanded||this._busy)return;this._busy=!0;const t=this.getBoundingClientRect(),e=this._backdrop;e&&this.motion(e,[{opacity:1},{opacity:0}],{duration:200,easing:"ease-in",fill:"forwards"}),this.finishCollapse(),this.emit("collapse");const s=this.getBoundingClientRect();await this.flipFrom(t,s),this._busy=!1}finishCollapse(){this.setFlag("expanded",!1),this.setAttribute("aria-expanded","false"),this._spacer?.remove(),this._backdrop?.remove(),this._spacer=this._backdrop=null}async flipFrom(t,e){if(this.reduced){const t=this.motion(this,[{opacity:.4},{opacity:1}],{duration:200});return void await(t?.finished.catch(()=>{}))}const s=t.width/(e.width||1),i=t.height/(e.height||1),a=t.left-e.left,r=t.top-e.top,{easing:n,duration:o}=It("stiff"),u=this.motion(this,[{transformOrigin:"0 0",transform:`translate(${a}px, ${r}px) scale(${s}, ${i})`},{transformOrigin:"0 0",transform:"none"}],{duration:Math.min(o,900),easing:n||y});await(u?.finished.catch(()=>{}))}},{id:"card",text:'usa-card{--usa-card-radius:18px;--usa-card-bg:var(--usa-surface,#1b1e27);--usa-card-glow:var(--usa-accent,#7c5cff);--usa-card-x:50%;--usa-card-y:50%;--usa-card-nx:0;--usa-card-ny:0;position:relative;display:block;border-radius:var(--usa-card-radius);isolation:isolate;-webkit-tap-highlight-color:transparent}usa-card:focus-visible{outline:2px solid var(--usa-card-glow);outline-offset:3px}usa-card[effect~="lift"]{transition:transform 0.45s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.45s ease}usa-card[effect~="lift"][data-hover],usa-card[effect~="lift"]:focus-visible{transform:translateY(-6px) perspective(900px) rotateX(calc(var(--usa-card-ny) * -4deg)) rotateY(calc(var(--usa-card-nx) * 4deg));box-shadow:0 22px 44px -18px rgb(0 0 0 / 0.55)}usa-card[effect~="glass"]{background:color-mix(in srgb,var(--usa-card-bg) 45%,transparent);border:1px solid rgb(255 255 255 / 0.16);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5)}usa-card[effect~="spotlight"]::before,usa-card[effect~="border-glow"]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-card[effect~="spotlight"]::before{z-index:-1;background:radial-gradient(260px circle at var(--usa-card-x) var(--usa-card-y),color-mix(in srgb,var(--usa-card-glow) 28%,transparent),transparent 70%)}usa-card[effect~="border-glow"]::after{padding:1.5px;background:radial-gradient(180px circle at var(--usa-card-x) var(--usa-card-y),var(--usa-card-glow),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}usa-card[data-hover]::before,usa-card[data-hover]::after{opacity:1}@property --usa-card-angle{syntax:"<angle>";inherits:false;initial-value:0deg}usa-card[effect~="conic-border"]{border:2px solid transparent;background:linear-gradient(var(--usa-card-bg),var(--usa-card-bg)) padding-box,conic-gradient(from var(--usa-card-angle),var(--usa-card-glow),#22d3ee,#f472b6,var(--usa-card-glow)) border-box;animation:usa-card-spin 4s linear infinite}@keyframes usa-card-spin{to{--usa-card-angle:360deg}}usa-card .usa-card-sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}usa-card .usa-card-sheen::before{content:"";position:absolute;top:0;bottom:0;width:45%;left:-60%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgb(255 255 255 / 0.35),transparent)}usa-card[effect~="sheen"]:hover .usa-card-sheen::before,usa-card[effect~="sheen"]:focus-visible .usa-card-sheen::before{left:130%;transition:left 0.8s cubic-bezier(0.22,1,0.36,1)}usa-card .usa-card-holo{position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:color-dodge;opacity:0.35;background:linear-gradient(115deg,transparent 20%,#ff7ad9 35%,#7af0ff 45%,#ffe27a 55%,transparent 70%) calc(var(--usa-card-x) * 1.4 - 20%) calc(var(--usa-card-y) * 1.4 - 20%) / 220% 220%;transition:opacity 0.3s ease}usa-card[data-hover] .usa-card-holo{opacity:0.7}usa-card[effect~="parallax-layers"] [data-depth]{transition:transform 0.25s ease-out;will-change:transform}usa-card[effect~="flip"]{perspective:1000px;display:grid}usa-card[effect~="flip"]>[data-front],usa-card[effect~="flip"]>[data-back]{grid-area:1 / 1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:inherit;transition:transform 0.7s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease}usa-card[effect~="flip"]>[data-back]{transform:rotateY(180deg)}usa-card[effect~="flip"][axis="x"]>[data-back]{transform:rotateX(180deg)}usa-card[effect~="flip"][flipped]>[data-front],usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-front]{transform:rotateY(-180deg)}usa-card[effect~="flip"][flipped]>[data-back],usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-back]{transform:rotateY(0deg)}usa-card[effect~="flip"][axis="x"][flipped]>[data-front],usa-card[effect~="flip"][axis="x"]:not([trigger="click"]):hover>[data-front]{transform:rotateX(180deg)}usa-card[effect~="flip"][axis="x"][flipped]>[data-back],usa-card[effect~="flip"][axis="x"]:not([trigger="click"]):hover>[data-back]{transform:rotateX(0deg)}usa-card[effect~="flip"][trigger="click"]{cursor:pointer}usa-card[effect~="expand"]{cursor:zoom-in}usa-card[effect~="expand"]:not([expanded]) [data-detail]{display:none}usa-card[expanded]{position:fixed;inset:6vh max(4vw,calc(50vw - 420px));z-index:1000;overflow:auto;cursor:default;background:var(--usa-card-bg);box-shadow:0 30px 80px -20px rgb(0 0 0 / 0.6)}.usa-card-backdrop{position:fixed;inset:0;z-index:999;background:rgb(0 0 0 / 0.45)}@media (prefers-reduced-motion:reduce){usa-card,usa-card *,usa-card .usa-card-sheen::before{transition-duration:0.01ms !important;animation:none !important}usa-card[effect~="lift"][data-hover]{transform:none}usa-card[effect~="flip"]>[data-front],usa-card[effect~="flip"]>[data-back]{transform:none !important}usa-card[effect~="flip"][flipped]>[data-front],usa-card[effect~="flip"]:not([flipped])>[data-back]{opacity:0;visibility:hidden}usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-front]{opacity:0;visibility:hidden}usa-card[effect~="flip"]:not([trigger="click"]):hover>[data-back]{opacity:1;visibility:visible}}@media (prefers-reduced-transparency:reduce),(forced-colors:active){usa-card[effect~="glass"]{background:var(--usa-card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}}'})}function Qt(t){const e=document.createElement("span");return e.className=t,e.setAttribute("aria-hidden","true"),e}function te(t,e){const s=t?.closest?.("a, button, input, select, textarea, label, [contenteditable]");return!!s&&s!==e&&e.contains(s)}function ee(t="usa-card-stack"){return d(t,t=>class extends t{constructor(){super(...arguments),this._drag=null,this._busy=!1}static get observedAttributes(){return["visible","offset","disabled"]}get top(){return this.cards()[0]||null}cards(){return Array.from(this.children).filter(t=>!t.hasAttribute("data-gone"))}layout(t=0){const e=this.num("visible",3),s=this.num("offset",10),i=this.reduced;this.cards().forEach((a,r)=>{if(a.style.zIndex=String(100-r),a.toggleAttribute("data-top",0===r),a.setAttribute("aria-hidden",String(0!==r)),0===r){const e=i?0:t/18;a.style.transform=`translate3d(${t}px, 0, 0) rotate(${e.toFixed(2)}deg)`,a.style.opacity="1"}else{const i=Math.min(r,e),n=Math.min(1,Math.abs(t)/this.num("threshold",90)),o=Math.max(0,i-n);a.style.transform=`translate3d(0, ${(o*s).toFixed(1)}px, 0) scale(${(1-.05*o).toFixed(3)})`,a.style.opacity=r>e?"0":"1"}})}mount(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.hasAttribute("role")||this.setAttribute("role","group"),this.setAttribute("aria-roledescription","card stack"),this._x=Bt({spring:"wobbly",onUpdate:t=>this.layout(t)}),this.layout(),this.listen(this,"pointerdown",t=>{if(!this.flag("disabled")&&!this._busy&&this.top&&this.top.contains(t.target)){this._x.stop(),this._drag={id:t.pointerId,x0:t.clientX-this._x.value,t0:t.timeStamp};try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging","")}}),this.listen(this,"pointermove",t=>{this._drag&&t.pointerId===this._drag.id&&this._x.jump(t.clientX-this._drag.x0)});const t=t=>{if(!this._drag||t.pointerId!==this._drag.id)return;this._drag=null,this.removeAttribute("data-dragging");const e=this._x.value;Math.abs(e)>=this.num("threshold",90)?this.swipe(e>0?"right":"left"):this._x.set(0)};this.listen(this,"pointerup",t),this.listen(this,"pointercancel",t),this.listen(this,"keydown",t=>{"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||(t.preventDefault(),this.swipe("ArrowLeft"===t.key?"left":"right"))});const e="undefined"!=typeof MutationObserver?new MutationObserver(()=>this.layout(this._x.value)):null;e?.observe(this,{childList:!0}),this.onCleanup(()=>e?.disconnect())}unmount(){this._x?.stop()}async swipe(t){const e=this.top;if(!e||this._busy||this.flag("disabled"))return;this._busy=!0,this._x.stop();const s=this._x.value,i=("left"===t?-1:1)*Math.max(320,1.4*(this.getBoundingClientRect().width||300));e.setAttribute("data-gone",""),this._x.jump(0),this.layout(0);const a=this.reduced?null:this.motion(e,[{transform:`translate3d(${s}px,0,0) rotate(${s/18}deg)`,opacity:1},{transform:`translate3d(${i}px,0,0) rotate(${i/14}deg)`,opacity:0}],{duration:380,easing:"cubic-bezier(0.3, 0.7, 0.4, 1)",fill:"forwards"});await(a?.finished.catch(()=>{})),a?.cancel(),e.removeAttribute("data-gone"),this.flag("loop")?this.append(e):e.remove(),this.layout(0),this._busy=!1,this.emit("swipe",{direction:t,card:e}),this.top||this.emit("empty")}},{id:"card-stack",text:"usa-card-stack{position:relative;display:grid;touch-action:pan-y;user-select:none;-webkit-user-select:none}usa-card-stack>*{grid-area:1 / 1;transform-origin:50% 100%;transition:transform 0.35s cubic-bezier(0.34,1.3,0.64,1),opacity 0.3s ease;will-change:transform}usa-card-stack>[data-top]{cursor:grab}usa-card-stack[data-dragging]>*,usa-card-stack>[data-top]{transition:none}usa-card-stack:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:4px;border-radius:12px}@media (prefers-reduced-motion:reduce){usa-card-stack>*{transition:none}}"})}function se(t="usa-sticky-stack"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["top","gap","scale"]}mount(){const t=this.num("top",80),e=this.num("gap",16);if(Array.from(this.children).forEach((s,i)=>{s.style.top=`${t+i*e}px`,s.style.zIndex=String(i+1)}),this.reduced)return;const s=()=>{this._frame||(this._frame=m(()=>this.update()))};let i=!1;this.inView(t=>{t&&!i?(i=!0,window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s,{passive:!0}),s()):!t&&i&&(i=!1,window.removeEventListener("scroll",s),window.removeEventListener("resize",s))}),this.onCleanup(()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",s)})}unmount(){b(this._frame),this._frame=0}update(){this._frame=0;const t=Array.from(this.children),e=t.map(t=>t.getBoundingClientRect()),s=this.num("scale",.06);t.forEach((i,a)=>{let r=0;for(let s=a+1;s<t.length;s++){const t=e[a].height||1;r+=k((e[a].bottom-e[s].top)/t,0,1)}const n=1-Math.min(3,r)*s;i.style.transform=r>.001?`scale(${n.toFixed(4)})`:"",i.style.filter=r>.001?`brightness(${(1-Math.min(.35,.12*r)).toFixed(3)})`:""})}},{id:"sticky-stack",text:"usa-sticky-stack{display:grid;gap:28vh;padding-bottom:10vh}usa-sticky-stack>*{position:sticky;transform-origin:50% 0;will-change:transform}"})}function ie(t="usa-carousel-3d"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0}static get observedAttributes(){return["radius","perspective","autoplay"]}get index(){return this._i}set index(t){this.goTo(t)}items(){return Array.from(this.children)}render(t){const e=this.items(),s=e.length||1,i=360/s,a=e[0]?.offsetWidth||200,r=this.num("radius",Math.round(a/2/Math.tan(Math.PI/s))+24),n=this.reduced;e.forEach((e,s)=>{const a=((s*i-t)%360+540)%360-180;e.style.transform=n?"":`rotateY(${a.toFixed(2)}deg) translateZ(${r}px)`,e.style.opacity=n?s===this._i?"1":"0":String(Math.max(.25,1-Math.abs(a)/200))})}mount(){this.style.setProperty("--usa-c3d-perspective",`${this.num("perspective",1200)}px`),this.hasAttribute("tabindex")||(this.tabIndex=0),this.setAttribute("role","region"),this.setAttribute("aria-roledescription","carousel"),this._i=Math.max(0,Math.min(this.items().length-1,this.num("index",0)));this._angle=Bt({value:this._i*(()=>360/(this.items().length||1))(),spring:"gentle",onUpdate:t=>this.render(t)}),this.render(this._angle.value),this.mark(),this.listen(this,"keydown",t=>{if("ArrowRight"===t.key)this.next();else{if("ArrowLeft"!==t.key)return;this.prev()}t.preventDefault()});let t=null;this.listen(this,"pointerdown",e=>t=e.clientX),this.listen(this,"pointerup",e=>{if(null===t)return;const s=e.clientX-t;t=null,Math.abs(s)>40&&(s<0?this.next():this.prev())}),this.listen(this,"click",t=>{const e=this.items().find(e=>e.contains(t.target));if(e){const t=this.items().indexOf(e);t!==this._i&&this.goTo(t)}});const e=this.num("autoplay",0);if(e>0&&!this.reduced){let t=!1;const s=()=>t=!0,i=()=>t=!1;this.listen(this,"pointerenter",s),this.listen(this,"pointerleave",i),this.listen(this,"focusin",s),this.listen(this,"focusout",i);const a=setInterval(()=>!t&&!document.hidden&&this.next(),e);this.onCleanup(()=>clearInterval(a))}}unmount(){this._angle?.stop()}mark(){this.items().forEach((t,e)=>{e===this._i?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}goTo(t){const e=this.items().length;if(!e||!this._angle)return;const s=360/e,i=this._angle.target,a=Math.round(i/s);let r=((t-a)%e+e)%e;r>e/2&&(r-=e),this._i=(t%e+e)%e,this._angle.set((a+r)*s),this.reduced&&this.render(this._angle.value),this.mark(),this.emit("change",{index:this._i})}next(){this.goTo(this._i+1)}prev(){this.goTo(this._i-1)}},{id:"carousel-3d",text:"usa-carousel-3d{position:relative;display:grid;place-items:center;perspective:var(--usa-c3d-perspective,1200px);transform-style:preserve-3d;touch-action:pan-y;user-select:none;-webkit-user-select:none;min-height:220px}usa-carousel-3d>*{grid-area:1 / 1;backface-visibility:hidden;transition:opacity 0.3s ease;cursor:pointer}usa-carousel-3d>[aria-current]{cursor:default}usa-carousel-3d:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:4px;border-radius:12px}@media (prefers-reduced-motion:reduce){usa-carousel-3d{perspective:none}usa-carousel-3d>:not([aria-current]){visibility:hidden}}"})}function ae(){Jt(),ee(),se(),ie()}let re=null;const ne=["#7c5cff","#22d3ee","#f472b6","#facc15","#34d399","#fb923c"],oe={star:"★",heart:"♥"};function ue(t,e,s,i,a){const r=document.createElement("span"),n=oe[a]||("circle"!==a&&"square"!==a?a:"");return r.style.cssText=`position:absolute;left:${t}px;top:${e}px;width:${s}px;height:${s}px;margin:${-s/2}px 0 0 ${-s/2}px;will-change:transform,opacity;`+(n?`font-size:${2*s}px;line-height:${s}px;text-align:center;color:${i}`:`background:${i};border-radius:${"square"===a?"2px":"50%"}`),n&&(r.textContent=n),(re&&re.isConnected||(re=document.createElement("div"),re.className="usa-fx-layer",re.setAttribute("aria-hidden","true"),re.style.cssText="position:fixed;inset:0;pointer-events:none;z-index:2147483000;overflow:hidden;contain:strict",document.body.appendChild(re)),re).appendChild(r),r}const le=(t,e)=>{t?t.onfinish=()=>e.remove():e.remove()};function ce(t,e,s={}){if("undefined"==typeof document||o())return 0;const{count:i=12,colors:a=ne,distance:r=48,size:n=6,shape:u="circle",duration:l=600}=s;for(let s=0;s<i;s++){const o=s/i*Math.PI*2+.4*Math.random(),c=r*(.7+.5*Math.random()),h=ue(t,e,n,a[s%a.length],u),d="function"==typeof h.animate?h.animate([{transform:"translate(0,0) scale(1)",opacity:1},{transform:`translate(${Math.cos(o)*c}px, ${Math.sin(o)*c}px) scale(0.2)`,opacity:0}],{duration:l*(.8+.4*Math.random()),easing:"cubic-bezier(0.22, 1, 0.36, 1)",fill:"forwards"}):null;le(d,h)}return i}function he(t={}){if("undefined"==typeof document||o())return 0;const e=window.innerWidth||800,s=window.innerHeight||600,{x:i=e/2,y:a=.66*s,count:r=80,spread:n=70,velocity:u=1,colors:l=ne,duration:c=1600}=t;for(let t=0;t<r;t++){const e=((Math.random()-.5)*n-90)*Math.PI/180,s=(260+320*Math.random())*u,r=Math.cos(e)*s,o=Math.sin(e)*s,h=ue(i,a,6+5*Math.random(),l[t%l.length],Math.random()>.5?"square":"circle");h.style.height=4+3*Math.random()+"px";const d=[],p=8,f=c/1e3,m=1440*(Math.random()-.5);for(let t=0;t<=p;t++){const e=t/p*f,s=900;d.push({transform:`translate(${(r*e*.8).toFixed(1)}px, ${(o*e+.5*s*e*e).toFixed(1)}px) rotate(${(m*t/p).toFixed(0)}deg) rotateX(${120*t}deg)`,opacity:t===p?0:1})}const g="function"==typeof h.animate?h.animate(d,{duration:c*(.85+.3*Math.random()),easing:"linear",fill:"forwards"}):null;le(g,h)}return r}function de(t,e=8,s=480){const i=t;if("function"!=typeof i.animate)return null;if(o())return i.animate([{outline:"2px solid #e5484d"},{outline:"2px solid transparent"}],{duration:600});const a=e;return i.animate([0,-a,a,.75*-a,.75*a,.4*-a,.4*a,0].map(t=>({transform:`translateX(${t}px)`})),{duration:s,easing:"ease-in-out"})}function pe(t=10){try{return"undefined"!=typeof navigator&&"function"==typeof navigator.vibrate&&navigator.vibrate(t)}catch{return!1}}function fe(t="usa-click"){return d(t,t=>class extends t{constructor(){super(...arguments),this._press=null}static get observedAttributes(){return["effect","disabled"]}get effects(){return this.str("effect","ripple").split(/[\s,]+/).filter(Boolean)}mount(){this.listen(this,"pointerdown",t=>{this.flag("disabled")||"mouse"===t.pointerType&&0!==t.button||(this.down(),this.effects.includes("ripple")&&this.ripple(t.clientX,t.clientY))});const t=()=>this.up();this.listen(this,"pointerup",t),this.listen(this,"pointerleave",t),this.listen(this,"pointercancel",t),this.listen(this,"click",t=>{if(this.flag("disabled"))return;const e=0===t.detail,s=this.getBoundingClientRect(),i=e?s.left+s.width/2:t.clientX,a=e?s.top+s.height/2:t.clientY;e&&this.effects.includes("ripple")&&this.ripple(i,a),this.play(i,a),this.effects.includes("shake")&&"click"===this.str("trigger")&&this.shake()}),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||this.down()}),this.listen(this,"keyup",t),this.effects.includes("shake")&&this.listen(this,"invalid",()=>this.shake(),{capture:!0})}play(t,e){if(void 0===t||void 0===e){const s=this.getBoundingClientRect();t=s.left+s.width/2,e=s.top+s.height/2}const s=this.effects,i=this.str("color")?this.str("color").split(","):void 0;s.includes("burst")&&ce(t,e,{count:this.num("count",12),shape:this.str("shape","circle"),colors:i}),s.includes("confetti")&&he({x:t,y:e,count:this.num("count",60),colors:i,spread:90,velocity:.8}),this.hasAttribute("haptic")&&pe(this.num("haptic",10)),this.emit("click-effect",{x:t,y:e,effects:s})}shake(){de(this),this.hasAttribute("haptic")&&pe([30,40,30])}ripple(t,e){if(this.reduced)return;const s=this.getBoundingClientRect(),i=t-s.left,a=e-s.top,r=Math.hypot(Math.max(i,s.width-i),Math.max(a,s.height-a)),n=document.createElement("span");n.className="usa-click-wave",n.setAttribute("aria-hidden","true"),n.style.cssText=`width:${2*r}px;height:${2*r}px;left:${i-r}px;top:${a-r}px;--usa-wave:${this.str("color","currentColor").split(",")[0]}`,this.append(n);const o=this.motion(n,[{transform:"scale(0)",opacity:.35},{transform:"scale(1)",opacity:.25,offset:.6},{transform:"scale(1.05)",opacity:0}],{duration:650,easing:y,fill:"forwards"});o?o.onfinish=()=>n.remove():n.remove()}down(){if(this.hasAttribute("data-pressed"))return;const t=this.effects;if(!t.includes("squish")&&!t.includes("press-spring"))return;this.setAttribute("data-pressed",""),this._press?.cancel();const e=this.reduced?{opacity:.75}:t.includes("squish")?{transform:"scale(1.08, 0.86)"}:{transform:"scale(0.94)"},s=this.reduced?{opacity:1}:{transform:"none"};this._press=this.motion(this,[s,e],{duration:110,easing:"ease-out",fill:"forwards"})}up(){if(!this.hasAttribute("data-pressed"))return;this.removeAttribute("data-pressed");const t=this.effects;if(this._press?.cancel(),this.reduced)return void(this._press=this.motion(this,[{opacity:.75},{opacity:1}],{duration:150}));const e=t.includes("squish")?"scale(1.08, 0.86)":"scale(0.94)",s=t.includes("squish")?[{transform:e},{transform:"scale(0.92, 1.1)",offset:.3},{transform:"scale(1.03, 0.97)",offset:.6},{transform:"none"}]:[{transform:e},{transform:"none"}];this._press=this.motion(this,s,t.includes("squish")?{duration:520,easing:"ease-out"}:It("bouncy"))}},{id:"click",text:"usa-click{position:relative;display:inline-block;overflow:hidden;isolation:isolate;border-radius:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}usa-click[block]{display:block}usa-click .usa-click-wave{position:absolute;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(0);background:radial-gradient(circle,var(--usa-wave) 0 55%,color-mix(in srgb,var(--usa-wave) 40%,transparent) 70%,transparent 72%)}"})}let me=!1;function ge(t="usa-button"){return d(t,t=>class extends t{constructor(){super(...arguments),this._press=null,this._status=null,this._shapeBefore=null}static get observedAttributes(){return["deform","state","shape","disabled"]}get target(){return this.querySelector(':scope > button, :scope > a, :scope > [role="button"]')||this}deforms(){return this.str("deform").split(/[\s,]+/).filter(Boolean)}get shape(){return this.str("shape","pill")||"pill"}set shape(t){this.morphTo(t)}get state(){return this.str("state","idle")||"idle"}set state(t){this.setAttribute("state",t)}mount(){const t=this.target;if(t===this&&(this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0)),t.classList.add("usa-button-face"),"submit"===this.str("morph")&&!t.querySelector(".usa-button-status")){const e=document.createElement("span");e.className="usa-button-status",e.setAttribute("aria-hidden","true"),e.innerHTML='<svg class="usa-button-spin" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="100"/></svg><svg class="usa-button-ok" viewBox="0 0 24 24"><path d="M5 12.5l4.2 4.2L19 7" pathLength="1"/></svg><svg class="usa-button-err" viewBox="0 0 24 24"><path d="M7 7l10 10M17 7L7 17" pathLength="1"/></svg>',t.append(e);const s=document.createElement("span");s.className="usa-sr",s.setAttribute("role","status"),this.append(s),this._status=s}this.deforms().includes("gooey")&&function(){if(me||"undefined"==typeof document)return;me=!0;const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("width","0"),t.setAttribute("height","0"),t.style.position="absolute",t.innerHTML='<filter id="usa-goo"><feGaussianBlur in="SourceGraphic" stdDeviation="6" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 22 -9" result="g"/><feComposite in="SourceGraphic" in2="g" operator="atop"/></filter>',document.body.appendChild(t)}(),this.applyState(),this.listen(t,"pointerdown",t=>{this.isOff()||"mouse"===t.pointerType&&0!==t.button||this.down(t.clientX,t.clientY)});for(const e of["pointerup","pointerleave","pointercancel"])this.listen(t,e,()=>this.up());this.listen(t,"keydown",t=>("Enter"===t.key||" "===t.key)&&!t.repeat&&this.down()),this.listen(t,"keyup",()=>this.up()),this.listen(t,"click",t=>{this.isOff()?"loading"===this.state&&t.preventDefault():(this.deforms().includes("wobble")&&this.wobble(),this.hasAttribute("haptic")&&pe(this.num("haptic",10)),"submit"===this.str("morph")&&"idle"===this.state&&this.submit())}),t===this&&this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.click())})}unmount(){clearTimeout(this._timer),this._press?.cancel()}changed(t){"state"===t?this.applyState():"shape"===t?this.target.setAttribute("data-shape",this.shape):super.changed(t)}isOff(){return this.flag("disabled")||"loading"===this.state}down(t,e){if(this.reduced||this.hasAttribute("data-pressed"))return;const s=this.deforms();if(!s.length)return;this.setAttribute("data-pressed","");const i=this.target,a=i.getBoundingClientRect(),r=void 0===t?.5:k((t-a.left)/(a.width||1),0,1),n=void 0===e?.5:k((e-a.top)/(a.height||1),0,1);i.style.setProperty("--usa-dent-x",`${(100*r).toFixed(1)}%`),i.style.setProperty("--usa-dent-y",`${(100*n).toFixed(1)}%`);const o=[];s.includes("dent")&&o.push(`perspective(600px) rotateX(${(-14*(.5-n)).toFixed(2)}deg) rotateY(${(14*(r-.5)).toFixed(2)}deg) scale(0.97)`),s.includes("squash")&&o.push("scale(1.12, 0.84)"),s.includes("gooey")&&(o.push("scale(0.96)"),this.goo(r,n)),o.length&&(this._press?.cancel(),this._press=this.motion(i,[{transform:"none"},{transform:o.join(" ")}],{duration:110,easing:"ease-out",fill:"forwards"}))}up(){if(!this.hasAttribute("data-pressed"))return;this.removeAttribute("data-pressed");const t=this.target,e=this._press,s=e?.effect?.getKeyframes?.().slice(-1)[0]?.transform;e?.cancel(),s&&(this._press=this.motion(t,[{transform:s},{transform:"none"}],{...It(this.deforms().includes("squash")?"bouncy":"wobbly")}))}wobble(){if(this.reduced)return;const t=this.target,e=getComputedStyle(t).borderRadius||"12px";this.motion(t,[{borderRadius:e},{borderRadius:"42% 58% 50% 50% / 60% 45% 55% 40%",offset:.2},{borderRadius:"58% 42% 45% 55% / 40% 60% 40% 60%",offset:.45},{borderRadius:"48% 52% 52% 48% / 52% 48% 52% 48%",offset:.7},{borderRadius:e}],{duration:700,easing:"ease-out"})}goo(t,e){const s=this.target,i=document.createElement("span");i.className="usa-button-goo",i.setAttribute("aria-hidden","true"),i.style.setProperty("--usa-goo-bg",getComputedStyle(s).backgroundColor||"currentColor");const a=[];for(let s=0;s<4;s++){const s=document.createElement("i");s.style.left=`${(100*t).toFixed(1)}%`,s.style.top=`${(100*e).toFixed(1)}%`,i.append(s),a.push(s)}this.prepend(i);let r=a.length;a.forEach((t,e)=>{const s=e/a.length*Math.PI*2+.6,n=26+e%2*12,o=this.motion(t,[{transform:"translate(-50%, -50%) scale(0.4)"},{transform:`translate(calc(-50% + ${(Math.cos(s)*n).toFixed(1)}px), calc(-50% + ${(Math.sin(s)*n).toFixed(1)}px)) scale(1)`,offset:.45},{transform:"translate(-50%, -50%) scale(0.2)"}],{duration:700,easing:"cubic-bezier(0.34, 1.3, 0.64, 1)",fill:"forwards"}),u=()=>0===--r&&i.remove();o?o.onfinish=u:u()})}async morphTo(t){const e=this.target,s=e.getBoundingClientRect();if(this.setAttribute("shape",t),e.setAttribute("data-shape",t),this.reduced)return;const i=e.getBoundingClientRect();if(!s.width||!i.width||Math.abs(s.width-i.width)<.5)return;const a=this.motion(e,[{width:`${s.width}px`},{width:`${i.width}px`}],It("stiff"));await(a?.finished.catch(()=>{}))}submit(){let t=!1;this.state="loading",this.emit("submit",{done:(e=!0)=>{t||(t=!0,this.state=e?"success":"error")}})}applyState(){if("submit"!==this.str("morph"))return;const t=this.target,e=this.state;if(clearTimeout(this._timer),t.setAttribute("data-state",e),"loading"===e?(null===this._shapeBefore&&(this._shapeBefore=this.shape),t.setAttribute("aria-busy","true"),this.morphTo("circle")):t.removeAttribute("aria-busy"),"error"===e&&(de(t),this.hasAttribute("haptic")&&pe([30,40,30])),"success"===e&&!this.reduced){const e=t.querySelector(".usa-button-ok");e&&this.motion(e,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"))}if(this._status&&(this._status.textContent="loading"===e?"Loading…":"success"===e?"Done":"error"===e?"Failed":""),"success"!==e&&"error"!==e||(this._timer=setTimeout(()=>{this.state="idle"},this.num("reset",1800))),"idle"===e&&null!==this._shapeBefore){const t=this._shapeBefore;this._shapeBefore=null,this.morphTo(t)}this.emit("state",{state:e})}},{id:"button",text:'usa-button{position:relative;display:inline-block;isolation:isolate;-webkit-tap-highlight-color:transparent;touch-action:manipulation;vertical-align:middle}usa-button[role="button"]{cursor:pointer}usa-button .usa-button-face{position:relative;overflow:hidden;will-change:transform;transform-origin:50% 60%;white-space:nowrap}usa-button[deform~="gooey"] .usa-button-face{overflow:visible}usa-button[deform~="dent"] .usa-button-face::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity 0.2s ease;background:radial-gradient(circle at var(--usa-dent-x,50%) var(--usa-dent-y,50%),rgb(0 0 0 / 0.28),transparent 60%)}usa-button[deform~="dent"][data-pressed] .usa-button-face::after{opacity:1}usa-button .usa-button-goo{position:absolute;inset:0;z-index:-1;pointer-events:none;filter:url(#usa-goo)}usa-button .usa-button-goo i{position:absolute;width:22px;height:22px;border-radius:50%;background:var(--usa-goo-bg);transform:translate(-50%,-50%) scale(0.4)}usa-button .usa-button-face[data-shape="circle"],usa-button .usa-button-face[data-shape="icon"]{padding-inline:0;aspect-ratio:1;border-radius:999px;display:inline-grid;place-items:center}usa-button .usa-button-face [data-label],usa-button .usa-button-face [data-icon]{transition:opacity 0.2s ease}usa-button .usa-button-face[data-shape="circle"] [data-label],usa-button .usa-button-face[data-shape="icon"] [data-label]{position:absolute;opacity:0;pointer-events:none}usa-button .usa-button-face[data-shape="circle"] [data-icon]{opacity:0}usa-button .usa-button-status{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}usa-button .usa-button-status svg{grid-area:1 / 1;width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0}usa-button .usa-button-spin circle{stroke-dasharray:60 100;transform-origin:50% 50%;animation:usa-btn-spin 0.8s linear infinite}usa-button .usa-button-ok path,usa-button .usa-button-err path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 0.35s ease 0.1s}usa-button .usa-button-face[data-state="loading"] .usa-button-spin,usa-button .usa-button-face[data-state="success"] .usa-button-ok,usa-button .usa-button-face[data-state="error"] .usa-button-err{opacity:1}usa-button .usa-button-face[data-state="success"] .usa-button-ok path,usa-button .usa-button-face[data-state="error"] .usa-button-err path{stroke-dashoffset:0}usa-button .usa-button-face:is([data-state="loading"],[data-state="success"],[data-state="error"])>:not(.usa-button-status){opacity:0}usa-button .usa-button-face[data-state="success"]{background:#16a34a;border-color:#16a34a;color:#fff}usa-button .usa-button-face[data-state="error"]{background:#e5484d;border-color:#e5484d;color:#fff}usa-button .usa-button-face[data-state]{transition:background-color 0.25s ease,color 0.25s ease,border-radius 0.3s ease}@keyframes usa-btn-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){usa-button .usa-button-spin circle{animation-duration:2.4s}usa-button .usa-button-face,usa-button .usa-button-face *{transition:none !important}}'})}const be=[[12,12],[12,12],[12,12],[12,12]],ye={play:[[[7,5],[12.5,8.25],[12.5,15.75],[7,19]],[[12.5,8.25],[19,12],[19,12],[12.5,15.75]],be],pause:[[[6,5],[10,5],[10,19],[6,19]],[[14,5],[18,5],[18,19],[14,19]],be],menu:[[[4,6],[20,6],[20,8],[4,8]],[[4,11],[20,11],[20,13],[4,13]],[[4,16],[20,16],[20,18],[4,18]]],close:[[[5.2,6.6],[6.6,5.2],[18.8,17.4],[17.4,18.8]],be,[[17.4,5.2],[18.8,6.6],[6.6,18.8],[5.2,17.4]]],plus:[[[11,4],[13,4],[13,20],[11,20]],[[4,11],[20,11],[20,13],[4,13]],be],minus:[[[4,11],[20,11],[20,13],[4,13]],[[4,11],[20,11],[20,13],[4,13]],be],check:[[[4.3,12.7],[5.7,11.3],[10.4,16],[9,17.4]],[[9,17.4],[7.6,16],[18.3,5.3],[19.7,6.7]],be],"arrow-right":[[[4,11],[17,11],[17,13],[4,13]],[[12.6,6.4],[14,5],[21,12],[19.6,13.4]],[[19.6,10.6],[21,12],[14,19],[12.6,17.6]]]};function ve(t,e=t,s=0){const i=ye[t]||ye.menu,a=ye[e]||i;return i.map((t,e)=>`M${t.map((t,i)=>{const r=a[e][i];return`${(t[0]+(r[0]-t[0])*s).toFixed(2)} ${(t[1]+(r[1]-t[1])*s).toFixed(2)}`}).join("L")}Z`).join("")}function xe(t="usa-icon-morph"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0,this._from="play",this._to="play"}static get observedAttributes(){return["icons","size","toggle"]}list(){return this.str("icons","play,pause").split(",").map(t=>t.trim()).filter(t=>ye[t])}get index(){return this._i}set index(t){this.show(t)}get icon(){return this.list()[this._i]||"play"}draw(t){this.querySelector("path")?.setAttribute("d",ve(this._from,this._to,t))}mount(){const t=this.num("size",24);this.innerHTML=`<svg viewBox="0 0 24 24" width="${t}" height="${t}" aria-hidden="true" focusable="false"><path/></svg>`,this._i=Math.max(0,Math.min(this.list().length-1,this.num("index",0))),this._from=this._to=this.icon,this._t=Bt({value:1,spring:this.str("preset","wobbly"),onUpdate:t=>this.draw(t)}),this.draw(1),this.flag("toggle")&&(this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.listen(this,"click",()=>this.next()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.next())})),this.label()}unmount(){this._t?.stop()}label(){const t=this.str("labels").split(",").map(t=>t.trim())[this._i];t&&this.setAttribute("aria-label",t),this.flag("toggle")||t||this.setAttribute("aria-hidden","true")}show(t){const e=this.list(),s="number"==typeof t?(t%e.length+e.length)%e.length:e.indexOf(t);if(s<0||!this._t)return;const i=e[s],a=this._t.value;this._from=a>=.5?this._to:this._from,this._to=i,this._i=s,this._t.jump(0),this._t.set(1),this.label(),this.emit("change",{index:s,icon:i})}next(){this.show(this._i+1)}},{id:"icon-morph",text:"usa-icon-morph{display:inline-grid;place-items:center;line-height:0;color:inherit;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-icon-morph svg{fill:currentColor;overflow:visible}usa-icon-morph[toggle]{cursor:pointer;border-radius:8px}usa-icon-morph[toggle]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}"})}function we(t="usa-like"){return d(t,t=>class extends t{static get observedAttributes(){return["liked","count","label","disabled"]}get liked(){return this.flag("liked")}set liked(t){this.setFlag("liked",t)}get count(){return this.hasAttribute("count")?this.num("count",0):null}set count(t){null===t?this.removeAttribute("count"):this.setAttribute("count",String(t))}mount(){if(!this.querySelector(":scope > .usa-like-heart")){const t=this.num("size",24);this.insertAdjacentHTML("afterbegin",`<svg class="usa-like-heart" viewBox="0 0 24 24" width="${t}" height="${t}" aria-hidden="true"><path d="M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.2 1.7-2 3.2-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z"/></svg><span class="usa-like-count" aria-hidden="true"></span>`)}this.str("color")&&this.style.setProperty("--usa-like-color",this.str("color")),this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||t.repeat||(t.preventDefault(),this.toggle())})}changed(){this.sync()}sync(){const t=this.count,e=this.str("label","Like");this.setAttribute("aria-pressed",String(this.liked)),this.setAttribute("aria-label",null===t?e:`${e} (${t})`),this.toggleAttribute("aria-disabled",this.flag("disabled"));const s=this.querySelector(".usa-like-count");s&&(s.textContent=null===t?"":(new Intl.NumberFormat).format(t))}toggle(t){if(this.flag("disabled"))return;const e=void 0===t?!this.liked:t;if(e===this.liked)return;this.liked=e,null!==this.count&&(this.count=Math.max(0,this.count+(e?1:-1))),this.sync();const s=this.querySelector(".usa-like-heart");if(e&&s&&!this.reduced){this.motion(s,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"));const t=s.getBoundingClientRect();ce(t.left+t.width/2,t.top+t.height/2,{count:10,distance:28,size:5,colors:[getComputedStyle(this).getPropertyValue("--usa-like-color").trim()||"#f43f5e","#fb923c","#facc15"]})}this.hasAttribute("haptic")&&pe(this.num("haptic",12)),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{liked:e,count:this.count})}},{id:"like",text:"usa-like{--usa-like-color:#f43f5e;display:inline-flex;align-items:center;gap:0.35em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-like .usa-like-heart{fill:transparent;stroke:currentColor;stroke-width:1.8;transition:fill 0.2s ease,stroke 0.2s ease;overflow:visible}usa-like[liked] .usa-like-heart{fill:var(--usa-like-color);stroke:var(--usa-like-color)}usa-like .usa-like-count{font-variant-numeric:tabular-nums}usa-like[disabled]{opacity:0.5;cursor:not-allowed}usa-like:focus-visible{outline:2px solid var(--usa-like-color);outline-offset:3px;border-radius:8px}"})}function ke(t="usa-hold"){return d(t,t=>class extends t{constructor(){super(...arguments),this._p=0,this._frame=0,this._holding=!1}static get observedAttributes(){return["duration","disabled"]}get progress(){return this._p}set(t){this._p=t,this.style.setProperty("--usa-hold",t.toFixed(4));const e=this.querySelector(".usa-hold-ring circle:last-child");e&&(e.style.strokeDashoffset=String(100-100*t))}mount(){this.querySelector(":scope > .usa-hold-ring")||this.insertAdjacentHTML("beforeend",'<svg class="usa-hold-ring" viewBox="0 0 36 36" aria-hidden="true"><circle cx="18" cy="18" r="15.9" pathLength="100"/><circle cx="18" cy="18" r="15.9" pathLength="100"/></svg>'),this.str("color")&&this.style.setProperty("--usa-hold-color",this.str("color")),this.setAttribute("role","button"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.setAttribute("aria-description","Press and hold to confirm"),this.set(0),this.listen(this,"pointerdown",t=>("mouse"!==t.pointerType||0===t.button)&&this.start());for(const t of["pointerup","pointerleave","pointercancel"])this.listen(this,t,()=>this.stop());this.listen(this,"keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.repeat||this.start())}),this.listen(this,"keyup",t=>("Enter"===t.key||" "===t.key)&&this.stop()),this.listen(this,"contextmenu",t=>this._holding&&t.preventDefault())}unmount(){b(this._frame),this._holding=!1}start(){if(this.flag("disabled")||this._holding)return;this._holding=!0,this.setAttribute("data-holding","");const t=Math.max(100,this.num("duration",1200));let e=g();const s=()=>{const i=g(),a=Math.min(1,this._p+(i-e)/t);if(e=i,this.set(a),this.emit("progress",{progress:a}),a>=1)return this._holding=!1,this.removeAttribute("data-holding"),this.setAttribute("data-done",""),this.hasAttribute("haptic")&&pe(20),this.emit("confirm"),void setTimeout(()=>{this.removeAttribute("data-done"),this.rewind()},700);this._frame=m(s)};this._frame=m(s)}stop(){this._holding&&(this._holding=!1,b(this._frame),this.removeAttribute("data-holding"),this._p<1&&(this.emit("cancel",{progress:this._p}),this.rewind()))}rewind(){let t=g();const e=()=>{if(this._holding)return;const s=g(),i=Math.max(0,this._p-(s-t)/250);t=s,this.set(i),i>0&&(this._frame=m(e))};this._frame=m(e)}cancel(){this.stop()}},{id:"hold",text:"usa-hold{--usa-hold-color:#e5484d;position:relative;display:inline-flex;align-items:center;gap:0.5em;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}usa-hold .usa-hold-ring{width:1.6em;height:1.6em;transform:rotate(-90deg);flex:none}usa-hold .usa-hold-ring circle{fill:none;stroke-width:3.5;stroke-linecap:round}usa-hold .usa-hold-ring circle:first-child{stroke:color-mix(in srgb,currentColor 18%,transparent)}usa-hold .usa-hold-ring circle:last-child{stroke:var(--usa-hold-color);stroke-dasharray:100;stroke-dashoffset:100}usa-hold[data-holding]{transform:scale(calc(1 - var(--usa-hold,0) * 0.05))}usa-hold[data-done] .usa-hold-ring{animation:usa-hold-pop 0.4s cubic-bezier(0.34,1.56,0.64,1)}@keyframes usa-hold-pop{50%{transform:rotate(-90deg) scale(1.3)}}usa-hold[disabled]{opacity:0.5;cursor:not-allowed}usa-hold:focus-visible{outline:2px solid var(--usa-hold-color);outline-offset:3px;border-radius:10px}@media (prefers-reduced-motion:reduce){usa-hold[data-holding]{transform:none}usa-hold[data-done] .usa-hold-ring{animation:none}}"})}function _e(t="usa-double-tap"){return d(t,t=>class extends t{mount(){let t=0,e=0,s=0;this.listen(this,"pointerup",i=>{if(this.flag("disabled"))return;const a=i.timeStamp||Date.now();a-t<this.num("delay",300)&&Math.hypot(i.clientX-e,i.clientY-s)<40?(t=0,this.pop(i.clientX,i.clientY)):(t=a,e=i.clientX,s=i.clientY)}),this.listen(this,"dblclick",t=>t.preventDefault()),this.listen(this,"keydown",t=>"l"===t.key.toLowerCase()&&!t.repeat&&this.pop())}pop(t,e){const s=this.getBoundingClientRect();void 0!==t&&void 0!==e||(t=s.left+s.width/2,e=s.top+s.height/2);const i=document.createElement("span");i.className="usa-double-tap-icon",i.setAttribute("aria-hidden","true"),i.textContent=this.str("icon","♥"),i.style.left=t-s.left+"px",i.style.top=e-s.top+"px",this.str("color")&&(i.style.color=this.str("color")),this.append(i);const a=this.reduced?[{opacity:0},{opacity:1,offset:.3},{opacity:0}]:[{opacity:0,transform:"translate(-50%, -50%) scale(0.2) rotate(-15deg)"},{opacity:1,transform:"translate(-50%, -50%) scale(1.15) rotate(5deg)",offset:.3},{opacity:1,transform:"translate(-50%, -50%) scale(1) rotate(0deg)",offset:.6},{opacity:0,transform:"translate(-50%, -110%) scale(0.9)"}],r=this.motion(i,a,{duration:900,easing:"ease-out",fill:"forwards"});r?r.onfinish=()=>i.remove():i.remove(),ce(t,e,{count:8,distance:40,size:5,colors:[this.str("color","#f43f5e"),"#fb923c","#facc15"]}),this.hasAttribute("haptic")&&pe(15),this.emit("double-tap",{x:t-s.left,y:e-s.top})}},{id:"double-tap",text:"usa-double-tap{position:relative;display:block;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}usa-double-tap .usa-double-tap-icon{position:absolute;pointer-events:none;font-size:64px;line-height:1;color:#f43f5e;transform:translate(-50%,-50%);text-shadow:0 6px 18px rgb(0 0 0 / 0.35);z-index:2}"})}function Ae(t="usa-checkbox"){return d(t,t=>{class e extends t{static get observedAttributes(){return["checked","indeterminate","disabled","label"]}constructor(){super(),this._internals=null;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}get checked(){return this.flag("checked")}set checked(t){this.setFlag("checked",t)}get indeterminate(){return this.flag("indeterminate")}set indeterminate(t){this.setFlag("indeterminate",t)}mount(){this.querySelector(":scope > .usa-checkbox-box")||this.insertAdjacentHTML("afterbegin",'<span class="usa-checkbox-box" aria-hidden="true"><svg viewBox="0 0 24 24"><path class="usa-checkbox-check" d="M5 12.5l4.2 4.2L19 7" pathLength="1"/><path class="usa-checkbox-dash" d="M6 12h12" pathLength="1"/></svg></span>'),this.setAttribute("role","checkbox"),this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.listen(this,"click",()=>this.toggle()),this.listen(this,"keydown",t=>{" "!==t.key||t.repeat||(t.preventDefault(),this.toggle())})}changed(){this.sync()}sync(){this.setAttribute("aria-checked",this.indeterminate?"mixed":String(this.checked)),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.toggleAttribute("aria-disabled",this.flag("disabled")),this._internals?.setFormValue?.(this.checked?this.str("value","on"):null)}toggle(t){if(this.flag("disabled"))return;const e=void 0===t?!this.checked||this.indeterminate:t;this.indeterminate=!1,this.checked=e,this.sync();const s=this.querySelector(".usa-checkbox-box");s&&!this.reduced&&this.motion(s,[{transform:"scale(0.75)"},{transform:"scale(1)"}],It("bouncy")),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{checked:e})}}return e.formAssociated=!0,e},{id:"checkbox",text:'usa-checkbox{--usa-checkbox-on:var(--usa-accent,#7c5cff);display:inline-flex;align-items:center;gap:0.55em;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle}usa-checkbox .usa-checkbox-box{flex:none;width:1.25em;height:1.25em;border-radius:0.3em;border:1.5px solid color-mix(in srgb,currentColor 55%,transparent);display:grid;place-items:center;transition:background-color 0.2s ease,border-color 0.2s ease;box-sizing:border-box}usa-checkbox[shape="circle"] .usa-checkbox-box{border-radius:50%}usa-checkbox svg{width:85%;height:85%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}usa-checkbox svg path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 0.28s cubic-bezier(0.65,0,0.35,1) 0.05s}usa-checkbox[checked]:not([indeterminate]) .usa-checkbox-check,usa-checkbox[indeterminate] .usa-checkbox-dash{stroke-dashoffset:0}usa-checkbox[checked] .usa-checkbox-box,usa-checkbox[indeterminate] .usa-checkbox-box{background:var(--usa-checkbox-on);border-color:var(--usa-checkbox-on)}usa-checkbox[disabled]{opacity:0.45;cursor:not-allowed}usa-checkbox:focus-visible{outline:none}usa-checkbox:focus-visible .usa-checkbox-box{outline:2px solid var(--usa-checkbox-on);outline-offset:2px}@media (prefers-reduced-motion:reduce){usa-checkbox svg path,usa-checkbox .usa-checkbox-box{transition:none}}'})}function Me(){fe(),ge(),xe(),we(),ke(),_e(),Ae()}function Ce(t,e,s="top",i=8){const a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=window.innerWidth||1024,o=window.innerHeight||768,u={top:a.top-r.height-i>=0,bottom:a.bottom+r.height+i<=o,left:a.left-r.width-i>=0,right:a.right+r.width+i<=n},l={top:"bottom",bottom:"top",left:"right",right:"left"},c=u[s]||!u[l[s]]?s:l[s];let h=0,d=0;return"top"===c||"bottom"===c?(h=Math.min(Math.max(4,a.left+a.width/2-r.width/2),n-r.width-4),d="top"===c?a.top-r.height-i:a.bottom+i):(d=Math.min(Math.max(4,a.top+a.height/2-r.height/2),o-r.height-4),h="left"===c?a.left-r.width-i:a.right+i),t.style.left=`${Math.round(h)}px`,t.style.top=`${Math.round(d)}px`,t.setAttribute("data-placement",c),c}let Ee=0;const Se=t=>`${t}-${++Ee}`;function ze(t="usa-tabs"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._i=0,this._bar=null}static get observedAttributes(){return["indicator"]}get selected(){return this._i}set selected(t){this.select(t)}tabs(){return Array.from(this.querySelectorAll("[data-tab]")).filter(t=>t.closest(this.localName)===this)}panels(){return Array.from(this.querySelectorAll("[data-panel]")).filter(t=>t.closest(this.localName)===this)}mount(){const t=this.tabs(),e=this.panels(),s=t[0]?.parentElement;if(!s)return;s.setAttribute("role","tablist"),s.classList.add("usa-tabs-list"),s.querySelector(":scope > .usa-tabs-indicator")?this._bar=s.querySelector(":scope > .usa-tabs-indicator"):(this._bar=document.createElement("span"),this._bar.className="usa-tabs-indicator",this._bar.setAttribute("aria-hidden","true"),s.append(this._bar)),t.forEach((t,s)=>{t.id||(t.id=Se("usa-tab")),t.setAttribute("role","tab");const i=e[s];i&&(i.id||(i.id=Se("usa-panel")),i.setAttribute("role","tabpanel"),i.setAttribute("aria-labelledby",t.id),t.setAttribute("aria-controls",i.id),i.hasAttribute("tabindex")||(i.tabIndex=0)),this.listen(t,"click",()=>this.select(s))}),this.listen(s,"keydown",e=>{const s=t.length,i={ArrowRight:this._i+1,ArrowDown:this._i+1,ArrowLeft:this._i-1,ArrowUp:this._i-1,Home:0,End:s-1};e.key in i&&(e.preventDefault(),this.select((i[e.key]+s)%s,!0))});const i="undefined"!=typeof ResizeObserver?new ResizeObserver(()=>this.moveBar(!1)):null;i?.observe(s),this.onCleanup(()=>i?.disconnect()),this.select(Math.max(0,Math.min(t.length-1,this.num("selected",0))),!1,!0)}moveBar(t){const e=this.tabs()[this._i],s=this._bar;if(!e||!s)return;const i=s.style.transform,a=s.style.width;s.style.width=`${e.offsetWidth}px`,s.style.transform=`translateX(${e.offsetLeft}px)`,t&&i&&!this.reduced&&this.motion(s,[{transform:i,width:a},{transform:s.style.transform,width:s.style.width}],It("stiff"))}select(t,e=!1,s=!1){const i=this.tabs(),a=this.panels();if(!i[t])return;const r=this._i;if(this._i=t,this.setAttribute("selected",String(t)),i.forEach((e,s)=>{e.setAttribute("aria-selected",String(s===t)),e.tabIndex=s===t?0:-1}),a.forEach((e,s)=>e.hidden=s!==t),e&&i[t].focus(),this.moveBar(!s),s||r===t)return;const n=a[t];n&&!this.reduced&&this.motion(n,[{opacity:0,transform:`translateX(${t>r?16:-16}px)`},{opacity:1,transform:"none"}],{duration:280,easing:"cubic-bezier(0.22, 1, 0.36, 1)"}),this.emit("change",{index:t})}},{id:"tabs",text:'usa-tabs{display:block;font-family:var(--usa-font)}usa-tabs .usa-tabs-list{position:relative;display:flex;gap:4px;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}usa-tabs [role="tab"]{position:relative;z-index:1;padding:10px 14px;border:0;background:none;color:inherit;font:inherit;cursor:pointer;opacity:0.7;transition:opacity 0.2s ease,color 0.2s ease;border-radius:calc(var(--usa-radius,14px) / 2)}usa-tabs [role="tab"][aria-selected="true"]{opacity:1;color:var(--usa-accent,#7c5cff)}usa-tabs [role="tab"]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:-2px}usa-tabs .usa-tabs-indicator{position:absolute;left:0;bottom:-1px;height:3px;width:0;border-radius:3px;background:var(--usa-accent,#7c5cff);pointer-events:none}usa-tabs[indicator="pill"] .usa-tabs-list{border-bottom:0;padding:4px;border-radius:999px;background:color-mix(in srgb,currentColor 8%,transparent)}usa-tabs[indicator="pill"] .usa-tabs-indicator{top:4px;bottom:4px;height:auto;border-radius:999px;opacity:0.18}usa-tabs [role="tabpanel"]{padding:14px 2px}usa-tabs [role="tabpanel"]:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:2px;border-radius:6px}'})}var $e='usa-drawer,usa-bottom-sheet{position:fixed;z-index:1001;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;will-change:transform;outline:none}usa-drawer{top:0;bottom:0;left:0;width:min(86vw,360px);border-radius:0 var(--usa-radius,14px) var(--usa-radius,14px) 0;padding:20px}usa-drawer[side="right"]{left:auto;right:0;border-radius:var(--usa-radius,14px) 0 0 var(--usa-radius,14px)}usa-drawer[side="top"],usa-drawer[side="bottom"]{left:0;right:0;width:auto;bottom:auto;max-height:80vh;border-radius:0 0 var(--usa-radius,14px) var(--usa-radius,14px);touch-action:pan-x}usa-drawer[side="bottom"]{top:auto;bottom:0;border-radius:var(--usa-radius,14px) var(--usa-radius,14px) 0 0}usa-bottom-sheet{left:0;right:0;bottom:0;margin:0 auto;max-width:640px;border-radius:22px 22px 0 0;padding:8px 20px 24px;touch-action:none}usa-bottom-sheet .usa-sheet-handle{width:40px;height:5px;border-radius:3px;margin:4px auto 14px;background:color-mix(in srgb,currentColor 35%,transparent);cursor:grab}usa-drawer[hidden],usa-bottom-sheet[hidden]{display:none}.usa-panel-backdrop{position:fixed;inset:0;z-index:1000;background:rgb(0 0 0 / 0.45)}';function Pe(t,e){return class extends t{constructor(){super(...arguments),this._backdrop=null,this._return=null,this._drag=null}static get observedAttributes(){return["open","side"]}get open(){return this.flag("open")}set open(t){this.setFlag("open",t)}size(){const t=this.getBoundingClientRect();return("sheet"===e||this.vertical()?t.height:t.width)||("sheet"===e?.9*window.innerHeight:320)}vertical(){return"sheet"===e||"top"===this.str("side")||"bottom"===this.str("side")}dir(){const t="sheet"===e?"bottom":this.str("side","left");return"left"===t||"top"===t?-1:1}stops(){return[0]}render(t){const e=this.vertical()?"Y":"X";this.style.transform=`translate${e}(${(t*this.dir()).toFixed(1)}px)`,this._backdrop&&(this._backdrop.style.opacity=String(k(1-t/(this.size()||1),0,1)))}mount(){this.setAttribute("role","dialog"),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.hasAttribute("tabindex")||(this.tabIndex=-1),this.classList.add("usa-surface"),this._pos=Bt({value:2*this.size(),spring:"stiff",onUpdate:t=>this.render(t),onRest:t=>t>=this.size()-1&&!this.open&&this.afterClose()}),this.open?this.show(!1):(this.hidden=!0,this._pos.jump(1.2*this.size())),this.listen(document,"keydown",t=>"Escape"===t.key&&this.open&&this.close()),this.listen(this,"click",t=>t.target.closest?.("[data-close]")&&this.close()),this.listen(this,"pointerdown",t=>this.dragStart(t)),this.listen(this,"pointermove",t=>this.dragMove(t)),this.listen(this,"pointerup",t=>this.dragEnd(t)),this.listen(this,"pointercancel",t=>this.dragEnd(t))}unmount(){this._pos?.stop(),this._backdrop?.remove(),this._backdrop=null}changed(t){if("open"!==t)return super.changed(t);this.open&&this.hidden?this.show(!0):this.open||this.hidden||this.hide()}show(t=!0){this._return=document.activeElement,this.hidden=!1,this.setAttribute("aria-modal","true"),this._backdrop||(this._backdrop=document.createElement("div"),this._backdrop.className="usa-panel-backdrop",this._backdrop.addEventListener("click",()=>this.close()),this.before(this._backdrop));const e=this.stops()[this.initialStop()];t?(this._pos.jump(this.size()),this._pos.set(e)):this._pos.jump(e),this.setFlag("open",!0),this.focus({preventScroll:!0}),this.emit("open")}initialStop(){return 0}hide(){this._pos.set(1.05*this.size()),this.emit("close")}afterClose(){this.hidden=!0,this._backdrop?.remove(),this._backdrop=null,this._return instanceof HTMLElement&&this._return.focus({preventScroll:!0})}close(){this.setFlag("open",!1)}dragStart(t){if(!("sheet"===e?t.target.closest?.("[data-handle], .usa-sheet-handle")||(this.scrollTop<=0?this:null):this)||t.target.closest?.("input, textarea, select, button, a, [data-no-drag]"))return;const s=this.vertical()?t.clientY:t.clientX;this._pos.stop(),this._drag={id:t.pointerId,start:s,origin:this._pos.value,t:t.timeStamp,last:s,lt:t.timeStamp}}dragMove(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;const s=this.vertical()?t.clientY:t.clientX;let i=e.origin+(s-e.start)*this.dir();i<0&&(i=Ot(i,200)),e.lt=e.t,e.t=t.timeStamp,e.last=s,this._pos.jump(i)}dragEnd(t){const e=this._drag;if(!e||t.pointerId!==e.id)return;this._drag=null;const s=this._pos.value-e.origin,i=Math.max(16,e.t-e.lt)/1e3,a=Math.abs(s)>4?s/Math.max(i,(t.timeStamp-(e.lt||0))/1e3||.1)*.2:0,r=Yt(Xt(this._pos.value,k(a,-3e3,3e3)),[...this.stops(),this.size()]);r>=this.size()-1?this.close():this._pos.set(r),this.emit("snap",{offset:r})}}}function Te(t="usa-drawer"){return wt(),d(t,t=>Pe(t,"drawer"),{id:"sheet",text:$e})}function Le(t="usa-bottom-sheet"){return wt(),d(t,t=>{const e=Pe(t,"sheet");return class extends e{static get observedAttributes(){return["open","snap"]}mount(){if(!this.querySelector(":scope > .usa-sheet-handle")){const t=document.createElement("div");t.className="usa-sheet-handle",t.setAttribute("aria-hidden","true"),this.prepend(t)}super.mount()}size(){return(window.innerHeight||800)*Math.max(...this.fractions())}fractions(){const t=this.str("snap","0.5,0.92").split(",").map(Number).filter(t=>t>0&&t<=1);return t.length?t:[.5,.92]}stops(){const t=this.size(),e=window.innerHeight||800;return this.fractions().map(s=>Math.max(0,t-s*e)).sort((t,e)=>t-e)}initialStop(){const t=this.fractions(),e=t[k(this.num("start",0),0,t.length-1)],s=Math.max(0,this.size()-e*(window.innerHeight||800)),i=this.stops();return Math.max(0,i.indexOf(s))}render(t){this.style.height=`${this.size()}px`,super.render(t)}}},{id:"sheet",text:$e})}function Ne(t="usa-pull-refresh"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._busy=!1,this._ind=null,this._live=null}get refreshing(){return this._busy}draw(t){const e=this.num("threshold",70);this.style.setProperty("--usa-pull",`${t.toFixed(1)}px`),this.style.setProperty("--usa-pull-p",Math.min(1,t/e).toFixed(3)),this.toggleAttribute("data-armed",t>=e&&!this._busy)}mount(){this.querySelector(":scope > .usa-pull-indicator")||(this._ind=document.createElement("div"),this._ind.className="usa-pull-indicator",this._ind.setAttribute("aria-hidden","true"),this._ind.innerHTML='<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="100"/></svg>',this.prepend(this._ind),this._live=document.createElement("span"),this._live.className="usa-sr",this._live.setAttribute("role","status"),this.append(this._live)),this._y=Bt({spring:"stiff",onUpdate:t=>this.draw(t)});let t=null,e=-1;this.listen(this,"pointerdown",s=>{this.flag("disabled")||this._busy||this.scrollTop>0||(t=s.clientY,e=s.pointerId)}),this.listen(this,"pointermove",s=>{if(null===t||s.pointerId!==e)return;const i=s.clientY-t;i<=0||(this._y.jump(this.reduced?0:Ot(i,220)),this.reduced&&i>this.num("threshold",70)&&this.setAttribute("data-armed",""))});const s=s=>{if(null===t||s.pointerId!==e)return;const i=s.clientY-t;t=null;this.hasAttribute("data-armed")||!this.reduced&&this._y.value>=this.num("threshold",70)||this.reduced&&i>this.num("threshold",70)?this.refresh():this._y.set(0)};this.listen(this,"pointerup",s),this.listen(this,"pointercancel",s)}unmount(){this._y?.stop()}refresh(){return this._busy?Promise.resolve():(this._busy=!0,this.removeAttribute("data-armed"),this.setAttribute("data-refreshing",""),this.setAttribute("aria-busy","true"),this._live&&(this._live.textContent=this.str("label","Refreshing")),this._y.set(this.reduced?0:.8*this.num("threshold",70)),new Promise(t=>{let e=!1;const s=()=>{e||(e=!0,this._busy=!1,this.removeAttribute("data-refreshing"),this.removeAttribute("aria-busy"),this._live&&(this._live.textContent=""),this._y.set(0),t())},i=new CustomEvent("usa:refresh",{detail:{done:s},bubbles:!0,cancelable:!0});this.dispatchEvent(i);const a=this.onrefresh;"function"==typeof a&&Promise.resolve(a(i)).then(s,s)}))}},{id:"pull-refresh",text:"usa-pull-refresh{position:relative;display:block;overflow:auto;overscroll-behavior-y:contain;touch-action:pan-x pan-down}usa-pull-refresh>:not(.usa-pull-indicator):not(.usa-sr){transform:translateY(var(--usa-pull,0px))}usa-pull-refresh .usa-pull-indicator{position:absolute;left:50%;top:0;width:34px;height:34px;margin-left:-17px;z-index:2;display:grid;place-items:center;border-radius:50%;background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow);color:var(--usa-accent,#7c5cff);transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(calc(var(--usa-pull-p,0) * 270deg));opacity:var(--usa-pull-p,0);pointer-events:none}usa-pull-refresh .usa-pull-indicator svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}usa-pull-refresh .usa-pull-indicator circle{stroke-dasharray:calc(var(--usa-pull-p,0) * 75) 100}usa-pull-refresh[data-armed] .usa-pull-indicator{background:var(--usa-accent,#7c5cff);color:var(--usa-accent-text,#fff)}usa-pull-refresh[data-refreshing] .usa-pull-indicator{opacity:1;animation:usa-pull-spin 0.8s linear infinite}usa-pull-refresh[data-refreshing] .usa-pull-indicator circle{stroke-dasharray:60 100}@keyframes usa-pull-spin{from{transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(0)}to{transform:translateY(calc(var(--usa-pull,0px) - 40px)) rotate(360deg)}}@media (prefers-reduced-motion:reduce){usa-pull-refresh[data-refreshing] .usa-pull-indicator{animation-duration:2.4s;transform:translateY(8px)}}"})}function Fe(t="usa-fab"){return wt(),d(t,t=>class extends t{static get observedAttributes(){return["direction","gap"]}get open(){return this.flag("open")}set open(t){this.toggle(t)}parts(){const t=Array.from(this.children);return[t[0]||null,t.slice(1)]}offset(t,e){const s=this.num("gap",56)*(t+1);switch(this.str("direction","up")){case"down":return[0,s];case"left":return[-s,0];case"right":return[s,0];case"radial":{const s=Math.PI+(e>1?t/(e-1)*(Math.PI/2):Math.PI/4),i=1.6*this.num("gap",56);return[Math.cos(s)*i,Math.sin(s)*i]}default:return[0,-s]}}mount(){const[t,e]=this.parts();t&&(t.classList.add("usa-fab-main"),t.setAttribute("aria-haspopup","true"),e.forEach(t=>t.classList.add("usa-fab-action")),this.apply(!1),this.listen(t,"click",()=>this.toggle()),this.listen(document,"keydown",e=>{"Escape"===e.key&&this.open&&(this.toggle(!1),t.focus())}),this.listen(document,"pointerdown",t=>this.open&&!this.contains(t.target)&&this.toggle(!1)),this.listen(this,"click",t=>{const e=t.target.closest?.(".usa-fab-action");e&&this.contains(e)&&this.toggle(!1)}))}apply(t){const[e,s]=this.parts();if(!e)return;const i=this.open;e.setAttribute("aria-expanded",String(i)),s.forEach((e,a)=>{const[r,n]=this.offset(a,s.length);e.toggleAttribute("inert",!i),e.setAttribute("aria-hidden",String(!i));const o=i?`translate(${r.toFixed(1)}px, ${n.toFixed(1)}px) scale(1)`:"translate(0, 0) scale(0.4)",u=e.style.transform||"translate(0, 0) scale(0.4)";if(e.style.transform=this.reduced?i?`translate(${r.toFixed(1)}px, ${n.toFixed(1)}px)`:"translate(0, 0)":o,e.style.opacity=i?"1":"0",t&&!this.reduced){const t=It(i?"wobbly":"stiff");this.motion(e,[{transform:u,opacity:i?0:1},{transform:o,opacity:i?1:0}],{...t,delay:35*(i?a:s.length-1-a)})}})}toggle(t){const e=void 0===t?!this.open:t;e!==this.open&&(this.setFlag("open",e),this.apply(!0),this.emit("toggle",{open:e}))}},{id:"fab",text:'usa-fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:900;display:grid;place-items:center}usa-fab[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}usa-fab[position="inline"]{position:relative;right:auto;bottom:auto;display:inline-grid}usa-fab>*{grid-area:1 / 1}usa-fab .usa-fab-main{position:relative;z-index:1;width:56px;height:56px;border-radius:min(var(--usa-radius,14px) * 1.2,28px);border:0;display:grid;place-items:center;font-size:24px;cursor:pointer;background:var(--usa-accent,#7c5cff);color:var(--usa-accent-text,#fff);box-shadow:var(--usa-shadow);transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1)}usa-fab[open] .usa-fab-main{transform:rotate(45deg)}usa-fab .usa-fab-action{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;opacity:0;transform:scale(0.4);will-change:transform,opacity}usa-fab .usa-fab-main:focus-visible,usa-fab .usa-fab-action:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){usa-fab .usa-fab-main{transition:none}}'})}function Re(t="usa-navbar"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0,this._last=0}get hiddenByScroll(){return this.hasAttribute("data-hidden")}mount(){const t=this.str("target"),e=t&&document.querySelector(t)||window,s=()=>e===window?window.scrollY||document.documentElement.scrollTop:e.scrollTop;this._last=s();const i=()=>{this._frame=0;const t=s(),e=t-this._last;this._last=t,this.toggleAttribute("data-scrolled",t>4),t<=this.num("threshold",64)||e<-2?this.show():e>2&&!this.contains(document.activeElement)&&this.hide()};this.listen(e,"scroll",()=>{this._frame||(this._frame=m(i))},{passive:!0}),this.listen(this,"focusin",()=>this.show()),i()}unmount(){b(this._frame),this._frame=0}hide(){this.hiddenByScroll||(this.setAttribute("data-hidden",""),this.emit("hide"))}show(){this.hiddenByScroll&&(this.removeAttribute("data-hidden"),this.emit("show"))}},{id:"navbar",text:"usa-navbar{position:sticky;top:0;z-index:800;display:block;transition:transform 0.35s cubic-bezier(0.22,1,0.36,1),padding 0.25s ease,box-shadow 0.25s ease;will-change:transform}usa-navbar[data-hidden]{transform:translateY(-100%)}usa-navbar[data-scrolled]{box-shadow:var(--usa-shadow,0 6px 20px -10px rgb(0 0 0 / 0.4))}usa-navbar[shrink][data-scrolled]{padding-block:4px}@media (prefers-reduced-motion:reduce){usa-navbar{transition:none}}"})}function Ie(t="usa-slider"){return wt(),d(t,t=>{class e extends t{static get observedAttributes(){return["min","max","disabled","label"]}constructor(){super(),this._internals=null,this._v=0,this._id=-1;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}range(){const t=this.num("min",0);return[t,Math.max(t+1e-9,this.num("max",100)),Math.max(1e-9,this.num("step",1))]}get value(){return this._v}set value(t){this.setValue(t,!1)}fraction(t=this._v){const[e,s]=this.range();return(t-e)/(s-e)}setValue(t,e,s=!0){const[i,a,r]=this.range(),n=k(Math.round((t-i)/r)*r+i,i,a),o=Number(n.toFixed(10)),u=o!==this._v;this._v=o,this.setAttribute("aria-valuenow",String(o)),this.setAttribute("aria-valuetext",String(o)),this._internals?.setFormValue?.(String(o));const l=this.querySelector(".usa-slider-bubble");l&&(l.textContent=String(o)),s?this._pos?.set(this.fraction()):this._pos?.jump(this.fraction()),u&&e&&(this.dispatchEvent(new Event("input",{bubbles:!0})),this.emit("input",{value:o}))}mount(){this.querySelector(":scope > .usa-slider-track")||(this.innerHTML='<span class="usa-slider-track"><span class="usa-slider-fill"></span></span><span class="usa-slider-thumb"><span class="usa-slider-bubble"></span></span>'),this.setAttribute("role","slider"),this.hasAttribute("tabindex")||(this.tabIndex=0);const[t,e]=this.range();this.setAttribute("aria-valuemin",String(t)),this.setAttribute("aria-valuemax",String(e)),this.str("label")&&this.setAttribute("aria-label",this.str("label")),this.toggleAttribute("aria-disabled",this.flag("disabled")),this._pos=Bt({spring:"stiff",onUpdate:t=>this.style.setProperty("--usa-slider",k(t,0,1).toFixed(4))}),this.setValue(this.num("value",t),!1,!1);const s=s=>{const i=this.getBoundingClientRect();return t+k((s.clientX-i.left)/(i.width||1),0,1)*(e-t)};this.listen(this,"pointerdown",t=>{if(!this.flag("disabled")){this._id=t.pointerId;try{this.setPointerCapture?.(t.pointerId)}catch{}this.setAttribute("data-dragging",""),this.setValue(s(t),!0)}}),this.listen(this,"pointermove",t=>t.pointerId===this._id&&this.setValue(s(t),!0));const i=t=>{t.pointerId===this._id&&(this._id=-1,this.removeAttribute("data-dragging"),this.commit())};this.listen(this,"pointerup",i),this.listen(this,"pointercancel",i),this.listen(this,"keydown",t=>{if(this.flag("disabled"))return;const[e,s,i]=this.range(),a={ArrowRight:this._v+i,ArrowUp:this._v+i,ArrowLeft:this._v-i,ArrowDown:this._v-i,PageUp:this._v+10*i,PageDown:this._v-10*i,Home:e,End:s};t.key in a&&(t.preventDefault(),this.setValue(a[t.key],!0),this.commit())})}unmount(){this._pos?.stop()}commit(){this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{value:this._v})}}return e.formAssociated=!0,e},{id:"slider",text:"usa-slider{--usa-slider:0;position:relative;display:block;height:28px;min-width:120px;touch-action:none;cursor:pointer;-webkit-tap-highlight-color:transparent}usa-slider .usa-slider-track{position:absolute;left:0;right:0;top:50%;height:6px;margin-top:-3px;border-radius:3px;background:color-mix(in srgb,currentColor 16%,transparent);overflow:hidden}usa-slider .usa-slider-fill{position:absolute;inset:0;background:var(--usa-accent,#7c5cff);transform-origin:0 50%;transform:scaleX(var(--usa-slider))}usa-slider .usa-slider-thumb{position:absolute;top:50%;left:calc(var(--usa-slider) * 100%);width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgb(0 0 0 / 0.35),0 0 0 4px color-mix(in srgb,var(--usa-accent,#7c5cff) 0%,transparent);transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.2s ease}usa-slider:hover .usa-slider-thumb,usa-slider:focus-visible .usa-slider-thumb{box-shadow:0 1px 4px rgb(0 0 0 / 0.35),0 0 0 6px color-mix(in srgb,var(--usa-accent,#7c5cff) 25%,transparent)}usa-slider[data-dragging] .usa-slider-thumb{transform:scale(1.25)}usa-slider .usa-slider-bubble{position:absolute;bottom:150%;left:50%;transform:translateX(-50%) scale(0.6);opacity:0;padding:2px 8px;border-radius:8px;font:600 12px/1.6 system-ui,sans-serif;color:var(--usa-accent-text,#fff);background:var(--usa-accent,#7c5cff);white-space:nowrap;pointer-events:none;transition:opacity 0.15s ease,transform 0.25s cubic-bezier(0.34,1.56,0.64,1)}usa-slider[bubble][data-dragging] .usa-slider-bubble,usa-slider[bubble]:focus-visible .usa-slider-bubble{opacity:1;transform:translateX(-50%) scale(1)}usa-slider:focus-visible{outline:none}usa-slider[disabled]{opacity:0.45;cursor:not-allowed}@media (prefers-reduced-motion:reduce){usa-slider .usa-slider-thumb,usa-slider .usa-slider-bubble{transition:none}}"})}function qe(t="usa-rating"){return wt(),d(t,t=>{class e extends t{static get observedAttributes(){return["max","icon","readonly"]}constructor(){super(),this._internals=null;try{this._internals=this.attachInternals?.()??null}catch{this._internals=null}}get value(){return k(this.num("value",0),0,this.num("max",5))}set value(t){this.setAttribute("value",String(k(Math.round(t),0,this.num("max",5)))),this.sync()}mount(){const t=this.num("max",5);this.innerHTML=Array.from({length:t},(t,e)=>`<span class="usa-rating-star" data-i="${e+1}" aria-hidden="true">${this.str("icon","★")}</span>`).join(""),this.setAttribute("role","slider"),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(t)),this.setAttribute("aria-label",this.str("label","Rating")),this.flag("readonly")?this.setAttribute("aria-readonly","true"):this.hasAttribute("tabindex")||(this.tabIndex=0),this.sync(),this.flag("readonly")||(this.listen(this,"pointerover",t=>{const e=t.target.closest?.("[data-i]");e&&this.preview(Number(e.dataset.i))}),this.listen(this,"pointerleave",()=>this.preview(0)),this.listen(this,"click",t=>{const e=t.target.closest?.("[data-i]");e&&this.choose(Number(e.dataset.i)===this.value?0:Number(e.dataset.i))}),this.listen(this,"keydown",e=>{const s=this.value,i={ArrowRight:s+1,ArrowUp:s+1,ArrowLeft:s-1,ArrowDown:s-1,Home:0,End:t},a=/^[0-9]$/.test(e.key)?Number(e.key):i[e.key];void 0!==a&&(e.preventDefault(),this.choose(k(a,0,t)))}))}preview(t){this.querySelectorAll("[data-i]").forEach(e=>e.toggleAttribute("data-preview",t>0&&Number(e.dataset.i)<=t)),this.toggleAttribute("data-previewing",t>0)}sync(){const t=this.value;this.setAttribute("aria-valuenow",String(t)),this.setAttribute("aria-valuetext",`${t} of ${this.num("max",5)}`),this._internals?.setFormValue?.(String(t)),this.querySelectorAll("[data-i]").forEach(e=>e.toggleAttribute("data-on",Number(e.dataset.i)<=t))}choose(t){if(t===this.value)return;this.value=t;const e=this.querySelector(`[data-i="${t}"]`);e&&!this.reduced&&this.motion(e,[{transform:"scale(0.5) rotate(-20deg)"},{transform:"scale(1) rotate(0)"}],It("bouncy")),this.dispatchEvent(new Event("change",{bubbles:!0})),this.emit("change",{value:t})}}return e.formAssociated=!0,e},{id:"rating",text:"usa-rating{--usa-rating-on:#f5b301;display:inline-flex;gap:2px;font-size:1.5em;line-height:1;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}usa-rating[readonly]{cursor:default}usa-rating .usa-rating-star{display:inline-block;color:color-mix(in srgb,currentColor 22%,transparent);transition:color 0.15s ease,transform 0.2s ease}usa-rating .usa-rating-star[data-on]{color:var(--usa-rating-on)}usa-rating[data-previewing] .usa-rating-star{color:color-mix(in srgb,currentColor 22%,transparent)}usa-rating[data-previewing] .usa-rating-star[data-preview]{color:var(--usa-rating-on);transform:scale(1.12)}usa-rating:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px;border-radius:6px}@media (prefers-reduced-motion:reduce){usa-rating .usa-rating-star{transition:none;transform:none !important}}"})}function Be(t="usa-tooltip"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._tip=null}static get observedAttributes(){return["text"]}mount(){const t=this.firstElementChild||this,e=document.createElement("span");e.className="usa-tooltip-bubble usa-surface",e.setAttribute("role","tooltip"),e.id=Se("usa-tip"),e.textContent=this.str("text"),e.hidden=!0,this.append(e),this._tip=e,t.setAttribute("aria-describedby",e.id);this.listen(this,"pointerenter",()=>{clearTimeout(this._t),this._t=setTimeout(()=>this.show(),this.num("delay",300))}),this.listen(this,"pointerleave",()=>this.hide()),this.listen(this,"focusin",()=>this.show()),this.listen(this,"focusout",()=>this.hide()),this.listen(document,"keydown",t=>"Escape"===t.key&&this.hide()),this.onCleanup(()=>{clearTimeout(this._t),e.remove(),t.removeAttribute("aria-describedby")})}show(){const t=this._tip;if(!t||!t.hidden||!this.str("text"))return;clearTimeout(this._t),t.hidden=!1;const e={top:[0,6],bottom:[0,-6],left:[6,0],right:[-6,0]}[Ce(t,this.firstElementChild||this,this.str("placement","top"))];this.motion(t,this.reduced?[{opacity:0},{opacity:1}]:[{opacity:0,transform:`translate(${e[0]}px, ${e[1]}px) scale(0.85)`},{opacity:1,transform:"none"}],this.reduced?{duration:120}:It("stiff"))}hide(){clearTimeout(this._t),this._tip&&(this._tip.hidden=!0)}},{id:"tooltip",text:"usa-tooltip{display:inline-block}usa-tooltip .usa-tooltip-bubble{position:fixed;z-index:2000;max-width:260px;padding:6px 10px;font-size:0.85rem;line-height:1.4;pointer-events:none;--usa-radius:8px;white-space:normal}usa-tooltip .usa-tooltip-bubble[hidden]{display:none}"})}function Xe(t="usa-popover"){return wt(),d(t,t=>class extends t{get open(){return this.flag("open")}set open(t){this.toggle(t)}parts(){return[this.firstElementChild,this.querySelector(":scope > [data-popover]")]}mount(){const[t,e]=this.parts();t&&e&&t!==e&&(e.id||(e.id=Se("usa-pop")),e.classList.add("usa-surface","usa-popover-panel"),e.hasAttribute("role")||e.setAttribute("role","dialog"),e.tabIndex=-1,t.setAttribute("aria-controls",e.id),t.setAttribute("aria-haspopup","dialog"),this.render(!1),this.listen(t,"click",()=>this.toggle()),this.listen(document,"keydown",e=>{"Escape"===e.key&&this.open&&(this.toggle(!1),t.focus())}),this.listen(document,"pointerdown",t=>this.open&&!this.contains(t.target)&&this.toggle(!1)),this.listen(window,"resize",()=>this.open&&Ce(e,t,this.str("placement","bottom"))))}render(t){const[e,s]=this.parts();if(!e||!s)return;if(e.setAttribute("aria-expanded",String(this.open)),s.hidden=!this.open,!this.open)return;const i=Ce(s,e,this.str("placement","bottom"));if(!t)return;const a={top:"50% 100%",bottom:"50% 0",left:"100% 50%",right:"0 50%"}[i];s.style.transformOrigin=a,this.motion(s,this.reduced?[{opacity:0},{opacity:1}]:[{opacity:0,transform:"scale(0.9)"},{opacity:1,transform:"none"}],this.reduced?{duration:120}:It("wobbly")),s.focus({preventScroll:!0})}toggle(t){const e=void 0===t?!this.open:t;e!==this.open&&(this.setFlag("open",e),this.render(!0),this.emit(e?"open":"close"))}},{id:"popover",text:"usa-popover{display:inline-block}usa-popover .usa-popover-panel{position:fixed;z-index:1500;min-width:180px;max-width:min(92vw,360px);padding:12px 14px;outline:none}usa-popover .usa-popover-panel[hidden]{display:none}"})}function Ye(t="usa-badge"){return wt(),d(t,t=>class extends t{constructor(){super(...arguments),this._el=null}static get observedAttributes(){return["value","max","dot","label"]}get value(){return this.str("value")}set value(t){this.setAttribute("value",String(t))}mount(){this._el&&this._el.isConnected||(this._el=document.createElement("span"),this._el.className="usa-badge-count",this.append(this._el)),this.sync(!1)}changed(t){this.sync("value"===t)}sync(t){const e=this._el;if(!e)return;const s=this.value,i=Number(s),a=this.num("max",99),r=this.flag("dot")?"":""!==s&&Number.isFinite(i)&&i>a?`${a}+`:s,n=!this.flag("dot")&&(""===s||"0"===s&&!this.flag("show-zero"));e.textContent=r,e.hidden=n,this.toggleAttribute("data-dot",this.flag("dot"));const o=this.str("label",s?`${s} new`:"New");e.setAttribute("aria-label",o.replace("{n}",s)),e.setAttribute("role","status"),!t||n||this.reduced||this.motion(e,[{transform:"scale(0.4)"},{transform:"scale(1)"}],It("bouncy"))}},{id:"badge",text:'usa-badge{position:relative;display:inline-block}usa-badge .usa-badge-count{position:absolute;top:0;right:0;transform-origin:50% 50%;translate:45% -45%;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;display:grid;place-items:center;font:700 11px/1 system-ui,sans-serif;color:var(--usa-accent-text,#fff);background:var(--usa-badge-color,#e5484d);box-shadow:0 0 0 2px var(--usa-badge-ring,Canvas);pointer-events:none}usa-badge[data-dot] .usa-badge-count{min-width:10px;width:10px;height:10px;padding:0}usa-badge .usa-badge-count[hidden]{display:none}usa-badge[pulse] .usa-badge-count::after{content:"";position:absolute;inset:0;border-radius:inherit;background:inherit;animation:usa-badge-pulse 1.6s ease-out infinite;z-index:-1}@keyframes usa-badge-pulse{from{transform:scale(1);opacity:0.6}to{transform:scale(2.4);opacity:0}}@media (prefers-reduced-motion:reduce){usa-badge[pulse] .usa-badge-count::after{animation:none}}'})}function Oe(t="usa-avatar-stack"){return wt(),d(t,t=>class extends t{static get observedAttributes(){return["max","size","overlap"]}mount(){this.querySelector(":scope > .usa-avatar-more")?.remove();const t=Array.from(this.children),e=Math.max(1,this.num("max",5));if(this.style.setProperty("--usa-avatar-size",`${this.num("size",36)}px`),this.style.setProperty("--usa-avatar-overlap",String(this.num("overlap",.35))),this.setAttribute("role","group"),this.setAttribute("aria-label",this.str("label",`${t.length} people`)),t.forEach((s,i)=>{s.classList.add("usa-avatar"),s.hidden=i>=e,s.style.setProperty("--i",String(i)),s.style.zIndex=String(t.length-i)}),t.length>e){const s=document.createElement("span");s.className="usa-avatar usa-avatar-more",s.textContent="+"+(t.length-e),s.style.setProperty("--i",String(e)),s.setAttribute("aria-label",`and ${t.length-e} more`),this.append(s)}}},{id:"avatar-stack",text:"usa-avatar-stack{--usa-avatar-size:36px;--usa-avatar-overlap:0.35;display:inline-flex;align-items:center;padding-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap))}usa-avatar-stack .usa-avatar{width:var(--usa-avatar-size);height:var(--usa-avatar-size);border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px var(--usa-avatar-ring,Canvas);margin-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap) * -1);transition:margin 0.45s cubic-bezier(0.34,1.56,0.64,1),transform 0.3s cubic-bezier(0.34,1.56,0.64,1);display:grid;place-items:center;font:700 12px/1 system-ui,sans-serif;background:color-mix(in srgb,currentColor 14%,transparent)}usa-avatar-stack .usa-avatar[hidden]{display:none}usa-avatar-stack:hover .usa-avatar,usa-avatar-stack:focus-within .usa-avatar{margin-inline-start:4px}usa-avatar-stack .usa-avatar:hover{transform:translateY(-4px) scale(1.08)}@media (prefers-reduced-motion:reduce){usa-avatar-stack .usa-avatar{transition:none}usa-avatar-stack:hover .usa-avatar,usa-avatar-stack:focus-within .usa-avatar{margin-inline-start:calc(var(--usa-avatar-size) * var(--usa-avatar-overlap) * -1)}usa-avatar-stack .usa-avatar:hover{transform:none}}"})}function De(){ze(),Te(),Le(),Ne(),Fe(),Re(),Ie(),qe(),Be(),Xe(),Ye(),Oe()}function He(t="usa-cursor"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["mode","size","color","hide-native"]}get active(){return this.hasAttribute("data-active")}mount(){this.setAttribute("aria-hidden","true");const t="function"!=typeof matchMedia||matchMedia("(pointer: fine)").matches||matchMedia("(hover: hover)").matches;if(this.reduced||!t)return;const e=this.str("mode","dot"),s="trail"===e?8:1;this.innerHTML=Array.from({length:s},(t,s)=>`<span class="usa-cursor-${"glow"===e?"glow":"ring"}" style="--i:${s}"></span>`).join("")+("glow"===e?"":'<span class="usa-cursor-dot"></span>'),this.str("color")&&this.style.setProperty("--usa-cursor-color",this.str("color")),this.style.setProperty("--usa-cursor-size",`${this.num("size",28)}px`),this.flag("hide-native")&&document.documentElement.classList.add("usa-cursor-none"),this.onCleanup(()=>document.documentElement.classList.remove("usa-cursor-none"));const i=Array.from(this.querySelectorAll(".usa-cursor-ring, .usa-cursor-glow")),a=this.querySelector(".usa-cursor-dot"),r=i.map(()=>({x:-100,y:-100}));let n=-100,o=-100,u=null;const l=this.str("targets",'a, button, [role="button"], [data-cursor], input, select, textarea, label'),c=()=>{this._frame=0;let t=n,s=o;r.forEach((a,r)=>{const n="trail"===e?.35-.03*r:"glow"===e?.12:.22,o=u&&0===r?u.left+u.width/2:t,l=u&&0===r?u.top+u.height/2:s;a.x+=(o-a.x)*n,a.y+=(l-a.y)*n,i[r].style.transform=`translate3d(${a.x.toFixed(1)}px, ${a.y.toFixed(1)}px, 0)`,t=a.x,s=a.y}),u&&i[0]?(i[0].style.width=`${u.width+12}px`,i[0].style.height=`${u.height+12}px`):i[0]&&(i[0].style.width=i[0].style.height=""),a&&(a.style.transform=`translate3d(${n}px, ${o}px, 0)`);r.some((t,e)=>Math.abs(t.x-(0===e&&u?u.left+u.width/2:n))>.3)&&(this._frame=m(c))},h=()=>{this._frame||(this._frame=m(c))};this.listen(document,"pointermove",t=>{if("touch"!==t.pointerType){if(n=t.clientX,o=t.clientY,this.setAttribute("data-active",""),"magnetic"===e){const e=t.target?.closest?.(l);u=e?e.getBoundingClientRect():null,this.toggleAttribute("data-snapped",!!e)}else this.toggleAttribute("data-hover",!!t.target?.closest?.(l));h()}},{passive:!0}),this.listen(document,"pointerdown",()=>this.setAttribute("data-down","")),this.listen(document,"pointerup",()=>this.removeAttribute("data-down")),this.listen(document.documentElement,"pointerleave",()=>this.removeAttribute("data-active"))}unmount(){b(this._frame),this._frame=0,this.removeAttribute("data-active")}},{id:"cursor",text:'usa-cursor{--usa-cursor-color:var(--usa-accent,#7c5cff);--usa-cursor-size:28px;position:fixed;inset:0;pointer-events:none;z-index:2147483600;opacity:0;transition:opacity 0.2s ease;contain:strict}usa-cursor[data-active]{opacity:1}usa-cursor .usa-cursor-ring{position:absolute;left:0;top:0;width:var(--usa-cursor-size);height:var(--usa-cursor-size);margin:calc(var(--usa-cursor-size) / -2) 0 0 calc(var(--usa-cursor-size) / -2);border:1.5px solid var(--usa-cursor-color);border-radius:999px;box-sizing:border-box;transition:width 0.25s cubic-bezier(0.34,1.56,0.64,1),height 0.25s cubic-bezier(0.34,1.56,0.64,1),margin 0.25s ease,border-radius 0.25s ease,background-color 0.2s ease;will-change:transform}usa-cursor[mode="trail"] .usa-cursor-ring{border:0;background:var(--usa-cursor-color);width:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04));height:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04));margin:calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04) / -2) 0 0 calc(var(--usa-cursor-size) * (0.45 - var(--i) * 0.04) / -2);opacity:calc(1 - var(--i) * 0.11)}usa-cursor[data-hover] .usa-cursor-ring:first-child{width:calc(var(--usa-cursor-size) * 1.6);height:calc(var(--usa-cursor-size) * 1.6);margin:calc(var(--usa-cursor-size) * -0.8) 0 0 calc(var(--usa-cursor-size) * -0.8);background:color-mix(in srgb,var(--usa-cursor-color) 15%,transparent)}usa-cursor[data-snapped] .usa-cursor-ring{border-radius:12px;background:color-mix(in srgb,var(--usa-cursor-color) 12%,transparent);translate:-50% -50%;margin:0}usa-cursor[data-down] .usa-cursor-ring:first-child{scale:0.8}usa-cursor .usa-cursor-dot{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:var(--usa-cursor-color)}usa-cursor[data-snapped] .usa-cursor-dot{opacity:0}usa-cursor .usa-cursor-glow{position:absolute;left:-200px;top:-200px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--usa-cursor-color) 35%,transparent),transparent 65%);mix-blend-mode:screen}.usa-cursor-none,.usa-cursor-none *{cursor:none !important}@media (pointer:coarse),(prefers-reduced-motion:reduce){usa-cursor{display:none}.usa-cursor-none,.usa-cursor-none *{cursor:auto !important}}'})}function je(t,e={}){if("undefined"==typeof window)return Promise.resolve();const s=e.target||null,i=s?s.scrollTop:window.scrollY;let a="number"==typeof t?t:0;if("number"!=typeof t){const e="string"==typeof t?document.querySelector(t):t;if(!e)return Promise.resolve();const r=e.getBoundingClientRect().top;a=i+r-(s?s.getBoundingClientRect().top:0)}a=Math.max(0,a-(e.offset??0));const r=t=>s?s.scrollTop=t:window.scrollTo(0,t);if(o())return r(a),Promise.resolve();const{values:n,duration:u}=Ft(e.preset||"slow"),l=g();return new Promise(t=>{const e=()=>{const s=Math.min(1,(g()-l)/Math.max(1,u)),o=n[Math.min(n.length-1,Math.round(s*(n.length-1)))];r(i+(a-i)*o),s<1?m(e):t()};m(e)})}function Ve(t="usa-fullpage"){return d(t,t=>class extends t{constructor(){super(...arguments),this._i=0}get index(){return this._i}sections(){return Array.from(this.children).filter(t=>!t.classList.contains("usa-fullpage-dots"))}mount(){this.hasAttribute("tabindex")||(this.tabIndex=0);const t=this.sections();t.forEach((t,e)=>{t.classList.add("usa-fullpage-section"),t.setAttribute("data-index",String(e))});let e=null;if(this.flag("dots")&&(e=document.createElement("nav"),e.className="usa-fullpage-dots",e.setAttribute("aria-label","Sections"),t.forEach((t,s)=>{const i=document.createElement("button");i.type="button",i.setAttribute("aria-label",t.getAttribute("aria-label")||t.querySelector("h1,h2,h3")?.textContent?.trim()||`Section ${s+1}`),i.addEventListener("click",()=>this.go(s)),e.append(i)}),this.append(e),this.onCleanup(()=>e?.remove())),this.mark(0),"undefined"!=typeof IntersectionObserver){const e=new IntersectionObserver(t=>{for(const e of t)e.isIntersecting&&e.intersectionRatio>=.6&&this.mark(Number(e.target.dataset.index))},{root:this,threshold:[.6]});t.forEach(t=>e.observe(t)),this.onCleanup(()=>e.disconnect())}this.listen(this,"keydown",t=>{const e=this.sections().length,s={PageDown:this._i+1,ArrowDown:this._i+1," ":this._i+1,PageUp:this._i-1,ArrowUp:this._i-1,Home:0,End:e-1};"x"===this.str("axis")&&Object.assign(s,{ArrowRight:this._i+1,ArrowLeft:this._i-1}),t.key in s&&!t.target.closest?.("input, textarea, select")&&(t.preventDefault(),this.go(s[t.key]))})}mark(t){t===this._i&&this.hasAttribute("data-ready")||(this.setAttribute("data-ready",""),this._i=t,this.sections().forEach((e,s)=>e.toggleAttribute("data-current",s===t)),this.querySelectorAll(".usa-fullpage-dots button").forEach((e,s)=>s===t?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")),this.emit("section",{index:t}))}go(t){const e=this.sections(),s=e[Math.max(0,Math.min(e.length-1,t))];s&&("x"===this.str("axis")?this.scrollTo({left:s.offsetLeft,behavior:this.reduced?"auto":"smooth"}):je(s.offsetTop,{target:this,preset:"stiff"}),this.mark(e.indexOf(s)))}next(){this.go(this._i+1)}prev(){this.go(this._i-1)}},{id:"fullpage",text:'usa-fullpage{position:relative;display:block;height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;outline:none}usa-fullpage[axis="x"]{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}usa-fullpage .usa-fullpage-section{box-sizing:border-box;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}usa-fullpage[axis="x"] .usa-fullpage-section{flex:0 0 100%}usa-fullpage .usa-fullpage-dots{position:sticky;float:right;top:50%;margin-right:16px;transform:translateY(-50%);display:grid;gap:10px;z-index:5}usa-fullpage .usa-fullpage-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,currentColor 35%,transparent);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1),background-color 0.2s ease}usa-fullpage .usa-fullpage-dots button[aria-current]{background:var(--usa-accent,#7c5cff);transform:scale(1.5)}'})}function Ue(t="usa-loading-bar"){return d(t,t=>class extends t{constructor(){super(...arguments),this._p=0}get progress(){return this._p}mount(){this.querySelector(".usa-loading-bar-fill")||(this.innerHTML='<span class="usa-loading-bar-fill"></span>'),this.setAttribute("role","progressbar"),this.setAttribute("aria-label",this.str("label","Loading")),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax","100"),this.str("color")&&this.style.setProperty("--usa-loading-color",this.str("color")),this.style.setProperty("--usa-loading-h",`${this.num("height",3)}px`),this.paint()}unmount(){clearInterval(this._t),clearTimeout(this._h)}paint(){this.style.setProperty("--usa-loading",this._p.toFixed(4)),this.setAttribute("aria-valuenow",String(Math.round(100*this._p)))}start(){clearTimeout(this._h),clearInterval(this._t),this.setAttribute("data-active",""),this.setAttribute("aria-busy","true"),this._p=Math.max(this._p,.08),this.paint(),this._t=setInterval(()=>{this._p+=(.9-this._p)*(this.reduced?.5:.08),this.paint()},200)}set(t){this.setAttribute("data-active",""),this._p=Math.max(0,Math.min(1,t)),this.paint()}done(){clearInterval(this._t),this._p=1,this.paint(),this.removeAttribute("aria-busy"),this._h=setTimeout(()=>{this.removeAttribute("data-active"),this._h=setTimeout(()=>{this._p=0,this.paint()},300)},250)}},{id:"loading-bar",text:'usa-loading-bar{--usa-loading:0;--usa-loading-h:3px;--usa-loading-color:var(--usa-accent,#7c5cff);position:fixed;left:0;right:0;top:0;height:var(--usa-loading-h);z-index:2147483500;pointer-events:none;opacity:0;transition:opacity 0.3s ease}usa-loading-bar[position="bottom"]{top:auto;bottom:0}usa-loading-bar[data-active]{opacity:1}usa-loading-bar .usa-loading-bar-fill{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--usa-loading));background:var(--usa-loading-color);box-shadow:0 0 10px var(--usa-loading-color);transition:transform 0.2s ease-out}@media (prefers-reduced-motion:reduce){usa-loading-bar .usa-loading-bar-fill{transition:none}}'})}function We(){if("undefined"==typeof document)return null;let t=document.querySelector("usa-loading-bar");return t||(Ue(),t=document.createElement("usa-loading-bar"),document.body.appendChild(t)),"function"==typeof t.start?t:null}const Ge={start:()=>We()?.start(),set:t=>We()?.set(t),done:()=>We()?.done(),async track(t){We()?.start();try{return await("function"==typeof t?t():t)}finally{We()?.done()}}};function Ke(t="usa-back-to-top"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}get visible(){return this.hasAttribute("data-visible")}mount(){this.querySelector("button")||(this.innerHTML=`<button type="button" aria-label="${this.str("label","Back to top")}"><svg viewBox="0 0 36 36" aria-hidden="true"><circle cx="18" cy="18" r="16" pathLength="100"/><path d="M12 20l6-6 6 6"/></svg></button>`);const t=this.querySelector("button"),e=()=>{this._frame=0;const t=window.scrollY||document.documentElement.scrollTop||0,e=Math.max(1,(document.documentElement.scrollHeight||0)-(window.innerHeight||0));this.toggleAttribute("data-visible",t>this.num("offset",300)),this.style.setProperty("--usa-btt",Math.min(1,t/e).toFixed(4))};this.listen(window,"scroll",()=>{this._frame||(this._frame=m(e))},{passive:!0}),this.listen(t,"click",async()=>{await je(0,{preset:"slow"});const t=document.querySelector(this.str("focus-target","#main"))||document.body;t.hasAttribute("tabindex")||t===document.body||(t.tabIndex=-1),t.focus?.({preventScroll:!0})}),e()}unmount(){b(this._frame),this._frame=0}},{id:"back-to-top",text:'usa-back-to-top{--usa-btt:0;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:850;opacity:0;transform:translateY(16px) scale(0.8);pointer-events:none;transition:opacity 0.25s ease,transform 0.4s cubic-bezier(0.34,1.56,0.64,1)}usa-back-to-top[position="bottom-left"]{right:auto;left:max(20px,env(safe-area-inset-left))}usa-back-to-top[data-visible]{opacity:1;transform:none;pointer-events:auto}usa-back-to-top button{width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;color:var(--usa-accent,#7c5cff);background:var(--usa-surface,#1b1e27);box-shadow:var(--usa-shadow,0 8px 24px -10px rgb(0 0 0 / 0.5))}usa-back-to-top svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}usa-back-to-top circle{stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--usa-btt) * 100);transform:rotate(-90deg);transform-origin:50% 50%;opacity:0.85}usa-back-to-top button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:3px}@media (prefers-reduced-motion:reduce){usa-back-to-top{transition:opacity 0.2s ease;transform:none}}'})}function Ze(t="usa-ambient"){return d(t,t=>class extends t{constructor(){super(...arguments),this._frame=0}static get observedAttributes(){return["effect","density","color"]}mount(){this.setAttribute("aria-hidden","true");const t=this.str("effect","particles");if(this.style.setProperty("--usa-ambient-opacity",String(this.num("opacity",.6))),this.replaceChildren(),"noise"===t)return;if("gradient"===t){const t=()=>{this._frame=0;const t=Math.max(1,document.documentElement.scrollHeight-window.innerHeight);this.style.setProperty("--usa-ambient-p",((window.scrollY||0)/t).toFixed(4))};return this.reduced||this.listen(window,"scroll",()=>!this._frame&&(this._frame=m(t)),{passive:!0}),void t()}const e=document.createElement("canvas");this.append(e);const s=e.getContext?.("2d");if(!s)return;const i=Math.min(2,window.devicePixelRatio||1);let a=0,r=0;const n=this.str("color","snow"===t||"stars"===t?"#ffffff":"#a78bfa"),o=this.num("speed",1),u=()=>{a=window.innerWidth||800,r=window.innerHeight||600,e.width=a*i,e.height=r*i,e.style.width=`${a}px`,e.style.height=`${r}px`,s.setTransform(i,0,0,i,0,0)};u();const l="stars"===t?140:"snow"===t?90:60,c=Math.round(l*Math.max(.2,Math.min(3,this.num("density",1)))*Math.min(1.5,a*r/1024e3)),h=Array.from({length:c},()=>({x:Math.random()*a,y:Math.random()*r,r:"stars"===t?1.3*Math.random()+.2:"snow"===t?2.6*Math.random()+.8:2*Math.random()+.6,vx:.25*(Math.random()-.5),vy:"snow"===t?.8*Math.random()+.4:.25*(Math.random()-.5),t:Math.random()*Math.PI*2}));s.fillStyle=n;const d=e=>{s.clearRect(0,0,a,r);for(const i of h)e&&(i.t+=.02*o,i.x+=(i.vx+("snow"===t?.3*Math.sin(i.t):0))*o,i.y+=i.vy*o,i.y>r+5&&(i.y=-5),i.y<-5&&(i.y=r+5),i.x>a+5&&(i.x=-5),i.x<-5&&(i.x=a+5)),s.globalAlpha="stars"===t?.35+.65*Math.abs(Math.sin(i.t)):.85,s.beginPath(),s.arc(i.x,i.y,i.r,0,2*Math.PI),s.fill()};if(this.listen(window,"resize",()=>{u(),s.fillStyle=n,d(!1)}),this.reduced)return void d(!1);const p=()=>{document.hidden||d(!0),this._frame=m(p)};this._frame=m(p)}unmount(){b(this._frame),this._frame=0}},{id:"ambient",text:"usa-ambient{--usa-ambient-opacity:0.6;--usa-ambient-p:0;position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--usa-ambient-opacity);contain:strict}usa-ambient[layer=\"front\"]{z-index:2147483000}usa-ambient canvas{display:block}usa-ambient[effect=\"noise\"]{opacity:calc(var(--usa-ambient-opacity) * 0.25);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\");animation:usa-ambient-grain 0.6s steps(4) infinite;mix-blend-mode:overlay}@keyframes usa-ambient-grain{25%{background-position:-40px 20px}50%{background-position:30px -50px}75%{background-position:-20px -30px}}usa-ambient[effect=\"gradient\"]{background:linear-gradient(135deg,hsl(calc(250 + var(--usa-ambient-p) * 140) 85% 60%),hsl(calc(190 + var(--usa-ambient-p) * 160) 85% 55%) 50%,hsl(calc(320 + var(--usa-ambient-p) * 90) 85% 62%))}@media (prefers-reduced-motion:reduce){usa-ambient[effect=\"noise\"]{animation:none}}"})}function Je(t="usa-splash"){return d(t,t=>class extends t{constructor(){super(...arguments),this._t0=0,this._gone=!1}mount(){this._t0=Date.now(),this.setAttribute("role","status"),this.setAttribute("aria-label",this.str("label","Loading")),document.body?.setAttribute("aria-busy","true"),this.flag("manual")||("complete"===document.readyState?this.done():this.listen(window,"load",()=>this.done(),{once:!0}))}async done(){if(this._gone)return;this._gone=!0;const t=Math.max(0,this.num("min",600)-(Date.now()-this._t0));t&&await new Promise(e=>setTimeout(e,t));const e=this.reduced?"fade":this.str("exit","fade"),s={fade:[{opacity:1},{opacity:0}],scale:[{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(1.15)"}],"slide-up":[{transform:"translateY(0)"},{transform:"translateY(-100%)"}],circle:[{clipPath:"circle(150% at 50% 50%)"},{clipPath:"circle(0% at 50% 50%)"}]},i=this.motion(this,s[e]||s.fade,{duration:this.reduced?200:550,easing:"cubic-bezier(0.65, 0, 0.35, 1)",fill:"forwards"});await(i?.finished.catch(()=>{})),document.body?.removeAttribute("aria-busy"),this.hidden=!0,this.emit("done")}},{id:"splash",text:"usa-splash{position:fixed;inset:0;z-index:2147483400;display:grid;place-items:center;background:var(--usa-splash-bg,var(--usa-surface,#0b0d12));color:var(--usa-text,#fff)}usa-splash[hidden]{display:none}"})}function Qe(t="usa-auto-skeleton"){return d(t,t=>class extends t{static get observedAttributes(){return["loading"]}get loading(){return this.flag("loading")}set loading(t){this.setFlag("loading",t)}mount(){this.sync(!1)}changed(){this.sync(!0)}sync(t){this.loading?this.setAttribute("aria-busy","true"):(this.removeAttribute("aria-busy"),t&&!this.reduced&&this.motion(this,[{opacity:.4},{opacity:1}],{duration:300,easing:"ease-out"}))}},{id:"auto-skeleton",text:"usa-auto-skeleton{display:block;--usa-skel-base:color-mix(in srgb,currentColor 10%,transparent);--usa-skel-shine:color-mix(in srgb,currentColor 18%,transparent)}usa-auto-skeleton[loading] :is(h1,h2,h3,h4,h5,h6,p,li,span,a,button,label,img,svg,video,input,select,textarea,td,th,figcaption,blockquote,[data-skeleton]):not([data-no-skeleton]):not(:has(:is(h1,h2,h3,h4,h5,h6,p,li,img,button,input))){color:transparent !important;border-color:transparent !important;box-shadow:none !important;user-select:none;pointer-events:none;background:linear-gradient(90deg,var(--usa-skel-base) 25%,var(--usa-skel-shine) 50%,var(--usa-skel-base) 75%) 0 0 / 300% 100% !important;border-radius:6px;animation:usa-skel-shimmer 1.4s ease-in-out infinite}usa-auto-skeleton[loading] :is(img,svg,video){opacity:0}usa-auto-skeleton[loading] :is(img,svg,video):not([data-no-skeleton]){opacity:1;object-position:-9999px}@keyframes usa-skel-shimmer{from{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){usa-auto-skeleton[loading] *{animation:none !important}}"})}const ts=["off","low","normal","high"],es="usa:motion";function ss(t,e=!1){if(ts.includes(t)){if(i({motionIntensity:t}),e)try{localStorage.setItem(es,t)}catch{}"undefined"!=typeof document&&document.dispatchEvent(new CustomEvent("usa:motion",{detail:{level:t}}))}}function is(){try{const t=localStorage.getItem(es);t&&ts.includes(t)&&ss(t)}catch{}return a()}function as(t="usa-motion-switch"){return d(t,t=>class extends t{get value(){return a()}set value(t){ss(t,!0),this.sync()}mount(){is();const t=this.str("labels","Off,Low,Normal,High").split(",");this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.str("label","Motion")),this.innerHTML=ts.map((e,s)=>`<button type="button" role="radio" data-level="${e}">${t[s]||e}</button><span hidden></span>`.replace("<span hidden></span>","")).join("")+'<span class="usa-motion-thumb" aria-hidden="true"></span>',this.listen(this,"click",t=>{const e=t.target.closest?.("[data-level]");e&&this.pick(e.dataset.level)}),this.listen(this,"keydown",t=>{const e=ts.indexOf(this.value),s="ArrowRight"===t.key||"ArrowDown"===t.key?e+1:"ArrowLeft"===t.key||"ArrowUp"===t.key?e-1:null;null!==s&&(t.preventDefault(),this.pick(ts[(s+ts.length)%ts.length]),this.querySelector('[aria-checked="true"]')?.focus())}),this.listen(document,"usa:motion",()=>this.sync()),this.sync()}pick(t){this.value=t,this.emit("change",{level:t})}sync(){const t=this.value,e=ts.indexOf(t);this.style.setProperty("--usa-motion-i",String(e)),this.querySelectorAll("[data-level]").forEach(e=>{const s=e.dataset.level===t;e.setAttribute("aria-checked",String(s)),e.tabIndex=s?0:-1})}},{id:"motion-switch",text:'usa-motion-switch{--usa-motion-i:2;position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;border-radius:999px;background:color-mix(in srgb,currentColor 9%,transparent);isolation:isolate}usa-motion-switch button{position:relative;z-index:1;padding:6px 12px;border:0;background:none;color:inherit;font:inherit;font-size:0.85em;border-radius:999px;cursor:pointer}usa-motion-switch button[aria-checked="true"]{color:var(--usa-accent-text,#fff)}usa-motion-switch button:focus-visible{outline:2px solid var(--usa-accent,#7c5cff);outline-offset:1px}usa-motion-switch .usa-motion-thumb{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / 4);border-radius:999px;background:var(--usa-accent,#7c5cff);transform:translateX(calc(var(--usa-motion-i) * 100%));transition:transform 0.4s cubic-bezier(0.34,1.4,0.64,1)}@media (prefers-reduced-motion:reduce){usa-motion-switch .usa-motion-thumb{transition:none}}'})}var rs='::view-transition-group(root){animation-duration:var(--usa-pt-duration,600ms)}html[data-usa-pt] ::view-transition-old(root),html[data-usa-pt] ::view-transition-new(root){animation-duration:var(--usa-pt-duration,600ms);animation-timing-function:cubic-bezier(0.22,1,0.36,1);mix-blend-mode:normal}html[data-usa-pt="slide"] ::view-transition-old(root),html[data-usa-pt="slide-left"] ::view-transition-old(root){animation-name:usa-pt-out-left}html[data-usa-pt="slide"] ::view-transition-new(root),html[data-usa-pt="slide-left"] ::view-transition-new(root){animation-name:usa-pt-in-right}html[data-usa-pt="slide-right"] ::view-transition-old(root){animation-name:usa-pt-out-right}html[data-usa-pt="slide-right"] ::view-transition-new(root){animation-name:usa-pt-in-left}html[data-usa-pt="slide-up"] ::view-transition-old(root){animation-name:usa-pt-out-up}html[data-usa-pt="slide-up"] ::view-transition-new(root){animation-name:usa-pt-in-up}html[data-usa-pt="zoom"] ::view-transition-old(root){animation-name:usa-pt-zoom-out}html[data-usa-pt="zoom"] ::view-transition-new(root){animation-name:usa-pt-zoom-in}html[data-usa-pt="circle"] ::view-transition-old(root){animation:none}html[data-usa-pt="circle"] ::view-transition-new(root){animation-name:usa-pt-circle}html[data-usa-pt="blinds"] ::view-transition-old(root){animation:none}html[data-usa-pt="blinds"] ::view-transition-new(root){animation-name:usa-pt-blinds;-webkit-mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh);mask-image:repeating-linear-gradient(to bottom,#000 0 var(--usa-blind),transparent var(--usa-blind) 10vh)}html[data-usa-pt="pixel"] ::view-transition-old(root){animation-name:usa-pt-pixel-out;animation-timing-function:steps(10,end)}html[data-usa-pt="pixel"] ::view-transition-new(root){animation-name:usa-pt-pixel-in;animation-timing-function:steps(10,end)}@property --usa-blind{syntax:"<length-percentage>";inherits:false;initial-value:0vh}@keyframes usa-pt-out-left{to{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-in-right{from{transform:translateX(30%);opacity:0}}@keyframes usa-pt-out-right{to{transform:translateX(30%);opacity:0}}@keyframes usa-pt-in-left{from{transform:translateX(-30%);opacity:0}}@keyframes usa-pt-out-up{to{transform:translateY(-12%);opacity:0}}@keyframes usa-pt-in-up{from{transform:translateY(12%);opacity:0}}@keyframes usa-pt-zoom-out{to{transform:scale(0.92);opacity:0}}@keyframes usa-pt-zoom-in{from{transform:scale(1.08);opacity:0}}@keyframes usa-pt-circle{from{clip-path:circle(0 at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}to{clip-path:circle(var(--usa-pt-r,150vmax) at var(--usa-pt-x,50%) var(--usa-pt-y,50%))}}@keyframes usa-pt-blinds{from{--usa-blind:0vh}to{--usa-blind:10vh}}@keyframes usa-pt-pixel-out{to{opacity:0;filter:blur(6px) contrast(1.4)}}@keyframes usa-pt-pixel-in{from{opacity:0;filter:blur(6px) contrast(1.4)}}@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none !important}}';let ns=null;function os(){"undefined"==typeof document||os.done||(os.done=!0,document.addEventListener("pointerdown",t=>ns=[t.clientX,t.clientY],{capture:!0,passive:!0}))}const us=()=>"undefined"!=typeof document&&"function"==typeof document.startViewTransition;function ls(t){const e=document.documentElement,s=window.innerWidth||1024,i=window.innerHeight||768,[a,r]=void 0!==t.x&&void 0!==t.y?[t.x,t.y]:ns||[s/2,i/2],n=Math.hypot(Math.max(a,s-a),Math.max(r,i-r));e.style.setProperty("--usa-pt-x",`${a}px`),e.style.setProperty("--usa-pt-y",`${r}px`),e.style.setProperty("--usa-pt-r",`${Math.ceil(n)}px`),e.style.setProperty("--usa-pt-duration",`${t.duration??600}ms`)}async function cs(t,e={}){if("undefined"==typeof document)return void await t();l("page-transitions",rs),os();const s=e.effect||"fade";if(o()||!us()){await t();const s=e.fallback;return void(s&&"function"==typeof s.animate&&!o()&&await s.animate([{opacity:0},{opacity:1}],{duration:200}).finished.catch(()=>{}))}const i=document.documentElement;ls(e),i.setAttribute("data-usa-pt",s);try{const e=document.startViewTransition(()=>t());await e.finished}finally{i.removeAttribute("data-usa-pt")}}function hs(){He(),Ve(),Ue(),Ke(),Ze(),Je(),Qe(),as()}const ds={fade:[{opacity:0},{opacity:1}],"fade-up":[{opacity:0,transform:"translateY(24px)"},{opacity:1,transform:"none"}],"fade-down":[{opacity:0,transform:"translateY(-24px)"},{opacity:1,transform:"none"}],"fade-left":[{opacity:0,transform:"translateX(24px)"},{opacity:1,transform:"none"}],"fade-right":[{opacity:0,transform:"translateX(-24px)"},{opacity:1,transform:"none"}],scale:[{opacity:0,transform:"scale(0.85)"},{opacity:1,transform:"none"}],blur:[{opacity:0,filter:"blur(12px)"},{opacity:1,filter:"blur(0)"}],rotate:[{opacity:0,transform:"rotate(-12deg) scale(0.9)"},{opacity:1,transform:"none"}],"clip-up":[{clipPath:"inset(100% 0 0 0)"},{clipPath:"inset(0 0 0 0)"}],"clip-right":[{clipPath:"inset(0 100% 0 0)"},{clipPath:"inset(0 0 0 0)"}]};function ps(t,e,s,i={}){if(void 0===t||""===t||">"===t)return e;if("number"==typeof t)return Math.max(0,t);const a=String(t).trim();if(/^-?\d+(\.\d+)?$/.test(a))return Math.max(0,Number(a));const r=/^(<|>|[A-Za-z_][\w-]*)?\s*(?:([+-])=\s*(\d+(?:\.\d+)?))?$/.exec(a);if(!r)return e;const n="<"===r[1]?s:">"!==r[1]&&r[1]?i[r[1]]??e:e,o=r[2]?("-"===r[2]?-1:1)*Number(r[3]):0;return Math.max(0,n+o)}function fs(t={}){const e={duration:600,easing:"cubic-bezier(0.22, 1, 0.36, 1)",stagger:0,...t.defaults},s=[],i=[],a={};let n,u=0,l=0,c=0,d=0,p=1,f=!1;const y=()=>Math.max(u,...i.map(t=>t.at),0),v=(e,a)=>{(()=>{if(!f){f=!0;for(const t of s)"function"==typeof t.el.animate?(t.anim=t.el.animate(t.frames,{duration:t.duration,delay:t.start,easing:t.easing,fill:"both"}),t.anim.pause()):t.anim=null}})(),c=k(e,0,y());for(const t of s)t.anim?t.anim.currentTime=c:h(t.el,t.frames[c>=t.start?t.frames.length-1:0]);for(const t of i)(a<t.at&&c>=t.at||a>t.at&&c<=t.at)&&t.fn();t.onUpdate?.(y()?c/y():1)},x=()=>{d&&b(d),d=0},w=e=>{x(),n?.(),p=e;const s=p>0?y():0,i=r();if(o()||0===i||!y())return v(s,c),t.onComplete?.(),Promise.resolve();const a=(t.speed??1)/i;return new Promise(e=>{n=()=>{n=void 0,e()};let i=g();const r=()=>{const e=g(),o=c+(e-i)*a*p;if(i=e,v(o,c),p>0&&c>=s||p<0&&c<=0)return d=0,t.onComplete?.(),void n?.();d=m(r)};d=m(r)})},_={get duration(){return y()},get labels(){return{...a}},get time(){return c},to(t,i,r={}){const n="string"==typeof i?ds[i]||ds.fade:i,o=ps(r.at,u,l,a),c=r.duration??e.duration,h=r.stagger??e.stagger;let d=o;return(t=>"string"==typeof t?"undefined"==typeof document?[]:Array.from(document.querySelectorAll(t)):t instanceof Element?[t]:Array.from(t))(t).forEach((t,i)=>{const a=o+i*h;s.push({el:t,frames:n,start:a,duration:c,easing:r.easing??e.easing}),d=Math.max(d,a+c)}),l=o,u=Math.max(u,d),f=!1,s.forEach(t=>t.anim?.cancel()),_},label:(t,e)=>(a[t]=ps(e,u,l,a),_),call:(t,e)=>(i.push({fn:t,at:ps(e,u,l,a)}),_),play:t=>(void 0!==t?v(ps(t,0,0,a),c):c>=y()&&v(0,-1),w(1)),reverse:()=>w(-1),pause:()=>(x(),_),seek:t=>(x(),v(ps(t,0,0,a),c),_),progress:t=>(void 0!==t&&_.seek(k(t,0,1)*y()),y()?c/y():0),scrub(t,e={}){if(x(),o()||"undefined"==typeof window)return v(y(),c),()=>{};let s=0,i=c;const a=()=>{s=0;const r=t.getBoundingClientRect(),n=window.innerHeight||1,o=k((n+(e.offset??0)-r.top)/(n+r.height||1),0,1)*y(),u=k(e.smooth??0,0,.95);i=u?i+(o-i)*(1-u):o,v(i,c),u&&Math.abs(o-i)>.5&&(s=m(a))},r=()=>{s||(s=m(a))};return window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r,{passive:!0}),a(),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),s&&b(s)}},cancel(){x(),n?.(),s.forEach(t=>t.anim?.cancel()),f=!1}};return _}function ms(t="usa-timeline"){return d(t,t=>class extends t{constructor(){super(...arguments),this._tl=null}static get observedAttributes(){return["scrub","trigger","overlap"]}get timeline(){return this._tl}play(){return this._tl?this._tl.play(0).then(()=>{this.emit("complete")}):Promise.resolve()}reverse(){return this._tl?this._tl.reverse():Promise.resolve()}seek(t){this._tl?.seek(t)}mount(){const t=this.num("overlap",0),e=this._tl=fs({defaults:{duration:this.num("duration",600),stagger:this.num("stagger",0)}});if(this.querySelectorAll("[data-tl]").forEach((s,i)=>{s.dataset.label&&e.label(s.dataset.label);const a=s.dataset.tl||"fade";e.to(s,ds[a]?a:"fade",{at:s.dataset.at??(i&&t?`-=${t}`:void 0),duration:s.dataset.duration?Number(s.dataset.duration):void 0})}),this.onCleanup(()=>e.cancel()),this.reduced)return void e.seek(e.duration);if(this.flag("scrub"))return void this.onCleanup(e.scrub(this,{smooth:.2}));e.seek(0);const s=this.str("trigger","view");if("click"===s)this.listen(this,"click",()=>{this.play()});else if("view"===s){let t=!1;this.inView(s=>{!s||t&&!this.flag("repeat")?!s&&this.flag("repeat")&&e.seek(0):(t=!0,this.play())},{threshold:.2})}}unmount(){this._tl=null}},{id:"timeline",text:"usa-timeline{display:block}usa-timeline[scrub]{position:relative}@media (prefers-reduced-motion:reduce){usa-timeline [data-tl]{opacity:1 !important;transform:none !important;filter:none !important;clip-path:none !important}}"})}function gs(){ms()}function bs(t,e,s,i,a={}){const r=a.distance??40,n=a.velocity??300,o="x"===a.axis||"y"!==a.axis&&Math.abs(t)>=Math.abs(e),u=o?t:e,l=o?s:i;if(Math.abs(u)<r&&Math.abs(l)<2*n)return null;if(Math.abs(l)<n&&Math.abs(u)<3*r)return null;return{direction:o?u>0?"right":"left":u>0?"down":"up",velocity:Math.abs(l),dx:t,dy:e}}function ys(t,e,s=1,i=.5,a=4){return t?k(s*(e/t),i,a):s}const vs=t=>"number"==typeof t.pointerId?t.pointerId:1;function xs(t,e,s={}){const i=new Map;let a,r={x:0,y:0},n={x:0,y:0,t:0},o=0,u=0,l=!1,c=null,h=1,d=!1,p=-1e9;const f=s.threshold??4,m=()=>{const[t,e]=[...i.values()];return Math.hypot(t.x-e.x,t.y-e.y)},g=t=>t.timeStamp||Date.now(),b=h=>{i.set(vs(h),{x:h.clientX,y:h.clientY});try{t.setPointerCapture?.(vs(h))}catch{}if(2===i.size&&e.onPinch)return clearTimeout(a),l&&e.onPan?.({dx:n.x-r.x,dy:n.y-r.y,vx:0,vy:0,first:!1,last:!0,event:h}),l=!1,void(c={d0:m(),first:!0});i.size>1||(r={x:h.clientX,y:h.clientY},n={...r,t:g(h)},o=u=0,d=!1,e.onLongPress&&(a=setTimeout(()=>{d=!0,e.onLongPress?.({x:r.x,y:r.y})},s.longPress??500)))},y=t=>{if(!i.has(vs(t)))return;if(i.set(vs(t),{x:t.clientX,y:t.clientY}),c&&i.size>=2){const t=(()=>{const[t,e]=[...i.values()];return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}})();return h=ys(c.d0,m(),1,.05,20),e.onPinch?.({scale:h,x:t.x,y:t.y,first:c.first,last:!1}),void(c.first=!1)}const d=t.clientX-r.x,p=t.clientY-r.y,b=Math.max(1,g(t)-n.t)/1e3;if(o=(t.clientX-n.x)/b,u=(t.clientY-n.y)/b,n={x:t.clientX,y:t.clientY,t:g(t)},!l){const r="x"===s.axis?Math.abs(d):"y"===s.axis?Math.abs(p):Math.hypot(d,p);if(r<f)return;return clearTimeout(a),s.axis&&Math.abs("x"===s.axis?p:d)>r?void i.delete(vs(t)):(l=!0,void e.onPan?.({dx:"y"===s.axis?0:d,dy:"x"===s.axis?0:p,vx:o,vy:u,first:!0,last:!1,event:t}))}t.cancelable&&t.preventDefault(),e.onPan?.({dx:"y"===s.axis?0:d,dy:"x"===s.axis?0:p,vx:o,vy:u,first:!1,last:!1,event:t})},v=t=>{if(!i.has(vs(t)))return;if(i.delete(vs(t)),clearTimeout(a),c)return void(i.size<2&&(e.onPinch?.({scale:h,...r,first:!1,last:!0}),c=null,i.clear()));const f=t.clientX-r.x,m=t.clientY-r.y;if(l){l=!1,g(t)-n.t>80&&(o=u=0),e.onPan?.({dx:"y"===s.axis?0:f,dy:"x"===s.axis?0:m,vx:o,vy:u,first:!1,last:!0,event:t});const i=bs(f,m,o,u,{distance:s.swipeDistance,velocity:s.swipeVelocity,axis:s.axis});return void(i&&e.onSwipe?.(i))}if(d||"pointercancel"===t.type)return;const b={x:t.clientX,y:t.clientY},y=g(t);if(e.onDoubleTap&&y-p<300)return p=-1e9,void e.onDoubleTap(b);p=y,e.onTap?.(b)},x=t=>{if(!e.onPinch||!1===s.wheelPinch||!t.ctrlKey)return;t.preventDefault();const i=Math.exp(-t.deltaY/100);e.onPinch({scale:i,x:t.clientX,y:t.clientY,first:!0,last:!0})},w={passive:!1};return t.addEventListener("pointerdown",b),t.addEventListener("pointermove",y,w),t.addEventListener("pointerup",v),t.addEventListener("pointercancel",v),t.addEventListener("wheel",x,w),s.axis&&!t.style.touchAction?t.style.touchAction="x"===s.axis?"pan-y":"pan-x":s.axis||t.style.touchAction||!e.onPan&&!e.onPinch||(t.style.touchAction="none"),()=>{clearTimeout(a),t.removeEventListener("pointerdown",b),t.removeEventListener("pointermove",y,w),t.removeEventListener("pointerup",v),t.removeEventListener("pointercancel",v),t.removeEventListener("wheel",x,w)}}var ws='usa-swipeable{display:block;touch-action:pan-y;user-select:none;-webkit-user-select:none}usa-swipeable[axis="y"]{touch-action:pan-x}usa-swipeable>*{transform:translate3d(var(--usa-swipe,0px),0,0);opacity:calc(1 - var(--usa-swipe-p,0) * 0.5)}usa-swipeable[axis="y"]>*{transform:translate3d(0,var(--usa-swipe,0px),0)}usa-swipeable:focus-visible{outline:2px solid currentColor;outline-offset:2px}usa-pinch-zoom{display:block;overflow:hidden;touch-action:none;position:relative}usa-pinch-zoom>*{transform:translate3d(var(--usa-zoom-x,0px),var(--usa-zoom-y,0px),0) scale(var(--usa-zoom,1));transform-origin:50% 50%}usa-pinch-zoom[data-zoomed]{cursor:grab}usa-pinch-zoom:focus-visible{outline:2px solid currentColor;outline-offset:2px}';function ks(t="usa-swipeable"){return d(t,t=>class extends t{constructor(){super(...arguments),this._off=0}static get observedAttributes(){return["axis","disabled"]}get offset(){return this._off}put(t){this._off=t,this.style.setProperty("--usa-swipe",`${t}px`),this.style.setProperty("--usa-swipe-p",String(Math.min(1,Math.abs(t)/this.num("distance",120))))}swipe(t){if(!this.emit("swipe",{direction:t}))return this.reset();const e="left"===t||"up"===t?-1:1,s=e*(("y"===this.str("axis","x")?this.offsetHeight:this.offsetWidth)+80||600),i=()=>{this.emit("dismiss",{direction:t}),this.flag("dismiss")&&this.remove()};if(this.reduced)return this.put(0),i();this.setAttribute("data-gone",""),this._s=Bt({spring:"stiff",value:this._off,onUpdate:t=>this.put(t),onRest:i}),this._s.set(s,1500*e)}reset(){if(this.removeAttribute("data-gone"),this.reduced)return this.put(0);this._s.set(0)}mount(){this._s=Bt({spring:this.str("preset","default"),onUpdate:t=>this.put(t)}),this.hasAttribute("tabindex")||(this.tabIndex=0);const t="y"===this.str("axis","x"),e=()=>this.num("distance",120);this.onCleanup(xs(this,{onPan:({dx:s,dy:i,vx:a,vy:r,last:n})=>{if(this.flag("disabled"))return;const o=t?i:s;if(!n)return this._s.stop(),void(this.reduced||this.put(Math.abs(o)>e()?Math.sign(o)*(e()+.35*(Math.abs(o)-e())):o));Math.abs(o)>e()?this.swipe(t?o>0?"down":"up":o>0?"right":"left"):this.hasAttribute("data-gone")||(this.reduced?this.put(0):this._s.set(0,t?r:a))},onSwipe:({direction:e})=>{this.flag("disabled")||this.hasAttribute("data-gone")||t===("up"===e||"down"===e)&&this.swipe(e)}},{axis:t?"y":"x"})),this.listen(this,"keydown",e=>{if(this.flag("disabled"))return;const s=t?{ArrowUp:"up",ArrowDown:"down"}:{ArrowLeft:"left",ArrowRight:"right"};if("Delete"===e.key||"Backspace"===e.key)this.swipe(t?"up":"left");else{if(!s[e.key])return;this.swipe(s[e.key])}e.preventDefault()})}unmount(){this._s?.stop()}},{id:"gesture",text:ws})}function _s(t="usa-pinch-zoom"){return d(t,t=>class extends t{constructor(){super(...arguments),this._v={k:1,x:0,y:0}}get scale(){return this._v.k}paint(){const{k:t,x:e,y:s}=this._v;this.style.setProperty("--usa-zoom",String(t)),this.style.setProperty("--usa-zoom-x",`${e}px`),this.style.setProperty("--usa-zoom-y",`${s}px`),this.toggleAttribute("data-zoomed",t>1.01)}bound(t,e,s){const i=this.clientWidth*(t-1)/2,a=this.clientHeight*(t-1)/2;return{x:k(e,-i,i),y:k(s,-a,a)}}zoomTo(t){const e=k(t,this.num("min",1),this.num("max",4)),s=this.bound(e,this._v.x,this._v.y);this.reduced?(this._v={k:e,...s},this.paint()):(this._k.set(e),this._x.set(s.x),this._y.set(s.y)),this.emit("zoom",{scale:e})}mount(){const t=this.str("preset","gentle");this._k=Bt({spring:t,value:this._v.k,onUpdate:t=>(this._v.k=t,this.paint())}),this._x=Bt({spring:t,value:this._v.x,onUpdate:t=>(this._v.x=t,this.paint())}),this._y=Bt({spring:t,value:this._v.y,onUpdate:t=>(this._v.y=t,this.paint())}),this.hasAttribute("tabindex")||(this.tabIndex=0);let e=1,s=0,i=0;this.onCleanup(xs(this,{onPinch:({scale:t,first:s,last:i})=>{s&&(e=this._v.k);const a=k(e*t,.7*this.num("min",1),1.3*this.num("max",4));if(i)return this.zoomTo(a);this._k.jump(a)},onPan:({dx:t,dy:e,vx:a,vy:r,first:n,last:o})=>{if(this._v.k<=1.01)return;if(n&&(s=this._v.x,i=this._v.y),!o)return this._x.jump(s+t),void this._y.jump(i+e);const u=this.bound(this._v.k,s+t+.15*a,i+e+.15*r);this._x.set(u.x,a),this._y.set(u.y,r)},onDoubleTap:()=>this.zoomTo(this._v.k>1.01?1:this.num("double-tap",2))})),this.listen(this,"keydown",t=>{if("+"===t.key||"="===t.key)this.zoomTo(1.25*this._v.k);else if("-"===t.key)this.zoomTo(this._v.k/1.25);else{if("0"!==t.key)return;this.zoomTo(1)}t.preventDefault()}),this.paint()}unmount(){[this._k,this._x,this._y].forEach(t=>t?.stop())}},{id:"gesture",text:ws})}function As(){ks(),_s()}const Ms={reveal:$,text:U,interaction:tt,feedback:lt,background:_t,transitions:$t,physics:Kt,cards:ae,click:Me,ui:De,page:hs,timeline:gs,gesture:As};
2
2
  /**
3
3
  * use-scroll-animate/components
4
4
  *
@@ -18,5 +18,5 @@
18
18
  * until a `define*()` function runs in a browser.
19
19
  *
20
20
  * @license MIT
21
- */function ps(t){n()&&wt(),(t||Object.keys(ds)).forEach(t=>ds[t]?.())}ps(),t.AMBIENT_EFFECTS=["particles","snow","stars","noise","gradient"],t.BUTTON_DEFORMS=["squash","wobble","gooey","dent"],t.CARD_EFFECTS=["flip","holo","glass","border-glow","conic-border","lift","spotlight","sheen","parallax-layers","expand"],t.CLICK_EFFECTS=["ripple","burst","confetti","squish","press-spring","shake"],t.COMPONENT_CATEGORIES={reveal:["usa-reveal","usa-stagger","usa-scroll-progress","usa-scrolly"],text:["usa-typewriter","usa-split-text","usa-scramble","usa-counter","usa-shimmer-text","usa-text-rotate","usa-wave-text","usa-glitch","usa-gradient-text","usa-handwriting","usa-scroll-highlight"],interaction:["usa-ripple","usa-magnetic","usa-tilt","usa-spotlight","usa-press","usa-toggle"],feedback:["usa-spinner","usa-skeleton","usa-progress","usa-toaster","usa-check"],background:["usa-aurora","usa-particles","usa-grain","usa-marquee","usa-acrylic","usa-grid-glow","usa-blobs","usa-water-ripple","usa-dot-network"],transitions:["usa-dialog","usa-accordion","usa-flip-list","usa-view-switch"],physics:["usa-spring","usa-draggable","usa-overscroll"],cards:["usa-card","usa-card-stack","usa-sticky-stack","usa-carousel-3d"],click:["usa-click","usa-button","usa-icon-morph","usa-like","usa-hold","usa-double-tap","usa-checkbox"],ui:["usa-tabs","usa-drawer","usa-bottom-sheet","usa-pull-refresh","usa-fab","usa-navbar","usa-slider","usa-rating","usa-tooltip","usa-popover","usa-badge","usa-avatar-stack"],page:["usa-cursor","usa-fullpage","usa-loading-bar","usa-back-to-top","usa-ambient","usa-splash","usa-auto-skeleton","usa-motion-switch"]},t.CURSOR_MODES=["dot","trail","magnetic","glow"],t.MORPH_ICONS=ye,t.MOTION_SCALE=e,t.PAGE_EFFECTS=["fade","slide","slide-left","slide-right","slide-up","circle","blinds","pixel","zoom"],t.REVEAL_EFFECTS=["fade","fade-up","fade-down","fade-left","fade-right","zoom-in","zoom-out","blur","blur-up","flip-up","flip-left","rise"],t.SPINNER_VARIANTS=et,t.SPRING_EFFECTS=["bounce-in","pop","drop","jelly","rubber-band"],t.SPRING_PRESETS=Tt,t.VARIANTS=["minimal","neon","glass","brutalist","fluent","material"],t.adoptVariants=wt,t.burst=ce,t.confetti=he,t.configureComponents=i,t.connectedAnimation=async function(t,e,s={}){if(o()||"function"!=typeof e.animate)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();if(!a.width||!a.height)return;const r=!1!==s.hideSource&&t instanceof HTMLElement,n=r?t.style.visibility:"";r&&(t.style.visibility="hidden");const u=e.animate([{transformOrigin:"0 0",transform:`translate(${i.left-a.left}px, ${i.top-a.top}px) scale(${i.width/a.width}, ${i.height/a.height})`},{transformOrigin:"0 0",transform:"none"}],{duration:s.duration??480,easing:s.easing??x});await u.finished.catch(()=>{}),r&&(t.style.visibility=n)},t.createSpring=Bt,t.defineAccordion=Ct,t.defineAcrylic=ft,t.defineAmbient=Ze,t.defineAurora=ct,t.defineAutoSkeleton=Qe,t.defineAvatarStack=Oe,t.defineBackToTop=Ke,t.defineBackgroundComponents=_t,t.defineBadge=Ye,t.defineBlobs=yt,t.defineBottomSheet=Fe,t.defineButton=ge,t.defineCard=Jt,t.defineCardComponents=ae,t.defineCardStack=ee,t.defineCarousel3d=ie,t.defineCheck=ut,t.defineCheckbox=Ae,t.defineClick=fe,t.defineClickComponents=Me,t.defineComponents=ps,t.defineCounter=I,t.defineCursor=De,t.defineDialog=Mt,t.defineDotNetwork=xt,t.defineDoubleTap=_e,t.defineDraggable=Wt,t.defineDrawer=Pe,t.defineFab=Le,t.defineFeedbackComponents=lt,t.defineFlipList=St,t.defineFullpage=je,t.defineGlitch=H,t.defineGradientText=D,t.defineGrain=dt,t.defineGridGlow=bt,t.defineHandwriting=V,t.defineHold=ke,t.defineIconMorph=xe,t.defineInteractionComponents=tt,t.defineLike=we,t.defineLoadingBar=Ue,t.defineMagnetic=G,t.defineMarquee=pt,t.defineMotionSwitch=as,t.defineNavbar=Re,t.defineOverscroll=Gt,t.definePageComponents=hs,t.defineParticles=ht,t.definePhysicsComponents=Kt,t.definePopover=Xe,t.definePress=J,t.defineProgress=at,t.definePullRefresh=Ne,t.defineRating=qe,t.defineReveal=M,t.defineRevealComponents=z,t.defineRipple=W,t.defineScramble=L,t.defineScrollHighlight=j,t.defineScrollProgress=E,t.defineScrolly=$,t.defineShimmerText=q,t.defineSkeleton=it,t.defineSlider=Ie,t.defineSpinner=st,t.defineSplash=Je,t.defineSplitText=P,t.defineSpotlight=Z,t.defineSpring=jt,t.defineStagger=C,t.defineStickyStack=se,t.defineTabs=$e,t.defineTextComponents=U,t.defineTextRotate=B,t.defineTilt=K,t.defineToaster=nt,t.defineToggle=Q,t.defineTooltip=Be,t.defineTransitionComponents=zt,t.defineTypewriter=T,t.defineUiComponents=He,t.defineViewSwitch=Et,t.defineWaterRipple=vt,t.defineWaveText=O,t.easeOutExpo=R,t.enableMpaTransitions=function(t="fade",e=450){if("undefined"==typeof document)return;l("page-transitions",rs),l("mpa-transitions",o()?"":"@view-transition{navigation:auto}"),document.documentElement.setAttribute("data-usa-pt",t),ls({duration:e})},t.flip=async function(t,e,s={}){const i=new Map($t(t).map(t=>[t,t.getBoundingClientRect()]));if(await e(),o())return;const a=$t(t),r=s.duration??420,n=s.easing??x,u=[],l=a.map(t=>t.getBoundingClientRect());a.forEach((t,e)=>{if("function"!=typeof t.animate)return;const a=i.get(t),o=l[e];if(!a)return void(!1!==s.animateEnter&&u.push(t.animate([{opacity:0,transform:"scale(0.9)"},{opacity:1,transform:"none"}],{duration:r,easing:n})));const c=a.left-o.left,h=a.top-o.top,d=o.width?a.width/o.width:1,p=o.height?a.height/o.height:1;Math.abs(c)<.5&&Math.abs(h)<.5&&Math.abs(d-1)<.01&&Math.abs(p-1)<.01||u.push(t.animate([{transformOrigin:"0 0",transform:`translate(${c}px, ${h}px) scale(${d}, ${p})`},{transformOrigin:"0 0",transform:"none"}],{duration:r,easing:n}))}),await Promise.all(u.map(t=>t.finished.catch(()=>{})))},t.fluentPreset=function(t={}){if("undefined"==typeof document)return()=>{};const e=t.root||document.documentElement;l("fluent-preset",'.usa-fluent{font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;accent-color:var(--usa-accent,#0067c0)}.usa-fluent-mica body{background:linear-gradient(135deg,color-mix(in srgb,var(--usa-accent,#0067c0) 8%,#f3f3f3),#f3f3f3 60%)}@media (prefers-color-scheme:dark){.usa-fluent-mica body{background:linear-gradient(135deg,color-mix(in srgb,var(--usa-accent,#4cc2ff) 10%,#202020),#202020 60%)}}.usa-fluent :is(.usa-acrylic,[data-acrylic]){background:color-mix(in srgb,var(--usa-surface) 70%,transparent);-webkit-backdrop-filter:blur(30px) saturate(1.25);backdrop-filter:blur(30px) saturate(1.25);border:var(--usa-border);border-radius:var(--usa-radius)}.usa-fluent :is(button,[role="button"],[data-fluent-reveal],.usa-fluent-item){position:relative}.usa-fluent [data-reveal]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1px;background:radial-gradient(90px circle at var(--usa-reveal-x) var(--usa-reveal-y),rgb(255 255 255 / 0.55),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.usa-fluent [data-reveal]{background-image:radial-gradient(120px circle at var(--usa-reveal-x) var(--usa-reveal-y),rgb(255 255 255 / 0.1),transparent 70%)}@media (prefers-reduced-transparency:reduce),(forced-colors:active){.usa-fluent :is(.usa-acrylic,[data-acrylic]){background:var(--usa-surface);-webkit-backdrop-filter:none;backdrop-filter:none}}'),kt("fluent",e),e.classList.add("usa-fluent"),!1!==t.mica&&e.classList.add("usa-fluent-mica");const s=t.selector||'button, [role="button"], a.usa-fluent-item, [data-fluent-reveal], .usa-fluent-item';let i=0,a=null,r=null;const n=()=>{if(i=0,!r)return;const t=r.target?.closest?.(s);if(a&&a!==t&&a.removeAttribute("data-reveal"),a=t,!t)return;const e=t.getBoundingClientRect();t.style.setProperty("--usa-reveal-x",r.clientX-e.left+"px"),t.style.setProperty("--usa-reveal-y",r.clientY-e.top+"px"),t.setAttribute("data-reveal","")},u=t=>{"touch"!==t.pointerType&&(r=t,i||(i=m(n)))};return!1!==t.reveal&&!o()&&document.addEventListener("pointermove",u,{passive:!0}),()=>{document.removeEventListener("pointermove",u),b(i),a?.removeAttribute("data-reveal"),e.classList.remove("usa-fluent","usa-fluent-mica"),kt(null,e)}},t.getMotionIntensity=a,t.haptic=pe,t.linearEasing=qt,t.loadingBar=Ge,t.morphPath=ve,t.pageTransition=cs,t.prefersReducedMotion=o,t.projectInertia=Xt,t.readScrollProgress=S,t.resolveSpring=Pt,t.restoreMotionIntensity=is,t.revealKeyframes=_,t.rubberBand=Ot,t.scrambleFrame=N,t.scrollToTarget=Ve,t.setMotionIntensity=ss,t.setVariant=kt,t.shake=de,t.smoothScroll=function(t={}){if("undefined"==typeof window||o())return()=>{};const e=t.target||null,s=Math.min(1,Math.max(.02,t.lerp??.12)),i=t.wheelMultiplier??1,a=()=>e?e.scrollTop:window.scrollY;let r=a(),n=r,u=0;const l=()=>{var t;n+=(r-n)*s,Math.abs(r-n)<.5&&(n=r),t=n,e?e.scrollTop=t:window.scrollTo(0,t),u=n===r?0:m(l)},c=t=>{if(t.ctrlKey||t.defaultPrevented)return;u||(r=n=a()),t.preventDefault();const s=1===t.deltaMode?16*t.deltaY:2===t.deltaMode?t.deltaY*(window.innerHeight||800):t.deltaY;r=Math.max(0,Math.min(e?e.scrollHeight-e.clientHeight:document.documentElement.scrollHeight-window.innerHeight,r+s*i)),u||(u=m(l))},h=()=>{u||(r=n=a())},d=e||window;return d.addEventListener("wheel",c,{passive:!1}),d.addEventListener("scroll",h,{passive:!0}),()=>{d.removeEventListener("wheel",c),d.removeEventListener("scroll",h),u&&b(u),u=0}},t.snapTo=Yt,t.spring=function(t,e,s,i={}){const a=t;if(o()||"function"!=typeof a.animate)return h(a,e[e.length-1]),null;const{easing:n,duration:u}=It(s);return a.animate(e,{duration:u*r(),easing:n,fill:"both",...i})},t.springEasing=It,t.springEffectKeyframes=Dt,t.springSamples=Lt,t.stepSpring=Ft,t.supportsLinearEasing=Rt,t.supportsViewTransitions=us,t.themeTransition=function(t,e={}){return cs(t,{...e,effect:"circle",duration:e.duration??650})},t.toast=function(t,e={}){if("undefined"==typeof document||!nt())return null;let s="string"==typeof e.toaster?document.querySelector(e.toaster):e.toaster||document.querySelector("usa-toaster");return s||(s=document.createElement("usa-toaster"),document.body.append(s)),s.show(t,e)},t.viewTransition=async function(t,e={}){const s="undefined"!=typeof document?document:null;if(!s||o())return void await t();if("function"==typeof s.startViewTransition){let i;try{i=e.types?s.startViewTransition({update:t,types:e.types}):s.startViewTransition(t)}catch{i=s.startViewTransition(t)}return void await i.finished.catch(()=>{})}const i=e.fallback,a=e.duration??200;if(!i||"function"!=typeof i.animate)return void await t();await i.animate([{opacity:1},{opacity:0}],{duration:.8*a,easing:"ease-in",fill:"forwards"}).finished.catch(()=>{}),await t();const r=i.animate([{opacity:0,transform:"translateY(6px)"},{opacity:1,transform:"none"}],{duration:1.1*a,easing:y});i.getAnimations?.().forEach(t=>t!==r&&t.cancel()),await r.finished.catch(()=>{})}});
21
+ */function Cs(t){n()&&wt(),(t||Object.keys(Ms)).forEach(t=>Ms[t]?.())}Cs(),t.AMBIENT_EFFECTS=["particles","snow","stars","noise","gradient"],t.BUTTON_DEFORMS=["squash","wobble","gooey","dent"],t.CARD_EFFECTS=["flip","holo","glass","border-glow","conic-border","lift","spotlight","sheen","parallax-layers","expand"],t.CLICK_EFFECTS=["ripple","burst","confetti","squish","press-spring","shake"],t.COMPONENT_CATEGORIES={reveal:["usa-reveal","usa-stagger","usa-scroll-progress","usa-scrolly"],text:["usa-typewriter","usa-split-text","usa-scramble","usa-counter","usa-shimmer-text","usa-text-rotate","usa-wave-text","usa-glitch","usa-gradient-text","usa-handwriting","usa-scroll-highlight"],interaction:["usa-ripple","usa-magnetic","usa-tilt","usa-spotlight","usa-press","usa-toggle"],feedback:["usa-spinner","usa-skeleton","usa-progress","usa-toaster","usa-check"],background:["usa-aurora","usa-particles","usa-grain","usa-marquee","usa-acrylic","usa-grid-glow","usa-blobs","usa-water-ripple","usa-dot-network"],transitions:["usa-dialog","usa-accordion","usa-flip-list","usa-view-switch"],physics:["usa-spring","usa-draggable","usa-overscroll"],cards:["usa-card","usa-card-stack","usa-sticky-stack","usa-carousel-3d"],click:["usa-click","usa-button","usa-icon-morph","usa-like","usa-hold","usa-double-tap","usa-checkbox"],ui:["usa-tabs","usa-drawer","usa-bottom-sheet","usa-pull-refresh","usa-fab","usa-navbar","usa-slider","usa-rating","usa-tooltip","usa-popover","usa-badge","usa-avatar-stack"],page:["usa-cursor","usa-fullpage","usa-loading-bar","usa-back-to-top","usa-ambient","usa-splash","usa-auto-skeleton","usa-motion-switch"],timeline:["usa-timeline"],gesture:["usa-swipeable","usa-pinch-zoom"]},t.CURSOR_MODES=["dot","trail","magnetic","glow"],t.MORPH_ICONS=ye,t.MOTION_SCALE=e,t.PAGE_EFFECTS=["fade","slide","slide-left","slide-right","slide-up","circle","blinds","pixel","zoom"],t.REVEAL_EFFECTS=["fade","fade-up","fade-down","fade-left","fade-right","zoom-in","zoom-out","blur","blur-up","flip-up","flip-left","rise"],t.SPINNER_VARIANTS=et,t.SPRING_EFFECTS=["bounce-in","pop","drop","jelly","rubber-band"],t.SPRING_PRESETS=Pt,t.TIMELINE_PRESETS=ds,t.VARIANTS=["minimal","neon","glass","brutalist","fluent","material"],t.adoptVariants=wt,t.burst=ce,t.confetti=he,t.configureComponents=i,t.connectedAnimation=async function(t,e,s={}){if(o()||"function"!=typeof e.animate)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();if(!a.width||!a.height)return;const r=!1!==s.hideSource&&t instanceof HTMLElement,n=r?t.style.visibility:"";r&&(t.style.visibility="hidden");const u=e.animate([{transformOrigin:"0 0",transform:`translate(${i.left-a.left}px, ${i.top-a.top}px) scale(${i.width/a.width}, ${i.height/a.height})`},{transformOrigin:"0 0",transform:"none"}],{duration:s.duration??480,easing:s.easing??x});await u.finished.catch(()=>{}),r&&(t.style.visibility=n)},t.createSpring=Bt,t.defineAccordion=Ct,t.defineAcrylic=ft,t.defineAmbient=Ze,t.defineAurora=ct,t.defineAutoSkeleton=Qe,t.defineAvatarStack=Oe,t.defineBackToTop=Ke,t.defineBackgroundComponents=_t,t.defineBadge=Ye,t.defineBlobs=yt,t.defineBottomSheet=Le,t.defineButton=ge,t.defineCard=Jt,t.defineCardComponents=ae,t.defineCardStack=ee,t.defineCarousel3d=ie,t.defineCheck=ut,t.defineCheckbox=Ae,t.defineClick=fe,t.defineClickComponents=Me,t.defineComponents=Cs,t.defineCounter=I,t.defineCursor=He,t.defineDialog=Mt,t.defineDotNetwork=xt,t.defineDoubleTap=_e,t.defineDraggable=Wt,t.defineDrawer=Te,t.defineFab=Fe,t.defineFeedbackComponents=lt,t.defineFlipList=Et,t.defineFullpage=Ve,t.defineGestureComponents=As,t.defineGlitch=D,t.defineGradientText=H,t.defineGrain=dt,t.defineGridGlow=bt,t.defineHandwriting=j,t.defineHold=ke,t.defineIconMorph=xe,t.defineInteractionComponents=tt,t.defineLike=we,t.defineLoadingBar=Ue,t.defineMagnetic=G,t.defineMarquee=pt,t.defineMotionSwitch=as,t.defineNavbar=Re,t.defineOverscroll=Gt,t.definePageComponents=hs,t.defineParticles=ht,t.definePhysicsComponents=Kt,t.definePinchZoom=_s,t.definePopover=Xe,t.definePress=J,t.defineProgress=at,t.definePullRefresh=Ne,t.defineRating=qe,t.defineReveal=M,t.defineRevealComponents=$,t.defineRipple=W,t.defineScramble=F,t.defineScrollHighlight=V,t.defineScrollProgress=S,t.defineScrolly=z,t.defineShimmerText=q,t.defineSkeleton=it,t.defineSlider=Ie,t.defineSpinner=st,t.defineSplash=Je,t.defineSplitText=T,t.defineSpotlight=Z,t.defineSpring=Vt,t.defineStagger=C,t.defineStickyStack=se,t.defineSwipeable=ks,t.defineTabs=ze,t.defineTextComponents=U,t.defineTextRotate=B,t.defineTilt=K,t.defineTimeline=ms,t.defineTimelineComponents=gs,t.defineToaster=nt,t.defineToggle=Q,t.defineTooltip=Be,t.defineTransitionComponents=$t,t.defineTypewriter=P,t.defineUiComponents=De,t.defineViewSwitch=St,t.defineWaterRipple=vt,t.defineWaveText=O,t.easeOutExpo=R,t.enableMpaTransitions=function(t="fade",e=450){if("undefined"==typeof document)return;l("page-transitions",rs),l("mpa-transitions",o()?"":"@view-transition{navigation:auto}"),document.documentElement.setAttribute("data-usa-pt",t),ls({duration:e})},t.flip=async function(t,e,s={}){const i=new Map(zt(t).map(t=>[t,t.getBoundingClientRect()]));if(await e(),o())return;const a=zt(t),r=s.duration??420,n=s.easing??x,u=[],l=a.map(t=>t.getBoundingClientRect());a.forEach((t,e)=>{if("function"!=typeof t.animate)return;const a=i.get(t),o=l[e];if(!a)return void(!1!==s.animateEnter&&u.push(t.animate([{opacity:0,transform:"scale(0.9)"},{opacity:1,transform:"none"}],{duration:r,easing:n})));const c=a.left-o.left,h=a.top-o.top,d=o.width?a.width/o.width:1,p=o.height?a.height/o.height:1;Math.abs(c)<.5&&Math.abs(h)<.5&&Math.abs(d-1)<.01&&Math.abs(p-1)<.01||u.push(t.animate([{transformOrigin:"0 0",transform:`translate(${c}px, ${h}px) scale(${d}, ${p})`},{transformOrigin:"0 0",transform:"none"}],{duration:r,easing:n}))}),await Promise.all(u.map(t=>t.finished.catch(()=>{})))},t.fluentPreset=function(t={}){if("undefined"==typeof document)return()=>{};const e=t.root||document.documentElement;l("fluent-preset",'.usa-fluent{font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;accent-color:var(--usa-accent,#0067c0)}.usa-fluent-mica body{background:linear-gradient(135deg,color-mix(in srgb,var(--usa-accent,#0067c0) 8%,#f3f3f3),#f3f3f3 60%)}@media (prefers-color-scheme:dark){.usa-fluent-mica body{background:linear-gradient(135deg,color-mix(in srgb,var(--usa-accent,#4cc2ff) 10%,#202020),#202020 60%)}}.usa-fluent :is(.usa-acrylic,[data-acrylic]){background:color-mix(in srgb,var(--usa-surface) 70%,transparent);-webkit-backdrop-filter:blur(30px) saturate(1.25);backdrop-filter:blur(30px) saturate(1.25);border:var(--usa-border);border-radius:var(--usa-radius)}.usa-fluent :is(button,[role="button"],[data-fluent-reveal],.usa-fluent-item){position:relative}.usa-fluent [data-reveal]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1px;background:radial-gradient(90px circle at var(--usa-reveal-x) var(--usa-reveal-y),rgb(255 255 255 / 0.55),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.usa-fluent [data-reveal]{background-image:radial-gradient(120px circle at var(--usa-reveal-x) var(--usa-reveal-y),rgb(255 255 255 / 0.1),transparent 70%)}@media (prefers-reduced-transparency:reduce),(forced-colors:active){.usa-fluent :is(.usa-acrylic,[data-acrylic]){background:var(--usa-surface);-webkit-backdrop-filter:none;backdrop-filter:none}}'),kt("fluent",e),e.classList.add("usa-fluent"),!1!==t.mica&&e.classList.add("usa-fluent-mica");const s=t.selector||'button, [role="button"], a.usa-fluent-item, [data-fluent-reveal], .usa-fluent-item';let i=0,a=null,r=null;const n=()=>{if(i=0,!r)return;const t=r.target?.closest?.(s);if(a&&a!==t&&a.removeAttribute("data-reveal"),a=t,!t)return;const e=t.getBoundingClientRect();t.style.setProperty("--usa-reveal-x",r.clientX-e.left+"px"),t.style.setProperty("--usa-reveal-y",r.clientY-e.top+"px"),t.setAttribute("data-reveal","")},u=t=>{"touch"!==t.pointerType&&(r=t,i||(i=m(n)))};return!1!==t.reveal&&!o()&&document.addEventListener("pointermove",u,{passive:!0}),()=>{document.removeEventListener("pointermove",u),b(i),a?.removeAttribute("data-reveal"),e.classList.remove("usa-fluent","usa-fluent-mica"),kt(null,e)}},t.gesture=xs,t.getMotionIntensity=a,t.haptic=pe,t.linearEasing=qt,t.loadingBar=Ge,t.morphPath=ve,t.pageTransition=cs,t.pinchScale=ys,t.prefersReducedMotion=o,t.projectInertia=Xt,t.readScrollProgress=E,t.resolvePosition=ps,t.resolveSpring=Tt,t.restoreMotionIntensity=is,t.revealKeyframes=_,t.rubberBand=Ot,t.scrambleFrame=N,t.scrollToTarget=je,t.setMotionIntensity=ss,t.setVariant=kt,t.shake=de,t.smoothScroll=function(t={}){if("undefined"==typeof window||o())return()=>{};const e=t.target||null,s=Math.min(1,Math.max(.02,t.lerp??.12)),i=t.wheelMultiplier??1,a=()=>e?e.scrollTop:window.scrollY;let r=a(),n=r,u=0;const l=()=>{var t;n+=(r-n)*s,Math.abs(r-n)<.5&&(n=r),t=n,e?e.scrollTop=t:window.scrollTo(0,t),u=n===r?0:m(l)},c=t=>{if(t.ctrlKey||t.defaultPrevented)return;u||(r=n=a()),t.preventDefault();const s=1===t.deltaMode?16*t.deltaY:2===t.deltaMode?t.deltaY*(window.innerHeight||800):t.deltaY;r=Math.max(0,Math.min(e?e.scrollHeight-e.clientHeight:document.documentElement.scrollHeight-window.innerHeight,r+s*i)),u||(u=m(l))},h=()=>{u||(r=n=a())},d=e||window;return d.addEventListener("wheel",c,{passive:!1}),d.addEventListener("scroll",h,{passive:!0}),()=>{d.removeEventListener("wheel",c),d.removeEventListener("scroll",h),u&&b(u),u=0}},t.snapTo=Yt,t.spring=function(t,e,s,i={}){const a=t;if(o()||"function"!=typeof a.animate)return h(a,e[e.length-1]),null;const{easing:n,duration:u}=It(s);return a.animate(e,{duration:u*r(),easing:n,fill:"both",...i})},t.springEasing=It,t.springEffectKeyframes=Ht,t.springSamples=Ft,t.stepSpring=Lt,t.supportsLinearEasing=Rt,t.supportsViewTransitions=us,t.swipeDirection=bs,t.themeTransition=function(t,e={}){return cs(t,{...e,effect:"circle",duration:e.duration??650})},t.timeline=fs,t.toast=function(t,e={}){if("undefined"==typeof document||!nt())return null;let s="string"==typeof e.toaster?document.querySelector(e.toaster):e.toaster||document.querySelector("usa-toaster");return s||(s=document.createElement("usa-toaster"),document.body.append(s)),s.show(t,e)},t.viewTransition=async function(t,e={}){const s="undefined"!=typeof document?document:null;if(!s||o())return void await t();if("function"==typeof s.startViewTransition){let i;try{i=e.types?s.startViewTransition({update:t,types:e.types}):s.startViewTransition(t)}catch{i=s.startViewTransition(t)}return void await i.finished.catch(()=>{})}const i=e.fallback,a=e.duration??200;if(!i||"function"!=typeof i.animate)return void await t();await i.animate([{opacity:1},{opacity:0}],{duration:.8*a,easing:"ease-in",fill:"forwards"}).finished.catch(()=>{}),await t();const r=i.animate([{opacity:0,transform:"translateY(6px)"},{opacity:1,transform:"none"}],{duration:1.1*a,easing:y});i.getAnimations?.().forEach(t=>t!==r&&t.cancel()),await r.finished.catch(()=>{})}});
22
22
  //# sourceMappingURL=components.umd.js.map